OSDN Git Service

Merge branch 'branch_0.13.0'
[modchxj/mod_chxj.git] / src / css / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for scss 1.0.0.
4 #
5 # Report bugs to <konn@users.sourceforge.jp>.
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: konn@users.sourceforge.jp about your system, including
251 $0: any error possibly output before this message. Then
252 $0: install a modern shell, or manually run the script
253 $0: 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='scss'
572 PACKAGE_TARNAME='scss'
573 PACKAGE_VERSION='1.0.0'
574 PACKAGE_STRING='scss 1.0.0'
575 PACKAGE_BUGREPORT='konn@users.sourceforge.jp'
576 PACKAGE_URL=''
577
578 ac_unique_file="src/main.c"
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 APU_1_CONFIG
620 APU_CONFIG
621 APR_1_CONFIG
622 APR_CONFIG
623 LIBTOOL_DEPS
624 CPP
625 OTOOL64
626 OTOOL
627 LIPO
628 NMEDIT
629 DSYMUTIL
630 MANIFEST_TOOL
631 RANLIB
632 ac_ct_AR
633 AR
634 DLLTOOL
635 OBJDUMP
636 LN_S
637 NM
638 ac_ct_DUMPBIN
639 DUMPBIN
640 LD
641 FGREP
642 EGREP
643 GREP
644 SED
645 am__fastdepCC_FALSE
646 am__fastdepCC_TRUE
647 CCDEPMODE
648 AMDEPBACKSLASH
649 AMDEP_FALSE
650 AMDEP_TRUE
651 am__quote
652 am__include
653 DEPDIR
654 OBJEXT
655 EXEEXT
656 ac_ct_CC
657 CPPFLAGS
658 LDFLAGS
659 CFLAGS
660 CC
661 LIBTOOL
662 am__untar
663 am__tar
664 AMTAR
665 am__leading_dot
666 SET_MAKE
667 AWK
668 mkdir_p
669 MKDIR_P
670 INSTALL_STRIP_PROGRAM
671 STRIP
672 install_sh
673 MAKEINFO
674 AUTOHEADER
675 AUTOMAKE
676 AUTOCONF
677 ACLOCAL
678 VERSION
679 PACKAGE
680 CYGPATH_W
681 am__isrc
682 INSTALL_DATA
683 INSTALL_SCRIPT
684 INSTALL_PROGRAM
685 target_os
686 target_vendor
687 target_cpu
688 target
689 host_os
690 host_vendor
691 host_cpu
692 host
693 build_os
694 build_vendor
695 build_cpu
696 build
697 target_alias
698 host_alias
699 build_alias
700 LIBS
701 ECHO_T
702 ECHO_N
703 ECHO_C
704 DEFS
705 mandir
706 localedir
707 libdir
708 psdir
709 pdfdir
710 dvidir
711 htmldir
712 infodir
713 docdir
714 oldincludedir
715 includedir
716 localstatedir
717 sharedstatedir
718 sysconfdir
719 datadir
720 datarootdir
721 libexecdir
722 sbindir
723 bindir
724 program_transform_name
725 prefix
726 exec_prefix
727 PACKAGE_URL
728 PACKAGE_BUGREPORT
729 PACKAGE_STRING
730 PACKAGE_VERSION
731 PACKAGE_TARNAME
732 PACKAGE_NAME
733 PATH_SEPARATOR
734 SHELL'
735 ac_subst_files=''
736 ac_user_opts='
737 enable_option_checking
738 enable_shared
739 enable_static
740 with_pic
741 enable_fast_install
742 enable_dependency_tracking
743 with_gnu_ld
744 with_sysroot
745 enable_libtool_lock
746 with_apr_config
747 with_apu_config
748 '
749       ac_precious_vars='build_alias
750 host_alias
751 target_alias
752 CC
753 CFLAGS
754 LDFLAGS
755 LIBS
756 CPPFLAGS
757 CPP
758 CPPFLAGS
759 CC
760 LDFLAGS
761 LIBS
762 CPPFLAGS'
763
764
765 # Initialize some variables set by options.
766 ac_init_help=
767 ac_init_version=false
768 ac_unrecognized_opts=
769 ac_unrecognized_sep=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
772 cache_file=/dev/null
773 exec_prefix=NONE
774 no_create=
775 no_recursion=
776 prefix=NONE
777 program_prefix=NONE
778 program_suffix=NONE
779 program_transform_name=s,x,x,
780 silent=
781 site=
782 srcdir=
783 verbose=
784 x_includes=NONE
785 x_libraries=NONE
786
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir='${datarootdir}/info'
805 htmldir='${docdir}'
806 dvidir='${docdir}'
807 pdfdir='${docdir}'
808 psdir='${docdir}'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
812
813 ac_prev=
814 ac_dashdash=
815 for ac_option
816 do
817   # If the previous option needs an argument, assign it.
818   if test -n "$ac_prev"; then
819     eval $ac_prev=\$ac_option
820     ac_prev=
821     continue
822   fi
823
824   case $ac_option in
825   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826   *=)   ac_optarg= ;;
827   *)    ac_optarg=yes ;;
828   esac
829
830   # Accept the important Cygnus configure options, so we can diagnose typos.
831
832   case $ac_dashdash$ac_option in
833   --)
834     ac_dashdash=yes ;;
835
836   -bindir | --bindir | --bindi | --bind | --bin | --bi)
837     ac_prev=bindir ;;
838   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
839     bindir=$ac_optarg ;;
840
841   -build | --build | --buil | --bui | --bu)
842     ac_prev=build_alias ;;
843   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844     build_alias=$ac_optarg ;;
845
846   -cache-file | --cache-file | --cache-fil | --cache-fi \
847   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848     ac_prev=cache_file ;;
849   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851     cache_file=$ac_optarg ;;
852
853   --config-cache | -C)
854     cache_file=config.cache ;;
855
856   -datadir | --datadir | --datadi | --datad)
857     ac_prev=datadir ;;
858   -datadir=* | --datadir=* | --datadi=* | --datad=*)
859     datadir=$ac_optarg ;;
860
861   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862   | --dataroo | --dataro | --datar)
863     ac_prev=datarootdir ;;
864   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866     datarootdir=$ac_optarg ;;
867
868   -disable-* | --disable-*)
869     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870     # Reject names that are not valid shell variable names.
871     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872       as_fn_error $? "invalid feature name: $ac_useropt"
873     ac_useropt_orig=$ac_useropt
874     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875     case $ac_user_opts in
876       *"
877 "enable_$ac_useropt"
878 "*) ;;
879       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880          ac_unrecognized_sep=', ';;
881     esac
882     eval enable_$ac_useropt=no ;;
883
884   -docdir | --docdir | --docdi | --doc | --do)
885     ac_prev=docdir ;;
886   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
887     docdir=$ac_optarg ;;
888
889   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
890     ac_prev=dvidir ;;
891   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
892     dvidir=$ac_optarg ;;
893
894   -enable-* | --enable-*)
895     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896     # Reject names that are not valid shell variable names.
897     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898       as_fn_error $? "invalid feature name: $ac_useropt"
899     ac_useropt_orig=$ac_useropt
900     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901     case $ac_user_opts in
902       *"
903 "enable_$ac_useropt"
904 "*) ;;
905       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906          ac_unrecognized_sep=', ';;
907     esac
908     eval enable_$ac_useropt=\$ac_optarg ;;
909
910   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912   | --exec | --exe | --ex)
913     ac_prev=exec_prefix ;;
914   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916   | --exec=* | --exe=* | --ex=*)
917     exec_prefix=$ac_optarg ;;
918
919   -gas | --gas | --ga | --g)
920     # Obsolete; use --with-gas.
921     with_gas=yes ;;
922
923   -help | --help | --hel | --he | -h)
924     ac_init_help=long ;;
925   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926     ac_init_help=recursive ;;
927   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928     ac_init_help=short ;;
929
930   -host | --host | --hos | --ho)
931     ac_prev=host_alias ;;
932   -host=* | --host=* | --hos=* | --ho=*)
933     host_alias=$ac_optarg ;;
934
935   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936     ac_prev=htmldir ;;
937   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938   | --ht=*)
939     htmldir=$ac_optarg ;;
940
941   -includedir | --includedir | --includedi | --included | --include \
942   | --includ | --inclu | --incl | --inc)
943     ac_prev=includedir ;;
944   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945   | --includ=* | --inclu=* | --incl=* | --inc=*)
946     includedir=$ac_optarg ;;
947
948   -infodir | --infodir | --infodi | --infod | --info | --inf)
949     ac_prev=infodir ;;
950   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951     infodir=$ac_optarg ;;
952
953   -libdir | --libdir | --libdi | --libd)
954     ac_prev=libdir ;;
955   -libdir=* | --libdir=* | --libdi=* | --libd=*)
956     libdir=$ac_optarg ;;
957
958   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959   | --libexe | --libex | --libe)
960     ac_prev=libexecdir ;;
961   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962   | --libexe=* | --libex=* | --libe=*)
963     libexecdir=$ac_optarg ;;
964
965   -localedir | --localedir | --localedi | --localed | --locale)
966     ac_prev=localedir ;;
967   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968     localedir=$ac_optarg ;;
969
970   -localstatedir | --localstatedir | --localstatedi | --localstated \
971   | --localstate | --localstat | --localsta | --localst | --locals)
972     ac_prev=localstatedir ;;
973   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975     localstatedir=$ac_optarg ;;
976
977   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978     ac_prev=mandir ;;
979   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
980     mandir=$ac_optarg ;;
981
982   -nfp | --nfp | --nf)
983     # Obsolete; use --without-fp.
984     with_fp=no ;;
985
986   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987   | --no-cr | --no-c | -n)
988     no_create=yes ;;
989
990   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
992     no_recursion=yes ;;
993
994   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996   | --oldin | --oldi | --old | --ol | --o)
997     ac_prev=oldincludedir ;;
998   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001     oldincludedir=$ac_optarg ;;
1002
1003   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004     ac_prev=prefix ;;
1005   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006     prefix=$ac_optarg ;;
1007
1008   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009   | --program-pre | --program-pr | --program-p)
1010     ac_prev=program_prefix ;;
1011   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013     program_prefix=$ac_optarg ;;
1014
1015   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016   | --program-suf | --program-su | --program-s)
1017     ac_prev=program_suffix ;;
1018   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020     program_suffix=$ac_optarg ;;
1021
1022   -program-transform-name | --program-transform-name \
1023   | --program-transform-nam | --program-transform-na \
1024   | --program-transform-n | --program-transform- \
1025   | --program-transform | --program-transfor \
1026   | --program-transfo | --program-transf \
1027   | --program-trans | --program-tran \
1028   | --progr-tra | --program-tr | --program-t)
1029     ac_prev=program_transform_name ;;
1030   -program-transform-name=* | --program-transform-name=* \
1031   | --program-transform-nam=* | --program-transform-na=* \
1032   | --program-transform-n=* | --program-transform-=* \
1033   | --program-transform=* | --program-transfor=* \
1034   | --program-transfo=* | --program-transf=* \
1035   | --program-trans=* | --program-tran=* \
1036   | --progr-tra=* | --program-tr=* | --program-t=*)
1037     program_transform_name=$ac_optarg ;;
1038
1039   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040     ac_prev=pdfdir ;;
1041   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042     pdfdir=$ac_optarg ;;
1043
1044   -psdir | --psdir | --psdi | --psd | --ps)
1045     ac_prev=psdir ;;
1046   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1047     psdir=$ac_optarg ;;
1048
1049   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050   | -silent | --silent | --silen | --sile | --sil)
1051     silent=yes ;;
1052
1053   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054     ac_prev=sbindir ;;
1055   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056   | --sbi=* | --sb=*)
1057     sbindir=$ac_optarg ;;
1058
1059   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061   | --sharedst | --shareds | --shared | --share | --shar \
1062   | --sha | --sh)
1063     ac_prev=sharedstatedir ;;
1064   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1067   | --sha=* | --sh=*)
1068     sharedstatedir=$ac_optarg ;;
1069
1070   -site | --site | --sit)
1071     ac_prev=site ;;
1072   -site=* | --site=* | --sit=*)
1073     site=$ac_optarg ;;
1074
1075   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1076     ac_prev=srcdir ;;
1077   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078     srcdir=$ac_optarg ;;
1079
1080   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081   | --syscon | --sysco | --sysc | --sys | --sy)
1082     ac_prev=sysconfdir ;;
1083   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085     sysconfdir=$ac_optarg ;;
1086
1087   -target | --target | --targe | --targ | --tar | --ta | --t)
1088     ac_prev=target_alias ;;
1089   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090     target_alias=$ac_optarg ;;
1091
1092   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1093     verbose=yes ;;
1094
1095   -version | --version | --versio | --versi | --vers | -V)
1096     ac_init_version=: ;;
1097
1098   -with-* | --with-*)
1099     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100     # Reject names that are not valid shell variable names.
1101     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102       as_fn_error $? "invalid package name: $ac_useropt"
1103     ac_useropt_orig=$ac_useropt
1104     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105     case $ac_user_opts in
1106       *"
1107 "with_$ac_useropt"
1108 "*) ;;
1109       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110          ac_unrecognized_sep=', ';;
1111     esac
1112     eval with_$ac_useropt=\$ac_optarg ;;
1113
1114   -without-* | --without-*)
1115     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116     # Reject names that are not valid shell variable names.
1117     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118       as_fn_error $? "invalid package name: $ac_useropt"
1119     ac_useropt_orig=$ac_useropt
1120     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121     case $ac_user_opts in
1122       *"
1123 "with_$ac_useropt"
1124 "*) ;;
1125       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126          ac_unrecognized_sep=', ';;
1127     esac
1128     eval with_$ac_useropt=no ;;
1129
1130   --x)
1131     # Obsolete; use --with-x.
1132     with_x=yes ;;
1133
1134   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135   | --x-incl | --x-inc | --x-in | --x-i)
1136     ac_prev=x_includes ;;
1137   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139     x_includes=$ac_optarg ;;
1140
1141   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143     ac_prev=x_libraries ;;
1144   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146     x_libraries=$ac_optarg ;;
1147
1148   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information"
1150     ;;
1151
1152   *=*)
1153     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154     # Reject names that are not valid shell variable names.
1155     case $ac_envvar in #(
1156       '' | [0-9]* | *[!_$as_cr_alnum]* )
1157       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1158     esac
1159     eval $ac_envvar=\$ac_optarg
1160     export $ac_envvar ;;
1161
1162   *)
1163     # FIXME: should be removed in autoconf 3.0.
1164     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1168     ;;
1169
1170   esac
1171 done
1172
1173 if test -n "$ac_prev"; then
1174   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175   as_fn_error $? "missing argument to $ac_option"
1176 fi
1177
1178 if test -n "$ac_unrecognized_opts"; then
1179   case $enable_option_checking in
1180     no) ;;
1181     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1183   esac
1184 fi
1185
1186 # Check all directory arguments for consistency.
1187 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188                 datadir sysconfdir sharedstatedir localstatedir includedir \
1189                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190                 libdir localedir mandir
1191 do
1192   eval ac_val=\$$ac_var
1193   # Remove trailing slashes.
1194   case $ac_val in
1195     */ )
1196       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197       eval $ac_var=\$ac_val;;
1198   esac
1199   # Be sure to have absolute directory names.
1200   case $ac_val in
1201     [\\/$]* | ?:[\\/]* )  continue;;
1202     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1203   esac
1204   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1205 done
1206
1207 # There might be people who depend on the old broken behavior: `$host'
1208 # used to hold the argument of --host etc.
1209 # FIXME: To remove some day.
1210 build=$build_alias
1211 host=$host_alias
1212 target=$target_alias
1213
1214 # FIXME: To remove some day.
1215 if test "x$host_alias" != x; then
1216   if test "x$build_alias" = x; then
1217     cross_compiling=maybe
1218     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219     If a cross compiler is detected then cross compile mode will be used" >&2
1220   elif test "x$build_alias" != "x$host_alias"; then
1221     cross_compiling=yes
1222   fi
1223 fi
1224
1225 ac_tool_prefix=
1226 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1227
1228 test "$silent" = yes && exec 6>/dev/null
1229
1230
1231 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1232 ac_ls_di=`ls -di .` &&
1233 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1234   as_fn_error $? "working directory cannot be determined"
1235 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236   as_fn_error $? "pwd does not report name of working directory"
1237
1238
1239 # Find the source files, if location was not specified.
1240 if test -z "$srcdir"; then
1241   ac_srcdir_defaulted=yes
1242   # Try the directory containing this script, then the parent directory.
1243   ac_confdir=`$as_dirname -- "$as_myself" ||
1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245          X"$as_myself" : 'X\(//\)[^/]' \| \
1246          X"$as_myself" : 'X\(//\)$' \| \
1247          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248 $as_echo X"$as_myself" |
1249     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1250             s//\1/
1251             q
1252           }
1253           /^X\(\/\/\)[^/].*/{
1254             s//\1/
1255             q
1256           }
1257           /^X\(\/\/\)$/{
1258             s//\1/
1259             q
1260           }
1261           /^X\(\/\).*/{
1262             s//\1/
1263             q
1264           }
1265           s/.*/./; q'`
1266   srcdir=$ac_confdir
1267   if test ! -r "$srcdir/$ac_unique_file"; then
1268     srcdir=..
1269   fi
1270 else
1271   ac_srcdir_defaulted=no
1272 fi
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1274   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1275   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1276 fi
1277 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1278 ac_abs_confdir=`(
1279         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1280         pwd)`
1281 # When building in place, set srcdir=.
1282 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283   srcdir=.
1284 fi
1285 # Remove unnecessary trailing slashes from srcdir.
1286 # Double slashes in file names in object file debugging info
1287 # mess up M-x gdb in Emacs.
1288 case $srcdir in
1289 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290 esac
1291 for ac_var in $ac_precious_vars; do
1292   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293   eval ac_env_${ac_var}_value=\$${ac_var}
1294   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1296 done
1297
1298 #
1299 # Report the --help message.
1300 #
1301 if test "$ac_init_help" = "long"; then
1302   # Omit some internal or obsolete options to make the list less imposing.
1303   # This message is too long to be a string in the A/UX 3.1 sh.
1304   cat <<_ACEOF
1305 \`configure' configures scss 1.0.0 to adapt to many kinds of systems.
1306
1307 Usage: $0 [OPTION]... [VAR=VALUE]...
1308
1309 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310 VAR=VALUE.  See below for descriptions of some of the useful variables.
1311
1312 Defaults for the options are specified in brackets.
1313
1314 Configuration:
1315   -h, --help              display this help and exit
1316       --help=short        display options specific to this package
1317       --help=recursive    display the short help of all the included packages
1318   -V, --version           display version information and exit
1319   -q, --quiet, --silent   do not print \`checking ...' messages
1320       --cache-file=FILE   cache test results in FILE [disabled]
1321   -C, --config-cache      alias for \`--cache-file=config.cache'
1322   -n, --no-create         do not create output files
1323       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1324
1325 Installation directories:
1326   --prefix=PREFIX         install architecture-independent files in PREFIX
1327                           [$ac_default_prefix]
1328   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1329                           [PREFIX]
1330
1331 By default, \`make install' will install all the files in
1332 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1333 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334 for instance \`--prefix=\$HOME'.
1335
1336 For better control, use the options below.
1337
1338 Fine tuning of the installation directories:
1339   --bindir=DIR            user executables [EPREFIX/bin]
1340   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1341   --libexecdir=DIR        program executables [EPREFIX/libexec]
1342   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1343   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1344   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1345   --libdir=DIR            object code libraries [EPREFIX/lib]
1346   --includedir=DIR        C header files [PREFIX/include]
1347   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1348   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1349   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1350   --infodir=DIR           info documentation [DATAROOTDIR/info]
1351   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1352   --mandir=DIR            man documentation [DATAROOTDIR/man]
1353   --docdir=DIR            documentation root [DATAROOTDIR/doc/scss]
1354   --htmldir=DIR           html documentation [DOCDIR]
1355   --dvidir=DIR            dvi documentation [DOCDIR]
1356   --pdfdir=DIR            pdf documentation [DOCDIR]
1357   --psdir=DIR             ps documentation [DOCDIR]
1358 _ACEOF
1359
1360   cat <<\_ACEOF
1361
1362 Program names:
1363   --program-prefix=PREFIX            prepend PREFIX to installed program names
1364   --program-suffix=SUFFIX            append SUFFIX to installed program names
1365   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1366
1367 System types:
1368   --build=BUILD     configure for building on BUILD [guessed]
1369   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1370   --target=TARGET   configure for building compilers for TARGET [HOST]
1371 _ACEOF
1372 fi
1373
1374 if test -n "$ac_init_help"; then
1375   case $ac_init_help in
1376      short | recursive ) echo "Configuration of scss 1.0.0:";;
1377    esac
1378   cat <<\_ACEOF
1379
1380 Optional Features:
1381   --disable-option-checking  ignore unrecognized --enable/--with options
1382   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1383   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1384   --enable-shared[=PKGS]  build shared libraries [default=yes]
1385   --enable-static[=PKGS]  build static libraries [default=yes]
1386   --enable-fast-install[=PKGS]
1387                           optimize for fast installation [default=yes]
1388   --disable-dependency-tracking  speeds up one-time build
1389   --enable-dependency-tracking   do not reject slow dependency extractors
1390   --disable-libtool-lock  avoid locking (might break parallel builds)
1391
1392 Optional Packages:
1393   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1394   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1395   --with-pic              try to use only PIC/non-PIC objects [default=use
1396                           both]
1397   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1398   --with-sysroot=DIR Search for dependent libraries within DIR
1399                         (or the compiler's sysroot if not specified).
1400   --with-apr-config=ARG  Path of apr-config program file.
1401   --with-apu-config=ARG  Path of apu-config program file.
1402
1403 Some influential environment variables:
1404   CC          C compiler command
1405   CFLAGS      C compiler flags
1406   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1407               nonstandard directory <lib dir>
1408   LIBS        libraries to pass to the linker, e.g. -l<library>
1409   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1410               you have headers in a nonstandard directory <include dir>
1411   CPP         C preprocessor
1412
1413 Use these variables to override the choices made by `configure' or to help
1414 it to find libraries and programs with nonstandard names/locations.
1415
1416 Report bugs to <konn@users.sourceforge.jp>.
1417 _ACEOF
1418 ac_status=$?
1419 fi
1420
1421 if test "$ac_init_help" = "recursive"; then
1422   # If there are subdirs, report their specific --help.
1423   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1424     test -d "$ac_dir" ||
1425       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1426       continue
1427     ac_builddir=.
1428
1429 case "$ac_dir" in
1430 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1431 *)
1432   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1433   # A ".." for each directory in $ac_dir_suffix.
1434   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1435   case $ac_top_builddir_sub in
1436   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1437   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1438   esac ;;
1439 esac
1440 ac_abs_top_builddir=$ac_pwd
1441 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir=$ac_top_build_prefix
1444
1445 case $srcdir in
1446   .)  # We are building in place.
1447     ac_srcdir=.
1448     ac_top_srcdir=$ac_top_builddir_sub
1449     ac_abs_top_srcdir=$ac_pwd ;;
1450   [\\/]* | ?:[\\/]* )  # Absolute name.
1451     ac_srcdir=$srcdir$ac_dir_suffix;
1452     ac_top_srcdir=$srcdir
1453     ac_abs_top_srcdir=$srcdir ;;
1454   *) # Relative name.
1455     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456     ac_top_srcdir=$ac_top_build_prefix$srcdir
1457     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1458 esac
1459 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1460
1461     cd "$ac_dir" || { ac_status=$?; continue; }
1462     # Check for guested configure.
1463     if test -f "$ac_srcdir/configure.gnu"; then
1464       echo &&
1465       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466     elif test -f "$ac_srcdir/configure"; then
1467       echo &&
1468       $SHELL "$ac_srcdir/configure" --help=recursive
1469     else
1470       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1471     fi || ac_status=$?
1472     cd "$ac_pwd" || { ac_status=$?; break; }
1473   done
1474 fi
1475
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1478   cat <<\_ACEOF
1479 scss configure 1.0.0
1480 generated by GNU Autoconf 2.68
1481
1482 Copyright (C) 2010 Free Software Foundation, Inc.
1483 This configure script is free software; the Free Software Foundation
1484 gives unlimited permission to copy, distribute and modify it.
1485 _ACEOF
1486   exit
1487 fi
1488
1489 ## ------------------------ ##
1490 ## Autoconf initialization. ##
1491 ## ------------------------ ##
1492
1493 # ac_fn_c_try_compile LINENO
1494 # --------------------------
1495 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1496 ac_fn_c_try_compile ()
1497 {
1498   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499   rm -f conftest.$ac_objext
1500   if { { ac_try="$ac_compile"
1501 case "(($ac_try" in
1502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1503   *) ac_try_echo=$ac_try;;
1504 esac
1505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1506 $as_echo "$ac_try_echo"; } >&5
1507   (eval "$ac_compile") 2>conftest.err
1508   ac_status=$?
1509   if test -s conftest.err; then
1510     grep -v '^ *+' conftest.err >conftest.er1
1511     cat conftest.er1 >&5
1512     mv -f conftest.er1 conftest.err
1513   fi
1514   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1515   test $ac_status = 0; } && {
1516          test -z "$ac_c_werror_flag" ||
1517          test ! -s conftest.err
1518        } && test -s conftest.$ac_objext; then :
1519   ac_retval=0
1520 else
1521   $as_echo "$as_me: failed program was:" >&5
1522 sed 's/^/| /' conftest.$ac_ext >&5
1523
1524         ac_retval=1
1525 fi
1526   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1527   as_fn_set_status $ac_retval
1528
1529 } # ac_fn_c_try_compile
1530
1531 # ac_fn_c_try_link LINENO
1532 # -----------------------
1533 # Try to link conftest.$ac_ext, and return whether this succeeded.
1534 ac_fn_c_try_link ()
1535 {
1536   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1537   rm -f conftest.$ac_objext conftest$ac_exeext
1538   if { { ac_try="$ac_link"
1539 case "(($ac_try" in
1540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541   *) ac_try_echo=$ac_try;;
1542 esac
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545   (eval "$ac_link") 2>conftest.err
1546   ac_status=$?
1547   if test -s conftest.err; then
1548     grep -v '^ *+' conftest.err >conftest.er1
1549     cat conftest.er1 >&5
1550     mv -f conftest.er1 conftest.err
1551   fi
1552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553   test $ac_status = 0; } && {
1554          test -z "$ac_c_werror_flag" ||
1555          test ! -s conftest.err
1556        } && test -s conftest$ac_exeext && {
1557          test "$cross_compiling" = yes ||
1558          $as_test_x conftest$ac_exeext
1559        }; then :
1560   ac_retval=0
1561 else
1562   $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1564
1565         ac_retval=1
1566 fi
1567   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1568   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1569   # interfere with the next link command; also delete a directory that is
1570   # left behind by Apple's compiler.  We do this before executing the actions.
1571   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1572   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1573   as_fn_set_status $ac_retval
1574
1575 } # ac_fn_c_try_link
1576
1577 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1578 # -------------------------------------------------------
1579 # Tests whether HEADER exists and can be compiled using the include files in
1580 # INCLUDES, setting the cache variable VAR accordingly.
1581 ac_fn_c_check_header_compile ()
1582 {
1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1585 $as_echo_n "checking for $2... " >&6; }
1586 if eval \${$3+:} false; then :
1587   $as_echo_n "(cached) " >&6
1588 else
1589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1590 /* end confdefs.h.  */
1591 $4
1592 #include <$2>
1593 _ACEOF
1594 if ac_fn_c_try_compile "$LINENO"; then :
1595   eval "$3=yes"
1596 else
1597   eval "$3=no"
1598 fi
1599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1600 fi
1601 eval ac_res=\$$3
1602                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1603 $as_echo "$ac_res" >&6; }
1604   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1605
1606 } # ac_fn_c_check_header_compile
1607
1608 # ac_fn_c_try_cpp LINENO
1609 # ----------------------
1610 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1611 ac_fn_c_try_cpp ()
1612 {
1613   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614   if { { ac_try="$ac_cpp conftest.$ac_ext"
1615 case "(($ac_try" in
1616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1617   *) ac_try_echo=$ac_try;;
1618 esac
1619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1620 $as_echo "$ac_try_echo"; } >&5
1621   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1622   ac_status=$?
1623   if test -s conftest.err; then
1624     grep -v '^ *+' conftest.err >conftest.er1
1625     cat conftest.er1 >&5
1626     mv -f conftest.er1 conftest.err
1627   fi
1628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1629   test $ac_status = 0; } > conftest.i && {
1630          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1631          test ! -s conftest.err
1632        }; then :
1633   ac_retval=0
1634 else
1635   $as_echo "$as_me: failed program was:" >&5
1636 sed 's/^/| /' conftest.$ac_ext >&5
1637
1638     ac_retval=1
1639 fi
1640   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641   as_fn_set_status $ac_retval
1642
1643 } # ac_fn_c_try_cpp
1644
1645 # ac_fn_c_try_run LINENO
1646 # ----------------------
1647 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1648 # that executables *can* be run.
1649 ac_fn_c_try_run ()
1650 {
1651   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652   if { { ac_try="$ac_link"
1653 case "(($ac_try" in
1654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1655   *) ac_try_echo=$ac_try;;
1656 esac
1657 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1658 $as_echo "$ac_try_echo"; } >&5
1659   (eval "$ac_link") 2>&5
1660   ac_status=$?
1661   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1663   { { case "(($ac_try" in
1664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665   *) ac_try_echo=$ac_try;;
1666 esac
1667 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669   (eval "$ac_try") 2>&5
1670   ac_status=$?
1671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672   test $ac_status = 0; }; }; then :
1673   ac_retval=0
1674 else
1675   $as_echo "$as_me: program exited with status $ac_status" >&5
1676        $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.$ac_ext >&5
1678
1679        ac_retval=$ac_status
1680 fi
1681   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1682   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683   as_fn_set_status $ac_retval
1684
1685 } # ac_fn_c_try_run
1686
1687 # ac_fn_c_check_func LINENO FUNC VAR
1688 # ----------------------------------
1689 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1690 ac_fn_c_check_func ()
1691 {
1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1694 $as_echo_n "checking for $2... " >&6; }
1695 if eval \${$3+:} false; then :
1696   $as_echo_n "(cached) " >&6
1697 else
1698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h.  */
1700 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1702 #define $2 innocuous_$2
1703
1704 /* System header to define __stub macros and hopefully few prototypes,
1705     which can conflict with char $2 (); below.
1706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1707     <limits.h> exists even on freestanding compilers.  */
1708
1709 #ifdef __STDC__
1710 # include <limits.h>
1711 #else
1712 # include <assert.h>
1713 #endif
1714
1715 #undef $2
1716
1717 /* Override any GCC internal prototype to avoid an error.
1718    Use char because int might match the return type of a GCC
1719    builtin and then its argument prototype would still apply.  */
1720 #ifdef __cplusplus
1721 extern "C"
1722 #endif
1723 char $2 ();
1724 /* The GNU C library defines this for functions which it implements
1725     to always fail with ENOSYS.  Some functions are actually named
1726     something starting with __ and the normal name is an alias.  */
1727 #if defined __stub_$2 || defined __stub___$2
1728 choke me
1729 #endif
1730
1731 int
1732 main ()
1733 {
1734 return $2 ();
1735   ;
1736   return 0;
1737 }
1738 _ACEOF
1739 if ac_fn_c_try_link "$LINENO"; then :
1740   eval "$3=yes"
1741 else
1742   eval "$3=no"
1743 fi
1744 rm -f core conftest.err conftest.$ac_objext \
1745     conftest$ac_exeext conftest.$ac_ext
1746 fi
1747 eval ac_res=\$$3
1748                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1749 $as_echo "$ac_res" >&6; }
1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751
1752 } # ac_fn_c_check_func
1753
1754 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1755 # -------------------------------------------------------
1756 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1757 # the include files in INCLUDES and setting the cache variable VAR
1758 # accordingly.
1759 ac_fn_c_check_header_mongrel ()
1760 {
1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762   if eval \${$3+:} false; then :
1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1764 $as_echo_n "checking for $2... " >&6; }
1765 if eval \${$3+:} false; then :
1766   $as_echo_n "(cached) " >&6
1767 fi
1768 eval ac_res=\$$3
1769                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1770 $as_echo "$ac_res" >&6; }
1771 else
1772   # Is the header compilable?
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1774 $as_echo_n "checking $2 usability... " >&6; }
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h.  */
1777 $4
1778 #include <$2>
1779 _ACEOF
1780 if ac_fn_c_try_compile "$LINENO"; then :
1781   ac_header_compiler=yes
1782 else
1783   ac_header_compiler=no
1784 fi
1785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1787 $as_echo "$ac_header_compiler" >&6; }
1788
1789 # Is the header present?
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1791 $as_echo_n "checking $2 presence... " >&6; }
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h.  */
1794 #include <$2>
1795 _ACEOF
1796 if ac_fn_c_try_cpp "$LINENO"; then :
1797   ac_header_preproc=yes
1798 else
1799   ac_header_preproc=no
1800 fi
1801 rm -f conftest.err conftest.i conftest.$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1803 $as_echo "$ac_header_preproc" >&6; }
1804
1805 # So?  What about this header?
1806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1807   yes:no: )
1808     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1809 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1810     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1811 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1812     ;;
1813   no:yes:* )
1814     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1815 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1816     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1817 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1818     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1819 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1820     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1821 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1822     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1823 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824 ( $as_echo "## ---------------------------------------- ##
1825 ## Report this to konn@users.sourceforge.jp ##
1826 ## ---------------------------------------- ##"
1827      ) | sed "s/^/$as_me: WARNING:     /" >&2
1828     ;;
1829 esac
1830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831 $as_echo_n "checking for $2... " >&6; }
1832 if eval \${$3+:} false; then :
1833   $as_echo_n "(cached) " >&6
1834 else
1835   eval "$3=\$ac_header_compiler"
1836 fi
1837 eval ac_res=\$$3
1838                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1839 $as_echo "$ac_res" >&6; }
1840 fi
1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842
1843 } # ac_fn_c_check_header_mongrel
1844 cat >config.log <<_ACEOF
1845 This file contains any messages produced by compilers while
1846 running configure, to aid debugging if configure makes a mistake.
1847
1848 It was created by scss $as_me 1.0.0, which was
1849 generated by GNU Autoconf 2.68.  Invocation command line was
1850
1851   $ $0 $@
1852
1853 _ACEOF
1854 exec 5>>config.log
1855 {
1856 cat <<_ASUNAME
1857 ## --------- ##
1858 ## Platform. ##
1859 ## --------- ##
1860
1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1866
1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1868 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1869
1870 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1871 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1873 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1874 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1875 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1876 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1877
1878 _ASUNAME
1879
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883   IFS=$as_save_IFS
1884   test -z "$as_dir" && as_dir=.
1885     $as_echo "PATH: $as_dir"
1886   done
1887 IFS=$as_save_IFS
1888
1889 } >&5
1890
1891 cat >&5 <<_ACEOF
1892
1893
1894 ## ----------- ##
1895 ## Core tests. ##
1896 ## ----------- ##
1897
1898 _ACEOF
1899
1900
1901 # Keep a trace of the command line.
1902 # Strip out --no-create and --no-recursion so they do not pile up.
1903 # Strip out --silent because we don't want to record it for future runs.
1904 # Also quote any args containing shell meta-characters.
1905 # Make two passes to allow for proper duplicate-argument suppression.
1906 ac_configure_args=
1907 ac_configure_args0=
1908 ac_configure_args1=
1909 ac_must_keep_next=false
1910 for ac_pass in 1 2
1911 do
1912   for ac_arg
1913   do
1914     case $ac_arg in
1915     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1916     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1917     | -silent | --silent | --silen | --sile | --sil)
1918       continue ;;
1919     *\'*)
1920       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1921     esac
1922     case $ac_pass in
1923     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1924     2)
1925       as_fn_append ac_configure_args1 " '$ac_arg'"
1926       if test $ac_must_keep_next = true; then
1927         ac_must_keep_next=false # Got value, back to normal.
1928       else
1929         case $ac_arg in
1930           *=* | --config-cache | -C | -disable-* | --disable-* \
1931           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1932           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1933           | -with-* | --with-* | -without-* | --without-* | --x)
1934             case "$ac_configure_args0 " in
1935               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1936             esac
1937             ;;
1938           -* ) ac_must_keep_next=true ;;
1939         esac
1940       fi
1941       as_fn_append ac_configure_args " '$ac_arg'"
1942       ;;
1943     esac
1944   done
1945 done
1946 { ac_configure_args0=; unset ac_configure_args0;}
1947 { ac_configure_args1=; unset ac_configure_args1;}
1948
1949 # When interrupted or exit'd, cleanup temporary files, and complete
1950 # config.log.  We remove comments because anyway the quotes in there
1951 # would cause problems or look ugly.
1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1954 trap 'exit_status=$?
1955   # Save into config.log some information that might help in debugging.
1956   {
1957     echo
1958
1959     $as_echo "## ---------------- ##
1960 ## Cache variables. ##
1961 ## ---------------- ##"
1962     echo
1963     # The following way of writing the cache mishandles newlines in values,
1964 (
1965   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1966     eval ac_val=\$$ac_var
1967     case $ac_val in #(
1968     *${as_nl}*)
1969       case $ac_var in #(
1970       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1972       esac
1973       case $ac_var in #(
1974       _ | IFS | as_nl) ;; #(
1975       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1976       *) { eval $ac_var=; unset $ac_var;} ;;
1977       esac ;;
1978     esac
1979   done
1980   (set) 2>&1 |
1981     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1982     *${as_nl}ac_space=\ *)
1983       sed -n \
1984         "s/'\''/'\''\\\\'\'''\''/g;
1985           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1986       ;; #(
1987     *)
1988       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1989       ;;
1990     esac |
1991     sort
1992 )
1993     echo
1994
1995     $as_echo "## ----------------- ##
1996 ## Output variables. ##
1997 ## ----------------- ##"
1998     echo
1999     for ac_var in $ac_subst_vars
2000     do
2001       eval ac_val=\$$ac_var
2002       case $ac_val in
2003       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2004       esac
2005       $as_echo "$ac_var='\''$ac_val'\''"
2006     done | sort
2007     echo
2008
2009     if test -n "$ac_subst_files"; then
2010       $as_echo "## ------------------- ##
2011 ## File substitutions. ##
2012 ## ------------------- ##"
2013       echo
2014       for ac_var in $ac_subst_files
2015       do
2016         eval ac_val=\$$ac_var
2017         case $ac_val in
2018         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2019         esac
2020         $as_echo "$ac_var='\''$ac_val'\''"
2021       done | sort
2022       echo
2023     fi
2024
2025     if test -s confdefs.h; then
2026       $as_echo "## ----------- ##
2027 ## confdefs.h. ##
2028 ## ----------- ##"
2029       echo
2030       cat confdefs.h
2031       echo
2032     fi
2033     test "$ac_signal" != 0 &&
2034       $as_echo "$as_me: caught signal $ac_signal"
2035     $as_echo "$as_me: exit $exit_status"
2036   } >&5
2037   rm -f core *.core core.conftest.* &&
2038     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2039     exit $exit_status
2040 ' 0
2041 for ac_signal in 1 2 13 15; do
2042   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2043 done
2044 ac_signal=0
2045
2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2047 rm -f -r conftest* confdefs.h
2048
2049 $as_echo "/* confdefs.h */" > confdefs.h
2050
2051 # Predefined preprocessor variables.
2052
2053 cat >>confdefs.h <<_ACEOF
2054 #define PACKAGE_NAME "$PACKAGE_NAME"
2055 _ACEOF
2056
2057 cat >>confdefs.h <<_ACEOF
2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2059 _ACEOF
2060
2061 cat >>confdefs.h <<_ACEOF
2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2063 _ACEOF
2064
2065 cat >>confdefs.h <<_ACEOF
2066 #define PACKAGE_STRING "$PACKAGE_STRING"
2067 _ACEOF
2068
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2071 _ACEOF
2072
2073 cat >>confdefs.h <<_ACEOF
2074 #define PACKAGE_URL "$PACKAGE_URL"
2075 _ACEOF
2076
2077
2078 # Let the site file select an alternate cache file if it wants to.
2079 # Prefer an explicitly selected file to automatically selected ones.
2080 ac_site_file1=NONE
2081 ac_site_file2=NONE
2082 if test -n "$CONFIG_SITE"; then
2083   # We do not want a PATH search for config.site.
2084   case $CONFIG_SITE in #((
2085     -*)  ac_site_file1=./$CONFIG_SITE;;
2086     */*) ac_site_file1=$CONFIG_SITE;;
2087     *)   ac_site_file1=./$CONFIG_SITE;;
2088   esac
2089 elif test "x$prefix" != xNONE; then
2090   ac_site_file1=$prefix/share/config.site
2091   ac_site_file2=$prefix/etc/config.site
2092 else
2093   ac_site_file1=$ac_default_prefix/share/config.site
2094   ac_site_file2=$ac_default_prefix/etc/config.site
2095 fi
2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2097 do
2098   test "x$ac_site_file" = xNONE && continue
2099   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2100     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2102     sed 's/^/| /' "$ac_site_file" >&5
2103     . "$ac_site_file" \
2104       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2106 as_fn_error $? "failed to load site script $ac_site_file
2107 See \`config.log' for more details" "$LINENO" 5; }
2108   fi
2109 done
2110
2111 if test -r "$cache_file"; then
2112   # Some versions of bash will fail to source /dev/null (special files
2113   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2114   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2115     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
2117     case $cache_file in
2118       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2119       *)                      . "./$cache_file";;
2120     esac
2121   fi
2122 else
2123   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
2125   >$cache_file
2126 fi
2127
2128 # Check that the precious variables saved in the cache have kept the same
2129 # value.
2130 ac_cache_corrupted=false
2131 for ac_var in $ac_precious_vars; do
2132   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2133   eval ac_new_set=\$ac_env_${ac_var}_set
2134   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2135   eval ac_new_val=\$ac_env_${ac_var}_value
2136   case $ac_old_set,$ac_new_set in
2137     set,)
2138       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2140       ac_cache_corrupted=: ;;
2141     ,set)
2142       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2144       ac_cache_corrupted=: ;;
2145     ,);;
2146     *)
2147       if test "x$ac_old_val" != "x$ac_new_val"; then
2148         # differences in whitespace do not lead to failure.
2149         ac_old_val_w=`echo x $ac_old_val`
2150         ac_new_val_w=`echo x $ac_new_val`
2151         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2152           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2154           ac_cache_corrupted=:
2155         else
2156           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2158           eval $ac_var=\$ac_old_val
2159         fi
2160         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2161 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2162         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2163 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2164       fi;;
2165   esac
2166   # Pass precious variables to config.status.
2167   if test "$ac_new_set" = set; then
2168     case $ac_new_val in
2169     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2170     *) ac_arg=$ac_var=$ac_new_val ;;
2171     esac
2172     case " $ac_configure_args " in
2173       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2174       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2175     esac
2176   fi
2177 done
2178 if $ac_cache_corrupted; then
2179   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2183   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2184 fi
2185 ## -------------------- ##
2186 ## Main body of script. ##
2187 ## -------------------- ##
2188
2189 ac_ext=c
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2194
2195
2196 ac_aux_dir=
2197 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2198   if test -f "$ac_dir/install-sh"; then
2199     ac_aux_dir=$ac_dir
2200     ac_install_sh="$ac_aux_dir/install-sh -c"
2201     break
2202   elif test -f "$ac_dir/install.sh"; then
2203     ac_aux_dir=$ac_dir
2204     ac_install_sh="$ac_aux_dir/install.sh -c"
2205     break
2206   elif test -f "$ac_dir/shtool"; then
2207     ac_aux_dir=$ac_dir
2208     ac_install_sh="$ac_aux_dir/shtool install -c"
2209     break
2210   fi
2211 done
2212 if test -z "$ac_aux_dir"; then
2213   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2214 fi
2215
2216 # These three variables are undocumented and unsupported,
2217 # and are intended to be withdrawn in a future Autoconf release.
2218 # They can cause serious problems if a builder's source tree is in a directory
2219 # whose full name contains unusual characters.
2220 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2221 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2222 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2223
2224
2225 # Make sure we can run config.sub.
2226 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2227   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2228
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2230 $as_echo_n "checking build system type... " >&6; }
2231 if ${ac_cv_build+:} false; then :
2232   $as_echo_n "(cached) " >&6
2233 else
2234   ac_build_alias=$build_alias
2235 test "x$ac_build_alias" = x &&
2236   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2237 test "x$ac_build_alias" = x &&
2238   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2239 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2240   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2241
2242 fi
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2244 $as_echo "$ac_cv_build" >&6; }
2245 case $ac_cv_build in
2246 *-*-*) ;;
2247 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2248 esac
2249 build=$ac_cv_build
2250 ac_save_IFS=$IFS; IFS='-'
2251 set x $ac_cv_build
2252 shift
2253 build_cpu=$1
2254 build_vendor=$2
2255 shift; shift
2256 # Remember, the first character of IFS is used to create $*,
2257 # except with old shells:
2258 build_os=$*
2259 IFS=$ac_save_IFS
2260 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2261
2262
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2264 $as_echo_n "checking host system type... " >&6; }
2265 if ${ac_cv_host+:} false; then :
2266   $as_echo_n "(cached) " >&6
2267 else
2268   if test "x$host_alias" = x; then
2269   ac_cv_host=$ac_cv_build
2270 else
2271   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2272     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2273 fi
2274
2275 fi
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2277 $as_echo "$ac_cv_host" >&6; }
2278 case $ac_cv_host in
2279 *-*-*) ;;
2280 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2281 esac
2282 host=$ac_cv_host
2283 ac_save_IFS=$IFS; IFS='-'
2284 set x $ac_cv_host
2285 shift
2286 host_cpu=$1
2287 host_vendor=$2
2288 shift; shift
2289 # Remember, the first character of IFS is used to create $*,
2290 # except with old shells:
2291 host_os=$*
2292 IFS=$ac_save_IFS
2293 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2294
2295
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2297 $as_echo_n "checking target system type... " >&6; }
2298 if ${ac_cv_target+:} false; then :
2299   $as_echo_n "(cached) " >&6
2300 else
2301   if test "x$target_alias" = x; then
2302   ac_cv_target=$ac_cv_host
2303 else
2304   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2305     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2306 fi
2307
2308 fi
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2310 $as_echo "$ac_cv_target" >&6; }
2311 case $ac_cv_target in
2312 *-*-*) ;;
2313 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2314 esac
2315 target=$ac_cv_target
2316 ac_save_IFS=$IFS; IFS='-'
2317 set x $ac_cv_target
2318 shift
2319 target_cpu=$1
2320 target_vendor=$2
2321 shift; shift
2322 # Remember, the first character of IFS is used to create $*,
2323 # except with old shells:
2324 target_os=$*
2325 IFS=$ac_save_IFS
2326 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2327
2328
2329 # The aliases save the names the user supplied, while $host etc.
2330 # will get canonicalized.
2331 test -n "$target_alias" &&
2332   test "$program_prefix$program_suffix$program_transform_name" = \
2333     NONENONEs,x,x, &&
2334   program_prefix=${target_alias}-
2335 am__api_version='1.11'
2336
2337 # Find a good install program.  We prefer a C program (faster),
2338 # so one script is as good as another.  But avoid the broken or
2339 # incompatible versions:
2340 # SysV /etc/install, /usr/sbin/install
2341 # SunOS /usr/etc/install
2342 # IRIX /sbin/install
2343 # AIX /bin/install
2344 # AmigaOS /C/install, which installs bootblocks on floppy discs
2345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2348 # OS/2's system install, which has a completely different semantic
2349 # ./install, which can be erroneously created by make from ./install.sh.
2350 # Reject install programs that cannot install multiple files.
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2353 if test -z "$INSTALL"; then
2354 if ${ac_cv_path_install+:} false; then :
2355   $as_echo_n "(cached) " >&6
2356 else
2357   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 for as_dir in $PATH
2359 do
2360   IFS=$as_save_IFS
2361   test -z "$as_dir" && as_dir=.
2362     # Account for people who put trailing slashes in PATH elements.
2363 case $as_dir/ in #((
2364   ./ | .// | /[cC]/* | \
2365   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2366   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2367   /usr/ucb/* ) ;;
2368   *)
2369     # OSF1 and SCO ODT 3.0 have their own names for install.
2370     # Don't use installbsd from OSF since it installs stuff as root
2371     # by default.
2372     for ac_prog in ginstall scoinst install; do
2373       for ac_exec_ext in '' $ac_executable_extensions; do
2374         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2375           if test $ac_prog = install &&
2376             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2377             # AIX install.  It has an incompatible calling convention.
2378             :
2379           elif test $ac_prog = install &&
2380             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2381             # program-specific install script used by HP pwplus--don't use.
2382             :
2383           else
2384             rm -rf conftest.one conftest.two conftest.dir
2385             echo one > conftest.one
2386             echo two > conftest.two
2387             mkdir conftest.dir
2388             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2389               test -s conftest.one && test -s conftest.two &&
2390               test -s conftest.dir/conftest.one &&
2391               test -s conftest.dir/conftest.two
2392             then
2393               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2394               break 3
2395             fi
2396           fi
2397         fi
2398       done
2399     done
2400     ;;
2401 esac
2402
2403   done
2404 IFS=$as_save_IFS
2405
2406 rm -rf conftest.one conftest.two conftest.dir
2407
2408 fi
2409   if test "${ac_cv_path_install+set}" = set; then
2410     INSTALL=$ac_cv_path_install
2411   else
2412     # As a last resort, use the slow shell script.  Don't cache a
2413     # value for INSTALL within a source directory, because that will
2414     # break other packages using the cache if that directory is
2415     # removed, or if the value is a relative name.
2416     INSTALL=$ac_install_sh
2417   fi
2418 fi
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2420 $as_echo "$INSTALL" >&6; }
2421
2422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2423 # It thinks the first close brace ends the variable substitution.
2424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2425
2426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2427
2428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2429
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2431 $as_echo_n "checking whether build environment is sane... " >&6; }
2432 # Just in case
2433 sleep 1
2434 echo timestamp > conftest.file
2435 # Reject unsafe characters in $srcdir or the absolute working directory
2436 # name.  Accept space and tab only in the latter.
2437 am_lf='
2438 '
2439 case `pwd` in
2440   *[\\\"\#\$\&\'\`$am_lf]*)
2441     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2442 esac
2443 case $srcdir in
2444   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2445     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2446 esac
2447
2448 # Do `set' in a subshell so we don't clobber the current shell's
2449 # arguments.  Must try -L first in case configure is actually a
2450 # symlink; some systems play weird games with the mod time of symlinks
2451 # (eg FreeBSD returns the mod time of the symlink's containing
2452 # directory).
2453 if (
2454    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2455    if test "$*" = "X"; then
2456       # -L didn't work.
2457       set X `ls -t "$srcdir/configure" conftest.file`
2458    fi
2459    rm -f conftest.file
2460    if test "$*" != "X $srcdir/configure conftest.file" \
2461       && test "$*" != "X conftest.file $srcdir/configure"; then
2462
2463       # If neither matched, then we have a broken ls.  This can happen
2464       # if, for instance, CONFIG_SHELL is bash and it inherits a
2465       # broken ls alias from the environment.  This has actually
2466       # happened.  Such a system could not be considered "sane".
2467       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2468 alias in your environment" "$LINENO" 5
2469    fi
2470
2471    test "$2" = conftest.file
2472    )
2473 then
2474    # Ok.
2475    :
2476 else
2477    as_fn_error $? "newly created file is older than distributed files!
2478 Check your system clock" "$LINENO" 5
2479 fi
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2481 $as_echo "yes" >&6; }
2482 test "$program_prefix" != NONE &&
2483   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2484 # Use a double $ so make ignores it.
2485 test "$program_suffix" != NONE &&
2486   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2487 # Double any \ or $.
2488 # By default was `s,x,x', remove it if useless.
2489 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2490 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2491
2492 # expand $ac_aux_dir to an absolute path
2493 am_aux_dir=`cd $ac_aux_dir && pwd`
2494
2495 if test x"${MISSING+set}" != xset; then
2496   case $am_aux_dir in
2497   *\ * | *\     *)
2498     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2499   *)
2500     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2501   esac
2502 fi
2503 # Use eval to expand $SHELL
2504 if eval "$MISSING --run true"; then
2505   am_missing_run="$MISSING --run "
2506 else
2507   am_missing_run=
2508   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2509 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2510 fi
2511
2512 if test x"${install_sh}" != xset; then
2513   case $am_aux_dir in
2514   *\ * | *\     *)
2515     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2516   *)
2517     install_sh="\${SHELL} $am_aux_dir/install-sh"
2518   esac
2519 fi
2520
2521 # Installed binaries are usually stripped using `strip' when the user
2522 # run `make install-strip'.  However `strip' might not be the right
2523 # tool to use in cross-compilation environments, therefore Automake
2524 # will honor the `STRIP' environment variable to overrule this program.
2525 if test "$cross_compiling" != no; then
2526   if test -n "$ac_tool_prefix"; then
2527   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2528 set dummy ${ac_tool_prefix}strip; ac_word=$2
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2530 $as_echo_n "checking for $ac_word... " >&6; }
2531 if ${ac_cv_prog_STRIP+:} false; then :
2532   $as_echo_n "(cached) " >&6
2533 else
2534   if test -n "$STRIP"; then
2535   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2536 else
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 for as_dir in $PATH
2539 do
2540   IFS=$as_save_IFS
2541   test -z "$as_dir" && as_dir=.
2542     for ac_exec_ext in '' $ac_executable_extensions; do
2543   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2544     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2545     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546     break 2
2547   fi
2548 done
2549   done
2550 IFS=$as_save_IFS
2551
2552 fi
2553 fi
2554 STRIP=$ac_cv_prog_STRIP
2555 if test -n "$STRIP"; then
2556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2557 $as_echo "$STRIP" >&6; }
2558 else
2559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2560 $as_echo "no" >&6; }
2561 fi
2562
2563
2564 fi
2565 if test -z "$ac_cv_prog_STRIP"; then
2566   ac_ct_STRIP=$STRIP
2567   # Extract the first word of "strip", so it can be a program name with args.
2568 set dummy strip; ac_word=$2
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2570 $as_echo_n "checking for $ac_word... " >&6; }
2571 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2572   $as_echo_n "(cached) " >&6
2573 else
2574   if test -n "$ac_ct_STRIP"; then
2575   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2576 else
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 for as_dir in $PATH
2579 do
2580   IFS=$as_save_IFS
2581   test -z "$as_dir" && as_dir=.
2582     for ac_exec_ext in '' $ac_executable_extensions; do
2583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2584     ac_cv_prog_ac_ct_STRIP="strip"
2585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2586     break 2
2587   fi
2588 done
2589   done
2590 IFS=$as_save_IFS
2591
2592 fi
2593 fi
2594 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2595 if test -n "$ac_ct_STRIP"; then
2596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2597 $as_echo "$ac_ct_STRIP" >&6; }
2598 else
2599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2600 $as_echo "no" >&6; }
2601 fi
2602
2603   if test "x$ac_ct_STRIP" = x; then
2604     STRIP=":"
2605   else
2606     case $cross_compiling:$ac_tool_warned in
2607 yes:)
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2610 ac_tool_warned=yes ;;
2611 esac
2612     STRIP=$ac_ct_STRIP
2613   fi
2614 else
2615   STRIP="$ac_cv_prog_STRIP"
2616 fi
2617
2618 fi
2619 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2620
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2622 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2623 if test -z "$MKDIR_P"; then
2624   if ${ac_cv_path_mkdir+:} false; then :
2625   $as_echo_n "(cached) " >&6
2626 else
2627   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2628 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2629 do
2630   IFS=$as_save_IFS
2631   test -z "$as_dir" && as_dir=.
2632     for ac_prog in mkdir gmkdir; do
2633          for ac_exec_ext in '' $ac_executable_extensions; do
2634            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2635            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2636              'mkdir (GNU coreutils) '* | \
2637              'mkdir (coreutils) '* | \
2638              'mkdir (fileutils) '4.1*)
2639                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2640                break 3;;
2641            esac
2642          done
2643        done
2644   done
2645 IFS=$as_save_IFS
2646
2647 fi
2648
2649   test -d ./--version && rmdir ./--version
2650   if test "${ac_cv_path_mkdir+set}" = set; then
2651     MKDIR_P="$ac_cv_path_mkdir -p"
2652   else
2653     # As a last resort, use the slow shell script.  Don't cache a
2654     # value for MKDIR_P within a source directory, because that will
2655     # break other packages using the cache if that directory is
2656     # removed, or if the value is a relative name.
2657     MKDIR_P="$ac_install_sh -d"
2658   fi
2659 fi
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2661 $as_echo "$MKDIR_P" >&6; }
2662
2663 mkdir_p="$MKDIR_P"
2664 case $mkdir_p in
2665   [\\/$]* | ?:[\\/]*) ;;
2666   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2667 esac
2668
2669 for ac_prog in gawk mawk nawk awk
2670 do
2671   # Extract the first word of "$ac_prog", so it can be a program name with args.
2672 set dummy $ac_prog; ac_word=$2
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2674 $as_echo_n "checking for $ac_word... " >&6; }
2675 if ${ac_cv_prog_AWK+:} false; then :
2676   $as_echo_n "(cached) " >&6
2677 else
2678   if test -n "$AWK"; then
2679   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2680 else
2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 for as_dir in $PATH
2683 do
2684   IFS=$as_save_IFS
2685   test -z "$as_dir" && as_dir=.
2686     for ac_exec_ext in '' $ac_executable_extensions; do
2687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688     ac_cv_prog_AWK="$ac_prog"
2689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2690     break 2
2691   fi
2692 done
2693   done
2694 IFS=$as_save_IFS
2695
2696 fi
2697 fi
2698 AWK=$ac_cv_prog_AWK
2699 if test -n "$AWK"; then
2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2701 $as_echo "$AWK" >&6; }
2702 else
2703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2705 fi
2706
2707
2708   test -n "$AWK" && break
2709 done
2710
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2712 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2713 set x ${MAKE-make}
2714 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2715 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2716   $as_echo_n "(cached) " >&6
2717 else
2718   cat >conftest.make <<\_ACEOF
2719 SHELL = /bin/sh
2720 all:
2721         @echo '@@@%%%=$(MAKE)=@@@%%%'
2722 _ACEOF
2723 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2724 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2725   *@@@%%%=?*=@@@%%%*)
2726     eval ac_cv_prog_make_${ac_make}_set=yes;;
2727   *)
2728     eval ac_cv_prog_make_${ac_make}_set=no;;
2729 esac
2730 rm -f conftest.make
2731 fi
2732 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2734 $as_echo "yes" >&6; }
2735   SET_MAKE=
2736 else
2737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2738 $as_echo "no" >&6; }
2739   SET_MAKE="MAKE=${MAKE-make}"
2740 fi
2741
2742 rm -rf .tst 2>/dev/null
2743 mkdir .tst 2>/dev/null
2744 if test -d .tst; then
2745   am__leading_dot=.
2746 else
2747   am__leading_dot=_
2748 fi
2749 rmdir .tst 2>/dev/null
2750
2751 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2752   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2753   # is not polluted with repeated "-I."
2754   am__isrc=' -I$(srcdir)'
2755   # test to see if srcdir already configured
2756   if test -f $srcdir/config.status; then
2757     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2758   fi
2759 fi
2760
2761 # test whether we have cygpath
2762 if test -z "$CYGPATH_W"; then
2763   if (cygpath --version) >/dev/null 2>/dev/null; then
2764     CYGPATH_W='cygpath -w'
2765   else
2766     CYGPATH_W=echo
2767   fi
2768 fi
2769
2770
2771 # Define the identity of the package.
2772  PACKAGE=scss
2773  VERSION=1.0.0
2774
2775
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE "$PACKAGE"
2778 _ACEOF
2779
2780
2781 cat >>confdefs.h <<_ACEOF
2782 #define VERSION "$VERSION"
2783 _ACEOF
2784
2785 # Some tools Automake needs.
2786
2787 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2788
2789
2790 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2791
2792
2793 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2794
2795
2796 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2797
2798
2799 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2800
2801 # We need awk for the "check" target.  The system "awk" is bad on
2802 # some platforms.
2803 # Always define AMTAR for backward compatibility.
2804
2805 AMTAR=${AMTAR-"${am_missing_run}tar"}
2806
2807 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2808
2809
2810
2811
2812
2813
2814 ac_config_headers="$ac_config_headers include/config.h"
2815
2816
2817 # Checks for programs.
2818 case `pwd` in
2819   *\ * | *\     *)
2820     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2821 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2822 esac
2823
2824
2825
2826 macro_version='2.4'
2827 macro_revision='1.3293'
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841 ltmain="$ac_aux_dir/ltmain.sh"
2842
2843 # Backslashify metacharacters that are still active within
2844 # double-quoted strings.
2845 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2846
2847 # Same as above, but do not quote variable references.
2848 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2849
2850 # Sed substitution to delay expansion of an escaped shell variable in a
2851 # double_quote_subst'ed string.
2852 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2853
2854 # Sed substitution to delay expansion of an escaped single quote.
2855 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2856
2857 # Sed substitution to avoid accidental globbing in evaled expressions
2858 no_glob_subst='s/\*/\\\*/g'
2859
2860 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2861 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2862 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2863
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2865 $as_echo_n "checking how to print strings... " >&6; }
2866 # Test print first, because it will be a builtin if present.
2867 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2868    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2869   ECHO='print -r --'
2870 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2871   ECHO='printf %s\n'
2872 else
2873   # Use this function as a fallback that always works.
2874   func_fallback_echo ()
2875   {
2876     eval 'cat <<_LTECHO_EOF
2877 $1
2878 _LTECHO_EOF'
2879   }
2880   ECHO='func_fallback_echo'
2881 fi
2882
2883 # func_echo_all arg...
2884 # Invoke $ECHO with all args, space-separated.
2885 func_echo_all ()
2886 {
2887     $ECHO ""
2888 }
2889
2890 case "$ECHO" in
2891   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2892 $as_echo "printf" >&6; } ;;
2893   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2894 $as_echo "print -r" >&6; } ;;
2895   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2896 $as_echo "cat" >&6; } ;;
2897 esac
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912 DEPDIR="${am__leading_dot}deps"
2913
2914 ac_config_commands="$ac_config_commands depfiles"
2915
2916
2917 am_make=${MAKE-make}
2918 cat > confinc << 'END'
2919 am__doit:
2920         @echo this is the am__doit target
2921 .PHONY: am__doit
2922 END
2923 # If we don't find an include directive, just comment out the code.
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2925 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2926 am__include="#"
2927 am__quote=
2928 _am_result=none
2929 # First try GNU make style include.
2930 echo "include confinc" > confmf
2931 # Ignore all kinds of additional output from `make'.
2932 case `$am_make -s -f confmf 2> /dev/null` in #(
2933 *the\ am__doit\ target*)
2934   am__include=include
2935   am__quote=
2936   _am_result=GNU
2937   ;;
2938 esac
2939 # Now try BSD make style include.
2940 if test "$am__include" = "#"; then
2941    echo '.include "confinc"' > confmf
2942    case `$am_make -s -f confmf 2> /dev/null` in #(
2943    *the\ am__doit\ target*)
2944      am__include=.include
2945      am__quote="\""
2946      _am_result=BSD
2947      ;;
2948    esac
2949 fi
2950
2951
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2953 $as_echo "$_am_result" >&6; }
2954 rm -f confinc confmf
2955
2956 # Check whether --enable-dependency-tracking was given.
2957 if test "${enable_dependency_tracking+set}" = set; then :
2958   enableval=$enable_dependency_tracking;
2959 fi
2960
2961 if test "x$enable_dependency_tracking" != xno; then
2962   am_depcomp="$ac_aux_dir/depcomp"
2963   AMDEPBACKSLASH='\'
2964 fi
2965  if test "x$enable_dependency_tracking" != xno; then
2966   AMDEP_TRUE=
2967   AMDEP_FALSE='#'
2968 else
2969   AMDEP_TRUE='#'
2970   AMDEP_FALSE=
2971 fi
2972
2973
2974 ac_ext=c
2975 ac_cpp='$CPP $CPPFLAGS'
2976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2979 if test -n "$ac_tool_prefix"; then
2980   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2981 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2983 $as_echo_n "checking for $ac_word... " >&6; }
2984 if ${ac_cv_prog_CC+:} false; then :
2985   $as_echo_n "(cached) " >&6
2986 else
2987   if test -n "$CC"; then
2988   ac_cv_prog_CC="$CC" # Let the user override the test.
2989 else
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2991 for as_dir in $PATH
2992 do
2993   IFS=$as_save_IFS
2994   test -z "$as_dir" && as_dir=.
2995     for ac_exec_ext in '' $ac_executable_extensions; do
2996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2997     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999     break 2
3000   fi
3001 done
3002   done
3003 IFS=$as_save_IFS
3004
3005 fi
3006 fi
3007 CC=$ac_cv_prog_CC
3008 if test -n "$CC"; then
3009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3010 $as_echo "$CC" >&6; }
3011 else
3012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3013 $as_echo "no" >&6; }
3014 fi
3015
3016
3017 fi
3018 if test -z "$ac_cv_prog_CC"; then
3019   ac_ct_CC=$CC
3020   # Extract the first word of "gcc", so it can be a program name with args.
3021 set dummy gcc; ac_word=$2
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3023 $as_echo_n "checking for $ac_word... " >&6; }
3024 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3025   $as_echo_n "(cached) " >&6
3026 else
3027   if test -n "$ac_ct_CC"; then
3028   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3029 else
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH
3032 do
3033   IFS=$as_save_IFS
3034   test -z "$as_dir" && as_dir=.
3035     for ac_exec_ext in '' $ac_executable_extensions; do
3036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037     ac_cv_prog_ac_ct_CC="gcc"
3038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039     break 2
3040   fi
3041 done
3042   done
3043 IFS=$as_save_IFS
3044
3045 fi
3046 fi
3047 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3048 if test -n "$ac_ct_CC"; then
3049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3050 $as_echo "$ac_ct_CC" >&6; }
3051 else
3052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053 $as_echo "no" >&6; }
3054 fi
3055
3056   if test "x$ac_ct_CC" = x; then
3057     CC=""
3058   else
3059     case $cross_compiling:$ac_tool_warned in
3060 yes:)
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3063 ac_tool_warned=yes ;;
3064 esac
3065     CC=$ac_ct_CC
3066   fi
3067 else
3068   CC="$ac_cv_prog_CC"
3069 fi
3070
3071 if test -z "$CC"; then
3072           if test -n "$ac_tool_prefix"; then
3073     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3074 set dummy ${ac_tool_prefix}cc; ac_word=$2
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3076 $as_echo_n "checking for $ac_word... " >&6; }
3077 if ${ac_cv_prog_CC+:} false; then :
3078   $as_echo_n "(cached) " >&6
3079 else
3080   if test -n "$CC"; then
3081   ac_cv_prog_CC="$CC" # Let the user override the test.
3082 else
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3085 do
3086   IFS=$as_save_IFS
3087   test -z "$as_dir" && as_dir=.
3088     for ac_exec_ext in '' $ac_executable_extensions; do
3089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090     ac_cv_prog_CC="${ac_tool_prefix}cc"
3091     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3092     break 2
3093   fi
3094 done
3095   done
3096 IFS=$as_save_IFS
3097
3098 fi
3099 fi
3100 CC=$ac_cv_prog_CC
3101 if test -n "$CC"; then
3102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3103 $as_echo "$CC" >&6; }
3104 else
3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3106 $as_echo "no" >&6; }
3107 fi
3108
3109
3110   fi
3111 fi
3112 if test -z "$CC"; then
3113   # Extract the first word of "cc", so it can be a program name with args.
3114 set dummy cc; ac_word=$2
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3116 $as_echo_n "checking for $ac_word... " >&6; }
3117 if ${ac_cv_prog_CC+:} false; then :
3118   $as_echo_n "(cached) " >&6
3119 else
3120   if test -n "$CC"; then
3121   ac_cv_prog_CC="$CC" # Let the user override the test.
3122 else
3123   ac_prog_rejected=no
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 for as_dir in $PATH
3126 do
3127   IFS=$as_save_IFS
3128   test -z "$as_dir" && as_dir=.
3129     for ac_exec_ext in '' $ac_executable_extensions; do
3130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3132        ac_prog_rejected=yes
3133        continue
3134      fi
3135     ac_cv_prog_CC="cc"
3136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3137     break 2
3138   fi
3139 done
3140   done
3141 IFS=$as_save_IFS
3142
3143 if test $ac_prog_rejected = yes; then
3144   # We found a bogon in the path, so make sure we never use it.
3145   set dummy $ac_cv_prog_CC
3146   shift
3147   if test $# != 0; then
3148     # We chose a different compiler from the bogus one.
3149     # However, it has the same basename, so the bogon will be chosen
3150     # first if we set CC to just the basename; use the full file name.
3151     shift
3152     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3153   fi
3154 fi
3155 fi
3156 fi
3157 CC=$ac_cv_prog_CC
3158 if test -n "$CC"; then
3159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3160 $as_echo "$CC" >&6; }
3161 else
3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3163 $as_echo "no" >&6; }
3164 fi
3165
3166
3167 fi
3168 if test -z "$CC"; then
3169   if test -n "$ac_tool_prefix"; then
3170   for ac_prog in cl.exe
3171   do
3172     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_CC+:} false; then :
3177   $as_echo_n "(cached) " >&6
3178 else
3179   if test -n "$CC"; then
3180   ac_cv_prog_CC="$CC" # Let the user override the test.
3181 else
3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183 for as_dir in $PATH
3184 do
3185   IFS=$as_save_IFS
3186   test -z "$as_dir" && as_dir=.
3187     for ac_exec_ext in '' $ac_executable_extensions; do
3188   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3189     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191     break 2
3192   fi
3193 done
3194   done
3195 IFS=$as_save_IFS
3196
3197 fi
3198 fi
3199 CC=$ac_cv_prog_CC
3200 if test -n "$CC"; then
3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3202 $as_echo "$CC" >&6; }
3203 else
3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3205 $as_echo "no" >&6; }
3206 fi
3207
3208
3209     test -n "$CC" && break
3210   done
3211 fi
3212 if test -z "$CC"; then
3213   ac_ct_CC=$CC
3214   for ac_prog in cl.exe
3215 do
3216   # Extract the first word of "$ac_prog", so it can be a program name with args.
3217 set dummy $ac_prog; ac_word=$2
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3219 $as_echo_n "checking for $ac_word... " >&6; }
3220 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3221   $as_echo_n "(cached) " >&6
3222 else
3223   if test -n "$ac_ct_CC"; then
3224   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3225 else
3226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3227 for as_dir in $PATH
3228 do
3229   IFS=$as_save_IFS
3230   test -z "$as_dir" && as_dir=.
3231     for ac_exec_ext in '' $ac_executable_extensions; do
3232   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3233     ac_cv_prog_ac_ct_CC="$ac_prog"
3234     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3235     break 2
3236   fi
3237 done
3238   done
3239 IFS=$as_save_IFS
3240
3241 fi
3242 fi
3243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3244 if test -n "$ac_ct_CC"; then
3245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3246 $as_echo "$ac_ct_CC" >&6; }
3247 else
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249 $as_echo "no" >&6; }
3250 fi
3251
3252
3253   test -n "$ac_ct_CC" && break
3254 done
3255
3256   if test "x$ac_ct_CC" = x; then
3257     CC=""
3258   else
3259     case $cross_compiling:$ac_tool_warned in
3260 yes:)
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3263 ac_tool_warned=yes ;;
3264 esac
3265     CC=$ac_ct_CC
3266   fi
3267 fi
3268
3269 fi
3270
3271
3272 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "no acceptable C compiler found in \$PATH
3275 See \`config.log' for more details" "$LINENO" 5; }
3276
3277 # Provide some information about the compiler.
3278 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3279 set X $ac_compile
3280 ac_compiler=$2
3281 for ac_option in --version -v -V -qversion; do
3282   { { ac_try="$ac_compiler $ac_option >&5"
3283 case "(($ac_try" in
3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285   *) ac_try_echo=$ac_try;;
3286 esac
3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3288 $as_echo "$ac_try_echo"; } >&5
3289   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3290   ac_status=$?
3291   if test -s conftest.err; then
3292     sed '10a\
3293 ... rest of stderr output deleted ...
3294          10q' conftest.err >conftest.er1
3295     cat conftest.er1 >&5
3296   fi
3297   rm -f conftest.er1 conftest.err
3298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3299   test $ac_status = 0; }
3300 done
3301
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h.  */
3304
3305 int
3306 main ()
3307 {
3308
3309   ;
3310   return 0;
3311 }
3312 _ACEOF
3313 ac_clean_files_save=$ac_clean_files
3314 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3315 # Try to create an executable without -o first, disregard a.out.
3316 # It will help us diagnose broken compilers, and finding out an intuition
3317 # of exeext.
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3319 $as_echo_n "checking whether the C compiler works... " >&6; }
3320 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3321
3322 # The possible output files:
3323 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3324
3325 ac_rmfiles=
3326 for ac_file in $ac_files
3327 do
3328   case $ac_file in
3329     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3330     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3331   esac
3332 done
3333 rm -f $ac_rmfiles
3334
3335 if { { ac_try="$ac_link_default"
3336 case "(($ac_try" in
3337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338   *) ac_try_echo=$ac_try;;
3339 esac
3340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3341 $as_echo "$ac_try_echo"; } >&5
3342   (eval "$ac_link_default") 2>&5
3343   ac_status=$?
3344   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3345   test $ac_status = 0; }; then :
3346   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3347 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3348 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3349 # so that the user can short-circuit this test for compilers unknown to
3350 # Autoconf.
3351 for ac_file in $ac_files ''
3352 do
3353   test -f "$ac_file" || continue
3354   case $ac_file in
3355     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3356         ;;
3357     [ab].out )
3358         # We found the default executable, but exeext='' is most
3359         # certainly right.
3360         break;;
3361     *.* )
3362         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3363         then :; else
3364            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3365         fi
3366         # We set ac_cv_exeext here because the later test for it is not
3367         # safe: cross compilers may not add the suffix if given an `-o'
3368         # argument, so we may need to know it at that point already.
3369         # Even if this section looks crufty: it has the advantage of
3370         # actually working.
3371         break;;
3372     * )
3373         break;;
3374   esac
3375 done
3376 test "$ac_cv_exeext" = no && ac_cv_exeext=
3377
3378 else
3379   ac_file=''
3380 fi
3381 if test -z "$ac_file"; then :
3382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3383 $as_echo "no" >&6; }
3384 $as_echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.$ac_ext >&5
3386
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error 77 "C compiler cannot create executables
3390 See \`config.log' for more details" "$LINENO" 5; }
3391 else
3392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3393 $as_echo "yes" >&6; }
3394 fi
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3396 $as_echo_n "checking for C compiler default output file name... " >&6; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3398 $as_echo "$ac_file" >&6; }
3399 ac_exeext=$ac_cv_exeext
3400
3401 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3402 ac_clean_files=$ac_clean_files_save
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3404 $as_echo_n "checking for suffix of executables... " >&6; }
3405 if { { ac_try="$ac_link"
3406 case "(($ac_try" in
3407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3408   *) ac_try_echo=$ac_try;;
3409 esac
3410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3411 $as_echo "$ac_try_echo"; } >&5
3412   (eval "$ac_link") 2>&5
3413   ac_status=$?
3414   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3415   test $ac_status = 0; }; then :
3416   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3417 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3418 # work properly (i.e., refer to `conftest.exe'), while it won't with
3419 # `rm'.
3420 for ac_file in conftest.exe conftest conftest.*; do
3421   test -f "$ac_file" || continue
3422   case $ac_file in
3423     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3424     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3425           break;;
3426     * ) break;;
3427   esac
3428 done
3429 else
3430   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3433 See \`config.log' for more details" "$LINENO" 5; }
3434 fi
3435 rm -f conftest conftest$ac_cv_exeext
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3437 $as_echo "$ac_cv_exeext" >&6; }
3438
3439 rm -f conftest.$ac_ext
3440 EXEEXT=$ac_cv_exeext
3441 ac_exeext=$EXEEXT
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h.  */
3444 #include <stdio.h>
3445 int
3446 main ()
3447 {
3448 FILE *f = fopen ("conftest.out", "w");
3449  return ferror (f) || fclose (f) != 0;
3450
3451   ;
3452   return 0;
3453 }
3454 _ACEOF
3455 ac_clean_files="$ac_clean_files conftest.out"
3456 # Check that the compiler produces executables we can run.  If not, either
3457 # the compiler is broken, or we cross compile.
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3459 $as_echo_n "checking whether we are cross compiling... " >&6; }
3460 if test "$cross_compiling" != yes; then
3461   { { ac_try="$ac_link"
3462 case "(($ac_try" in
3463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464   *) ac_try_echo=$ac_try;;
3465 esac
3466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3467 $as_echo "$ac_try_echo"; } >&5
3468   (eval "$ac_link") 2>&5
3469   ac_status=$?
3470   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3471   test $ac_status = 0; }
3472   if { ac_try='./conftest$ac_cv_exeext'
3473   { { case "(($ac_try" in
3474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3475   *) ac_try_echo=$ac_try;;
3476 esac
3477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3478 $as_echo "$ac_try_echo"; } >&5
3479   (eval "$ac_try") 2>&5
3480   ac_status=$?
3481   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3482   test $ac_status = 0; }; }; then
3483     cross_compiling=no
3484   else
3485     if test "$cross_compiling" = maybe; then
3486         cross_compiling=yes
3487     else
3488         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3490 as_fn_error $? "cannot run C compiled programs.
3491 If you meant to cross compile, use \`--host'.
3492 See \`config.log' for more details" "$LINENO" 5; }
3493     fi
3494   fi
3495 fi
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3497 $as_echo "$cross_compiling" >&6; }
3498
3499 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3500 ac_clean_files=$ac_clean_files_save
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3502 $as_echo_n "checking for suffix of object files... " >&6; }
3503 if ${ac_cv_objext+:} false; then :
3504   $as_echo_n "(cached) " >&6
3505 else
3506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h.  */
3508
3509 int
3510 main ()
3511 {
3512
3513   ;
3514   return 0;
3515 }
3516 _ACEOF
3517 rm -f conftest.o conftest.obj
3518 if { { ac_try="$ac_compile"
3519 case "(($ac_try" in
3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3521   *) ac_try_echo=$ac_try;;
3522 esac
3523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3524 $as_echo "$ac_try_echo"; } >&5
3525   (eval "$ac_compile") 2>&5
3526   ac_status=$?
3527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3528   test $ac_status = 0; }; then :
3529   for ac_file in conftest.o conftest.obj conftest.*; do
3530   test -f "$ac_file" || continue;
3531   case $ac_file in
3532     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3533     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3534        break;;
3535   esac
3536 done
3537 else
3538   $as_echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3540
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error $? "cannot compute suffix of object files: cannot compile
3544 See \`config.log' for more details" "$LINENO" 5; }
3545 fi
3546 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3547 fi
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3549 $as_echo "$ac_cv_objext" >&6; }
3550 OBJEXT=$ac_cv_objext
3551 ac_objext=$OBJEXT
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3553 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3554 if ${ac_cv_c_compiler_gnu+:} false; then :
3555   $as_echo_n "(cached) " >&6
3556 else
3557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3558 /* end confdefs.h.  */
3559
3560 int
3561 main ()
3562 {
3563 #ifndef __GNUC__
3564        choke me
3565 #endif
3566
3567   ;
3568   return 0;
3569 }
3570 _ACEOF
3571 if ac_fn_c_try_compile "$LINENO"; then :
3572   ac_compiler_gnu=yes
3573 else
3574   ac_compiler_gnu=no
3575 fi
3576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3577 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3578
3579 fi
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3581 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3582 if test $ac_compiler_gnu = yes; then
3583   GCC=yes
3584 else
3585   GCC=
3586 fi
3587 ac_test_CFLAGS=${CFLAGS+set}
3588 ac_save_CFLAGS=$CFLAGS
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3590 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3591 if ${ac_cv_prog_cc_g+:} false; then :
3592   $as_echo_n "(cached) " >&6
3593 else
3594   ac_save_c_werror_flag=$ac_c_werror_flag
3595    ac_c_werror_flag=yes
3596    ac_cv_prog_cc_g=no
3597    CFLAGS="-g"
3598    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h.  */
3600
3601 int
3602 main ()
3603 {
3604
3605   ;
3606   return 0;
3607 }
3608 _ACEOF
3609 if ac_fn_c_try_compile "$LINENO"; then :
3610   ac_cv_prog_cc_g=yes
3611 else
3612   CFLAGS=""
3613       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h.  */
3615
3616 int
3617 main ()
3618 {
3619
3620   ;
3621   return 0;
3622 }
3623 _ACEOF
3624 if ac_fn_c_try_compile "$LINENO"; then :
3625
3626 else
3627   ac_c_werror_flag=$ac_save_c_werror_flag
3628          CFLAGS="-g"
3629          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3630 /* end confdefs.h.  */
3631
3632 int
3633 main ()
3634 {
3635
3636   ;
3637   return 0;
3638 }
3639 _ACEOF
3640 if ac_fn_c_try_compile "$LINENO"; then :
3641   ac_cv_prog_cc_g=yes
3642 fi
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 fi
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 fi
3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648    ac_c_werror_flag=$ac_save_c_werror_flag
3649 fi
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3651 $as_echo "$ac_cv_prog_cc_g" >&6; }
3652 if test "$ac_test_CFLAGS" = set; then
3653   CFLAGS=$ac_save_CFLAGS
3654 elif test $ac_cv_prog_cc_g = yes; then
3655   if test "$GCC" = yes; then
3656     CFLAGS="-g -O2"
3657   else
3658     CFLAGS="-g"
3659   fi
3660 else
3661   if test "$GCC" = yes; then
3662     CFLAGS="-O2"
3663   else
3664     CFLAGS=
3665   fi
3666 fi
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3668 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3669 if ${ac_cv_prog_cc_c89+:} false; then :
3670   $as_echo_n "(cached) " >&6
3671 else
3672   ac_cv_prog_cc_c89=no
3673 ac_save_CC=$CC
3674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3675 /* end confdefs.h.  */
3676 #include <stdarg.h>
3677 #include <stdio.h>
3678 #include <sys/types.h>
3679 #include <sys/stat.h>
3680 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3681 struct buf { int x; };
3682 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3683 static char *e (p, i)
3684      char **p;
3685      int i;
3686 {
3687   return p[i];
3688 }
3689 static char *f (char * (*g) (char **, int), char **p, ...)
3690 {
3691   char *s;
3692   va_list v;
3693   va_start (v,p);
3694   s = g (p, va_arg (v,int));
3695   va_end (v);
3696   return s;
3697 }
3698
3699 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3700    function prototypes and stuff, but not '\xHH' hex character constants.
3701    These don't provoke an error unfortunately, instead are silently treated
3702    as 'x'.  The following induces an error, until -std is added to get
3703    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3704    array size at least.  It's necessary to write '\x00'==0 to get something
3705    that's true only with -std.  */
3706 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3707
3708 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3709    inside strings and character constants.  */
3710 #define FOO(x) 'x'
3711 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3712
3713 int test (int i, double x);
3714 struct s1 {int (*f) (int a);};
3715 struct s2 {int (*f) (double a);};
3716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3717 int argc;
3718 char **argv;
3719 int
3720 main ()
3721 {
3722 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3723   ;
3724   return 0;
3725 }
3726 _ACEOF
3727 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3728         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3729 do
3730   CC="$ac_save_CC $ac_arg"
3731   if ac_fn_c_try_compile "$LINENO"; then :
3732   ac_cv_prog_cc_c89=$ac_arg
3733 fi
3734 rm -f core conftest.err conftest.$ac_objext
3735   test "x$ac_cv_prog_cc_c89" != "xno" && break
3736 done
3737 rm -f conftest.$ac_ext
3738 CC=$ac_save_CC
3739
3740 fi
3741 # AC_CACHE_VAL
3742 case "x$ac_cv_prog_cc_c89" in
3743   x)
3744     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3745 $as_echo "none needed" >&6; } ;;
3746   xno)
3747     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3748 $as_echo "unsupported" >&6; } ;;
3749   *)
3750     CC="$CC $ac_cv_prog_cc_c89"
3751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3752 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3753 esac
3754 if test "x$ac_cv_prog_cc_c89" != xno; then :
3755
3756 fi
3757
3758 ac_ext=c
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3763
3764 depcc="$CC"   am_compiler_list=
3765
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3767 $as_echo_n "checking dependency style of $depcc... " >&6; }
3768 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3769   $as_echo_n "(cached) " >&6
3770 else
3771   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3772   # We make a subdir and do the tests there.  Otherwise we can end up
3773   # making bogus files that we don't know about and never remove.  For
3774   # instance it was reported that on HP-UX the gcc test will end up
3775   # making a dummy file named `D' -- because `-MD' means `put the output
3776   # in D'.
3777   mkdir conftest.dir
3778   # Copy depcomp to subdir because otherwise we won't find it if we're
3779   # using a relative directory.
3780   cp "$am_depcomp" conftest.dir
3781   cd conftest.dir
3782   # We will build objects and dependencies in a subdirectory because
3783   # it helps to detect inapplicable dependency modes.  For instance
3784   # both Tru64's cc and ICC support -MD to output dependencies as a
3785   # side effect of compilation, but ICC will put the dependencies in
3786   # the current directory while Tru64 will put them in the object
3787   # directory.
3788   mkdir sub
3789
3790   am_cv_CC_dependencies_compiler_type=none
3791   if test "$am_compiler_list" = ""; then
3792      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3793   fi
3794   am__universal=false
3795   case " $depcc " in #(
3796      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3797      esac
3798
3799   for depmode in $am_compiler_list; do
3800     # Setup a source with many dependencies, because some compilers
3801     # like to wrap large dependency lists on column 80 (with \), and
3802     # we should not choose a depcomp mode which is confused by this.
3803     #
3804     # We need to recreate these files for each test, as the compiler may
3805     # overwrite some of them when testing with obscure command lines.
3806     # This happens at least with the AIX C compiler.
3807     : > sub/conftest.c
3808     for i in 1 2 3 4 5 6; do
3809       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3810       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3811       # Solaris 8's {/usr,}/bin/sh.
3812       touch sub/conftst$i.h
3813     done
3814     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3815
3816     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3817     # mode.  It turns out that the SunPro C++ compiler does not properly
3818     # handle `-M -o', and we need to detect this.  Also, some Intel
3819     # versions had trouble with output in subdirs
3820     am__obj=sub/conftest.${OBJEXT-o}
3821     am__minus_obj="-o $am__obj"
3822     case $depmode in
3823     gcc)
3824       # This depmode causes a compiler race in universal mode.
3825       test "$am__universal" = false || continue
3826       ;;
3827     nosideeffect)
3828       # after this tag, mechanisms are not by side-effect, so they'll
3829       # only be used when explicitly requested
3830       if test "x$enable_dependency_tracking" = xyes; then
3831         continue
3832       else
3833         break
3834       fi
3835       ;;
3836     msvisualcpp | msvcmsys)
3837       # This compiler won't grok `-c -o', but also, the minuso test has
3838       # not run yet.  These depmodes are late enough in the game, and
3839       # so weak that their functioning should not be impacted.
3840       am__obj=conftest.${OBJEXT-o}
3841       am__minus_obj=
3842       ;;
3843     none) break ;;
3844     esac
3845     if depmode=$depmode \
3846        source=sub/conftest.c object=$am__obj \
3847        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3848        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3849          >/dev/null 2>conftest.err &&
3850        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3851        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3852        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3853        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3854       # icc doesn't choke on unknown options, it will just issue warnings
3855       # or remarks (even with -Werror).  So we grep stderr for any message
3856       # that says an option was ignored or not supported.
3857       # When given -MP, icc 7.0 and 7.1 complain thusly:
3858       #   icc: Command line warning: ignoring option '-M'; no argument required
3859       # The diagnosis changed in icc 8.0:
3860       #   icc: Command line remark: option '-MP' not supported
3861       if (grep 'ignoring option' conftest.err ||
3862           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3863         am_cv_CC_dependencies_compiler_type=$depmode
3864         break
3865       fi
3866     fi
3867   done
3868
3869   cd ..
3870   rm -rf conftest.dir
3871 else
3872   am_cv_CC_dependencies_compiler_type=none
3873 fi
3874
3875 fi
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3877 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3878 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3879
3880  if
3881   test "x$enable_dependency_tracking" != xno \
3882   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3883   am__fastdepCC_TRUE=
3884   am__fastdepCC_FALSE='#'
3885 else
3886   am__fastdepCC_TRUE='#'
3887   am__fastdepCC_FALSE=
3888 fi
3889
3890
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3892 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3893 if ${ac_cv_path_SED+:} false; then :
3894   $as_echo_n "(cached) " >&6
3895 else
3896             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3897      for ac_i in 1 2 3 4 5 6 7; do
3898        ac_script="$ac_script$as_nl$ac_script"
3899      done
3900      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3901      { ac_script=; unset ac_script;}
3902      if test -z "$SED"; then
3903   ac_path_SED_found=false
3904   # Loop through the user's path and test for each of PROGNAME-LIST
3905   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 for as_dir in $PATH
3907 do
3908   IFS=$as_save_IFS
3909   test -z "$as_dir" && as_dir=.
3910     for ac_prog in sed gsed; do
3911     for ac_exec_ext in '' $ac_executable_extensions; do
3912       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3913       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3914 # Check for GNU ac_path_SED and select it if it is found.
3915   # Check for GNU $ac_path_SED
3916 case `"$ac_path_SED" --version 2>&1` in
3917 *GNU*)
3918   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3919 *)
3920   ac_count=0
3921   $as_echo_n 0123456789 >"conftest.in"
3922   while :
3923   do
3924     cat "conftest.in" "conftest.in" >"conftest.tmp"
3925     mv "conftest.tmp" "conftest.in"
3926     cp "conftest.in" "conftest.nl"
3927     $as_echo '' >> "conftest.nl"
3928     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3929     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3930     as_fn_arith $ac_count + 1 && ac_count=$as_val
3931     if test $ac_count -gt ${ac_path_SED_max-0}; then
3932       # Best one so far, save it but keep looking for a better one
3933       ac_cv_path_SED="$ac_path_SED"
3934       ac_path_SED_max=$ac_count
3935     fi
3936     # 10*(2^10) chars as input seems more than enough
3937     test $ac_count -gt 10 && break
3938   done
3939   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3940 esac
3941
3942       $ac_path_SED_found && break 3
3943     done
3944   done
3945   done
3946 IFS=$as_save_IFS
3947   if test -z "$ac_cv_path_SED"; then
3948     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
3949   fi
3950 else
3951   ac_cv_path_SED=$SED
3952 fi
3953
3954 fi
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3956 $as_echo "$ac_cv_path_SED" >&6; }
3957  SED="$ac_cv_path_SED"
3958   rm -f conftest.sed
3959
3960 test -z "$SED" && SED=sed
3961 Xsed="$SED -e 1s/^X//"
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3974 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3975 if ${ac_cv_path_GREP+:} false; then :
3976   $as_echo_n "(cached) " >&6
3977 else
3978   if test -z "$GREP"; then
3979   ac_path_GREP_found=false
3980   # Loop through the user's path and test for each of PROGNAME-LIST
3981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3983 do
3984   IFS=$as_save_IFS
3985   test -z "$as_dir" && as_dir=.
3986     for ac_prog in grep ggrep; do
3987     for ac_exec_ext in '' $ac_executable_extensions; do
3988       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3989       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3990 # Check for GNU ac_path_GREP and select it if it is found.
3991   # Check for GNU $ac_path_GREP
3992 case `"$ac_path_GREP" --version 2>&1` in
3993 *GNU*)
3994   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3995 *)
3996   ac_count=0
3997   $as_echo_n 0123456789 >"conftest.in"
3998   while :
3999   do
4000     cat "conftest.in" "conftest.in" >"conftest.tmp"
4001     mv "conftest.tmp" "conftest.in"
4002     cp "conftest.in" "conftest.nl"
4003     $as_echo 'GREP' >> "conftest.nl"
4004     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4005     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4006     as_fn_arith $ac_count + 1 && ac_count=$as_val
4007     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4008       # Best one so far, save it but keep looking for a better one
4009       ac_cv_path_GREP="$ac_path_GREP"
4010       ac_path_GREP_max=$ac_count
4011     fi
4012     # 10*(2^10) chars as input seems more than enough
4013     test $ac_count -gt 10 && break
4014   done
4015   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4016 esac
4017
4018       $ac_path_GREP_found && break 3
4019     done
4020   done
4021   done
4022 IFS=$as_save_IFS
4023   if test -z "$ac_cv_path_GREP"; then
4024     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4025   fi
4026 else
4027   ac_cv_path_GREP=$GREP
4028 fi
4029
4030 fi
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4032 $as_echo "$ac_cv_path_GREP" >&6; }
4033  GREP="$ac_cv_path_GREP"
4034
4035
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4037 $as_echo_n "checking for egrep... " >&6; }
4038 if ${ac_cv_path_EGREP+:} false; then :
4039   $as_echo_n "(cached) " >&6
4040 else
4041   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4042    then ac_cv_path_EGREP="$GREP -E"
4043    else
4044      if test -z "$EGREP"; then
4045   ac_path_EGREP_found=false
4046   # Loop through the user's path and test for each of PROGNAME-LIST
4047   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4049 do
4050   IFS=$as_save_IFS
4051   test -z "$as_dir" && as_dir=.
4052     for ac_prog in egrep; do
4053     for ac_exec_ext in '' $ac_executable_extensions; do
4054       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4055       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4056 # Check for GNU ac_path_EGREP and select it if it is found.
4057   # Check for GNU $ac_path_EGREP
4058 case `"$ac_path_EGREP" --version 2>&1` in
4059 *GNU*)
4060   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4061 *)
4062   ac_count=0
4063   $as_echo_n 0123456789 >"conftest.in"
4064   while :
4065   do
4066     cat "conftest.in" "conftest.in" >"conftest.tmp"
4067     mv "conftest.tmp" "conftest.in"
4068     cp "conftest.in" "conftest.nl"
4069     $as_echo 'EGREP' >> "conftest.nl"
4070     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4071     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4072     as_fn_arith $ac_count + 1 && ac_count=$as_val
4073     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4074       # Best one so far, save it but keep looking for a better one
4075       ac_cv_path_EGREP="$ac_path_EGREP"
4076       ac_path_EGREP_max=$ac_count
4077     fi
4078     # 10*(2^10) chars as input seems more than enough
4079     test $ac_count -gt 10 && break
4080   done
4081   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4082 esac
4083
4084       $ac_path_EGREP_found && break 3
4085     done
4086   done
4087   done
4088 IFS=$as_save_IFS
4089   if test -z "$ac_cv_path_EGREP"; then
4090     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4091   fi
4092 else
4093   ac_cv_path_EGREP=$EGREP
4094 fi
4095
4096    fi
4097 fi
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4099 $as_echo "$ac_cv_path_EGREP" >&6; }
4100  EGREP="$ac_cv_path_EGREP"
4101
4102
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4104 $as_echo_n "checking for fgrep... " >&6; }
4105 if ${ac_cv_path_FGREP+:} false; then :
4106   $as_echo_n "(cached) " >&6
4107 else
4108   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4109    then ac_cv_path_FGREP="$GREP -F"
4110    else
4111      if test -z "$FGREP"; then
4112   ac_path_FGREP_found=false
4113   # Loop through the user's path and test for each of PROGNAME-LIST
4114   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4116 do
4117   IFS=$as_save_IFS
4118   test -z "$as_dir" && as_dir=.
4119     for ac_prog in fgrep; do
4120     for ac_exec_ext in '' $ac_executable_extensions; do
4121       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4122       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4123 # Check for GNU ac_path_FGREP and select it if it is found.
4124   # Check for GNU $ac_path_FGREP
4125 case `"$ac_path_FGREP" --version 2>&1` in
4126 *GNU*)
4127   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4128 *)
4129   ac_count=0
4130   $as_echo_n 0123456789 >"conftest.in"
4131   while :
4132   do
4133     cat "conftest.in" "conftest.in" >"conftest.tmp"
4134     mv "conftest.tmp" "conftest.in"
4135     cp "conftest.in" "conftest.nl"
4136     $as_echo 'FGREP' >> "conftest.nl"
4137     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4138     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4139     as_fn_arith $ac_count + 1 && ac_count=$as_val
4140     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4141       # Best one so far, save it but keep looking for a better one
4142       ac_cv_path_FGREP="$ac_path_FGREP"
4143       ac_path_FGREP_max=$ac_count
4144     fi
4145     # 10*(2^10) chars as input seems more than enough
4146     test $ac_count -gt 10 && break
4147   done
4148   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4149 esac
4150
4151       $ac_path_FGREP_found && break 3
4152     done
4153   done
4154   done
4155 IFS=$as_save_IFS
4156   if test -z "$ac_cv_path_FGREP"; then
4157     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4158   fi
4159 else
4160   ac_cv_path_FGREP=$FGREP
4161 fi
4162
4163    fi
4164 fi
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4166 $as_echo "$ac_cv_path_FGREP" >&6; }
4167  FGREP="$ac_cv_path_FGREP"
4168
4169
4170 test -z "$GREP" && GREP=grep
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190 # Check whether --with-gnu-ld was given.
4191 if test "${with_gnu_ld+set}" = set; then :
4192   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4193 else
4194   with_gnu_ld=no
4195 fi
4196
4197 ac_prog=ld
4198 if test "$GCC" = yes; then
4199   # Check if gcc -print-prog-name=ld gives a path.
4200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4201 $as_echo_n "checking for ld used by $CC... " >&6; }
4202   case $host in
4203   *-*-mingw*)
4204     # gcc leaves a trailing carriage return which upsets mingw
4205     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4206   *)
4207     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4208   esac
4209   case $ac_prog in
4210     # Accept absolute paths.
4211     [\\/]* | ?:[\\/]*)
4212       re_direlt='/[^/][^/]*/\.\./'
4213       # Canonicalize the pathname of ld
4214       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4215       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4216         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4217       done
4218       test -z "$LD" && LD="$ac_prog"
4219       ;;
4220   "")
4221     # If it fails, then pretend we aren't using GCC.
4222     ac_prog=ld
4223     ;;
4224   *)
4225     # If it is relative, then search for the first ld in PATH.
4226     with_gnu_ld=unknown
4227     ;;
4228   esac
4229 elif test "$with_gnu_ld" = yes; then
4230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4231 $as_echo_n "checking for GNU ld... " >&6; }
4232 else
4233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4234 $as_echo_n "checking for non-GNU ld... " >&6; }
4235 fi
4236 if ${lt_cv_path_LD+:} false; then :
4237   $as_echo_n "(cached) " >&6
4238 else
4239   if test -z "$LD"; then
4240   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4241   for ac_dir in $PATH; do
4242     IFS="$lt_save_ifs"
4243     test -z "$ac_dir" && ac_dir=.
4244     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4245       lt_cv_path_LD="$ac_dir/$ac_prog"
4246       # Check to see if the program is GNU ld.  I'd rather use --version,
4247       # but apparently some variants of GNU ld only accept -v.
4248       # Break only if it was the GNU/non-GNU ld that we prefer.
4249       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4250       *GNU* | *'with BFD'*)
4251         test "$with_gnu_ld" != no && break
4252         ;;
4253       *)
4254         test "$with_gnu_ld" != yes && break
4255         ;;
4256       esac
4257     fi
4258   done
4259   IFS="$lt_save_ifs"
4260 else
4261   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4262 fi
4263 fi
4264
4265 LD="$lt_cv_path_LD"
4266 if test -n "$LD"; then
4267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4268 $as_echo "$LD" >&6; }
4269 else
4270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271 $as_echo "no" >&6; }
4272 fi
4273 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4275 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4276 if ${lt_cv_prog_gnu_ld+:} false; then :
4277   $as_echo_n "(cached) " >&6
4278 else
4279   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4280 case `$LD -v 2>&1 </dev/null` in
4281 *GNU* | *'with BFD'*)
4282   lt_cv_prog_gnu_ld=yes
4283   ;;
4284 *)
4285   lt_cv_prog_gnu_ld=no
4286   ;;
4287 esac
4288 fi
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4290 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4291 with_gnu_ld=$lt_cv_prog_gnu_ld
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4302 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4303 if ${lt_cv_path_NM+:} false; then :
4304   $as_echo_n "(cached) " >&6
4305 else
4306   if test -n "$NM"; then
4307   # Let the user override the test.
4308   lt_cv_path_NM="$NM"
4309 else
4310   lt_nm_to_check="${ac_tool_prefix}nm"
4311   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4312     lt_nm_to_check="$lt_nm_to_check nm"
4313   fi
4314   for lt_tmp_nm in $lt_nm_to_check; do
4315     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4316     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4317       IFS="$lt_save_ifs"
4318       test -z "$ac_dir" && ac_dir=.
4319       tmp_nm="$ac_dir/$lt_tmp_nm"
4320       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4321         # Check to see if the nm accepts a BSD-compat flag.
4322         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4323         #   nm: unknown option "B" ignored
4324         # Tru64's nm complains that /dev/null is an invalid object file
4325         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4326         */dev/null* | *'Invalid file or object type'*)
4327           lt_cv_path_NM="$tmp_nm -B"
4328           break
4329           ;;
4330         *)
4331           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4332           */dev/null*)
4333             lt_cv_path_NM="$tmp_nm -p"
4334             break
4335             ;;
4336           *)
4337             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4338             continue # so that we can try to find one that supports BSD flags
4339             ;;
4340           esac
4341           ;;
4342         esac
4343       fi
4344     done
4345     IFS="$lt_save_ifs"
4346   done
4347   : ${lt_cv_path_NM=no}
4348 fi
4349 fi
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4351 $as_echo "$lt_cv_path_NM" >&6; }
4352 if test "$lt_cv_path_NM" != "no"; then
4353   NM="$lt_cv_path_NM"
4354 else
4355   # Didn't find any BSD compatible name lister, look for dumpbin.
4356   if test -n "$DUMPBIN"; then :
4357     # Let the user override the test.
4358   else
4359     if test -n "$ac_tool_prefix"; then
4360   for ac_prog in dumpbin "link -dump"
4361   do
4362     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4363 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_DUMPBIN+:} false; then :
4367   $as_echo_n "(cached) " >&6
4368 else
4369   if test -n "$DUMPBIN"; then
4370   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4371 else
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 for as_dir in $PATH
4374 do
4375   IFS=$as_save_IFS
4376   test -z "$as_dir" && as_dir=.
4377     for ac_exec_ext in '' $ac_executable_extensions; do
4378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381     break 2
4382   fi
4383 done
4384   done
4385 IFS=$as_save_IFS
4386
4387 fi
4388 fi
4389 DUMPBIN=$ac_cv_prog_DUMPBIN
4390 if test -n "$DUMPBIN"; then
4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4392 $as_echo "$DUMPBIN" >&6; }
4393 else
4394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 fi
4397
4398
4399     test -n "$DUMPBIN" && break
4400   done
4401 fi
4402 if test -z "$DUMPBIN"; then
4403   ac_ct_DUMPBIN=$DUMPBIN
4404   for ac_prog in dumpbin "link -dump"
4405 do
4406   # Extract the first word of "$ac_prog", so it can be a program name with args.
4407 set dummy $ac_prog; ac_word=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4411   $as_echo_n "(cached) " >&6
4412 else
4413   if test -n "$ac_ct_DUMPBIN"; then
4414   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4415 else
4416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4417 for as_dir in $PATH
4418 do
4419   IFS=$as_save_IFS
4420   test -z "$as_dir" && as_dir=.
4421     for ac_exec_ext in '' $ac_executable_extensions; do
4422   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4423     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4424     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425     break 2
4426   fi
4427 done
4428   done
4429 IFS=$as_save_IFS
4430
4431 fi
4432 fi
4433 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4434 if test -n "$ac_ct_DUMPBIN"; then
4435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4436 $as_echo "$ac_ct_DUMPBIN" >&6; }
4437 else
4438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4440 fi
4441
4442
4443   test -n "$ac_ct_DUMPBIN" && break
4444 done
4445
4446   if test "x$ac_ct_DUMPBIN" = x; then
4447     DUMPBIN=":"
4448   else
4449     case $cross_compiling:$ac_tool_warned in
4450 yes:)
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4453 ac_tool_warned=yes ;;
4454 esac
4455     DUMPBIN=$ac_ct_DUMPBIN
4456   fi
4457 fi
4458
4459     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4460     *COFF*)
4461       DUMPBIN="$DUMPBIN -symbols"
4462       ;;
4463     *)
4464       DUMPBIN=:
4465       ;;
4466     esac
4467   fi
4468
4469   if test "$DUMPBIN" != ":"; then
4470     NM="$DUMPBIN"
4471   fi
4472 fi
4473 test -z "$NM" && NM=nm
4474
4475
4476
4477
4478
4479
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4481 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4482 if ${lt_cv_nm_interface+:} false; then :
4483   $as_echo_n "(cached) " >&6
4484 else
4485   lt_cv_nm_interface="BSD nm"
4486   echo "int some_variable = 0;" > conftest.$ac_ext
4487   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4488   (eval "$ac_compile" 2>conftest.err)
4489   cat conftest.err >&5
4490   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4491   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4492   cat conftest.err >&5
4493   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4494   cat conftest.out >&5
4495   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4496     lt_cv_nm_interface="MS dumpbin"
4497   fi
4498   rm -f conftest*
4499 fi
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4501 $as_echo "$lt_cv_nm_interface" >&6; }
4502
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4504 $as_echo_n "checking whether ln -s works... " >&6; }
4505 LN_S=$as_ln_s
4506 if test "$LN_S" = "ln -s"; then
4507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4508 $as_echo "yes" >&6; }
4509 else
4510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4511 $as_echo "no, using $LN_S" >&6; }
4512 fi
4513
4514 # find the maximum length of command line arguments
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4516 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4517 if ${lt_cv_sys_max_cmd_len+:} false; then :
4518   $as_echo_n "(cached) " >&6
4519 else
4520     i=0
4521   teststring="ABCD"
4522
4523   case $build_os in
4524   msdosdjgpp*)
4525     # On DJGPP, this test can blow up pretty badly due to problems in libc
4526     # (any single argument exceeding 2000 bytes causes a buffer overrun
4527     # during glob expansion).  Even if it were fixed, the result of this
4528     # check would be larger than it should be.
4529     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4530     ;;
4531
4532   gnu*)
4533     # Under GNU Hurd, this test is not required because there is
4534     # no limit to the length of command line arguments.
4535     # Libtool will interpret -1 as no limit whatsoever
4536     lt_cv_sys_max_cmd_len=-1;
4537     ;;
4538
4539   cygwin* | mingw* | cegcc*)
4540     # On Win9x/ME, this test blows up -- it succeeds, but takes
4541     # about 5 minutes as the teststring grows exponentially.
4542     # Worse, since 9x/ME are not pre-emptively multitasking,
4543     # you end up with a "frozen" computer, even though with patience
4544     # the test eventually succeeds (with a max line length of 256k).
4545     # Instead, let's just punt: use the minimum linelength reported by
4546     # all of the supported platforms: 8192 (on NT/2K/XP).
4547     lt_cv_sys_max_cmd_len=8192;
4548     ;;
4549
4550   mint*)
4551     # On MiNT this can take a long time and run out of memory.
4552     lt_cv_sys_max_cmd_len=8192;
4553     ;;
4554
4555   amigaos*)
4556     # On AmigaOS with pdksh, this test takes hours, literally.
4557     # So we just punt and use a minimum line length of 8192.
4558     lt_cv_sys_max_cmd_len=8192;
4559     ;;
4560
4561   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4562     # This has been around since 386BSD, at least.  Likely further.
4563     if test -x /sbin/sysctl; then
4564       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4565     elif test -x /usr/sbin/sysctl; then
4566       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4567     else
4568       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4569     fi
4570     # And add a safety zone
4571     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4572     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4573     ;;
4574
4575   interix*)
4576     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4577     lt_cv_sys_max_cmd_len=196608
4578     ;;
4579
4580   osf*)
4581     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4582     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4583     # nice to cause kernel panics so lets avoid the loop below.
4584     # First set a reasonable default.
4585     lt_cv_sys_max_cmd_len=16384
4586     #
4587     if test -x /sbin/sysconfig; then
4588       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4589         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4590       esac
4591     fi
4592     ;;
4593   sco3.2v5*)
4594     lt_cv_sys_max_cmd_len=102400
4595     ;;
4596   sysv5* | sco5v6* | sysv4.2uw2*)
4597     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4598     if test -n "$kargmax"; then
4599       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4600     else
4601       lt_cv_sys_max_cmd_len=32768
4602     fi
4603     ;;
4604   *)
4605     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4606     if test -n "$lt_cv_sys_max_cmd_len"; then
4607       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4608       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4609     else
4610       # Make teststring a little bigger before we do anything with it.
4611       # a 1K string should be a reasonable start.
4612       for i in 1 2 3 4 5 6 7 8 ; do
4613         teststring=$teststring$teststring
4614       done
4615       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4616       # If test is not a shell built-in, we'll probably end up computing a
4617       # maximum length that is only half of the actual maximum length, but
4618       # we can't tell.
4619       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4620                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4621               test $i != 17 # 1/2 MB should be enough
4622       do
4623         i=`expr $i + 1`
4624         teststring=$teststring$teststring
4625       done
4626       # Only check the string length outside the loop.
4627       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4628       teststring=
4629       # Add a significant safety factor because C++ compilers can tack on
4630       # massive amounts of additional arguments before passing them to the
4631       # linker.  It appears as though 1/2 is a usable value.
4632       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4633     fi
4634     ;;
4635   esac
4636
4637 fi
4638
4639 if test -n $lt_cv_sys_max_cmd_len ; then
4640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4641 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4642 else
4643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4644 $as_echo "none" >&6; }
4645 fi
4646 max_cmd_len=$lt_cv_sys_max_cmd_len
4647
4648
4649
4650
4651
4652
4653 : ${CP="cp -f"}
4654 : ${MV="mv -f"}
4655 : ${RM="rm -f"}
4656
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4658 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4659 # Try some XSI features
4660 xsi_shell=no
4661 ( _lt_dummy="a/b/c"
4662   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4663       = c,a/b,b/c, \
4664     && eval 'test $(( 1 + 1 )) -eq 2 \
4665     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4666   && xsi_shell=yes
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4668 $as_echo "$xsi_shell" >&6; }
4669
4670
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4672 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4673 lt_shell_append=no
4674 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4675     >/dev/null 2>&1 \
4676   && lt_shell_append=yes
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4678 $as_echo "$lt_shell_append" >&6; }
4679
4680
4681 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4682   lt_unset=unset
4683 else
4684   lt_unset=false
4685 fi
4686
4687
4688
4689
4690
4691 # test EBCDIC or ASCII
4692 case `echo X|tr X '\101'` in
4693  A) # ASCII based system
4694     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4695   lt_SP2NL='tr \040 \012'
4696   lt_NL2SP='tr \015\012 \040\040'
4697   ;;
4698  *) # EBCDIC based system
4699   lt_SP2NL='tr \100 \n'
4700   lt_NL2SP='tr \r\n \100\100'
4701   ;;
4702 esac
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4713 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4714 if ${lt_cv_to_host_file_cmd+:} false; then :
4715   $as_echo_n "(cached) " >&6
4716 else
4717   case $host in
4718   *-*-mingw* )
4719     case $build in
4720       *-*-mingw* ) # actually msys
4721         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4722         ;;
4723       *-*-cygwin* )
4724         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4725         ;;
4726       * ) # otherwise, assume *nix
4727         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4728         ;;
4729     esac
4730     ;;
4731   *-*-cygwin* )
4732     case $build in
4733       *-*-mingw* ) # actually msys
4734         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4735         ;;
4736       *-*-cygwin* )
4737         lt_cv_to_host_file_cmd=func_convert_file_noop
4738         ;;
4739       * ) # otherwise, assume *nix
4740         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4741         ;;
4742     esac
4743     ;;
4744   * ) # unhandled hosts (and "normal" native builds)
4745     lt_cv_to_host_file_cmd=func_convert_file_noop
4746     ;;
4747 esac
4748
4749 fi
4750
4751 to_host_file_cmd=$lt_cv_to_host_file_cmd
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4753 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
4754
4755
4756
4757
4758
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4760 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4761 if ${lt_cv_to_tool_file_cmd+:} false; then :
4762   $as_echo_n "(cached) " >&6
4763 else
4764   #assume ordinary cross tools, or native build.
4765 lt_cv_to_tool_file_cmd=func_convert_file_noop
4766 case $host in
4767   *-*-mingw* )
4768     case $build in
4769       *-*-mingw* ) # actually msys
4770         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4771         ;;
4772     esac
4773     ;;
4774 esac
4775
4776 fi
4777
4778 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4780 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4781
4782
4783
4784
4785
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4787 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4788 if ${lt_cv_ld_reload_flag+:} false; then :
4789   $as_echo_n "(cached) " >&6
4790 else
4791   lt_cv_ld_reload_flag='-r'
4792 fi
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4794 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4795 reload_flag=$lt_cv_ld_reload_flag
4796 case $reload_flag in
4797 "" | " "*) ;;
4798 *) reload_flag=" $reload_flag" ;;
4799 esac
4800 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4801 case $host_os in
4802   cygwin* | mingw* | pw32* | cegcc*)
4803     if test "$GCC" != yes; then
4804       reload_cmds=false
4805     fi
4806     ;;
4807   darwin*)
4808     if test "$GCC" = yes; then
4809       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4810     else
4811       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4812     fi
4813     ;;
4814 esac
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824 if test -n "$ac_tool_prefix"; then
4825   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4826 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_OBJDUMP+:} false; then :
4830   $as_echo_n "(cached) " >&6
4831 else
4832   if test -n "$OBJDUMP"; then
4833   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4837 do
4838   IFS=$as_save_IFS
4839   test -z "$as_dir" && as_dir=.
4840     for ac_exec_ext in '' $ac_executable_extensions; do
4841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4842     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844     break 2
4845   fi
4846 done
4847   done
4848 IFS=$as_save_IFS
4849
4850 fi
4851 fi
4852 OBJDUMP=$ac_cv_prog_OBJDUMP
4853 if test -n "$OBJDUMP"; then
4854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4855 $as_echo "$OBJDUMP" >&6; }
4856 else
4857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4859 fi
4860
4861
4862 fi
4863 if test -z "$ac_cv_prog_OBJDUMP"; then
4864   ac_ct_OBJDUMP=$OBJDUMP
4865   # Extract the first word of "objdump", so it can be a program name with args.
4866 set dummy objdump; ac_word=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4870   $as_echo_n "(cached) " >&6
4871 else
4872   if test -n "$ac_ct_OBJDUMP"; then
4873   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4874 else
4875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4876 for as_dir in $PATH
4877 do
4878   IFS=$as_save_IFS
4879   test -z "$as_dir" && as_dir=.
4880     for ac_exec_ext in '' $ac_executable_extensions; do
4881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4882     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4884     break 2
4885   fi
4886 done
4887   done
4888 IFS=$as_save_IFS
4889
4890 fi
4891 fi
4892 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4893 if test -n "$ac_ct_OBJDUMP"; then
4894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4895 $as_echo "$ac_ct_OBJDUMP" >&6; }
4896 else
4897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4899 fi
4900
4901   if test "x$ac_ct_OBJDUMP" = x; then
4902     OBJDUMP="false"
4903   else
4904     case $cross_compiling:$ac_tool_warned in
4905 yes:)
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4908 ac_tool_warned=yes ;;
4909 esac
4910     OBJDUMP=$ac_ct_OBJDUMP
4911   fi
4912 else
4913   OBJDUMP="$ac_cv_prog_OBJDUMP"
4914 fi
4915
4916 test -z "$OBJDUMP" && OBJDUMP=objdump
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4927 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4928 if ${lt_cv_deplibs_check_method+:} false; then :
4929   $as_echo_n "(cached) " >&6
4930 else
4931   lt_cv_file_magic_cmd='$MAGIC_CMD'
4932 lt_cv_file_magic_test_file=
4933 lt_cv_deplibs_check_method='unknown'
4934 # Need to set the preceding variable on all platforms that support
4935 # interlibrary dependencies.
4936 # 'none' -- dependencies not supported.
4937 # `unknown' -- same as none, but documents that we really don't know.
4938 # 'pass_all' -- all dependencies passed with no checks.
4939 # 'test_compile' -- check by making test program.
4940 # 'file_magic [[regex]]' -- check by looking for files in library path
4941 # which responds to the $file_magic_cmd with a given extended regex.
4942 # If you have `file' or equivalent on your system and you're not sure
4943 # whether `pass_all' will *always* work, you probably want this one.
4944
4945 case $host_os in
4946 aix[4-9]*)
4947   lt_cv_deplibs_check_method=pass_all
4948   ;;
4949
4950 beos*)
4951   lt_cv_deplibs_check_method=pass_all
4952   ;;
4953
4954 bsdi[45]*)
4955   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4956   lt_cv_file_magic_cmd='/usr/bin/file -L'
4957   lt_cv_file_magic_test_file=/shlib/libc.so
4958   ;;
4959
4960 cygwin*)
4961   # func_win32_libid is a shell function defined in ltmain.sh
4962   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4963   lt_cv_file_magic_cmd='func_win32_libid'
4964   ;;
4965
4966 mingw* | pw32*)
4967   # Base MSYS/MinGW do not provide the 'file' command needed by
4968   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4969   # unless we find 'file', for example because we are cross-compiling.
4970   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4971   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4972     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4973     lt_cv_file_magic_cmd='func_win32_libid'
4974   else
4975     # Keep this pattern in sync with the one in func_win32_libid.
4976     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
4977     lt_cv_file_magic_cmd='$OBJDUMP -f'
4978   fi
4979   ;;
4980
4981 cegcc*)
4982   # use the weaker test based on 'objdump'. See mingw*.
4983   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4984   lt_cv_file_magic_cmd='$OBJDUMP -f'
4985   ;;
4986
4987 darwin* | rhapsody*)
4988   lt_cv_deplibs_check_method=pass_all
4989   ;;
4990
4991 freebsd* | dragonfly*)
4992   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4993     case $host_cpu in
4994     i*86 )
4995       # Not sure whether the presence of OpenBSD here was a mistake.
4996       # Let's accept both of them until this is cleared up.
4997       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4998       lt_cv_file_magic_cmd=/usr/bin/file
4999       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5000       ;;
5001     esac
5002   else
5003     lt_cv_deplibs_check_method=pass_all
5004   fi
5005   ;;
5006
5007 gnu*)
5008   lt_cv_deplibs_check_method=pass_all
5009   ;;
5010
5011 haiku*)
5012   lt_cv_deplibs_check_method=pass_all
5013   ;;
5014
5015 hpux10.20* | hpux11*)
5016   lt_cv_file_magic_cmd=/usr/bin/file
5017   case $host_cpu in
5018   ia64*)
5019     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5020     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5021     ;;
5022   hppa*64*)
5023     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]'
5024     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5025     ;;
5026   *)
5027     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5028     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5029     ;;
5030   esac
5031   ;;
5032
5033 interix[3-9]*)
5034   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5035   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5036   ;;
5037
5038 irix5* | irix6* | nonstopux*)
5039   case $LD in
5040   *-32|*"-32 ") libmagic=32-bit;;
5041   *-n32|*"-n32 ") libmagic=N32;;
5042   *-64|*"-64 ") libmagic=64-bit;;
5043   *) libmagic=never-match;;
5044   esac
5045   lt_cv_deplibs_check_method=pass_all
5046   ;;
5047
5048 # This must be Linux ELF.
5049 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5050   lt_cv_deplibs_check_method=pass_all
5051   ;;
5052
5053 netbsd*)
5054   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5055     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5056   else
5057     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5058   fi
5059   ;;
5060
5061 newos6*)
5062   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5063   lt_cv_file_magic_cmd=/usr/bin/file
5064   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5065   ;;
5066
5067 *nto* | *qnx*)
5068   lt_cv_deplibs_check_method=pass_all
5069   ;;
5070
5071 openbsd*)
5072   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5073     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5074   else
5075     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5076   fi
5077   ;;
5078
5079 osf3* | osf4* | osf5*)
5080   lt_cv_deplibs_check_method=pass_all
5081   ;;
5082
5083 rdos*)
5084   lt_cv_deplibs_check_method=pass_all
5085   ;;
5086
5087 solaris*)
5088   lt_cv_deplibs_check_method=pass_all
5089   ;;
5090
5091 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5092   lt_cv_deplibs_check_method=pass_all
5093   ;;
5094
5095 sysv4 | sysv4.3*)
5096   case $host_vendor in
5097   motorola)
5098     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]'
5099     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5100     ;;
5101   ncr)
5102     lt_cv_deplibs_check_method=pass_all
5103     ;;
5104   sequent)
5105     lt_cv_file_magic_cmd='/bin/file'
5106     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5107     ;;
5108   sni)
5109     lt_cv_file_magic_cmd='/bin/file'
5110     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5111     lt_cv_file_magic_test_file=/lib/libc.so
5112     ;;
5113   siemens)
5114     lt_cv_deplibs_check_method=pass_all
5115     ;;
5116   pc)
5117     lt_cv_deplibs_check_method=pass_all
5118     ;;
5119   esac
5120   ;;
5121
5122 tpf*)
5123   lt_cv_deplibs_check_method=pass_all
5124   ;;
5125 esac
5126
5127 fi
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5129 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5130
5131 file_magic_glob=
5132 want_nocaseglob=no
5133 if test "$build" = "$host"; then
5134   case $host_os in
5135   mingw* | pw32*)
5136     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5137       want_nocaseglob=yes
5138     else
5139       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5140     fi
5141     ;;
5142   esac
5143 fi
5144
5145 file_magic_cmd=$lt_cv_file_magic_cmd
5146 deplibs_check_method=$lt_cv_deplibs_check_method
5147 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170 if test -n "$ac_tool_prefix"; then
5171   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5172 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_DLLTOOL+:} false; then :
5176   $as_echo_n "(cached) " >&6
5177 else
5178   if test -n "$DLLTOOL"; then
5179   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5183 do
5184   IFS=$as_save_IFS
5185   test -z "$as_dir" && as_dir=.
5186     for ac_exec_ext in '' $ac_executable_extensions; do
5187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5189     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190     break 2
5191   fi
5192 done
5193   done
5194 IFS=$as_save_IFS
5195
5196 fi
5197 fi
5198 DLLTOOL=$ac_cv_prog_DLLTOOL
5199 if test -n "$DLLTOOL"; then
5200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5201 $as_echo "$DLLTOOL" >&6; }
5202 else
5203   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5205 fi
5206
5207
5208 fi
5209 if test -z "$ac_cv_prog_DLLTOOL"; then
5210   ac_ct_DLLTOOL=$DLLTOOL
5211   # Extract the first word of "dlltool", so it can be a program name with args.
5212 set dummy dlltool; ac_word=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5216   $as_echo_n "(cached) " >&6
5217 else
5218   if test -n "$ac_ct_DLLTOOL"; then
5219   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5220 else
5221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5222 for as_dir in $PATH
5223 do
5224   IFS=$as_save_IFS
5225   test -z "$as_dir" && as_dir=.
5226     for ac_exec_ext in '' $ac_executable_extensions; do
5227   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5229     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5230     break 2
5231   fi
5232 done
5233   done
5234 IFS=$as_save_IFS
5235
5236 fi
5237 fi
5238 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5239 if test -n "$ac_ct_DLLTOOL"; then
5240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5241 $as_echo "$ac_ct_DLLTOOL" >&6; }
5242 else
5243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5245 fi
5246
5247   if test "x$ac_ct_DLLTOOL" = x; then
5248     DLLTOOL="false"
5249   else
5250     case $cross_compiling:$ac_tool_warned in
5251 yes:)
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5254 ac_tool_warned=yes ;;
5255 esac
5256     DLLTOOL=$ac_ct_DLLTOOL
5257   fi
5258 else
5259   DLLTOOL="$ac_cv_prog_DLLTOOL"
5260 fi
5261
5262 test -z "$DLLTOOL" && DLLTOOL=dlltool
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5274 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5275 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5276   $as_echo_n "(cached) " >&6
5277 else
5278   lt_cv_sharedlib_from_linklib_cmd='unknown'
5279
5280 case $host_os in
5281 cygwin* | mingw* | pw32* | cegcc*)
5282   # two different shell functions defined in ltmain.sh
5283   # decide which to use based on capabilities of $DLLTOOL
5284   case `$DLLTOOL --help 2>&1` in
5285   *--identify-strict*)
5286     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5287     ;;
5288   *)
5289     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5290     ;;
5291   esac
5292   ;;
5293 *)
5294   # fallback: assume linklib IS sharedlib
5295   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5296   ;;
5297 esac
5298
5299 fi
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5301 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5302 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5303 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5304
5305
5306
5307
5308
5309
5310
5311
5312 if test -n "$ac_tool_prefix"; then
5313   for ac_prog in ar
5314   do
5315     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5316 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5318 $as_echo_n "checking for $ac_word... " >&6; }
5319 if ${ac_cv_prog_AR+:} false; then :
5320   $as_echo_n "(cached) " >&6
5321 else
5322   if test -n "$AR"; then
5323   ac_cv_prog_AR="$AR" # Let the user override the test.
5324 else
5325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5326 for as_dir in $PATH
5327 do
5328   IFS=$as_save_IFS
5329   test -z "$as_dir" && as_dir=.
5330     for ac_exec_ext in '' $ac_executable_extensions; do
5331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5332     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5333     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5334     break 2
5335   fi
5336 done
5337   done
5338 IFS=$as_save_IFS
5339
5340 fi
5341 fi
5342 AR=$ac_cv_prog_AR
5343 if test -n "$AR"; then
5344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5345 $as_echo "$AR" >&6; }
5346 else
5347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5348 $as_echo "no" >&6; }
5349 fi
5350
5351
5352     test -n "$AR" && break
5353   done
5354 fi
5355 if test -z "$AR"; then
5356   ac_ct_AR=$AR
5357   for ac_prog in ar
5358 do
5359   # Extract the first word of "$ac_prog", so it can be a program name with args.
5360 set dummy $ac_prog; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5364   $as_echo_n "(cached) " >&6
5365 else
5366   if test -n "$ac_ct_AR"; then
5367   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5368 else
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5370 for as_dir in $PATH
5371 do
5372   IFS=$as_save_IFS
5373   test -z "$as_dir" && as_dir=.
5374     for ac_exec_ext in '' $ac_executable_extensions; do
5375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376     ac_cv_prog_ac_ct_AR="$ac_prog"
5377     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5378     break 2
5379   fi
5380 done
5381   done
5382 IFS=$as_save_IFS
5383
5384 fi
5385 fi
5386 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5387 if test -n "$ac_ct_AR"; then
5388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5389 $as_echo "$ac_ct_AR" >&6; }
5390 else
5391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5393 fi
5394
5395
5396   test -n "$ac_ct_AR" && break
5397 done
5398
5399   if test "x$ac_ct_AR" = x; then
5400     AR="false"
5401   else
5402     case $cross_compiling:$ac_tool_warned in
5403 yes:)
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5406 ac_tool_warned=yes ;;
5407 esac
5408     AR=$ac_ct_AR
5409   fi
5410 fi
5411
5412 : ${AR=ar}
5413 : ${AR_FLAGS=cru}
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5426 $as_echo_n "checking for archiver @FILE support... " >&6; }
5427 if ${lt_cv_ar_at_file+:} false; then :
5428   $as_echo_n "(cached) " >&6
5429 else
5430   lt_cv_ar_at_file=no
5431    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h.  */
5433
5434 int
5435 main ()
5436 {
5437
5438   ;
5439   return 0;
5440 }
5441 _ACEOF
5442 if ac_fn_c_try_compile "$LINENO"; then :
5443   echo conftest.$ac_objext > conftest.lst
5444       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5445       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5446   (eval $lt_ar_try) 2>&5
5447   ac_status=$?
5448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5449   test $ac_status = 0; }
5450       if test "$ac_status" -eq 0; then
5451         # Ensure the archiver fails upon bogus file names.
5452         rm -f conftest.$ac_objext libconftest.a
5453         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5454   (eval $lt_ar_try) 2>&5
5455   ac_status=$?
5456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5457   test $ac_status = 0; }
5458         if test "$ac_status" -ne 0; then
5459           lt_cv_ar_at_file=@
5460         fi
5461       fi
5462       rm -f conftest.* libconftest.a
5463
5464 fi
5465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466
5467 fi
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5469 $as_echo "$lt_cv_ar_at_file" >&6; }
5470
5471 if test "x$lt_cv_ar_at_file" = xno; then
5472   archiver_list_spec=
5473 else
5474   archiver_list_spec=$lt_cv_ar_at_file
5475 fi
5476
5477
5478
5479
5480
5481
5482
5483 if test -n "$ac_tool_prefix"; then
5484   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5485 set dummy ${ac_tool_prefix}strip; ac_word=$2
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5487 $as_echo_n "checking for $ac_word... " >&6; }
5488 if ${ac_cv_prog_STRIP+:} false; then :
5489   $as_echo_n "(cached) " >&6
5490 else
5491   if test -n "$STRIP"; then
5492   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5493 else
5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5495 for as_dir in $PATH
5496 do
5497   IFS=$as_save_IFS
5498   test -z "$as_dir" && as_dir=.
5499     for ac_exec_ext in '' $ac_executable_extensions; do
5500   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5501     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5503     break 2
5504   fi
5505 done
5506   done
5507 IFS=$as_save_IFS
5508
5509 fi
5510 fi
5511 STRIP=$ac_cv_prog_STRIP
5512 if test -n "$STRIP"; then
5513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5514 $as_echo "$STRIP" >&6; }
5515 else
5516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5517 $as_echo "no" >&6; }
5518 fi
5519
5520
5521 fi
5522 if test -z "$ac_cv_prog_STRIP"; then
5523   ac_ct_STRIP=$STRIP
5524   # Extract the first word of "strip", so it can be a program name with args.
5525 set dummy strip; ac_word=$2
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5529   $as_echo_n "(cached) " >&6
5530 else
5531   if test -n "$ac_ct_STRIP"; then
5532   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5533 else
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 for as_dir in $PATH
5536 do
5537   IFS=$as_save_IFS
5538   test -z "$as_dir" && as_dir=.
5539     for ac_exec_ext in '' $ac_executable_extensions; do
5540   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541     ac_cv_prog_ac_ct_STRIP="strip"
5542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543     break 2
5544   fi
5545 done
5546   done
5547 IFS=$as_save_IFS
5548
5549 fi
5550 fi
5551 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5552 if test -n "$ac_ct_STRIP"; then
5553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5554 $as_echo "$ac_ct_STRIP" >&6; }
5555 else
5556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }
5558 fi
5559
5560   if test "x$ac_ct_STRIP" = x; then
5561     STRIP=":"
5562   else
5563     case $cross_compiling:$ac_tool_warned in
5564 yes:)
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5567 ac_tool_warned=yes ;;
5568 esac
5569     STRIP=$ac_ct_STRIP
5570   fi
5571 else
5572   STRIP="$ac_cv_prog_STRIP"
5573 fi
5574
5575 test -z "$STRIP" && STRIP=:
5576
5577
5578
5579
5580
5581
5582 if test -n "$ac_tool_prefix"; then
5583   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_RANLIB+:} false; then :
5588   $as_echo_n "(cached) " >&6
5589 else
5590   if test -n "$RANLIB"; then
5591   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5595 do
5596   IFS=$as_save_IFS
5597   test -z "$as_dir" && as_dir=.
5598     for ac_exec_ext in '' $ac_executable_extensions; do
5599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602     break 2
5603   fi
5604 done
5605   done
5606 IFS=$as_save_IFS
5607
5608 fi
5609 fi
5610 RANLIB=$ac_cv_prog_RANLIB
5611 if test -n "$RANLIB"; then
5612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5613 $as_echo "$RANLIB" >&6; }
5614 else
5615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5617 fi
5618
5619
5620 fi
5621 if test -z "$ac_cv_prog_RANLIB"; then
5622   ac_ct_RANLIB=$RANLIB
5623   # Extract the first word of "ranlib", so it can be a program name with args.
5624 set dummy ranlib; ac_word=$2
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5626 $as_echo_n "checking for $ac_word... " >&6; }
5627 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5628   $as_echo_n "(cached) " >&6
5629 else
5630   if test -n "$ac_ct_RANLIB"; then
5631   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5635 do
5636   IFS=$as_save_IFS
5637   test -z "$as_dir" && as_dir=.
5638     for ac_exec_ext in '' $ac_executable_extensions; do
5639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640     ac_cv_prog_ac_ct_RANLIB="ranlib"
5641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5642     break 2
5643   fi
5644 done
5645   done
5646 IFS=$as_save_IFS
5647
5648 fi
5649 fi
5650 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5651 if test -n "$ac_ct_RANLIB"; then
5652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5653 $as_echo "$ac_ct_RANLIB" >&6; }
5654 else
5655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5656 $as_echo "no" >&6; }
5657 fi
5658
5659   if test "x$ac_ct_RANLIB" = x; then
5660     RANLIB=":"
5661   else
5662     case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5666 ac_tool_warned=yes ;;
5667 esac
5668     RANLIB=$ac_ct_RANLIB
5669   fi
5670 else
5671   RANLIB="$ac_cv_prog_RANLIB"
5672 fi
5673
5674 test -z "$RANLIB" && RANLIB=:
5675
5676
5677
5678
5679
5680
5681 # Determine commands to create old-style static archives.
5682 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5683 old_postinstall_cmds='chmod 644 $oldlib'
5684 old_postuninstall_cmds=
5685
5686 if test -n "$RANLIB"; then
5687   case $host_os in
5688   openbsd*)
5689     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5690     ;;
5691   *)
5692     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5693     ;;
5694   esac
5695   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5696 fi
5697
5698 case $host_os in
5699   darwin*)
5700     lock_old_archive_extraction=yes ;;
5701   *)
5702     lock_old_archive_extraction=no ;;
5703 esac
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743 # If no C compiler was specified, use CC.
5744 LTCC=${LTCC-"$CC"}
5745
5746 # If no C compiler flags were specified, use CFLAGS.
5747 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5748
5749 # Allow CC to be a program name with arguments.
5750 compiler=$CC
5751
5752
5753 # Check for command to grab the raw symbol name followed by C symbol from nm.
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5755 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5756 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5757   $as_echo_n "(cached) " >&6
5758 else
5759
5760 # These are sane defaults that work on at least a few old systems.
5761 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5762
5763 # Character class describing NM global symbol codes.
5764 symcode='[BCDEGRST]'
5765
5766 # Regexp to match symbols that can be accessed directly from C.
5767 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5768
5769 # Define system-specific variables.
5770 case $host_os in
5771 aix*)
5772   symcode='[BCDT]'
5773   ;;
5774 cygwin* | mingw* | pw32* | cegcc*)
5775   symcode='[ABCDGISTW]'
5776   ;;
5777 hpux*)
5778   if test "$host_cpu" = ia64; then
5779     symcode='[ABCDEGRST]'
5780   fi
5781   ;;
5782 irix* | nonstopux*)
5783   symcode='[BCDEGRST]'
5784   ;;
5785 osf*)
5786   symcode='[BCDEGQRST]'
5787   ;;
5788 solaris*)
5789   symcode='[BDRT]'
5790   ;;
5791 sco3.2v5*)
5792   symcode='[DT]'
5793   ;;
5794 sysv4.2uw2*)
5795   symcode='[DT]'
5796   ;;
5797 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5798   symcode='[ABDT]'
5799   ;;
5800 sysv4)
5801   symcode='[DFNSTU]'
5802   ;;
5803 esac
5804
5805 # If we're using GNU nm, then use its standard symbol codes.
5806 case `$NM -V 2>&1` in
5807 *GNU* | *'with BFD'*)
5808   symcode='[ABCDGIRSTW]' ;;
5809 esac
5810
5811 # Transform an extracted symbol line into a proper C declaration.
5812 # Some systems (esp. on ia64) link data and code symbols differently,
5813 # so use this general approach.
5814 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5815
5816 # Transform an extracted symbol line into symbol name and symbol address
5817 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5818 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'"
5819
5820 # Handle CRLF in mingw tool chain
5821 opt_cr=
5822 case $build_os in
5823 mingw*)
5824   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5825   ;;
5826 esac
5827
5828 # Try without a prefix underscore, then with it.
5829 for ac_symprfx in "" "_"; do
5830
5831   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5832   symxfrm="\\1 $ac_symprfx\\2 \\2"
5833
5834   # Write the raw and C identifiers.
5835   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5836     # Fake it for dumpbin and say T for any non-static function
5837     # and D for any global variable.
5838     # Also find C++ and __fastcall symbols from MSVC++,
5839     # which start with @ or ?.
5840     lt_cv_sys_global_symbol_pipe="$AWK '"\
5841 "     {last_section=section; section=\$ 3};"\
5842 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5843 "     \$ 0!~/External *\|/{next};"\
5844 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5845 "     {if(hide[section]) next};"\
5846 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5847 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5848 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5849 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5850 "     ' prfx=^$ac_symprfx"
5851   else
5852     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5853   fi
5854   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5855
5856   # Check to see that the pipe works correctly.
5857   pipe_works=no
5858
5859   rm -f conftest*
5860   cat > conftest.$ac_ext <<_LT_EOF
5861 #ifdef __cplusplus
5862 extern "C" {
5863 #endif
5864 char nm_test_var;
5865 void nm_test_func(void);
5866 void nm_test_func(void){}
5867 #ifdef __cplusplus
5868 }
5869 #endif
5870 int main(){nm_test_var='a';nm_test_func();return(0);}
5871 _LT_EOF
5872
5873   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5874   (eval $ac_compile) 2>&5
5875   ac_status=$?
5876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5877   test $ac_status = 0; }; then
5878     # Now try to grab the symbols.
5879     nlist=conftest.nm
5880     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5881   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5882   ac_status=$?
5883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5884   test $ac_status = 0; } && test -s "$nlist"; then
5885       # Try sorting and uniquifying the output.
5886       if sort "$nlist" | uniq > "$nlist"T; then
5887         mv -f "$nlist"T "$nlist"
5888       else
5889         rm -f "$nlist"T
5890       fi
5891
5892       # Make sure that we snagged all the symbols we need.
5893       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5894         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5895           cat <<_LT_EOF > conftest.$ac_ext
5896 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
5897 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5898 /* DATA imports from DLLs on WIN32 con't be const, because runtime
5899    relocations are performed -- see ld's documentation on pseudo-relocs.  */
5900 # define LT_DLSYM_CONST
5901 #elif defined(__osf__)
5902 /* This system does not cope well with relocations in const data.  */
5903 # define LT_DLSYM_CONST
5904 #else
5905 # define LT_DLSYM_CONST const
5906 #endif
5907
5908 #ifdef __cplusplus
5909 extern "C" {
5910 #endif
5911
5912 _LT_EOF
5913           # Now generate the symbol file.
5914           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5915
5916           cat <<_LT_EOF >> conftest.$ac_ext
5917
5918 /* The mapping between symbol names and symbols.  */
5919 LT_DLSYM_CONST struct {
5920   const char *name;
5921   void       *address;
5922 }
5923 lt__PROGRAM__LTX_preloaded_symbols[] =
5924 {
5925   { "@PROGRAM@", (void *) 0 },
5926 _LT_EOF
5927           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5928           cat <<\_LT_EOF >> conftest.$ac_ext
5929   {0, (void *) 0}
5930 };
5931
5932 /* This works around a problem in FreeBSD linker */
5933 #ifdef FREEBSD_WORKAROUND
5934 static const void *lt_preloaded_setup() {
5935   return lt__PROGRAM__LTX_preloaded_symbols;
5936 }
5937 #endif
5938
5939 #ifdef __cplusplus
5940 }
5941 #endif
5942 _LT_EOF
5943           # Now try linking the two files.
5944           mv conftest.$ac_objext conftstm.$ac_objext
5945           lt_globsym_save_LIBS=$LIBS
5946           lt_globsym_save_CFLAGS=$CFLAGS
5947           LIBS="conftstm.$ac_objext"
5948           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5949           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5950   (eval $ac_link) 2>&5
5951   ac_status=$?
5952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5953   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5954             pipe_works=yes
5955           fi
5956           LIBS=$lt_globsym_save_LIBS
5957           CFLAGS=$lt_globsym_save_CFLAGS
5958         else
5959           echo "cannot find nm_test_func in $nlist" >&5
5960         fi
5961       else
5962         echo "cannot find nm_test_var in $nlist" >&5
5963       fi
5964     else
5965       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5966     fi
5967   else
5968     echo "$progname: failed program was:" >&5
5969     cat conftest.$ac_ext >&5
5970   fi
5971   rm -rf conftest* conftst*
5972
5973   # Do not use the global_symbol_pipe unless it works.
5974   if test "$pipe_works" = yes; then
5975     break
5976   else
5977     lt_cv_sys_global_symbol_pipe=
5978   fi
5979 done
5980
5981 fi
5982
5983 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5984   lt_cv_sys_global_symbol_to_cdecl=
5985 fi
5986 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5988 $as_echo "failed" >&6; }
5989 else
5990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5991 $as_echo "ok" >&6; }
5992 fi
5993
5994 # Response file support.
5995 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5996   nm_file_list_spec='@'
5997 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
5998   nm_file_list_spec='@'
5999 fi
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6028 $as_echo_n "checking for sysroot... " >&6; }
6029
6030 # Check whether --with-sysroot was given.
6031 if test "${with_sysroot+set}" = set; then :
6032   withval=$with_sysroot;
6033 else
6034   with_sysroot=no
6035 fi
6036
6037
6038 lt_sysroot=
6039 case ${with_sysroot} in #(
6040  yes)
6041    if test "$GCC" = yes; then
6042      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6043    fi
6044    ;; #(
6045  /*)
6046    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6047    ;; #(
6048  no|'')
6049    ;; #(
6050  *)
6051    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6052 $as_echo "${with_sysroot}" >&6; }
6053    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6054    ;;
6055 esac
6056
6057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6058 $as_echo "${lt_sysroot:-no}" >&6; }
6059
6060
6061
6062
6063
6064 # Check whether --enable-libtool-lock was given.
6065 if test "${enable_libtool_lock+set}" = set; then :
6066   enableval=$enable_libtool_lock;
6067 fi
6068
6069 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6070
6071 # Some flags need to be propagated to the compiler or linker for good
6072 # libtool support.
6073 case $host in
6074 ia64-*-hpux*)
6075   # Find out which ABI we are using.
6076   echo 'int i;' > conftest.$ac_ext
6077   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6078   (eval $ac_compile) 2>&5
6079   ac_status=$?
6080   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6081   test $ac_status = 0; }; then
6082     case `/usr/bin/file conftest.$ac_objext` in
6083       *ELF-32*)
6084         HPUX_IA64_MODE="32"
6085         ;;
6086       *ELF-64*)
6087         HPUX_IA64_MODE="64"
6088         ;;
6089     esac
6090   fi
6091   rm -rf conftest*
6092   ;;
6093 *-*-irix6*)
6094   # Find out which ABI we are using.
6095   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6096   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6097   (eval $ac_compile) 2>&5
6098   ac_status=$?
6099   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6100   test $ac_status = 0; }; then
6101     if test "$lt_cv_prog_gnu_ld" = yes; then
6102       case `/usr/bin/file conftest.$ac_objext` in
6103         *32-bit*)
6104           LD="${LD-ld} -melf32bsmip"
6105           ;;
6106         *N32*)
6107           LD="${LD-ld} -melf32bmipn32"
6108           ;;
6109         *64-bit*)
6110           LD="${LD-ld} -melf64bmip"
6111         ;;
6112       esac
6113     else
6114       case `/usr/bin/file conftest.$ac_objext` in
6115         *32-bit*)
6116           LD="${LD-ld} -32"
6117           ;;
6118         *N32*)
6119           LD="${LD-ld} -n32"
6120           ;;
6121         *64-bit*)
6122           LD="${LD-ld} -64"
6123           ;;
6124       esac
6125     fi
6126   fi
6127   rm -rf conftest*
6128   ;;
6129
6130 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6131 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6132   # Find out which ABI we are using.
6133   echo 'int i;' > conftest.$ac_ext
6134   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6135   (eval $ac_compile) 2>&5
6136   ac_status=$?
6137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6138   test $ac_status = 0; }; then
6139     case `/usr/bin/file conftest.o` in
6140       *32-bit*)
6141         case $host in
6142           x86_64-*kfreebsd*-gnu)
6143             LD="${LD-ld} -m elf_i386_fbsd"
6144             ;;
6145           x86_64-*linux*)
6146             LD="${LD-ld} -m elf_i386"
6147             ;;
6148           ppc64-*linux*|powerpc64-*linux*)
6149             LD="${LD-ld} -m elf32ppclinux"
6150             ;;
6151           s390x-*linux*)
6152             LD="${LD-ld} -m elf_s390"
6153             ;;
6154           sparc64-*linux*)
6155             LD="${LD-ld} -m elf32_sparc"
6156             ;;
6157         esac
6158         ;;
6159       *64-bit*)
6160         case $host in
6161           x86_64-*kfreebsd*-gnu)
6162             LD="${LD-ld} -m elf_x86_64_fbsd"
6163             ;;
6164           x86_64-*linux*)
6165             LD="${LD-ld} -m elf_x86_64"
6166             ;;
6167           ppc*-*linux*|powerpc*-*linux*)
6168             LD="${LD-ld} -m elf64ppc"
6169             ;;
6170           s390*-*linux*|s390*-*tpf*)
6171             LD="${LD-ld} -m elf64_s390"
6172             ;;
6173           sparc*-*linux*)
6174             LD="${LD-ld} -m elf64_sparc"
6175             ;;
6176         esac
6177         ;;
6178     esac
6179   fi
6180   rm -rf conftest*
6181   ;;
6182
6183 *-*-sco3.2v5*)
6184   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6185   SAVE_CFLAGS="$CFLAGS"
6186   CFLAGS="$CFLAGS -belf"
6187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6188 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6189 if ${lt_cv_cc_needs_belf+:} false; then :
6190   $as_echo_n "(cached) " >&6
6191 else
6192   ac_ext=c
6193 ac_cpp='$CPP $CPPFLAGS'
6194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6197
6198      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6199 /* end confdefs.h.  */
6200
6201 int
6202 main ()
6203 {
6204
6205   ;
6206   return 0;
6207 }
6208 _ACEOF
6209 if ac_fn_c_try_link "$LINENO"; then :
6210   lt_cv_cc_needs_belf=yes
6211 else
6212   lt_cv_cc_needs_belf=no
6213 fi
6214 rm -f core conftest.err conftest.$ac_objext \
6215     conftest$ac_exeext conftest.$ac_ext
6216      ac_ext=c
6217 ac_cpp='$CPP $CPPFLAGS'
6218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6221
6222 fi
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6224 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6225   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6226     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6227     CFLAGS="$SAVE_CFLAGS"
6228   fi
6229   ;;
6230 sparc*-*solaris*)
6231   # Find out which ABI we are using.
6232   echo 'int i;' > conftest.$ac_ext
6233   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234   (eval $ac_compile) 2>&5
6235   ac_status=$?
6236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6237   test $ac_status = 0; }; then
6238     case `/usr/bin/file conftest.o` in
6239     *64-bit*)
6240       case $lt_cv_prog_gnu_ld in
6241       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6242       *)
6243         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6244           LD="${LD-ld} -64"
6245         fi
6246         ;;
6247       esac
6248       ;;
6249     esac
6250   fi
6251   rm -rf conftest*
6252   ;;
6253 esac
6254
6255 need_locks="$enable_libtool_lock"
6256
6257 if test -n "$ac_tool_prefix"; then
6258   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}mt; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6263   $as_echo_n "(cached) " >&6
6264 else
6265   if test -n "$MANIFEST_TOOL"; then
6266   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6270 do
6271   IFS=$as_save_IFS
6272   test -z "$as_dir" && as_dir=.
6273     for ac_exec_ext in '' $ac_executable_extensions; do
6274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277     break 2
6278   fi
6279 done
6280   done
6281 IFS=$as_save_IFS
6282
6283 fi
6284 fi
6285 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6286 if test -n "$MANIFEST_TOOL"; then
6287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6288 $as_echo "$MANIFEST_TOOL" >&6; }
6289 else
6290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6292 fi
6293
6294
6295 fi
6296 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6297   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6298   # Extract the first word of "mt", so it can be a program name with args.
6299 set dummy mt; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6303   $as_echo_n "(cached) " >&6
6304 else
6305   if test -n "$ac_ct_MANIFEST_TOOL"; then
6306   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6307 else
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 for as_dir in $PATH
6310 do
6311   IFS=$as_save_IFS
6312   test -z "$as_dir" && as_dir=.
6313     for ac_exec_ext in '' $ac_executable_extensions; do
6314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317     break 2
6318   fi
6319 done
6320   done
6321 IFS=$as_save_IFS
6322
6323 fi
6324 fi
6325 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6326 if test -n "$ac_ct_MANIFEST_TOOL"; then
6327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6328 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6329 else
6330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6332 fi
6333
6334   if test "x$ac_ct_MANIFEST_TOOL" = x; then
6335     MANIFEST_TOOL=":"
6336   else
6337     case $cross_compiling:$ac_tool_warned in
6338 yes:)
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6342 esac
6343     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6344   fi
6345 else
6346   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6347 fi
6348
6349 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6351 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6352 if ${lt_cv_path_mainfest_tool+:} false; then :
6353   $as_echo_n "(cached) " >&6
6354 else
6355   lt_cv_path_mainfest_tool=no
6356   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6357   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6358   cat conftest.err >&5
6359   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6360     lt_cv_path_mainfest_tool=yes
6361   fi
6362   rm -f conftest*
6363 fi
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6365 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6366 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6367   MANIFEST_TOOL=:
6368 fi
6369
6370
6371
6372
6373
6374
6375   case $host_os in
6376     rhapsody* | darwin*)
6377     if test -n "$ac_tool_prefix"; then
6378   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6379 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6383   $as_echo_n "(cached) " >&6
6384 else
6385   if test -n "$DSYMUTIL"; then
6386   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6387 else
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in $PATH
6390 do
6391   IFS=$as_save_IFS
6392   test -z "$as_dir" && as_dir=.
6393     for ac_exec_ext in '' $ac_executable_extensions; do
6394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397     break 2
6398   fi
6399 done
6400   done
6401 IFS=$as_save_IFS
6402
6403 fi
6404 fi
6405 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6406 if test -n "$DSYMUTIL"; then
6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6408 $as_echo "$DSYMUTIL" >&6; }
6409 else
6410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411 $as_echo "no" >&6; }
6412 fi
6413
6414
6415 fi
6416 if test -z "$ac_cv_prog_DSYMUTIL"; then
6417   ac_ct_DSYMUTIL=$DSYMUTIL
6418   # Extract the first word of "dsymutil", so it can be a program name with args.
6419 set dummy dsymutil; ac_word=$2
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421 $as_echo_n "checking for $ac_word... " >&6; }
6422 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6423   $as_echo_n "(cached) " >&6
6424 else
6425   if test -n "$ac_ct_DSYMUTIL"; then
6426   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6427 else
6428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429 for as_dir in $PATH
6430 do
6431   IFS=$as_save_IFS
6432   test -z "$as_dir" && as_dir=.
6433     for ac_exec_ext in '' $ac_executable_extensions; do
6434   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6435     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6436     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437     break 2
6438   fi
6439 done
6440   done
6441 IFS=$as_save_IFS
6442
6443 fi
6444 fi
6445 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6446 if test -n "$ac_ct_DSYMUTIL"; then
6447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6448 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6449 else
6450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451 $as_echo "no" >&6; }
6452 fi
6453
6454   if test "x$ac_ct_DSYMUTIL" = x; then
6455     DSYMUTIL=":"
6456   else
6457     case $cross_compiling:$ac_tool_warned in
6458 yes:)
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6460 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6461 ac_tool_warned=yes ;;
6462 esac
6463     DSYMUTIL=$ac_ct_DSYMUTIL
6464   fi
6465 else
6466   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6467 fi
6468
6469     if test -n "$ac_tool_prefix"; then
6470   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6471 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if ${ac_cv_prog_NMEDIT+:} false; then :
6475   $as_echo_n "(cached) " >&6
6476 else
6477   if test -n "$NMEDIT"; then
6478   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6482 do
6483   IFS=$as_save_IFS
6484   test -z "$as_dir" && as_dir=.
6485     for ac_exec_ext in '' $ac_executable_extensions; do
6486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489     break 2
6490   fi
6491 done
6492   done
6493 IFS=$as_save_IFS
6494
6495 fi
6496 fi
6497 NMEDIT=$ac_cv_prog_NMEDIT
6498 if test -n "$NMEDIT"; then
6499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6500 $as_echo "$NMEDIT" >&6; }
6501 else
6502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6504 fi
6505
6506
6507 fi
6508 if test -z "$ac_cv_prog_NMEDIT"; then
6509   ac_ct_NMEDIT=$NMEDIT
6510   # Extract the first word of "nmedit", so it can be a program name with args.
6511 set dummy nmedit; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6515   $as_echo_n "(cached) " >&6
6516 else
6517   if test -n "$ac_ct_NMEDIT"; then
6518   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6522 do
6523   IFS=$as_save_IFS
6524   test -z "$as_dir" && as_dir=.
6525     for ac_exec_ext in '' $ac_executable_extensions; do
6526   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529     break 2
6530   fi
6531 done
6532   done
6533 IFS=$as_save_IFS
6534
6535 fi
6536 fi
6537 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6538 if test -n "$ac_ct_NMEDIT"; then
6539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6540 $as_echo "$ac_ct_NMEDIT" >&6; }
6541 else
6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6544 fi
6545
6546   if test "x$ac_ct_NMEDIT" = x; then
6547     NMEDIT=":"
6548   else
6549     case $cross_compiling:$ac_tool_warned in
6550 yes:)
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6553 ac_tool_warned=yes ;;
6554 esac
6555     NMEDIT=$ac_ct_NMEDIT
6556   fi
6557 else
6558   NMEDIT="$ac_cv_prog_NMEDIT"
6559 fi
6560
6561     if test -n "$ac_tool_prefix"; then
6562   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6563 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if ${ac_cv_prog_LIPO+:} false; then :
6567   $as_echo_n "(cached) " >&6
6568 else
6569   if test -n "$LIPO"; then
6570   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6574 do
6575   IFS=$as_save_IFS
6576   test -z "$as_dir" && as_dir=.
6577     for ac_exec_ext in '' $ac_executable_extensions; do
6578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581     break 2
6582   fi
6583 done
6584   done
6585 IFS=$as_save_IFS
6586
6587 fi
6588 fi
6589 LIPO=$ac_cv_prog_LIPO
6590 if test -n "$LIPO"; then
6591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6592 $as_echo "$LIPO" >&6; }
6593 else
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598
6599 fi
6600 if test -z "$ac_cv_prog_LIPO"; then
6601   ac_ct_LIPO=$LIPO
6602   # Extract the first word of "lipo", so it can be a program name with args.
6603 set dummy lipo; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6607   $as_echo_n "(cached) " >&6
6608 else
6609   if test -n "$ac_ct_LIPO"; then
6610   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6614 do
6615   IFS=$as_save_IFS
6616   test -z "$as_dir" && as_dir=.
6617     for ac_exec_ext in '' $ac_executable_extensions; do
6618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6619     ac_cv_prog_ac_ct_LIPO="lipo"
6620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621     break 2
6622   fi
6623 done
6624   done
6625 IFS=$as_save_IFS
6626
6627 fi
6628 fi
6629 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6630 if test -n "$ac_ct_LIPO"; then
6631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6632 $as_echo "$ac_ct_LIPO" >&6; }
6633 else
6634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6636 fi
6637
6638   if test "x$ac_ct_LIPO" = x; then
6639     LIPO=":"
6640   else
6641     case $cross_compiling:$ac_tool_warned in
6642 yes:)
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6645 ac_tool_warned=yes ;;
6646 esac
6647     LIPO=$ac_ct_LIPO
6648   fi
6649 else
6650   LIPO="$ac_cv_prog_LIPO"
6651 fi
6652
6653     if test -n "$ac_tool_prefix"; then
6654   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6655 set dummy ${ac_tool_prefix}otool; ac_word=$2
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657 $as_echo_n "checking for $ac_word... " >&6; }
6658 if ${ac_cv_prog_OTOOL+:} false; then :
6659   $as_echo_n "(cached) " >&6
6660 else
6661   if test -n "$OTOOL"; then
6662   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6663 else
6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665 for as_dir in $PATH
6666 do
6667   IFS=$as_save_IFS
6668   test -z "$as_dir" && as_dir=.
6669     for ac_exec_ext in '' $ac_executable_extensions; do
6670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673     break 2
6674   fi
6675 done
6676   done
6677 IFS=$as_save_IFS
6678
6679 fi
6680 fi
6681 OTOOL=$ac_cv_prog_OTOOL
6682 if test -n "$OTOOL"; then
6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6684 $as_echo "$OTOOL" >&6; }
6685 else
6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687 $as_echo "no" >&6; }
6688 fi
6689
6690
6691 fi
6692 if test -z "$ac_cv_prog_OTOOL"; then
6693   ac_ct_OTOOL=$OTOOL
6694   # Extract the first word of "otool", so it can be a program name with args.
6695 set dummy otool; ac_word=$2
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697 $as_echo_n "checking for $ac_word... " >&6; }
6698 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6699   $as_echo_n "(cached) " >&6
6700 else
6701   if test -n "$ac_ct_OTOOL"; then
6702   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6703 else
6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705 for as_dir in $PATH
6706 do
6707   IFS=$as_save_IFS
6708   test -z "$as_dir" && as_dir=.
6709     for ac_exec_ext in '' $ac_executable_extensions; do
6710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711     ac_cv_prog_ac_ct_OTOOL="otool"
6712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713     break 2
6714   fi
6715 done
6716   done
6717 IFS=$as_save_IFS
6718
6719 fi
6720 fi
6721 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6722 if test -n "$ac_ct_OTOOL"; then
6723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6724 $as_echo "$ac_ct_OTOOL" >&6; }
6725 else
6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727 $as_echo "no" >&6; }
6728 fi
6729
6730   if test "x$ac_ct_OTOOL" = x; then
6731     OTOOL=":"
6732   else
6733     case $cross_compiling:$ac_tool_warned in
6734 yes:)
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737 ac_tool_warned=yes ;;
6738 esac
6739     OTOOL=$ac_ct_OTOOL
6740   fi
6741 else
6742   OTOOL="$ac_cv_prog_OTOOL"
6743 fi
6744
6745     if test -n "$ac_tool_prefix"; then
6746   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6747 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if ${ac_cv_prog_OTOOL64+:} false; then :
6751   $as_echo_n "(cached) " >&6
6752 else
6753   if test -n "$OTOOL64"; then
6754   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6758 do
6759   IFS=$as_save_IFS
6760   test -z "$as_dir" && as_dir=.
6761     for ac_exec_ext in '' $ac_executable_extensions; do
6762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765     break 2
6766   fi
6767 done
6768   done
6769 IFS=$as_save_IFS
6770
6771 fi
6772 fi
6773 OTOOL64=$ac_cv_prog_OTOOL64
6774 if test -n "$OTOOL64"; then
6775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6776 $as_echo "$OTOOL64" >&6; }
6777 else
6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6780 fi
6781
6782
6783 fi
6784 if test -z "$ac_cv_prog_OTOOL64"; then
6785   ac_ct_OTOOL64=$OTOOL64
6786   # Extract the first word of "otool64", so it can be a program name with args.
6787 set dummy otool64; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6791   $as_echo_n "(cached) " >&6
6792 else
6793   if test -n "$ac_ct_OTOOL64"; then
6794   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6795 else
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6797 for as_dir in $PATH
6798 do
6799   IFS=$as_save_IFS
6800   test -z "$as_dir" && as_dir=.
6801     for ac_exec_ext in '' $ac_executable_extensions; do
6802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803     ac_cv_prog_ac_ct_OTOOL64="otool64"
6804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805     break 2
6806   fi
6807 done
6808   done
6809 IFS=$as_save_IFS
6810
6811 fi
6812 fi
6813 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6814 if test -n "$ac_ct_OTOOL64"; then
6815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6816 $as_echo "$ac_ct_OTOOL64" >&6; }
6817 else
6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6820 fi
6821
6822   if test "x$ac_ct_OTOOL64" = x; then
6823     OTOOL64=":"
6824   else
6825     case $cross_compiling:$ac_tool_warned in
6826 yes:)
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829 ac_tool_warned=yes ;;
6830 esac
6831     OTOOL64=$ac_ct_OTOOL64
6832   fi
6833 else
6834   OTOOL64="$ac_cv_prog_OTOOL64"
6835 fi
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6864 $as_echo_n "checking for -single_module linker flag... " >&6; }
6865 if ${lt_cv_apple_cc_single_mod+:} false; then :
6866   $as_echo_n "(cached) " >&6
6867 else
6868   lt_cv_apple_cc_single_mod=no
6869       if test -z "${LT_MULTI_MODULE}"; then
6870         # By default we will add the -single_module flag. You can override
6871         # by either setting the environment variable LT_MULTI_MODULE
6872         # non-empty at configure time, or by adding -multi_module to the
6873         # link flags.
6874         rm -rf libconftest.dylib*
6875         echo "int foo(void){return 1;}" > conftest.c
6876         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6877 -dynamiclib -Wl,-single_module conftest.c" >&5
6878         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6879           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6880         _lt_result=$?
6881         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6882           lt_cv_apple_cc_single_mod=yes
6883         else
6884           cat conftest.err >&5
6885         fi
6886         rm -rf libconftest.dylib*
6887         rm -f conftest.*
6888       fi
6889 fi
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6891 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6892     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6893 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6894 if ${lt_cv_ld_exported_symbols_list+:} false; then :
6895   $as_echo_n "(cached) " >&6
6896 else
6897   lt_cv_ld_exported_symbols_list=no
6898       save_LDFLAGS=$LDFLAGS
6899       echo "_main" > conftest.sym
6900       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6901       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6902 /* end confdefs.h.  */
6903
6904 int
6905 main ()
6906 {
6907
6908   ;
6909   return 0;
6910 }
6911 _ACEOF
6912 if ac_fn_c_try_link "$LINENO"; then :
6913   lt_cv_ld_exported_symbols_list=yes
6914 else
6915   lt_cv_ld_exported_symbols_list=no
6916 fi
6917 rm -f core conftest.err conftest.$ac_objext \
6918     conftest$ac_exeext conftest.$ac_ext
6919         LDFLAGS="$save_LDFLAGS"
6920
6921 fi
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6923 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6924     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6925 $as_echo_n "checking for -force_load linker flag... " >&6; }
6926 if ${lt_cv_ld_force_load+:} false; then :
6927   $as_echo_n "(cached) " >&6
6928 else
6929   lt_cv_ld_force_load=no
6930       cat > conftest.c << _LT_EOF
6931 int forced_loaded() { return 2;}
6932 _LT_EOF
6933       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6934       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6935       echo "$AR cru libconftest.a conftest.o" >&5
6936       $AR cru libconftest.a conftest.o 2>&5
6937       echo "$RANLIB libconftest.a" >&5
6938       $RANLIB libconftest.a 2>&5
6939       cat > conftest.c << _LT_EOF
6940 int main() { return 0;}
6941 _LT_EOF
6942       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6943       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6944       _lt_result=$?
6945       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6946         lt_cv_ld_force_load=yes
6947       else
6948         cat conftest.err >&5
6949       fi
6950         rm -f conftest.err libconftest.a conftest conftest.c
6951         rm -rf conftest.dSYM
6952
6953 fi
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6955 $as_echo "$lt_cv_ld_force_load" >&6; }
6956     case $host_os in
6957     rhapsody* | darwin1.[012])
6958       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6959     darwin1.*)
6960       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6961     darwin*) # darwin 5.x on
6962       # if running on 10.5 or later, the deployment target defaults
6963       # to the OS version, if on x86, and 10.4, the deployment
6964       # target defaults to 10.4. Don't you love it?
6965       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6966         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6967           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6968         10.[012]*)
6969           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6970         10.*)
6971           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6972       esac
6973     ;;
6974   esac
6975     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6976       _lt_dar_single_mod='$single_module'
6977     fi
6978     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6979       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6980     else
6981       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6982     fi
6983     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6984       _lt_dsymutil='~$DSYMUTIL $lib || :'
6985     else
6986       _lt_dsymutil=
6987     fi
6988     ;;
6989   esac
6990
6991 ac_ext=c
6992 ac_cpp='$CPP $CPPFLAGS'
6993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6997 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6998 # On Suns, sometimes $CPP names a directory.
6999 if test -n "$CPP" && test -d "$CPP"; then
7000   CPP=
7001 fi
7002 if test -z "$CPP"; then
7003   if ${ac_cv_prog_CPP+:} false; then :
7004   $as_echo_n "(cached) " >&6
7005 else
7006       # Double quotes because CPP needs to be expanded
7007     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7008     do
7009       ac_preproc_ok=false
7010 for ac_c_preproc_warn_flag in '' yes
7011 do
7012   # Use a header file that comes with gcc, so configuring glibc
7013   # with a fresh cross-compiler works.
7014   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7015   # <limits.h> exists even on freestanding compilers.
7016   # On the NeXT, cc -E runs the code through the compiler's parser,
7017   # not just through cpp. "Syntax error" is here to catch this case.
7018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h.  */
7020 #ifdef __STDC__
7021 # include <limits.h>
7022 #else
7023 # include <assert.h>
7024 #endif
7025                      Syntax error
7026 _ACEOF
7027 if ac_fn_c_try_cpp "$LINENO"; then :
7028
7029 else
7030   # Broken: fails on valid input.
7031 continue
7032 fi
7033 rm -f conftest.err conftest.i conftest.$ac_ext
7034
7035   # OK, works on sane cases.  Now check whether nonexistent headers
7036   # can be detected and how.
7037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7038 /* end confdefs.h.  */
7039 #include <ac_nonexistent.h>
7040 _ACEOF
7041 if ac_fn_c_try_cpp "$LINENO"; then :
7042   # Broken: success on invalid input.
7043 continue
7044 else
7045   # Passes both tests.
7046 ac_preproc_ok=:
7047 break
7048 fi
7049 rm -f conftest.err conftest.i conftest.$ac_ext
7050
7051 done
7052 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7053 rm -f conftest.i conftest.err conftest.$ac_ext
7054 if $ac_preproc_ok; then :
7055   break
7056 fi
7057
7058     done
7059     ac_cv_prog_CPP=$CPP
7060
7061 fi
7062   CPP=$ac_cv_prog_CPP
7063 else
7064   ac_cv_prog_CPP=$CPP
7065 fi
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7067 $as_echo "$CPP" >&6; }
7068 ac_preproc_ok=false
7069 for ac_c_preproc_warn_flag in '' yes
7070 do
7071   # Use a header file that comes with gcc, so configuring glibc
7072   # with a fresh cross-compiler works.
7073   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7074   # <limits.h> exists even on freestanding compilers.
7075   # On the NeXT, cc -E runs the code through the compiler's parser,
7076   # not just through cpp. "Syntax error" is here to catch this case.
7077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7078 /* end confdefs.h.  */
7079 #ifdef __STDC__
7080 # include <limits.h>
7081 #else
7082 # include <assert.h>
7083 #endif
7084                      Syntax error
7085 _ACEOF
7086 if ac_fn_c_try_cpp "$LINENO"; then :
7087
7088 else
7089   # Broken: fails on valid input.
7090 continue
7091 fi
7092 rm -f conftest.err conftest.i conftest.$ac_ext
7093
7094   # OK, works on sane cases.  Now check whether nonexistent headers
7095   # can be detected and how.
7096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7097 /* end confdefs.h.  */
7098 #include <ac_nonexistent.h>
7099 _ACEOF
7100 if ac_fn_c_try_cpp "$LINENO"; then :
7101   # Broken: success on invalid input.
7102 continue
7103 else
7104   # Passes both tests.
7105 ac_preproc_ok=:
7106 break
7107 fi
7108 rm -f conftest.err conftest.i conftest.$ac_ext
7109
7110 done
7111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7112 rm -f conftest.i conftest.err conftest.$ac_ext
7113 if $ac_preproc_ok; then :
7114
7115 else
7116   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7118 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7119 See \`config.log' for more details" "$LINENO" 5; }
7120 fi
7121
7122 ac_ext=c
7123 ac_cpp='$CPP $CPPFLAGS'
7124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7127
7128
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7130 $as_echo_n "checking for ANSI C header files... " >&6; }
7131 if ${ac_cv_header_stdc+:} false; then :
7132   $as_echo_n "(cached) " >&6
7133 else
7134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135 /* end confdefs.h.  */
7136 #include <stdlib.h>
7137 #include <stdarg.h>
7138 #include <string.h>
7139 #include <float.h>
7140
7141 int
7142 main ()
7143 {
7144
7145   ;
7146   return 0;
7147 }
7148 _ACEOF
7149 if ac_fn_c_try_compile "$LINENO"; then :
7150   ac_cv_header_stdc=yes
7151 else
7152   ac_cv_header_stdc=no
7153 fi
7154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7155
7156 if test $ac_cv_header_stdc = yes; then
7157   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7159 /* end confdefs.h.  */
7160 #include <string.h>
7161
7162 _ACEOF
7163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7164   $EGREP "memchr" >/dev/null 2>&1; then :
7165
7166 else
7167   ac_cv_header_stdc=no
7168 fi
7169 rm -f conftest*
7170
7171 fi
7172
7173 if test $ac_cv_header_stdc = yes; then
7174   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h.  */
7177 #include <stdlib.h>
7178
7179 _ACEOF
7180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7181   $EGREP "free" >/dev/null 2>&1; then :
7182
7183 else
7184   ac_cv_header_stdc=no
7185 fi
7186 rm -f conftest*
7187
7188 fi
7189
7190 if test $ac_cv_header_stdc = yes; then
7191   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7192   if test "$cross_compiling" = yes; then :
7193   :
7194 else
7195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7196 /* end confdefs.h.  */
7197 #include <ctype.h>
7198 #include <stdlib.h>
7199 #if ((' ' & 0x0FF) == 0x020)
7200 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7201 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7202 #else
7203 # define ISLOWER(c) \
7204                    (('a' <= (c) && (c) <= 'i') \
7205                      || ('j' <= (c) && (c) <= 'r') \
7206                      || ('s' <= (c) && (c) <= 'z'))
7207 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7208 #endif
7209
7210 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7211 int
7212 main ()
7213 {
7214   int i;
7215   for (i = 0; i < 256; i++)
7216     if (XOR (islower (i), ISLOWER (i))
7217         || toupper (i) != TOUPPER (i))
7218       return 2;
7219   return 0;
7220 }
7221 _ACEOF
7222 if ac_fn_c_try_run "$LINENO"; then :
7223
7224 else
7225   ac_cv_header_stdc=no
7226 fi
7227 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7228   conftest.$ac_objext conftest.beam conftest.$ac_ext
7229 fi
7230
7231 fi
7232 fi
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7234 $as_echo "$ac_cv_header_stdc" >&6; }
7235 if test $ac_cv_header_stdc = yes; then
7236
7237 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7238
7239 fi
7240
7241 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7242 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7243                   inttypes.h stdint.h unistd.h
7244 do :
7245   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7246 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7247 "
7248 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7249   cat >>confdefs.h <<_ACEOF
7250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7251 _ACEOF
7252
7253 fi
7254
7255 done
7256
7257
7258 for ac_header in dlfcn.h
7259 do :
7260   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7261 "
7262 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7263   cat >>confdefs.h <<_ACEOF
7264 #define HAVE_DLFCN_H 1
7265 _ACEOF
7266
7267 fi
7268
7269 done
7270
7271
7272
7273
7274
7275 # Set options
7276
7277
7278
7279         enable_dlopen=no
7280
7281
7282   enable_win32_dll=no
7283
7284
7285             # Check whether --enable-shared was given.
7286 if test "${enable_shared+set}" = set; then :
7287   enableval=$enable_shared; p=${PACKAGE-default}
7288     case $enableval in
7289     yes) enable_shared=yes ;;
7290     no) enable_shared=no ;;
7291     *)
7292       enable_shared=no
7293       # Look at the argument we got.  We use all the common list separators.
7294       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7295       for pkg in $enableval; do
7296         IFS="$lt_save_ifs"
7297         if test "X$pkg" = "X$p"; then
7298           enable_shared=yes
7299         fi
7300       done
7301       IFS="$lt_save_ifs"
7302       ;;
7303     esac
7304 else
7305   enable_shared=yes
7306 fi
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316   # Check whether --enable-static was given.
7317 if test "${enable_static+set}" = set; then :
7318   enableval=$enable_static; p=${PACKAGE-default}
7319     case $enableval in
7320     yes) enable_static=yes ;;
7321     no) enable_static=no ;;
7322     *)
7323      enable_static=no
7324       # Look at the argument we got.  We use all the common list separators.
7325       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7326       for pkg in $enableval; do
7327         IFS="$lt_save_ifs"
7328         if test "X$pkg" = "X$p"; then
7329           enable_static=yes
7330         fi
7331       done
7332       IFS="$lt_save_ifs"
7333       ;;
7334     esac
7335 else
7336   enable_static=yes
7337 fi
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348 # Check whether --with-pic was given.
7349 if test "${with_pic+set}" = set; then :
7350   withval=$with_pic; pic_mode="$withval"
7351 else
7352   pic_mode=default
7353 fi
7354
7355
7356 test -z "$pic_mode" && pic_mode=default
7357
7358
7359
7360
7361
7362
7363
7364   # Check whether --enable-fast-install was given.
7365 if test "${enable_fast_install+set}" = set; then :
7366   enableval=$enable_fast_install; p=${PACKAGE-default}
7367     case $enableval in
7368     yes) enable_fast_install=yes ;;
7369     no) enable_fast_install=no ;;
7370     *)
7371       enable_fast_install=no
7372       # Look at the argument we got.  We use all the common list separators.
7373       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7374       for pkg in $enableval; do
7375         IFS="$lt_save_ifs"
7376         if test "X$pkg" = "X$p"; then
7377           enable_fast_install=yes
7378         fi
7379       done
7380       IFS="$lt_save_ifs"
7381       ;;
7382     esac
7383 else
7384   enable_fast_install=yes
7385 fi
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397 # This can be used to rebuild libtool when needed
7398 LIBTOOL_DEPS="$ltmain"
7399
7400 # Always use our own libtool.
7401 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428 test -z "$LN_S" && LN_S="ln -s"
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443 if test -n "${ZSH_VERSION+set}" ; then
7444    setopt NO_GLOB_SUBST
7445 fi
7446
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7448 $as_echo_n "checking for objdir... " >&6; }
7449 if ${lt_cv_objdir+:} false; then :
7450   $as_echo_n "(cached) " >&6
7451 else
7452   rm -f .libs 2>/dev/null
7453 mkdir .libs 2>/dev/null
7454 if test -d .libs; then
7455   lt_cv_objdir=.libs
7456 else
7457   # MS-DOS does not allow filenames that begin with a dot.
7458   lt_cv_objdir=_libs
7459 fi
7460 rmdir .libs 2>/dev/null
7461 fi
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7463 $as_echo "$lt_cv_objdir" >&6; }
7464 objdir=$lt_cv_objdir
7465
7466
7467
7468
7469
7470 cat >>confdefs.h <<_ACEOF
7471 #define LT_OBJDIR "$lt_cv_objdir/"
7472 _ACEOF
7473
7474
7475
7476
7477 case $host_os in
7478 aix3*)
7479   # AIX sometimes has problems with the GCC collect2 program.  For some
7480   # reason, if we set the COLLECT_NAMES environment variable, the problems
7481   # vanish in a puff of smoke.
7482   if test "X${COLLECT_NAMES+set}" != Xset; then
7483     COLLECT_NAMES=
7484     export COLLECT_NAMES
7485   fi
7486   ;;
7487 esac
7488
7489 # Global variables:
7490 ofile=libtool
7491 can_build_shared=yes
7492
7493 # All known linkers require a `.a' archive for static linking (except MSVC,
7494 # which needs '.lib').
7495 libext=a
7496
7497 with_gnu_ld="$lt_cv_prog_gnu_ld"
7498
7499 old_CC="$CC"
7500 old_CFLAGS="$CFLAGS"
7501
7502 # Set sane defaults for various variables
7503 test -z "$CC" && CC=cc
7504 test -z "$LTCC" && LTCC=$CC
7505 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7506 test -z "$LD" && LD=ld
7507 test -z "$ac_objext" && ac_objext=o
7508
7509 for cc_temp in $compiler""; do
7510   case $cc_temp in
7511     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7512     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7513     \-*) ;;
7514     *) break;;
7515   esac
7516 done
7517 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7518
7519
7520 # Only perform the check for file, if the check method requires it
7521 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7522 case $deplibs_check_method in
7523 file_magic*)
7524   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7526 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7527 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7528   $as_echo_n "(cached) " >&6
7529 else
7530   case $MAGIC_CMD in
7531 [\\/*] |  ?:[\\/]*)
7532   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7533   ;;
7534 *)
7535   lt_save_MAGIC_CMD="$MAGIC_CMD"
7536   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7537   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7538   for ac_dir in $ac_dummy; do
7539     IFS="$lt_save_ifs"
7540     test -z "$ac_dir" && ac_dir=.
7541     if test -f $ac_dir/${ac_tool_prefix}file; then
7542       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7543       if test -n "$file_magic_test_file"; then
7544         case $deplibs_check_method in
7545         "file_magic "*)
7546           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7547           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7548           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7549             $EGREP "$file_magic_regex" > /dev/null; then
7550             :
7551           else
7552             cat <<_LT_EOF 1>&2
7553
7554 *** Warning: the command libtool uses to detect shared libraries,
7555 *** $file_magic_cmd, produces output that libtool cannot recognize.
7556 *** The result is that libtool may fail to recognize shared libraries
7557 *** as such.  This will affect the creation of libtool libraries that
7558 *** depend on shared libraries, but programs linked with such libtool
7559 *** libraries will work regardless of this problem.  Nevertheless, you
7560 *** may want to report the problem to your system manager and/or to
7561 *** bug-libtool@gnu.org
7562
7563 _LT_EOF
7564           fi ;;
7565         esac
7566       fi
7567       break
7568     fi
7569   done
7570   IFS="$lt_save_ifs"
7571   MAGIC_CMD="$lt_save_MAGIC_CMD"
7572   ;;
7573 esac
7574 fi
7575
7576 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7577 if test -n "$MAGIC_CMD"; then
7578   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7579 $as_echo "$MAGIC_CMD" >&6; }
7580 else
7581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7583 fi
7584
7585
7586
7587
7588
7589 if test -z "$lt_cv_path_MAGIC_CMD"; then
7590   if test -n "$ac_tool_prefix"; then
7591     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7592 $as_echo_n "checking for file... " >&6; }
7593 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7594   $as_echo_n "(cached) " >&6
7595 else
7596   case $MAGIC_CMD in
7597 [\\/*] |  ?:[\\/]*)
7598   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7599   ;;
7600 *)
7601   lt_save_MAGIC_CMD="$MAGIC_CMD"
7602   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7603   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7604   for ac_dir in $ac_dummy; do
7605     IFS="$lt_save_ifs"
7606     test -z "$ac_dir" && ac_dir=.
7607     if test -f $ac_dir/file; then
7608       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7609       if test -n "$file_magic_test_file"; then
7610         case $deplibs_check_method in
7611         "file_magic "*)
7612           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7613           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7614           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7615             $EGREP "$file_magic_regex" > /dev/null; then
7616             :
7617           else
7618             cat <<_LT_EOF 1>&2
7619
7620 *** Warning: the command libtool uses to detect shared libraries,
7621 *** $file_magic_cmd, produces output that libtool cannot recognize.
7622 *** The result is that libtool may fail to recognize shared libraries
7623 *** as such.  This will affect the creation of libtool libraries that
7624 *** depend on shared libraries, but programs linked with such libtool
7625 *** libraries will work regardless of this problem.  Nevertheless, you
7626 *** may want to report the problem to your system manager and/or to
7627 *** bug-libtool@gnu.org
7628
7629 _LT_EOF
7630           fi ;;
7631         esac
7632       fi
7633       break
7634     fi
7635   done
7636   IFS="$lt_save_ifs"
7637   MAGIC_CMD="$lt_save_MAGIC_CMD"
7638   ;;
7639 esac
7640 fi
7641
7642 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7643 if test -n "$MAGIC_CMD"; then
7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7645 $as_echo "$MAGIC_CMD" >&6; }
7646 else
7647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7649 fi
7650
7651
7652   else
7653     MAGIC_CMD=:
7654   fi
7655 fi
7656
7657   fi
7658   ;;
7659 esac
7660
7661 # Use C for the default configuration in the libtool script
7662
7663 lt_save_CC="$CC"
7664 ac_ext=c
7665 ac_cpp='$CPP $CPPFLAGS'
7666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7669
7670
7671 # Source file extension for C test sources.
7672 ac_ext=c
7673
7674 # Object file extension for compiled C test sources.
7675 objext=o
7676 objext=$objext
7677
7678 # Code to be used in simple compile tests
7679 lt_simple_compile_test_code="int some_variable = 0;"
7680
7681 # Code to be used in simple link tests
7682 lt_simple_link_test_code='int main(){return(0);}'
7683
7684
7685
7686
7687
7688
7689
7690 # If no C compiler was specified, use CC.
7691 LTCC=${LTCC-"$CC"}
7692
7693 # If no C compiler flags were specified, use CFLAGS.
7694 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7695
7696 # Allow CC to be a program name with arguments.
7697 compiler=$CC
7698
7699 # Save the default compiler, since it gets overwritten when the other
7700 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7701 compiler_DEFAULT=$CC
7702
7703 # save warnings/boilerplate of simple test code
7704 ac_outfile=conftest.$ac_objext
7705 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7706 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7707 _lt_compiler_boilerplate=`cat conftest.err`
7708 $RM conftest*
7709
7710 ac_outfile=conftest.$ac_objext
7711 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7712 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7713 _lt_linker_boilerplate=`cat conftest.err`
7714 $RM -r conftest*
7715
7716
7717 if test -n "$compiler"; then
7718
7719 lt_prog_compiler_no_builtin_flag=
7720
7721 if test "$GCC" = yes; then
7722   case $cc_basename in
7723   nvcc*)
7724     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7725   *)
7726     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7727   esac
7728
7729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7730 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7731 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7732   $as_echo_n "(cached) " >&6
7733 else
7734   lt_cv_prog_compiler_rtti_exceptions=no
7735    ac_outfile=conftest.$ac_objext
7736    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7737    lt_compiler_flag="-fno-rtti -fno-exceptions"
7738    # Insert the option either (1) after the last *FLAGS variable, or
7739    # (2) before a word containing "conftest.", or (3) at the end.
7740    # Note that $ac_compile itself does not contain backslashes and begins
7741    # with a dollar sign (not a hyphen), so the echo should work correctly.
7742    # The option is referenced via a variable to avoid confusing sed.
7743    lt_compile=`echo "$ac_compile" | $SED \
7744    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7745    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7746    -e 's:$: $lt_compiler_flag:'`
7747    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7748    (eval "$lt_compile" 2>conftest.err)
7749    ac_status=$?
7750    cat conftest.err >&5
7751    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7752    if (exit $ac_status) && test -s "$ac_outfile"; then
7753      # The compiler can only warn and ignore the option if not recognized
7754      # So say no if there are warnings other than the usual output.
7755      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7756      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7757      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7758        lt_cv_prog_compiler_rtti_exceptions=yes
7759      fi
7760    fi
7761    $RM conftest*
7762
7763 fi
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7765 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7766
7767 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7768     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7769 else
7770     :
7771 fi
7772
7773 fi
7774
7775
7776
7777
7778
7779
7780   lt_prog_compiler_wl=
7781 lt_prog_compiler_pic=
7782 lt_prog_compiler_static=
7783
7784
7785   if test "$GCC" = yes; then
7786     lt_prog_compiler_wl='-Wl,'
7787     lt_prog_compiler_static='-static'
7788
7789     case $host_os in
7790       aix*)
7791       # All AIX code is PIC.
7792       if test "$host_cpu" = ia64; then
7793         # AIX 5 now supports IA64 processor
7794         lt_prog_compiler_static='-Bstatic'
7795       fi
7796       ;;
7797
7798     amigaos*)
7799       case $host_cpu in
7800       powerpc)
7801             # see comment about AmigaOS4 .so support
7802             lt_prog_compiler_pic='-fPIC'
7803         ;;
7804       m68k)
7805             # FIXME: we need at least 68020 code to build shared libraries, but
7806             # adding the `-m68020' flag to GCC prevents building anything better,
7807             # like `-m68040'.
7808             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7809         ;;
7810       esac
7811       ;;
7812
7813     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7814       # PIC is the default for these OSes.
7815       ;;
7816
7817     mingw* | cygwin* | pw32* | os2* | cegcc*)
7818       # This hack is so that the source file can tell whether it is being
7819       # built for inclusion in a dll (and should export symbols for example).
7820       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7821       # (--disable-auto-import) libraries
7822       lt_prog_compiler_pic='-DDLL_EXPORT'
7823       ;;
7824
7825     darwin* | rhapsody*)
7826       # PIC is the default on this platform
7827       # Common symbols not allowed in MH_DYLIB files
7828       lt_prog_compiler_pic='-fno-common'
7829       ;;
7830
7831     haiku*)
7832       # PIC is the default for Haiku.
7833       # The "-static" flag exists, but is broken.
7834       lt_prog_compiler_static=
7835       ;;
7836
7837     hpux*)
7838       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7839       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7840       # sets the default TLS model and affects inlining.
7841       case $host_cpu in
7842       hppa*64*)
7843         # +Z the default
7844         ;;
7845       *)
7846         lt_prog_compiler_pic='-fPIC'
7847         ;;
7848       esac
7849       ;;
7850
7851     interix[3-9]*)
7852       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7853       # Instead, we relocate shared libraries at runtime.
7854       ;;
7855
7856     msdosdjgpp*)
7857       # Just because we use GCC doesn't mean we suddenly get shared libraries
7858       # on systems that don't support them.
7859       lt_prog_compiler_can_build_shared=no
7860       enable_shared=no
7861       ;;
7862
7863     *nto* | *qnx*)
7864       # QNX uses GNU C++, but need to define -shared option too, otherwise
7865       # it will coredump.
7866       lt_prog_compiler_pic='-fPIC -shared'
7867       ;;
7868
7869     sysv4*MP*)
7870       if test -d /usr/nec; then
7871         lt_prog_compiler_pic=-Kconform_pic
7872       fi
7873       ;;
7874
7875     *)
7876       lt_prog_compiler_pic='-fPIC'
7877       ;;
7878     esac
7879
7880     case $cc_basename in
7881     nvcc*) # Cuda Compiler Driver 2.2
7882       lt_prog_compiler_wl='-Xlinker '
7883       lt_prog_compiler_pic='-Xcompiler -fPIC'
7884       ;;
7885     esac
7886   else
7887     # PORTME Check for flag to pass linker flags through the system compiler.
7888     case $host_os in
7889     aix*)
7890       lt_prog_compiler_wl='-Wl,'
7891       if test "$host_cpu" = ia64; then
7892         # AIX 5 now supports IA64 processor
7893         lt_prog_compiler_static='-Bstatic'
7894       else
7895         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7896       fi
7897       ;;
7898
7899     mingw* | cygwin* | pw32* | os2* | cegcc*)
7900       # This hack is so that the source file can tell whether it is being
7901       # built for inclusion in a dll (and should export symbols for example).
7902       lt_prog_compiler_pic='-DDLL_EXPORT'
7903       ;;
7904
7905     hpux9* | hpux10* | hpux11*)
7906       lt_prog_compiler_wl='-Wl,'
7907       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7908       # not for PA HP-UX.
7909       case $host_cpu in
7910       hppa*64*|ia64*)
7911         # +Z the default
7912         ;;
7913       *)
7914         lt_prog_compiler_pic='+Z'
7915         ;;
7916       esac
7917       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7918       lt_prog_compiler_static='${wl}-a ${wl}archive'
7919       ;;
7920
7921     irix5* | irix6* | nonstopux*)
7922       lt_prog_compiler_wl='-Wl,'
7923       # PIC (with -KPIC) is the default.
7924       lt_prog_compiler_static='-non_shared'
7925       ;;
7926
7927     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7928       case $cc_basename in
7929       # old Intel for x86_64 which still supported -KPIC.
7930       ecc*)
7931         lt_prog_compiler_wl='-Wl,'
7932         lt_prog_compiler_pic='-KPIC'
7933         lt_prog_compiler_static='-static'
7934         ;;
7935       # icc used to be incompatible with GCC.
7936       # ICC 10 doesn't accept -KPIC any more.
7937       icc* | ifort*)
7938         lt_prog_compiler_wl='-Wl,'
7939         lt_prog_compiler_pic='-fPIC'
7940         lt_prog_compiler_static='-static'
7941         ;;
7942       # Lahey Fortran 8.1.
7943       lf95*)
7944         lt_prog_compiler_wl='-Wl,'
7945         lt_prog_compiler_pic='--shared'
7946         lt_prog_compiler_static='--static'
7947         ;;
7948       nagfor*)
7949         # NAG Fortran compiler
7950         lt_prog_compiler_wl='-Wl,-Wl,,'
7951         lt_prog_compiler_pic='-PIC'
7952         lt_prog_compiler_static='-Bstatic'
7953         ;;
7954       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7955         # Portland Group compilers (*not* the Pentium gcc compiler,
7956         # which looks to be a dead project)
7957         lt_prog_compiler_wl='-Wl,'
7958         lt_prog_compiler_pic='-fpic'
7959         lt_prog_compiler_static='-Bstatic'
7960         ;;
7961       ccc*)
7962         lt_prog_compiler_wl='-Wl,'
7963         # All Alpha code is PIC.
7964         lt_prog_compiler_static='-non_shared'
7965         ;;
7966       xl* | bgxl* | bgf* | mpixl*)
7967         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7968         lt_prog_compiler_wl='-Wl,'
7969         lt_prog_compiler_pic='-qpic'
7970         lt_prog_compiler_static='-qstaticlink'
7971         ;;
7972       *)
7973         case `$CC -V 2>&1 | sed 5q` in
7974         *Sun\ F* | *Sun*Fortran*)
7975           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7976           lt_prog_compiler_pic='-KPIC'
7977           lt_prog_compiler_static='-Bstatic'
7978           lt_prog_compiler_wl=''
7979           ;;
7980         *Sun\ C*)
7981           # Sun C 5.9
7982           lt_prog_compiler_pic='-KPIC'
7983           lt_prog_compiler_static='-Bstatic'
7984           lt_prog_compiler_wl='-Wl,'
7985           ;;
7986         esac
7987         ;;
7988       esac
7989       ;;
7990
7991     newsos6)
7992       lt_prog_compiler_pic='-KPIC'
7993       lt_prog_compiler_static='-Bstatic'
7994       ;;
7995
7996     *nto* | *qnx*)
7997       # QNX uses GNU C++, but need to define -shared option too, otherwise
7998       # it will coredump.
7999       lt_prog_compiler_pic='-fPIC -shared'
8000       ;;
8001
8002     osf3* | osf4* | osf5*)
8003       lt_prog_compiler_wl='-Wl,'
8004       # All OSF/1 code is PIC.
8005       lt_prog_compiler_static='-non_shared'
8006       ;;
8007
8008     rdos*)
8009       lt_prog_compiler_static='-non_shared'
8010       ;;
8011
8012     solaris*)
8013       lt_prog_compiler_pic='-KPIC'
8014       lt_prog_compiler_static='-Bstatic'
8015       case $cc_basename in
8016       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8017         lt_prog_compiler_wl='-Qoption ld ';;
8018       *)
8019         lt_prog_compiler_wl='-Wl,';;
8020       esac
8021       ;;
8022
8023     sunos4*)
8024       lt_prog_compiler_wl='-Qoption ld '
8025       lt_prog_compiler_pic='-PIC'
8026       lt_prog_compiler_static='-Bstatic'
8027       ;;
8028
8029     sysv4 | sysv4.2uw2* | sysv4.3*)
8030       lt_prog_compiler_wl='-Wl,'
8031       lt_prog_compiler_pic='-KPIC'
8032       lt_prog_compiler_static='-Bstatic'
8033       ;;
8034
8035     sysv4*MP*)
8036       if test -d /usr/nec ;then
8037         lt_prog_compiler_pic='-Kconform_pic'
8038         lt_prog_compiler_static='-Bstatic'
8039       fi
8040       ;;
8041
8042     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8043       lt_prog_compiler_wl='-Wl,'
8044       lt_prog_compiler_pic='-KPIC'
8045       lt_prog_compiler_static='-Bstatic'
8046       ;;
8047
8048     unicos*)
8049       lt_prog_compiler_wl='-Wl,'
8050       lt_prog_compiler_can_build_shared=no
8051       ;;
8052
8053     uts4*)
8054       lt_prog_compiler_pic='-pic'
8055       lt_prog_compiler_static='-Bstatic'
8056       ;;
8057
8058     *)
8059       lt_prog_compiler_can_build_shared=no
8060       ;;
8061     esac
8062   fi
8063
8064 case $host_os in
8065   # For platforms which do not support PIC, -DPIC is meaningless:
8066   *djgpp*)
8067     lt_prog_compiler_pic=
8068     ;;
8069   *)
8070     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8071     ;;
8072 esac
8073
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8075 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8076 if ${lt_cv_prog_compiler_pic+:} false; then :
8077   $as_echo_n "(cached) " >&6
8078 else
8079   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8080 fi
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8082 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8083 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8084
8085 #
8086 # Check to make sure the PIC flag actually works.
8087 #
8088 if test -n "$lt_prog_compiler_pic"; then
8089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8090 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8091 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8092   $as_echo_n "(cached) " >&6
8093 else
8094   lt_cv_prog_compiler_pic_works=no
8095    ac_outfile=conftest.$ac_objext
8096    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8097    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8098    # Insert the option either (1) after the last *FLAGS variable, or
8099    # (2) before a word containing "conftest.", or (3) at the end.
8100    # Note that $ac_compile itself does not contain backslashes and begins
8101    # with a dollar sign (not a hyphen), so the echo should work correctly.
8102    # The option is referenced via a variable to avoid confusing sed.
8103    lt_compile=`echo "$ac_compile" | $SED \
8104    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8105    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8106    -e 's:$: $lt_compiler_flag:'`
8107    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8108    (eval "$lt_compile" 2>conftest.err)
8109    ac_status=$?
8110    cat conftest.err >&5
8111    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112    if (exit $ac_status) && test -s "$ac_outfile"; then
8113      # The compiler can only warn and ignore the option if not recognized
8114      # So say no if there are warnings other than the usual output.
8115      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8116      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8117      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8118        lt_cv_prog_compiler_pic_works=yes
8119      fi
8120    fi
8121    $RM conftest*
8122
8123 fi
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8125 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8126
8127 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8128     case $lt_prog_compiler_pic in
8129      "" | " "*) ;;
8130      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8131      esac
8132 else
8133     lt_prog_compiler_pic=
8134      lt_prog_compiler_can_build_shared=no
8135 fi
8136
8137 fi
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149 #
8150 # Check to make sure the static flag actually works.
8151 #
8152 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8154 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8155 if ${lt_cv_prog_compiler_static_works+:} false; then :
8156   $as_echo_n "(cached) " >&6
8157 else
8158   lt_cv_prog_compiler_static_works=no
8159    save_LDFLAGS="$LDFLAGS"
8160    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8161    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8162    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8163      # The linker can only warn and ignore the option if not recognized
8164      # So say no if there are warnings
8165      if test -s conftest.err; then
8166        # Append any errors to the config.log.
8167        cat conftest.err 1>&5
8168        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8169        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8170        if diff conftest.exp conftest.er2 >/dev/null; then
8171          lt_cv_prog_compiler_static_works=yes
8172        fi
8173      else
8174        lt_cv_prog_compiler_static_works=yes
8175      fi
8176    fi
8177    $RM -r conftest*
8178    LDFLAGS="$save_LDFLAGS"
8179
8180 fi
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8182 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8183
8184 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8185     :
8186 else
8187     lt_prog_compiler_static=
8188 fi
8189
8190
8191
8192
8193
8194
8195
8196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8197 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8198 if ${lt_cv_prog_compiler_c_o+:} false; then :
8199   $as_echo_n "(cached) " >&6
8200 else
8201   lt_cv_prog_compiler_c_o=no
8202    $RM -r conftest 2>/dev/null
8203    mkdir conftest
8204    cd conftest
8205    mkdir out
8206    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8207
8208    lt_compiler_flag="-o out/conftest2.$ac_objext"
8209    # Insert the option either (1) after the last *FLAGS variable, or
8210    # (2) before a word containing "conftest.", or (3) at the end.
8211    # Note that $ac_compile itself does not contain backslashes and begins
8212    # with a dollar sign (not a hyphen), so the echo should work correctly.
8213    lt_compile=`echo "$ac_compile" | $SED \
8214    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8215    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8216    -e 's:$: $lt_compiler_flag:'`
8217    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8218    (eval "$lt_compile" 2>out/conftest.err)
8219    ac_status=$?
8220    cat out/conftest.err >&5
8221    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8223    then
8224      # The compiler can only warn and ignore the option if not recognized
8225      # So say no if there are warnings
8226      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8227      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8228      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8229        lt_cv_prog_compiler_c_o=yes
8230      fi
8231    fi
8232    chmod u+w . 2>&5
8233    $RM conftest*
8234    # SGI C++ compiler will create directory out/ii_files/ for
8235    # template instantiation
8236    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8237    $RM out/* && rmdir out
8238    cd ..
8239    $RM -r conftest
8240    $RM conftest*
8241
8242 fi
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8244 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8245
8246
8247
8248
8249
8250
8251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8252 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8253 if ${lt_cv_prog_compiler_c_o+:} false; then :
8254   $as_echo_n "(cached) " >&6
8255 else
8256   lt_cv_prog_compiler_c_o=no
8257    $RM -r conftest 2>/dev/null
8258    mkdir conftest
8259    cd conftest
8260    mkdir out
8261    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8262
8263    lt_compiler_flag="-o out/conftest2.$ac_objext"
8264    # Insert the option either (1) after the last *FLAGS variable, or
8265    # (2) before a word containing "conftest.", or (3) at the end.
8266    # Note that $ac_compile itself does not contain backslashes and begins
8267    # with a dollar sign (not a hyphen), so the echo should work correctly.
8268    lt_compile=`echo "$ac_compile" | $SED \
8269    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8270    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8271    -e 's:$: $lt_compiler_flag:'`
8272    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8273    (eval "$lt_compile" 2>out/conftest.err)
8274    ac_status=$?
8275    cat out/conftest.err >&5
8276    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8278    then
8279      # The compiler can only warn and ignore the option if not recognized
8280      # So say no if there are warnings
8281      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8282      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8283      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8284        lt_cv_prog_compiler_c_o=yes
8285      fi
8286    fi
8287    chmod u+w . 2>&5
8288    $RM conftest*
8289    # SGI C++ compiler will create directory out/ii_files/ for
8290    # template instantiation
8291    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8292    $RM out/* && rmdir out
8293    cd ..
8294    $RM -r conftest
8295    $RM conftest*
8296
8297 fi
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8299 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8300
8301
8302
8303
8304 hard_links="nottested"
8305 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8306   # do not overwrite the value of need_locks provided by the user
8307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8308 $as_echo_n "checking if we can lock with hard links... " >&6; }
8309   hard_links=yes
8310   $RM conftest*
8311   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8312   touch conftest.a
8313   ln conftest.a conftest.b 2>&5 || hard_links=no
8314   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8316 $as_echo "$hard_links" >&6; }
8317   if test "$hard_links" = no; then
8318     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8319 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8320     need_locks=warn
8321   fi
8322 else
8323   need_locks=no
8324 fi
8325
8326
8327
8328
8329
8330
8331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8332 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8333
8334   runpath_var=
8335   allow_undefined_flag=
8336   always_export_symbols=no
8337   archive_cmds=
8338   archive_expsym_cmds=
8339   compiler_needs_object=no
8340   enable_shared_with_static_runtimes=no
8341   export_dynamic_flag_spec=
8342   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8343   hardcode_automatic=no
8344   hardcode_direct=no
8345   hardcode_direct_absolute=no
8346   hardcode_libdir_flag_spec=
8347   hardcode_libdir_flag_spec_ld=
8348   hardcode_libdir_separator=
8349   hardcode_minus_L=no
8350   hardcode_shlibpath_var=unsupported
8351   inherit_rpath=no
8352   link_all_deplibs=unknown
8353   module_cmds=
8354   module_expsym_cmds=
8355   old_archive_from_new_cmds=
8356   old_archive_from_expsyms_cmds=
8357   thread_safe_flag_spec=
8358   whole_archive_flag_spec=
8359   # include_expsyms should be a list of space-separated symbols to be *always*
8360   # included in the symbol list
8361   include_expsyms=
8362   # exclude_expsyms can be an extended regexp of symbols to exclude
8363   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8364   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8365   # as well as any symbol that contains `d'.
8366   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8367   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8368   # platforms (ab)use it in PIC code, but their linkers get confused if
8369   # the symbol is explicitly referenced.  Since portable code cannot
8370   # rely on this symbol name, it's probably fine to never include it in
8371   # preloaded symbol tables.
8372   # Exclude shared library initialization/finalization symbols.
8373   extract_expsyms_cmds=
8374
8375   case $host_os in
8376   cygwin* | mingw* | pw32* | cegcc*)
8377     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8378     # When not using gcc, we currently assume that we are using
8379     # Microsoft Visual C++.
8380     if test "$GCC" != yes; then
8381       with_gnu_ld=no
8382     fi
8383     ;;
8384   interix*)
8385     # we just hope/assume this is gcc and not c89 (= MSVC++)
8386     with_gnu_ld=yes
8387     ;;
8388   openbsd*)
8389     with_gnu_ld=no
8390     ;;
8391   esac
8392
8393   ld_shlibs=yes
8394
8395   # On some targets, GNU ld is compatible enough with the native linker
8396   # that we're better off using the native interface for both.
8397   lt_use_gnu_ld_interface=no
8398   if test "$with_gnu_ld" = yes; then
8399     case $host_os in
8400       aix*)
8401         # The AIX port of GNU ld has always aspired to compatibility
8402         # with the native linker.  However, as the warning in the GNU ld
8403         # block says, versions before 2.19.5* couldn't really create working
8404         # shared libraries, regardless of the interface used.
8405         case `$LD -v 2>&1` in
8406           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8407           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8408           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8409           *)
8410             lt_use_gnu_ld_interface=yes
8411             ;;
8412         esac
8413         ;;
8414       *)
8415         lt_use_gnu_ld_interface=yes
8416         ;;
8417     esac
8418   fi
8419
8420   if test "$lt_use_gnu_ld_interface" = yes; then
8421     # If archive_cmds runs LD, not CC, wlarc should be empty
8422     wlarc='${wl}'
8423
8424     # Set some defaults for GNU ld with shared library support. These
8425     # are reset later if shared libraries are not supported. Putting them
8426     # here allows them to be overridden if necessary.
8427     runpath_var=LD_RUN_PATH
8428     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8429     export_dynamic_flag_spec='${wl}--export-dynamic'
8430     # ancient GNU ld didn't support --whole-archive et. al.
8431     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8432       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8433     else
8434       whole_archive_flag_spec=
8435     fi
8436     supports_anon_versioning=no
8437     case `$LD -v 2>&1` in
8438       *GNU\ gold*) supports_anon_versioning=yes ;;
8439       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8440       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8441       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8442       *\ 2.11.*) ;; # other 2.11 versions
8443       *) supports_anon_versioning=yes ;;
8444     esac
8445
8446     # See if GNU ld supports shared libraries.
8447     case $host_os in
8448     aix[3-9]*)
8449       # On AIX/PPC, the GNU linker is very broken
8450       if test "$host_cpu" != ia64; then
8451         ld_shlibs=no
8452         cat <<_LT_EOF 1>&2
8453
8454 *** Warning: the GNU linker, at least up to release 2.19, is reported
8455 *** to be unable to reliably create shared libraries on AIX.
8456 *** Therefore, libtool is disabling shared libraries support.  If you
8457 *** really care for shared libraries, you may want to install binutils
8458 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8459 *** You will then need to restart the configuration process.
8460
8461 _LT_EOF
8462       fi
8463       ;;
8464
8465     amigaos*)
8466       case $host_cpu in
8467       powerpc)
8468             # see comment about AmigaOS4 .so support
8469             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8470             archive_expsym_cmds=''
8471         ;;
8472       m68k)
8473             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)'
8474             hardcode_libdir_flag_spec='-L$libdir'
8475             hardcode_minus_L=yes
8476         ;;
8477       esac
8478       ;;
8479
8480     beos*)
8481       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8482         allow_undefined_flag=unsupported
8483         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8484         # support --undefined.  This deserves some investigation.  FIXME
8485         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8486       else
8487         ld_shlibs=no
8488       fi
8489       ;;
8490
8491     cygwin* | mingw* | pw32* | cegcc*)
8492       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8493       # as there is no search path for DLLs.
8494       hardcode_libdir_flag_spec='-L$libdir'
8495       export_dynamic_flag_spec='${wl}--export-all-symbols'
8496       allow_undefined_flag=unsupported
8497       always_export_symbols=no
8498       enable_shared_with_static_runtimes=yes
8499       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'
8500       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8501
8502       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8503         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8504         # If the export-symbols file already is a .def file (1st line
8505         # is EXPORTS), use it as is; otherwise, prepend...
8506         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8507           cp $export_symbols $output_objdir/$soname.def;
8508         else
8509           echo EXPORTS > $output_objdir/$soname.def;
8510           cat $export_symbols >> $output_objdir/$soname.def;
8511         fi~
8512         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8513       else
8514         ld_shlibs=no
8515       fi
8516       ;;
8517
8518     haiku*)
8519       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8520       link_all_deplibs=yes
8521       ;;
8522
8523     interix[3-9]*)
8524       hardcode_direct=no
8525       hardcode_shlibpath_var=no
8526       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8527       export_dynamic_flag_spec='${wl}-E'
8528       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8529       # Instead, shared libraries are loaded at an image base (0x10000000 by
8530       # default) and relocated if they conflict, which is a slow very memory
8531       # consuming and fragmenting process.  To avoid this, we pick a random,
8532       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8533       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8534       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8535       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'
8536       ;;
8537
8538     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8539       tmp_diet=no
8540       if test "$host_os" = linux-dietlibc; then
8541         case $cc_basename in
8542           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8543         esac
8544       fi
8545       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8546          && test "$tmp_diet" = no
8547       then
8548         tmp_addflag=' $pic_flag'
8549         tmp_sharedflag='-shared'
8550         case $cc_basename,$host_cpu in
8551         pgcc*)                          # Portland Group C compiler
8552           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'
8553           tmp_addflag=' $pic_flag'
8554           ;;
8555         pgf77* | pgf90* | pgf95* | pgfortran*)
8556                                         # Portland Group f77 and f90 compilers
8557           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'
8558           tmp_addflag=' $pic_flag -Mnomain' ;;
8559         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8560           tmp_addflag=' -i_dynamic' ;;
8561         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8562           tmp_addflag=' -i_dynamic -nofor_main' ;;
8563         ifc* | ifort*)                  # Intel Fortran compiler
8564           tmp_addflag=' -nofor_main' ;;
8565         lf95*)                          # Lahey Fortran 8.1
8566           whole_archive_flag_spec=
8567           tmp_sharedflag='--shared' ;;
8568         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8569           tmp_sharedflag='-qmkshrobj'
8570           tmp_addflag= ;;
8571         nvcc*)  # Cuda Compiler Driver 2.2
8572           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'
8573           compiler_needs_object=yes
8574           ;;
8575         esac
8576         case `$CC -V 2>&1 | sed 5q` in
8577         *Sun\ C*)                       # Sun C 5.9
8578           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'
8579           compiler_needs_object=yes
8580           tmp_sharedflag='-G' ;;
8581         *Sun\ F*)                       # Sun Fortran 8.3
8582           tmp_sharedflag='-G' ;;
8583         esac
8584         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8585
8586         if test "x$supports_anon_versioning" = xyes; then
8587           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8588             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8589             echo "local: *; };" >> $output_objdir/$libname.ver~
8590             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8591         fi
8592
8593         case $cc_basename in
8594         xlf* | bgf* | bgxlf* | mpixlf*)
8595           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8596           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8597           hardcode_libdir_flag_spec=
8598           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8599           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8600           if test "x$supports_anon_versioning" = xyes; then
8601             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8602               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8603               echo "local: *; };" >> $output_objdir/$libname.ver~
8604               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8605           fi
8606           ;;
8607         esac
8608       else
8609         ld_shlibs=no
8610       fi
8611       ;;
8612
8613     netbsd*)
8614       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8615         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8616         wlarc=
8617       else
8618         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8619         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8620       fi
8621       ;;
8622
8623     solaris*)
8624       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8625         ld_shlibs=no
8626         cat <<_LT_EOF 1>&2
8627
8628 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8629 *** create shared libraries on Solaris systems.  Therefore, libtool
8630 *** is disabling shared libraries support.  We urge you to upgrade GNU
8631 *** binutils to release 2.9.1 or newer.  Another option is to modify
8632 *** your PATH or compiler configuration so that the native linker is
8633 *** used, and then restart.
8634
8635 _LT_EOF
8636       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8637         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8638         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8639       else
8640         ld_shlibs=no
8641       fi
8642       ;;
8643
8644     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8645       case `$LD -v 2>&1` in
8646         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8647         ld_shlibs=no
8648         cat <<_LT_EOF 1>&2
8649
8650 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8651 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8652 *** is disabling shared libraries support.  We urge you to upgrade GNU
8653 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8654 *** your PATH or compiler configuration so that the native linker is
8655 *** used, and then restart.
8656
8657 _LT_EOF
8658         ;;
8659         *)
8660           # For security reasons, it is highly recommended that you always
8661           # use absolute paths for naming shared libraries, and exclude the
8662           # DT_RUNPATH tag from executables and libraries.  But doing so
8663           # requires that you compile everything twice, which is a pain.
8664           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8665             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8666             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8667             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8668           else
8669             ld_shlibs=no
8670           fi
8671         ;;
8672       esac
8673       ;;
8674
8675     sunos4*)
8676       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8677       wlarc=
8678       hardcode_direct=yes
8679       hardcode_shlibpath_var=no
8680       ;;
8681
8682     *)
8683       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8684         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8686       else
8687         ld_shlibs=no
8688       fi
8689       ;;
8690     esac
8691
8692     if test "$ld_shlibs" = no; then
8693       runpath_var=
8694       hardcode_libdir_flag_spec=
8695       export_dynamic_flag_spec=
8696       whole_archive_flag_spec=
8697     fi
8698   else
8699     # PORTME fill in a description of your system's linker (not GNU ld)
8700     case $host_os in
8701     aix3*)
8702       allow_undefined_flag=unsupported
8703       always_export_symbols=yes
8704       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'
8705       # Note: this linker hardcodes the directories in LIBPATH if there
8706       # are no directories specified by -L.
8707       hardcode_minus_L=yes
8708       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8709         # Neither direct hardcoding nor static linking is supported with a
8710         # broken collect2.
8711         hardcode_direct=unsupported
8712       fi
8713       ;;
8714
8715     aix[4-9]*)
8716       if test "$host_cpu" = ia64; then
8717         # On IA64, the linker does run time linking by default, so we don't
8718         # have to do anything special.
8719         aix_use_runtimelinking=no
8720         exp_sym_flag='-Bexport'
8721         no_entry_flag=""
8722       else
8723         # If we're using GNU nm, then we don't want the "-C" option.
8724         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8725         # Also, AIX nm treats weak defined symbols like other global
8726         # defined symbols, whereas GNU nm marks them as "W".
8727         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8728           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'
8729         else
8730           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'
8731         fi
8732         aix_use_runtimelinking=no
8733
8734         # Test if we are trying to use run time linking or normal
8735         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8736         # need to do runtime linking.
8737         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8738           for ld_flag in $LDFLAGS; do
8739           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8740             aix_use_runtimelinking=yes
8741             break
8742           fi
8743           done
8744           ;;
8745         esac
8746
8747         exp_sym_flag='-bexport'
8748         no_entry_flag='-bnoentry'
8749       fi
8750
8751       # When large executables or shared objects are built, AIX ld can
8752       # have problems creating the table of contents.  If linking a library
8753       # or program results in "error TOC overflow" add -mminimal-toc to
8754       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8755       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8756
8757       archive_cmds=''
8758       hardcode_direct=yes
8759       hardcode_direct_absolute=yes
8760       hardcode_libdir_separator=':'
8761       link_all_deplibs=yes
8762       file_list_spec='${wl}-f,'
8763
8764       if test "$GCC" = yes; then
8765         case $host_os in aix4.[012]|aix4.[012].*)
8766         # We only want to do this on AIX 4.2 and lower, the check
8767         # below for broken collect2 doesn't work under 4.3+
8768           collect2name=`${CC} -print-prog-name=collect2`
8769           if test -f "$collect2name" &&
8770            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8771           then
8772           # We have reworked collect2
8773           :
8774           else
8775           # We have old collect2
8776           hardcode_direct=unsupported
8777           # It fails to find uninstalled libraries when the uninstalled
8778           # path is not listed in the libpath.  Setting hardcode_minus_L
8779           # to unsupported forces relinking
8780           hardcode_minus_L=yes
8781           hardcode_libdir_flag_spec='-L$libdir'
8782           hardcode_libdir_separator=
8783           fi
8784           ;;
8785         esac
8786         shared_flag='-shared'
8787         if test "$aix_use_runtimelinking" = yes; then
8788           shared_flag="$shared_flag "'${wl}-G'
8789         fi
8790       else
8791         # not using gcc
8792         if test "$host_cpu" = ia64; then
8793         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8794         # chokes on -Wl,-G. The following line is correct:
8795           shared_flag='-G'
8796         else
8797           if test "$aix_use_runtimelinking" = yes; then
8798             shared_flag='${wl}-G'
8799           else
8800             shared_flag='${wl}-bM:SRE'
8801           fi
8802         fi
8803       fi
8804
8805       export_dynamic_flag_spec='${wl}-bexpall'
8806       # It seems that -bexpall does not export symbols beginning with
8807       # underscore (_), so it is better to generate a list of symbols to export.
8808       always_export_symbols=yes
8809       if test "$aix_use_runtimelinking" = yes; then
8810         # Warning - without using the other runtime loading flags (-brtl),
8811         # -berok will link without error, but may produce a broken library.
8812         allow_undefined_flag='-berok'
8813         # Determine the default libpath from the value encoded in an
8814         # empty executable.
8815         if test "${lt_cv_aix_libpath+set}" = set; then
8816   aix_libpath=$lt_cv_aix_libpath
8817 else
8818   if ${lt_cv_aix_libpath_+:} false; then :
8819   $as_echo_n "(cached) " >&6
8820 else
8821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8822 /* end confdefs.h.  */
8823
8824 int
8825 main ()
8826 {
8827
8828   ;
8829   return 0;
8830 }
8831 _ACEOF
8832 if ac_fn_c_try_link "$LINENO"; then :
8833
8834   lt_aix_libpath_sed='
8835       /Import File Strings/,/^$/ {
8836           /^0/ {
8837               s/^0  *\([^ ]*\) *$/\1/
8838               p
8839           }
8840       }'
8841   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8842   # Check for a 64-bit object if we didn't find anything.
8843   if test -z "$lt_cv_aix_libpath_"; then
8844     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8845   fi
8846 fi
8847 rm -f core conftest.err conftest.$ac_objext \
8848     conftest$ac_exeext conftest.$ac_ext
8849   if test -z "$lt_cv_aix_libpath_"; then
8850     lt_cv_aix_libpath_="/usr/lib:/lib"
8851   fi
8852
8853 fi
8854
8855   aix_libpath=$lt_cv_aix_libpath_
8856 fi
8857
8858         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8859         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"
8860       else
8861         if test "$host_cpu" = ia64; then
8862           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8863           allow_undefined_flag="-z nodefs"
8864           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"
8865         else
8866          # Determine the default libpath from the value encoded in an
8867          # empty executable.
8868          if test "${lt_cv_aix_libpath+set}" = set; then
8869   aix_libpath=$lt_cv_aix_libpath
8870 else
8871   if ${lt_cv_aix_libpath_+:} false; then :
8872   $as_echo_n "(cached) " >&6
8873 else
8874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h.  */
8876
8877 int
8878 main ()
8879 {
8880
8881   ;
8882   return 0;
8883 }
8884 _ACEOF
8885 if ac_fn_c_try_link "$LINENO"; then :
8886
8887   lt_aix_libpath_sed='
8888       /Import File Strings/,/^$/ {
8889           /^0/ {
8890               s/^0  *\([^ ]*\) *$/\1/
8891               p
8892           }
8893       }'
8894   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8895   # Check for a 64-bit object if we didn't find anything.
8896   if test -z "$lt_cv_aix_libpath_"; then
8897     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8898   fi
8899 fi
8900 rm -f core conftest.err conftest.$ac_objext \
8901     conftest$ac_exeext conftest.$ac_ext
8902   if test -z "$lt_cv_aix_libpath_"; then
8903     lt_cv_aix_libpath_="/usr/lib:/lib"
8904   fi
8905
8906 fi
8907
8908   aix_libpath=$lt_cv_aix_libpath_
8909 fi
8910
8911          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8912           # Warning - without using the other run time loading flags,
8913           # -berok will link without error, but may produce a broken library.
8914           no_undefined_flag=' ${wl}-bernotok'
8915           allow_undefined_flag=' ${wl}-berok'
8916           if test "$with_gnu_ld" = yes; then
8917             # We only use this code for GNU lds that support --whole-archive.
8918             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8919           else
8920             # Exported symbols can be pulled into shared objects from archives
8921             whole_archive_flag_spec='$convenience'
8922           fi
8923           archive_cmds_need_lc=yes
8924           # This is similar to how AIX traditionally builds its shared libraries.
8925           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'
8926         fi
8927       fi
8928       ;;
8929
8930     amigaos*)
8931       case $host_cpu in
8932       powerpc)
8933             # see comment about AmigaOS4 .so support
8934             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8935             archive_expsym_cmds=''
8936         ;;
8937       m68k)
8938             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)'
8939             hardcode_libdir_flag_spec='-L$libdir'
8940             hardcode_minus_L=yes
8941         ;;
8942       esac
8943       ;;
8944
8945     bsdi[45]*)
8946       export_dynamic_flag_spec=-rdynamic
8947       ;;
8948
8949     cygwin* | mingw* | pw32* | cegcc*)
8950       # When not using gcc, we currently assume that we are using
8951       # Microsoft Visual C++.
8952       # hardcode_libdir_flag_spec is actually meaningless, as there is
8953       # no search path for DLLs.
8954       case $cc_basename in
8955       cl*)
8956         # Native MSVC
8957         hardcode_libdir_flag_spec=' '
8958         allow_undefined_flag=unsupported
8959         always_export_symbols=yes
8960         file_list_spec='@'
8961         # Tell ltmain to make .lib files, not .a files.
8962         libext=lib
8963         # Tell ltmain to make .dll files, not .so files.
8964         shrext_cmds=".dll"
8965         # FIXME: Setting linknames here is a bad hack.
8966         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
8967         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8968             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
8969           else
8970             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
8971           fi~
8972           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
8973           linknames='
8974         # The linker will not automatically build a static lib if we build a DLL.
8975         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
8976         enable_shared_with_static_runtimes=yes
8977         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8978         # Don't use ranlib
8979         old_postinstall_cmds='chmod 644 $oldlib'
8980         postlink_cmds='lt_outputfile="@OUTPUT@"~
8981           lt_tool_outputfile="@TOOL_OUTPUT@"~
8982           case $lt_outputfile in
8983             *.exe|*.EXE) ;;
8984             *)
8985               lt_outputfile="$lt_outputfile.exe"
8986               lt_tool_outputfile="$lt_tool_outputfile.exe"
8987               ;;
8988           esac~
8989           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
8990             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
8991             $RM "$lt_outputfile.manifest";
8992           fi'
8993         ;;
8994       *)
8995         # Assume MSVC wrapper
8996         hardcode_libdir_flag_spec=' '
8997         allow_undefined_flag=unsupported
8998         # Tell ltmain to make .lib files, not .a files.
8999         libext=lib
9000         # Tell ltmain to make .dll files, not .so files.
9001         shrext_cmds=".dll"
9002         # FIXME: Setting linknames here is a bad hack.
9003         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9004         # The linker will automatically build a .lib file if we build a DLL.
9005         old_archive_from_new_cmds='true'
9006         # FIXME: Should let the user specify the lib program.
9007         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9008         enable_shared_with_static_runtimes=yes
9009         ;;
9010       esac
9011       ;;
9012
9013     darwin* | rhapsody*)
9014
9015
9016   archive_cmds_need_lc=no
9017   hardcode_direct=no
9018   hardcode_automatic=yes
9019   hardcode_shlibpath_var=unsupported
9020   if test "$lt_cv_ld_force_load" = "yes"; then
9021     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\"`'
9022   else
9023     whole_archive_flag_spec=''
9024   fi
9025   link_all_deplibs=yes
9026   allow_undefined_flag="$_lt_dar_allow_undefined"
9027   case $cc_basename in
9028      ifort*) _lt_dar_can_shared=yes ;;
9029      *) _lt_dar_can_shared=$GCC ;;
9030   esac
9031   if test "$_lt_dar_can_shared" = "yes"; then
9032     output_verbose_link_cmd=func_echo_all
9033     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9034     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9035     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}"
9036     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}"
9037
9038   else
9039   ld_shlibs=no
9040   fi
9041
9042       ;;
9043
9044     dgux*)
9045       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9046       hardcode_libdir_flag_spec='-L$libdir'
9047       hardcode_shlibpath_var=no
9048       ;;
9049
9050     freebsd1*)
9051       ld_shlibs=no
9052       ;;
9053
9054     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9055     # support.  Future versions do this automatically, but an explicit c++rt0.o
9056     # does not break anything, and helps significantly (at the cost of a little
9057     # extra space).
9058     freebsd2.2*)
9059       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9060       hardcode_libdir_flag_spec='-R$libdir'
9061       hardcode_direct=yes
9062       hardcode_shlibpath_var=no
9063       ;;
9064
9065     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9066     freebsd2*)
9067       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9068       hardcode_direct=yes
9069       hardcode_minus_L=yes
9070       hardcode_shlibpath_var=no
9071       ;;
9072
9073     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9074     freebsd* | dragonfly*)
9075       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9076       hardcode_libdir_flag_spec='-R$libdir'
9077       hardcode_direct=yes
9078       hardcode_shlibpath_var=no
9079       ;;
9080
9081     hpux9*)
9082       if test "$GCC" = yes; then
9083         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'
9084       else
9085         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'
9086       fi
9087       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9088       hardcode_libdir_separator=:
9089       hardcode_direct=yes
9090
9091       # hardcode_minus_L: Not really in the search PATH,
9092       # but as the default location of the library.
9093       hardcode_minus_L=yes
9094       export_dynamic_flag_spec='${wl}-E'
9095       ;;
9096
9097     hpux10*)
9098       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9099         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9100       else
9101         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9102       fi
9103       if test "$with_gnu_ld" = no; then
9104         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9105         hardcode_libdir_flag_spec_ld='+b $libdir'
9106         hardcode_libdir_separator=:
9107         hardcode_direct=yes
9108         hardcode_direct_absolute=yes
9109         export_dynamic_flag_spec='${wl}-E'
9110         # hardcode_minus_L: Not really in the search PATH,
9111         # but as the default location of the library.
9112         hardcode_minus_L=yes
9113       fi
9114       ;;
9115
9116     hpux11*)
9117       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9118         case $host_cpu in
9119         hppa*64*)
9120           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9121           ;;
9122         ia64*)
9123           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9124           ;;
9125         *)
9126           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9127           ;;
9128         esac
9129       else
9130         case $host_cpu in
9131         hppa*64*)
9132           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9133           ;;
9134         ia64*)
9135           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9136           ;;
9137         *)
9138
9139           # Older versions of the 11.00 compiler do not understand -b yet
9140           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9141           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9142 $as_echo_n "checking if $CC understands -b... " >&6; }
9143 if ${lt_cv_prog_compiler__b+:} false; then :
9144   $as_echo_n "(cached) " >&6
9145 else
9146   lt_cv_prog_compiler__b=no
9147    save_LDFLAGS="$LDFLAGS"
9148    LDFLAGS="$LDFLAGS -b"
9149    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9150    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9151      # The linker can only warn and ignore the option if not recognized
9152      # So say no if there are warnings
9153      if test -s conftest.err; then
9154        # Append any errors to the config.log.
9155        cat conftest.err 1>&5
9156        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9157        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9158        if diff conftest.exp conftest.er2 >/dev/null; then
9159          lt_cv_prog_compiler__b=yes
9160        fi
9161      else
9162        lt_cv_prog_compiler__b=yes
9163      fi
9164    fi
9165    $RM -r conftest*
9166    LDFLAGS="$save_LDFLAGS"
9167
9168 fi
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9170 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9171
9172 if test x"$lt_cv_prog_compiler__b" = xyes; then
9173     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9174 else
9175     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9176 fi
9177
9178           ;;
9179         esac
9180       fi
9181       if test "$with_gnu_ld" = no; then
9182         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9183         hardcode_libdir_separator=:
9184
9185         case $host_cpu in
9186         hppa*64*|ia64*)
9187           hardcode_direct=no
9188           hardcode_shlibpath_var=no
9189           ;;
9190         *)
9191           hardcode_direct=yes
9192           hardcode_direct_absolute=yes
9193           export_dynamic_flag_spec='${wl}-E'
9194
9195           # hardcode_minus_L: Not really in the search PATH,
9196           # but as the default location of the library.
9197           hardcode_minus_L=yes
9198           ;;
9199         esac
9200       fi
9201       ;;
9202
9203     irix5* | irix6* | nonstopux*)
9204       if test "$GCC" = yes; then
9205         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'
9206         # Try to use the -exported_symbol ld option, if it does not
9207         # work, assume that -exports_file does not work either and
9208         # implicitly export all symbols.
9209         # This should be the same for all languages, so no per-tag cache variable.
9210         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9211 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9212 if ${lt_cv_irix_exported_symbol+:} false; then :
9213   $as_echo_n "(cached) " >&6
9214 else
9215   save_LDFLAGS="$LDFLAGS"
9216            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9217            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h.  */
9219 int foo (void) { return 0; }
9220 _ACEOF
9221 if ac_fn_c_try_link "$LINENO"; then :
9222   lt_cv_irix_exported_symbol=yes
9223 else
9224   lt_cv_irix_exported_symbol=no
9225 fi
9226 rm -f core conftest.err conftest.$ac_objext \
9227     conftest$ac_exeext conftest.$ac_ext
9228            LDFLAGS="$save_LDFLAGS"
9229 fi
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9231 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9232         if test "$lt_cv_irix_exported_symbol" = yes; then
9233           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'
9234         fi
9235       else
9236         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'
9237         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'
9238       fi
9239       archive_cmds_need_lc='no'
9240       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9241       hardcode_libdir_separator=:
9242       inherit_rpath=yes
9243       link_all_deplibs=yes
9244       ;;
9245
9246     netbsd*)
9247       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9248         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9249       else
9250         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9251       fi
9252       hardcode_libdir_flag_spec='-R$libdir'
9253       hardcode_direct=yes
9254       hardcode_shlibpath_var=no
9255       ;;
9256
9257     newsos6)
9258       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9259       hardcode_direct=yes
9260       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9261       hardcode_libdir_separator=:
9262       hardcode_shlibpath_var=no
9263       ;;
9264
9265     *nto* | *qnx*)
9266       ;;
9267
9268     openbsd*)
9269       if test -f /usr/libexec/ld.so; then
9270         hardcode_direct=yes
9271         hardcode_shlibpath_var=no
9272         hardcode_direct_absolute=yes
9273         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9274           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9275           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9276           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9277           export_dynamic_flag_spec='${wl}-E'
9278         else
9279           case $host_os in
9280            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9281              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9282              hardcode_libdir_flag_spec='-R$libdir'
9283              ;;
9284            *)
9285              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9286              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9287              ;;
9288           esac
9289         fi
9290       else
9291         ld_shlibs=no
9292       fi
9293       ;;
9294
9295     os2*)
9296       hardcode_libdir_flag_spec='-L$libdir'
9297       hardcode_minus_L=yes
9298       allow_undefined_flag=unsupported
9299       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'
9300       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9301       ;;
9302
9303     osf3*)
9304       if test "$GCC" = yes; then
9305         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9306         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'
9307       else
9308         allow_undefined_flag=' -expect_unresolved \*'
9309         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'
9310       fi
9311       archive_cmds_need_lc='no'
9312       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9313       hardcode_libdir_separator=:
9314       ;;
9315
9316     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9317       if test "$GCC" = yes; then
9318         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9319         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'
9320         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9321       else
9322         allow_undefined_flag=' -expect_unresolved \*'
9323         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'
9324         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~
9325         $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'
9326
9327         # Both c and cxx compiler support -rpath directly
9328         hardcode_libdir_flag_spec='-rpath $libdir'
9329       fi
9330       archive_cmds_need_lc='no'
9331       hardcode_libdir_separator=:
9332       ;;
9333
9334     solaris*)
9335       no_undefined_flag=' -z defs'
9336       if test "$GCC" = yes; then
9337         wlarc='${wl}'
9338         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9339         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9340           $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'
9341       else
9342         case `$CC -V 2>&1` in
9343         *"Compilers 5.0"*)
9344           wlarc=''
9345           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9346           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9347           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9348           ;;
9349         *)
9350           wlarc='${wl}'
9351           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9352           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9353           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9354           ;;
9355         esac
9356       fi
9357       hardcode_libdir_flag_spec='-R$libdir'
9358       hardcode_shlibpath_var=no
9359       case $host_os in
9360       solaris2.[0-5] | solaris2.[0-5].*) ;;
9361       *)
9362         # The compiler driver will combine and reorder linker options,
9363         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9364         # but is careful enough not to reorder.
9365         # Supported since Solaris 2.6 (maybe 2.5.1?)
9366         if test "$GCC" = yes; then
9367           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9368         else
9369           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9370         fi
9371         ;;
9372       esac
9373       link_all_deplibs=yes
9374       ;;
9375
9376     sunos4*)
9377       if test "x$host_vendor" = xsequent; then
9378         # Use $CC to link under sequent, because it throws in some extra .o
9379         # files that make .init and .fini sections work.
9380         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9381       else
9382         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9383       fi
9384       hardcode_libdir_flag_spec='-L$libdir'
9385       hardcode_direct=yes
9386       hardcode_minus_L=yes
9387       hardcode_shlibpath_var=no
9388       ;;
9389
9390     sysv4)
9391       case $host_vendor in
9392         sni)
9393           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9394           hardcode_direct=yes # is this really true???
9395         ;;
9396         siemens)
9397           ## LD is ld it makes a PLAMLIB
9398           ## CC just makes a GrossModule.
9399           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9400           reload_cmds='$CC -r -o $output$reload_objs'
9401           hardcode_direct=no
9402         ;;
9403         motorola)
9404           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9406         ;;
9407       esac
9408       runpath_var='LD_RUN_PATH'
9409       hardcode_shlibpath_var=no
9410       ;;
9411
9412     sysv4.3*)
9413       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414       hardcode_shlibpath_var=no
9415       export_dynamic_flag_spec='-Bexport'
9416       ;;
9417
9418     sysv4*MP*)
9419       if test -d /usr/nec; then
9420         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9421         hardcode_shlibpath_var=no
9422         runpath_var=LD_RUN_PATH
9423         hardcode_runpath_var=yes
9424         ld_shlibs=yes
9425       fi
9426       ;;
9427
9428     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9429       no_undefined_flag='${wl}-z,text'
9430       archive_cmds_need_lc=no
9431       hardcode_shlibpath_var=no
9432       runpath_var='LD_RUN_PATH'
9433
9434       if test "$GCC" = yes; then
9435         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9437       else
9438         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9439         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9440       fi
9441       ;;
9442
9443     sysv5* | sco3.2v5* | sco5v6*)
9444       # Note: We can NOT use -z defs as we might desire, because we do not
9445       # link with -lc, and that would cause any symbols used from libc to
9446       # always be unresolved, which means just about no library would
9447       # ever link correctly.  If we're not using GNU ld we use -z text
9448       # though, which does catch some bad symbols but isn't as heavy-handed
9449       # as -z defs.
9450       no_undefined_flag='${wl}-z,text'
9451       allow_undefined_flag='${wl}-z,nodefs'
9452       archive_cmds_need_lc=no
9453       hardcode_shlibpath_var=no
9454       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9455       hardcode_libdir_separator=':'
9456       link_all_deplibs=yes
9457       export_dynamic_flag_spec='${wl}-Bexport'
9458       runpath_var='LD_RUN_PATH'
9459
9460       if test "$GCC" = yes; then
9461         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9462         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9463       else
9464         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9465         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9466       fi
9467       ;;
9468
9469     uts4*)
9470       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9471       hardcode_libdir_flag_spec='-L$libdir'
9472       hardcode_shlibpath_var=no
9473       ;;
9474
9475     *)
9476       ld_shlibs=no
9477       ;;
9478     esac
9479
9480     if test x$host_vendor = xsni; then
9481       case $host in
9482       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9483         export_dynamic_flag_spec='${wl}-Blargedynsym'
9484         ;;
9485       esac
9486     fi
9487   fi
9488
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9490 $as_echo "$ld_shlibs" >&6; }
9491 test "$ld_shlibs" = no && can_build_shared=no
9492
9493 with_gnu_ld=$with_gnu_ld
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509 #
9510 # Do we need to explicitly link libc?
9511 #
9512 case "x$archive_cmds_need_lc" in
9513 x|xyes)
9514   # Assume -lc should be added
9515   archive_cmds_need_lc=yes
9516
9517   if test "$enable_shared" = yes && test "$GCC" = yes; then
9518     case $archive_cmds in
9519     *'~'*)
9520       # FIXME: we may have to deal with multi-command sequences.
9521       ;;
9522     '$CC '*)
9523       # Test whether the compiler implicitly links with -lc since on some
9524       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9525       # to ld, don't add -lc before -lgcc.
9526       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9527 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9528 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9529   $as_echo_n "(cached) " >&6
9530 else
9531   $RM conftest*
9532         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9533
9534         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9535   (eval $ac_compile) 2>&5
9536   ac_status=$?
9537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9538   test $ac_status = 0; } 2>conftest.err; then
9539           soname=conftest
9540           lib=conftest
9541           libobjs=conftest.$ac_objext
9542           deplibs=
9543           wl=$lt_prog_compiler_wl
9544           pic_flag=$lt_prog_compiler_pic
9545           compiler_flags=-v
9546           linker_flags=-v
9547           verstring=
9548           output_objdir=.
9549           libname=conftest
9550           lt_save_allow_undefined_flag=$allow_undefined_flag
9551           allow_undefined_flag=
9552           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9553   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9554   ac_status=$?
9555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9556   test $ac_status = 0; }
9557           then
9558             lt_cv_archive_cmds_need_lc=no
9559           else
9560             lt_cv_archive_cmds_need_lc=yes
9561           fi
9562           allow_undefined_flag=$lt_save_allow_undefined_flag
9563         else
9564           cat conftest.err 1>&5
9565         fi
9566         $RM conftest*
9567
9568 fi
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9570 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9571       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9572       ;;
9573     esac
9574   fi
9575   ;;
9576 esac
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9735 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9736
9737 if test "$GCC" = yes; then
9738   case $host_os in
9739     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9740     *) lt_awk_arg="/^libraries:/" ;;
9741   esac
9742   case $host_os in
9743     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9744     *) lt_sed_strip_eq="s,=/,/,g" ;;
9745   esac
9746   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9747   case $lt_search_path_spec in
9748   *\;*)
9749     # if the path contains ";" then we assume it to be the separator
9750     # otherwise default to the standard path separator (i.e. ":") - it is
9751     # assumed that no part of a normal pathname contains ";" but that should
9752     # okay in the real world where ";" in dirpaths is itself problematic.
9753     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9754     ;;
9755   *)
9756     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9757     ;;
9758   esac
9759   # Ok, now we have the path, separated by spaces, we can step through it
9760   # and add multilib dir if necessary.
9761   lt_tmp_lt_search_path_spec=
9762   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9763   for lt_sys_path in $lt_search_path_spec; do
9764     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9765       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9766     else
9767       test -d "$lt_sys_path" && \
9768         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9769     fi
9770   done
9771   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9772 BEGIN {RS=" "; FS="/|\n";} {
9773   lt_foo="";
9774   lt_count=0;
9775   for (lt_i = NF; lt_i > 0; lt_i--) {
9776     if ($lt_i != "" && $lt_i != ".") {
9777       if ($lt_i == "..") {
9778         lt_count++;
9779       } else {
9780         if (lt_count == 0) {
9781           lt_foo="/" $lt_i lt_foo;
9782         } else {
9783           lt_count--;
9784         }
9785       }
9786     }
9787   }
9788   if (lt_foo != "") { lt_freq[lt_foo]++; }
9789   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9790 }'`
9791   # AWK program above erroneously prepends '/' to C:/dos/paths
9792   # for these hosts.
9793   case $host_os in
9794     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9795       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9796   esac
9797   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9798 else
9799   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9800 fi
9801 library_names_spec=
9802 libname_spec='lib$name'
9803 soname_spec=
9804 shrext_cmds=".so"
9805 postinstall_cmds=
9806 postuninstall_cmds=
9807 finish_cmds=
9808 finish_eval=
9809 shlibpath_var=
9810 shlibpath_overrides_runpath=unknown
9811 version_type=none
9812 dynamic_linker="$host_os ld.so"
9813 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9814 need_lib_prefix=unknown
9815 hardcode_into_libs=no
9816
9817 # when you set need_version to no, make sure it does not cause -set_version
9818 # flags to be left without arguments
9819 need_version=unknown
9820
9821 case $host_os in
9822 aix3*)
9823   version_type=linux
9824   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9825   shlibpath_var=LIBPATH
9826
9827   # AIX 3 has no versioning support, so we append a major version to the name.
9828   soname_spec='${libname}${release}${shared_ext}$major'
9829   ;;
9830
9831 aix[4-9]*)
9832   version_type=linux
9833   need_lib_prefix=no
9834   need_version=no
9835   hardcode_into_libs=yes
9836   if test "$host_cpu" = ia64; then
9837     # AIX 5 supports IA64
9838     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9839     shlibpath_var=LD_LIBRARY_PATH
9840   else
9841     # With GCC up to 2.95.x, collect2 would create an import file
9842     # for dependence libraries.  The import file would start with
9843     # the line `#! .'.  This would cause the generated library to
9844     # depend on `.', always an invalid library.  This was fixed in
9845     # development snapshots of GCC prior to 3.0.
9846     case $host_os in
9847       aix4 | aix4.[01] | aix4.[01].*)
9848       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9849            echo ' yes '
9850            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9851         :
9852       else
9853         can_build_shared=no
9854       fi
9855       ;;
9856     esac
9857     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9858     # soname into executable. Probably we can add versioning support to
9859     # collect2, so additional links can be useful in future.
9860     if test "$aix_use_runtimelinking" = yes; then
9861       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9862       # instead of lib<name>.a to let people know that these are not
9863       # typical AIX shared libraries.
9864       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9865     else
9866       # We preserve .a as extension for shared libraries through AIX4.2
9867       # and later when we are not doing run time linking.
9868       library_names_spec='${libname}${release}.a $libname.a'
9869       soname_spec='${libname}${release}${shared_ext}$major'
9870     fi
9871     shlibpath_var=LIBPATH
9872   fi
9873   ;;
9874
9875 amigaos*)
9876   case $host_cpu in
9877   powerpc)
9878     # Since July 2007 AmigaOS4 officially supports .so libraries.
9879     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9880     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9881     ;;
9882   m68k)
9883     library_names_spec='$libname.ixlibrary $libname.a'
9884     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9885     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'
9886     ;;
9887   esac
9888   ;;
9889
9890 beos*)
9891   library_names_spec='${libname}${shared_ext}'
9892   dynamic_linker="$host_os ld.so"
9893   shlibpath_var=LIBRARY_PATH
9894   ;;
9895
9896 bsdi[45]*)
9897   version_type=linux
9898   need_version=no
9899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900   soname_spec='${libname}${release}${shared_ext}$major'
9901   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9902   shlibpath_var=LD_LIBRARY_PATH
9903   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9904   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9905   # the default ld.so.conf also contains /usr/contrib/lib and
9906   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9907   # libtool to hard-code these into programs
9908   ;;
9909
9910 cygwin* | mingw* | pw32* | cegcc*)
9911   version_type=windows
9912   shrext_cmds=".dll"
9913   need_version=no
9914   need_lib_prefix=no
9915
9916   case $GCC,$cc_basename in
9917   yes,*)
9918     # gcc
9919     library_names_spec='$libname.dll.a'
9920     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9921     postinstall_cmds='base_file=`basename \${file}`~
9922       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9923       dldir=$destdir/`dirname \$dlpath`~
9924       test -d \$dldir || mkdir -p \$dldir~
9925       $install_prog $dir/$dlname \$dldir/$dlname~
9926       chmod a+x \$dldir/$dlname~
9927       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9928         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9929       fi'
9930     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9931       dlpath=$dir/\$dldll~
9932        $RM \$dlpath'
9933     shlibpath_overrides_runpath=yes
9934
9935     case $host_os in
9936     cygwin*)
9937       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9938       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9939
9940       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9941       ;;
9942     mingw* | cegcc*)
9943       # MinGW DLLs use traditional 'lib' prefix
9944       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9945       ;;
9946     pw32*)
9947       # pw32 DLLs use 'pw' prefix rather than 'lib'
9948       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9949       ;;
9950     esac
9951     dynamic_linker='Win32 ld.exe'
9952     ;;
9953
9954   *,cl*)
9955     # Native MSVC
9956     libname_spec='$name'
9957     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9958     library_names_spec='${libname}.dll.lib'
9959
9960     case $build_os in
9961     mingw*)
9962       sys_lib_search_path_spec=
9963       lt_save_ifs=$IFS
9964       IFS=';'
9965       for lt_path in $LIB
9966       do
9967         IFS=$lt_save_ifs
9968         # Let DOS variable expansion print the short 8.3 style file name.
9969         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
9970         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
9971       done
9972       IFS=$lt_save_ifs
9973       # Convert to MSYS style.
9974       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
9975       ;;
9976     cygwin*)
9977       # Convert to unix form, then to dos form, then back to unix form
9978       # but this time dos style (no spaces!) so that the unix form looks
9979       # like /cygdrive/c/PROGRA~1:/cygdr...
9980       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
9981       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
9982       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9983       ;;
9984     *)
9985       sys_lib_search_path_spec="$LIB"
9986       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9987         # It is most probably a Windows format PATH.
9988         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9989       else
9990         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9991       fi
9992       # FIXME: find the short name or the path components, as spaces are
9993       # common. (e.g. "Program Files" -> "PROGRA~1")
9994       ;;
9995     esac
9996
9997     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9998     postinstall_cmds='base_file=`basename \${file}`~
9999       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10000       dldir=$destdir/`dirname \$dlpath`~
10001       test -d \$dldir || mkdir -p \$dldir~
10002       $install_prog $dir/$dlname \$dldir/$dlname'
10003     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10004       dlpath=$dir/\$dldll~
10005        $RM \$dlpath'
10006     shlibpath_overrides_runpath=yes
10007     dynamic_linker='Win32 link.exe'
10008     ;;
10009
10010   *)
10011     # Assume MSVC wrapper
10012     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10013     dynamic_linker='Win32 ld.exe'
10014     ;;
10015   esac
10016   # FIXME: first we should search . and the directory the executable is in
10017   shlibpath_var=PATH
10018   ;;
10019
10020 darwin* | rhapsody*)
10021   dynamic_linker="$host_os dyld"
10022   version_type=darwin
10023   need_lib_prefix=no
10024   need_version=no
10025   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10026   soname_spec='${libname}${release}${major}$shared_ext'
10027   shlibpath_overrides_runpath=yes
10028   shlibpath_var=DYLD_LIBRARY_PATH
10029   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10030
10031   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10032   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10033   ;;
10034
10035 dgux*)
10036   version_type=linux
10037   need_lib_prefix=no
10038   need_version=no
10039   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10040   soname_spec='${libname}${release}${shared_ext}$major'
10041   shlibpath_var=LD_LIBRARY_PATH
10042   ;;
10043
10044 freebsd1*)
10045   dynamic_linker=no
10046   ;;
10047
10048 freebsd* | dragonfly*)
10049   # DragonFly does not have aout.  When/if they implement a new
10050   # versioning mechanism, adjust this.
10051   if test -x /usr/bin/objformat; then
10052     objformat=`/usr/bin/objformat`
10053   else
10054     case $host_os in
10055     freebsd[123]*) objformat=aout ;;
10056     *) objformat=elf ;;
10057     esac
10058   fi
10059   version_type=freebsd-$objformat
10060   case $version_type in
10061     freebsd-elf*)
10062       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10063       need_version=no
10064       need_lib_prefix=no
10065       ;;
10066     freebsd-*)
10067       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10068       need_version=yes
10069       ;;
10070   esac
10071   shlibpath_var=LD_LIBRARY_PATH
10072   case $host_os in
10073   freebsd2*)
10074     shlibpath_overrides_runpath=yes
10075     ;;
10076   freebsd3.[01]* | freebsdelf3.[01]*)
10077     shlibpath_overrides_runpath=yes
10078     hardcode_into_libs=yes
10079     ;;
10080   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10081   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10082     shlibpath_overrides_runpath=no
10083     hardcode_into_libs=yes
10084     ;;
10085   *) # from 4.6 on, and DragonFly
10086     shlibpath_overrides_runpath=yes
10087     hardcode_into_libs=yes
10088     ;;
10089   esac
10090   ;;
10091
10092 gnu*)
10093   version_type=linux
10094   need_lib_prefix=no
10095   need_version=no
10096   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10097   soname_spec='${libname}${release}${shared_ext}$major'
10098   shlibpath_var=LD_LIBRARY_PATH
10099   hardcode_into_libs=yes
10100   ;;
10101
10102 haiku*)
10103   version_type=linux
10104   need_lib_prefix=no
10105   need_version=no
10106   dynamic_linker="$host_os runtime_loader"
10107   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10108   soname_spec='${libname}${release}${shared_ext}$major'
10109   shlibpath_var=LIBRARY_PATH
10110   shlibpath_overrides_runpath=yes
10111   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10112   hardcode_into_libs=yes
10113   ;;
10114
10115 hpux9* | hpux10* | hpux11*)
10116   # Give a soname corresponding to the major version so that dld.sl refuses to
10117   # link against other versions.
10118   version_type=sunos
10119   need_lib_prefix=no
10120   need_version=no
10121   case $host_cpu in
10122   ia64*)
10123     shrext_cmds='.so'
10124     hardcode_into_libs=yes
10125     dynamic_linker="$host_os dld.so"
10126     shlibpath_var=LD_LIBRARY_PATH
10127     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10128     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10129     soname_spec='${libname}${release}${shared_ext}$major'
10130     if test "X$HPUX_IA64_MODE" = X32; then
10131       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10132     else
10133       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10134     fi
10135     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10136     ;;
10137   hppa*64*)
10138     shrext_cmds='.sl'
10139     hardcode_into_libs=yes
10140     dynamic_linker="$host_os dld.sl"
10141     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10142     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10143     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10144     soname_spec='${libname}${release}${shared_ext}$major'
10145     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10146     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10147     ;;
10148   *)
10149     shrext_cmds='.sl'
10150     dynamic_linker="$host_os dld.sl"
10151     shlibpath_var=SHLIB_PATH
10152     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10153     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10154     soname_spec='${libname}${release}${shared_ext}$major'
10155     ;;
10156   esac
10157   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10158   postinstall_cmds='chmod 555 $lib'
10159   # or fails outright, so override atomically:
10160   install_override_mode=555
10161   ;;
10162
10163 interix[3-9]*)
10164   version_type=linux
10165   need_lib_prefix=no
10166   need_version=no
10167   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10168   soname_spec='${libname}${release}${shared_ext}$major'
10169   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10170   shlibpath_var=LD_LIBRARY_PATH
10171   shlibpath_overrides_runpath=no
10172   hardcode_into_libs=yes
10173   ;;
10174
10175 irix5* | irix6* | nonstopux*)
10176   case $host_os in
10177     nonstopux*) version_type=nonstopux ;;
10178     *)
10179         if test "$lt_cv_prog_gnu_ld" = yes; then
10180                 version_type=linux
10181         else
10182                 version_type=irix
10183         fi ;;
10184   esac
10185   need_lib_prefix=no
10186   need_version=no
10187   soname_spec='${libname}${release}${shared_ext}$major'
10188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10189   case $host_os in
10190   irix5* | nonstopux*)
10191     libsuff= shlibsuff=
10192     ;;
10193   *)
10194     case $LD in # libtool.m4 will add one of these switches to LD
10195     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10196       libsuff= shlibsuff= libmagic=32-bit;;
10197     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10198       libsuff=32 shlibsuff=N32 libmagic=N32;;
10199     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10200       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10201     *) libsuff= shlibsuff= libmagic=never-match;;
10202     esac
10203     ;;
10204   esac
10205   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10206   shlibpath_overrides_runpath=no
10207   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10208   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10209   hardcode_into_libs=yes
10210   ;;
10211
10212 # No shared lib support for Linux oldld, aout, or coff.
10213 linux*oldld* | linux*aout* | linux*coff*)
10214   dynamic_linker=no
10215   ;;
10216
10217 # This must be Linux ELF.
10218 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10219   version_type=linux
10220   need_lib_prefix=no
10221   need_version=no
10222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223   soname_spec='${libname}${release}${shared_ext}$major'
10224   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10225   shlibpath_var=LD_LIBRARY_PATH
10226   shlibpath_overrides_runpath=no
10227
10228   # Some binutils ld are patched to set DT_RUNPATH
10229   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10230   $as_echo_n "(cached) " >&6
10231 else
10232   lt_cv_shlibpath_overrides_runpath=no
10233     save_LDFLAGS=$LDFLAGS
10234     save_libdir=$libdir
10235     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10236          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10237     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10238 /* end confdefs.h.  */
10239
10240 int
10241 main ()
10242 {
10243
10244   ;
10245   return 0;
10246 }
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10250   lt_cv_shlibpath_overrides_runpath=yes
10251 fi
10252 fi
10253 rm -f core conftest.err conftest.$ac_objext \
10254     conftest$ac_exeext conftest.$ac_ext
10255     LDFLAGS=$save_LDFLAGS
10256     libdir=$save_libdir
10257
10258 fi
10259
10260   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10261
10262   # This implies no fast_install, which is unacceptable.
10263   # Some rework will be needed to allow for fast_install
10264   # before this can be enabled.
10265   hardcode_into_libs=yes
10266
10267   # Append ld.so.conf contents to the search path
10268   if test -f /etc/ld.so.conf; then
10269     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' ' '`
10270     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10271   fi
10272
10273   # We used to test for /lib/ld.so.1 and disable shared libraries on
10274   # powerpc, because MkLinux only supported shared libraries with the
10275   # GNU dynamic linker.  Since this was broken with cross compilers,
10276   # most powerpc-linux boxes support dynamic linking these days and
10277   # people can always --disable-shared, the test was removed, and we
10278   # assume the GNU/Linux dynamic linker is in use.
10279   dynamic_linker='GNU/Linux ld.so'
10280   ;;
10281
10282 netbsd*)
10283   version_type=sunos
10284   need_lib_prefix=no
10285   need_version=no
10286   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10287     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10288     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10289     dynamic_linker='NetBSD (a.out) ld.so'
10290   else
10291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10292     soname_spec='${libname}${release}${shared_ext}$major'
10293     dynamic_linker='NetBSD ld.elf_so'
10294   fi
10295   shlibpath_var=LD_LIBRARY_PATH
10296   shlibpath_overrides_runpath=yes
10297   hardcode_into_libs=yes
10298   ;;
10299
10300 newsos6)
10301   version_type=linux
10302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10303   shlibpath_var=LD_LIBRARY_PATH
10304   shlibpath_overrides_runpath=yes
10305   ;;
10306
10307 *nto* | *qnx*)
10308   version_type=qnx
10309   need_lib_prefix=no
10310   need_version=no
10311   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10312   soname_spec='${libname}${release}${shared_ext}$major'
10313   shlibpath_var=LD_LIBRARY_PATH
10314   shlibpath_overrides_runpath=no
10315   hardcode_into_libs=yes
10316   dynamic_linker='ldqnx.so'
10317   ;;
10318
10319 openbsd*)
10320   version_type=sunos
10321   sys_lib_dlsearch_path_spec="/usr/lib"
10322   need_lib_prefix=no
10323   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10324   case $host_os in
10325     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10326     *)                          need_version=no  ;;
10327   esac
10328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10329   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10330   shlibpath_var=LD_LIBRARY_PATH
10331   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10332     case $host_os in
10333       openbsd2.[89] | openbsd2.[89].*)
10334         shlibpath_overrides_runpath=no
10335         ;;
10336       *)
10337         shlibpath_overrides_runpath=yes
10338         ;;
10339       esac
10340   else
10341     shlibpath_overrides_runpath=yes
10342   fi
10343   ;;
10344
10345 os2*)
10346   libname_spec='$name'
10347   shrext_cmds=".dll"
10348   need_lib_prefix=no
10349   library_names_spec='$libname${shared_ext} $libname.a'
10350   dynamic_linker='OS/2 ld.exe'
10351   shlibpath_var=LIBPATH
10352   ;;
10353
10354 osf3* | osf4* | osf5*)
10355   version_type=osf
10356   need_lib_prefix=no
10357   need_version=no
10358   soname_spec='${libname}${release}${shared_ext}$major'
10359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10360   shlibpath_var=LD_LIBRARY_PATH
10361   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10362   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10363   ;;
10364
10365 rdos*)
10366   dynamic_linker=no
10367   ;;
10368
10369 solaris*)
10370   version_type=linux
10371   need_lib_prefix=no
10372   need_version=no
10373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10374   soname_spec='${libname}${release}${shared_ext}$major'
10375   shlibpath_var=LD_LIBRARY_PATH
10376   shlibpath_overrides_runpath=yes
10377   hardcode_into_libs=yes
10378   # ldd complains unless libraries are executable
10379   postinstall_cmds='chmod +x $lib'
10380   ;;
10381
10382 sunos4*)
10383   version_type=sunos
10384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10385   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10386   shlibpath_var=LD_LIBRARY_PATH
10387   shlibpath_overrides_runpath=yes
10388   if test "$with_gnu_ld" = yes; then
10389     need_lib_prefix=no
10390   fi
10391   need_version=yes
10392   ;;
10393
10394 sysv4 | sysv4.3*)
10395   version_type=linux
10396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10397   soname_spec='${libname}${release}${shared_ext}$major'
10398   shlibpath_var=LD_LIBRARY_PATH
10399   case $host_vendor in
10400     sni)
10401       shlibpath_overrides_runpath=no
10402       need_lib_prefix=no
10403       runpath_var=LD_RUN_PATH
10404       ;;
10405     siemens)
10406       need_lib_prefix=no
10407       ;;
10408     motorola)
10409       need_lib_prefix=no
10410       need_version=no
10411       shlibpath_overrides_runpath=no
10412       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10413       ;;
10414   esac
10415   ;;
10416
10417 sysv4*MP*)
10418   if test -d /usr/nec ;then
10419     version_type=linux
10420     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10421     soname_spec='$libname${shared_ext}.$major'
10422     shlibpath_var=LD_LIBRARY_PATH
10423   fi
10424   ;;
10425
10426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10427   version_type=freebsd-elf
10428   need_lib_prefix=no
10429   need_version=no
10430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10431   soname_spec='${libname}${release}${shared_ext}$major'
10432   shlibpath_var=LD_LIBRARY_PATH
10433   shlibpath_overrides_runpath=yes
10434   hardcode_into_libs=yes
10435   if test "$with_gnu_ld" = yes; then
10436     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10437   else
10438     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10439     case $host_os in
10440       sco3.2v5*)
10441         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10442         ;;
10443     esac
10444   fi
10445   sys_lib_dlsearch_path_spec='/usr/lib'
10446   ;;
10447
10448 tpf*)
10449   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10450   version_type=linux
10451   need_lib_prefix=no
10452   need_version=no
10453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10454   shlibpath_var=LD_LIBRARY_PATH
10455   shlibpath_overrides_runpath=no
10456   hardcode_into_libs=yes
10457   ;;
10458
10459 uts4*)
10460   version_type=linux
10461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10462   soname_spec='${libname}${release}${shared_ext}$major'
10463   shlibpath_var=LD_LIBRARY_PATH
10464   ;;
10465
10466 *)
10467   dynamic_linker=no
10468   ;;
10469 esac
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10471 $as_echo "$dynamic_linker" >&6; }
10472 test "$dynamic_linker" = no && can_build_shared=no
10473
10474 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10475 if test "$GCC" = yes; then
10476   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10477 fi
10478
10479 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10480   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10481 fi
10482 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10483   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10484 fi
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10578 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10579 hardcode_action=
10580 if test -n "$hardcode_libdir_flag_spec" ||
10581    test -n "$runpath_var" ||
10582    test "X$hardcode_automatic" = "Xyes" ; then
10583
10584   # We can hardcode non-existent directories.
10585   if test "$hardcode_direct" != no &&
10586      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10587      # have to relink, otherwise we might link with an installed library
10588      # when we should be linking with a yet-to-be-installed one
10589      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10590      test "$hardcode_minus_L" != no; then
10591     # Linking always hardcodes the temporary library directory.
10592     hardcode_action=relink
10593   else
10594     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10595     hardcode_action=immediate
10596   fi
10597 else
10598   # We cannot hardcode anything, or else we can only hardcode existing
10599   # directories.
10600   hardcode_action=unsupported
10601 fi
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10603 $as_echo "$hardcode_action" >&6; }
10604
10605 if test "$hardcode_action" = relink ||
10606    test "$inherit_rpath" = yes; then
10607   # Fast installation is not supported
10608   enable_fast_install=no
10609 elif test "$shlibpath_overrides_runpath" = yes ||
10610      test "$enable_shared" = no; then
10611   # Fast installation is not necessary
10612   enable_fast_install=needless
10613 fi
10614
10615
10616
10617
10618
10619
10620   if test "x$enable_dlopen" != xyes; then
10621   enable_dlopen=unknown
10622   enable_dlopen_self=unknown
10623   enable_dlopen_self_static=unknown
10624 else
10625   lt_cv_dlopen=no
10626   lt_cv_dlopen_libs=
10627
10628   case $host_os in
10629   beos*)
10630     lt_cv_dlopen="load_add_on"
10631     lt_cv_dlopen_libs=
10632     lt_cv_dlopen_self=yes
10633     ;;
10634
10635   mingw* | pw32* | cegcc*)
10636     lt_cv_dlopen="LoadLibrary"
10637     lt_cv_dlopen_libs=
10638     ;;
10639
10640   cygwin*)
10641     lt_cv_dlopen="dlopen"
10642     lt_cv_dlopen_libs=
10643     ;;
10644
10645   darwin*)
10646   # if libdl is installed we need to link against it
10647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10648 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10649 if ${ac_cv_lib_dl_dlopen+:} false; then :
10650   $as_echo_n "(cached) " >&6
10651 else
10652   ac_check_lib_save_LIBS=$LIBS
10653 LIBS="-ldl  $LIBS"
10654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10655 /* end confdefs.h.  */
10656
10657 /* Override any GCC internal prototype to avoid an error.
10658    Use char because int might match the return type of a GCC
10659    builtin and then its argument prototype would still apply.  */
10660 #ifdef __cplusplus
10661 extern "C"
10662 #endif
10663 char dlopen ();
10664 int
10665 main ()
10666 {
10667 return dlopen ();
10668   ;
10669   return 0;
10670 }
10671 _ACEOF
10672 if ac_fn_c_try_link "$LINENO"; then :
10673   ac_cv_lib_dl_dlopen=yes
10674 else
10675   ac_cv_lib_dl_dlopen=no
10676 fi
10677 rm -f core conftest.err conftest.$ac_objext \
10678     conftest$ac_exeext conftest.$ac_ext
10679 LIBS=$ac_check_lib_save_LIBS
10680 fi
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10682 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10683 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10684   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10685 else
10686
10687     lt_cv_dlopen="dyld"
10688     lt_cv_dlopen_libs=
10689     lt_cv_dlopen_self=yes
10690
10691 fi
10692
10693     ;;
10694
10695   *)
10696     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10697 if test "x$ac_cv_func_shl_load" = xyes; then :
10698   lt_cv_dlopen="shl_load"
10699 else
10700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10701 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10702 if ${ac_cv_lib_dld_shl_load+:} false; then :
10703   $as_echo_n "(cached) " >&6
10704 else
10705   ac_check_lib_save_LIBS=$LIBS
10706 LIBS="-ldld  $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h.  */
10709
10710 /* Override any GCC internal prototype to avoid an error.
10711    Use char because int might match the return type of a GCC
10712    builtin and then its argument prototype would still apply.  */
10713 #ifdef __cplusplus
10714 extern "C"
10715 #endif
10716 char shl_load ();
10717 int
10718 main ()
10719 {
10720 return shl_load ();
10721   ;
10722   return 0;
10723 }
10724 _ACEOF
10725 if ac_fn_c_try_link "$LINENO"; then :
10726   ac_cv_lib_dld_shl_load=yes
10727 else
10728   ac_cv_lib_dld_shl_load=no
10729 fi
10730 rm -f core conftest.err conftest.$ac_objext \
10731     conftest$ac_exeext conftest.$ac_ext
10732 LIBS=$ac_check_lib_save_LIBS
10733 fi
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10735 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10736 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10737   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10738 else
10739   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10740 if test "x$ac_cv_func_dlopen" = xyes; then :
10741   lt_cv_dlopen="dlopen"
10742 else
10743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10744 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10745 if ${ac_cv_lib_dl_dlopen+:} false; then :
10746   $as_echo_n "(cached) " >&6
10747 else
10748   ac_check_lib_save_LIBS=$LIBS
10749 LIBS="-ldl  $LIBS"
10750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h.  */
10752
10753 /* Override any GCC internal prototype to avoid an error.
10754    Use char because int might match the return type of a GCC
10755    builtin and then its argument prototype would still apply.  */
10756 #ifdef __cplusplus
10757 extern "C"
10758 #endif
10759 char dlopen ();
10760 int
10761 main ()
10762 {
10763 return dlopen ();
10764   ;
10765   return 0;
10766 }
10767 _ACEOF
10768 if ac_fn_c_try_link "$LINENO"; then :
10769   ac_cv_lib_dl_dlopen=yes
10770 else
10771   ac_cv_lib_dl_dlopen=no
10772 fi
10773 rm -f core conftest.err conftest.$ac_objext \
10774     conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10776 fi
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10778 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10779 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10780   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10781 else
10782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10783 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10784 if ${ac_cv_lib_svld_dlopen+:} false; then :
10785   $as_echo_n "(cached) " >&6
10786 else
10787   ac_check_lib_save_LIBS=$LIBS
10788 LIBS="-lsvld  $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h.  */
10791
10792 /* Override any GCC internal prototype to avoid an error.
10793    Use char because int might match the return type of a GCC
10794    builtin and then its argument prototype would still apply.  */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char dlopen ();
10799 int
10800 main ()
10801 {
10802 return dlopen ();
10803   ;
10804   return 0;
10805 }
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808   ac_cv_lib_svld_dlopen=yes
10809 else
10810   ac_cv_lib_svld_dlopen=no
10811 fi
10812 rm -f core conftest.err conftest.$ac_objext \
10813     conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10815 fi
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10817 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10818 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10819   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10820 else
10821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10822 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10823 if ${ac_cv_lib_dld_dld_link+:} false; then :
10824   $as_echo_n "(cached) " >&6
10825 else
10826   ac_check_lib_save_LIBS=$LIBS
10827 LIBS="-ldld  $LIBS"
10828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h.  */
10830
10831 /* Override any GCC internal prototype to avoid an error.
10832    Use char because int might match the return type of a GCC
10833    builtin and then its argument prototype would still apply.  */
10834 #ifdef __cplusplus
10835 extern "C"
10836 #endif
10837 char dld_link ();
10838 int
10839 main ()
10840 {
10841 return dld_link ();
10842   ;
10843   return 0;
10844 }
10845 _ACEOF
10846 if ac_fn_c_try_link "$LINENO"; then :
10847   ac_cv_lib_dld_dld_link=yes
10848 else
10849   ac_cv_lib_dld_dld_link=no
10850 fi
10851 rm -f core conftest.err conftest.$ac_objext \
10852     conftest$ac_exeext conftest.$ac_ext
10853 LIBS=$ac_check_lib_save_LIBS
10854 fi
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10856 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10857 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10858   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10859 fi
10860
10861
10862 fi
10863
10864
10865 fi
10866
10867
10868 fi
10869
10870
10871 fi
10872
10873
10874 fi
10875
10876     ;;
10877   esac
10878
10879   if test "x$lt_cv_dlopen" != xno; then
10880     enable_dlopen=yes
10881   else
10882     enable_dlopen=no
10883   fi
10884
10885   case $lt_cv_dlopen in
10886   dlopen)
10887     save_CPPFLAGS="$CPPFLAGS"
10888     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10889
10890     save_LDFLAGS="$LDFLAGS"
10891     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10892
10893     save_LIBS="$LIBS"
10894     LIBS="$lt_cv_dlopen_libs $LIBS"
10895
10896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10897 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10898 if ${lt_cv_dlopen_self+:} false; then :
10899   $as_echo_n "(cached) " >&6
10900 else
10901           if test "$cross_compiling" = yes; then :
10902   lt_cv_dlopen_self=cross
10903 else
10904   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10905   lt_status=$lt_dlunknown
10906   cat > conftest.$ac_ext <<_LT_EOF
10907 #line $LINENO "configure"
10908 #include "confdefs.h"
10909
10910 #if HAVE_DLFCN_H
10911 #include <dlfcn.h>
10912 #endif
10913
10914 #include <stdio.h>
10915
10916 #ifdef RTLD_GLOBAL
10917 #  define LT_DLGLOBAL           RTLD_GLOBAL
10918 #else
10919 #  ifdef DL_GLOBAL
10920 #    define LT_DLGLOBAL         DL_GLOBAL
10921 #  else
10922 #    define LT_DLGLOBAL         0
10923 #  endif
10924 #endif
10925
10926 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10927    find out it does not work in some platform. */
10928 #ifndef LT_DLLAZY_OR_NOW
10929 #  ifdef RTLD_LAZY
10930 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10931 #  else
10932 #    ifdef DL_LAZY
10933 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10934 #    else
10935 #      ifdef RTLD_NOW
10936 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10937 #      else
10938 #        ifdef DL_NOW
10939 #          define LT_DLLAZY_OR_NOW      DL_NOW
10940 #        else
10941 #          define LT_DLLAZY_OR_NOW      0
10942 #        endif
10943 #      endif
10944 #    endif
10945 #  endif
10946 #endif
10947
10948 /* When -fvisbility=hidden is used, assume the code has been annotated
10949    correspondingly for the symbols needed.  */
10950 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10951 int fnord () __attribute__((visibility("default")));
10952 #endif
10953
10954 int fnord () { return 42; }
10955 int main ()
10956 {
10957   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10958   int status = $lt_dlunknown;
10959
10960   if (self)
10961     {
10962       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10963       else
10964         {
10965           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10966           else puts (dlerror ());
10967         }
10968       /* dlclose (self); */
10969     }
10970   else
10971     puts (dlerror ());
10972
10973   return status;
10974 }
10975 _LT_EOF
10976   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10977   (eval $ac_link) 2>&5
10978   ac_status=$?
10979   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10980   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10981     (./conftest; exit; ) >&5 2>/dev/null
10982     lt_status=$?
10983     case x$lt_status in
10984       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10985       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10986       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10987     esac
10988   else :
10989     # compilation failed
10990     lt_cv_dlopen_self=no
10991   fi
10992 fi
10993 rm -fr conftest*
10994
10995
10996 fi
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10998 $as_echo "$lt_cv_dlopen_self" >&6; }
10999
11000     if test "x$lt_cv_dlopen_self" = xyes; then
11001       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11002       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11003 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11004 if ${lt_cv_dlopen_self_static+:} false; then :
11005   $as_echo_n "(cached) " >&6
11006 else
11007           if test "$cross_compiling" = yes; then :
11008   lt_cv_dlopen_self_static=cross
11009 else
11010   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11011   lt_status=$lt_dlunknown
11012   cat > conftest.$ac_ext <<_LT_EOF
11013 #line $LINENO "configure"
11014 #include "confdefs.h"
11015
11016 #if HAVE_DLFCN_H
11017 #include <dlfcn.h>
11018 #endif
11019
11020 #include <stdio.h>
11021
11022 #ifdef RTLD_GLOBAL
11023 #  define LT_DLGLOBAL           RTLD_GLOBAL
11024 #else
11025 #  ifdef DL_GLOBAL
11026 #    define LT_DLGLOBAL         DL_GLOBAL
11027 #  else
11028 #    define LT_DLGLOBAL         0
11029 #  endif
11030 #endif
11031
11032 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11033    find out it does not work in some platform. */
11034 #ifndef LT_DLLAZY_OR_NOW
11035 #  ifdef RTLD_LAZY
11036 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11037 #  else
11038 #    ifdef DL_LAZY
11039 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11040 #    else
11041 #      ifdef RTLD_NOW
11042 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11043 #      else
11044 #        ifdef DL_NOW
11045 #          define LT_DLLAZY_OR_NOW      DL_NOW
11046 #        else
11047 #          define LT_DLLAZY_OR_NOW      0
11048 #        endif
11049 #      endif
11050 #    endif
11051 #  endif
11052 #endif
11053
11054 /* When -fvisbility=hidden is used, assume the code has been annotated
11055    correspondingly for the symbols needed.  */
11056 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11057 int fnord () __attribute__((visibility("default")));
11058 #endif
11059
11060 int fnord () { return 42; }
11061 int main ()
11062 {
11063   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11064   int status = $lt_dlunknown;
11065
11066   if (self)
11067     {
11068       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11069       else
11070         {
11071           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11072           else puts (dlerror ());
11073         }
11074       /* dlclose (self); */
11075     }
11076   else
11077     puts (dlerror ());
11078
11079   return status;
11080 }
11081 _LT_EOF
11082   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11083   (eval $ac_link) 2>&5
11084   ac_status=$?
11085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11086   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11087     (./conftest; exit; ) >&5 2>/dev/null
11088     lt_status=$?
11089     case x$lt_status in
11090       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11091       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11092       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11093     esac
11094   else :
11095     # compilation failed
11096     lt_cv_dlopen_self_static=no
11097   fi
11098 fi
11099 rm -fr conftest*
11100
11101
11102 fi
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11104 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11105     fi
11106
11107     CPPFLAGS="$save_CPPFLAGS"
11108     LDFLAGS="$save_LDFLAGS"
11109     LIBS="$save_LIBS"
11110     ;;
11111   esac
11112
11113   case $lt_cv_dlopen_self in
11114   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11115   *) enable_dlopen_self=unknown ;;
11116   esac
11117
11118   case $lt_cv_dlopen_self_static in
11119   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11120   *) enable_dlopen_self_static=unknown ;;
11121   esac
11122 fi
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140 striplib=
11141 old_striplib=
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11143 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11144 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11145   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11146   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11148 $as_echo "yes" >&6; }
11149 else
11150 # FIXME - insert some real tests, host_os isn't really good enough
11151   case $host_os in
11152   darwin*)
11153     if test -n "$STRIP" ; then
11154       striplib="$STRIP -x"
11155       old_striplib="$STRIP -S"
11156       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11157 $as_echo "yes" >&6; }
11158     else
11159       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11160 $as_echo "no" >&6; }
11161     fi
11162     ;;
11163   *)
11164     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11165 $as_echo "no" >&6; }
11166     ;;
11167   esac
11168 fi
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181   # Report which library types will actually be built
11182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11183 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11185 $as_echo "$can_build_shared" >&6; }
11186
11187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11188 $as_echo_n "checking whether to build shared libraries... " >&6; }
11189   test "$can_build_shared" = "no" && enable_shared=no
11190
11191   # On AIX, shared libraries and static libraries use the same namespace, and
11192   # are all built from PIC.
11193   case $host_os in
11194   aix3*)
11195     test "$enable_shared" = yes && enable_static=no
11196     if test -n "$RANLIB"; then
11197       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11198       postinstall_cmds='$RANLIB $lib'
11199     fi
11200     ;;
11201
11202   aix[4-9]*)
11203     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11204       test "$enable_shared" = yes && enable_static=no
11205     fi
11206     ;;
11207   esac
11208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11209 $as_echo "$enable_shared" >&6; }
11210
11211   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11212 $as_echo_n "checking whether to build static libraries... " >&6; }
11213   # Make sure either enable_shared or enable_static is yes.
11214   test "$enable_shared" = yes || enable_static=yes
11215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11216 $as_echo "$enable_static" >&6; }
11217
11218
11219
11220
11221 fi
11222 ac_ext=c
11223 ac_cpp='$CPP $CPPFLAGS'
11224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11227
11228 CC="$lt_save_CC"
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242         ac_config_commands="$ac_config_commands libtool"
11243
11244
11245
11246
11247 # Only expand once:
11248
11249
11250
11251 ac_ext=c
11252 ac_cpp='$CPP $CPPFLAGS'
11253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11256 if test -n "$ac_tool_prefix"; then
11257   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11258 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11260 $as_echo_n "checking for $ac_word... " >&6; }
11261 if ${ac_cv_prog_CC+:} false; then :
11262   $as_echo_n "(cached) " >&6
11263 else
11264   if test -n "$CC"; then
11265   ac_cv_prog_CC="$CC" # Let the user override the test.
11266 else
11267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11268 for as_dir in $PATH
11269 do
11270   IFS=$as_save_IFS
11271   test -z "$as_dir" && as_dir=.
11272     for ac_exec_ext in '' $ac_executable_extensions; do
11273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11274     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11276     break 2
11277   fi
11278 done
11279   done
11280 IFS=$as_save_IFS
11281
11282 fi
11283 fi
11284 CC=$ac_cv_prog_CC
11285 if test -n "$CC"; then
11286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11287 $as_echo "$CC" >&6; }
11288 else
11289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11290 $as_echo "no" >&6; }
11291 fi
11292
11293
11294 fi
11295 if test -z "$ac_cv_prog_CC"; then
11296   ac_ct_CC=$CC
11297   # Extract the first word of "gcc", so it can be a program name with args.
11298 set dummy gcc; ac_word=$2
11299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11300 $as_echo_n "checking for $ac_word... " >&6; }
11301 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11302   $as_echo_n "(cached) " >&6
11303 else
11304   if test -n "$ac_ct_CC"; then
11305   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11306 else
11307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11308 for as_dir in $PATH
11309 do
11310   IFS=$as_save_IFS
11311   test -z "$as_dir" && as_dir=.
11312     for ac_exec_ext in '' $ac_executable_extensions; do
11313   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11314     ac_cv_prog_ac_ct_CC="gcc"
11315     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11316     break 2
11317   fi
11318 done
11319   done
11320 IFS=$as_save_IFS
11321
11322 fi
11323 fi
11324 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11325 if test -n "$ac_ct_CC"; then
11326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11327 $as_echo "$ac_ct_CC" >&6; }
11328 else
11329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11330 $as_echo "no" >&6; }
11331 fi
11332
11333   if test "x$ac_ct_CC" = x; then
11334     CC=""
11335   else
11336     case $cross_compiling:$ac_tool_warned in
11337 yes:)
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11339 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11340 ac_tool_warned=yes ;;
11341 esac
11342     CC=$ac_ct_CC
11343   fi
11344 else
11345   CC="$ac_cv_prog_CC"
11346 fi
11347
11348 if test -z "$CC"; then
11349           if test -n "$ac_tool_prefix"; then
11350     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11351 set dummy ${ac_tool_prefix}cc; ac_word=$2
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11353 $as_echo_n "checking for $ac_word... " >&6; }
11354 if ${ac_cv_prog_CC+:} false; then :
11355   $as_echo_n "(cached) " >&6
11356 else
11357   if test -n "$CC"; then
11358   ac_cv_prog_CC="$CC" # Let the user override the test.
11359 else
11360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11361 for as_dir in $PATH
11362 do
11363   IFS=$as_save_IFS
11364   test -z "$as_dir" && as_dir=.
11365     for ac_exec_ext in '' $ac_executable_extensions; do
11366   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11367     ac_cv_prog_CC="${ac_tool_prefix}cc"
11368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11369     break 2
11370   fi
11371 done
11372   done
11373 IFS=$as_save_IFS
11374
11375 fi
11376 fi
11377 CC=$ac_cv_prog_CC
11378 if test -n "$CC"; then
11379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11380 $as_echo "$CC" >&6; }
11381 else
11382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11383 $as_echo "no" >&6; }
11384 fi
11385
11386
11387   fi
11388 fi
11389 if test -z "$CC"; then
11390   # Extract the first word of "cc", so it can be a program name with args.
11391 set dummy cc; ac_word=$2
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11393 $as_echo_n "checking for $ac_word... " >&6; }
11394 if ${ac_cv_prog_CC+:} false; then :
11395   $as_echo_n "(cached) " >&6
11396 else
11397   if test -n "$CC"; then
11398   ac_cv_prog_CC="$CC" # Let the user override the test.
11399 else
11400   ac_prog_rejected=no
11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11402 for as_dir in $PATH
11403 do
11404   IFS=$as_save_IFS
11405   test -z "$as_dir" && as_dir=.
11406     for ac_exec_ext in '' $ac_executable_extensions; do
11407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11408     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11409        ac_prog_rejected=yes
11410        continue
11411      fi
11412     ac_cv_prog_CC="cc"
11413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11414     break 2
11415   fi
11416 done
11417   done
11418 IFS=$as_save_IFS
11419
11420 if test $ac_prog_rejected = yes; then
11421   # We found a bogon in the path, so make sure we never use it.
11422   set dummy $ac_cv_prog_CC
11423   shift
11424   if test $# != 0; then
11425     # We chose a different compiler from the bogus one.
11426     # However, it has the same basename, so the bogon will be chosen
11427     # first if we set CC to just the basename; use the full file name.
11428     shift
11429     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11430   fi
11431 fi
11432 fi
11433 fi
11434 CC=$ac_cv_prog_CC
11435 if test -n "$CC"; then
11436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11437 $as_echo "$CC" >&6; }
11438 else
11439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11440 $as_echo "no" >&6; }
11441 fi
11442
11443
11444 fi
11445 if test -z "$CC"; then
11446   if test -n "$ac_tool_prefix"; then
11447   for ac_prog in cl.exe
11448   do
11449     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11452 $as_echo_n "checking for $ac_word... " >&6; }
11453 if ${ac_cv_prog_CC+:} false; then :
11454   $as_echo_n "(cached) " >&6
11455 else
11456   if test -n "$CC"; then
11457   ac_cv_prog_CC="$CC" # Let the user override the test.
11458 else
11459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11460 for as_dir in $PATH
11461 do
11462   IFS=$as_save_IFS
11463   test -z "$as_dir" && as_dir=.
11464     for ac_exec_ext in '' $ac_executable_extensions; do
11465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11466     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11468     break 2
11469   fi
11470 done
11471   done
11472 IFS=$as_save_IFS
11473
11474 fi
11475 fi
11476 CC=$ac_cv_prog_CC
11477 if test -n "$CC"; then
11478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11479 $as_echo "$CC" >&6; }
11480 else
11481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11482 $as_echo "no" >&6; }
11483 fi
11484
11485
11486     test -n "$CC" && break
11487   done
11488 fi
11489 if test -z "$CC"; then
11490   ac_ct_CC=$CC
11491   for ac_prog in cl.exe
11492 do
11493   # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy $ac_prog; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11496 $as_echo_n "checking for $ac_word... " >&6; }
11497 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11498   $as_echo_n "(cached) " >&6
11499 else
11500   if test -n "$ac_ct_CC"; then
11501   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11502 else
11503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11504 for as_dir in $PATH
11505 do
11506   IFS=$as_save_IFS
11507   test -z "$as_dir" && as_dir=.
11508     for ac_exec_ext in '' $ac_executable_extensions; do
11509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11510     ac_cv_prog_ac_ct_CC="$ac_prog"
11511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11512     break 2
11513   fi
11514 done
11515   done
11516 IFS=$as_save_IFS
11517
11518 fi
11519 fi
11520 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11521 if test -n "$ac_ct_CC"; then
11522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11523 $as_echo "$ac_ct_CC" >&6; }
11524 else
11525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11526 $as_echo "no" >&6; }
11527 fi
11528
11529
11530   test -n "$ac_ct_CC" && break
11531 done
11532
11533   if test "x$ac_ct_CC" = x; then
11534     CC=""
11535   else
11536     case $cross_compiling:$ac_tool_warned in
11537 yes:)
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11540 ac_tool_warned=yes ;;
11541 esac
11542     CC=$ac_ct_CC
11543   fi
11544 fi
11545
11546 fi
11547
11548
11549 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11551 as_fn_error $? "no acceptable C compiler found in \$PATH
11552 See \`config.log' for more details" "$LINENO" 5; }
11553
11554 # Provide some information about the compiler.
11555 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11556 set X $ac_compile
11557 ac_compiler=$2
11558 for ac_option in --version -v -V -qversion; do
11559   { { ac_try="$ac_compiler $ac_option >&5"
11560 case "(($ac_try" in
11561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562   *) ac_try_echo=$ac_try;;
11563 esac
11564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11565 $as_echo "$ac_try_echo"; } >&5
11566   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11567   ac_status=$?
11568   if test -s conftest.err; then
11569     sed '10a\
11570 ... rest of stderr output deleted ...
11571          10q' conftest.err >conftest.er1
11572     cat conftest.er1 >&5
11573   fi
11574   rm -f conftest.er1 conftest.err
11575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11576   test $ac_status = 0; }
11577 done
11578
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11580 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11581 if ${ac_cv_c_compiler_gnu+:} false; then :
11582   $as_echo_n "(cached) " >&6
11583 else
11584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11585 /* end confdefs.h.  */
11586
11587 int
11588 main ()
11589 {
11590 #ifndef __GNUC__
11591        choke me
11592 #endif
11593
11594   ;
11595   return 0;
11596 }
11597 _ACEOF
11598 if ac_fn_c_try_compile "$LINENO"; then :
11599   ac_compiler_gnu=yes
11600 else
11601   ac_compiler_gnu=no
11602 fi
11603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11604 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11605
11606 fi
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11608 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11609 if test $ac_compiler_gnu = yes; then
11610   GCC=yes
11611 else
11612   GCC=
11613 fi
11614 ac_test_CFLAGS=${CFLAGS+set}
11615 ac_save_CFLAGS=$CFLAGS
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11617 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11618 if ${ac_cv_prog_cc_g+:} false; then :
11619   $as_echo_n "(cached) " >&6
11620 else
11621   ac_save_c_werror_flag=$ac_c_werror_flag
11622    ac_c_werror_flag=yes
11623    ac_cv_prog_cc_g=no
11624    CFLAGS="-g"
11625    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h.  */
11627
11628 int
11629 main ()
11630 {
11631
11632   ;
11633   return 0;
11634 }
11635 _ACEOF
11636 if ac_fn_c_try_compile "$LINENO"; then :
11637   ac_cv_prog_cc_g=yes
11638 else
11639   CFLAGS=""
11640       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11641 /* end confdefs.h.  */
11642
11643 int
11644 main ()
11645 {
11646
11647   ;
11648   return 0;
11649 }
11650 _ACEOF
11651 if ac_fn_c_try_compile "$LINENO"; then :
11652
11653 else
11654   ac_c_werror_flag=$ac_save_c_werror_flag
11655          CFLAGS="-g"
11656          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h.  */
11658
11659 int
11660 main ()
11661 {
11662
11663   ;
11664   return 0;
11665 }
11666 _ACEOF
11667 if ac_fn_c_try_compile "$LINENO"; then :
11668   ac_cv_prog_cc_g=yes
11669 fi
11670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11671 fi
11672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11673 fi
11674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11675    ac_c_werror_flag=$ac_save_c_werror_flag
11676 fi
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11678 $as_echo "$ac_cv_prog_cc_g" >&6; }
11679 if test "$ac_test_CFLAGS" = set; then
11680   CFLAGS=$ac_save_CFLAGS
11681 elif test $ac_cv_prog_cc_g = yes; then
11682   if test "$GCC" = yes; then
11683     CFLAGS="-g -O2"
11684   else
11685     CFLAGS="-g"
11686   fi
11687 else
11688   if test "$GCC" = yes; then
11689     CFLAGS="-O2"
11690   else
11691     CFLAGS=
11692   fi
11693 fi
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11695 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11696 if ${ac_cv_prog_cc_c89+:} false; then :
11697   $as_echo_n "(cached) " >&6
11698 else
11699   ac_cv_prog_cc_c89=no
11700 ac_save_CC=$CC
11701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702 /* end confdefs.h.  */
11703 #include <stdarg.h>
11704 #include <stdio.h>
11705 #include <sys/types.h>
11706 #include <sys/stat.h>
11707 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11708 struct buf { int x; };
11709 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11710 static char *e (p, i)
11711      char **p;
11712      int i;
11713 {
11714   return p[i];
11715 }
11716 static char *f (char * (*g) (char **, int), char **p, ...)
11717 {
11718   char *s;
11719   va_list v;
11720   va_start (v,p);
11721   s = g (p, va_arg (v,int));
11722   va_end (v);
11723   return s;
11724 }
11725
11726 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11727    function prototypes and stuff, but not '\xHH' hex character constants.
11728    These don't provoke an error unfortunately, instead are silently treated
11729    as 'x'.  The following induces an error, until -std is added to get
11730    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11731    array size at least.  It's necessary to write '\x00'==0 to get something
11732    that's true only with -std.  */
11733 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11734
11735 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11736    inside strings and character constants.  */
11737 #define FOO(x) 'x'
11738 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11739
11740 int test (int i, double x);
11741 struct s1 {int (*f) (int a);};
11742 struct s2 {int (*f) (double a);};
11743 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11744 int argc;
11745 char **argv;
11746 int
11747 main ()
11748 {
11749 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11750   ;
11751   return 0;
11752 }
11753 _ACEOF
11754 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11755         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11756 do
11757   CC="$ac_save_CC $ac_arg"
11758   if ac_fn_c_try_compile "$LINENO"; then :
11759   ac_cv_prog_cc_c89=$ac_arg
11760 fi
11761 rm -f core conftest.err conftest.$ac_objext
11762   test "x$ac_cv_prog_cc_c89" != "xno" && break
11763 done
11764 rm -f conftest.$ac_ext
11765 CC=$ac_save_CC
11766
11767 fi
11768 # AC_CACHE_VAL
11769 case "x$ac_cv_prog_cc_c89" in
11770   x)
11771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11772 $as_echo "none needed" >&6; } ;;
11773   xno)
11774     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11775 $as_echo "unsupported" >&6; } ;;
11776   *)
11777     CC="$CC $ac_cv_prog_cc_c89"
11778     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11779 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11780 esac
11781 if test "x$ac_cv_prog_cc_c89" != xno; then :
11782
11783 fi
11784
11785 ac_ext=c
11786 ac_cpp='$CPP $CPPFLAGS'
11787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11790
11791 depcc="$CC"   am_compiler_list=
11792
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11794 $as_echo_n "checking dependency style of $depcc... " >&6; }
11795 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11796   $as_echo_n "(cached) " >&6
11797 else
11798   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11799   # We make a subdir and do the tests there.  Otherwise we can end up
11800   # making bogus files that we don't know about and never remove.  For
11801   # instance it was reported that on HP-UX the gcc test will end up
11802   # making a dummy file named `D' -- because `-MD' means `put the output
11803   # in D'.
11804   mkdir conftest.dir
11805   # Copy depcomp to subdir because otherwise we won't find it if we're
11806   # using a relative directory.
11807   cp "$am_depcomp" conftest.dir
11808   cd conftest.dir
11809   # We will build objects and dependencies in a subdirectory because
11810   # it helps to detect inapplicable dependency modes.  For instance
11811   # both Tru64's cc and ICC support -MD to output dependencies as a
11812   # side effect of compilation, but ICC will put the dependencies in
11813   # the current directory while Tru64 will put them in the object
11814   # directory.
11815   mkdir sub
11816
11817   am_cv_CC_dependencies_compiler_type=none
11818   if test "$am_compiler_list" = ""; then
11819      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11820   fi
11821   am__universal=false
11822   case " $depcc " in #(
11823      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11824      esac
11825
11826   for depmode in $am_compiler_list; do
11827     # Setup a source with many dependencies, because some compilers
11828     # like to wrap large dependency lists on column 80 (with \), and
11829     # we should not choose a depcomp mode which is confused by this.
11830     #
11831     # We need to recreate these files for each test, as the compiler may
11832     # overwrite some of them when testing with obscure command lines.
11833     # This happens at least with the AIX C compiler.
11834     : > sub/conftest.c
11835     for i in 1 2 3 4 5 6; do
11836       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11837       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11838       # Solaris 8's {/usr,}/bin/sh.
11839       touch sub/conftst$i.h
11840     done
11841     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11842
11843     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11844     # mode.  It turns out that the SunPro C++ compiler does not properly
11845     # handle `-M -o', and we need to detect this.  Also, some Intel
11846     # versions had trouble with output in subdirs
11847     am__obj=sub/conftest.${OBJEXT-o}
11848     am__minus_obj="-o $am__obj"
11849     case $depmode in
11850     gcc)
11851       # This depmode causes a compiler race in universal mode.
11852       test "$am__universal" = false || continue
11853       ;;
11854     nosideeffect)
11855       # after this tag, mechanisms are not by side-effect, so they'll
11856       # only be used when explicitly requested
11857       if test "x$enable_dependency_tracking" = xyes; then
11858         continue
11859       else
11860         break
11861       fi
11862       ;;
11863     msvisualcpp | msvcmsys)
11864       # This compiler won't grok `-c -o', but also, the minuso test has
11865       # not run yet.  These depmodes are late enough in the game, and
11866       # so weak that their functioning should not be impacted.
11867       am__obj=conftest.${OBJEXT-o}
11868       am__minus_obj=
11869       ;;
11870     none) break ;;
11871     esac
11872     if depmode=$depmode \
11873        source=sub/conftest.c object=$am__obj \
11874        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11875        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11876          >/dev/null 2>conftest.err &&
11877        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11878        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11879        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11880        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11881       # icc doesn't choke on unknown options, it will just issue warnings
11882       # or remarks (even with -Werror).  So we grep stderr for any message
11883       # that says an option was ignored or not supported.
11884       # When given -MP, icc 7.0 and 7.1 complain thusly:
11885       #   icc: Command line warning: ignoring option '-M'; no argument required
11886       # The diagnosis changed in icc 8.0:
11887       #   icc: Command line remark: option '-MP' not supported
11888       if (grep 'ignoring option' conftest.err ||
11889           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11890         am_cv_CC_dependencies_compiler_type=$depmode
11891         break
11892       fi
11893     fi
11894   done
11895
11896   cd ..
11897   rm -rf conftest.dir
11898 else
11899   am_cv_CC_dependencies_compiler_type=none
11900 fi
11901
11902 fi
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11904 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11905 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11906
11907  if
11908   test "x$enable_dependency_tracking" != xno \
11909   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11910   am__fastdepCC_TRUE=
11911   am__fastdepCC_FALSE='#'
11912 else
11913   am__fastdepCC_TRUE='#'
11914   am__fastdepCC_FALSE=
11915 fi
11916
11917
11918
11919 # Checks for libraries.
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lapr-1" >&5
11921 $as_echo_n "checking for main in -lapr-1... " >&6; }
11922 if ${ac_cv_lib_apr_1_main+:} false; then :
11923   $as_echo_n "(cached) " >&6
11924 else
11925   ac_check_lib_save_LIBS=$LIBS
11926 LIBS="-lapr-1  $LIBS"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h.  */
11929
11930
11931 int
11932 main ()
11933 {
11934 return main ();
11935   ;
11936   return 0;
11937 }
11938 _ACEOF
11939 if ac_fn_c_try_link "$LINENO"; then :
11940   ac_cv_lib_apr_1_main=yes
11941 else
11942   ac_cv_lib_apr_1_main=no
11943 fi
11944 rm -f core conftest.err conftest.$ac_objext \
11945     conftest$ac_exeext conftest.$ac_ext
11946 LIBS=$ac_check_lib_save_LIBS
11947 fi
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_1_main" >&5
11949 $as_echo "$ac_cv_lib_apr_1_main" >&6; }
11950 if test "x$ac_cv_lib_apr_1_main" = xyes; then :
11951   cat >>confdefs.h <<_ACEOF
11952 #define HAVE_LIBAPR_1 1
11953 _ACEOF
11954
11955   LIBS="-lapr-1 $LIBS"
11956
11957 fi
11958
11959
11960 # Checks for header files.
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11962 $as_echo_n "checking for ANSI C header files... " >&6; }
11963 if ${ac_cv_header_stdc+:} false; then :
11964   $as_echo_n "(cached) " >&6
11965 else
11966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h.  */
11968 #include <stdlib.h>
11969 #include <stdarg.h>
11970 #include <string.h>
11971 #include <float.h>
11972
11973 int
11974 main ()
11975 {
11976
11977   ;
11978   return 0;
11979 }
11980 _ACEOF
11981 if ac_fn_c_try_compile "$LINENO"; then :
11982   ac_cv_header_stdc=yes
11983 else
11984   ac_cv_header_stdc=no
11985 fi
11986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11987
11988 if test $ac_cv_header_stdc = yes; then
11989   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h.  */
11992 #include <string.h>
11993
11994 _ACEOF
11995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11996   $EGREP "memchr" >/dev/null 2>&1; then :
11997
11998 else
11999   ac_cv_header_stdc=no
12000 fi
12001 rm -f conftest*
12002
12003 fi
12004
12005 if test $ac_cv_header_stdc = yes; then
12006   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h.  */
12009 #include <stdlib.h>
12010
12011 _ACEOF
12012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12013   $EGREP "free" >/dev/null 2>&1; then :
12014
12015 else
12016   ac_cv_header_stdc=no
12017 fi
12018 rm -f conftest*
12019
12020 fi
12021
12022 if test $ac_cv_header_stdc = yes; then
12023   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12024   if test "$cross_compiling" = yes; then :
12025   :
12026 else
12027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h.  */
12029 #include <ctype.h>
12030 #include <stdlib.h>
12031 #if ((' ' & 0x0FF) == 0x020)
12032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12034 #else
12035 # define ISLOWER(c) \
12036                    (('a' <= (c) && (c) <= 'i') \
12037                      || ('j' <= (c) && (c) <= 'r') \
12038                      || ('s' <= (c) && (c) <= 'z'))
12039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12040 #endif
12041
12042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12043 int
12044 main ()
12045 {
12046   int i;
12047   for (i = 0; i < 256; i++)
12048     if (XOR (islower (i), ISLOWER (i))
12049         || toupper (i) != TOUPPER (i))
12050       return 2;
12051   return 0;
12052 }
12053 _ACEOF
12054 if ac_fn_c_try_run "$LINENO"; then :
12055
12056 else
12057   ac_cv_header_stdc=no
12058 fi
12059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12060   conftest.$ac_objext conftest.beam conftest.$ac_ext
12061 fi
12062
12063 fi
12064 fi
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12066 $as_echo "$ac_cv_header_stdc" >&6; }
12067 if test $ac_cv_header_stdc = yes; then
12068
12069 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12070
12071 fi
12072
12073 for ac_header in string.h
12074 do :
12075   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_string_h" = xyes; then :
12077   cat >>confdefs.h <<_ACEOF
12078 #define HAVE_STRING_H 1
12079 _ACEOF
12080
12081 fi
12082
12083 done
12084
12085
12086
12087 # Check whether --with-apr-config was given.
12088 if test "${with_apr_config+set}" = set; then :
12089   withval=$with_apr_config;
12090 fi
12091
12092 if test "x$with_apr_config" = "xyes" ; then
12093     as_fn_error $? "
12094 Please specify the --with-apr-config option. And, please specify the place of the apr-config program.
12095 " "$LINENO" 5
12096 fi
12097
12098
12099 # Check whether --with-apu-config was given.
12100 if test "${with_apu_config+set}" = set; then :
12101   withval=$with_apu_config;
12102 fi
12103
12104 if test "x$with_apu_config" = "xyes" ; then
12105     as_fn_error $? "
12106 Please specify the --with-apu-config option. And, please specify the place of the apu-config program.
12107 " "$LINENO" 5
12108 fi
12109
12110 # Extract the first word of "libtool", so it can be a program name with args.
12111 set dummy libtool; ac_word=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12113 $as_echo_n "checking for $ac_word... " >&6; }
12114 if ${ac_cv_path_LIBTOOL+:} false; then :
12115   $as_echo_n "(cached) " >&6
12116 else
12117   case $LIBTOOL in
12118   [\\/]* | ?:[\\/]*)
12119   ac_cv_path_LIBTOOL="$LIBTOOL" # Let the user override the test with a path.
12120   ;;
12121   *)
12122   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12124 for as_dir in $as_dummy
12125 do
12126   IFS=$as_save_IFS
12127   test -z "$as_dir" && as_dir=.
12128     for ac_exec_ext in '' $ac_executable_extensions; do
12129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12130     ac_cv_path_LIBTOOL="$as_dir/$ac_word$ac_exec_ext"
12131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12132     break 2
12133   fi
12134 done
12135   done
12136 IFS=$as_save_IFS
12137
12138   test -z "$ac_cv_path_LIBTOOL" && ac_cv_path_LIBTOOL="no"
12139   ;;
12140 esac
12141 fi
12142 LIBTOOL=$ac_cv_path_LIBTOOL
12143 if test -n "$LIBTOOL"; then
12144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBTOOL" >&5
12145 $as_echo "$LIBTOOL" >&6; }
12146 else
12147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148 $as_echo "no" >&6; }
12149 fi
12150
12151
12152 if test "x$LIBTOOL" = "xno"; then
12153     as_fn_error $? "libtool not found." "$LINENO" 5
12154 fi
12155
12156
12157 if test "x$with_apr_config" = "x" ; then
12158   # Extract the first word of "apr-config", so it can be a program name with args.
12159 set dummy apr-config; ac_word=$2
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12161 $as_echo_n "checking for $ac_word... " >&6; }
12162 if ${ac_cv_path_APR_CONFIG+:} false; then :
12163   $as_echo_n "(cached) " >&6
12164 else
12165   case $APR_CONFIG in
12166   [\\/]* | ?:[\\/]*)
12167   ac_cv_path_APR_CONFIG="$APR_CONFIG" # Let the user override the test with a path.
12168   ;;
12169   *)
12170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12171 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12172 for as_dir in $as_dummy
12173 do
12174   IFS=$as_save_IFS
12175   test -z "$as_dir" && as_dir=.
12176     for ac_exec_ext in '' $ac_executable_extensions; do
12177   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12178     ac_cv_path_APR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12179     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12180     break 2
12181   fi
12182 done
12183   done
12184 IFS=$as_save_IFS
12185
12186   test -z "$ac_cv_path_APR_CONFIG" && ac_cv_path_APR_CONFIG="no"
12187   ;;
12188 esac
12189 fi
12190 APR_CONFIG=$ac_cv_path_APR_CONFIG
12191 if test -n "$APR_CONFIG"; then
12192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_CONFIG" >&5
12193 $as_echo "$APR_CONFIG" >&6; }
12194 else
12195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196 $as_echo "no" >&6; }
12197 fi
12198
12199
12200   if test "x$APR_CONFIG" = "xno" ; then
12201     # Extract the first word of "apr-1-config", so it can be a program name with args.
12202 set dummy apr-1-config; ac_word=$2
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12204 $as_echo_n "checking for $ac_word... " >&6; }
12205 if ${ac_cv_path_APR_1_CONFIG+:} false; then :
12206   $as_echo_n "(cached) " >&6
12207 else
12208   case $APR_1_CONFIG in
12209   [\\/]* | ?:[\\/]*)
12210   ac_cv_path_APR_1_CONFIG="$APR_1_CONFIG" # Let the user override the test with a path.
12211   ;;
12212   *)
12213   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12214 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12215 for as_dir in $as_dummy
12216 do
12217   IFS=$as_save_IFS
12218   test -z "$as_dir" && as_dir=.
12219     for ac_exec_ext in '' $ac_executable_extensions; do
12220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12221     ac_cv_path_APR_1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12223     break 2
12224   fi
12225 done
12226   done
12227 IFS=$as_save_IFS
12228
12229   test -z "$ac_cv_path_APR_1_CONFIG" && ac_cv_path_APR_1_CONFIG="no"
12230   ;;
12231 esac
12232 fi
12233 APR_1_CONFIG=$ac_cv_path_APR_1_CONFIG
12234 if test -n "$APR_1_CONFIG"; then
12235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APR_1_CONFIG" >&5
12236 $as_echo "$APR_1_CONFIG" >&6; }
12237 else
12238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12239 $as_echo "no" >&6; }
12240 fi
12241
12242
12243     if test "x$APR_1_CONFIG" = "xno" ; then
12244       as_fn_error $? "apr-config and apr-1-config not found." "$LINENO" 5
12245     else
12246       APR_CONFIG="$APR_1_CONFIG"
12247     fi
12248   fi
12249 fi
12250 if test "x$with_apr_config" != "x" ; then
12251   APR_CONFIG=$with_apr_config
12252 fi
12253 if test "x$with_apu_config" = "x" ; then
12254   # Extract the first word of "apu-config", so it can be a program name with args.
12255 set dummy apu-config; ac_word=$2
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12257 $as_echo_n "checking for $ac_word... " >&6; }
12258 if ${ac_cv_path_APU_CONFIG+:} false; then :
12259   $as_echo_n "(cached) " >&6
12260 else
12261   case $APU_CONFIG in
12262   [\\/]* | ?:[\\/]*)
12263   ac_cv_path_APU_CONFIG="$APU_CONFIG" # Let the user override the test with a path.
12264   ;;
12265   *)
12266   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12267 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12268 for as_dir in $as_dummy
12269 do
12270   IFS=$as_save_IFS
12271   test -z "$as_dir" && as_dir=.
12272     for ac_exec_ext in '' $ac_executable_extensions; do
12273   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12274     ac_cv_path_APU_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12276     break 2
12277   fi
12278 done
12279   done
12280 IFS=$as_save_IFS
12281
12282   test -z "$ac_cv_path_APU_CONFIG" && ac_cv_path_APU_CONFIG="no"
12283   ;;
12284 esac
12285 fi
12286 APU_CONFIG=$ac_cv_path_APU_CONFIG
12287 if test -n "$APU_CONFIG"; then
12288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_CONFIG" >&5
12289 $as_echo "$APU_CONFIG" >&6; }
12290 else
12291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12292 $as_echo "no" >&6; }
12293 fi
12294
12295
12296   if test "x$APU_CONFIG" = "xno" ; then
12297     # Extract the first word of "apu-1-config", so it can be a program name with args.
12298 set dummy apu-1-config; ac_word=$2
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12300 $as_echo_n "checking for $ac_word... " >&6; }
12301 if ${ac_cv_path_APU_1_CONFIG+:} false; then :
12302   $as_echo_n "(cached) " >&6
12303 else
12304   case $APU_1_CONFIG in
12305   [\\/]* | ?:[\\/]*)
12306   ac_cv_path_APU_1_CONFIG="$APU_1_CONFIG" # Let the user override the test with a path.
12307   ;;
12308   *)
12309   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 as_dummy="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
12311 for as_dir in $as_dummy
12312 do
12313   IFS=$as_save_IFS
12314   test -z "$as_dir" && as_dir=.
12315     for ac_exec_ext in '' $ac_executable_extensions; do
12316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12317     ac_cv_path_APU_1_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12318     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12319     break 2
12320   fi
12321 done
12322   done
12323 IFS=$as_save_IFS
12324
12325   test -z "$ac_cv_path_APU_1_CONFIG" && ac_cv_path_APU_1_CONFIG="no"
12326   ;;
12327 esac
12328 fi
12329 APU_1_CONFIG=$ac_cv_path_APU_1_CONFIG
12330 if test -n "$APU_1_CONFIG"; then
12331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APU_1_CONFIG" >&5
12332 $as_echo "$APU_1_CONFIG" >&6; }
12333 else
12334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12335 $as_echo "no" >&6; }
12336 fi
12337
12338
12339     if test "x$APU_1_CONFIG" = "xno" ; then
12340       as_fn_error $? "apu-config and apu-1-config not found." "$LINENO" 5
12341     else
12342       APU_CONFIG="$APU_1_CONFIG"
12343     fi
12344   fi
12345 fi
12346 if test "x$with_apu_config" != "x" ; then
12347   APU_CONFIG=$with_apu_config
12348 fi
12349
12350
12351 if test "x$with_apu_config" != "x" ; then
12352   APU_CONFIG=$with_apu_config
12353 fi
12354
12355 # Checks for typedefs, structures, and compiler characteristics.
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12357 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12358 if ${ac_cv_c_const+:} false; then :
12359   $as_echo_n "(cached) " >&6
12360 else
12361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h.  */
12363
12364 int
12365 main ()
12366 {
12367 /* FIXME: Include the comments suggested by Paul. */
12368 #ifndef __cplusplus
12369   /* Ultrix mips cc rejects this.  */
12370   typedef int charset[2];
12371   const charset cs;
12372   /* SunOS 4.1.1 cc rejects this.  */
12373   char const *const *pcpcc;
12374   char **ppc;
12375   /* NEC SVR4.0.2 mips cc rejects this.  */
12376   struct point {int x, y;};
12377   static struct point const zero = {0,0};
12378   /* AIX XL C 1.02.0.0 rejects this.
12379      It does not let you subtract one const X* pointer from another in
12380      an arm of an if-expression whose if-part is not a constant
12381      expression */
12382   const char *g = "string";
12383   pcpcc = &g + (g ? g-g : 0);
12384   /* HPUX 7.0 cc rejects these. */
12385   ++pcpcc;
12386   ppc = (char**) pcpcc;
12387   pcpcc = (char const *const *) ppc;
12388   { /* SCO 3.2v4 cc rejects this.  */
12389     char *t;
12390     char const *s = 0 ? (char *) 0 : (char const *) 0;
12391
12392     *t++ = 0;
12393     if (s) return 0;
12394   }
12395   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12396     int x[] = {25, 17};
12397     const int *foo = &x[0];
12398     ++foo;
12399   }
12400   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12401     typedef const int *iptr;
12402     iptr p = 0;
12403     ++p;
12404   }
12405   { /* AIX XL C 1.02.0.0 rejects this saying
12406        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12407     struct s { int j; const int *ap[3]; };
12408     struct s *b; b->j = 5;
12409   }
12410   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12411     const int foo = 10;
12412     if (!foo) return 0;
12413   }
12414   return !cs[0] && !zero.x;
12415 #endif
12416
12417   ;
12418   return 0;
12419 }
12420 _ACEOF
12421 if ac_fn_c_try_compile "$LINENO"; then :
12422   ac_cv_c_const=yes
12423 else
12424   ac_cv_c_const=no
12425 fi
12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12427 fi
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12429 $as_echo "$ac_cv_c_const" >&6; }
12430 if test $ac_cv_c_const = no; then
12431
12432 $as_echo "#define const /**/" >>confdefs.h
12433
12434 fi
12435
12436
12437 # Checks for library functions.
12438 for ac_func in memset strcasecmp strncasecmp
12439 do :
12440   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12443   cat >>confdefs.h <<_ACEOF
12444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12445 _ACEOF
12446
12447 fi
12448 done
12449
12450
12451 CFLAGS="${CFLAGS} -DLIBICONV_PLUG -l/usr/local/include "
12452 LIBS="${LIBS} `${APR_CONFIG} --ldflags` `${APR_CONFIG} --libs` "
12453 LIBS="${LIBS} `${APU_CONFIG} --ldflags` `${APU_CONFIG} --libs` "
12454 CFLAGS="${CFLAGS} `${APR_CONFIG} --includes` `${APR_CONFIG} --cflags` `${APR_CONFIG} --cppflags`"
12455 CFLAGS="${CFLAGS} `${APU_CONFIG} --includes`"
12456
12457
12458
12459
12460
12461
12462
12463 ac_config_files="$ac_config_files Makefile src/Makefile"
12464
12465 cat >confcache <<\_ACEOF
12466 # This file is a shell script that caches the results of configure
12467 # tests run on this system so they can be shared between configure
12468 # scripts and configure runs, see configure's option --config-cache.
12469 # It is not useful on other systems.  If it contains results you don't
12470 # want to keep, you may remove or edit it.
12471 #
12472 # config.status only pays attention to the cache file if you give it
12473 # the --recheck option to rerun configure.
12474 #
12475 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12476 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12477 # following values.
12478
12479 _ACEOF
12480
12481 # The following way of writing the cache mishandles newlines in values,
12482 # but we know of no workaround that is simple, portable, and efficient.
12483 # So, we kill variables containing newlines.
12484 # Ultrix sh set writes to stderr and can't be redirected directly,
12485 # and sets the high bit in the cache file unless we assign to the vars.
12486 (
12487   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12488     eval ac_val=\$$ac_var
12489     case $ac_val in #(
12490     *${as_nl}*)
12491       case $ac_var in #(
12492       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12493 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12494       esac
12495       case $ac_var in #(
12496       _ | IFS | as_nl) ;; #(
12497       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12498       *) { eval $ac_var=; unset $ac_var;} ;;
12499       esac ;;
12500     esac
12501   done
12502
12503   (set) 2>&1 |
12504     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12505     *${as_nl}ac_space=\ *)
12506       # `set' does not quote correctly, so add quotes: double-quote
12507       # substitution turns \\\\ into \\, and sed turns \\ into \.
12508       sed -n \
12509         "s/'/'\\\\''/g;
12510           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12511       ;; #(
12512     *)
12513       # `set' quotes correctly as required by POSIX, so do not add quotes.
12514       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12515       ;;
12516     esac |
12517     sort
12518 ) |
12519   sed '
12520      /^ac_cv_env_/b end
12521      t clear
12522      :clear
12523      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12524      t end
12525      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12526      :end' >>confcache
12527 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12528   if test -w "$cache_file"; then
12529     if test "x$cache_file" != "x/dev/null"; then
12530       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12531 $as_echo "$as_me: updating cache $cache_file" >&6;}
12532       if test ! -f "$cache_file" || test -h "$cache_file"; then
12533         cat confcache >"$cache_file"
12534       else
12535         case $cache_file in #(
12536         */* | ?:*)
12537           mv -f confcache "$cache_file"$$ &&
12538           mv -f "$cache_file"$$ "$cache_file" ;; #(
12539         *)
12540           mv -f confcache "$cache_file" ;;
12541         esac
12542       fi
12543     fi
12544   else
12545     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12546 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12547   fi
12548 fi
12549 rm -f confcache
12550
12551 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12552 # Let make expand exec_prefix.
12553 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12554
12555 DEFS=-DHAVE_CONFIG_H
12556
12557 ac_libobjs=
12558 ac_ltlibobjs=
12559 U=
12560 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12561   # 1. Remove the extension, and $U if already installed.
12562   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12563   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12564   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12565   #    will be set to the directory where LIBOBJS objects are built.
12566   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12567   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12568 done
12569 LIBOBJS=$ac_libobjs
12570
12571 LTLIBOBJS=$ac_ltlibobjs
12572
12573
12574  if test -n "$EXEEXT"; then
12575   am__EXEEXT_TRUE=
12576   am__EXEEXT_FALSE='#'
12577 else
12578   am__EXEEXT_TRUE='#'
12579   am__EXEEXT_FALSE=
12580 fi
12581
12582 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12583   as_fn_error $? "conditional \"AMDEP\" was never defined.
12584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12585 fi
12586 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12587   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12589 fi
12590 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12591   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12593 fi
12594
12595 : "${CONFIG_STATUS=./config.status}"
12596 ac_write_fail=0
12597 ac_clean_files_save=$ac_clean_files
12598 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12600 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12601 as_write_fail=0
12602 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12603 #! $SHELL
12604 # Generated by $as_me.
12605 # Run this file to recreate the current configuration.
12606 # Compiler output produced by configure, useful for debugging
12607 # configure, is in config.log if it exists.
12608
12609 debug=false
12610 ac_cs_recheck=false
12611 ac_cs_silent=false
12612
12613 SHELL=\${CONFIG_SHELL-$SHELL}
12614 export SHELL
12615 _ASEOF
12616 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12617 ## -------------------- ##
12618 ## M4sh Initialization. ##
12619 ## -------------------- ##
12620
12621 # Be more Bourne compatible
12622 DUALCASE=1; export DUALCASE # for MKS sh
12623 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12624   emulate sh
12625   NULLCMD=:
12626   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12627   # is contrary to our usage.  Disable this feature.
12628   alias -g '${1+"$@"}'='"$@"'
12629   setopt NO_GLOB_SUBST
12630 else
12631   case `(set -o) 2>/dev/null` in #(
12632   *posix*) :
12633     set -o posix ;; #(
12634   *) :
12635      ;;
12636 esac
12637 fi
12638
12639
12640 as_nl='
12641 '
12642 export as_nl
12643 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12644 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12646 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12647 # Prefer a ksh shell builtin over an external printf program on Solaris,
12648 # but without wasting forks for bash or zsh.
12649 if test -z "$BASH_VERSION$ZSH_VERSION" \
12650     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12651   as_echo='print -r --'
12652   as_echo_n='print -rn --'
12653 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12654   as_echo='printf %s\n'
12655   as_echo_n='printf %s'
12656 else
12657   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12658     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12659     as_echo_n='/usr/ucb/echo -n'
12660   else
12661     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12662     as_echo_n_body='eval
12663       arg=$1;
12664       case $arg in #(
12665       *"$as_nl"*)
12666         expr "X$arg" : "X\\(.*\\)$as_nl";
12667         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12668       esac;
12669       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12670     '
12671     export as_echo_n_body
12672     as_echo_n='sh -c $as_echo_n_body as_echo'
12673   fi
12674   export as_echo_body
12675   as_echo='sh -c $as_echo_body as_echo'
12676 fi
12677
12678 # The user is always right.
12679 if test "${PATH_SEPARATOR+set}" != set; then
12680   PATH_SEPARATOR=:
12681   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12682     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12683       PATH_SEPARATOR=';'
12684   }
12685 fi
12686
12687
12688 # IFS
12689 # We need space, tab and new line, in precisely that order.  Quoting is
12690 # there to prevent editors from complaining about space-tab.
12691 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12692 # splitting by setting IFS to empty value.)
12693 IFS=" ""        $as_nl"
12694
12695 # Find who we are.  Look in the path if we contain no directory separator.
12696 as_myself=
12697 case $0 in #((
12698   *[\\/]* ) as_myself=$0 ;;
12699   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12700 for as_dir in $PATH
12701 do
12702   IFS=$as_save_IFS
12703   test -z "$as_dir" && as_dir=.
12704     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12705   done
12706 IFS=$as_save_IFS
12707
12708      ;;
12709 esac
12710 # We did not find ourselves, most probably we were run as `sh COMMAND'
12711 # in which case we are not to be found in the path.
12712 if test "x$as_myself" = x; then
12713   as_myself=$0
12714 fi
12715 if test ! -f "$as_myself"; then
12716   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12717   exit 1
12718 fi
12719
12720 # Unset variables that we do not need and which cause bugs (e.g. in
12721 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12722 # suppresses any "Segmentation fault" message there.  '((' could
12723 # trigger a bug in pdksh 5.2.14.
12724 for as_var in BASH_ENV ENV MAIL MAILPATH
12725 do eval test x\${$as_var+set} = xset \
12726   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12727 done
12728 PS1='$ '
12729 PS2='> '
12730 PS4='+ '
12731
12732 # NLS nuisances.
12733 LC_ALL=C
12734 export LC_ALL
12735 LANGUAGE=C
12736 export LANGUAGE
12737
12738 # CDPATH.
12739 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12740
12741
12742 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12743 # ----------------------------------------
12744 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12745 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12746 # script with STATUS, using 1 if that was 0.
12747 as_fn_error ()
12748 {
12749   as_status=$1; test $as_status -eq 0 && as_status=1
12750   if test "$4"; then
12751     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12752     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12753   fi
12754   $as_echo "$as_me: error: $2" >&2
12755   as_fn_exit $as_status
12756 } # as_fn_error
12757
12758
12759 # as_fn_set_status STATUS
12760 # -----------------------
12761 # Set $? to STATUS, without forking.
12762 as_fn_set_status ()
12763 {
12764   return $1
12765 } # as_fn_set_status
12766
12767 # as_fn_exit STATUS
12768 # -----------------
12769 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12770 as_fn_exit ()
12771 {
12772   set +e
12773   as_fn_set_status $1
12774   exit $1
12775 } # as_fn_exit
12776
12777 # as_fn_unset VAR
12778 # ---------------
12779 # Portably unset VAR.
12780 as_fn_unset ()
12781 {
12782   { eval $1=; unset $1;}
12783 }
12784 as_unset=as_fn_unset
12785 # as_fn_append VAR VALUE
12786 # ----------------------
12787 # Append the text in VALUE to the end of the definition contained in VAR. Take
12788 # advantage of any shell optimizations that allow amortized linear growth over
12789 # repeated appends, instead of the typical quadratic growth present in naive
12790 # implementations.
12791 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12792   eval 'as_fn_append ()
12793   {
12794     eval $1+=\$2
12795   }'
12796 else
12797   as_fn_append ()
12798   {
12799     eval $1=\$$1\$2
12800   }
12801 fi # as_fn_append
12802
12803 # as_fn_arith ARG...
12804 # ------------------
12805 # Perform arithmetic evaluation on the ARGs, and store the result in the
12806 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12807 # must be portable across $(()) and expr.
12808 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12809   eval 'as_fn_arith ()
12810   {
12811     as_val=$(( $* ))
12812   }'
12813 else
12814   as_fn_arith ()
12815   {
12816     as_val=`expr "$@" || test $? -eq 1`
12817   }
12818 fi # as_fn_arith
12819
12820
12821 if expr a : '\(a\)' >/dev/null 2>&1 &&
12822    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12823   as_expr=expr
12824 else
12825   as_expr=false
12826 fi
12827
12828 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12829   as_basename=basename
12830 else
12831   as_basename=false
12832 fi
12833
12834 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12835   as_dirname=dirname
12836 else
12837   as_dirname=false
12838 fi
12839
12840 as_me=`$as_basename -- "$0" ||
12841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12842          X"$0" : 'X\(//\)$' \| \
12843          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12844 $as_echo X/"$0" |
12845     sed '/^.*\/\([^/][^/]*\)\/*$/{
12846             s//\1/
12847             q
12848           }
12849           /^X\/\(\/\/\)$/{
12850             s//\1/
12851             q
12852           }
12853           /^X\/\(\/\).*/{
12854             s//\1/
12855             q
12856           }
12857           s/.*/./; q'`
12858
12859 # Avoid depending upon Character Ranges.
12860 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12861 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12862 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12863 as_cr_digits='0123456789'
12864 as_cr_alnum=$as_cr_Letters$as_cr_digits
12865
12866 ECHO_C= ECHO_N= ECHO_T=
12867 case `echo -n x` in #(((((
12868 -n*)
12869   case `echo 'xy\c'` in
12870   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12871   xy)  ECHO_C='\c';;
12872   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12873        ECHO_T=' ';;
12874   esac;;
12875 *)
12876   ECHO_N='-n';;
12877 esac
12878
12879 rm -f conf$$ conf$$.exe conf$$.file
12880 if test -d conf$$.dir; then
12881   rm -f conf$$.dir/conf$$.file
12882 else
12883   rm -f conf$$.dir
12884   mkdir conf$$.dir 2>/dev/null
12885 fi
12886 if (echo >conf$$.file) 2>/dev/null; then
12887   if ln -s conf$$.file conf$$ 2>/dev/null; then
12888     as_ln_s='ln -s'
12889     # ... but there are two gotchas:
12890     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12891     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12892     # In both cases, we have to default to `cp -p'.
12893     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12894       as_ln_s='cp -p'
12895   elif ln conf$$.file conf$$ 2>/dev/null; then
12896     as_ln_s=ln
12897   else
12898     as_ln_s='cp -p'
12899   fi
12900 else
12901   as_ln_s='cp -p'
12902 fi
12903 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12904 rmdir conf$$.dir 2>/dev/null
12905
12906
12907 # as_fn_mkdir_p
12908 # -------------
12909 # Create "$as_dir" as a directory, including parents if necessary.
12910 as_fn_mkdir_p ()
12911 {
12912
12913   case $as_dir in #(
12914   -*) as_dir=./$as_dir;;
12915   esac
12916   test -d "$as_dir" || eval $as_mkdir_p || {
12917     as_dirs=
12918     while :; do
12919       case $as_dir in #(
12920       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12921       *) as_qdir=$as_dir;;
12922       esac
12923       as_dirs="'$as_qdir' $as_dirs"
12924       as_dir=`$as_dirname -- "$as_dir" ||
12925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12926          X"$as_dir" : 'X\(//\)[^/]' \| \
12927          X"$as_dir" : 'X\(//\)$' \| \
12928          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12929 $as_echo X"$as_dir" |
12930     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12931             s//\1/
12932             q
12933           }
12934           /^X\(\/\/\)[^/].*/{
12935             s//\1/
12936             q
12937           }
12938           /^X\(\/\/\)$/{
12939             s//\1/
12940             q
12941           }
12942           /^X\(\/\).*/{
12943             s//\1/
12944             q
12945           }
12946           s/.*/./; q'`
12947       test -d "$as_dir" && break
12948     done
12949     test -z "$as_dirs" || eval "mkdir $as_dirs"
12950   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12951
12952
12953 } # as_fn_mkdir_p
12954 if mkdir -p . 2>/dev/null; then
12955   as_mkdir_p='mkdir -p "$as_dir"'
12956 else
12957   test -d ./-p && rmdir ./-p
12958   as_mkdir_p=false
12959 fi
12960
12961 if test -x / >/dev/null 2>&1; then
12962   as_test_x='test -x'
12963 else
12964   if ls -dL / >/dev/null 2>&1; then
12965     as_ls_L_option=L
12966   else
12967     as_ls_L_option=
12968   fi
12969   as_test_x='
12970     eval sh -c '\''
12971       if test -d "$1"; then
12972         test -d "$1/.";
12973       else
12974         case $1 in #(
12975         -*)set "./$1";;
12976         esac;
12977         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12978         ???[sx]*):;;*)false;;esac;fi
12979     '\'' sh
12980   '
12981 fi
12982 as_executable_p=$as_test_x
12983
12984 # Sed expression to map a string onto a valid CPP name.
12985 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12986
12987 # Sed expression to map a string onto a valid variable name.
12988 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12989
12990
12991 exec 6>&1
12992 ## ----------------------------------- ##
12993 ## Main body of $CONFIG_STATUS script. ##
12994 ## ----------------------------------- ##
12995 _ASEOF
12996 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12997
12998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12999 # Save the log message, to keep $0 and so on meaningful, and to
13000 # report actual input values of CONFIG_FILES etc. instead of their
13001 # values after options handling.
13002 ac_log="
13003 This file was extended by scss $as_me 1.0.0, which was
13004 generated by GNU Autoconf 2.68.  Invocation command line was
13005
13006   CONFIG_FILES    = $CONFIG_FILES
13007   CONFIG_HEADERS  = $CONFIG_HEADERS
13008   CONFIG_LINKS    = $CONFIG_LINKS
13009   CONFIG_COMMANDS = $CONFIG_COMMANDS
13010   $ $0 $@
13011
13012 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13013 "
13014
13015 _ACEOF
13016
13017 case $ac_config_files in *"
13018 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13019 esac
13020
13021 case $ac_config_headers in *"
13022 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13023 esac
13024
13025
13026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13027 # Files that config.status was made for.
13028 config_files="$ac_config_files"
13029 config_headers="$ac_config_headers"
13030 config_commands="$ac_config_commands"
13031
13032 _ACEOF
13033
13034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13035 ac_cs_usage="\
13036 \`$as_me' instantiates files and other configuration actions
13037 from templates according to the current configuration.  Unless the files
13038 and actions are specified as TAGs, all are instantiated by default.
13039
13040 Usage: $0 [OPTION]... [TAG]...
13041
13042   -h, --help       print this help, then exit
13043   -V, --version    print version number and configuration settings, then exit
13044       --config     print configuration, then exit
13045   -q, --quiet, --silent
13046                    do not print progress messages
13047   -d, --debug      don't remove temporary files
13048       --recheck    update $as_me by reconfiguring in the same conditions
13049       --file=FILE[:TEMPLATE]
13050                    instantiate the configuration file FILE
13051       --header=FILE[:TEMPLATE]
13052                    instantiate the configuration header FILE
13053
13054 Configuration files:
13055 $config_files
13056
13057 Configuration headers:
13058 $config_headers
13059
13060 Configuration commands:
13061 $config_commands
13062
13063 Report bugs to <konn@users.sourceforge.jp>."
13064
13065 _ACEOF
13066 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13067 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13068 ac_cs_version="\\
13069 scss config.status 1.0.0
13070 configured by $0, generated by GNU Autoconf 2.68,
13071   with options \\"\$ac_cs_config\\"
13072
13073 Copyright (C) 2010 Free Software Foundation, Inc.
13074 This config.status script is free software; the Free Software Foundation
13075 gives unlimited permission to copy, distribute and modify it."
13076
13077 ac_pwd='$ac_pwd'
13078 srcdir='$srcdir'
13079 INSTALL='$INSTALL'
13080 MKDIR_P='$MKDIR_P'
13081 AWK='$AWK'
13082 test -n "\$AWK" || AWK=awk
13083 _ACEOF
13084
13085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13086 # The default lists apply if the user does not specify any file.
13087 ac_need_defaults=:
13088 while test $# != 0
13089 do
13090   case $1 in
13091   --*=?*)
13092     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13093     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13094     ac_shift=:
13095     ;;
13096   --*=)
13097     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13098     ac_optarg=
13099     ac_shift=:
13100     ;;
13101   *)
13102     ac_option=$1
13103     ac_optarg=$2
13104     ac_shift=shift
13105     ;;
13106   esac
13107
13108   case $ac_option in
13109   # Handling of the options.
13110   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13111     ac_cs_recheck=: ;;
13112   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13113     $as_echo "$ac_cs_version"; exit ;;
13114   --config | --confi | --conf | --con | --co | --c )
13115     $as_echo "$ac_cs_config"; exit ;;
13116   --debug | --debu | --deb | --de | --d | -d )
13117     debug=: ;;
13118   --file | --fil | --fi | --f )
13119     $ac_shift
13120     case $ac_optarg in
13121     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13122     '') as_fn_error $? "missing file argument" ;;
13123     esac
13124     as_fn_append CONFIG_FILES " '$ac_optarg'"
13125     ac_need_defaults=false;;
13126   --header | --heade | --head | --hea )
13127     $ac_shift
13128     case $ac_optarg in
13129     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13130     esac
13131     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13132     ac_need_defaults=false;;
13133   --he | --h)
13134     # Conflict between --help and --header
13135     as_fn_error $? "ambiguous option: \`$1'
13136 Try \`$0 --help' for more information.";;
13137   --help | --hel | -h )
13138     $as_echo "$ac_cs_usage"; exit ;;
13139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13140   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13141     ac_cs_silent=: ;;
13142
13143   # This is an error.
13144   -*) as_fn_error $? "unrecognized option: \`$1'
13145 Try \`$0 --help' for more information." ;;
13146
13147   *) as_fn_append ac_config_targets " $1"
13148      ac_need_defaults=false ;;
13149
13150   esac
13151   shift
13152 done
13153
13154 ac_configure_extra_args=
13155
13156 if $ac_cs_silent; then
13157   exec 6>/dev/null
13158   ac_configure_extra_args="$ac_configure_extra_args --silent"
13159 fi
13160
13161 _ACEOF
13162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13163 if \$ac_cs_recheck; then
13164   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13165   shift
13166   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13167   CONFIG_SHELL='$SHELL'
13168   export CONFIG_SHELL
13169   exec "\$@"
13170 fi
13171
13172 _ACEOF
13173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13174 exec 5>>config.log
13175 {
13176   echo
13177   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13178 ## Running $as_me. ##
13179 _ASBOX
13180   $as_echo "$ac_log"
13181 } >&5
13182
13183 _ACEOF
13184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13185 #
13186 # INIT-COMMANDS
13187 #
13188 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13189
13190
13191 # The HP-UX ksh and POSIX shell print the target directory to stdout
13192 # if CDPATH is set.
13193 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13194
13195 sed_quote_subst='$sed_quote_subst'
13196 double_quote_subst='$double_quote_subst'
13197 delay_variable_subst='$delay_variable_subst'
13198 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13199 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13200 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13201 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13202 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13203 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13204 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13205 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13206 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13207 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13208 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13209 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13210 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13211 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13212 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13213 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13214 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13215 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13216 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13217 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13218 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13219 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13220 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13221 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13222 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13223 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13224 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13225 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13226 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13227 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13228 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13229 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13230 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13231 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13232 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13233 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13234 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13235 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13236 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13237 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13238 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13239 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13240 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13241 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13242 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13243 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13244 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13245 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13246 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13247 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13248 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13249 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13250 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13251 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13252 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13253 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"`'
13254 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13255 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13256 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13257 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13258 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13259 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13260 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13261 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13262 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13263 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13264 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13265 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13266 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13267 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13268 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13269 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13270 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13271 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13272 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13273 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13274 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13275 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13276 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13277 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13278 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13279 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13280 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13281 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13282 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13283 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13284 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13285 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13286 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13287 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13288 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13289 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13290 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13291 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13292 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13293 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13294 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13295 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13296 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13297 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13298 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13299 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13300 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13301 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13302 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13303 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13304 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13305 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13306 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13307 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13308 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13309 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13310 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13311 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13312 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13313 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13314 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13315 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13316 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13317 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13318 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13319 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13320 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13321 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13322 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13323 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13324 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13325 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13326 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13327 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13328
13329 LTCC='$LTCC'
13330 LTCFLAGS='$LTCFLAGS'
13331 compiler='$compiler_DEFAULT'
13332
13333 # A function that is used when there is no print builtin or printf.
13334 func_fallback_echo ()
13335 {
13336   eval 'cat <<_LTECHO_EOF
13337 \$1
13338 _LTECHO_EOF'
13339 }
13340
13341 # Quote evaled strings.
13342 for var in SHELL \
13343 ECHO \
13344 SED \
13345 GREP \
13346 EGREP \
13347 FGREP \
13348 LD \
13349 NM \
13350 LN_S \
13351 lt_SP2NL \
13352 lt_NL2SP \
13353 reload_flag \
13354 OBJDUMP \
13355 deplibs_check_method \
13356 file_magic_cmd \
13357 file_magic_glob \
13358 want_nocaseglob \
13359 DLLTOOL \
13360 sharedlib_from_linklib_cmd \
13361 AR \
13362 AR_FLAGS \
13363 archiver_list_spec \
13364 STRIP \
13365 RANLIB \
13366 CC \
13367 CFLAGS \
13368 compiler \
13369 lt_cv_sys_global_symbol_pipe \
13370 lt_cv_sys_global_symbol_to_cdecl \
13371 lt_cv_sys_global_symbol_to_c_name_address \
13372 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13373 nm_file_list_spec \
13374 lt_prog_compiler_no_builtin_flag \
13375 lt_prog_compiler_pic \
13376 lt_prog_compiler_wl \
13377 lt_prog_compiler_static \
13378 lt_cv_prog_compiler_c_o \
13379 need_locks \
13380 MANIFEST_TOOL \
13381 DSYMUTIL \
13382 NMEDIT \
13383 LIPO \
13384 OTOOL \
13385 OTOOL64 \
13386 shrext_cmds \
13387 export_dynamic_flag_spec \
13388 whole_archive_flag_spec \
13389 compiler_needs_object \
13390 with_gnu_ld \
13391 allow_undefined_flag \
13392 no_undefined_flag \
13393 hardcode_libdir_flag_spec \
13394 hardcode_libdir_flag_spec_ld \
13395 hardcode_libdir_separator \
13396 exclude_expsyms \
13397 include_expsyms \
13398 file_list_spec \
13399 variables_saved_for_relink \
13400 libname_spec \
13401 library_names_spec \
13402 soname_spec \
13403 install_override_mode \
13404 finish_eval \
13405 old_striplib \
13406 striplib; do
13407     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13408     *[\\\\\\\`\\"\\\$]*)
13409       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13410       ;;
13411     *)
13412       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13413       ;;
13414     esac
13415 done
13416
13417 # Double-quote double-evaled strings.
13418 for var in reload_cmds \
13419 old_postinstall_cmds \
13420 old_postuninstall_cmds \
13421 old_archive_cmds \
13422 extract_expsyms_cmds \
13423 old_archive_from_new_cmds \
13424 old_archive_from_expsyms_cmds \
13425 archive_cmds \
13426 archive_expsym_cmds \
13427 module_cmds \
13428 module_expsym_cmds \
13429 export_symbols_cmds \
13430 prelink_cmds \
13431 postlink_cmds \
13432 postinstall_cmds \
13433 postuninstall_cmds \
13434 finish_cmds \
13435 sys_lib_search_path_spec \
13436 sys_lib_dlsearch_path_spec; do
13437     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13438     *[\\\\\\\`\\"\\\$]*)
13439       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13440       ;;
13441     *)
13442       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13443       ;;
13444     esac
13445 done
13446
13447 ac_aux_dir='$ac_aux_dir'
13448 xsi_shell='$xsi_shell'
13449 lt_shell_append='$lt_shell_append'
13450
13451 # See if we are running on zsh, and set the options which allow our
13452 # commands through without removal of \ escapes INIT.
13453 if test -n "\${ZSH_VERSION+set}" ; then
13454    setopt NO_GLOB_SUBST
13455 fi
13456
13457
13458     PACKAGE='$PACKAGE'
13459     VERSION='$VERSION'
13460     TIMESTAMP='$TIMESTAMP'
13461     RM='$RM'
13462     ofile='$ofile'
13463
13464
13465
13466
13467 _ACEOF
13468
13469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13470
13471 # Handling of arguments.
13472 for ac_config_target in $ac_config_targets
13473 do
13474   case $ac_config_target in
13475     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
13476     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13477     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13478     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13479     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13480
13481   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13482   esac
13483 done
13484
13485
13486 # If the user did not use the arguments to specify the items to instantiate,
13487 # then the envvar interface is used.  Set only those that are not.
13488 # We use the long form for the default assignment because of an extremely
13489 # bizarre bug on SunOS 4.1.3.
13490 if $ac_need_defaults; then
13491   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13492   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13493   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13494 fi
13495
13496 # Have a temporary directory for convenience.  Make it in the build tree
13497 # simply because there is no reason against having it here, and in addition,
13498 # creating and moving files from /tmp can sometimes cause problems.
13499 # Hook for its removal unless debugging.
13500 # Note that there is a small window in which the directory will not be cleaned:
13501 # after its creation but before its name has been assigned to `$tmp'.
13502 $debug ||
13503 {
13504   tmp= ac_tmp=
13505   trap 'exit_status=$?
13506   : "${ac_tmp:=$tmp}"
13507   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13508 ' 0
13509   trap 'as_fn_exit 1' 1 2 13 15
13510 }
13511 # Create a (secure) tmp directory for tmp files.
13512
13513 {
13514   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13515   test -d "$tmp"
13516 }  ||
13517 {
13518   tmp=./conf$$-$RANDOM
13519   (umask 077 && mkdir "$tmp")
13520 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13521 ac_tmp=$tmp
13522
13523 # Set up the scripts for CONFIG_FILES section.
13524 # No need to generate them if there are no CONFIG_FILES.
13525 # This happens for instance with `./config.status config.h'.
13526 if test -n "$CONFIG_FILES"; then
13527
13528
13529 ac_cr=`echo X | tr X '\015'`
13530 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13531 # But we know of no other shell where ac_cr would be empty at this
13532 # point, so we can use a bashism as a fallback.
13533 if test "x$ac_cr" = x; then
13534   eval ac_cr=\$\'\\r\'
13535 fi
13536 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13537 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13538   ac_cs_awk_cr='\\r'
13539 else
13540   ac_cs_awk_cr=$ac_cr
13541 fi
13542
13543 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13544 _ACEOF
13545
13546
13547 {
13548   echo "cat >conf$$subs.awk <<_ACEOF" &&
13549   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13550   echo "_ACEOF"
13551 } >conf$$subs.sh ||
13552   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13553 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13554 ac_delim='%!_!# '
13555 for ac_last_try in false false false false false :; do
13556   . ./conf$$subs.sh ||
13557     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13558
13559   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13560   if test $ac_delim_n = $ac_delim_num; then
13561     break
13562   elif $ac_last_try; then
13563     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13564   else
13565     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13566   fi
13567 done
13568 rm -f conf$$subs.sh
13569
13570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13571 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13572 _ACEOF
13573 sed -n '
13574 h
13575 s/^/S["/; s/!.*/"]=/
13576 p
13577 g
13578 s/^[^!]*!//
13579 :repl
13580 t repl
13581 s/'"$ac_delim"'$//
13582 t delim
13583 :nl
13584 h
13585 s/\(.\{148\}\)..*/\1/
13586 t more1
13587 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13588 p
13589 n
13590 b repl
13591 :more1
13592 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13593 p
13594 g
13595 s/.\{148\}//
13596 t nl
13597 :delim
13598 h
13599 s/\(.\{148\}\)..*/\1/
13600 t more2
13601 s/["\\]/\\&/g; s/^/"/; s/$/"/
13602 p
13603 b
13604 :more2
13605 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13606 p
13607 g
13608 s/.\{148\}//
13609 t delim
13610 ' <conf$$subs.awk | sed '
13611 /^[^""]/{
13612   N
13613   s/\n//
13614 }
13615 ' >>$CONFIG_STATUS || ac_write_fail=1
13616 rm -f conf$$subs.awk
13617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13618 _ACAWK
13619 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13620   for (key in S) S_is_set[key] = 1
13621   FS = "\a"
13622
13623 }
13624 {
13625   line = $ 0
13626   nfields = split(line, field, "@")
13627   substed = 0
13628   len = length(field[1])
13629   for (i = 2; i < nfields; i++) {
13630     key = field[i]
13631     keylen = length(key)
13632     if (S_is_set[key]) {
13633       value = S[key]
13634       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13635       len += length(value) + length(field[++i])
13636       substed = 1
13637     } else
13638       len += 1 + keylen
13639   }
13640
13641   print line
13642 }
13643
13644 _ACAWK
13645 _ACEOF
13646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13647 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13648   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13649 else
13650   cat
13651 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13652   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13653 _ACEOF
13654
13655 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13656 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13657 # trailing colons and then remove the whole line if VPATH becomes empty
13658 # (actually we leave an empty line to preserve line numbers).
13659 if test "x$srcdir" = x.; then
13660   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
13661 h
13662 s///
13663 s/^/:/
13664 s/[      ]*$/:/
13665 s/:\$(srcdir):/:/g
13666 s/:\${srcdir}:/:/g
13667 s/:@srcdir@:/:/g
13668 s/^:*//
13669 s/:*$//
13670 x
13671 s/\(=[   ]*\).*/\1/
13672 G
13673 s/\n//
13674 s/^[^=]*=[       ]*$//
13675 }'
13676 fi
13677
13678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13679 fi # test -n "$CONFIG_FILES"
13680
13681 # Set up the scripts for CONFIG_HEADERS section.
13682 # No need to generate them if there are no CONFIG_HEADERS.
13683 # This happens for instance with `./config.status Makefile'.
13684 if test -n "$CONFIG_HEADERS"; then
13685 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13686 BEGIN {
13687 _ACEOF
13688
13689 # Transform confdefs.h into an awk script `defines.awk', embedded as
13690 # here-document in config.status, that substitutes the proper values into
13691 # config.h.in to produce config.h.
13692
13693 # Create a delimiter string that does not exist in confdefs.h, to ease
13694 # handling of long lines.
13695 ac_delim='%!_!# '
13696 for ac_last_try in false false :; do
13697   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13698   if test -z "$ac_tt"; then
13699     break
13700   elif $ac_last_try; then
13701     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13702   else
13703     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13704   fi
13705 done
13706
13707 # For the awk script, D is an array of macro values keyed by name,
13708 # likewise P contains macro parameters if any.  Preserve backslash
13709 # newline sequences.
13710
13711 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13712 sed -n '
13713 s/.\{148\}/&'"$ac_delim"'/g
13714 t rset
13715 :rset
13716 s/^[     ]*#[    ]*define[       ][      ]*/ /
13717 t def
13718 d
13719 :def
13720 s/\\$//
13721 t bsnl
13722 s/["\\]/\\&/g
13723 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13724 D["\1"]=" \3"/p
13725 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13726 d
13727 :bsnl
13728 s/["\\]/\\&/g
13729 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13730 D["\1"]=" \3\\\\\\n"\\/p
13731 t cont
13732 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13733 t cont
13734 d
13735 :cont
13736 n
13737 s/.\{148\}/&'"$ac_delim"'/g
13738 t clear
13739 :clear
13740 s/\\$//
13741 t bsnlc
13742 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13743 d
13744 :bsnlc
13745 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13746 b cont
13747 ' <confdefs.h | sed '
13748 s/'"$ac_delim"'/"\\\
13749 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13750
13751 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13752   for (key in D) D_is_set[key] = 1
13753   FS = "\a"
13754 }
13755 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13756   line = \$ 0
13757   split(line, arg, " ")
13758   if (arg[1] == "#") {
13759     defundef = arg[2]
13760     mac1 = arg[3]
13761   } else {
13762     defundef = substr(arg[1], 2)
13763     mac1 = arg[2]
13764   }
13765   split(mac1, mac2, "(") #)
13766   macro = mac2[1]
13767   prefix = substr(line, 1, index(line, defundef) - 1)
13768   if (D_is_set[macro]) {
13769     # Preserve the white space surrounding the "#".
13770     print prefix "define", macro P[macro] D[macro]
13771     next
13772   } else {
13773     # Replace #undef with comments.  This is necessary, for example,
13774     # in the case of _POSIX_SOURCE, which is predefined and required
13775     # on some systems where configure will not decide to define it.
13776     if (defundef == "undef") {
13777       print "/*", prefix defundef, macro, "*/"
13778       next
13779     }
13780   }
13781 }
13782 { print }
13783 _ACAWK
13784 _ACEOF
13785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13786   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13787 fi # test -n "$CONFIG_HEADERS"
13788
13789
13790 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13791 shift
13792 for ac_tag
13793 do
13794   case $ac_tag in
13795   :[FHLC]) ac_mode=$ac_tag; continue;;
13796   esac
13797   case $ac_mode$ac_tag in
13798   :[FHL]*:*);;
13799   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13800   :[FH]-) ac_tag=-:-;;
13801   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13802   esac
13803   ac_save_IFS=$IFS
13804   IFS=:
13805   set x $ac_tag
13806   IFS=$ac_save_IFS
13807   shift
13808   ac_file=$1
13809   shift
13810
13811   case $ac_mode in
13812   :L) ac_source=$1;;
13813   :[FH])
13814     ac_file_inputs=
13815     for ac_f
13816     do
13817       case $ac_f in
13818       -) ac_f="$ac_tmp/stdin";;
13819       *) # Look for the file first in the build tree, then in the source tree
13820          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13821          # because $ac_f cannot contain `:'.
13822          test -f "$ac_f" ||
13823            case $ac_f in
13824            [\\/$]*) false;;
13825            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13826            esac ||
13827            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13828       esac
13829       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13830       as_fn_append ac_file_inputs " '$ac_f'"
13831     done
13832
13833     # Let's still pretend it is `configure' which instantiates (i.e., don't
13834     # use $as_me), people would be surprised to read:
13835     #    /* config.h.  Generated by config.status.  */
13836     configure_input='Generated from '`
13837           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13838         `' by configure.'
13839     if test x"$ac_file" != x-; then
13840       configure_input="$ac_file.  $configure_input"
13841       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13842 $as_echo "$as_me: creating $ac_file" >&6;}
13843     fi
13844     # Neutralize special characters interpreted by sed in replacement strings.
13845     case $configure_input in #(
13846     *\&* | *\|* | *\\* )
13847        ac_sed_conf_input=`$as_echo "$configure_input" |
13848        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13849     *) ac_sed_conf_input=$configure_input;;
13850     esac
13851
13852     case $ac_tag in
13853     *:-:* | *:-) cat >"$ac_tmp/stdin" \
13854       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13855     esac
13856     ;;
13857   esac
13858
13859   ac_dir=`$as_dirname -- "$ac_file" ||
13860 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13861          X"$ac_file" : 'X\(//\)[^/]' \| \
13862          X"$ac_file" : 'X\(//\)$' \| \
13863          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13864 $as_echo X"$ac_file" |
13865     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13866             s//\1/
13867             q
13868           }
13869           /^X\(\/\/\)[^/].*/{
13870             s//\1/
13871             q
13872           }
13873           /^X\(\/\/\)$/{
13874             s//\1/
13875             q
13876           }
13877           /^X\(\/\).*/{
13878             s//\1/
13879             q
13880           }
13881           s/.*/./; q'`
13882   as_dir="$ac_dir"; as_fn_mkdir_p
13883   ac_builddir=.
13884
13885 case "$ac_dir" in
13886 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13887 *)
13888   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13889   # A ".." for each directory in $ac_dir_suffix.
13890   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13891   case $ac_top_builddir_sub in
13892   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13893   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13894   esac ;;
13895 esac
13896 ac_abs_top_builddir=$ac_pwd
13897 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13898 # for backward compatibility:
13899 ac_top_builddir=$ac_top_build_prefix
13900
13901 case $srcdir in
13902   .)  # We are building in place.
13903     ac_srcdir=.
13904     ac_top_srcdir=$ac_top_builddir_sub
13905     ac_abs_top_srcdir=$ac_pwd ;;
13906   [\\/]* | ?:[\\/]* )  # Absolute name.
13907     ac_srcdir=$srcdir$ac_dir_suffix;
13908     ac_top_srcdir=$srcdir
13909     ac_abs_top_srcdir=$srcdir ;;
13910   *) # Relative name.
13911     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13912     ac_top_srcdir=$ac_top_build_prefix$srcdir
13913     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13914 esac
13915 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13916
13917
13918   case $ac_mode in
13919   :F)
13920   #
13921   # CONFIG_FILE
13922   #
13923
13924   case $INSTALL in
13925   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13926   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13927   esac
13928   ac_MKDIR_P=$MKDIR_P
13929   case $MKDIR_P in
13930   [\\/$]* | ?:[\\/]* ) ;;
13931   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13932   esac
13933 _ACEOF
13934
13935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13936 # If the template does not know about datarootdir, expand it.
13937 # FIXME: This hack should be removed a few years after 2.60.
13938 ac_datarootdir_hack=; ac_datarootdir_seen=
13939 ac_sed_dataroot='
13940 /datarootdir/ {
13941   p
13942   q
13943 }
13944 /@datadir@/p
13945 /@docdir@/p
13946 /@infodir@/p
13947 /@localedir@/p
13948 /@mandir@/p'
13949 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13950 *datarootdir*) ac_datarootdir_seen=yes;;
13951 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13952   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13953 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13954 _ACEOF
13955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13956   ac_datarootdir_hack='
13957   s&@datadir@&$datadir&g
13958   s&@docdir@&$docdir&g
13959   s&@infodir@&$infodir&g
13960   s&@localedir@&$localedir&g
13961   s&@mandir@&$mandir&g
13962   s&\\\${datarootdir}&$datarootdir&g' ;;
13963 esac
13964 _ACEOF
13965
13966 # Neutralize VPATH when `$srcdir' = `.'.
13967 # Shell code in configure.ac might set extrasub.
13968 # FIXME: do we really want to maintain this feature?
13969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13970 ac_sed_extra="$ac_vpsub
13971 $extrasub
13972 _ACEOF
13973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13974 :t
13975 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13976 s|@configure_input@|$ac_sed_conf_input|;t t
13977 s&@top_builddir@&$ac_top_builddir_sub&;t t
13978 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13979 s&@srcdir@&$ac_srcdir&;t t
13980 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13981 s&@top_srcdir@&$ac_top_srcdir&;t t
13982 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13983 s&@builddir@&$ac_builddir&;t t
13984 s&@abs_builddir@&$ac_abs_builddir&;t t
13985 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13986 s&@INSTALL@&$ac_INSTALL&;t t
13987 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13988 $ac_datarootdir_hack
13989 "
13990 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13991   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13992
13993 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13994   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13995   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
13996       "$ac_tmp/out"`; test -z "$ac_out"; } &&
13997   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13998 which seems to be undefined.  Please make sure it is defined" >&5
13999 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14000 which seems to be undefined.  Please make sure it is defined" >&2;}
14001
14002   rm -f "$ac_tmp/stdin"
14003   case $ac_file in
14004   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14005   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14006   esac \
14007   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14008  ;;
14009   :H)
14010   #
14011   # CONFIG_HEADER
14012   #
14013   if test x"$ac_file" != x-; then
14014     {
14015       $as_echo "/* $configure_input  */" \
14016       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14017     } >"$ac_tmp/config.h" \
14018       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14019     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14020       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14021 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14022     else
14023       rm -f "$ac_file"
14024       mv "$ac_tmp/config.h" "$ac_file" \
14025         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14026     fi
14027   else
14028     $as_echo "/* $configure_input  */" \
14029       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14030       || as_fn_error $? "could not create -" "$LINENO" 5
14031   fi
14032 # Compute "$ac_file"'s index in $config_headers.
14033 _am_arg="$ac_file"
14034 _am_stamp_count=1
14035 for _am_header in $config_headers :; do
14036   case $_am_header in
14037     $_am_arg | $_am_arg:* )
14038       break ;;
14039     * )
14040       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14041   esac
14042 done
14043 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14044 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14045          X"$_am_arg" : 'X\(//\)[^/]' \| \
14046          X"$_am_arg" : 'X\(//\)$' \| \
14047          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14048 $as_echo X"$_am_arg" |
14049     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14050             s//\1/
14051             q
14052           }
14053           /^X\(\/\/\)[^/].*/{
14054             s//\1/
14055             q
14056           }
14057           /^X\(\/\/\)$/{
14058             s//\1/
14059             q
14060           }
14061           /^X\(\/\).*/{
14062             s//\1/
14063             q
14064           }
14065           s/.*/./; q'`/stamp-h$_am_stamp_count
14066  ;;
14067
14068   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14069 $as_echo "$as_me: executing $ac_file commands" >&6;}
14070  ;;
14071   esac
14072
14073
14074   case $ac_file$ac_mode in
14075     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14076   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14077   # are listed without --file.  Let's play safe and only enable the eval
14078   # if we detect the quoting.
14079   case $CONFIG_FILES in
14080   *\'*) eval set x "$CONFIG_FILES" ;;
14081   *)   set x $CONFIG_FILES ;;
14082   esac
14083   shift
14084   for mf
14085   do
14086     # Strip MF so we end up with the name of the file.
14087     mf=`echo "$mf" | sed -e 's/:.*$//'`
14088     # Check whether this is an Automake generated Makefile or not.
14089     # We used to match only the files named `Makefile.in', but
14090     # some people rename them; so instead we look at the file content.
14091     # Grep'ing the first line is not enough: some people post-process
14092     # each Makefile.in and add a new line on top of each file to say so.
14093     # Grep'ing the whole file is not good either: AIX grep has a line
14094     # limit of 2048, but all sed's we know have understand at least 4000.
14095     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14096       dirpart=`$as_dirname -- "$mf" ||
14097 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14098          X"$mf" : 'X\(//\)[^/]' \| \
14099          X"$mf" : 'X\(//\)$' \| \
14100          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14101 $as_echo X"$mf" |
14102     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14103             s//\1/
14104             q
14105           }
14106           /^X\(\/\/\)[^/].*/{
14107             s//\1/
14108             q
14109           }
14110           /^X\(\/\/\)$/{
14111             s//\1/
14112             q
14113           }
14114           /^X\(\/\).*/{
14115             s//\1/
14116             q
14117           }
14118           s/.*/./; q'`
14119     else
14120       continue
14121     fi
14122     # Extract the definition of DEPDIR, am__include, and am__quote
14123     # from the Makefile without running `make'.
14124     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14125     test -z "$DEPDIR" && continue
14126     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14127     test -z "am__include" && continue
14128     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14129     # When using ansi2knr, U may be empty or an underscore; expand it
14130     U=`sed -n 's/^U = //p' < "$mf"`
14131     # Find all dependency output files, they are included files with
14132     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14133     # simplest approach to changing $(DEPDIR) to its actual value in the
14134     # expansion.
14135     for file in `sed -n "
14136       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14137          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14138       # Make sure the directory exists.
14139       test -f "$dirpart/$file" && continue
14140       fdir=`$as_dirname -- "$file" ||
14141 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14142          X"$file" : 'X\(//\)[^/]' \| \
14143          X"$file" : 'X\(//\)$' \| \
14144          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14145 $as_echo X"$file" |
14146     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14147             s//\1/
14148             q
14149           }
14150           /^X\(\/\/\)[^/].*/{
14151             s//\1/
14152             q
14153           }
14154           /^X\(\/\/\)$/{
14155             s//\1/
14156             q
14157           }
14158           /^X\(\/\).*/{
14159             s//\1/
14160             q
14161           }
14162           s/.*/./; q'`
14163       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14164       # echo "creating $dirpart/$file"
14165       echo '# dummy' > "$dirpart/$file"
14166     done
14167   done
14168 }
14169  ;;
14170     "libtool":C)
14171
14172     # See if we are running on zsh, and set the options which allow our
14173     # commands through without removal of \ escapes.
14174     if test -n "${ZSH_VERSION+set}" ; then
14175       setopt NO_GLOB_SUBST
14176     fi
14177
14178     cfgfile="${ofile}T"
14179     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14180     $RM "$cfgfile"
14181
14182     cat <<_LT_EOF >> "$cfgfile"
14183 #! $SHELL
14184
14185 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14186 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14187 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14188 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14189 #
14190 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14191 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14192 #                 Inc.
14193 #   Written by Gordon Matzigkeit, 1996
14194 #
14195 #   This file is part of GNU Libtool.
14196 #
14197 # GNU Libtool is free software; you can redistribute it and/or
14198 # modify it under the terms of the GNU General Public License as
14199 # published by the Free Software Foundation; either version 2 of
14200 # the License, or (at your option) any later version.
14201 #
14202 # As a special exception to the GNU General Public License,
14203 # if you distribute this file as part of a program or library that
14204 # is built using GNU Libtool, you may include this file under the
14205 # same distribution terms that you use for the rest of that program.
14206 #
14207 # GNU Libtool is distributed in the hope that it will be useful,
14208 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14209 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14210 # GNU General Public License for more details.
14211 #
14212 # You should have received a copy of the GNU General Public License
14213 # along with GNU Libtool; see the file COPYING.  If not, a copy
14214 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14215 # obtained by writing to the Free Software Foundation, Inc.,
14216 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14217
14218
14219 # The names of the tagged configurations supported by this script.
14220 available_tags=""
14221
14222 # ### BEGIN LIBTOOL CONFIG
14223
14224 # Which release of libtool.m4 was used?
14225 macro_version=$macro_version
14226 macro_revision=$macro_revision
14227
14228 # Whether or not to build shared libraries.
14229 build_libtool_libs=$enable_shared
14230
14231 # Whether or not to build static libraries.
14232 build_old_libs=$enable_static
14233
14234 # What type of objects to build.
14235 pic_mode=$pic_mode
14236
14237 # Whether or not to optimize for fast installation.
14238 fast_install=$enable_fast_install
14239
14240 # Shell to use when invoking shell scripts.
14241 SHELL=$lt_SHELL
14242
14243 # An echo program that protects backslashes.
14244 ECHO=$lt_ECHO
14245
14246 # The host system.
14247 host_alias=$host_alias
14248 host=$host
14249 host_os=$host_os
14250
14251 # The build system.
14252 build_alias=$build_alias
14253 build=$build
14254 build_os=$build_os
14255
14256 # A sed program that does not truncate output.
14257 SED=$lt_SED
14258
14259 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14260 Xsed="\$SED -e 1s/^X//"
14261
14262 # A grep program that handles long lines.
14263 GREP=$lt_GREP
14264
14265 # An ERE matcher.
14266 EGREP=$lt_EGREP
14267
14268 # A literal string matcher.
14269 FGREP=$lt_FGREP
14270
14271 # A BSD- or MS-compatible name lister.
14272 NM=$lt_NM
14273
14274 # Whether we need soft or hard links.
14275 LN_S=$lt_LN_S
14276
14277 # What is the maximum length of a command?
14278 max_cmd_len=$max_cmd_len
14279
14280 # Object file suffix (normally "o").
14281 objext=$ac_objext
14282
14283 # Executable file suffix (normally "").
14284 exeext=$exeext
14285
14286 # whether the shell understands "unset".
14287 lt_unset=$lt_unset
14288
14289 # turn spaces into newlines.
14290 SP2NL=$lt_lt_SP2NL
14291
14292 # turn newlines into spaces.
14293 NL2SP=$lt_lt_NL2SP
14294
14295 # convert \$build file names to \$host format.
14296 to_host_file_cmd=$lt_cv_to_host_file_cmd
14297
14298 # convert \$build files to toolchain format.
14299 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14300
14301 # An object symbol dumper.
14302 OBJDUMP=$lt_OBJDUMP
14303
14304 # Method to check whether dependent libraries are shared objects.
14305 deplibs_check_method=$lt_deplibs_check_method
14306
14307 # Command to use when deplibs_check_method = "file_magic".
14308 file_magic_cmd=$lt_file_magic_cmd
14309
14310 # How to find potential files when deplibs_check_method = "file_magic".
14311 file_magic_glob=$lt_file_magic_glob
14312
14313 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14314 want_nocaseglob=$lt_want_nocaseglob
14315
14316 # DLL creation program.
14317 DLLTOOL=$lt_DLLTOOL
14318
14319 # Command to associate shared and link libraries.
14320 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14321
14322 # The archiver.
14323 AR=$lt_AR
14324
14325 # Flags to create an archive.
14326 AR_FLAGS=$lt_AR_FLAGS
14327
14328 # How to feed a file listing to the archiver.
14329 archiver_list_spec=$lt_archiver_list_spec
14330
14331 # A symbol stripping program.
14332 STRIP=$lt_STRIP
14333
14334 # Commands used to install an old-style archive.
14335 RANLIB=$lt_RANLIB
14336 old_postinstall_cmds=$lt_old_postinstall_cmds
14337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14338
14339 # Whether to use a lock for old archive extraction.
14340 lock_old_archive_extraction=$lock_old_archive_extraction
14341
14342 # A C compiler.
14343 LTCC=$lt_CC
14344
14345 # LTCC compiler flags.
14346 LTCFLAGS=$lt_CFLAGS
14347
14348 # Take the output of nm and produce a listing of raw symbols and C names.
14349 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14350
14351 # Transform the output of nm in a proper C declaration.
14352 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14353
14354 # Transform the output of nm in a C name address pair.
14355 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14356
14357 # Transform the output of nm in a C name address pair when lib prefix is needed.
14358 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14359
14360 # Specify filename containing input files for \$NM.
14361 nm_file_list_spec=$lt_nm_file_list_spec
14362
14363 # The root where to search for dependent libraries,and in which our libraries should be installed.
14364 lt_sysroot=$lt_sysroot
14365
14366 # The name of the directory that contains temporary libtool files.
14367 objdir=$objdir
14368
14369 # Used to examine libraries when file_magic_cmd begins with "file".
14370 MAGIC_CMD=$MAGIC_CMD
14371
14372 # Must we lock files when doing compilation?
14373 need_locks=$lt_need_locks
14374
14375 # Manifest tool.
14376 MANIFEST_TOOL=$lt_MANIFEST_TOOL
14377
14378 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14379 DSYMUTIL=$lt_DSYMUTIL
14380
14381 # Tool to change global to local symbols on Mac OS X.
14382 NMEDIT=$lt_NMEDIT
14383
14384 # Tool to manipulate fat objects and archives on Mac OS X.
14385 LIPO=$lt_LIPO
14386
14387 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14388 OTOOL=$lt_OTOOL
14389
14390 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14391 OTOOL64=$lt_OTOOL64
14392
14393 # Old archive suffix (normally "a").
14394 libext=$libext
14395
14396 # Shared library suffix (normally ".so").
14397 shrext_cmds=$lt_shrext_cmds
14398
14399 # The commands to extract the exported symbol list from a shared archive.
14400 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14401
14402 # Variables whose values should be saved in libtool wrapper scripts and
14403 # restored at link time.
14404 variables_saved_for_relink=$lt_variables_saved_for_relink
14405
14406 # Do we need the "lib" prefix for modules?
14407 need_lib_prefix=$need_lib_prefix
14408
14409 # Do we need a version for libraries?
14410 need_version=$need_version
14411
14412 # Library versioning type.
14413 version_type=$version_type
14414
14415 # Shared library runtime path variable.
14416 runpath_var=$runpath_var
14417
14418 # Shared library path variable.
14419 shlibpath_var=$shlibpath_var
14420
14421 # Is shlibpath searched before the hard-coded library search path?
14422 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14423
14424 # Format of library name prefix.
14425 libname_spec=$lt_libname_spec
14426
14427 # List of archive names.  First name is the real one, the rest are links.
14428 # The last name is the one that the linker finds with -lNAME
14429 library_names_spec=$lt_library_names_spec
14430
14431 # The coded name of the library, if different from the real name.
14432 soname_spec=$lt_soname_spec
14433
14434 # Permission mode override for installation of shared libraries.
14435 install_override_mode=$lt_install_override_mode
14436
14437 # Command to use after installation of a shared archive.
14438 postinstall_cmds=$lt_postinstall_cmds
14439
14440 # Command to use after uninstallation of a shared archive.
14441 postuninstall_cmds=$lt_postuninstall_cmds
14442
14443 # Commands used to finish a libtool library installation in a directory.
14444 finish_cmds=$lt_finish_cmds
14445
14446 # As "finish_cmds", except a single script fragment to be evaled but
14447 # not shown.
14448 finish_eval=$lt_finish_eval
14449
14450 # Whether we should hardcode library paths into libraries.
14451 hardcode_into_libs=$hardcode_into_libs
14452
14453 # Compile-time system search path for libraries.
14454 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14455
14456 # Run-time system search path for libraries.
14457 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14458
14459 # Whether dlopen is supported.
14460 dlopen_support=$enable_dlopen
14461
14462 # Whether dlopen of programs is supported.
14463 dlopen_self=$enable_dlopen_self
14464
14465 # Whether dlopen of statically linked programs is supported.
14466 dlopen_self_static=$enable_dlopen_self_static
14467
14468 # Commands to strip libraries.
14469 old_striplib=$lt_old_striplib
14470 striplib=$lt_striplib
14471
14472
14473 # The linker used to build libraries.
14474 LD=$lt_LD
14475
14476 # How to create reloadable object files.
14477 reload_flag=$lt_reload_flag
14478 reload_cmds=$lt_reload_cmds
14479
14480 # Commands used to build an old-style archive.
14481 old_archive_cmds=$lt_old_archive_cmds
14482
14483 # A language specific compiler.
14484 CC=$lt_compiler
14485
14486 # Is the compiler the GNU compiler?
14487 with_gcc=$GCC
14488
14489 # Compiler flag to turn off builtin functions.
14490 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14491
14492 # Additional compiler flags for building library objects.
14493 pic_flag=$lt_lt_prog_compiler_pic
14494
14495 # How to pass a linker flag through the compiler.
14496 wl=$lt_lt_prog_compiler_wl
14497
14498 # Compiler flag to prevent dynamic linking.
14499 link_static_flag=$lt_lt_prog_compiler_static
14500
14501 # Does compiler simultaneously support -c and -o options?
14502 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14503
14504 # Whether or not to add -lc for building shared libraries.
14505 build_libtool_need_lc=$archive_cmds_need_lc
14506
14507 # Whether or not to disallow shared libs when runtime libs are static.
14508 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14509
14510 # Compiler flag to allow reflexive dlopens.
14511 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14512
14513 # Compiler flag to generate shared objects directly from archives.
14514 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14515
14516 # Whether the compiler copes with passing no objects directly.
14517 compiler_needs_object=$lt_compiler_needs_object
14518
14519 # Create an old-style archive from a shared archive.
14520 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14521
14522 # Create a temporary old-style archive to link instead of a shared archive.
14523 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14524
14525 # Commands used to build a shared archive.
14526 archive_cmds=$lt_archive_cmds
14527 archive_expsym_cmds=$lt_archive_expsym_cmds
14528
14529 # Commands used to build a loadable module if different from building
14530 # a shared archive.
14531 module_cmds=$lt_module_cmds
14532 module_expsym_cmds=$lt_module_expsym_cmds
14533
14534 # Whether we are building with GNU ld or not.
14535 with_gnu_ld=$lt_with_gnu_ld
14536
14537 # Flag that allows shared libraries with undefined symbols to be built.
14538 allow_undefined_flag=$lt_allow_undefined_flag
14539
14540 # Flag that enforces no undefined symbols.
14541 no_undefined_flag=$lt_no_undefined_flag
14542
14543 # Flag to hardcode \$libdir into a binary during linking.
14544 # This must work even if \$libdir does not exist
14545 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14546
14547 # If ld is used when linking, flag to hardcode \$libdir into a binary
14548 # during linking.  This must work even if \$libdir does not exist.
14549 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14550
14551 # Whether we need a single "-rpath" flag with a separated argument.
14552 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14553
14554 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14555 # DIR into the resulting binary.
14556 hardcode_direct=$hardcode_direct
14557
14558 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14559 # DIR into the resulting binary and the resulting library dependency is
14560 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14561 # library is relocated.
14562 hardcode_direct_absolute=$hardcode_direct_absolute
14563
14564 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14565 # into the resulting binary.
14566 hardcode_minus_L=$hardcode_minus_L
14567
14568 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14569 # into the resulting binary.
14570 hardcode_shlibpath_var=$hardcode_shlibpath_var
14571
14572 # Set to "yes" if building a shared library automatically hardcodes DIR
14573 # into the library and all subsequent libraries and executables linked
14574 # against it.
14575 hardcode_automatic=$hardcode_automatic
14576
14577 # Set to yes if linker adds runtime paths of dependent libraries
14578 # to runtime path list.
14579 inherit_rpath=$inherit_rpath
14580
14581 # Whether libtool must link a program against all its dependency libraries.
14582 link_all_deplibs=$link_all_deplibs
14583
14584 # Set to "yes" if exported symbols are required.
14585 always_export_symbols=$always_export_symbols
14586
14587 # The commands to list exported symbols.
14588 export_symbols_cmds=$lt_export_symbols_cmds
14589
14590 # Symbols that should not be listed in the preloaded symbols.
14591 exclude_expsyms=$lt_exclude_expsyms
14592
14593 # Symbols that must always be exported.
14594 include_expsyms=$lt_include_expsyms
14595
14596 # Commands necessary for linking programs (against libraries) with templates.
14597 prelink_cmds=$lt_prelink_cmds
14598
14599 # Commands necessary for finishing linking programs.
14600 postlink_cmds=$lt_postlink_cmds
14601
14602 # Specify filename containing input files.
14603 file_list_spec=$lt_file_list_spec
14604
14605 # How to hardcode a shared library path into an executable.
14606 hardcode_action=$hardcode_action
14607
14608 # ### END LIBTOOL CONFIG
14609
14610 _LT_EOF
14611
14612   case $host_os in
14613   aix3*)
14614     cat <<\_LT_EOF >> "$cfgfile"
14615 # AIX sometimes has problems with the GCC collect2 program.  For some
14616 # reason, if we set the COLLECT_NAMES environment variable, the problems
14617 # vanish in a puff of smoke.
14618 if test "X${COLLECT_NAMES+set}" != Xset; then
14619   COLLECT_NAMES=
14620   export COLLECT_NAMES
14621 fi
14622 _LT_EOF
14623     ;;
14624   esac
14625
14626
14627 ltmain="$ac_aux_dir/ltmain.sh"
14628
14629
14630   # We use sed instead of cat because bash on DJGPP gets confused if
14631   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14632   # text mode, it properly converts lines to CR/LF.  This bash problem
14633   # is reportedly fixed, but why not run on old versions too?
14634   sed '$q' "$ltmain" >> "$cfgfile" \
14635      || (rm -f "$cfgfile"; exit 1)
14636
14637   if test x"$xsi_shell" = xyes; then
14638   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14639 func_dirname ()\
14640 {\
14641 \    case ${1} in\
14642 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14643 \      *  ) func_dirname_result="${3}" ;;\
14644 \    esac\
14645 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14646   && mv -f "$cfgfile.tmp" "$cfgfile" \
14647     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14648 test 0 -eq $? || _lt_function_replace_fail=:
14649
14650
14651   sed -e '/^func_basename ()$/,/^} # func_basename /c\
14652 func_basename ()\
14653 {\
14654 \    func_basename_result="${1##*/}"\
14655 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14656   && mv -f "$cfgfile.tmp" "$cfgfile" \
14657     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14658 test 0 -eq $? || _lt_function_replace_fail=:
14659
14660
14661   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14662 func_dirname_and_basename ()\
14663 {\
14664 \    case ${1} in\
14665 \      */*) func_dirname_result="${1%/*}${2}" ;;\
14666 \      *  ) func_dirname_result="${3}" ;;\
14667 \    esac\
14668 \    func_basename_result="${1##*/}"\
14669 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14670   && mv -f "$cfgfile.tmp" "$cfgfile" \
14671     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14672 test 0 -eq $? || _lt_function_replace_fail=:
14673
14674
14675   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14676 func_stripname ()\
14677 {\
14678 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14679 \    # positional parameters, so assign one to ordinary parameter first.\
14680 \    func_stripname_result=${3}\
14681 \    func_stripname_result=${func_stripname_result#"${1}"}\
14682 \    func_stripname_result=${func_stripname_result%"${2}"}\
14683 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14684   && mv -f "$cfgfile.tmp" "$cfgfile" \
14685     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14686 test 0 -eq $? || _lt_function_replace_fail=:
14687
14688
14689   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14690 func_split_long_opt ()\
14691 {\
14692 \    func_split_long_opt_name=${1%%=*}\
14693 \    func_split_long_opt_arg=${1#*=}\
14694 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14695   && mv -f "$cfgfile.tmp" "$cfgfile" \
14696     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14697 test 0 -eq $? || _lt_function_replace_fail=:
14698
14699
14700   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14701 func_split_short_opt ()\
14702 {\
14703 \    func_split_short_opt_arg=${1#??}\
14704 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14705 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14706   && mv -f "$cfgfile.tmp" "$cfgfile" \
14707     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14708 test 0 -eq $? || _lt_function_replace_fail=:
14709
14710
14711   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14712 func_lo2o ()\
14713 {\
14714 \    case ${1} in\
14715 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14716 \      *)    func_lo2o_result=${1} ;;\
14717 \    esac\
14718 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14719   && mv -f "$cfgfile.tmp" "$cfgfile" \
14720     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14721 test 0 -eq $? || _lt_function_replace_fail=:
14722
14723
14724   sed -e '/^func_xform ()$/,/^} # func_xform /c\
14725 func_xform ()\
14726 {\
14727     func_xform_result=${1%.*}.lo\
14728 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14729   && mv -f "$cfgfile.tmp" "$cfgfile" \
14730     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14731 test 0 -eq $? || _lt_function_replace_fail=:
14732
14733
14734   sed -e '/^func_arith ()$/,/^} # func_arith /c\
14735 func_arith ()\
14736 {\
14737     func_arith_result=$(( $* ))\
14738 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14739   && mv -f "$cfgfile.tmp" "$cfgfile" \
14740     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14741 test 0 -eq $? || _lt_function_replace_fail=:
14742
14743
14744   sed -e '/^func_len ()$/,/^} # func_len /c\
14745 func_len ()\
14746 {\
14747     func_len_result=${#1}\
14748 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14749   && mv -f "$cfgfile.tmp" "$cfgfile" \
14750     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14751 test 0 -eq $? || _lt_function_replace_fail=:
14752
14753 fi
14754
14755 if test x"$lt_shell_append" = xyes; then
14756   sed -e '/^func_append ()$/,/^} # func_append /c\
14757 func_append ()\
14758 {\
14759     eval "${1}+=\\${2}"\
14760 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14761   && mv -f "$cfgfile.tmp" "$cfgfile" \
14762     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14763 test 0 -eq $? || _lt_function_replace_fail=:
14764
14765
14766   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14767 func_append_quoted ()\
14768 {\
14769 \    func_quote_for_eval "${2}"\
14770 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14771 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14772   && mv -f "$cfgfile.tmp" "$cfgfile" \
14773     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14774 test 0 -eq $? || _lt_function_replace_fail=:
14775
14776
14777   # Save a `func_append' function call where possible by direct use of '+='
14778   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14779     && mv -f "$cfgfile.tmp" "$cfgfile" \
14780       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14781   test 0 -eq $? || _lt_function_replace_fail=:
14782 else
14783   # Save a `func_append' function call even when '+=' is not available
14784   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14785     && mv -f "$cfgfile.tmp" "$cfgfile" \
14786       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14787   test 0 -eq $? || _lt_function_replace_fail=:
14788 fi
14789
14790 if test x"$_lt_function_replace_fail" = x":"; then
14791   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14792 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14793 fi
14794
14795
14796    mv -f "$cfgfile" "$ofile" ||
14797     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14798   chmod +x "$ofile"
14799
14800  ;;
14801
14802   esac
14803 done # for ac_tag
14804
14805
14806 as_fn_exit 0
14807 _ACEOF
14808 ac_clean_files=$ac_clean_files_save
14809
14810 test $ac_write_fail = 0 ||
14811   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14812
14813
14814 # configure is writing to config.log, and then calls config.status.
14815 # config.status does its own redirection, appending to config.log.
14816 # Unfortunately, on DOS this fails, as config.log is still kept open
14817 # by configure, so config.status won't be able to write to it; its
14818 # output is simply discarded.  So we exec the FD to /dev/null,
14819 # effectively closing config.log, so it can be properly (re)opened and
14820 # appended to by config.status.  When coming back to configure, we
14821 # need to make the FD available again.
14822 if test "$no_create" != yes; then
14823   ac_cs_success=:
14824   ac_config_status_args=
14825   test "$silent" = yes &&
14826     ac_config_status_args="$ac_config_status_args --quiet"
14827   exec 5>/dev/null
14828   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14829   exec 5>>config.log
14830   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14831   # would make configure fail if this is the last instruction.
14832   $ac_cs_success || as_fn_exit 1
14833 fi
14834 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14835   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14836 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14837 fi
14838