0ac3d15aee9f63bcb99ca2f789b07d23756e3408
[platform/upstream/embryo.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for embryo 1.7.4.
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='embryo'
572 PACKAGE_TARNAME='embryo'
573 PACKAGE_VERSION='1.7.4'
574 PACKAGE_STRING='embryo 1.7.4'
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 embryoincludedir
620 requirement_embryo
621 EFL_FNMATCH_LIBS
622 ALLOCA
623 lt_enable_auto_import
624 EMBRYO_CFLAGS
625 EMBRYO_CPPFLAGS
626 EXOTIC_LIBS
627 EXOTIC_CFLAGS
628 EINA_LIBS
629 EINA_CFLAGS
630 EFL_EMBRYO_BUILD
631 EVIL_LIBS
632 EVIL_CFLAGS
633 pkgconfig_requires_private
634 PKG_CONFIG_LIBDIR
635 PKG_CONFIG_PATH
636 PKG_CONFIG
637 EFL_BUILD_DOC_FALSE
638 EFL_BUILD_DOC_TRUE
639 efl_doxygen
640 efl_have_doxygen
641 BUILD_EMBRYO_CC_FALSE
642 BUILD_EMBRYO_CC_TRUE
643 EMBRYO_CC_PRG
644 VMAJ
645 release_info
646 version_info
647 CPP
648 OTOOL64
649 OTOOL
650 LIPO
651 NMEDIT
652 DSYMUTIL
653 MANIFEST_TOOL
654 RANLIB
655 ac_ct_AR
656 AR
657 LN_S
658 NM
659 ac_ct_DUMPBIN
660 DUMPBIN
661 LD
662 FGREP
663 EGREP
664 GREP
665 SED
666 am__fastdepCC_FALSE
667 am__fastdepCC_TRUE
668 CCDEPMODE
669 am__nodep
670 AMDEPBACKSLASH
671 AMDEP_FALSE
672 AMDEP_TRUE
673 am__quote
674 am__include
675 DEPDIR
676 OBJEXT
677 EXEEXT
678 ac_ct_CC
679 CPPFLAGS
680 LDFLAGS
681 CFLAGS
682 CC
683 LIBTOOL
684 OBJDUMP
685 DLLTOOL
686 AS
687 host_os
688 host_vendor
689 host_cpu
690 host
691 build_os
692 build_vendor
693 build_cpu
694 build
695 AM_BACKSLASH
696 AM_DEFAULT_VERBOSITY
697 AM_DEFAULT_V
698 AM_V
699 am__untar
700 am__tar
701 AMTAR
702 am__leading_dot
703 SET_MAKE
704 AWK
705 mkdir_p
706 MKDIR_P
707 INSTALL_STRIP_PROGRAM
708 STRIP
709 install_sh
710 MAKEINFO
711 AUTOHEADER
712 AUTOMAKE
713 AUTOCONF
714 ACLOCAL
715 VERSION
716 PACKAGE
717 CYGPATH_W
718 am__isrc
719 INSTALL_DATA
720 INSTALL_SCRIPT
721 INSTALL_PROGRAM
722 target_alias
723 host_alias
724 build_alias
725 LIBS
726 ECHO_T
727 ECHO_N
728 ECHO_C
729 DEFS
730 mandir
731 localedir
732 libdir
733 psdir
734 pdfdir
735 dvidir
736 htmldir
737 infodir
738 docdir
739 oldincludedir
740 includedir
741 localstatedir
742 sharedstatedir
743 sysconfdir
744 datadir
745 datarootdir
746 libexecdir
747 sbindir
748 bindir
749 program_transform_name
750 prefix
751 exec_prefix
752 PACKAGE_URL
753 PACKAGE_BUGREPORT
754 PACKAGE_STRING
755 PACKAGE_VERSION
756 PACKAGE_TARNAME
757 PACKAGE_NAME
758 PATH_SEPARATOR
759 SHELL'
760 ac_subst_files=''
761 ac_user_opts='
762 enable_option_checking
763 enable_silent_rules
764 enable_shared
765 enable_static
766 with_pic
767 enable_fast_install
768 enable_dependency_tracking
769 with_gnu_ld
770 with_sysroot
771 enable_libtool_lock
772 enable_embryo_cc
773 enable_doc
774 with_doxygen
775 '
776       ac_precious_vars='build_alias
777 host_alias
778 target_alias
779 CC
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
784 CPP
785 PKG_CONFIG
786 PKG_CONFIG_PATH
787 PKG_CONFIG_LIBDIR
788 EVIL_CFLAGS
789 EVIL_LIBS
790 EINA_CFLAGS
791 EINA_LIBS
792 EXOTIC_CFLAGS
793 EXOTIC_LIBS'
794
795
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 ac_unrecognized_opts=
800 ac_unrecognized_sep=
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
817
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
836 htmldir='${docdir}'
837 dvidir='${docdir}'
838 pdfdir='${docdir}'
839 psdir='${docdir}'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
843
844 ac_prev=
845 ac_dashdash=
846 for ac_option
847 do
848   # If the previous option needs an argument, assign it.
849   if test -n "$ac_prev"; then
850     eval $ac_prev=\$ac_option
851     ac_prev=
852     continue
853   fi
854
855   case $ac_option in
856   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857   *=)   ac_optarg= ;;
858   *)    ac_optarg=yes ;;
859   esac
860
861   # Accept the important Cygnus configure options, so we can diagnose typos.
862
863   case $ac_dashdash$ac_option in
864   --)
865     ac_dashdash=yes ;;
866
867   -bindir | --bindir | --bindi | --bind | --bin | --bi)
868     ac_prev=bindir ;;
869   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
870     bindir=$ac_optarg ;;
871
872   -build | --build | --buil | --bui | --bu)
873     ac_prev=build_alias ;;
874   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
875     build_alias=$ac_optarg ;;
876
877   -cache-file | --cache-file | --cache-fil | --cache-fi \
878   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
879     ac_prev=cache_file ;;
880   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
881   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
882     cache_file=$ac_optarg ;;
883
884   --config-cache | -C)
885     cache_file=config.cache ;;
886
887   -datadir | --datadir | --datadi | --datad)
888     ac_prev=datadir ;;
889   -datadir=* | --datadir=* | --datadi=* | --datad=*)
890     datadir=$ac_optarg ;;
891
892   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
893   | --dataroo | --dataro | --datar)
894     ac_prev=datarootdir ;;
895   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
896   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
897     datarootdir=$ac_optarg ;;
898
899   -disable-* | --disable-*)
900     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901     # Reject names that are not valid shell variable names.
902     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903       as_fn_error $? "invalid feature name: $ac_useropt"
904     ac_useropt_orig=$ac_useropt
905     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906     case $ac_user_opts in
907       *"
908 "enable_$ac_useropt"
909 "*) ;;
910       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911          ac_unrecognized_sep=', ';;
912     esac
913     eval enable_$ac_useropt=no ;;
914
915   -docdir | --docdir | --docdi | --doc | --do)
916     ac_prev=docdir ;;
917   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
918     docdir=$ac_optarg ;;
919
920   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921     ac_prev=dvidir ;;
922   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
923     dvidir=$ac_optarg ;;
924
925   -enable-* | --enable-*)
926     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927     # Reject names that are not valid shell variable names.
928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929       as_fn_error $? "invalid feature name: $ac_useropt"
930     ac_useropt_orig=$ac_useropt
931     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932     case $ac_user_opts in
933       *"
934 "enable_$ac_useropt"
935 "*) ;;
936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937          ac_unrecognized_sep=', ';;
938     esac
939     eval enable_$ac_useropt=\$ac_optarg ;;
940
941   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
942   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
943   | --exec | --exe | --ex)
944     ac_prev=exec_prefix ;;
945   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
946   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
947   | --exec=* | --exe=* | --ex=*)
948     exec_prefix=$ac_optarg ;;
949
950   -gas | --gas | --ga | --g)
951     # Obsolete; use --with-gas.
952     with_gas=yes ;;
953
954   -help | --help | --hel | --he | -h)
955     ac_init_help=long ;;
956   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
957     ac_init_help=recursive ;;
958   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
959     ac_init_help=short ;;
960
961   -host | --host | --hos | --ho)
962     ac_prev=host_alias ;;
963   -host=* | --host=* | --hos=* | --ho=*)
964     host_alias=$ac_optarg ;;
965
966   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
967     ac_prev=htmldir ;;
968   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
969   | --ht=*)
970     htmldir=$ac_optarg ;;
971
972   -includedir | --includedir | --includedi | --included | --include \
973   | --includ | --inclu | --incl | --inc)
974     ac_prev=includedir ;;
975   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
976   | --includ=* | --inclu=* | --incl=* | --inc=*)
977     includedir=$ac_optarg ;;
978
979   -infodir | --infodir | --infodi | --infod | --info | --inf)
980     ac_prev=infodir ;;
981   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
982     infodir=$ac_optarg ;;
983
984   -libdir | --libdir | --libdi | --libd)
985     ac_prev=libdir ;;
986   -libdir=* | --libdir=* | --libdi=* | --libd=*)
987     libdir=$ac_optarg ;;
988
989   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
990   | --libexe | --libex | --libe)
991     ac_prev=libexecdir ;;
992   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
993   | --libexe=* | --libex=* | --libe=*)
994     libexecdir=$ac_optarg ;;
995
996   -localedir | --localedir | --localedi | --localed | --locale)
997     ac_prev=localedir ;;
998   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
999     localedir=$ac_optarg ;;
1000
1001   -localstatedir | --localstatedir | --localstatedi | --localstated \
1002   | --localstate | --localstat | --localsta | --localst | --locals)
1003     ac_prev=localstatedir ;;
1004   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1005   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006     localstatedir=$ac_optarg ;;
1007
1008   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009     ac_prev=mandir ;;
1010   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1011     mandir=$ac_optarg ;;
1012
1013   -nfp | --nfp | --nf)
1014     # Obsolete; use --without-fp.
1015     with_fp=no ;;
1016
1017   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1018   | --no-cr | --no-c | -n)
1019     no_create=yes ;;
1020
1021   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1022   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1023     no_recursion=yes ;;
1024
1025   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1026   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1027   | --oldin | --oldi | --old | --ol | --o)
1028     ac_prev=oldincludedir ;;
1029   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1030   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1031   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1032     oldincludedir=$ac_optarg ;;
1033
1034   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1035     ac_prev=prefix ;;
1036   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1037     prefix=$ac_optarg ;;
1038
1039   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1040   | --program-pre | --program-pr | --program-p)
1041     ac_prev=program_prefix ;;
1042   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1043   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1044     program_prefix=$ac_optarg ;;
1045
1046   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1047   | --program-suf | --program-su | --program-s)
1048     ac_prev=program_suffix ;;
1049   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1050   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1051     program_suffix=$ac_optarg ;;
1052
1053   -program-transform-name | --program-transform-name \
1054   | --program-transform-nam | --program-transform-na \
1055   | --program-transform-n | --program-transform- \
1056   | --program-transform | --program-transfor \
1057   | --program-transfo | --program-transf \
1058   | --program-trans | --program-tran \
1059   | --progr-tra | --program-tr | --program-t)
1060     ac_prev=program_transform_name ;;
1061   -program-transform-name=* | --program-transform-name=* \
1062   | --program-transform-nam=* | --program-transform-na=* \
1063   | --program-transform-n=* | --program-transform-=* \
1064   | --program-transform=* | --program-transfor=* \
1065   | --program-transfo=* | --program-transf=* \
1066   | --program-trans=* | --program-tran=* \
1067   | --progr-tra=* | --program-tr=* | --program-t=*)
1068     program_transform_name=$ac_optarg ;;
1069
1070   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1071     ac_prev=pdfdir ;;
1072   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1073     pdfdir=$ac_optarg ;;
1074
1075   -psdir | --psdir | --psdi | --psd | --ps)
1076     ac_prev=psdir ;;
1077   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1078     psdir=$ac_optarg ;;
1079
1080   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081   | -silent | --silent | --silen | --sile | --sil)
1082     silent=yes ;;
1083
1084   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085     ac_prev=sbindir ;;
1086   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087   | --sbi=* | --sb=*)
1088     sbindir=$ac_optarg ;;
1089
1090   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1091   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092   | --sharedst | --shareds | --shared | --share | --shar \
1093   | --sha | --sh)
1094     ac_prev=sharedstatedir ;;
1095   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1098   | --sha=* | --sh=*)
1099     sharedstatedir=$ac_optarg ;;
1100
1101   -site | --site | --sit)
1102     ac_prev=site ;;
1103   -site=* | --site=* | --sit=*)
1104     site=$ac_optarg ;;
1105
1106   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1107     ac_prev=srcdir ;;
1108   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1109     srcdir=$ac_optarg ;;
1110
1111   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112   | --syscon | --sysco | --sysc | --sys | --sy)
1113     ac_prev=sysconfdir ;;
1114   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1116     sysconfdir=$ac_optarg ;;
1117
1118   -target | --target | --targe | --targ | --tar | --ta | --t)
1119     ac_prev=target_alias ;;
1120   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1121     target_alias=$ac_optarg ;;
1122
1123   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1124     verbose=yes ;;
1125
1126   -version | --version | --versio | --versi | --vers | -V)
1127     ac_init_version=: ;;
1128
1129   -with-* | --with-*)
1130     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131     # Reject names that are not valid shell variable names.
1132     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133       as_fn_error $? "invalid package name: $ac_useropt"
1134     ac_useropt_orig=$ac_useropt
1135     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136     case $ac_user_opts in
1137       *"
1138 "with_$ac_useropt"
1139 "*) ;;
1140       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141          ac_unrecognized_sep=', ';;
1142     esac
1143     eval with_$ac_useropt=\$ac_optarg ;;
1144
1145   -without-* | --without-*)
1146     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147     # Reject names that are not valid shell variable names.
1148     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149       as_fn_error $? "invalid package name: $ac_useropt"
1150     ac_useropt_orig=$ac_useropt
1151     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152     case $ac_user_opts in
1153       *"
1154 "with_$ac_useropt"
1155 "*) ;;
1156       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157          ac_unrecognized_sep=', ';;
1158     esac
1159     eval with_$ac_useropt=no ;;
1160
1161   --x)
1162     # Obsolete; use --with-x.
1163     with_x=yes ;;
1164
1165   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166   | --x-incl | --x-inc | --x-in | --x-i)
1167     ac_prev=x_includes ;;
1168   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1170     x_includes=$ac_optarg ;;
1171
1172   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1173   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1174     ac_prev=x_libraries ;;
1175   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1177     x_libraries=$ac_optarg ;;
1178
1179   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1180 Try \`$0 --help' for more information"
1181     ;;
1182
1183   *=*)
1184     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185     # Reject names that are not valid shell variable names.
1186     case $ac_envvar in #(
1187       '' | [0-9]* | *[!_$as_cr_alnum]* )
1188       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1189     esac
1190     eval $ac_envvar=\$ac_optarg
1191     export $ac_envvar ;;
1192
1193   *)
1194     # FIXME: should be removed in autoconf 3.0.
1195     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199     ;;
1200
1201   esac
1202 done
1203
1204 if test -n "$ac_prev"; then
1205   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1206   as_fn_error $? "missing argument to $ac_option"
1207 fi
1208
1209 if test -n "$ac_unrecognized_opts"; then
1210   case $enable_option_checking in
1211     no) ;;
1212     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1213     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1214   esac
1215 fi
1216
1217 # Check all directory arguments for consistency.
1218 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219                 datadir sysconfdir sharedstatedir localstatedir includedir \
1220                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221                 libdir localedir mandir
1222 do
1223   eval ac_val=\$$ac_var
1224   # Remove trailing slashes.
1225   case $ac_val in
1226     */ )
1227       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228       eval $ac_var=\$ac_val;;
1229   esac
1230   # Be sure to have absolute directory names.
1231   case $ac_val in
1232     [\\/$]* | ?:[\\/]* )  continue;;
1233     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1234   esac
1235   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1236 done
1237
1238 # There might be people who depend on the old broken behavior: `$host'
1239 # used to hold the argument of --host etc.
1240 # FIXME: To remove some day.
1241 build=$build_alias
1242 host=$host_alias
1243 target=$target_alias
1244
1245 # FIXME: To remove some day.
1246 if test "x$host_alias" != x; then
1247   if test "x$build_alias" = x; then
1248     cross_compiling=maybe
1249     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1250     If a cross compiler is detected then cross compile mode will be used" >&2
1251   elif test "x$build_alias" != "x$host_alias"; then
1252     cross_compiling=yes
1253   fi
1254 fi
1255
1256 ac_tool_prefix=
1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1258
1259 test "$silent" = yes && exec 6>/dev/null
1260
1261
1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di=`ls -di .` &&
1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265   as_fn_error $? "working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267   as_fn_error $? "pwd does not report name of working directory"
1268
1269
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272   ac_srcdir_defaulted=yes
1273   # Try the directory containing this script, then the parent directory.
1274   ac_confdir=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276          X"$as_myself" : 'X\(//\)[^/]' \| \
1277          X"$as_myself" : 'X\(//\)$' \| \
1278          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1281             s//\1/
1282             q
1283           }
1284           /^X\(\/\/\)[^/].*/{
1285             s//\1/
1286             q
1287           }
1288           /^X\(\/\/\)$/{
1289             s//\1/
1290             q
1291           }
1292           /^X\(\/\).*/{
1293             s//\1/
1294             q
1295           }
1296           s/.*/./; q'`
1297   srcdir=$ac_confdir
1298   if test ! -r "$srcdir/$ac_unique_file"; then
1299     srcdir=..
1300   fi
1301 else
1302   ac_srcdir_defaulted=no
1303 fi
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1307 fi
1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1309 ac_abs_confdir=`(
1310         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1311         pwd)`
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1314   srcdir=.
1315 fi
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1319 case $srcdir in
1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1321 esac
1322 for ac_var in $ac_precious_vars; do
1323   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324   eval ac_env_${ac_var}_value=\$${ac_var}
1325   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1327 done
1328
1329 #
1330 # Report the --help message.
1331 #
1332 if test "$ac_init_help" = "long"; then
1333   # Omit some internal or obsolete options to make the list less imposing.
1334   # This message is too long to be a string in the A/UX 3.1 sh.
1335   cat <<_ACEOF
1336 \`configure' configures embryo 1.7.4 to adapt to many kinds of systems.
1337
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1339
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE.  See below for descriptions of some of the useful variables.
1342
1343 Defaults for the options are specified in brackets.
1344
1345 Configuration:
1346   -h, --help              display this help and exit
1347       --help=short        display options specific to this package
1348       --help=recursive    display the short help of all the included packages
1349   -V, --version           display version information and exit
1350   -q, --quiet, --silent   do not print \`checking ...' messages
1351       --cache-file=FILE   cache test results in FILE [disabled]
1352   -C, --config-cache      alias for \`--cache-file=config.cache'
1353   -n, --no-create         do not create output files
1354       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1355
1356 Installation directories:
1357   --prefix=PREFIX         install architecture-independent files in PREFIX
1358                           [$ac_default_prefix]
1359   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1360                           [PREFIX]
1361
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1366
1367 For better control, use the options below.
1368
1369 Fine tuning of the installation directories:
1370   --bindir=DIR            user executables [EPREFIX/bin]
1371   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1372   --libexecdir=DIR        program executables [EPREFIX/libexec]
1373   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1374   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1375   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1376   --libdir=DIR            object code libraries [EPREFIX/lib]
1377   --includedir=DIR        C header files [PREFIX/include]
1378   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1379   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1380   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1381   --infodir=DIR           info documentation [DATAROOTDIR/info]
1382   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1383   --mandir=DIR            man documentation [DATAROOTDIR/man]
1384   --docdir=DIR            documentation root [DATAROOTDIR/doc/embryo]
1385   --htmldir=DIR           html documentation [DOCDIR]
1386   --dvidir=DIR            dvi documentation [DOCDIR]
1387   --pdfdir=DIR            pdf documentation [DOCDIR]
1388   --psdir=DIR             ps documentation [DOCDIR]
1389 _ACEOF
1390
1391   cat <<\_ACEOF
1392
1393 Program names:
1394   --program-prefix=PREFIX            prepend PREFIX to installed program names
1395   --program-suffix=SUFFIX            append SUFFIX to installed program names
1396   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1397
1398 System types:
1399   --build=BUILD     configure for building on BUILD [guessed]
1400   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1401 _ACEOF
1402 fi
1403
1404 if test -n "$ac_init_help"; then
1405   case $ac_init_help in
1406      short | recursive ) echo "Configuration of embryo 1.7.4:";;
1407    esac
1408   cat <<\_ACEOF
1409
1410 Optional Features:
1411   --disable-option-checking  ignore unrecognized --enable/--with options
1412   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1413   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1414   --enable-silent-rules          less verbose build output (undo: `make V=1')
1415   --disable-silent-rules         verbose build output (undo: `make V=0')
1416   --enable-shared[=PKGS]  build shared libraries [default=yes]
1417   --enable-static[=PKGS]  build static libraries [default=yes]
1418   --enable-fast-install[=PKGS]
1419                           optimize for fast installation [default=yes]
1420   --disable-dependency-tracking  speeds up one-time build
1421   --enable-dependency-tracking   do not reject slow dependency extractors
1422   --disable-libtool-lock  avoid locking (might break parallel builds)
1423   --disable-embryo-cc     disable building of embryo_cc
1424   --disable-doc           Disable documentation build [default=enabled]
1425
1426 Optional Packages:
1427   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1428   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1429   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1430                           both]
1431   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1432   --with-sysroot=DIR Search for dependent libraries within DIR
1433                         (or the compiler's sysroot if not specified).
1434   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1435
1436 Some influential environment variables:
1437   CC          C compiler command
1438   CFLAGS      C compiler flags
1439   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1440               nonstandard directory <lib dir>
1441   LIBS        libraries to pass to the linker, e.g. -l<library>
1442   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1443               you have headers in a nonstandard directory <include dir>
1444   CPP         C preprocessor
1445   PKG_CONFIG  path to pkg-config utility
1446   PKG_CONFIG_PATH
1447               directories to add to pkg-config's search path
1448   PKG_CONFIG_LIBDIR
1449               path overriding pkg-config's built-in search path
1450   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1451   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1452   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1453   EINA_LIBS   linker flags for EINA, overriding pkg-config
1454   EXOTIC_CFLAGS
1455               C compiler flags for EXOTIC, overriding pkg-config
1456   EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
1457
1458 Use these variables to override the choices made by `configure' or to help
1459 it to find libraries and programs with nonstandard names/locations.
1460
1461 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1462 _ACEOF
1463 ac_status=$?
1464 fi
1465
1466 if test "$ac_init_help" = "recursive"; then
1467   # If there are subdirs, report their specific --help.
1468   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469     test -d "$ac_dir" ||
1470       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1471       continue
1472     ac_builddir=.
1473
1474 case "$ac_dir" in
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 *)
1477   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478   # A ".." for each directory in $ac_dir_suffix.
1479   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480   case $ac_top_builddir_sub in
1481   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1483   esac ;;
1484 esac
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1489
1490 case $srcdir in
1491   .)  # We are building in place.
1492     ac_srcdir=.
1493     ac_top_srcdir=$ac_top_builddir_sub
1494     ac_abs_top_srcdir=$ac_pwd ;;
1495   [\\/]* | ?:[\\/]* )  # Absolute name.
1496     ac_srcdir=$srcdir$ac_dir_suffix;
1497     ac_top_srcdir=$srcdir
1498     ac_abs_top_srcdir=$srcdir ;;
1499   *) # Relative name.
1500     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501     ac_top_srcdir=$ac_top_build_prefix$srcdir
1502     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1503 esac
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1505
1506     cd "$ac_dir" || { ac_status=$?; continue; }
1507     # Check for guested configure.
1508     if test -f "$ac_srcdir/configure.gnu"; then
1509       echo &&
1510       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511     elif test -f "$ac_srcdir/configure"; then
1512       echo &&
1513       $SHELL "$ac_srcdir/configure" --help=recursive
1514     else
1515       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1516     fi || ac_status=$?
1517     cd "$ac_pwd" || { ac_status=$?; break; }
1518   done
1519 fi
1520
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1523   cat <<\_ACEOF
1524 embryo configure 1.7.4
1525 generated by GNU Autoconf 2.68
1526
1527 Copyright (C) 2010 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1530 _ACEOF
1531   exit
1532 fi
1533
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1537
1538 # ac_fn_c_try_compile LINENO
1539 # --------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1542 {
1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544   rm -f conftest.$ac_objext
1545   if { { ac_try="$ac_compile"
1546 case "(($ac_try" in
1547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548   *) ac_try_echo=$ac_try;;
1549 esac
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552   (eval "$ac_compile") 2>conftest.err
1553   ac_status=$?
1554   if test -s conftest.err; then
1555     grep -v '^ *+' conftest.err >conftest.er1
1556     cat conftest.er1 >&5
1557     mv -f conftest.er1 conftest.err
1558   fi
1559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560   test $ac_status = 0; } && {
1561          test -z "$ac_c_werror_flag" ||
1562          test ! -s conftest.err
1563        } && test -s conftest.$ac_objext; then :
1564   ac_retval=0
1565 else
1566   $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1568
1569         ac_retval=1
1570 fi
1571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572   as_fn_set_status $ac_retval
1573
1574 } # ac_fn_c_try_compile
1575
1576 # ac_fn_c_try_link LINENO
1577 # -----------------------
1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
1579 ac_fn_c_try_link ()
1580 {
1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582   rm -f conftest.$ac_objext conftest$ac_exeext
1583   if { { ac_try="$ac_link"
1584 case "(($ac_try" in
1585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1586   *) ac_try_echo=$ac_try;;
1587 esac
1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1589 $as_echo "$ac_try_echo"; } >&5
1590   (eval "$ac_link") 2>conftest.err
1591   ac_status=$?
1592   if test -s conftest.err; then
1593     grep -v '^ *+' conftest.err >conftest.er1
1594     cat conftest.er1 >&5
1595     mv -f conftest.er1 conftest.err
1596   fi
1597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598   test $ac_status = 0; } && {
1599          test -z "$ac_c_werror_flag" ||
1600          test ! -s conftest.err
1601        } && test -s conftest$ac_exeext && {
1602          test "$cross_compiling" = yes ||
1603          $as_test_x conftest$ac_exeext
1604        }; then :
1605   ac_retval=0
1606 else
1607   $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1609
1610         ac_retval=1
1611 fi
1612   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614   # interfere with the next link command; also delete a directory that is
1615   # left behind by Apple's compiler.  We do this before executing the actions.
1616   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618   as_fn_set_status $ac_retval
1619
1620 } # ac_fn_c_try_link
1621
1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1623 # -------------------------------------------------------
1624 # Tests whether HEADER exists and can be compiled using the include files in
1625 # INCLUDES, setting the cache variable VAR accordingly.
1626 ac_fn_c_check_header_compile ()
1627 {
1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632   $as_echo_n "(cached) " >&6
1633 else
1634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h.  */
1636 $4
1637 #include <$2>
1638 _ACEOF
1639 if ac_fn_c_try_compile "$LINENO"; then :
1640   eval "$3=yes"
1641 else
1642   eval "$3=no"
1643 fi
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645 fi
1646 eval ac_res=\$$3
1647                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648 $as_echo "$ac_res" >&6; }
1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
1651 } # ac_fn_c_check_header_compile
1652
1653 # ac_fn_c_try_cpp LINENO
1654 # ----------------------
1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1656 ac_fn_c_try_cpp ()
1657 {
1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659   if { { ac_try="$ac_cpp conftest.$ac_ext"
1660 case "(($ac_try" in
1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662   *) ac_try_echo=$ac_try;;
1663 esac
1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665 $as_echo "$ac_try_echo"; } >&5
1666   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1667   ac_status=$?
1668   if test -s conftest.err; then
1669     grep -v '^ *+' conftest.err >conftest.er1
1670     cat conftest.er1 >&5
1671     mv -f conftest.er1 conftest.err
1672   fi
1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674   test $ac_status = 0; } > conftest.i && {
1675          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1676          test ! -s conftest.err
1677        }; then :
1678   ac_retval=0
1679 else
1680   $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683     ac_retval=1
1684 fi
1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1686   as_fn_set_status $ac_retval
1687
1688 } # ac_fn_c_try_cpp
1689
1690 # ac_fn_c_try_run LINENO
1691 # ----------------------
1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1693 # that executables *can* be run.
1694 ac_fn_c_try_run ()
1695 {
1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697   if { { ac_try="$ac_link"
1698 case "(($ac_try" in
1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700   *) ac_try_echo=$ac_try;;
1701 esac
1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703 $as_echo "$ac_try_echo"; } >&5
1704   (eval "$ac_link") 2>&5
1705   ac_status=$?
1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1708   { { case "(($ac_try" in
1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710   *) ac_try_echo=$ac_try;;
1711 esac
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714   (eval "$ac_try") 2>&5
1715   ac_status=$?
1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717   test $ac_status = 0; }; }; then :
1718   ac_retval=0
1719 else
1720   $as_echo "$as_me: program exited with status $ac_status" >&5
1721        $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1723
1724        ac_retval=$ac_status
1725 fi
1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728   as_fn_set_status $ac_retval
1729
1730 } # ac_fn_c_try_run
1731
1732 # ac_fn_c_check_func LINENO FUNC VAR
1733 # ----------------------------------
1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1735 ac_fn_c_check_func ()
1736 {
1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741   $as_echo_n "(cached) " >&6
1742 else
1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h.  */
1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1747 #define $2 innocuous_$2
1748
1749 /* System header to define __stub macros and hopefully few prototypes,
1750     which can conflict with char $2 (); below.
1751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1752     <limits.h> exists even on freestanding compilers.  */
1753
1754 #ifdef __STDC__
1755 # include <limits.h>
1756 #else
1757 # include <assert.h>
1758 #endif
1759
1760 #undef $2
1761
1762 /* Override any GCC internal prototype to avoid an error.
1763    Use char because int might match the return type of a GCC
1764    builtin and then its argument prototype would still apply.  */
1765 #ifdef __cplusplus
1766 extern "C"
1767 #endif
1768 char $2 ();
1769 /* The GNU C library defines this for functions which it implements
1770     to always fail with ENOSYS.  Some functions are actually named
1771     something starting with __ and the normal name is an alias.  */
1772 #if defined __stub_$2 || defined __stub___$2
1773 choke me
1774 #endif
1775
1776 int
1777 main ()
1778 {
1779 return $2 ();
1780   ;
1781   return 0;
1782 }
1783 _ACEOF
1784 if ac_fn_c_try_link "$LINENO"; then :
1785   eval "$3=yes"
1786 else
1787   eval "$3=no"
1788 fi
1789 rm -f core conftest.err conftest.$ac_objext \
1790     conftest$ac_exeext conftest.$ac_ext
1791 fi
1792 eval ac_res=\$$3
1793                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1794 $as_echo "$ac_res" >&6; }
1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796
1797 } # ac_fn_c_check_func
1798
1799 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1800 # -------------------------------------------------------
1801 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1802 # the include files in INCLUDES and setting the cache variable VAR
1803 # accordingly.
1804 ac_fn_c_check_header_mongrel ()
1805 {
1806   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807   if eval \${$3+:} false; then :
1808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811   $as_echo_n "(cached) " >&6
1812 fi
1813 eval ac_res=\$$3
1814                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1816 else
1817   # Is the header compilable?
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1819 $as_echo_n "checking $2 usability... " >&6; }
1820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1821 /* end confdefs.h.  */
1822 $4
1823 #include <$2>
1824 _ACEOF
1825 if ac_fn_c_try_compile "$LINENO"; then :
1826   ac_header_compiler=yes
1827 else
1828   ac_header_compiler=no
1829 fi
1830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1832 $as_echo "$ac_header_compiler" >&6; }
1833
1834 # Is the header present?
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1836 $as_echo_n "checking $2 presence... " >&6; }
1837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1838 /* end confdefs.h.  */
1839 #include <$2>
1840 _ACEOF
1841 if ac_fn_c_try_cpp "$LINENO"; then :
1842   ac_header_preproc=yes
1843 else
1844   ac_header_preproc=no
1845 fi
1846 rm -f conftest.err conftest.i conftest.$ac_ext
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1848 $as_echo "$ac_header_preproc" >&6; }
1849
1850 # So?  What about this header?
1851 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1852   yes:no: )
1853     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1854 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1855     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1856 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1857     ;;
1858   no:yes:* )
1859     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1860 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1861     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1862 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1863     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1864 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1865     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1866 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1867     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1868 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1869 ( $as_echo "## -------------------------------------------------------- ##
1870 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1871 ## -------------------------------------------------------- ##"
1872      ) | sed "s/^/$as_me: WARNING:     /" >&2
1873     ;;
1874 esac
1875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if eval \${$3+:} false; then :
1878   $as_echo_n "(cached) " >&6
1879 else
1880   eval "$3=\$ac_header_compiler"
1881 fi
1882 eval ac_res=\$$3
1883                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1885 fi
1886   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887
1888 } # ac_fn_c_check_header_mongrel
1889
1890 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1891 # -------------------------------------------
1892 # Tests whether TYPE exists after having included INCLUDES, setting cache
1893 # variable VAR accordingly.
1894 ac_fn_c_check_type ()
1895 {
1896   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898 $as_echo_n "checking for $2... " >&6; }
1899 if eval \${$3+:} false; then :
1900   $as_echo_n "(cached) " >&6
1901 else
1902   eval "$3=no"
1903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h.  */
1905 $4
1906 int
1907 main ()
1908 {
1909 if (sizeof ($2))
1910          return 0;
1911   ;
1912   return 0;
1913 }
1914 _ACEOF
1915 if ac_fn_c_try_compile "$LINENO"; then :
1916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h.  */
1918 $4
1919 int
1920 main ()
1921 {
1922 if (sizeof (($2)))
1923             return 0;
1924   ;
1925   return 0;
1926 }
1927 _ACEOF
1928 if ac_fn_c_try_compile "$LINENO"; then :
1929
1930 else
1931   eval "$3=yes"
1932 fi
1933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1934 fi
1935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1936 fi
1937 eval ac_res=\$$3
1938                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1940   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1941
1942 } # ac_fn_c_check_type
1943 cat >config.log <<_ACEOF
1944 This file contains any messages produced by compilers while
1945 running configure, to aid debugging if configure makes a mistake.
1946
1947 It was created by embryo $as_me 1.7.4, which was
1948 generated by GNU Autoconf 2.68.  Invocation command line was
1949
1950   $ $0 $@
1951
1952 _ACEOF
1953 exec 5>>config.log
1954 {
1955 cat <<_ASUNAME
1956 ## --------- ##
1957 ## Platform. ##
1958 ## --------- ##
1959
1960 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1961 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1962 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1963 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1964 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1965
1966 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1967 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1968
1969 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1970 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1971 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1972 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1973 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1974 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1975 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1976
1977 _ASUNAME
1978
1979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1980 for as_dir in $PATH
1981 do
1982   IFS=$as_save_IFS
1983   test -z "$as_dir" && as_dir=.
1984     $as_echo "PATH: $as_dir"
1985   done
1986 IFS=$as_save_IFS
1987
1988 } >&5
1989
1990 cat >&5 <<_ACEOF
1991
1992
1993 ## ----------- ##
1994 ## Core tests. ##
1995 ## ----------- ##
1996
1997 _ACEOF
1998
1999
2000 # Keep a trace of the command line.
2001 # Strip out --no-create and --no-recursion so they do not pile up.
2002 # Strip out --silent because we don't want to record it for future runs.
2003 # Also quote any args containing shell meta-characters.
2004 # Make two passes to allow for proper duplicate-argument suppression.
2005 ac_configure_args=
2006 ac_configure_args0=
2007 ac_configure_args1=
2008 ac_must_keep_next=false
2009 for ac_pass in 1 2
2010 do
2011   for ac_arg
2012   do
2013     case $ac_arg in
2014     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2015     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2016     | -silent | --silent | --silen | --sile | --sil)
2017       continue ;;
2018     *\'*)
2019       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2020     esac
2021     case $ac_pass in
2022     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2023     2)
2024       as_fn_append ac_configure_args1 " '$ac_arg'"
2025       if test $ac_must_keep_next = true; then
2026         ac_must_keep_next=false # Got value, back to normal.
2027       else
2028         case $ac_arg in
2029           *=* | --config-cache | -C | -disable-* | --disable-* \
2030           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2031           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2032           | -with-* | --with-* | -without-* | --without-* | --x)
2033             case "$ac_configure_args0 " in
2034               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2035             esac
2036             ;;
2037           -* ) ac_must_keep_next=true ;;
2038         esac
2039       fi
2040       as_fn_append ac_configure_args " '$ac_arg'"
2041       ;;
2042     esac
2043   done
2044 done
2045 { ac_configure_args0=; unset ac_configure_args0;}
2046 { ac_configure_args1=; unset ac_configure_args1;}
2047
2048 # When interrupted or exit'd, cleanup temporary files, and complete
2049 # config.log.  We remove comments because anyway the quotes in there
2050 # would cause problems or look ugly.
2051 # WARNING: Use '\'' to represent an apostrophe within the trap.
2052 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2053 trap 'exit_status=$?
2054   # Save into config.log some information that might help in debugging.
2055   {
2056     echo
2057
2058     $as_echo "## ---------------- ##
2059 ## Cache variables. ##
2060 ## ---------------- ##"
2061     echo
2062     # The following way of writing the cache mishandles newlines in values,
2063 (
2064   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2065     eval ac_val=\$$ac_var
2066     case $ac_val in #(
2067     *${as_nl}*)
2068       case $ac_var in #(
2069       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2070 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2071       esac
2072       case $ac_var in #(
2073       _ | IFS | as_nl) ;; #(
2074       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2075       *) { eval $ac_var=; unset $ac_var;} ;;
2076       esac ;;
2077     esac
2078   done
2079   (set) 2>&1 |
2080     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2081     *${as_nl}ac_space=\ *)
2082       sed -n \
2083         "s/'\''/'\''\\\\'\'''\''/g;
2084           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2085       ;; #(
2086     *)
2087       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2088       ;;
2089     esac |
2090     sort
2091 )
2092     echo
2093
2094     $as_echo "## ----------------- ##
2095 ## Output variables. ##
2096 ## ----------------- ##"
2097     echo
2098     for ac_var in $ac_subst_vars
2099     do
2100       eval ac_val=\$$ac_var
2101       case $ac_val in
2102       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2103       esac
2104       $as_echo "$ac_var='\''$ac_val'\''"
2105     done | sort
2106     echo
2107
2108     if test -n "$ac_subst_files"; then
2109       $as_echo "## ------------------- ##
2110 ## File substitutions. ##
2111 ## ------------------- ##"
2112       echo
2113       for ac_var in $ac_subst_files
2114       do
2115         eval ac_val=\$$ac_var
2116         case $ac_val in
2117         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2118         esac
2119         $as_echo "$ac_var='\''$ac_val'\''"
2120       done | sort
2121       echo
2122     fi
2123
2124     if test -s confdefs.h; then
2125       $as_echo "## ----------- ##
2126 ## confdefs.h. ##
2127 ## ----------- ##"
2128       echo
2129       cat confdefs.h
2130       echo
2131     fi
2132     test "$ac_signal" != 0 &&
2133       $as_echo "$as_me: caught signal $ac_signal"
2134     $as_echo "$as_me: exit $exit_status"
2135   } >&5
2136   rm -f core *.core core.conftest.* &&
2137     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2138     exit $exit_status
2139 ' 0
2140 for ac_signal in 1 2 13 15; do
2141   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2142 done
2143 ac_signal=0
2144
2145 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2146 rm -f -r conftest* confdefs.h
2147
2148 $as_echo "/* confdefs.h */" > confdefs.h
2149
2150 # Predefined preprocessor variables.
2151
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_NAME "$PACKAGE_NAME"
2154 _ACEOF
2155
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2158 _ACEOF
2159
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2162 _ACEOF
2163
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_STRING "$PACKAGE_STRING"
2166 _ACEOF
2167
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2170 _ACEOF
2171
2172 cat >>confdefs.h <<_ACEOF
2173 #define PACKAGE_URL "$PACKAGE_URL"
2174 _ACEOF
2175
2176
2177 # Let the site file select an alternate cache file if it wants to.
2178 # Prefer an explicitly selected file to automatically selected ones.
2179 ac_site_file1=NONE
2180 ac_site_file2=NONE
2181 if test -n "$CONFIG_SITE"; then
2182   # We do not want a PATH search for config.site.
2183   case $CONFIG_SITE in #((
2184     -*)  ac_site_file1=./$CONFIG_SITE;;
2185     */*) ac_site_file1=$CONFIG_SITE;;
2186     *)   ac_site_file1=./$CONFIG_SITE;;
2187   esac
2188 elif test "x$prefix" != xNONE; then
2189   ac_site_file1=$prefix/share/config.site
2190   ac_site_file2=$prefix/etc/config.site
2191 else
2192   ac_site_file1=$ac_default_prefix/share/config.site
2193   ac_site_file2=$ac_default_prefix/etc/config.site
2194 fi
2195 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2196 do
2197   test "x$ac_site_file" = xNONE && continue
2198   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2199     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2200 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2201     sed 's/^/| /' "$ac_site_file" >&5
2202     . "$ac_site_file" \
2203       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2205 as_fn_error $? "failed to load site script $ac_site_file
2206 See \`config.log' for more details" "$LINENO" 5; }
2207   fi
2208 done
2209
2210 if test -r "$cache_file"; then
2211   # Some versions of bash will fail to source /dev/null (special files
2212   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2213   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2214     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2215 $as_echo "$as_me: loading cache $cache_file" >&6;}
2216     case $cache_file in
2217       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2218       *)                      . "./$cache_file";;
2219     esac
2220   fi
2221 else
2222   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2223 $as_echo "$as_me: creating cache $cache_file" >&6;}
2224   >$cache_file
2225 fi
2226
2227 # Check that the precious variables saved in the cache have kept the same
2228 # value.
2229 ac_cache_corrupted=false
2230 for ac_var in $ac_precious_vars; do
2231   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2232   eval ac_new_set=\$ac_env_${ac_var}_set
2233   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2234   eval ac_new_val=\$ac_env_${ac_var}_value
2235   case $ac_old_set,$ac_new_set in
2236     set,)
2237       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2238 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2239       ac_cache_corrupted=: ;;
2240     ,set)
2241       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2242 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2243       ac_cache_corrupted=: ;;
2244     ,);;
2245     *)
2246       if test "x$ac_old_val" != "x$ac_new_val"; then
2247         # differences in whitespace do not lead to failure.
2248         ac_old_val_w=`echo x $ac_old_val`
2249         ac_new_val_w=`echo x $ac_new_val`
2250         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2251           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2252 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2253           ac_cache_corrupted=:
2254         else
2255           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2256 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2257           eval $ac_var=\$ac_old_val
2258         fi
2259         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2260 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2261         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2262 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2263       fi;;
2264   esac
2265   # Pass precious variables to config.status.
2266   if test "$ac_new_set" = set; then
2267     case $ac_new_val in
2268     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2269     *) ac_arg=$ac_var=$ac_new_val ;;
2270     esac
2271     case " $ac_configure_args " in
2272       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2273       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2274     esac
2275   fi
2276 done
2277 if $ac_cache_corrupted; then
2278   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2280   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2281 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2282   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2283 fi
2284 ## -------------------- ##
2285 ## Main body of script. ##
2286 ## -------------------- ##
2287
2288 ac_ext=c
2289 ac_cpp='$CPP $CPPFLAGS'
2290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293
2294
2295
2296
2297
2298
2299 ac_config_headers="$ac_config_headers config.h"
2300
2301
2302
2303
2304 am__api_version='1.11'
2305
2306 ac_aux_dir=
2307 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2308   if test -f "$ac_dir/install-sh"; then
2309     ac_aux_dir=$ac_dir
2310     ac_install_sh="$ac_aux_dir/install-sh -c"
2311     break
2312   elif test -f "$ac_dir/install.sh"; then
2313     ac_aux_dir=$ac_dir
2314     ac_install_sh="$ac_aux_dir/install.sh -c"
2315     break
2316   elif test -f "$ac_dir/shtool"; then
2317     ac_aux_dir=$ac_dir
2318     ac_install_sh="$ac_aux_dir/shtool install -c"
2319     break
2320   fi
2321 done
2322 if test -z "$ac_aux_dir"; then
2323   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2324 fi
2325
2326 # These three variables are undocumented and unsupported,
2327 # and are intended to be withdrawn in a future Autoconf release.
2328 # They can cause serious problems if a builder's source tree is in a directory
2329 # whose full name contains unusual characters.
2330 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2331 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2332 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2333
2334
2335 # Find a good install program.  We prefer a C program (faster),
2336 # so one script is as good as another.  But avoid the broken or
2337 # incompatible versions:
2338 # SysV /etc/install, /usr/sbin/install
2339 # SunOS /usr/etc/install
2340 # IRIX /sbin/install
2341 # AIX /bin/install
2342 # AmigaOS /C/install, which installs bootblocks on floppy discs
2343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2346 # OS/2's system install, which has a completely different semantic
2347 # ./install, which can be erroneously created by make from ./install.sh.
2348 # Reject install programs that cannot install multiple files.
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2350 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2351 if test -z "$INSTALL"; then
2352 if ${ac_cv_path_install+:} false; then :
2353   $as_echo_n "(cached) " >&6
2354 else
2355   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356 for as_dir in $PATH
2357 do
2358   IFS=$as_save_IFS
2359   test -z "$as_dir" && as_dir=.
2360     # Account for people who put trailing slashes in PATH elements.
2361 case $as_dir/ in #((
2362   ./ | .// | /[cC]/* | \
2363   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2364   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2365   /usr/ucb/* ) ;;
2366   *)
2367     # OSF1 and SCO ODT 3.0 have their own names for install.
2368     # Don't use installbsd from OSF since it installs stuff as root
2369     # by default.
2370     for ac_prog in ginstall scoinst install; do
2371       for ac_exec_ext in '' $ac_executable_extensions; do
2372         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2373           if test $ac_prog = install &&
2374             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2375             # AIX install.  It has an incompatible calling convention.
2376             :
2377           elif test $ac_prog = install &&
2378             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2379             # program-specific install script used by HP pwplus--don't use.
2380             :
2381           else
2382             rm -rf conftest.one conftest.two conftest.dir
2383             echo one > conftest.one
2384             echo two > conftest.two
2385             mkdir conftest.dir
2386             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2387               test -s conftest.one && test -s conftest.two &&
2388               test -s conftest.dir/conftest.one &&
2389               test -s conftest.dir/conftest.two
2390             then
2391               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2392               break 3
2393             fi
2394           fi
2395         fi
2396       done
2397     done
2398     ;;
2399 esac
2400
2401   done
2402 IFS=$as_save_IFS
2403
2404 rm -rf conftest.one conftest.two conftest.dir
2405
2406 fi
2407   if test "${ac_cv_path_install+set}" = set; then
2408     INSTALL=$ac_cv_path_install
2409   else
2410     # As a last resort, use the slow shell script.  Don't cache a
2411     # value for INSTALL within a source directory, because that will
2412     # break other packages using the cache if that directory is
2413     # removed, or if the value is a relative name.
2414     INSTALL=$ac_install_sh
2415   fi
2416 fi
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2418 $as_echo "$INSTALL" >&6; }
2419
2420 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2421 # It thinks the first close brace ends the variable substitution.
2422 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2423
2424 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2425
2426 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2427
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2429 $as_echo_n "checking whether build environment is sane... " >&6; }
2430 # Just in case
2431 sleep 1
2432 echo timestamp > conftest.file
2433 # Reject unsafe characters in $srcdir or the absolute working directory
2434 # name.  Accept space and tab only in the latter.
2435 am_lf='
2436 '
2437 case `pwd` in
2438   *[\\\"\#\$\&\'\`$am_lf]*)
2439     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2440 esac
2441 case $srcdir in
2442   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2443     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2444 esac
2445
2446 # Do `set' in a subshell so we don't clobber the current shell's
2447 # arguments.  Must try -L first in case configure is actually a
2448 # symlink; some systems play weird games with the mod time of symlinks
2449 # (eg FreeBSD returns the mod time of the symlink's containing
2450 # directory).
2451 if (
2452    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2453    if test "$*" = "X"; then
2454       # -L didn't work.
2455       set X `ls -t "$srcdir/configure" conftest.file`
2456    fi
2457    rm -f conftest.file
2458    if test "$*" != "X $srcdir/configure conftest.file" \
2459       && test "$*" != "X conftest.file $srcdir/configure"; then
2460
2461       # If neither matched, then we have a broken ls.  This can happen
2462       # if, for instance, CONFIG_SHELL is bash and it inherits a
2463       # broken ls alias from the environment.  This has actually
2464       # happened.  Such a system could not be considered "sane".
2465       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2466 alias in your environment" "$LINENO" 5
2467    fi
2468
2469    test "$2" = conftest.file
2470    )
2471 then
2472    # Ok.
2473    :
2474 else
2475    as_fn_error $? "newly created file is older than distributed files!
2476 Check your system clock" "$LINENO" 5
2477 fi
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2479 $as_echo "yes" >&6; }
2480 test "$program_prefix" != NONE &&
2481   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2482 # Use a double $ so make ignores it.
2483 test "$program_suffix" != NONE &&
2484   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2485 # Double any \ or $.
2486 # By default was `s,x,x', remove it if useless.
2487 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2488 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2489
2490 # expand $ac_aux_dir to an absolute path
2491 am_aux_dir=`cd $ac_aux_dir && pwd`
2492
2493 if test x"${MISSING+set}" != xset; then
2494   case $am_aux_dir in
2495   *\ * | *\     *)
2496     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2497   *)
2498     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2499   esac
2500 fi
2501 # Use eval to expand $SHELL
2502 if eval "$MISSING --run true"; then
2503   am_missing_run="$MISSING --run "
2504 else
2505   am_missing_run=
2506   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2507 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2508 fi
2509
2510 if test x"${install_sh}" != xset; then
2511   case $am_aux_dir in
2512   *\ * | *\     *)
2513     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2514   *)
2515     install_sh="\${SHELL} $am_aux_dir/install-sh"
2516   esac
2517 fi
2518
2519 # Installed binaries are usually stripped using `strip' when the user
2520 # run `make install-strip'.  However `strip' might not be the right
2521 # tool to use in cross-compilation environments, therefore Automake
2522 # will honor the `STRIP' environment variable to overrule this program.
2523 if test "$cross_compiling" != no; then
2524   if test -n "$ac_tool_prefix"; then
2525   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2526 set dummy ${ac_tool_prefix}strip; ac_word=$2
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528 $as_echo_n "checking for $ac_word... " >&6; }
2529 if ${ac_cv_prog_STRIP+:} false; then :
2530   $as_echo_n "(cached) " >&6
2531 else
2532   if test -n "$STRIP"; then
2533   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2537 do
2538   IFS=$as_save_IFS
2539   test -z "$as_dir" && as_dir=.
2540     for ac_exec_ext in '' $ac_executable_extensions; do
2541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544     break 2
2545   fi
2546 done
2547   done
2548 IFS=$as_save_IFS
2549
2550 fi
2551 fi
2552 STRIP=$ac_cv_prog_STRIP
2553 if test -n "$STRIP"; then
2554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2555 $as_echo "$STRIP" >&6; }
2556 else
2557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558 $as_echo "no" >&6; }
2559 fi
2560
2561
2562 fi
2563 if test -z "$ac_cv_prog_STRIP"; then
2564   ac_ct_STRIP=$STRIP
2565   # Extract the first word of "strip", so it can be a program name with args.
2566 set dummy strip; ac_word=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2570   $as_echo_n "(cached) " >&6
2571 else
2572   if test -n "$ac_ct_STRIP"; then
2573   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2574 else
2575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2576 for as_dir in $PATH
2577 do
2578   IFS=$as_save_IFS
2579   test -z "$as_dir" && as_dir=.
2580     for ac_exec_ext in '' $ac_executable_extensions; do
2581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582     ac_cv_prog_ac_ct_STRIP="strip"
2583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2584     break 2
2585   fi
2586 done
2587   done
2588 IFS=$as_save_IFS
2589
2590 fi
2591 fi
2592 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2593 if test -n "$ac_ct_STRIP"; then
2594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2595 $as_echo "$ac_ct_STRIP" >&6; }
2596 else
2597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2599 fi
2600
2601   if test "x$ac_ct_STRIP" = x; then
2602     STRIP=":"
2603   else
2604     case $cross_compiling:$ac_tool_warned in
2605 yes:)
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2608 ac_tool_warned=yes ;;
2609 esac
2610     STRIP=$ac_ct_STRIP
2611   fi
2612 else
2613   STRIP="$ac_cv_prog_STRIP"
2614 fi
2615
2616 fi
2617 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2618
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2620 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2621 if test -z "$MKDIR_P"; then
2622   if ${ac_cv_path_mkdir+:} false; then :
2623   $as_echo_n "(cached) " >&6
2624 else
2625   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2626 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2627 do
2628   IFS=$as_save_IFS
2629   test -z "$as_dir" && as_dir=.
2630     for ac_prog in mkdir gmkdir; do
2631          for ac_exec_ext in '' $ac_executable_extensions; do
2632            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2633            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2634              'mkdir (GNU coreutils) '* | \
2635              'mkdir (coreutils) '* | \
2636              'mkdir (fileutils) '4.1*)
2637                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2638                break 3;;
2639            esac
2640          done
2641        done
2642   done
2643 IFS=$as_save_IFS
2644
2645 fi
2646
2647   test -d ./--version && rmdir ./--version
2648   if test "${ac_cv_path_mkdir+set}" = set; then
2649     MKDIR_P="$ac_cv_path_mkdir -p"
2650   else
2651     # As a last resort, use the slow shell script.  Don't cache a
2652     # value for MKDIR_P within a source directory, because that will
2653     # break other packages using the cache if that directory is
2654     # removed, or if the value is a relative name.
2655     MKDIR_P="$ac_install_sh -d"
2656   fi
2657 fi
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2659 $as_echo "$MKDIR_P" >&6; }
2660
2661 mkdir_p="$MKDIR_P"
2662 case $mkdir_p in
2663   [\\/$]* | ?:[\\/]*) ;;
2664   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2665 esac
2666
2667 for ac_prog in gawk mawk nawk awk
2668 do
2669   # Extract the first word of "$ac_prog", so it can be a program name with args.
2670 set dummy $ac_prog; ac_word=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if ${ac_cv_prog_AWK+:} false; then :
2674   $as_echo_n "(cached) " >&6
2675 else
2676   if test -n "$AWK"; then
2677   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2678 else
2679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 for as_dir in $PATH
2681 do
2682   IFS=$as_save_IFS
2683   test -z "$as_dir" && as_dir=.
2684     for ac_exec_ext in '' $ac_executable_extensions; do
2685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2686     ac_cv_prog_AWK="$ac_prog"
2687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688     break 2
2689   fi
2690 done
2691   done
2692 IFS=$as_save_IFS
2693
2694 fi
2695 fi
2696 AWK=$ac_cv_prog_AWK
2697 if test -n "$AWK"; then
2698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2699 $as_echo "$AWK" >&6; }
2700 else
2701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2703 fi
2704
2705
2706   test -n "$AWK" && break
2707 done
2708
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2710 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2711 set x ${MAKE-make}
2712 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2713 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2714   $as_echo_n "(cached) " >&6
2715 else
2716   cat >conftest.make <<\_ACEOF
2717 SHELL = /bin/sh
2718 all:
2719         @echo '@@@%%%=$(MAKE)=@@@%%%'
2720 _ACEOF
2721 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2722 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2723   *@@@%%%=?*=@@@%%%*)
2724     eval ac_cv_prog_make_${ac_make}_set=yes;;
2725   *)
2726     eval ac_cv_prog_make_${ac_make}_set=no;;
2727 esac
2728 rm -f conftest.make
2729 fi
2730 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2732 $as_echo "yes" >&6; }
2733   SET_MAKE=
2734 else
2735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2736 $as_echo "no" >&6; }
2737   SET_MAKE="MAKE=${MAKE-make}"
2738 fi
2739
2740 rm -rf .tst 2>/dev/null
2741 mkdir .tst 2>/dev/null
2742 if test -d .tst; then
2743   am__leading_dot=.
2744 else
2745   am__leading_dot=_
2746 fi
2747 rmdir .tst 2>/dev/null
2748
2749 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2750   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2751   # is not polluted with repeated "-I."
2752   am__isrc=' -I$(srcdir)'
2753   # test to see if srcdir already configured
2754   if test -f $srcdir/config.status; then
2755     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2756   fi
2757 fi
2758
2759 # test whether we have cygpath
2760 if test -z "$CYGPATH_W"; then
2761   if (cygpath --version) >/dev/null 2>/dev/null; then
2762     CYGPATH_W='cygpath -w'
2763   else
2764     CYGPATH_W=echo
2765   fi
2766 fi
2767
2768
2769 # Define the identity of the package.
2770  PACKAGE='embryo'
2771  VERSION='1.7.4'
2772
2773
2774 cat >>confdefs.h <<_ACEOF
2775 #define PACKAGE "$PACKAGE"
2776 _ACEOF
2777
2778
2779 cat >>confdefs.h <<_ACEOF
2780 #define VERSION "$VERSION"
2781 _ACEOF
2782
2783 # Some tools Automake needs.
2784
2785 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2786
2787
2788 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2789
2790
2791 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2792
2793
2794 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2795
2796
2797 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2798
2799 # We need awk for the "check" target.  The system "awk" is bad on
2800 # some platforms.
2801 # Always define AMTAR for backward compatibility.  Yes, it's still used
2802 # in the wild :-(  We should find a proper way to deprecate it ...
2803 AMTAR='$${TAR-tar}'
2804
2805 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2806
2807
2808
2809
2810
2811 # Check whether --enable-silent-rules was given.
2812 if test "${enable_silent_rules+set}" = set; then :
2813   enableval=$enable_silent_rules;
2814 fi
2815
2816 case $enable_silent_rules in
2817 yes) AM_DEFAULT_VERBOSITY=0;;
2818 no)  AM_DEFAULT_VERBOSITY=1;;
2819 *)   AM_DEFAULT_VERBOSITY=0;;
2820 esac
2821 am_make=${MAKE-make}
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2823 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2824 if ${am_cv_make_support_nested_variables+:} false; then :
2825   $as_echo_n "(cached) " >&6
2826 else
2827   if $as_echo 'TRUE=$(BAR$(V))
2828 BAR0=false
2829 BAR1=true
2830 V=1
2831 am__doit:
2832         @$(TRUE)
2833 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2834   am_cv_make_support_nested_variables=yes
2835 else
2836   am_cv_make_support_nested_variables=no
2837 fi
2838 fi
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2840 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2841 if test $am_cv_make_support_nested_variables = yes; then
2842     AM_V='$(V)'
2843   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2844 else
2845   AM_V=$AM_DEFAULT_VERBOSITY
2846   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2847 fi
2848 AM_BACKSLASH='\'
2849
2850
2851 # Make sure we can run config.sub.
2852 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2853   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2854
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2856 $as_echo_n "checking build system type... " >&6; }
2857 if ${ac_cv_build+:} false; then :
2858   $as_echo_n "(cached) " >&6
2859 else
2860   ac_build_alias=$build_alias
2861 test "x$ac_build_alias" = x &&
2862   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2863 test "x$ac_build_alias" = x &&
2864   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2865 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2866   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2867
2868 fi
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2870 $as_echo "$ac_cv_build" >&6; }
2871 case $ac_cv_build in
2872 *-*-*) ;;
2873 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2874 esac
2875 build=$ac_cv_build
2876 ac_save_IFS=$IFS; IFS='-'
2877 set x $ac_cv_build
2878 shift
2879 build_cpu=$1
2880 build_vendor=$2
2881 shift; shift
2882 # Remember, the first character of IFS is used to create $*,
2883 # except with old shells:
2884 build_os=$*
2885 IFS=$ac_save_IFS
2886 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2887
2888
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2890 $as_echo_n "checking host system type... " >&6; }
2891 if ${ac_cv_host+:} false; then :
2892   $as_echo_n "(cached) " >&6
2893 else
2894   if test "x$host_alias" = x; then
2895   ac_cv_host=$ac_cv_build
2896 else
2897   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2898     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2899 fi
2900
2901 fi
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2903 $as_echo "$ac_cv_host" >&6; }
2904 case $ac_cv_host in
2905 *-*-*) ;;
2906 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2907 esac
2908 host=$ac_cv_host
2909 ac_save_IFS=$IFS; IFS='-'
2910 set x $ac_cv_host
2911 shift
2912 host_cpu=$1
2913 host_vendor=$2
2914 shift; shift
2915 # Remember, the first character of IFS is used to create $*,
2916 # except with old shells:
2917 host_os=$*
2918 IFS=$ac_save_IFS
2919 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2920
2921
2922 enable_win32_dll=yes
2923
2924 case $host in
2925 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
2926   if test -n "$ac_tool_prefix"; then
2927   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2928 set dummy ${ac_tool_prefix}as; ac_word=$2
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2930 $as_echo_n "checking for $ac_word... " >&6; }
2931 if ${ac_cv_prog_AS+:} false; then :
2932   $as_echo_n "(cached) " >&6
2933 else
2934   if test -n "$AS"; then
2935   ac_cv_prog_AS="$AS" # Let the user override the test.
2936 else
2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 for as_dir in $PATH
2939 do
2940   IFS=$as_save_IFS
2941   test -z "$as_dir" && as_dir=.
2942     for ac_exec_ext in '' $ac_executable_extensions; do
2943   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2944     ac_cv_prog_AS="${ac_tool_prefix}as"
2945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946     break 2
2947   fi
2948 done
2949   done
2950 IFS=$as_save_IFS
2951
2952 fi
2953 fi
2954 AS=$ac_cv_prog_AS
2955 if test -n "$AS"; then
2956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2957 $as_echo "$AS" >&6; }
2958 else
2959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2960 $as_echo "no" >&6; }
2961 fi
2962
2963
2964 fi
2965 if test -z "$ac_cv_prog_AS"; then
2966   ac_ct_AS=$AS
2967   # Extract the first word of "as", so it can be a program name with args.
2968 set dummy as; ac_word=$2
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2970 $as_echo_n "checking for $ac_word... " >&6; }
2971 if ${ac_cv_prog_ac_ct_AS+:} false; then :
2972   $as_echo_n "(cached) " >&6
2973 else
2974   if test -n "$ac_ct_AS"; then
2975   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2976 else
2977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2978 for as_dir in $PATH
2979 do
2980   IFS=$as_save_IFS
2981   test -z "$as_dir" && as_dir=.
2982     for ac_exec_ext in '' $ac_executable_extensions; do
2983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2984     ac_cv_prog_ac_ct_AS="as"
2985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2986     break 2
2987   fi
2988 done
2989   done
2990 IFS=$as_save_IFS
2991
2992 fi
2993 fi
2994 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2995 if test -n "$ac_ct_AS"; then
2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2997 $as_echo "$ac_ct_AS" >&6; }
2998 else
2999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3000 $as_echo "no" >&6; }
3001 fi
3002
3003   if test "x$ac_ct_AS" = x; then
3004     AS="false"
3005   else
3006     case $cross_compiling:$ac_tool_warned in
3007 yes:)
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3010 ac_tool_warned=yes ;;
3011 esac
3012     AS=$ac_ct_AS
3013   fi
3014 else
3015   AS="$ac_cv_prog_AS"
3016 fi
3017
3018   if test -n "$ac_tool_prefix"; then
3019   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3020 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3022 $as_echo_n "checking for $ac_word... " >&6; }
3023 if ${ac_cv_prog_DLLTOOL+:} false; then :
3024   $as_echo_n "(cached) " >&6
3025 else
3026   if test -n "$DLLTOOL"; then
3027   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3028 else
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3030 for as_dir in $PATH
3031 do
3032   IFS=$as_save_IFS
3033   test -z "$as_dir" && as_dir=.
3034     for ac_exec_ext in '' $ac_executable_extensions; do
3035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3036     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3037     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038     break 2
3039   fi
3040 done
3041   done
3042 IFS=$as_save_IFS
3043
3044 fi
3045 fi
3046 DLLTOOL=$ac_cv_prog_DLLTOOL
3047 if test -n "$DLLTOOL"; then
3048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3049 $as_echo "$DLLTOOL" >&6; }
3050 else
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3053 fi
3054
3055
3056 fi
3057 if test -z "$ac_cv_prog_DLLTOOL"; then
3058   ac_ct_DLLTOOL=$DLLTOOL
3059   # Extract the first word of "dlltool", so it can be a program name with args.
3060 set dummy dlltool; ac_word=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3064   $as_echo_n "(cached) " >&6
3065 else
3066   if test -n "$ac_ct_DLLTOOL"; then
3067   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3068 else
3069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 for as_dir in $PATH
3071 do
3072   IFS=$as_save_IFS
3073   test -z "$as_dir" && as_dir=.
3074     for ac_exec_ext in '' $ac_executable_extensions; do
3075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3076     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3078     break 2
3079   fi
3080 done
3081   done
3082 IFS=$as_save_IFS
3083
3084 fi
3085 fi
3086 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3087 if test -n "$ac_ct_DLLTOOL"; then
3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3089 $as_echo "$ac_ct_DLLTOOL" >&6; }
3090 else
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3093 fi
3094
3095   if test "x$ac_ct_DLLTOOL" = x; then
3096     DLLTOOL="false"
3097   else
3098     case $cross_compiling:$ac_tool_warned in
3099 yes:)
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3102 ac_tool_warned=yes ;;
3103 esac
3104     DLLTOOL=$ac_ct_DLLTOOL
3105   fi
3106 else
3107   DLLTOOL="$ac_cv_prog_DLLTOOL"
3108 fi
3109
3110   if test -n "$ac_tool_prefix"; then
3111   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3112 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3114 $as_echo_n "checking for $ac_word... " >&6; }
3115 if ${ac_cv_prog_OBJDUMP+:} false; then :
3116   $as_echo_n "(cached) " >&6
3117 else
3118   if test -n "$OBJDUMP"; then
3119   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3120 else
3121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122 for as_dir in $PATH
3123 do
3124   IFS=$as_save_IFS
3125   test -z "$as_dir" && as_dir=.
3126     for ac_exec_ext in '' $ac_executable_extensions; do
3127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3128     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3130     break 2
3131   fi
3132 done
3133   done
3134 IFS=$as_save_IFS
3135
3136 fi
3137 fi
3138 OBJDUMP=$ac_cv_prog_OBJDUMP
3139 if test -n "$OBJDUMP"; then
3140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3141 $as_echo "$OBJDUMP" >&6; }
3142 else
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3144 $as_echo "no" >&6; }
3145 fi
3146
3147
3148 fi
3149 if test -z "$ac_cv_prog_OBJDUMP"; then
3150   ac_ct_OBJDUMP=$OBJDUMP
3151   # Extract the first word of "objdump", so it can be a program name with args.
3152 set dummy objdump; ac_word=$2
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3154 $as_echo_n "checking for $ac_word... " >&6; }
3155 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3156   $as_echo_n "(cached) " >&6
3157 else
3158   if test -n "$ac_ct_OBJDUMP"; then
3159   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3160 else
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH
3163 do
3164   IFS=$as_save_IFS
3165   test -z "$as_dir" && as_dir=.
3166     for ac_exec_ext in '' $ac_executable_extensions; do
3167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3168     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3169     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3170     break 2
3171   fi
3172 done
3173   done
3174 IFS=$as_save_IFS
3175
3176 fi
3177 fi
3178 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3179 if test -n "$ac_ct_OBJDUMP"; then
3180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3181 $as_echo "$ac_ct_OBJDUMP" >&6; }
3182 else
3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3184 $as_echo "no" >&6; }
3185 fi
3186
3187   if test "x$ac_ct_OBJDUMP" = x; then
3188     OBJDUMP="false"
3189   else
3190     case $cross_compiling:$ac_tool_warned in
3191 yes:)
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3194 ac_tool_warned=yes ;;
3195 esac
3196     OBJDUMP=$ac_ct_OBJDUMP
3197   fi
3198 else
3199   OBJDUMP="$ac_cv_prog_OBJDUMP"
3200 fi
3201
3202   ;;
3203 esac
3204
3205 test -z "$AS" && AS=as
3206
3207
3208
3209
3210
3211 test -z "$DLLTOOL" && DLLTOOL=dlltool
3212
3213
3214
3215
3216
3217 test -z "$OBJDUMP" && OBJDUMP=objdump
3218
3219
3220
3221
3222
3223
3224
3225 case `pwd` in
3226   *\ * | *\     *)
3227     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3228 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3229 esac
3230
3231
3232
3233 macro_version='2.4.2'
3234 macro_revision='1.3337'
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248 ltmain="$ac_aux_dir/ltmain.sh"
3249
3250 # Backslashify metacharacters that are still active within
3251 # double-quoted strings.
3252 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3253
3254 # Same as above, but do not quote variable references.
3255 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3256
3257 # Sed substitution to delay expansion of an escaped shell variable in a
3258 # double_quote_subst'ed string.
3259 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3260
3261 # Sed substitution to delay expansion of an escaped single quote.
3262 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3263
3264 # Sed substitution to avoid accidental globbing in evaled expressions
3265 no_glob_subst='s/\*/\\\*/g'
3266
3267 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3268 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3270
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3272 $as_echo_n "checking how to print strings... " >&6; }
3273 # Test print first, because it will be a builtin if present.
3274 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3275    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3276   ECHO='print -r --'
3277 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3278   ECHO='printf %s\n'
3279 else
3280   # Use this function as a fallback that always works.
3281   func_fallback_echo ()
3282   {
3283     eval 'cat <<_LTECHO_EOF
3284 $1
3285 _LTECHO_EOF'
3286   }
3287   ECHO='func_fallback_echo'
3288 fi
3289
3290 # func_echo_all arg...
3291 # Invoke $ECHO with all args, space-separated.
3292 func_echo_all ()
3293 {
3294     $ECHO ""
3295 }
3296
3297 case "$ECHO" in
3298   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3299 $as_echo "printf" >&6; } ;;
3300   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3301 $as_echo "print -r" >&6; } ;;
3302   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3303 $as_echo "cat" >&6; } ;;
3304 esac
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319 DEPDIR="${am__leading_dot}deps"
3320
3321 ac_config_commands="$ac_config_commands depfiles"
3322
3323
3324 am_make=${MAKE-make}
3325 cat > confinc << 'END'
3326 am__doit:
3327         @echo this is the am__doit target
3328 .PHONY: am__doit
3329 END
3330 # If we don't find an include directive, just comment out the code.
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3332 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3333 am__include="#"
3334 am__quote=
3335 _am_result=none
3336 # First try GNU make style include.
3337 echo "include confinc" > confmf
3338 # Ignore all kinds of additional output from `make'.
3339 case `$am_make -s -f confmf 2> /dev/null` in #(
3340 *the\ am__doit\ target*)
3341   am__include=include
3342   am__quote=
3343   _am_result=GNU
3344   ;;
3345 esac
3346 # Now try BSD make style include.
3347 if test "$am__include" = "#"; then
3348    echo '.include "confinc"' > confmf
3349    case `$am_make -s -f confmf 2> /dev/null` in #(
3350    *the\ am__doit\ target*)
3351      am__include=.include
3352      am__quote="\""
3353      _am_result=BSD
3354      ;;
3355    esac
3356 fi
3357
3358
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3360 $as_echo "$_am_result" >&6; }
3361 rm -f confinc confmf
3362
3363 # Check whether --enable-dependency-tracking was given.
3364 if test "${enable_dependency_tracking+set}" = set; then :
3365   enableval=$enable_dependency_tracking;
3366 fi
3367
3368 if test "x$enable_dependency_tracking" != xno; then
3369   am_depcomp="$ac_aux_dir/depcomp"
3370   AMDEPBACKSLASH='\'
3371   am__nodep='_no'
3372 fi
3373  if test "x$enable_dependency_tracking" != xno; then
3374   AMDEP_TRUE=
3375   AMDEP_FALSE='#'
3376 else
3377   AMDEP_TRUE='#'
3378   AMDEP_FALSE=
3379 fi
3380
3381
3382 ac_ext=c
3383 ac_cpp='$CPP $CPPFLAGS'
3384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3387 if test -n "$ac_tool_prefix"; then
3388   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3389 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3391 $as_echo_n "checking for $ac_word... " >&6; }
3392 if ${ac_cv_prog_CC+:} false; then :
3393   $as_echo_n "(cached) " >&6
3394 else
3395   if test -n "$CC"; then
3396   ac_cv_prog_CC="$CC" # Let the user override the test.
3397 else
3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3399 for as_dir in $PATH
3400 do
3401   IFS=$as_save_IFS
3402   test -z "$as_dir" && as_dir=.
3403     for ac_exec_ext in '' $ac_executable_extensions; do
3404   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3405     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3406     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3407     break 2
3408   fi
3409 done
3410   done
3411 IFS=$as_save_IFS
3412
3413 fi
3414 fi
3415 CC=$ac_cv_prog_CC
3416 if test -n "$CC"; then
3417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3418 $as_echo "$CC" >&6; }
3419 else
3420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3421 $as_echo "no" >&6; }
3422 fi
3423
3424
3425 fi
3426 if test -z "$ac_cv_prog_CC"; then
3427   ac_ct_CC=$CC
3428   # Extract the first word of "gcc", so it can be a program name with args.
3429 set dummy gcc; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3433   $as_echo_n "(cached) " >&6
3434 else
3435   if test -n "$ac_ct_CC"; then
3436   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3437 else
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH
3440 do
3441   IFS=$as_save_IFS
3442   test -z "$as_dir" && as_dir=.
3443     for ac_exec_ext in '' $ac_executable_extensions; do
3444   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445     ac_cv_prog_ac_ct_CC="gcc"
3446     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447     break 2
3448   fi
3449 done
3450   done
3451 IFS=$as_save_IFS
3452
3453 fi
3454 fi
3455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3456 if test -n "$ac_ct_CC"; then
3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3458 $as_echo "$ac_ct_CC" >&6; }
3459 else
3460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3462 fi
3463
3464   if test "x$ac_ct_CC" = x; then
3465     CC=""
3466   else
3467     case $cross_compiling:$ac_tool_warned in
3468 yes:)
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3471 ac_tool_warned=yes ;;
3472 esac
3473     CC=$ac_ct_CC
3474   fi
3475 else
3476   CC="$ac_cv_prog_CC"
3477 fi
3478
3479 if test -z "$CC"; then
3480           if test -n "$ac_tool_prefix"; then
3481     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3482 set dummy ${ac_tool_prefix}cc; ac_word=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if ${ac_cv_prog_CC+:} false; then :
3486   $as_echo_n "(cached) " >&6
3487 else
3488   if test -n "$CC"; then
3489   ac_cv_prog_CC="$CC" # Let the user override the test.
3490 else
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 for as_dir in $PATH
3493 do
3494   IFS=$as_save_IFS
3495   test -z "$as_dir" && as_dir=.
3496     for ac_exec_ext in '' $ac_executable_extensions; do
3497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3498     ac_cv_prog_CC="${ac_tool_prefix}cc"
3499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500     break 2
3501   fi
3502 done
3503   done
3504 IFS=$as_save_IFS
3505
3506 fi
3507 fi
3508 CC=$ac_cv_prog_CC
3509 if test -n "$CC"; then
3510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3511 $as_echo "$CC" >&6; }
3512 else
3513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3515 fi
3516
3517
3518   fi
3519 fi
3520 if test -z "$CC"; then
3521   # Extract the first word of "cc", so it can be a program name with args.
3522 set dummy cc; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if ${ac_cv_prog_CC+:} false; then :
3526   $as_echo_n "(cached) " >&6
3527 else
3528   if test -n "$CC"; then
3529   ac_cv_prog_CC="$CC" # Let the user override the test.
3530 else
3531   ac_prog_rejected=no
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3534 do
3535   IFS=$as_save_IFS
3536   test -z "$as_dir" && as_dir=.
3537     for ac_exec_ext in '' $ac_executable_extensions; do
3538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3539     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3540        ac_prog_rejected=yes
3541        continue
3542      fi
3543     ac_cv_prog_CC="cc"
3544     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3545     break 2
3546   fi
3547 done
3548   done
3549 IFS=$as_save_IFS
3550
3551 if test $ac_prog_rejected = yes; then
3552   # We found a bogon in the path, so make sure we never use it.
3553   set dummy $ac_cv_prog_CC
3554   shift
3555   if test $# != 0; then
3556     # We chose a different compiler from the bogus one.
3557     # However, it has the same basename, so the bogon will be chosen
3558     # first if we set CC to just the basename; use the full file name.
3559     shift
3560     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3561   fi
3562 fi
3563 fi
3564 fi
3565 CC=$ac_cv_prog_CC
3566 if test -n "$CC"; then
3567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3568 $as_echo "$CC" >&6; }
3569 else
3570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571 $as_echo "no" >&6; }
3572 fi
3573
3574
3575 fi
3576 if test -z "$CC"; then
3577   if test -n "$ac_tool_prefix"; then
3578   for ac_prog in cl.exe
3579   do
3580     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3581 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_CC+:} false; then :
3585   $as_echo_n "(cached) " >&6
3586 else
3587   if test -n "$CC"; then
3588   ac_cv_prog_CC="$CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3592 do
3593   IFS=$as_save_IFS
3594   test -z "$as_dir" && as_dir=.
3595     for ac_exec_ext in '' $ac_executable_extensions; do
3596   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3598     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599     break 2
3600   fi
3601 done
3602   done
3603 IFS=$as_save_IFS
3604
3605 fi
3606 fi
3607 CC=$ac_cv_prog_CC
3608 if test -n "$CC"; then
3609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3611 else
3612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 fi
3615
3616
3617     test -n "$CC" && break
3618   done
3619 fi
3620 if test -z "$CC"; then
3621   ac_ct_CC=$CC
3622   for ac_prog in cl.exe
3623 do
3624   # Extract the first word of "$ac_prog", so it can be a program name with args.
3625 set dummy $ac_prog; ac_word=$2
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3627 $as_echo_n "checking for $ac_word... " >&6; }
3628 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3629   $as_echo_n "(cached) " >&6
3630 else
3631   if test -n "$ac_ct_CC"; then
3632   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3633 else
3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3635 for as_dir in $PATH
3636 do
3637   IFS=$as_save_IFS
3638   test -z "$as_dir" && as_dir=.
3639     for ac_exec_ext in '' $ac_executable_extensions; do
3640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641     ac_cv_prog_ac_ct_CC="$ac_prog"
3642     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643     break 2
3644   fi
3645 done
3646   done
3647 IFS=$as_save_IFS
3648
3649 fi
3650 fi
3651 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3652 if test -n "$ac_ct_CC"; then
3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3654 $as_echo "$ac_ct_CC" >&6; }
3655 else
3656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 fi
3659
3660
3661   test -n "$ac_ct_CC" && break
3662 done
3663
3664   if test "x$ac_ct_CC" = x; then
3665     CC=""
3666   else
3667     case $cross_compiling:$ac_tool_warned in
3668 yes:)
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3671 ac_tool_warned=yes ;;
3672 esac
3673     CC=$ac_ct_CC
3674   fi
3675 fi
3676
3677 fi
3678
3679
3680 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682 as_fn_error $? "no acceptable C compiler found in \$PATH
3683 See \`config.log' for more details" "$LINENO" 5; }
3684
3685 # Provide some information about the compiler.
3686 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3687 set X $ac_compile
3688 ac_compiler=$2
3689 for ac_option in --version -v -V -qversion; do
3690   { { ac_try="$ac_compiler $ac_option >&5"
3691 case "(($ac_try" in
3692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693   *) ac_try_echo=$ac_try;;
3694 esac
3695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3696 $as_echo "$ac_try_echo"; } >&5
3697   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3698   ac_status=$?
3699   if test -s conftest.err; then
3700     sed '10a\
3701 ... rest of stderr output deleted ...
3702          10q' conftest.err >conftest.er1
3703     cat conftest.er1 >&5
3704   fi
3705   rm -f conftest.er1 conftest.err
3706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3707   test $ac_status = 0; }
3708 done
3709
3710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711 /* end confdefs.h.  */
3712
3713 int
3714 main ()
3715 {
3716
3717   ;
3718   return 0;
3719 }
3720 _ACEOF
3721 ac_clean_files_save=$ac_clean_files
3722 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3723 # Try to create an executable without -o first, disregard a.out.
3724 # It will help us diagnose broken compilers, and finding out an intuition
3725 # of exeext.
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3727 $as_echo_n "checking whether the C compiler works... " >&6; }
3728 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3729
3730 # The possible output files:
3731 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3732
3733 ac_rmfiles=
3734 for ac_file in $ac_files
3735 do
3736   case $ac_file in
3737     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3738     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3739   esac
3740 done
3741 rm -f $ac_rmfiles
3742
3743 if { { ac_try="$ac_link_default"
3744 case "(($ac_try" in
3745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746   *) ac_try_echo=$ac_try;;
3747 esac
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750   (eval "$ac_link_default") 2>&5
3751   ac_status=$?
3752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3753   test $ac_status = 0; }; then :
3754   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3755 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3756 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3757 # so that the user can short-circuit this test for compilers unknown to
3758 # Autoconf.
3759 for ac_file in $ac_files ''
3760 do
3761   test -f "$ac_file" || continue
3762   case $ac_file in
3763     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3764         ;;
3765     [ab].out )
3766         # We found the default executable, but exeext='' is most
3767         # certainly right.
3768         break;;
3769     *.* )
3770         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3771         then :; else
3772            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3773         fi
3774         # We set ac_cv_exeext here because the later test for it is not
3775         # safe: cross compilers may not add the suffix if given an `-o'
3776         # argument, so we may need to know it at that point already.
3777         # Even if this section looks crufty: it has the advantage of
3778         # actually working.
3779         break;;
3780     * )
3781         break;;
3782   esac
3783 done
3784 test "$ac_cv_exeext" = no && ac_cv_exeext=
3785
3786 else
3787   ac_file=''
3788 fi
3789 if test -z "$ac_file"; then :
3790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3791 $as_echo "no" >&6; }
3792 $as_echo "$as_me: failed program was:" >&5
3793 sed 's/^/| /' conftest.$ac_ext >&5
3794
3795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3797 as_fn_error 77 "C compiler cannot create executables
3798 See \`config.log' for more details" "$LINENO" 5; }
3799 else
3800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3801 $as_echo "yes" >&6; }
3802 fi
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3804 $as_echo_n "checking for C compiler default output file name... " >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3806 $as_echo "$ac_file" >&6; }
3807 ac_exeext=$ac_cv_exeext
3808
3809 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3810 ac_clean_files=$ac_clean_files_save
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3812 $as_echo_n "checking for suffix of executables... " >&6; }
3813 if { { ac_try="$ac_link"
3814 case "(($ac_try" in
3815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816   *) ac_try_echo=$ac_try;;
3817 esac
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820   (eval "$ac_link") 2>&5
3821   ac_status=$?
3822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823   test $ac_status = 0; }; then :
3824   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3825 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3826 # work properly (i.e., refer to `conftest.exe'), while it won't with
3827 # `rm'.
3828 for ac_file in conftest.exe conftest conftest.*; do
3829   test -f "$ac_file" || continue
3830   case $ac_file in
3831     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3832     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3833           break;;
3834     * ) break;;
3835   esac
3836 done
3837 else
3838   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3841 See \`config.log' for more details" "$LINENO" 5; }
3842 fi
3843 rm -f conftest conftest$ac_cv_exeext
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3845 $as_echo "$ac_cv_exeext" >&6; }
3846
3847 rm -f conftest.$ac_ext
3848 EXEEXT=$ac_cv_exeext
3849 ac_exeext=$EXEEXT
3850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3851 /* end confdefs.h.  */
3852 #include <stdio.h>
3853 int
3854 main ()
3855 {
3856 FILE *f = fopen ("conftest.out", "w");
3857  return ferror (f) || fclose (f) != 0;
3858
3859   ;
3860   return 0;
3861 }
3862 _ACEOF
3863 ac_clean_files="$ac_clean_files conftest.out"
3864 # Check that the compiler produces executables we can run.  If not, either
3865 # the compiler is broken, or we cross compile.
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3867 $as_echo_n "checking whether we are cross compiling... " >&6; }
3868 if test "$cross_compiling" != yes; then
3869   { { ac_try="$ac_link"
3870 case "(($ac_try" in
3871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872   *) ac_try_echo=$ac_try;;
3873 esac
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876   (eval "$ac_link") 2>&5
3877   ac_status=$?
3878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879   test $ac_status = 0; }
3880   if { ac_try='./conftest$ac_cv_exeext'
3881   { { case "(($ac_try" in
3882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883   *) ac_try_echo=$ac_try;;
3884 esac
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887   (eval "$ac_try") 2>&5
3888   ac_status=$?
3889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890   test $ac_status = 0; }; }; then
3891     cross_compiling=no
3892   else
3893     if test "$cross_compiling" = maybe; then
3894         cross_compiling=yes
3895     else
3896         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898 as_fn_error $? "cannot run C compiled programs.
3899 If you meant to cross compile, use \`--host'.
3900 See \`config.log' for more details" "$LINENO" 5; }
3901     fi
3902   fi
3903 fi
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3905 $as_echo "$cross_compiling" >&6; }
3906
3907 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3908 ac_clean_files=$ac_clean_files_save
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3910 $as_echo_n "checking for suffix of object files... " >&6; }
3911 if ${ac_cv_objext+:} false; then :
3912   $as_echo_n "(cached) " >&6
3913 else
3914   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h.  */
3916
3917 int
3918 main ()
3919 {
3920
3921   ;
3922   return 0;
3923 }
3924 _ACEOF
3925 rm -f conftest.o conftest.obj
3926 if { { ac_try="$ac_compile"
3927 case "(($ac_try" in
3928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929   *) ac_try_echo=$ac_try;;
3930 esac
3931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932 $as_echo "$ac_try_echo"; } >&5
3933   (eval "$ac_compile") 2>&5
3934   ac_status=$?
3935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936   test $ac_status = 0; }; then :
3937   for ac_file in conftest.o conftest.obj conftest.*; do
3938   test -f "$ac_file" || continue;
3939   case $ac_file in
3940     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3941     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3942        break;;
3943   esac
3944 done
3945 else
3946   $as_echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3948
3949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3951 as_fn_error $? "cannot compute suffix of object files: cannot compile
3952 See \`config.log' for more details" "$LINENO" 5; }
3953 fi
3954 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3955 fi
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3957 $as_echo "$ac_cv_objext" >&6; }
3958 OBJEXT=$ac_cv_objext
3959 ac_objext=$OBJEXT
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3961 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3962 if ${ac_cv_c_compiler_gnu+:} false; then :
3963   $as_echo_n "(cached) " >&6
3964 else
3965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h.  */
3967
3968 int
3969 main ()
3970 {
3971 #ifndef __GNUC__
3972        choke me
3973 #endif
3974
3975   ;
3976   return 0;
3977 }
3978 _ACEOF
3979 if ac_fn_c_try_compile "$LINENO"; then :
3980   ac_compiler_gnu=yes
3981 else
3982   ac_compiler_gnu=no
3983 fi
3984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3985 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3986
3987 fi
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3989 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3990 if test $ac_compiler_gnu = yes; then
3991   GCC=yes
3992 else
3993   GCC=
3994 fi
3995 ac_test_CFLAGS=${CFLAGS+set}
3996 ac_save_CFLAGS=$CFLAGS
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3998 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3999 if ${ac_cv_prog_cc_g+:} false; then :
4000   $as_echo_n "(cached) " >&6
4001 else
4002   ac_save_c_werror_flag=$ac_c_werror_flag
4003    ac_c_werror_flag=yes
4004    ac_cv_prog_cc_g=no
4005    CFLAGS="-g"
4006    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h.  */
4008
4009 int
4010 main ()
4011 {
4012
4013   ;
4014   return 0;
4015 }
4016 _ACEOF
4017 if ac_fn_c_try_compile "$LINENO"; then :
4018   ac_cv_prog_cc_g=yes
4019 else
4020   CFLAGS=""
4021       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022 /* end confdefs.h.  */
4023
4024 int
4025 main ()
4026 {
4027
4028   ;
4029   return 0;
4030 }
4031 _ACEOF
4032 if ac_fn_c_try_compile "$LINENO"; then :
4033
4034 else
4035   ac_c_werror_flag=$ac_save_c_werror_flag
4036          CFLAGS="-g"
4037          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h.  */
4039
4040 int
4041 main ()
4042 {
4043
4044   ;
4045   return 0;
4046 }
4047 _ACEOF
4048 if ac_fn_c_try_compile "$LINENO"; then :
4049   ac_cv_prog_cc_g=yes
4050 fi
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 fi
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4054 fi
4055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4056    ac_c_werror_flag=$ac_save_c_werror_flag
4057 fi
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4059 $as_echo "$ac_cv_prog_cc_g" >&6; }
4060 if test "$ac_test_CFLAGS" = set; then
4061   CFLAGS=$ac_save_CFLAGS
4062 elif test $ac_cv_prog_cc_g = yes; then
4063   if test "$GCC" = yes; then
4064     CFLAGS="-g -O2"
4065   else
4066     CFLAGS="-g"
4067   fi
4068 else
4069   if test "$GCC" = yes; then
4070     CFLAGS="-O2"
4071   else
4072     CFLAGS=
4073   fi
4074 fi
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4076 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4077 if ${ac_cv_prog_cc_c89+:} false; then :
4078   $as_echo_n "(cached) " >&6
4079 else
4080   ac_cv_prog_cc_c89=no
4081 ac_save_CC=$CC
4082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4083 /* end confdefs.h.  */
4084 #include <stdarg.h>
4085 #include <stdio.h>
4086 #include <sys/types.h>
4087 #include <sys/stat.h>
4088 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4089 struct buf { int x; };
4090 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4091 static char *e (p, i)
4092      char **p;
4093      int i;
4094 {
4095   return p[i];
4096 }
4097 static char *f (char * (*g) (char **, int), char **p, ...)
4098 {
4099   char *s;
4100   va_list v;
4101   va_start (v,p);
4102   s = g (p, va_arg (v,int));
4103   va_end (v);
4104   return s;
4105 }
4106
4107 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4108    function prototypes and stuff, but not '\xHH' hex character constants.
4109    These don't provoke an error unfortunately, instead are silently treated
4110    as 'x'.  The following induces an error, until -std is added to get
4111    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4112    array size at least.  It's necessary to write '\x00'==0 to get something
4113    that's true only with -std.  */
4114 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4115
4116 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4117    inside strings and character constants.  */
4118 #define FOO(x) 'x'
4119 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4120
4121 int test (int i, double x);
4122 struct s1 {int (*f) (int a);};
4123 struct s2 {int (*f) (double a);};
4124 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4125 int argc;
4126 char **argv;
4127 int
4128 main ()
4129 {
4130 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4131   ;
4132   return 0;
4133 }
4134 _ACEOF
4135 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4136         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4137 do
4138   CC="$ac_save_CC $ac_arg"
4139   if ac_fn_c_try_compile "$LINENO"; then :
4140   ac_cv_prog_cc_c89=$ac_arg
4141 fi
4142 rm -f core conftest.err conftest.$ac_objext
4143   test "x$ac_cv_prog_cc_c89" != "xno" && break
4144 done
4145 rm -f conftest.$ac_ext
4146 CC=$ac_save_CC
4147
4148 fi
4149 # AC_CACHE_VAL
4150 case "x$ac_cv_prog_cc_c89" in
4151   x)
4152     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4153 $as_echo "none needed" >&6; } ;;
4154   xno)
4155     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4156 $as_echo "unsupported" >&6; } ;;
4157   *)
4158     CC="$CC $ac_cv_prog_cc_c89"
4159     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4160 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4161 esac
4162 if test "x$ac_cv_prog_cc_c89" != xno; then :
4163
4164 fi
4165
4166 ac_ext=c
4167 ac_cpp='$CPP $CPPFLAGS'
4168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4171
4172 depcc="$CC"   am_compiler_list=
4173
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4175 $as_echo_n "checking dependency style of $depcc... " >&6; }
4176 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4177   $as_echo_n "(cached) " >&6
4178 else
4179   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4180   # We make a subdir and do the tests there.  Otherwise we can end up
4181   # making bogus files that we don't know about and never remove.  For
4182   # instance it was reported that on HP-UX the gcc test will end up
4183   # making a dummy file named `D' -- because `-MD' means `put the output
4184   # in D'.
4185   rm -rf conftest.dir
4186   mkdir conftest.dir
4187   # Copy depcomp to subdir because otherwise we won't find it if we're
4188   # using a relative directory.
4189   cp "$am_depcomp" conftest.dir
4190   cd conftest.dir
4191   # We will build objects and dependencies in a subdirectory because
4192   # it helps to detect inapplicable dependency modes.  For instance
4193   # both Tru64's cc and ICC support -MD to output dependencies as a
4194   # side effect of compilation, but ICC will put the dependencies in
4195   # the current directory while Tru64 will put them in the object
4196   # directory.
4197   mkdir sub
4198
4199   am_cv_CC_dependencies_compiler_type=none
4200   if test "$am_compiler_list" = ""; then
4201      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4202   fi
4203   am__universal=false
4204   case " $depcc " in #(
4205      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4206      esac
4207
4208   for depmode in $am_compiler_list; do
4209     # Setup a source with many dependencies, because some compilers
4210     # like to wrap large dependency lists on column 80 (with \), and
4211     # we should not choose a depcomp mode which is confused by this.
4212     #
4213     # We need to recreate these files for each test, as the compiler may
4214     # overwrite some of them when testing with obscure command lines.
4215     # This happens at least with the AIX C compiler.
4216     : > sub/conftest.c
4217     for i in 1 2 3 4 5 6; do
4218       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4219       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4220       # Solaris 8's {/usr,}/bin/sh.
4221       touch sub/conftst$i.h
4222     done
4223     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4224
4225     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4226     # mode.  It turns out that the SunPro C++ compiler does not properly
4227     # handle `-M -o', and we need to detect this.  Also, some Intel
4228     # versions had trouble with output in subdirs
4229     am__obj=sub/conftest.${OBJEXT-o}
4230     am__minus_obj="-o $am__obj"
4231     case $depmode in
4232     gcc)
4233       # This depmode causes a compiler race in universal mode.
4234       test "$am__universal" = false || continue
4235       ;;
4236     nosideeffect)
4237       # after this tag, mechanisms are not by side-effect, so they'll
4238       # only be used when explicitly requested
4239       if test "x$enable_dependency_tracking" = xyes; then
4240         continue
4241       else
4242         break
4243       fi
4244       ;;
4245     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4246       # This compiler won't grok `-c -o', but also, the minuso test has
4247       # not run yet.  These depmodes are late enough in the game, and
4248       # so weak that their functioning should not be impacted.
4249       am__obj=conftest.${OBJEXT-o}
4250       am__minus_obj=
4251       ;;
4252     none) break ;;
4253     esac
4254     if depmode=$depmode \
4255        source=sub/conftest.c object=$am__obj \
4256        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4257        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4258          >/dev/null 2>conftest.err &&
4259        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4260        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4261        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4262        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4263       # icc doesn't choke on unknown options, it will just issue warnings
4264       # or remarks (even with -Werror).  So we grep stderr for any message
4265       # that says an option was ignored or not supported.
4266       # When given -MP, icc 7.0 and 7.1 complain thusly:
4267       #   icc: Command line warning: ignoring option '-M'; no argument required
4268       # The diagnosis changed in icc 8.0:
4269       #   icc: Command line remark: option '-MP' not supported
4270       if (grep 'ignoring option' conftest.err ||
4271           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4272         am_cv_CC_dependencies_compiler_type=$depmode
4273         break
4274       fi
4275     fi
4276   done
4277
4278   cd ..
4279   rm -rf conftest.dir
4280 else
4281   am_cv_CC_dependencies_compiler_type=none
4282 fi
4283
4284 fi
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4286 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4287 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4288
4289  if
4290   test "x$enable_dependency_tracking" != xno \
4291   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4292   am__fastdepCC_TRUE=
4293   am__fastdepCC_FALSE='#'
4294 else
4295   am__fastdepCC_TRUE='#'
4296   am__fastdepCC_FALSE=
4297 fi
4298
4299
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4301 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4302 if ${ac_cv_path_SED+:} false; then :
4303   $as_echo_n "(cached) " >&6
4304 else
4305             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4306      for ac_i in 1 2 3 4 5 6 7; do
4307        ac_script="$ac_script$as_nl$ac_script"
4308      done
4309      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4310      { ac_script=; unset ac_script;}
4311      if test -z "$SED"; then
4312   ac_path_SED_found=false
4313   # Loop through the user's path and test for each of PROGNAME-LIST
4314   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH
4316 do
4317   IFS=$as_save_IFS
4318   test -z "$as_dir" && as_dir=.
4319     for ac_prog in sed gsed; do
4320     for ac_exec_ext in '' $ac_executable_extensions; do
4321       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4322       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4323 # Check for GNU ac_path_SED and select it if it is found.
4324   # Check for GNU $ac_path_SED
4325 case `"$ac_path_SED" --version 2>&1` in
4326 *GNU*)
4327   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4328 *)
4329   ac_count=0
4330   $as_echo_n 0123456789 >"conftest.in"
4331   while :
4332   do
4333     cat "conftest.in" "conftest.in" >"conftest.tmp"
4334     mv "conftest.tmp" "conftest.in"
4335     cp "conftest.in" "conftest.nl"
4336     $as_echo '' >> "conftest.nl"
4337     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4338     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4339     as_fn_arith $ac_count + 1 && ac_count=$as_val
4340     if test $ac_count -gt ${ac_path_SED_max-0}; then
4341       # Best one so far, save it but keep looking for a better one
4342       ac_cv_path_SED="$ac_path_SED"
4343       ac_path_SED_max=$ac_count
4344     fi
4345     # 10*(2^10) chars as input seems more than enough
4346     test $ac_count -gt 10 && break
4347   done
4348   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4349 esac
4350
4351       $ac_path_SED_found && break 3
4352     done
4353   done
4354   done
4355 IFS=$as_save_IFS
4356   if test -z "$ac_cv_path_SED"; then
4357     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4358   fi
4359 else
4360   ac_cv_path_SED=$SED
4361 fi
4362
4363 fi
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4365 $as_echo "$ac_cv_path_SED" >&6; }
4366  SED="$ac_cv_path_SED"
4367   rm -f conftest.sed
4368
4369 test -z "$SED" && SED=sed
4370 Xsed="$SED -e 1s/^X//"
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4383 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4384 if ${ac_cv_path_GREP+:} false; then :
4385   $as_echo_n "(cached) " >&6
4386 else
4387   if test -z "$GREP"; then
4388   ac_path_GREP_found=false
4389   # Loop through the user's path and test for each of PROGNAME-LIST
4390   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4392 do
4393   IFS=$as_save_IFS
4394   test -z "$as_dir" && as_dir=.
4395     for ac_prog in grep ggrep; do
4396     for ac_exec_ext in '' $ac_executable_extensions; do
4397       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4398       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4399 # Check for GNU ac_path_GREP and select it if it is found.
4400   # Check for GNU $ac_path_GREP
4401 case `"$ac_path_GREP" --version 2>&1` in
4402 *GNU*)
4403   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4404 *)
4405   ac_count=0
4406   $as_echo_n 0123456789 >"conftest.in"
4407   while :
4408   do
4409     cat "conftest.in" "conftest.in" >"conftest.tmp"
4410     mv "conftest.tmp" "conftest.in"
4411     cp "conftest.in" "conftest.nl"
4412     $as_echo 'GREP' >> "conftest.nl"
4413     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4414     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4415     as_fn_arith $ac_count + 1 && ac_count=$as_val
4416     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4417       # Best one so far, save it but keep looking for a better one
4418       ac_cv_path_GREP="$ac_path_GREP"
4419       ac_path_GREP_max=$ac_count
4420     fi
4421     # 10*(2^10) chars as input seems more than enough
4422     test $ac_count -gt 10 && break
4423   done
4424   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4425 esac
4426
4427       $ac_path_GREP_found && break 3
4428     done
4429   done
4430   done
4431 IFS=$as_save_IFS
4432   if test -z "$ac_cv_path_GREP"; then
4433     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4434   fi
4435 else
4436   ac_cv_path_GREP=$GREP
4437 fi
4438
4439 fi
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4441 $as_echo "$ac_cv_path_GREP" >&6; }
4442  GREP="$ac_cv_path_GREP"
4443
4444
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4446 $as_echo_n "checking for egrep... " >&6; }
4447 if ${ac_cv_path_EGREP+:} false; then :
4448   $as_echo_n "(cached) " >&6
4449 else
4450   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4451    then ac_cv_path_EGREP="$GREP -E"
4452    else
4453      if test -z "$EGREP"; then
4454   ac_path_EGREP_found=false
4455   # Loop through the user's path and test for each of PROGNAME-LIST
4456   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4458 do
4459   IFS=$as_save_IFS
4460   test -z "$as_dir" && as_dir=.
4461     for ac_prog in egrep; do
4462     for ac_exec_ext in '' $ac_executable_extensions; do
4463       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4464       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4465 # Check for GNU ac_path_EGREP and select it if it is found.
4466   # Check for GNU $ac_path_EGREP
4467 case `"$ac_path_EGREP" --version 2>&1` in
4468 *GNU*)
4469   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4470 *)
4471   ac_count=0
4472   $as_echo_n 0123456789 >"conftest.in"
4473   while :
4474   do
4475     cat "conftest.in" "conftest.in" >"conftest.tmp"
4476     mv "conftest.tmp" "conftest.in"
4477     cp "conftest.in" "conftest.nl"
4478     $as_echo 'EGREP' >> "conftest.nl"
4479     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4480     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4481     as_fn_arith $ac_count + 1 && ac_count=$as_val
4482     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4483       # Best one so far, save it but keep looking for a better one
4484       ac_cv_path_EGREP="$ac_path_EGREP"
4485       ac_path_EGREP_max=$ac_count
4486     fi
4487     # 10*(2^10) chars as input seems more than enough
4488     test $ac_count -gt 10 && break
4489   done
4490   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4491 esac
4492
4493       $ac_path_EGREP_found && break 3
4494     done
4495   done
4496   done
4497 IFS=$as_save_IFS
4498   if test -z "$ac_cv_path_EGREP"; then
4499     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4500   fi
4501 else
4502   ac_cv_path_EGREP=$EGREP
4503 fi
4504
4505    fi
4506 fi
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4508 $as_echo "$ac_cv_path_EGREP" >&6; }
4509  EGREP="$ac_cv_path_EGREP"
4510
4511
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4513 $as_echo_n "checking for fgrep... " >&6; }
4514 if ${ac_cv_path_FGREP+:} false; then :
4515   $as_echo_n "(cached) " >&6
4516 else
4517   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4518    then ac_cv_path_FGREP="$GREP -F"
4519    else
4520      if test -z "$FGREP"; then
4521   ac_path_FGREP_found=false
4522   # Loop through the user's path and test for each of PROGNAME-LIST
4523   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4525 do
4526   IFS=$as_save_IFS
4527   test -z "$as_dir" && as_dir=.
4528     for ac_prog in fgrep; do
4529     for ac_exec_ext in '' $ac_executable_extensions; do
4530       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4531       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4532 # Check for GNU ac_path_FGREP and select it if it is found.
4533   # Check for GNU $ac_path_FGREP
4534 case `"$ac_path_FGREP" --version 2>&1` in
4535 *GNU*)
4536   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4537 *)
4538   ac_count=0
4539   $as_echo_n 0123456789 >"conftest.in"
4540   while :
4541   do
4542     cat "conftest.in" "conftest.in" >"conftest.tmp"
4543     mv "conftest.tmp" "conftest.in"
4544     cp "conftest.in" "conftest.nl"
4545     $as_echo 'FGREP' >> "conftest.nl"
4546     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4547     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4548     as_fn_arith $ac_count + 1 && ac_count=$as_val
4549     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4550       # Best one so far, save it but keep looking for a better one
4551       ac_cv_path_FGREP="$ac_path_FGREP"
4552       ac_path_FGREP_max=$ac_count
4553     fi
4554     # 10*(2^10) chars as input seems more than enough
4555     test $ac_count -gt 10 && break
4556   done
4557   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4558 esac
4559
4560       $ac_path_FGREP_found && break 3
4561     done
4562   done
4563   done
4564 IFS=$as_save_IFS
4565   if test -z "$ac_cv_path_FGREP"; then
4566     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4567   fi
4568 else
4569   ac_cv_path_FGREP=$FGREP
4570 fi
4571
4572    fi
4573 fi
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4575 $as_echo "$ac_cv_path_FGREP" >&6; }
4576  FGREP="$ac_cv_path_FGREP"
4577
4578
4579 test -z "$GREP" && GREP=grep
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599 # Check whether --with-gnu-ld was given.
4600 if test "${with_gnu_ld+set}" = set; then :
4601   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4602 else
4603   with_gnu_ld=no
4604 fi
4605
4606 ac_prog=ld
4607 if test "$GCC" = yes; then
4608   # Check if gcc -print-prog-name=ld gives a path.
4609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4610 $as_echo_n "checking for ld used by $CC... " >&6; }
4611   case $host in
4612   *-*-mingw*)
4613     # gcc leaves a trailing carriage return which upsets mingw
4614     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4615   *)
4616     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4617   esac
4618   case $ac_prog in
4619     # Accept absolute paths.
4620     [\\/]* | ?:[\\/]*)
4621       re_direlt='/[^/][^/]*/\.\./'
4622       # Canonicalize the pathname of ld
4623       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4624       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4625         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4626       done
4627       test -z "$LD" && LD="$ac_prog"
4628       ;;
4629   "")
4630     # If it fails, then pretend we aren't using GCC.
4631     ac_prog=ld
4632     ;;
4633   *)
4634     # If it is relative, then search for the first ld in PATH.
4635     with_gnu_ld=unknown
4636     ;;
4637   esac
4638 elif test "$with_gnu_ld" = yes; then
4639   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4640 $as_echo_n "checking for GNU ld... " >&6; }
4641 else
4642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4643 $as_echo_n "checking for non-GNU ld... " >&6; }
4644 fi
4645 if ${lt_cv_path_LD+:} false; then :
4646   $as_echo_n "(cached) " >&6
4647 else
4648   if test -z "$LD"; then
4649   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4650   for ac_dir in $PATH; do
4651     IFS="$lt_save_ifs"
4652     test -z "$ac_dir" && ac_dir=.
4653     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4654       lt_cv_path_LD="$ac_dir/$ac_prog"
4655       # Check to see if the program is GNU ld.  I'd rather use --version,
4656       # but apparently some variants of GNU ld only accept -v.
4657       # Break only if it was the GNU/non-GNU ld that we prefer.
4658       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4659       *GNU* | *'with BFD'*)
4660         test "$with_gnu_ld" != no && break
4661         ;;
4662       *)
4663         test "$with_gnu_ld" != yes && break
4664         ;;
4665       esac
4666     fi
4667   done
4668   IFS="$lt_save_ifs"
4669 else
4670   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4671 fi
4672 fi
4673
4674 LD="$lt_cv_path_LD"
4675 if test -n "$LD"; then
4676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4677 $as_echo "$LD" >&6; }
4678 else
4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 $as_echo "no" >&6; }
4681 fi
4682 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4684 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4685 if ${lt_cv_prog_gnu_ld+:} false; then :
4686   $as_echo_n "(cached) " >&6
4687 else
4688   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4689 case `$LD -v 2>&1 </dev/null` in
4690 *GNU* | *'with BFD'*)
4691   lt_cv_prog_gnu_ld=yes
4692   ;;
4693 *)
4694   lt_cv_prog_gnu_ld=no
4695   ;;
4696 esac
4697 fi
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4699 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4700 with_gnu_ld=$lt_cv_prog_gnu_ld
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4711 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4712 if ${lt_cv_path_NM+:} false; then :
4713   $as_echo_n "(cached) " >&6
4714 else
4715   if test -n "$NM"; then
4716   # Let the user override the test.
4717   lt_cv_path_NM="$NM"
4718 else
4719   lt_nm_to_check="${ac_tool_prefix}nm"
4720   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4721     lt_nm_to_check="$lt_nm_to_check nm"
4722   fi
4723   for lt_tmp_nm in $lt_nm_to_check; do
4724     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4725     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4726       IFS="$lt_save_ifs"
4727       test -z "$ac_dir" && ac_dir=.
4728       tmp_nm="$ac_dir/$lt_tmp_nm"
4729       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4730         # Check to see if the nm accepts a BSD-compat flag.
4731         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4732         #   nm: unknown option "B" ignored
4733         # Tru64's nm complains that /dev/null is an invalid object file
4734         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4735         */dev/null* | *'Invalid file or object type'*)
4736           lt_cv_path_NM="$tmp_nm -B"
4737           break
4738           ;;
4739         *)
4740           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4741           */dev/null*)
4742             lt_cv_path_NM="$tmp_nm -p"
4743             break
4744             ;;
4745           *)
4746             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4747             continue # so that we can try to find one that supports BSD flags
4748             ;;
4749           esac
4750           ;;
4751         esac
4752       fi
4753     done
4754     IFS="$lt_save_ifs"
4755   done
4756   : ${lt_cv_path_NM=no}
4757 fi
4758 fi
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4760 $as_echo "$lt_cv_path_NM" >&6; }
4761 if test "$lt_cv_path_NM" != "no"; then
4762   NM="$lt_cv_path_NM"
4763 else
4764   # Didn't find any BSD compatible name lister, look for dumpbin.
4765   if test -n "$DUMPBIN"; then :
4766     # Let the user override the test.
4767   else
4768     if test -n "$ac_tool_prefix"; then
4769   for ac_prog in dumpbin "link -dump"
4770   do
4771     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_DUMPBIN+:} false; then :
4776   $as_echo_n "(cached) " >&6
4777 else
4778   if test -n "$DUMPBIN"; then
4779   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4783 do
4784   IFS=$as_save_IFS
4785   test -z "$as_dir" && as_dir=.
4786     for ac_exec_ext in '' $ac_executable_extensions; do
4787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4788     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4789     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790     break 2
4791   fi
4792 done
4793   done
4794 IFS=$as_save_IFS
4795
4796 fi
4797 fi
4798 DUMPBIN=$ac_cv_prog_DUMPBIN
4799 if test -n "$DUMPBIN"; then
4800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4801 $as_echo "$DUMPBIN" >&6; }
4802 else
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4805 fi
4806
4807
4808     test -n "$DUMPBIN" && break
4809   done
4810 fi
4811 if test -z "$DUMPBIN"; then
4812   ac_ct_DUMPBIN=$DUMPBIN
4813   for ac_prog in dumpbin "link -dump"
4814 do
4815   # Extract the first word of "$ac_prog", so it can be a program name with args.
4816 set dummy $ac_prog; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4820   $as_echo_n "(cached) " >&6
4821 else
4822   if test -n "$ac_ct_DUMPBIN"; then
4823   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4827 do
4828   IFS=$as_save_IFS
4829   test -z "$as_dir" && as_dir=.
4830     for ac_exec_ext in '' $ac_executable_extensions; do
4831   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4832     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834     break 2
4835   fi
4836 done
4837   done
4838 IFS=$as_save_IFS
4839
4840 fi
4841 fi
4842 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4843 if test -n "$ac_ct_DUMPBIN"; then
4844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4845 $as_echo "$ac_ct_DUMPBIN" >&6; }
4846 else
4847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4849 fi
4850
4851
4852   test -n "$ac_ct_DUMPBIN" && break
4853 done
4854
4855   if test "x$ac_ct_DUMPBIN" = x; then
4856     DUMPBIN=":"
4857   else
4858     case $cross_compiling:$ac_tool_warned in
4859 yes:)
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4862 ac_tool_warned=yes ;;
4863 esac
4864     DUMPBIN=$ac_ct_DUMPBIN
4865   fi
4866 fi
4867
4868     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4869     *COFF*)
4870       DUMPBIN="$DUMPBIN -symbols"
4871       ;;
4872     *)
4873       DUMPBIN=:
4874       ;;
4875     esac
4876   fi
4877
4878   if test "$DUMPBIN" != ":"; then
4879     NM="$DUMPBIN"
4880   fi
4881 fi
4882 test -z "$NM" && NM=nm
4883
4884
4885
4886
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4890 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4891 if ${lt_cv_nm_interface+:} false; then :
4892   $as_echo_n "(cached) " >&6
4893 else
4894   lt_cv_nm_interface="BSD nm"
4895   echo "int some_variable = 0;" > conftest.$ac_ext
4896   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4897   (eval "$ac_compile" 2>conftest.err)
4898   cat conftest.err >&5
4899   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4900   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4901   cat conftest.err >&5
4902   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4903   cat conftest.out >&5
4904   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4905     lt_cv_nm_interface="MS dumpbin"
4906   fi
4907   rm -f conftest*
4908 fi
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4910 $as_echo "$lt_cv_nm_interface" >&6; }
4911
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4913 $as_echo_n "checking whether ln -s works... " >&6; }
4914 LN_S=$as_ln_s
4915 if test "$LN_S" = "ln -s"; then
4916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4917 $as_echo "yes" >&6; }
4918 else
4919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4920 $as_echo "no, using $LN_S" >&6; }
4921 fi
4922
4923 # find the maximum length of command line arguments
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4925 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4926 if ${lt_cv_sys_max_cmd_len+:} false; then :
4927   $as_echo_n "(cached) " >&6
4928 else
4929     i=0
4930   teststring="ABCD"
4931
4932   case $build_os in
4933   msdosdjgpp*)
4934     # On DJGPP, this test can blow up pretty badly due to problems in libc
4935     # (any single argument exceeding 2000 bytes causes a buffer overrun
4936     # during glob expansion).  Even if it were fixed, the result of this
4937     # check would be larger than it should be.
4938     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4939     ;;
4940
4941   gnu*)
4942     # Under GNU Hurd, this test is not required because there is
4943     # no limit to the length of command line arguments.
4944     # Libtool will interpret -1 as no limit whatsoever
4945     lt_cv_sys_max_cmd_len=-1;
4946     ;;
4947
4948   cygwin* | mingw* | cegcc*)
4949     # On Win9x/ME, this test blows up -- it succeeds, but takes
4950     # about 5 minutes as the teststring grows exponentially.
4951     # Worse, since 9x/ME are not pre-emptively multitasking,
4952     # you end up with a "frozen" computer, even though with patience
4953     # the test eventually succeeds (with a max line length of 256k).
4954     # Instead, let's just punt: use the minimum linelength reported by
4955     # all of the supported platforms: 8192 (on NT/2K/XP).
4956     lt_cv_sys_max_cmd_len=8192;
4957     ;;
4958
4959   mint*)
4960     # On MiNT this can take a long time and run out of memory.
4961     lt_cv_sys_max_cmd_len=8192;
4962     ;;
4963
4964   amigaos*)
4965     # On AmigaOS with pdksh, this test takes hours, literally.
4966     # So we just punt and use a minimum line length of 8192.
4967     lt_cv_sys_max_cmd_len=8192;
4968     ;;
4969
4970   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4971     # This has been around since 386BSD, at least.  Likely further.
4972     if test -x /sbin/sysctl; then
4973       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4974     elif test -x /usr/sbin/sysctl; then
4975       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4976     else
4977       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4978     fi
4979     # And add a safety zone
4980     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4981     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4982     ;;
4983
4984   interix*)
4985     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4986     lt_cv_sys_max_cmd_len=196608
4987     ;;
4988
4989   os2*)
4990     # The test takes a long time on OS/2.
4991     lt_cv_sys_max_cmd_len=8192
4992     ;;
4993
4994   osf*)
4995     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4996     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4997     # nice to cause kernel panics so lets avoid the loop below.
4998     # First set a reasonable default.
4999     lt_cv_sys_max_cmd_len=16384
5000     #
5001     if test -x /sbin/sysconfig; then
5002       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5003         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5004       esac
5005     fi
5006     ;;
5007   sco3.2v5*)
5008     lt_cv_sys_max_cmd_len=102400
5009     ;;
5010   sysv5* | sco5v6* | sysv4.2uw2*)
5011     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5012     if test -n "$kargmax"; then
5013       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5014     else
5015       lt_cv_sys_max_cmd_len=32768
5016     fi
5017     ;;
5018   *)
5019     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5020     if test -n "$lt_cv_sys_max_cmd_len"; then
5021       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5022       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5023     else
5024       # Make teststring a little bigger before we do anything with it.
5025       # a 1K string should be a reasonable start.
5026       for i in 1 2 3 4 5 6 7 8 ; do
5027         teststring=$teststring$teststring
5028       done
5029       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5030       # If test is not a shell built-in, we'll probably end up computing a
5031       # maximum length that is only half of the actual maximum length, but
5032       # we can't tell.
5033       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5034                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5035               test $i != 17 # 1/2 MB should be enough
5036       do
5037         i=`expr $i + 1`
5038         teststring=$teststring$teststring
5039       done
5040       # Only check the string length outside the loop.
5041       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5042       teststring=
5043       # Add a significant safety factor because C++ compilers can tack on
5044       # massive amounts of additional arguments before passing them to the
5045       # linker.  It appears as though 1/2 is a usable value.
5046       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5047     fi
5048     ;;
5049   esac
5050
5051 fi
5052
5053 if test -n $lt_cv_sys_max_cmd_len ; then
5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5055 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5056 else
5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5058 $as_echo "none" >&6; }
5059 fi
5060 max_cmd_len=$lt_cv_sys_max_cmd_len
5061
5062
5063
5064
5065
5066
5067 : ${CP="cp -f"}
5068 : ${MV="mv -f"}
5069 : ${RM="rm -f"}
5070
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5072 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5073 # Try some XSI features
5074 xsi_shell=no
5075 ( _lt_dummy="a/b/c"
5076   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5077       = c,a/b,b/c, \
5078     && eval 'test $(( 1 + 1 )) -eq 2 \
5079     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5080   && xsi_shell=yes
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5082 $as_echo "$xsi_shell" >&6; }
5083
5084
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5086 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5087 lt_shell_append=no
5088 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5089     >/dev/null 2>&1 \
5090   && lt_shell_append=yes
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5092 $as_echo "$lt_shell_append" >&6; }
5093
5094
5095 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5096   lt_unset=unset
5097 else
5098   lt_unset=false
5099 fi
5100
5101
5102
5103
5104
5105 # test EBCDIC or ASCII
5106 case `echo X|tr X '\101'` in
5107  A) # ASCII based system
5108     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5109   lt_SP2NL='tr \040 \012'
5110   lt_NL2SP='tr \015\012 \040\040'
5111   ;;
5112  *) # EBCDIC based system
5113   lt_SP2NL='tr \100 \n'
5114   lt_NL2SP='tr \r\n \100\100'
5115   ;;
5116 esac
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5127 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5128 if ${lt_cv_to_host_file_cmd+:} false; then :
5129   $as_echo_n "(cached) " >&6
5130 else
5131   case $host in
5132   *-*-mingw* )
5133     case $build in
5134       *-*-mingw* ) # actually msys
5135         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5136         ;;
5137       *-*-cygwin* )
5138         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5139         ;;
5140       * ) # otherwise, assume *nix
5141         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5142         ;;
5143     esac
5144     ;;
5145   *-*-cygwin* )
5146     case $build in
5147       *-*-mingw* ) # actually msys
5148         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5149         ;;
5150       *-*-cygwin* )
5151         lt_cv_to_host_file_cmd=func_convert_file_noop
5152         ;;
5153       * ) # otherwise, assume *nix
5154         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5155         ;;
5156     esac
5157     ;;
5158   * ) # unhandled hosts (and "normal" native builds)
5159     lt_cv_to_host_file_cmd=func_convert_file_noop
5160     ;;
5161 esac
5162
5163 fi
5164
5165 to_host_file_cmd=$lt_cv_to_host_file_cmd
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5167 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5168
5169
5170
5171
5172
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5174 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5175 if ${lt_cv_to_tool_file_cmd+:} false; then :
5176   $as_echo_n "(cached) " >&6
5177 else
5178   #assume ordinary cross tools, or native build.
5179 lt_cv_to_tool_file_cmd=func_convert_file_noop
5180 case $host in
5181   *-*-mingw* )
5182     case $build in
5183       *-*-mingw* ) # actually msys
5184         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5185         ;;
5186     esac
5187     ;;
5188 esac
5189
5190 fi
5191
5192 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5194 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5195
5196
5197
5198
5199
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5201 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5202 if ${lt_cv_ld_reload_flag+:} false; then :
5203   $as_echo_n "(cached) " >&6
5204 else
5205   lt_cv_ld_reload_flag='-r'
5206 fi
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5208 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5209 reload_flag=$lt_cv_ld_reload_flag
5210 case $reload_flag in
5211 "" | " "*) ;;
5212 *) reload_flag=" $reload_flag" ;;
5213 esac
5214 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5215 case $host_os in
5216   cygwin* | mingw* | pw32* | cegcc*)
5217     if test "$GCC" != yes; then
5218       reload_cmds=false
5219     fi
5220     ;;
5221   darwin*)
5222     if test "$GCC" = yes; then
5223       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5224     else
5225       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5226     fi
5227     ;;
5228 esac
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238 if test -n "$ac_tool_prefix"; then
5239   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5240 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5242 $as_echo_n "checking for $ac_word... " >&6; }
5243 if ${ac_cv_prog_OBJDUMP+:} false; then :
5244   $as_echo_n "(cached) " >&6
5245 else
5246   if test -n "$OBJDUMP"; then
5247   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5251 do
5252   IFS=$as_save_IFS
5253   test -z "$as_dir" && as_dir=.
5254     for ac_exec_ext in '' $ac_executable_extensions; do
5255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5258     break 2
5259   fi
5260 done
5261   done
5262 IFS=$as_save_IFS
5263
5264 fi
5265 fi
5266 OBJDUMP=$ac_cv_prog_OBJDUMP
5267 if test -n "$OBJDUMP"; then
5268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5269 $as_echo "$OBJDUMP" >&6; }
5270 else
5271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5272 $as_echo "no" >&6; }
5273 fi
5274
5275
5276 fi
5277 if test -z "$ac_cv_prog_OBJDUMP"; then
5278   ac_ct_OBJDUMP=$OBJDUMP
5279   # Extract the first word of "objdump", so it can be a program name with args.
5280 set dummy objdump; ac_word=$2
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5282 $as_echo_n "checking for $ac_word... " >&6; }
5283 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5284   $as_echo_n "(cached) " >&6
5285 else
5286   if test -n "$ac_ct_OBJDUMP"; then
5287   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5288 else
5289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5290 for as_dir in $PATH
5291 do
5292   IFS=$as_save_IFS
5293   test -z "$as_dir" && as_dir=.
5294     for ac_exec_ext in '' $ac_executable_extensions; do
5295   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5296     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5298     break 2
5299   fi
5300 done
5301   done
5302 IFS=$as_save_IFS
5303
5304 fi
5305 fi
5306 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5307 if test -n "$ac_ct_OBJDUMP"; then
5308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5309 $as_echo "$ac_ct_OBJDUMP" >&6; }
5310 else
5311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5313 fi
5314
5315   if test "x$ac_ct_OBJDUMP" = x; then
5316     OBJDUMP="false"
5317   else
5318     case $cross_compiling:$ac_tool_warned in
5319 yes:)
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5322 ac_tool_warned=yes ;;
5323 esac
5324     OBJDUMP=$ac_ct_OBJDUMP
5325   fi
5326 else
5327   OBJDUMP="$ac_cv_prog_OBJDUMP"
5328 fi
5329
5330 test -z "$OBJDUMP" && OBJDUMP=objdump
5331
5332
5333
5334
5335
5336
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5338 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5339 if ${lt_cv_deplibs_check_method+:} false; then :
5340   $as_echo_n "(cached) " >&6
5341 else
5342   lt_cv_file_magic_cmd='$MAGIC_CMD'
5343 lt_cv_file_magic_test_file=
5344 lt_cv_deplibs_check_method='unknown'
5345 # Need to set the preceding variable on all platforms that support
5346 # interlibrary dependencies.
5347 # 'none' -- dependencies not supported.
5348 # `unknown' -- same as none, but documents that we really don't know.
5349 # 'pass_all' -- all dependencies passed with no checks.
5350 # 'test_compile' -- check by making test program.
5351 # 'file_magic [[regex]]' -- check by looking for files in library path
5352 # which responds to the $file_magic_cmd with a given extended regex.
5353 # If you have `file' or equivalent on your system and you're not sure
5354 # whether `pass_all' will *always* work, you probably want this one.
5355
5356 case $host_os in
5357 aix[4-9]*)
5358   lt_cv_deplibs_check_method=pass_all
5359   ;;
5360
5361 beos*)
5362   lt_cv_deplibs_check_method=pass_all
5363   ;;
5364
5365 bsdi[45]*)
5366   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5367   lt_cv_file_magic_cmd='/usr/bin/file -L'
5368   lt_cv_file_magic_test_file=/shlib/libc.so
5369   ;;
5370
5371 cygwin*)
5372   # func_win32_libid is a shell function defined in ltmain.sh
5373   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5374   lt_cv_file_magic_cmd='func_win32_libid'
5375   ;;
5376
5377 mingw* | pw32*)
5378   # Base MSYS/MinGW do not provide the 'file' command needed by
5379   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5380   # unless we find 'file', for example because we are cross-compiling.
5381   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5382   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5383     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5384     lt_cv_file_magic_cmd='func_win32_libid'
5385   else
5386     # Keep this pattern in sync with the one in func_win32_libid.
5387     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5388     lt_cv_file_magic_cmd='$OBJDUMP -f'
5389   fi
5390   ;;
5391
5392 cegcc*)
5393   # use the weaker test based on 'objdump'. See mingw*.
5394   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5395   lt_cv_file_magic_cmd='$OBJDUMP -f'
5396   ;;
5397
5398 darwin* | rhapsody*)
5399   lt_cv_deplibs_check_method=pass_all
5400   ;;
5401
5402 freebsd* | dragonfly*)
5403   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5404     case $host_cpu in
5405     i*86 )
5406       # Not sure whether the presence of OpenBSD here was a mistake.
5407       # Let's accept both of them until this is cleared up.
5408       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5409       lt_cv_file_magic_cmd=/usr/bin/file
5410       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5411       ;;
5412     esac
5413   else
5414     lt_cv_deplibs_check_method=pass_all
5415   fi
5416   ;;
5417
5418 gnu*)
5419   lt_cv_deplibs_check_method=pass_all
5420   ;;
5421
5422 haiku*)
5423   lt_cv_deplibs_check_method=pass_all
5424   ;;
5425
5426 hpux10.20* | hpux11*)
5427   lt_cv_file_magic_cmd=/usr/bin/file
5428   case $host_cpu in
5429   ia64*)
5430     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5431     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5432     ;;
5433   hppa*64*)
5434     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]'
5435     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5436     ;;
5437   *)
5438     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5439     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5440     ;;
5441   esac
5442   ;;
5443
5444 interix[3-9]*)
5445   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5446   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5447   ;;
5448
5449 irix5* | irix6* | nonstopux*)
5450   case $LD in
5451   *-32|*"-32 ") libmagic=32-bit;;
5452   *-n32|*"-n32 ") libmagic=N32;;
5453   *-64|*"-64 ") libmagic=64-bit;;
5454   *) libmagic=never-match;;
5455   esac
5456   lt_cv_deplibs_check_method=pass_all
5457   ;;
5458
5459 # This must be glibc/ELF.
5460 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5461   lt_cv_deplibs_check_method=pass_all
5462   ;;
5463
5464 netbsd* | netbsdelf*-gnu)
5465   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5466     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5467   else
5468     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5469   fi
5470   ;;
5471
5472 newos6*)
5473   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5474   lt_cv_file_magic_cmd=/usr/bin/file
5475   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5476   ;;
5477
5478 *nto* | *qnx*)
5479   lt_cv_deplibs_check_method=pass_all
5480   ;;
5481
5482 openbsd*)
5483   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5484     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5485   else
5486     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5487   fi
5488   ;;
5489
5490 osf3* | osf4* | osf5*)
5491   lt_cv_deplibs_check_method=pass_all
5492   ;;
5493
5494 rdos*)
5495   lt_cv_deplibs_check_method=pass_all
5496   ;;
5497
5498 solaris*)
5499   lt_cv_deplibs_check_method=pass_all
5500   ;;
5501
5502 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5503   lt_cv_deplibs_check_method=pass_all
5504   ;;
5505
5506 sysv4 | sysv4.3*)
5507   case $host_vendor in
5508   motorola)
5509     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]'
5510     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5511     ;;
5512   ncr)
5513     lt_cv_deplibs_check_method=pass_all
5514     ;;
5515   sequent)
5516     lt_cv_file_magic_cmd='/bin/file'
5517     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5518     ;;
5519   sni)
5520     lt_cv_file_magic_cmd='/bin/file'
5521     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5522     lt_cv_file_magic_test_file=/lib/libc.so
5523     ;;
5524   siemens)
5525     lt_cv_deplibs_check_method=pass_all
5526     ;;
5527   pc)
5528     lt_cv_deplibs_check_method=pass_all
5529     ;;
5530   esac
5531   ;;
5532
5533 tpf*)
5534   lt_cv_deplibs_check_method=pass_all
5535   ;;
5536 esac
5537
5538 fi
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5540 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5541
5542 file_magic_glob=
5543 want_nocaseglob=no
5544 if test "$build" = "$host"; then
5545   case $host_os in
5546   mingw* | pw32*)
5547     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5548       want_nocaseglob=yes
5549     else
5550       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5551     fi
5552     ;;
5553   esac
5554 fi
5555
5556 file_magic_cmd=$lt_cv_file_magic_cmd
5557 deplibs_check_method=$lt_cv_deplibs_check_method
5558 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581 if test -n "$ac_tool_prefix"; then
5582   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_DLLTOOL+:} false; then :
5587   $as_echo_n "(cached) " >&6
5588 else
5589   if test -n "$DLLTOOL"; then
5590   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5594 do
5595   IFS=$as_save_IFS
5596   test -z "$as_dir" && as_dir=.
5597     for ac_exec_ext in '' $ac_executable_extensions; do
5598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5599     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601     break 2
5602   fi
5603 done
5604   done
5605 IFS=$as_save_IFS
5606
5607 fi
5608 fi
5609 DLLTOOL=$ac_cv_prog_DLLTOOL
5610 if test -n "$DLLTOOL"; then
5611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5612 $as_echo "$DLLTOOL" >&6; }
5613 else
5614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5616 fi
5617
5618
5619 fi
5620 if test -z "$ac_cv_prog_DLLTOOL"; then
5621   ac_ct_DLLTOOL=$DLLTOOL
5622   # Extract the first word of "dlltool", so it can be a program name with args.
5623 set dummy dlltool; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5627   $as_echo_n "(cached) " >&6
5628 else
5629   if test -n "$ac_ct_DLLTOOL"; then
5630   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5634 do
5635   IFS=$as_save_IFS
5636   test -z "$as_dir" && as_dir=.
5637     for ac_exec_ext in '' $ac_executable_extensions; do
5638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5639     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641     break 2
5642   fi
5643 done
5644   done
5645 IFS=$as_save_IFS
5646
5647 fi
5648 fi
5649 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5650 if test -n "$ac_ct_DLLTOOL"; then
5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5652 $as_echo "$ac_ct_DLLTOOL" >&6; }
5653 else
5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5656 fi
5657
5658   if test "x$ac_ct_DLLTOOL" = x; then
5659     DLLTOOL="false"
5660   else
5661     case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667     DLLTOOL=$ac_ct_DLLTOOL
5668   fi
5669 else
5670   DLLTOOL="$ac_cv_prog_DLLTOOL"
5671 fi
5672
5673 test -z "$DLLTOOL" && DLLTOOL=dlltool
5674
5675
5676
5677
5678
5679
5680
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5682 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5683 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5684   $as_echo_n "(cached) " >&6
5685 else
5686   lt_cv_sharedlib_from_linklib_cmd='unknown'
5687
5688 case $host_os in
5689 cygwin* | mingw* | pw32* | cegcc*)
5690   # two different shell functions defined in ltmain.sh
5691   # decide which to use based on capabilities of $DLLTOOL
5692   case `$DLLTOOL --help 2>&1` in
5693   *--identify-strict*)
5694     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5695     ;;
5696   *)
5697     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5698     ;;
5699   esac
5700   ;;
5701 *)
5702   # fallback: assume linklib IS sharedlib
5703   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5704   ;;
5705 esac
5706
5707 fi
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5709 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5710 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5711 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5712
5713
5714
5715
5716
5717
5718
5719
5720 if test -n "$ac_tool_prefix"; then
5721   for ac_prog in ar
5722   do
5723     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5726 $as_echo_n "checking for $ac_word... " >&6; }
5727 if ${ac_cv_prog_AR+:} false; then :
5728   $as_echo_n "(cached) " >&6
5729 else
5730   if test -n "$AR"; then
5731   ac_cv_prog_AR="$AR" # Let the user override the test.
5732 else
5733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5734 for as_dir in $PATH
5735 do
5736   IFS=$as_save_IFS
5737   test -z "$as_dir" && as_dir=.
5738     for ac_exec_ext in '' $ac_executable_extensions; do
5739   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5740     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5741     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742     break 2
5743   fi
5744 done
5745   done
5746 IFS=$as_save_IFS
5747
5748 fi
5749 fi
5750 AR=$ac_cv_prog_AR
5751 if test -n "$AR"; then
5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5753 $as_echo "$AR" >&6; }
5754 else
5755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5756 $as_echo "no" >&6; }
5757 fi
5758
5759
5760     test -n "$AR" && break
5761   done
5762 fi
5763 if test -z "$AR"; then
5764   ac_ct_AR=$AR
5765   for ac_prog in ar
5766 do
5767   # Extract the first word of "$ac_prog", so it can be a program name with args.
5768 set dummy $ac_prog; ac_word=$2
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5770 $as_echo_n "checking for $ac_word... " >&6; }
5771 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5772   $as_echo_n "(cached) " >&6
5773 else
5774   if test -n "$ac_ct_AR"; then
5775   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5776 else
5777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5778 for as_dir in $PATH
5779 do
5780   IFS=$as_save_IFS
5781   test -z "$as_dir" && as_dir=.
5782     for ac_exec_ext in '' $ac_executable_extensions; do
5783   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5784     ac_cv_prog_ac_ct_AR="$ac_prog"
5785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786     break 2
5787   fi
5788 done
5789   done
5790 IFS=$as_save_IFS
5791
5792 fi
5793 fi
5794 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5795 if test -n "$ac_ct_AR"; then
5796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5797 $as_echo "$ac_ct_AR" >&6; }
5798 else
5799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5800 $as_echo "no" >&6; }
5801 fi
5802
5803
5804   test -n "$ac_ct_AR" && break
5805 done
5806
5807   if test "x$ac_ct_AR" = x; then
5808     AR="false"
5809   else
5810     case $cross_compiling:$ac_tool_warned in
5811 yes:)
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5814 ac_tool_warned=yes ;;
5815 esac
5816     AR=$ac_ct_AR
5817   fi
5818 fi
5819
5820 : ${AR=ar}
5821 : ${AR_FLAGS=cru}
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5834 $as_echo_n "checking for archiver @FILE support... " >&6; }
5835 if ${lt_cv_ar_at_file+:} false; then :
5836   $as_echo_n "(cached) " >&6
5837 else
5838   lt_cv_ar_at_file=no
5839    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h.  */
5841
5842 int
5843 main ()
5844 {
5845
5846   ;
5847   return 0;
5848 }
5849 _ACEOF
5850 if ac_fn_c_try_compile "$LINENO"; then :
5851   echo conftest.$ac_objext > conftest.lst
5852       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5853       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5854   (eval $lt_ar_try) 2>&5
5855   ac_status=$?
5856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5857   test $ac_status = 0; }
5858       if test "$ac_status" -eq 0; then
5859         # Ensure the archiver fails upon bogus file names.
5860         rm -f conftest.$ac_objext libconftest.a
5861         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5862   (eval $lt_ar_try) 2>&5
5863   ac_status=$?
5864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5865   test $ac_status = 0; }
5866         if test "$ac_status" -ne 0; then
5867           lt_cv_ar_at_file=@
5868         fi
5869       fi
5870       rm -f conftest.* libconftest.a
5871
5872 fi
5873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5874
5875 fi
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5877 $as_echo "$lt_cv_ar_at_file" >&6; }
5878
5879 if test "x$lt_cv_ar_at_file" = xno; then
5880   archiver_list_spec=
5881 else
5882   archiver_list_spec=$lt_cv_ar_at_file
5883 fi
5884
5885
5886
5887
5888
5889
5890
5891 if test -n "$ac_tool_prefix"; then
5892   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5893 set dummy ${ac_tool_prefix}strip; ac_word=$2
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5895 $as_echo_n "checking for $ac_word... " >&6; }
5896 if ${ac_cv_prog_STRIP+:} false; then :
5897   $as_echo_n "(cached) " >&6
5898 else
5899   if test -n "$STRIP"; then
5900   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5901 else
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5903 for as_dir in $PATH
5904 do
5905   IFS=$as_save_IFS
5906   test -z "$as_dir" && as_dir=.
5907     for ac_exec_ext in '' $ac_executable_extensions; do
5908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5909     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5911     break 2
5912   fi
5913 done
5914   done
5915 IFS=$as_save_IFS
5916
5917 fi
5918 fi
5919 STRIP=$ac_cv_prog_STRIP
5920 if test -n "$STRIP"; then
5921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5922 $as_echo "$STRIP" >&6; }
5923 else
5924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5925 $as_echo "no" >&6; }
5926 fi
5927
5928
5929 fi
5930 if test -z "$ac_cv_prog_STRIP"; then
5931   ac_ct_STRIP=$STRIP
5932   # Extract the first word of "strip", so it can be a program name with args.
5933 set dummy strip; ac_word=$2
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5935 $as_echo_n "checking for $ac_word... " >&6; }
5936 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5937   $as_echo_n "(cached) " >&6
5938 else
5939   if test -n "$ac_ct_STRIP"; then
5940   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5944 do
5945   IFS=$as_save_IFS
5946   test -z "$as_dir" && as_dir=.
5947     for ac_exec_ext in '' $ac_executable_extensions; do
5948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5949     ac_cv_prog_ac_ct_STRIP="strip"
5950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951     break 2
5952   fi
5953 done
5954   done
5955 IFS=$as_save_IFS
5956
5957 fi
5958 fi
5959 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5960 if test -n "$ac_ct_STRIP"; then
5961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5962 $as_echo "$ac_ct_STRIP" >&6; }
5963 else
5964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5965 $as_echo "no" >&6; }
5966 fi
5967
5968   if test "x$ac_ct_STRIP" = x; then
5969     STRIP=":"
5970   else
5971     case $cross_compiling:$ac_tool_warned in
5972 yes:)
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5975 ac_tool_warned=yes ;;
5976 esac
5977     STRIP=$ac_ct_STRIP
5978   fi
5979 else
5980   STRIP="$ac_cv_prog_STRIP"
5981 fi
5982
5983 test -z "$STRIP" && STRIP=:
5984
5985
5986
5987
5988
5989
5990 if test -n "$ac_tool_prefix"; then
5991   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5992 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5994 $as_echo_n "checking for $ac_word... " >&6; }
5995 if ${ac_cv_prog_RANLIB+:} false; then :
5996   $as_echo_n "(cached) " >&6
5997 else
5998   if test -n "$RANLIB"; then
5999   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6000 else
6001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6002 for as_dir in $PATH
6003 do
6004   IFS=$as_save_IFS
6005   test -z "$as_dir" && as_dir=.
6006     for ac_exec_ext in '' $ac_executable_extensions; do
6007   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6008     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6010     break 2
6011   fi
6012 done
6013   done
6014 IFS=$as_save_IFS
6015
6016 fi
6017 fi
6018 RANLIB=$ac_cv_prog_RANLIB
6019 if test -n "$RANLIB"; then
6020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6021 $as_echo "$RANLIB" >&6; }
6022 else
6023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6024 $as_echo "no" >&6; }
6025 fi
6026
6027
6028 fi
6029 if test -z "$ac_cv_prog_RANLIB"; then
6030   ac_ct_RANLIB=$RANLIB
6031   # Extract the first word of "ranlib", so it can be a program name with args.
6032 set dummy ranlib; ac_word=$2
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6034 $as_echo_n "checking for $ac_word... " >&6; }
6035 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6036   $as_echo_n "(cached) " >&6
6037 else
6038   if test -n "$ac_ct_RANLIB"; then
6039   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6043 do
6044   IFS=$as_save_IFS
6045   test -z "$as_dir" && as_dir=.
6046     for ac_exec_ext in '' $ac_executable_extensions; do
6047   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6048     ac_cv_prog_ac_ct_RANLIB="ranlib"
6049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6050     break 2
6051   fi
6052 done
6053   done
6054 IFS=$as_save_IFS
6055
6056 fi
6057 fi
6058 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6059 if test -n "$ac_ct_RANLIB"; then
6060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6061 $as_echo "$ac_ct_RANLIB" >&6; }
6062 else
6063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6064 $as_echo "no" >&6; }
6065 fi
6066
6067   if test "x$ac_ct_RANLIB" = x; then
6068     RANLIB=":"
6069   else
6070     case $cross_compiling:$ac_tool_warned in
6071 yes:)
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6074 ac_tool_warned=yes ;;
6075 esac
6076     RANLIB=$ac_ct_RANLIB
6077   fi
6078 else
6079   RANLIB="$ac_cv_prog_RANLIB"
6080 fi
6081
6082 test -z "$RANLIB" && RANLIB=:
6083
6084
6085
6086
6087
6088
6089 # Determine commands to create old-style static archives.
6090 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6091 old_postinstall_cmds='chmod 644 $oldlib'
6092 old_postuninstall_cmds=
6093
6094 if test -n "$RANLIB"; then
6095   case $host_os in
6096   openbsd*)
6097     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6098     ;;
6099   *)
6100     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6101     ;;
6102   esac
6103   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6104 fi
6105
6106 case $host_os in
6107   darwin*)
6108     lock_old_archive_extraction=yes ;;
6109   *)
6110     lock_old_archive_extraction=no ;;
6111 esac
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151 # If no C compiler was specified, use CC.
6152 LTCC=${LTCC-"$CC"}
6153
6154 # If no C compiler flags were specified, use CFLAGS.
6155 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6156
6157 # Allow CC to be a program name with arguments.
6158 compiler=$CC
6159
6160
6161 # Check for command to grab the raw symbol name followed by C symbol from nm.
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6163 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6164 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6165   $as_echo_n "(cached) " >&6
6166 else
6167
6168 # These are sane defaults that work on at least a few old systems.
6169 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6170
6171 # Character class describing NM global symbol codes.
6172 symcode='[BCDEGRST]'
6173
6174 # Regexp to match symbols that can be accessed directly from C.
6175 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6176
6177 # Define system-specific variables.
6178 case $host_os in
6179 aix*)
6180   symcode='[BCDT]'
6181   ;;
6182 cygwin* | mingw* | pw32* | cegcc*)
6183   symcode='[ABCDGISTW]'
6184   ;;
6185 hpux*)
6186   if test "$host_cpu" = ia64; then
6187     symcode='[ABCDEGRST]'
6188   fi
6189   ;;
6190 irix* | nonstopux*)
6191   symcode='[BCDEGRST]'
6192   ;;
6193 osf*)
6194   symcode='[BCDEGQRST]'
6195   ;;
6196 solaris*)
6197   symcode='[BDRT]'
6198   ;;
6199 sco3.2v5*)
6200   symcode='[DT]'
6201   ;;
6202 sysv4.2uw2*)
6203   symcode='[DT]'
6204   ;;
6205 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6206   symcode='[ABDT]'
6207   ;;
6208 sysv4)
6209   symcode='[DFNSTU]'
6210   ;;
6211 esac
6212
6213 # If we're using GNU nm, then use its standard symbol codes.
6214 case `$NM -V 2>&1` in
6215 *GNU* | *'with BFD'*)
6216   symcode='[ABCDGIRSTW]' ;;
6217 esac
6218
6219 # Transform an extracted symbol line into a proper C declaration.
6220 # Some systems (esp. on ia64) link data and code symbols differently,
6221 # so use this general approach.
6222 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6223
6224 # Transform an extracted symbol line into symbol name and symbol address
6225 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6226 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'"
6227
6228 # Handle CRLF in mingw tool chain
6229 opt_cr=
6230 case $build_os in
6231 mingw*)
6232   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6233   ;;
6234 esac
6235
6236 # Try without a prefix underscore, then with it.
6237 for ac_symprfx in "" "_"; do
6238
6239   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6240   symxfrm="\\1 $ac_symprfx\\2 \\2"
6241
6242   # Write the raw and C identifiers.
6243   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6244     # Fake it for dumpbin and say T for any non-static function
6245     # and D for any global variable.
6246     # Also find C++ and __fastcall symbols from MSVC++,
6247     # which start with @ or ?.
6248     lt_cv_sys_global_symbol_pipe="$AWK '"\
6249 "     {last_section=section; section=\$ 3};"\
6250 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6251 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6252 "     \$ 0!~/External *\|/{next};"\
6253 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6254 "     {if(hide[section]) next};"\
6255 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6256 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6257 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6258 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6259 "     ' prfx=^$ac_symprfx"
6260   else
6261     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6262   fi
6263   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6264
6265   # Check to see that the pipe works correctly.
6266   pipe_works=no
6267
6268   rm -f conftest*
6269   cat > conftest.$ac_ext <<_LT_EOF
6270 #ifdef __cplusplus
6271 extern "C" {
6272 #endif
6273 char nm_test_var;
6274 void nm_test_func(void);
6275 void nm_test_func(void){}
6276 #ifdef __cplusplus
6277 }
6278 #endif
6279 int main(){nm_test_var='a';nm_test_func();return(0);}
6280 _LT_EOF
6281
6282   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6283   (eval $ac_compile) 2>&5
6284   ac_status=$?
6285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6286   test $ac_status = 0; }; then
6287     # Now try to grab the symbols.
6288     nlist=conftest.nm
6289     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6290   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6291   ac_status=$?
6292   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6293   test $ac_status = 0; } && test -s "$nlist"; then
6294       # Try sorting and uniquifying the output.
6295       if sort "$nlist" | uniq > "$nlist"T; then
6296         mv -f "$nlist"T "$nlist"
6297       else
6298         rm -f "$nlist"T
6299       fi
6300
6301       # Make sure that we snagged all the symbols we need.
6302       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6303         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6304           cat <<_LT_EOF > conftest.$ac_ext
6305 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6306 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6307 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6308    relocations are performed -- see ld's documentation on pseudo-relocs.  */
6309 # define LT_DLSYM_CONST
6310 #elif defined(__osf__)
6311 /* This system does not cope well with relocations in const data.  */
6312 # define LT_DLSYM_CONST
6313 #else
6314 # define LT_DLSYM_CONST const
6315 #endif
6316
6317 #ifdef __cplusplus
6318 extern "C" {
6319 #endif
6320
6321 _LT_EOF
6322           # Now generate the symbol file.
6323           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6324
6325           cat <<_LT_EOF >> conftest.$ac_ext
6326
6327 /* The mapping between symbol names and symbols.  */
6328 LT_DLSYM_CONST struct {
6329   const char *name;
6330   void       *address;
6331 }
6332 lt__PROGRAM__LTX_preloaded_symbols[] =
6333 {
6334   { "@PROGRAM@", (void *) 0 },
6335 _LT_EOF
6336           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6337           cat <<\_LT_EOF >> conftest.$ac_ext
6338   {0, (void *) 0}
6339 };
6340
6341 /* This works around a problem in FreeBSD linker */
6342 #ifdef FREEBSD_WORKAROUND
6343 static const void *lt_preloaded_setup() {
6344   return lt__PROGRAM__LTX_preloaded_symbols;
6345 }
6346 #endif
6347
6348 #ifdef __cplusplus
6349 }
6350 #endif
6351 _LT_EOF
6352           # Now try linking the two files.
6353           mv conftest.$ac_objext conftstm.$ac_objext
6354           lt_globsym_save_LIBS=$LIBS
6355           lt_globsym_save_CFLAGS=$CFLAGS
6356           LIBS="conftstm.$ac_objext"
6357           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6358           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6359   (eval $ac_link) 2>&5
6360   ac_status=$?
6361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6362   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6363             pipe_works=yes
6364           fi
6365           LIBS=$lt_globsym_save_LIBS
6366           CFLAGS=$lt_globsym_save_CFLAGS
6367         else
6368           echo "cannot find nm_test_func in $nlist" >&5
6369         fi
6370       else
6371         echo "cannot find nm_test_var in $nlist" >&5
6372       fi
6373     else
6374       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6375     fi
6376   else
6377     echo "$progname: failed program was:" >&5
6378     cat conftest.$ac_ext >&5
6379   fi
6380   rm -rf conftest* conftst*
6381
6382   # Do not use the global_symbol_pipe unless it works.
6383   if test "$pipe_works" = yes; then
6384     break
6385   else
6386     lt_cv_sys_global_symbol_pipe=
6387   fi
6388 done
6389
6390 fi
6391
6392 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6393   lt_cv_sys_global_symbol_to_cdecl=
6394 fi
6395 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6397 $as_echo "failed" >&6; }
6398 else
6399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6400 $as_echo "ok" >&6; }
6401 fi
6402
6403 # Response file support.
6404 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6405   nm_file_list_spec='@'
6406 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6407   nm_file_list_spec='@'
6408 fi
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6437 $as_echo_n "checking for sysroot... " >&6; }
6438
6439 # Check whether --with-sysroot was given.
6440 if test "${with_sysroot+set}" = set; then :
6441   withval=$with_sysroot;
6442 else
6443   with_sysroot=no
6444 fi
6445
6446
6447 lt_sysroot=
6448 case ${with_sysroot} in #(
6449  yes)
6450    if test "$GCC" = yes; then
6451      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6452    fi
6453    ;; #(
6454  /*)
6455    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6456    ;; #(
6457  no|'')
6458    ;; #(
6459  *)
6460    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6461 $as_echo "${with_sysroot}" >&6; }
6462    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6463    ;;
6464 esac
6465
6466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6467 $as_echo "${lt_sysroot:-no}" >&6; }
6468
6469
6470
6471
6472
6473 # Check whether --enable-libtool-lock was given.
6474 if test "${enable_libtool_lock+set}" = set; then :
6475   enableval=$enable_libtool_lock;
6476 fi
6477
6478 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6479
6480 # Some flags need to be propagated to the compiler or linker for good
6481 # libtool support.
6482 case $host in
6483 ia64-*-hpux*)
6484   # Find out which ABI we are using.
6485   echo 'int i;' > conftest.$ac_ext
6486   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6487   (eval $ac_compile) 2>&5
6488   ac_status=$?
6489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6490   test $ac_status = 0; }; then
6491     case `/usr/bin/file conftest.$ac_objext` in
6492       *ELF-32*)
6493         HPUX_IA64_MODE="32"
6494         ;;
6495       *ELF-64*)
6496         HPUX_IA64_MODE="64"
6497         ;;
6498     esac
6499   fi
6500   rm -rf conftest*
6501   ;;
6502 *-*-irix6*)
6503   # Find out which ABI we are using.
6504   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506   (eval $ac_compile) 2>&5
6507   ac_status=$?
6508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509   test $ac_status = 0; }; then
6510     if test "$lt_cv_prog_gnu_ld" = yes; then
6511       case `/usr/bin/file conftest.$ac_objext` in
6512         *32-bit*)
6513           LD="${LD-ld} -melf32bsmip"
6514           ;;
6515         *N32*)
6516           LD="${LD-ld} -melf32bmipn32"
6517           ;;
6518         *64-bit*)
6519           LD="${LD-ld} -melf64bmip"
6520         ;;
6521       esac
6522     else
6523       case `/usr/bin/file conftest.$ac_objext` in
6524         *32-bit*)
6525           LD="${LD-ld} -32"
6526           ;;
6527         *N32*)
6528           LD="${LD-ld} -n32"
6529           ;;
6530         *64-bit*)
6531           LD="${LD-ld} -64"
6532           ;;
6533       esac
6534     fi
6535   fi
6536   rm -rf conftest*
6537   ;;
6538
6539 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6540 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6541   # Find out which ABI we are using.
6542   echo 'int i;' > conftest.$ac_ext
6543   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6544   (eval $ac_compile) 2>&5
6545   ac_status=$?
6546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6547   test $ac_status = 0; }; then
6548     case `/usr/bin/file conftest.o` in
6549       *32-bit*)
6550         case $host in
6551           x86_64-*kfreebsd*-gnu)
6552             LD="${LD-ld} -m elf_i386_fbsd"
6553             ;;
6554           x86_64-*linux*)
6555             LD="${LD-ld} -m elf_i386"
6556             ;;
6557           ppc64-*linux*|powerpc64-*linux*)
6558             LD="${LD-ld} -m elf32ppclinux"
6559             ;;
6560           s390x-*linux*)
6561             LD="${LD-ld} -m elf_s390"
6562             ;;
6563           sparc64-*linux*)
6564             LD="${LD-ld} -m elf32_sparc"
6565             ;;
6566         esac
6567         ;;
6568       *64-bit*)
6569         case $host in
6570           x86_64-*kfreebsd*-gnu)
6571             LD="${LD-ld} -m elf_x86_64_fbsd"
6572             ;;
6573           x86_64-*linux*)
6574             LD="${LD-ld} -m elf_x86_64"
6575             ;;
6576           ppc*-*linux*|powerpc*-*linux*)
6577             LD="${LD-ld} -m elf64ppc"
6578             ;;
6579           s390*-*linux*|s390*-*tpf*)
6580             LD="${LD-ld} -m elf64_s390"
6581             ;;
6582           sparc*-*linux*)
6583             LD="${LD-ld} -m elf64_sparc"
6584             ;;
6585         esac
6586         ;;
6587     esac
6588   fi
6589   rm -rf conftest*
6590   ;;
6591
6592 *-*-sco3.2v5*)
6593   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6594   SAVE_CFLAGS="$CFLAGS"
6595   CFLAGS="$CFLAGS -belf"
6596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6597 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6598 if ${lt_cv_cc_needs_belf+:} false; then :
6599   $as_echo_n "(cached) " >&6
6600 else
6601   ac_ext=c
6602 ac_cpp='$CPP $CPPFLAGS'
6603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6606
6607      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h.  */
6609
6610 int
6611 main ()
6612 {
6613
6614   ;
6615   return 0;
6616 }
6617 _ACEOF
6618 if ac_fn_c_try_link "$LINENO"; then :
6619   lt_cv_cc_needs_belf=yes
6620 else
6621   lt_cv_cc_needs_belf=no
6622 fi
6623 rm -f core conftest.err conftest.$ac_objext \
6624     conftest$ac_exeext conftest.$ac_ext
6625      ac_ext=c
6626 ac_cpp='$CPP $CPPFLAGS'
6627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6630
6631 fi
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6633 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6634   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6635     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6636     CFLAGS="$SAVE_CFLAGS"
6637   fi
6638   ;;
6639 *-*solaris*)
6640   # Find out which ABI we are using.
6641   echo 'int i;' > conftest.$ac_ext
6642   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6643   (eval $ac_compile) 2>&5
6644   ac_status=$?
6645   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646   test $ac_status = 0; }; then
6647     case `/usr/bin/file conftest.o` in
6648     *64-bit*)
6649       case $lt_cv_prog_gnu_ld in
6650       yes*)
6651         case $host in
6652         i?86-*-solaris*)
6653           LD="${LD-ld} -m elf_x86_64"
6654           ;;
6655         sparc*-*-solaris*)
6656           LD="${LD-ld} -m elf64_sparc"
6657           ;;
6658         esac
6659         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6660         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6661           LD="${LD-ld}_sol2"
6662         fi
6663         ;;
6664       *)
6665         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6666           LD="${LD-ld} -64"
6667         fi
6668         ;;
6669       esac
6670       ;;
6671     esac
6672   fi
6673   rm -rf conftest*
6674   ;;
6675 esac
6676
6677 need_locks="$enable_libtool_lock"
6678
6679 if test -n "$ac_tool_prefix"; then
6680   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6681 set dummy ${ac_tool_prefix}mt; ac_word=$2
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6683 $as_echo_n "checking for $ac_word... " >&6; }
6684 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6685   $as_echo_n "(cached) " >&6
6686 else
6687   if test -n "$MANIFEST_TOOL"; then
6688   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6689 else
6690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6691 for as_dir in $PATH
6692 do
6693   IFS=$as_save_IFS
6694   test -z "$as_dir" && as_dir=.
6695     for ac_exec_ext in '' $ac_executable_extensions; do
6696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6697     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6698     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6699     break 2
6700   fi
6701 done
6702   done
6703 IFS=$as_save_IFS
6704
6705 fi
6706 fi
6707 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6708 if test -n "$MANIFEST_TOOL"; then
6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6710 $as_echo "$MANIFEST_TOOL" >&6; }
6711 else
6712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6713 $as_echo "no" >&6; }
6714 fi
6715
6716
6717 fi
6718 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6719   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6720   # Extract the first word of "mt", so it can be a program name with args.
6721 set dummy mt; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6725   $as_echo_n "(cached) " >&6
6726 else
6727   if test -n "$ac_ct_MANIFEST_TOOL"; then
6728   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6732 do
6733   IFS=$as_save_IFS
6734   test -z "$as_dir" && as_dir=.
6735     for ac_exec_ext in '' $ac_executable_extensions; do
6736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739     break 2
6740   fi
6741 done
6742   done
6743 IFS=$as_save_IFS
6744
6745 fi
6746 fi
6747 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6748 if test -n "$ac_ct_MANIFEST_TOOL"; then
6749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6750 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6751 else
6752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6754 fi
6755
6756   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6757     MANIFEST_TOOL=":"
6758   else
6759     case $cross_compiling:$ac_tool_warned in
6760 yes:)
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6763 ac_tool_warned=yes ;;
6764 esac
6765     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6766   fi
6767 else
6768   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6769 fi
6770
6771 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6773 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6774 if ${lt_cv_path_mainfest_tool+:} false; then :
6775   $as_echo_n "(cached) " >&6
6776 else
6777   lt_cv_path_mainfest_tool=no
6778   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6779   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6780   cat conftest.err >&5
6781   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6782     lt_cv_path_mainfest_tool=yes
6783   fi
6784   rm -f conftest*
6785 fi
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6787 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6788 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6789   MANIFEST_TOOL=:
6790 fi
6791
6792
6793
6794
6795
6796
6797   case $host_os in
6798     rhapsody* | darwin*)
6799     if test -n "$ac_tool_prefix"; then
6800   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6801 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803 $as_echo_n "checking for $ac_word... " >&6; }
6804 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6805   $as_echo_n "(cached) " >&6
6806 else
6807   if test -n "$DSYMUTIL"; then
6808   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6809 else
6810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811 for as_dir in $PATH
6812 do
6813   IFS=$as_save_IFS
6814   test -z "$as_dir" && as_dir=.
6815     for ac_exec_ext in '' $ac_executable_extensions; do
6816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6819     break 2
6820   fi
6821 done
6822   done
6823 IFS=$as_save_IFS
6824
6825 fi
6826 fi
6827 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6828 if test -n "$DSYMUTIL"; then
6829   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6830 $as_echo "$DSYMUTIL" >&6; }
6831 else
6832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833 $as_echo "no" >&6; }
6834 fi
6835
6836
6837 fi
6838 if test -z "$ac_cv_prog_DSYMUTIL"; then
6839   ac_ct_DSYMUTIL=$DSYMUTIL
6840   # Extract the first word of "dsymutil", so it can be a program name with args.
6841 set dummy dsymutil; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6845   $as_echo_n "(cached) " >&6
6846 else
6847   if test -n "$ac_ct_DSYMUTIL"; then
6848   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6849 else
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 for as_dir in $PATH
6852 do
6853   IFS=$as_save_IFS
6854   test -z "$as_dir" && as_dir=.
6855     for ac_exec_ext in '' $ac_executable_extensions; do
6856   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6857     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6858     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6859     break 2
6860   fi
6861 done
6862   done
6863 IFS=$as_save_IFS
6864
6865 fi
6866 fi
6867 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6868 if test -n "$ac_ct_DSYMUTIL"; then
6869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6870 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6871 else
6872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6874 fi
6875
6876   if test "x$ac_ct_DSYMUTIL" = x; then
6877     DSYMUTIL=":"
6878   else
6879     case $cross_compiling:$ac_tool_warned in
6880 yes:)
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6883 ac_tool_warned=yes ;;
6884 esac
6885     DSYMUTIL=$ac_ct_DSYMUTIL
6886   fi
6887 else
6888   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6889 fi
6890
6891     if test -n "$ac_tool_prefix"; then
6892   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6893 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895 $as_echo_n "checking for $ac_word... " >&6; }
6896 if ${ac_cv_prog_NMEDIT+:} false; then :
6897   $as_echo_n "(cached) " >&6
6898 else
6899   if test -n "$NMEDIT"; then
6900   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6901 else
6902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6903 for as_dir in $PATH
6904 do
6905   IFS=$as_save_IFS
6906   test -z "$as_dir" && as_dir=.
6907     for ac_exec_ext in '' $ac_executable_extensions; do
6908   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6910     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6911     break 2
6912   fi
6913 done
6914   done
6915 IFS=$as_save_IFS
6916
6917 fi
6918 fi
6919 NMEDIT=$ac_cv_prog_NMEDIT
6920 if test -n "$NMEDIT"; then
6921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6922 $as_echo "$NMEDIT" >&6; }
6923 else
6924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925 $as_echo "no" >&6; }
6926 fi
6927
6928
6929 fi
6930 if test -z "$ac_cv_prog_NMEDIT"; then
6931   ac_ct_NMEDIT=$NMEDIT
6932   # Extract the first word of "nmedit", so it can be a program name with args.
6933 set dummy nmedit; ac_word=$2
6934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6935 $as_echo_n "checking for $ac_word... " >&6; }
6936 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6937   $as_echo_n "(cached) " >&6
6938 else
6939   if test -n "$ac_ct_NMEDIT"; then
6940   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6941 else
6942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6943 for as_dir in $PATH
6944 do
6945   IFS=$as_save_IFS
6946   test -z "$as_dir" && as_dir=.
6947     for ac_exec_ext in '' $ac_executable_extensions; do
6948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6951     break 2
6952   fi
6953 done
6954   done
6955 IFS=$as_save_IFS
6956
6957 fi
6958 fi
6959 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6960 if test -n "$ac_ct_NMEDIT"; then
6961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6962 $as_echo "$ac_ct_NMEDIT" >&6; }
6963 else
6964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6965 $as_echo "no" >&6; }
6966 fi
6967
6968   if test "x$ac_ct_NMEDIT" = x; then
6969     NMEDIT=":"
6970   else
6971     case $cross_compiling:$ac_tool_warned in
6972 yes:)
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6975 ac_tool_warned=yes ;;
6976 esac
6977     NMEDIT=$ac_ct_NMEDIT
6978   fi
6979 else
6980   NMEDIT="$ac_cv_prog_NMEDIT"
6981 fi
6982
6983     if test -n "$ac_tool_prefix"; then
6984   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6985 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if ${ac_cv_prog_LIPO+:} false; then :
6989   $as_echo_n "(cached) " >&6
6990 else
6991   if test -n "$LIPO"; then
6992   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6993 else
6994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6995 for as_dir in $PATH
6996 do
6997   IFS=$as_save_IFS
6998   test -z "$as_dir" && as_dir=.
6999     for ac_exec_ext in '' $ac_executable_extensions; do
7000   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7002     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003     break 2
7004   fi
7005 done
7006   done
7007 IFS=$as_save_IFS
7008
7009 fi
7010 fi
7011 LIPO=$ac_cv_prog_LIPO
7012 if test -n "$LIPO"; then
7013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7014 $as_echo "$LIPO" >&6; }
7015 else
7016   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7018 fi
7019
7020
7021 fi
7022 if test -z "$ac_cv_prog_LIPO"; then
7023   ac_ct_LIPO=$LIPO
7024   # Extract the first word of "lipo", so it can be a program name with args.
7025 set dummy lipo; ac_word=$2
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7027 $as_echo_n "checking for $ac_word... " >&6; }
7028 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7029   $as_echo_n "(cached) " >&6
7030 else
7031   if test -n "$ac_ct_LIPO"; then
7032   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7033 else
7034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7035 for as_dir in $PATH
7036 do
7037   IFS=$as_save_IFS
7038   test -z "$as_dir" && as_dir=.
7039     for ac_exec_ext in '' $ac_executable_extensions; do
7040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7041     ac_cv_prog_ac_ct_LIPO="lipo"
7042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7043     break 2
7044   fi
7045 done
7046   done
7047 IFS=$as_save_IFS
7048
7049 fi
7050 fi
7051 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7052 if test -n "$ac_ct_LIPO"; then
7053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7054 $as_echo "$ac_ct_LIPO" >&6; }
7055 else
7056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7057 $as_echo "no" >&6; }
7058 fi
7059
7060   if test "x$ac_ct_LIPO" = x; then
7061     LIPO=":"
7062   else
7063     case $cross_compiling:$ac_tool_warned in
7064 yes:)
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7066 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7067 ac_tool_warned=yes ;;
7068 esac
7069     LIPO=$ac_ct_LIPO
7070   fi
7071 else
7072   LIPO="$ac_cv_prog_LIPO"
7073 fi
7074
7075     if test -n "$ac_tool_prefix"; then
7076   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7077 set dummy ${ac_tool_prefix}otool; ac_word=$2
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7079 $as_echo_n "checking for $ac_word... " >&6; }
7080 if ${ac_cv_prog_OTOOL+:} false; then :
7081   $as_echo_n "(cached) " >&6
7082 else
7083   if test -n "$OTOOL"; then
7084   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7085 else
7086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7087 for as_dir in $PATH
7088 do
7089   IFS=$as_save_IFS
7090   test -z "$as_dir" && as_dir=.
7091     for ac_exec_ext in '' $ac_executable_extensions; do
7092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7093     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7095     break 2
7096   fi
7097 done
7098   done
7099 IFS=$as_save_IFS
7100
7101 fi
7102 fi
7103 OTOOL=$ac_cv_prog_OTOOL
7104 if test -n "$OTOOL"; then
7105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7106 $as_echo "$OTOOL" >&6; }
7107 else
7108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7109 $as_echo "no" >&6; }
7110 fi
7111
7112
7113 fi
7114 if test -z "$ac_cv_prog_OTOOL"; then
7115   ac_ct_OTOOL=$OTOOL
7116   # Extract the first word of "otool", so it can be a program name with args.
7117 set dummy otool; ac_word=$2
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7119 $as_echo_n "checking for $ac_word... " >&6; }
7120 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7121   $as_echo_n "(cached) " >&6
7122 else
7123   if test -n "$ac_ct_OTOOL"; then
7124   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7125 else
7126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7127 for as_dir in $PATH
7128 do
7129   IFS=$as_save_IFS
7130   test -z "$as_dir" && as_dir=.
7131     for ac_exec_ext in '' $ac_executable_extensions; do
7132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7133     ac_cv_prog_ac_ct_OTOOL="otool"
7134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7135     break 2
7136   fi
7137 done
7138   done
7139 IFS=$as_save_IFS
7140
7141 fi
7142 fi
7143 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7144 if test -n "$ac_ct_OTOOL"; then
7145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7146 $as_echo "$ac_ct_OTOOL" >&6; }
7147 else
7148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 $as_echo "no" >&6; }
7150 fi
7151
7152   if test "x$ac_ct_OTOOL" = x; then
7153     OTOOL=":"
7154   else
7155     case $cross_compiling:$ac_tool_warned in
7156 yes:)
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7159 ac_tool_warned=yes ;;
7160 esac
7161     OTOOL=$ac_ct_OTOOL
7162   fi
7163 else
7164   OTOOL="$ac_cv_prog_OTOOL"
7165 fi
7166
7167     if test -n "$ac_tool_prefix"; then
7168   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7169 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7171 $as_echo_n "checking for $ac_word... " >&6; }
7172 if ${ac_cv_prog_OTOOL64+:} false; then :
7173   $as_echo_n "(cached) " >&6
7174 else
7175   if test -n "$OTOOL64"; then
7176   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7177 else
7178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 for as_dir in $PATH
7180 do
7181   IFS=$as_save_IFS
7182   test -z "$as_dir" && as_dir=.
7183     for ac_exec_ext in '' $ac_executable_extensions; do
7184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7185     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7187     break 2
7188   fi
7189 done
7190   done
7191 IFS=$as_save_IFS
7192
7193 fi
7194 fi
7195 OTOOL64=$ac_cv_prog_OTOOL64
7196 if test -n "$OTOOL64"; then
7197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7198 $as_echo "$OTOOL64" >&6; }
7199 else
7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7202 fi
7203
7204
7205 fi
7206 if test -z "$ac_cv_prog_OTOOL64"; then
7207   ac_ct_OTOOL64=$OTOOL64
7208   # Extract the first word of "otool64", so it can be a program name with args.
7209 set dummy otool64; ac_word=$2
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7211 $as_echo_n "checking for $ac_word... " >&6; }
7212 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7213   $as_echo_n "(cached) " >&6
7214 else
7215   if test -n "$ac_ct_OTOOL64"; then
7216   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7217 else
7218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7219 for as_dir in $PATH
7220 do
7221   IFS=$as_save_IFS
7222   test -z "$as_dir" && as_dir=.
7223     for ac_exec_ext in '' $ac_executable_extensions; do
7224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7225     ac_cv_prog_ac_ct_OTOOL64="otool64"
7226     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7227     break 2
7228   fi
7229 done
7230   done
7231 IFS=$as_save_IFS
7232
7233 fi
7234 fi
7235 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7236 if test -n "$ac_ct_OTOOL64"; then
7237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7238 $as_echo "$ac_ct_OTOOL64" >&6; }
7239 else
7240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7241 $as_echo "no" >&6; }
7242 fi
7243
7244   if test "x$ac_ct_OTOOL64" = x; then
7245     OTOOL64=":"
7246   else
7247     case $cross_compiling:$ac_tool_warned in
7248 yes:)
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7251 ac_tool_warned=yes ;;
7252 esac
7253     OTOOL64=$ac_ct_OTOOL64
7254   fi
7255 else
7256   OTOOL64="$ac_cv_prog_OTOOL64"
7257 fi
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7286 $as_echo_n "checking for -single_module linker flag... " >&6; }
7287 if ${lt_cv_apple_cc_single_mod+:} false; then :
7288   $as_echo_n "(cached) " >&6
7289 else
7290   lt_cv_apple_cc_single_mod=no
7291       if test -z "${LT_MULTI_MODULE}"; then
7292         # By default we will add the -single_module flag. You can override
7293         # by either setting the environment variable LT_MULTI_MODULE
7294         # non-empty at configure time, or by adding -multi_module to the
7295         # link flags.
7296         rm -rf libconftest.dylib*
7297         echo "int foo(void){return 1;}" > conftest.c
7298         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7299 -dynamiclib -Wl,-single_module conftest.c" >&5
7300         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7301           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7302         _lt_result=$?
7303         # If there is a non-empty error log, and "single_module"
7304         # appears in it, assume the flag caused a linker warning
7305         if test -s conftest.err && $GREP single_module conftest.err; then
7306           cat conftest.err >&5
7307         # Otherwise, if the output was created with a 0 exit code from
7308         # the compiler, it worked.
7309         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7310           lt_cv_apple_cc_single_mod=yes
7311         else
7312           cat conftest.err >&5
7313         fi
7314         rm -rf libconftest.dylib*
7315         rm -f conftest.*
7316       fi
7317 fi
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7319 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7320
7321     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7322 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7323 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7324   $as_echo_n "(cached) " >&6
7325 else
7326   lt_cv_ld_exported_symbols_list=no
7327       save_LDFLAGS=$LDFLAGS
7328       echo "_main" > conftest.sym
7329       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7330       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7331 /* end confdefs.h.  */
7332
7333 int
7334 main ()
7335 {
7336
7337   ;
7338   return 0;
7339 }
7340 _ACEOF
7341 if ac_fn_c_try_link "$LINENO"; then :
7342   lt_cv_ld_exported_symbols_list=yes
7343 else
7344   lt_cv_ld_exported_symbols_list=no
7345 fi
7346 rm -f core conftest.err conftest.$ac_objext \
7347     conftest$ac_exeext conftest.$ac_ext
7348         LDFLAGS="$save_LDFLAGS"
7349
7350 fi
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7352 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7353
7354     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7355 $as_echo_n "checking for -force_load linker flag... " >&6; }
7356 if ${lt_cv_ld_force_load+:} false; then :
7357   $as_echo_n "(cached) " >&6
7358 else
7359   lt_cv_ld_force_load=no
7360       cat > conftest.c << _LT_EOF
7361 int forced_loaded() { return 2;}
7362 _LT_EOF
7363       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7364       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7365       echo "$AR cru libconftest.a conftest.o" >&5
7366       $AR cru libconftest.a conftest.o 2>&5
7367       echo "$RANLIB libconftest.a" >&5
7368       $RANLIB libconftest.a 2>&5
7369       cat > conftest.c << _LT_EOF
7370 int main() { return 0;}
7371 _LT_EOF
7372       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7373       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7374       _lt_result=$?
7375       if test -s conftest.err && $GREP force_load conftest.err; then
7376         cat conftest.err >&5
7377       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7378         lt_cv_ld_force_load=yes
7379       else
7380         cat conftest.err >&5
7381       fi
7382         rm -f conftest.err libconftest.a conftest conftest.c
7383         rm -rf conftest.dSYM
7384
7385 fi
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7387 $as_echo "$lt_cv_ld_force_load" >&6; }
7388     case $host_os in
7389     rhapsody* | darwin1.[012])
7390       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7391     darwin1.*)
7392       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7393     darwin*) # darwin 5.x on
7394       # if running on 10.5 or later, the deployment target defaults
7395       # to the OS version, if on x86, and 10.4, the deployment
7396       # target defaults to 10.4. Don't you love it?
7397       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7398         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7399           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7400         10.[012]*)
7401           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7402         10.*)
7403           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7404       esac
7405     ;;
7406   esac
7407     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7408       _lt_dar_single_mod='$single_module'
7409     fi
7410     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7411       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7412     else
7413       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7414     fi
7415     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7416       _lt_dsymutil='~$DSYMUTIL $lib || :'
7417     else
7418       _lt_dsymutil=
7419     fi
7420     ;;
7421   esac
7422
7423 ac_ext=c
7424 ac_cpp='$CPP $CPPFLAGS'
7425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7429 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7430 # On Suns, sometimes $CPP names a directory.
7431 if test -n "$CPP" && test -d "$CPP"; then
7432   CPP=
7433 fi
7434 if test -z "$CPP"; then
7435   if ${ac_cv_prog_CPP+:} false; then :
7436   $as_echo_n "(cached) " >&6
7437 else
7438       # Double quotes because CPP needs to be expanded
7439     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7440     do
7441       ac_preproc_ok=false
7442 for ac_c_preproc_warn_flag in '' yes
7443 do
7444   # Use a header file that comes with gcc, so configuring glibc
7445   # with a fresh cross-compiler works.
7446   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7447   # <limits.h> exists even on freestanding compilers.
7448   # On the NeXT, cc -E runs the code through the compiler's parser,
7449   # not just through cpp. "Syntax error" is here to catch this case.
7450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7451 /* end confdefs.h.  */
7452 #ifdef __STDC__
7453 # include <limits.h>
7454 #else
7455 # include <assert.h>
7456 #endif
7457                      Syntax error
7458 _ACEOF
7459 if ac_fn_c_try_cpp "$LINENO"; then :
7460
7461 else
7462   # Broken: fails on valid input.
7463 continue
7464 fi
7465 rm -f conftest.err conftest.i conftest.$ac_ext
7466
7467   # OK, works on sane cases.  Now check whether nonexistent headers
7468   # can be detected and how.
7469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h.  */
7471 #include <ac_nonexistent.h>
7472 _ACEOF
7473 if ac_fn_c_try_cpp "$LINENO"; then :
7474   # Broken: success on invalid input.
7475 continue
7476 else
7477   # Passes both tests.
7478 ac_preproc_ok=:
7479 break
7480 fi
7481 rm -f conftest.err conftest.i conftest.$ac_ext
7482
7483 done
7484 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7485 rm -f conftest.i conftest.err conftest.$ac_ext
7486 if $ac_preproc_ok; then :
7487   break
7488 fi
7489
7490     done
7491     ac_cv_prog_CPP=$CPP
7492
7493 fi
7494   CPP=$ac_cv_prog_CPP
7495 else
7496   ac_cv_prog_CPP=$CPP
7497 fi
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7499 $as_echo "$CPP" >&6; }
7500 ac_preproc_ok=false
7501 for ac_c_preproc_warn_flag in '' yes
7502 do
7503   # Use a header file that comes with gcc, so configuring glibc
7504   # with a fresh cross-compiler works.
7505   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7506   # <limits.h> exists even on freestanding compilers.
7507   # On the NeXT, cc -E runs the code through the compiler's parser,
7508   # not just through cpp. "Syntax error" is here to catch this case.
7509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h.  */
7511 #ifdef __STDC__
7512 # include <limits.h>
7513 #else
7514 # include <assert.h>
7515 #endif
7516                      Syntax error
7517 _ACEOF
7518 if ac_fn_c_try_cpp "$LINENO"; then :
7519
7520 else
7521   # Broken: fails on valid input.
7522 continue
7523 fi
7524 rm -f conftest.err conftest.i conftest.$ac_ext
7525
7526   # OK, works on sane cases.  Now check whether nonexistent headers
7527   # can be detected and how.
7528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7529 /* end confdefs.h.  */
7530 #include <ac_nonexistent.h>
7531 _ACEOF
7532 if ac_fn_c_try_cpp "$LINENO"; then :
7533   # Broken: success on invalid input.
7534 continue
7535 else
7536   # Passes both tests.
7537 ac_preproc_ok=:
7538 break
7539 fi
7540 rm -f conftest.err conftest.i conftest.$ac_ext
7541
7542 done
7543 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7544 rm -f conftest.i conftest.err conftest.$ac_ext
7545 if $ac_preproc_ok; then :
7546
7547 else
7548   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7550 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7551 See \`config.log' for more details" "$LINENO" 5; }
7552 fi
7553
7554 ac_ext=c
7555 ac_cpp='$CPP $CPPFLAGS'
7556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7559
7560
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7562 $as_echo_n "checking for ANSI C header files... " >&6; }
7563 if ${ac_cv_header_stdc+:} false; then :
7564   $as_echo_n "(cached) " >&6
7565 else
7566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h.  */
7568 #include <stdlib.h>
7569 #include <stdarg.h>
7570 #include <string.h>
7571 #include <float.h>
7572
7573 int
7574 main ()
7575 {
7576
7577   ;
7578   return 0;
7579 }
7580 _ACEOF
7581 if ac_fn_c_try_compile "$LINENO"; then :
7582   ac_cv_header_stdc=yes
7583 else
7584   ac_cv_header_stdc=no
7585 fi
7586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7587
7588 if test $ac_cv_header_stdc = yes; then
7589   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7591 /* end confdefs.h.  */
7592 #include <string.h>
7593
7594 _ACEOF
7595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7596   $EGREP "memchr" >/dev/null 2>&1; then :
7597
7598 else
7599   ac_cv_header_stdc=no
7600 fi
7601 rm -f conftest*
7602
7603 fi
7604
7605 if test $ac_cv_header_stdc = yes; then
7606   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7608 /* end confdefs.h.  */
7609 #include <stdlib.h>
7610
7611 _ACEOF
7612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7613   $EGREP "free" >/dev/null 2>&1; then :
7614
7615 else
7616   ac_cv_header_stdc=no
7617 fi
7618 rm -f conftest*
7619
7620 fi
7621
7622 if test $ac_cv_header_stdc = yes; then
7623   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7624   if test "$cross_compiling" = yes; then :
7625   :
7626 else
7627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7628 /* end confdefs.h.  */
7629 #include <ctype.h>
7630 #include <stdlib.h>
7631 #if ((' ' & 0x0FF) == 0x020)
7632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7634 #else
7635 # define ISLOWER(c) \
7636                    (('a' <= (c) && (c) <= 'i') \
7637                      || ('j' <= (c) && (c) <= 'r') \
7638                      || ('s' <= (c) && (c) <= 'z'))
7639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7640 #endif
7641
7642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7643 int
7644 main ()
7645 {
7646   int i;
7647   for (i = 0; i < 256; i++)
7648     if (XOR (islower (i), ISLOWER (i))
7649         || toupper (i) != TOUPPER (i))
7650       return 2;
7651   return 0;
7652 }
7653 _ACEOF
7654 if ac_fn_c_try_run "$LINENO"; then :
7655
7656 else
7657   ac_cv_header_stdc=no
7658 fi
7659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7660   conftest.$ac_objext conftest.beam conftest.$ac_ext
7661 fi
7662
7663 fi
7664 fi
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7666 $as_echo "$ac_cv_header_stdc" >&6; }
7667 if test $ac_cv_header_stdc = yes; then
7668
7669 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7670
7671 fi
7672
7673 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7674 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7675                   inttypes.h stdint.h unistd.h
7676 do :
7677   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7679 "
7680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7681   cat >>confdefs.h <<_ACEOF
7682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 _ACEOF
7684
7685 fi
7686
7687 done
7688
7689
7690 for ac_header in dlfcn.h
7691 do :
7692   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7693 "
7694 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7695   cat >>confdefs.h <<_ACEOF
7696 #define HAVE_DLFCN_H 1
7697 _ACEOF
7698
7699 fi
7700
7701 done
7702
7703
7704
7705
7706
7707 # Set options
7708
7709
7710
7711         enable_dlopen=no
7712
7713
7714
7715             # Check whether --enable-shared was given.
7716 if test "${enable_shared+set}" = set; then :
7717   enableval=$enable_shared; p=${PACKAGE-default}
7718     case $enableval in
7719     yes) enable_shared=yes ;;
7720     no) enable_shared=no ;;
7721     *)
7722       enable_shared=no
7723       # Look at the argument we got.  We use all the common list separators.
7724       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7725       for pkg in $enableval; do
7726         IFS="$lt_save_ifs"
7727         if test "X$pkg" = "X$p"; then
7728           enable_shared=yes
7729         fi
7730       done
7731       IFS="$lt_save_ifs"
7732       ;;
7733     esac
7734 else
7735   enable_shared=yes
7736 fi
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746   # Check whether --enable-static was given.
7747 if test "${enable_static+set}" = set; then :
7748   enableval=$enable_static; p=${PACKAGE-default}
7749     case $enableval in
7750     yes) enable_static=yes ;;
7751     no) enable_static=no ;;
7752     *)
7753      enable_static=no
7754       # Look at the argument we got.  We use all the common list separators.
7755       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7756       for pkg in $enableval; do
7757         IFS="$lt_save_ifs"
7758         if test "X$pkg" = "X$p"; then
7759           enable_static=yes
7760         fi
7761       done
7762       IFS="$lt_save_ifs"
7763       ;;
7764     esac
7765 else
7766   enable_static=yes
7767 fi
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778 # Check whether --with-pic was given.
7779 if test "${with_pic+set}" = set; then :
7780   withval=$with_pic; lt_p=${PACKAGE-default}
7781     case $withval in
7782     yes|no) pic_mode=$withval ;;
7783     *)
7784       pic_mode=default
7785       # Look at the argument we got.  We use all the common list separators.
7786       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7787       for lt_pkg in $withval; do
7788         IFS="$lt_save_ifs"
7789         if test "X$lt_pkg" = "X$lt_p"; then
7790           pic_mode=yes
7791         fi
7792       done
7793       IFS="$lt_save_ifs"
7794       ;;
7795     esac
7796 else
7797   pic_mode=default
7798 fi
7799
7800
7801 test -z "$pic_mode" && pic_mode=default
7802
7803
7804
7805
7806
7807
7808
7809   # Check whether --enable-fast-install was given.
7810 if test "${enable_fast_install+set}" = set; then :
7811   enableval=$enable_fast_install; p=${PACKAGE-default}
7812     case $enableval in
7813     yes) enable_fast_install=yes ;;
7814     no) enable_fast_install=no ;;
7815     *)
7816       enable_fast_install=no
7817       # Look at the argument we got.  We use all the common list separators.
7818       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7819       for pkg in $enableval; do
7820         IFS="$lt_save_ifs"
7821         if test "X$pkg" = "X$p"; then
7822           enable_fast_install=yes
7823         fi
7824       done
7825       IFS="$lt_save_ifs"
7826       ;;
7827     esac
7828 else
7829   enable_fast_install=yes
7830 fi
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842 # This can be used to rebuild libtool when needed
7843 LIBTOOL_DEPS="$ltmain"
7844
7845 # Always use our own libtool.
7846 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877 test -z "$LN_S" && LN_S="ln -s"
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892 if test -n "${ZSH_VERSION+set}" ; then
7893    setopt NO_GLOB_SUBST
7894 fi
7895
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7897 $as_echo_n "checking for objdir... " >&6; }
7898 if ${lt_cv_objdir+:} false; then :
7899   $as_echo_n "(cached) " >&6
7900 else
7901   rm -f .libs 2>/dev/null
7902 mkdir .libs 2>/dev/null
7903 if test -d .libs; then
7904   lt_cv_objdir=.libs
7905 else
7906   # MS-DOS does not allow filenames that begin with a dot.
7907   lt_cv_objdir=_libs
7908 fi
7909 rmdir .libs 2>/dev/null
7910 fi
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7912 $as_echo "$lt_cv_objdir" >&6; }
7913 objdir=$lt_cv_objdir
7914
7915
7916
7917
7918
7919 cat >>confdefs.h <<_ACEOF
7920 #define LT_OBJDIR "$lt_cv_objdir/"
7921 _ACEOF
7922
7923
7924
7925
7926 case $host_os in
7927 aix3*)
7928   # AIX sometimes has problems with the GCC collect2 program.  For some
7929   # reason, if we set the COLLECT_NAMES environment variable, the problems
7930   # vanish in a puff of smoke.
7931   if test "X${COLLECT_NAMES+set}" != Xset; then
7932     COLLECT_NAMES=
7933     export COLLECT_NAMES
7934   fi
7935   ;;
7936 esac
7937
7938 # Global variables:
7939 ofile=libtool
7940 can_build_shared=yes
7941
7942 # All known linkers require a `.a' archive for static linking (except MSVC,
7943 # which needs '.lib').
7944 libext=a
7945
7946 with_gnu_ld="$lt_cv_prog_gnu_ld"
7947
7948 old_CC="$CC"
7949 old_CFLAGS="$CFLAGS"
7950
7951 # Set sane defaults for various variables
7952 test -z "$CC" && CC=cc
7953 test -z "$LTCC" && LTCC=$CC
7954 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7955 test -z "$LD" && LD=ld
7956 test -z "$ac_objext" && ac_objext=o
7957
7958 for cc_temp in $compiler""; do
7959   case $cc_temp in
7960     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7961     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7962     \-*) ;;
7963     *) break;;
7964   esac
7965 done
7966 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7967
7968
7969 # Only perform the check for file, if the check method requires it
7970 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7971 case $deplibs_check_method in
7972 file_magic*)
7973   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7975 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7976 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7977   $as_echo_n "(cached) " >&6
7978 else
7979   case $MAGIC_CMD in
7980 [\\/*] |  ?:[\\/]*)
7981   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7982   ;;
7983 *)
7984   lt_save_MAGIC_CMD="$MAGIC_CMD"
7985   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7986   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7987   for ac_dir in $ac_dummy; do
7988     IFS="$lt_save_ifs"
7989     test -z "$ac_dir" && ac_dir=.
7990     if test -f $ac_dir/${ac_tool_prefix}file; then
7991       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7992       if test -n "$file_magic_test_file"; then
7993         case $deplibs_check_method in
7994         "file_magic "*)
7995           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7996           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7997           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7998             $EGREP "$file_magic_regex" > /dev/null; then
7999             :
8000           else
8001             cat <<_LT_EOF 1>&2
8002
8003 *** Warning: the command libtool uses to detect shared libraries,
8004 *** $file_magic_cmd, produces output that libtool cannot recognize.
8005 *** The result is that libtool may fail to recognize shared libraries
8006 *** as such.  This will affect the creation of libtool libraries that
8007 *** depend on shared libraries, but programs linked with such libtool
8008 *** libraries will work regardless of this problem.  Nevertheless, you
8009 *** may want to report the problem to your system manager and/or to
8010 *** bug-libtool@gnu.org
8011
8012 _LT_EOF
8013           fi ;;
8014         esac
8015       fi
8016       break
8017     fi
8018   done
8019   IFS="$lt_save_ifs"
8020   MAGIC_CMD="$lt_save_MAGIC_CMD"
8021   ;;
8022 esac
8023 fi
8024
8025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8026 if test -n "$MAGIC_CMD"; then
8027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8028 $as_echo "$MAGIC_CMD" >&6; }
8029 else
8030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8031 $as_echo "no" >&6; }
8032 fi
8033
8034
8035
8036
8037
8038 if test -z "$lt_cv_path_MAGIC_CMD"; then
8039   if test -n "$ac_tool_prefix"; then
8040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8041 $as_echo_n "checking for file... " >&6; }
8042 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8043   $as_echo_n "(cached) " >&6
8044 else
8045   case $MAGIC_CMD in
8046 [\\/*] |  ?:[\\/]*)
8047   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8048   ;;
8049 *)
8050   lt_save_MAGIC_CMD="$MAGIC_CMD"
8051   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8052   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8053   for ac_dir in $ac_dummy; do
8054     IFS="$lt_save_ifs"
8055     test -z "$ac_dir" && ac_dir=.
8056     if test -f $ac_dir/file; then
8057       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8058       if test -n "$file_magic_test_file"; then
8059         case $deplibs_check_method in
8060         "file_magic "*)
8061           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8062           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8063           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8064             $EGREP "$file_magic_regex" > /dev/null; then
8065             :
8066           else
8067             cat <<_LT_EOF 1>&2
8068
8069 *** Warning: the command libtool uses to detect shared libraries,
8070 *** $file_magic_cmd, produces output that libtool cannot recognize.
8071 *** The result is that libtool may fail to recognize shared libraries
8072 *** as such.  This will affect the creation of libtool libraries that
8073 *** depend on shared libraries, but programs linked with such libtool
8074 *** libraries will work regardless of this problem.  Nevertheless, you
8075 *** may want to report the problem to your system manager and/or to
8076 *** bug-libtool@gnu.org
8077
8078 _LT_EOF
8079           fi ;;
8080         esac
8081       fi
8082       break
8083     fi
8084   done
8085   IFS="$lt_save_ifs"
8086   MAGIC_CMD="$lt_save_MAGIC_CMD"
8087   ;;
8088 esac
8089 fi
8090
8091 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8092 if test -n "$MAGIC_CMD"; then
8093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8094 $as_echo "$MAGIC_CMD" >&6; }
8095 else
8096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8098 fi
8099
8100
8101   else
8102     MAGIC_CMD=:
8103   fi
8104 fi
8105
8106   fi
8107   ;;
8108 esac
8109
8110 # Use C for the default configuration in the libtool script
8111
8112 lt_save_CC="$CC"
8113 ac_ext=c
8114 ac_cpp='$CPP $CPPFLAGS'
8115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8118
8119
8120 # Source file extension for C test sources.
8121 ac_ext=c
8122
8123 # Object file extension for compiled C test sources.
8124 objext=o
8125 objext=$objext
8126
8127 # Code to be used in simple compile tests
8128 lt_simple_compile_test_code="int some_variable = 0;"
8129
8130 # Code to be used in simple link tests
8131 lt_simple_link_test_code='int main(){return(0);}'
8132
8133
8134
8135
8136
8137
8138
8139 # If no C compiler was specified, use CC.
8140 LTCC=${LTCC-"$CC"}
8141
8142 # If no C compiler flags were specified, use CFLAGS.
8143 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8144
8145 # Allow CC to be a program name with arguments.
8146 compiler=$CC
8147
8148 # Save the default compiler, since it gets overwritten when the other
8149 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8150 compiler_DEFAULT=$CC
8151
8152 # save warnings/boilerplate of simple test code
8153 ac_outfile=conftest.$ac_objext
8154 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8155 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8156 _lt_compiler_boilerplate=`cat conftest.err`
8157 $RM conftest*
8158
8159 ac_outfile=conftest.$ac_objext
8160 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8161 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8162 _lt_linker_boilerplate=`cat conftest.err`
8163 $RM -r conftest*
8164
8165
8166 ## CAVEAT EMPTOR:
8167 ## There is no encapsulation within the following macros, do not change
8168 ## the running order or otherwise move them around unless you know exactly
8169 ## what you are doing...
8170 if test -n "$compiler"; then
8171
8172 lt_prog_compiler_no_builtin_flag=
8173
8174 if test "$GCC" = yes; then
8175   case $cc_basename in
8176   nvcc*)
8177     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8178   *)
8179     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8180   esac
8181
8182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8183 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8184 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8185   $as_echo_n "(cached) " >&6
8186 else
8187   lt_cv_prog_compiler_rtti_exceptions=no
8188    ac_outfile=conftest.$ac_objext
8189    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8190    lt_compiler_flag="-fno-rtti -fno-exceptions"
8191    # Insert the option either (1) after the last *FLAGS variable, or
8192    # (2) before a word containing "conftest.", or (3) at the end.
8193    # Note that $ac_compile itself does not contain backslashes and begins
8194    # with a dollar sign (not a hyphen), so the echo should work correctly.
8195    # The option is referenced via a variable to avoid confusing sed.
8196    lt_compile=`echo "$ac_compile" | $SED \
8197    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8198    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8199    -e 's:$: $lt_compiler_flag:'`
8200    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8201    (eval "$lt_compile" 2>conftest.err)
8202    ac_status=$?
8203    cat conftest.err >&5
8204    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205    if (exit $ac_status) && test -s "$ac_outfile"; then
8206      # The compiler can only warn and ignore the option if not recognized
8207      # So say no if there are warnings other than the usual output.
8208      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8209      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8210      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8211        lt_cv_prog_compiler_rtti_exceptions=yes
8212      fi
8213    fi
8214    $RM conftest*
8215
8216 fi
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8218 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8219
8220 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8221     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8222 else
8223     :
8224 fi
8225
8226 fi
8227
8228
8229
8230
8231
8232
8233   lt_prog_compiler_wl=
8234 lt_prog_compiler_pic=
8235 lt_prog_compiler_static=
8236
8237
8238   if test "$GCC" = yes; then
8239     lt_prog_compiler_wl='-Wl,'
8240     lt_prog_compiler_static='-static'
8241
8242     case $host_os in
8243       aix*)
8244       # All AIX code is PIC.
8245       if test "$host_cpu" = ia64; then
8246         # AIX 5 now supports IA64 processor
8247         lt_prog_compiler_static='-Bstatic'
8248       fi
8249       ;;
8250
8251     amigaos*)
8252       case $host_cpu in
8253       powerpc)
8254             # see comment about AmigaOS4 .so support
8255             lt_prog_compiler_pic='-fPIC'
8256         ;;
8257       m68k)
8258             # FIXME: we need at least 68020 code to build shared libraries, but
8259             # adding the `-m68020' flag to GCC prevents building anything better,
8260             # like `-m68040'.
8261             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8262         ;;
8263       esac
8264       ;;
8265
8266     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8267       # PIC is the default for these OSes.
8268       ;;
8269
8270     mingw* | cygwin* | pw32* | os2* | cegcc*)
8271       # This hack is so that the source file can tell whether it is being
8272       # built for inclusion in a dll (and should export symbols for example).
8273       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8274       # (--disable-auto-import) libraries
8275       lt_prog_compiler_pic='-DDLL_EXPORT'
8276       ;;
8277
8278     darwin* | rhapsody*)
8279       # PIC is the default on this platform
8280       # Common symbols not allowed in MH_DYLIB files
8281       lt_prog_compiler_pic='-fno-common'
8282       ;;
8283
8284     haiku*)
8285       # PIC is the default for Haiku.
8286       # The "-static" flag exists, but is broken.
8287       lt_prog_compiler_static=
8288       ;;
8289
8290     hpux*)
8291       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8292       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8293       # sets the default TLS model and affects inlining.
8294       case $host_cpu in
8295       hppa*64*)
8296         # +Z the default
8297         ;;
8298       *)
8299         lt_prog_compiler_pic='-fPIC'
8300         ;;
8301       esac
8302       ;;
8303
8304     interix[3-9]*)
8305       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8306       # Instead, we relocate shared libraries at runtime.
8307       ;;
8308
8309     msdosdjgpp*)
8310       # Just because we use GCC doesn't mean we suddenly get shared libraries
8311       # on systems that don't support them.
8312       lt_prog_compiler_can_build_shared=no
8313       enable_shared=no
8314       ;;
8315
8316     *nto* | *qnx*)
8317       # QNX uses GNU C++, but need to define -shared option too, otherwise
8318       # it will coredump.
8319       lt_prog_compiler_pic='-fPIC -shared'
8320       ;;
8321
8322     sysv4*MP*)
8323       if test -d /usr/nec; then
8324         lt_prog_compiler_pic=-Kconform_pic
8325       fi
8326       ;;
8327
8328     *)
8329       lt_prog_compiler_pic='-fPIC'
8330       ;;
8331     esac
8332
8333     case $cc_basename in
8334     nvcc*) # Cuda Compiler Driver 2.2
8335       lt_prog_compiler_wl='-Xlinker '
8336       if test -n "$lt_prog_compiler_pic"; then
8337         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8338       fi
8339       ;;
8340     esac
8341   else
8342     # PORTME Check for flag to pass linker flags through the system compiler.
8343     case $host_os in
8344     aix*)
8345       lt_prog_compiler_wl='-Wl,'
8346       if test "$host_cpu" = ia64; then
8347         # AIX 5 now supports IA64 processor
8348         lt_prog_compiler_static='-Bstatic'
8349       else
8350         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8351       fi
8352       ;;
8353
8354     mingw* | cygwin* | pw32* | os2* | cegcc*)
8355       # This hack is so that the source file can tell whether it is being
8356       # built for inclusion in a dll (and should export symbols for example).
8357       lt_prog_compiler_pic='-DDLL_EXPORT'
8358       ;;
8359
8360     hpux9* | hpux10* | hpux11*)
8361       lt_prog_compiler_wl='-Wl,'
8362       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8363       # not for PA HP-UX.
8364       case $host_cpu in
8365       hppa*64*|ia64*)
8366         # +Z the default
8367         ;;
8368       *)
8369         lt_prog_compiler_pic='+Z'
8370         ;;
8371       esac
8372       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8373       lt_prog_compiler_static='${wl}-a ${wl}archive'
8374       ;;
8375
8376     irix5* | irix6* | nonstopux*)
8377       lt_prog_compiler_wl='-Wl,'
8378       # PIC (with -KPIC) is the default.
8379       lt_prog_compiler_static='-non_shared'
8380       ;;
8381
8382     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8383       case $cc_basename in
8384       # old Intel for x86_64 which still supported -KPIC.
8385       ecc*)
8386         lt_prog_compiler_wl='-Wl,'
8387         lt_prog_compiler_pic='-KPIC'
8388         lt_prog_compiler_static='-static'
8389         ;;
8390       # icc used to be incompatible with GCC.
8391       # ICC 10 doesn't accept -KPIC any more.
8392       icc* | ifort*)
8393         lt_prog_compiler_wl='-Wl,'
8394         lt_prog_compiler_pic='-fPIC'
8395         lt_prog_compiler_static='-static'
8396         ;;
8397       # Lahey Fortran 8.1.
8398       lf95*)
8399         lt_prog_compiler_wl='-Wl,'
8400         lt_prog_compiler_pic='--shared'
8401         lt_prog_compiler_static='--static'
8402         ;;
8403       nagfor*)
8404         # NAG Fortran compiler
8405         lt_prog_compiler_wl='-Wl,-Wl,,'
8406         lt_prog_compiler_pic='-PIC'
8407         lt_prog_compiler_static='-Bstatic'
8408         ;;
8409       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8410         # Portland Group compilers (*not* the Pentium gcc compiler,
8411         # which looks to be a dead project)
8412         lt_prog_compiler_wl='-Wl,'
8413         lt_prog_compiler_pic='-fpic'
8414         lt_prog_compiler_static='-Bstatic'
8415         ;;
8416       ccc*)
8417         lt_prog_compiler_wl='-Wl,'
8418         # All Alpha code is PIC.
8419         lt_prog_compiler_static='-non_shared'
8420         ;;
8421       xl* | bgxl* | bgf* | mpixl*)
8422         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8423         lt_prog_compiler_wl='-Wl,'
8424         lt_prog_compiler_pic='-qpic'
8425         lt_prog_compiler_static='-qstaticlink'
8426         ;;
8427       *)
8428         case `$CC -V 2>&1 | sed 5q` in
8429         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8430           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8431           lt_prog_compiler_pic='-KPIC'
8432           lt_prog_compiler_static='-Bstatic'
8433           lt_prog_compiler_wl=''
8434           ;;
8435         *Sun\ F* | *Sun*Fortran*)
8436           lt_prog_compiler_pic='-KPIC'
8437           lt_prog_compiler_static='-Bstatic'
8438           lt_prog_compiler_wl='-Qoption ld '
8439           ;;
8440         *Sun\ C*)
8441           # Sun C 5.9
8442           lt_prog_compiler_pic='-KPIC'
8443           lt_prog_compiler_static='-Bstatic'
8444           lt_prog_compiler_wl='-Wl,'
8445           ;;
8446         *Intel*\ [CF]*Compiler*)
8447           lt_prog_compiler_wl='-Wl,'
8448           lt_prog_compiler_pic='-fPIC'
8449           lt_prog_compiler_static='-static'
8450           ;;
8451         *Portland\ Group*)
8452           lt_prog_compiler_wl='-Wl,'
8453           lt_prog_compiler_pic='-fpic'
8454           lt_prog_compiler_static='-Bstatic'
8455           ;;
8456         esac
8457         ;;
8458       esac
8459       ;;
8460
8461     newsos6)
8462       lt_prog_compiler_pic='-KPIC'
8463       lt_prog_compiler_static='-Bstatic'
8464       ;;
8465
8466     *nto* | *qnx*)
8467       # QNX uses GNU C++, but need to define -shared option too, otherwise
8468       # it will coredump.
8469       lt_prog_compiler_pic='-fPIC -shared'
8470       ;;
8471
8472     osf3* | osf4* | osf5*)
8473       lt_prog_compiler_wl='-Wl,'
8474       # All OSF/1 code is PIC.
8475       lt_prog_compiler_static='-non_shared'
8476       ;;
8477
8478     rdos*)
8479       lt_prog_compiler_static='-non_shared'
8480       ;;
8481
8482     solaris*)
8483       lt_prog_compiler_pic='-KPIC'
8484       lt_prog_compiler_static='-Bstatic'
8485       case $cc_basename in
8486       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8487         lt_prog_compiler_wl='-Qoption ld ';;
8488       *)
8489         lt_prog_compiler_wl='-Wl,';;
8490       esac
8491       ;;
8492
8493     sunos4*)
8494       lt_prog_compiler_wl='-Qoption ld '
8495       lt_prog_compiler_pic='-PIC'
8496       lt_prog_compiler_static='-Bstatic'
8497       ;;
8498
8499     sysv4 | sysv4.2uw2* | sysv4.3*)
8500       lt_prog_compiler_wl='-Wl,'
8501       lt_prog_compiler_pic='-KPIC'
8502       lt_prog_compiler_static='-Bstatic'
8503       ;;
8504
8505     sysv4*MP*)
8506       if test -d /usr/nec ;then
8507         lt_prog_compiler_pic='-Kconform_pic'
8508         lt_prog_compiler_static='-Bstatic'
8509       fi
8510       ;;
8511
8512     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8513       lt_prog_compiler_wl='-Wl,'
8514       lt_prog_compiler_pic='-KPIC'
8515       lt_prog_compiler_static='-Bstatic'
8516       ;;
8517
8518     unicos*)
8519       lt_prog_compiler_wl='-Wl,'
8520       lt_prog_compiler_can_build_shared=no
8521       ;;
8522
8523     uts4*)
8524       lt_prog_compiler_pic='-pic'
8525       lt_prog_compiler_static='-Bstatic'
8526       ;;
8527
8528     *)
8529       lt_prog_compiler_can_build_shared=no
8530       ;;
8531     esac
8532   fi
8533
8534 case $host_os in
8535   # For platforms which do not support PIC, -DPIC is meaningless:
8536   *djgpp*)
8537     lt_prog_compiler_pic=
8538     ;;
8539   *)
8540     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8541     ;;
8542 esac
8543
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8545 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8546 if ${lt_cv_prog_compiler_pic+:} false; then :
8547   $as_echo_n "(cached) " >&6
8548 else
8549   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8550 fi
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8552 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8553 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8554
8555 #
8556 # Check to make sure the PIC flag actually works.
8557 #
8558 if test -n "$lt_prog_compiler_pic"; then
8559   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8560 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8561 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8562   $as_echo_n "(cached) " >&6
8563 else
8564   lt_cv_prog_compiler_pic_works=no
8565    ac_outfile=conftest.$ac_objext
8566    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8567    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8568    # Insert the option either (1) after the last *FLAGS variable, or
8569    # (2) before a word containing "conftest.", or (3) at the end.
8570    # Note that $ac_compile itself does not contain backslashes and begins
8571    # with a dollar sign (not a hyphen), so the echo should work correctly.
8572    # The option is referenced via a variable to avoid confusing sed.
8573    lt_compile=`echo "$ac_compile" | $SED \
8574    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8575    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8576    -e 's:$: $lt_compiler_flag:'`
8577    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8578    (eval "$lt_compile" 2>conftest.err)
8579    ac_status=$?
8580    cat conftest.err >&5
8581    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8582    if (exit $ac_status) && test -s "$ac_outfile"; then
8583      # The compiler can only warn and ignore the option if not recognized
8584      # So say no if there are warnings other than the usual output.
8585      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8586      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8587      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8588        lt_cv_prog_compiler_pic_works=yes
8589      fi
8590    fi
8591    $RM conftest*
8592
8593 fi
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8595 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8596
8597 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8598     case $lt_prog_compiler_pic in
8599      "" | " "*) ;;
8600      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8601      esac
8602 else
8603     lt_prog_compiler_pic=
8604      lt_prog_compiler_can_build_shared=no
8605 fi
8606
8607 fi
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619 #
8620 # Check to make sure the static flag actually works.
8621 #
8622 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8624 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8625 if ${lt_cv_prog_compiler_static_works+:} false; then :
8626   $as_echo_n "(cached) " >&6
8627 else
8628   lt_cv_prog_compiler_static_works=no
8629    save_LDFLAGS="$LDFLAGS"
8630    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8631    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8632    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8633      # The linker can only warn and ignore the option if not recognized
8634      # So say no if there are warnings
8635      if test -s conftest.err; then
8636        # Append any errors to the config.log.
8637        cat conftest.err 1>&5
8638        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8639        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8640        if diff conftest.exp conftest.er2 >/dev/null; then
8641          lt_cv_prog_compiler_static_works=yes
8642        fi
8643      else
8644        lt_cv_prog_compiler_static_works=yes
8645      fi
8646    fi
8647    $RM -r conftest*
8648    LDFLAGS="$save_LDFLAGS"
8649
8650 fi
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8652 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8653
8654 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8655     :
8656 else
8657     lt_prog_compiler_static=
8658 fi
8659
8660
8661
8662
8663
8664
8665
8666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8667 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8668 if ${lt_cv_prog_compiler_c_o+:} false; then :
8669   $as_echo_n "(cached) " >&6
8670 else
8671   lt_cv_prog_compiler_c_o=no
8672    $RM -r conftest 2>/dev/null
8673    mkdir conftest
8674    cd conftest
8675    mkdir out
8676    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8677
8678    lt_compiler_flag="-o out/conftest2.$ac_objext"
8679    # Insert the option either (1) after the last *FLAGS variable, or
8680    # (2) before a word containing "conftest.", or (3) at the end.
8681    # Note that $ac_compile itself does not contain backslashes and begins
8682    # with a dollar sign (not a hyphen), so the echo should work correctly.
8683    lt_compile=`echo "$ac_compile" | $SED \
8684    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8685    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8686    -e 's:$: $lt_compiler_flag:'`
8687    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8688    (eval "$lt_compile" 2>out/conftest.err)
8689    ac_status=$?
8690    cat out/conftest.err >&5
8691    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8693    then
8694      # The compiler can only warn and ignore the option if not recognized
8695      # So say no if there are warnings
8696      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8697      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8698      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8699        lt_cv_prog_compiler_c_o=yes
8700      fi
8701    fi
8702    chmod u+w . 2>&5
8703    $RM conftest*
8704    # SGI C++ compiler will create directory out/ii_files/ for
8705    # template instantiation
8706    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8707    $RM out/* && rmdir out
8708    cd ..
8709    $RM -r conftest
8710    $RM conftest*
8711
8712 fi
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8714 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8715
8716
8717
8718
8719
8720
8721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8722 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8723 if ${lt_cv_prog_compiler_c_o+:} false; then :
8724   $as_echo_n "(cached) " >&6
8725 else
8726   lt_cv_prog_compiler_c_o=no
8727    $RM -r conftest 2>/dev/null
8728    mkdir conftest
8729    cd conftest
8730    mkdir out
8731    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8732
8733    lt_compiler_flag="-o out/conftest2.$ac_objext"
8734    # Insert the option either (1) after the last *FLAGS variable, or
8735    # (2) before a word containing "conftest.", or (3) at the end.
8736    # Note that $ac_compile itself does not contain backslashes and begins
8737    # with a dollar sign (not a hyphen), so the echo should work correctly.
8738    lt_compile=`echo "$ac_compile" | $SED \
8739    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8740    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8741    -e 's:$: $lt_compiler_flag:'`
8742    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8743    (eval "$lt_compile" 2>out/conftest.err)
8744    ac_status=$?
8745    cat out/conftest.err >&5
8746    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8748    then
8749      # The compiler can only warn and ignore the option if not recognized
8750      # So say no if there are warnings
8751      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8752      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8753      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8754        lt_cv_prog_compiler_c_o=yes
8755      fi
8756    fi
8757    chmod u+w . 2>&5
8758    $RM conftest*
8759    # SGI C++ compiler will create directory out/ii_files/ for
8760    # template instantiation
8761    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8762    $RM out/* && rmdir out
8763    cd ..
8764    $RM -r conftest
8765    $RM conftest*
8766
8767 fi
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8769 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8770
8771
8772
8773
8774 hard_links="nottested"
8775 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8776   # do not overwrite the value of need_locks provided by the user
8777   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8778 $as_echo_n "checking if we can lock with hard links... " >&6; }
8779   hard_links=yes
8780   $RM conftest*
8781   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8782   touch conftest.a
8783   ln conftest.a conftest.b 2>&5 || hard_links=no
8784   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8786 $as_echo "$hard_links" >&6; }
8787   if test "$hard_links" = no; then
8788     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8789 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8790     need_locks=warn
8791   fi
8792 else
8793   need_locks=no
8794 fi
8795
8796
8797
8798
8799
8800
8801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8802 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8803
8804   runpath_var=
8805   allow_undefined_flag=
8806   always_export_symbols=no
8807   archive_cmds=
8808   archive_expsym_cmds=
8809   compiler_needs_object=no
8810   enable_shared_with_static_runtimes=no
8811   export_dynamic_flag_spec=
8812   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8813   hardcode_automatic=no
8814   hardcode_direct=no
8815   hardcode_direct_absolute=no
8816   hardcode_libdir_flag_spec=
8817   hardcode_libdir_separator=
8818   hardcode_minus_L=no
8819   hardcode_shlibpath_var=unsupported
8820   inherit_rpath=no
8821   link_all_deplibs=unknown
8822   module_cmds=
8823   module_expsym_cmds=
8824   old_archive_from_new_cmds=
8825   old_archive_from_expsyms_cmds=
8826   thread_safe_flag_spec=
8827   whole_archive_flag_spec=
8828   # include_expsyms should be a list of space-separated symbols to be *always*
8829   # included in the symbol list
8830   include_expsyms=
8831   # exclude_expsyms can be an extended regexp of symbols to exclude
8832   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8833   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8834   # as well as any symbol that contains `d'.
8835   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8836   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8837   # platforms (ab)use it in PIC code, but their linkers get confused if
8838   # the symbol is explicitly referenced.  Since portable code cannot
8839   # rely on this symbol name, it's probably fine to never include it in
8840   # preloaded symbol tables.
8841   # Exclude shared library initialization/finalization symbols.
8842   extract_expsyms_cmds=
8843
8844   case $host_os in
8845   cygwin* | mingw* | pw32* | cegcc*)
8846     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8847     # When not using gcc, we currently assume that we are using
8848     # Microsoft Visual C++.
8849     if test "$GCC" != yes; then
8850       with_gnu_ld=no
8851     fi
8852     ;;
8853   interix*)
8854     # we just hope/assume this is gcc and not c89 (= MSVC++)
8855     with_gnu_ld=yes
8856     ;;
8857   openbsd*)
8858     with_gnu_ld=no
8859     ;;
8860   linux* | k*bsd*-gnu | gnu*)
8861     link_all_deplibs=no
8862     ;;
8863   esac
8864
8865   ld_shlibs=yes
8866
8867   # On some targets, GNU ld is compatible enough with the native linker
8868   # that we're better off using the native interface for both.
8869   lt_use_gnu_ld_interface=no
8870   if test "$with_gnu_ld" = yes; then
8871     case $host_os in
8872       aix*)
8873         # The AIX port of GNU ld has always aspired to compatibility
8874         # with the native linker.  However, as the warning in the GNU ld
8875         # block says, versions before 2.19.5* couldn't really create working
8876         # shared libraries, regardless of the interface used.
8877         case `$LD -v 2>&1` in
8878           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8879           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8880           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8881           *)
8882             lt_use_gnu_ld_interface=yes
8883             ;;
8884         esac
8885         ;;
8886       *)
8887         lt_use_gnu_ld_interface=yes
8888         ;;
8889     esac
8890   fi
8891
8892   if test "$lt_use_gnu_ld_interface" = yes; then
8893     # If archive_cmds runs LD, not CC, wlarc should be empty
8894     wlarc='${wl}'
8895
8896     # Set some defaults for GNU ld with shared library support. These
8897     # are reset later if shared libraries are not supported. Putting them
8898     # here allows them to be overridden if necessary.
8899     runpath_var=LD_RUN_PATH
8900     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8901     export_dynamic_flag_spec='${wl}--export-dynamic'
8902     # ancient GNU ld didn't support --whole-archive et. al.
8903     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8904       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8905     else
8906       whole_archive_flag_spec=
8907     fi
8908     supports_anon_versioning=no
8909     case `$LD -v 2>&1` in
8910       *GNU\ gold*) supports_anon_versioning=yes ;;
8911       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8912       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8913       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8914       *\ 2.11.*) ;; # other 2.11 versions
8915       *) supports_anon_versioning=yes ;;
8916     esac
8917
8918     # See if GNU ld supports shared libraries.
8919     case $host_os in
8920     aix[3-9]*)
8921       # On AIX/PPC, the GNU linker is very broken
8922       if test "$host_cpu" != ia64; then
8923         ld_shlibs=no
8924         cat <<_LT_EOF 1>&2
8925
8926 *** Warning: the GNU linker, at least up to release 2.19, is reported
8927 *** to be unable to reliably create shared libraries on AIX.
8928 *** Therefore, libtool is disabling shared libraries support.  If you
8929 *** really care for shared libraries, you may want to install binutils
8930 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8931 *** You will then need to restart the configuration process.
8932
8933 _LT_EOF
8934       fi
8935       ;;
8936
8937     amigaos*)
8938       case $host_cpu in
8939       powerpc)
8940             # see comment about AmigaOS4 .so support
8941             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8942             archive_expsym_cmds=''
8943         ;;
8944       m68k)
8945             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)'
8946             hardcode_libdir_flag_spec='-L$libdir'
8947             hardcode_minus_L=yes
8948         ;;
8949       esac
8950       ;;
8951
8952     beos*)
8953       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8954         allow_undefined_flag=unsupported
8955         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8956         # support --undefined.  This deserves some investigation.  FIXME
8957         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8958       else
8959         ld_shlibs=no
8960       fi
8961       ;;
8962
8963     cygwin* | mingw* | pw32* | cegcc*)
8964       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8965       # as there is no search path for DLLs.
8966       hardcode_libdir_flag_spec='-L$libdir'
8967       export_dynamic_flag_spec='${wl}--export-all-symbols'
8968       allow_undefined_flag=unsupported
8969       always_export_symbols=no
8970       enable_shared_with_static_runtimes=yes
8971       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'
8972       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8973
8974       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8975         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8976         # If the export-symbols file already is a .def file (1st line
8977         # is EXPORTS), use it as is; otherwise, prepend...
8978         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8979           cp $export_symbols $output_objdir/$soname.def;
8980         else
8981           echo EXPORTS > $output_objdir/$soname.def;
8982           cat $export_symbols >> $output_objdir/$soname.def;
8983         fi~
8984         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8985       else
8986         ld_shlibs=no
8987       fi
8988       ;;
8989
8990     haiku*)
8991       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8992       link_all_deplibs=yes
8993       ;;
8994
8995     interix[3-9]*)
8996       hardcode_direct=no
8997       hardcode_shlibpath_var=no
8998       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8999       export_dynamic_flag_spec='${wl}-E'
9000       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9001       # Instead, shared libraries are loaded at an image base (0x10000000 by
9002       # default) and relocated if they conflict, which is a slow very memory
9003       # consuming and fragmenting process.  To avoid this, we pick a random,
9004       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9005       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9006       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9007       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'
9008       ;;
9009
9010     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9011       tmp_diet=no
9012       if test "$host_os" = linux-dietlibc; then
9013         case $cc_basename in
9014           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9015         esac
9016       fi
9017       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9018          && test "$tmp_diet" = no
9019       then
9020         tmp_addflag=' $pic_flag'
9021         tmp_sharedflag='-shared'
9022         case $cc_basename,$host_cpu in
9023         pgcc*)                          # Portland Group C compiler
9024           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'
9025           tmp_addflag=' $pic_flag'
9026           ;;
9027         pgf77* | pgf90* | pgf95* | pgfortran*)
9028                                         # Portland Group f77 and f90 compilers
9029           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'
9030           tmp_addflag=' $pic_flag -Mnomain' ;;
9031         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9032           tmp_addflag=' -i_dynamic' ;;
9033         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9034           tmp_addflag=' -i_dynamic -nofor_main' ;;
9035         ifc* | ifort*)                  # Intel Fortran compiler
9036           tmp_addflag=' -nofor_main' ;;
9037         lf95*)                          # Lahey Fortran 8.1
9038           whole_archive_flag_spec=
9039           tmp_sharedflag='--shared' ;;
9040         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9041           tmp_sharedflag='-qmkshrobj'
9042           tmp_addflag= ;;
9043         nvcc*)  # Cuda Compiler Driver 2.2
9044           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'
9045           compiler_needs_object=yes
9046           ;;
9047         esac
9048         case `$CC -V 2>&1 | sed 5q` in
9049         *Sun\ C*)                       # Sun C 5.9
9050           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'
9051           compiler_needs_object=yes
9052           tmp_sharedflag='-G' ;;
9053         *Sun\ F*)                       # Sun Fortran 8.3
9054           tmp_sharedflag='-G' ;;
9055         esac
9056         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9057
9058         if test "x$supports_anon_versioning" = xyes; then
9059           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9060             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9061             echo "local: *; };" >> $output_objdir/$libname.ver~
9062             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9063         fi
9064
9065         case $cc_basename in
9066         xlf* | bgf* | bgxlf* | mpixlf*)
9067           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9068           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9069           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9070           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9071           if test "x$supports_anon_versioning" = xyes; then
9072             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9073               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9074               echo "local: *; };" >> $output_objdir/$libname.ver~
9075               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9076           fi
9077           ;;
9078         esac
9079       else
9080         ld_shlibs=no
9081       fi
9082       ;;
9083
9084     netbsd* | netbsdelf*-gnu)
9085       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9086         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9087         wlarc=
9088       else
9089         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9090         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9091       fi
9092       ;;
9093
9094     solaris*)
9095       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9096         ld_shlibs=no
9097         cat <<_LT_EOF 1>&2
9098
9099 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9100 *** create shared libraries on Solaris systems.  Therefore, libtool
9101 *** is disabling shared libraries support.  We urge you to upgrade GNU
9102 *** binutils to release 2.9.1 or newer.  Another option is to modify
9103 *** your PATH or compiler configuration so that the native linker is
9104 *** used, and then restart.
9105
9106 _LT_EOF
9107       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9108         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9109         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9110       else
9111         ld_shlibs=no
9112       fi
9113       ;;
9114
9115     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9116       case `$LD -v 2>&1` in
9117         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9118         ld_shlibs=no
9119         cat <<_LT_EOF 1>&2
9120
9121 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9122 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9123 *** is disabling shared libraries support.  We urge you to upgrade GNU
9124 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9125 *** your PATH or compiler configuration so that the native linker is
9126 *** used, and then restart.
9127
9128 _LT_EOF
9129         ;;
9130         *)
9131           # For security reasons, it is highly recommended that you always
9132           # use absolute paths for naming shared libraries, and exclude the
9133           # DT_RUNPATH tag from executables and libraries.  But doing so
9134           # requires that you compile everything twice, which is a pain.
9135           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9136             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9137             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9138             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9139           else
9140             ld_shlibs=no
9141           fi
9142         ;;
9143       esac
9144       ;;
9145
9146     sunos4*)
9147       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9148       wlarc=
9149       hardcode_direct=yes
9150       hardcode_shlibpath_var=no
9151       ;;
9152
9153     *)
9154       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9155         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9156         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9157       else
9158         ld_shlibs=no
9159       fi
9160       ;;
9161     esac
9162
9163     if test "$ld_shlibs" = no; then
9164       runpath_var=
9165       hardcode_libdir_flag_spec=
9166       export_dynamic_flag_spec=
9167       whole_archive_flag_spec=
9168     fi
9169   else
9170     # PORTME fill in a description of your system's linker (not GNU ld)
9171     case $host_os in
9172     aix3*)
9173       allow_undefined_flag=unsupported
9174       always_export_symbols=yes
9175       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'
9176       # Note: this linker hardcodes the directories in LIBPATH if there
9177       # are no directories specified by -L.
9178       hardcode_minus_L=yes
9179       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9180         # Neither direct hardcoding nor static linking is supported with a
9181         # broken collect2.
9182         hardcode_direct=unsupported
9183       fi
9184       ;;
9185
9186     aix[4-9]*)
9187       if test "$host_cpu" = ia64; then
9188         # On IA64, the linker does run time linking by default, so we don't
9189         # have to do anything special.
9190         aix_use_runtimelinking=no
9191         exp_sym_flag='-Bexport'
9192         no_entry_flag=""
9193       else
9194         # If we're using GNU nm, then we don't want the "-C" option.
9195         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9196         # Also, AIX nm treats weak defined symbols like other global
9197         # defined symbols, whereas GNU nm marks them as "W".
9198         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9199           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'
9200         else
9201           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'
9202         fi
9203         aix_use_runtimelinking=no
9204
9205         # Test if we are trying to use run time linking or normal
9206         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9207         # need to do runtime linking.
9208         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9209           for ld_flag in $LDFLAGS; do
9210           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9211             aix_use_runtimelinking=yes
9212             break
9213           fi
9214           done
9215           ;;
9216         esac
9217
9218         exp_sym_flag='-bexport'
9219         no_entry_flag='-bnoentry'
9220       fi
9221
9222       # When large executables or shared objects are built, AIX ld can
9223       # have problems creating the table of contents.  If linking a library
9224       # or program results in "error TOC overflow" add -mminimal-toc to
9225       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9226       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9227
9228       archive_cmds=''
9229       hardcode_direct=yes
9230       hardcode_direct_absolute=yes
9231       hardcode_libdir_separator=':'
9232       link_all_deplibs=yes
9233       file_list_spec='${wl}-f,'
9234
9235       if test "$GCC" = yes; then
9236         case $host_os in aix4.[012]|aix4.[012].*)
9237         # We only want to do this on AIX 4.2 and lower, the check
9238         # below for broken collect2 doesn't work under 4.3+
9239           collect2name=`${CC} -print-prog-name=collect2`
9240           if test -f "$collect2name" &&
9241            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9242           then
9243           # We have reworked collect2
9244           :
9245           else
9246           # We have old collect2
9247           hardcode_direct=unsupported
9248           # It fails to find uninstalled libraries when the uninstalled
9249           # path is not listed in the libpath.  Setting hardcode_minus_L
9250           # to unsupported forces relinking
9251           hardcode_minus_L=yes
9252           hardcode_libdir_flag_spec='-L$libdir'
9253           hardcode_libdir_separator=
9254           fi
9255           ;;
9256         esac
9257         shared_flag='-shared'
9258         if test "$aix_use_runtimelinking" = yes; then
9259           shared_flag="$shared_flag "'${wl}-G'
9260         fi
9261         link_all_deplibs=no
9262       else
9263         # not using gcc
9264         if test "$host_cpu" = ia64; then
9265         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9266         # chokes on -Wl,-G. The following line is correct:
9267           shared_flag='-G'
9268         else
9269           if test "$aix_use_runtimelinking" = yes; then
9270             shared_flag='${wl}-G'
9271           else
9272             shared_flag='${wl}-bM:SRE'
9273           fi
9274         fi
9275       fi
9276
9277       export_dynamic_flag_spec='${wl}-bexpall'
9278       # It seems that -bexpall does not export symbols beginning with
9279       # underscore (_), so it is better to generate a list of symbols to export.
9280       always_export_symbols=yes
9281       if test "$aix_use_runtimelinking" = yes; then
9282         # Warning - without using the other runtime loading flags (-brtl),
9283         # -berok will link without error, but may produce a broken library.
9284         allow_undefined_flag='-berok'
9285         # Determine the default libpath from the value encoded in an
9286         # empty executable.
9287         if test "${lt_cv_aix_libpath+set}" = set; then
9288   aix_libpath=$lt_cv_aix_libpath
9289 else
9290   if ${lt_cv_aix_libpath_+:} false; then :
9291   $as_echo_n "(cached) " >&6
9292 else
9293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9294 /* end confdefs.h.  */
9295
9296 int
9297 main ()
9298 {
9299
9300   ;
9301   return 0;
9302 }
9303 _ACEOF
9304 if ac_fn_c_try_link "$LINENO"; then :
9305
9306   lt_aix_libpath_sed='
9307       /Import File Strings/,/^$/ {
9308           /^0/ {
9309               s/^0  *\([^ ]*\) *$/\1/
9310               p
9311           }
9312       }'
9313   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9314   # Check for a 64-bit object if we didn't find anything.
9315   if test -z "$lt_cv_aix_libpath_"; then
9316     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9317   fi
9318 fi
9319 rm -f core conftest.err conftest.$ac_objext \
9320     conftest$ac_exeext conftest.$ac_ext
9321   if test -z "$lt_cv_aix_libpath_"; then
9322     lt_cv_aix_libpath_="/usr/lib:/lib"
9323   fi
9324
9325 fi
9326
9327   aix_libpath=$lt_cv_aix_libpath_
9328 fi
9329
9330         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9331         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"
9332       else
9333         if test "$host_cpu" = ia64; then
9334           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9335           allow_undefined_flag="-z nodefs"
9336           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"
9337         else
9338          # Determine the default libpath from the value encoded in an
9339          # empty executable.
9340          if test "${lt_cv_aix_libpath+set}" = set; then
9341   aix_libpath=$lt_cv_aix_libpath
9342 else
9343   if ${lt_cv_aix_libpath_+:} false; then :
9344   $as_echo_n "(cached) " >&6
9345 else
9346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9347 /* end confdefs.h.  */
9348
9349 int
9350 main ()
9351 {
9352
9353   ;
9354   return 0;
9355 }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358
9359   lt_aix_libpath_sed='
9360       /Import File Strings/,/^$/ {
9361           /^0/ {
9362               s/^0  *\([^ ]*\) *$/\1/
9363               p
9364           }
9365       }'
9366   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9367   # Check for a 64-bit object if we didn't find anything.
9368   if test -z "$lt_cv_aix_libpath_"; then
9369     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9370   fi
9371 fi
9372 rm -f core conftest.err conftest.$ac_objext \
9373     conftest$ac_exeext conftest.$ac_ext
9374   if test -z "$lt_cv_aix_libpath_"; then
9375     lt_cv_aix_libpath_="/usr/lib:/lib"
9376   fi
9377
9378 fi
9379
9380   aix_libpath=$lt_cv_aix_libpath_
9381 fi
9382
9383          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9384           # Warning - without using the other run time loading flags,
9385           # -berok will link without error, but may produce a broken library.
9386           no_undefined_flag=' ${wl}-bernotok'
9387           allow_undefined_flag=' ${wl}-berok'
9388           if test "$with_gnu_ld" = yes; then
9389             # We only use this code for GNU lds that support --whole-archive.
9390             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9391           else
9392             # Exported symbols can be pulled into shared objects from archives
9393             whole_archive_flag_spec='$convenience'
9394           fi
9395           archive_cmds_need_lc=yes
9396           # This is similar to how AIX traditionally builds its shared libraries.
9397           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'
9398         fi
9399       fi
9400       ;;
9401
9402     amigaos*)
9403       case $host_cpu in
9404       powerpc)
9405             # see comment about AmigaOS4 .so support
9406             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407             archive_expsym_cmds=''
9408         ;;
9409       m68k)
9410             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)'
9411             hardcode_libdir_flag_spec='-L$libdir'
9412             hardcode_minus_L=yes
9413         ;;
9414       esac
9415       ;;
9416
9417     bsdi[45]*)
9418       export_dynamic_flag_spec=-rdynamic
9419       ;;
9420
9421     cygwin* | mingw* | pw32* | cegcc*)
9422       # When not using gcc, we currently assume that we are using
9423       # Microsoft Visual C++.
9424       # hardcode_libdir_flag_spec is actually meaningless, as there is
9425       # no search path for DLLs.
9426       case $cc_basename in
9427       cl*)
9428         # Native MSVC
9429         hardcode_libdir_flag_spec=' '
9430         allow_undefined_flag=unsupported
9431         always_export_symbols=yes
9432         file_list_spec='@'
9433         # Tell ltmain to make .lib files, not .a files.
9434         libext=lib
9435         # Tell ltmain to make .dll files, not .so files.
9436         shrext_cmds=".dll"
9437         # FIXME: Setting linknames here is a bad hack.
9438         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9439         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9440             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9441           else
9442             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9443           fi~
9444           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9445           linknames='
9446         # The linker will not automatically build a static lib if we build a DLL.
9447         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9448         enable_shared_with_static_runtimes=yes
9449         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9450         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9451         # Don't use ranlib
9452         old_postinstall_cmds='chmod 644 $oldlib'
9453         postlink_cmds='lt_outputfile="@OUTPUT@"~
9454           lt_tool_outputfile="@TOOL_OUTPUT@"~
9455           case $lt_outputfile in
9456             *.exe|*.EXE) ;;
9457             *)
9458               lt_outputfile="$lt_outputfile.exe"
9459               lt_tool_outputfile="$lt_tool_outputfile.exe"
9460               ;;
9461           esac~
9462           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9463             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9464             $RM "$lt_outputfile.manifest";
9465           fi'
9466         ;;
9467       *)
9468         # Assume MSVC wrapper
9469         hardcode_libdir_flag_spec=' '
9470         allow_undefined_flag=unsupported
9471         # Tell ltmain to make .lib files, not .a files.
9472         libext=lib
9473         # Tell ltmain to make .dll files, not .so files.
9474         shrext_cmds=".dll"
9475         # FIXME: Setting linknames here is a bad hack.
9476         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9477         # The linker will automatically build a .lib file if we build a DLL.
9478         old_archive_from_new_cmds='true'
9479         # FIXME: Should let the user specify the lib program.
9480         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9481         enable_shared_with_static_runtimes=yes
9482         ;;
9483       esac
9484       ;;
9485
9486     darwin* | rhapsody*)
9487
9488
9489   archive_cmds_need_lc=no
9490   hardcode_direct=no
9491   hardcode_automatic=yes
9492   hardcode_shlibpath_var=unsupported
9493   if test "$lt_cv_ld_force_load" = "yes"; then
9494     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\"`'
9495
9496   else
9497     whole_archive_flag_spec=''
9498   fi
9499   link_all_deplibs=yes
9500   allow_undefined_flag="$_lt_dar_allow_undefined"
9501   case $cc_basename in
9502      ifort*) _lt_dar_can_shared=yes ;;
9503      *) _lt_dar_can_shared=$GCC ;;
9504   esac
9505   if test "$_lt_dar_can_shared" = "yes"; then
9506     output_verbose_link_cmd=func_echo_all
9507     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9508     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9509     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}"
9510     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}"
9511
9512   else
9513   ld_shlibs=no
9514   fi
9515
9516       ;;
9517
9518     dgux*)
9519       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9520       hardcode_libdir_flag_spec='-L$libdir'
9521       hardcode_shlibpath_var=no
9522       ;;
9523
9524     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9525     # support.  Future versions do this automatically, but an explicit c++rt0.o
9526     # does not break anything, and helps significantly (at the cost of a little
9527     # extra space).
9528     freebsd2.2*)
9529       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9530       hardcode_libdir_flag_spec='-R$libdir'
9531       hardcode_direct=yes
9532       hardcode_shlibpath_var=no
9533       ;;
9534
9535     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9536     freebsd2.*)
9537       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9538       hardcode_direct=yes
9539       hardcode_minus_L=yes
9540       hardcode_shlibpath_var=no
9541       ;;
9542
9543     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9544     freebsd* | dragonfly*)
9545       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9546       hardcode_libdir_flag_spec='-R$libdir'
9547       hardcode_direct=yes
9548       hardcode_shlibpath_var=no
9549       ;;
9550
9551     hpux9*)
9552       if test "$GCC" = yes; then
9553         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'
9554       else
9555         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'
9556       fi
9557       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9558       hardcode_libdir_separator=:
9559       hardcode_direct=yes
9560
9561       # hardcode_minus_L: Not really in the search PATH,
9562       # but as the default location of the library.
9563       hardcode_minus_L=yes
9564       export_dynamic_flag_spec='${wl}-E'
9565       ;;
9566
9567     hpux10*)
9568       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9569         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9570       else
9571         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9572       fi
9573       if test "$with_gnu_ld" = no; then
9574         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9575         hardcode_libdir_separator=:
9576         hardcode_direct=yes
9577         hardcode_direct_absolute=yes
9578         export_dynamic_flag_spec='${wl}-E'
9579         # hardcode_minus_L: Not really in the search PATH,
9580         # but as the default location of the library.
9581         hardcode_minus_L=yes
9582       fi
9583       ;;
9584
9585     hpux11*)
9586       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9587         case $host_cpu in
9588         hppa*64*)
9589           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9590           ;;
9591         ia64*)
9592           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593           ;;
9594         *)
9595           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9596           ;;
9597         esac
9598       else
9599         case $host_cpu in
9600         hppa*64*)
9601           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9602           ;;
9603         ia64*)
9604           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9605           ;;
9606         *)
9607
9608           # Older versions of the 11.00 compiler do not understand -b yet
9609           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9610           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9611 $as_echo_n "checking if $CC understands -b... " >&6; }
9612 if ${lt_cv_prog_compiler__b+:} false; then :
9613   $as_echo_n "(cached) " >&6
9614 else
9615   lt_cv_prog_compiler__b=no
9616    save_LDFLAGS="$LDFLAGS"
9617    LDFLAGS="$LDFLAGS -b"
9618    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9619    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9620      # The linker can only warn and ignore the option if not recognized
9621      # So say no if there are warnings
9622      if test -s conftest.err; then
9623        # Append any errors to the config.log.
9624        cat conftest.err 1>&5
9625        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9626        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9627        if diff conftest.exp conftest.er2 >/dev/null; then
9628          lt_cv_prog_compiler__b=yes
9629        fi
9630      else
9631        lt_cv_prog_compiler__b=yes
9632      fi
9633    fi
9634    $RM -r conftest*
9635    LDFLAGS="$save_LDFLAGS"
9636
9637 fi
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9639 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9640
9641 if test x"$lt_cv_prog_compiler__b" = xyes; then
9642     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9643 else
9644     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9645 fi
9646
9647           ;;
9648         esac
9649       fi
9650       if test "$with_gnu_ld" = no; then
9651         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9652         hardcode_libdir_separator=:
9653
9654         case $host_cpu in
9655         hppa*64*|ia64*)
9656           hardcode_direct=no
9657           hardcode_shlibpath_var=no
9658           ;;
9659         *)
9660           hardcode_direct=yes
9661           hardcode_direct_absolute=yes
9662           export_dynamic_flag_spec='${wl}-E'
9663
9664           # hardcode_minus_L: Not really in the search PATH,
9665           # but as the default location of the library.
9666           hardcode_minus_L=yes
9667           ;;
9668         esac
9669       fi
9670       ;;
9671
9672     irix5* | irix6* | nonstopux*)
9673       if test "$GCC" = yes; then
9674         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'
9675         # Try to use the -exported_symbol ld option, if it does not
9676         # work, assume that -exports_file does not work either and
9677         # implicitly export all symbols.
9678         # This should be the same for all languages, so no per-tag cache variable.
9679         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9680 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9681 if ${lt_cv_irix_exported_symbol+:} false; then :
9682   $as_echo_n "(cached) " >&6
9683 else
9684   save_LDFLAGS="$LDFLAGS"
9685            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9686            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9687 /* end confdefs.h.  */
9688 int foo (void) { return 0; }
9689 _ACEOF
9690 if ac_fn_c_try_link "$LINENO"; then :
9691   lt_cv_irix_exported_symbol=yes
9692 else
9693   lt_cv_irix_exported_symbol=no
9694 fi
9695 rm -f core conftest.err conftest.$ac_objext \
9696     conftest$ac_exeext conftest.$ac_ext
9697            LDFLAGS="$save_LDFLAGS"
9698 fi
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9700 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9701         if test "$lt_cv_irix_exported_symbol" = yes; then
9702           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'
9703         fi
9704       else
9705         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'
9706         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'
9707       fi
9708       archive_cmds_need_lc='no'
9709       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9710       hardcode_libdir_separator=:
9711       inherit_rpath=yes
9712       link_all_deplibs=yes
9713       ;;
9714
9715     netbsd* | netbsdelf*-gnu)
9716       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9717         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9718       else
9719         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9720       fi
9721       hardcode_libdir_flag_spec='-R$libdir'
9722       hardcode_direct=yes
9723       hardcode_shlibpath_var=no
9724       ;;
9725
9726     newsos6)
9727       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9728       hardcode_direct=yes
9729       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9730       hardcode_libdir_separator=:
9731       hardcode_shlibpath_var=no
9732       ;;
9733
9734     *nto* | *qnx*)
9735       ;;
9736
9737     openbsd*)
9738       if test -f /usr/libexec/ld.so; then
9739         hardcode_direct=yes
9740         hardcode_shlibpath_var=no
9741         hardcode_direct_absolute=yes
9742         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9743           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9744           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9745           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9746           export_dynamic_flag_spec='${wl}-E'
9747         else
9748           case $host_os in
9749            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9750              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9751              hardcode_libdir_flag_spec='-R$libdir'
9752              ;;
9753            *)
9754              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9755              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9756              ;;
9757           esac
9758         fi
9759       else
9760         ld_shlibs=no
9761       fi
9762       ;;
9763
9764     os2*)
9765       hardcode_libdir_flag_spec='-L$libdir'
9766       hardcode_minus_L=yes
9767       allow_undefined_flag=unsupported
9768       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'
9769       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9770       ;;
9771
9772     osf3*)
9773       if test "$GCC" = yes; then
9774         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9775         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'
9776       else
9777         allow_undefined_flag=' -expect_unresolved \*'
9778         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'
9779       fi
9780       archive_cmds_need_lc='no'
9781       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9782       hardcode_libdir_separator=:
9783       ;;
9784
9785     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9786       if test "$GCC" = yes; then
9787         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9788         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'
9789         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9790       else
9791         allow_undefined_flag=' -expect_unresolved \*'
9792         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'
9793         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~
9794         $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'
9795
9796         # Both c and cxx compiler support -rpath directly
9797         hardcode_libdir_flag_spec='-rpath $libdir'
9798       fi
9799       archive_cmds_need_lc='no'
9800       hardcode_libdir_separator=:
9801       ;;
9802
9803     solaris*)
9804       no_undefined_flag=' -z defs'
9805       if test "$GCC" = yes; then
9806         wlarc='${wl}'
9807         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9808         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9809           $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'
9810       else
9811         case `$CC -V 2>&1` in
9812         *"Compilers 5.0"*)
9813           wlarc=''
9814           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9815           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9816           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9817           ;;
9818         *)
9819           wlarc='${wl}'
9820           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9821           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9822           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9823           ;;
9824         esac
9825       fi
9826       hardcode_libdir_flag_spec='-R$libdir'
9827       hardcode_shlibpath_var=no
9828       case $host_os in
9829       solaris2.[0-5] | solaris2.[0-5].*) ;;
9830       *)
9831         # The compiler driver will combine and reorder linker options,
9832         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9833         # but is careful enough not to reorder.
9834         # Supported since Solaris 2.6 (maybe 2.5.1?)
9835         if test "$GCC" = yes; then
9836           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9837         else
9838           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9839         fi
9840         ;;
9841       esac
9842       link_all_deplibs=yes
9843       ;;
9844
9845     sunos4*)
9846       if test "x$host_vendor" = xsequent; then
9847         # Use $CC to link under sequent, because it throws in some extra .o
9848         # files that make .init and .fini sections work.
9849         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9850       else
9851         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9852       fi
9853       hardcode_libdir_flag_spec='-L$libdir'
9854       hardcode_direct=yes
9855       hardcode_minus_L=yes
9856       hardcode_shlibpath_var=no
9857       ;;
9858
9859     sysv4)
9860       case $host_vendor in
9861         sni)
9862           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9863           hardcode_direct=yes # is this really true???
9864         ;;
9865         siemens)
9866           ## LD is ld it makes a PLAMLIB
9867           ## CC just makes a GrossModule.
9868           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9869           reload_cmds='$CC -r -o $output$reload_objs'
9870           hardcode_direct=no
9871         ;;
9872         motorola)
9873           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9875         ;;
9876       esac
9877       runpath_var='LD_RUN_PATH'
9878       hardcode_shlibpath_var=no
9879       ;;
9880
9881     sysv4.3*)
9882       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9883       hardcode_shlibpath_var=no
9884       export_dynamic_flag_spec='-Bexport'
9885       ;;
9886
9887     sysv4*MP*)
9888       if test -d /usr/nec; then
9889         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9890         hardcode_shlibpath_var=no
9891         runpath_var=LD_RUN_PATH
9892         hardcode_runpath_var=yes
9893         ld_shlibs=yes
9894       fi
9895       ;;
9896
9897     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9898       no_undefined_flag='${wl}-z,text'
9899       archive_cmds_need_lc=no
9900       hardcode_shlibpath_var=no
9901       runpath_var='LD_RUN_PATH'
9902
9903       if test "$GCC" = yes; then
9904         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906       else
9907         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909       fi
9910       ;;
9911
9912     sysv5* | sco3.2v5* | sco5v6*)
9913       # Note: We can NOT use -z defs as we might desire, because we do not
9914       # link with -lc, and that would cause any symbols used from libc to
9915       # always be unresolved, which means just about no library would
9916       # ever link correctly.  If we're not using GNU ld we use -z text
9917       # though, which does catch some bad symbols but isn't as heavy-handed
9918       # as -z defs.
9919       no_undefined_flag='${wl}-z,text'
9920       allow_undefined_flag='${wl}-z,nodefs'
9921       archive_cmds_need_lc=no
9922       hardcode_shlibpath_var=no
9923       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9924       hardcode_libdir_separator=':'
9925       link_all_deplibs=yes
9926       export_dynamic_flag_spec='${wl}-Bexport'
9927       runpath_var='LD_RUN_PATH'
9928
9929       if test "$GCC" = yes; then
9930         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9931         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932       else
9933         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9935       fi
9936       ;;
9937
9938     uts4*)
9939       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9940       hardcode_libdir_flag_spec='-L$libdir'
9941       hardcode_shlibpath_var=no
9942       ;;
9943
9944     *)
9945       ld_shlibs=no
9946       ;;
9947     esac
9948
9949     if test x$host_vendor = xsni; then
9950       case $host in
9951       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9952         export_dynamic_flag_spec='${wl}-Blargedynsym'
9953         ;;
9954       esac
9955     fi
9956   fi
9957
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9959 $as_echo "$ld_shlibs" >&6; }
9960 test "$ld_shlibs" = no && can_build_shared=no
9961
9962 with_gnu_ld=$with_gnu_ld
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978 #
9979 # Do we need to explicitly link libc?
9980 #
9981 case "x$archive_cmds_need_lc" in
9982 x|xyes)
9983   # Assume -lc should be added
9984   archive_cmds_need_lc=yes
9985
9986   if test "$enable_shared" = yes && test "$GCC" = yes; then
9987     case $archive_cmds in
9988     *'~'*)
9989       # FIXME: we may have to deal with multi-command sequences.
9990       ;;
9991     '$CC '*)
9992       # Test whether the compiler implicitly links with -lc since on some
9993       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9994       # to ld, don't add -lc before -lgcc.
9995       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9996 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9997 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9998   $as_echo_n "(cached) " >&6
9999 else
10000   $RM conftest*
10001         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10002
10003         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10004   (eval $ac_compile) 2>&5
10005   ac_status=$?
10006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10007   test $ac_status = 0; } 2>conftest.err; then
10008           soname=conftest
10009           lib=conftest
10010           libobjs=conftest.$ac_objext
10011           deplibs=
10012           wl=$lt_prog_compiler_wl
10013           pic_flag=$lt_prog_compiler_pic
10014           compiler_flags=-v
10015           linker_flags=-v
10016           verstring=
10017           output_objdir=.
10018           libname=conftest
10019           lt_save_allow_undefined_flag=$allow_undefined_flag
10020           allow_undefined_flag=
10021           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10022   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10023   ac_status=$?
10024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10025   test $ac_status = 0; }
10026           then
10027             lt_cv_archive_cmds_need_lc=no
10028           else
10029             lt_cv_archive_cmds_need_lc=yes
10030           fi
10031           allow_undefined_flag=$lt_save_allow_undefined_flag
10032         else
10033           cat conftest.err 1>&5
10034         fi
10035         $RM conftest*
10036
10037 fi
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10039 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10040       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10041       ;;
10042     esac
10043   fi
10044   ;;
10045 esac
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10199 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10200
10201 if test "$GCC" = yes; then
10202   case $host_os in
10203     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10204     *) lt_awk_arg="/^libraries:/" ;;
10205   esac
10206   case $host_os in
10207     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10208     *) lt_sed_strip_eq="s,=/,/,g" ;;
10209   esac
10210   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10211   case $lt_search_path_spec in
10212   *\;*)
10213     # if the path contains ";" then we assume it to be the separator
10214     # otherwise default to the standard path separator (i.e. ":") - it is
10215     # assumed that no part of a normal pathname contains ";" but that should
10216     # okay in the real world where ";" in dirpaths is itself problematic.
10217     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10218     ;;
10219   *)
10220     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10221     ;;
10222   esac
10223   # Ok, now we have the path, separated by spaces, we can step through it
10224   # and add multilib dir if necessary.
10225   lt_tmp_lt_search_path_spec=
10226   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10227   for lt_sys_path in $lt_search_path_spec; do
10228     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10229       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10230     else
10231       test -d "$lt_sys_path" && \
10232         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10233     fi
10234   done
10235   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10236 BEGIN {RS=" "; FS="/|\n";} {
10237   lt_foo="";
10238   lt_count=0;
10239   for (lt_i = NF; lt_i > 0; lt_i--) {
10240     if ($lt_i != "" && $lt_i != ".") {
10241       if ($lt_i == "..") {
10242         lt_count++;
10243       } else {
10244         if (lt_count == 0) {
10245           lt_foo="/" $lt_i lt_foo;
10246         } else {
10247           lt_count--;
10248         }
10249       }
10250     }
10251   }
10252   if (lt_foo != "") { lt_freq[lt_foo]++; }
10253   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10254 }'`
10255   # AWK program above erroneously prepends '/' to C:/dos/paths
10256   # for these hosts.
10257   case $host_os in
10258     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10259       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10260   esac
10261   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10262 else
10263   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10264 fi
10265 library_names_spec=
10266 libname_spec='lib$name'
10267 soname_spec=
10268 shrext_cmds=".so"
10269 postinstall_cmds=
10270 postuninstall_cmds=
10271 finish_cmds=
10272 finish_eval=
10273 shlibpath_var=
10274 shlibpath_overrides_runpath=unknown
10275 version_type=none
10276 dynamic_linker="$host_os ld.so"
10277 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10278 need_lib_prefix=unknown
10279 hardcode_into_libs=no
10280
10281 # when you set need_version to no, make sure it does not cause -set_version
10282 # flags to be left without arguments
10283 need_version=unknown
10284
10285 case $host_os in
10286 aix3*)
10287   version_type=linux # correct to gnu/linux during the next big refactor
10288   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10289   shlibpath_var=LIBPATH
10290
10291   # AIX 3 has no versioning support, so we append a major version to the name.
10292   soname_spec='${libname}${release}${shared_ext}$major'
10293   ;;
10294
10295 aix[4-9]*)
10296   version_type=linux # correct to gnu/linux during the next big refactor
10297   need_lib_prefix=no
10298   need_version=no
10299   hardcode_into_libs=yes
10300   if test "$host_cpu" = ia64; then
10301     # AIX 5 supports IA64
10302     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10303     shlibpath_var=LD_LIBRARY_PATH
10304   else
10305     # With GCC up to 2.95.x, collect2 would create an import file
10306     # for dependence libraries.  The import file would start with
10307     # the line `#! .'.  This would cause the generated library to
10308     # depend on `.', always an invalid library.  This was fixed in
10309     # development snapshots of GCC prior to 3.0.
10310     case $host_os in
10311       aix4 | aix4.[01] | aix4.[01].*)
10312       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10313            echo ' yes '
10314            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10315         :
10316       else
10317         can_build_shared=no
10318       fi
10319       ;;
10320     esac
10321     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10322     # soname into executable. Probably we can add versioning support to
10323     # collect2, so additional links can be useful in future.
10324     if test "$aix_use_runtimelinking" = yes; then
10325       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10326       # instead of lib<name>.a to let people know that these are not
10327       # typical AIX shared libraries.
10328       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10329     else
10330       # We preserve .a as extension for shared libraries through AIX4.2
10331       # and later when we are not doing run time linking.
10332       library_names_spec='${libname}${release}.a $libname.a'
10333       soname_spec='${libname}${release}${shared_ext}$major'
10334     fi
10335     shlibpath_var=LIBPATH
10336   fi
10337   ;;
10338
10339 amigaos*)
10340   case $host_cpu in
10341   powerpc)
10342     # Since July 2007 AmigaOS4 officially supports .so libraries.
10343     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10344     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345     ;;
10346   m68k)
10347     library_names_spec='$libname.ixlibrary $libname.a'
10348     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10349     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'
10350     ;;
10351   esac
10352   ;;
10353
10354 beos*)
10355   library_names_spec='${libname}${shared_ext}'
10356   dynamic_linker="$host_os ld.so"
10357   shlibpath_var=LIBRARY_PATH
10358   ;;
10359
10360 bsdi[45]*)
10361   version_type=linux # correct to gnu/linux during the next big refactor
10362   need_version=no
10363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364   soname_spec='${libname}${release}${shared_ext}$major'
10365   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10366   shlibpath_var=LD_LIBRARY_PATH
10367   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10368   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10369   # the default ld.so.conf also contains /usr/contrib/lib and
10370   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10371   # libtool to hard-code these into programs
10372   ;;
10373
10374 cygwin* | mingw* | pw32* | cegcc*)
10375   version_type=windows
10376   shrext_cmds=".dll"
10377   need_version=no
10378   need_lib_prefix=no
10379
10380   case $GCC,$cc_basename in
10381   yes,*)
10382     # gcc
10383     library_names_spec='$libname.dll.a'
10384     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10385     postinstall_cmds='base_file=`basename \${file}`~
10386       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10387       dldir=$destdir/`dirname \$dlpath`~
10388       test -d \$dldir || mkdir -p \$dldir~
10389       $install_prog $dir/$dlname \$dldir/$dlname~
10390       chmod a+x \$dldir/$dlname~
10391       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10392         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10393       fi'
10394     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10395       dlpath=$dir/\$dldll~
10396        $RM \$dlpath'
10397     shlibpath_overrides_runpath=yes
10398
10399     case $host_os in
10400     cygwin*)
10401       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10402       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10403
10404       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10405       ;;
10406     mingw* | cegcc*)
10407       # MinGW DLLs use traditional 'lib' prefix
10408       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10409       ;;
10410     pw32*)
10411       # pw32 DLLs use 'pw' prefix rather than 'lib'
10412       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10413       ;;
10414     esac
10415     dynamic_linker='Win32 ld.exe'
10416     ;;
10417
10418   *,cl*)
10419     # Native MSVC
10420     libname_spec='$name'
10421     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10422     library_names_spec='${libname}.dll.lib'
10423
10424     case $build_os in
10425     mingw*)
10426       sys_lib_search_path_spec=
10427       lt_save_ifs=$IFS
10428       IFS=';'
10429       for lt_path in $LIB
10430       do
10431         IFS=$lt_save_ifs
10432         # Let DOS variable expansion print the short 8.3 style file name.
10433         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10434         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10435       done
10436       IFS=$lt_save_ifs
10437       # Convert to MSYS style.
10438       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10439       ;;
10440     cygwin*)
10441       # Convert to unix form, then to dos form, then back to unix form
10442       # but this time dos style (no spaces!) so that the unix form looks
10443       # like /cygdrive/c/PROGRA~1:/cygdr...
10444       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10445       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10446       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10447       ;;
10448     *)
10449       sys_lib_search_path_spec="$LIB"
10450       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10451         # It is most probably a Windows format PATH.
10452         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10453       else
10454         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10455       fi
10456       # FIXME: find the short name or the path components, as spaces are
10457       # common. (e.g. "Program Files" -> "PROGRA~1")
10458       ;;
10459     esac
10460
10461     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10462     postinstall_cmds='base_file=`basename \${file}`~
10463       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10464       dldir=$destdir/`dirname \$dlpath`~
10465       test -d \$dldir || mkdir -p \$dldir~
10466       $install_prog $dir/$dlname \$dldir/$dlname'
10467     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10468       dlpath=$dir/\$dldll~
10469        $RM \$dlpath'
10470     shlibpath_overrides_runpath=yes
10471     dynamic_linker='Win32 link.exe'
10472     ;;
10473
10474   *)
10475     # Assume MSVC wrapper
10476     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10477     dynamic_linker='Win32 ld.exe'
10478     ;;
10479   esac
10480   # FIXME: first we should search . and the directory the executable is in
10481   shlibpath_var=PATH
10482   ;;
10483
10484 darwin* | rhapsody*)
10485   dynamic_linker="$host_os dyld"
10486   version_type=darwin
10487   need_lib_prefix=no
10488   need_version=no
10489   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10490   soname_spec='${libname}${release}${major}$shared_ext'
10491   shlibpath_overrides_runpath=yes
10492   shlibpath_var=DYLD_LIBRARY_PATH
10493   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10494
10495   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10496   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10497   ;;
10498
10499 dgux*)
10500   version_type=linux # correct to gnu/linux during the next big refactor
10501   need_lib_prefix=no
10502   need_version=no
10503   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10504   soname_spec='${libname}${release}${shared_ext}$major'
10505   shlibpath_var=LD_LIBRARY_PATH
10506   ;;
10507
10508 freebsd* | dragonfly*)
10509   # DragonFly does not have aout.  When/if they implement a new
10510   # versioning mechanism, adjust this.
10511   if test -x /usr/bin/objformat; then
10512     objformat=`/usr/bin/objformat`
10513   else
10514     case $host_os in
10515     freebsd[23].*) objformat=aout ;;
10516     *) objformat=elf ;;
10517     esac
10518   fi
10519   version_type=freebsd-$objformat
10520   case $version_type in
10521     freebsd-elf*)
10522       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10523       need_version=no
10524       need_lib_prefix=no
10525       ;;
10526     freebsd-*)
10527       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10528       need_version=yes
10529       ;;
10530   esac
10531   shlibpath_var=LD_LIBRARY_PATH
10532   case $host_os in
10533   freebsd2.*)
10534     shlibpath_overrides_runpath=yes
10535     ;;
10536   freebsd3.[01]* | freebsdelf3.[01]*)
10537     shlibpath_overrides_runpath=yes
10538     hardcode_into_libs=yes
10539     ;;
10540   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10541   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10542     shlibpath_overrides_runpath=no
10543     hardcode_into_libs=yes
10544     ;;
10545   *) # from 4.6 on, and DragonFly
10546     shlibpath_overrides_runpath=yes
10547     hardcode_into_libs=yes
10548     ;;
10549   esac
10550   ;;
10551
10552 gnu*)
10553   version_type=linux # correct to gnu/linux during the next big refactor
10554   need_lib_prefix=no
10555   need_version=no
10556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10557   soname_spec='${libname}${release}${shared_ext}$major'
10558   shlibpath_var=LD_LIBRARY_PATH
10559   shlibpath_overrides_runpath=no
10560   hardcode_into_libs=yes
10561   ;;
10562
10563 haiku*)
10564   version_type=linux # correct to gnu/linux during the next big refactor
10565   need_lib_prefix=no
10566   need_version=no
10567   dynamic_linker="$host_os runtime_loader"
10568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10569   soname_spec='${libname}${release}${shared_ext}$major'
10570   shlibpath_var=LIBRARY_PATH
10571   shlibpath_overrides_runpath=yes
10572   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10573   hardcode_into_libs=yes
10574   ;;
10575
10576 hpux9* | hpux10* | hpux11*)
10577   # Give a soname corresponding to the major version so that dld.sl refuses to
10578   # link against other versions.
10579   version_type=sunos
10580   need_lib_prefix=no
10581   need_version=no
10582   case $host_cpu in
10583   ia64*)
10584     shrext_cmds='.so'
10585     hardcode_into_libs=yes
10586     dynamic_linker="$host_os dld.so"
10587     shlibpath_var=LD_LIBRARY_PATH
10588     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10589     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590     soname_spec='${libname}${release}${shared_ext}$major'
10591     if test "X$HPUX_IA64_MODE" = X32; then
10592       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10593     else
10594       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10595     fi
10596     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10597     ;;
10598   hppa*64*)
10599     shrext_cmds='.sl'
10600     hardcode_into_libs=yes
10601     dynamic_linker="$host_os dld.sl"
10602     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10603     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10604     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605     soname_spec='${libname}${release}${shared_ext}$major'
10606     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10607     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10608     ;;
10609   *)
10610     shrext_cmds='.sl'
10611     dynamic_linker="$host_os dld.sl"
10612     shlibpath_var=SHLIB_PATH
10613     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10614     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10615     soname_spec='${libname}${release}${shared_ext}$major'
10616     ;;
10617   esac
10618   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10619   postinstall_cmds='chmod 555 $lib'
10620   # or fails outright, so override atomically:
10621   install_override_mode=555
10622   ;;
10623
10624 interix[3-9]*)
10625   version_type=linux # correct to gnu/linux during the next big refactor
10626   need_lib_prefix=no
10627   need_version=no
10628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10629   soname_spec='${libname}${release}${shared_ext}$major'
10630   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10631   shlibpath_var=LD_LIBRARY_PATH
10632   shlibpath_overrides_runpath=no
10633   hardcode_into_libs=yes
10634   ;;
10635
10636 irix5* | irix6* | nonstopux*)
10637   case $host_os in
10638     nonstopux*) version_type=nonstopux ;;
10639     *)
10640         if test "$lt_cv_prog_gnu_ld" = yes; then
10641                 version_type=linux # correct to gnu/linux during the next big refactor
10642         else
10643                 version_type=irix
10644         fi ;;
10645   esac
10646   need_lib_prefix=no
10647   need_version=no
10648   soname_spec='${libname}${release}${shared_ext}$major'
10649   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10650   case $host_os in
10651   irix5* | nonstopux*)
10652     libsuff= shlibsuff=
10653     ;;
10654   *)
10655     case $LD in # libtool.m4 will add one of these switches to LD
10656     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10657       libsuff= shlibsuff= libmagic=32-bit;;
10658     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10659       libsuff=32 shlibsuff=N32 libmagic=N32;;
10660     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10661       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10662     *) libsuff= shlibsuff= libmagic=never-match;;
10663     esac
10664     ;;
10665   esac
10666   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10667   shlibpath_overrides_runpath=no
10668   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10669   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10670   hardcode_into_libs=yes
10671   ;;
10672
10673 # No shared lib support for Linux oldld, aout, or coff.
10674 linux*oldld* | linux*aout* | linux*coff*)
10675   dynamic_linker=no
10676   ;;
10677
10678 # This must be glibc/ELF.
10679 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10680   version_type=linux # correct to gnu/linux during the next big refactor
10681   need_lib_prefix=no
10682   need_version=no
10683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684   soname_spec='${libname}${release}${shared_ext}$major'
10685   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10686   shlibpath_var=LD_LIBRARY_PATH
10687   shlibpath_overrides_runpath=no
10688
10689   # Some binutils ld are patched to set DT_RUNPATH
10690   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10691   $as_echo_n "(cached) " >&6
10692 else
10693   lt_cv_shlibpath_overrides_runpath=no
10694     save_LDFLAGS=$LDFLAGS
10695     save_libdir=$libdir
10696     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10697          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10698     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10699 /* end confdefs.h.  */
10700
10701 int
10702 main ()
10703 {
10704
10705   ;
10706   return 0;
10707 }
10708 _ACEOF
10709 if ac_fn_c_try_link "$LINENO"; then :
10710   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10711   lt_cv_shlibpath_overrides_runpath=yes
10712 fi
10713 fi
10714 rm -f core conftest.err conftest.$ac_objext \
10715     conftest$ac_exeext conftest.$ac_ext
10716     LDFLAGS=$save_LDFLAGS
10717     libdir=$save_libdir
10718
10719 fi
10720
10721   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10722
10723   # This implies no fast_install, which is unacceptable.
10724   # Some rework will be needed to allow for fast_install
10725   # before this can be enabled.
10726   hardcode_into_libs=yes
10727
10728   # Append ld.so.conf contents to the search path
10729   if test -f /etc/ld.so.conf; then
10730     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' ' '`
10731     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10732   fi
10733
10734   # We used to test for /lib/ld.so.1 and disable shared libraries on
10735   # powerpc, because MkLinux only supported shared libraries with the
10736   # GNU dynamic linker.  Since this was broken with cross compilers,
10737   # most powerpc-linux boxes support dynamic linking these days and
10738   # people can always --disable-shared, the test was removed, and we
10739   # assume the GNU/Linux dynamic linker is in use.
10740   dynamic_linker='GNU/Linux ld.so'
10741   ;;
10742
10743 netbsdelf*-gnu)
10744   version_type=linux
10745   need_lib_prefix=no
10746   need_version=no
10747   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10748   soname_spec='${libname}${release}${shared_ext}$major'
10749   shlibpath_var=LD_LIBRARY_PATH
10750   shlibpath_overrides_runpath=no
10751   hardcode_into_libs=yes
10752   dynamic_linker='NetBSD ld.elf_so'
10753   ;;
10754
10755 netbsd*)
10756   version_type=sunos
10757   need_lib_prefix=no
10758   need_version=no
10759   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10760     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10761     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10762     dynamic_linker='NetBSD (a.out) ld.so'
10763   else
10764     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10765     soname_spec='${libname}${release}${shared_ext}$major'
10766     dynamic_linker='NetBSD ld.elf_so'
10767   fi
10768   shlibpath_var=LD_LIBRARY_PATH
10769   shlibpath_overrides_runpath=yes
10770   hardcode_into_libs=yes
10771   ;;
10772
10773 newsos6)
10774   version_type=linux # correct to gnu/linux during the next big refactor
10775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10776   shlibpath_var=LD_LIBRARY_PATH
10777   shlibpath_overrides_runpath=yes
10778   ;;
10779
10780 *nto* | *qnx*)
10781   version_type=qnx
10782   need_lib_prefix=no
10783   need_version=no
10784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10785   soname_spec='${libname}${release}${shared_ext}$major'
10786   shlibpath_var=LD_LIBRARY_PATH
10787   shlibpath_overrides_runpath=no
10788   hardcode_into_libs=yes
10789   dynamic_linker='ldqnx.so'
10790   ;;
10791
10792 openbsd*)
10793   version_type=sunos
10794   sys_lib_dlsearch_path_spec="/usr/lib"
10795   need_lib_prefix=no
10796   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10797   case $host_os in
10798     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10799     *)                          need_version=no  ;;
10800   esac
10801   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10802   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10803   shlibpath_var=LD_LIBRARY_PATH
10804   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10805     case $host_os in
10806       openbsd2.[89] | openbsd2.[89].*)
10807         shlibpath_overrides_runpath=no
10808         ;;
10809       *)
10810         shlibpath_overrides_runpath=yes
10811         ;;
10812       esac
10813   else
10814     shlibpath_overrides_runpath=yes
10815   fi
10816   ;;
10817
10818 os2*)
10819   libname_spec='$name'
10820   shrext_cmds=".dll"
10821   need_lib_prefix=no
10822   library_names_spec='$libname${shared_ext} $libname.a'
10823   dynamic_linker='OS/2 ld.exe'
10824   shlibpath_var=LIBPATH
10825   ;;
10826
10827 osf3* | osf4* | osf5*)
10828   version_type=osf
10829   need_lib_prefix=no
10830   need_version=no
10831   soname_spec='${libname}${release}${shared_ext}$major'
10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833   shlibpath_var=LD_LIBRARY_PATH
10834   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10835   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10836   ;;
10837
10838 rdos*)
10839   dynamic_linker=no
10840   ;;
10841
10842 solaris*)
10843   version_type=linux # correct to gnu/linux during the next big refactor
10844   need_lib_prefix=no
10845   need_version=no
10846   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847   soname_spec='${libname}${release}${shared_ext}$major'
10848   shlibpath_var=LD_LIBRARY_PATH
10849   shlibpath_overrides_runpath=yes
10850   hardcode_into_libs=yes
10851   # ldd complains unless libraries are executable
10852   postinstall_cmds='chmod +x $lib'
10853   ;;
10854
10855 sunos4*)
10856   version_type=sunos
10857   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10858   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10859   shlibpath_var=LD_LIBRARY_PATH
10860   shlibpath_overrides_runpath=yes
10861   if test "$with_gnu_ld" = yes; then
10862     need_lib_prefix=no
10863   fi
10864   need_version=yes
10865   ;;
10866
10867 sysv4 | sysv4.3*)
10868   version_type=linux # correct to gnu/linux during the next big refactor
10869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10870   soname_spec='${libname}${release}${shared_ext}$major'
10871   shlibpath_var=LD_LIBRARY_PATH
10872   case $host_vendor in
10873     sni)
10874       shlibpath_overrides_runpath=no
10875       need_lib_prefix=no
10876       runpath_var=LD_RUN_PATH
10877       ;;
10878     siemens)
10879       need_lib_prefix=no
10880       ;;
10881     motorola)
10882       need_lib_prefix=no
10883       need_version=no
10884       shlibpath_overrides_runpath=no
10885       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10886       ;;
10887   esac
10888   ;;
10889
10890 sysv4*MP*)
10891   if test -d /usr/nec ;then
10892     version_type=linux # correct to gnu/linux during the next big refactor
10893     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10894     soname_spec='$libname${shared_ext}.$major'
10895     shlibpath_var=LD_LIBRARY_PATH
10896   fi
10897   ;;
10898
10899 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10900   version_type=freebsd-elf
10901   need_lib_prefix=no
10902   need_version=no
10903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10904   soname_spec='${libname}${release}${shared_ext}$major'
10905   shlibpath_var=LD_LIBRARY_PATH
10906   shlibpath_overrides_runpath=yes
10907   hardcode_into_libs=yes
10908   if test "$with_gnu_ld" = yes; then
10909     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10910   else
10911     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10912     case $host_os in
10913       sco3.2v5*)
10914         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10915         ;;
10916     esac
10917   fi
10918   sys_lib_dlsearch_path_spec='/usr/lib'
10919   ;;
10920
10921 tpf*)
10922   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10923   version_type=linux # correct to gnu/linux during the next big refactor
10924   need_lib_prefix=no
10925   need_version=no
10926   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10927   shlibpath_var=LD_LIBRARY_PATH
10928   shlibpath_overrides_runpath=no
10929   hardcode_into_libs=yes
10930   ;;
10931
10932 uts4*)
10933   version_type=linux # correct to gnu/linux during the next big refactor
10934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10935   soname_spec='${libname}${release}${shared_ext}$major'
10936   shlibpath_var=LD_LIBRARY_PATH
10937   ;;
10938
10939 *)
10940   dynamic_linker=no
10941   ;;
10942 esac
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10944 $as_echo "$dynamic_linker" >&6; }
10945 test "$dynamic_linker" = no && can_build_shared=no
10946
10947 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10948 if test "$GCC" = yes; then
10949   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10950 fi
10951
10952 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10953   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10954 fi
10955 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10956   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10957 fi
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11051 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11052 hardcode_action=
11053 if test -n "$hardcode_libdir_flag_spec" ||
11054    test -n "$runpath_var" ||
11055    test "X$hardcode_automatic" = "Xyes" ; then
11056
11057   # We can hardcode non-existent directories.
11058   if test "$hardcode_direct" != no &&
11059      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11060      # have to relink, otherwise we might link with an installed library
11061      # when we should be linking with a yet-to-be-installed one
11062      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11063      test "$hardcode_minus_L" != no; then
11064     # Linking always hardcodes the temporary library directory.
11065     hardcode_action=relink
11066   else
11067     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11068     hardcode_action=immediate
11069   fi
11070 else
11071   # We cannot hardcode anything, or else we can only hardcode existing
11072   # directories.
11073   hardcode_action=unsupported
11074 fi
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11076 $as_echo "$hardcode_action" >&6; }
11077
11078 if test "$hardcode_action" = relink ||
11079    test "$inherit_rpath" = yes; then
11080   # Fast installation is not supported
11081   enable_fast_install=no
11082 elif test "$shlibpath_overrides_runpath" = yes ||
11083      test "$enable_shared" = no; then
11084   # Fast installation is not necessary
11085   enable_fast_install=needless
11086 fi
11087
11088
11089
11090
11091
11092
11093   if test "x$enable_dlopen" != xyes; then
11094   enable_dlopen=unknown
11095   enable_dlopen_self=unknown
11096   enable_dlopen_self_static=unknown
11097 else
11098   lt_cv_dlopen=no
11099   lt_cv_dlopen_libs=
11100
11101   case $host_os in
11102   beos*)
11103     lt_cv_dlopen="load_add_on"
11104     lt_cv_dlopen_libs=
11105     lt_cv_dlopen_self=yes
11106     ;;
11107
11108   mingw* | pw32* | cegcc*)
11109     lt_cv_dlopen="LoadLibrary"
11110     lt_cv_dlopen_libs=
11111     ;;
11112
11113   cygwin*)
11114     lt_cv_dlopen="dlopen"
11115     lt_cv_dlopen_libs=
11116     ;;
11117
11118   darwin*)
11119   # if libdl is installed we need to link against it
11120     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11121 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11122 if ${ac_cv_lib_dl_dlopen+:} false; then :
11123   $as_echo_n "(cached) " >&6
11124 else
11125   ac_check_lib_save_LIBS=$LIBS
11126 LIBS="-ldl  $LIBS"
11127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11128 /* end confdefs.h.  */
11129
11130 /* Override any GCC internal prototype to avoid an error.
11131    Use char because int might match the return type of a GCC
11132    builtin and then its argument prototype would still apply.  */
11133 #ifdef __cplusplus
11134 extern "C"
11135 #endif
11136 char dlopen ();
11137 int
11138 main ()
11139 {
11140 return dlopen ();
11141   ;
11142   return 0;
11143 }
11144 _ACEOF
11145 if ac_fn_c_try_link "$LINENO"; then :
11146   ac_cv_lib_dl_dlopen=yes
11147 else
11148   ac_cv_lib_dl_dlopen=no
11149 fi
11150 rm -f core conftest.err conftest.$ac_objext \
11151     conftest$ac_exeext conftest.$ac_ext
11152 LIBS=$ac_check_lib_save_LIBS
11153 fi
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11155 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11156 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11157   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11158 else
11159
11160     lt_cv_dlopen="dyld"
11161     lt_cv_dlopen_libs=
11162     lt_cv_dlopen_self=yes
11163
11164 fi
11165
11166     ;;
11167
11168   *)
11169     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11170 if test "x$ac_cv_func_shl_load" = xyes; then :
11171   lt_cv_dlopen="shl_load"
11172 else
11173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11174 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11175 if ${ac_cv_lib_dld_shl_load+:} false; then :
11176   $as_echo_n "(cached) " >&6
11177 else
11178   ac_check_lib_save_LIBS=$LIBS
11179 LIBS="-ldld  $LIBS"
11180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11181 /* end confdefs.h.  */
11182
11183 /* Override any GCC internal prototype to avoid an error.
11184    Use char because int might match the return type of a GCC
11185    builtin and then its argument prototype would still apply.  */
11186 #ifdef __cplusplus
11187 extern "C"
11188 #endif
11189 char shl_load ();
11190 int
11191 main ()
11192 {
11193 return shl_load ();
11194   ;
11195   return 0;
11196 }
11197 _ACEOF
11198 if ac_fn_c_try_link "$LINENO"; then :
11199   ac_cv_lib_dld_shl_load=yes
11200 else
11201   ac_cv_lib_dld_shl_load=no
11202 fi
11203 rm -f core conftest.err conftest.$ac_objext \
11204     conftest$ac_exeext conftest.$ac_ext
11205 LIBS=$ac_check_lib_save_LIBS
11206 fi
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11208 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11209 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11210   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11211 else
11212   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11213 if test "x$ac_cv_func_dlopen" = xyes; then :
11214   lt_cv_dlopen="dlopen"
11215 else
11216   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if ${ac_cv_lib_dl_dlopen+:} false; then :
11219   $as_echo_n "(cached) " >&6
11220 else
11221   ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-ldl  $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h.  */
11225
11226 /* Override any GCC internal prototype to avoid an error.
11227    Use char because int might match the return type of a GCC
11228    builtin and then its argument prototype would still apply.  */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char dlopen ();
11233 int
11234 main ()
11235 {
11236 return dlopen ();
11237   ;
11238   return 0;
11239 }
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242   ac_cv_lib_dl_dlopen=yes
11243 else
11244   ac_cv_lib_dl_dlopen=no
11245 fi
11246 rm -f core conftest.err conftest.$ac_objext \
11247     conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11249 fi
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11251 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11252 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11253   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11254 else
11255   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11256 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11257 if ${ac_cv_lib_svld_dlopen+:} false; then :
11258   $as_echo_n "(cached) " >&6
11259 else
11260   ac_check_lib_save_LIBS=$LIBS
11261 LIBS="-lsvld  $LIBS"
11262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11263 /* end confdefs.h.  */
11264
11265 /* Override any GCC internal prototype to avoid an error.
11266    Use char because int might match the return type of a GCC
11267    builtin and then its argument prototype would still apply.  */
11268 #ifdef __cplusplus
11269 extern "C"
11270 #endif
11271 char dlopen ();
11272 int
11273 main ()
11274 {
11275 return dlopen ();
11276   ;
11277   return 0;
11278 }
11279 _ACEOF
11280 if ac_fn_c_try_link "$LINENO"; then :
11281   ac_cv_lib_svld_dlopen=yes
11282 else
11283   ac_cv_lib_svld_dlopen=no
11284 fi
11285 rm -f core conftest.err conftest.$ac_objext \
11286     conftest$ac_exeext conftest.$ac_ext
11287 LIBS=$ac_check_lib_save_LIBS
11288 fi
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11290 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11291 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11292   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11293 else
11294   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11295 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11296 if ${ac_cv_lib_dld_dld_link+:} false; then :
11297   $as_echo_n "(cached) " >&6
11298 else
11299   ac_check_lib_save_LIBS=$LIBS
11300 LIBS="-ldld  $LIBS"
11301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11302 /* end confdefs.h.  */
11303
11304 /* Override any GCC internal prototype to avoid an error.
11305    Use char because int might match the return type of a GCC
11306    builtin and then its argument prototype would still apply.  */
11307 #ifdef __cplusplus
11308 extern "C"
11309 #endif
11310 char dld_link ();
11311 int
11312 main ()
11313 {
11314 return dld_link ();
11315   ;
11316   return 0;
11317 }
11318 _ACEOF
11319 if ac_fn_c_try_link "$LINENO"; then :
11320   ac_cv_lib_dld_dld_link=yes
11321 else
11322   ac_cv_lib_dld_dld_link=no
11323 fi
11324 rm -f core conftest.err conftest.$ac_objext \
11325     conftest$ac_exeext conftest.$ac_ext
11326 LIBS=$ac_check_lib_save_LIBS
11327 fi
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11329 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11330 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11331   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11332 fi
11333
11334
11335 fi
11336
11337
11338 fi
11339
11340
11341 fi
11342
11343
11344 fi
11345
11346
11347 fi
11348
11349     ;;
11350   esac
11351
11352   if test "x$lt_cv_dlopen" != xno; then
11353     enable_dlopen=yes
11354   else
11355     enable_dlopen=no
11356   fi
11357
11358   case $lt_cv_dlopen in
11359   dlopen)
11360     save_CPPFLAGS="$CPPFLAGS"
11361     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11362
11363     save_LDFLAGS="$LDFLAGS"
11364     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11365
11366     save_LIBS="$LIBS"
11367     LIBS="$lt_cv_dlopen_libs $LIBS"
11368
11369     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11370 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11371 if ${lt_cv_dlopen_self+:} false; then :
11372   $as_echo_n "(cached) " >&6
11373 else
11374           if test "$cross_compiling" = yes; then :
11375   lt_cv_dlopen_self=cross
11376 else
11377   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11378   lt_status=$lt_dlunknown
11379   cat > conftest.$ac_ext <<_LT_EOF
11380 #line $LINENO "configure"
11381 #include "confdefs.h"
11382
11383 #if HAVE_DLFCN_H
11384 #include <dlfcn.h>
11385 #endif
11386
11387 #include <stdio.h>
11388
11389 #ifdef RTLD_GLOBAL
11390 #  define LT_DLGLOBAL           RTLD_GLOBAL
11391 #else
11392 #  ifdef DL_GLOBAL
11393 #    define LT_DLGLOBAL         DL_GLOBAL
11394 #  else
11395 #    define LT_DLGLOBAL         0
11396 #  endif
11397 #endif
11398
11399 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11400    find out it does not work in some platform. */
11401 #ifndef LT_DLLAZY_OR_NOW
11402 #  ifdef RTLD_LAZY
11403 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11404 #  else
11405 #    ifdef DL_LAZY
11406 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11407 #    else
11408 #      ifdef RTLD_NOW
11409 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11410 #      else
11411 #        ifdef DL_NOW
11412 #          define LT_DLLAZY_OR_NOW      DL_NOW
11413 #        else
11414 #          define LT_DLLAZY_OR_NOW      0
11415 #        endif
11416 #      endif
11417 #    endif
11418 #  endif
11419 #endif
11420
11421 /* When -fvisbility=hidden is used, assume the code has been annotated
11422    correspondingly for the symbols needed.  */
11423 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11424 int fnord () __attribute__((visibility("default")));
11425 #endif
11426
11427 int fnord () { return 42; }
11428 int main ()
11429 {
11430   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11431   int status = $lt_dlunknown;
11432
11433   if (self)
11434     {
11435       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11436       else
11437         {
11438           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11439           else puts (dlerror ());
11440         }
11441       /* dlclose (self); */
11442     }
11443   else
11444     puts (dlerror ());
11445
11446   return status;
11447 }
11448 _LT_EOF
11449   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11450   (eval $ac_link) 2>&5
11451   ac_status=$?
11452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11453   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11454     (./conftest; exit; ) >&5 2>/dev/null
11455     lt_status=$?
11456     case x$lt_status in
11457       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11458       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11459       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11460     esac
11461   else :
11462     # compilation failed
11463     lt_cv_dlopen_self=no
11464   fi
11465 fi
11466 rm -fr conftest*
11467
11468
11469 fi
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11471 $as_echo "$lt_cv_dlopen_self" >&6; }
11472
11473     if test "x$lt_cv_dlopen_self" = xyes; then
11474       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11475       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11476 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11477 if ${lt_cv_dlopen_self_static+:} false; then :
11478   $as_echo_n "(cached) " >&6
11479 else
11480           if test "$cross_compiling" = yes; then :
11481   lt_cv_dlopen_self_static=cross
11482 else
11483   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11484   lt_status=$lt_dlunknown
11485   cat > conftest.$ac_ext <<_LT_EOF
11486 #line $LINENO "configure"
11487 #include "confdefs.h"
11488
11489 #if HAVE_DLFCN_H
11490 #include <dlfcn.h>
11491 #endif
11492
11493 #include <stdio.h>
11494
11495 #ifdef RTLD_GLOBAL
11496 #  define LT_DLGLOBAL           RTLD_GLOBAL
11497 #else
11498 #  ifdef DL_GLOBAL
11499 #    define LT_DLGLOBAL         DL_GLOBAL
11500 #  else
11501 #    define LT_DLGLOBAL         0
11502 #  endif
11503 #endif
11504
11505 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11506    find out it does not work in some platform. */
11507 #ifndef LT_DLLAZY_OR_NOW
11508 #  ifdef RTLD_LAZY
11509 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11510 #  else
11511 #    ifdef DL_LAZY
11512 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11513 #    else
11514 #      ifdef RTLD_NOW
11515 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11516 #      else
11517 #        ifdef DL_NOW
11518 #          define LT_DLLAZY_OR_NOW      DL_NOW
11519 #        else
11520 #          define LT_DLLAZY_OR_NOW      0
11521 #        endif
11522 #      endif
11523 #    endif
11524 #  endif
11525 #endif
11526
11527 /* When -fvisbility=hidden is used, assume the code has been annotated
11528    correspondingly for the symbols needed.  */
11529 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11530 int fnord () __attribute__((visibility("default")));
11531 #endif
11532
11533 int fnord () { return 42; }
11534 int main ()
11535 {
11536   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11537   int status = $lt_dlunknown;
11538
11539   if (self)
11540     {
11541       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11542       else
11543         {
11544           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11545           else puts (dlerror ());
11546         }
11547       /* dlclose (self); */
11548     }
11549   else
11550     puts (dlerror ());
11551
11552   return status;
11553 }
11554 _LT_EOF
11555   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11556   (eval $ac_link) 2>&5
11557   ac_status=$?
11558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11559   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11560     (./conftest; exit; ) >&5 2>/dev/null
11561     lt_status=$?
11562     case x$lt_status in
11563       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11564       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11565       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11566     esac
11567   else :
11568     # compilation failed
11569     lt_cv_dlopen_self_static=no
11570   fi
11571 fi
11572 rm -fr conftest*
11573
11574
11575 fi
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11577 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11578     fi
11579
11580     CPPFLAGS="$save_CPPFLAGS"
11581     LDFLAGS="$save_LDFLAGS"
11582     LIBS="$save_LIBS"
11583     ;;
11584   esac
11585
11586   case $lt_cv_dlopen_self in
11587   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11588   *) enable_dlopen_self=unknown ;;
11589   esac
11590
11591   case $lt_cv_dlopen_self_static in
11592   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11593   *) enable_dlopen_self_static=unknown ;;
11594   esac
11595 fi
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613 striplib=
11614 old_striplib=
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11616 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11617 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11618   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11619   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11621 $as_echo "yes" >&6; }
11622 else
11623 # FIXME - insert some real tests, host_os isn't really good enough
11624   case $host_os in
11625   darwin*)
11626     if test -n "$STRIP" ; then
11627       striplib="$STRIP -x"
11628       old_striplib="$STRIP -S"
11629       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11630 $as_echo "yes" >&6; }
11631     else
11632       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11633 $as_echo "no" >&6; }
11634     fi
11635     ;;
11636   *)
11637     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11638 $as_echo "no" >&6; }
11639     ;;
11640   esac
11641 fi
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654   # Report which library types will actually be built
11655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11656 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11658 $as_echo "$can_build_shared" >&6; }
11659
11660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11661 $as_echo_n "checking whether to build shared libraries... " >&6; }
11662   test "$can_build_shared" = "no" && enable_shared=no
11663
11664   # On AIX, shared libraries and static libraries use the same namespace, and
11665   # are all built from PIC.
11666   case $host_os in
11667   aix3*)
11668     test "$enable_shared" = yes && enable_static=no
11669     if test -n "$RANLIB"; then
11670       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11671       postinstall_cmds='$RANLIB $lib'
11672     fi
11673     ;;
11674
11675   aix[4-9]*)
11676     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11677       test "$enable_shared" = yes && enable_static=no
11678     fi
11679     ;;
11680   esac
11681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11682 $as_echo "$enable_shared" >&6; }
11683
11684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11685 $as_echo_n "checking whether to build static libraries... " >&6; }
11686   # Make sure either enable_shared or enable_static is yes.
11687   test "$enable_shared" = yes || enable_static=yes
11688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11689 $as_echo "$enable_static" >&6; }
11690
11691
11692
11693
11694 fi
11695 ac_ext=c
11696 ac_cpp='$CPP $CPPFLAGS'
11697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11700
11701 CC="$lt_save_CC"
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717         ac_config_commands="$ac_config_commands libtool"
11718
11719
11720
11721
11722 # Only expand once:
11723
11724
11725
11726 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11727 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11728
11729
11730
11731 cat >>confdefs.h <<_ACEOF
11732 #define VMAJ 1
11733 _ACEOF
11734
11735
11736 cat >>confdefs.h <<_ACEOF
11737 #define VMIN 7
11738 _ACEOF
11739
11740
11741 cat >>confdefs.h <<_ACEOF
11742 #define VMIC 4
11743 _ACEOF
11744
11745
11746 cat >>confdefs.h <<_ACEOF
11747 #define VREV 0
11748 _ACEOF
11749
11750 version_info="8:4:7"
11751 release_info=""
11752
11753
11754 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11755 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
11756 VMAJ=1
11757
11758
11759 ### Default options with respect to host
11760
11761
11762
11763
11764 requirement_embryo=""
11765 embryoincludedir="${datadir}/include"
11766
11767
11768 ### Additional options to configure
11769
11770
11771
11772
11773 have_embryo_cc="yes"
11774
11775
11776 # Check whether --enable-embryo-cc was given.
11777 if test "${enable_embryo_cc+set}" = set; then :
11778   enableval=$enable_embryo_cc;
11779     if test "x${enableval}" = "xyes" ; then
11780        have_embryo_cc="yes"
11781     else
11782        have_embryo_cc="no"
11783     fi
11784
11785 fi
11786
11787
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build embryo_cc binary" >&5
11789 $as_echo_n "checking whether to build embryo_cc binary... " >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_embryo_cc" >&5
11791 $as_echo "$have_embryo_cc" >&6; }
11792
11793 if test "x$have_embryo_cc" = "xyes"; then
11794    EMBRYO_CC_PRG=embryo_cc${EXEEXT}
11795 fi
11796
11797
11798
11799  if test "x$have_embryo_cc" = "xyes"; then
11800   BUILD_EMBRYO_CC_TRUE=
11801   BUILD_EMBRYO_CC_FALSE='#'
11802 else
11803   BUILD_EMBRYO_CC_TRUE='#'
11804   BUILD_EMBRYO_CC_FALSE=
11805 fi
11806
11807
11808 if test "x$have_embryo_cc" = "xyes"; then :
11809
11810 fi
11811
11812
11813
11814
11815 ### Checks for programs
11816 ac_ext=c
11817 ac_cpp='$CPP $CPPFLAGS'
11818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11821 if test -n "$ac_tool_prefix"; then
11822   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11823 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11825 $as_echo_n "checking for $ac_word... " >&6; }
11826 if ${ac_cv_prog_CC+:} false; then :
11827   $as_echo_n "(cached) " >&6
11828 else
11829   if test -n "$CC"; then
11830   ac_cv_prog_CC="$CC" # Let the user override the test.
11831 else
11832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11833 for as_dir in $PATH
11834 do
11835   IFS=$as_save_IFS
11836   test -z "$as_dir" && as_dir=.
11837     for ac_exec_ext in '' $ac_executable_extensions; do
11838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11839     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11841     break 2
11842   fi
11843 done
11844   done
11845 IFS=$as_save_IFS
11846
11847 fi
11848 fi
11849 CC=$ac_cv_prog_CC
11850 if test -n "$CC"; then
11851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11852 $as_echo "$CC" >&6; }
11853 else
11854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11856 fi
11857
11858
11859 fi
11860 if test -z "$ac_cv_prog_CC"; then
11861   ac_ct_CC=$CC
11862   # Extract the first word of "gcc", so it can be a program name with args.
11863 set dummy gcc; ac_word=$2
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865 $as_echo_n "checking for $ac_word... " >&6; }
11866 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11867   $as_echo_n "(cached) " >&6
11868 else
11869   if test -n "$ac_ct_CC"; then
11870   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11871 else
11872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11873 for as_dir in $PATH
11874 do
11875   IFS=$as_save_IFS
11876   test -z "$as_dir" && as_dir=.
11877     for ac_exec_ext in '' $ac_executable_extensions; do
11878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11879     ac_cv_prog_ac_ct_CC="gcc"
11880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11881     break 2
11882   fi
11883 done
11884   done
11885 IFS=$as_save_IFS
11886
11887 fi
11888 fi
11889 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11890 if test -n "$ac_ct_CC"; then
11891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11892 $as_echo "$ac_ct_CC" >&6; }
11893 else
11894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11895 $as_echo "no" >&6; }
11896 fi
11897
11898   if test "x$ac_ct_CC" = x; then
11899     CC=""
11900   else
11901     case $cross_compiling:$ac_tool_warned in
11902 yes:)
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11905 ac_tool_warned=yes ;;
11906 esac
11907     CC=$ac_ct_CC
11908   fi
11909 else
11910   CC="$ac_cv_prog_CC"
11911 fi
11912
11913 if test -z "$CC"; then
11914           if test -n "$ac_tool_prefix"; then
11915     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11916 set dummy ${ac_tool_prefix}cc; ac_word=$2
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11918 $as_echo_n "checking for $ac_word... " >&6; }
11919 if ${ac_cv_prog_CC+:} false; then :
11920   $as_echo_n "(cached) " >&6
11921 else
11922   if test -n "$CC"; then
11923   ac_cv_prog_CC="$CC" # Let the user override the test.
11924 else
11925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11927 do
11928   IFS=$as_save_IFS
11929   test -z "$as_dir" && as_dir=.
11930     for ac_exec_ext in '' $ac_executable_extensions; do
11931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11932     ac_cv_prog_CC="${ac_tool_prefix}cc"
11933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11934     break 2
11935   fi
11936 done
11937   done
11938 IFS=$as_save_IFS
11939
11940 fi
11941 fi
11942 CC=$ac_cv_prog_CC
11943 if test -n "$CC"; then
11944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11945 $as_echo "$CC" >&6; }
11946 else
11947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11948 $as_echo "no" >&6; }
11949 fi
11950
11951
11952   fi
11953 fi
11954 if test -z "$CC"; then
11955   # Extract the first word of "cc", so it can be a program name with args.
11956 set dummy cc; ac_word=$2
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11958 $as_echo_n "checking for $ac_word... " >&6; }
11959 if ${ac_cv_prog_CC+:} false; then :
11960   $as_echo_n "(cached) " >&6
11961 else
11962   if test -n "$CC"; then
11963   ac_cv_prog_CC="$CC" # Let the user override the test.
11964 else
11965   ac_prog_rejected=no
11966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11967 for as_dir in $PATH
11968 do
11969   IFS=$as_save_IFS
11970   test -z "$as_dir" && as_dir=.
11971     for ac_exec_ext in '' $ac_executable_extensions; do
11972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11973     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11974        ac_prog_rejected=yes
11975        continue
11976      fi
11977     ac_cv_prog_CC="cc"
11978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11979     break 2
11980   fi
11981 done
11982   done
11983 IFS=$as_save_IFS
11984
11985 if test $ac_prog_rejected = yes; then
11986   # We found a bogon in the path, so make sure we never use it.
11987   set dummy $ac_cv_prog_CC
11988   shift
11989   if test $# != 0; then
11990     # We chose a different compiler from the bogus one.
11991     # However, it has the same basename, so the bogon will be chosen
11992     # first if we set CC to just the basename; use the full file name.
11993     shift
11994     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11995   fi
11996 fi
11997 fi
11998 fi
11999 CC=$ac_cv_prog_CC
12000 if test -n "$CC"; then
12001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12002 $as_echo "$CC" >&6; }
12003 else
12004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12005 $as_echo "no" >&6; }
12006 fi
12007
12008
12009 fi
12010 if test -z "$CC"; then
12011   if test -n "$ac_tool_prefix"; then
12012   for ac_prog in cl.exe
12013   do
12014     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12015 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12017 $as_echo_n "checking for $ac_word... " >&6; }
12018 if ${ac_cv_prog_CC+:} false; then :
12019   $as_echo_n "(cached) " >&6
12020 else
12021   if test -n "$CC"; then
12022   ac_cv_prog_CC="$CC" # Let the user override the test.
12023 else
12024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025 for as_dir in $PATH
12026 do
12027   IFS=$as_save_IFS
12028   test -z "$as_dir" && as_dir=.
12029     for ac_exec_ext in '' $ac_executable_extensions; do
12030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12031     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12033     break 2
12034   fi
12035 done
12036   done
12037 IFS=$as_save_IFS
12038
12039 fi
12040 fi
12041 CC=$ac_cv_prog_CC
12042 if test -n "$CC"; then
12043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12044 $as_echo "$CC" >&6; }
12045 else
12046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12047 $as_echo "no" >&6; }
12048 fi
12049
12050
12051     test -n "$CC" && break
12052   done
12053 fi
12054 if test -z "$CC"; then
12055   ac_ct_CC=$CC
12056   for ac_prog in cl.exe
12057 do
12058   # Extract the first word of "$ac_prog", so it can be a program name with args.
12059 set dummy $ac_prog; ac_word=$2
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12061 $as_echo_n "checking for $ac_word... " >&6; }
12062 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12063   $as_echo_n "(cached) " >&6
12064 else
12065   if test -n "$ac_ct_CC"; then
12066   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12067 else
12068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12069 for as_dir in $PATH
12070 do
12071   IFS=$as_save_IFS
12072   test -z "$as_dir" && as_dir=.
12073     for ac_exec_ext in '' $ac_executable_extensions; do
12074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12075     ac_cv_prog_ac_ct_CC="$ac_prog"
12076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12077     break 2
12078   fi
12079 done
12080   done
12081 IFS=$as_save_IFS
12082
12083 fi
12084 fi
12085 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12086 if test -n "$ac_ct_CC"; then
12087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12088 $as_echo "$ac_ct_CC" >&6; }
12089 else
12090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12091 $as_echo "no" >&6; }
12092 fi
12093
12094
12095   test -n "$ac_ct_CC" && break
12096 done
12097
12098   if test "x$ac_ct_CC" = x; then
12099     CC=""
12100   else
12101     case $cross_compiling:$ac_tool_warned in
12102 yes:)
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12105 ac_tool_warned=yes ;;
12106 esac
12107     CC=$ac_ct_CC
12108   fi
12109 fi
12110
12111 fi
12112
12113
12114 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12116 as_fn_error $? "no acceptable C compiler found in \$PATH
12117 See \`config.log' for more details" "$LINENO" 5; }
12118
12119 # Provide some information about the compiler.
12120 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12121 set X $ac_compile
12122 ac_compiler=$2
12123 for ac_option in --version -v -V -qversion; do
12124   { { ac_try="$ac_compiler $ac_option >&5"
12125 case "(($ac_try" in
12126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12127   *) ac_try_echo=$ac_try;;
12128 esac
12129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12130 $as_echo "$ac_try_echo"; } >&5
12131   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12132   ac_status=$?
12133   if test -s conftest.err; then
12134     sed '10a\
12135 ... rest of stderr output deleted ...
12136          10q' conftest.err >conftest.er1
12137     cat conftest.er1 >&5
12138   fi
12139   rm -f conftest.er1 conftest.err
12140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12141   test $ac_status = 0; }
12142 done
12143
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12145 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12146 if ${ac_cv_c_compiler_gnu+:} false; then :
12147   $as_echo_n "(cached) " >&6
12148 else
12149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h.  */
12151
12152 int
12153 main ()
12154 {
12155 #ifndef __GNUC__
12156        choke me
12157 #endif
12158
12159   ;
12160   return 0;
12161 }
12162 _ACEOF
12163 if ac_fn_c_try_compile "$LINENO"; then :
12164   ac_compiler_gnu=yes
12165 else
12166   ac_compiler_gnu=no
12167 fi
12168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12169 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12170
12171 fi
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12173 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12174 if test $ac_compiler_gnu = yes; then
12175   GCC=yes
12176 else
12177   GCC=
12178 fi
12179 ac_test_CFLAGS=${CFLAGS+set}
12180 ac_save_CFLAGS=$CFLAGS
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12182 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12183 if ${ac_cv_prog_cc_g+:} false; then :
12184   $as_echo_n "(cached) " >&6
12185 else
12186   ac_save_c_werror_flag=$ac_c_werror_flag
12187    ac_c_werror_flag=yes
12188    ac_cv_prog_cc_g=no
12189    CFLAGS="-g"
12190    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12191 /* end confdefs.h.  */
12192
12193 int
12194 main ()
12195 {
12196
12197   ;
12198   return 0;
12199 }
12200 _ACEOF
12201 if ac_fn_c_try_compile "$LINENO"; then :
12202   ac_cv_prog_cc_g=yes
12203 else
12204   CFLAGS=""
12205       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12206 /* end confdefs.h.  */
12207
12208 int
12209 main ()
12210 {
12211
12212   ;
12213   return 0;
12214 }
12215 _ACEOF
12216 if ac_fn_c_try_compile "$LINENO"; then :
12217
12218 else
12219   ac_c_werror_flag=$ac_save_c_werror_flag
12220          CFLAGS="-g"
12221          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12222 /* end confdefs.h.  */
12223
12224 int
12225 main ()
12226 {
12227
12228   ;
12229   return 0;
12230 }
12231 _ACEOF
12232 if ac_fn_c_try_compile "$LINENO"; then :
12233   ac_cv_prog_cc_g=yes
12234 fi
12235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12236 fi
12237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238 fi
12239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12240    ac_c_werror_flag=$ac_save_c_werror_flag
12241 fi
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12243 $as_echo "$ac_cv_prog_cc_g" >&6; }
12244 if test "$ac_test_CFLAGS" = set; then
12245   CFLAGS=$ac_save_CFLAGS
12246 elif test $ac_cv_prog_cc_g = yes; then
12247   if test "$GCC" = yes; then
12248     CFLAGS="-g -O2"
12249   else
12250     CFLAGS="-g"
12251   fi
12252 else
12253   if test "$GCC" = yes; then
12254     CFLAGS="-O2"
12255   else
12256     CFLAGS=
12257   fi
12258 fi
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12260 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12261 if ${ac_cv_prog_cc_c89+:} false; then :
12262   $as_echo_n "(cached) " >&6
12263 else
12264   ac_cv_prog_cc_c89=no
12265 ac_save_CC=$CC
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h.  */
12268 #include <stdarg.h>
12269 #include <stdio.h>
12270 #include <sys/types.h>
12271 #include <sys/stat.h>
12272 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12273 struct buf { int x; };
12274 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12275 static char *e (p, i)
12276      char **p;
12277      int i;
12278 {
12279   return p[i];
12280 }
12281 static char *f (char * (*g) (char **, int), char **p, ...)
12282 {
12283   char *s;
12284   va_list v;
12285   va_start (v,p);
12286   s = g (p, va_arg (v,int));
12287   va_end (v);
12288   return s;
12289 }
12290
12291 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12292    function prototypes and stuff, but not '\xHH' hex character constants.
12293    These don't provoke an error unfortunately, instead are silently treated
12294    as 'x'.  The following induces an error, until -std is added to get
12295    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12296    array size at least.  It's necessary to write '\x00'==0 to get something
12297    that's true only with -std.  */
12298 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12299
12300 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12301    inside strings and character constants.  */
12302 #define FOO(x) 'x'
12303 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12304
12305 int test (int i, double x);
12306 struct s1 {int (*f) (int a);};
12307 struct s2 {int (*f) (double a);};
12308 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12309 int argc;
12310 char **argv;
12311 int
12312 main ()
12313 {
12314 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12315   ;
12316   return 0;
12317 }
12318 _ACEOF
12319 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12320         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12321 do
12322   CC="$ac_save_CC $ac_arg"
12323   if ac_fn_c_try_compile "$LINENO"; then :
12324   ac_cv_prog_cc_c89=$ac_arg
12325 fi
12326 rm -f core conftest.err conftest.$ac_objext
12327   test "x$ac_cv_prog_cc_c89" != "xno" && break
12328 done
12329 rm -f conftest.$ac_ext
12330 CC=$ac_save_CC
12331
12332 fi
12333 # AC_CACHE_VAL
12334 case "x$ac_cv_prog_cc_c89" in
12335   x)
12336     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12337 $as_echo "none needed" >&6; } ;;
12338   xno)
12339     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12340 $as_echo "unsupported" >&6; } ;;
12341   *)
12342     CC="$CC $ac_cv_prog_cc_c89"
12343     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12344 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12345 esac
12346 if test "x$ac_cv_prog_cc_c89" != xno; then :
12347
12348 fi
12349
12350 ac_ext=c
12351 ac_cpp='$CPP $CPPFLAGS'
12352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12355
12356 depcc="$CC"   am_compiler_list=
12357
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12359 $as_echo_n "checking dependency style of $depcc... " >&6; }
12360 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12361   $as_echo_n "(cached) " >&6
12362 else
12363   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12364   # We make a subdir and do the tests there.  Otherwise we can end up
12365   # making bogus files that we don't know about and never remove.  For
12366   # instance it was reported that on HP-UX the gcc test will end up
12367   # making a dummy file named `D' -- because `-MD' means `put the output
12368   # in D'.
12369   rm -rf conftest.dir
12370   mkdir conftest.dir
12371   # Copy depcomp to subdir because otherwise we won't find it if we're
12372   # using a relative directory.
12373   cp "$am_depcomp" conftest.dir
12374   cd conftest.dir
12375   # We will build objects and dependencies in a subdirectory because
12376   # it helps to detect inapplicable dependency modes.  For instance
12377   # both Tru64's cc and ICC support -MD to output dependencies as a
12378   # side effect of compilation, but ICC will put the dependencies in
12379   # the current directory while Tru64 will put them in the object
12380   # directory.
12381   mkdir sub
12382
12383   am_cv_CC_dependencies_compiler_type=none
12384   if test "$am_compiler_list" = ""; then
12385      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12386   fi
12387   am__universal=false
12388   case " $depcc " in #(
12389      *\ -arch\ *\ -arch\ *) am__universal=true ;;
12390      esac
12391
12392   for depmode in $am_compiler_list; do
12393     # Setup a source with many dependencies, because some compilers
12394     # like to wrap large dependency lists on column 80 (with \), and
12395     # we should not choose a depcomp mode which is confused by this.
12396     #
12397     # We need to recreate these files for each test, as the compiler may
12398     # overwrite some of them when testing with obscure command lines.
12399     # This happens at least with the AIX C compiler.
12400     : > sub/conftest.c
12401     for i in 1 2 3 4 5 6; do
12402       echo '#include "conftst'$i'.h"' >> sub/conftest.c
12403       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12404       # Solaris 8's {/usr,}/bin/sh.
12405       touch sub/conftst$i.h
12406     done
12407     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12408
12409     # We check with `-c' and `-o' for the sake of the "dashmstdout"
12410     # mode.  It turns out that the SunPro C++ compiler does not properly
12411     # handle `-M -o', and we need to detect this.  Also, some Intel
12412     # versions had trouble with output in subdirs
12413     am__obj=sub/conftest.${OBJEXT-o}
12414     am__minus_obj="-o $am__obj"
12415     case $depmode in
12416     gcc)
12417       # This depmode causes a compiler race in universal mode.
12418       test "$am__universal" = false || continue
12419       ;;
12420     nosideeffect)
12421       # after this tag, mechanisms are not by side-effect, so they'll
12422       # only be used when explicitly requested
12423       if test "x$enable_dependency_tracking" = xyes; then
12424         continue
12425       else
12426         break
12427       fi
12428       ;;
12429     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12430       # This compiler won't grok `-c -o', but also, the minuso test has
12431       # not run yet.  These depmodes are late enough in the game, and
12432       # so weak that their functioning should not be impacted.
12433       am__obj=conftest.${OBJEXT-o}
12434       am__minus_obj=
12435       ;;
12436     none) break ;;
12437     esac
12438     if depmode=$depmode \
12439        source=sub/conftest.c object=$am__obj \
12440        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12441        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12442          >/dev/null 2>conftest.err &&
12443        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12444        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12445        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12446        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12447       # icc doesn't choke on unknown options, it will just issue warnings
12448       # or remarks (even with -Werror).  So we grep stderr for any message
12449       # that says an option was ignored or not supported.
12450       # When given -MP, icc 7.0 and 7.1 complain thusly:
12451       #   icc: Command line warning: ignoring option '-M'; no argument required
12452       # The diagnosis changed in icc 8.0:
12453       #   icc: Command line remark: option '-MP' not supported
12454       if (grep 'ignoring option' conftest.err ||
12455           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12456         am_cv_CC_dependencies_compiler_type=$depmode
12457         break
12458       fi
12459     fi
12460   done
12461
12462   cd ..
12463   rm -rf conftest.dir
12464 else
12465   am_cv_CC_dependencies_compiler_type=none
12466 fi
12467
12468 fi
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12470 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12471 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12472
12473  if
12474   test "x$enable_dependency_tracking" != xno \
12475   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12476   am__fastdepCC_TRUE=
12477   am__fastdepCC_FALSE='#'
12478 else
12479   am__fastdepCC_TRUE='#'
12480   am__fastdepCC_FALSE=
12481 fi
12482
12483
12484
12485 # doxygen program for documentation building
12486
12487
12488
12489 # Check whether --enable-doc was given.
12490 if test "${enable_doc+set}" = set; then :
12491   enableval=$enable_doc;
12492     if test "x${enableval}" = "xyes" ; then
12493        efl_enable_doc="yes"
12494     else
12495        efl_enable_doc="no"
12496     fi
12497
12498 else
12499   efl_enable_doc="yes"
12500 fi
12501
12502
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
12504 $as_echo_n "checking whether to build documentation... " >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
12506 $as_echo "${efl_enable_doc}" >&6; }
12507
12508 if test "x${efl_enable_doc}" = "xyes" ; then
12509
12510
12511    efl_doxygen="doxygen"
12512
12513
12514 # Check whether --with-doxygen was given.
12515 if test "${with_doxygen+set}" = set; then :
12516   withval=$with_doxygen;
12517       efl_doxygen=${withval}
12518        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12519 set dummy ${efl_doxygen}; ac_word=$2
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12521 $as_echo_n "checking for $ac_word... " >&6; }
12522 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12523   $as_echo_n "(cached) " >&6
12524 else
12525   if test -n "$efl_have_doxygen"; then
12526   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12527 else
12528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12529 for as_dir in $PATH
12530 do
12531   IFS=$as_save_IFS
12532   test -z "$as_dir" && as_dir=.
12533     for ac_exec_ext in '' $ac_executable_extensions; do
12534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12535     ac_cv_prog_efl_have_doxygen="yes"
12536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12537     break 2
12538   fi
12539 done
12540   done
12541 IFS=$as_save_IFS
12542
12543   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12544 fi
12545 fi
12546 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12547 if test -n "$efl_have_doxygen"; then
12548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12549 $as_echo "$efl_have_doxygen" >&6; }
12550 else
12551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12552 $as_echo "no" >&6; }
12553 fi
12554
12555
12556        if test "x${efl_have_doxygen}" = "xno" ; then
12557           echo "WARNING:"
12558           echo "The doxygen program you specified:"
12559           echo "${efl_doxygen}"
12560           echo "was not found.  Please check the path and make sure "
12561           echo "the program exists and is executable."
12562           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12563 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12564        fi
12565
12566 else
12567   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
12568 set dummy ${efl_doxygen}; ac_word=$2
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12570 $as_echo_n "checking for $ac_word... " >&6; }
12571 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
12572   $as_echo_n "(cached) " >&6
12573 else
12574   if test -n "$efl_have_doxygen"; then
12575   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
12576 else
12577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12578 for as_dir in $PATH
12579 do
12580   IFS=$as_save_IFS
12581   test -z "$as_dir" && as_dir=.
12582     for ac_exec_ext in '' $ac_executable_extensions; do
12583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12584     ac_cv_prog_efl_have_doxygen="yes"
12585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12586     break 2
12587   fi
12588 done
12589   done
12590 IFS=$as_save_IFS
12591
12592   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
12593 fi
12594 fi
12595 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
12596 if test -n "$efl_have_doxygen"; then
12597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
12598 $as_echo "$efl_have_doxygen" >&6; }
12599 else
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12601 $as_echo "no" >&6; }
12602 fi
12603
12604
12605        if test "x${efl_have_doxygen}" = "xno" ; then
12606           echo "WARNING:"
12607           echo "The doxygen program was not found in your execute path."
12608           echo "You may have doxygen installed somewhere not covered by your path."
12609           echo ""
12610           echo "If this is the case make sure you have the packages installed, AND"
12611           echo "that the doxygen program is in your execute path (see your"
12612           echo "shell manual page on setting the \$PATH environment variable), OR"
12613           echo "alternatively, specify the program to use with --with-doxygen."
12614           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
12615 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
12616        fi
12617
12618 fi
12619
12620 fi
12621
12622
12623
12624 if ! test "x${efl_have_doxygen}" = "xyes" ; then
12625    efl_enable_doc="no"
12626 fi
12627
12628  if test "x${efl_enable_doc}" = "xyes"; then
12629   EFL_BUILD_DOC_TRUE=
12630   EFL_BUILD_DOC_FALSE='#'
12631 else
12632   EFL_BUILD_DOC_TRUE='#'
12633   EFL_BUILD_DOC_FALSE=
12634 fi
12635
12636
12637 if test "x${efl_enable_doc}" = "xyes" ; then
12638   build_doc="yes"
12639 else
12640   build_doc="no"
12641 fi
12642
12643
12644
12645 # pkg-config
12646
12647
12648
12649
12650
12651
12652
12653
12654 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12655         if test -n "$ac_tool_prefix"; then
12656   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12657 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12659 $as_echo_n "checking for $ac_word... " >&6; }
12660 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12661   $as_echo_n "(cached) " >&6
12662 else
12663   case $PKG_CONFIG in
12664   [\\/]* | ?:[\\/]*)
12665   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12666   ;;
12667   *)
12668   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12669 for as_dir in $PATH
12670 do
12671   IFS=$as_save_IFS
12672   test -z "$as_dir" && as_dir=.
12673     for ac_exec_ext in '' $ac_executable_extensions; do
12674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12675     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12676     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12677     break 2
12678   fi
12679 done
12680   done
12681 IFS=$as_save_IFS
12682
12683   ;;
12684 esac
12685 fi
12686 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12687 if test -n "$PKG_CONFIG"; then
12688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12689 $as_echo "$PKG_CONFIG" >&6; }
12690 else
12691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12692 $as_echo "no" >&6; }
12693 fi
12694
12695
12696 fi
12697 if test -z "$ac_cv_path_PKG_CONFIG"; then
12698   ac_pt_PKG_CONFIG=$PKG_CONFIG
12699   # Extract the first word of "pkg-config", so it can be a program name with args.
12700 set dummy pkg-config; ac_word=$2
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12702 $as_echo_n "checking for $ac_word... " >&6; }
12703 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12704   $as_echo_n "(cached) " >&6
12705 else
12706   case $ac_pt_PKG_CONFIG in
12707   [\\/]* | ?:[\\/]*)
12708   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12709   ;;
12710   *)
12711   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12712 for as_dir in $PATH
12713 do
12714   IFS=$as_save_IFS
12715   test -z "$as_dir" && as_dir=.
12716     for ac_exec_ext in '' $ac_executable_extensions; do
12717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12718     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12720     break 2
12721   fi
12722 done
12723   done
12724 IFS=$as_save_IFS
12725
12726   ;;
12727 esac
12728 fi
12729 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12730 if test -n "$ac_pt_PKG_CONFIG"; then
12731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12732 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12733 else
12734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12735 $as_echo "no" >&6; }
12736 fi
12737
12738   if test "x$ac_pt_PKG_CONFIG" = x; then
12739     PKG_CONFIG=""
12740   else
12741     case $cross_compiling:$ac_tool_warned in
12742 yes:)
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12745 ac_tool_warned=yes ;;
12746 esac
12747     PKG_CONFIG=$ac_pt_PKG_CONFIG
12748   fi
12749 else
12750   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12751 fi
12752
12753 fi
12754 if test -n "$PKG_CONFIG"; then
12755         _pkg_min_version=0.9.0
12756         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12757 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12758         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12759                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12760 $as_echo "yes" >&6; }
12761         else
12762                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12763 $as_echo "no" >&6; }
12764                 PKG_CONFIG=""
12765         fi
12766 fi
12767
12768 # Check whether pkg-config supports Requires.private
12769 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
12770    pkgconfig_requires_private="Requires.private"
12771 else
12772    pkgconfig_requires_private="Requires"
12773 fi
12774
12775
12776
12777 ### Checks for libraries
12778
12779 # Evil library for compilation on Windows
12780
12781 EFL_EMBRYO_BUILD=""
12782 case "$host_os" in
12783    mingw*)
12784
12785 pkg_failed=no
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
12787 $as_echo_n "checking for EVIL... " >&6; }
12788
12789 if test -n "$EVIL_CFLAGS"; then
12790     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
12791  elif test -n "$PKG_CONFIG"; then
12792     if test -n "$PKG_CONFIG" && \
12793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12794   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12795   ac_status=$?
12796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12797   test $ac_status = 0; }; then
12798   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
12799                       test "x$?" != "x0" && pkg_failed=yes
12800 else
12801   pkg_failed=yes
12802 fi
12803  else
12804     pkg_failed=untried
12805 fi
12806 if test -n "$EVIL_LIBS"; then
12807     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
12808  elif test -n "$PKG_CONFIG"; then
12809     if test -n "$PKG_CONFIG" && \
12810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
12811   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
12812   ac_status=$?
12813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12814   test $ac_status = 0; }; then
12815   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
12816                       test "x$?" != "x0" && pkg_failed=yes
12817 else
12818   pkg_failed=yes
12819 fi
12820  else
12821     pkg_failed=untried
12822 fi
12823
12824
12825
12826 if test $pkg_failed = yes; then
12827         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12828 $as_echo "no" >&6; }
12829
12830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12831         _pkg_short_errors_supported=yes
12832 else
12833         _pkg_short_errors_supported=no
12834 fi
12835         if test $_pkg_short_errors_supported = yes; then
12836                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
12837         else
12838                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil >= 1.6.99" 2>&1`
12839         fi
12840         # Put the nasty error message in config.log where it belongs
12841         echo "$EVIL_PKG_ERRORS" >&5
12842
12843         as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
12844
12845 $EVIL_PKG_ERRORS
12846
12847 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12848 installed software in a non-standard prefix.
12849
12850 Alternatively, you may set the environment variables EVIL_CFLAGS
12851 and EVIL_LIBS to avoid the need to call pkg-config.
12852 See the pkg-config man page for more details." "$LINENO" 5
12853 elif test $pkg_failed = untried; then
12854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12856         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12858 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12859 is in your PATH or set the PKG_CONFIG environment variable to the full
12860 path to pkg-config.
12861
12862 Alternatively, you may set the environment variables EVIL_CFLAGS
12863 and EVIL_LIBS to avoid the need to call pkg-config.
12864 See the pkg-config man page for more details.
12865
12866 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12867 See \`config.log' for more details" "$LINENO" 5; }
12868 else
12869         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
12870         EVIL_LIBS=$pkg_cv_EVIL_LIBS
12871         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12872 $as_echo "yes" >&6; }
12873
12874 fi
12875
12876 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
12877
12878    requirement_embryo="evil ${requirement_embryo}"
12879    EFL_EMBRYO_BUILD="-DEFL_EMBRYO_BUILD"
12880    ;;
12881 esac
12882
12883
12884 # For embryo_cc_prefix.c
12885
12886 pkg_failed=no
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
12888 $as_echo_n "checking for EINA... " >&6; }
12889
12890 if test -n "$EINA_CFLAGS"; then
12891     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
12892  elif test -n "$PKG_CONFIG"; then
12893     if test -n "$PKG_CONFIG" && \
12894     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
12895   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
12896   ac_status=$?
12897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12898   test $ac_status = 0; }; then
12899   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99" 2>/dev/null`
12900                       test "x$?" != "x0" && pkg_failed=yes
12901 else
12902   pkg_failed=yes
12903 fi
12904  else
12905     pkg_failed=untried
12906 fi
12907 if test -n "$EINA_LIBS"; then
12908     pkg_cv_EINA_LIBS="$EINA_LIBS"
12909  elif test -n "$PKG_CONFIG"; then
12910     if test -n "$PKG_CONFIG" && \
12911     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
12912   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
12913   ac_status=$?
12914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12915   test $ac_status = 0; }; then
12916   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99" 2>/dev/null`
12917                       test "x$?" != "x0" && pkg_failed=yes
12918 else
12919   pkg_failed=yes
12920 fi
12921  else
12922     pkg_failed=untried
12923 fi
12924
12925
12926
12927 if test $pkg_failed = yes; then
12928         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12930
12931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12932         _pkg_short_errors_supported=yes
12933 else
12934         _pkg_short_errors_supported=no
12935 fi
12936         if test $_pkg_short_errors_supported = yes; then
12937                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
12938         else
12939                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eina >= 1.6.99" 2>&1`
12940         fi
12941         # Put the nasty error message in config.log where it belongs
12942         echo "$EINA_PKG_ERRORS" >&5
12943
12944         as_fn_error $? "Package requirements (eina >= 1.6.99) were not met:
12945
12946 $EINA_PKG_ERRORS
12947
12948 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12949 installed software in a non-standard prefix.
12950
12951 Alternatively, you may set the environment variables EINA_CFLAGS
12952 and EINA_LIBS to avoid the need to call pkg-config.
12953 See the pkg-config man page for more details." "$LINENO" 5
12954 elif test $pkg_failed = untried; then
12955         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12956 $as_echo "no" >&6; }
12957         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12959 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12960 is in your PATH or set the PKG_CONFIG environment variable to the full
12961 path to pkg-config.
12962
12963 Alternatively, you may set the environment variables EINA_CFLAGS
12964 and EINA_LIBS to avoid the need to call pkg-config.
12965 See the pkg-config man page for more details.
12966
12967 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12968 See \`config.log' for more details" "$LINENO" 5; }
12969 else
12970         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
12971         EINA_LIBS=$pkg_cv_EINA_LIBS
12972         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12973 $as_echo "yes" >&6; }
12974
12975 fi
12976
12977 ### Checks for portability layer
12978
12979
12980 pkg_failed=no
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
12982 $as_echo_n "checking for EXOTIC... " >&6; }
12983
12984 if test -n "$EXOTIC_CFLAGS"; then
12985     pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
12986  elif test -n "$PKG_CONFIG"; then
12987     if test -n "$PKG_CONFIG" && \
12988     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
12989   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
12990   ac_status=$?
12991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12992   test $ac_status = 0; }; then
12993   pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
12994                       test "x$?" != "x0" && pkg_failed=yes
12995 else
12996   pkg_failed=yes
12997 fi
12998  else
12999     pkg_failed=untried
13000 fi
13001 if test -n "$EXOTIC_LIBS"; then
13002     pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
13003  elif test -n "$PKG_CONFIG"; then
13004     if test -n "$PKG_CONFIG" && \
13005     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
13006   ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
13007   ac_status=$?
13008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13009   test $ac_status = 0; }; then
13010   pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
13011                       test "x$?" != "x0" && pkg_failed=yes
13012 else
13013   pkg_failed=yes
13014 fi
13015  else
13016     pkg_failed=untried
13017 fi
13018
13019
13020
13021 if test $pkg_failed = yes; then
13022         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13023 $as_echo "no" >&6; }
13024
13025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13026         _pkg_short_errors_supported=yes
13027 else
13028         _pkg_short_errors_supported=no
13029 fi
13030         if test $_pkg_short_errors_supported = yes; then
13031                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "exotic" 2>&1`
13032         else
13033                 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "exotic" 2>&1`
13034         fi
13035         # Put the nasty error message in config.log where it belongs
13036         echo "$EXOTIC_PKG_ERRORS" >&5
13037
13038         enable_exotic="no"
13039 elif test $pkg_failed = untried; then
13040         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13041 $as_echo "no" >&6; }
13042         enable_exotic="no"
13043 else
13044         EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
13045         EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
13046         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13047 $as_echo "yes" >&6; }
13048         enable_exotic="yes"
13049 fi
13050
13051 if test "x${enable_exotic}" = "xyes"; then
13052     requirement_embryo="exotic ${requirement_embryo}"
13053
13054
13055 $as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
13056
13057 fi
13058
13059 ### Checks for header files
13060
13061 for ac_header in unistd.h
13062 do :
13063   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13064 if test "x$ac_cv_header_unistd_h" = xyes; then :
13065   cat >>confdefs.h <<_ACEOF
13066 #define HAVE_UNISTD_H 1
13067 _ACEOF
13068
13069 fi
13070
13071 done
13072
13073
13074
13075 default_max="4096"
13076 ac_ext=c
13077 ac_cpp='$CPP $CPPFLAGS'
13078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13081
13082
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
13084 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
13085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h.  */
13087
13088 #include <limits.h>
13089
13090 int
13091 main ()
13092 {
13093
13094 int i = PATH_MAX;
13095
13096   ;
13097   return 0;
13098 }
13099 _ACEOF
13100 if ac_fn_c_try_compile "$LINENO"; then :
13101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13102 $as_echo "yes" >&6; }
13103 else
13104
13105
13106 cat >>confdefs.h <<_ACEOF
13107 #define PATH_MAX ${default_max}
13108 _ACEOF
13109
13110     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
13111 $as_echo "no: using ${default_max}" >&6; }
13112
13113 fi
13114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13115
13116 ac_ext=c
13117 ac_cpp='$CPP $CPPFLAGS'
13118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13121
13122
13123
13124
13125
13126 ### Checks for types
13127
13128
13129 ### Checks for structures
13130
13131
13132 ### Checks for compiler characteristics
13133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13134 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13135 if ${ac_cv_c_bigendian+:} false; then :
13136   $as_echo_n "(cached) " >&6
13137 else
13138   ac_cv_c_bigendian=unknown
13139     # See if we're dealing with a universal compiler.
13140     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141 /* end confdefs.h.  */
13142 #ifndef __APPLE_CC__
13143                not a universal capable compiler
13144              #endif
13145              typedef int dummy;
13146
13147 _ACEOF
13148 if ac_fn_c_try_compile "$LINENO"; then :
13149
13150         # Check for potential -arch flags.  It is not universal unless
13151         # there are at least two -arch flags with different values.
13152         ac_arch=
13153         ac_prev=
13154         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
13155          if test -n "$ac_prev"; then
13156            case $ac_word in
13157              i?86 | x86_64 | ppc | ppc64)
13158                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
13159                  ac_arch=$ac_word
13160                else
13161                  ac_cv_c_bigendian=universal
13162                  break
13163                fi
13164                ;;
13165            esac
13166            ac_prev=
13167          elif test "x$ac_word" = "x-arch"; then
13168            ac_prev=arch
13169          fi
13170        done
13171 fi
13172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13173     if test $ac_cv_c_bigendian = unknown; then
13174       # See if sys/param.h defines the BYTE_ORDER macro.
13175       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13176 /* end confdefs.h.  */
13177 #include <sys/types.h>
13178              #include <sys/param.h>
13179
13180 int
13181 main ()
13182 {
13183 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
13184                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
13185                      && LITTLE_ENDIAN)
13186               bogus endian macros
13187              #endif
13188
13189   ;
13190   return 0;
13191 }
13192 _ACEOF
13193 if ac_fn_c_try_compile "$LINENO"; then :
13194   # It does; now see whether it defined to BIG_ENDIAN or not.
13195          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h.  */
13197 #include <sys/types.h>
13198                 #include <sys/param.h>
13199
13200 int
13201 main ()
13202 {
13203 #if BYTE_ORDER != BIG_ENDIAN
13204                  not big endian
13205                 #endif
13206
13207   ;
13208   return 0;
13209 }
13210 _ACEOF
13211 if ac_fn_c_try_compile "$LINENO"; then :
13212   ac_cv_c_bigendian=yes
13213 else
13214   ac_cv_c_bigendian=no
13215 fi
13216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13217 fi
13218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13219     fi
13220     if test $ac_cv_c_bigendian = unknown; then
13221       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
13222       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13223 /* end confdefs.h.  */
13224 #include <limits.h>
13225
13226 int
13227 main ()
13228 {
13229 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
13230               bogus endian macros
13231              #endif
13232
13233   ;
13234   return 0;
13235 }
13236 _ACEOF
13237 if ac_fn_c_try_compile "$LINENO"; then :
13238   # It does; now see whether it defined to _BIG_ENDIAN or not.
13239          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13240 /* end confdefs.h.  */
13241 #include <limits.h>
13242
13243 int
13244 main ()
13245 {
13246 #ifndef _BIG_ENDIAN
13247                  not big endian
13248                 #endif
13249
13250   ;
13251   return 0;
13252 }
13253 _ACEOF
13254 if ac_fn_c_try_compile "$LINENO"; then :
13255   ac_cv_c_bigendian=yes
13256 else
13257   ac_cv_c_bigendian=no
13258 fi
13259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13260 fi
13261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13262     fi
13263     if test $ac_cv_c_bigendian = unknown; then
13264       # Compile a test program.
13265       if test "$cross_compiling" = yes; then :
13266   # Try to guess by grepping values from an object file.
13267          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268 /* end confdefs.h.  */
13269 short int ascii_mm[] =
13270                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
13271                 short int ascii_ii[] =
13272                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
13273                 int use_ascii (int i) {
13274                   return ascii_mm[i] + ascii_ii[i];
13275                 }
13276                 short int ebcdic_ii[] =
13277                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
13278                 short int ebcdic_mm[] =
13279                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
13280                 int use_ebcdic (int i) {
13281                   return ebcdic_mm[i] + ebcdic_ii[i];
13282                 }
13283                 extern int foo;
13284
13285 int
13286 main ()
13287 {
13288 return use_ascii (foo) == use_ebcdic (foo);
13289   ;
13290   return 0;
13291 }
13292 _ACEOF
13293 if ac_fn_c_try_compile "$LINENO"; then :
13294   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
13295               ac_cv_c_bigendian=yes
13296             fi
13297             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
13298               if test "$ac_cv_c_bigendian" = unknown; then
13299                 ac_cv_c_bigendian=no
13300               else
13301                 # finding both strings is unlikely to happen, but who knows?
13302                 ac_cv_c_bigendian=unknown
13303               fi
13304             fi
13305 fi
13306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13307 else
13308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13309 /* end confdefs.h.  */
13310 $ac_includes_default
13311 int
13312 main ()
13313 {
13314
13315              /* Are we little or big endian?  From Harbison&Steele.  */
13316              union
13317              {
13318                long int l;
13319                char c[sizeof (long int)];
13320              } u;
13321              u.l = 1;
13322              return u.c[sizeof (long int) - 1] == 1;
13323
13324   ;
13325   return 0;
13326 }
13327 _ACEOF
13328 if ac_fn_c_try_run "$LINENO"; then :
13329   ac_cv_c_bigendian=no
13330 else
13331   ac_cv_c_bigendian=yes
13332 fi
13333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13334   conftest.$ac_objext conftest.beam conftest.$ac_ext
13335 fi
13336
13337     fi
13338 fi
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
13340 $as_echo "$ac_cv_c_bigendian" >&6; }
13341  case $ac_cv_c_bigendian in #(
13342    yes)
13343      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
13344 ;; #(
13345    no)
13346       ;; #(
13347    universal)
13348
13349 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
13350
13351      ;; #(
13352    *)
13353      as_fn_error $? "unknown endianness
13354  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13355  esac
13356
13357 if test "x$CC" != xcc; then
13358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13359 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13360 else
13361   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13362 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13363 fi
13364 set dummy $CC; ac_cc=`$as_echo "$2" |
13365                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13366 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13367   $as_echo_n "(cached) " >&6
13368 else
13369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13370 /* end confdefs.h.  */
13371
13372 int
13373 main ()
13374 {
13375
13376   ;
13377   return 0;
13378 }
13379 _ACEOF
13380 # Make sure it works both with $CC and with simple cc.
13381 # We do the test twice because some compilers refuse to overwrite an
13382 # existing .o file with -o, though they will create one.
13383 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13384 rm -f conftest2.*
13385 if { { case "(($ac_try" in
13386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13387   *) ac_try_echo=$ac_try;;
13388 esac
13389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13390 $as_echo "$ac_try_echo"; } >&5
13391   (eval "$ac_try") 2>&5
13392   ac_status=$?
13393   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13394   test $ac_status = 0; } &&
13395    test -f conftest2.$ac_objext && { { case "(($ac_try" in
13396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13397   *) ac_try_echo=$ac_try;;
13398 esac
13399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13400 $as_echo "$ac_try_echo"; } >&5
13401   (eval "$ac_try") 2>&5
13402   ac_status=$?
13403   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13404   test $ac_status = 0; };
13405 then
13406   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13407   if test "x$CC" != xcc; then
13408     # Test first that cc exists at all.
13409     if { ac_try='cc -c conftest.$ac_ext >&5'
13410   { { case "(($ac_try" in
13411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13412   *) ac_try_echo=$ac_try;;
13413 esac
13414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13415 $as_echo "$ac_try_echo"; } >&5
13416   (eval "$ac_try") 2>&5
13417   ac_status=$?
13418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13419   test $ac_status = 0; }; }; then
13420       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13421       rm -f conftest2.*
13422       if { { case "(($ac_try" in
13423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13424   *) ac_try_echo=$ac_try;;
13425 esac
13426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13427 $as_echo "$ac_try_echo"; } >&5
13428   (eval "$ac_try") 2>&5
13429   ac_status=$?
13430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13431   test $ac_status = 0; } &&
13432          test -f conftest2.$ac_objext && { { case "(($ac_try" in
13433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13434   *) ac_try_echo=$ac_try;;
13435 esac
13436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13437 $as_echo "$ac_try_echo"; } >&5
13438   (eval "$ac_try") 2>&5
13439   ac_status=$?
13440   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13441   test $ac_status = 0; };
13442       then
13443         # cc works too.
13444         :
13445       else
13446         # cc exists but doesn't like -o.
13447         eval ac_cv_prog_cc_${ac_cc}_c_o=no
13448       fi
13449     fi
13450   fi
13451 else
13452   eval ac_cv_prog_cc_${ac_cc}_c_o=no
13453 fi
13454 rm -f core conftest*
13455
13456 fi
13457 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13459 $as_echo "yes" >&6; }
13460 else
13461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13462 $as_echo "no" >&6; }
13463
13464 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13465
13466 fi
13467
13468 # FIXME: we rely on the cache variable name because
13469 # there is no other way.
13470 set dummy $CC
13471 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13472 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13473 if test "$am_t" != yes; then
13474    # Losing compiler, so override with the script.
13475    # FIXME: It is wrong to rewrite CC.
13476    # But if we don't then we get into trouble of one sort or another.
13477    # A longer-term fix would be to have automake use am__CC in this case,
13478    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13479    CC="$am_aux_dir/compile $CC"
13480 fi
13481
13482
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13484 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13485 if ${ac_cv_c_const+:} false; then :
13486   $as_echo_n "(cached) " >&6
13487 else
13488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13489 /* end confdefs.h.  */
13490
13491 int
13492 main ()
13493 {
13494 /* FIXME: Include the comments suggested by Paul. */
13495 #ifndef __cplusplus
13496   /* Ultrix mips cc rejects this.  */
13497   typedef int charset[2];
13498   const charset cs;
13499   /* SunOS 4.1.1 cc rejects this.  */
13500   char const *const *pcpcc;
13501   char **ppc;
13502   /* NEC SVR4.0.2 mips cc rejects this.  */
13503   struct point {int x, y;};
13504   static struct point const zero = {0,0};
13505   /* AIX XL C 1.02.0.0 rejects this.
13506      It does not let you subtract one const X* pointer from another in
13507      an arm of an if-expression whose if-part is not a constant
13508      expression */
13509   const char *g = "string";
13510   pcpcc = &g + (g ? g-g : 0);
13511   /* HPUX 7.0 cc rejects these. */
13512   ++pcpcc;
13513   ppc = (char**) pcpcc;
13514   pcpcc = (char const *const *) ppc;
13515   { /* SCO 3.2v4 cc rejects this.  */
13516     char *t;
13517     char const *s = 0 ? (char *) 0 : (char const *) 0;
13518
13519     *t++ = 0;
13520     if (s) return 0;
13521   }
13522   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
13523     int x[] = {25, 17};
13524     const int *foo = &x[0];
13525     ++foo;
13526   }
13527   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13528     typedef const int *iptr;
13529     iptr p = 0;
13530     ++p;
13531   }
13532   { /* AIX XL C 1.02.0.0 rejects this saying
13533        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13534     struct s { int j; const int *ap[3]; };
13535     struct s *b; b->j = 5;
13536   }
13537   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13538     const int foo = 10;
13539     if (!foo) return 0;
13540   }
13541   return !cs[0] && !zero.x;
13542 #endif
13543
13544   ;
13545   return 0;
13546 }
13547 _ACEOF
13548 if ac_fn_c_try_compile "$LINENO"; then :
13549   ac_cv_c_const=yes
13550 else
13551   ac_cv_c_const=no
13552 fi
13553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13554 fi
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13556 $as_echo "$ac_cv_c_const" >&6; }
13557 if test $ac_cv_c_const = no; then
13558
13559 $as_echo "#define const /**/" >>confdefs.h
13560
13561 fi
13562
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13564 $as_echo_n "checking for inline... " >&6; }
13565 if ${ac_cv_c_inline+:} false; then :
13566   $as_echo_n "(cached) " >&6
13567 else
13568   ac_cv_c_inline=no
13569 for ac_kw in inline __inline__ __inline; do
13570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h.  */
13572 #ifndef __cplusplus
13573 typedef int foo_t;
13574 static $ac_kw foo_t static_foo () {return 0; }
13575 $ac_kw foo_t foo () {return 0; }
13576 #endif
13577
13578 _ACEOF
13579 if ac_fn_c_try_compile "$LINENO"; then :
13580   ac_cv_c_inline=$ac_kw
13581 fi
13582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13583   test "$ac_cv_c_inline" != no && break
13584 done
13585
13586 fi
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13588 $as_echo "$ac_cv_c_inline" >&6; }
13589
13590 case $ac_cv_c_inline in
13591   inline | yes) ;;
13592   *)
13593     case $ac_cv_c_inline in
13594       no) ac_val=;;
13595       *) ac_val=$ac_cv_c_inline;;
13596     esac
13597     cat >>confdefs.h <<_ACEOF
13598 #ifndef __cplusplus
13599 #define inline $ac_val
13600 #endif
13601 _ACEOF
13602     ;;
13603 esac
13604
13605    case $ac_cv_prog_cc_stdc in #(
13606   no) :
13607     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
13608   *) :
13609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13610 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13611 if ${ac_cv_prog_cc_c99+:} false; then :
13612   $as_echo_n "(cached) " >&6
13613 else
13614   ac_cv_prog_cc_c99=no
13615 ac_save_CC=$CC
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h.  */
13618 #include <stdarg.h>
13619 #include <stdbool.h>
13620 #include <stdlib.h>
13621 #include <wchar.h>
13622 #include <stdio.h>
13623
13624 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
13625 #define debug(...) fprintf (stderr, __VA_ARGS__)
13626 #define showlist(...) puts (#__VA_ARGS__)
13627 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13628 static void
13629 test_varargs_macros (void)
13630 {
13631   int x = 1234;
13632   int y = 5678;
13633   debug ("Flag");
13634   debug ("X = %d\n", x);
13635   showlist (The first, second, and third items.);
13636   report (x>y, "x is %d but y is %d", x, y);
13637 }
13638
13639 // Check long long types.
13640 #define BIG64 18446744073709551615ull
13641 #define BIG32 4294967295ul
13642 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13643 #if !BIG_OK
13644   your preprocessor is broken;
13645 #endif
13646 #if BIG_OK
13647 #else
13648   your preprocessor is broken;
13649 #endif
13650 static long long int bignum = -9223372036854775807LL;
13651 static unsigned long long int ubignum = BIG64;
13652
13653 struct incomplete_array
13654 {
13655   int datasize;
13656   double data[];
13657 };
13658
13659 struct named_init {
13660   int number;
13661   const wchar_t *name;
13662   double average;
13663 };
13664
13665 typedef const char *ccp;
13666
13667 static inline int
13668 test_restrict (ccp restrict text)
13669 {
13670   // See if C++-style comments work.
13671   // Iterate through items via the restricted pointer.
13672   // Also check for declarations in for loops.
13673   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13674     continue;
13675   return 0;
13676 }
13677
13678 // Check varargs and va_copy.
13679 static void
13680 test_varargs (const char *format, ...)
13681 {
13682   va_list args;
13683   va_start (args, format);
13684   va_list args_copy;
13685   va_copy (args_copy, args);
13686
13687   const char *str;
13688   int number;
13689   float fnumber;
13690
13691   while (*format)
13692     {
13693       switch (*format++)
13694         {
13695         case 's': // string
13696           str = va_arg (args_copy, const char *);
13697           break;
13698         case 'd': // int
13699           number = va_arg (args_copy, int);
13700           break;
13701         case 'f': // float
13702           fnumber = va_arg (args_copy, double);
13703           break;
13704         default:
13705           break;
13706         }
13707     }
13708   va_end (args_copy);
13709   va_end (args);
13710 }
13711
13712 int
13713 main ()
13714 {
13715
13716   // Check bool.
13717   _Bool success = false;
13718
13719   // Check restrict.
13720   if (test_restrict ("String literal") == 0)
13721     success = true;
13722   char *restrict newvar = "Another string";
13723
13724   // Check varargs.
13725   test_varargs ("s, d' f .", "string", 65, 34.234);
13726   test_varargs_macros ();
13727
13728   // Check flexible array members.
13729   struct incomplete_array *ia =
13730     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13731   ia->datasize = 10;
13732   for (int i = 0; i < ia->datasize; ++i)
13733     ia->data[i] = i * 1.234;
13734
13735   // Check named initializers.
13736   struct named_init ni = {
13737     .number = 34,
13738     .name = L"Test wide string",
13739     .average = 543.34343,
13740   };
13741
13742   ni.number = 58;
13743
13744   int dynamic_array[ni.number];
13745   dynamic_array[ni.number - 1] = 543;
13746
13747   // work around unused variable warnings
13748   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13749           || dynamic_array[ni.number - 1] != 543);
13750
13751   ;
13752   return 0;
13753 }
13754 _ACEOF
13755 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
13756 do
13757   CC="$ac_save_CC $ac_arg"
13758   if ac_fn_c_try_compile "$LINENO"; then :
13759   ac_cv_prog_cc_c99=$ac_arg
13760 fi
13761 rm -f core conftest.err conftest.$ac_objext
13762   test "x$ac_cv_prog_cc_c99" != "xno" && break
13763 done
13764 rm -f conftest.$ac_ext
13765 CC=$ac_save_CC
13766
13767 fi
13768 # AC_CACHE_VAL
13769 case "x$ac_cv_prog_cc_c99" in
13770   x)
13771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13772 $as_echo "none needed" >&6; } ;;
13773   xno)
13774     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13775 $as_echo "unsupported" >&6; } ;;
13776   *)
13777     CC="$CC $ac_cv_prog_cc_c99"
13778     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13779 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13780 esac
13781 if test "x$ac_cv_prog_cc_c99" != xno; then :
13782   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
13783 else
13784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13785 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13786 if ${ac_cv_prog_cc_c89+:} false; then :
13787   $as_echo_n "(cached) " >&6
13788 else
13789   ac_cv_prog_cc_c89=no
13790 ac_save_CC=$CC
13791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13792 /* end confdefs.h.  */
13793 #include <stdarg.h>
13794 #include <stdio.h>
13795 #include <sys/types.h>
13796 #include <sys/stat.h>
13797 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13798 struct buf { int x; };
13799 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13800 static char *e (p, i)
13801      char **p;
13802      int i;
13803 {
13804   return p[i];
13805 }
13806 static char *f (char * (*g) (char **, int), char **p, ...)
13807 {
13808   char *s;
13809   va_list v;
13810   va_start (v,p);
13811   s = g (p, va_arg (v,int));
13812   va_end (v);
13813   return s;
13814 }
13815
13816 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13817    function prototypes and stuff, but not '\xHH' hex character constants.
13818    These don't provoke an error unfortunately, instead are silently treated
13819    as 'x'.  The following induces an error, until -std is added to get
13820    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13821    array size at least.  It's necessary to write '\x00'==0 to get something
13822    that's true only with -std.  */
13823 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13824
13825 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13826    inside strings and character constants.  */
13827 #define FOO(x) 'x'
13828 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13829
13830 int test (int i, double x);
13831 struct s1 {int (*f) (int a);};
13832 struct s2 {int (*f) (double a);};
13833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13834 int argc;
13835 char **argv;
13836 int
13837 main ()
13838 {
13839 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13840   ;
13841   return 0;
13842 }
13843 _ACEOF
13844 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13845         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13846 do
13847   CC="$ac_save_CC $ac_arg"
13848   if ac_fn_c_try_compile "$LINENO"; then :
13849   ac_cv_prog_cc_c89=$ac_arg
13850 fi
13851 rm -f core conftest.err conftest.$ac_objext
13852   test "x$ac_cv_prog_cc_c89" != "xno" && break
13853 done
13854 rm -f conftest.$ac_ext
13855 CC=$ac_save_CC
13856
13857 fi
13858 # AC_CACHE_VAL
13859 case "x$ac_cv_prog_cc_c89" in
13860   x)
13861     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13862 $as_echo "none needed" >&6; } ;;
13863   xno)
13864     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13865 $as_echo "unsupported" >&6; } ;;
13866   *)
13867     CC="$CC $ac_cv_prog_cc_c89"
13868     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13869 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13870 esac
13871 if test "x$ac_cv_prog_cc_c89" != xno; then :
13872   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
13873 else
13874   ac_cv_prog_cc_stdc=no
13875 fi
13876
13877 fi
13878  ;;
13879 esac
13880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
13881 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
13882   if ${ac_cv_prog_cc_stdc+:} false; then :
13883   $as_echo_n "(cached) " >&6
13884 fi
13885
13886   case $ac_cv_prog_cc_stdc in #(
13887   no) :
13888     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13889 $as_echo "unsupported" >&6; } ;; #(
13890   '') :
13891     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13892 $as_echo "none needed" >&6; } ;; #(
13893   *) :
13894     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
13895 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
13896 esac
13897
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13899 $as_echo_n "checking for ANSI C header files... " >&6; }
13900 if ${ac_cv_header_stdc+:} false; then :
13901   $as_echo_n "(cached) " >&6
13902 else
13903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h.  */
13905 #include <stdlib.h>
13906 #include <stdarg.h>
13907 #include <string.h>
13908 #include <float.h>
13909
13910 int
13911 main ()
13912 {
13913
13914   ;
13915   return 0;
13916 }
13917 _ACEOF
13918 if ac_fn_c_try_compile "$LINENO"; then :
13919   ac_cv_header_stdc=yes
13920 else
13921   ac_cv_header_stdc=no
13922 fi
13923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13924
13925 if test $ac_cv_header_stdc = yes; then
13926   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h.  */
13929 #include <string.h>
13930
13931 _ACEOF
13932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13933   $EGREP "memchr" >/dev/null 2>&1; then :
13934
13935 else
13936   ac_cv_header_stdc=no
13937 fi
13938 rm -f conftest*
13939
13940 fi
13941
13942 if test $ac_cv_header_stdc = yes; then
13943   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945 /* end confdefs.h.  */
13946 #include <stdlib.h>
13947
13948 _ACEOF
13949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13950   $EGREP "free" >/dev/null 2>&1; then :
13951
13952 else
13953   ac_cv_header_stdc=no
13954 fi
13955 rm -f conftest*
13956
13957 fi
13958
13959 if test $ac_cv_header_stdc = yes; then
13960   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13961   if test "$cross_compiling" = yes; then :
13962   :
13963 else
13964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13965 /* end confdefs.h.  */
13966 #include <ctype.h>
13967 #include <stdlib.h>
13968 #if ((' ' & 0x0FF) == 0x020)
13969 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13970 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13971 #else
13972 # define ISLOWER(c) \
13973                    (('a' <= (c) && (c) <= 'i') \
13974                      || ('j' <= (c) && (c) <= 'r') \
13975                      || ('s' <= (c) && (c) <= 'z'))
13976 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13977 #endif
13978
13979 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13980 int
13981 main ()
13982 {
13983   int i;
13984   for (i = 0; i < 256; i++)
13985     if (XOR (islower (i), ISLOWER (i))
13986         || toupper (i) != TOUPPER (i))
13987       return 2;
13988   return 0;
13989 }
13990 _ACEOF
13991 if ac_fn_c_try_run "$LINENO"; then :
13992
13993 else
13994   ac_cv_header_stdc=no
13995 fi
13996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13997   conftest.$ac_objext conftest.beam conftest.$ac_ext
13998 fi
13999
14000 fi
14001 fi
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14003 $as_echo "$ac_cv_header_stdc" >&6; }
14004 if test $ac_cv_header_stdc = yes; then
14005
14006 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14007
14008 fi
14009
14010
14011
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14013 $as_echo_n "checking for __attribute__... " >&6; }
14014
14015 if ${ac_cv___attribute__+:} false; then :
14016   $as_echo_n "(cached) " >&6
14017 else
14018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14019 /* end confdefs.h.  */
14020
14021 #include <stdlib.h>
14022
14023 int func(int x);
14024 int foo(int x __attribute__ ((unused)))
14025 {
14026    exit(1);
14027 }
14028
14029 int
14030 main ()
14031 {
14032
14033   ;
14034   return 0;
14035 }
14036 _ACEOF
14037 if ac_fn_c_try_compile "$LINENO"; then :
14038   ac_cv___attribute__="yes"
14039 else
14040   ac_cv___attribute__="no"
14041
14042 fi
14043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14044 fi
14045
14046
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14048 $as_echo "$ac_cv___attribute__" >&6; }
14049
14050 if test "x${ac_cv___attribute__}" = "xyes" ; then
14051
14052 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14053
14054
14055 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14056
14057   else
14058
14059 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14060
14061 fi
14062
14063
14064
14065 EMBRYO_CPPFLAGS=""
14066 EMBRYO_CFLAGS=""
14067 case "$host_os" in
14068    mingw32ce*)
14069       EMBRYO_CPPFLAGS="-D_WIN32_WCE=0x0420"
14070       ;;
14071 esac
14072
14073
14074
14075
14076 ### Checks for linker characteristics
14077
14078 lt_enable_auto_import=""
14079 case "$host_os" in
14080    mingw*)
14081       lt_enable_auto_import="-Wl,--enable-auto-import"
14082       ;;
14083 esac
14084
14085
14086
14087 ### Checks for library functions
14088
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
14090 $as_echo_n "checking for library containing strerror... " >&6; }
14091 if ${ac_cv_search_strerror+:} false; then :
14092   $as_echo_n "(cached) " >&6
14093 else
14094   ac_func_search_save_LIBS=$LIBS
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h.  */
14097
14098 /* Override any GCC internal prototype to avoid an error.
14099    Use char because int might match the return type of a GCC
14100    builtin and then its argument prototype would still apply.  */
14101 #ifdef __cplusplus
14102 extern "C"
14103 #endif
14104 char strerror ();
14105 int
14106 main ()
14107 {
14108 return strerror ();
14109   ;
14110   return 0;
14111 }
14112 _ACEOF
14113 for ac_lib in '' cposix; do
14114   if test -z "$ac_lib"; then
14115     ac_res="none required"
14116   else
14117     ac_res=-l$ac_lib
14118     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14119   fi
14120   if ac_fn_c_try_link "$LINENO"; then :
14121   ac_cv_search_strerror=$ac_res
14122 fi
14123 rm -f core conftest.err conftest.$ac_objext \
14124     conftest$ac_exeext
14125   if ${ac_cv_search_strerror+:} false; then :
14126   break
14127 fi
14128 done
14129 if ${ac_cv_search_strerror+:} false; then :
14130
14131 else
14132   ac_cv_search_strerror=no
14133 fi
14134 rm conftest.$ac_ext
14135 LIBS=$ac_func_search_save_LIBS
14136 fi
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
14138 $as_echo "$ac_cv_search_strerror" >&6; }
14139 ac_res=$ac_cv_search_strerror
14140 if test "$ac_res" != no; then :
14141   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14142
14143 fi
14144
14145
14146 # alloca
14147 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14148 if test "x$ac_cv_type_size_t" = xyes; then :
14149
14150 else
14151
14152 cat >>confdefs.h <<_ACEOF
14153 #define size_t unsigned int
14154 _ACEOF
14155
14156 fi
14157
14158 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
14159 # for constant arguments.  Useless!
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
14161 $as_echo_n "checking for working alloca.h... " >&6; }
14162 if ${ac_cv_working_alloca_h+:} false; then :
14163   $as_echo_n "(cached) " >&6
14164 else
14165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h.  */
14167 #include <alloca.h>
14168 int
14169 main ()
14170 {
14171 char *p = (char *) alloca (2 * sizeof (int));
14172                           if (p) return 0;
14173   ;
14174   return 0;
14175 }
14176 _ACEOF
14177 if ac_fn_c_try_link "$LINENO"; then :
14178   ac_cv_working_alloca_h=yes
14179 else
14180   ac_cv_working_alloca_h=no
14181 fi
14182 rm -f core conftest.err conftest.$ac_objext \
14183     conftest$ac_exeext conftest.$ac_ext
14184 fi
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
14186 $as_echo "$ac_cv_working_alloca_h" >&6; }
14187 if test $ac_cv_working_alloca_h = yes; then
14188
14189 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
14190
14191 fi
14192
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
14194 $as_echo_n "checking for alloca... " >&6; }
14195 if ${ac_cv_func_alloca_works+:} false; then :
14196   $as_echo_n "(cached) " >&6
14197 else
14198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h.  */
14200 #ifdef __GNUC__
14201 # define alloca __builtin_alloca
14202 #else
14203 # ifdef _MSC_VER
14204 #  include <malloc.h>
14205 #  define alloca _alloca
14206 # else
14207 #  ifdef HAVE_ALLOCA_H
14208 #   include <alloca.h>
14209 #  else
14210 #   ifdef _AIX
14211  #pragma alloca
14212 #   else
14213 #    ifndef alloca /* predefined by HP cc +Olibcalls */
14214 void *alloca (size_t);
14215 #    endif
14216 #   endif
14217 #  endif
14218 # endif
14219 #endif
14220
14221 int
14222 main ()
14223 {
14224 char *p = (char *) alloca (1);
14225                                     if (p) return 0;
14226   ;
14227   return 0;
14228 }
14229 _ACEOF
14230 if ac_fn_c_try_link "$LINENO"; then :
14231   ac_cv_func_alloca_works=yes
14232 else
14233   ac_cv_func_alloca_works=no
14234 fi
14235 rm -f core conftest.err conftest.$ac_objext \
14236     conftest$ac_exeext conftest.$ac_ext
14237 fi
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
14239 $as_echo "$ac_cv_func_alloca_works" >&6; }
14240
14241 if test $ac_cv_func_alloca_works = yes; then
14242
14243 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
14244
14245 else
14246   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
14247 # that cause trouble.  Some versions do not even contain alloca or
14248 # contain a buggy version.  If you still want to use their alloca,
14249 # use ar to extract alloca.o from them instead of compiling alloca.c.
14250
14251 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
14252
14253 $as_echo "#define C_ALLOCA 1" >>confdefs.h
14254
14255
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
14257 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
14258 if ${ac_cv_os_cray+:} false; then :
14259   $as_echo_n "(cached) " >&6
14260 else
14261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14262 /* end confdefs.h.  */
14263 #if defined CRAY && ! defined CRAY2
14264 webecray
14265 #else
14266 wenotbecray
14267 #endif
14268
14269 _ACEOF
14270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14271   $EGREP "webecray" >/dev/null 2>&1; then :
14272   ac_cv_os_cray=yes
14273 else
14274   ac_cv_os_cray=no
14275 fi
14276 rm -f conftest*
14277
14278 fi
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
14280 $as_echo "$ac_cv_os_cray" >&6; }
14281 if test $ac_cv_os_cray = yes; then
14282   for ac_func in _getb67 GETB67 getb67; do
14283     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14285 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14286
14287 cat >>confdefs.h <<_ACEOF
14288 #define CRAY_STACKSEG_END $ac_func
14289 _ACEOF
14290
14291     break
14292 fi
14293
14294   done
14295 fi
14296
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
14298 $as_echo_n "checking stack direction for C alloca... " >&6; }
14299 if ${ac_cv_c_stack_direction+:} false; then :
14300   $as_echo_n "(cached) " >&6
14301 else
14302   if test "$cross_compiling" = yes; then :
14303   ac_cv_c_stack_direction=0
14304 else
14305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h.  */
14307 $ac_includes_default
14308 int
14309 find_stack_direction ()
14310 {
14311   static char *addr = 0;
14312   auto char dummy;
14313   if (addr == 0)
14314     {
14315       addr = &dummy;
14316       return find_stack_direction ();
14317     }
14318   else
14319     return (&dummy > addr) ? 1 : -1;
14320 }
14321
14322 int
14323 main ()
14324 {
14325   return find_stack_direction () < 0;
14326 }
14327 _ACEOF
14328 if ac_fn_c_try_run "$LINENO"; then :
14329   ac_cv_c_stack_direction=1
14330 else
14331   ac_cv_c_stack_direction=-1
14332 fi
14333 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14334   conftest.$ac_objext conftest.beam conftest.$ac_ext
14335 fi
14336
14337 fi
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
14339 $as_echo "$ac_cv_c_stack_direction" >&6; }
14340 cat >>confdefs.h <<_ACEOF
14341 #define STACK_DIRECTION $ac_cv_c_stack_direction
14342 _ACEOF
14343
14344
14345 fi
14346
14347
14348 # fnmatch
14349
14350
14351 ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
14352 if test "x$ac_cv_header_fnmatch_h" = xyes; then :
14353   _efl_have_fnmatch="yes"
14354 else
14355   _efl_have_fnmatch="no"
14356 fi
14357
14358
14359
14360 if test "x${_efl_have_fnmatch}" = "xyes" ; then
14361    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
14362 $as_echo_n "checking for library containing fnmatch... " >&6; }
14363 if ${ac_cv_search_fnmatch+:} false; then :
14364   $as_echo_n "(cached) " >&6
14365 else
14366   ac_func_search_save_LIBS=$LIBS
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h.  */
14369
14370 /* Override any GCC internal prototype to avoid an error.
14371    Use char because int might match the return type of a GCC
14372    builtin and then its argument prototype would still apply.  */
14373 #ifdef __cplusplus
14374 extern "C"
14375 #endif
14376 char fnmatch ();
14377 int
14378 main ()
14379 {
14380 return fnmatch ();
14381   ;
14382   return 0;
14383 }
14384 _ACEOF
14385 for ac_lib in '' fnmatch evil exotic iberty; do
14386   if test -z "$ac_lib"; then
14387     ac_res="none required"
14388   else
14389     ac_res=-l$ac_lib
14390     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14391   fi
14392   if ac_fn_c_try_link "$LINENO"; then :
14393   ac_cv_search_fnmatch=$ac_res
14394 fi
14395 rm -f core conftest.err conftest.$ac_objext \
14396     conftest$ac_exeext
14397   if ${ac_cv_search_fnmatch+:} false; then :
14398   break
14399 fi
14400 done
14401 if ${ac_cv_search_fnmatch+:} false; then :
14402
14403 else
14404   ac_cv_search_fnmatch=no
14405 fi
14406 rm conftest.$ac_ext
14407 LIBS=$ac_func_search_save_LIBS
14408 fi
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
14410 $as_echo "$ac_cv_search_fnmatch" >&6; }
14411 ac_res=$ac_cv_search_fnmatch
14412 if test "$ac_res" != no; then :
14413   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14414   _efl_have_fnmatch="yes"
14415 else
14416   _efl_have_fnmatch="no"
14417 fi
14418
14419 fi
14420
14421 EFL_FNMATCH_LIBS=""
14422
14423 if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
14424    EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
14425 fi
14426
14427
14428
14429 if test "x$_efl_have_fnmatch" = "xyes"; then :
14430
14431 else
14432   as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
14433 fi
14434
14435
14436
14437 # gettimeofday
14438
14439
14440 _efl_have_gettimeofday="no"
14441
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h.  */
14444
14445 #include <stdlib.h>
14446 #include <sys/time.h>
14447
14448 int
14449 main ()
14450 {
14451
14452 int res;
14453 res = gettimeofday(NULL, NULL);
14454
14455   ;
14456   return 0;
14457 }
14458 _ACEOF
14459 if ac_fn_c_try_link "$LINENO"; then :
14460   _efl_have_gettimeofday="yes"
14461 else
14462   _efl_have_gettimeofday="no"
14463 fi
14464 rm -f core conftest.err conftest.$ac_objext \
14465     conftest$ac_exeext conftest.$ac_ext
14466
14467 if test "x${_efl_have_gettimeofday}" = "xno" -a "x${enable_exotic}" = "xyes"; then
14468    SAVE_LIBS="${LIBS}"
14469    SAVE_CFLAGS="${CFLAGS}"
14470    LIBS="${LIBS} ${EXOTIC_LIBS}"
14471    CFLAGS="${CFLAGS} ${EXOTIC_CFLAGS}"
14472    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14473 /* end confdefs.h.  */
14474
14475 #include <Exotic.h>
14476
14477 int
14478 main ()
14479 {
14480
14481 int res;
14482 res = gettimeofday(NULL, NULL);
14483
14484   ;
14485   return 0;
14486 }
14487 _ACEOF
14488 if ac_fn_c_try_link "$LINENO"; then :
14489   _efl_have_gettimeofday="yes"
14490 else
14491   _efl_have_gettimeofday="no"
14492 fi
14493 rm -f core conftest.err conftest.$ac_objext \
14494     conftest$ac_exeext conftest.$ac_ext
14495 fi
14496
14497 if test "x${_efl_have_gettimeofday}" = "xyes"; then
14498
14499 $as_echo "#define EFL_HAVE_GETTIMEOFDAY 1" >>confdefs.h
14500
14501 fi
14502
14503 if test "x${_efl_have_gettimeofday}" = "xyes"; then :
14504
14505 else
14506   as_fn_error $? "Cannot find gettimeofday()" "$LINENO" 5
14507 fi
14508
14509
14510
14511
14512
14513
14514 ac_config_files="$ac_config_files Makefile doc/Makefile doc/Doxyfile doc/embryo.dox embryo.pc include/Makefile src/Makefile src/lib/Makefile src/bin/Makefile embryo.spec"
14515
14516 cat >confcache <<\_ACEOF
14517 # This file is a shell script that caches the results of configure
14518 # tests run on this system so they can be shared between configure
14519 # scripts and configure runs, see configure's option --config-cache.
14520 # It is not useful on other systems.  If it contains results you don't
14521 # want to keep, you may remove or edit it.
14522 #
14523 # config.status only pays attention to the cache file if you give it
14524 # the --recheck option to rerun configure.
14525 #
14526 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14527 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14528 # following values.
14529
14530 _ACEOF
14531
14532 # The following way of writing the cache mishandles newlines in values,
14533 # but we know of no workaround that is simple, portable, and efficient.
14534 # So, we kill variables containing newlines.
14535 # Ultrix sh set writes to stderr and can't be redirected directly,
14536 # and sets the high bit in the cache file unless we assign to the vars.
14537 (
14538   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14539     eval ac_val=\$$ac_var
14540     case $ac_val in #(
14541     *${as_nl}*)
14542       case $ac_var in #(
14543       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14544 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14545       esac
14546       case $ac_var in #(
14547       _ | IFS | as_nl) ;; #(
14548       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14549       *) { eval $ac_var=; unset $ac_var;} ;;
14550       esac ;;
14551     esac
14552   done
14553
14554   (set) 2>&1 |
14555     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14556     *${as_nl}ac_space=\ *)
14557       # `set' does not quote correctly, so add quotes: double-quote
14558       # substitution turns \\\\ into \\, and sed turns \\ into \.
14559       sed -n \
14560         "s/'/'\\\\''/g;
14561           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14562       ;; #(
14563     *)
14564       # `set' quotes correctly as required by POSIX, so do not add quotes.
14565       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14566       ;;
14567     esac |
14568     sort
14569 ) |
14570   sed '
14571      /^ac_cv_env_/b end
14572      t clear
14573      :clear
14574      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14575      t end
14576      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14577      :end' >>confcache
14578 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14579   if test -w "$cache_file"; then
14580     if test "x$cache_file" != "x/dev/null"; then
14581       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14582 $as_echo "$as_me: updating cache $cache_file" >&6;}
14583       if test ! -f "$cache_file" || test -h "$cache_file"; then
14584         cat confcache >"$cache_file"
14585       else
14586         case $cache_file in #(
14587         */* | ?:*)
14588           mv -f confcache "$cache_file"$$ &&
14589           mv -f "$cache_file"$$ "$cache_file" ;; #(
14590         *)
14591           mv -f confcache "$cache_file" ;;
14592         esac
14593       fi
14594     fi
14595   else
14596     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14597 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14598   fi
14599 fi
14600 rm -f confcache
14601
14602 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14603 # Let make expand exec_prefix.
14604 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14605
14606 DEFS=-DHAVE_CONFIG_H
14607
14608 ac_libobjs=
14609 ac_ltlibobjs=
14610 U=
14611 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14612   # 1. Remove the extension, and $U if already installed.
14613   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14614   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14615   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14616   #    will be set to the directory where LIBOBJS objects are built.
14617   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14618   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14619 done
14620 LIBOBJS=$ac_libobjs
14621
14622 LTLIBOBJS=$ac_ltlibobjs
14623
14624
14625  if test -n "$EXEEXT"; then
14626   am__EXEEXT_TRUE=
14627   am__EXEEXT_FALSE='#'
14628 else
14629   am__EXEEXT_TRUE='#'
14630   am__EXEEXT_FALSE=
14631 fi
14632
14633 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14634   as_fn_error $? "conditional \"AMDEP\" was never defined.
14635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14636 fi
14637 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14638   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14640 fi
14641 if test -z "${BUILD_EMBRYO_CC_TRUE}" && test -z "${BUILD_EMBRYO_CC_FALSE}"; then
14642   as_fn_error $? "conditional \"BUILD_EMBRYO_CC\" was never defined.
14643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14644 fi
14645 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14646   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14648 fi
14649 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14650   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14652 fi
14653
14654
14655 : "${CONFIG_STATUS=./config.status}"
14656 ac_write_fail=0
14657 ac_clean_files_save=$ac_clean_files
14658 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14660 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14661 as_write_fail=0
14662 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14663 #! $SHELL
14664 # Generated by $as_me.
14665 # Run this file to recreate the current configuration.
14666 # Compiler output produced by configure, useful for debugging
14667 # configure, is in config.log if it exists.
14668
14669 debug=false
14670 ac_cs_recheck=false
14671 ac_cs_silent=false
14672
14673 SHELL=\${CONFIG_SHELL-$SHELL}
14674 export SHELL
14675 _ASEOF
14676 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14677 ## -------------------- ##
14678 ## M4sh Initialization. ##
14679 ## -------------------- ##
14680
14681 # Be more Bourne compatible
14682 DUALCASE=1; export DUALCASE # for MKS sh
14683 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14684   emulate sh
14685   NULLCMD=:
14686   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14687   # is contrary to our usage.  Disable this feature.
14688   alias -g '${1+"$@"}'='"$@"'
14689   setopt NO_GLOB_SUBST
14690 else
14691   case `(set -o) 2>/dev/null` in #(
14692   *posix*) :
14693     set -o posix ;; #(
14694   *) :
14695      ;;
14696 esac
14697 fi
14698
14699
14700 as_nl='
14701 '
14702 export as_nl
14703 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14704 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14705 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14706 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14707 # Prefer a ksh shell builtin over an external printf program on Solaris,
14708 # but without wasting forks for bash or zsh.
14709 if test -z "$BASH_VERSION$ZSH_VERSION" \
14710     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14711   as_echo='print -r --'
14712   as_echo_n='print -rn --'
14713 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14714   as_echo='printf %s\n'
14715   as_echo_n='printf %s'
14716 else
14717   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14718     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14719     as_echo_n='/usr/ucb/echo -n'
14720   else
14721     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14722     as_echo_n_body='eval
14723       arg=$1;
14724       case $arg in #(
14725       *"$as_nl"*)
14726         expr "X$arg" : "X\\(.*\\)$as_nl";
14727         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14728       esac;
14729       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14730     '
14731     export as_echo_n_body
14732     as_echo_n='sh -c $as_echo_n_body as_echo'
14733   fi
14734   export as_echo_body
14735   as_echo='sh -c $as_echo_body as_echo'
14736 fi
14737
14738 # The user is always right.
14739 if test "${PATH_SEPARATOR+set}" != set; then
14740   PATH_SEPARATOR=:
14741   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14742     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14743       PATH_SEPARATOR=';'
14744   }
14745 fi
14746
14747
14748 # IFS
14749 # We need space, tab and new line, in precisely that order.  Quoting is
14750 # there to prevent editors from complaining about space-tab.
14751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14752 # splitting by setting IFS to empty value.)
14753 IFS=" ""        $as_nl"
14754
14755 # Find who we are.  Look in the path if we contain no directory separator.
14756 as_myself=
14757 case $0 in #((
14758   *[\\/]* ) as_myself=$0 ;;
14759   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14760 for as_dir in $PATH
14761 do
14762   IFS=$as_save_IFS
14763   test -z "$as_dir" && as_dir=.
14764     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14765   done
14766 IFS=$as_save_IFS
14767
14768      ;;
14769 esac
14770 # We did not find ourselves, most probably we were run as `sh COMMAND'
14771 # in which case we are not to be found in the path.
14772 if test "x$as_myself" = x; then
14773   as_myself=$0
14774 fi
14775 if test ! -f "$as_myself"; then
14776   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14777   exit 1
14778 fi
14779
14780 # Unset variables that we do not need and which cause bugs (e.g. in
14781 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14782 # suppresses any "Segmentation fault" message there.  '((' could
14783 # trigger a bug in pdksh 5.2.14.
14784 for as_var in BASH_ENV ENV MAIL MAILPATH
14785 do eval test x\${$as_var+set} = xset \
14786   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14787 done
14788 PS1='$ '
14789 PS2='> '
14790 PS4='+ '
14791
14792 # NLS nuisances.
14793 LC_ALL=C
14794 export LC_ALL
14795 LANGUAGE=C
14796 export LANGUAGE
14797
14798 # CDPATH.
14799 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14800
14801
14802 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14803 # ----------------------------------------
14804 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14805 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14806 # script with STATUS, using 1 if that was 0.
14807 as_fn_error ()
14808 {
14809   as_status=$1; test $as_status -eq 0 && as_status=1
14810   if test "$4"; then
14811     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14812     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14813   fi
14814   $as_echo "$as_me: error: $2" >&2
14815   as_fn_exit $as_status
14816 } # as_fn_error
14817
14818
14819 # as_fn_set_status STATUS
14820 # -----------------------
14821 # Set $? to STATUS, without forking.
14822 as_fn_set_status ()
14823 {
14824   return $1
14825 } # as_fn_set_status
14826
14827 # as_fn_exit STATUS
14828 # -----------------
14829 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14830 as_fn_exit ()
14831 {
14832   set +e
14833   as_fn_set_status $1
14834   exit $1
14835 } # as_fn_exit
14836
14837 # as_fn_unset VAR
14838 # ---------------
14839 # Portably unset VAR.
14840 as_fn_unset ()
14841 {
14842   { eval $1=; unset $1;}
14843 }
14844 as_unset=as_fn_unset
14845 # as_fn_append VAR VALUE
14846 # ----------------------
14847 # Append the text in VALUE to the end of the definition contained in VAR. Take
14848 # advantage of any shell optimizations that allow amortized linear growth over
14849 # repeated appends, instead of the typical quadratic growth present in naive
14850 # implementations.
14851 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14852   eval 'as_fn_append ()
14853   {
14854     eval $1+=\$2
14855   }'
14856 else
14857   as_fn_append ()
14858   {
14859     eval $1=\$$1\$2
14860   }
14861 fi # as_fn_append
14862
14863 # as_fn_arith ARG...
14864 # ------------------
14865 # Perform arithmetic evaluation on the ARGs, and store the result in the
14866 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14867 # must be portable across $(()) and expr.
14868 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14869   eval 'as_fn_arith ()
14870   {
14871     as_val=$(( $* ))
14872   }'
14873 else
14874   as_fn_arith ()
14875   {
14876     as_val=`expr "$@" || test $? -eq 1`
14877   }
14878 fi # as_fn_arith
14879
14880
14881 if expr a : '\(a\)' >/dev/null 2>&1 &&
14882    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14883   as_expr=expr
14884 else
14885   as_expr=false
14886 fi
14887
14888 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14889   as_basename=basename
14890 else
14891   as_basename=false
14892 fi
14893
14894 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14895   as_dirname=dirname
14896 else
14897   as_dirname=false
14898 fi
14899
14900 as_me=`$as_basename -- "$0" ||
14901 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14902          X"$0" : 'X\(//\)$' \| \
14903          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14904 $as_echo X/"$0" |
14905     sed '/^.*\/\([^/][^/]*\)\/*$/{
14906             s//\1/
14907             q
14908           }
14909           /^X\/\(\/\/\)$/{
14910             s//\1/
14911             q
14912           }
14913           /^X\/\(\/\).*/{
14914             s//\1/
14915             q
14916           }
14917           s/.*/./; q'`
14918
14919 # Avoid depending upon Character Ranges.
14920 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14921 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14922 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14923 as_cr_digits='0123456789'
14924 as_cr_alnum=$as_cr_Letters$as_cr_digits
14925
14926 ECHO_C= ECHO_N= ECHO_T=
14927 case `echo -n x` in #(((((
14928 -n*)
14929   case `echo 'xy\c'` in
14930   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14931   xy)  ECHO_C='\c';;
14932   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14933        ECHO_T=' ';;
14934   esac;;
14935 *)
14936   ECHO_N='-n';;
14937 esac
14938
14939 rm -f conf$$ conf$$.exe conf$$.file
14940 if test -d conf$$.dir; then
14941   rm -f conf$$.dir/conf$$.file
14942 else
14943   rm -f conf$$.dir
14944   mkdir conf$$.dir 2>/dev/null
14945 fi
14946 if (echo >conf$$.file) 2>/dev/null; then
14947   if ln -s conf$$.file conf$$ 2>/dev/null; then
14948     as_ln_s='ln -s'
14949     # ... but there are two gotchas:
14950     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14951     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14952     # In both cases, we have to default to `cp -p'.
14953     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14954       as_ln_s='cp -p'
14955   elif ln conf$$.file conf$$ 2>/dev/null; then
14956     as_ln_s=ln
14957   else
14958     as_ln_s='cp -p'
14959   fi
14960 else
14961   as_ln_s='cp -p'
14962 fi
14963 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14964 rmdir conf$$.dir 2>/dev/null
14965
14966
14967 # as_fn_mkdir_p
14968 # -------------
14969 # Create "$as_dir" as a directory, including parents if necessary.
14970 as_fn_mkdir_p ()
14971 {
14972
14973   case $as_dir in #(
14974   -*) as_dir=./$as_dir;;
14975   esac
14976   test -d "$as_dir" || eval $as_mkdir_p || {
14977     as_dirs=
14978     while :; do
14979       case $as_dir in #(
14980       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14981       *) as_qdir=$as_dir;;
14982       esac
14983       as_dirs="'$as_qdir' $as_dirs"
14984       as_dir=`$as_dirname -- "$as_dir" ||
14985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14986          X"$as_dir" : 'X\(//\)[^/]' \| \
14987          X"$as_dir" : 'X\(//\)$' \| \
14988          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14989 $as_echo X"$as_dir" |
14990     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14991             s//\1/
14992             q
14993           }
14994           /^X\(\/\/\)[^/].*/{
14995             s//\1/
14996             q
14997           }
14998           /^X\(\/\/\)$/{
14999             s//\1/
15000             q
15001           }
15002           /^X\(\/\).*/{
15003             s//\1/
15004             q
15005           }
15006           s/.*/./; q'`
15007       test -d "$as_dir" && break
15008     done
15009     test -z "$as_dirs" || eval "mkdir $as_dirs"
15010   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15011
15012
15013 } # as_fn_mkdir_p
15014 if mkdir -p . 2>/dev/null; then
15015   as_mkdir_p='mkdir -p "$as_dir"'
15016 else
15017   test -d ./-p && rmdir ./-p
15018   as_mkdir_p=false
15019 fi
15020
15021 if test -x / >/dev/null 2>&1; then
15022   as_test_x='test -x'
15023 else
15024   if ls -dL / >/dev/null 2>&1; then
15025     as_ls_L_option=L
15026   else
15027     as_ls_L_option=
15028   fi
15029   as_test_x='
15030     eval sh -c '\''
15031       if test -d "$1"; then
15032         test -d "$1/.";
15033       else
15034         case $1 in #(
15035         -*)set "./$1";;
15036         esac;
15037         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15038         ???[sx]*):;;*)false;;esac;fi
15039     '\'' sh
15040   '
15041 fi
15042 as_executable_p=$as_test_x
15043
15044 # Sed expression to map a string onto a valid CPP name.
15045 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15046
15047 # Sed expression to map a string onto a valid variable name.
15048 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15049
15050
15051 exec 6>&1
15052 ## ----------------------------------- ##
15053 ## Main body of $CONFIG_STATUS script. ##
15054 ## ----------------------------------- ##
15055 _ASEOF
15056 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15057
15058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15059 # Save the log message, to keep $0 and so on meaningful, and to
15060 # report actual input values of CONFIG_FILES etc. instead of their
15061 # values after options handling.
15062 ac_log="
15063 This file was extended by embryo $as_me 1.7.4, which was
15064 generated by GNU Autoconf 2.68.  Invocation command line was
15065
15066   CONFIG_FILES    = $CONFIG_FILES
15067   CONFIG_HEADERS  = $CONFIG_HEADERS
15068   CONFIG_LINKS    = $CONFIG_LINKS
15069   CONFIG_COMMANDS = $CONFIG_COMMANDS
15070   $ $0 $@
15071
15072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15073 "
15074
15075 _ACEOF
15076
15077 case $ac_config_files in *"
15078 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15079 esac
15080
15081 case $ac_config_headers in *"
15082 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15083 esac
15084
15085
15086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15087 # Files that config.status was made for.
15088 config_files="$ac_config_files"
15089 config_headers="$ac_config_headers"
15090 config_commands="$ac_config_commands"
15091
15092 _ACEOF
15093
15094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15095 ac_cs_usage="\
15096 \`$as_me' instantiates files and other configuration actions
15097 from templates according to the current configuration.  Unless the files
15098 and actions are specified as TAGs, all are instantiated by default.
15099
15100 Usage: $0 [OPTION]... [TAG]...
15101
15102   -h, --help       print this help, then exit
15103   -V, --version    print version number and configuration settings, then exit
15104       --config     print configuration, then exit
15105   -q, --quiet, --silent
15106                    do not print progress messages
15107   -d, --debug      don't remove temporary files
15108       --recheck    update $as_me by reconfiguring in the same conditions
15109       --file=FILE[:TEMPLATE]
15110                    instantiate the configuration file FILE
15111       --header=FILE[:TEMPLATE]
15112                    instantiate the configuration header FILE
15113
15114 Configuration files:
15115 $config_files
15116
15117 Configuration headers:
15118 $config_headers
15119
15120 Configuration commands:
15121 $config_commands
15122
15123 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
15124
15125 _ACEOF
15126 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15127 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15128 ac_cs_version="\\
15129 embryo config.status 1.7.4
15130 configured by $0, generated by GNU Autoconf 2.68,
15131   with options \\"\$ac_cs_config\\"
15132
15133 Copyright (C) 2010 Free Software Foundation, Inc.
15134 This config.status script is free software; the Free Software Foundation
15135 gives unlimited permission to copy, distribute and modify it."
15136
15137 ac_pwd='$ac_pwd'
15138 srcdir='$srcdir'
15139 INSTALL='$INSTALL'
15140 MKDIR_P='$MKDIR_P'
15141 AWK='$AWK'
15142 test -n "\$AWK" || AWK=awk
15143 _ACEOF
15144
15145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15146 # The default lists apply if the user does not specify any file.
15147 ac_need_defaults=:
15148 while test $# != 0
15149 do
15150   case $1 in
15151   --*=?*)
15152     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15153     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15154     ac_shift=:
15155     ;;
15156   --*=)
15157     ac_option=`expr "X$1" : 'X\([^=]*\)='`
15158     ac_optarg=
15159     ac_shift=:
15160     ;;
15161   *)
15162     ac_option=$1
15163     ac_optarg=$2
15164     ac_shift=shift
15165     ;;
15166   esac
15167
15168   case $ac_option in
15169   # Handling of the options.
15170   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15171     ac_cs_recheck=: ;;
15172   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15173     $as_echo "$ac_cs_version"; exit ;;
15174   --config | --confi | --conf | --con | --co | --c )
15175     $as_echo "$ac_cs_config"; exit ;;
15176   --debug | --debu | --deb | --de | --d | -d )
15177     debug=: ;;
15178   --file | --fil | --fi | --f )
15179     $ac_shift
15180     case $ac_optarg in
15181     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15182     '') as_fn_error $? "missing file argument" ;;
15183     esac
15184     as_fn_append CONFIG_FILES " '$ac_optarg'"
15185     ac_need_defaults=false;;
15186   --header | --heade | --head | --hea )
15187     $ac_shift
15188     case $ac_optarg in
15189     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15190     esac
15191     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15192     ac_need_defaults=false;;
15193   --he | --h)
15194     # Conflict between --help and --header
15195     as_fn_error $? "ambiguous option: \`$1'
15196 Try \`$0 --help' for more information.";;
15197   --help | --hel | -h )
15198     $as_echo "$ac_cs_usage"; exit ;;
15199   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15200   | -silent | --silent | --silen | --sile | --sil | --si | --s)
15201     ac_cs_silent=: ;;
15202
15203   # This is an error.
15204   -*) as_fn_error $? "unrecognized option: \`$1'
15205 Try \`$0 --help' for more information." ;;
15206
15207   *) as_fn_append ac_config_targets " $1"
15208      ac_need_defaults=false ;;
15209
15210   esac
15211   shift
15212 done
15213
15214 ac_configure_extra_args=
15215
15216 if $ac_cs_silent; then
15217   exec 6>/dev/null
15218   ac_configure_extra_args="$ac_configure_extra_args --silent"
15219 fi
15220
15221 _ACEOF
15222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15223 if \$ac_cs_recheck; then
15224   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15225   shift
15226   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15227   CONFIG_SHELL='$SHELL'
15228   export CONFIG_SHELL
15229   exec "\$@"
15230 fi
15231
15232 _ACEOF
15233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15234 exec 5>>config.log
15235 {
15236   echo
15237   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15238 ## Running $as_me. ##
15239 _ASBOX
15240   $as_echo "$ac_log"
15241 } >&5
15242
15243 _ACEOF
15244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15245 #
15246 # INIT-COMMANDS
15247 #
15248 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15249
15250
15251 # The HP-UX ksh and POSIX shell print the target directory to stdout
15252 # if CDPATH is set.
15253 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15254
15255 sed_quote_subst='$sed_quote_subst'
15256 double_quote_subst='$double_quote_subst'
15257 delay_variable_subst='$delay_variable_subst'
15258 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15259 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15260 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15261 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15262 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15263 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15264 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15265 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15266 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15267 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15268 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15269 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15270 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15271 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15272 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15273 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15274 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15275 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15276 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15277 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15278 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15279 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15280 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15281 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15282 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15283 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15284 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15285 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15286 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15287 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15288 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15289 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15290 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15291 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15292 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15293 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15294 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15295 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15296 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15297 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15298 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15299 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15300 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15301 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15302 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15303 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15304 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15305 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15306 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15307 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15308 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15309 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15310 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15311 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15312 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15313 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15314 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15315 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"`'
15316 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15317 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15318 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15319 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15320 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15321 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15322 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15323 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15324 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15325 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15326 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15327 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15328 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15329 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15330 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15331 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15332 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15333 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15334 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15335 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15336 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15337 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15338 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15339 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15340 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15341 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15342 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15343 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15344 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15345 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15346 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15347 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15348 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15349 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15350 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15351 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15352 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15353 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15354 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15355 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15356 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15357 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15358 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15359 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15360 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15361 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15362 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15363 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15364 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15365 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15366 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15367 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15368 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15369 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15370 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15371 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15372 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15373 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15374 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15375 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15376 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15377 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15378 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15379 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15380 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15381 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15382 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15383 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15384 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15385 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15386 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15387 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15388 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15389
15390 LTCC='$LTCC'
15391 LTCFLAGS='$LTCFLAGS'
15392 compiler='$compiler_DEFAULT'
15393
15394 # A function that is used when there is no print builtin or printf.
15395 func_fallback_echo ()
15396 {
15397   eval 'cat <<_LTECHO_EOF
15398 \$1
15399 _LTECHO_EOF'
15400 }
15401
15402 # Quote evaled strings.
15403 for var in AS \
15404 DLLTOOL \
15405 OBJDUMP \
15406 SHELL \
15407 ECHO \
15408 PATH_SEPARATOR \
15409 SED \
15410 GREP \
15411 EGREP \
15412 FGREP \
15413 LD \
15414 NM \
15415 LN_S \
15416 lt_SP2NL \
15417 lt_NL2SP \
15418 reload_flag \
15419 deplibs_check_method \
15420 file_magic_cmd \
15421 file_magic_glob \
15422 want_nocaseglob \
15423 sharedlib_from_linklib_cmd \
15424 AR \
15425 AR_FLAGS \
15426 archiver_list_spec \
15427 STRIP \
15428 RANLIB \
15429 CC \
15430 CFLAGS \
15431 compiler \
15432 lt_cv_sys_global_symbol_pipe \
15433 lt_cv_sys_global_symbol_to_cdecl \
15434 lt_cv_sys_global_symbol_to_c_name_address \
15435 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15436 nm_file_list_spec \
15437 lt_prog_compiler_no_builtin_flag \
15438 lt_prog_compiler_pic \
15439 lt_prog_compiler_wl \
15440 lt_prog_compiler_static \
15441 lt_cv_prog_compiler_c_o \
15442 need_locks \
15443 MANIFEST_TOOL \
15444 DSYMUTIL \
15445 NMEDIT \
15446 LIPO \
15447 OTOOL \
15448 OTOOL64 \
15449 shrext_cmds \
15450 export_dynamic_flag_spec \
15451 whole_archive_flag_spec \
15452 compiler_needs_object \
15453 with_gnu_ld \
15454 allow_undefined_flag \
15455 no_undefined_flag \
15456 hardcode_libdir_flag_spec \
15457 hardcode_libdir_separator \
15458 exclude_expsyms \
15459 include_expsyms \
15460 file_list_spec \
15461 variables_saved_for_relink \
15462 libname_spec \
15463 library_names_spec \
15464 soname_spec \
15465 install_override_mode \
15466 finish_eval \
15467 old_striplib \
15468 striplib; do
15469     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15470     *[\\\\\\\`\\"\\\$]*)
15471       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15472       ;;
15473     *)
15474       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15475       ;;
15476     esac
15477 done
15478
15479 # Double-quote double-evaled strings.
15480 for var in reload_cmds \
15481 old_postinstall_cmds \
15482 old_postuninstall_cmds \
15483 old_archive_cmds \
15484 extract_expsyms_cmds \
15485 old_archive_from_new_cmds \
15486 old_archive_from_expsyms_cmds \
15487 archive_cmds \
15488 archive_expsym_cmds \
15489 module_cmds \
15490 module_expsym_cmds \
15491 export_symbols_cmds \
15492 prelink_cmds \
15493 postlink_cmds \
15494 postinstall_cmds \
15495 postuninstall_cmds \
15496 finish_cmds \
15497 sys_lib_search_path_spec \
15498 sys_lib_dlsearch_path_spec; do
15499     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15500     *[\\\\\\\`\\"\\\$]*)
15501       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15502       ;;
15503     *)
15504       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15505       ;;
15506     esac
15507 done
15508
15509 ac_aux_dir='$ac_aux_dir'
15510 xsi_shell='$xsi_shell'
15511 lt_shell_append='$lt_shell_append'
15512
15513 # See if we are running on zsh, and set the options which allow our
15514 # commands through without removal of \ escapes INIT.
15515 if test -n "\${ZSH_VERSION+set}" ; then
15516    setopt NO_GLOB_SUBST
15517 fi
15518
15519
15520     PACKAGE='$PACKAGE'
15521     VERSION='$VERSION'
15522     TIMESTAMP='$TIMESTAMP'
15523     RM='$RM'
15524     ofile='$ofile'
15525
15526
15527
15528
15529 _ACEOF
15530
15531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15532
15533 # Handling of arguments.
15534 for ac_config_target in $ac_config_targets
15535 do
15536   case $ac_config_target in
15537     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15538     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15539     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15540     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15541     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15542     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15543     "doc/embryo.dox") CONFIG_FILES="$CONFIG_FILES doc/embryo.dox" ;;
15544     "embryo.pc") CONFIG_FILES="$CONFIG_FILES embryo.pc" ;;
15545     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15546     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15547     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15548     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15549     "embryo.spec") CONFIG_FILES="$CONFIG_FILES embryo.spec" ;;
15550
15551   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15552   esac
15553 done
15554
15555
15556 # If the user did not use the arguments to specify the items to instantiate,
15557 # then the envvar interface is used.  Set only those that are not.
15558 # We use the long form for the default assignment because of an extremely
15559 # bizarre bug on SunOS 4.1.3.
15560 if $ac_need_defaults; then
15561   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15562   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15563   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15564 fi
15565
15566 # Have a temporary directory for convenience.  Make it in the build tree
15567 # simply because there is no reason against having it here, and in addition,
15568 # creating and moving files from /tmp can sometimes cause problems.
15569 # Hook for its removal unless debugging.
15570 # Note that there is a small window in which the directory will not be cleaned:
15571 # after its creation but before its name has been assigned to `$tmp'.
15572 $debug ||
15573 {
15574   tmp= ac_tmp=
15575   trap 'exit_status=$?
15576   : "${ac_tmp:=$tmp}"
15577   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15578 ' 0
15579   trap 'as_fn_exit 1' 1 2 13 15
15580 }
15581 # Create a (secure) tmp directory for tmp files.
15582
15583 {
15584   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15585   test -d "$tmp"
15586 }  ||
15587 {
15588   tmp=./conf$$-$RANDOM
15589   (umask 077 && mkdir "$tmp")
15590 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15591 ac_tmp=$tmp
15592
15593 # Set up the scripts for CONFIG_FILES section.
15594 # No need to generate them if there are no CONFIG_FILES.
15595 # This happens for instance with `./config.status config.h'.
15596 if test -n "$CONFIG_FILES"; then
15597
15598
15599 ac_cr=`echo X | tr X '\015'`
15600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15601 # But we know of no other shell where ac_cr would be empty at this
15602 # point, so we can use a bashism as a fallback.
15603 if test "x$ac_cr" = x; then
15604   eval ac_cr=\$\'\\r\'
15605 fi
15606 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15608   ac_cs_awk_cr='\\r'
15609 else
15610   ac_cs_awk_cr=$ac_cr
15611 fi
15612
15613 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15614 _ACEOF
15615
15616
15617 {
15618   echo "cat >conf$$subs.awk <<_ACEOF" &&
15619   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15620   echo "_ACEOF"
15621 } >conf$$subs.sh ||
15622   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15624 ac_delim='%!_!# '
15625 for ac_last_try in false false false false false :; do
15626   . ./conf$$subs.sh ||
15627     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15628
15629   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15630   if test $ac_delim_n = $ac_delim_num; then
15631     break
15632   elif $ac_last_try; then
15633     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15634   else
15635     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15636   fi
15637 done
15638 rm -f conf$$subs.sh
15639
15640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15641 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15642 _ACEOF
15643 sed -n '
15644 h
15645 s/^/S["/; s/!.*/"]=/
15646 p
15647 g
15648 s/^[^!]*!//
15649 :repl
15650 t repl
15651 s/'"$ac_delim"'$//
15652 t delim
15653 :nl
15654 h
15655 s/\(.\{148\}\)..*/\1/
15656 t more1
15657 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15658 p
15659 n
15660 b repl
15661 :more1
15662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15663 p
15664 g
15665 s/.\{148\}//
15666 t nl
15667 :delim
15668 h
15669 s/\(.\{148\}\)..*/\1/
15670 t more2
15671 s/["\\]/\\&/g; s/^/"/; s/$/"/
15672 p
15673 b
15674 :more2
15675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15676 p
15677 g
15678 s/.\{148\}//
15679 t delim
15680 ' <conf$$subs.awk | sed '
15681 /^[^""]/{
15682   N
15683   s/\n//
15684 }
15685 ' >>$CONFIG_STATUS || ac_write_fail=1
15686 rm -f conf$$subs.awk
15687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15688 _ACAWK
15689 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15690   for (key in S) S_is_set[key] = 1
15691   FS = "\a"
15692
15693 }
15694 {
15695   line = $ 0
15696   nfields = split(line, field, "@")
15697   substed = 0
15698   len = length(field[1])
15699   for (i = 2; i < nfields; i++) {
15700     key = field[i]
15701     keylen = length(key)
15702     if (S_is_set[key]) {
15703       value = S[key]
15704       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15705       len += length(value) + length(field[++i])
15706       substed = 1
15707     } else
15708       len += 1 + keylen
15709   }
15710
15711   print line
15712 }
15713
15714 _ACAWK
15715 _ACEOF
15716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15717 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15718   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15719 else
15720   cat
15721 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15722   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15723 _ACEOF
15724
15725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15727 # trailing colons and then remove the whole line if VPATH becomes empty
15728 # (actually we leave an empty line to preserve line numbers).
15729 if test "x$srcdir" = x.; then
15730   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15731 h
15732 s///
15733 s/^/:/
15734 s/[      ]*$/:/
15735 s/:\$(srcdir):/:/g
15736 s/:\${srcdir}:/:/g
15737 s/:@srcdir@:/:/g
15738 s/^:*//
15739 s/:*$//
15740 x
15741 s/\(=[   ]*\).*/\1/
15742 G
15743 s/\n//
15744 s/^[^=]*=[       ]*$//
15745 }'
15746 fi
15747
15748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15749 fi # test -n "$CONFIG_FILES"
15750
15751 # Set up the scripts for CONFIG_HEADERS section.
15752 # No need to generate them if there are no CONFIG_HEADERS.
15753 # This happens for instance with `./config.status Makefile'.
15754 if test -n "$CONFIG_HEADERS"; then
15755 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15756 BEGIN {
15757 _ACEOF
15758
15759 # Transform confdefs.h into an awk script `defines.awk', embedded as
15760 # here-document in config.status, that substitutes the proper values into
15761 # config.h.in to produce config.h.
15762
15763 # Create a delimiter string that does not exist in confdefs.h, to ease
15764 # handling of long lines.
15765 ac_delim='%!_!# '
15766 for ac_last_try in false false :; do
15767   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15768   if test -z "$ac_tt"; then
15769     break
15770   elif $ac_last_try; then
15771     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15772   else
15773     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15774   fi
15775 done
15776
15777 # For the awk script, D is an array of macro values keyed by name,
15778 # likewise P contains macro parameters if any.  Preserve backslash
15779 # newline sequences.
15780
15781 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15782 sed -n '
15783 s/.\{148\}/&'"$ac_delim"'/g
15784 t rset
15785 :rset
15786 s/^[     ]*#[    ]*define[       ][      ]*/ /
15787 t def
15788 d
15789 :def
15790 s/\\$//
15791 t bsnl
15792 s/["\\]/\\&/g
15793 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15794 D["\1"]=" \3"/p
15795 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15796 d
15797 :bsnl
15798 s/["\\]/\\&/g
15799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15800 D["\1"]=" \3\\\\\\n"\\/p
15801 t cont
15802 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15803 t cont
15804 d
15805 :cont
15806 n
15807 s/.\{148\}/&'"$ac_delim"'/g
15808 t clear
15809 :clear
15810 s/\\$//
15811 t bsnlc
15812 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15813 d
15814 :bsnlc
15815 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15816 b cont
15817 ' <confdefs.h | sed '
15818 s/'"$ac_delim"'/"\\\
15819 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15820
15821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15822   for (key in D) D_is_set[key] = 1
15823   FS = "\a"
15824 }
15825 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15826   line = \$ 0
15827   split(line, arg, " ")
15828   if (arg[1] == "#") {
15829     defundef = arg[2]
15830     mac1 = arg[3]
15831   } else {
15832     defundef = substr(arg[1], 2)
15833     mac1 = arg[2]
15834   }
15835   split(mac1, mac2, "(") #)
15836   macro = mac2[1]
15837   prefix = substr(line, 1, index(line, defundef) - 1)
15838   if (D_is_set[macro]) {
15839     # Preserve the white space surrounding the "#".
15840     print prefix "define", macro P[macro] D[macro]
15841     next
15842   } else {
15843     # Replace #undef with comments.  This is necessary, for example,
15844     # in the case of _POSIX_SOURCE, which is predefined and required
15845     # on some systems where configure will not decide to define it.
15846     if (defundef == "undef") {
15847       print "/*", prefix defundef, macro, "*/"
15848       next
15849     }
15850   }
15851 }
15852 { print }
15853 _ACAWK
15854 _ACEOF
15855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15856   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15857 fi # test -n "$CONFIG_HEADERS"
15858
15859
15860 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15861 shift
15862 for ac_tag
15863 do
15864   case $ac_tag in
15865   :[FHLC]) ac_mode=$ac_tag; continue;;
15866   esac
15867   case $ac_mode$ac_tag in
15868   :[FHL]*:*);;
15869   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15870   :[FH]-) ac_tag=-:-;;
15871   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15872   esac
15873   ac_save_IFS=$IFS
15874   IFS=:
15875   set x $ac_tag
15876   IFS=$ac_save_IFS
15877   shift
15878   ac_file=$1
15879   shift
15880
15881   case $ac_mode in
15882   :L) ac_source=$1;;
15883   :[FH])
15884     ac_file_inputs=
15885     for ac_f
15886     do
15887       case $ac_f in
15888       -) ac_f="$ac_tmp/stdin";;
15889       *) # Look for the file first in the build tree, then in the source tree
15890          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15891          # because $ac_f cannot contain `:'.
15892          test -f "$ac_f" ||
15893            case $ac_f in
15894            [\\/$]*) false;;
15895            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15896            esac ||
15897            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15898       esac
15899       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15900       as_fn_append ac_file_inputs " '$ac_f'"
15901     done
15902
15903     # Let's still pretend it is `configure' which instantiates (i.e., don't
15904     # use $as_me), people would be surprised to read:
15905     #    /* config.h.  Generated by config.status.  */
15906     configure_input='Generated from '`
15907           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15908         `' by configure.'
15909     if test x"$ac_file" != x-; then
15910       configure_input="$ac_file.  $configure_input"
15911       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15912 $as_echo "$as_me: creating $ac_file" >&6;}
15913     fi
15914     # Neutralize special characters interpreted by sed in replacement strings.
15915     case $configure_input in #(
15916     *\&* | *\|* | *\\* )
15917        ac_sed_conf_input=`$as_echo "$configure_input" |
15918        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15919     *) ac_sed_conf_input=$configure_input;;
15920     esac
15921
15922     case $ac_tag in
15923     *:-:* | *:-) cat >"$ac_tmp/stdin" \
15924       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15925     esac
15926     ;;
15927   esac
15928
15929   ac_dir=`$as_dirname -- "$ac_file" ||
15930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15931          X"$ac_file" : 'X\(//\)[^/]' \| \
15932          X"$ac_file" : 'X\(//\)$' \| \
15933          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15934 $as_echo X"$ac_file" |
15935     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15936             s//\1/
15937             q
15938           }
15939           /^X\(\/\/\)[^/].*/{
15940             s//\1/
15941             q
15942           }
15943           /^X\(\/\/\)$/{
15944             s//\1/
15945             q
15946           }
15947           /^X\(\/\).*/{
15948             s//\1/
15949             q
15950           }
15951           s/.*/./; q'`
15952   as_dir="$ac_dir"; as_fn_mkdir_p
15953   ac_builddir=.
15954
15955 case "$ac_dir" in
15956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15957 *)
15958   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15959   # A ".." for each directory in $ac_dir_suffix.
15960   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15961   case $ac_top_builddir_sub in
15962   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15963   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15964   esac ;;
15965 esac
15966 ac_abs_top_builddir=$ac_pwd
15967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15968 # for backward compatibility:
15969 ac_top_builddir=$ac_top_build_prefix
15970
15971 case $srcdir in
15972   .)  # We are building in place.
15973     ac_srcdir=.
15974     ac_top_srcdir=$ac_top_builddir_sub
15975     ac_abs_top_srcdir=$ac_pwd ;;
15976   [\\/]* | ?:[\\/]* )  # Absolute name.
15977     ac_srcdir=$srcdir$ac_dir_suffix;
15978     ac_top_srcdir=$srcdir
15979     ac_abs_top_srcdir=$srcdir ;;
15980   *) # Relative name.
15981     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15982     ac_top_srcdir=$ac_top_build_prefix$srcdir
15983     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15984 esac
15985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15986
15987
15988   case $ac_mode in
15989   :F)
15990   #
15991   # CONFIG_FILE
15992   #
15993
15994   case $INSTALL in
15995   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15996   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15997   esac
15998   ac_MKDIR_P=$MKDIR_P
15999   case $MKDIR_P in
16000   [\\/$]* | ?:[\\/]* ) ;;
16001   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16002   esac
16003 _ACEOF
16004
16005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16006 # If the template does not know about datarootdir, expand it.
16007 # FIXME: This hack should be removed a few years after 2.60.
16008 ac_datarootdir_hack=; ac_datarootdir_seen=
16009 ac_sed_dataroot='
16010 /datarootdir/ {
16011   p
16012   q
16013 }
16014 /@datadir@/p
16015 /@docdir@/p
16016 /@infodir@/p
16017 /@localedir@/p
16018 /@mandir@/p'
16019 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16020 *datarootdir*) ac_datarootdir_seen=yes;;
16021 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16022   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16023 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16024 _ACEOF
16025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16026   ac_datarootdir_hack='
16027   s&@datadir@&$datadir&g
16028   s&@docdir@&$docdir&g
16029   s&@infodir@&$infodir&g
16030   s&@localedir@&$localedir&g
16031   s&@mandir@&$mandir&g
16032   s&\\\${datarootdir}&$datarootdir&g' ;;
16033 esac
16034 _ACEOF
16035
16036 # Neutralize VPATH when `$srcdir' = `.'.
16037 # Shell code in configure.ac might set extrasub.
16038 # FIXME: do we really want to maintain this feature?
16039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16040 ac_sed_extra="$ac_vpsub
16041 $extrasub
16042 _ACEOF
16043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16044 :t
16045 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16046 s|@configure_input@|$ac_sed_conf_input|;t t
16047 s&@top_builddir@&$ac_top_builddir_sub&;t t
16048 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16049 s&@srcdir@&$ac_srcdir&;t t
16050 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16051 s&@top_srcdir@&$ac_top_srcdir&;t t
16052 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16053 s&@builddir@&$ac_builddir&;t t
16054 s&@abs_builddir@&$ac_abs_builddir&;t t
16055 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16056 s&@INSTALL@&$ac_INSTALL&;t t
16057 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16058 $ac_datarootdir_hack
16059 "
16060 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16061   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16062
16063 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16064   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16065   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
16066       "$ac_tmp/out"`; test -z "$ac_out"; } &&
16067   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16068 which seems to be undefined.  Please make sure it is defined" >&5
16069 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16070 which seems to be undefined.  Please make sure it is defined" >&2;}
16071
16072   rm -f "$ac_tmp/stdin"
16073   case $ac_file in
16074   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16075   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16076   esac \
16077   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16078  ;;
16079   :H)
16080   #
16081   # CONFIG_HEADER
16082   #
16083   if test x"$ac_file" != x-; then
16084     {
16085       $as_echo "/* $configure_input  */" \
16086       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16087     } >"$ac_tmp/config.h" \
16088       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16089     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16090       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16091 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16092     else
16093       rm -f "$ac_file"
16094       mv "$ac_tmp/config.h" "$ac_file" \
16095         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16096     fi
16097   else
16098     $as_echo "/* $configure_input  */" \
16099       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16100       || as_fn_error $? "could not create -" "$LINENO" 5
16101   fi
16102 # Compute "$ac_file"'s index in $config_headers.
16103 _am_arg="$ac_file"
16104 _am_stamp_count=1
16105 for _am_header in $config_headers :; do
16106   case $_am_header in
16107     $_am_arg | $_am_arg:* )
16108       break ;;
16109     * )
16110       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16111   esac
16112 done
16113 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16114 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16115          X"$_am_arg" : 'X\(//\)[^/]' \| \
16116          X"$_am_arg" : 'X\(//\)$' \| \
16117          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16118 $as_echo X"$_am_arg" |
16119     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16120             s//\1/
16121             q
16122           }
16123           /^X\(\/\/\)[^/].*/{
16124             s//\1/
16125             q
16126           }
16127           /^X\(\/\/\)$/{
16128             s//\1/
16129             q
16130           }
16131           /^X\(\/\).*/{
16132             s//\1/
16133             q
16134           }
16135           s/.*/./; q'`/stamp-h$_am_stamp_count
16136  ;;
16137
16138   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16139 $as_echo "$as_me: executing $ac_file commands" >&6;}
16140  ;;
16141   esac
16142
16143
16144   case $ac_file$ac_mode in
16145     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16146   # Autoconf 2.62 quotes --file arguments for eval, but not when files
16147   # are listed without --file.  Let's play safe and only enable the eval
16148   # if we detect the quoting.
16149   case $CONFIG_FILES in
16150   *\'*) eval set x "$CONFIG_FILES" ;;
16151   *)   set x $CONFIG_FILES ;;
16152   esac
16153   shift
16154   for mf
16155   do
16156     # Strip MF so we end up with the name of the file.
16157     mf=`echo "$mf" | sed -e 's/:.*$//'`
16158     # Check whether this is an Automake generated Makefile or not.
16159     # We used to match only the files named `Makefile.in', but
16160     # some people rename them; so instead we look at the file content.
16161     # Grep'ing the first line is not enough: some people post-process
16162     # each Makefile.in and add a new line on top of each file to say so.
16163     # Grep'ing the whole file is not good either: AIX grep has a line
16164     # limit of 2048, but all sed's we know have understand at least 4000.
16165     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16166       dirpart=`$as_dirname -- "$mf" ||
16167 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16168          X"$mf" : 'X\(//\)[^/]' \| \
16169          X"$mf" : 'X\(//\)$' \| \
16170          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16171 $as_echo X"$mf" |
16172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16173             s//\1/
16174             q
16175           }
16176           /^X\(\/\/\)[^/].*/{
16177             s//\1/
16178             q
16179           }
16180           /^X\(\/\/\)$/{
16181             s//\1/
16182             q
16183           }
16184           /^X\(\/\).*/{
16185             s//\1/
16186             q
16187           }
16188           s/.*/./; q'`
16189     else
16190       continue
16191     fi
16192     # Extract the definition of DEPDIR, am__include, and am__quote
16193     # from the Makefile without running `make'.
16194     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16195     test -z "$DEPDIR" && continue
16196     am__include=`sed -n 's/^am__include = //p' < "$mf"`
16197     test -z "am__include" && continue
16198     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16199     # When using ansi2knr, U may be empty or an underscore; expand it
16200     U=`sed -n 's/^U = //p' < "$mf"`
16201     # Find all dependency output files, they are included files with
16202     # $(DEPDIR) in their names.  We invoke sed twice because it is the
16203     # simplest approach to changing $(DEPDIR) to its actual value in the
16204     # expansion.
16205     for file in `sed -n "
16206       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16207          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16208       # Make sure the directory exists.
16209       test -f "$dirpart/$file" && continue
16210       fdir=`$as_dirname -- "$file" ||
16211 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16212          X"$file" : 'X\(//\)[^/]' \| \
16213          X"$file" : 'X\(//\)$' \| \
16214          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16215 $as_echo X"$file" |
16216     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16217             s//\1/
16218             q
16219           }
16220           /^X\(\/\/\)[^/].*/{
16221             s//\1/
16222             q
16223           }
16224           /^X\(\/\/\)$/{
16225             s//\1/
16226             q
16227           }
16228           /^X\(\/\).*/{
16229             s//\1/
16230             q
16231           }
16232           s/.*/./; q'`
16233       as_dir=$dirpart/$fdir; as_fn_mkdir_p
16234       # echo "creating $dirpart/$file"
16235       echo '# dummy' > "$dirpart/$file"
16236     done
16237   done
16238 }
16239  ;;
16240     "libtool":C)
16241
16242     # See if we are running on zsh, and set the options which allow our
16243     # commands through without removal of \ escapes.
16244     if test -n "${ZSH_VERSION+set}" ; then
16245       setopt NO_GLOB_SUBST
16246     fi
16247
16248     cfgfile="${ofile}T"
16249     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16250     $RM "$cfgfile"
16251
16252     cat <<_LT_EOF >> "$cfgfile"
16253 #! $SHELL
16254
16255 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16256 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16257 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16258 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16259 #
16260 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16261 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16262 #                 Foundation, Inc.
16263 #   Written by Gordon Matzigkeit, 1996
16264 #
16265 #   This file is part of GNU Libtool.
16266 #
16267 # GNU Libtool is free software; you can redistribute it and/or
16268 # modify it under the terms of the GNU General Public License as
16269 # published by the Free Software Foundation; either version 2 of
16270 # the License, or (at your option) any later version.
16271 #
16272 # As a special exception to the GNU General Public License,
16273 # if you distribute this file as part of a program or library that
16274 # is built using GNU Libtool, you may include this file under the
16275 # same distribution terms that you use for the rest of that program.
16276 #
16277 # GNU Libtool is distributed in the hope that it will be useful,
16278 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16279 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16280 # GNU General Public License for more details.
16281 #
16282 # You should have received a copy of the GNU General Public License
16283 # along with GNU Libtool; see the file COPYING.  If not, a copy
16284 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16285 # obtained by writing to the Free Software Foundation, Inc.,
16286 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16287
16288
16289 # The names of the tagged configurations supported by this script.
16290 available_tags=""
16291
16292 # ### BEGIN LIBTOOL CONFIG
16293
16294 # Assembler program.
16295 AS=$lt_AS
16296
16297 # DLL creation program.
16298 DLLTOOL=$lt_DLLTOOL
16299
16300 # Object dumper program.
16301 OBJDUMP=$lt_OBJDUMP
16302
16303 # Which release of libtool.m4 was used?
16304 macro_version=$macro_version
16305 macro_revision=$macro_revision
16306
16307 # Whether or not to build shared libraries.
16308 build_libtool_libs=$enable_shared
16309
16310 # Whether or not to build static libraries.
16311 build_old_libs=$enable_static
16312
16313 # What type of objects to build.
16314 pic_mode=$pic_mode
16315
16316 # Whether or not to optimize for fast installation.
16317 fast_install=$enable_fast_install
16318
16319 # Shell to use when invoking shell scripts.
16320 SHELL=$lt_SHELL
16321
16322 # An echo program that protects backslashes.
16323 ECHO=$lt_ECHO
16324
16325 # The PATH separator for the build system.
16326 PATH_SEPARATOR=$lt_PATH_SEPARATOR
16327
16328 # The host system.
16329 host_alias=$host_alias
16330 host=$host
16331 host_os=$host_os
16332
16333 # The build system.
16334 build_alias=$build_alias
16335 build=$build
16336 build_os=$build_os
16337
16338 # A sed program that does not truncate output.
16339 SED=$lt_SED
16340
16341 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16342 Xsed="\$SED -e 1s/^X//"
16343
16344 # A grep program that handles long lines.
16345 GREP=$lt_GREP
16346
16347 # An ERE matcher.
16348 EGREP=$lt_EGREP
16349
16350 # A literal string matcher.
16351 FGREP=$lt_FGREP
16352
16353 # A BSD- or MS-compatible name lister.
16354 NM=$lt_NM
16355
16356 # Whether we need soft or hard links.
16357 LN_S=$lt_LN_S
16358
16359 # What is the maximum length of a command?
16360 max_cmd_len=$max_cmd_len
16361
16362 # Object file suffix (normally "o").
16363 objext=$ac_objext
16364
16365 # Executable file suffix (normally "").
16366 exeext=$exeext
16367
16368 # whether the shell understands "unset".
16369 lt_unset=$lt_unset
16370
16371 # turn spaces into newlines.
16372 SP2NL=$lt_lt_SP2NL
16373
16374 # turn newlines into spaces.
16375 NL2SP=$lt_lt_NL2SP
16376
16377 # convert \$build file names to \$host format.
16378 to_host_file_cmd=$lt_cv_to_host_file_cmd
16379
16380 # convert \$build files to toolchain format.
16381 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16382
16383 # Method to check whether dependent libraries are shared objects.
16384 deplibs_check_method=$lt_deplibs_check_method
16385
16386 # Command to use when deplibs_check_method = "file_magic".
16387 file_magic_cmd=$lt_file_magic_cmd
16388
16389 # How to find potential files when deplibs_check_method = "file_magic".
16390 file_magic_glob=$lt_file_magic_glob
16391
16392 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16393 want_nocaseglob=$lt_want_nocaseglob
16394
16395 # Command to associate shared and link libraries.
16396 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16397
16398 # The archiver.
16399 AR=$lt_AR
16400
16401 # Flags to create an archive.
16402 AR_FLAGS=$lt_AR_FLAGS
16403
16404 # How to feed a file listing to the archiver.
16405 archiver_list_spec=$lt_archiver_list_spec
16406
16407 # A symbol stripping program.
16408 STRIP=$lt_STRIP
16409
16410 # Commands used to install an old-style archive.
16411 RANLIB=$lt_RANLIB
16412 old_postinstall_cmds=$lt_old_postinstall_cmds
16413 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16414
16415 # Whether to use a lock for old archive extraction.
16416 lock_old_archive_extraction=$lock_old_archive_extraction
16417
16418 # A C compiler.
16419 LTCC=$lt_CC
16420
16421 # LTCC compiler flags.
16422 LTCFLAGS=$lt_CFLAGS
16423
16424 # Take the output of nm and produce a listing of raw symbols and C names.
16425 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16426
16427 # Transform the output of nm in a proper C declaration.
16428 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16429
16430 # Transform the output of nm in a C name address pair.
16431 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16432
16433 # Transform the output of nm in a C name address pair when lib prefix is needed.
16434 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16435
16436 # Specify filename containing input files for \$NM.
16437 nm_file_list_spec=$lt_nm_file_list_spec
16438
16439 # The root where to search for dependent libraries,and in which our libraries should be installed.
16440 lt_sysroot=$lt_sysroot
16441
16442 # The name of the directory that contains temporary libtool files.
16443 objdir=$objdir
16444
16445 # Used to examine libraries when file_magic_cmd begins with "file".
16446 MAGIC_CMD=$MAGIC_CMD
16447
16448 # Must we lock files when doing compilation?
16449 need_locks=$lt_need_locks
16450
16451 # Manifest tool.
16452 MANIFEST_TOOL=$lt_MANIFEST_TOOL
16453
16454 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16455 DSYMUTIL=$lt_DSYMUTIL
16456
16457 # Tool to change global to local symbols on Mac OS X.
16458 NMEDIT=$lt_NMEDIT
16459
16460 # Tool to manipulate fat objects and archives on Mac OS X.
16461 LIPO=$lt_LIPO
16462
16463 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16464 OTOOL=$lt_OTOOL
16465
16466 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16467 OTOOL64=$lt_OTOOL64
16468
16469 # Old archive suffix (normally "a").
16470 libext=$libext
16471
16472 # Shared library suffix (normally ".so").
16473 shrext_cmds=$lt_shrext_cmds
16474
16475 # The commands to extract the exported symbol list from a shared archive.
16476 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16477
16478 # Variables whose values should be saved in libtool wrapper scripts and
16479 # restored at link time.
16480 variables_saved_for_relink=$lt_variables_saved_for_relink
16481
16482 # Do we need the "lib" prefix for modules?
16483 need_lib_prefix=$need_lib_prefix
16484
16485 # Do we need a version for libraries?
16486 need_version=$need_version
16487
16488 # Library versioning type.
16489 version_type=$version_type
16490
16491 # Shared library runtime path variable.
16492 runpath_var=$runpath_var
16493
16494 # Shared library path variable.
16495 shlibpath_var=$shlibpath_var
16496
16497 # Is shlibpath searched before the hard-coded library search path?
16498 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16499
16500 # Format of library name prefix.
16501 libname_spec=$lt_libname_spec
16502
16503 # List of archive names.  First name is the real one, the rest are links.
16504 # The last name is the one that the linker finds with -lNAME
16505 library_names_spec=$lt_library_names_spec
16506
16507 # The coded name of the library, if different from the real name.
16508 soname_spec=$lt_soname_spec
16509
16510 # Permission mode override for installation of shared libraries.
16511 install_override_mode=$lt_install_override_mode
16512
16513 # Command to use after installation of a shared archive.
16514 postinstall_cmds=$lt_postinstall_cmds
16515
16516 # Command to use after uninstallation of a shared archive.
16517 postuninstall_cmds=$lt_postuninstall_cmds
16518
16519 # Commands used to finish a libtool library installation in a directory.
16520 finish_cmds=$lt_finish_cmds
16521
16522 # As "finish_cmds", except a single script fragment to be evaled but
16523 # not shown.
16524 finish_eval=$lt_finish_eval
16525
16526 # Whether we should hardcode library paths into libraries.
16527 hardcode_into_libs=$hardcode_into_libs
16528
16529 # Compile-time system search path for libraries.
16530 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16531
16532 # Run-time system search path for libraries.
16533 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16534
16535 # Whether dlopen is supported.
16536 dlopen_support=$enable_dlopen
16537
16538 # Whether dlopen of programs is supported.
16539 dlopen_self=$enable_dlopen_self
16540
16541 # Whether dlopen of statically linked programs is supported.
16542 dlopen_self_static=$enable_dlopen_self_static
16543
16544 # Commands to strip libraries.
16545 old_striplib=$lt_old_striplib
16546 striplib=$lt_striplib
16547
16548
16549 # The linker used to build libraries.
16550 LD=$lt_LD
16551
16552 # How to create reloadable object files.
16553 reload_flag=$lt_reload_flag
16554 reload_cmds=$lt_reload_cmds
16555
16556 # Commands used to build an old-style archive.
16557 old_archive_cmds=$lt_old_archive_cmds
16558
16559 # A language specific compiler.
16560 CC=$lt_compiler
16561
16562 # Is the compiler the GNU compiler?
16563 with_gcc=$GCC
16564
16565 # Compiler flag to turn off builtin functions.
16566 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16567
16568 # Additional compiler flags for building library objects.
16569 pic_flag=$lt_lt_prog_compiler_pic
16570
16571 # How to pass a linker flag through the compiler.
16572 wl=$lt_lt_prog_compiler_wl
16573
16574 # Compiler flag to prevent dynamic linking.
16575 link_static_flag=$lt_lt_prog_compiler_static
16576
16577 # Does compiler simultaneously support -c and -o options?
16578 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16579
16580 # Whether or not to add -lc for building shared libraries.
16581 build_libtool_need_lc=$archive_cmds_need_lc
16582
16583 # Whether or not to disallow shared libs when runtime libs are static.
16584 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16585
16586 # Compiler flag to allow reflexive dlopens.
16587 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16588
16589 # Compiler flag to generate shared objects directly from archives.
16590 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16591
16592 # Whether the compiler copes with passing no objects directly.
16593 compiler_needs_object=$lt_compiler_needs_object
16594
16595 # Create an old-style archive from a shared archive.
16596 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16597
16598 # Create a temporary old-style archive to link instead of a shared archive.
16599 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16600
16601 # Commands used to build a shared archive.
16602 archive_cmds=$lt_archive_cmds
16603 archive_expsym_cmds=$lt_archive_expsym_cmds
16604
16605 # Commands used to build a loadable module if different from building
16606 # a shared archive.
16607 module_cmds=$lt_module_cmds
16608 module_expsym_cmds=$lt_module_expsym_cmds
16609
16610 # Whether we are building with GNU ld or not.
16611 with_gnu_ld=$lt_with_gnu_ld
16612
16613 # Flag that allows shared libraries with undefined symbols to be built.
16614 allow_undefined_flag=$lt_allow_undefined_flag
16615
16616 # Flag that enforces no undefined symbols.
16617 no_undefined_flag=$lt_no_undefined_flag
16618
16619 # Flag to hardcode \$libdir into a binary during linking.
16620 # This must work even if \$libdir does not exist
16621 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16622
16623 # Whether we need a single "-rpath" flag with a separated argument.
16624 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16625
16626 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16627 # DIR into the resulting binary.
16628 hardcode_direct=$hardcode_direct
16629
16630 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16631 # DIR into the resulting binary and the resulting library dependency is
16632 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16633 # library is relocated.
16634 hardcode_direct_absolute=$hardcode_direct_absolute
16635
16636 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16637 # into the resulting binary.
16638 hardcode_minus_L=$hardcode_minus_L
16639
16640 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16641 # into the resulting binary.
16642 hardcode_shlibpath_var=$hardcode_shlibpath_var
16643
16644 # Set to "yes" if building a shared library automatically hardcodes DIR
16645 # into the library and all subsequent libraries and executables linked
16646 # against it.
16647 hardcode_automatic=$hardcode_automatic
16648
16649 # Set to yes if linker adds runtime paths of dependent libraries
16650 # to runtime path list.
16651 inherit_rpath=$inherit_rpath
16652
16653 # Whether libtool must link a program against all its dependency libraries.
16654 link_all_deplibs=$link_all_deplibs
16655
16656 # Set to "yes" if exported symbols are required.
16657 always_export_symbols=$always_export_symbols
16658
16659 # The commands to list exported symbols.
16660 export_symbols_cmds=$lt_export_symbols_cmds
16661
16662 # Symbols that should not be listed in the preloaded symbols.
16663 exclude_expsyms=$lt_exclude_expsyms
16664
16665 # Symbols that must always be exported.
16666 include_expsyms=$lt_include_expsyms
16667
16668 # Commands necessary for linking programs (against libraries) with templates.
16669 prelink_cmds=$lt_prelink_cmds
16670
16671 # Commands necessary for finishing linking programs.
16672 postlink_cmds=$lt_postlink_cmds
16673
16674 # Specify filename containing input files.
16675 file_list_spec=$lt_file_list_spec
16676
16677 # How to hardcode a shared library path into an executable.
16678 hardcode_action=$hardcode_action
16679
16680 # ### END LIBTOOL CONFIG
16681
16682 _LT_EOF
16683
16684   case $host_os in
16685   aix3*)
16686     cat <<\_LT_EOF >> "$cfgfile"
16687 # AIX sometimes has problems with the GCC collect2 program.  For some
16688 # reason, if we set the COLLECT_NAMES environment variable, the problems
16689 # vanish in a puff of smoke.
16690 if test "X${COLLECT_NAMES+set}" != Xset; then
16691   COLLECT_NAMES=
16692   export COLLECT_NAMES
16693 fi
16694 _LT_EOF
16695     ;;
16696   esac
16697
16698
16699 ltmain="$ac_aux_dir/ltmain.sh"
16700
16701
16702   # We use sed instead of cat because bash on DJGPP gets confused if
16703   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16704   # text mode, it properly converts lines to CR/LF.  This bash problem
16705   # is reportedly fixed, but why not run on old versions too?
16706   sed '$q' "$ltmain" >> "$cfgfile" \
16707      || (rm -f "$cfgfile"; exit 1)
16708
16709   if test x"$xsi_shell" = xyes; then
16710   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16711 func_dirname ()\
16712 {\
16713 \    case ${1} in\
16714 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16715 \      *  ) func_dirname_result="${3}" ;;\
16716 \    esac\
16717 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16718   && mv -f "$cfgfile.tmp" "$cfgfile" \
16719     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16720 test 0 -eq $? || _lt_function_replace_fail=:
16721
16722
16723   sed -e '/^func_basename ()$/,/^} # func_basename /c\
16724 func_basename ()\
16725 {\
16726 \    func_basename_result="${1##*/}"\
16727 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16728   && mv -f "$cfgfile.tmp" "$cfgfile" \
16729     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16730 test 0 -eq $? || _lt_function_replace_fail=:
16731
16732
16733   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16734 func_dirname_and_basename ()\
16735 {\
16736 \    case ${1} in\
16737 \      */*) func_dirname_result="${1%/*}${2}" ;;\
16738 \      *  ) func_dirname_result="${3}" ;;\
16739 \    esac\
16740 \    func_basename_result="${1##*/}"\
16741 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16742   && mv -f "$cfgfile.tmp" "$cfgfile" \
16743     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16744 test 0 -eq $? || _lt_function_replace_fail=:
16745
16746
16747   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16748 func_stripname ()\
16749 {\
16750 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16751 \    # positional parameters, so assign one to ordinary parameter first.\
16752 \    func_stripname_result=${3}\
16753 \    func_stripname_result=${func_stripname_result#"${1}"}\
16754 \    func_stripname_result=${func_stripname_result%"${2}"}\
16755 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16756   && mv -f "$cfgfile.tmp" "$cfgfile" \
16757     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16758 test 0 -eq $? || _lt_function_replace_fail=:
16759
16760
16761   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16762 func_split_long_opt ()\
16763 {\
16764 \    func_split_long_opt_name=${1%%=*}\
16765 \    func_split_long_opt_arg=${1#*=}\
16766 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16767   && mv -f "$cfgfile.tmp" "$cfgfile" \
16768     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16769 test 0 -eq $? || _lt_function_replace_fail=:
16770
16771
16772   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16773 func_split_short_opt ()\
16774 {\
16775 \    func_split_short_opt_arg=${1#??}\
16776 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16777 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16778   && mv -f "$cfgfile.tmp" "$cfgfile" \
16779     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16780 test 0 -eq $? || _lt_function_replace_fail=:
16781
16782
16783   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16784 func_lo2o ()\
16785 {\
16786 \    case ${1} in\
16787 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16788 \      *)    func_lo2o_result=${1} ;;\
16789 \    esac\
16790 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16791   && mv -f "$cfgfile.tmp" "$cfgfile" \
16792     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16793 test 0 -eq $? || _lt_function_replace_fail=:
16794
16795
16796   sed -e '/^func_xform ()$/,/^} # func_xform /c\
16797 func_xform ()\
16798 {\
16799     func_xform_result=${1%.*}.lo\
16800 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16801   && mv -f "$cfgfile.tmp" "$cfgfile" \
16802     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16803 test 0 -eq $? || _lt_function_replace_fail=:
16804
16805
16806   sed -e '/^func_arith ()$/,/^} # func_arith /c\
16807 func_arith ()\
16808 {\
16809     func_arith_result=$(( $* ))\
16810 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16811   && mv -f "$cfgfile.tmp" "$cfgfile" \
16812     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16813 test 0 -eq $? || _lt_function_replace_fail=:
16814
16815
16816   sed -e '/^func_len ()$/,/^} # func_len /c\
16817 func_len ()\
16818 {\
16819     func_len_result=${#1}\
16820 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16821   && mv -f "$cfgfile.tmp" "$cfgfile" \
16822     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16823 test 0 -eq $? || _lt_function_replace_fail=:
16824
16825 fi
16826
16827 if test x"$lt_shell_append" = xyes; then
16828   sed -e '/^func_append ()$/,/^} # func_append /c\
16829 func_append ()\
16830 {\
16831     eval "${1}+=\\${2}"\
16832 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16833   && mv -f "$cfgfile.tmp" "$cfgfile" \
16834     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16835 test 0 -eq $? || _lt_function_replace_fail=:
16836
16837
16838   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16839 func_append_quoted ()\
16840 {\
16841 \    func_quote_for_eval "${2}"\
16842 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16843 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16844   && mv -f "$cfgfile.tmp" "$cfgfile" \
16845     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16846 test 0 -eq $? || _lt_function_replace_fail=:
16847
16848
16849   # Save a `func_append' function call where possible by direct use of '+='
16850   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16851     && mv -f "$cfgfile.tmp" "$cfgfile" \
16852       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16853   test 0 -eq $? || _lt_function_replace_fail=:
16854 else
16855   # Save a `func_append' function call even when '+=' is not available
16856   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16857     && mv -f "$cfgfile.tmp" "$cfgfile" \
16858       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16859   test 0 -eq $? || _lt_function_replace_fail=:
16860 fi
16861
16862 if test x"$_lt_function_replace_fail" = x":"; then
16863   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16864 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16865 fi
16866
16867
16868    mv -f "$cfgfile" "$ofile" ||
16869     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16870   chmod +x "$ofile"
16871
16872  ;;
16873
16874   esac
16875 done # for ac_tag
16876
16877
16878 as_fn_exit 0
16879 _ACEOF
16880 ac_clean_files=$ac_clean_files_save
16881
16882 test $ac_write_fail = 0 ||
16883   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16884
16885
16886 # configure is writing to config.log, and then calls config.status.
16887 # config.status does its own redirection, appending to config.log.
16888 # Unfortunately, on DOS this fails, as config.log is still kept open
16889 # by configure, so config.status won't be able to write to it; its
16890 # output is simply discarded.  So we exec the FD to /dev/null,
16891 # effectively closing config.log, so it can be properly (re)opened and
16892 # appended to by config.status.  When coming back to configure, we
16893 # need to make the FD available again.
16894 if test "$no_create" != yes; then
16895   ac_cs_success=:
16896   ac_config_status_args=
16897   test "$silent" = yes &&
16898     ac_config_status_args="$ac_config_status_args --quiet"
16899   exec 5>/dev/null
16900   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16901   exec 5>>config.log
16902   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16903   # would make configure fail if this is the last instruction.
16904   $ac_cs_success || as_fn_exit 1
16905 fi
16906 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16907   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16908 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16909 fi
16910
16911
16912
16913 #####################################################################
16914 ## Info
16915
16916 echo
16917 echo
16918 echo
16919 echo "------------------------------------------------------------------------"
16920 echo "$PACKAGE $VERSION"
16921 echo "------------------------------------------------------------------------"
16922 echo
16923 echo "Configuration Options Summary:"
16924 echo
16925 echo "  Build embryo_cc......: $have_embryo_cc"
16926 echo
16927 echo "  Documentation........: ${build_doc}"
16928 if test "x${build_doc}" = "xyes" ; then
16929 echo "    Installation.......: make install-doc"
16930 fi
16931 echo
16932 echo "Compilation............: make (or gmake)"
16933 echo "  CPPFLAGS.............: $CPPFLAGS"
16934 echo "  CFLAGS...............: $CFLAGS"
16935 echo "  LDFLAGS..............: $LDFLAGS"
16936 echo
16937 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16938 echo "  prefix...............: $prefix"
16939 echo