OSDN Git Service

PR fortran/46402
[pf3gnuchains/gcc-fork.git] / libquadmath / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GCC Quad-precision Math Library 0.1.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
173   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     PATH=/empty FPATH=/empty; export PATH FPATH
178     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='GCC Quad-precision Math Library'
558 PACKAGE_TARNAME='libquadmath'
559 PACKAGE_VERSION='0.1'
560 PACKAGE_STRING='GCC Quad-precision Math Library 0.1'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 #  include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #  include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
599
600 ac_subst_vars='am__EXEEXT_FALSE
601 am__EXEEXT_TRUE
602 LTLIBOBJS
603 LIBOBJS
604 GENINSRC_FALSE
605 GENINSRC_TRUE
606 BUILD_LIBQUADMATH_FALSE
607 BUILD_LIBQUADMATH_TRUE
608 LIBQUAD_USE_SYMVER_SUN_FALSE
609 LIBQUAD_USE_SYMVER_SUN_TRUE
610 LIBQUAD_USE_SYMVER_GNU_FALSE
611 LIBQUAD_USE_SYMVER_GNU_TRUE
612 LIBQUAD_USE_SYMVER_FALSE
613 LIBQUAD_USE_SYMVER_TRUE
614 toolexeclibdir
615 toolexecdir
616 multi_basedir
617 MAINT
618 MAINTAINER_MODE_FALSE
619 MAINTAINER_MODE_TRUE
620 enable_static
621 enable_shared
622 lt_host_flags
623 CPP
624 OTOOL64
625 OTOOL
626 LIPO
627 NMEDIT
628 DSYMUTIL
629 RANLIB
630 AR
631 OBJDUMP
632 LN_S
633 NM
634 ac_ct_DUMPBIN
635 DUMPBIN
636 LD
637 FGREP
638 EGREP
639 GREP
640 SED
641 am__fastdepCC_FALSE
642 am__fastdepCC_TRUE
643 CCDEPMODE
644 AMDEPBACKSLASH
645 AMDEP_FALSE
646 AMDEP_TRUE
647 am__quote
648 am__include
649 DEPDIR
650 OBJEXT
651 EXEEXT
652 ac_ct_CC
653 CPPFLAGS
654 LDFLAGS
655 CFLAGS
656 CC
657 LIBTOOL
658 REPORT_BUGS_TEXI
659 REPORT_BUGS_TO
660 BUILD_INFO_FALSE
661 BUILD_INFO_TRUE
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_noncanonical
686 target_os
687 target_vendor
688 target_cpu
689 target
690 host_os
691 host_vendor
692 host_cpu
693 host
694 build_os
695 build_vendor
696 build_cpu
697 build
698 target_alias
699 host_alias
700 build_alias
701 LIBS
702 ECHO_T
703 ECHO_N
704 ECHO_C
705 DEFS
706 mandir
707 localedir
708 libdir
709 psdir
710 pdfdir
711 dvidir
712 htmldir
713 infodir
714 docdir
715 oldincludedir
716 includedir
717 localstatedir
718 sharedstatedir
719 sysconfdir
720 datadir
721 datarootdir
722 libexecdir
723 sbindir
724 bindir
725 program_transform_name
726 prefix
727 exec_prefix
728 PACKAGE_URL
729 PACKAGE_BUGREPORT
730 PACKAGE_STRING
731 PACKAGE_VERSION
732 PACKAGE_TARNAME
733 PACKAGE_NAME
734 PATH_SEPARATOR
735 SHELL'
736 ac_subst_files=''
737 ac_user_opts='
738 enable_option_checking
739 enable_version_specific_runtime_libs
740 with_bugurl
741 enable_shared
742 enable_static
743 with_pic
744 enable_fast_install
745 enable_dependency_tracking
746 with_gnu_ld
747 enable_libtool_lock
748 enable_maintainer_mode
749 enable_multilib
750 enable_generated_files_in_srcdir
751 '
752       ac_precious_vars='build_alias
753 host_alias
754 target_alias
755 CC
756 CFLAGS
757 LDFLAGS
758 LIBS
759 CPPFLAGS
760 CPP'
761
762
763 # Initialize some variables set by options.
764 ac_init_help=
765 ac_init_version=false
766 ac_unrecognized_opts=
767 ac_unrecognized_sep=
768 # The variables have the same names as the options, with
769 # dashes changed to underlines.
770 cache_file=/dev/null
771 exec_prefix=NONE
772 no_create=
773 no_recursion=
774 prefix=NONE
775 program_prefix=NONE
776 program_suffix=NONE
777 program_transform_name=s,x,x,
778 silent=
779 site=
780 srcdir=
781 verbose=
782 x_includes=NONE
783 x_libraries=NONE
784
785 # Installation directory options.
786 # These are left unexpanded so users can "make install exec_prefix=/foo"
787 # and all the variables that are supposed to be based on exec_prefix
788 # by default will actually change.
789 # Use braces instead of parens because sh, perl, etc. also accept them.
790 # (The list follows the same order as the GNU Coding Standards.)
791 bindir='${exec_prefix}/bin'
792 sbindir='${exec_prefix}/sbin'
793 libexecdir='${exec_prefix}/libexec'
794 datarootdir='${prefix}/share'
795 datadir='${datarootdir}'
796 sysconfdir='${prefix}/etc'
797 sharedstatedir='${prefix}/com'
798 localstatedir='${prefix}/var'
799 includedir='${prefix}/include'
800 oldincludedir='/usr/include'
801 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir='${datarootdir}/info'
803 htmldir='${docdir}'
804 dvidir='${docdir}'
805 pdfdir='${docdir}'
806 psdir='${docdir}'
807 libdir='${exec_prefix}/lib'
808 localedir='${datarootdir}/locale'
809 mandir='${datarootdir}/man'
810
811 ac_prev=
812 ac_dashdash=
813 for ac_option
814 do
815   # If the previous option needs an argument, assign it.
816   if test -n "$ac_prev"; then
817     eval $ac_prev=\$ac_option
818     ac_prev=
819     continue
820   fi
821
822   case $ac_option in
823   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824   *)    ac_optarg=yes ;;
825   esac
826
827   # Accept the important Cygnus configure options, so we can diagnose typos.
828
829   case $ac_dashdash$ac_option in
830   --)
831     ac_dashdash=yes ;;
832
833   -bindir | --bindir | --bindi | --bind | --bin | --bi)
834     ac_prev=bindir ;;
835   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836     bindir=$ac_optarg ;;
837
838   -build | --build | --buil | --bui | --bu)
839     ac_prev=build_alias ;;
840   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
841     build_alias=$ac_optarg ;;
842
843   -cache-file | --cache-file | --cache-fil | --cache-fi \
844   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
845     ac_prev=cache_file ;;
846   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
848     cache_file=$ac_optarg ;;
849
850   --config-cache | -C)
851     cache_file=config.cache ;;
852
853   -datadir | --datadir | --datadi | --datad)
854     ac_prev=datadir ;;
855   -datadir=* | --datadir=* | --datadi=* | --datad=*)
856     datadir=$ac_optarg ;;
857
858   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859   | --dataroo | --dataro | --datar)
860     ac_prev=datarootdir ;;
861   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
863     datarootdir=$ac_optarg ;;
864
865   -disable-* | --disable-*)
866     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867     # Reject names that are not valid shell variable names.
868     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869       as_fn_error "invalid feature name: $ac_useropt"
870     ac_useropt_orig=$ac_useropt
871     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872     case $ac_user_opts in
873       *"
874 "enable_$ac_useropt"
875 "*) ;;
876       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877          ac_unrecognized_sep=', ';;
878     esac
879     eval enable_$ac_useropt=no ;;
880
881   -docdir | --docdir | --docdi | --doc | --do)
882     ac_prev=docdir ;;
883   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
884     docdir=$ac_optarg ;;
885
886   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
887     ac_prev=dvidir ;;
888   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
889     dvidir=$ac_optarg ;;
890
891   -enable-* | --enable-*)
892     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893     # Reject names that are not valid shell variable names.
894     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895       as_fn_error "invalid feature name: $ac_useropt"
896     ac_useropt_orig=$ac_useropt
897     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898     case $ac_user_opts in
899       *"
900 "enable_$ac_useropt"
901 "*) ;;
902       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903          ac_unrecognized_sep=', ';;
904     esac
905     eval enable_$ac_useropt=\$ac_optarg ;;
906
907   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909   | --exec | --exe | --ex)
910     ac_prev=exec_prefix ;;
911   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913   | --exec=* | --exe=* | --ex=*)
914     exec_prefix=$ac_optarg ;;
915
916   -gas | --gas | --ga | --g)
917     # Obsolete; use --with-gas.
918     with_gas=yes ;;
919
920   -help | --help | --hel | --he | -h)
921     ac_init_help=long ;;
922   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923     ac_init_help=recursive ;;
924   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925     ac_init_help=short ;;
926
927   -host | --host | --hos | --ho)
928     ac_prev=host_alias ;;
929   -host=* | --host=* | --hos=* | --ho=*)
930     host_alias=$ac_optarg ;;
931
932   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
933     ac_prev=htmldir ;;
934   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935   | --ht=*)
936     htmldir=$ac_optarg ;;
937
938   -includedir | --includedir | --includedi | --included | --include \
939   | --includ | --inclu | --incl | --inc)
940     ac_prev=includedir ;;
941   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942   | --includ=* | --inclu=* | --incl=* | --inc=*)
943     includedir=$ac_optarg ;;
944
945   -infodir | --infodir | --infodi | --infod | --info | --inf)
946     ac_prev=infodir ;;
947   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948     infodir=$ac_optarg ;;
949
950   -libdir | --libdir | --libdi | --libd)
951     ac_prev=libdir ;;
952   -libdir=* | --libdir=* | --libdi=* | --libd=*)
953     libdir=$ac_optarg ;;
954
955   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956   | --libexe | --libex | --libe)
957     ac_prev=libexecdir ;;
958   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959   | --libexe=* | --libex=* | --libe=*)
960     libexecdir=$ac_optarg ;;
961
962   -localedir | --localedir | --localedi | --localed | --locale)
963     ac_prev=localedir ;;
964   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965     localedir=$ac_optarg ;;
966
967   -localstatedir | --localstatedir | --localstatedi | --localstated \
968   | --localstate | --localstat | --localsta | --localst | --locals)
969     ac_prev=localstatedir ;;
970   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972     localstatedir=$ac_optarg ;;
973
974   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
975     ac_prev=mandir ;;
976   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
977     mandir=$ac_optarg ;;
978
979   -nfp | --nfp | --nf)
980     # Obsolete; use --without-fp.
981     with_fp=no ;;
982
983   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984   | --no-cr | --no-c | -n)
985     no_create=yes ;;
986
987   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
989     no_recursion=yes ;;
990
991   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993   | --oldin | --oldi | --old | --ol | --o)
994     ac_prev=oldincludedir ;;
995   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998     oldincludedir=$ac_optarg ;;
999
1000   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1001     ac_prev=prefix ;;
1002   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003     prefix=$ac_optarg ;;
1004
1005   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006   | --program-pre | --program-pr | --program-p)
1007     ac_prev=program_prefix ;;
1008   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010     program_prefix=$ac_optarg ;;
1011
1012   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013   | --program-suf | --program-su | --program-s)
1014     ac_prev=program_suffix ;;
1015   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017     program_suffix=$ac_optarg ;;
1018
1019   -program-transform-name | --program-transform-name \
1020   | --program-transform-nam | --program-transform-na \
1021   | --program-transform-n | --program-transform- \
1022   | --program-transform | --program-transfor \
1023   | --program-transfo | --program-transf \
1024   | --program-trans | --program-tran \
1025   | --progr-tra | --program-tr | --program-t)
1026     ac_prev=program_transform_name ;;
1027   -program-transform-name=* | --program-transform-name=* \
1028   | --program-transform-nam=* | --program-transform-na=* \
1029   | --program-transform-n=* | --program-transform-=* \
1030   | --program-transform=* | --program-transfor=* \
1031   | --program-transfo=* | --program-transf=* \
1032   | --program-trans=* | --program-tran=* \
1033   | --progr-tra=* | --program-tr=* | --program-t=*)
1034     program_transform_name=$ac_optarg ;;
1035
1036   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1037     ac_prev=pdfdir ;;
1038   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039     pdfdir=$ac_optarg ;;
1040
1041   -psdir | --psdir | --psdi | --psd | --ps)
1042     ac_prev=psdir ;;
1043   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1044     psdir=$ac_optarg ;;
1045
1046   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047   | -silent | --silent | --silen | --sile | --sil)
1048     silent=yes ;;
1049
1050   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051     ac_prev=sbindir ;;
1052   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053   | --sbi=* | --sb=*)
1054     sbindir=$ac_optarg ;;
1055
1056   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058   | --sharedst | --shareds | --shared | --share | --shar \
1059   | --sha | --sh)
1060     ac_prev=sharedstatedir ;;
1061   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064   | --sha=* | --sh=*)
1065     sharedstatedir=$ac_optarg ;;
1066
1067   -site | --site | --sit)
1068     ac_prev=site ;;
1069   -site=* | --site=* | --sit=*)
1070     site=$ac_optarg ;;
1071
1072   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073     ac_prev=srcdir ;;
1074   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075     srcdir=$ac_optarg ;;
1076
1077   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078   | --syscon | --sysco | --sysc | --sys | --sy)
1079     ac_prev=sysconfdir ;;
1080   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082     sysconfdir=$ac_optarg ;;
1083
1084   -target | --target | --targe | --targ | --tar | --ta | --t)
1085     ac_prev=target_alias ;;
1086   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087     target_alias=$ac_optarg ;;
1088
1089   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090     verbose=yes ;;
1091
1092   -version | --version | --versio | --versi | --vers | -V)
1093     ac_init_version=: ;;
1094
1095   -with-* | --with-*)
1096     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097     # Reject names that are not valid shell variable names.
1098     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099       as_fn_error "invalid package name: $ac_useropt"
1100     ac_useropt_orig=$ac_useropt
1101     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102     case $ac_user_opts in
1103       *"
1104 "with_$ac_useropt"
1105 "*) ;;
1106       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107          ac_unrecognized_sep=', ';;
1108     esac
1109     eval with_$ac_useropt=\$ac_optarg ;;
1110
1111   -without-* | --without-*)
1112     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115       as_fn_error "invalid package name: $ac_useropt"
1116     ac_useropt_orig=$ac_useropt
1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118     case $ac_user_opts in
1119       *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123          ac_unrecognized_sep=', ';;
1124     esac
1125     eval with_$ac_useropt=no ;;
1126
1127   --x)
1128     # Obsolete; use --with-x.
1129     with_x=yes ;;
1130
1131   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132   | --x-incl | --x-inc | --x-in | --x-i)
1133     ac_prev=x_includes ;;
1134   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136     x_includes=$ac_optarg ;;
1137
1138   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140     ac_prev=x_libraries ;;
1141   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143     x_libraries=$ac_optarg ;;
1144
1145   -*) as_fn_error "unrecognized option: \`$ac_option'
1146 Try \`$0 --help' for more information."
1147     ;;
1148
1149   *=*)
1150     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151     # Reject names that are not valid shell variable names.
1152     case $ac_envvar in #(
1153       '' | [0-9]* | *[!_$as_cr_alnum]* )
1154       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1155     esac
1156     eval $ac_envvar=\$ac_optarg
1157     export $ac_envvar ;;
1158
1159   *)
1160     # FIXME: should be removed in autoconf 3.0.
1161     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165     ;;
1166
1167   esac
1168 done
1169
1170 if test -n "$ac_prev"; then
1171   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172   as_fn_error "missing argument to $ac_option"
1173 fi
1174
1175 if test -n "$ac_unrecognized_opts"; then
1176   case $enable_option_checking in
1177     no) ;;
1178     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1179     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180   esac
1181 fi
1182
1183 # Check all directory arguments for consistency.
1184 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185                 datadir sysconfdir sharedstatedir localstatedir includedir \
1186                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187                 libdir localedir mandir
1188 do
1189   eval ac_val=\$$ac_var
1190   # Remove trailing slashes.
1191   case $ac_val in
1192     */ )
1193       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194       eval $ac_var=\$ac_val;;
1195   esac
1196   # Be sure to have absolute directory names.
1197   case $ac_val in
1198     [\\/$]* | ?:[\\/]* )  continue;;
1199     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1200   esac
1201   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1202 done
1203
1204 # There might be people who depend on the old broken behavior: `$host'
1205 # used to hold the argument of --host etc.
1206 # FIXME: To remove some day.
1207 build=$build_alias
1208 host=$host_alias
1209 target=$target_alias
1210
1211 # FIXME: To remove some day.
1212 if test "x$host_alias" != x; then
1213   if test "x$build_alias" = x; then
1214     cross_compiling=maybe
1215     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216     If a cross compiler is detected then cross compile mode will be used." >&2
1217   elif test "x$build_alias" != "x$host_alias"; then
1218     cross_compiling=yes
1219   fi
1220 fi
1221
1222 ac_tool_prefix=
1223 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224
1225 test "$silent" = yes && exec 6>/dev/null
1226
1227
1228 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1229 ac_ls_di=`ls -di .` &&
1230 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1231   as_fn_error "working directory cannot be determined"
1232 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233   as_fn_error "pwd does not report name of working directory"
1234
1235
1236 # Find the source files, if location was not specified.
1237 if test -z "$srcdir"; then
1238   ac_srcdir_defaulted=yes
1239   # Try the directory containing this script, then the parent directory.
1240   ac_confdir=`$as_dirname -- "$as_myself" ||
1241 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242          X"$as_myself" : 'X\(//\)[^/]' \| \
1243          X"$as_myself" : 'X\(//\)$' \| \
1244          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245 $as_echo X"$as_myself" |
1246     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247             s//\1/
1248             q
1249           }
1250           /^X\(\/\/\)[^/].*/{
1251             s//\1/
1252             q
1253           }
1254           /^X\(\/\/\)$/{
1255             s//\1/
1256             q
1257           }
1258           /^X\(\/\).*/{
1259             s//\1/
1260             q
1261           }
1262           s/.*/./; q'`
1263   srcdir=$ac_confdir
1264   if test ! -r "$srcdir/$ac_unique_file"; then
1265     srcdir=..
1266   fi
1267 else
1268   ac_srcdir_defaulted=no
1269 fi
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1273 fi
1274 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275 ac_abs_confdir=`(
1276         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1277         pwd)`
1278 # When building in place, set srcdir=.
1279 if test "$ac_abs_confdir" = "$ac_pwd"; then
1280   srcdir=.
1281 fi
1282 # Remove unnecessary trailing slashes from srcdir.
1283 # Double slashes in file names in object file debugging info
1284 # mess up M-x gdb in Emacs.
1285 case $srcdir in
1286 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287 esac
1288 for ac_var in $ac_precious_vars; do
1289   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290   eval ac_env_${ac_var}_value=\$${ac_var}
1291   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293 done
1294
1295 #
1296 # Report the --help message.
1297 #
1298 if test "$ac_init_help" = "long"; then
1299   # Omit some internal or obsolete options to make the list less imposing.
1300   # This message is too long to be a string in the A/UX 3.1 sh.
1301   cat <<_ACEOF
1302 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1303
1304 Usage: $0 [OPTION]... [VAR=VALUE]...
1305
1306 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307 VAR=VALUE.  See below for descriptions of some of the useful variables.
1308
1309 Defaults for the options are specified in brackets.
1310
1311 Configuration:
1312   -h, --help              display this help and exit
1313       --help=short        display options specific to this package
1314       --help=recursive    display the short help of all the included packages
1315   -V, --version           display version information and exit
1316   -q, --quiet, --silent   do not print \`checking...' messages
1317       --cache-file=FILE   cache test results in FILE [disabled]
1318   -C, --config-cache      alias for \`--cache-file=config.cache'
1319   -n, --no-create         do not create output files
1320       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1321
1322 Installation directories:
1323   --prefix=PREFIX         install architecture-independent files in PREFIX
1324                           [$ac_default_prefix]
1325   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1326                           [PREFIX]
1327
1328 By default, \`make install' will install all the files in
1329 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1330 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331 for instance \`--prefix=\$HOME'.
1332
1333 For better control, use the options below.
1334
1335 Fine tuning of the installation directories:
1336   --bindir=DIR            user executables [EPREFIX/bin]
1337   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1338   --libexecdir=DIR        program executables [EPREFIX/libexec]
1339   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1340   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1341   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1342   --libdir=DIR            object code libraries [EPREFIX/lib]
1343   --includedir=DIR        C header files [PREFIX/include]
1344   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1345   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1346   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1347   --infodir=DIR           info documentation [DATAROOTDIR/info]
1348   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1349   --mandir=DIR            man documentation [DATAROOTDIR/man]
1350   --docdir=DIR            documentation root [DATAROOTDIR/doc/libquadmath]
1351   --htmldir=DIR           html documentation [DOCDIR]
1352   --dvidir=DIR            dvi documentation [DOCDIR]
1353   --pdfdir=DIR            pdf documentation [DOCDIR]
1354   --psdir=DIR             ps documentation [DOCDIR]
1355 _ACEOF
1356
1357   cat <<\_ACEOF
1358
1359 Program names:
1360   --program-prefix=PREFIX            prepend PREFIX to installed program names
1361   --program-suffix=SUFFIX            append SUFFIX to installed program names
1362   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1363
1364 System types:
1365   --build=BUILD     configure for building on BUILD [guessed]
1366   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1367   --target=TARGET   configure for building compilers for TARGET [HOST]
1368 _ACEOF
1369 fi
1370
1371 if test -n "$ac_init_help"; then
1372   case $ac_init_help in
1373      short | recursive ) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1374    esac
1375   cat <<\_ACEOF
1376
1377 Optional Features:
1378   --disable-option-checking  ignore unrecognized --enable/--with options
1379   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1380   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1381   --enable-version-specific-runtime-libs
1382                           specify that runtime libraries should be installed
1383                           in a compiler-specific directory
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   --enable-maintainer-mode  enable make rules and dependencies not useful
1392                           (and sometimes confusing) to the casual installer
1393   --enable-multilib       build many library versions (default)
1394   --enable-generated-files-in-srcdir
1395                           put copies of generated files in source dir intended
1396                           for creating source tarballs for users without
1397                           texinfo bison or flex
1398
1399 Optional Packages:
1400   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1401   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1402   --with-bugurl=URL       Direct users to URL to report a bug
1403   --with-pic              try to use only PIC/non-PIC objects [default=use
1404                           both]
1405   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1406
1407 Some influential environment variables:
1408   CC          C compiler command
1409   CFLAGS      C compiler flags
1410   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1411               nonstandard directory <lib dir>
1412   LIBS        libraries to pass to the linker, e.g. -l<library>
1413   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1414               you have headers in a nonstandard directory <include dir>
1415   CPP         C preprocessor
1416
1417 Use these variables to override the choices made by `configure' or to help
1418 it to find libraries and programs with nonstandard names/locations.
1419
1420 Report bugs to the package provider.
1421 _ACEOF
1422 ac_status=$?
1423 fi
1424
1425 if test "$ac_init_help" = "recursive"; then
1426   # If there are subdirs, report their specific --help.
1427   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1428     test -d "$ac_dir" ||
1429       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1430       continue
1431     ac_builddir=.
1432
1433 case "$ac_dir" in
1434 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435 *)
1436   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1437   # A ".." for each directory in $ac_dir_suffix.
1438   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1439   case $ac_top_builddir_sub in
1440   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1441   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1442   esac ;;
1443 esac
1444 ac_abs_top_builddir=$ac_pwd
1445 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1446 # for backward compatibility:
1447 ac_top_builddir=$ac_top_build_prefix
1448
1449 case $srcdir in
1450   .)  # We are building in place.
1451     ac_srcdir=.
1452     ac_top_srcdir=$ac_top_builddir_sub
1453     ac_abs_top_srcdir=$ac_pwd ;;
1454   [\\/]* | ?:[\\/]* )  # Absolute name.
1455     ac_srcdir=$srcdir$ac_dir_suffix;
1456     ac_top_srcdir=$srcdir
1457     ac_abs_top_srcdir=$srcdir ;;
1458   *) # Relative name.
1459     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1460     ac_top_srcdir=$ac_top_build_prefix$srcdir
1461     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1462 esac
1463 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1464
1465     cd "$ac_dir" || { ac_status=$?; continue; }
1466     # Check for guested configure.
1467     if test -f "$ac_srcdir/configure.gnu"; then
1468       echo &&
1469       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1470     elif test -f "$ac_srcdir/configure"; then
1471       echo &&
1472       $SHELL "$ac_srcdir/configure" --help=recursive
1473     else
1474       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1475     fi || ac_status=$?
1476     cd "$ac_pwd" || { ac_status=$?; break; }
1477   done
1478 fi
1479
1480 test -n "$ac_init_help" && exit $ac_status
1481 if $ac_init_version; then
1482   cat <<\_ACEOF
1483 GCC Quad-precision Math Library configure 0.1
1484 generated by GNU Autoconf 2.64
1485
1486 Copyright (C) 2009 Free Software Foundation, Inc.
1487 This configure script is free software; the Free Software Foundation
1488 gives unlimited permission to copy, distribute and modify it.
1489 _ACEOF
1490   exit
1491 fi
1492
1493 ## ------------------------ ##
1494 ## Autoconf initialization. ##
1495 ## ------------------------ ##
1496
1497 # ac_fn_c_try_compile LINENO
1498 # --------------------------
1499 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1500 ac_fn_c_try_compile ()
1501 {
1502   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1503   rm -f conftest.$ac_objext
1504   if { { ac_try="$ac_compile"
1505 case "(($ac_try" in
1506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1507   *) ac_try_echo=$ac_try;;
1508 esac
1509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1510 $as_echo "$ac_try_echo"; } >&5
1511   (eval "$ac_compile") 2>conftest.err
1512   ac_status=$?
1513   if test -s conftest.err; then
1514     grep -v '^ *+' conftest.err >conftest.er1
1515     cat conftest.er1 >&5
1516     mv -f conftest.er1 conftest.err
1517   fi
1518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1519   test $ac_status = 0; } && {
1520          test -z "$ac_c_werror_flag" ||
1521          test ! -s conftest.err
1522        } && test -s conftest.$ac_objext; then :
1523   ac_retval=0
1524 else
1525   $as_echo "$as_me: failed program was:" >&5
1526 sed 's/^/| /' conftest.$ac_ext >&5
1527
1528         ac_retval=1
1529 fi
1530   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1531   return $ac_retval
1532
1533 } # ac_fn_c_try_compile
1534
1535 # ac_fn_c_try_link LINENO
1536 # -----------------------
1537 # Try to link conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_c_try_link ()
1539 {
1540   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541   rm -f conftest.$ac_objext conftest$ac_exeext
1542   if { { ac_try="$ac_link"
1543 case "(($ac_try" in
1544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1545   *) ac_try_echo=$ac_try;;
1546 esac
1547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1548 $as_echo "$ac_try_echo"; } >&5
1549   (eval "$ac_link") 2>conftest.err
1550   ac_status=$?
1551   if test -s conftest.err; then
1552     grep -v '^ *+' conftest.err >conftest.er1
1553     cat conftest.er1 >&5
1554     mv -f conftest.er1 conftest.err
1555   fi
1556   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557   test $ac_status = 0; } && {
1558          test -z "$ac_c_werror_flag" ||
1559          test ! -s conftest.err
1560        } && test -s conftest$ac_exeext && {
1561          test "$cross_compiling" = yes ||
1562          $as_test_x conftest$ac_exeext
1563        }; then :
1564   ac_retval=0
1565 else
1566   $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1568
1569         ac_retval=1
1570 fi
1571   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1572   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1573   # interfere with the next link command; also delete a directory that is
1574   # left behind by Apple's compiler.  We do this before executing the actions.
1575   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1576   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1577   return $ac_retval
1578
1579 } # ac_fn_c_try_link
1580
1581 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1582 # -------------------------------------------------------
1583 # Tests whether HEADER exists and can be compiled using the include files in
1584 # INCLUDES, setting the cache variable VAR accordingly.
1585 ac_fn_c_check_header_compile ()
1586 {
1587   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1589 $as_echo_n "checking for $2... " >&6; }
1590 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1591   $as_echo_n "(cached) " >&6
1592 else
1593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594 /* end confdefs.h.  */
1595 $4
1596 #include <$2>
1597 _ACEOF
1598 if ac_fn_c_try_compile "$LINENO"; then :
1599   eval "$3=yes"
1600 else
1601   eval "$3=no"
1602 fi
1603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 fi
1605 eval ac_res=\$$3
1606                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1607 $as_echo "$ac_res" >&6; }
1608   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1609
1610 } # ac_fn_c_check_header_compile
1611
1612 # ac_fn_c_try_cpp LINENO
1613 # ----------------------
1614 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615 ac_fn_c_try_cpp ()
1616 {
1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1618   if { { ac_try="$ac_cpp conftest.$ac_ext"
1619 case "(($ac_try" in
1620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621   *) ac_try_echo=$ac_try;;
1622 esac
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1626   ac_status=$?
1627   if test -s conftest.err; then
1628     grep -v '^ *+' conftest.err >conftest.er1
1629     cat conftest.er1 >&5
1630     mv -f conftest.er1 conftest.err
1631   fi
1632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633   test $ac_status = 0; } >/dev/null && {
1634          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1635          test ! -s conftest.err
1636        }; then :
1637   ac_retval=0
1638 else
1639   $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5
1641
1642     ac_retval=1
1643 fi
1644   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1645   return $ac_retval
1646
1647 } # ac_fn_c_try_cpp
1648
1649 # ac_fn_c_try_run LINENO
1650 # ----------------------
1651 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1652 # that executables *can* be run.
1653 ac_fn_c_try_run ()
1654 {
1655   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656   if { { ac_try="$ac_link"
1657 case "(($ac_try" in
1658   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659   *) ac_try_echo=$ac_try;;
1660 esac
1661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663   (eval "$ac_link") 2>&5
1664   ac_status=$?
1665   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1666   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1667   { { case "(($ac_try" in
1668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669   *) ac_try_echo=$ac_try;;
1670 esac
1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672 $as_echo "$ac_try_echo"; } >&5
1673   (eval "$ac_try") 2>&5
1674   ac_status=$?
1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676   test $ac_status = 0; }; }; then :
1677   ac_retval=0
1678 else
1679   $as_echo "$as_me: program exited with status $ac_status" >&5
1680        $as_echo "$as_me: failed program was:" >&5
1681 sed 's/^/| /' conftest.$ac_ext >&5
1682
1683        ac_retval=$ac_status
1684 fi
1685   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1686   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1687   return $ac_retval
1688
1689 } # ac_fn_c_try_run
1690
1691 # ac_fn_c_check_func LINENO FUNC VAR
1692 # ----------------------------------
1693 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1694 ac_fn_c_check_func ()
1695 {
1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1698 $as_echo_n "checking for $2... " >&6; }
1699 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1700   $as_echo_n "(cached) " >&6
1701 else
1702   if test x$gcc_no_link = xyes; then
1703   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1704 fi
1705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1706 /* end confdefs.h.  */
1707 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1709 #define $2 innocuous_$2
1710
1711 /* System header to define __stub macros and hopefully few prototypes,
1712     which can conflict with char $2 (); below.
1713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1714     <limits.h> exists even on freestanding compilers.  */
1715
1716 #ifdef __STDC__
1717 # include <limits.h>
1718 #else
1719 # include <assert.h>
1720 #endif
1721
1722 #undef $2
1723
1724 /* Override any GCC internal prototype to avoid an error.
1725    Use char because int might match the return type of a GCC
1726    builtin and then its argument prototype would still apply.  */
1727 #ifdef __cplusplus
1728 extern "C"
1729 #endif
1730 char $2 ();
1731 /* The GNU C library defines this for functions which it implements
1732     to always fail with ENOSYS.  Some functions are actually named
1733     something starting with __ and the normal name is an alias.  */
1734 #if defined __stub_$2 || defined __stub___$2
1735 choke me
1736 #endif
1737
1738 int
1739 main ()
1740 {
1741 return $2 ();
1742   ;
1743   return 0;
1744 }
1745 _ACEOF
1746 if ac_fn_c_try_link "$LINENO"; then :
1747   eval "$3=yes"
1748 else
1749   eval "$3=no"
1750 fi
1751 rm -f core conftest.err conftest.$ac_objext \
1752     conftest$ac_exeext conftest.$ac_ext
1753 fi
1754 eval ac_res=\$$3
1755                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1757   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1758
1759 } # ac_fn_c_check_func
1760
1761 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1762 # -------------------------------------------------------
1763 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1764 # the include files in INCLUDES and setting the cache variable VAR
1765 # accordingly.
1766 ac_fn_c_check_header_mongrel ()
1767 {
1768   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1770   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1771 $as_echo_n "checking for $2... " >&6; }
1772 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1773   $as_echo_n "(cached) " >&6
1774 fi
1775 eval ac_res=\$$3
1776                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778 else
1779   # Is the header compilable?
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1781 $as_echo_n "checking $2 usability... " >&6; }
1782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783 /* end confdefs.h.  */
1784 $4
1785 #include <$2>
1786 _ACEOF
1787 if ac_fn_c_try_compile "$LINENO"; then :
1788   ac_header_compiler=yes
1789 else
1790   ac_header_compiler=no
1791 fi
1792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1794 $as_echo "$ac_header_compiler" >&6; }
1795
1796 # Is the header present?
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1798 $as_echo_n "checking $2 presence... " >&6; }
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h.  */
1801 #include <$2>
1802 _ACEOF
1803 if ac_fn_c_try_cpp "$LINENO"; then :
1804   ac_header_preproc=yes
1805 else
1806   ac_header_preproc=no
1807 fi
1808 rm -f conftest.err conftest.$ac_ext
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1810 $as_echo "$ac_header_preproc" >&6; }
1811
1812 # So?  What about this header?
1813 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1814   yes:no: )
1815     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1816 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1817     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1818 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1819     ;;
1820   no:yes:* )
1821     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1822 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1823     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1824 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1825     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1826 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1827     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1828 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1829     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1830 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1831     ;;
1832 esac
1833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836   $as_echo_n "(cached) " >&6
1837 else
1838   eval "$3=\$ac_header_compiler"
1839 fi
1840 eval ac_res=\$$3
1841                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1842 $as_echo "$ac_res" >&6; }
1843 fi
1844   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845
1846 } # ac_fn_c_check_header_mongrel
1847 cat >config.log <<_ACEOF
1848 This file contains any messages produced by compilers while
1849 running configure, to aid debugging if configure makes a mistake.
1850
1851 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1852 generated by GNU Autoconf 2.64.  Invocation command line was
1853
1854   $ $0 $@
1855
1856 _ACEOF
1857 exec 5>>config.log
1858 {
1859 cat <<_ASUNAME
1860 ## --------- ##
1861 ## Platform. ##
1862 ## --------- ##
1863
1864 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1865 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1866 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1867 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1868 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1869
1870 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1871 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1872
1873 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1874 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1875 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1876 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1877 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1878 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1879 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1880
1881 _ASUNAME
1882
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884 for as_dir in $PATH
1885 do
1886   IFS=$as_save_IFS
1887   test -z "$as_dir" && as_dir=.
1888     $as_echo "PATH: $as_dir"
1889   done
1890 IFS=$as_save_IFS
1891
1892 } >&5
1893
1894 cat >&5 <<_ACEOF
1895
1896
1897 ## ----------- ##
1898 ## Core tests. ##
1899 ## ----------- ##
1900
1901 _ACEOF
1902
1903
1904 # Keep a trace of the command line.
1905 # Strip out --no-create and --no-recursion so they do not pile up.
1906 # Strip out --silent because we don't want to record it for future runs.
1907 # Also quote any args containing shell meta-characters.
1908 # Make two passes to allow for proper duplicate-argument suppression.
1909 ac_configure_args=
1910 ac_configure_args0=
1911 ac_configure_args1=
1912 ac_must_keep_next=false
1913 for ac_pass in 1 2
1914 do
1915   for ac_arg
1916   do
1917     case $ac_arg in
1918     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1919     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1920     | -silent | --silent | --silen | --sile | --sil)
1921       continue ;;
1922     *\'*)
1923       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1924     esac
1925     case $ac_pass in
1926     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1927     2)
1928       as_fn_append ac_configure_args1 " '$ac_arg'"
1929       if test $ac_must_keep_next = true; then
1930         ac_must_keep_next=false # Got value, back to normal.
1931       else
1932         case $ac_arg in
1933           *=* | --config-cache | -C | -disable-* | --disable-* \
1934           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1935           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1936           | -with-* | --with-* | -without-* | --without-* | --x)
1937             case "$ac_configure_args0 " in
1938               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1939             esac
1940             ;;
1941           -* ) ac_must_keep_next=true ;;
1942         esac
1943       fi
1944       as_fn_append ac_configure_args " '$ac_arg'"
1945       ;;
1946     esac
1947   done
1948 done
1949 { ac_configure_args0=; unset ac_configure_args0;}
1950 { ac_configure_args1=; unset ac_configure_args1;}
1951
1952 # When interrupted or exit'd, cleanup temporary files, and complete
1953 # config.log.  We remove comments because anyway the quotes in there
1954 # would cause problems or look ugly.
1955 # WARNING: Use '\'' to represent an apostrophe within the trap.
1956 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1957 trap 'exit_status=$?
1958   # Save into config.log some information that might help in debugging.
1959   {
1960     echo
1961
1962     cat <<\_ASBOX
1963 ## ---------------- ##
1964 ## Cache variables. ##
1965 ## ---------------- ##
1966 _ASBOX
1967     echo
1968     # The following way of writing the cache mishandles newlines in values,
1969 (
1970   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1971     eval ac_val=\$$ac_var
1972     case $ac_val in #(
1973     *${as_nl}*)
1974       case $ac_var in #(
1975       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1977       esac
1978       case $ac_var in #(
1979       _ | IFS | as_nl) ;; #(
1980       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1981       *) { eval $ac_var=; unset $ac_var;} ;;
1982       esac ;;
1983     esac
1984   done
1985   (set) 2>&1 |
1986     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1987     *${as_nl}ac_space=\ *)
1988       sed -n \
1989         "s/'\''/'\''\\\\'\'''\''/g;
1990           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1991       ;; #(
1992     *)
1993       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1994       ;;
1995     esac |
1996     sort
1997 )
1998     echo
1999
2000     cat <<\_ASBOX
2001 ## ----------------- ##
2002 ## Output variables. ##
2003 ## ----------------- ##
2004 _ASBOX
2005     echo
2006     for ac_var in $ac_subst_vars
2007     do
2008       eval ac_val=\$$ac_var
2009       case $ac_val in
2010       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2011       esac
2012       $as_echo "$ac_var='\''$ac_val'\''"
2013     done | sort
2014     echo
2015
2016     if test -n "$ac_subst_files"; then
2017       cat <<\_ASBOX
2018 ## ------------------- ##
2019 ## File substitutions. ##
2020 ## ------------------- ##
2021 _ASBOX
2022       echo
2023       for ac_var in $ac_subst_files
2024       do
2025         eval ac_val=\$$ac_var
2026         case $ac_val in
2027         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2028         esac
2029         $as_echo "$ac_var='\''$ac_val'\''"
2030       done | sort
2031       echo
2032     fi
2033
2034     if test -s confdefs.h; then
2035       cat <<\_ASBOX
2036 ## ----------- ##
2037 ## confdefs.h. ##
2038 ## ----------- ##
2039 _ASBOX
2040       echo
2041       cat confdefs.h
2042       echo
2043     fi
2044     test "$ac_signal" != 0 &&
2045       $as_echo "$as_me: caught signal $ac_signal"
2046     $as_echo "$as_me: exit $exit_status"
2047   } >&5
2048   rm -f core *.core core.conftest.* &&
2049     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2050     exit $exit_status
2051 ' 0
2052 for ac_signal in 1 2 13 15; do
2053   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2054 done
2055 ac_signal=0
2056
2057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2058 rm -f -r conftest* confdefs.h
2059
2060 $as_echo "/* confdefs.h */" > confdefs.h
2061
2062 # Predefined preprocessor variables.
2063
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_NAME "$PACKAGE_NAME"
2066 _ACEOF
2067
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2070 _ACEOF
2071
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2074 _ACEOF
2075
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_STRING "$PACKAGE_STRING"
2078 _ACEOF
2079
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2082 _ACEOF
2083
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_URL "$PACKAGE_URL"
2086 _ACEOF
2087
2088
2089 # Let the site file select an alternate cache file if it wants to.
2090 # Prefer an explicitly selected file to automatically selected ones.
2091 ac_site_file1=NONE
2092 ac_site_file2=NONE
2093 if test -n "$CONFIG_SITE"; then
2094   ac_site_file1=$CONFIG_SITE
2095 elif test "x$prefix" != xNONE; then
2096   ac_site_file1=$prefix/share/config.site
2097   ac_site_file2=$prefix/etc/config.site
2098 else
2099   ac_site_file1=$ac_default_prefix/share/config.site
2100   ac_site_file2=$ac_default_prefix/etc/config.site
2101 fi
2102 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2103 do
2104   test "x$ac_site_file" = xNONE && continue
2105   if test -r "$ac_site_file"; then
2106     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2107 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2108     sed 's/^/| /' "$ac_site_file" >&5
2109     . "$ac_site_file"
2110   fi
2111 done
2112
2113 if test -r "$cache_file"; then
2114   # Some versions of bash will fail to source /dev/null (special
2115   # files actually), so we avoid doing that.
2116   if test -f "$cache_file"; then
2117     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2118 $as_echo "$as_me: loading cache $cache_file" >&6;}
2119     case $cache_file in
2120       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2121       *)                      . "./$cache_file";;
2122     esac
2123   fi
2124 else
2125   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2126 $as_echo "$as_me: creating cache $cache_file" >&6;}
2127   >$cache_file
2128 fi
2129
2130 # Check that the precious variables saved in the cache have kept the same
2131 # value.
2132 ac_cache_corrupted=false
2133 for ac_var in $ac_precious_vars; do
2134   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2135   eval ac_new_set=\$ac_env_${ac_var}_set
2136   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2137   eval ac_new_val=\$ac_env_${ac_var}_value
2138   case $ac_old_set,$ac_new_set in
2139     set,)
2140       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2141 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2142       ac_cache_corrupted=: ;;
2143     ,set)
2144       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2145 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2146       ac_cache_corrupted=: ;;
2147     ,);;
2148     *)
2149       if test "x$ac_old_val" != "x$ac_new_val"; then
2150         # differences in whitespace do not lead to failure.
2151         ac_old_val_w=`echo x $ac_old_val`
2152         ac_new_val_w=`echo x $ac_new_val`
2153         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2154           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2155 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2156           ac_cache_corrupted=:
2157         else
2158           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2159 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2160           eval $ac_var=\$ac_old_val
2161         fi
2162         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2163 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2164         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2165 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2166       fi;;
2167   esac
2168   # Pass precious variables to config.status.
2169   if test "$ac_new_set" = set; then
2170     case $ac_new_val in
2171     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2172     *) ac_arg=$ac_var=$ac_new_val ;;
2173     esac
2174     case " $ac_configure_args " in
2175       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2176       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2177     esac
2178   fi
2179 done
2180 if $ac_cache_corrupted; then
2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2185   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2186 fi
2187 ## -------------------- ##
2188 ## Main body of script. ##
2189 ## -------------------- ##
2190
2191 ac_ext=c
2192 ac_cpp='$CPP $CPPFLAGS'
2193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2196
2197
2198
2199
2200
2201 ac_config_headers="$ac_config_headers config.h"
2202
2203
2204 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2205 #
2206 # You will slowly go insane if you do not grok the following fact:  when
2207 # building this library, the top-level /target/ becomes the library's /host/.
2208 #
2209 # configure then causes --target to default to --host, exactly like any
2210 # other package using autoconf.  Therefore, 'target' and 'host' will
2211 # always be the same.  This makes sense both for native and cross compilers
2212 # just think about it for a little while.  :-)
2213 #
2214 # Also, if this library is being configured as part of a cross compiler, the
2215 # top-level configure script will pass the "real" host as $with_cross_host.
2216 #
2217 # Do not delete or change the following two lines.  For why, see
2218 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2219 ac_aux_dir=
2220 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2221   for ac_t in install-sh install.sh shtool; do
2222     if test -f "$ac_dir/$ac_t"; then
2223       ac_aux_dir=$ac_dir
2224       ac_install_sh="$ac_aux_dir/$ac_t -c"
2225       break 2
2226     fi
2227   done
2228 done
2229 if test -z "$ac_aux_dir"; then
2230   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2231 fi
2232
2233 # These three variables are undocumented and unsupported,
2234 # and are intended to be withdrawn in a future Autoconf release.
2235 # They can cause serious problems if a builder's source tree is in a directory
2236 # whose full name contains unusual characters.
2237 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2238 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2239 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2240
2241
2242 # Make sure we can run config.sub.
2243 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2244   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2245
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2247 $as_echo_n "checking build system type... " >&6; }
2248 if test "${ac_cv_build+set}" = set; then :
2249   $as_echo_n "(cached) " >&6
2250 else
2251   ac_build_alias=$build_alias
2252 test "x$ac_build_alias" = x &&
2253   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2254 test "x$ac_build_alias" = x &&
2255   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2256 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2257   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2258
2259 fi
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2261 $as_echo "$ac_cv_build" >&6; }
2262 case $ac_cv_build in
2263 *-*-*) ;;
2264 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2265 esac
2266 build=$ac_cv_build
2267 ac_save_IFS=$IFS; IFS='-'
2268 set x $ac_cv_build
2269 shift
2270 build_cpu=$1
2271 build_vendor=$2
2272 shift; shift
2273 # Remember, the first character of IFS is used to create $*,
2274 # except with old shells:
2275 build_os=$*
2276 IFS=$ac_save_IFS
2277 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2278
2279
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2281 $as_echo_n "checking host system type... " >&6; }
2282 if test "${ac_cv_host+set}" = set; then :
2283   $as_echo_n "(cached) " >&6
2284 else
2285   if test "x$host_alias" = x; then
2286   ac_cv_host=$ac_cv_build
2287 else
2288   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2289     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2290 fi
2291
2292 fi
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2294 $as_echo "$ac_cv_host" >&6; }
2295 case $ac_cv_host in
2296 *-*-*) ;;
2297 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2298 esac
2299 host=$ac_cv_host
2300 ac_save_IFS=$IFS; IFS='-'
2301 set x $ac_cv_host
2302 shift
2303 host_cpu=$1
2304 host_vendor=$2
2305 shift; shift
2306 # Remember, the first character of IFS is used to create $*,
2307 # except with old shells:
2308 host_os=$*
2309 IFS=$ac_save_IFS
2310 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2311
2312
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2314 $as_echo_n "checking target system type... " >&6; }
2315 if test "${ac_cv_target+set}" = set; then :
2316   $as_echo_n "(cached) " >&6
2317 else
2318   if test "x$target_alias" = x; then
2319   ac_cv_target=$ac_cv_host
2320 else
2321   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2322     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2323 fi
2324
2325 fi
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2327 $as_echo "$ac_cv_target" >&6; }
2328 case $ac_cv_target in
2329 *-*-*) ;;
2330 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2331 esac
2332 target=$ac_cv_target
2333 ac_save_IFS=$IFS; IFS='-'
2334 set x $ac_cv_target
2335 shift
2336 target_cpu=$1
2337 target_vendor=$2
2338 shift; shift
2339 # Remember, the first character of IFS is used to create $*,
2340 # except with old shells:
2341 target_os=$*
2342 IFS=$ac_save_IFS
2343 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2344
2345
2346 # The aliases save the names the user supplied, while $host etc.
2347 # will get canonicalized.
2348 test -n "$target_alias" &&
2349   test "$program_prefix$program_suffix$program_transform_name" = \
2350     NONENONEs,x,x, &&
2351   program_prefix=${target_alias}-
2352
2353  case ${build_alias} in
2354   "") build_noncanonical=${build} ;;
2355   *) build_noncanonical=${build_alias} ;;
2356 esac
2357
2358  case ${host_alias} in
2359   "") host_noncanonical=${build_noncanonical} ;;
2360   *) host_noncanonical=${host_alias} ;;
2361 esac
2362
2363  case ${target_alias} in
2364   "") target_noncanonical=${host_noncanonical} ;;
2365   *) target_noncanonical=${target_alias} ;;
2366 esac
2367
2368
2369
2370
2371 target_alias=${target_alias-$host_alias}
2372
2373
2374 am__api_version='1.11'
2375
2376 # Find a good install program.  We prefer a C program (faster),
2377 # so one script is as good as another.  But avoid the broken or
2378 # incompatible versions:
2379 # SysV /etc/install, /usr/sbin/install
2380 # SunOS /usr/etc/install
2381 # IRIX /sbin/install
2382 # AIX /bin/install
2383 # AmigaOS /C/install, which installs bootblocks on floppy discs
2384 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2385 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2386 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2387 # OS/2's system install, which has a completely different semantic
2388 # ./install, which can be erroneously created by make from ./install.sh.
2389 # Reject install programs that cannot install multiple files.
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2391 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2392 if test -z "$INSTALL"; then
2393 if test "${ac_cv_path_install+set}" = set; then :
2394   $as_echo_n "(cached) " >&6
2395 else
2396   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397 for as_dir in $PATH
2398 do
2399   IFS=$as_save_IFS
2400   test -z "$as_dir" && as_dir=.
2401     # Account for people who put trailing slashes in PATH elements.
2402 case $as_dir/ in #((
2403   ./ | .// | /[cC]/* | \
2404   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2405   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2406   /usr/ucb/* ) ;;
2407   *)
2408     # OSF1 and SCO ODT 3.0 have their own names for install.
2409     # Don't use installbsd from OSF since it installs stuff as root
2410     # by default.
2411     for ac_prog in ginstall scoinst install; do
2412       for ac_exec_ext in '' $ac_executable_extensions; do
2413         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2414           if test $ac_prog = install &&
2415             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2416             # AIX install.  It has an incompatible calling convention.
2417             :
2418           elif test $ac_prog = install &&
2419             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2420             # program-specific install script used by HP pwplus--don't use.
2421             :
2422           else
2423             rm -rf conftest.one conftest.two conftest.dir
2424             echo one > conftest.one
2425             echo two > conftest.two
2426             mkdir conftest.dir
2427             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2428               test -s conftest.one && test -s conftest.two &&
2429               test -s conftest.dir/conftest.one &&
2430               test -s conftest.dir/conftest.two
2431             then
2432               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2433               break 3
2434             fi
2435           fi
2436         fi
2437       done
2438     done
2439     ;;
2440 esac
2441
2442   done
2443 IFS=$as_save_IFS
2444
2445 rm -rf conftest.one conftest.two conftest.dir
2446
2447 fi
2448   if test "${ac_cv_path_install+set}" = set; then
2449     INSTALL=$ac_cv_path_install
2450   else
2451     # As a last resort, use the slow shell script.  Don't cache a
2452     # value for INSTALL within a source directory, because that will
2453     # break other packages using the cache if that directory is
2454     # removed, or if the value is a relative name.
2455     INSTALL=$ac_install_sh
2456   fi
2457 fi
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2459 $as_echo "$INSTALL" >&6; }
2460
2461 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2462 # It thinks the first close brace ends the variable substitution.
2463 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2464
2465 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2466
2467 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2468
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2470 $as_echo_n "checking whether build environment is sane... " >&6; }
2471 # Just in case
2472 sleep 1
2473 echo timestamp > conftest.file
2474 # Reject unsafe characters in $srcdir or the absolute working directory
2475 # name.  Accept space and tab only in the latter.
2476 am_lf='
2477 '
2478 case `pwd` in
2479   *[\\\"\#\$\&\'\`$am_lf]*)
2480     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2481 esac
2482 case $srcdir in
2483   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2484     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2485 esac
2486
2487 # Do `set' in a subshell so we don't clobber the current shell's
2488 # arguments.  Must try -L first in case configure is actually a
2489 # symlink; some systems play weird games with the mod time of symlinks
2490 # (eg FreeBSD returns the mod time of the symlink's containing
2491 # directory).
2492 if (
2493    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2494    if test "$*" = "X"; then
2495       # -L didn't work.
2496       set X `ls -t "$srcdir/configure" conftest.file`
2497    fi
2498    rm -f conftest.file
2499    if test "$*" != "X $srcdir/configure conftest.file" \
2500       && test "$*" != "X conftest.file $srcdir/configure"; then
2501
2502       # If neither matched, then we have a broken ls.  This can happen
2503       # if, for instance, CONFIG_SHELL is bash and it inherits a
2504       # broken ls alias from the environment.  This has actually
2505       # happened.  Such a system could not be considered "sane".
2506       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2507 alias in your environment" "$LINENO" 5
2508    fi
2509
2510    test "$2" = conftest.file
2511    )
2512 then
2513    # Ok.
2514    :
2515 else
2516    as_fn_error "newly created file is older than distributed files!
2517 Check your system clock" "$LINENO" 5
2518 fi
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2520 $as_echo "yes" >&6; }
2521 test "$program_prefix" != NONE &&
2522   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2523 # Use a double $ so make ignores it.
2524 test "$program_suffix" != NONE &&
2525   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2526 # Double any \ or $.
2527 # By default was `s,x,x', remove it if useless.
2528 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2529 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2530
2531 # expand $ac_aux_dir to an absolute path
2532 am_aux_dir=`cd $ac_aux_dir && pwd`
2533
2534 if test x"${MISSING+set}" != xset; then
2535   case $am_aux_dir in
2536   *\ * | *\     *)
2537     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2538   *)
2539     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2540   esac
2541 fi
2542 # Use eval to expand $SHELL
2543 if eval "$MISSING --run true"; then
2544   am_missing_run="$MISSING --run "
2545 else
2546   am_missing_run=
2547   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2548 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2549 fi
2550
2551 if test x"${install_sh}" != xset; then
2552   case $am_aux_dir in
2553   *\ * | *\     *)
2554     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2555   *)
2556     install_sh="\${SHELL} $am_aux_dir/install-sh"
2557   esac
2558 fi
2559
2560 # Installed binaries are usually stripped using `strip' when the user
2561 # run `make install-strip'.  However `strip' might not be the right
2562 # tool to use in cross-compilation environments, therefore Automake
2563 # will honor the `STRIP' environment variable to overrule this program.
2564 if test "$cross_compiling" != no; then
2565   if test -n "$ac_tool_prefix"; then
2566   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2567 set dummy ${ac_tool_prefix}strip; ac_word=$2
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 $as_echo_n "checking for $ac_word... " >&6; }
2570 if test "${ac_cv_prog_STRIP+set}" = set; then :
2571   $as_echo_n "(cached) " >&6
2572 else
2573   if test -n "$STRIP"; then
2574   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2575 else
2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2577 for as_dir in $PATH
2578 do
2579   IFS=$as_save_IFS
2580   test -z "$as_dir" && as_dir=.
2581     for ac_exec_ext in '' $ac_executable_extensions; do
2582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2585     break 2
2586   fi
2587 done
2588   done
2589 IFS=$as_save_IFS
2590
2591 fi
2592 fi
2593 STRIP=$ac_cv_prog_STRIP
2594 if test -n "$STRIP"; then
2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2596 $as_echo "$STRIP" >&6; }
2597 else
2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2599 $as_echo "no" >&6; }
2600 fi
2601
2602
2603 fi
2604 if test -z "$ac_cv_prog_STRIP"; then
2605   ac_ct_STRIP=$STRIP
2606   # Extract the first word of "strip", so it can be a program name with args.
2607 set dummy strip; ac_word=$2
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609 $as_echo_n "checking for $ac_word... " >&6; }
2610 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2611   $as_echo_n "(cached) " >&6
2612 else
2613   if test -n "$ac_ct_STRIP"; then
2614   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2615 else
2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2617 for as_dir in $PATH
2618 do
2619   IFS=$as_save_IFS
2620   test -z "$as_dir" && as_dir=.
2621     for ac_exec_ext in '' $ac_executable_extensions; do
2622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2623     ac_cv_prog_ac_ct_STRIP="strip"
2624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2625     break 2
2626   fi
2627 done
2628   done
2629 IFS=$as_save_IFS
2630
2631 fi
2632 fi
2633 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2634 if test -n "$ac_ct_STRIP"; then
2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2636 $as_echo "$ac_ct_STRIP" >&6; }
2637 else
2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 $as_echo "no" >&6; }
2640 fi
2641
2642   if test "x$ac_ct_STRIP" = x; then
2643     STRIP=":"
2644   else
2645     case $cross_compiling:$ac_tool_warned in
2646 yes:)
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2649 ac_tool_warned=yes ;;
2650 esac
2651     STRIP=$ac_ct_STRIP
2652   fi
2653 else
2654   STRIP="$ac_cv_prog_STRIP"
2655 fi
2656
2657 fi
2658 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2659
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2661 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2662 if test -z "$MKDIR_P"; then
2663   if test "${ac_cv_path_mkdir+set}" = set; then :
2664   $as_echo_n "(cached) " >&6
2665 else
2666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2668 do
2669   IFS=$as_save_IFS
2670   test -z "$as_dir" && as_dir=.
2671     for ac_prog in mkdir gmkdir; do
2672          for ac_exec_ext in '' $ac_executable_extensions; do
2673            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2674            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2675              'mkdir (GNU coreutils) '* | \
2676              'mkdir (coreutils) '* | \
2677              'mkdir (fileutils) '4.1*)
2678                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2679                break 3;;
2680            esac
2681          done
2682        done
2683   done
2684 IFS=$as_save_IFS
2685
2686 fi
2687
2688   if test "${ac_cv_path_mkdir+set}" = set; then
2689     MKDIR_P="$ac_cv_path_mkdir -p"
2690   else
2691     # As a last resort, use the slow shell script.  Don't cache a
2692     # value for MKDIR_P within a source directory, because that will
2693     # break other packages using the cache if that directory is
2694     # removed, or if the value is a relative name.
2695     test -d ./--version && rmdir ./--version
2696     MKDIR_P="$ac_install_sh -d"
2697   fi
2698 fi
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2700 $as_echo "$MKDIR_P" >&6; }
2701
2702 mkdir_p="$MKDIR_P"
2703 case $mkdir_p in
2704   [\\/$]* | ?:[\\/]*) ;;
2705   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2706 esac
2707
2708 for ac_prog in gawk mawk nawk awk
2709 do
2710   # Extract the first word of "$ac_prog", so it can be a program name with args.
2711 set dummy $ac_prog; ac_word=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if test "${ac_cv_prog_AWK+set}" = set; then :
2715   $as_echo_n "(cached) " >&6
2716 else
2717   if test -n "$AWK"; then
2718   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2719 else
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2721 for as_dir in $PATH
2722 do
2723   IFS=$as_save_IFS
2724   test -z "$as_dir" && as_dir=.
2725     for ac_exec_ext in '' $ac_executable_extensions; do
2726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727     ac_cv_prog_AWK="$ac_prog"
2728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2729     break 2
2730   fi
2731 done
2732   done
2733 IFS=$as_save_IFS
2734
2735 fi
2736 fi
2737 AWK=$ac_cv_prog_AWK
2738 if test -n "$AWK"; then
2739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2740 $as_echo "$AWK" >&6; }
2741 else
2742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2744 fi
2745
2746
2747   test -n "$AWK" && break
2748 done
2749
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2751 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2752 set x ${MAKE-make}
2753 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2754 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2755   $as_echo_n "(cached) " >&6
2756 else
2757   cat >conftest.make <<\_ACEOF
2758 SHELL = /bin/sh
2759 all:
2760         @echo '@@@%%%=$(MAKE)=@@@%%%'
2761 _ACEOF
2762 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2763 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2764   *@@@%%%=?*=@@@%%%*)
2765     eval ac_cv_prog_make_${ac_make}_set=yes;;
2766   *)
2767     eval ac_cv_prog_make_${ac_make}_set=no;;
2768 esac
2769 rm -f conftest.make
2770 fi
2771 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2773 $as_echo "yes" >&6; }
2774   SET_MAKE=
2775 else
2776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777 $as_echo "no" >&6; }
2778   SET_MAKE="MAKE=${MAKE-make}"
2779 fi
2780
2781 rm -rf .tst 2>/dev/null
2782 mkdir .tst 2>/dev/null
2783 if test -d .tst; then
2784   am__leading_dot=.
2785 else
2786   am__leading_dot=_
2787 fi
2788 rmdir .tst 2>/dev/null
2789
2790 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2791   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2792   # is not polluted with repeated "-I."
2793   am__isrc=' -I$(srcdir)'
2794   # test to see if srcdir already configured
2795   if test -f $srcdir/config.status; then
2796     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2797   fi
2798 fi
2799
2800 # test whether we have cygpath
2801 if test -z "$CYGPATH_W"; then
2802   if (cygpath --version) >/dev/null 2>/dev/null; then
2803     CYGPATH_W='cygpath -w'
2804   else
2805     CYGPATH_W=echo
2806   fi
2807 fi
2808
2809
2810 # Define the identity of the package.
2811  PACKAGE='libquadmath'
2812  VERSION='0.1'
2813
2814
2815 cat >>confdefs.h <<_ACEOF
2816 #define PACKAGE "$PACKAGE"
2817 _ACEOF
2818
2819
2820 cat >>confdefs.h <<_ACEOF
2821 #define VERSION "$VERSION"
2822 _ACEOF
2823
2824 # Some tools Automake needs.
2825
2826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2827
2828
2829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2830
2831
2832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2833
2834
2835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2836
2837
2838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2839
2840 # We need awk for the "check" target.  The system "awk" is bad on
2841 # some platforms.
2842 # Always define AMTAR for backward compatibility.
2843
2844 AMTAR=${AMTAR-"${am_missing_run}tar"}
2845
2846 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2847
2848
2849
2850
2851
2852
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2854 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2855 # Check whether --enable-version-specific-runtime-libs was given.
2856 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2857   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2858  yes) version_specific_libs=yes ;;
2859  no)  version_specific_libs=no ;;
2860  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2861  esac
2862 else
2863   version_specific_libs=no
2864 fi
2865
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2867 $as_echo "$version_specific_libs" >&6; }
2868
2869
2870
2871 # See if makeinfo has been installed and is modern enough
2872 # that we can use it.
2873
2874   # Extract the first word of "makeinfo", so it can be a program name with args.
2875 set dummy makeinfo; ac_word=$2
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2877 $as_echo_n "checking for $ac_word... " >&6; }
2878 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
2879   $as_echo_n "(cached) " >&6
2880 else
2881   if test -n "$MAKEINFO"; then
2882   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
2883 else
2884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885 for as_dir in $PATH
2886 do
2887   IFS=$as_save_IFS
2888   test -z "$as_dir" && as_dir=.
2889     for ac_exec_ext in '' $ac_executable_extensions; do
2890   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2891     ac_cv_prog_MAKEINFO="makeinfo"
2892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893     break 2
2894   fi
2895 done
2896   done
2897 IFS=$as_save_IFS
2898
2899 fi
2900 fi
2901 MAKEINFO=$ac_cv_prog_MAKEINFO
2902 if test -n "$MAKEINFO"; then
2903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
2904 $as_echo "$MAKEINFO" >&6; }
2905 else
2906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2907 $as_echo "no" >&6; }
2908 fi
2909
2910
2911   if test -n "$MAKEINFO"; then
2912     # Found it, now check the version.
2913     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
2914 $as_echo_n "checking for modern makeinfo... " >&6; }
2915 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
2916   $as_echo_n "(cached) " >&6
2917 else
2918   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
2919                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
2920
2921                     case $ac_prog_version in
2922                       '')  gcc_cv_prog_makeinfo_modern=no;;
2923                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
2924                       *)   gcc_cv_prog_makeinfo_modern=no;;
2925                     esac
2926
2927 fi
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
2929 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
2930   else
2931     gcc_cv_prog_makeinfo_modern=no
2932   fi
2933   if test $gcc_cv_prog_makeinfo_modern = no; then
2934     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
2935   fi
2936
2937  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
2938   BUILD_INFO_TRUE=
2939   BUILD_INFO_FALSE='#'
2940 else
2941   BUILD_INFO_TRUE='#'
2942   BUILD_INFO_FALSE=
2943 fi
2944
2945
2946
2947
2948 # Check whether --with-bugurl was given.
2949 if test "${with_bugurl+set}" = set; then :
2950   withval=$with_bugurl; case "$withval" in
2951       yes) as_fn_error "bug URL not specified" "$LINENO" 5 ;;
2952       no)  BUGURL=
2953            ;;
2954       *)   BUGURL="$withval"
2955            ;;
2956      esac
2957 else
2958   BUGURL="http://gcc.gnu.org/bugs.html"
2959
2960 fi
2961
2962   case ${BUGURL} in
2963   "")
2964     REPORT_BUGS_TO=
2965     REPORT_BUGS_TEXI=
2966     ;;
2967   *)
2968     REPORT_BUGS_TO="<$BUGURL>"
2969     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
2970     ;;
2971   esac;
2972
2973
2974
2975
2976 # Configure libtool
2977 case `pwd` in
2978   *\ * | *\     *)
2979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2980 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2981 esac
2982
2983
2984
2985 macro_version='2.2.7a'
2986 macro_revision='1.3134'
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000 ltmain="$ac_aux_dir/ltmain.sh"
3001
3002 # Backslashify metacharacters that are still active within
3003 # double-quoted strings.
3004 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3005
3006 # Same as above, but do not quote variable references.
3007 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3008
3009 # Sed substitution to delay expansion of an escaped shell variable in a
3010 # double_quote_subst'ed string.
3011 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3012
3013 # Sed substitution to delay expansion of an escaped single quote.
3014 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3015
3016 # Sed substitution to avoid accidental globbing in evaled expressions
3017 no_glob_subst='s/\*/\\\*/g'
3018
3019 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3020 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3021 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3022
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3024 $as_echo_n "checking how to print strings... " >&6; }
3025 # Test print first, because it will be a builtin if present.
3026 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
3027    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3028   ECHO='print -r --'
3029 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3030   ECHO='printf %s\n'
3031 else
3032   # Use this function as a fallback that always works.
3033   func_fallback_echo ()
3034   {
3035     eval 'cat <<_LTECHO_EOF
3036 $1
3037 _LTECHO_EOF'
3038   }
3039   ECHO='func_fallback_echo'
3040 fi
3041
3042 # func_echo_all arg...
3043 # Invoke $ECHO with all args, space-separated.
3044 func_echo_all ()
3045 {
3046     $ECHO ""
3047 }
3048
3049 case "$ECHO" in
3050   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3051 $as_echo "printf" >&6; } ;;
3052   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3053 $as_echo "print -r" >&6; } ;;
3054   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3055 $as_echo "cat" >&6; } ;;
3056 esac
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071 DEPDIR="${am__leading_dot}deps"
3072
3073 ac_config_commands="$ac_config_commands depfiles"
3074
3075
3076 am_make=${MAKE-make}
3077 cat > confinc << 'END'
3078 am__doit:
3079         @echo this is the am__doit target
3080 .PHONY: am__doit
3081 END
3082 # If we don't find an include directive, just comment out the code.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3084 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3085 am__include="#"
3086 am__quote=
3087 _am_result=none
3088 # First try GNU make style include.
3089 echo "include confinc" > confmf
3090 # Ignore all kinds of additional output from `make'.
3091 case `$am_make -s -f confmf 2> /dev/null` in #(
3092 *the\ am__doit\ target*)
3093   am__include=include
3094   am__quote=
3095   _am_result=GNU
3096   ;;
3097 esac
3098 # Now try BSD make style include.
3099 if test "$am__include" = "#"; then
3100    echo '.include "confinc"' > confmf
3101    case `$am_make -s -f confmf 2> /dev/null` in #(
3102    *the\ am__doit\ target*)
3103      am__include=.include
3104      am__quote="\""
3105      _am_result=BSD
3106      ;;
3107    esac
3108 fi
3109
3110
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3112 $as_echo "$_am_result" >&6; }
3113 rm -f confinc confmf
3114
3115 # Check whether --enable-dependency-tracking was given.
3116 if test "${enable_dependency_tracking+set}" = set; then :
3117   enableval=$enable_dependency_tracking;
3118 fi
3119
3120 if test "x$enable_dependency_tracking" != xno; then
3121   am_depcomp="$ac_aux_dir/depcomp"
3122   AMDEPBACKSLASH='\'
3123 fi
3124  if test "x$enable_dependency_tracking" != xno; then
3125   AMDEP_TRUE=
3126   AMDEP_FALSE='#'
3127 else
3128   AMDEP_TRUE='#'
3129   AMDEP_FALSE=
3130 fi
3131
3132
3133 ac_ext=c
3134 ac_cpp='$CPP $CPPFLAGS'
3135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3138 if test -n "$ac_tool_prefix"; then
3139   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3140 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142 $as_echo_n "checking for $ac_word... " >&6; }
3143 if test "${ac_cv_prog_CC+set}" = set; then :
3144   $as_echo_n "(cached) " >&6
3145 else
3146   if test -n "$CC"; then
3147   ac_cv_prog_CC="$CC" # Let the user override the test.
3148 else
3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3150 for as_dir in $PATH
3151 do
3152   IFS=$as_save_IFS
3153   test -z "$as_dir" && as_dir=.
3154     for ac_exec_ext in '' $ac_executable_extensions; do
3155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158     break 2
3159   fi
3160 done
3161   done
3162 IFS=$as_save_IFS
3163
3164 fi
3165 fi
3166 CC=$ac_cv_prog_CC
3167 if test -n "$CC"; then
3168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3169 $as_echo "$CC" >&6; }
3170 else
3171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3173 fi
3174
3175
3176 fi
3177 if test -z "$ac_cv_prog_CC"; then
3178   ac_ct_CC=$CC
3179   # Extract the first word of "gcc", so it can be a program name with args.
3180 set dummy gcc; ac_word=$2
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3182 $as_echo_n "checking for $ac_word... " >&6; }
3183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3184   $as_echo_n "(cached) " >&6
3185 else
3186   if test -n "$ac_ct_CC"; then
3187   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3188 else
3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 for as_dir in $PATH
3191 do
3192   IFS=$as_save_IFS
3193   test -z "$as_dir" && as_dir=.
3194     for ac_exec_ext in '' $ac_executable_extensions; do
3195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3196     ac_cv_prog_ac_ct_CC="gcc"
3197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198     break 2
3199   fi
3200 done
3201   done
3202 IFS=$as_save_IFS
3203
3204 fi
3205 fi
3206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3207 if test -n "$ac_ct_CC"; then
3208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3209 $as_echo "$ac_ct_CC" >&6; }
3210 else
3211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3212 $as_echo "no" >&6; }
3213 fi
3214
3215   if test "x$ac_ct_CC" = x; then
3216     CC=""
3217   else
3218     case $cross_compiling:$ac_tool_warned in
3219 yes:)
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3222 ac_tool_warned=yes ;;
3223 esac
3224     CC=$ac_ct_CC
3225   fi
3226 else
3227   CC="$ac_cv_prog_CC"
3228 fi
3229
3230 if test -z "$CC"; then
3231           if test -n "$ac_tool_prefix"; then
3232     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3233 set dummy ${ac_tool_prefix}cc; ac_word=$2
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3235 $as_echo_n "checking for $ac_word... " >&6; }
3236 if test "${ac_cv_prog_CC+set}" = set; then :
3237   $as_echo_n "(cached) " >&6
3238 else
3239   if test -n "$CC"; then
3240   ac_cv_prog_CC="$CC" # Let the user override the test.
3241 else
3242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3243 for as_dir in $PATH
3244 do
3245   IFS=$as_save_IFS
3246   test -z "$as_dir" && as_dir=.
3247     for ac_exec_ext in '' $ac_executable_extensions; do
3248   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3249     ac_cv_prog_CC="${ac_tool_prefix}cc"
3250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3251     break 2
3252   fi
3253 done
3254   done
3255 IFS=$as_save_IFS
3256
3257 fi
3258 fi
3259 CC=$ac_cv_prog_CC
3260 if test -n "$CC"; then
3261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3262 $as_echo "$CC" >&6; }
3263 else
3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3265 $as_echo "no" >&6; }
3266 fi
3267
3268
3269   fi
3270 fi
3271 if test -z "$CC"; then
3272   # Extract the first word of "cc", so it can be a program name with args.
3273 set dummy cc; ac_word=$2
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3275 $as_echo_n "checking for $ac_word... " >&6; }
3276 if test "${ac_cv_prog_CC+set}" = set; then :
3277   $as_echo_n "(cached) " >&6
3278 else
3279   if test -n "$CC"; then
3280   ac_cv_prog_CC="$CC" # Let the user override the test.
3281 else
3282   ac_prog_rejected=no
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3285 do
3286   IFS=$as_save_IFS
3287   test -z "$as_dir" && as_dir=.
3288     for ac_exec_ext in '' $ac_executable_extensions; do
3289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3291        ac_prog_rejected=yes
3292        continue
3293      fi
3294     ac_cv_prog_CC="cc"
3295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3296     break 2
3297   fi
3298 done
3299   done
3300 IFS=$as_save_IFS
3301
3302 if test $ac_prog_rejected = yes; then
3303   # We found a bogon in the path, so make sure we never use it.
3304   set dummy $ac_cv_prog_CC
3305   shift
3306   if test $# != 0; then
3307     # We chose a different compiler from the bogus one.
3308     # However, it has the same basename, so the bogon will be chosen
3309     # first if we set CC to just the basename; use the full file name.
3310     shift
3311     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3312   fi
3313 fi
3314 fi
3315 fi
3316 CC=$ac_cv_prog_CC
3317 if test -n "$CC"; then
3318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3319 $as_echo "$CC" >&6; }
3320 else
3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3323 fi
3324
3325
3326 fi
3327 if test -z "$CC"; then
3328   if test -n "$ac_tool_prefix"; then
3329   for ac_prog in cl.exe
3330   do
3331     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3332 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3334 $as_echo_n "checking for $ac_word... " >&6; }
3335 if test "${ac_cv_prog_CC+set}" = set; then :
3336   $as_echo_n "(cached) " >&6
3337 else
3338   if test -n "$CC"; then
3339   ac_cv_prog_CC="$CC" # Let the user override the test.
3340 else
3341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 for as_dir in $PATH
3343 do
3344   IFS=$as_save_IFS
3345   test -z "$as_dir" && as_dir=.
3346     for ac_exec_ext in '' $ac_executable_extensions; do
3347   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3348     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3349     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3350     break 2
3351   fi
3352 done
3353   done
3354 IFS=$as_save_IFS
3355
3356 fi
3357 fi
3358 CC=$ac_cv_prog_CC
3359 if test -n "$CC"; then
3360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3361 $as_echo "$CC" >&6; }
3362 else
3363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3364 $as_echo "no" >&6; }
3365 fi
3366
3367
3368     test -n "$CC" && break
3369   done
3370 fi
3371 if test -z "$CC"; then
3372   ac_ct_CC=$CC
3373   for ac_prog in cl.exe
3374 do
3375   # Extract the first word of "$ac_prog", so it can be a program name with args.
3376 set dummy $ac_prog; ac_word=$2
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3378 $as_echo_n "checking for $ac_word... " >&6; }
3379 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3380   $as_echo_n "(cached) " >&6
3381 else
3382   if test -n "$ac_ct_CC"; then
3383   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3384 else
3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386 for as_dir in $PATH
3387 do
3388   IFS=$as_save_IFS
3389   test -z "$as_dir" && as_dir=.
3390     for ac_exec_ext in '' $ac_executable_extensions; do
3391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3392     ac_cv_prog_ac_ct_CC="$ac_prog"
3393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394     break 2
3395   fi
3396 done
3397   done
3398 IFS=$as_save_IFS
3399
3400 fi
3401 fi
3402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3403 if test -n "$ac_ct_CC"; then
3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3405 $as_echo "$ac_ct_CC" >&6; }
3406 else
3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3408 $as_echo "no" >&6; }
3409 fi
3410
3411
3412   test -n "$ac_ct_CC" && break
3413 done
3414
3415   if test "x$ac_ct_CC" = x; then
3416     CC=""
3417   else
3418     case $cross_compiling:$ac_tool_warned in
3419 yes:)
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3422 ac_tool_warned=yes ;;
3423 esac
3424     CC=$ac_ct_CC
3425   fi
3426 fi
3427
3428 fi
3429
3430
3431 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error "no acceptable C compiler found in \$PATH
3434 See \`config.log' for more details." "$LINENO" 5; }
3435
3436 # Provide some information about the compiler.
3437 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3438 set X $ac_compile
3439 ac_compiler=$2
3440 for ac_option in --version -v -V -qversion; do
3441   { { ac_try="$ac_compiler $ac_option >&5"
3442 case "(($ac_try" in
3443   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444   *) ac_try_echo=$ac_try;;
3445 esac
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3449   ac_status=$?
3450   if test -s conftest.err; then
3451     sed '10a\
3452 ... rest of stderr output deleted ...
3453          10q' conftest.err >conftest.er1
3454     cat conftest.er1 >&5
3455     rm -f conftest.er1 conftest.err
3456   fi
3457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458   test $ac_status = 0; }
3459 done
3460
3461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3462 /* end confdefs.h.  */
3463
3464 int
3465 main ()
3466 {
3467
3468   ;
3469   return 0;
3470 }
3471 _ACEOF
3472 # FIXME: Cleanup?
3473 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3474   (eval $ac_link) 2>&5
3475   ac_status=$?
3476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477   test $ac_status = 0; }; then :
3478   gcc_no_link=no
3479 else
3480   gcc_no_link=yes
3481 fi
3482 if test x$gcc_no_link = xyes; then
3483   # Setting cross_compile will disable run tests; it will
3484   # also disable AC_CHECK_FILE but that's generally
3485   # correct if we can't link.
3486   cross_compiling=yes
3487   EXEEXT=
3488 else
3489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490 /* end confdefs.h.  */
3491
3492 int
3493 main ()
3494 {
3495
3496   ;
3497   return 0;
3498 }
3499 _ACEOF
3500 ac_clean_files_save=$ac_clean_files
3501 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3502 # Try to create an executable without -o first, disregard a.out.
3503 # It will help us diagnose broken compilers, and finding out an intuition
3504 # of exeext.
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3506 $as_echo_n "checking for C compiler default output file name... " >&6; }
3507 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3508
3509 # The possible output files:
3510 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3511
3512 ac_rmfiles=
3513 for ac_file in $ac_files
3514 do
3515   case $ac_file in
3516     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3517     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3518   esac
3519 done
3520 rm -f $ac_rmfiles
3521
3522 if { { ac_try="$ac_link_default"
3523 case "(($ac_try" in
3524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3525   *) ac_try_echo=$ac_try;;
3526 esac
3527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3528 $as_echo "$ac_try_echo"; } >&5
3529   (eval "$ac_link_default") 2>&5
3530   ac_status=$?
3531   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3532   test $ac_status = 0; }; then :
3533   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3534 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3535 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3536 # so that the user can short-circuit this test for compilers unknown to
3537 # Autoconf.
3538 for ac_file in $ac_files ''
3539 do
3540   test -f "$ac_file" || continue
3541   case $ac_file in
3542     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3543         ;;
3544     [ab].out )
3545         # We found the default executable, but exeext='' is most
3546         # certainly right.
3547         break;;
3548     *.* )
3549         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3550         then :; else
3551            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3552         fi
3553         # We set ac_cv_exeext here because the later test for it is not
3554         # safe: cross compilers may not add the suffix if given an `-o'
3555         # argument, so we may need to know it at that point already.
3556         # Even if this section looks crufty: it has the advantage of
3557         # actually working.
3558         break;;
3559     * )
3560         break;;
3561   esac
3562 done
3563 test "$ac_cv_exeext" = no && ac_cv_exeext=
3564
3565 else
3566   ac_file=''
3567 fi
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3569 $as_echo "$ac_file" >&6; }
3570 if test -z "$ac_file"; then :
3571   $as_echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.$ac_ext >&5
3573
3574 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576 { as_fn_set_status 77
3577 as_fn_error "C compiler cannot create executables
3578 See \`config.log' for more details." "$LINENO" 5; }; }
3579 fi
3580 ac_exeext=$ac_cv_exeext
3581
3582 # Check that the compiler produces executables we can run.  If not, either
3583 # the compiler is broken, or we cross compile.
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3585 $as_echo_n "checking whether the C compiler works... " >&6; }
3586 # If not cross compiling, check that we can run a simple program.
3587 if test "$cross_compiling" != yes; then
3588   if { ac_try='./$ac_file'
3589   { { case "(($ac_try" in
3590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591   *) ac_try_echo=$ac_try;;
3592 esac
3593 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594 $as_echo "$ac_try_echo"; } >&5
3595   (eval "$ac_try") 2>&5
3596   ac_status=$?
3597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598   test $ac_status = 0; }; }; then
3599     cross_compiling=no
3600   else
3601     if test "$cross_compiling" = maybe; then
3602         cross_compiling=yes
3603     else
3604         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3606 as_fn_error "cannot run C compiled programs.
3607 If you meant to cross compile, use \`--host'.
3608 See \`config.log' for more details." "$LINENO" 5; }
3609     fi
3610   fi
3611 fi
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3613 $as_echo "yes" >&6; }
3614
3615 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3616 ac_clean_files=$ac_clean_files_save
3617 # Check that the compiler produces executables we can run.  If not, either
3618 # the compiler is broken, or we cross compile.
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3620 $as_echo_n "checking whether we are cross compiling... " >&6; }
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3622 $as_echo "$cross_compiling" >&6; }
3623
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3625 $as_echo_n "checking for suffix of executables... " >&6; }
3626 if { { ac_try="$ac_link"
3627 case "(($ac_try" in
3628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629   *) ac_try_echo=$ac_try;;
3630 esac
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
3633   (eval "$ac_link") 2>&5
3634   ac_status=$?
3635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636   test $ac_status = 0; }; then :
3637   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3638 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3639 # work properly (i.e., refer to `conftest.exe'), while it won't with
3640 # `rm'.
3641 for ac_file in conftest.exe conftest conftest.*; do
3642   test -f "$ac_file" || continue
3643   case $ac_file in
3644     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3645     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3646           break;;
3647     * ) break;;
3648   esac
3649 done
3650 else
3651   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3653 as_fn_error "cannot compute suffix of executables: cannot compile and link
3654 See \`config.log' for more details." "$LINENO" 5; }
3655 fi
3656 rm -f conftest$ac_cv_exeext
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3658 $as_echo "$ac_cv_exeext" >&6; }
3659
3660 rm -f conftest.$ac_ext
3661 EXEEXT=$ac_cv_exeext
3662 ac_exeext=$EXEEXT
3663 fi
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3665 $as_echo_n "checking for suffix of object files... " >&6; }
3666 if test "${ac_cv_objext+set}" = set; then :
3667   $as_echo_n "(cached) " >&6
3668 else
3669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h.  */
3671
3672 int
3673 main ()
3674 {
3675
3676   ;
3677   return 0;
3678 }
3679 _ACEOF
3680 rm -f conftest.o conftest.obj
3681 if { { ac_try="$ac_compile"
3682 case "(($ac_try" in
3683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3684   *) ac_try_echo=$ac_try;;
3685 esac
3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 $as_echo "$ac_try_echo"; } >&5
3688   (eval "$ac_compile") 2>&5
3689   ac_status=$?
3690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691   test $ac_status = 0; }; then :
3692   for ac_file in conftest.o conftest.obj conftest.*; do
3693   test -f "$ac_file" || continue;
3694   case $ac_file in
3695     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3696     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3697        break;;
3698   esac
3699 done
3700 else
3701   $as_echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.$ac_ext >&5
3703
3704 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3705 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3706 as_fn_error "cannot compute suffix of object files: cannot compile
3707 See \`config.log' for more details." "$LINENO" 5; }
3708 fi
3709 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3710 fi
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3712 $as_echo "$ac_cv_objext" >&6; }
3713 OBJEXT=$ac_cv_objext
3714 ac_objext=$OBJEXT
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3716 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3717 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3718   $as_echo_n "(cached) " >&6
3719 else
3720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3721 /* end confdefs.h.  */
3722
3723 int
3724 main ()
3725 {
3726 #ifndef __GNUC__
3727        choke me
3728 #endif
3729
3730   ;
3731   return 0;
3732 }
3733 _ACEOF
3734 if ac_fn_c_try_compile "$LINENO"; then :
3735   ac_compiler_gnu=yes
3736 else
3737   ac_compiler_gnu=no
3738 fi
3739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3741
3742 fi
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3744 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3745 if test $ac_compiler_gnu = yes; then
3746   GCC=yes
3747 else
3748   GCC=
3749 fi
3750 ac_test_CFLAGS=${CFLAGS+set}
3751 ac_save_CFLAGS=$CFLAGS
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3753 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3754 if test "${ac_cv_prog_cc_g+set}" = set; then :
3755   $as_echo_n "(cached) " >&6
3756 else
3757   ac_save_c_werror_flag=$ac_c_werror_flag
3758    ac_c_werror_flag=yes
3759    ac_cv_prog_cc_g=no
3760    CFLAGS="-g"
3761    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h.  */
3763
3764 int
3765 main ()
3766 {
3767
3768   ;
3769   return 0;
3770 }
3771 _ACEOF
3772 if ac_fn_c_try_compile "$LINENO"; then :
3773   ac_cv_prog_cc_g=yes
3774 else
3775   CFLAGS=""
3776       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3777 /* end confdefs.h.  */
3778
3779 int
3780 main ()
3781 {
3782
3783   ;
3784   return 0;
3785 }
3786 _ACEOF
3787 if ac_fn_c_try_compile "$LINENO"; then :
3788
3789 else
3790   ac_c_werror_flag=$ac_save_c_werror_flag
3791          CFLAGS="-g"
3792          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h.  */
3794
3795 int
3796 main ()
3797 {
3798
3799   ;
3800   return 0;
3801 }
3802 _ACEOF
3803 if ac_fn_c_try_compile "$LINENO"; then :
3804   ac_cv_prog_cc_g=yes
3805 fi
3806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3807 fi
3808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3809 fi
3810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811    ac_c_werror_flag=$ac_save_c_werror_flag
3812 fi
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3814 $as_echo "$ac_cv_prog_cc_g" >&6; }
3815 if test "$ac_test_CFLAGS" = set; then
3816   CFLAGS=$ac_save_CFLAGS
3817 elif test $ac_cv_prog_cc_g = yes; then
3818   if test "$GCC" = yes; then
3819     CFLAGS="-g -O2"
3820   else
3821     CFLAGS="-g"
3822   fi
3823 else
3824   if test "$GCC" = yes; then
3825     CFLAGS="-O2"
3826   else
3827     CFLAGS=
3828   fi
3829 fi
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3831 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3832 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3833   $as_echo_n "(cached) " >&6
3834 else
3835   ac_cv_prog_cc_c89=no
3836 ac_save_CC=$CC
3837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3838 /* end confdefs.h.  */
3839 #include <stdarg.h>
3840 #include <stdio.h>
3841 #include <sys/types.h>
3842 #include <sys/stat.h>
3843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3844 struct buf { int x; };
3845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3846 static char *e (p, i)
3847      char **p;
3848      int i;
3849 {
3850   return p[i];
3851 }
3852 static char *f (char * (*g) (char **, int), char **p, ...)
3853 {
3854   char *s;
3855   va_list v;
3856   va_start (v,p);
3857   s = g (p, va_arg (v,int));
3858   va_end (v);
3859   return s;
3860 }
3861
3862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3863    function prototypes and stuff, but not '\xHH' hex character constants.
3864    These don't provoke an error unfortunately, instead are silently treated
3865    as 'x'.  The following induces an error, until -std is added to get
3866    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3867    array size at least.  It's necessary to write '\x00'==0 to get something
3868    that's true only with -std.  */
3869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3870
3871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3872    inside strings and character constants.  */
3873 #define FOO(x) 'x'
3874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3875
3876 int test (int i, double x);
3877 struct s1 {int (*f) (int a);};
3878 struct s2 {int (*f) (double a);};
3879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3880 int argc;
3881 char **argv;
3882 int
3883 main ()
3884 {
3885 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3886   ;
3887   return 0;
3888 }
3889 _ACEOF
3890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3891         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3892 do
3893   CC="$ac_save_CC $ac_arg"
3894   if ac_fn_c_try_compile "$LINENO"; then :
3895   ac_cv_prog_cc_c89=$ac_arg
3896 fi
3897 rm -f core conftest.err conftest.$ac_objext
3898   test "x$ac_cv_prog_cc_c89" != "xno" && break
3899 done
3900 rm -f conftest.$ac_ext
3901 CC=$ac_save_CC
3902
3903 fi
3904 # AC_CACHE_VAL
3905 case "x$ac_cv_prog_cc_c89" in
3906   x)
3907     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3908 $as_echo "none needed" >&6; } ;;
3909   xno)
3910     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3911 $as_echo "unsupported" >&6; } ;;
3912   *)
3913     CC="$CC $ac_cv_prog_cc_c89"
3914     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3915 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3916 esac
3917 if test "x$ac_cv_prog_cc_c89" != xno; then :
3918
3919 fi
3920
3921 ac_ext=c
3922 ac_cpp='$CPP $CPPFLAGS'
3923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3926
3927 depcc="$CC"   am_compiler_list=
3928
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3930 $as_echo_n "checking dependency style of $depcc... " >&6; }
3931 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3932   $as_echo_n "(cached) " >&6
3933 else
3934   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3935   # We make a subdir and do the tests there.  Otherwise we can end up
3936   # making bogus files that we don't know about and never remove.  For
3937   # instance it was reported that on HP-UX the gcc test will end up
3938   # making a dummy file named `D' -- because `-MD' means `put the output
3939   # in D'.
3940   mkdir conftest.dir
3941   # Copy depcomp to subdir because otherwise we won't find it if we're
3942   # using a relative directory.
3943   cp "$am_depcomp" conftest.dir
3944   cd conftest.dir
3945   # We will build objects and dependencies in a subdirectory because
3946   # it helps to detect inapplicable dependency modes.  For instance
3947   # both Tru64's cc and ICC support -MD to output dependencies as a
3948   # side effect of compilation, but ICC will put the dependencies in
3949   # the current directory while Tru64 will put them in the object
3950   # directory.
3951   mkdir sub
3952
3953   am_cv_CC_dependencies_compiler_type=none
3954   if test "$am_compiler_list" = ""; then
3955      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3956   fi
3957   am__universal=false
3958   case " $depcc " in #(
3959      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3960      esac
3961
3962   for depmode in $am_compiler_list; do
3963     # Setup a source with many dependencies, because some compilers
3964     # like to wrap large dependency lists on column 80 (with \), and
3965     # we should not choose a depcomp mode which is confused by this.
3966     #
3967     # We need to recreate these files for each test, as the compiler may
3968     # overwrite some of them when testing with obscure command lines.
3969     # This happens at least with the AIX C compiler.
3970     : > sub/conftest.c
3971     for i in 1 2 3 4 5 6; do
3972       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3973       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3974       # Solaris 8's {/usr,}/bin/sh.
3975       touch sub/conftst$i.h
3976     done
3977     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3978
3979     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3980     # mode.  It turns out that the SunPro C++ compiler does not properly
3981     # handle `-M -o', and we need to detect this.  Also, some Intel
3982     # versions had trouble with output in subdirs
3983     am__obj=sub/conftest.${OBJEXT-o}
3984     am__minus_obj="-o $am__obj"
3985     case $depmode in
3986     gcc)
3987       # This depmode causes a compiler race in universal mode.
3988       test "$am__universal" = false || continue
3989       ;;
3990     nosideeffect)
3991       # after this tag, mechanisms are not by side-effect, so they'll
3992       # only be used when explicitly requested
3993       if test "x$enable_dependency_tracking" = xyes; then
3994         continue
3995       else
3996         break
3997       fi
3998       ;;
3999     msvisualcpp | msvcmsys)
4000       # This compiler won't grok `-c -o', but also, the minuso test has
4001       # not run yet.  These depmodes are late enough in the game, and
4002       # so weak that their functioning should not be impacted.
4003       am__obj=conftest.${OBJEXT-o}
4004       am__minus_obj=
4005       ;;
4006     none) break ;;
4007     esac
4008     if depmode=$depmode \
4009        source=sub/conftest.c object=$am__obj \
4010        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4011        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4012          >/dev/null 2>conftest.err &&
4013        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4014        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4015        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4016        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4017       # icc doesn't choke on unknown options, it will just issue warnings
4018       # or remarks (even with -Werror).  So we grep stderr for any message
4019       # that says an option was ignored or not supported.
4020       # When given -MP, icc 7.0 and 7.1 complain thusly:
4021       #   icc: Command line warning: ignoring option '-M'; no argument required
4022       # The diagnosis changed in icc 8.0:
4023       #   icc: Command line remark: option '-MP' not supported
4024       if (grep 'ignoring option' conftest.err ||
4025           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4026         am_cv_CC_dependencies_compiler_type=$depmode
4027         break
4028       fi
4029     fi
4030   done
4031
4032   cd ..
4033   rm -rf conftest.dir
4034 else
4035   am_cv_CC_dependencies_compiler_type=none
4036 fi
4037
4038 fi
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4040 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4041 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4042
4043  if
4044   test "x$enable_dependency_tracking" != xno \
4045   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4046   am__fastdepCC_TRUE=
4047   am__fastdepCC_FALSE='#'
4048 else
4049   am__fastdepCC_TRUE='#'
4050   am__fastdepCC_FALSE=
4051 fi
4052
4053
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4055 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4056 if test "${ac_cv_path_SED+set}" = set; then :
4057   $as_echo_n "(cached) " >&6
4058 else
4059             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4060      for ac_i in 1 2 3 4 5 6 7; do
4061        ac_script="$ac_script$as_nl$ac_script"
4062      done
4063      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4064      { ac_script=; unset ac_script;}
4065      if test -z "$SED"; then
4066   ac_path_SED_found=false
4067   # Loop through the user's path and test for each of PROGNAME-LIST
4068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 for as_dir in $PATH
4070 do
4071   IFS=$as_save_IFS
4072   test -z "$as_dir" && as_dir=.
4073     for ac_prog in sed gsed; do
4074     for ac_exec_ext in '' $ac_executable_extensions; do
4075       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4076       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4077 # Check for GNU ac_path_SED and select it if it is found.
4078   # Check for GNU $ac_path_SED
4079 case `"$ac_path_SED" --version 2>&1` in
4080 *GNU*)
4081   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4082 *)
4083   ac_count=0
4084   $as_echo_n 0123456789 >"conftest.in"
4085   while :
4086   do
4087     cat "conftest.in" "conftest.in" >"conftest.tmp"
4088     mv "conftest.tmp" "conftest.in"
4089     cp "conftest.in" "conftest.nl"
4090     $as_echo '' >> "conftest.nl"
4091     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4092     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4093     as_fn_arith $ac_count + 1 && ac_count=$as_val
4094     if test $ac_count -gt ${ac_path_SED_max-0}; then
4095       # Best one so far, save it but keep looking for a better one
4096       ac_cv_path_SED="$ac_path_SED"
4097       ac_path_SED_max=$ac_count
4098     fi
4099     # 10*(2^10) chars as input seems more than enough
4100     test $ac_count -gt 10 && break
4101   done
4102   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4103 esac
4104
4105       $ac_path_SED_found && break 3
4106     done
4107   done
4108   done
4109 IFS=$as_save_IFS
4110   if test -z "$ac_cv_path_SED"; then
4111     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4112   fi
4113 else
4114   ac_cv_path_SED=$SED
4115 fi
4116
4117 fi
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4119 $as_echo "$ac_cv_path_SED" >&6; }
4120  SED="$ac_cv_path_SED"
4121   rm -f conftest.sed
4122
4123 test -z "$SED" && SED=sed
4124 Xsed="$SED -e 1s/^X//"
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4137 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4138 if test "${ac_cv_path_GREP+set}" = set; then :
4139   $as_echo_n "(cached) " >&6
4140 else
4141   if test -z "$GREP"; then
4142   ac_path_GREP_found=false
4143   # Loop through the user's path and test for each of PROGNAME-LIST
4144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4146 do
4147   IFS=$as_save_IFS
4148   test -z "$as_dir" && as_dir=.
4149     for ac_prog in grep ggrep; do
4150     for ac_exec_ext in '' $ac_executable_extensions; do
4151       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4152       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4153 # Check for GNU ac_path_GREP and select it if it is found.
4154   # Check for GNU $ac_path_GREP
4155 case `"$ac_path_GREP" --version 2>&1` in
4156 *GNU*)
4157   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4158 *)
4159   ac_count=0
4160   $as_echo_n 0123456789 >"conftest.in"
4161   while :
4162   do
4163     cat "conftest.in" "conftest.in" >"conftest.tmp"
4164     mv "conftest.tmp" "conftest.in"
4165     cp "conftest.in" "conftest.nl"
4166     $as_echo 'GREP' >> "conftest.nl"
4167     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4168     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4169     as_fn_arith $ac_count + 1 && ac_count=$as_val
4170     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4171       # Best one so far, save it but keep looking for a better one
4172       ac_cv_path_GREP="$ac_path_GREP"
4173       ac_path_GREP_max=$ac_count
4174     fi
4175     # 10*(2^10) chars as input seems more than enough
4176     test $ac_count -gt 10 && break
4177   done
4178   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4179 esac
4180
4181       $ac_path_GREP_found && break 3
4182     done
4183   done
4184   done
4185 IFS=$as_save_IFS
4186   if test -z "$ac_cv_path_GREP"; then
4187     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4188   fi
4189 else
4190   ac_cv_path_GREP=$GREP
4191 fi
4192
4193 fi
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4195 $as_echo "$ac_cv_path_GREP" >&6; }
4196  GREP="$ac_cv_path_GREP"
4197
4198
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4200 $as_echo_n "checking for egrep... " >&6; }
4201 if test "${ac_cv_path_EGREP+set}" = set; then :
4202   $as_echo_n "(cached) " >&6
4203 else
4204   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4205    then ac_cv_path_EGREP="$GREP -E"
4206    else
4207      if test -z "$EGREP"; then
4208   ac_path_EGREP_found=false
4209   # Loop through the user's path and test for each of PROGNAME-LIST
4210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4212 do
4213   IFS=$as_save_IFS
4214   test -z "$as_dir" && as_dir=.
4215     for ac_prog in egrep; do
4216     for ac_exec_ext in '' $ac_executable_extensions; do
4217       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4218       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4219 # Check for GNU ac_path_EGREP and select it if it is found.
4220   # Check for GNU $ac_path_EGREP
4221 case `"$ac_path_EGREP" --version 2>&1` in
4222 *GNU*)
4223   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4224 *)
4225   ac_count=0
4226   $as_echo_n 0123456789 >"conftest.in"
4227   while :
4228   do
4229     cat "conftest.in" "conftest.in" >"conftest.tmp"
4230     mv "conftest.tmp" "conftest.in"
4231     cp "conftest.in" "conftest.nl"
4232     $as_echo 'EGREP' >> "conftest.nl"
4233     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4234     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4235     as_fn_arith $ac_count + 1 && ac_count=$as_val
4236     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4237       # Best one so far, save it but keep looking for a better one
4238       ac_cv_path_EGREP="$ac_path_EGREP"
4239       ac_path_EGREP_max=$ac_count
4240     fi
4241     # 10*(2^10) chars as input seems more than enough
4242     test $ac_count -gt 10 && break
4243   done
4244   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4245 esac
4246
4247       $ac_path_EGREP_found && break 3
4248     done
4249   done
4250   done
4251 IFS=$as_save_IFS
4252   if test -z "$ac_cv_path_EGREP"; then
4253     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4254   fi
4255 else
4256   ac_cv_path_EGREP=$EGREP
4257 fi
4258
4259    fi
4260 fi
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4262 $as_echo "$ac_cv_path_EGREP" >&6; }
4263  EGREP="$ac_cv_path_EGREP"
4264
4265
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4267 $as_echo_n "checking for fgrep... " >&6; }
4268 if test "${ac_cv_path_FGREP+set}" = set; then :
4269   $as_echo_n "(cached) " >&6
4270 else
4271   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4272    then ac_cv_path_FGREP="$GREP -F"
4273    else
4274      if test -z "$FGREP"; then
4275   ac_path_FGREP_found=false
4276   # Loop through the user's path and test for each of PROGNAME-LIST
4277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4279 do
4280   IFS=$as_save_IFS
4281   test -z "$as_dir" && as_dir=.
4282     for ac_prog in fgrep; do
4283     for ac_exec_ext in '' $ac_executable_extensions; do
4284       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4285       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4286 # Check for GNU ac_path_FGREP and select it if it is found.
4287   # Check for GNU $ac_path_FGREP
4288 case `"$ac_path_FGREP" --version 2>&1` in
4289 *GNU*)
4290   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4291 *)
4292   ac_count=0
4293   $as_echo_n 0123456789 >"conftest.in"
4294   while :
4295   do
4296     cat "conftest.in" "conftest.in" >"conftest.tmp"
4297     mv "conftest.tmp" "conftest.in"
4298     cp "conftest.in" "conftest.nl"
4299     $as_echo 'FGREP' >> "conftest.nl"
4300     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4301     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4302     as_fn_arith $ac_count + 1 && ac_count=$as_val
4303     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4304       # Best one so far, save it but keep looking for a better one
4305       ac_cv_path_FGREP="$ac_path_FGREP"
4306       ac_path_FGREP_max=$ac_count
4307     fi
4308     # 10*(2^10) chars as input seems more than enough
4309     test $ac_count -gt 10 && break
4310   done
4311   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4312 esac
4313
4314       $ac_path_FGREP_found && break 3
4315     done
4316   done
4317   done
4318 IFS=$as_save_IFS
4319   if test -z "$ac_cv_path_FGREP"; then
4320     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4321   fi
4322 else
4323   ac_cv_path_FGREP=$FGREP
4324 fi
4325
4326    fi
4327 fi
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4329 $as_echo "$ac_cv_path_FGREP" >&6; }
4330  FGREP="$ac_cv_path_FGREP"
4331
4332
4333 test -z "$GREP" && GREP=grep
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353 # Check whether --with-gnu-ld was given.
4354 if test "${with_gnu_ld+set}" = set; then :
4355   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4356 else
4357   with_gnu_ld=no
4358 fi
4359
4360 ac_prog=ld
4361 if test "$GCC" = yes; then
4362   # Check if gcc -print-prog-name=ld gives a path.
4363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4364 $as_echo_n "checking for ld used by $CC... " >&6; }
4365   case $host in
4366   *-*-mingw*)
4367     # gcc leaves a trailing carriage return which upsets mingw
4368     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4369   *)
4370     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4371   esac
4372   case $ac_prog in
4373     # Accept absolute paths.
4374     [\\/]* | ?:[\\/]*)
4375       re_direlt='/[^/][^/]*/\.\./'
4376       # Canonicalize the pathname of ld
4377       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4378       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4379         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4380       done
4381       test -z "$LD" && LD="$ac_prog"
4382       ;;
4383   "")
4384     # If it fails, then pretend we aren't using GCC.
4385     ac_prog=ld
4386     ;;
4387   *)
4388     # If it is relative, then search for the first ld in PATH.
4389     with_gnu_ld=unknown
4390     ;;
4391   esac
4392 elif test "$with_gnu_ld" = yes; then
4393   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4394 $as_echo_n "checking for GNU ld... " >&6; }
4395 else
4396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4397 $as_echo_n "checking for non-GNU ld... " >&6; }
4398 fi
4399 if test "${lt_cv_path_LD+set}" = set; then :
4400   $as_echo_n "(cached) " >&6
4401 else
4402   if test -z "$LD"; then
4403   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4404   for ac_dir in $PATH; do
4405     IFS="$lt_save_ifs"
4406     test -z "$ac_dir" && ac_dir=.
4407     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4408       lt_cv_path_LD="$ac_dir/$ac_prog"
4409       # Check to see if the program is GNU ld.  I'd rather use --version,
4410       # but apparently some variants of GNU ld only accept -v.
4411       # Break only if it was the GNU/non-GNU ld that we prefer.
4412       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4413       *GNU* | *'with BFD'*)
4414         test "$with_gnu_ld" != no && break
4415         ;;
4416       *)
4417         test "$with_gnu_ld" != yes && break
4418         ;;
4419       esac
4420     fi
4421   done
4422   IFS="$lt_save_ifs"
4423 else
4424   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4425 fi
4426 fi
4427
4428 LD="$lt_cv_path_LD"
4429 if test -n "$LD"; then
4430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4431 $as_echo "$LD" >&6; }
4432 else
4433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4438 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4439 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4440   $as_echo_n "(cached) " >&6
4441 else
4442   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4443 case `$LD -v 2>&1 </dev/null` in
4444 *GNU* | *'with BFD'*)
4445   lt_cv_prog_gnu_ld=yes
4446   ;;
4447 *)
4448   lt_cv_prog_gnu_ld=no
4449   ;;
4450 esac
4451 fi
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4453 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4454 with_gnu_ld=$lt_cv_prog_gnu_ld
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4465 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4466 if test "${lt_cv_path_NM+set}" = set; then :
4467   $as_echo_n "(cached) " >&6
4468 else
4469   if test -n "$NM"; then
4470   # Let the user override the test.
4471   lt_cv_path_NM="$NM"
4472 else
4473   lt_nm_to_check="${ac_tool_prefix}nm"
4474   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4475     lt_nm_to_check="$lt_nm_to_check nm"
4476   fi
4477   for lt_tmp_nm in $lt_nm_to_check; do
4478     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4479     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4480       IFS="$lt_save_ifs"
4481       test -z "$ac_dir" && ac_dir=.
4482       tmp_nm="$ac_dir/$lt_tmp_nm"
4483       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4484         # Check to see if the nm accepts a BSD-compat flag.
4485         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4486         #   nm: unknown option "B" ignored
4487         # Tru64's nm complains that /dev/null is an invalid object file
4488         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4489         */dev/null* | *'Invalid file or object type'*)
4490           lt_cv_path_NM="$tmp_nm -B"
4491           break
4492           ;;
4493         *)
4494           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4495           */dev/null*)
4496             lt_cv_path_NM="$tmp_nm -p"
4497             break
4498             ;;
4499           *)
4500             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4501             continue # so that we can try to find one that supports BSD flags
4502             ;;
4503           esac
4504           ;;
4505         esac
4506       fi
4507     done
4508     IFS="$lt_save_ifs"
4509   done
4510   : ${lt_cv_path_NM=no}
4511 fi
4512 fi
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4514 $as_echo "$lt_cv_path_NM" >&6; }
4515 if test "$lt_cv_path_NM" != "no"; then
4516   NM="$lt_cv_path_NM"
4517 else
4518   # Didn't find any BSD compatible name lister, look for dumpbin.
4519   if test -n "$DUMPBIN"; then :
4520     # Let the user override the test.
4521   else
4522     if test -n "$ac_tool_prefix"; then
4523   for ac_prog in dumpbin "link -dump"
4524   do
4525     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4530   $as_echo_n "(cached) " >&6
4531 else
4532   if test -n "$DUMPBIN"; then
4533   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4534 else
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 for as_dir in $PATH
4537 do
4538   IFS=$as_save_IFS
4539   test -z "$as_dir" && as_dir=.
4540     for ac_exec_ext in '' $ac_executable_extensions; do
4541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544     break 2
4545   fi
4546 done
4547   done
4548 IFS=$as_save_IFS
4549
4550 fi
4551 fi
4552 DUMPBIN=$ac_cv_prog_DUMPBIN
4553 if test -n "$DUMPBIN"; then
4554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4555 $as_echo "$DUMPBIN" >&6; }
4556 else
4557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4559 fi
4560
4561
4562     test -n "$DUMPBIN" && break
4563   done
4564 fi
4565 if test -z "$DUMPBIN"; then
4566   ac_ct_DUMPBIN=$DUMPBIN
4567   for ac_prog in dumpbin "link -dump"
4568 do
4569   # Extract the first word of "$ac_prog", so it can be a program name with args.
4570 set dummy $ac_prog; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4574   $as_echo_n "(cached) " >&6
4575 else
4576   if test -n "$ac_ct_DUMPBIN"; then
4577   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4578 else
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH
4581 do
4582   IFS=$as_save_IFS
4583   test -z "$as_dir" && as_dir=.
4584     for ac_exec_ext in '' $ac_executable_extensions; do
4585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4586     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588     break 2
4589   fi
4590 done
4591   done
4592 IFS=$as_save_IFS
4593
4594 fi
4595 fi
4596 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4597 if test -n "$ac_ct_DUMPBIN"; then
4598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4599 $as_echo "$ac_ct_DUMPBIN" >&6; }
4600 else
4601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4603 fi
4604
4605
4606   test -n "$ac_ct_DUMPBIN" && break
4607 done
4608
4609   if test "x$ac_ct_DUMPBIN" = x; then
4610     DUMPBIN=":"
4611   else
4612     case $cross_compiling:$ac_tool_warned in
4613 yes:)
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616 ac_tool_warned=yes ;;
4617 esac
4618     DUMPBIN=$ac_ct_DUMPBIN
4619   fi
4620 fi
4621
4622     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4623     *COFF*)
4624       DUMPBIN="$DUMPBIN -symbols"
4625       ;;
4626     *)
4627       DUMPBIN=:
4628       ;;
4629     esac
4630   fi
4631
4632   if test "$DUMPBIN" != ":"; then
4633     NM="$DUMPBIN"
4634   fi
4635 fi
4636 test -z "$NM" && NM=nm
4637
4638
4639
4640
4641
4642
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4644 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4645 if test "${lt_cv_nm_interface+set}" = set; then :
4646   $as_echo_n "(cached) " >&6
4647 else
4648   lt_cv_nm_interface="BSD nm"
4649   echo "int some_variable = 0;" > conftest.$ac_ext
4650   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4651   (eval "$ac_compile" 2>conftest.err)
4652   cat conftest.err >&5
4653   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4654   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4655   cat conftest.err >&5
4656   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4657   cat conftest.out >&5
4658   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4659     lt_cv_nm_interface="MS dumpbin"
4660   fi
4661   rm -f conftest*
4662 fi
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4664 $as_echo "$lt_cv_nm_interface" >&6; }
4665
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4667 $as_echo_n "checking whether ln -s works... " >&6; }
4668 LN_S=$as_ln_s
4669 if test "$LN_S" = "ln -s"; then
4670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4671 $as_echo "yes" >&6; }
4672 else
4673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4674 $as_echo "no, using $LN_S" >&6; }
4675 fi
4676
4677 # find the maximum length of command line arguments
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4679 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4680 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4681   $as_echo_n "(cached) " >&6
4682 else
4683     i=0
4684   teststring="ABCD"
4685
4686   case $build_os in
4687   msdosdjgpp*)
4688     # On DJGPP, this test can blow up pretty badly due to problems in libc
4689     # (any single argument exceeding 2000 bytes causes a buffer overrun
4690     # during glob expansion).  Even if it were fixed, the result of this
4691     # check would be larger than it should be.
4692     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4693     ;;
4694
4695   gnu*)
4696     # Under GNU Hurd, this test is not required because there is
4697     # no limit to the length of command line arguments.
4698     # Libtool will interpret -1 as no limit whatsoever
4699     lt_cv_sys_max_cmd_len=-1;
4700     ;;
4701
4702   cygwin* | mingw* | cegcc*)
4703     # On Win9x/ME, this test blows up -- it succeeds, but takes
4704     # about 5 minutes as the teststring grows exponentially.
4705     # Worse, since 9x/ME are not pre-emptively multitasking,
4706     # you end up with a "frozen" computer, even though with patience
4707     # the test eventually succeeds (with a max line length of 256k).
4708     # Instead, let's just punt: use the minimum linelength reported by
4709     # all of the supported platforms: 8192 (on NT/2K/XP).
4710     lt_cv_sys_max_cmd_len=8192;
4711     ;;
4712
4713   mint*)
4714     # On MiNT this can take a long time and run out of memory.
4715     lt_cv_sys_max_cmd_len=8192;
4716     ;;
4717
4718   amigaos*)
4719     # On AmigaOS with pdksh, this test takes hours, literally.
4720     # So we just punt and use a minimum line length of 8192.
4721     lt_cv_sys_max_cmd_len=8192;
4722     ;;
4723
4724   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4725     # This has been around since 386BSD, at least.  Likely further.
4726     if test -x /sbin/sysctl; then
4727       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4728     elif test -x /usr/sbin/sysctl; then
4729       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4730     else
4731       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4732     fi
4733     # And add a safety zone
4734     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4735     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4736     ;;
4737
4738   interix*)
4739     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4740     lt_cv_sys_max_cmd_len=196608
4741     ;;
4742
4743   osf*)
4744     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4745     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4746     # nice to cause kernel panics so lets avoid the loop below.
4747     # First set a reasonable default.
4748     lt_cv_sys_max_cmd_len=16384
4749     #
4750     if test -x /sbin/sysconfig; then
4751       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4752         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4753       esac
4754     fi
4755     ;;
4756   sco3.2v5*)
4757     lt_cv_sys_max_cmd_len=102400
4758     ;;
4759   sysv5* | sco5v6* | sysv4.2uw2*)
4760     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4761     if test -n "$kargmax"; then
4762       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4763     else
4764       lt_cv_sys_max_cmd_len=32768
4765     fi
4766     ;;
4767   *)
4768     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4769     if test -n "$lt_cv_sys_max_cmd_len"; then
4770       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4771       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4772     else
4773       # Make teststring a little bigger before we do anything with it.
4774       # a 1K string should be a reasonable start.
4775       for i in 1 2 3 4 5 6 7 8 ; do
4776         teststring=$teststring$teststring
4777       done
4778       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4779       # If test is not a shell built-in, we'll probably end up computing a
4780       # maximum length that is only half of the actual maximum length, but
4781       # we can't tell.
4782       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4783                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4784               test $i != 17 # 1/2 MB should be enough
4785       do
4786         i=`expr $i + 1`
4787         teststring=$teststring$teststring
4788       done
4789       # Only check the string length outside the loop.
4790       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4791       teststring=
4792       # Add a significant safety factor because C++ compilers can tack on
4793       # massive amounts of additional arguments before passing them to the
4794       # linker.  It appears as though 1/2 is a usable value.
4795       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4796     fi
4797     ;;
4798   esac
4799
4800 fi
4801
4802 if test -n $lt_cv_sys_max_cmd_len ; then
4803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4804 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4805 else
4806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4807 $as_echo "none" >&6; }
4808 fi
4809 max_cmd_len=$lt_cv_sys_max_cmd_len
4810
4811
4812
4813
4814
4815
4816 : ${CP="cp -f"}
4817 : ${MV="mv -f"}
4818 : ${RM="rm -f"}
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4821 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4822 # Try some XSI features
4823 xsi_shell=no
4824 ( _lt_dummy="a/b/c"
4825   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4826       = c,a/b,, \
4827     && eval 'test $(( 1 + 1 )) -eq 2 \
4828     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4829   && xsi_shell=yes
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4831 $as_echo "$xsi_shell" >&6; }
4832
4833
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4835 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4836 lt_shell_append=no
4837 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4838     >/dev/null 2>&1 \
4839   && lt_shell_append=yes
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4841 $as_echo "$lt_shell_append" >&6; }
4842
4843
4844 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4845   lt_unset=unset
4846 else
4847   lt_unset=false
4848 fi
4849
4850
4851
4852
4853
4854 # test EBCDIC or ASCII
4855 case `echo X|tr X '\101'` in
4856  A) # ASCII based system
4857     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4858   lt_SP2NL='tr \040 \012'
4859   lt_NL2SP='tr \015\012 \040\040'
4860   ;;
4861  *) # EBCDIC based system
4862   lt_SP2NL='tr \100 \n'
4863   lt_NL2SP='tr \r\n \100\100'
4864   ;;
4865 esac
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4876 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4877 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4878   $as_echo_n "(cached) " >&6
4879 else
4880   lt_cv_ld_reload_flag='-r'
4881 fi
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4883 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4884 reload_flag=$lt_cv_ld_reload_flag
4885 case $reload_flag in
4886 "" | " "*) ;;
4887 *) reload_flag=" $reload_flag" ;;
4888 esac
4889 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4890 case $host_os in
4891   darwin*)
4892     if test "$GCC" = yes; then
4893       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4894     else
4895       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4896     fi
4897     ;;
4898 esac
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908 if test -n "$ac_tool_prefix"; then
4909   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4910 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912 $as_echo_n "checking for $ac_word... " >&6; }
4913 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4914   $as_echo_n "(cached) " >&6
4915 else
4916   if test -n "$OBJDUMP"; then
4917   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4918 else
4919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920 for as_dir in $PATH
4921 do
4922   IFS=$as_save_IFS
4923   test -z "$as_dir" && as_dir=.
4924     for ac_exec_ext in '' $ac_executable_extensions; do
4925   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4926     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928     break 2
4929   fi
4930 done
4931   done
4932 IFS=$as_save_IFS
4933
4934 fi
4935 fi
4936 OBJDUMP=$ac_cv_prog_OBJDUMP
4937 if test -n "$OBJDUMP"; then
4938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4939 $as_echo "$OBJDUMP" >&6; }
4940 else
4941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942 $as_echo "no" >&6; }
4943 fi
4944
4945
4946 fi
4947 if test -z "$ac_cv_prog_OBJDUMP"; then
4948   ac_ct_OBJDUMP=$OBJDUMP
4949   # Extract the first word of "objdump", so it can be a program name with args.
4950 set dummy objdump; ac_word=$2
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4952 $as_echo_n "checking for $ac_word... " >&6; }
4953 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4954   $as_echo_n "(cached) " >&6
4955 else
4956   if test -n "$ac_ct_OBJDUMP"; then
4957   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4958 else
4959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960 for as_dir in $PATH
4961 do
4962   IFS=$as_save_IFS
4963   test -z "$as_dir" && as_dir=.
4964     for ac_exec_ext in '' $ac_executable_extensions; do
4965   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4966     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4968     break 2
4969   fi
4970 done
4971   done
4972 IFS=$as_save_IFS
4973
4974 fi
4975 fi
4976 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4977 if test -n "$ac_ct_OBJDUMP"; then
4978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4979 $as_echo "$ac_ct_OBJDUMP" >&6; }
4980 else
4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4982 $as_echo "no" >&6; }
4983 fi
4984
4985   if test "x$ac_ct_OBJDUMP" = x; then
4986     OBJDUMP="false"
4987   else
4988     case $cross_compiling:$ac_tool_warned in
4989 yes:)
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4992 ac_tool_warned=yes ;;
4993 esac
4994     OBJDUMP=$ac_ct_OBJDUMP
4995   fi
4996 else
4997   OBJDUMP="$ac_cv_prog_OBJDUMP"
4998 fi
4999
5000 test -z "$OBJDUMP" && OBJDUMP=objdump
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5011 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5012 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5013   $as_echo_n "(cached) " >&6
5014 else
5015   lt_cv_file_magic_cmd='$MAGIC_CMD'
5016 lt_cv_file_magic_test_file=
5017 lt_cv_deplibs_check_method='unknown'
5018 # Need to set the preceding variable on all platforms that support
5019 # interlibrary dependencies.
5020 # 'none' -- dependencies not supported.
5021 # `unknown' -- same as none, but documents that we really don't know.
5022 # 'pass_all' -- all dependencies passed with no checks.
5023 # 'test_compile' -- check by making test program.
5024 # 'file_magic [[regex]]' -- check by looking for files in library path
5025 # which responds to the $file_magic_cmd with a given extended regex.
5026 # If you have `file' or equivalent on your system and you're not sure
5027 # whether `pass_all' will *always* work, you probably want this one.
5028
5029 case $host_os in
5030 aix[4-9]*)
5031   lt_cv_deplibs_check_method=pass_all
5032   ;;
5033
5034 beos*)
5035   lt_cv_deplibs_check_method=pass_all
5036   ;;
5037
5038 bsdi[45]*)
5039   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5040   lt_cv_file_magic_cmd='/usr/bin/file -L'
5041   lt_cv_file_magic_test_file=/shlib/libc.so
5042   ;;
5043
5044 cygwin*)
5045   # func_win32_libid is a shell function defined in ltmain.sh
5046   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5047   lt_cv_file_magic_cmd='func_win32_libid'
5048   ;;
5049
5050 mingw* | pw32*)
5051   # Base MSYS/MinGW do not provide the 'file' command needed by
5052   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5053   # unless we find 'file', for example because we are cross-compiling.
5054   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5055   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5056     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5057     lt_cv_file_magic_cmd='func_win32_libid'
5058   else
5059     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5060     lt_cv_file_magic_cmd='$OBJDUMP -f'
5061   fi
5062   ;;
5063
5064 cegcc*)
5065   # use the weaker test based on 'objdump'. See mingw*.
5066   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5067   lt_cv_file_magic_cmd='$OBJDUMP -f'
5068   ;;
5069
5070 darwin* | rhapsody*)
5071   lt_cv_deplibs_check_method=pass_all
5072   ;;
5073
5074 freebsd* | dragonfly*)
5075   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5076     case $host_cpu in
5077     i*86 )
5078       # Not sure whether the presence of OpenBSD here was a mistake.
5079       # Let's accept both of them until this is cleared up.
5080       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5081       lt_cv_file_magic_cmd=/usr/bin/file
5082       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5083       ;;
5084     esac
5085   else
5086     lt_cv_deplibs_check_method=pass_all
5087   fi
5088   ;;
5089
5090 gnu*)
5091   lt_cv_deplibs_check_method=pass_all
5092   ;;
5093
5094 haiku*)
5095   lt_cv_deplibs_check_method=pass_all
5096   ;;
5097
5098 hpux10.20* | hpux11*)
5099   lt_cv_file_magic_cmd=/usr/bin/file
5100   case $host_cpu in
5101   ia64*)
5102     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5103     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5104     ;;
5105   hppa*64*)
5106     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]'
5107     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5108     ;;
5109   *)
5110     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5111     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5112     ;;
5113   esac
5114   ;;
5115
5116 interix[3-9]*)
5117   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5118   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5119   ;;
5120
5121 irix5* | irix6* | nonstopux*)
5122   case $LD in
5123   *-32|*"-32 ") libmagic=32-bit;;
5124   *-n32|*"-n32 ") libmagic=N32;;
5125   *-64|*"-64 ") libmagic=64-bit;;
5126   *) libmagic=never-match;;
5127   esac
5128   lt_cv_deplibs_check_method=pass_all
5129   ;;
5130
5131 # This must be Linux ELF.
5132 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5133   lt_cv_deplibs_check_method=pass_all
5134   ;;
5135
5136 netbsd*)
5137   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5138     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5139   else
5140     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5141   fi
5142   ;;
5143
5144 newos6*)
5145   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5146   lt_cv_file_magic_cmd=/usr/bin/file
5147   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5148   ;;
5149
5150 *nto* | *qnx*)
5151   lt_cv_deplibs_check_method=pass_all
5152   ;;
5153
5154 openbsd*)
5155   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5156     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5157   else
5158     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5159   fi
5160   ;;
5161
5162 osf3* | osf4* | osf5*)
5163   lt_cv_deplibs_check_method=pass_all
5164   ;;
5165
5166 rdos*)
5167   lt_cv_deplibs_check_method=pass_all
5168   ;;
5169
5170 solaris*)
5171   lt_cv_deplibs_check_method=pass_all
5172   ;;
5173
5174 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5175   lt_cv_deplibs_check_method=pass_all
5176   ;;
5177
5178 sysv4 | sysv4.3*)
5179   case $host_vendor in
5180   motorola)
5181     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]'
5182     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5183     ;;
5184   ncr)
5185     lt_cv_deplibs_check_method=pass_all
5186     ;;
5187   sequent)
5188     lt_cv_file_magic_cmd='/bin/file'
5189     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5190     ;;
5191   sni)
5192     lt_cv_file_magic_cmd='/bin/file'
5193     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5194     lt_cv_file_magic_test_file=/lib/libc.so
5195     ;;
5196   siemens)
5197     lt_cv_deplibs_check_method=pass_all
5198     ;;
5199   pc)
5200     lt_cv_deplibs_check_method=pass_all
5201     ;;
5202   esac
5203   ;;
5204
5205 tpf*)
5206   lt_cv_deplibs_check_method=pass_all
5207   ;;
5208 esac
5209
5210 fi
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5212 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5213 file_magic_cmd=$lt_cv_file_magic_cmd
5214 deplibs_check_method=$lt_cv_deplibs_check_method
5215 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228 if test -n "$ac_tool_prefix"; then
5229   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5230 set dummy ${ac_tool_prefix}ar; ac_word=$2
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5232 $as_echo_n "checking for $ac_word... " >&6; }
5233 if test "${ac_cv_prog_AR+set}" = set; then :
5234   $as_echo_n "(cached) " >&6
5235 else
5236   if test -n "$AR"; then
5237   ac_cv_prog_AR="$AR" # Let the user override the test.
5238 else
5239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240 for as_dir in $PATH
5241 do
5242   IFS=$as_save_IFS
5243   test -z "$as_dir" && as_dir=.
5244     for ac_exec_ext in '' $ac_executable_extensions; do
5245   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5246     ac_cv_prog_AR="${ac_tool_prefix}ar"
5247     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5248     break 2
5249   fi
5250 done
5251   done
5252 IFS=$as_save_IFS
5253
5254 fi
5255 fi
5256 AR=$ac_cv_prog_AR
5257 if test -n "$AR"; then
5258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5259 $as_echo "$AR" >&6; }
5260 else
5261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5262 $as_echo "no" >&6; }
5263 fi
5264
5265
5266 fi
5267 if test -z "$ac_cv_prog_AR"; then
5268   ac_ct_AR=$AR
5269   # Extract the first word of "ar", so it can be a program name with args.
5270 set dummy ar; ac_word=$2
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5272 $as_echo_n "checking for $ac_word... " >&6; }
5273 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5274   $as_echo_n "(cached) " >&6
5275 else
5276   if test -n "$ac_ct_AR"; then
5277   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5278 else
5279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5280 for as_dir in $PATH
5281 do
5282   IFS=$as_save_IFS
5283   test -z "$as_dir" && as_dir=.
5284     for ac_exec_ext in '' $ac_executable_extensions; do
5285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5286     ac_cv_prog_ac_ct_AR="ar"
5287     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5288     break 2
5289   fi
5290 done
5291   done
5292 IFS=$as_save_IFS
5293
5294 fi
5295 fi
5296 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5297 if test -n "$ac_ct_AR"; then
5298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5299 $as_echo "$ac_ct_AR" >&6; }
5300 else
5301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5302 $as_echo "no" >&6; }
5303 fi
5304
5305   if test "x$ac_ct_AR" = x; then
5306     AR="false"
5307   else
5308     case $cross_compiling:$ac_tool_warned in
5309 yes:)
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5312 ac_tool_warned=yes ;;
5313 esac
5314     AR=$ac_ct_AR
5315   fi
5316 else
5317   AR="$ac_cv_prog_AR"
5318 fi
5319
5320 test -z "$AR" && AR=ar
5321 test -z "$AR_FLAGS" && AR_FLAGS=cru
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333 if test -n "$ac_tool_prefix"; then
5334   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5335 set dummy ${ac_tool_prefix}strip; ac_word=$2
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5337 $as_echo_n "checking for $ac_word... " >&6; }
5338 if test "${ac_cv_prog_STRIP+set}" = set; then :
5339   $as_echo_n "(cached) " >&6
5340 else
5341   if test -n "$STRIP"; then
5342   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5343 else
5344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5345 for as_dir in $PATH
5346 do
5347   IFS=$as_save_IFS
5348   test -z "$as_dir" && as_dir=.
5349     for ac_exec_ext in '' $ac_executable_extensions; do
5350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5351     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5353     break 2
5354   fi
5355 done
5356   done
5357 IFS=$as_save_IFS
5358
5359 fi
5360 fi
5361 STRIP=$ac_cv_prog_STRIP
5362 if test -n "$STRIP"; then
5363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5364 $as_echo "$STRIP" >&6; }
5365 else
5366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5367 $as_echo "no" >&6; }
5368 fi
5369
5370
5371 fi
5372 if test -z "$ac_cv_prog_STRIP"; then
5373   ac_ct_STRIP=$STRIP
5374   # Extract the first word of "strip", so it can be a program name with args.
5375 set dummy strip; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5379   $as_echo_n "(cached) " >&6
5380 else
5381   if test -n "$ac_ct_STRIP"; then
5382   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5386 do
5387   IFS=$as_save_IFS
5388   test -z "$as_dir" && as_dir=.
5389     for ac_exec_ext in '' $ac_executable_extensions; do
5390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5391     ac_cv_prog_ac_ct_STRIP="strip"
5392     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393     break 2
5394   fi
5395 done
5396   done
5397 IFS=$as_save_IFS
5398
5399 fi
5400 fi
5401 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5402 if test -n "$ac_ct_STRIP"; then
5403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5404 $as_echo "$ac_ct_STRIP" >&6; }
5405 else
5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5408 fi
5409
5410   if test "x$ac_ct_STRIP" = x; then
5411     STRIP=":"
5412   else
5413     case $cross_compiling:$ac_tool_warned in
5414 yes:)
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5417 ac_tool_warned=yes ;;
5418 esac
5419     STRIP=$ac_ct_STRIP
5420   fi
5421 else
5422   STRIP="$ac_cv_prog_STRIP"
5423 fi
5424
5425 test -z "$STRIP" && STRIP=:
5426
5427
5428
5429
5430
5431
5432 if test -n "$ac_tool_prefix"; then
5433   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5434 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5436 $as_echo_n "checking for $ac_word... " >&6; }
5437 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5438   $as_echo_n "(cached) " >&6
5439 else
5440   if test -n "$RANLIB"; then
5441   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5442 else
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in $PATH
5445 do
5446   IFS=$as_save_IFS
5447   test -z "$as_dir" && as_dir=.
5448     for ac_exec_ext in '' $ac_executable_extensions; do
5449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5450     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5452     break 2
5453   fi
5454 done
5455   done
5456 IFS=$as_save_IFS
5457
5458 fi
5459 fi
5460 RANLIB=$ac_cv_prog_RANLIB
5461 if test -n "$RANLIB"; then
5462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5463 $as_echo "$RANLIB" >&6; }
5464 else
5465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5466 $as_echo "no" >&6; }
5467 fi
5468
5469
5470 fi
5471 if test -z "$ac_cv_prog_RANLIB"; then
5472   ac_ct_RANLIB=$RANLIB
5473   # Extract the first word of "ranlib", so it can be a program name with args.
5474 set dummy ranlib; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5478   $as_echo_n "(cached) " >&6
5479 else
5480   if test -n "$ac_ct_RANLIB"; then
5481   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5485 do
5486   IFS=$as_save_IFS
5487   test -z "$as_dir" && as_dir=.
5488     for ac_exec_ext in '' $ac_executable_extensions; do
5489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5490     ac_cv_prog_ac_ct_RANLIB="ranlib"
5491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492     break 2
5493   fi
5494 done
5495   done
5496 IFS=$as_save_IFS
5497
5498 fi
5499 fi
5500 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5501 if test -n "$ac_ct_RANLIB"; then
5502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5503 $as_echo "$ac_ct_RANLIB" >&6; }
5504 else
5505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5507 fi
5508
5509   if test "x$ac_ct_RANLIB" = x; then
5510     RANLIB=":"
5511   else
5512     case $cross_compiling:$ac_tool_warned in
5513 yes:)
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned=yes ;;
5517 esac
5518     RANLIB=$ac_ct_RANLIB
5519   fi
5520 else
5521   RANLIB="$ac_cv_prog_RANLIB"
5522 fi
5523
5524 test -z "$RANLIB" && RANLIB=:
5525
5526
5527
5528
5529
5530
5531 # Determine commands to create old-style static archives.
5532 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5533 old_postinstall_cmds='chmod 644 $oldlib'
5534 old_postuninstall_cmds=
5535
5536 if test -n "$RANLIB"; then
5537   case $host_os in
5538   openbsd*)
5539     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5540     ;;
5541   *)
5542     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5543     ;;
5544   esac
5545   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5546 fi
5547
5548 case $host_os in
5549   darwin*)
5550     lock_old_archive_extraction=yes ;;
5551   *)
5552     lock_old_archive_extraction=no ;;
5553 esac
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593 # If no C compiler was specified, use CC.
5594 LTCC=${LTCC-"$CC"}
5595
5596 # If no C compiler flags were specified, use CFLAGS.
5597 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5598
5599 # Allow CC to be a program name with arguments.
5600 compiler=$CC
5601
5602
5603 # Check for command to grab the raw symbol name followed by C symbol from nm.
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5605 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5606 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5607   $as_echo_n "(cached) " >&6
5608 else
5609
5610 # These are sane defaults that work on at least a few old systems.
5611 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5612
5613 # Character class describing NM global symbol codes.
5614 symcode='[BCDEGRST]'
5615
5616 # Regexp to match symbols that can be accessed directly from C.
5617 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5618
5619 # Define system-specific variables.
5620 case $host_os in
5621 aix*)
5622   symcode='[BCDT]'
5623   ;;
5624 cygwin* | mingw* | pw32* | cegcc*)
5625   symcode='[ABCDGISTW]'
5626   ;;
5627 hpux*)
5628   if test "$host_cpu" = ia64; then
5629     symcode='[ABCDEGRST]'
5630   fi
5631   ;;
5632 irix* | nonstopux*)
5633   symcode='[BCDEGRST]'
5634   ;;
5635 osf*)
5636   symcode='[BCDEGQRST]'
5637   ;;
5638 solaris*)
5639   symcode='[BDRT]'
5640   ;;
5641 sco3.2v5*)
5642   symcode='[DT]'
5643   ;;
5644 sysv4.2uw2*)
5645   symcode='[DT]'
5646   ;;
5647 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5648   symcode='[ABDT]'
5649   ;;
5650 sysv4)
5651   symcode='[DFNSTU]'
5652   ;;
5653 esac
5654
5655 # If we're using GNU nm, then use its standard symbol codes.
5656 case `$NM -V 2>&1` in
5657 *GNU* | *'with BFD'*)
5658   symcode='[ABCDGIRSTW]' ;;
5659 esac
5660
5661 # Transform an extracted symbol line into a proper C declaration.
5662 # Some systems (esp. on ia64) link data and code symbols differently,
5663 # so use this general approach.
5664 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5665
5666 # Transform an extracted symbol line into symbol name and symbol address
5667 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5668 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'"
5669
5670 # Handle CRLF in mingw tool chain
5671 opt_cr=
5672 case $build_os in
5673 mingw*)
5674   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5675   ;;
5676 esac
5677
5678 # Try without a prefix underscore, then with it.
5679 for ac_symprfx in "" "_"; do
5680
5681   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5682   symxfrm="\\1 $ac_symprfx\\2 \\2"
5683
5684   # Write the raw and C identifiers.
5685   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5686     # Fake it for dumpbin and say T for any non-static function
5687     # and D for any global variable.
5688     # Also find C++ and __fastcall symbols from MSVC++,
5689     # which start with @ or ?.
5690     lt_cv_sys_global_symbol_pipe="$AWK '"\
5691 "     {last_section=section; section=\$ 3};"\
5692 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5693 "     \$ 0!~/External *\|/{next};"\
5694 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5695 "     {if(hide[section]) next};"\
5696 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5697 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5698 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5699 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5700 "     ' prfx=^$ac_symprfx"
5701   else
5702     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5703   fi
5704
5705   # Check to see that the pipe works correctly.
5706   pipe_works=no
5707
5708   rm -f conftest*
5709   cat > conftest.$ac_ext <<_LT_EOF
5710 #ifdef __cplusplus
5711 extern "C" {
5712 #endif
5713 char nm_test_var;
5714 void nm_test_func(void);
5715 void nm_test_func(void){}
5716 #ifdef __cplusplus
5717 }
5718 #endif
5719 int main(){nm_test_var='a';nm_test_func();return(0);}
5720 _LT_EOF
5721
5722   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5723   (eval $ac_compile) 2>&5
5724   ac_status=$?
5725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5726   test $ac_status = 0; }; then
5727     # Now try to grab the symbols.
5728     nlist=conftest.nm
5729     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5730   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5731   ac_status=$?
5732   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5733   test $ac_status = 0; } && test -s "$nlist"; then
5734       # Try sorting and uniquifying the output.
5735       if sort "$nlist" | uniq > "$nlist"T; then
5736         mv -f "$nlist"T "$nlist"
5737       else
5738         rm -f "$nlist"T
5739       fi
5740
5741       # Make sure that we snagged all the symbols we need.
5742       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5743         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5744           cat <<_LT_EOF > conftest.$ac_ext
5745 #ifdef __cplusplus
5746 extern "C" {
5747 #endif
5748
5749 _LT_EOF
5750           # Now generate the symbol file.
5751           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5752
5753           cat <<_LT_EOF >> conftest.$ac_ext
5754
5755 /* The mapping between symbol names and symbols.  */
5756 const struct {
5757   const char *name;
5758   void       *address;
5759 }
5760 lt__PROGRAM__LTX_preloaded_symbols[] =
5761 {
5762   { "@PROGRAM@", (void *) 0 },
5763 _LT_EOF
5764           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5765           cat <<\_LT_EOF >> conftest.$ac_ext
5766   {0, (void *) 0}
5767 };
5768
5769 /* This works around a problem in FreeBSD linker */
5770 #ifdef FREEBSD_WORKAROUND
5771 static const void *lt_preloaded_setup() {
5772   return lt__PROGRAM__LTX_preloaded_symbols;
5773 }
5774 #endif
5775
5776 #ifdef __cplusplus
5777 }
5778 #endif
5779 _LT_EOF
5780           # Now try linking the two files.
5781           mv conftest.$ac_objext conftstm.$ac_objext
5782           lt_save_LIBS="$LIBS"
5783           lt_save_CFLAGS="$CFLAGS"
5784           LIBS="conftstm.$ac_objext"
5785           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5786           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5787   (eval $ac_link) 2>&5
5788   ac_status=$?
5789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5790   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5791             pipe_works=yes
5792           fi
5793           LIBS="$lt_save_LIBS"
5794           CFLAGS="$lt_save_CFLAGS"
5795         else
5796           echo "cannot find nm_test_func in $nlist" >&5
5797         fi
5798       else
5799         echo "cannot find nm_test_var in $nlist" >&5
5800       fi
5801     else
5802       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5803     fi
5804   else
5805     echo "$progname: failed program was:" >&5
5806     cat conftest.$ac_ext >&5
5807   fi
5808   rm -rf conftest* conftst*
5809
5810   # Do not use the global_symbol_pipe unless it works.
5811   if test "$pipe_works" = yes; then
5812     break
5813   else
5814     lt_cv_sys_global_symbol_pipe=
5815   fi
5816 done
5817
5818 fi
5819
5820 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5821   lt_cv_sys_global_symbol_to_cdecl=
5822 fi
5823 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5825 $as_echo "failed" >&6; }
5826 else
5827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5828 $as_echo "ok" >&6; }
5829 fi
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853 # Check whether --enable-libtool-lock was given.
5854 if test "${enable_libtool_lock+set}" = set; then :
5855   enableval=$enable_libtool_lock;
5856 fi
5857
5858 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5859
5860 # Some flags need to be propagated to the compiler or linker for good
5861 # libtool support.
5862 case $host in
5863 ia64-*-hpux*)
5864   # Find out which ABI we are using.
5865   echo 'int i;' > conftest.$ac_ext
5866   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5867   (eval $ac_compile) 2>&5
5868   ac_status=$?
5869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5870   test $ac_status = 0; }; then
5871     case `/usr/bin/file conftest.$ac_objext` in
5872       *ELF-32*)
5873         HPUX_IA64_MODE="32"
5874         ;;
5875       *ELF-64*)
5876         HPUX_IA64_MODE="64"
5877         ;;
5878     esac
5879   fi
5880   rm -rf conftest*
5881   ;;
5882 *-*-irix6*)
5883   # Find out which ABI we are using.
5884   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5885   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5886   (eval $ac_compile) 2>&5
5887   ac_status=$?
5888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5889   test $ac_status = 0; }; then
5890     if test "$lt_cv_prog_gnu_ld" = yes; then
5891       case `/usr/bin/file conftest.$ac_objext` in
5892         *32-bit*)
5893           LD="${LD-ld} -melf32bsmip"
5894           ;;
5895         *N32*)
5896           LD="${LD-ld} -melf32bmipn32"
5897           ;;
5898         *64-bit*)
5899           LD="${LD-ld} -melf64bmip"
5900         ;;
5901       esac
5902     else
5903       case `/usr/bin/file conftest.$ac_objext` in
5904         *32-bit*)
5905           LD="${LD-ld} -32"
5906           ;;
5907         *N32*)
5908           LD="${LD-ld} -n32"
5909           ;;
5910         *64-bit*)
5911           LD="${LD-ld} -64"
5912           ;;
5913       esac
5914     fi
5915   fi
5916   rm -rf conftest*
5917   ;;
5918
5919 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5920 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5921   # Find out which ABI we are using.
5922   echo 'int i;' > conftest.$ac_ext
5923   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5924   (eval $ac_compile) 2>&5
5925   ac_status=$?
5926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5927   test $ac_status = 0; }; then
5928     case `/usr/bin/file conftest.o` in
5929       *32-bit*)
5930         case $host in
5931           x86_64-*kfreebsd*-gnu)
5932             LD="${LD-ld} -m elf_i386_fbsd"
5933             ;;
5934           x86_64-*linux*)
5935             LD="${LD-ld} -m elf_i386"
5936             ;;
5937           ppc64-*linux*|powerpc64-*linux*)
5938             LD="${LD-ld} -m elf32ppclinux"
5939             ;;
5940           s390x-*linux*)
5941             LD="${LD-ld} -m elf_s390"
5942             ;;
5943           sparc64-*linux*)
5944             LD="${LD-ld} -m elf32_sparc"
5945             ;;
5946         esac
5947         ;;
5948       *64-bit*)
5949         case $host in
5950           x86_64-*kfreebsd*-gnu)
5951             LD="${LD-ld} -m elf_x86_64_fbsd"
5952             ;;
5953           x86_64-*linux*)
5954             LD="${LD-ld} -m elf_x86_64"
5955             ;;
5956           ppc*-*linux*|powerpc*-*linux*)
5957             LD="${LD-ld} -m elf64ppc"
5958             ;;
5959           s390*-*linux*|s390*-*tpf*)
5960             LD="${LD-ld} -m elf64_s390"
5961             ;;
5962           sparc*-*linux*)
5963             LD="${LD-ld} -m elf64_sparc"
5964             ;;
5965         esac
5966         ;;
5967     esac
5968   fi
5969   rm -rf conftest*
5970   ;;
5971
5972 *-*-sco3.2v5*)
5973   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5974   SAVE_CFLAGS="$CFLAGS"
5975   CFLAGS="$CFLAGS -belf"
5976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5977 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5978 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5979   $as_echo_n "(cached) " >&6
5980 else
5981   ac_ext=c
5982 ac_cpp='$CPP $CPPFLAGS'
5983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5986
5987      if test x$gcc_no_link = xyes; then
5988   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5989 fi
5990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h.  */
5992
5993 int
5994 main ()
5995 {
5996
5997   ;
5998   return 0;
5999 }
6000 _ACEOF
6001 if ac_fn_c_try_link "$LINENO"; then :
6002   lt_cv_cc_needs_belf=yes
6003 else
6004   lt_cv_cc_needs_belf=no
6005 fi
6006 rm -f core conftest.err conftest.$ac_objext \
6007     conftest$ac_exeext conftest.$ac_ext
6008      ac_ext=c
6009 ac_cpp='$CPP $CPPFLAGS'
6010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6013
6014 fi
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6016 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6017   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6018     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6019     CFLAGS="$SAVE_CFLAGS"
6020   fi
6021   ;;
6022 sparc*-*solaris*)
6023   # Find out which ABI we are using.
6024   echo 'int i;' > conftest.$ac_ext
6025   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6026   (eval $ac_compile) 2>&5
6027   ac_status=$?
6028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6029   test $ac_status = 0; }; then
6030     case `/usr/bin/file conftest.o` in
6031     *64-bit*)
6032       case $lt_cv_prog_gnu_ld in
6033       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6034       *)
6035         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6036           LD="${LD-ld} -64"
6037         fi
6038         ;;
6039       esac
6040       ;;
6041     esac
6042   fi
6043   rm -rf conftest*
6044   ;;
6045 esac
6046
6047 need_locks="$enable_libtool_lock"
6048
6049
6050   case $host_os in
6051     rhapsody* | darwin*)
6052     if test -n "$ac_tool_prefix"; then
6053   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6054 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6056 $as_echo_n "checking for $ac_word... " >&6; }
6057 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6058   $as_echo_n "(cached) " >&6
6059 else
6060   if test -n "$DSYMUTIL"; then
6061   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6062 else
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064 for as_dir in $PATH
6065 do
6066   IFS=$as_save_IFS
6067   test -z "$as_dir" && as_dir=.
6068     for ac_exec_ext in '' $ac_executable_extensions; do
6069   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6070     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6071     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6072     break 2
6073   fi
6074 done
6075   done
6076 IFS=$as_save_IFS
6077
6078 fi
6079 fi
6080 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6081 if test -n "$DSYMUTIL"; then
6082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6083 $as_echo "$DSYMUTIL" >&6; }
6084 else
6085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6086 $as_echo "no" >&6; }
6087 fi
6088
6089
6090 fi
6091 if test -z "$ac_cv_prog_DSYMUTIL"; then
6092   ac_ct_DSYMUTIL=$DSYMUTIL
6093   # Extract the first word of "dsymutil", so it can be a program name with args.
6094 set dummy dsymutil; ac_word=$2
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6096 $as_echo_n "checking for $ac_word... " >&6; }
6097 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6098   $as_echo_n "(cached) " >&6
6099 else
6100   if test -n "$ac_ct_DSYMUTIL"; then
6101   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6102 else
6103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6104 for as_dir in $PATH
6105 do
6106   IFS=$as_save_IFS
6107   test -z "$as_dir" && as_dir=.
6108     for ac_exec_ext in '' $ac_executable_extensions; do
6109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6110     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6112     break 2
6113   fi
6114 done
6115   done
6116 IFS=$as_save_IFS
6117
6118 fi
6119 fi
6120 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6121 if test -n "$ac_ct_DSYMUTIL"; then
6122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6123 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6124 else
6125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6126 $as_echo "no" >&6; }
6127 fi
6128
6129   if test "x$ac_ct_DSYMUTIL" = x; then
6130     DSYMUTIL=":"
6131   else
6132     case $cross_compiling:$ac_tool_warned in
6133 yes:)
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6136 ac_tool_warned=yes ;;
6137 esac
6138     DSYMUTIL=$ac_ct_DSYMUTIL
6139   fi
6140 else
6141   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6142 fi
6143
6144     if test -n "$ac_tool_prefix"; then
6145   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6146 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6150   $as_echo_n "(cached) " >&6
6151 else
6152   if test -n "$NMEDIT"; then
6153   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158   IFS=$as_save_IFS
6159   test -z "$as_dir" && as_dir=.
6160     for ac_exec_ext in '' $ac_executable_extensions; do
6161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164     break 2
6165   fi
6166 done
6167   done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 NMEDIT=$ac_cv_prog_NMEDIT
6173 if test -n "$NMEDIT"; then
6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6175 $as_echo "$NMEDIT" >&6; }
6176 else
6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181
6182 fi
6183 if test -z "$ac_cv_prog_NMEDIT"; then
6184   ac_ct_NMEDIT=$NMEDIT
6185   # Extract the first word of "nmedit", so it can be a program name with args.
6186 set dummy nmedit; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6190   $as_echo_n "(cached) " >&6
6191 else
6192   if test -n "$ac_ct_NMEDIT"; then
6193   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6194 else
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196 for as_dir in $PATH
6197 do
6198   IFS=$as_save_IFS
6199   test -z "$as_dir" && as_dir=.
6200     for ac_exec_ext in '' $ac_executable_extensions; do
6201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6202     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204     break 2
6205   fi
6206 done
6207   done
6208 IFS=$as_save_IFS
6209
6210 fi
6211 fi
6212 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6213 if test -n "$ac_ct_NMEDIT"; then
6214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6215 $as_echo "$ac_ct_NMEDIT" >&6; }
6216 else
6217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6219 fi
6220
6221   if test "x$ac_ct_NMEDIT" = x; then
6222     NMEDIT=":"
6223   else
6224     case $cross_compiling:$ac_tool_warned in
6225 yes:)
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6228 ac_tool_warned=yes ;;
6229 esac
6230     NMEDIT=$ac_ct_NMEDIT
6231   fi
6232 else
6233   NMEDIT="$ac_cv_prog_NMEDIT"
6234 fi
6235
6236     if test -n "$ac_tool_prefix"; then
6237   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6238 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if test "${ac_cv_prog_LIPO+set}" = set; then :
6242   $as_echo_n "(cached) " >&6
6243 else
6244   if test -n "$LIPO"; then
6245   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6246 else
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in $PATH
6249 do
6250   IFS=$as_save_IFS
6251   test -z "$as_dir" && as_dir=.
6252     for ac_exec_ext in '' $ac_executable_extensions; do
6253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256     break 2
6257   fi
6258 done
6259   done
6260 IFS=$as_save_IFS
6261
6262 fi
6263 fi
6264 LIPO=$ac_cv_prog_LIPO
6265 if test -n "$LIPO"; then
6266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6267 $as_echo "$LIPO" >&6; }
6268 else
6269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6271 fi
6272
6273
6274 fi
6275 if test -z "$ac_cv_prog_LIPO"; then
6276   ac_ct_LIPO=$LIPO
6277   # Extract the first word of "lipo", so it can be a program name with args.
6278 set dummy lipo; ac_word=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6282   $as_echo_n "(cached) " >&6
6283 else
6284   if test -n "$ac_ct_LIPO"; then
6285   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6286 else
6287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 for as_dir in $PATH
6289 do
6290   IFS=$as_save_IFS
6291   test -z "$as_dir" && as_dir=.
6292     for ac_exec_ext in '' $ac_executable_extensions; do
6293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294     ac_cv_prog_ac_ct_LIPO="lipo"
6295     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6296     break 2
6297   fi
6298 done
6299   done
6300 IFS=$as_save_IFS
6301
6302 fi
6303 fi
6304 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6305 if test -n "$ac_ct_LIPO"; then
6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6307 $as_echo "$ac_ct_LIPO" >&6; }
6308 else
6309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6311 fi
6312
6313   if test "x$ac_ct_LIPO" = x; then
6314     LIPO=":"
6315   else
6316     case $cross_compiling:$ac_tool_warned in
6317 yes:)
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6320 ac_tool_warned=yes ;;
6321 esac
6322     LIPO=$ac_ct_LIPO
6323   fi
6324 else
6325   LIPO="$ac_cv_prog_LIPO"
6326 fi
6327
6328     if test -n "$ac_tool_prefix"; then
6329   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6330 set dummy ${ac_tool_prefix}otool; ac_word=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6334   $as_echo_n "(cached) " >&6
6335 else
6336   if test -n "$OTOOL"; then
6337   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6338 else
6339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340 for as_dir in $PATH
6341 do
6342   IFS=$as_save_IFS
6343   test -z "$as_dir" && as_dir=.
6344     for ac_exec_ext in '' $ac_executable_extensions; do
6345   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6347     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348     break 2
6349   fi
6350 done
6351   done
6352 IFS=$as_save_IFS
6353
6354 fi
6355 fi
6356 OTOOL=$ac_cv_prog_OTOOL
6357 if test -n "$OTOOL"; then
6358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6359 $as_echo "$OTOOL" >&6; }
6360 else
6361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6363 fi
6364
6365
6366 fi
6367 if test -z "$ac_cv_prog_OTOOL"; then
6368   ac_ct_OTOOL=$OTOOL
6369   # Extract the first word of "otool", so it can be a program name with args.
6370 set dummy otool; ac_word=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6374   $as_echo_n "(cached) " >&6
6375 else
6376   if test -n "$ac_ct_OTOOL"; then
6377   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6378 else
6379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6380 for as_dir in $PATH
6381 do
6382   IFS=$as_save_IFS
6383   test -z "$as_dir" && as_dir=.
6384     for ac_exec_ext in '' $ac_executable_extensions; do
6385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386     ac_cv_prog_ac_ct_OTOOL="otool"
6387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388     break 2
6389   fi
6390 done
6391   done
6392 IFS=$as_save_IFS
6393
6394 fi
6395 fi
6396 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6397 if test -n "$ac_ct_OTOOL"; then
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6399 $as_echo "$ac_ct_OTOOL" >&6; }
6400 else
6401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6403 fi
6404
6405   if test "x$ac_ct_OTOOL" = x; then
6406     OTOOL=":"
6407   else
6408     case $cross_compiling:$ac_tool_warned in
6409 yes:)
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6412 ac_tool_warned=yes ;;
6413 esac
6414     OTOOL=$ac_ct_OTOOL
6415   fi
6416 else
6417   OTOOL="$ac_cv_prog_OTOOL"
6418 fi
6419
6420     if test -n "$ac_tool_prefix"; then
6421   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6422 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6426   $as_echo_n "(cached) " >&6
6427 else
6428   if test -n "$OTOOL64"; then
6429   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6433 do
6434   IFS=$as_save_IFS
6435   test -z "$as_dir" && as_dir=.
6436     for ac_exec_ext in '' $ac_executable_extensions; do
6437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6438     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440     break 2
6441   fi
6442 done
6443   done
6444 IFS=$as_save_IFS
6445
6446 fi
6447 fi
6448 OTOOL64=$ac_cv_prog_OTOOL64
6449 if test -n "$OTOOL64"; then
6450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6451 $as_echo "$OTOOL64" >&6; }
6452 else
6453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6455 fi
6456
6457
6458 fi
6459 if test -z "$ac_cv_prog_OTOOL64"; then
6460   ac_ct_OTOOL64=$OTOOL64
6461   # Extract the first word of "otool64", so it can be a program name with args.
6462 set dummy otool64; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6466   $as_echo_n "(cached) " >&6
6467 else
6468   if test -n "$ac_ct_OTOOL64"; then
6469   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6473 do
6474   IFS=$as_save_IFS
6475   test -z "$as_dir" && as_dir=.
6476     for ac_exec_ext in '' $ac_executable_extensions; do
6477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6478     ac_cv_prog_ac_ct_OTOOL64="otool64"
6479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480     break 2
6481   fi
6482 done
6483   done
6484 IFS=$as_save_IFS
6485
6486 fi
6487 fi
6488 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6489 if test -n "$ac_ct_OTOOL64"; then
6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6491 $as_echo "$ac_ct_OTOOL64" >&6; }
6492 else
6493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6495 fi
6496
6497   if test "x$ac_ct_OTOOL64" = x; then
6498     OTOOL64=":"
6499   else
6500     case $cross_compiling:$ac_tool_warned in
6501 yes:)
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6503 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6504 ac_tool_warned=yes ;;
6505 esac
6506     OTOOL64=$ac_ct_OTOOL64
6507   fi
6508 else
6509   OTOOL64="$ac_cv_prog_OTOOL64"
6510 fi
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6539 $as_echo_n "checking for -single_module linker flag... " >&6; }
6540 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6541   $as_echo_n "(cached) " >&6
6542 else
6543   lt_cv_apple_cc_single_mod=no
6544       if test -z "${LT_MULTI_MODULE}"; then
6545         # By default we will add the -single_module flag. You can override
6546         # by either setting the environment variable LT_MULTI_MODULE
6547         # non-empty at configure time, or by adding -multi_module to the
6548         # link flags.
6549         rm -rf libconftest.dylib*
6550         echo "int foo(void){return 1;}" > conftest.c
6551         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6552 -dynamiclib -Wl,-single_module conftest.c" >&5
6553         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6554           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6555         _lt_result=$?
6556         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6557           lt_cv_apple_cc_single_mod=yes
6558         else
6559           cat conftest.err >&5
6560         fi
6561         rm -rf libconftest.dylib*
6562         rm -f conftest.*
6563       fi
6564 fi
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6566 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6567     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6568 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6569 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6570   $as_echo_n "(cached) " >&6
6571 else
6572   lt_cv_ld_exported_symbols_list=no
6573       save_LDFLAGS=$LDFLAGS
6574       echo "_main" > conftest.sym
6575       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6576       if test x$gcc_no_link = xyes; then
6577   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6578 fi
6579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h.  */
6581
6582 int
6583 main ()
6584 {
6585
6586   ;
6587   return 0;
6588 }
6589 _ACEOF
6590 if ac_fn_c_try_link "$LINENO"; then :
6591   lt_cv_ld_exported_symbols_list=yes
6592 else
6593   lt_cv_ld_exported_symbols_list=no
6594 fi
6595 rm -f core conftest.err conftest.$ac_objext \
6596     conftest$ac_exeext conftest.$ac_ext
6597         LDFLAGS="$save_LDFLAGS"
6598
6599 fi
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6601 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6602     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6603 $as_echo_n "checking for -force_load linker flag... " >&6; }
6604 if test "${lt_cv_ld_force_load+set}" = set; then :
6605   $as_echo_n "(cached) " >&6
6606 else
6607   lt_cv_ld_force_load=no
6608       cat > conftest.c << _LT_EOF
6609 int forced_loaded() { return 2;}
6610 _LT_EOF
6611       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6612       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6613       echo "$AR cru libconftest.a conftest.o" >&5
6614       $AR cru libconftest.a conftest.o 2>&5
6615       cat > conftest.c << _LT_EOF
6616 int main() { return 0;}
6617 _LT_EOF
6618       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6619       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6620       _lt_result=$?
6621       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6622         lt_cv_ld_force_load=yes
6623       else
6624         cat conftest.err >&5
6625       fi
6626         rm -f conftest.err libconftest.a conftest conftest.c
6627         rm -rf conftest.dSYM
6628
6629 fi
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6631 $as_echo "$lt_cv_ld_force_load" >&6; }
6632     case $host_os in
6633     rhapsody* | darwin1.[012])
6634       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6635     darwin1.*)
6636       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6637     darwin*) # darwin 5.x on
6638       # if running on 10.5 or later, the deployment target defaults
6639       # to the OS version, if on x86, and 10.4, the deployment
6640       # target defaults to 10.4. Don't you love it?
6641       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6642         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6643           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6644         10.[012]*)
6645           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6646         10.*)
6647           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6648       esac
6649     ;;
6650   esac
6651     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6652       _lt_dar_single_mod='$single_module'
6653     fi
6654     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6655       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6656     else
6657       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6658     fi
6659     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6660       _lt_dsymutil='~$DSYMUTIL $lib || :'
6661     else
6662       _lt_dsymutil=
6663     fi
6664     ;;
6665   esac
6666
6667 ac_ext=c
6668 ac_cpp='$CPP $CPPFLAGS'
6669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6673 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6674 # On Suns, sometimes $CPP names a directory.
6675 if test -n "$CPP" && test -d "$CPP"; then
6676   CPP=
6677 fi
6678 if test -z "$CPP"; then
6679   if test "${ac_cv_prog_CPP+set}" = set; then :
6680   $as_echo_n "(cached) " >&6
6681 else
6682       # Double quotes because CPP needs to be expanded
6683     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6684     do
6685       ac_preproc_ok=false
6686 for ac_c_preproc_warn_flag in '' yes
6687 do
6688   # Use a header file that comes with gcc, so configuring glibc
6689   # with a fresh cross-compiler works.
6690   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6691   # <limits.h> exists even on freestanding compilers.
6692   # On the NeXT, cc -E runs the code through the compiler's parser,
6693   # not just through cpp. "Syntax error" is here to catch this case.
6694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6695 /* end confdefs.h.  */
6696 #ifdef __STDC__
6697 # include <limits.h>
6698 #else
6699 # include <assert.h>
6700 #endif
6701                      Syntax error
6702 _ACEOF
6703 if ac_fn_c_try_cpp "$LINENO"; then :
6704
6705 else
6706   # Broken: fails on valid input.
6707 continue
6708 fi
6709 rm -f conftest.err conftest.$ac_ext
6710
6711   # OK, works on sane cases.  Now check whether nonexistent headers
6712   # can be detected and how.
6713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h.  */
6715 #include <ac_nonexistent.h>
6716 _ACEOF
6717 if ac_fn_c_try_cpp "$LINENO"; then :
6718   # Broken: success on invalid input.
6719 continue
6720 else
6721   # Passes both tests.
6722 ac_preproc_ok=:
6723 break
6724 fi
6725 rm -f conftest.err conftest.$ac_ext
6726
6727 done
6728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6729 rm -f conftest.err conftest.$ac_ext
6730 if $ac_preproc_ok; then :
6731   break
6732 fi
6733
6734     done
6735     ac_cv_prog_CPP=$CPP
6736
6737 fi
6738   CPP=$ac_cv_prog_CPP
6739 else
6740   ac_cv_prog_CPP=$CPP
6741 fi
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6743 $as_echo "$CPP" >&6; }
6744 ac_preproc_ok=false
6745 for ac_c_preproc_warn_flag in '' yes
6746 do
6747   # Use a header file that comes with gcc, so configuring glibc
6748   # with a fresh cross-compiler works.
6749   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6750   # <limits.h> exists even on freestanding compilers.
6751   # On the NeXT, cc -E runs the code through the compiler's parser,
6752   # not just through cpp. "Syntax error" is here to catch this case.
6753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6754 /* end confdefs.h.  */
6755 #ifdef __STDC__
6756 # include <limits.h>
6757 #else
6758 # include <assert.h>
6759 #endif
6760                      Syntax error
6761 _ACEOF
6762 if ac_fn_c_try_cpp "$LINENO"; then :
6763
6764 else
6765   # Broken: fails on valid input.
6766 continue
6767 fi
6768 rm -f conftest.err conftest.$ac_ext
6769
6770   # OK, works on sane cases.  Now check whether nonexistent headers
6771   # can be detected and how.
6772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6773 /* end confdefs.h.  */
6774 #include <ac_nonexistent.h>
6775 _ACEOF
6776 if ac_fn_c_try_cpp "$LINENO"; then :
6777   # Broken: success on invalid input.
6778 continue
6779 else
6780   # Passes both tests.
6781 ac_preproc_ok=:
6782 break
6783 fi
6784 rm -f conftest.err conftest.$ac_ext
6785
6786 done
6787 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6788 rm -f conftest.err conftest.$ac_ext
6789 if $ac_preproc_ok; then :
6790
6791 else
6792   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6794 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6795 See \`config.log' for more details." "$LINENO" 5; }
6796 fi
6797
6798 ac_ext=c
6799 ac_cpp='$CPP $CPPFLAGS'
6800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6803
6804
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6806 $as_echo_n "checking for ANSI C header files... " >&6; }
6807 if test "${ac_cv_header_stdc+set}" = set; then :
6808   $as_echo_n "(cached) " >&6
6809 else
6810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6811 /* end confdefs.h.  */
6812 #include <stdlib.h>
6813 #include <stdarg.h>
6814 #include <string.h>
6815 #include <float.h>
6816
6817 int
6818 main ()
6819 {
6820
6821   ;
6822   return 0;
6823 }
6824 _ACEOF
6825 if ac_fn_c_try_compile "$LINENO"; then :
6826   ac_cv_header_stdc=yes
6827 else
6828   ac_cv_header_stdc=no
6829 fi
6830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6831
6832 if test $ac_cv_header_stdc = yes; then
6833   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h.  */
6836 #include <string.h>
6837
6838 _ACEOF
6839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6840   $EGREP "memchr" >/dev/null 2>&1; then :
6841
6842 else
6843   ac_cv_header_stdc=no
6844 fi
6845 rm -f conftest*
6846
6847 fi
6848
6849 if test $ac_cv_header_stdc = yes; then
6850   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h.  */
6853 #include <stdlib.h>
6854
6855 _ACEOF
6856 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6857   $EGREP "free" >/dev/null 2>&1; then :
6858
6859 else
6860   ac_cv_header_stdc=no
6861 fi
6862 rm -f conftest*
6863
6864 fi
6865
6866 if test $ac_cv_header_stdc = yes; then
6867   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6868   if test "$cross_compiling" = yes; then :
6869   :
6870 else
6871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6872 /* end confdefs.h.  */
6873 #include <ctype.h>
6874 #include <stdlib.h>
6875 #if ((' ' & 0x0FF) == 0x020)
6876 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6877 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6878 #else
6879 # define ISLOWER(c) \
6880                    (('a' <= (c) && (c) <= 'i') \
6881                      || ('j' <= (c) && (c) <= 'r') \
6882                      || ('s' <= (c) && (c) <= 'z'))
6883 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6884 #endif
6885
6886 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6887 int
6888 main ()
6889 {
6890   int i;
6891   for (i = 0; i < 256; i++)
6892     if (XOR (islower (i), ISLOWER (i))
6893         || toupper (i) != TOUPPER (i))
6894       return 2;
6895   return 0;
6896 }
6897 _ACEOF
6898 if ac_fn_c_try_run "$LINENO"; then :
6899
6900 else
6901   ac_cv_header_stdc=no
6902 fi
6903 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6904   conftest.$ac_objext conftest.beam conftest.$ac_ext
6905 fi
6906
6907 fi
6908 fi
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6910 $as_echo "$ac_cv_header_stdc" >&6; }
6911 if test $ac_cv_header_stdc = yes; then
6912
6913 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6914
6915 fi
6916
6917 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6918 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6919                   inttypes.h stdint.h unistd.h
6920 do :
6921   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6922 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6923 "
6924 eval as_val=\$$as_ac_Header
6925    if test "x$as_val" = x""yes; then :
6926   cat >>confdefs.h <<_ACEOF
6927 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6928 _ACEOF
6929
6930 fi
6931
6932 done
6933
6934
6935 for ac_header in dlfcn.h
6936 do :
6937   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6938 "
6939 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6940   cat >>confdefs.h <<_ACEOF
6941 #define HAVE_DLFCN_H 1
6942 _ACEOF
6943
6944 fi
6945
6946 done
6947
6948
6949
6950
6951
6952 # Set options
6953
6954
6955
6956         enable_dlopen=no
6957
6958
6959   enable_win32_dll=no
6960
6961
6962             # Check whether --enable-shared was given.
6963 if test "${enable_shared+set}" = set; then :
6964   enableval=$enable_shared; p=${PACKAGE-default}
6965     case $enableval in
6966     yes) enable_shared=yes ;;
6967     no) enable_shared=no ;;
6968     *)
6969       enable_shared=no
6970       # Look at the argument we got.  We use all the common list separators.
6971       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6972       for pkg in $enableval; do
6973         IFS="$lt_save_ifs"
6974         if test "X$pkg" = "X$p"; then
6975           enable_shared=yes
6976         fi
6977       done
6978       IFS="$lt_save_ifs"
6979       ;;
6980     esac
6981 else
6982   enable_shared=yes
6983 fi
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993   # Check whether --enable-static was given.
6994 if test "${enable_static+set}" = set; then :
6995   enableval=$enable_static; p=${PACKAGE-default}
6996     case $enableval in
6997     yes) enable_static=yes ;;
6998     no) enable_static=no ;;
6999     *)
7000      enable_static=no
7001       # Look at the argument we got.  We use all the common list separators.
7002       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7003       for pkg in $enableval; do
7004         IFS="$lt_save_ifs"
7005         if test "X$pkg" = "X$p"; then
7006           enable_static=yes
7007         fi
7008       done
7009       IFS="$lt_save_ifs"
7010       ;;
7011     esac
7012 else
7013   enable_static=yes
7014 fi
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025 # Check whether --with-pic was given.
7026 if test "${with_pic+set}" = set; then :
7027   withval=$with_pic; pic_mode="$withval"
7028 else
7029   pic_mode=default
7030 fi
7031
7032
7033 test -z "$pic_mode" && pic_mode=default
7034
7035
7036
7037
7038
7039
7040
7041   # Check whether --enable-fast-install was given.
7042 if test "${enable_fast_install+set}" = set; then :
7043   enableval=$enable_fast_install; p=${PACKAGE-default}
7044     case $enableval in
7045     yes) enable_fast_install=yes ;;
7046     no) enable_fast_install=no ;;
7047     *)
7048       enable_fast_install=no
7049       # Look at the argument we got.  We use all the common list separators.
7050       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7051       for pkg in $enableval; do
7052         IFS="$lt_save_ifs"
7053         if test "X$pkg" = "X$p"; then
7054           enable_fast_install=yes
7055         fi
7056       done
7057       IFS="$lt_save_ifs"
7058       ;;
7059     esac
7060 else
7061   enable_fast_install=yes
7062 fi
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074 # This can be used to rebuild libtool when needed
7075 LIBTOOL_DEPS="$ltmain"
7076
7077 # Always use our own libtool.
7078 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105 test -z "$LN_S" && LN_S="ln -s"
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120 if test -n "${ZSH_VERSION+set}" ; then
7121    setopt NO_GLOB_SUBST
7122 fi
7123
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7125 $as_echo_n "checking for objdir... " >&6; }
7126 if test "${lt_cv_objdir+set}" = set; then :
7127   $as_echo_n "(cached) " >&6
7128 else
7129   rm -f .libs 2>/dev/null
7130 mkdir .libs 2>/dev/null
7131 if test -d .libs; then
7132   lt_cv_objdir=.libs
7133 else
7134   # MS-DOS does not allow filenames that begin with a dot.
7135   lt_cv_objdir=_libs
7136 fi
7137 rmdir .libs 2>/dev/null
7138 fi
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7140 $as_echo "$lt_cv_objdir" >&6; }
7141 objdir=$lt_cv_objdir
7142
7143
7144
7145
7146
7147 cat >>confdefs.h <<_ACEOF
7148 #define LT_OBJDIR "$lt_cv_objdir/"
7149 _ACEOF
7150
7151
7152
7153
7154 case $host_os in
7155 aix3*)
7156   # AIX sometimes has problems with the GCC collect2 program.  For some
7157   # reason, if we set the COLLECT_NAMES environment variable, the problems
7158   # vanish in a puff of smoke.
7159   if test "X${COLLECT_NAMES+set}" != Xset; then
7160     COLLECT_NAMES=
7161     export COLLECT_NAMES
7162   fi
7163   ;;
7164 esac
7165
7166 # Global variables:
7167 ofile=libtool
7168 can_build_shared=yes
7169
7170 # All known linkers require a `.a' archive for static linking (except MSVC,
7171 # which needs '.lib').
7172 libext=a
7173
7174 with_gnu_ld="$lt_cv_prog_gnu_ld"
7175
7176 old_CC="$CC"
7177 old_CFLAGS="$CFLAGS"
7178
7179 # Set sane defaults for various variables
7180 test -z "$CC" && CC=cc
7181 test -z "$LTCC" && LTCC=$CC
7182 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7183 test -z "$LD" && LD=ld
7184 test -z "$ac_objext" && ac_objext=o
7185
7186 for cc_temp in $compiler""; do
7187   case $cc_temp in
7188     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7189     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7190     \-*) ;;
7191     *) break;;
7192   esac
7193 done
7194 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7195
7196
7197 # Only perform the check for file, if the check method requires it
7198 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7199 case $deplibs_check_method in
7200 file_magic*)
7201   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7202     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7203 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7204 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7205   $as_echo_n "(cached) " >&6
7206 else
7207   case $MAGIC_CMD in
7208 [\\/*] |  ?:[\\/]*)
7209   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7210   ;;
7211 *)
7212   lt_save_MAGIC_CMD="$MAGIC_CMD"
7213   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7214   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7215   for ac_dir in $ac_dummy; do
7216     IFS="$lt_save_ifs"
7217     test -z "$ac_dir" && ac_dir=.
7218     if test -f $ac_dir/${ac_tool_prefix}file; then
7219       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7220       if test -n "$file_magic_test_file"; then
7221         case $deplibs_check_method in
7222         "file_magic "*)
7223           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7224           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7225           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7226             $EGREP "$file_magic_regex" > /dev/null; then
7227             :
7228           else
7229             cat <<_LT_EOF 1>&2
7230
7231 *** Warning: the command libtool uses to detect shared libraries,
7232 *** $file_magic_cmd, produces output that libtool cannot recognize.
7233 *** The result is that libtool may fail to recognize shared libraries
7234 *** as such.  This will affect the creation of libtool libraries that
7235 *** depend on shared libraries, but programs linked with such libtool
7236 *** libraries will work regardless of this problem.  Nevertheless, you
7237 *** may want to report the problem to your system manager and/or to
7238 *** bug-libtool@gnu.org
7239
7240 _LT_EOF
7241           fi ;;
7242         esac
7243       fi
7244       break
7245     fi
7246   done
7247   IFS="$lt_save_ifs"
7248   MAGIC_CMD="$lt_save_MAGIC_CMD"
7249   ;;
7250 esac
7251 fi
7252
7253 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7254 if test -n "$MAGIC_CMD"; then
7255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7256 $as_echo "$MAGIC_CMD" >&6; }
7257 else
7258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7260 fi
7261
7262
7263
7264
7265
7266 if test -z "$lt_cv_path_MAGIC_CMD"; then
7267   if test -n "$ac_tool_prefix"; then
7268     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7269 $as_echo_n "checking for file... " >&6; }
7270 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7271   $as_echo_n "(cached) " >&6
7272 else
7273   case $MAGIC_CMD in
7274 [\\/*] |  ?:[\\/]*)
7275   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7276   ;;
7277 *)
7278   lt_save_MAGIC_CMD="$MAGIC_CMD"
7279   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7280   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7281   for ac_dir in $ac_dummy; do
7282     IFS="$lt_save_ifs"
7283     test -z "$ac_dir" && ac_dir=.
7284     if test -f $ac_dir/file; then
7285       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7286       if test -n "$file_magic_test_file"; then
7287         case $deplibs_check_method in
7288         "file_magic "*)
7289           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7290           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7291           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7292             $EGREP "$file_magic_regex" > /dev/null; then
7293             :
7294           else
7295             cat <<_LT_EOF 1>&2
7296
7297 *** Warning: the command libtool uses to detect shared libraries,
7298 *** $file_magic_cmd, produces output that libtool cannot recognize.
7299 *** The result is that libtool may fail to recognize shared libraries
7300 *** as such.  This will affect the creation of libtool libraries that
7301 *** depend on shared libraries, but programs linked with such libtool
7302 *** libraries will work regardless of this problem.  Nevertheless, you
7303 *** may want to report the problem to your system manager and/or to
7304 *** bug-libtool@gnu.org
7305
7306 _LT_EOF
7307           fi ;;
7308         esac
7309       fi
7310       break
7311     fi
7312   done
7313   IFS="$lt_save_ifs"
7314   MAGIC_CMD="$lt_save_MAGIC_CMD"
7315   ;;
7316 esac
7317 fi
7318
7319 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7320 if test -n "$MAGIC_CMD"; then
7321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7322 $as_echo "$MAGIC_CMD" >&6; }
7323 else
7324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325 $as_echo "no" >&6; }
7326 fi
7327
7328
7329   else
7330     MAGIC_CMD=:
7331   fi
7332 fi
7333
7334   fi
7335   ;;
7336 esac
7337
7338 # Use C for the default configuration in the libtool script
7339
7340 lt_save_CC="$CC"
7341 ac_ext=c
7342 ac_cpp='$CPP $CPPFLAGS'
7343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7346
7347
7348 # Source file extension for C test sources.
7349 ac_ext=c
7350
7351 # Object file extension for compiled C test sources.
7352 objext=o
7353 objext=$objext
7354
7355 # Code to be used in simple compile tests
7356 lt_simple_compile_test_code="int some_variable = 0;"
7357
7358 # Code to be used in simple link tests
7359 lt_simple_link_test_code='int main(){return(0);}'
7360
7361
7362
7363
7364
7365
7366
7367 # If no C compiler was specified, use CC.
7368 LTCC=${LTCC-"$CC"}
7369
7370 # If no C compiler flags were specified, use CFLAGS.
7371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7372
7373 # Allow CC to be a program name with arguments.
7374 compiler=$CC
7375
7376 # Save the default compiler, since it gets overwritten when the other
7377 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7378 compiler_DEFAULT=$CC
7379
7380 # save warnings/boilerplate of simple test code
7381 ac_outfile=conftest.$ac_objext
7382 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7383 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7384 _lt_compiler_boilerplate=`cat conftest.err`
7385 $RM conftest*
7386
7387 ac_outfile=conftest.$ac_objext
7388 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7389 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7390 _lt_linker_boilerplate=`cat conftest.err`
7391 $RM -r conftest*
7392
7393
7394 ## CAVEAT EMPTOR:
7395 ## There is no encapsulation within the following macros, do not change
7396 ## the running order or otherwise move them around unless you know exactly
7397 ## what you are doing...
7398 if test -n "$compiler"; then
7399
7400 lt_prog_compiler_no_builtin_flag=
7401
7402 if test "$GCC" = yes; then
7403   case $cc_basename in
7404   nvcc*)
7405     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7406   *)
7407     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7408   esac
7409
7410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7411 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7412 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7413   $as_echo_n "(cached) " >&6
7414 else
7415   lt_cv_prog_compiler_rtti_exceptions=no
7416    ac_outfile=conftest.$ac_objext
7417    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7418    lt_compiler_flag="-fno-rtti -fno-exceptions"
7419    # Insert the option either (1) after the last *FLAGS variable, or
7420    # (2) before a word containing "conftest.", or (3) at the end.
7421    # Note that $ac_compile itself does not contain backslashes and begins
7422    # with a dollar sign (not a hyphen), so the echo should work correctly.
7423    # The option is referenced via a variable to avoid confusing sed.
7424    lt_compile=`echo "$ac_compile" | $SED \
7425    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7426    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7427    -e 's:$: $lt_compiler_flag:'`
7428    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7429    (eval "$lt_compile" 2>conftest.err)
7430    ac_status=$?
7431    cat conftest.err >&5
7432    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7433    if (exit $ac_status) && test -s "$ac_outfile"; then
7434      # The compiler can only warn and ignore the option if not recognized
7435      # So say no if there are warnings other than the usual output.
7436      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7437      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7438      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7439        lt_cv_prog_compiler_rtti_exceptions=yes
7440      fi
7441    fi
7442    $RM conftest*
7443
7444 fi
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7446 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7447
7448 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7449     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7450 else
7451     :
7452 fi
7453
7454 fi
7455
7456
7457
7458
7459
7460
7461   lt_prog_compiler_wl=
7462 lt_prog_compiler_pic=
7463 lt_prog_compiler_static=
7464
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7466 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7467
7468   if test "$GCC" = yes; then
7469     lt_prog_compiler_wl='-Wl,'
7470     lt_prog_compiler_static='-static'
7471
7472     case $host_os in
7473       aix*)
7474       # All AIX code is PIC.
7475       if test "$host_cpu" = ia64; then
7476         # AIX 5 now supports IA64 processor
7477         lt_prog_compiler_static='-Bstatic'
7478       fi
7479       ;;
7480
7481     amigaos*)
7482       case $host_cpu in
7483       powerpc)
7484             # see comment about AmigaOS4 .so support
7485             lt_prog_compiler_pic='-fPIC'
7486         ;;
7487       m68k)
7488             # FIXME: we need at least 68020 code to build shared libraries, but
7489             # adding the `-m68020' flag to GCC prevents building anything better,
7490             # like `-m68040'.
7491             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7492         ;;
7493       esac
7494       ;;
7495
7496     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7497       # PIC is the default for these OSes.
7498       ;;
7499
7500     mingw* | cygwin* | pw32* | os2* | cegcc*)
7501       # This hack is so that the source file can tell whether it is being
7502       # built for inclusion in a dll (and should export symbols for example).
7503       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7504       # (--disable-auto-import) libraries
7505       lt_prog_compiler_pic='-DDLL_EXPORT'
7506       ;;
7507
7508     darwin* | rhapsody*)
7509       # PIC is the default on this platform
7510       # Common symbols not allowed in MH_DYLIB files
7511       lt_prog_compiler_pic='-fno-common'
7512       ;;
7513
7514     haiku*)
7515       # PIC is the default for Haiku.
7516       # The "-static" flag exists, but is broken.
7517       lt_prog_compiler_static=
7518       ;;
7519
7520     hpux*)
7521       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7522       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7523       # sets the default TLS model and affects inlining.
7524       case $host_cpu in
7525       hppa*64*)
7526         # +Z the default
7527         ;;
7528       *)
7529         lt_prog_compiler_pic='-fPIC'
7530         ;;
7531       esac
7532       ;;
7533
7534     interix[3-9]*)
7535       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7536       # Instead, we relocate shared libraries at runtime.
7537       ;;
7538
7539     msdosdjgpp*)
7540       # Just because we use GCC doesn't mean we suddenly get shared libraries
7541       # on systems that don't support them.
7542       lt_prog_compiler_can_build_shared=no
7543       enable_shared=no
7544       ;;
7545
7546     *nto* | *qnx*)
7547       # QNX uses GNU C++, but need to define -shared option too, otherwise
7548       # it will coredump.
7549       lt_prog_compiler_pic='-fPIC -shared'
7550       ;;
7551
7552     sysv4*MP*)
7553       if test -d /usr/nec; then
7554         lt_prog_compiler_pic=-Kconform_pic
7555       fi
7556       ;;
7557
7558     *)
7559       lt_prog_compiler_pic='-fPIC'
7560       ;;
7561     esac
7562
7563     case $cc_basename in
7564     nvcc*) # Cuda Compiler Driver 2.2
7565       lt_prog_compiler_wl='-Xlinker '
7566       lt_prog_compiler_pic='-Xcompiler -fPIC'
7567       ;;
7568     esac
7569   else
7570     # PORTME Check for flag to pass linker flags through the system compiler.
7571     case $host_os in
7572     aix*)
7573       lt_prog_compiler_wl='-Wl,'
7574       if test "$host_cpu" = ia64; then
7575         # AIX 5 now supports IA64 processor
7576         lt_prog_compiler_static='-Bstatic'
7577       else
7578         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7579       fi
7580       ;;
7581
7582     mingw* | cygwin* | pw32* | os2* | cegcc*)
7583       # This hack is so that the source file can tell whether it is being
7584       # built for inclusion in a dll (and should export symbols for example).
7585       lt_prog_compiler_pic='-DDLL_EXPORT'
7586       ;;
7587
7588     hpux9* | hpux10* | hpux11*)
7589       lt_prog_compiler_wl='-Wl,'
7590       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7591       # not for PA HP-UX.
7592       case $host_cpu in
7593       hppa*64*|ia64*)
7594         # +Z the default
7595         ;;
7596       *)
7597         lt_prog_compiler_pic='+Z'
7598         ;;
7599       esac
7600       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7601       lt_prog_compiler_static='${wl}-a ${wl}archive'
7602       ;;
7603
7604     irix5* | irix6* | nonstopux*)
7605       lt_prog_compiler_wl='-Wl,'
7606       # PIC (with -KPIC) is the default.
7607       lt_prog_compiler_static='-non_shared'
7608       ;;
7609
7610     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7611       case $cc_basename in
7612       # old Intel for x86_64 which still supported -KPIC.
7613       ecc*)
7614         lt_prog_compiler_wl='-Wl,'
7615         lt_prog_compiler_pic='-KPIC'
7616         lt_prog_compiler_static='-static'
7617         ;;
7618       # icc used to be incompatible with GCC.
7619       # ICC 10 doesn't accept -KPIC any more.
7620       icc* | ifort*)
7621         lt_prog_compiler_wl='-Wl,'
7622         lt_prog_compiler_pic='-fPIC'
7623         lt_prog_compiler_static='-static'
7624         ;;
7625       # Lahey Fortran 8.1.
7626       lf95*)
7627         lt_prog_compiler_wl='-Wl,'
7628         lt_prog_compiler_pic='--shared'
7629         lt_prog_compiler_static='--static'
7630         ;;
7631       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7632         # Portland Group compilers (*not* the Pentium gcc compiler,
7633         # which looks to be a dead project)
7634         lt_prog_compiler_wl='-Wl,'
7635         lt_prog_compiler_pic='-fpic'
7636         lt_prog_compiler_static='-Bstatic'
7637         ;;
7638       ccc*)
7639         lt_prog_compiler_wl='-Wl,'
7640         # All Alpha code is PIC.
7641         lt_prog_compiler_static='-non_shared'
7642         ;;
7643       xl* | bgxl* | bgf* | mpixl*)
7644         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7645         lt_prog_compiler_wl='-Wl,'
7646         lt_prog_compiler_pic='-qpic'
7647         lt_prog_compiler_static='-qstaticlink'
7648         ;;
7649       *)
7650         case `$CC -V 2>&1 | sed 5q` in
7651         *Sun\ F* | *Sun*Fortran*)
7652           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7653           lt_prog_compiler_pic='-KPIC'
7654           lt_prog_compiler_static='-Bstatic'
7655           lt_prog_compiler_wl=''
7656           ;;
7657         *Sun\ C*)
7658           # Sun C 5.9
7659           lt_prog_compiler_pic='-KPIC'
7660           lt_prog_compiler_static='-Bstatic'
7661           lt_prog_compiler_wl='-Wl,'
7662           ;;
7663         esac
7664         ;;
7665       esac
7666       ;;
7667
7668     newsos6)
7669       lt_prog_compiler_pic='-KPIC'
7670       lt_prog_compiler_static='-Bstatic'
7671       ;;
7672
7673     *nto* | *qnx*)
7674       # QNX uses GNU C++, but need to define -shared option too, otherwise
7675       # it will coredump.
7676       lt_prog_compiler_pic='-fPIC -shared'
7677       ;;
7678
7679     osf3* | osf4* | osf5*)
7680       lt_prog_compiler_wl='-Wl,'
7681       # All OSF/1 code is PIC.
7682       lt_prog_compiler_static='-non_shared'
7683       ;;
7684
7685     rdos*)
7686       lt_prog_compiler_static='-non_shared'
7687       ;;
7688
7689     solaris*)
7690       lt_prog_compiler_pic='-KPIC'
7691       lt_prog_compiler_static='-Bstatic'
7692       case $cc_basename in
7693       f77* | f90* | f95*)
7694         lt_prog_compiler_wl='-Qoption ld ';;
7695       *)
7696         lt_prog_compiler_wl='-Wl,';;
7697       esac
7698       ;;
7699
7700     sunos4*)
7701       lt_prog_compiler_wl='-Qoption ld '
7702       lt_prog_compiler_pic='-PIC'
7703       lt_prog_compiler_static='-Bstatic'
7704       ;;
7705
7706     sysv4 | sysv4.2uw2* | sysv4.3*)
7707       lt_prog_compiler_wl='-Wl,'
7708       lt_prog_compiler_pic='-KPIC'
7709       lt_prog_compiler_static='-Bstatic'
7710       ;;
7711
7712     sysv4*MP*)
7713       if test -d /usr/nec ;then
7714         lt_prog_compiler_pic='-Kconform_pic'
7715         lt_prog_compiler_static='-Bstatic'
7716       fi
7717       ;;
7718
7719     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7720       lt_prog_compiler_wl='-Wl,'
7721       lt_prog_compiler_pic='-KPIC'
7722       lt_prog_compiler_static='-Bstatic'
7723       ;;
7724
7725     unicos*)
7726       lt_prog_compiler_wl='-Wl,'
7727       lt_prog_compiler_can_build_shared=no
7728       ;;
7729
7730     uts4*)
7731       lt_prog_compiler_pic='-pic'
7732       lt_prog_compiler_static='-Bstatic'
7733       ;;
7734
7735     *)
7736       lt_prog_compiler_can_build_shared=no
7737       ;;
7738     esac
7739   fi
7740
7741 case $host_os in
7742   # For platforms which do not support PIC, -DPIC is meaningless:
7743   *djgpp*)
7744     lt_prog_compiler_pic=
7745     ;;
7746   *)
7747     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7748     ;;
7749 esac
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7751 $as_echo "$lt_prog_compiler_pic" >&6; }
7752
7753
7754
7755
7756
7757
7758 #
7759 # Check to make sure the PIC flag actually works.
7760 #
7761 if test -n "$lt_prog_compiler_pic"; then
7762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7763 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7764 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7765   $as_echo_n "(cached) " >&6
7766 else
7767   lt_cv_prog_compiler_pic_works=no
7768    ac_outfile=conftest.$ac_objext
7769    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7770    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7771    # Insert the option either (1) after the last *FLAGS variable, or
7772    # (2) before a word containing "conftest.", or (3) at the end.
7773    # Note that $ac_compile itself does not contain backslashes and begins
7774    # with a dollar sign (not a hyphen), so the echo should work correctly.
7775    # The option is referenced via a variable to avoid confusing sed.
7776    lt_compile=`echo "$ac_compile" | $SED \
7777    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7778    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7779    -e 's:$: $lt_compiler_flag:'`
7780    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7781    (eval "$lt_compile" 2>conftest.err)
7782    ac_status=$?
7783    cat conftest.err >&5
7784    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785    if (exit $ac_status) && test -s "$ac_outfile"; then
7786      # The compiler can only warn and ignore the option if not recognized
7787      # So say no if there are warnings other than the usual output.
7788      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7789      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7790      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7791        lt_cv_prog_compiler_pic_works=yes
7792      fi
7793    fi
7794    $RM conftest*
7795
7796 fi
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7798 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7799
7800 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7801     case $lt_prog_compiler_pic in
7802      "" | " "*) ;;
7803      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7804      esac
7805 else
7806     lt_prog_compiler_pic=
7807      lt_prog_compiler_can_build_shared=no
7808 fi
7809
7810 fi
7811
7812
7813
7814
7815
7816
7817 #
7818 # Check to make sure the static flag actually works.
7819 #
7820 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7822 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7823 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7824   $as_echo_n "(cached) " >&6
7825 else
7826   lt_cv_prog_compiler_static_works=no
7827    save_LDFLAGS="$LDFLAGS"
7828    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7829    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7830    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7831      # The linker can only warn and ignore the option if not recognized
7832      # So say no if there are warnings
7833      if test -s conftest.err; then
7834        # Append any errors to the config.log.
7835        cat conftest.err 1>&5
7836        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7837        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7838        if diff conftest.exp conftest.er2 >/dev/null; then
7839          lt_cv_prog_compiler_static_works=yes
7840        fi
7841      else
7842        lt_cv_prog_compiler_static_works=yes
7843      fi
7844    fi
7845    $RM -r conftest*
7846    LDFLAGS="$save_LDFLAGS"
7847
7848 fi
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7850 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7851
7852 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7853     :
7854 else
7855     lt_prog_compiler_static=
7856 fi
7857
7858
7859
7860
7861
7862
7863
7864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7866 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7867   $as_echo_n "(cached) " >&6
7868 else
7869   lt_cv_prog_compiler_c_o=no
7870    $RM -r conftest 2>/dev/null
7871    mkdir conftest
7872    cd conftest
7873    mkdir out
7874    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7875
7876    lt_compiler_flag="-o out/conftest2.$ac_objext"
7877    # Insert the option either (1) after the last *FLAGS variable, or
7878    # (2) before a word containing "conftest.", or (3) at the end.
7879    # Note that $ac_compile itself does not contain backslashes and begins
7880    # with a dollar sign (not a hyphen), so the echo should work correctly.
7881    lt_compile=`echo "$ac_compile" | $SED \
7882    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7883    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7884    -e 's:$: $lt_compiler_flag:'`
7885    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7886    (eval "$lt_compile" 2>out/conftest.err)
7887    ac_status=$?
7888    cat out/conftest.err >&5
7889    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7891    then
7892      # The compiler can only warn and ignore the option if not recognized
7893      # So say no if there are warnings
7894      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7895      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7896      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7897        lt_cv_prog_compiler_c_o=yes
7898      fi
7899    fi
7900    chmod u+w . 2>&5
7901    $RM conftest*
7902    # SGI C++ compiler will create directory out/ii_files/ for
7903    # template instantiation
7904    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7905    $RM out/* && rmdir out
7906    cd ..
7907    $RM -r conftest
7908    $RM conftest*
7909
7910 fi
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7912 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7913
7914
7915
7916
7917
7918
7919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7921 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7922   $as_echo_n "(cached) " >&6
7923 else
7924   lt_cv_prog_compiler_c_o=no
7925    $RM -r conftest 2>/dev/null
7926    mkdir conftest
7927    cd conftest
7928    mkdir out
7929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7930
7931    lt_compiler_flag="-o out/conftest2.$ac_objext"
7932    # Insert the option either (1) after the last *FLAGS variable, or
7933    # (2) before a word containing "conftest.", or (3) at the end.
7934    # Note that $ac_compile itself does not contain backslashes and begins
7935    # with a dollar sign (not a hyphen), so the echo should work correctly.
7936    lt_compile=`echo "$ac_compile" | $SED \
7937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7939    -e 's:$: $lt_compiler_flag:'`
7940    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7941    (eval "$lt_compile" 2>out/conftest.err)
7942    ac_status=$?
7943    cat out/conftest.err >&5
7944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7946    then
7947      # The compiler can only warn and ignore the option if not recognized
7948      # So say no if there are warnings
7949      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7950      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7951      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7952        lt_cv_prog_compiler_c_o=yes
7953      fi
7954    fi
7955    chmod u+w . 2>&5
7956    $RM conftest*
7957    # SGI C++ compiler will create directory out/ii_files/ for
7958    # template instantiation
7959    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7960    $RM out/* && rmdir out
7961    cd ..
7962    $RM -r conftest
7963    $RM conftest*
7964
7965 fi
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7968
7969
7970
7971
7972 hard_links="nottested"
7973 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7974   # do not overwrite the value of need_locks provided by the user
7975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7976 $as_echo_n "checking if we can lock with hard links... " >&6; }
7977   hard_links=yes
7978   $RM conftest*
7979   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7980   touch conftest.a
7981   ln conftest.a conftest.b 2>&5 || hard_links=no
7982   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7984 $as_echo "$hard_links" >&6; }
7985   if test "$hard_links" = no; then
7986     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7987 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7988     need_locks=warn
7989   fi
7990 else
7991   need_locks=no
7992 fi
7993
7994
7995
7996
7997
7998
7999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8000 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8001
8002   runpath_var=
8003   allow_undefined_flag=
8004   always_export_symbols=no
8005   archive_cmds=
8006   archive_expsym_cmds=
8007   compiler_needs_object=no
8008   enable_shared_with_static_runtimes=no
8009   export_dynamic_flag_spec=
8010   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8011   hardcode_automatic=no
8012   hardcode_direct=no
8013   hardcode_direct_absolute=no
8014   hardcode_libdir_flag_spec=
8015   hardcode_libdir_flag_spec_ld=
8016   hardcode_libdir_separator=
8017   hardcode_minus_L=no
8018   hardcode_shlibpath_var=unsupported
8019   inherit_rpath=no
8020   link_all_deplibs=unknown
8021   module_cmds=
8022   module_expsym_cmds=
8023   old_archive_from_new_cmds=
8024   old_archive_from_expsyms_cmds=
8025   thread_safe_flag_spec=
8026   whole_archive_flag_spec=
8027   # include_expsyms should be a list of space-separated symbols to be *always*
8028   # included in the symbol list
8029   include_expsyms=
8030   # exclude_expsyms can be an extended regexp of symbols to exclude
8031   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8032   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8033   # as well as any symbol that contains `d'.
8034   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8035   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8036   # platforms (ab)use it in PIC code, but their linkers get confused if
8037   # the symbol is explicitly referenced.  Since portable code cannot
8038   # rely on this symbol name, it's probably fine to never include it in
8039   # preloaded symbol tables.
8040   # Exclude shared library initialization/finalization symbols.
8041   extract_expsyms_cmds=
8042
8043   case $host_os in
8044   cygwin* | mingw* | pw32* | cegcc*)
8045     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8046     # When not using gcc, we currently assume that we are using
8047     # Microsoft Visual C++.
8048     if test "$GCC" != yes; then
8049       with_gnu_ld=no
8050     fi
8051     ;;
8052   interix*)
8053     # we just hope/assume this is gcc and not c89 (= MSVC++)
8054     with_gnu_ld=yes
8055     ;;
8056   openbsd*)
8057     with_gnu_ld=no
8058     ;;
8059   esac
8060
8061   ld_shlibs=yes
8062
8063   # On some targets, GNU ld is compatible enough with the native linker
8064   # that we're better off using the native interface for both.
8065   lt_use_gnu_ld_interface=no
8066   if test "$with_gnu_ld" = yes; then
8067     case $host_os in
8068       aix*)
8069         # The AIX port of GNU ld has always aspired to compatibility
8070         # with the native linker.  However, as the warning in the GNU ld
8071         # block says, versions before 2.19.5* couldn't really create working
8072         # shared libraries, regardless of the interface used.
8073         case `$LD -v 2>&1` in
8074           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8075           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8076           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8077           *)
8078             lt_use_gnu_ld_interface=yes
8079             ;;
8080         esac
8081         ;;
8082       *)
8083         lt_use_gnu_ld_interface=yes
8084         ;;
8085     esac
8086   fi
8087
8088   if test "$lt_use_gnu_ld_interface" = yes; then
8089     # If archive_cmds runs LD, not CC, wlarc should be empty
8090     wlarc='${wl}'
8091
8092     # Set some defaults for GNU ld with shared library support. These
8093     # are reset later if shared libraries are not supported. Putting them
8094     # here allows them to be overridden if necessary.
8095     runpath_var=LD_RUN_PATH
8096     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8097     export_dynamic_flag_spec='${wl}--export-dynamic'
8098     # ancient GNU ld didn't support --whole-archive et. al.
8099     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8100       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8101     else
8102       whole_archive_flag_spec=
8103     fi
8104     supports_anon_versioning=no
8105     case `$LD -v 2>&1` in
8106       *GNU\ gold*) supports_anon_versioning=yes ;;
8107       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8108       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8109       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8110       *\ 2.11.*) ;; # other 2.11 versions
8111       *) supports_anon_versioning=yes ;;
8112     esac
8113
8114     # See if GNU ld supports shared libraries.
8115     case $host_os in
8116     aix[3-9]*)
8117       # On AIX/PPC, the GNU linker is very broken
8118       if test "$host_cpu" != ia64; then
8119         ld_shlibs=no
8120         cat <<_LT_EOF 1>&2
8121
8122 *** Warning: the GNU linker, at least up to release 2.19, is reported
8123 *** to be unable to reliably create shared libraries on AIX.
8124 *** Therefore, libtool is disabling shared libraries support.  If you
8125 *** really care for shared libraries, you may want to install binutils
8126 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8127 *** You will then need to restart the configuration process.
8128
8129 _LT_EOF
8130       fi
8131       ;;
8132
8133     amigaos*)
8134       case $host_cpu in
8135       powerpc)
8136             # see comment about AmigaOS4 .so support
8137             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8138             archive_expsym_cmds=''
8139         ;;
8140       m68k)
8141             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)'
8142             hardcode_libdir_flag_spec='-L$libdir'
8143             hardcode_minus_L=yes
8144         ;;
8145       esac
8146       ;;
8147
8148     beos*)
8149       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8150         allow_undefined_flag=unsupported
8151         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8152         # support --undefined.  This deserves some investigation.  FIXME
8153         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8154       else
8155         ld_shlibs=no
8156       fi
8157       ;;
8158
8159     cygwin* | mingw* | pw32* | cegcc*)
8160       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8161       # as there is no search path for DLLs.
8162       hardcode_libdir_flag_spec='-L$libdir'
8163       export_dynamic_flag_spec='${wl}--export-all-symbols'
8164       allow_undefined_flag=unsupported
8165       always_export_symbols=no
8166       enable_shared_with_static_runtimes=yes
8167       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8168
8169       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8170         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8171         # If the export-symbols file already is a .def file (1st line
8172         # is EXPORTS), use it as is; otherwise, prepend...
8173         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8174           cp $export_symbols $output_objdir/$soname.def;
8175         else
8176           echo EXPORTS > $output_objdir/$soname.def;
8177           cat $export_symbols >> $output_objdir/$soname.def;
8178         fi~
8179         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8180       else
8181         ld_shlibs=no
8182       fi
8183       ;;
8184
8185     haiku*)
8186       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8187       link_all_deplibs=yes
8188       ;;
8189
8190     interix[3-9]*)
8191       hardcode_direct=no
8192       hardcode_shlibpath_var=no
8193       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8194       export_dynamic_flag_spec='${wl}-E'
8195       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8196       # Instead, shared libraries are loaded at an image base (0x10000000 by
8197       # default) and relocated if they conflict, which is a slow very memory
8198       # consuming and fragmenting process.  To avoid this, we pick a random,
8199       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8200       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8201       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8202       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'
8203       ;;
8204
8205     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8206       tmp_diet=no
8207       if test "$host_os" = linux-dietlibc; then
8208         case $cc_basename in
8209           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8210         esac
8211       fi
8212       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8213          && test "$tmp_diet" = no
8214       then
8215         tmp_addflag=
8216         tmp_sharedflag='-shared'
8217         case $cc_basename,$host_cpu in
8218         pgcc*)                          # Portland Group C compiler
8219           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'
8220           tmp_addflag=' $pic_flag'
8221           ;;
8222         pgf77* | pgf90* | pgf95* | pgfortran*)
8223                                         # Portland Group f77 and f90 compilers
8224           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'
8225           tmp_addflag=' $pic_flag -Mnomain' ;;
8226         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8227           tmp_addflag=' -i_dynamic' ;;
8228         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8229           tmp_addflag=' -i_dynamic -nofor_main' ;;
8230         ifc* | ifort*)                  # Intel Fortran compiler
8231           tmp_addflag=' -nofor_main' ;;
8232         lf95*)                          # Lahey Fortran 8.1
8233           whole_archive_flag_spec=
8234           tmp_sharedflag='--shared' ;;
8235         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8236           tmp_sharedflag='-qmkshrobj'
8237           tmp_addflag= ;;
8238         nvcc*)  # Cuda Compiler Driver 2.2
8239           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'
8240           compiler_needs_object=yes
8241           ;;
8242         esac
8243         case `$CC -V 2>&1 | sed 5q` in
8244         *Sun\ C*)                       # Sun C 5.9
8245           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'
8246           compiler_needs_object=yes
8247           tmp_sharedflag='-G' ;;
8248         *Sun\ F*)                       # Sun Fortran 8.3
8249           tmp_sharedflag='-G' ;;
8250         esac
8251         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8252
8253         if test "x$supports_anon_versioning" = xyes; then
8254           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8255             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8256             echo "local: *; };" >> $output_objdir/$libname.ver~
8257             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8258         fi
8259
8260         case $cc_basename in
8261         xlf* | bgf* | bgxlf* | mpixlf*)
8262           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8263           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8264           hardcode_libdir_flag_spec=
8265           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8266           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8267           if test "x$supports_anon_versioning" = xyes; then
8268             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8269               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8270               echo "local: *; };" >> $output_objdir/$libname.ver~
8271               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8272           fi
8273           ;;
8274         esac
8275       else
8276         ld_shlibs=no
8277       fi
8278       ;;
8279
8280     netbsd*)
8281       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8282         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8283         wlarc=
8284       else
8285         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8286         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8287       fi
8288       ;;
8289
8290     solaris*)
8291       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8292         ld_shlibs=no
8293         cat <<_LT_EOF 1>&2
8294
8295 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8296 *** create shared libraries on Solaris systems.  Therefore, libtool
8297 *** is disabling shared libraries support.  We urge you to upgrade GNU
8298 *** binutils to release 2.9.1 or newer.  Another option is to modify
8299 *** your PATH or compiler configuration so that the native linker is
8300 *** used, and then restart.
8301
8302 _LT_EOF
8303       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8304         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8305         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8306       else
8307         ld_shlibs=no
8308       fi
8309       ;;
8310
8311     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8312       case `$LD -v 2>&1` in
8313         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8314         ld_shlibs=no
8315         cat <<_LT_EOF 1>&2
8316
8317 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8318 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8319 *** is disabling shared libraries support.  We urge you to upgrade GNU
8320 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8321 *** your PATH or compiler configuration so that the native linker is
8322 *** used, and then restart.
8323
8324 _LT_EOF
8325         ;;
8326         *)
8327           # For security reasons, it is highly recommended that you always
8328           # use absolute paths for naming shared libraries, and exclude the
8329           # DT_RUNPATH tag from executables and libraries.  But doing so
8330           # requires that you compile everything twice, which is a pain.
8331           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8332             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8333             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8334             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8335           else
8336             ld_shlibs=no
8337           fi
8338         ;;
8339       esac
8340       ;;
8341
8342     sunos4*)
8343       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8344       wlarc=
8345       hardcode_direct=yes
8346       hardcode_shlibpath_var=no
8347       ;;
8348
8349     *)
8350       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8351         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8352         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8353       else
8354         ld_shlibs=no
8355       fi
8356       ;;
8357     esac
8358
8359     if test "$ld_shlibs" = no; then
8360       runpath_var=
8361       hardcode_libdir_flag_spec=
8362       export_dynamic_flag_spec=
8363       whole_archive_flag_spec=
8364     fi
8365   else
8366     # PORTME fill in a description of your system's linker (not GNU ld)
8367     case $host_os in
8368     aix3*)
8369       allow_undefined_flag=unsupported
8370       always_export_symbols=yes
8371       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'
8372       # Note: this linker hardcodes the directories in LIBPATH if there
8373       # are no directories specified by -L.
8374       hardcode_minus_L=yes
8375       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8376         # Neither direct hardcoding nor static linking is supported with a
8377         # broken collect2.
8378         hardcode_direct=unsupported
8379       fi
8380       ;;
8381
8382     aix[4-9]*)
8383       if test "$host_cpu" = ia64; then
8384         # On IA64, the linker does run time linking by default, so we don't
8385         # have to do anything special.
8386         aix_use_runtimelinking=no
8387         exp_sym_flag='-Bexport'
8388         no_entry_flag=""
8389       else
8390         # If we're using GNU nm, then we don't want the "-C" option.
8391         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8392         # Also, AIX nm treats weak defined symbols like other global
8393         # defined symbols, whereas GNU nm marks them as "W".
8394         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8395           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'
8396         else
8397           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'
8398         fi
8399         aix_use_runtimelinking=no
8400
8401         # Test if we are trying to use run time linking or normal
8402         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8403         # need to do runtime linking.
8404         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8405           for ld_flag in $LDFLAGS; do
8406           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8407             aix_use_runtimelinking=yes
8408             break
8409           fi
8410           done
8411           ;;
8412         esac
8413
8414         exp_sym_flag='-bexport'
8415         no_entry_flag='-bnoentry'
8416       fi
8417
8418       # When large executables or shared objects are built, AIX ld can
8419       # have problems creating the table of contents.  If linking a library
8420       # or program results in "error TOC overflow" add -mminimal-toc to
8421       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8422       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8423
8424       archive_cmds=''
8425       hardcode_direct=yes
8426       hardcode_direct_absolute=yes
8427       hardcode_libdir_separator=':'
8428       link_all_deplibs=yes
8429       file_list_spec='${wl}-f,'
8430
8431       if test "$GCC" = yes; then
8432         case $host_os in aix4.[012]|aix4.[012].*)
8433         # We only want to do this on AIX 4.2 and lower, the check
8434         # below for broken collect2 doesn't work under 4.3+
8435           collect2name=`${CC} -print-prog-name=collect2`
8436           if test -f "$collect2name" &&
8437            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8438           then
8439           # We have reworked collect2
8440           :
8441           else
8442           # We have old collect2
8443           hardcode_direct=unsupported
8444           # It fails to find uninstalled libraries when the uninstalled
8445           # path is not listed in the libpath.  Setting hardcode_minus_L
8446           # to unsupported forces relinking
8447           hardcode_minus_L=yes
8448           hardcode_libdir_flag_spec='-L$libdir'
8449           hardcode_libdir_separator=
8450           fi
8451           ;;
8452         esac
8453         shared_flag='-shared'
8454         if test "$aix_use_runtimelinking" = yes; then
8455           shared_flag="$shared_flag "'${wl}-G'
8456         fi
8457       else
8458         # not using gcc
8459         if test "$host_cpu" = ia64; then
8460         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8461         # chokes on -Wl,-G. The following line is correct:
8462           shared_flag='-G'
8463         else
8464           if test "$aix_use_runtimelinking" = yes; then
8465             shared_flag='${wl}-G'
8466           else
8467             shared_flag='${wl}-bM:SRE'
8468           fi
8469         fi
8470       fi
8471
8472       export_dynamic_flag_spec='${wl}-bexpall'
8473       # It seems that -bexpall does not export symbols beginning with
8474       # underscore (_), so it is better to generate a list of symbols to export.
8475       always_export_symbols=yes
8476       if test "$aix_use_runtimelinking" = yes; then
8477         # Warning - without using the other runtime loading flags (-brtl),
8478         # -berok will link without error, but may produce a broken library.
8479         allow_undefined_flag='-berok'
8480         # Determine the default libpath from the value encoded in an
8481         # empty executable.
8482         if test x$gcc_no_link = xyes; then
8483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8484 fi
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h.  */
8487
8488 int
8489 main ()
8490 {
8491
8492   ;
8493   return 0;
8494 }
8495 _ACEOF
8496 if ac_fn_c_try_link "$LINENO"; then :
8497
8498 lt_aix_libpath_sed='
8499     /Import File Strings/,/^$/ {
8500         /^0/ {
8501             s/^0  *\(.*\)$/\1/
8502             p
8503         }
8504     }'
8505 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8506 # Check for a 64-bit object if we didn't find anything.
8507 if test -z "$aix_libpath"; then
8508   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8509 fi
8510 fi
8511 rm -f core conftest.err conftest.$ac_objext \
8512     conftest$ac_exeext conftest.$ac_ext
8513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8514
8515         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8516         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"
8517       else
8518         if test "$host_cpu" = ia64; then
8519           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8520           allow_undefined_flag="-z nodefs"
8521           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"
8522         else
8523          # Determine the default libpath from the value encoded in an
8524          # empty executable.
8525          if test x$gcc_no_link = xyes; then
8526   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8527 fi
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h.  */
8530
8531 int
8532 main ()
8533 {
8534
8535   ;
8536   return 0;
8537 }
8538 _ACEOF
8539 if ac_fn_c_try_link "$LINENO"; then :
8540
8541 lt_aix_libpath_sed='
8542     /Import File Strings/,/^$/ {
8543         /^0/ {
8544             s/^0  *\(.*\)$/\1/
8545             p
8546         }
8547     }'
8548 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8549 # Check for a 64-bit object if we didn't find anything.
8550 if test -z "$aix_libpath"; then
8551   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8552 fi
8553 fi
8554 rm -f core conftest.err conftest.$ac_objext \
8555     conftest$ac_exeext conftest.$ac_ext
8556 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8557
8558          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8559           # Warning - without using the other run time loading flags,
8560           # -berok will link without error, but may produce a broken library.
8561           no_undefined_flag=' ${wl}-bernotok'
8562           allow_undefined_flag=' ${wl}-berok'
8563           if test "$with_gnu_ld" = yes; then
8564             # We only use this code for GNU lds that support --whole-archive.
8565             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8566           else
8567             # Exported symbols can be pulled into shared objects from archives
8568             whole_archive_flag_spec='$convenience'
8569           fi
8570           archive_cmds_need_lc=yes
8571           # This is similar to how AIX traditionally builds its shared libraries.
8572           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'
8573         fi
8574       fi
8575       ;;
8576
8577     amigaos*)
8578       case $host_cpu in
8579       powerpc)
8580             # see comment about AmigaOS4 .so support
8581             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8582             archive_expsym_cmds=''
8583         ;;
8584       m68k)
8585             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)'
8586             hardcode_libdir_flag_spec='-L$libdir'
8587             hardcode_minus_L=yes
8588         ;;
8589       esac
8590       ;;
8591
8592     bsdi[45]*)
8593       export_dynamic_flag_spec=-rdynamic
8594       ;;
8595
8596     cygwin* | mingw* | pw32* | cegcc*)
8597       # When not using gcc, we currently assume that we are using
8598       # Microsoft Visual C++.
8599       # hardcode_libdir_flag_spec is actually meaningless, as there is
8600       # no search path for DLLs.
8601       hardcode_libdir_flag_spec=' '
8602       allow_undefined_flag=unsupported
8603       # Tell ltmain to make .lib files, not .a files.
8604       libext=lib
8605       # Tell ltmain to make .dll files, not .so files.
8606       shrext_cmds=".dll"
8607       # FIXME: Setting linknames here is a bad hack.
8608       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8609       # The linker will automatically build a .lib file if we build a DLL.
8610       old_archive_from_new_cmds='true'
8611       # FIXME: Should let the user specify the lib program.
8612       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8613       fix_srcfile_path='`cygpath -w "$srcfile"`'
8614       enable_shared_with_static_runtimes=yes
8615       ;;
8616
8617     darwin* | rhapsody*)
8618
8619
8620   archive_cmds_need_lc=no
8621   hardcode_direct=no
8622   hardcode_automatic=yes
8623   hardcode_shlibpath_var=unsupported
8624   if test "$lt_cv_ld_force_load" = "yes"; then
8625     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\"`'
8626   else
8627     whole_archive_flag_spec=''
8628   fi
8629   link_all_deplibs=yes
8630   allow_undefined_flag="$_lt_dar_allow_undefined"
8631   case $cc_basename in
8632      ifort*) _lt_dar_can_shared=yes ;;
8633      *) _lt_dar_can_shared=$GCC ;;
8634   esac
8635   if test "$_lt_dar_can_shared" = "yes"; then
8636     output_verbose_link_cmd=func_echo_all
8637     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8638     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8639     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}"
8640     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}"
8641
8642   else
8643   ld_shlibs=no
8644   fi
8645
8646       ;;
8647
8648     dgux*)
8649       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8650       hardcode_libdir_flag_spec='-L$libdir'
8651       hardcode_shlibpath_var=no
8652       ;;
8653
8654     freebsd1*)
8655       ld_shlibs=no
8656       ;;
8657
8658     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8659     # support.  Future versions do this automatically, but an explicit c++rt0.o
8660     # does not break anything, and helps significantly (at the cost of a little
8661     # extra space).
8662     freebsd2.2*)
8663       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8664       hardcode_libdir_flag_spec='-R$libdir'
8665       hardcode_direct=yes
8666       hardcode_shlibpath_var=no
8667       ;;
8668
8669     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8670     freebsd2*)
8671       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8672       hardcode_direct=yes
8673       hardcode_minus_L=yes
8674       hardcode_shlibpath_var=no
8675       ;;
8676
8677     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8678     freebsd* | dragonfly*)
8679       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8680       hardcode_libdir_flag_spec='-R$libdir'
8681       hardcode_direct=yes
8682       hardcode_shlibpath_var=no
8683       ;;
8684
8685     hpux9*)
8686       if test "$GCC" = yes; then
8687         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8688       else
8689         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'
8690       fi
8691       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8692       hardcode_libdir_separator=:
8693       hardcode_direct=yes
8694
8695       # hardcode_minus_L: Not really in the search PATH,
8696       # but as the default location of the library.
8697       hardcode_minus_L=yes
8698       export_dynamic_flag_spec='${wl}-E'
8699       ;;
8700
8701     hpux10*)
8702       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8703         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8704       else
8705         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8706       fi
8707       if test "$with_gnu_ld" = no; then
8708         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8709         hardcode_libdir_flag_spec_ld='+b $libdir'
8710         hardcode_libdir_separator=:
8711         hardcode_direct=yes
8712         hardcode_direct_absolute=yes
8713         export_dynamic_flag_spec='${wl}-E'
8714         # hardcode_minus_L: Not really in the search PATH,
8715         # but as the default location of the library.
8716         hardcode_minus_L=yes
8717       fi
8718       ;;
8719
8720     hpux11*)
8721       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8722         case $host_cpu in
8723         hppa*64*)
8724           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8725           ;;
8726         ia64*)
8727           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8728           ;;
8729         *)
8730           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8731           ;;
8732         esac
8733       else
8734         case $host_cpu in
8735         hppa*64*)
8736           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8737           ;;
8738         ia64*)
8739           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8740           ;;
8741         *)
8742
8743           # Older versions of the 11.00 compiler do not understand -b yet
8744           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8745           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8746 $as_echo_n "checking if $CC understands -b... " >&6; }
8747 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8748   $as_echo_n "(cached) " >&6
8749 else
8750   lt_cv_prog_compiler__b=no
8751    save_LDFLAGS="$LDFLAGS"
8752    LDFLAGS="$LDFLAGS -b"
8753    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8754    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8755      # The linker can only warn and ignore the option if not recognized
8756      # So say no if there are warnings
8757      if test -s conftest.err; then
8758        # Append any errors to the config.log.
8759        cat conftest.err 1>&5
8760        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8761        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8762        if diff conftest.exp conftest.er2 >/dev/null; then
8763          lt_cv_prog_compiler__b=yes
8764        fi
8765      else
8766        lt_cv_prog_compiler__b=yes
8767      fi
8768    fi
8769    $RM -r conftest*
8770    LDFLAGS="$save_LDFLAGS"
8771
8772 fi
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8774 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8775
8776 if test x"$lt_cv_prog_compiler__b" = xyes; then
8777     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8778 else
8779     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8780 fi
8781
8782           ;;
8783         esac
8784       fi
8785       if test "$with_gnu_ld" = no; then
8786         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8787         hardcode_libdir_separator=:
8788
8789         case $host_cpu in
8790         hppa*64*|ia64*)
8791           hardcode_direct=no
8792           hardcode_shlibpath_var=no
8793           ;;
8794         *)
8795           hardcode_direct=yes
8796           hardcode_direct_absolute=yes
8797           export_dynamic_flag_spec='${wl}-E'
8798
8799           # hardcode_minus_L: Not really in the search PATH,
8800           # but as the default location of the library.
8801           hardcode_minus_L=yes
8802           ;;
8803         esac
8804       fi
8805       ;;
8806
8807     irix5* | irix6* | nonstopux*)
8808       if test "$GCC" = yes; then
8809         archive_cmds='$CC -shared $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'
8810         # Try to use the -exported_symbol ld option, if it does not
8811         # work, assume that -exports_file does not work either and
8812         # implicitly export all symbols.
8813         save_LDFLAGS="$LDFLAGS"
8814         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8815         if test x$gcc_no_link = xyes; then
8816   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8817 fi
8818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8819 /* end confdefs.h.  */
8820 int foo(void) {}
8821 _ACEOF
8822 if ac_fn_c_try_link "$LINENO"; then :
8823   archive_expsym_cmds='$CC -shared $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'
8824
8825 fi
8826 rm -f core conftest.err conftest.$ac_objext \
8827     conftest$ac_exeext conftest.$ac_ext
8828         LDFLAGS="$save_LDFLAGS"
8829       else
8830         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'
8831         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'
8832       fi
8833       archive_cmds_need_lc='no'
8834       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8835       hardcode_libdir_separator=:
8836       inherit_rpath=yes
8837       link_all_deplibs=yes
8838       ;;
8839
8840     netbsd*)
8841       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8842         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8843       else
8844         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8845       fi
8846       hardcode_libdir_flag_spec='-R$libdir'
8847       hardcode_direct=yes
8848       hardcode_shlibpath_var=no
8849       ;;
8850
8851     newsos6)
8852       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8853       hardcode_direct=yes
8854       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8855       hardcode_libdir_separator=:
8856       hardcode_shlibpath_var=no
8857       ;;
8858
8859     *nto* | *qnx*)
8860       ;;
8861
8862     openbsd*)
8863       if test -f /usr/libexec/ld.so; then
8864         hardcode_direct=yes
8865         hardcode_shlibpath_var=no
8866         hardcode_direct_absolute=yes
8867         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8868           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8869           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8870           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8871           export_dynamic_flag_spec='${wl}-E'
8872         else
8873           case $host_os in
8874            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8875              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8876              hardcode_libdir_flag_spec='-R$libdir'
8877              ;;
8878            *)
8879              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8880              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8881              ;;
8882           esac
8883         fi
8884       else
8885         ld_shlibs=no
8886       fi
8887       ;;
8888
8889     os2*)
8890       hardcode_libdir_flag_spec='-L$libdir'
8891       hardcode_minus_L=yes
8892       allow_undefined_flag=unsupported
8893       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'
8894       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8895       ;;
8896
8897     osf3*)
8898       if test "$GCC" = yes; then
8899         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8900         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'
8901       else
8902         allow_undefined_flag=' -expect_unresolved \*'
8903         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'
8904       fi
8905       archive_cmds_need_lc='no'
8906       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8907       hardcode_libdir_separator=:
8908       ;;
8909
8910     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8911       if test "$GCC" = yes; then
8912         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8913         archive_cmds='$CC -shared${allow_undefined_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'
8914         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8915       else
8916         allow_undefined_flag=' -expect_unresolved \*'
8917         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'
8918         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~
8919         $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'
8920
8921         # Both c and cxx compiler support -rpath directly
8922         hardcode_libdir_flag_spec='-rpath $libdir'
8923       fi
8924       archive_cmds_need_lc='no'
8925       hardcode_libdir_separator=:
8926       ;;
8927
8928     solaris*)
8929       no_undefined_flag=' -z defs'
8930       if test "$GCC" = yes; then
8931         wlarc='${wl}'
8932         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8933         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8934           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8935       else
8936         case `$CC -V 2>&1` in
8937         *"Compilers 5.0"*)
8938           wlarc=''
8939           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8940           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8941           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8942           ;;
8943         *)
8944           wlarc='${wl}'
8945           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8946           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8947           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8948           ;;
8949         esac
8950       fi
8951       hardcode_libdir_flag_spec='-R$libdir'
8952       hardcode_shlibpath_var=no
8953       case $host_os in
8954       solaris2.[0-5] | solaris2.[0-5].*) ;;
8955       *)
8956         # The compiler driver will combine and reorder linker options,
8957         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8958         # but is careful enough not to reorder.
8959         # Supported since Solaris 2.6 (maybe 2.5.1?)
8960         if test "$GCC" = yes; then
8961           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8962         else
8963           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8964         fi
8965         ;;
8966       esac
8967       link_all_deplibs=yes
8968       ;;
8969
8970     sunos4*)
8971       if test "x$host_vendor" = xsequent; then
8972         # Use $CC to link under sequent, because it throws in some extra .o
8973         # files that make .init and .fini sections work.
8974         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8975       else
8976         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8977       fi
8978       hardcode_libdir_flag_spec='-L$libdir'
8979       hardcode_direct=yes
8980       hardcode_minus_L=yes
8981       hardcode_shlibpath_var=no
8982       ;;
8983
8984     sysv4)
8985       case $host_vendor in
8986         sni)
8987           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8988           hardcode_direct=yes # is this really true???
8989         ;;
8990         siemens)
8991           ## LD is ld it makes a PLAMLIB
8992           ## CC just makes a GrossModule.
8993           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8994           reload_cmds='$CC -r -o $output$reload_objs'
8995           hardcode_direct=no
8996         ;;
8997         motorola)
8998           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8999           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9000         ;;
9001       esac
9002       runpath_var='LD_RUN_PATH'
9003       hardcode_shlibpath_var=no
9004       ;;
9005
9006     sysv4.3*)
9007       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9008       hardcode_shlibpath_var=no
9009       export_dynamic_flag_spec='-Bexport'
9010       ;;
9011
9012     sysv4*MP*)
9013       if test -d /usr/nec; then
9014         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9015         hardcode_shlibpath_var=no
9016         runpath_var=LD_RUN_PATH
9017         hardcode_runpath_var=yes
9018         ld_shlibs=yes
9019       fi
9020       ;;
9021
9022     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9023       no_undefined_flag='${wl}-z,text'
9024       archive_cmds_need_lc=no
9025       hardcode_shlibpath_var=no
9026       runpath_var='LD_RUN_PATH'
9027
9028       if test "$GCC" = yes; then
9029         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9030         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9031       else
9032         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9033         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9034       fi
9035       ;;
9036
9037     sysv5* | sco3.2v5* | sco5v6*)
9038       # Note: We can NOT use -z defs as we might desire, because we do not
9039       # link with -lc, and that would cause any symbols used from libc to
9040       # always be unresolved, which means just about no library would
9041       # ever link correctly.  If we're not using GNU ld we use -z text
9042       # though, which does catch some bad symbols but isn't as heavy-handed
9043       # as -z defs.
9044       no_undefined_flag='${wl}-z,text'
9045       allow_undefined_flag='${wl}-z,nodefs'
9046       archive_cmds_need_lc=no
9047       hardcode_shlibpath_var=no
9048       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9049       hardcode_libdir_separator=':'
9050       link_all_deplibs=yes
9051       export_dynamic_flag_spec='${wl}-Bexport'
9052       runpath_var='LD_RUN_PATH'
9053
9054       if test "$GCC" = yes; then
9055         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9056         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9057       else
9058         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9059         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9060       fi
9061       ;;
9062
9063     uts4*)
9064       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9065       hardcode_libdir_flag_spec='-L$libdir'
9066       hardcode_shlibpath_var=no
9067       ;;
9068
9069     *)
9070       ld_shlibs=no
9071       ;;
9072     esac
9073
9074     if test x$host_vendor = xsni; then
9075       case $host in
9076       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9077         export_dynamic_flag_spec='${wl}-Blargedynsym'
9078         ;;
9079       esac
9080     fi
9081   fi
9082
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9084 $as_echo "$ld_shlibs" >&6; }
9085 test "$ld_shlibs" = no && can_build_shared=no
9086
9087 with_gnu_ld=$with_gnu_ld
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103 #
9104 # Do we need to explicitly link libc?
9105 #
9106 case "x$archive_cmds_need_lc" in
9107 x|xyes)
9108   # Assume -lc should be added
9109   archive_cmds_need_lc=yes
9110
9111   if test "$enable_shared" = yes && test "$GCC" = yes; then
9112     case $archive_cmds in
9113     *'~'*)
9114       # FIXME: we may have to deal with multi-command sequences.
9115       ;;
9116     '$CC '*)
9117       # Test whether the compiler implicitly links with -lc since on some
9118       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9119       # to ld, don't add -lc before -lgcc.
9120       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9121 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9122 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9123   $as_echo_n "(cached) " >&6
9124 else
9125   $RM conftest*
9126         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9127
9128         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9129   (eval $ac_compile) 2>&5
9130   ac_status=$?
9131   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9132   test $ac_status = 0; } 2>conftest.err; then
9133           soname=conftest
9134           lib=conftest
9135           libobjs=conftest.$ac_objext
9136           deplibs=
9137           wl=$lt_prog_compiler_wl
9138           pic_flag=$lt_prog_compiler_pic
9139           compiler_flags=-v
9140           linker_flags=-v
9141           verstring=
9142           output_objdir=.
9143           libname=conftest
9144           lt_save_allow_undefined_flag=$allow_undefined_flag
9145           allow_undefined_flag=
9146           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9147   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9148   ac_status=$?
9149   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9150   test $ac_status = 0; }
9151           then
9152             lt_cv_archive_cmds_need_lc=no
9153           else
9154             lt_cv_archive_cmds_need_lc=yes
9155           fi
9156           allow_undefined_flag=$lt_save_allow_undefined_flag
9157         else
9158           cat conftest.err 1>&5
9159         fi
9160         $RM conftest*
9161
9162 fi
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9164 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9165       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9166       ;;
9167     esac
9168   fi
9169   ;;
9170 esac
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9329 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9330
9331 if test "$GCC" = yes; then
9332   case $host_os in
9333     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9334     *) lt_awk_arg="/^libraries:/" ;;
9335   esac
9336   case $host_os in
9337     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9338     *) lt_sed_strip_eq="s,=/,/,g" ;;
9339   esac
9340   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9341   case $lt_search_path_spec in
9342   *\;*)
9343     # if the path contains ";" then we assume it to be the separator
9344     # otherwise default to the standard path separator (i.e. ":") - it is
9345     # assumed that no part of a normal pathname contains ";" but that should
9346     # okay in the real world where ";" in dirpaths is itself problematic.
9347     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9348     ;;
9349   *)
9350     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9351     ;;
9352   esac
9353   # Ok, now we have the path, separated by spaces, we can step through it
9354   # and add multilib dir if necessary.
9355   lt_tmp_lt_search_path_spec=
9356   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9357   for lt_sys_path in $lt_search_path_spec; do
9358     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9359       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9360     else
9361       test -d "$lt_sys_path" && \
9362         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9363     fi
9364   done
9365   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9366 BEGIN {RS=" "; FS="/|\n";} {
9367   lt_foo="";
9368   lt_count=0;
9369   for (lt_i = NF; lt_i > 0; lt_i--) {
9370     if ($lt_i != "" && $lt_i != ".") {
9371       if ($lt_i == "..") {
9372         lt_count++;
9373       } else {
9374         if (lt_count == 0) {
9375           lt_foo="/" $lt_i lt_foo;
9376         } else {
9377           lt_count--;
9378         }
9379       }
9380     }
9381   }
9382   if (lt_foo != "") { lt_freq[lt_foo]++; }
9383   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9384 }'`
9385   # AWK program above erroneously prepends '/' to C:/dos/paths
9386   # for these hosts.
9387   case $host_os in
9388     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9389       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9390   esac
9391   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9392 else
9393   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9394 fi
9395 library_names_spec=
9396 libname_spec='lib$name'
9397 soname_spec=
9398 shrext_cmds=".so"
9399 postinstall_cmds=
9400 postuninstall_cmds=
9401 finish_cmds=
9402 finish_eval=
9403 shlibpath_var=
9404 shlibpath_overrides_runpath=unknown
9405 version_type=none
9406 dynamic_linker="$host_os ld.so"
9407 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9408 need_lib_prefix=unknown
9409 hardcode_into_libs=no
9410
9411 # when you set need_version to no, make sure it does not cause -set_version
9412 # flags to be left without arguments
9413 need_version=unknown
9414
9415 case $host_os in
9416 aix3*)
9417   version_type=linux
9418   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9419   shlibpath_var=LIBPATH
9420
9421   # AIX 3 has no versioning support, so we append a major version to the name.
9422   soname_spec='${libname}${release}${shared_ext}$major'
9423   ;;
9424
9425 aix[4-9]*)
9426   version_type=linux
9427   need_lib_prefix=no
9428   need_version=no
9429   hardcode_into_libs=yes
9430   if test "$host_cpu" = ia64; then
9431     # AIX 5 supports IA64
9432     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9433     shlibpath_var=LD_LIBRARY_PATH
9434   else
9435     # With GCC up to 2.95.x, collect2 would create an import file
9436     # for dependence libraries.  The import file would start with
9437     # the line `#! .'.  This would cause the generated library to
9438     # depend on `.', always an invalid library.  This was fixed in
9439     # development snapshots of GCC prior to 3.0.
9440     case $host_os in
9441       aix4 | aix4.[01] | aix4.[01].*)
9442       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9443            echo ' yes '
9444            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9445         :
9446       else
9447         can_build_shared=no
9448       fi
9449       ;;
9450     esac
9451     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9452     # soname into executable. Probably we can add versioning support to
9453     # collect2, so additional links can be useful in future.
9454     if test "$aix_use_runtimelinking" = yes; then
9455       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9456       # instead of lib<name>.a to let people know that these are not
9457       # typical AIX shared libraries.
9458       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9459     else
9460       # We preserve .a as extension for shared libraries through AIX4.2
9461       # and later when we are not doing run time linking.
9462       library_names_spec='${libname}${release}.a $libname.a'
9463       soname_spec='${libname}${release}${shared_ext}$major'
9464     fi
9465     shlibpath_var=LIBPATH
9466   fi
9467   ;;
9468
9469 amigaos*)
9470   case $host_cpu in
9471   powerpc)
9472     # Since July 2007 AmigaOS4 officially supports .so libraries.
9473     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9474     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9475     ;;
9476   m68k)
9477     library_names_spec='$libname.ixlibrary $libname.a'
9478     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9479     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'
9480     ;;
9481   esac
9482   ;;
9483
9484 beos*)
9485   library_names_spec='${libname}${shared_ext}'
9486   dynamic_linker="$host_os ld.so"
9487   shlibpath_var=LIBRARY_PATH
9488   ;;
9489
9490 bsdi[45]*)
9491   version_type=linux
9492   need_version=no
9493   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9494   soname_spec='${libname}${release}${shared_ext}$major'
9495   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9496   shlibpath_var=LD_LIBRARY_PATH
9497   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9498   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9499   # the default ld.so.conf also contains /usr/contrib/lib and
9500   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9501   # libtool to hard-code these into programs
9502   ;;
9503
9504 cygwin* | mingw* | pw32* | cegcc*)
9505   version_type=windows
9506   shrext_cmds=".dll"
9507   need_version=no
9508   need_lib_prefix=no
9509
9510   case $GCC,$host_os in
9511   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9512     library_names_spec='$libname.dll.a'
9513     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9514     postinstall_cmds='base_file=`basename \${file}`~
9515       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9516       dldir=$destdir/`dirname \$dlpath`~
9517       test -d \$dldir || mkdir -p \$dldir~
9518       $install_prog $dir/$dlname \$dldir/$dlname~
9519       chmod a+x \$dldir/$dlname~
9520       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9521         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9522       fi'
9523     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9524       dlpath=$dir/\$dldll~
9525        $RM \$dlpath'
9526     shlibpath_overrides_runpath=yes
9527
9528     case $host_os in
9529     cygwin*)
9530       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9531       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9532
9533       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9534       ;;
9535     mingw* | cegcc*)
9536       # MinGW DLLs use traditional 'lib' prefix
9537       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9538       ;;
9539     pw32*)
9540       # pw32 DLLs use 'pw' prefix rather than 'lib'
9541       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9542       ;;
9543     esac
9544     ;;
9545
9546   *)
9547     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9548     ;;
9549   esac
9550   dynamic_linker='Win32 ld.exe'
9551   # FIXME: first we should search . and the directory the executable is in
9552   shlibpath_var=PATH
9553   ;;
9554
9555 darwin* | rhapsody*)
9556   dynamic_linker="$host_os dyld"
9557   version_type=darwin
9558   need_lib_prefix=no
9559   need_version=no
9560   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9561   soname_spec='${libname}${release}${major}$shared_ext'
9562   shlibpath_overrides_runpath=yes
9563   shlibpath_var=DYLD_LIBRARY_PATH
9564   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9565
9566   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9567   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9568   ;;
9569
9570 dgux*)
9571   version_type=linux
9572   need_lib_prefix=no
9573   need_version=no
9574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9575   soname_spec='${libname}${release}${shared_ext}$major'
9576   shlibpath_var=LD_LIBRARY_PATH
9577   ;;
9578
9579 freebsd1*)
9580   dynamic_linker=no
9581   ;;
9582
9583 freebsd* | dragonfly*)
9584   # DragonFly does not have aout.  When/if they implement a new
9585   # versioning mechanism, adjust this.
9586   if test -x /usr/bin/objformat; then
9587     objformat=`/usr/bin/objformat`
9588   else
9589     case $host_os in
9590     freebsd[123]*) objformat=aout ;;
9591     *) objformat=elf ;;
9592     esac
9593   fi
9594   version_type=freebsd-$objformat
9595   case $version_type in
9596     freebsd-elf*)
9597       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9598       need_version=no
9599       need_lib_prefix=no
9600       ;;
9601     freebsd-*)
9602       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9603       need_version=yes
9604       ;;
9605   esac
9606   shlibpath_var=LD_LIBRARY_PATH
9607   case $host_os in
9608   freebsd2*)
9609     shlibpath_overrides_runpath=yes
9610     ;;
9611   freebsd3.[01]* | freebsdelf3.[01]*)
9612     shlibpath_overrides_runpath=yes
9613     hardcode_into_libs=yes
9614     ;;
9615   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9616   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9617     shlibpath_overrides_runpath=no
9618     hardcode_into_libs=yes
9619     ;;
9620   *) # from 4.6 on, and DragonFly
9621     shlibpath_overrides_runpath=yes
9622     hardcode_into_libs=yes
9623     ;;
9624   esac
9625   ;;
9626
9627 gnu*)
9628   version_type=linux
9629   need_lib_prefix=no
9630   need_version=no
9631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9632   soname_spec='${libname}${release}${shared_ext}$major'
9633   shlibpath_var=LD_LIBRARY_PATH
9634   hardcode_into_libs=yes
9635   ;;
9636
9637 haiku*)
9638   version_type=linux
9639   need_lib_prefix=no
9640   need_version=no
9641   dynamic_linker="$host_os runtime_loader"
9642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9643   soname_spec='${libname}${release}${shared_ext}$major'
9644   shlibpath_var=LIBRARY_PATH
9645   shlibpath_overrides_runpath=yes
9646   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9647   hardcode_into_libs=yes
9648   ;;
9649
9650 hpux9* | hpux10* | hpux11*)
9651   # Give a soname corresponding to the major version so that dld.sl refuses to
9652   # link against other versions.
9653   version_type=sunos
9654   need_lib_prefix=no
9655   need_version=no
9656   case $host_cpu in
9657   ia64*)
9658     shrext_cmds='.so'
9659     hardcode_into_libs=yes
9660     dynamic_linker="$host_os dld.so"
9661     shlibpath_var=LD_LIBRARY_PATH
9662     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9663     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9664     soname_spec='${libname}${release}${shared_ext}$major'
9665     if test "X$HPUX_IA64_MODE" = X32; then
9666       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9667     else
9668       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9669     fi
9670     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9671     ;;
9672   hppa*64*)
9673     shrext_cmds='.sl'
9674     hardcode_into_libs=yes
9675     dynamic_linker="$host_os dld.sl"
9676     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9677     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9678     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9679     soname_spec='${libname}${release}${shared_ext}$major'
9680     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9681     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9682     ;;
9683   *)
9684     shrext_cmds='.sl'
9685     dynamic_linker="$host_os dld.sl"
9686     shlibpath_var=SHLIB_PATH
9687     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9688     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9689     soname_spec='${libname}${release}${shared_ext}$major'
9690     ;;
9691   esac
9692   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9693   postinstall_cmds='chmod 555 $lib'
9694   # or fails outright, so override atomically:
9695   install_override_mode=555
9696   ;;
9697
9698 interix[3-9]*)
9699   version_type=linux
9700   need_lib_prefix=no
9701   need_version=no
9702   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9703   soname_spec='${libname}${release}${shared_ext}$major'
9704   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9705   shlibpath_var=LD_LIBRARY_PATH
9706   shlibpath_overrides_runpath=no
9707   hardcode_into_libs=yes
9708   ;;
9709
9710 irix5* | irix6* | nonstopux*)
9711   case $host_os in
9712     nonstopux*) version_type=nonstopux ;;
9713     *)
9714         if test "$lt_cv_prog_gnu_ld" = yes; then
9715                 version_type=linux
9716         else
9717                 version_type=irix
9718         fi ;;
9719   esac
9720   need_lib_prefix=no
9721   need_version=no
9722   soname_spec='${libname}${release}${shared_ext}$major'
9723   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9724   case $host_os in
9725   irix5* | nonstopux*)
9726     libsuff= shlibsuff=
9727     ;;
9728   *)
9729     case $LD in # libtool.m4 will add one of these switches to LD
9730     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9731       libsuff= shlibsuff= libmagic=32-bit;;
9732     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9733       libsuff=32 shlibsuff=N32 libmagic=N32;;
9734     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9735       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9736     *) libsuff= shlibsuff= libmagic=never-match;;
9737     esac
9738     ;;
9739   esac
9740   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9741   shlibpath_overrides_runpath=no
9742   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9743   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9744   hardcode_into_libs=yes
9745   ;;
9746
9747 # No shared lib support for Linux oldld, aout, or coff.
9748 linux*oldld* | linux*aout* | linux*coff*)
9749   dynamic_linker=no
9750   ;;
9751
9752 # This must be Linux ELF.
9753 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9754   version_type=linux
9755   need_lib_prefix=no
9756   need_version=no
9757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9758   soname_spec='${libname}${release}${shared_ext}$major'
9759   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9760   shlibpath_var=LD_LIBRARY_PATH
9761   shlibpath_overrides_runpath=no
9762
9763   # Some binutils ld are patched to set DT_RUNPATH
9764   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9765   $as_echo_n "(cached) " >&6
9766 else
9767   lt_cv_shlibpath_overrides_runpath=no
9768     save_LDFLAGS=$LDFLAGS
9769     save_libdir=$libdir
9770     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9771          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9772     if test x$gcc_no_link = xyes; then
9773   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9774 fi
9775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9776 /* end confdefs.h.  */
9777
9778 int
9779 main ()
9780 {
9781
9782   ;
9783   return 0;
9784 }
9785 _ACEOF
9786 if ac_fn_c_try_link "$LINENO"; then :
9787   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9788   lt_cv_shlibpath_overrides_runpath=yes
9789 fi
9790 fi
9791 rm -f core conftest.err conftest.$ac_objext \
9792     conftest$ac_exeext conftest.$ac_ext
9793     LDFLAGS=$save_LDFLAGS
9794     libdir=$save_libdir
9795
9796 fi
9797
9798   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9799
9800   # This implies no fast_install, which is unacceptable.
9801   # Some rework will be needed to allow for fast_install
9802   # before this can be enabled.
9803   hardcode_into_libs=yes
9804
9805   # Append ld.so.conf contents to the search path
9806   if test -f /etc/ld.so.conf; then
9807     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' ' '`
9808     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9809   fi
9810
9811   # We used to test for /lib/ld.so.1 and disable shared libraries on
9812   # powerpc, because MkLinux only supported shared libraries with the
9813   # GNU dynamic linker.  Since this was broken with cross compilers,
9814   # most powerpc-linux boxes support dynamic linking these days and
9815   # people can always --disable-shared, the test was removed, and we
9816   # assume the GNU/Linux dynamic linker is in use.
9817   dynamic_linker='GNU/Linux ld.so'
9818   ;;
9819
9820 netbsd*)
9821   version_type=sunos
9822   need_lib_prefix=no
9823   need_version=no
9824   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9825     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9826     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9827     dynamic_linker='NetBSD (a.out) ld.so'
9828   else
9829     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9830     soname_spec='${libname}${release}${shared_ext}$major'
9831     dynamic_linker='NetBSD ld.elf_so'
9832   fi
9833   shlibpath_var=LD_LIBRARY_PATH
9834   shlibpath_overrides_runpath=yes
9835   hardcode_into_libs=yes
9836   ;;
9837
9838 newsos6)
9839   version_type=linux
9840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9841   shlibpath_var=LD_LIBRARY_PATH
9842   shlibpath_overrides_runpath=yes
9843   ;;
9844
9845 *nto* | *qnx*)
9846   version_type=qnx
9847   need_lib_prefix=no
9848   need_version=no
9849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9850   soname_spec='${libname}${release}${shared_ext}$major'
9851   shlibpath_var=LD_LIBRARY_PATH
9852   shlibpath_overrides_runpath=no
9853   hardcode_into_libs=yes
9854   dynamic_linker='ldqnx.so'
9855   ;;
9856
9857 openbsd*)
9858   version_type=sunos
9859   sys_lib_dlsearch_path_spec="/usr/lib"
9860   need_lib_prefix=no
9861   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9862   case $host_os in
9863     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9864     *)                          need_version=no  ;;
9865   esac
9866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9867   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9868   shlibpath_var=LD_LIBRARY_PATH
9869   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9870     case $host_os in
9871       openbsd2.[89] | openbsd2.[89].*)
9872         shlibpath_overrides_runpath=no
9873         ;;
9874       *)
9875         shlibpath_overrides_runpath=yes
9876         ;;
9877       esac
9878   else
9879     shlibpath_overrides_runpath=yes
9880   fi
9881   ;;
9882
9883 os2*)
9884   libname_spec='$name'
9885   shrext_cmds=".dll"
9886   need_lib_prefix=no
9887   library_names_spec='$libname${shared_ext} $libname.a'
9888   dynamic_linker='OS/2 ld.exe'
9889   shlibpath_var=LIBPATH
9890   ;;
9891
9892 osf3* | osf4* | osf5*)
9893   version_type=osf
9894   need_lib_prefix=no
9895   need_version=no
9896   soname_spec='${libname}${release}${shared_ext}$major'
9897   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9898   shlibpath_var=LD_LIBRARY_PATH
9899   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9900   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9901   ;;
9902
9903 rdos*)
9904   dynamic_linker=no
9905   ;;
9906
9907 solaris*)
9908   version_type=linux
9909   need_lib_prefix=no
9910   need_version=no
9911   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9912   soname_spec='${libname}${release}${shared_ext}$major'
9913   shlibpath_var=LD_LIBRARY_PATH
9914   shlibpath_overrides_runpath=yes
9915   hardcode_into_libs=yes
9916   # ldd complains unless libraries are executable
9917   postinstall_cmds='chmod +x $lib'
9918   ;;
9919
9920 sunos4*)
9921   version_type=sunos
9922   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9923   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9924   shlibpath_var=LD_LIBRARY_PATH
9925   shlibpath_overrides_runpath=yes
9926   if test "$with_gnu_ld" = yes; then
9927     need_lib_prefix=no
9928   fi
9929   need_version=yes
9930   ;;
9931
9932 sysv4 | sysv4.3*)
9933   version_type=linux
9934   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9935   soname_spec='${libname}${release}${shared_ext}$major'
9936   shlibpath_var=LD_LIBRARY_PATH
9937   case $host_vendor in
9938     sni)
9939       shlibpath_overrides_runpath=no
9940       need_lib_prefix=no
9941       runpath_var=LD_RUN_PATH
9942       ;;
9943     siemens)
9944       need_lib_prefix=no
9945       ;;
9946     motorola)
9947       need_lib_prefix=no
9948       need_version=no
9949       shlibpath_overrides_runpath=no
9950       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9951       ;;
9952   esac
9953   ;;
9954
9955 sysv4*MP*)
9956   if test -d /usr/nec ;then
9957     version_type=linux
9958     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9959     soname_spec='$libname${shared_ext}.$major'
9960     shlibpath_var=LD_LIBRARY_PATH
9961   fi
9962   ;;
9963
9964 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9965   version_type=freebsd-elf
9966   need_lib_prefix=no
9967   need_version=no
9968   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9969   soname_spec='${libname}${release}${shared_ext}$major'
9970   shlibpath_var=LD_LIBRARY_PATH
9971   shlibpath_overrides_runpath=yes
9972   hardcode_into_libs=yes
9973   if test "$with_gnu_ld" = yes; then
9974     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9975   else
9976     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9977     case $host_os in
9978       sco3.2v5*)
9979         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9980         ;;
9981     esac
9982   fi
9983   sys_lib_dlsearch_path_spec='/usr/lib'
9984   ;;
9985
9986 tpf*)
9987   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9988   version_type=linux
9989   need_lib_prefix=no
9990   need_version=no
9991   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9992   shlibpath_var=LD_LIBRARY_PATH
9993   shlibpath_overrides_runpath=no
9994   hardcode_into_libs=yes
9995   ;;
9996
9997 uts4*)
9998   version_type=linux
9999   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10000   soname_spec='${libname}${release}${shared_ext}$major'
10001   shlibpath_var=LD_LIBRARY_PATH
10002   ;;
10003
10004 *)
10005   dynamic_linker=no
10006   ;;
10007 esac
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10009 $as_echo "$dynamic_linker" >&6; }
10010 test "$dynamic_linker" = no && can_build_shared=no
10011
10012 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10013 if test "$GCC" = yes; then
10014   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10015 fi
10016
10017 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10018   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10019 fi
10020 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10021   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10022 fi
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10116 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10117 hardcode_action=
10118 if test -n "$hardcode_libdir_flag_spec" ||
10119    test -n "$runpath_var" ||
10120    test "X$hardcode_automatic" = "Xyes" ; then
10121
10122   # We can hardcode non-existent directories.
10123   if test "$hardcode_direct" != no &&
10124      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10125      # have to relink, otherwise we might link with an installed library
10126      # when we should be linking with a yet-to-be-installed one
10127      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10128      test "$hardcode_minus_L" != no; then
10129     # Linking always hardcodes the temporary library directory.
10130     hardcode_action=relink
10131   else
10132     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10133     hardcode_action=immediate
10134   fi
10135 else
10136   # We cannot hardcode anything, or else we can only hardcode existing
10137   # directories.
10138   hardcode_action=unsupported
10139 fi
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10141 $as_echo "$hardcode_action" >&6; }
10142
10143 if test "$hardcode_action" = relink ||
10144    test "$inherit_rpath" = yes; then
10145   # Fast installation is not supported
10146   enable_fast_install=no
10147 elif test "$shlibpath_overrides_runpath" = yes ||
10148      test "$enable_shared" = no; then
10149   # Fast installation is not necessary
10150   enable_fast_install=needless
10151 fi
10152
10153
10154
10155
10156
10157
10158   if test "x$enable_dlopen" != xyes; then
10159   enable_dlopen=unknown
10160   enable_dlopen_self=unknown
10161   enable_dlopen_self_static=unknown
10162 else
10163   lt_cv_dlopen=no
10164   lt_cv_dlopen_libs=
10165
10166   case $host_os in
10167   beos*)
10168     lt_cv_dlopen="load_add_on"
10169     lt_cv_dlopen_libs=
10170     lt_cv_dlopen_self=yes
10171     ;;
10172
10173   mingw* | pw32* | cegcc*)
10174     lt_cv_dlopen="LoadLibrary"
10175     lt_cv_dlopen_libs=
10176     ;;
10177
10178   cygwin*)
10179     lt_cv_dlopen="dlopen"
10180     lt_cv_dlopen_libs=
10181     ;;
10182
10183   darwin*)
10184   # if libdl is installed we need to link against it
10185     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10186 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10187 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10188   $as_echo_n "(cached) " >&6
10189 else
10190   ac_check_lib_save_LIBS=$LIBS
10191 LIBS="-ldl  $LIBS"
10192 if test x$gcc_no_link = xyes; then
10193   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10194 fi
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h.  */
10197
10198 /* Override any GCC internal prototype to avoid an error.
10199    Use char because int might match the return type of a GCC
10200    builtin and then its argument prototype would still apply.  */
10201 #ifdef __cplusplus
10202 extern "C"
10203 #endif
10204 char dlopen ();
10205 int
10206 main ()
10207 {
10208 return dlopen ();
10209   ;
10210   return 0;
10211 }
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214   ac_cv_lib_dl_dlopen=yes
10215 else
10216   ac_cv_lib_dl_dlopen=no
10217 fi
10218 rm -f core conftest.err conftest.$ac_objext \
10219     conftest$ac_exeext conftest.$ac_ext
10220 LIBS=$ac_check_lib_save_LIBS
10221 fi
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10223 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10224 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10225   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10226 else
10227
10228     lt_cv_dlopen="dyld"
10229     lt_cv_dlopen_libs=
10230     lt_cv_dlopen_self=yes
10231
10232 fi
10233
10234     ;;
10235
10236   *)
10237     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10238 if test "x$ac_cv_func_shl_load" = x""yes; then :
10239   lt_cv_dlopen="shl_load"
10240 else
10241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10242 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10243 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10244   $as_echo_n "(cached) " >&6
10245 else
10246   ac_check_lib_save_LIBS=$LIBS
10247 LIBS="-ldld  $LIBS"
10248 if test x$gcc_no_link = xyes; then
10249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10250 fi
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h.  */
10253
10254 /* Override any GCC internal prototype to avoid an error.
10255    Use char because int might match the return type of a GCC
10256    builtin and then its argument prototype would still apply.  */
10257 #ifdef __cplusplus
10258 extern "C"
10259 #endif
10260 char shl_load ();
10261 int
10262 main ()
10263 {
10264 return shl_load ();
10265   ;
10266   return 0;
10267 }
10268 _ACEOF
10269 if ac_fn_c_try_link "$LINENO"; then :
10270   ac_cv_lib_dld_shl_load=yes
10271 else
10272   ac_cv_lib_dld_shl_load=no
10273 fi
10274 rm -f core conftest.err conftest.$ac_objext \
10275     conftest$ac_exeext conftest.$ac_ext
10276 LIBS=$ac_check_lib_save_LIBS
10277 fi
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10279 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10280 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10281   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10282 else
10283   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10284 if test "x$ac_cv_func_dlopen" = x""yes; then :
10285   lt_cv_dlopen="dlopen"
10286 else
10287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10289 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10290   $as_echo_n "(cached) " >&6
10291 else
10292   ac_check_lib_save_LIBS=$LIBS
10293 LIBS="-ldl  $LIBS"
10294 if test x$gcc_no_link = xyes; then
10295   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10296 fi
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h.  */
10299
10300 /* Override any GCC internal prototype to avoid an error.
10301    Use char because int might match the return type of a GCC
10302    builtin and then its argument prototype would still apply.  */
10303 #ifdef __cplusplus
10304 extern "C"
10305 #endif
10306 char dlopen ();
10307 int
10308 main ()
10309 {
10310 return dlopen ();
10311   ;
10312   return 0;
10313 }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316   ac_cv_lib_dl_dlopen=yes
10317 else
10318   ac_cv_lib_dl_dlopen=no
10319 fi
10320 rm -f core conftest.err conftest.$ac_objext \
10321     conftest$ac_exeext conftest.$ac_ext
10322 LIBS=$ac_check_lib_save_LIBS
10323 fi
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10325 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10326 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10327   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10328 else
10329   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10330 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10331 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10332   $as_echo_n "(cached) " >&6
10333 else
10334   ac_check_lib_save_LIBS=$LIBS
10335 LIBS="-lsvld  $LIBS"
10336 if test x$gcc_no_link = xyes; then
10337   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10338 fi
10339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10340 /* end confdefs.h.  */
10341
10342 /* Override any GCC internal prototype to avoid an error.
10343    Use char because int might match the return type of a GCC
10344    builtin and then its argument prototype would still apply.  */
10345 #ifdef __cplusplus
10346 extern "C"
10347 #endif
10348 char dlopen ();
10349 int
10350 main ()
10351 {
10352 return dlopen ();
10353   ;
10354   return 0;
10355 }
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"; then :
10358   ac_cv_lib_svld_dlopen=yes
10359 else
10360   ac_cv_lib_svld_dlopen=no
10361 fi
10362 rm -f core conftest.err conftest.$ac_objext \
10363     conftest$ac_exeext conftest.$ac_ext
10364 LIBS=$ac_check_lib_save_LIBS
10365 fi
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10367 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10368 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10369   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10370 else
10371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10372 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10373 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10374   $as_echo_n "(cached) " >&6
10375 else
10376   ac_check_lib_save_LIBS=$LIBS
10377 LIBS="-ldld  $LIBS"
10378 if test x$gcc_no_link = xyes; then
10379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10380 fi
10381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10382 /* end confdefs.h.  */
10383
10384 /* Override any GCC internal prototype to avoid an error.
10385    Use char because int might match the return type of a GCC
10386    builtin and then its argument prototype would still apply.  */
10387 #ifdef __cplusplus
10388 extern "C"
10389 #endif
10390 char dld_link ();
10391 int
10392 main ()
10393 {
10394 return dld_link ();
10395   ;
10396   return 0;
10397 }
10398 _ACEOF
10399 if ac_fn_c_try_link "$LINENO"; then :
10400   ac_cv_lib_dld_dld_link=yes
10401 else
10402   ac_cv_lib_dld_dld_link=no
10403 fi
10404 rm -f core conftest.err conftest.$ac_objext \
10405     conftest$ac_exeext conftest.$ac_ext
10406 LIBS=$ac_check_lib_save_LIBS
10407 fi
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10409 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10410 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10411   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10412 fi
10413
10414
10415 fi
10416
10417
10418 fi
10419
10420
10421 fi
10422
10423
10424 fi
10425
10426
10427 fi
10428
10429     ;;
10430   esac
10431
10432   if test "x$lt_cv_dlopen" != xno; then
10433     enable_dlopen=yes
10434   else
10435     enable_dlopen=no
10436   fi
10437
10438   case $lt_cv_dlopen in
10439   dlopen)
10440     save_CPPFLAGS="$CPPFLAGS"
10441     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10442
10443     save_LDFLAGS="$LDFLAGS"
10444     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10445
10446     save_LIBS="$LIBS"
10447     LIBS="$lt_cv_dlopen_libs $LIBS"
10448
10449     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10450 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10451 if test "${lt_cv_dlopen_self+set}" = set; then :
10452   $as_echo_n "(cached) " >&6
10453 else
10454           if test "$cross_compiling" = yes; then :
10455   lt_cv_dlopen_self=cross
10456 else
10457   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10458   lt_status=$lt_dlunknown
10459   cat > conftest.$ac_ext <<_LT_EOF
10460 #line 10460 "configure"
10461 #include "confdefs.h"
10462
10463 #if HAVE_DLFCN_H
10464 #include <dlfcn.h>
10465 #endif
10466
10467 #include <stdio.h>
10468
10469 #ifdef RTLD_GLOBAL
10470 #  define LT_DLGLOBAL           RTLD_GLOBAL
10471 #else
10472 #  ifdef DL_GLOBAL
10473 #    define LT_DLGLOBAL         DL_GLOBAL
10474 #  else
10475 #    define LT_DLGLOBAL         0
10476 #  endif
10477 #endif
10478
10479 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10480    find out it does not work in some platform. */
10481 #ifndef LT_DLLAZY_OR_NOW
10482 #  ifdef RTLD_LAZY
10483 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10484 #  else
10485 #    ifdef DL_LAZY
10486 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10487 #    else
10488 #      ifdef RTLD_NOW
10489 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10490 #      else
10491 #        ifdef DL_NOW
10492 #          define LT_DLLAZY_OR_NOW      DL_NOW
10493 #        else
10494 #          define LT_DLLAZY_OR_NOW      0
10495 #        endif
10496 #      endif
10497 #    endif
10498 #  endif
10499 #endif
10500
10501 /* When -fvisbility=hidden is used, assume the code has been annotated
10502    correspondingly for the symbols needed.  */
10503 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10504 void fnord () __attribute__((visibility("default")));
10505 #endif
10506
10507 void fnord () { int i=42; }
10508 int main ()
10509 {
10510   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10511   int status = $lt_dlunknown;
10512
10513   if (self)
10514     {
10515       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10516       else
10517         {
10518           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10519           else puts (dlerror ());
10520         }
10521       /* dlclose (self); */
10522     }
10523   else
10524     puts (dlerror ());
10525
10526   return status;
10527 }
10528 _LT_EOF
10529   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10530   (eval $ac_link) 2>&5
10531   ac_status=$?
10532   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10533   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10534     (./conftest; exit; ) >&5 2>/dev/null
10535     lt_status=$?
10536     case x$lt_status in
10537       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10538       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10539       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10540     esac
10541   else :
10542     # compilation failed
10543     lt_cv_dlopen_self=no
10544   fi
10545 fi
10546 rm -fr conftest*
10547
10548
10549 fi
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10551 $as_echo "$lt_cv_dlopen_self" >&6; }
10552
10553     if test "x$lt_cv_dlopen_self" = xyes; then
10554       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10555       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10556 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10557 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10558   $as_echo_n "(cached) " >&6
10559 else
10560           if test "$cross_compiling" = yes; then :
10561   lt_cv_dlopen_self_static=cross
10562 else
10563   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10564   lt_status=$lt_dlunknown
10565   cat > conftest.$ac_ext <<_LT_EOF
10566 #line 10566 "configure"
10567 #include "confdefs.h"
10568
10569 #if HAVE_DLFCN_H
10570 #include <dlfcn.h>
10571 #endif
10572
10573 #include <stdio.h>
10574
10575 #ifdef RTLD_GLOBAL
10576 #  define LT_DLGLOBAL           RTLD_GLOBAL
10577 #else
10578 #  ifdef DL_GLOBAL
10579 #    define LT_DLGLOBAL         DL_GLOBAL
10580 #  else
10581 #    define LT_DLGLOBAL         0
10582 #  endif
10583 #endif
10584
10585 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10586    find out it does not work in some platform. */
10587 #ifndef LT_DLLAZY_OR_NOW
10588 #  ifdef RTLD_LAZY
10589 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10590 #  else
10591 #    ifdef DL_LAZY
10592 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10593 #    else
10594 #      ifdef RTLD_NOW
10595 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10596 #      else
10597 #        ifdef DL_NOW
10598 #          define LT_DLLAZY_OR_NOW      DL_NOW
10599 #        else
10600 #          define LT_DLLAZY_OR_NOW      0
10601 #        endif
10602 #      endif
10603 #    endif
10604 #  endif
10605 #endif
10606
10607 /* When -fvisbility=hidden is used, assume the code has been annotated
10608    correspondingly for the symbols needed.  */
10609 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10610 void fnord () __attribute__((visibility("default")));
10611 #endif
10612
10613 void fnord () { int i=42; }
10614 int main ()
10615 {
10616   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10617   int status = $lt_dlunknown;
10618
10619   if (self)
10620     {
10621       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10622       else
10623         {
10624           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10625           else puts (dlerror ());
10626         }
10627       /* dlclose (self); */
10628     }
10629   else
10630     puts (dlerror ());
10631
10632   return status;
10633 }
10634 _LT_EOF
10635   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10636   (eval $ac_link) 2>&5
10637   ac_status=$?
10638   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10639   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10640     (./conftest; exit; ) >&5 2>/dev/null
10641     lt_status=$?
10642     case x$lt_status in
10643       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10644       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10645       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10646     esac
10647   else :
10648     # compilation failed
10649     lt_cv_dlopen_self_static=no
10650   fi
10651 fi
10652 rm -fr conftest*
10653
10654
10655 fi
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10657 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10658     fi
10659
10660     CPPFLAGS="$save_CPPFLAGS"
10661     LDFLAGS="$save_LDFLAGS"
10662     LIBS="$save_LIBS"
10663     ;;
10664   esac
10665
10666   case $lt_cv_dlopen_self in
10667   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10668   *) enable_dlopen_self=unknown ;;
10669   esac
10670
10671   case $lt_cv_dlopen_self_static in
10672   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10673   *) enable_dlopen_self_static=unknown ;;
10674   esac
10675 fi
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693 striplib=
10694 old_striplib=
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10696 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10697 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10698   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10699   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10701 $as_echo "yes" >&6; }
10702 else
10703 # FIXME - insert some real tests, host_os isn't really good enough
10704   case $host_os in
10705   darwin*)
10706     if test -n "$STRIP" ; then
10707       striplib="$STRIP -x"
10708       old_striplib="$STRIP -S"
10709       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10710 $as_echo "yes" >&6; }
10711     else
10712       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10713 $as_echo "no" >&6; }
10714     fi
10715     ;;
10716   *)
10717     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10718 $as_echo "no" >&6; }
10719     ;;
10720   esac
10721 fi
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734   # Report which library types will actually be built
10735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10736 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10738 $as_echo "$can_build_shared" >&6; }
10739
10740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10741 $as_echo_n "checking whether to build shared libraries... " >&6; }
10742   test "$can_build_shared" = "no" && enable_shared=no
10743
10744   # On AIX, shared libraries and static libraries use the same namespace, and
10745   # are all built from PIC.
10746   case $host_os in
10747   aix3*)
10748     test "$enable_shared" = yes && enable_static=no
10749     if test -n "$RANLIB"; then
10750       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10751       postinstall_cmds='$RANLIB $lib'
10752     fi
10753     ;;
10754
10755   aix[4-9]*)
10756     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10757       test "$enable_shared" = yes && enable_static=no
10758     fi
10759     ;;
10760   esac
10761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10762 $as_echo "$enable_shared" >&6; }
10763
10764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10765 $as_echo_n "checking whether to build static libraries... " >&6; }
10766   # Make sure either enable_shared or enable_static is yes.
10767   test "$enable_shared" = yes || enable_static=yes
10768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10769 $as_echo "$enable_static" >&6; }
10770
10771
10772
10773
10774 fi
10775 ac_ext=c
10776 ac_cpp='$CPP $CPPFLAGS'
10777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10780
10781 CC="$lt_save_CC"
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795         ac_config_commands="$ac_config_commands libtool"
10796
10797
10798
10799
10800 # Only expand once:
10801
10802
10803
10804
10805
10806 case $host in
10807   *-cygwin* | *-mingw*)
10808     # 'host' will be top-level target in the case of a target lib,
10809     # we must compare to with_cross_host to decide if this is a native
10810     # or cross-compiler and select where to install dlls appropriately.
10811     if test -n "$with_cross_host" &&
10812         test x"$with_cross_host" != x"no"; then
10813       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
10814     else
10815       lt_host_flags='-no-undefined -bindir "$(bindir)"';
10816     fi
10817     ;;
10818   *)
10819     lt_host_flags=
10820     ;;
10821 esac
10822
10823
10824
10825
10826
10827
10828
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10830 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10831     # Check whether --enable-maintainer-mode was given.
10832 if test "${enable_maintainer_mode+set}" = set; then :
10833   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
10834 else
10835   USE_MAINTAINER_MODE=no
10836 fi
10837
10838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10839 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10840    if test $USE_MAINTAINER_MODE = yes; then
10841   MAINTAINER_MODE_TRUE=
10842   MAINTAINER_MODE_FALSE='#'
10843 else
10844   MAINTAINER_MODE_TRUE='#'
10845   MAINTAINER_MODE_FALSE=
10846 fi
10847
10848   MAINT=$MAINTAINER_MODE_TRUE
10849
10850
10851 # Default to --enable-multilib
10852 # Check whether --enable-multilib was given.
10853 if test "${enable_multilib+set}" = set; then :
10854   enableval=$enable_multilib; case "$enableval" in
10855   yes) multilib=yes ;;
10856   no)  multilib=no ;;
10857   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
10858  esac
10859 else
10860   multilib=yes
10861 fi
10862
10863
10864 # We may get other options which we leave undocumented:
10865 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10866 # See config-ml.in if you want the gory details.
10867
10868 if test "$srcdir" = "."; then
10869   if test "$with_target_subdir" != "."; then
10870     multi_basedir="$srcdir/$with_multisrctop../.."
10871   else
10872     multi_basedir="$srcdir/$with_multisrctop.."
10873   fi
10874 else
10875   multi_basedir="$srcdir/.."
10876 fi
10877
10878
10879 # Even if the default multilib is not a cross compilation,
10880 # it may be that some of the other multilibs are.
10881 if test $cross_compiling = no && test $multilib = yes \
10882    && test "x${with_multisubdir}" != x ; then
10883    cross_compiling=maybe
10884 fi
10885
10886 ac_config_commands="$ac_config_commands default-1"
10887
10888
10889 ac_ext=c
10890 ac_cpp='$CPP $CPPFLAGS'
10891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10894
10895 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10896 # We must force CC to /not/ be precious variables; otherwise
10897 # the wrong, non-multilib-adjusted value will be used in multilibs.
10898 # As a side effect, we have to subst CFLAGS ourselves.
10899
10900
10901
10902 ac_ext=c
10903 ac_cpp='$CPP $CPPFLAGS'
10904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10907 if test -n "$ac_tool_prefix"; then
10908   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10909 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10911 $as_echo_n "checking for $ac_word... " >&6; }
10912 if test "${ac_cv_prog_CC+set}" = set; then :
10913   $as_echo_n "(cached) " >&6
10914 else
10915   if test -n "$CC"; then
10916   ac_cv_prog_CC="$CC" # Let the user override the test.
10917 else
10918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10919 for as_dir in $PATH
10920 do
10921   IFS=$as_save_IFS
10922   test -z "$as_dir" && as_dir=.
10923     for ac_exec_ext in '' $ac_executable_extensions; do
10924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10925     ac_cv_prog_CC="${ac_tool_prefix}gcc"
10926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10927     break 2
10928   fi
10929 done
10930   done
10931 IFS=$as_save_IFS
10932
10933 fi
10934 fi
10935 CC=$ac_cv_prog_CC
10936 if test -n "$CC"; then
10937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10938 $as_echo "$CC" >&6; }
10939 else
10940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10941 $as_echo "no" >&6; }
10942 fi
10943
10944
10945 fi
10946 if test -z "$ac_cv_prog_CC"; then
10947   ac_ct_CC=$CC
10948   # Extract the first word of "gcc", so it can be a program name with args.
10949 set dummy gcc; ac_word=$2
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10951 $as_echo_n "checking for $ac_word... " >&6; }
10952 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10953   $as_echo_n "(cached) " >&6
10954 else
10955   if test -n "$ac_ct_CC"; then
10956   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10957 else
10958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10959 for as_dir in $PATH
10960 do
10961   IFS=$as_save_IFS
10962   test -z "$as_dir" && as_dir=.
10963     for ac_exec_ext in '' $ac_executable_extensions; do
10964   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10965     ac_cv_prog_ac_ct_CC="gcc"
10966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10967     break 2
10968   fi
10969 done
10970   done
10971 IFS=$as_save_IFS
10972
10973 fi
10974 fi
10975 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10976 if test -n "$ac_ct_CC"; then
10977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10978 $as_echo "$ac_ct_CC" >&6; }
10979 else
10980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10981 $as_echo "no" >&6; }
10982 fi
10983
10984   if test "x$ac_ct_CC" = x; then
10985     CC=""
10986   else
10987     case $cross_compiling:$ac_tool_warned in
10988 yes:)
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10991 ac_tool_warned=yes ;;
10992 esac
10993     CC=$ac_ct_CC
10994   fi
10995 else
10996   CC="$ac_cv_prog_CC"
10997 fi
10998
10999 if test -z "$CC"; then
11000           if test -n "$ac_tool_prefix"; then
11001     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11002 set dummy ${ac_tool_prefix}cc; ac_word=$2
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11004 $as_echo_n "checking for $ac_word... " >&6; }
11005 if test "${ac_cv_prog_CC+set}" = set; then :
11006   $as_echo_n "(cached) " >&6
11007 else
11008   if test -n "$CC"; then
11009   ac_cv_prog_CC="$CC" # Let the user override the test.
11010 else
11011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11012 for as_dir in $PATH
11013 do
11014   IFS=$as_save_IFS
11015   test -z "$as_dir" && as_dir=.
11016     for ac_exec_ext in '' $ac_executable_extensions; do
11017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11018     ac_cv_prog_CC="${ac_tool_prefix}cc"
11019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11020     break 2
11021   fi
11022 done
11023   done
11024 IFS=$as_save_IFS
11025
11026 fi
11027 fi
11028 CC=$ac_cv_prog_CC
11029 if test -n "$CC"; then
11030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11031 $as_echo "$CC" >&6; }
11032 else
11033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11034 $as_echo "no" >&6; }
11035 fi
11036
11037
11038   fi
11039 fi
11040 if test -z "$CC"; then
11041   # Extract the first word of "cc", so it can be a program name with args.
11042 set dummy cc; ac_word=$2
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11044 $as_echo_n "checking for $ac_word... " >&6; }
11045 if test "${ac_cv_prog_CC+set}" = set; then :
11046   $as_echo_n "(cached) " >&6
11047 else
11048   if test -n "$CC"; then
11049   ac_cv_prog_CC="$CC" # Let the user override the test.
11050 else
11051   ac_prog_rejected=no
11052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11053 for as_dir in $PATH
11054 do
11055   IFS=$as_save_IFS
11056   test -z "$as_dir" && as_dir=.
11057     for ac_exec_ext in '' $ac_executable_extensions; do
11058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11059     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11060        ac_prog_rejected=yes
11061        continue
11062      fi
11063     ac_cv_prog_CC="cc"
11064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11065     break 2
11066   fi
11067 done
11068   done
11069 IFS=$as_save_IFS
11070
11071 if test $ac_prog_rejected = yes; then
11072   # We found a bogon in the path, so make sure we never use it.
11073   set dummy $ac_cv_prog_CC
11074   shift
11075   if test $# != 0; then
11076     # We chose a different compiler from the bogus one.
11077     # However, it has the same basename, so the bogon will be chosen
11078     # first if we set CC to just the basename; use the full file name.
11079     shift
11080     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11081   fi
11082 fi
11083 fi
11084 fi
11085 CC=$ac_cv_prog_CC
11086 if test -n "$CC"; then
11087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11088 $as_echo "$CC" >&6; }
11089 else
11090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11091 $as_echo "no" >&6; }
11092 fi
11093
11094
11095 fi
11096 if test -z "$CC"; then
11097   if test -n "$ac_tool_prefix"; then
11098   for ac_prog in cl.exe
11099   do
11100     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11103 $as_echo_n "checking for $ac_word... " >&6; }
11104 if test "${ac_cv_prog_CC+set}" = set; then :
11105   $as_echo_n "(cached) " >&6
11106 else
11107   if test -n "$CC"; then
11108   ac_cv_prog_CC="$CC" # Let the user override the test.
11109 else
11110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11111 for as_dir in $PATH
11112 do
11113   IFS=$as_save_IFS
11114   test -z "$as_dir" && as_dir=.
11115     for ac_exec_ext in '' $ac_executable_extensions; do
11116   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11117     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11118     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11119     break 2
11120   fi
11121 done
11122   done
11123 IFS=$as_save_IFS
11124
11125 fi
11126 fi
11127 CC=$ac_cv_prog_CC
11128 if test -n "$CC"; then
11129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11130 $as_echo "$CC" >&6; }
11131 else
11132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11133 $as_echo "no" >&6; }
11134 fi
11135
11136
11137     test -n "$CC" && break
11138   done
11139 fi
11140 if test -z "$CC"; then
11141   ac_ct_CC=$CC
11142   for ac_prog in cl.exe
11143 do
11144   # Extract the first word of "$ac_prog", so it can be a program name with args.
11145 set dummy $ac_prog; ac_word=$2
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11147 $as_echo_n "checking for $ac_word... " >&6; }
11148 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11149   $as_echo_n "(cached) " >&6
11150 else
11151   if test -n "$ac_ct_CC"; then
11152   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11153 else
11154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11155 for as_dir in $PATH
11156 do
11157   IFS=$as_save_IFS
11158   test -z "$as_dir" && as_dir=.
11159     for ac_exec_ext in '' $ac_executable_extensions; do
11160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11161     ac_cv_prog_ac_ct_CC="$ac_prog"
11162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11163     break 2
11164   fi
11165 done
11166   done
11167 IFS=$as_save_IFS
11168
11169 fi
11170 fi
11171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11172 if test -n "$ac_ct_CC"; then
11173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11174 $as_echo "$ac_ct_CC" >&6; }
11175 else
11176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11177 $as_echo "no" >&6; }
11178 fi
11179
11180
11181   test -n "$ac_ct_CC" && break
11182 done
11183
11184   if test "x$ac_ct_CC" = x; then
11185     CC=""
11186   else
11187     case $cross_compiling:$ac_tool_warned in
11188 yes:)
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11191 ac_tool_warned=yes ;;
11192 esac
11193     CC=$ac_ct_CC
11194   fi
11195 fi
11196
11197 fi
11198
11199
11200 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11202 as_fn_error "no acceptable C compiler found in \$PATH
11203 See \`config.log' for more details." "$LINENO" 5; }
11204
11205 # Provide some information about the compiler.
11206 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11207 set X $ac_compile
11208 ac_compiler=$2
11209 for ac_option in --version -v -V -qversion; do
11210   { { ac_try="$ac_compiler $ac_option >&5"
11211 case "(($ac_try" in
11212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11213   *) ac_try_echo=$ac_try;;
11214 esac
11215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11216 $as_echo "$ac_try_echo"; } >&5
11217   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11218   ac_status=$?
11219   if test -s conftest.err; then
11220     sed '10a\
11221 ... rest of stderr output deleted ...
11222          10q' conftest.err >conftest.er1
11223     cat conftest.er1 >&5
11224     rm -f conftest.er1 conftest.err
11225   fi
11226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11227   test $ac_status = 0; }
11228 done
11229
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11231 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11232 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11233   $as_echo_n "(cached) " >&6
11234 else
11235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h.  */
11237
11238 int
11239 main ()
11240 {
11241 #ifndef __GNUC__
11242        choke me
11243 #endif
11244
11245   ;
11246   return 0;
11247 }
11248 _ACEOF
11249 if ac_fn_c_try_compile "$LINENO"; then :
11250   ac_compiler_gnu=yes
11251 else
11252   ac_compiler_gnu=no
11253 fi
11254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11255 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11256
11257 fi
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11259 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11260 if test $ac_compiler_gnu = yes; then
11261   GCC=yes
11262 else
11263   GCC=
11264 fi
11265 ac_test_CFLAGS=${CFLAGS+set}
11266 ac_save_CFLAGS=$CFLAGS
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11268 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11269 if test "${ac_cv_prog_cc_g+set}" = set; then :
11270   $as_echo_n "(cached) " >&6
11271 else
11272   ac_save_c_werror_flag=$ac_c_werror_flag
11273    ac_c_werror_flag=yes
11274    ac_cv_prog_cc_g=no
11275    CFLAGS="-g"
11276    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11277 /* end confdefs.h.  */
11278
11279 int
11280 main ()
11281 {
11282
11283   ;
11284   return 0;
11285 }
11286 _ACEOF
11287 if ac_fn_c_try_compile "$LINENO"; then :
11288   ac_cv_prog_cc_g=yes
11289 else
11290   CFLAGS=""
11291       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h.  */
11293
11294 int
11295 main ()
11296 {
11297
11298   ;
11299   return 0;
11300 }
11301 _ACEOF
11302 if ac_fn_c_try_compile "$LINENO"; then :
11303
11304 else
11305   ac_c_werror_flag=$ac_save_c_werror_flag
11306          CFLAGS="-g"
11307          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h.  */
11309
11310 int
11311 main ()
11312 {
11313
11314   ;
11315   return 0;
11316 }
11317 _ACEOF
11318 if ac_fn_c_try_compile "$LINENO"; then :
11319   ac_cv_prog_cc_g=yes
11320 fi
11321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11322 fi
11323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11324 fi
11325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11326    ac_c_werror_flag=$ac_save_c_werror_flag
11327 fi
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11329 $as_echo "$ac_cv_prog_cc_g" >&6; }
11330 if test "$ac_test_CFLAGS" = set; then
11331   CFLAGS=$ac_save_CFLAGS
11332 elif test $ac_cv_prog_cc_g = yes; then
11333   if test "$GCC" = yes; then
11334     CFLAGS="-g -O2"
11335   else
11336     CFLAGS="-g"
11337   fi
11338 else
11339   if test "$GCC" = yes; then
11340     CFLAGS="-O2"
11341   else
11342     CFLAGS=
11343   fi
11344 fi
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11346 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11347 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11348   $as_echo_n "(cached) " >&6
11349 else
11350   ac_cv_prog_cc_c89=no
11351 ac_save_CC=$CC
11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11353 /* end confdefs.h.  */
11354 #include <stdarg.h>
11355 #include <stdio.h>
11356 #include <sys/types.h>
11357 #include <sys/stat.h>
11358 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11359 struct buf { int x; };
11360 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11361 static char *e (p, i)
11362      char **p;
11363      int i;
11364 {
11365   return p[i];
11366 }
11367 static char *f (char * (*g) (char **, int), char **p, ...)
11368 {
11369   char *s;
11370   va_list v;
11371   va_start (v,p);
11372   s = g (p, va_arg (v,int));
11373   va_end (v);
11374   return s;
11375 }
11376
11377 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11378    function prototypes and stuff, but not '\xHH' hex character constants.
11379    These don't provoke an error unfortunately, instead are silently treated
11380    as 'x'.  The following induces an error, until -std is added to get
11381    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11382    array size at least.  It's necessary to write '\x00'==0 to get something
11383    that's true only with -std.  */
11384 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11385
11386 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11387    inside strings and character constants.  */
11388 #define FOO(x) 'x'
11389 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11390
11391 int test (int i, double x);
11392 struct s1 {int (*f) (int a);};
11393 struct s2 {int (*f) (double a);};
11394 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11395 int argc;
11396 char **argv;
11397 int
11398 main ()
11399 {
11400 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11401   ;
11402   return 0;
11403 }
11404 _ACEOF
11405 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11406         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11407 do
11408   CC="$ac_save_CC $ac_arg"
11409   if ac_fn_c_try_compile "$LINENO"; then :
11410   ac_cv_prog_cc_c89=$ac_arg
11411 fi
11412 rm -f core conftest.err conftest.$ac_objext
11413   test "x$ac_cv_prog_cc_c89" != "xno" && break
11414 done
11415 rm -f conftest.$ac_ext
11416 CC=$ac_save_CC
11417
11418 fi
11419 # AC_CACHE_VAL
11420 case "x$ac_cv_prog_cc_c89" in
11421   x)
11422     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11423 $as_echo "none needed" >&6; } ;;
11424   xno)
11425     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11426 $as_echo "unsupported" >&6; } ;;
11427   *)
11428     CC="$CC $ac_cv_prog_cc_c89"
11429     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11430 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11431 esac
11432 if test "x$ac_cv_prog_cc_c89" != xno; then :
11433
11434 fi
11435
11436 ac_ext=c
11437 ac_cpp='$CPP $CPPFLAGS'
11438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11441
11442 depcc="$CC"   am_compiler_list=
11443
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11445 $as_echo_n "checking dependency style of $depcc... " >&6; }
11446 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11447   $as_echo_n "(cached) " >&6
11448 else
11449   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11450   # We make a subdir and do the tests there.  Otherwise we can end up
11451   # making bogus files that we don't know about and never remove.  For
11452   # instance it was reported that on HP-UX the gcc test will end up
11453   # making a dummy file named `D' -- because `-MD' means `put the output
11454   # in D'.
11455   mkdir conftest.dir
11456   # Copy depcomp to subdir because otherwise we won't find it if we're
11457   # using a relative directory.
11458   cp "$am_depcomp" conftest.dir
11459   cd conftest.dir
11460   # We will build objects and dependencies in a subdirectory because
11461   # it helps to detect inapplicable dependency modes.  For instance
11462   # both Tru64's cc and ICC support -MD to output dependencies as a
11463   # side effect of compilation, but ICC will put the dependencies in
11464   # the current directory while Tru64 will put them in the object
11465   # directory.
11466   mkdir sub
11467
11468   am_cv_CC_dependencies_compiler_type=none
11469   if test "$am_compiler_list" = ""; then
11470      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11471   fi
11472   am__universal=false
11473   case " $depcc " in #(
11474      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11475      esac
11476
11477   for depmode in $am_compiler_list; do
11478     # Setup a source with many dependencies, because some compilers
11479     # like to wrap large dependency lists on column 80 (with \), and
11480     # we should not choose a depcomp mode which is confused by this.
11481     #
11482     # We need to recreate these files for each test, as the compiler may
11483     # overwrite some of them when testing with obscure command lines.
11484     # This happens at least with the AIX C compiler.
11485     : > sub/conftest.c
11486     for i in 1 2 3 4 5 6; do
11487       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11488       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11489       # Solaris 8's {/usr,}/bin/sh.
11490       touch sub/conftst$i.h
11491     done
11492     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11493
11494     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11495     # mode.  It turns out that the SunPro C++ compiler does not properly
11496     # handle `-M -o', and we need to detect this.  Also, some Intel
11497     # versions had trouble with output in subdirs
11498     am__obj=sub/conftest.${OBJEXT-o}
11499     am__minus_obj="-o $am__obj"
11500     case $depmode in
11501     gcc)
11502       # This depmode causes a compiler race in universal mode.
11503       test "$am__universal" = false || continue
11504       ;;
11505     nosideeffect)
11506       # after this tag, mechanisms are not by side-effect, so they'll
11507       # only be used when explicitly requested
11508       if test "x$enable_dependency_tracking" = xyes; then
11509         continue
11510       else
11511         break
11512       fi
11513       ;;
11514     msvisualcpp | msvcmsys)
11515       # This compiler won't grok `-c -o', but also, the minuso test has
11516       # not run yet.  These depmodes are late enough in the game, and
11517       # so weak that their functioning should not be impacted.
11518       am__obj=conftest.${OBJEXT-o}
11519       am__minus_obj=
11520       ;;
11521     none) break ;;
11522     esac
11523     if depmode=$depmode \
11524        source=sub/conftest.c object=$am__obj \
11525        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11526        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11527          >/dev/null 2>conftest.err &&
11528        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11529        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11530        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11531        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11532       # icc doesn't choke on unknown options, it will just issue warnings
11533       # or remarks (even with -Werror).  So we grep stderr for any message
11534       # that says an option was ignored or not supported.
11535       # When given -MP, icc 7.0 and 7.1 complain thusly:
11536       #   icc: Command line warning: ignoring option '-M'; no argument required
11537       # The diagnosis changed in icc 8.0:
11538       #   icc: Command line remark: option '-MP' not supported
11539       if (grep 'ignoring option' conftest.err ||
11540           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11541         am_cv_CC_dependencies_compiler_type=$depmode
11542         break
11543       fi
11544     fi
11545   done
11546
11547   cd ..
11548   rm -rf conftest.dir
11549 else
11550   am_cv_CC_dependencies_compiler_type=none
11551 fi
11552
11553 fi
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11555 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11556 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11557
11558  if
11559   test "x$enable_dependency_tracking" != xno \
11560   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11561   am__fastdepCC_TRUE=
11562   am__fastdepCC_FALSE='#'
11563 else
11564   am__fastdepCC_TRUE='#'
11565   am__fastdepCC_FALSE=
11566 fi
11567
11568
11569
11570
11571
11572
11573 if test "x$CC" != xcc; then
11574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11575 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11576 else
11577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11578 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11579 fi
11580 set dummy $CC; ac_cc=`$as_echo "$2" |
11581                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11582 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11583   $as_echo_n "(cached) " >&6
11584 else
11585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11586 /* end confdefs.h.  */
11587
11588 int
11589 main ()
11590 {
11591
11592   ;
11593   return 0;
11594 }
11595 _ACEOF
11596 # Make sure it works both with $CC and with simple cc.
11597 # We do the test twice because some compilers refuse to overwrite an
11598 # existing .o file with -o, though they will create one.
11599 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11600 rm -f conftest2.*
11601 if { { case "(($ac_try" in
11602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11603   *) ac_try_echo=$ac_try;;
11604 esac
11605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11606 $as_echo "$ac_try_echo"; } >&5
11607   (eval "$ac_try") 2>&5
11608   ac_status=$?
11609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11610   test $ac_status = 0; } &&
11611    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11613   *) ac_try_echo=$ac_try;;
11614 esac
11615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11616 $as_echo "$ac_try_echo"; } >&5
11617   (eval "$ac_try") 2>&5
11618   ac_status=$?
11619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11620   test $ac_status = 0; };
11621 then
11622   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11623   if test "x$CC" != xcc; then
11624     # Test first that cc exists at all.
11625     if { ac_try='cc -c conftest.$ac_ext >&5'
11626   { { case "(($ac_try" in
11627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11628   *) ac_try_echo=$ac_try;;
11629 esac
11630 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11631 $as_echo "$ac_try_echo"; } >&5
11632   (eval "$ac_try") 2>&5
11633   ac_status=$?
11634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11635   test $ac_status = 0; }; }; then
11636       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11637       rm -f conftest2.*
11638       if { { case "(($ac_try" in
11639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11640   *) ac_try_echo=$ac_try;;
11641 esac
11642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11643 $as_echo "$ac_try_echo"; } >&5
11644   (eval "$ac_try") 2>&5
11645   ac_status=$?
11646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11647   test $ac_status = 0; } &&
11648          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11650   *) ac_try_echo=$ac_try;;
11651 esac
11652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11653 $as_echo "$ac_try_echo"; } >&5
11654   (eval "$ac_try") 2>&5
11655   ac_status=$?
11656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11657   test $ac_status = 0; };
11658       then
11659         # cc works too.
11660         :
11661       else
11662         # cc exists but doesn't like -o.
11663         eval ac_cv_prog_cc_${ac_cc}_c_o=no
11664       fi
11665     fi
11666   fi
11667 else
11668   eval ac_cv_prog_cc_${ac_cc}_c_o=no
11669 fi
11670 rm -f core conftest*
11671
11672 fi
11673 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11675 $as_echo "yes" >&6; }
11676 else
11677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11678 $as_echo "no" >&6; }
11679
11680 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11681
11682 fi
11683
11684 # FIXME: we rely on the cache variable name because
11685 # there is no other way.
11686 set dummy $CC
11687 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11688 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11689 if test "$am_t" != yes; then
11690    # Losing compiler, so override with the script.
11691    # FIXME: It is wrong to rewrite CC.
11692    # But if we don't then we get into trouble of one sort or another.
11693    # A longer-term fix would be to have automake use am__CC in this case,
11694    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11695    CC="$am_aux_dir/compile $CC"
11696 fi
11697
11698
11699
11700 if test "x$GCC" != "xyes"; then
11701   as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11702 fi
11703 ac_ext=c
11704 ac_cpp='$CPP $CPPFLAGS'
11705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11709 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11710 # On Suns, sometimes $CPP names a directory.
11711 if test -n "$CPP" && test -d "$CPP"; then
11712   CPP=
11713 fi
11714 if test -z "$CPP"; then
11715   if test "${ac_cv_prog_CPP+set}" = set; then :
11716   $as_echo_n "(cached) " >&6
11717 else
11718       # Double quotes because CPP needs to be expanded
11719     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11720     do
11721       ac_preproc_ok=false
11722 for ac_c_preproc_warn_flag in '' yes
11723 do
11724   # Use a header file that comes with gcc, so configuring glibc
11725   # with a fresh cross-compiler works.
11726   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11727   # <limits.h> exists even on freestanding compilers.
11728   # On the NeXT, cc -E runs the code through the compiler's parser,
11729   # not just through cpp. "Syntax error" is here to catch this case.
11730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11731 /* end confdefs.h.  */
11732 #ifdef __STDC__
11733 # include <limits.h>
11734 #else
11735 # include <assert.h>
11736 #endif
11737                      Syntax error
11738 _ACEOF
11739 if ac_fn_c_try_cpp "$LINENO"; then :
11740
11741 else
11742   # Broken: fails on valid input.
11743 continue
11744 fi
11745 rm -f conftest.err conftest.$ac_ext
11746
11747   # OK, works on sane cases.  Now check whether nonexistent headers
11748   # can be detected and how.
11749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750 /* end confdefs.h.  */
11751 #include <ac_nonexistent.h>
11752 _ACEOF
11753 if ac_fn_c_try_cpp "$LINENO"; then :
11754   # Broken: success on invalid input.
11755 continue
11756 else
11757   # Passes both tests.
11758 ac_preproc_ok=:
11759 break
11760 fi
11761 rm -f conftest.err conftest.$ac_ext
11762
11763 done
11764 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11765 rm -f conftest.err conftest.$ac_ext
11766 if $ac_preproc_ok; then :
11767   break
11768 fi
11769
11770     done
11771     ac_cv_prog_CPP=$CPP
11772
11773 fi
11774   CPP=$ac_cv_prog_CPP
11775 else
11776   ac_cv_prog_CPP=$CPP
11777 fi
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11779 $as_echo "$CPP" >&6; }
11780 ac_preproc_ok=false
11781 for ac_c_preproc_warn_flag in '' yes
11782 do
11783   # Use a header file that comes with gcc, so configuring glibc
11784   # with a fresh cross-compiler works.
11785   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11786   # <limits.h> exists even on freestanding compilers.
11787   # On the NeXT, cc -E runs the code through the compiler's parser,
11788   # not just through cpp. "Syntax error" is here to catch this case.
11789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h.  */
11791 #ifdef __STDC__
11792 # include <limits.h>
11793 #else
11794 # include <assert.h>
11795 #endif
11796                      Syntax error
11797 _ACEOF
11798 if ac_fn_c_try_cpp "$LINENO"; then :
11799
11800 else
11801   # Broken: fails on valid input.
11802 continue
11803 fi
11804 rm -f conftest.err conftest.$ac_ext
11805
11806   # OK, works on sane cases.  Now check whether nonexistent headers
11807   # can be detected and how.
11808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809 /* end confdefs.h.  */
11810 #include <ac_nonexistent.h>
11811 _ACEOF
11812 if ac_fn_c_try_cpp "$LINENO"; then :
11813   # Broken: success on invalid input.
11814 continue
11815 else
11816   # Passes both tests.
11817 ac_preproc_ok=:
11818 break
11819 fi
11820 rm -f conftest.err conftest.$ac_ext
11821
11822 done
11823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11824 rm -f conftest.err conftest.$ac_ext
11825 if $ac_preproc_ok; then :
11826
11827 else
11828   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11830 as_fn_error "C preprocessor \"$CPP\" fails sanity check
11831 See \`config.log' for more details." "$LINENO" 5; }
11832 fi
11833
11834 ac_ext=c
11835 ac_cpp='$CPP $CPPFLAGS'
11836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11839
11840
11841 # Calculate toolexeclibdir
11842 # Also toolexecdir, though it's only used in toolexeclibdir
11843 case ${version_specific_libs} in
11844   yes)
11845     # Need the gcc compiler version to know where to install libraries
11846     # and header files if --enable-version-specific-runtime-libs option
11847     # is selected.
11848     toolexecdir='$(libdir)/gcc/$(target_alias)'
11849     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11850     ;;
11851   no)
11852     if test -n "$with_cross_host" &&
11853        test x"$with_cross_host" != x"no"; then
11854       # Install a library built with a cross compiler in tooldir, not libdir.
11855       toolexecdir='$(exec_prefix)/$(target_alias)'
11856       toolexeclibdir='$(toolexecdir)/lib'
11857     else
11858       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
11859       toolexeclibdir='$(libdir)'
11860     fi
11861     multi_os_directory=`$CC -print-multi-os-directory`
11862     case $multi_os_directory in
11863       .) ;; # Avoid trailing /.
11864       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
11865     esac
11866     ;;
11867 esac
11868
11869
11870
11871 for ac_header in fenv.h
11872 do :
11873   ac_fn_c_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
11874 if test "x$ac_cv_header_fenv_h" = x""yes; then :
11875   cat >>confdefs.h <<_ACEOF
11876 #define HAVE_FENV_H 1
11877 _ACEOF
11878
11879 fi
11880
11881 done
11882
11883
11884 # If available, sqrtl and cbrtl speed up the calculation -
11885 # but they are not required
11886 if test x$gcc_no_link != xyes; then
11887   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11888 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11889 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11890   $as_echo_n "(cached) " >&6
11891 else
11892   ac_check_lib_save_LIBS=$LIBS
11893 LIBS="-lm  $LIBS"
11894 if test x$gcc_no_link = xyes; then
11895   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11896 fi
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h.  */
11899
11900 /* Override any GCC internal prototype to avoid an error.
11901    Use char because int might match the return type of a GCC
11902    builtin and then its argument prototype would still apply.  */
11903 #ifdef __cplusplus
11904 extern "C"
11905 #endif
11906 char sqrtl ();
11907 int
11908 main ()
11909 {
11910 return sqrtl ();
11911   ;
11912   return 0;
11913 }
11914 _ACEOF
11915 if ac_fn_c_try_link "$LINENO"; then :
11916   ac_cv_lib_m_sqrtl=yes
11917 else
11918   ac_cv_lib_m_sqrtl=no
11919 fi
11920 rm -f core conftest.err conftest.$ac_objext \
11921     conftest$ac_exeext conftest.$ac_ext
11922 LIBS=$ac_check_lib_save_LIBS
11923 fi
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
11925 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
11926 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
11927
11928 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11929
11930 fi
11931
11932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
11933 $as_echo_n "checking for cbrtl in -lm... " >&6; }
11934 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
11935   $as_echo_n "(cached) " >&6
11936 else
11937   ac_check_lib_save_LIBS=$LIBS
11938 LIBS="-lm  $LIBS"
11939 if test x$gcc_no_link = xyes; then
11940   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11941 fi
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h.  */
11944
11945 /* Override any GCC internal prototype to avoid an error.
11946    Use char because int might match the return type of a GCC
11947    builtin and then its argument prototype would still apply.  */
11948 #ifdef __cplusplus
11949 extern "C"
11950 #endif
11951 char cbrtl ();
11952 int
11953 main ()
11954 {
11955 return cbrtl ();
11956   ;
11957   return 0;
11958 }
11959 _ACEOF
11960 if ac_fn_c_try_link "$LINENO"; then :
11961   ac_cv_lib_m_cbrtl=yes
11962 else
11963   ac_cv_lib_m_cbrtl=no
11964 fi
11965 rm -f core conftest.err conftest.$ac_objext \
11966     conftest$ac_exeext conftest.$ac_ext
11967 LIBS=$ac_check_lib_save_LIBS
11968 fi
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
11970 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
11971 if test "x$ac_cv_lib_m_cbrtl" = x""yes; then :
11972
11973 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
11974
11975 fi
11976
11977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
11978 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
11979 if test "${ac_cv_lib_m_feholdexcept+set}" = set; then :
11980   $as_echo_n "(cached) " >&6
11981 else
11982   ac_check_lib_save_LIBS=$LIBS
11983 LIBS="-lm  $LIBS"
11984 if test x$gcc_no_link = xyes; then
11985   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11986 fi
11987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11988 /* end confdefs.h.  */
11989
11990 /* Override any GCC internal prototype to avoid an error.
11991    Use char because int might match the return type of a GCC
11992    builtin and then its argument prototype would still apply.  */
11993 #ifdef __cplusplus
11994 extern "C"
11995 #endif
11996 char feholdexcept ();
11997 int
11998 main ()
11999 {
12000 return feholdexcept ();
12001   ;
12002   return 0;
12003 }
12004 _ACEOF
12005 if ac_fn_c_try_link "$LINENO"; then :
12006   ac_cv_lib_m_feholdexcept=yes
12007 else
12008   ac_cv_lib_m_feholdexcept=no
12009 fi
12010 rm -f core conftest.err conftest.$ac_objext \
12011     conftest$ac_exeext conftest.$ac_ext
12012 LIBS=$ac_check_lib_save_LIBS
12013 fi
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feholdexcept" >&5
12015 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12016 if test "x$ac_cv_lib_m_feholdexcept" = x""yes; then :
12017
12018 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12019
12020 fi
12021
12022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12023 $as_echo_n "checking for fesetround in -lm... " >&6; }
12024 if test "${ac_cv_lib_m_fesetround+set}" = set; then :
12025   $as_echo_n "(cached) " >&6
12026 else
12027   ac_check_lib_save_LIBS=$LIBS
12028 LIBS="-lm  $LIBS"
12029 if test x$gcc_no_link = xyes; then
12030   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12031 fi
12032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12033 /* end confdefs.h.  */
12034
12035 /* Override any GCC internal prototype to avoid an error.
12036    Use char because int might match the return type of a GCC
12037    builtin and then its argument prototype would still apply.  */
12038 #ifdef __cplusplus
12039 extern "C"
12040 #endif
12041 char fesetround ();
12042 int
12043 main ()
12044 {
12045 return fesetround ();
12046   ;
12047   return 0;
12048 }
12049 _ACEOF
12050 if ac_fn_c_try_link "$LINENO"; then :
12051   ac_cv_lib_m_fesetround=yes
12052 else
12053   ac_cv_lib_m_fesetround=no
12054 fi
12055 rm -f core conftest.err conftest.$ac_objext \
12056     conftest$ac_exeext conftest.$ac_ext
12057 LIBS=$ac_check_lib_save_LIBS
12058 fi
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12060 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12061 if test "x$ac_cv_lib_m_fesetround" = x""yes; then :
12062
12063 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12064
12065 fi
12066
12067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12068 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12069 if test "${ac_cv_lib_m_feupdateenv+set}" = set; then :
12070   $as_echo_n "(cached) " >&6
12071 else
12072   ac_check_lib_save_LIBS=$LIBS
12073 LIBS="-lm  $LIBS"
12074 if test x$gcc_no_link = xyes; then
12075   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12076 fi
12077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12078 /* end confdefs.h.  */
12079
12080 /* Override any GCC internal prototype to avoid an error.
12081    Use char because int might match the return type of a GCC
12082    builtin and then its argument prototype would still apply.  */
12083 #ifdef __cplusplus
12084 extern "C"
12085 #endif
12086 char feupdateenv ();
12087 int
12088 main ()
12089 {
12090 return feupdateenv ();
12091   ;
12092   return 0;
12093 }
12094 _ACEOF
12095 if ac_fn_c_try_link "$LINENO"; then :
12096   ac_cv_lib_m_feupdateenv=yes
12097 else
12098   ac_cv_lib_m_feupdateenv=no
12099 fi
12100 rm -f core conftest.err conftest.$ac_objext \
12101     conftest$ac_exeext conftest.$ac_ext
12102 LIBS=$ac_check_lib_save_LIBS
12103 fi
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12105 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12106 if test "x$ac_cv_lib_m_feupdateenv" = x""yes; then :
12107
12108 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12109
12110 fi
12111
12112   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12113 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12114 if test "${ac_cv_lib_m_fesetenv+set}" = set; then :
12115   $as_echo_n "(cached) " >&6
12116 else
12117   ac_check_lib_save_LIBS=$LIBS
12118 LIBS="-lm  $LIBS"
12119 if test x$gcc_no_link = xyes; then
12120   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12121 fi
12122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12123 /* end confdefs.h.  */
12124
12125 /* Override any GCC internal prototype to avoid an error.
12126    Use char because int might match the return type of a GCC
12127    builtin and then its argument prototype would still apply.  */
12128 #ifdef __cplusplus
12129 extern "C"
12130 #endif
12131 char fesetenv ();
12132 int
12133 main ()
12134 {
12135 return fesetenv ();
12136   ;
12137   return 0;
12138 }
12139 _ACEOF
12140 if ac_fn_c_try_link "$LINENO"; then :
12141   ac_cv_lib_m_fesetenv=yes
12142 else
12143   ac_cv_lib_m_fesetenv=no
12144 fi
12145 rm -f core conftest.err conftest.$ac_objext \
12146     conftest$ac_exeext conftest.$ac_ext
12147 LIBS=$ac_check_lib_save_LIBS
12148 fi
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12150 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12151 if test "x$ac_cv_lib_m_fesetenv" = x""yes; then :
12152
12153 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12154
12155 fi
12156
12157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12158 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12159 if test "${ac_cv_lib_m_fetestexcept+set}" = set; then :
12160   $as_echo_n "(cached) " >&6
12161 else
12162   ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-lm  $LIBS"
12164 if test x$gcc_no_link = xyes; then
12165   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12166 fi
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h.  */
12169
12170 /* Override any GCC internal prototype to avoid an error.
12171    Use char because int might match the return type of a GCC
12172    builtin and then its argument prototype would still apply.  */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char fetestexcept ();
12177 int
12178 main ()
12179 {
12180 return fetestexcept ();
12181   ;
12182   return 0;
12183 }
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186   ac_cv_lib_m_fetestexcept=yes
12187 else
12188   ac_cv_lib_m_fetestexcept=no
12189 fi
12190 rm -f core conftest.err conftest.$ac_objext \
12191     conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12193 fi
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12195 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12196 if test "x$ac_cv_lib_m_fetestexcept" = x""yes; then :
12197
12198 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12199
12200 fi
12201
12202 else
12203   if test "x$ac_cv_lib_m_sqrtl" = x""yes; then
12204
12205 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12206
12207   fi
12208   if test "x$ac_cv_lib_m_cbrtl" = x""yes; then
12209
12210 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12211
12212   fi
12213   if test "x$ac_cv_lib_m_feholdexcept" = x""yes; then
12214
12215 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12216
12217   fi
12218   if test "x$ac_cv_lib_m_fesetround" = x""yes; then
12219
12220 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12221
12222   fi
12223   if test "x$ac_cv_lib_m_feupdateenv" = x""yes; then
12224
12225 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12226
12227   fi
12228   if test "x$ac_cv_lib_m_fesetenv" = x""yes; then
12229
12230 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12231
12232   fi
12233   if test "x$ac_cv_lib_m_fetestexcept" = x""yes; then
12234
12235 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12236
12237   fi
12238 fi
12239
12240 # Check for symbol versioning (copied from libssp).
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12242 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12243 if test x$gcc_no_link = xyes; then
12244   # If we cannot link, we cannot build shared libraries, so do not use
12245   # symbol versioning.
12246   quadmath_use_symver=no
12247 else
12248   save_LDFLAGS="$LDFLAGS"
12249   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12250   cat > conftest.map <<EOF
12251 FOO_1.0 {
12252   global: *foo*; bar; local: *;
12253 };
12254 EOF
12255   if test x$gcc_no_link = xyes; then
12256   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12257 fi
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h.  */
12260 int foo;
12261 int
12262 main ()
12263 {
12264
12265   ;
12266   return 0;
12267 }
12268 _ACEOF
12269 if ac_fn_c_try_link "$LINENO"; then :
12270   quadmath_use_symver=gnu
12271 else
12272   quadmath_use_symver=no
12273 fi
12274 rm -f core conftest.err conftest.$ac_objext \
12275     conftest$ac_exeext conftest.$ac_ext
12276   if test x$quadmath_use_symver = xno; then
12277     case "$target_os" in
12278       solaris2*)
12279         LDFLAGS="$save_LDFLAGS"
12280         LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12281         # Sun ld cannot handle wildcards and treats all entries as undefined.
12282         cat > conftest.map <<EOF
12283 FOO_1.0 {
12284   global: foo; local: *;
12285 };
12286 EOF
12287         if test x$gcc_no_link = xyes; then
12288   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12289 fi
12290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291 /* end confdefs.h.  */
12292 int foo;
12293 int
12294 main ()
12295 {
12296
12297   ;
12298   return 0;
12299 }
12300 _ACEOF
12301 if ac_fn_c_try_link "$LINENO"; then :
12302   quadmath_use_symver=sun
12303 else
12304   quadmath_use_symver=no
12305 fi
12306 rm -f core conftest.err conftest.$ac_objext \
12307     conftest$ac_exeext conftest.$ac_ext
12308         ;;
12309     esac
12310   fi
12311   LDFLAGS="$save_LDFLAGS"
12312 fi
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12314 $as_echo "$quadmath_use_symver" >&6; }
12315  if test "x$quadmath_use_symver" != xno; then
12316   LIBQUAD_USE_SYMVER_TRUE=
12317   LIBQUAD_USE_SYMVER_FALSE='#'
12318 else
12319   LIBQUAD_USE_SYMVER_TRUE='#'
12320   LIBQUAD_USE_SYMVER_FALSE=
12321 fi
12322
12323  if test "x$quadmath_use_symver" = xgnu; then
12324   LIBQUAD_USE_SYMVER_GNU_TRUE=
12325   LIBQUAD_USE_SYMVER_GNU_FALSE='#'
12326 else
12327   LIBQUAD_USE_SYMVER_GNU_TRUE='#'
12328   LIBQUAD_USE_SYMVER_GNU_FALSE=
12329 fi
12330
12331  if test "x$quadmath_use_symver" = xsun; then
12332   LIBQUAD_USE_SYMVER_SUN_TRUE=
12333   LIBQUAD_USE_SYMVER_SUN_FALSE='#'
12334 else
12335   LIBQUAD_USE_SYMVER_SUN_TRUE='#'
12336   LIBQUAD_USE_SYMVER_SUN_FALSE=
12337 fi
12338
12339
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12341 $as_echo_n "checking whether __float128 is supported... " >&6; }
12342 if test "${libquad_cv_have_float128+set}" = set; then :
12343   $as_echo_n "(cached) " >&6
12344 else
12345   if test x$gcc_no_link = xyes; then
12346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12347 /* end confdefs.h.  */
12348
12349     typedef _Complex float __attribute__((mode(TC))) __complex128;
12350
12351     __float128 foo (__float128 x)
12352     {
12353
12354      __complex128 z1, z2;
12355
12356      z1 = x;
12357      z2 = x / 7.Q;
12358      z2 /= z1;
12359
12360      return (__float128) z2;
12361     }
12362
12363     __float128 bar (__float128 x)
12364     {
12365       return x * __builtin_huge_valq ();
12366     }
12367
12368 int
12369 main ()
12370 {
12371
12372     foo (1.2Q);
12373     bar (1.2Q);
12374
12375   ;
12376   return 0;
12377 }
12378 _ACEOF
12379 if ac_fn_c_try_compile "$LINENO"; then :
12380
12381     libquad_cv_have_float128=yes
12382
12383 else
12384
12385     libquad_cv_have_float128=no
12386
12387 fi
12388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12389 else
12390   if test x$gcc_no_link = xyes; then
12391   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12392 fi
12393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12394 /* end confdefs.h.  */
12395
12396     typedef _Complex float __attribute__((mode(TC))) __complex128;
12397
12398     __float128 foo (__float128 x)
12399     {
12400
12401      __complex128 z1, z2;
12402
12403      z1 = x;
12404      z2 = x / 7.Q;
12405      z2 /= z1;
12406
12407      return (__float128) z2;
12408     }
12409
12410     __float128 bar (__float128 x)
12411     {
12412       return x * __builtin_huge_valq ();
12413     }
12414
12415 int
12416 main ()
12417 {
12418
12419     foo (1.2Q);
12420     bar (1.2Q);
12421
12422   ;
12423   return 0;
12424 }
12425 _ACEOF
12426 if ac_fn_c_try_link "$LINENO"; then :
12427
12428     libquad_cv_have_float128=yes
12429
12430 else
12431
12432     libquad_cv_have_float128=no
12433
12434 fi
12435 rm -f core conftest.err conftest.$ac_objext \
12436     conftest$ac_exeext conftest.$ac_ext
12437 fi
12438 fi
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12440 $as_echo "$libquad_cv_have_float128" >&6; }
12441  if test "x$libquad_cv_have_float128" = xyes; then
12442   BUILD_LIBQUADMATH_TRUE=
12443   BUILD_LIBQUADMATH_FALSE='#'
12444 else
12445   BUILD_LIBQUADMATH_TRUE='#'
12446   BUILD_LIBQUADMATH_FALSE=
12447 fi
12448
12449
12450 cat >confcache <<\_ACEOF
12451 # This file is a shell script that caches the results of configure
12452 # tests run on this system so they can be shared between configure
12453 # scripts and configure runs, see configure's option --config-cache.
12454 # It is not useful on other systems.  If it contains results you don't
12455 # want to keep, you may remove or edit it.
12456 #
12457 # config.status only pays attention to the cache file if you give it
12458 # the --recheck option to rerun configure.
12459 #
12460 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12461 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12462 # following values.
12463
12464 _ACEOF
12465
12466 # The following way of writing the cache mishandles newlines in values,
12467 # but we know of no workaround that is simple, portable, and efficient.
12468 # So, we kill variables containing newlines.
12469 # Ultrix sh set writes to stderr and can't be redirected directly,
12470 # and sets the high bit in the cache file unless we assign to the vars.
12471 (
12472   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12473     eval ac_val=\$$ac_var
12474     case $ac_val in #(
12475     *${as_nl}*)
12476       case $ac_var in #(
12477       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12478 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12479       esac
12480       case $ac_var in #(
12481       _ | IFS | as_nl) ;; #(
12482       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12483       *) { eval $ac_var=; unset $ac_var;} ;;
12484       esac ;;
12485     esac
12486   done
12487
12488   (set) 2>&1 |
12489     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12490     *${as_nl}ac_space=\ *)
12491       # `set' does not quote correctly, so add quotes: double-quote
12492       # substitution turns \\\\ into \\, and sed turns \\ into \.
12493       sed -n \
12494         "s/'/'\\\\''/g;
12495           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12496       ;; #(
12497     *)
12498       # `set' quotes correctly as required by POSIX, so do not add quotes.
12499       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12500       ;;
12501     esac |
12502     sort
12503 ) |
12504   sed '
12505      /^ac_cv_env_/b end
12506      t clear
12507      :clear
12508      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12509      t end
12510      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12511      :end' >>confcache
12512 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12513   if test -w "$cache_file"; then
12514     test "x$cache_file" != "x/dev/null" &&
12515       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12516 $as_echo "$as_me: updating cache $cache_file" >&6;}
12517     cat confcache >$cache_file
12518   else
12519     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12520 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12521   fi
12522 fi
12523 rm -f confcache
12524
12525 if test ${multilib} = yes; then
12526   multilib_arg="--enable-multilib"
12527 else
12528   multilib_arg=
12529 fi
12530
12531
12532 # We would like our source tree to be readonly. However when releases or
12533 # pre-releases are generated, the flex/bison generated files as well as the
12534 # various formats of manuals need to be included along with the rest of the
12535 # sources.  Therefore we have --enable-generated-files-in-srcdir to do
12536 # just that.
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
12538 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
12539 # Check whether --enable-generated-files-in-srcdir was given.
12540 if test "${enable_generated_files_in_srcdir+set}" = set; then :
12541   enableval=$enable_generated_files_in_srcdir; case "$enableval" in
12542  yes) enable_generated_files_in_srcdir=yes ;;
12543  no)  enable_generated_files_in_srcdir=no ;;
12544  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
12545  esac
12546 else
12547   enable_generated_files_in_srcdir=no
12548 fi
12549
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
12551 $as_echo "$enable_generated_files_in_srcdir" >&6; }
12552  if test "$enable_generated_files_in_srcdir" = yes; then
12553   GENINSRC_TRUE=
12554   GENINSRC_FALSE='#'
12555 else
12556   GENINSRC_TRUE='#'
12557   GENINSRC_FALSE=
12558 fi
12559
12560
12561
12562 ac_config_files="$ac_config_files Makefile"
12563
12564 cat >confcache <<\_ACEOF
12565 # This file is a shell script that caches the results of configure
12566 # tests run on this system so they can be shared between configure
12567 # scripts and configure runs, see configure's option --config-cache.
12568 # It is not useful on other systems.  If it contains results you don't
12569 # want to keep, you may remove or edit it.
12570 #
12571 # config.status only pays attention to the cache file if you give it
12572 # the --recheck option to rerun configure.
12573 #
12574 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12575 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12576 # following values.
12577
12578 _ACEOF
12579
12580 # The following way of writing the cache mishandles newlines in values,
12581 # but we know of no workaround that is simple, portable, and efficient.
12582 # So, we kill variables containing newlines.
12583 # Ultrix sh set writes to stderr and can't be redirected directly,
12584 # and sets the high bit in the cache file unless we assign to the vars.
12585 (
12586   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12587     eval ac_val=\$$ac_var
12588     case $ac_val in #(
12589     *${as_nl}*)
12590       case $ac_var in #(
12591       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12593       esac
12594       case $ac_var in #(
12595       _ | IFS | as_nl) ;; #(
12596       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12597       *) { eval $ac_var=; unset $ac_var;} ;;
12598       esac ;;
12599     esac
12600   done
12601
12602   (set) 2>&1 |
12603     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12604     *${as_nl}ac_space=\ *)
12605       # `set' does not quote correctly, so add quotes: double-quote
12606       # substitution turns \\\\ into \\, and sed turns \\ into \.
12607       sed -n \
12608         "s/'/'\\\\''/g;
12609           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12610       ;; #(
12611     *)
12612       # `set' quotes correctly as required by POSIX, so do not add quotes.
12613       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12614       ;;
12615     esac |
12616     sort
12617 ) |
12618   sed '
12619      /^ac_cv_env_/b end
12620      t clear
12621      :clear
12622      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12623      t end
12624      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12625      :end' >>confcache
12626 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12627   if test -w "$cache_file"; then
12628     test "x$cache_file" != "x/dev/null" &&
12629       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12630 $as_echo "$as_me: updating cache $cache_file" >&6;}
12631     cat confcache >$cache_file
12632   else
12633     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12634 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12635   fi
12636 fi
12637 rm -f confcache
12638
12639 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12640 # Let make expand exec_prefix.
12641 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12642
12643 DEFS=-DHAVE_CONFIG_H
12644
12645 ac_libobjs=
12646 ac_ltlibobjs=
12647 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12648   # 1. Remove the extension, and $U if already installed.
12649   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12650   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12651   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12652   #    will be set to the directory where LIBOBJS objects are built.
12653   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12654   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12655 done
12656 LIBOBJS=$ac_libobjs
12657
12658 LTLIBOBJS=$ac_ltlibobjs
12659
12660
12661  if test -n "$EXEEXT"; then
12662   am__EXEEXT_TRUE=
12663   am__EXEEXT_FALSE='#'
12664 else
12665   am__EXEEXT_TRUE='#'
12666   am__EXEEXT_FALSE=
12667 fi
12668
12669 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
12670   as_fn_error "conditional \"BUILD_INFO\" was never defined.
12671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12672 fi
12673 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12674   as_fn_error "conditional \"AMDEP\" was never defined.
12675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12676 fi
12677 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12678   as_fn_error "conditional \"am__fastdepCC\" was never defined.
12679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12680 fi
12681 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12682   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12684 fi
12685 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12686   as_fn_error "conditional \"am__fastdepCC\" was never defined.
12687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12688 fi
12689 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
12690   as_fn_error "conditional \"LIBQUAD_USE_SYMVER\" was never defined.
12691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12692 fi
12693 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
12694   as_fn_error "conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
12695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12696 fi
12697 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
12698   as_fn_error "conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
12699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12700 fi
12701 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
12702   as_fn_error "conditional \"BUILD_LIBQUADMATH\" was never defined.
12703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12704 fi
12705 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
12706   as_fn_error "conditional \"GENINSRC\" was never defined.
12707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12708 fi
12709
12710 : ${CONFIG_STATUS=./config.status}
12711 ac_write_fail=0
12712 ac_clean_files_save=$ac_clean_files
12713 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12715 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12716 as_write_fail=0
12717 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12718 #! $SHELL
12719 # Generated by $as_me.
12720 # Run this file to recreate the current configuration.
12721 # Compiler output produced by configure, useful for debugging
12722 # configure, is in config.log if it exists.
12723
12724 debug=false
12725 ac_cs_recheck=false
12726 ac_cs_silent=false
12727
12728 SHELL=\${CONFIG_SHELL-$SHELL}
12729 export SHELL
12730 _ASEOF
12731 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12732 ## -------------------- ##
12733 ## M4sh Initialization. ##
12734 ## -------------------- ##
12735
12736 # Be more Bourne compatible
12737 DUALCASE=1; export DUALCASE # for MKS sh
12738 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12739   emulate sh
12740   NULLCMD=:
12741   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12742   # is contrary to our usage.  Disable this feature.
12743   alias -g '${1+"$@"}'='"$@"'
12744   setopt NO_GLOB_SUBST
12745 else
12746   case `(set -o) 2>/dev/null` in #(
12747   *posix*) :
12748     set -o posix ;; #(
12749   *) :
12750      ;;
12751 esac
12752 fi
12753
12754
12755 as_nl='
12756 '
12757 export as_nl
12758 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12759 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12760 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12761 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12762 # Prefer a ksh shell builtin over an external printf program on Solaris,
12763 # but without wasting forks for bash or zsh.
12764 if test -z "$BASH_VERSION$ZSH_VERSION" \
12765     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12766   as_echo='print -r --'
12767   as_echo_n='print -rn --'
12768 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12769   as_echo='printf %s\n'
12770   as_echo_n='printf %s'
12771 else
12772   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12773     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12774     as_echo_n='/usr/ucb/echo -n'
12775   else
12776     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12777     as_echo_n_body='eval
12778       arg=$1;
12779       case $arg in #(
12780       *"$as_nl"*)
12781         expr "X$arg" : "X\\(.*\\)$as_nl";
12782         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12783       esac;
12784       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12785     '
12786     export as_echo_n_body
12787     as_echo_n='sh -c $as_echo_n_body as_echo'
12788   fi
12789   export as_echo_body
12790   as_echo='sh -c $as_echo_body as_echo'
12791 fi
12792
12793 # The user is always right.
12794 if test "${PATH_SEPARATOR+set}" != set; then
12795   PATH_SEPARATOR=:
12796   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12797     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12798       PATH_SEPARATOR=';'
12799   }
12800 fi
12801
12802
12803 # IFS
12804 # We need space, tab and new line, in precisely that order.  Quoting is
12805 # there to prevent editors from complaining about space-tab.
12806 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12807 # splitting by setting IFS to empty value.)
12808 IFS=" ""        $as_nl"
12809
12810 # Find who we are.  Look in the path if we contain no directory separator.
12811 case $0 in #((
12812   *[\\/]* ) as_myself=$0 ;;
12813   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12814 for as_dir in $PATH
12815 do
12816   IFS=$as_save_IFS
12817   test -z "$as_dir" && as_dir=.
12818     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12819   done
12820 IFS=$as_save_IFS
12821
12822      ;;
12823 esac
12824 # We did not find ourselves, most probably we were run as `sh COMMAND'
12825 # in which case we are not to be found in the path.
12826 if test "x$as_myself" = x; then
12827   as_myself=$0
12828 fi
12829 if test ! -f "$as_myself"; then
12830   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12831   exit 1
12832 fi
12833
12834 # Unset variables that we do not need and which cause bugs (e.g. in
12835 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12836 # suppresses any "Segmentation fault" message there.  '((' could
12837 # trigger a bug in pdksh 5.2.14.
12838 for as_var in BASH_ENV ENV MAIL MAILPATH
12839 do eval test x\${$as_var+set} = xset \
12840   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12841 done
12842 PS1='$ '
12843 PS2='> '
12844 PS4='+ '
12845
12846 # NLS nuisances.
12847 LC_ALL=C
12848 export LC_ALL
12849 LANGUAGE=C
12850 export LANGUAGE
12851
12852 # CDPATH.
12853 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12854
12855
12856 # as_fn_error ERROR [LINENO LOG_FD]
12857 # ---------------------------------
12858 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12859 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12860 # script with status $?, using 1 if that was 0.
12861 as_fn_error ()
12862 {
12863   as_status=$?; test $as_status -eq 0 && as_status=1
12864   if test "$3"; then
12865     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12866     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12867   fi
12868   $as_echo "$as_me: error: $1" >&2
12869   as_fn_exit $as_status
12870 } # as_fn_error
12871
12872
12873 # as_fn_set_status STATUS
12874 # -----------------------
12875 # Set $? to STATUS, without forking.
12876 as_fn_set_status ()
12877 {
12878   return $1
12879 } # as_fn_set_status
12880
12881 # as_fn_exit STATUS
12882 # -----------------
12883 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12884 as_fn_exit ()
12885 {
12886   set +e
12887   as_fn_set_status $1
12888   exit $1
12889 } # as_fn_exit
12890
12891 # as_fn_unset VAR
12892 # ---------------
12893 # Portably unset VAR.
12894 as_fn_unset ()
12895 {
12896   { eval $1=; unset $1;}
12897 }
12898 as_unset=as_fn_unset
12899 # as_fn_append VAR VALUE
12900 # ----------------------
12901 # Append the text in VALUE to the end of the definition contained in VAR. Take
12902 # advantage of any shell optimizations that allow amortized linear growth over
12903 # repeated appends, instead of the typical quadratic growth present in naive
12904 # implementations.
12905 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12906   eval 'as_fn_append ()
12907   {
12908     eval $1+=\$2
12909   }'
12910 else
12911   as_fn_append ()
12912   {
12913     eval $1=\$$1\$2
12914   }
12915 fi # as_fn_append
12916
12917 # as_fn_arith ARG...
12918 # ------------------
12919 # Perform arithmetic evaluation on the ARGs, and store the result in the
12920 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12921 # must be portable across $(()) and expr.
12922 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12923   eval 'as_fn_arith ()
12924   {
12925     as_val=$(( $* ))
12926   }'
12927 else
12928   as_fn_arith ()
12929   {
12930     as_val=`expr "$@" || test $? -eq 1`
12931   }
12932 fi # as_fn_arith
12933
12934
12935 if expr a : '\(a\)' >/dev/null 2>&1 &&
12936    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12937   as_expr=expr
12938 else
12939   as_expr=false
12940 fi
12941
12942 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12943   as_basename=basename
12944 else
12945   as_basename=false
12946 fi
12947
12948 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12949   as_dirname=dirname
12950 else
12951   as_dirname=false
12952 fi
12953
12954 as_me=`$as_basename -- "$0" ||
12955 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12956          X"$0" : 'X\(//\)$' \| \
12957          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12958 $as_echo X/"$0" |
12959     sed '/^.*\/\([^/][^/]*\)\/*$/{
12960             s//\1/
12961             q
12962           }
12963           /^X\/\(\/\/\)$/{
12964             s//\1/
12965             q
12966           }
12967           /^X\/\(\/\).*/{
12968             s//\1/
12969             q
12970           }
12971           s/.*/./; q'`
12972
12973 # Avoid depending upon Character Ranges.
12974 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12975 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12976 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12977 as_cr_digits='0123456789'
12978 as_cr_alnum=$as_cr_Letters$as_cr_digits
12979
12980 ECHO_C= ECHO_N= ECHO_T=
12981 case `echo -n x` in #(((((
12982 -n*)
12983   case `echo 'xy\c'` in
12984   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12985   xy)  ECHO_C='\c';;
12986   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12987        ECHO_T=' ';;
12988   esac;;
12989 *)
12990   ECHO_N='-n';;
12991 esac
12992
12993 rm -f conf$$ conf$$.exe conf$$.file
12994 if test -d conf$$.dir; then
12995   rm -f conf$$.dir/conf$$.file
12996 else
12997   rm -f conf$$.dir
12998   mkdir conf$$.dir 2>/dev/null
12999 fi
13000 if (echo >conf$$.file) 2>/dev/null; then
13001   if ln -s conf$$.file conf$$ 2>/dev/null; then
13002     as_ln_s='ln -s'
13003     # ... but there are two gotchas:
13004     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13005     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13006     # In both cases, we have to default to `cp -p'.
13007     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13008       as_ln_s='cp -p'
13009   elif ln conf$$.file conf$$ 2>/dev/null; then
13010     as_ln_s=ln
13011   else
13012     as_ln_s='cp -p'
13013   fi
13014 else
13015   as_ln_s='cp -p'
13016 fi
13017 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13018 rmdir conf$$.dir 2>/dev/null
13019
13020
13021 # as_fn_mkdir_p
13022 # -------------
13023 # Create "$as_dir" as a directory, including parents if necessary.
13024 as_fn_mkdir_p ()
13025 {
13026
13027   case $as_dir in #(
13028   -*) as_dir=./$as_dir;;
13029   esac
13030   test -d "$as_dir" || eval $as_mkdir_p || {
13031     as_dirs=
13032     while :; do
13033       case $as_dir in #(
13034       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13035       *) as_qdir=$as_dir;;
13036       esac
13037       as_dirs="'$as_qdir' $as_dirs"
13038       as_dir=`$as_dirname -- "$as_dir" ||
13039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13040          X"$as_dir" : 'X\(//\)[^/]' \| \
13041          X"$as_dir" : 'X\(//\)$' \| \
13042          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13043 $as_echo X"$as_dir" |
13044     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13045             s//\1/
13046             q
13047           }
13048           /^X\(\/\/\)[^/].*/{
13049             s//\1/
13050             q
13051           }
13052           /^X\(\/\/\)$/{
13053             s//\1/
13054             q
13055           }
13056           /^X\(\/\).*/{
13057             s//\1/
13058             q
13059           }
13060           s/.*/./; q'`
13061       test -d "$as_dir" && break
13062     done
13063     test -z "$as_dirs" || eval "mkdir $as_dirs"
13064   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13065
13066
13067 } # as_fn_mkdir_p
13068 if mkdir -p . 2>/dev/null; then
13069   as_mkdir_p='mkdir -p "$as_dir"'
13070 else
13071   test -d ./-p && rmdir ./-p
13072   as_mkdir_p=false
13073 fi
13074
13075 if test -x / >/dev/null 2>&1; then
13076   as_test_x='test -x'
13077 else
13078   if ls -dL / >/dev/null 2>&1; then
13079     as_ls_L_option=L
13080   else
13081     as_ls_L_option=
13082   fi
13083   as_test_x='
13084     eval sh -c '\''
13085       if test -d "$1"; then
13086         test -d "$1/.";
13087       else
13088         case $1 in #(
13089         -*)set "./$1";;
13090         esac;
13091         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13092         ???[sx]*):;;*)false;;esac;fi
13093     '\'' sh
13094   '
13095 fi
13096 as_executable_p=$as_test_x
13097
13098 # Sed expression to map a string onto a valid CPP name.
13099 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13100
13101 # Sed expression to map a string onto a valid variable name.
13102 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13103
13104
13105 exec 6>&1
13106 ## ----------------------------------- ##
13107 ## Main body of $CONFIG_STATUS script. ##
13108 ## ----------------------------------- ##
13109 _ASEOF
13110 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13111
13112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13113 # Save the log message, to keep $0 and so on meaningful, and to
13114 # report actual input values of CONFIG_FILES etc. instead of their
13115 # values after options handling.
13116 ac_log="
13117 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13118 generated by GNU Autoconf 2.64.  Invocation command line was
13119
13120   CONFIG_FILES    = $CONFIG_FILES
13121   CONFIG_HEADERS  = $CONFIG_HEADERS
13122   CONFIG_LINKS    = $CONFIG_LINKS
13123   CONFIG_COMMANDS = $CONFIG_COMMANDS
13124   $ $0 $@
13125
13126 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13127 "
13128
13129 _ACEOF
13130
13131 case $ac_config_files in *"
13132 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13133 esac
13134
13135 case $ac_config_headers in *"
13136 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13137 esac
13138
13139
13140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13141 # Files that config.status was made for.
13142 config_files="$ac_config_files"
13143 config_headers="$ac_config_headers"
13144 config_commands="$ac_config_commands"
13145
13146 _ACEOF
13147
13148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13149 ac_cs_usage="\
13150 \`$as_me' instantiates files and other configuration actions
13151 from templates according to the current configuration.  Unless the files
13152 and actions are specified as TAGs, all are instantiated by default.
13153
13154 Usage: $0 [OPTION]... [TAG]...
13155
13156   -h, --help       print this help, then exit
13157   -V, --version    print version number and configuration settings, then exit
13158   -q, --quiet, --silent
13159                    do not print progress messages
13160   -d, --debug      don't remove temporary files
13161       --recheck    update $as_me by reconfiguring in the same conditions
13162       --file=FILE[:TEMPLATE]
13163                    instantiate the configuration file FILE
13164       --header=FILE[:TEMPLATE]
13165                    instantiate the configuration header FILE
13166
13167 Configuration files:
13168 $config_files
13169
13170 Configuration headers:
13171 $config_headers
13172
13173 Configuration commands:
13174 $config_commands
13175
13176 Report bugs to the package provider."
13177
13178 _ACEOF
13179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13180 ac_cs_version="\\
13181 GCC Quad-precision Math Library config.status 0.1
13182 configured by $0, generated by GNU Autoconf 2.64,
13183   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13184
13185 Copyright (C) 2009 Free Software Foundation, Inc.
13186 This config.status script is free software; the Free Software Foundation
13187 gives unlimited permission to copy, distribute and modify it."
13188
13189 ac_pwd='$ac_pwd'
13190 srcdir='$srcdir'
13191 INSTALL='$INSTALL'
13192 MKDIR_P='$MKDIR_P'
13193 AWK='$AWK'
13194 test -n "\$AWK" || AWK=awk
13195 _ACEOF
13196
13197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13198 # The default lists apply if the user does not specify any file.
13199 ac_need_defaults=:
13200 while test $# != 0
13201 do
13202   case $1 in
13203   --*=*)
13204     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13205     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13206     ac_shift=:
13207     ;;
13208   *)
13209     ac_option=$1
13210     ac_optarg=$2
13211     ac_shift=shift
13212     ;;
13213   esac
13214
13215   case $ac_option in
13216   # Handling of the options.
13217   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13218     ac_cs_recheck=: ;;
13219   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13220     $as_echo "$ac_cs_version"; exit ;;
13221   --debug | --debu | --deb | --de | --d | -d )
13222     debug=: ;;
13223   --file | --fil | --fi | --f )
13224     $ac_shift
13225     case $ac_optarg in
13226     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13227     esac
13228     as_fn_append CONFIG_FILES " '$ac_optarg'"
13229     ac_need_defaults=false;;
13230   --header | --heade | --head | --hea )
13231     $ac_shift
13232     case $ac_optarg in
13233     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13234     esac
13235     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13236     ac_need_defaults=false;;
13237   --he | --h)
13238     # Conflict between --help and --header
13239     as_fn_error "ambiguous option: \`$1'
13240 Try \`$0 --help' for more information.";;
13241   --help | --hel | -h )
13242     $as_echo "$ac_cs_usage"; exit ;;
13243   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13244   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13245     ac_cs_silent=: ;;
13246
13247   # This is an error.
13248   -*) as_fn_error "unrecognized option: \`$1'
13249 Try \`$0 --help' for more information." ;;
13250
13251   *) as_fn_append ac_config_targets " $1"
13252      ac_need_defaults=false ;;
13253
13254   esac
13255   shift
13256 done
13257
13258 ac_configure_extra_args=
13259
13260 if $ac_cs_silent; then
13261   exec 6>/dev/null
13262   ac_configure_extra_args="$ac_configure_extra_args --silent"
13263 fi
13264
13265 _ACEOF
13266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13267 if \$ac_cs_recheck; then
13268   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13269   shift
13270   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13271   CONFIG_SHELL='$SHELL'
13272   export CONFIG_SHELL
13273   exec "\$@"
13274 fi
13275
13276 _ACEOF
13277 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13278 exec 5>>config.log
13279 {
13280   echo
13281   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13282 ## Running $as_me. ##
13283 _ASBOX
13284   $as_echo "$ac_log"
13285 } >&5
13286
13287 _ACEOF
13288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13289 #
13290 # INIT-COMMANDS
13291 #
13292 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13293
13294
13295 # The HP-UX ksh and POSIX shell print the target directory to stdout
13296 # if CDPATH is set.
13297 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13298
13299 sed_quote_subst='$sed_quote_subst'
13300 double_quote_subst='$double_quote_subst'
13301 delay_variable_subst='$delay_variable_subst'
13302 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13303 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13304 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13305 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13306 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13307 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13308 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13309 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13310 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13311 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13312 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13313 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13314 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13315 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13316 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13317 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13318 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13319 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13320 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13321 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13322 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13323 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13324 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13325 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13326 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13327 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13328 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13329 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13330 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13331 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13332 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13333 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13334 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13335 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13336 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13337 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13338 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13339 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13340 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13341 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13342 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13343 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13344 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13345 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13346 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13347 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13348 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13349 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13350 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"`'
13351 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13352 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13353 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13354 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13355 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13356 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13357 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13358 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13359 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13360 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13361 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13362 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13363 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13364 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13365 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13366 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13367 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13368 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13369 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13370 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13371 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13372 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13373 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13374 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13375 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13376 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13377 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13378 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13379 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13380 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13381 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13382 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13383 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13384 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13385 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13386 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13387 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13388 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13389 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13390 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13391 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13392 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13393 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13394 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13395 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13396 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13397 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13398 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13399 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13400 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13401 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13402 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13403 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13404 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13405 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13406 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13407 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13408 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13409 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13410 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13411 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13412 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13413 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13414 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13415 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13416 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13417 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13418 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13419 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13420 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13421 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13422
13423 LTCC='$LTCC'
13424 LTCFLAGS='$LTCFLAGS'
13425 compiler='$compiler_DEFAULT'
13426
13427 # A function that is used when there is no print builtin or printf.
13428 func_fallback_echo ()
13429 {
13430   eval 'cat <<_LTECHO_EOF
13431 \$1
13432 _LTECHO_EOF'
13433 }
13434
13435 # Quote evaled strings.
13436 for var in SHELL \
13437 ECHO \
13438 SED \
13439 GREP \
13440 EGREP \
13441 FGREP \
13442 LD \
13443 NM \
13444 LN_S \
13445 lt_SP2NL \
13446 lt_NL2SP \
13447 reload_flag \
13448 OBJDUMP \
13449 deplibs_check_method \
13450 file_magic_cmd \
13451 AR \
13452 AR_FLAGS \
13453 STRIP \
13454 RANLIB \
13455 CC \
13456 CFLAGS \
13457 compiler \
13458 lt_cv_sys_global_symbol_pipe \
13459 lt_cv_sys_global_symbol_to_cdecl \
13460 lt_cv_sys_global_symbol_to_c_name_address \
13461 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13462 lt_prog_compiler_no_builtin_flag \
13463 lt_prog_compiler_wl \
13464 lt_prog_compiler_pic \
13465 lt_prog_compiler_static \
13466 lt_cv_prog_compiler_c_o \
13467 need_locks \
13468 DSYMUTIL \
13469 NMEDIT \
13470 LIPO \
13471 OTOOL \
13472 OTOOL64 \
13473 shrext_cmds \
13474 export_dynamic_flag_spec \
13475 whole_archive_flag_spec \
13476 compiler_needs_object \
13477 with_gnu_ld \
13478 allow_undefined_flag \
13479 no_undefined_flag \
13480 hardcode_libdir_flag_spec \
13481 hardcode_libdir_flag_spec_ld \
13482 hardcode_libdir_separator \
13483 fix_srcfile_path \
13484 exclude_expsyms \
13485 include_expsyms \
13486 file_list_spec \
13487 variables_saved_for_relink \
13488 libname_spec \
13489 library_names_spec \
13490 soname_spec \
13491 install_override_mode \
13492 finish_eval \
13493 old_striplib \
13494 striplib; do
13495     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13496     *[\\\\\\\`\\"\\\$]*)
13497       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13498       ;;
13499     *)
13500       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13501       ;;
13502     esac
13503 done
13504
13505 # Double-quote double-evaled strings.
13506 for var in reload_cmds \
13507 old_postinstall_cmds \
13508 old_postuninstall_cmds \
13509 old_archive_cmds \
13510 extract_expsyms_cmds \
13511 old_archive_from_new_cmds \
13512 old_archive_from_expsyms_cmds \
13513 archive_cmds \
13514 archive_expsym_cmds \
13515 module_cmds \
13516 module_expsym_cmds \
13517 export_symbols_cmds \
13518 prelink_cmds \
13519 postinstall_cmds \
13520 postuninstall_cmds \
13521 finish_cmds \
13522 sys_lib_search_path_spec \
13523 sys_lib_dlsearch_path_spec; do
13524     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13525     *[\\\\\\\`\\"\\\$]*)
13526       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13527       ;;
13528     *)
13529       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13530       ;;
13531     esac
13532 done
13533
13534 ac_aux_dir='$ac_aux_dir'
13535 xsi_shell='$xsi_shell'
13536 lt_shell_append='$lt_shell_append'
13537
13538 # See if we are running on zsh, and set the options which allow our
13539 # commands through without removal of \ escapes INIT.
13540 if test -n "\${ZSH_VERSION+set}" ; then
13541    setopt NO_GLOB_SUBST
13542 fi
13543
13544
13545     PACKAGE='$PACKAGE'
13546     VERSION='$VERSION'
13547     TIMESTAMP='$TIMESTAMP'
13548     RM='$RM'
13549     ofile='$ofile'
13550
13551
13552
13553
13554 srcdir="$srcdir"
13555 host="$host"
13556 target="$target"
13557 with_multisubdir="$with_multisubdir"
13558 with_multisrctop="$with_multisrctop"
13559 with_target_subdir="$with_target_subdir"
13560 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13561 multi_basedir="$multi_basedir"
13562 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13563 CC="$CC"
13564 CXX="$CXX"
13565 GFORTRAN="$GFORTRAN"
13566 GCJ="$GCJ"
13567
13568 _ACEOF
13569
13570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13571
13572 # Handling of arguments.
13573 for ac_config_target in $ac_config_targets
13574 do
13575   case $ac_config_target in
13576     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13577     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13578     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13579     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13580     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13581
13582   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13583   esac
13584 done
13585
13586
13587 # If the user did not use the arguments to specify the items to instantiate,
13588 # then the envvar interface is used.  Set only those that are not.
13589 # We use the long form for the default assignment because of an extremely
13590 # bizarre bug on SunOS 4.1.3.
13591 if $ac_need_defaults; then
13592   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13593   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13594   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13595 fi
13596
13597 # Have a temporary directory for convenience.  Make it in the build tree
13598 # simply because there is no reason against having it here, and in addition,
13599 # creating and moving files from /tmp can sometimes cause problems.
13600 # Hook for its removal unless debugging.
13601 # Note that there is a small window in which the directory will not be cleaned:
13602 # after its creation but before its name has been assigned to `$tmp'.
13603 $debug ||
13604 {
13605   tmp=
13606   trap 'exit_status=$?
13607   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13608 ' 0
13609   trap 'as_fn_exit 1' 1 2 13 15
13610 }
13611 # Create a (secure) tmp directory for tmp files.
13612
13613 {
13614   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13615   test -n "$tmp" && test -d "$tmp"
13616 }  ||
13617 {
13618   tmp=./conf$$-$RANDOM
13619   (umask 077 && mkdir "$tmp")
13620 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13621
13622 # Set up the scripts for CONFIG_FILES section.
13623 # No need to generate them if there are no CONFIG_FILES.
13624 # This happens for instance with `./config.status config.h'.
13625 if test -n "$CONFIG_FILES"; then
13626
13627
13628 ac_cr=`echo X | tr X '\015'`
13629 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13630 # But we know of no other shell where ac_cr would be empty at this
13631 # point, so we can use a bashism as a fallback.
13632 if test "x$ac_cr" = x; then
13633   eval ac_cr=\$\'\\r\'
13634 fi
13635 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13636 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13637   ac_cs_awk_cr='\r'
13638 else
13639   ac_cs_awk_cr=$ac_cr
13640 fi
13641
13642 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13643 _ACEOF
13644
13645
13646 {
13647   echo "cat >conf$$subs.awk <<_ACEOF" &&
13648   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13649   echo "_ACEOF"
13650 } >conf$$subs.sh ||
13651   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13652 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13653 ac_delim='%!_!# '
13654 for ac_last_try in false false false false false :; do
13655   . ./conf$$subs.sh ||
13656     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13657
13658   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13659   if test $ac_delim_n = $ac_delim_num; then
13660     break
13661   elif $ac_last_try; then
13662     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13663   else
13664     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13665   fi
13666 done
13667 rm -f conf$$subs.sh
13668
13669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13670 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13671 _ACEOF
13672 sed -n '
13673 h
13674 s/^/S["/; s/!.*/"]=/
13675 p
13676 g
13677 s/^[^!]*!//
13678 :repl
13679 t repl
13680 s/'"$ac_delim"'$//
13681 t delim
13682 :nl
13683 h
13684 s/\(.\{148\}\).*/\1/
13685 t more1
13686 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13687 p
13688 n
13689 b repl
13690 :more1
13691 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13692 p
13693 g
13694 s/.\{148\}//
13695 t nl
13696 :delim
13697 h
13698 s/\(.\{148\}\).*/\1/
13699 t more2
13700 s/["\\]/\\&/g; s/^/"/; s/$/"/
13701 p
13702 b
13703 :more2
13704 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13705 p
13706 g
13707 s/.\{148\}//
13708 t delim
13709 ' <conf$$subs.awk | sed '
13710 /^[^""]/{
13711   N
13712   s/\n//
13713 }
13714 ' >>$CONFIG_STATUS || ac_write_fail=1
13715 rm -f conf$$subs.awk
13716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13717 _ACAWK
13718 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13719   for (key in S) S_is_set[key] = 1
13720   FS = "\a"
13721
13722 }
13723 {
13724   line = $ 0
13725   nfields = split(line, field, "@")
13726   substed = 0
13727   len = length(field[1])
13728   for (i = 2; i < nfields; i++) {
13729     key = field[i]
13730     keylen = length(key)
13731     if (S_is_set[key]) {
13732       value = S[key]
13733       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13734       len += length(value) + length(field[++i])
13735       substed = 1
13736     } else
13737       len += 1 + keylen
13738   }
13739
13740   print line
13741 }
13742
13743 _ACAWK
13744 _ACEOF
13745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13746 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13747   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13748 else
13749   cat
13750 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13751   || as_fn_error "could not setup config files machinery" "$LINENO" 5
13752 _ACEOF
13753
13754 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13755 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13756 # trailing colons and then remove the whole line if VPATH becomes empty
13757 # (actually we leave an empty line to preserve line numbers).
13758 if test "x$srcdir" = x.; then
13759   ac_vpsub='/^[  ]*VPATH[        ]*=/{
13760 s/:*\$(srcdir):*/:/
13761 s/:*\${srcdir}:*/:/
13762 s/:*@srcdir@:*/:/
13763 s/^\([^=]*=[     ]*\):*/\1/
13764 s/:*$//
13765 s/^[^=]*=[       ]*$//
13766 }'
13767 fi
13768
13769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13770 fi # test -n "$CONFIG_FILES"
13771
13772 # Set up the scripts for CONFIG_HEADERS section.
13773 # No need to generate them if there are no CONFIG_HEADERS.
13774 # This happens for instance with `./config.status Makefile'.
13775 if test -n "$CONFIG_HEADERS"; then
13776 cat >"$tmp/defines.awk" <<\_ACAWK ||
13777 BEGIN {
13778 _ACEOF
13779
13780 # Transform confdefs.h into an awk script `defines.awk', embedded as
13781 # here-document in config.status, that substitutes the proper values into
13782 # config.h.in to produce config.h.
13783
13784 # Create a delimiter string that does not exist in confdefs.h, to ease
13785 # handling of long lines.
13786 ac_delim='%!_!# '
13787 for ac_last_try in false false :; do
13788   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13789   if test -z "$ac_t"; then
13790     break
13791   elif $ac_last_try; then
13792     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13793   else
13794     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13795   fi
13796 done
13797
13798 # For the awk script, D is an array of macro values keyed by name,
13799 # likewise P contains macro parameters if any.  Preserve backslash
13800 # newline sequences.
13801
13802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13803 sed -n '
13804 s/.\{148\}/&'"$ac_delim"'/g
13805 t rset
13806 :rset
13807 s/^[     ]*#[    ]*define[       ][      ]*/ /
13808 t def
13809 d
13810 :def
13811 s/\\$//
13812 t bsnl
13813 s/["\\]/\\&/g
13814 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13815 D["\1"]=" \3"/p
13816 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13817 d
13818 :bsnl
13819 s/["\\]/\\&/g
13820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13821 D["\1"]=" \3\\\\\\n"\\/p
13822 t cont
13823 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13824 t cont
13825 d
13826 :cont
13827 n
13828 s/.\{148\}/&'"$ac_delim"'/g
13829 t clear
13830 :clear
13831 s/\\$//
13832 t bsnlc
13833 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13834 d
13835 :bsnlc
13836 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13837 b cont
13838 ' <confdefs.h | sed '
13839 s/'"$ac_delim"'/"\\\
13840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13841
13842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13843   for (key in D) D_is_set[key] = 1
13844   FS = "\a"
13845 }
13846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13847   line = \$ 0
13848   split(line, arg, " ")
13849   if (arg[1] == "#") {
13850     defundef = arg[2]
13851     mac1 = arg[3]
13852   } else {
13853     defundef = substr(arg[1], 2)
13854     mac1 = arg[2]
13855   }
13856   split(mac1, mac2, "(") #)
13857   macro = mac2[1]
13858   prefix = substr(line, 1, index(line, defundef) - 1)
13859   if (D_is_set[macro]) {
13860     # Preserve the white space surrounding the "#".
13861     print prefix "define", macro P[macro] D[macro]
13862     next
13863   } else {
13864     # Replace #undef with comments.  This is necessary, for example,
13865     # in the case of _POSIX_SOURCE, which is predefined and required
13866     # on some systems where configure will not decide to define it.
13867     if (defundef == "undef") {
13868       print "/*", prefix defundef, macro, "*/"
13869       next
13870     }
13871   }
13872 }
13873 { print }
13874 _ACAWK
13875 _ACEOF
13876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13877   as_fn_error "could not setup config headers machinery" "$LINENO" 5
13878 fi # test -n "$CONFIG_HEADERS"
13879
13880
13881 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13882 shift
13883 for ac_tag
13884 do
13885   case $ac_tag in
13886   :[FHLC]) ac_mode=$ac_tag; continue;;
13887   esac
13888   case $ac_mode$ac_tag in
13889   :[FHL]*:*);;
13890   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13891   :[FH]-) ac_tag=-:-;;
13892   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13893   esac
13894   ac_save_IFS=$IFS
13895   IFS=:
13896   set x $ac_tag
13897   IFS=$ac_save_IFS
13898   shift
13899   ac_file=$1
13900   shift
13901
13902   case $ac_mode in
13903   :L) ac_source=$1;;
13904   :[FH])
13905     ac_file_inputs=
13906     for ac_f
13907     do
13908       case $ac_f in
13909       -) ac_f="$tmp/stdin";;
13910       *) # Look for the file first in the build tree, then in the source tree
13911          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13912          # because $ac_f cannot contain `:'.
13913          test -f "$ac_f" ||
13914            case $ac_f in
13915            [\\/$]*) false;;
13916            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13917            esac ||
13918            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13919       esac
13920       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13921       as_fn_append ac_file_inputs " '$ac_f'"
13922     done
13923
13924     # Let's still pretend it is `configure' which instantiates (i.e., don't
13925     # use $as_me), people would be surprised to read:
13926     #    /* config.h.  Generated by config.status.  */
13927     configure_input='Generated from '`
13928           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13929         `' by configure.'
13930     if test x"$ac_file" != x-; then
13931       configure_input="$ac_file.  $configure_input"
13932       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13933 $as_echo "$as_me: creating $ac_file" >&6;}
13934     fi
13935     # Neutralize special characters interpreted by sed in replacement strings.
13936     case $configure_input in #(
13937     *\&* | *\|* | *\\* )
13938        ac_sed_conf_input=`$as_echo "$configure_input" |
13939        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13940     *) ac_sed_conf_input=$configure_input;;
13941     esac
13942
13943     case $ac_tag in
13944     *:-:* | *:-) cat >"$tmp/stdin" \
13945       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13946     esac
13947     ;;
13948   esac
13949
13950   ac_dir=`$as_dirname -- "$ac_file" ||
13951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13952          X"$ac_file" : 'X\(//\)[^/]' \| \
13953          X"$ac_file" : 'X\(//\)$' \| \
13954          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13955 $as_echo X"$ac_file" |
13956     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13957             s//\1/
13958             q
13959           }
13960           /^X\(\/\/\)[^/].*/{
13961             s//\1/
13962             q
13963           }
13964           /^X\(\/\/\)$/{
13965             s//\1/
13966             q
13967           }
13968           /^X\(\/\).*/{
13969             s//\1/
13970             q
13971           }
13972           s/.*/./; q'`
13973   as_dir="$ac_dir"; as_fn_mkdir_p
13974   ac_builddir=.
13975
13976 case "$ac_dir" in
13977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13978 *)
13979   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13980   # A ".." for each directory in $ac_dir_suffix.
13981   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13982   case $ac_top_builddir_sub in
13983   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13984   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13985   esac ;;
13986 esac
13987 ac_abs_top_builddir=$ac_pwd
13988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13989 # for backward compatibility:
13990 ac_top_builddir=$ac_top_build_prefix
13991
13992 case $srcdir in
13993   .)  # We are building in place.
13994     ac_srcdir=.
13995     ac_top_srcdir=$ac_top_builddir_sub
13996     ac_abs_top_srcdir=$ac_pwd ;;
13997   [\\/]* | ?:[\\/]* )  # Absolute name.
13998     ac_srcdir=$srcdir$ac_dir_suffix;
13999     ac_top_srcdir=$srcdir
14000     ac_abs_top_srcdir=$srcdir ;;
14001   *) # Relative name.
14002     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14003     ac_top_srcdir=$ac_top_build_prefix$srcdir
14004     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14005 esac
14006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14007
14008
14009   case $ac_mode in
14010   :F)
14011   #
14012   # CONFIG_FILE
14013   #
14014
14015   case $INSTALL in
14016   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14017   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14018   esac
14019   ac_MKDIR_P=$MKDIR_P
14020   case $MKDIR_P in
14021   [\\/$]* | ?:[\\/]* ) ;;
14022   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14023   esac
14024 _ACEOF
14025
14026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14027 # If the template does not know about datarootdir, expand it.
14028 # FIXME: This hack should be removed a few years after 2.60.
14029 ac_datarootdir_hack=; ac_datarootdir_seen=
14030 ac_sed_dataroot='
14031 /datarootdir/ {
14032   p
14033   q
14034 }
14035 /@datadir@/p
14036 /@docdir@/p
14037 /@infodir@/p
14038 /@localedir@/p
14039 /@mandir@/p'
14040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14041 *datarootdir*) ac_datarootdir_seen=yes;;
14042 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14043   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14044 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14045 _ACEOF
14046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14047   ac_datarootdir_hack='
14048   s&@datadir@&$datadir&g
14049   s&@docdir@&$docdir&g
14050   s&@infodir@&$infodir&g
14051   s&@localedir@&$localedir&g
14052   s&@mandir@&$mandir&g
14053   s&\\\${datarootdir}&$datarootdir&g' ;;
14054 esac
14055 _ACEOF
14056
14057 # Neutralize VPATH when `$srcdir' = `.'.
14058 # Shell code in configure.ac might set extrasub.
14059 # FIXME: do we really want to maintain this feature?
14060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14061 ac_sed_extra="$ac_vpsub
14062 $extrasub
14063 _ACEOF
14064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14065 :t
14066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14067 s|@configure_input@|$ac_sed_conf_input|;t t
14068 s&@top_builddir@&$ac_top_builddir_sub&;t t
14069 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14070 s&@srcdir@&$ac_srcdir&;t t
14071 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14072 s&@top_srcdir@&$ac_top_srcdir&;t t
14073 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14074 s&@builddir@&$ac_builddir&;t t
14075 s&@abs_builddir@&$ac_abs_builddir&;t t
14076 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14077 s&@INSTALL@&$ac_INSTALL&;t t
14078 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14079 $ac_datarootdir_hack
14080 "
14081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14082   || as_fn_error "could not create $ac_file" "$LINENO" 5
14083
14084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14085   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14086   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14087   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14088 which seems to be undefined.  Please make sure it is defined." >&5
14089 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14090 which seems to be undefined.  Please make sure it is defined." >&2;}
14091
14092   rm -f "$tmp/stdin"
14093   case $ac_file in
14094   -) cat "$tmp/out" && rm -f "$tmp/out";;
14095   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14096   esac \
14097   || as_fn_error "could not create $ac_file" "$LINENO" 5
14098  ;;
14099   :H)
14100   #
14101   # CONFIG_HEADER
14102   #
14103   if test x"$ac_file" != x-; then
14104     {
14105       $as_echo "/* $configure_input  */" \
14106       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14107     } >"$tmp/config.h" \
14108       || as_fn_error "could not create $ac_file" "$LINENO" 5
14109     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14110       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14111 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14112     else
14113       rm -f "$ac_file"
14114       mv "$tmp/config.h" "$ac_file" \
14115         || as_fn_error "could not create $ac_file" "$LINENO" 5
14116     fi
14117   else
14118     $as_echo "/* $configure_input  */" \
14119       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14120       || as_fn_error "could not create -" "$LINENO" 5
14121   fi
14122 # Compute "$ac_file"'s index in $config_headers.
14123 _am_arg="$ac_file"
14124 _am_stamp_count=1
14125 for _am_header in $config_headers :; do
14126   case $_am_header in
14127     $_am_arg | $_am_arg:* )
14128       break ;;
14129     * )
14130       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14131   esac
14132 done
14133 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14134 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14135          X"$_am_arg" : 'X\(//\)[^/]' \| \
14136          X"$_am_arg" : 'X\(//\)$' \| \
14137          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14138 $as_echo X"$_am_arg" |
14139     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14140             s//\1/
14141             q
14142           }
14143           /^X\(\/\/\)[^/].*/{
14144             s//\1/
14145             q
14146           }
14147           /^X\(\/\/\)$/{
14148             s//\1/
14149             q
14150           }
14151           /^X\(\/\).*/{
14152             s//\1/
14153             q
14154           }
14155           s/.*/./; q'`/stamp-h$_am_stamp_count
14156  ;;
14157
14158   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14159 $as_echo "$as_me: executing $ac_file commands" >&6;}
14160  ;;
14161   esac
14162
14163
14164   case $ac_file$ac_mode in
14165     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14166   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14167   # are listed without --file.  Let's play safe and only enable the eval
14168   # if we detect the quoting.
14169   case $CONFIG_FILES in
14170   *\'*) eval set x "$CONFIG_FILES" ;;
14171   *)   set x $CONFIG_FILES ;;
14172   esac
14173   shift
14174   for mf
14175   do
14176     # Strip MF so we end up with the name of the file.
14177     mf=`echo "$mf" | sed -e 's/:.*$//'`
14178     # Check whether this is an Automake generated Makefile or not.
14179     # We used to match only the files named `Makefile.in', but
14180     # some people rename them; so instead we look at the file content.
14181     # Grep'ing the first line is not enough: some people post-process
14182     # each Makefile.in and add a new line on top of each file to say so.
14183     # Grep'ing the whole file is not good either: AIX grep has a line
14184     # limit of 2048, but all sed's we know have understand at least 4000.
14185     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14186       dirpart=`$as_dirname -- "$mf" ||
14187 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14188          X"$mf" : 'X\(//\)[^/]' \| \
14189          X"$mf" : 'X\(//\)$' \| \
14190          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14191 $as_echo X"$mf" |
14192     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14193             s//\1/
14194             q
14195           }
14196           /^X\(\/\/\)[^/].*/{
14197             s//\1/
14198             q
14199           }
14200           /^X\(\/\/\)$/{
14201             s//\1/
14202             q
14203           }
14204           /^X\(\/\).*/{
14205             s//\1/
14206             q
14207           }
14208           s/.*/./; q'`
14209     else
14210       continue
14211     fi
14212     # Extract the definition of DEPDIR, am__include, and am__quote
14213     # from the Makefile without running `make'.
14214     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14215     test -z "$DEPDIR" && continue
14216     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14217     test -z "am__include" && continue
14218     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14219     # When using ansi2knr, U may be empty or an underscore; expand it
14220     U=`sed -n 's/^U = //p' < "$mf"`
14221     # Find all dependency output files, they are included files with
14222     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14223     # simplest approach to changing $(DEPDIR) to its actual value in the
14224     # expansion.
14225     for file in `sed -n "
14226       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14227          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14228       # Make sure the directory exists.
14229       test -f "$dirpart/$file" && continue
14230       fdir=`$as_dirname -- "$file" ||
14231 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14232          X"$file" : 'X\(//\)[^/]' \| \
14233          X"$file" : 'X\(//\)$' \| \
14234          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14235 $as_echo X"$file" |
14236     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14237             s//\1/
14238             q
14239           }
14240           /^X\(\/\/\)[^/].*/{
14241             s//\1/
14242             q
14243           }
14244           /^X\(\/\/\)$/{
14245             s//\1/
14246             q
14247           }
14248           /^X\(\/\).*/{
14249             s//\1/
14250             q
14251           }
14252           s/.*/./; q'`
14253       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14254       # echo "creating $dirpart/$file"
14255       echo '# dummy' > "$dirpart/$file"
14256     done
14257   done
14258 }
14259  ;;
14260     "libtool":C)
14261
14262     # See if we are running on zsh, and set the options which allow our
14263     # commands through without removal of \ escapes.
14264     if test -n "${ZSH_VERSION+set}" ; then
14265       setopt NO_GLOB_SUBST
14266     fi
14267
14268     cfgfile="${ofile}T"
14269     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14270     $RM "$cfgfile"
14271
14272     cat <<_LT_EOF >> "$cfgfile"
14273 #! $SHELL
14274
14275 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14276 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14277 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14278 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14279 #
14280 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14281 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14282 #   Written by Gordon Matzigkeit, 1996
14283 #
14284 #   This file is part of GNU Libtool.
14285 #
14286 # GNU Libtool is free software; you can redistribute it and/or
14287 # modify it under the terms of the GNU General Public License as
14288 # published by the Free Software Foundation; either version 2 of
14289 # the License, or (at your option) any later version.
14290 #
14291 # As a special exception to the GNU General Public License,
14292 # if you distribute this file as part of a program or library that
14293 # is built using GNU Libtool, you may include this file under the
14294 # same distribution terms that you use for the rest of that program.
14295 #
14296 # GNU Libtool is distributed in the hope that it will be useful,
14297 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14298 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14299 # GNU General Public License for more details.
14300 #
14301 # You should have received a copy of the GNU General Public License
14302 # along with GNU Libtool; see the file COPYING.  If not, a copy
14303 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14304 # obtained by writing to the Free Software Foundation, Inc.,
14305 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14306
14307
14308 # The names of the tagged configurations supported by this script.
14309 available_tags=""
14310
14311 # ### BEGIN LIBTOOL CONFIG
14312
14313 # Which release of libtool.m4 was used?
14314 macro_version=$macro_version
14315 macro_revision=$macro_revision
14316
14317 # Whether or not to build shared libraries.
14318 build_libtool_libs=$enable_shared
14319
14320 # Whether or not to build static libraries.
14321 build_old_libs=$enable_static
14322
14323 # What type of objects to build.
14324 pic_mode=$pic_mode
14325
14326 # Whether or not to optimize for fast installation.
14327 fast_install=$enable_fast_install
14328
14329 # Shell to use when invoking shell scripts.
14330 SHELL=$lt_SHELL
14331
14332 # An echo program that protects backslashes.
14333 ECHO=$lt_ECHO
14334
14335 # The host system.
14336 host_alias=$host_alias
14337 host=$host
14338 host_os=$host_os
14339
14340 # The build system.
14341 build_alias=$build_alias
14342 build=$build
14343 build_os=$build_os
14344
14345 # A sed program that does not truncate output.
14346 SED=$lt_SED
14347
14348 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14349 Xsed="\$SED -e 1s/^X//"
14350
14351 # A grep program that handles long lines.
14352 GREP=$lt_GREP
14353
14354 # An ERE matcher.
14355 EGREP=$lt_EGREP
14356
14357 # A literal string matcher.
14358 FGREP=$lt_FGREP
14359
14360 # A BSD- or MS-compatible name lister.
14361 NM=$lt_NM
14362
14363 # Whether we need soft or hard links.
14364 LN_S=$lt_LN_S
14365
14366 # What is the maximum length of a command?
14367 max_cmd_len=$max_cmd_len
14368
14369 # Object file suffix (normally "o").
14370 objext=$ac_objext
14371
14372 # Executable file suffix (normally "").
14373 exeext=$exeext
14374
14375 # whether the shell understands "unset".
14376 lt_unset=$lt_unset
14377
14378 # turn spaces into newlines.
14379 SP2NL=$lt_lt_SP2NL
14380
14381 # turn newlines into spaces.
14382 NL2SP=$lt_lt_NL2SP
14383
14384 # An object symbol dumper.
14385 OBJDUMP=$lt_OBJDUMP
14386
14387 # Method to check whether dependent libraries are shared objects.
14388 deplibs_check_method=$lt_deplibs_check_method
14389
14390 # Command to use when deplibs_check_method == "file_magic".
14391 file_magic_cmd=$lt_file_magic_cmd
14392
14393 # The archiver.
14394 AR=$lt_AR
14395 AR_FLAGS=$lt_AR_FLAGS
14396
14397 # A symbol stripping program.
14398 STRIP=$lt_STRIP
14399
14400 # Commands used to install an old-style archive.
14401 RANLIB=$lt_RANLIB
14402 old_postinstall_cmds=$lt_old_postinstall_cmds
14403 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14404
14405 # Whether to use a lock for old archive extraction.
14406 lock_old_archive_extraction=$lock_old_archive_extraction
14407
14408 # A C compiler.
14409 LTCC=$lt_CC
14410
14411 # LTCC compiler flags.
14412 LTCFLAGS=$lt_CFLAGS
14413
14414 # Take the output of nm and produce a listing of raw symbols and C names.
14415 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14416
14417 # Transform the output of nm in a proper C declaration.
14418 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14419
14420 # Transform the output of nm in a C name address pair.
14421 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14422
14423 # Transform the output of nm in a C name address pair when lib prefix is needed.
14424 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14425
14426 # The name of the directory that contains temporary libtool files.
14427 objdir=$objdir
14428
14429 # Used to examine libraries when file_magic_cmd begins with "file".
14430 MAGIC_CMD=$MAGIC_CMD
14431
14432 # Must we lock files when doing compilation?
14433 need_locks=$lt_need_locks
14434
14435 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14436 DSYMUTIL=$lt_DSYMUTIL
14437
14438 # Tool to change global to local symbols on Mac OS X.
14439 NMEDIT=$lt_NMEDIT
14440
14441 # Tool to manipulate fat objects and archives on Mac OS X.
14442 LIPO=$lt_LIPO
14443
14444 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14445 OTOOL=$lt_OTOOL
14446
14447 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14448 OTOOL64=$lt_OTOOL64
14449
14450 # Old archive suffix (normally "a").
14451 libext=$libext
14452
14453 # Shared library suffix (normally ".so").
14454 shrext_cmds=$lt_shrext_cmds
14455
14456 # The commands to extract the exported symbol list from a shared archive.
14457 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14458
14459 # Variables whose values should be saved in libtool wrapper scripts and
14460 # restored at link time.
14461 variables_saved_for_relink=$lt_variables_saved_for_relink
14462
14463 # Do we need the "lib" prefix for modules?
14464 need_lib_prefix=$need_lib_prefix
14465
14466 # Do we need a version for libraries?
14467 need_version=$need_version
14468
14469 # Library versioning type.
14470 version_type=$version_type
14471
14472 # Shared library runtime path variable.
14473 runpath_var=$runpath_var
14474
14475 # Shared library path variable.
14476 shlibpath_var=$shlibpath_var
14477
14478 # Is shlibpath searched before the hard-coded library search path?
14479 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14480
14481 # Format of library name prefix.
14482 libname_spec=$lt_libname_spec
14483
14484 # List of archive names.  First name is the real one, the rest are links.
14485 # The last name is the one that the linker finds with -lNAME
14486 library_names_spec=$lt_library_names_spec
14487
14488 # The coded name of the library, if different from the real name.
14489 soname_spec=$lt_soname_spec
14490
14491 # Permission mode override for installation of shared libraries.
14492 install_override_mode=$lt_install_override_mode
14493
14494 # Command to use after installation of a shared archive.
14495 postinstall_cmds=$lt_postinstall_cmds
14496
14497 # Command to use after uninstallation of a shared archive.
14498 postuninstall_cmds=$lt_postuninstall_cmds
14499
14500 # Commands used to finish a libtool library installation in a directory.
14501 finish_cmds=$lt_finish_cmds
14502
14503 # As "finish_cmds", except a single script fragment to be evaled but
14504 # not shown.
14505 finish_eval=$lt_finish_eval
14506
14507 # Whether we should hardcode library paths into libraries.
14508 hardcode_into_libs=$hardcode_into_libs
14509
14510 # Compile-time system search path for libraries.
14511 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14512
14513 # Run-time system search path for libraries.
14514 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14515
14516 # Whether dlopen is supported.
14517 dlopen_support=$enable_dlopen
14518
14519 # Whether dlopen of programs is supported.
14520 dlopen_self=$enable_dlopen_self
14521
14522 # Whether dlopen of statically linked programs is supported.
14523 dlopen_self_static=$enable_dlopen_self_static
14524
14525 # Commands to strip libraries.
14526 old_striplib=$lt_old_striplib
14527 striplib=$lt_striplib
14528
14529
14530 # The linker used to build libraries.
14531 LD=$lt_LD
14532
14533 # How to create reloadable object files.
14534 reload_flag=$lt_reload_flag
14535 reload_cmds=$lt_reload_cmds
14536
14537 # Commands used to build an old-style archive.
14538 old_archive_cmds=$lt_old_archive_cmds
14539
14540 # A language specific compiler.
14541 CC=$lt_compiler
14542
14543 # Is the compiler the GNU compiler?
14544 with_gcc=$GCC
14545
14546 # Compiler flag to turn off builtin functions.
14547 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14548
14549 # How to pass a linker flag through the compiler.
14550 wl=$lt_lt_prog_compiler_wl
14551
14552 # Additional compiler flags for building library objects.
14553 pic_flag=$lt_lt_prog_compiler_pic
14554
14555 # Compiler flag to prevent dynamic linking.
14556 link_static_flag=$lt_lt_prog_compiler_static
14557
14558 # Does compiler simultaneously support -c and -o options?
14559 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14560
14561 # Whether or not to add -lc for building shared libraries.
14562 build_libtool_need_lc=$archive_cmds_need_lc
14563
14564 # Whether or not to disallow shared libs when runtime libs are static.
14565 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14566
14567 # Compiler flag to allow reflexive dlopens.
14568 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14569
14570 # Compiler flag to generate shared objects directly from archives.
14571 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14572
14573 # Whether the compiler copes with passing no objects directly.
14574 compiler_needs_object=$lt_compiler_needs_object
14575
14576 # Create an old-style archive from a shared archive.
14577 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14578
14579 # Create a temporary old-style archive to link instead of a shared archive.
14580 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14581
14582 # Commands used to build a shared archive.
14583 archive_cmds=$lt_archive_cmds
14584 archive_expsym_cmds=$lt_archive_expsym_cmds
14585
14586 # Commands used to build a loadable module if different from building
14587 # a shared archive.
14588 module_cmds=$lt_module_cmds
14589 module_expsym_cmds=$lt_module_expsym_cmds
14590
14591 # Whether we are building with GNU ld or not.
14592 with_gnu_ld=$lt_with_gnu_ld
14593
14594 # Flag that allows shared libraries with undefined symbols to be built.
14595 allow_undefined_flag=$lt_allow_undefined_flag
14596
14597 # Flag that enforces no undefined symbols.
14598 no_undefined_flag=$lt_no_undefined_flag
14599
14600 # Flag to hardcode \$libdir into a binary during linking.
14601 # This must work even if \$libdir does not exist
14602 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14603
14604 # If ld is used when linking, flag to hardcode \$libdir into a binary
14605 # during linking.  This must work even if \$libdir does not exist.
14606 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14607
14608 # Whether we need a single "-rpath" flag with a separated argument.
14609 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14610
14611 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14612 # DIR into the resulting binary.
14613 hardcode_direct=$hardcode_direct
14614
14615 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14616 # DIR into the resulting binary and the resulting library dependency is
14617 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14618 # library is relocated.
14619 hardcode_direct_absolute=$hardcode_direct_absolute
14620
14621 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14622 # into the resulting binary.
14623 hardcode_minus_L=$hardcode_minus_L
14624
14625 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14626 # into the resulting binary.
14627 hardcode_shlibpath_var=$hardcode_shlibpath_var
14628
14629 # Set to "yes" if building a shared library automatically hardcodes DIR
14630 # into the library and all subsequent libraries and executables linked
14631 # against it.
14632 hardcode_automatic=$hardcode_automatic
14633
14634 # Set to yes if linker adds runtime paths of dependent libraries
14635 # to runtime path list.
14636 inherit_rpath=$inherit_rpath
14637
14638 # Whether libtool must link a program against all its dependency libraries.
14639 link_all_deplibs=$link_all_deplibs
14640
14641 # Fix the shell variable \$srcfile for the compiler.
14642 fix_srcfile_path=$lt_fix_srcfile_path
14643
14644 # Set to "yes" if exported symbols are required.
14645 always_export_symbols=$always_export_symbols
14646
14647 # The commands to list exported symbols.
14648 export_symbols_cmds=$lt_export_symbols_cmds
14649
14650 # Symbols that should not be listed in the preloaded symbols.
14651 exclude_expsyms=$lt_exclude_expsyms
14652
14653 # Symbols that must always be exported.
14654 include_expsyms=$lt_include_expsyms
14655
14656 # Commands necessary for linking programs (against libraries) with templates.
14657 prelink_cmds=$lt_prelink_cmds
14658
14659 # Specify filename containing input files.
14660 file_list_spec=$lt_file_list_spec
14661
14662 # How to hardcode a shared library path into an executable.
14663 hardcode_action=$hardcode_action
14664
14665 # ### END LIBTOOL CONFIG
14666
14667 _LT_EOF
14668
14669   case $host_os in
14670   aix3*)
14671     cat <<\_LT_EOF >> "$cfgfile"
14672 # AIX sometimes has problems with the GCC collect2 program.  For some
14673 # reason, if we set the COLLECT_NAMES environment variable, the problems
14674 # vanish in a puff of smoke.
14675 if test "X${COLLECT_NAMES+set}" != Xset; then
14676   COLLECT_NAMES=
14677   export COLLECT_NAMES
14678 fi
14679 _LT_EOF
14680     ;;
14681   esac
14682
14683
14684 ltmain="$ac_aux_dir/ltmain.sh"
14685
14686
14687   # We use sed instead of cat because bash on DJGPP gets confused if
14688   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14689   # text mode, it properly converts lines to CR/LF.  This bash problem
14690   # is reportedly fixed, but why not run on old versions too?
14691   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14692     || (rm -f "$cfgfile"; exit 1)
14693
14694   case $xsi_shell in
14695   yes)
14696     cat << \_LT_EOF >> "$cfgfile"
14697
14698 # func_dirname file append nondir_replacement
14699 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14700 # otherwise set result to NONDIR_REPLACEMENT.
14701 func_dirname ()
14702 {
14703   case ${1} in
14704     */*) func_dirname_result="${1%/*}${2}" ;;
14705     *  ) func_dirname_result="${3}" ;;
14706   esac
14707 }
14708
14709 # func_basename file
14710 func_basename ()
14711 {
14712   func_basename_result="${1##*/}"
14713 }
14714
14715 # func_dirname_and_basename file append nondir_replacement
14716 # perform func_basename and func_dirname in a single function
14717 # call:
14718 #   dirname:  Compute the dirname of FILE.  If nonempty,
14719 #             add APPEND to the result, otherwise set result
14720 #             to NONDIR_REPLACEMENT.
14721 #             value returned in "$func_dirname_result"
14722 #   basename: Compute filename of FILE.
14723 #             value retuned in "$func_basename_result"
14724 # Implementation must be kept synchronized with func_dirname
14725 # and func_basename. For efficiency, we do not delegate to
14726 # those functions but instead duplicate the functionality here.
14727 func_dirname_and_basename ()
14728 {
14729   case ${1} in
14730     */*) func_dirname_result="${1%/*}${2}" ;;
14731     *  ) func_dirname_result="${3}" ;;
14732   esac
14733   func_basename_result="${1##*/}"
14734 }
14735
14736 # func_stripname prefix suffix name
14737 # strip PREFIX and SUFFIX off of NAME.
14738 # PREFIX and SUFFIX must not contain globbing or regex special
14739 # characters, hashes, percent signs, but SUFFIX may contain a leading
14740 # dot (in which case that matches only a dot).
14741 func_stripname ()
14742 {
14743   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14744   # positional parameters, so assign one to ordinary parameter first.
14745   func_stripname_result=${3}
14746   func_stripname_result=${func_stripname_result#"${1}"}
14747   func_stripname_result=${func_stripname_result%"${2}"}
14748 }
14749
14750 # func_opt_split
14751 func_opt_split ()
14752 {
14753   func_opt_split_opt=${1%%=*}
14754   func_opt_split_arg=${1#*=}
14755 }
14756
14757 # func_lo2o object
14758 func_lo2o ()
14759 {
14760   case ${1} in
14761     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14762     *)    func_lo2o_result=${1} ;;
14763   esac
14764 }
14765
14766 # func_xform libobj-or-source
14767 func_xform ()
14768 {
14769   func_xform_result=${1%.*}.lo
14770 }
14771
14772 # func_arith arithmetic-term...
14773 func_arith ()
14774 {
14775   func_arith_result=$(( $* ))
14776 }
14777
14778 # func_len string
14779 # STRING may not start with a hyphen.
14780 func_len ()
14781 {
14782   func_len_result=${#1}
14783 }
14784
14785 _LT_EOF
14786     ;;
14787   *) # Bourne compatible functions.
14788     cat << \_LT_EOF >> "$cfgfile"
14789
14790 # func_dirname file append nondir_replacement
14791 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14792 # otherwise set result to NONDIR_REPLACEMENT.
14793 func_dirname ()
14794 {
14795   # Extract subdirectory from the argument.
14796   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14797   if test "X$func_dirname_result" = "X${1}"; then
14798     func_dirname_result="${3}"
14799   else
14800     func_dirname_result="$func_dirname_result${2}"
14801   fi
14802 }
14803
14804 # func_basename file
14805 func_basename ()
14806 {
14807   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14808 }
14809
14810
14811 # func_stripname prefix suffix name
14812 # strip PREFIX and SUFFIX off of NAME.
14813 # PREFIX and SUFFIX must not contain globbing or regex special
14814 # characters, hashes, percent signs, but SUFFIX may contain a leading
14815 # dot (in which case that matches only a dot).
14816 # func_strip_suffix prefix name
14817 func_stripname ()
14818 {
14819   case ${2} in
14820     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14821     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14822   esac
14823 }
14824
14825 # sed scripts:
14826 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14827 my_sed_long_arg='1s/^-[^=]*=//'
14828
14829 # func_opt_split
14830 func_opt_split ()
14831 {
14832   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14833   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14834 }
14835
14836 # func_lo2o object
14837 func_lo2o ()
14838 {
14839   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14840 }
14841
14842 # func_xform libobj-or-source
14843 func_xform ()
14844 {
14845   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14846 }
14847
14848 # func_arith arithmetic-term...
14849 func_arith ()
14850 {
14851   func_arith_result=`expr "$@"`
14852 }
14853
14854 # func_len string
14855 # STRING may not start with a hyphen.
14856 func_len ()
14857 {
14858   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14859 }
14860
14861 _LT_EOF
14862 esac
14863
14864 case $lt_shell_append in
14865   yes)
14866     cat << \_LT_EOF >> "$cfgfile"
14867
14868 # func_append var value
14869 # Append VALUE to the end of shell variable VAR.
14870 func_append ()
14871 {
14872   eval "$1+=\$2"
14873 }
14874 _LT_EOF
14875     ;;
14876   *)
14877     cat << \_LT_EOF >> "$cfgfile"
14878
14879 # func_append var value
14880 # Append VALUE to the end of shell variable VAR.
14881 func_append ()
14882 {
14883   eval "$1=\$$1\$2"
14884 }
14885
14886 _LT_EOF
14887     ;;
14888   esac
14889
14890
14891   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14892     || (rm -f "$cfgfile"; exit 1)
14893
14894   mv -f "$cfgfile" "$ofile" ||
14895     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14896   chmod +x "$ofile"
14897
14898  ;;
14899     "default-1":C)
14900 # Only add multilib support code if we just rebuilt the top-level
14901 # Makefile.
14902 case " $CONFIG_FILES " in
14903  *" Makefile "*)
14904    ac_file=Makefile . ${multi_basedir}/config-ml.in
14905    ;;
14906 esac ;;
14907
14908   esac
14909 done # for ac_tag
14910
14911
14912 as_fn_exit 0
14913 _ACEOF
14914 ac_clean_files=$ac_clean_files_save
14915
14916 test $ac_write_fail = 0 ||
14917   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14918
14919
14920 # configure is writing to config.log, and then calls config.status.
14921 # config.status does its own redirection, appending to config.log.
14922 # Unfortunately, on DOS this fails, as config.log is still kept open
14923 # by configure, so config.status won't be able to write to it; its
14924 # output is simply discarded.  So we exec the FD to /dev/null,
14925 # effectively closing config.log, so it can be properly (re)opened and
14926 # appended to by config.status.  When coming back to configure, we
14927 # need to make the FD available again.
14928 if test "$no_create" != yes; then
14929   ac_cs_success=:
14930   ac_config_status_args=
14931   test "$silent" = yes &&
14932     ac_config_status_args="$ac_config_status_args --quiet"
14933   exec 5>/dev/null
14934   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14935   exec 5>>config.log
14936   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14937   # would make configure fail if this is the last instruction.
14938   $ac_cs_success || as_fn_exit $?
14939 fi
14940 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14941   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14942 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14943 fi
14944