OSDN Git Service

fa825ce8cc673549d956dff2b4cec97090a15a6a
[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 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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 OTOOL64
624 OTOOL
625 LIPO
626 NMEDIT
627 DSYMUTIL
628 RANLIB
629 AR
630 OBJDUMP
631 LN_S
632 NM
633 ac_ct_DUMPBIN
634 DUMPBIN
635 LD
636 FGREP
637 SED
638 LIBTOOL
639 REPORT_BUGS_TEXI
640 REPORT_BUGS_TO
641 BUILD_INFO_FALSE
642 BUILD_INFO_TRUE
643 EGREP
644 GREP
645 CPP
646 am__fastdepCC_FALSE
647 am__fastdepCC_TRUE
648 CCDEPMODE
649 AMDEPBACKSLASH
650 AMDEP_FALSE
651 AMDEP_TRUE
652 am__quote
653 am__include
654 DEPDIR
655 OBJEXT
656 EXEEXT
657 ac_ct_CC
658 CPPFLAGS
659 LDFLAGS
660 CFLAGS
661 CC
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 enable_dependency_tracking
741 with_bugurl
742 enable_shared
743 enable_static
744 with_pic
745 enable_fast_install
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   --disable-dependency-tracking  speeds up one-time build
1385   --enable-dependency-tracking   do not reject slow dependency extractors
1386   --enable-shared[=PKGS]  build shared libraries [default=yes]
1387   --enable-static[=PKGS]  build static libraries [default=yes]
1388   --enable-fast-install[=PKGS]
1389                           optimize for fast installation [default=yes]
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_cpp LINENO
1536 # ----------------------
1537 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1538 ac_fn_c_try_cpp ()
1539 {
1540   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541   if { { ac_try="$ac_cpp conftest.$ac_ext"
1542 case "(($ac_try" in
1543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544   *) ac_try_echo=$ac_try;;
1545 esac
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1549   ac_status=$?
1550   if test -s conftest.err; then
1551     grep -v '^ *+' conftest.err >conftest.er1
1552     cat conftest.er1 >&5
1553     mv -f conftest.er1 conftest.err
1554   fi
1555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556   test $ac_status = 0; } >/dev/null && {
1557          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1558          test ! -s conftest.err
1559        }; then :
1560   ac_retval=0
1561 else
1562   $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1564
1565     ac_retval=1
1566 fi
1567   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1568   return $ac_retval
1569
1570 } # ac_fn_c_try_cpp
1571
1572 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1573 # -------------------------------------------------------
1574 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1575 # the include files in INCLUDES and setting the cache variable VAR
1576 # accordingly.
1577 ac_fn_c_check_header_mongrel ()
1578 {
1579   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1580   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1582 $as_echo_n "checking for $2... " >&6; }
1583 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1584   $as_echo_n "(cached) " >&6
1585 fi
1586 eval ac_res=\$$3
1587                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1588 $as_echo "$ac_res" >&6; }
1589 else
1590   # Is the header compilable?
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1592 $as_echo_n "checking $2 usability... " >&6; }
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   ac_header_compiler=yes
1600 else
1601   ac_header_compiler=no
1602 fi
1603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1605 $as_echo "$ac_header_compiler" >&6; }
1606
1607 # Is the header present?
1608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1609 $as_echo_n "checking $2 presence... " >&6; }
1610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1611 /* end confdefs.h.  */
1612 #include <$2>
1613 _ACEOF
1614 if ac_fn_c_try_cpp "$LINENO"; then :
1615   ac_header_preproc=yes
1616 else
1617   ac_header_preproc=no
1618 fi
1619 rm -f conftest.err conftest.$ac_ext
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1621 $as_echo "$ac_header_preproc" >&6; }
1622
1623 # So?  What about this header?
1624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1625   yes:no: )
1626     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1627 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1628     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1629 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1630     ;;
1631   no:yes:* )
1632     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1633 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1634     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1635 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1636     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1637 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1639 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1640     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1641 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1642     ;;
1643 esac
1644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1645 $as_echo_n "checking for $2... " >&6; }
1646 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1647   $as_echo_n "(cached) " >&6
1648 else
1649   eval "$3=\$ac_header_compiler"
1650 fi
1651 eval ac_res=\$$3
1652                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1654 fi
1655   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1656
1657 } # ac_fn_c_check_header_mongrel
1658
1659 # ac_fn_c_try_run LINENO
1660 # ----------------------
1661 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662 # that executables *can* be run.
1663 ac_fn_c_try_run ()
1664 {
1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666   if { { ac_try="$ac_link"
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_link") 2>&5
1674   ac_status=$?
1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1677   { { case "(($ac_try" in
1678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679   *) ac_try_echo=$ac_try;;
1680 esac
1681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682 $as_echo "$ac_try_echo"; } >&5
1683   (eval "$ac_try") 2>&5
1684   ac_status=$?
1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686   test $ac_status = 0; }; }; then :
1687   ac_retval=0
1688 else
1689   $as_echo "$as_me: program exited with status $ac_status" >&5
1690        $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.$ac_ext >&5
1692
1693        ac_retval=$ac_status
1694 fi
1695   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1697   return $ac_retval
1698
1699 } # ac_fn_c_try_run
1700
1701 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1702 # -------------------------------------------------------
1703 # Tests whether HEADER exists and can be compiled using the include files in
1704 # INCLUDES, setting the cache variable VAR accordingly.
1705 ac_fn_c_check_header_compile ()
1706 {
1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1709 $as_echo_n "checking for $2... " >&6; }
1710 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1711   $as_echo_n "(cached) " >&6
1712 else
1713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h.  */
1715 $4
1716 #include <$2>
1717 _ACEOF
1718 if ac_fn_c_try_compile "$LINENO"; then :
1719   eval "$3=yes"
1720 else
1721   eval "$3=no"
1722 fi
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 fi
1725 eval ac_res=\$$3
1726                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1728   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1729
1730 } # ac_fn_c_check_header_compile
1731
1732 # ac_fn_c_try_link LINENO
1733 # -----------------------
1734 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 ac_fn_c_try_link ()
1736 {
1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738   rm -f conftest.$ac_objext conftest$ac_exeext
1739   if { { ac_try="$ac_link"
1740 case "(($ac_try" in
1741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1742   *) ac_try_echo=$ac_try;;
1743 esac
1744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746   (eval "$ac_link") 2>conftest.err
1747   ac_status=$?
1748   if test -s conftest.err; then
1749     grep -v '^ *+' conftest.err >conftest.er1
1750     cat conftest.er1 >&5
1751     mv -f conftest.er1 conftest.err
1752   fi
1753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754   test $ac_status = 0; } && {
1755          test -z "$ac_c_werror_flag" ||
1756          test ! -s conftest.err
1757        } && test -s conftest$ac_exeext && {
1758          test "$cross_compiling" = yes ||
1759          $as_test_x conftest$ac_exeext
1760        }; then :
1761   ac_retval=0
1762 else
1763   $as_echo "$as_me: failed program was:" >&5
1764 sed 's/^/| /' conftest.$ac_ext >&5
1765
1766         ac_retval=1
1767 fi
1768   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1769   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1770   # interfere with the next link command; also delete a directory that is
1771   # left behind by Apple's compiler.  We do this before executing the actions.
1772   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1773   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774   return $ac_retval
1775
1776 } # ac_fn_c_try_link
1777
1778 # ac_fn_c_check_func LINENO FUNC VAR
1779 # ----------------------------------
1780 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1781 ac_fn_c_check_func ()
1782 {
1783   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787   $as_echo_n "(cached) " >&6
1788 else
1789   if test x$gcc_no_link = xyes; then
1790   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1791 fi
1792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1793 /* end confdefs.h.  */
1794 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1796 #define $2 innocuous_$2
1797
1798 /* System header to define __stub macros and hopefully few prototypes,
1799     which can conflict with char $2 (); below.
1800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1801     <limits.h> exists even on freestanding compilers.  */
1802
1803 #ifdef __STDC__
1804 # include <limits.h>
1805 #else
1806 # include <assert.h>
1807 #endif
1808
1809 #undef $2
1810
1811 /* Override any GCC internal prototype to avoid an error.
1812    Use char because int might match the return type of a GCC
1813    builtin and then its argument prototype would still apply.  */
1814 #ifdef __cplusplus
1815 extern "C"
1816 #endif
1817 char $2 ();
1818 /* The GNU C library defines this for functions which it implements
1819     to always fail with ENOSYS.  Some functions are actually named
1820     something starting with __ and the normal name is an alias.  */
1821 #if defined __stub_$2 || defined __stub___$2
1822 choke me
1823 #endif
1824
1825 int
1826 main ()
1827 {
1828 return $2 ();
1829   ;
1830   return 0;
1831 }
1832 _ACEOF
1833 if ac_fn_c_try_link "$LINENO"; then :
1834   eval "$3=yes"
1835 else
1836   eval "$3=no"
1837 fi
1838 rm -f core conftest.err conftest.$ac_objext \
1839     conftest$ac_exeext conftest.$ac_ext
1840 fi
1841 eval ac_res=\$$3
1842                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1844   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845
1846 } # ac_fn_c_check_func
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 DEPDIR="${am__leading_dot}deps"
2872
2873 ac_config_commands="$ac_config_commands depfiles"
2874
2875
2876 am_make=${MAKE-make}
2877 cat > confinc << 'END'
2878 am__doit:
2879         @echo this is the am__doit target
2880 .PHONY: am__doit
2881 END
2882 # If we don't find an include directive, just comment out the code.
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2884 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2885 am__include="#"
2886 am__quote=
2887 _am_result=none
2888 # First try GNU make style include.
2889 echo "include confinc" > confmf
2890 # Ignore all kinds of additional output from `make'.
2891 case `$am_make -s -f confmf 2> /dev/null` in #(
2892 *the\ am__doit\ target*)
2893   am__include=include
2894   am__quote=
2895   _am_result=GNU
2896   ;;
2897 esac
2898 # Now try BSD make style include.
2899 if test "$am__include" = "#"; then
2900    echo '.include "confinc"' > confmf
2901    case `$am_make -s -f confmf 2> /dev/null` in #(
2902    *the\ am__doit\ target*)
2903      am__include=.include
2904      am__quote="\""
2905      _am_result=BSD
2906      ;;
2907    esac
2908 fi
2909
2910
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2912 $as_echo "$_am_result" >&6; }
2913 rm -f confinc confmf
2914
2915 # Check whether --enable-dependency-tracking was given.
2916 if test "${enable_dependency_tracking+set}" = set; then :
2917   enableval=$enable_dependency_tracking;
2918 fi
2919
2920 if test "x$enable_dependency_tracking" != xno; then
2921   am_depcomp="$ac_aux_dir/depcomp"
2922   AMDEPBACKSLASH='\'
2923 fi
2924  if test "x$enable_dependency_tracking" != xno; then
2925   AMDEP_TRUE=
2926   AMDEP_FALSE='#'
2927 else
2928   AMDEP_TRUE='#'
2929   AMDEP_FALSE=
2930 fi
2931
2932
2933 ac_ext=c
2934 ac_cpp='$CPP $CPPFLAGS'
2935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2938 if test -n "$ac_tool_prefix"; then
2939   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2940 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2942 $as_echo_n "checking for $ac_word... " >&6; }
2943 if test "${ac_cv_prog_CC+set}" = set; then :
2944   $as_echo_n "(cached) " >&6
2945 else
2946   if test -n "$CC"; then
2947   ac_cv_prog_CC="$CC" # Let the user override the test.
2948 else
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2951 do
2952   IFS=$as_save_IFS
2953   test -z "$as_dir" && as_dir=.
2954     for ac_exec_ext in '' $ac_executable_extensions; do
2955   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2956     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2957     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958     break 2
2959   fi
2960 done
2961   done
2962 IFS=$as_save_IFS
2963
2964 fi
2965 fi
2966 CC=$ac_cv_prog_CC
2967 if test -n "$CC"; then
2968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2969 $as_echo "$CC" >&6; }
2970 else
2971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2972 $as_echo "no" >&6; }
2973 fi
2974
2975
2976 fi
2977 if test -z "$ac_cv_prog_CC"; then
2978   ac_ct_CC=$CC
2979   # Extract the first word of "gcc", so it can be a program name with args.
2980 set dummy gcc; ac_word=$2
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2982 $as_echo_n "checking for $ac_word... " >&6; }
2983 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2984   $as_echo_n "(cached) " >&6
2985 else
2986   if test -n "$ac_ct_CC"; then
2987   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2988 else
2989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 for as_dir in $PATH
2991 do
2992   IFS=$as_save_IFS
2993   test -z "$as_dir" && as_dir=.
2994     for ac_exec_ext in '' $ac_executable_extensions; do
2995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2996     ac_cv_prog_ac_ct_CC="gcc"
2997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998     break 2
2999   fi
3000 done
3001   done
3002 IFS=$as_save_IFS
3003
3004 fi
3005 fi
3006 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3007 if test -n "$ac_ct_CC"; then
3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3009 $as_echo "$ac_ct_CC" >&6; }
3010 else
3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3012 $as_echo "no" >&6; }
3013 fi
3014
3015   if test "x$ac_ct_CC" = x; then
3016     CC=""
3017   else
3018     case $cross_compiling:$ac_tool_warned in
3019 yes:)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3021 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3022 ac_tool_warned=yes ;;
3023 esac
3024     CC=$ac_ct_CC
3025   fi
3026 else
3027   CC="$ac_cv_prog_CC"
3028 fi
3029
3030 if test -z "$CC"; then
3031           if test -n "$ac_tool_prefix"; then
3032     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3033 set dummy ${ac_tool_prefix}cc; ac_word=$2
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3035 $as_echo_n "checking for $ac_word... " >&6; }
3036 if test "${ac_cv_prog_CC+set}" = set; then :
3037   $as_echo_n "(cached) " >&6
3038 else
3039   if test -n "$CC"; then
3040   ac_cv_prog_CC="$CC" # Let the user override the test.
3041 else
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043 for as_dir in $PATH
3044 do
3045   IFS=$as_save_IFS
3046   test -z "$as_dir" && as_dir=.
3047     for ac_exec_ext in '' $ac_executable_extensions; do
3048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3049     ac_cv_prog_CC="${ac_tool_prefix}cc"
3050     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051     break 2
3052   fi
3053 done
3054   done
3055 IFS=$as_save_IFS
3056
3057 fi
3058 fi
3059 CC=$ac_cv_prog_CC
3060 if test -n "$CC"; then
3061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3063 else
3064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3066 fi
3067
3068
3069   fi
3070 fi
3071 if test -z "$CC"; then
3072   # Extract the first word of "cc", so it can be a program name with args.
3073 set dummy cc; ac_word=$2
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3075 $as_echo_n "checking for $ac_word... " >&6; }
3076 if test "${ac_cv_prog_CC+set}" = set; then :
3077   $as_echo_n "(cached) " >&6
3078 else
3079   if test -n "$CC"; then
3080   ac_cv_prog_CC="$CC" # Let the user override the test.
3081 else
3082   ac_prog_rejected=no
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3084 for as_dir in $PATH
3085 do
3086   IFS=$as_save_IFS
3087   test -z "$as_dir" && as_dir=.
3088     for ac_exec_ext in '' $ac_executable_extensions; do
3089   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3090     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3091        ac_prog_rejected=yes
3092        continue
3093      fi
3094     ac_cv_prog_CC="cc"
3095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096     break 2
3097   fi
3098 done
3099   done
3100 IFS=$as_save_IFS
3101
3102 if test $ac_prog_rejected = yes; then
3103   # We found a bogon in the path, so make sure we never use it.
3104   set dummy $ac_cv_prog_CC
3105   shift
3106   if test $# != 0; then
3107     # We chose a different compiler from the bogus one.
3108     # However, it has the same basename, so the bogon will be chosen
3109     # first if we set CC to just the basename; use the full file name.
3110     shift
3111     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3112   fi
3113 fi
3114 fi
3115 fi
3116 CC=$ac_cv_prog_CC
3117 if test -n "$CC"; then
3118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3119 $as_echo "$CC" >&6; }
3120 else
3121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3122 $as_echo "no" >&6; }
3123 fi
3124
3125
3126 fi
3127 if test -z "$CC"; then
3128   if test -n "$ac_tool_prefix"; then
3129   for ac_prog in cl.exe
3130   do
3131     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134 $as_echo_n "checking for $ac_word... " >&6; }
3135 if test "${ac_cv_prog_CC+set}" = set; then :
3136   $as_echo_n "(cached) " >&6
3137 else
3138   if test -n "$CC"; then
3139   ac_cv_prog_CC="$CC" # Let the user override the test.
3140 else
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142 for as_dir in $PATH
3143 do
3144   IFS=$as_save_IFS
3145   test -z "$as_dir" && as_dir=.
3146     for ac_exec_ext in '' $ac_executable_extensions; do
3147   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3149     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150     break 2
3151   fi
3152 done
3153   done
3154 IFS=$as_save_IFS
3155
3156 fi
3157 fi
3158 CC=$ac_cv_prog_CC
3159 if test -n "$CC"; then
3160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3162 else
3163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 fi
3166
3167
3168     test -n "$CC" && break
3169   done
3170 fi
3171 if test -z "$CC"; then
3172   ac_ct_CC=$CC
3173   for ac_prog in cl.exe
3174 do
3175   # Extract the first word of "$ac_prog", so it can be a program name with args.
3176 set dummy $ac_prog; ac_word=$2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178 $as_echo_n "checking for $ac_word... " >&6; }
3179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3180   $as_echo_n "(cached) " >&6
3181 else
3182   if test -n "$ac_ct_CC"; then
3183   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184 else
3185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3186 for as_dir in $PATH
3187 do
3188   IFS=$as_save_IFS
3189   test -z "$as_dir" && as_dir=.
3190     for ac_exec_ext in '' $ac_executable_extensions; do
3191   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3192     ac_cv_prog_ac_ct_CC="$ac_prog"
3193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194     break 2
3195   fi
3196 done
3197   done
3198 IFS=$as_save_IFS
3199
3200 fi
3201 fi
3202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3203 if test -n "$ac_ct_CC"; then
3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3205 $as_echo "$ac_ct_CC" >&6; }
3206 else
3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3208 $as_echo "no" >&6; }
3209 fi
3210
3211
3212   test -n "$ac_ct_CC" && break
3213 done
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 fi
3227
3228 fi
3229
3230
3231 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error "no acceptable C compiler found in \$PATH
3234 See \`config.log' for more details." "$LINENO" 5; }
3235
3236 # Provide some information about the compiler.
3237 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3238 set X $ac_compile
3239 ac_compiler=$2
3240 for ac_option in --version -v -V -qversion; do
3241   { { ac_try="$ac_compiler $ac_option >&5"
3242 case "(($ac_try" in
3243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244   *) ac_try_echo=$ac_try;;
3245 esac
3246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3247 $as_echo "$ac_try_echo"; } >&5
3248   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3249   ac_status=$?
3250   if test -s conftest.err; then
3251     sed '10a\
3252 ... rest of stderr output deleted ...
3253          10q' conftest.err >conftest.er1
3254     cat conftest.er1 >&5
3255     rm -f conftest.er1 conftest.err
3256   fi
3257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258   test $ac_status = 0; }
3259 done
3260
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h.  */
3263
3264 int
3265 main ()
3266 {
3267
3268   ;
3269   return 0;
3270 }
3271 _ACEOF
3272 # FIXME: Cleanup?
3273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3274   (eval $ac_link) 2>&5
3275   ac_status=$?
3276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277   test $ac_status = 0; }; then :
3278   gcc_no_link=no
3279 else
3280   gcc_no_link=yes
3281 fi
3282 if test x$gcc_no_link = xyes; then
3283   # Setting cross_compile will disable run tests; it will
3284   # also disable AC_CHECK_FILE but that's generally
3285   # correct if we can't link.
3286   cross_compiling=yes
3287   EXEEXT=
3288 else
3289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h.  */
3291
3292 int
3293 main ()
3294 {
3295
3296   ;
3297   return 0;
3298 }
3299 _ACEOF
3300 ac_clean_files_save=$ac_clean_files
3301 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3302 # Try to create an executable without -o first, disregard a.out.
3303 # It will help us diagnose broken compilers, and finding out an intuition
3304 # of exeext.
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3306 $as_echo_n "checking for C compiler default output file name... " >&6; }
3307 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3308
3309 # The possible output files:
3310 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3311
3312 ac_rmfiles=
3313 for ac_file in $ac_files
3314 do
3315   case $ac_file in
3316     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3317     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3318   esac
3319 done
3320 rm -f $ac_rmfiles
3321
3322 if { { ac_try="$ac_link_default"
3323 case "(($ac_try" in
3324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325   *) ac_try_echo=$ac_try;;
3326 esac
3327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3328 $as_echo "$ac_try_echo"; } >&5
3329   (eval "$ac_link_default") 2>&5
3330   ac_status=$?
3331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3332   test $ac_status = 0; }; then :
3333   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3334 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3335 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3336 # so that the user can short-circuit this test for compilers unknown to
3337 # Autoconf.
3338 for ac_file in $ac_files ''
3339 do
3340   test -f "$ac_file" || continue
3341   case $ac_file in
3342     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3343         ;;
3344     [ab].out )
3345         # We found the default executable, but exeext='' is most
3346         # certainly right.
3347         break;;
3348     *.* )
3349         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3350         then :; else
3351            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352         fi
3353         # We set ac_cv_exeext here because the later test for it is not
3354         # safe: cross compilers may not add the suffix if given an `-o'
3355         # argument, so we may need to know it at that point already.
3356         # Even if this section looks crufty: it has the advantage of
3357         # actually working.
3358         break;;
3359     * )
3360         break;;
3361   esac
3362 done
3363 test "$ac_cv_exeext" = no && ac_cv_exeext=
3364
3365 else
3366   ac_file=''
3367 fi
3368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3369 $as_echo "$ac_file" >&6; }
3370 if test -z "$ac_file"; then :
3371   $as_echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3373
3374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3376 { as_fn_set_status 77
3377 as_fn_error "C compiler cannot create executables
3378 See \`config.log' for more details." "$LINENO" 5; }; }
3379 fi
3380 ac_exeext=$ac_cv_exeext
3381
3382 # Check that the compiler produces executables we can run.  If not, either
3383 # the compiler is broken, or we cross compile.
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3385 $as_echo_n "checking whether the C compiler works... " >&6; }
3386 # If not cross compiling, check that we can run a simple program.
3387 if test "$cross_compiling" != yes; then
3388   if { ac_try='./$ac_file'
3389   { { case "(($ac_try" in
3390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3391   *) ac_try_echo=$ac_try;;
3392 esac
3393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395   (eval "$ac_try") 2>&5
3396   ac_status=$?
3397   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398   test $ac_status = 0; }; }; then
3399     cross_compiling=no
3400   else
3401     if test "$cross_compiling" = maybe; then
3402         cross_compiling=yes
3403     else
3404         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error "cannot run C compiled programs.
3407 If you meant to cross compile, use \`--host'.
3408 See \`config.log' for more details." "$LINENO" 5; }
3409     fi
3410   fi
3411 fi
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3413 $as_echo "yes" >&6; }
3414
3415 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3416 ac_clean_files=$ac_clean_files_save
3417 # Check that the compiler produces executables we can run.  If not, either
3418 # the compiler is broken, or we cross compile.
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3420 $as_echo_n "checking whether we are cross compiling... " >&6; }
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3422 $as_echo "$cross_compiling" >&6; }
3423
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3425 $as_echo_n "checking for suffix of executables... " >&6; }
3426 if { { ac_try="$ac_link"
3427 case "(($ac_try" in
3428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3429   *) ac_try_echo=$ac_try;;
3430 esac
3431 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3432 $as_echo "$ac_try_echo"; } >&5
3433   (eval "$ac_link") 2>&5
3434   ac_status=$?
3435   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3436   test $ac_status = 0; }; then :
3437   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3438 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3439 # work properly (i.e., refer to `conftest.exe'), while it won't with
3440 # `rm'.
3441 for ac_file in conftest.exe conftest conftest.*; do
3442   test -f "$ac_file" || continue
3443   case $ac_file in
3444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3445     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3446           break;;
3447     * ) break;;
3448   esac
3449 done
3450 else
3451   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3453 as_fn_error "cannot compute suffix of executables: cannot compile and link
3454 See \`config.log' for more details." "$LINENO" 5; }
3455 fi
3456 rm -f conftest$ac_cv_exeext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3458 $as_echo "$ac_cv_exeext" >&6; }
3459
3460 rm -f conftest.$ac_ext
3461 EXEEXT=$ac_cv_exeext
3462 ac_exeext=$EXEEXT
3463 fi
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3465 $as_echo_n "checking for suffix of object files... " >&6; }
3466 if test "${ac_cv_objext+set}" = set; then :
3467   $as_echo_n "(cached) " >&6
3468 else
3469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h.  */
3471
3472 int
3473 main ()
3474 {
3475
3476   ;
3477   return 0;
3478 }
3479 _ACEOF
3480 rm -f conftest.o conftest.obj
3481 if { { ac_try="$ac_compile"
3482 case "(($ac_try" in
3483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3484   *) ac_try_echo=$ac_try;;
3485 esac
3486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3487 $as_echo "$ac_try_echo"; } >&5
3488   (eval "$ac_compile") 2>&5
3489   ac_status=$?
3490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3491   test $ac_status = 0; }; then :
3492   for ac_file in conftest.o conftest.obj conftest.*; do
3493   test -f "$ac_file" || continue;
3494   case $ac_file in
3495     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3496     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3497        break;;
3498   esac
3499 done
3500 else
3501   $as_echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3503
3504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506 as_fn_error "cannot compute suffix of object files: cannot compile
3507 See \`config.log' for more details." "$LINENO" 5; }
3508 fi
3509 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3510 fi
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3512 $as_echo "$ac_cv_objext" >&6; }
3513 OBJEXT=$ac_cv_objext
3514 ac_objext=$OBJEXT
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3516 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3517 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3518   $as_echo_n "(cached) " >&6
3519 else
3520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h.  */
3522
3523 int
3524 main ()
3525 {
3526 #ifndef __GNUC__
3527        choke me
3528 #endif
3529
3530   ;
3531   return 0;
3532 }
3533 _ACEOF
3534 if ac_fn_c_try_compile "$LINENO"; then :
3535   ac_compiler_gnu=yes
3536 else
3537   ac_compiler_gnu=no
3538 fi
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3541
3542 fi
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3544 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3545 if test $ac_compiler_gnu = yes; then
3546   GCC=yes
3547 else
3548   GCC=
3549 fi
3550 ac_test_CFLAGS=${CFLAGS+set}
3551 ac_save_CFLAGS=$CFLAGS
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3553 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3554 if test "${ac_cv_prog_cc_g+set}" = set; then :
3555   $as_echo_n "(cached) " >&6
3556 else
3557   ac_save_c_werror_flag=$ac_c_werror_flag
3558    ac_c_werror_flag=yes
3559    ac_cv_prog_cc_g=no
3560    CFLAGS="-g"
3561    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562 /* end confdefs.h.  */
3563
3564 int
3565 main ()
3566 {
3567
3568   ;
3569   return 0;
3570 }
3571 _ACEOF
3572 if ac_fn_c_try_compile "$LINENO"; then :
3573   ac_cv_prog_cc_g=yes
3574 else
3575   CFLAGS=""
3576       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3577 /* end confdefs.h.  */
3578
3579 int
3580 main ()
3581 {
3582
3583   ;
3584   return 0;
3585 }
3586 _ACEOF
3587 if ac_fn_c_try_compile "$LINENO"; then :
3588
3589 else
3590   ac_c_werror_flag=$ac_save_c_werror_flag
3591          CFLAGS="-g"
3592          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593 /* end confdefs.h.  */
3594
3595 int
3596 main ()
3597 {
3598
3599   ;
3600   return 0;
3601 }
3602 _ACEOF
3603 if ac_fn_c_try_compile "$LINENO"; then :
3604   ac_cv_prog_cc_g=yes
3605 fi
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 fi
3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3609 fi
3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3611    ac_c_werror_flag=$ac_save_c_werror_flag
3612 fi
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3614 $as_echo "$ac_cv_prog_cc_g" >&6; }
3615 if test "$ac_test_CFLAGS" = set; then
3616   CFLAGS=$ac_save_CFLAGS
3617 elif test $ac_cv_prog_cc_g = yes; then
3618   if test "$GCC" = yes; then
3619     CFLAGS="-g -O2"
3620   else
3621     CFLAGS="-g"
3622   fi
3623 else
3624   if test "$GCC" = yes; then
3625     CFLAGS="-O2"
3626   else
3627     CFLAGS=
3628   fi
3629 fi
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3631 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3632 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3633   $as_echo_n "(cached) " >&6
3634 else
3635   ac_cv_prog_cc_c89=no
3636 ac_save_CC=$CC
3637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3638 /* end confdefs.h.  */
3639 #include <stdarg.h>
3640 #include <stdio.h>
3641 #include <sys/types.h>
3642 #include <sys/stat.h>
3643 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3644 struct buf { int x; };
3645 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3646 static char *e (p, i)
3647      char **p;
3648      int i;
3649 {
3650   return p[i];
3651 }
3652 static char *f (char * (*g) (char **, int), char **p, ...)
3653 {
3654   char *s;
3655   va_list v;
3656   va_start (v,p);
3657   s = g (p, va_arg (v,int));
3658   va_end (v);
3659   return s;
3660 }
3661
3662 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3663    function prototypes and stuff, but not '\xHH' hex character constants.
3664    These don't provoke an error unfortunately, instead are silently treated
3665    as 'x'.  The following induces an error, until -std is added to get
3666    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3667    array size at least.  It's necessary to write '\x00'==0 to get something
3668    that's true only with -std.  */
3669 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3670
3671 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3672    inside strings and character constants.  */
3673 #define FOO(x) 'x'
3674 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3675
3676 int test (int i, double x);
3677 struct s1 {int (*f) (int a);};
3678 struct s2 {int (*f) (double a);};
3679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3680 int argc;
3681 char **argv;
3682 int
3683 main ()
3684 {
3685 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3686   ;
3687   return 0;
3688 }
3689 _ACEOF
3690 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3691         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3692 do
3693   CC="$ac_save_CC $ac_arg"
3694   if ac_fn_c_try_compile "$LINENO"; then :
3695   ac_cv_prog_cc_c89=$ac_arg
3696 fi
3697 rm -f core conftest.err conftest.$ac_objext
3698   test "x$ac_cv_prog_cc_c89" != "xno" && break
3699 done
3700 rm -f conftest.$ac_ext
3701 CC=$ac_save_CC
3702
3703 fi
3704 # AC_CACHE_VAL
3705 case "x$ac_cv_prog_cc_c89" in
3706   x)
3707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3708 $as_echo "none needed" >&6; } ;;
3709   xno)
3710     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3711 $as_echo "unsupported" >&6; } ;;
3712   *)
3713     CC="$CC $ac_cv_prog_cc_c89"
3714     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3715 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3716 esac
3717 if test "x$ac_cv_prog_cc_c89" != xno; then :
3718
3719 fi
3720
3721 ac_ext=c
3722 ac_cpp='$CPP $CPPFLAGS'
3723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3726
3727 depcc="$CC"   am_compiler_list=
3728
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3730 $as_echo_n "checking dependency style of $depcc... " >&6; }
3731 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3732   $as_echo_n "(cached) " >&6
3733 else
3734   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3735   # We make a subdir and do the tests there.  Otherwise we can end up
3736   # making bogus files that we don't know about and never remove.  For
3737   # instance it was reported that on HP-UX the gcc test will end up
3738   # making a dummy file named `D' -- because `-MD' means `put the output
3739   # in D'.
3740   mkdir conftest.dir
3741   # Copy depcomp to subdir because otherwise we won't find it if we're
3742   # using a relative directory.
3743   cp "$am_depcomp" conftest.dir
3744   cd conftest.dir
3745   # We will build objects and dependencies in a subdirectory because
3746   # it helps to detect inapplicable dependency modes.  For instance
3747   # both Tru64's cc and ICC support -MD to output dependencies as a
3748   # side effect of compilation, but ICC will put the dependencies in
3749   # the current directory while Tru64 will put them in the object
3750   # directory.
3751   mkdir sub
3752
3753   am_cv_CC_dependencies_compiler_type=none
3754   if test "$am_compiler_list" = ""; then
3755      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3756   fi
3757   am__universal=false
3758   case " $depcc " in #(
3759      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3760      esac
3761
3762   for depmode in $am_compiler_list; do
3763     # Setup a source with many dependencies, because some compilers
3764     # like to wrap large dependency lists on column 80 (with \), and
3765     # we should not choose a depcomp mode which is confused by this.
3766     #
3767     # We need to recreate these files for each test, as the compiler may
3768     # overwrite some of them when testing with obscure command lines.
3769     # This happens at least with the AIX C compiler.
3770     : > sub/conftest.c
3771     for i in 1 2 3 4 5 6; do
3772       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3773       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3774       # Solaris 8's {/usr,}/bin/sh.
3775       touch sub/conftst$i.h
3776     done
3777     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3778
3779     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3780     # mode.  It turns out that the SunPro C++ compiler does not properly
3781     # handle `-M -o', and we need to detect this.  Also, some Intel
3782     # versions had trouble with output in subdirs
3783     am__obj=sub/conftest.${OBJEXT-o}
3784     am__minus_obj="-o $am__obj"
3785     case $depmode in
3786     gcc)
3787       # This depmode causes a compiler race in universal mode.
3788       test "$am__universal" = false || continue
3789       ;;
3790     nosideeffect)
3791       # after this tag, mechanisms are not by side-effect, so they'll
3792       # only be used when explicitly requested
3793       if test "x$enable_dependency_tracking" = xyes; then
3794         continue
3795       else
3796         break
3797       fi
3798       ;;
3799     msvisualcpp | msvcmsys)
3800       # This compiler won't grok `-c -o', but also, the minuso test has
3801       # not run yet.  These depmodes are late enough in the game, and
3802       # so weak that their functioning should not be impacted.
3803       am__obj=conftest.${OBJEXT-o}
3804       am__minus_obj=
3805       ;;
3806     none) break ;;
3807     esac
3808     if depmode=$depmode \
3809        source=sub/conftest.c object=$am__obj \
3810        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3811        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3812          >/dev/null 2>conftest.err &&
3813        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3814        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3815        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3816        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3817       # icc doesn't choke on unknown options, it will just issue warnings
3818       # or remarks (even with -Werror).  So we grep stderr for any message
3819       # that says an option was ignored or not supported.
3820       # When given -MP, icc 7.0 and 7.1 complain thusly:
3821       #   icc: Command line warning: ignoring option '-M'; no argument required
3822       # The diagnosis changed in icc 8.0:
3823       #   icc: Command line remark: option '-MP' not supported
3824       if (grep 'ignoring option' conftest.err ||
3825           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3826         am_cv_CC_dependencies_compiler_type=$depmode
3827         break
3828       fi
3829     fi
3830   done
3831
3832   cd ..
3833   rm -rf conftest.dir
3834 else
3835   am_cv_CC_dependencies_compiler_type=none
3836 fi
3837
3838 fi
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3840 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3841 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3842
3843  if
3844   test "x$enable_dependency_tracking" != xno \
3845   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3846   am__fastdepCC_TRUE=
3847   am__fastdepCC_FALSE='#'
3848 else
3849   am__fastdepCC_TRUE='#'
3850   am__fastdepCC_FALSE=
3851 fi
3852
3853
3854
3855 ac_ext=c
3856 ac_cpp='$CPP $CPPFLAGS'
3857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3861 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3862 # On Suns, sometimes $CPP names a directory.
3863 if test -n "$CPP" && test -d "$CPP"; then
3864   CPP=
3865 fi
3866 if test -z "$CPP"; then
3867   if test "${ac_cv_prog_CPP+set}" = set; then :
3868   $as_echo_n "(cached) " >&6
3869 else
3870       # Double quotes because CPP needs to be expanded
3871     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3872     do
3873       ac_preproc_ok=false
3874 for ac_c_preproc_warn_flag in '' yes
3875 do
3876   # Use a header file that comes with gcc, so configuring glibc
3877   # with a fresh cross-compiler works.
3878   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3879   # <limits.h> exists even on freestanding compilers.
3880   # On the NeXT, cc -E runs the code through the compiler's parser,
3881   # not just through cpp. "Syntax error" is here to catch this case.
3882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h.  */
3884 #ifdef __STDC__
3885 # include <limits.h>
3886 #else
3887 # include <assert.h>
3888 #endif
3889                      Syntax error
3890 _ACEOF
3891 if ac_fn_c_try_cpp "$LINENO"; then :
3892
3893 else
3894   # Broken: fails on valid input.
3895 continue
3896 fi
3897 rm -f conftest.err conftest.$ac_ext
3898
3899   # OK, works on sane cases.  Now check whether nonexistent headers
3900   # can be detected and how.
3901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3902 /* end confdefs.h.  */
3903 #include <ac_nonexistent.h>
3904 _ACEOF
3905 if ac_fn_c_try_cpp "$LINENO"; then :
3906   # Broken: success on invalid input.
3907 continue
3908 else
3909   # Passes both tests.
3910 ac_preproc_ok=:
3911 break
3912 fi
3913 rm -f conftest.err conftest.$ac_ext
3914
3915 done
3916 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3917 rm -f conftest.err conftest.$ac_ext
3918 if $ac_preproc_ok; then :
3919   break
3920 fi
3921
3922     done
3923     ac_cv_prog_CPP=$CPP
3924
3925 fi
3926   CPP=$ac_cv_prog_CPP
3927 else
3928   ac_cv_prog_CPP=$CPP
3929 fi
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3931 $as_echo "$CPP" >&6; }
3932 ac_preproc_ok=false
3933 for ac_c_preproc_warn_flag in '' yes
3934 do
3935   # Use a header file that comes with gcc, so configuring glibc
3936   # with a fresh cross-compiler works.
3937   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3938   # <limits.h> exists even on freestanding compilers.
3939   # On the NeXT, cc -E runs the code through the compiler's parser,
3940   # not just through cpp. "Syntax error" is here to catch this case.
3941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3942 /* end confdefs.h.  */
3943 #ifdef __STDC__
3944 # include <limits.h>
3945 #else
3946 # include <assert.h>
3947 #endif
3948                      Syntax error
3949 _ACEOF
3950 if ac_fn_c_try_cpp "$LINENO"; then :
3951
3952 else
3953   # Broken: fails on valid input.
3954 continue
3955 fi
3956 rm -f conftest.err conftest.$ac_ext
3957
3958   # OK, works on sane cases.  Now check whether nonexistent headers
3959   # can be detected and how.
3960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3961 /* end confdefs.h.  */
3962 #include <ac_nonexistent.h>
3963 _ACEOF
3964 if ac_fn_c_try_cpp "$LINENO"; then :
3965   # Broken: success on invalid input.
3966 continue
3967 else
3968   # Passes both tests.
3969 ac_preproc_ok=:
3970 break
3971 fi
3972 rm -f conftest.err conftest.$ac_ext
3973
3974 done
3975 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3976 rm -f conftest.err conftest.$ac_ext
3977 if $ac_preproc_ok; then :
3978
3979 else
3980   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3982 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3983 See \`config.log' for more details." "$LINENO" 5; }
3984 fi
3985
3986 ac_ext=c
3987 ac_cpp='$CPP $CPPFLAGS'
3988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3991
3992
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3994 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3995 if test "${ac_cv_path_GREP+set}" = set; then :
3996   $as_echo_n "(cached) " >&6
3997 else
3998   if test -z "$GREP"; then
3999   ac_path_GREP_found=false
4000   # Loop through the user's path and test for each of PROGNAME-LIST
4001   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4002 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4003 do
4004   IFS=$as_save_IFS
4005   test -z "$as_dir" && as_dir=.
4006     for ac_prog in grep ggrep; do
4007     for ac_exec_ext in '' $ac_executable_extensions; do
4008       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4009       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4010 # Check for GNU ac_path_GREP and select it if it is found.
4011   # Check for GNU $ac_path_GREP
4012 case `"$ac_path_GREP" --version 2>&1` in
4013 *GNU*)
4014   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4015 *)
4016   ac_count=0
4017   $as_echo_n 0123456789 >"conftest.in"
4018   while :
4019   do
4020     cat "conftest.in" "conftest.in" >"conftest.tmp"
4021     mv "conftest.tmp" "conftest.in"
4022     cp "conftest.in" "conftest.nl"
4023     $as_echo 'GREP' >> "conftest.nl"
4024     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4025     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4026     as_fn_arith $ac_count + 1 && ac_count=$as_val
4027     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4028       # Best one so far, save it but keep looking for a better one
4029       ac_cv_path_GREP="$ac_path_GREP"
4030       ac_path_GREP_max=$ac_count
4031     fi
4032     # 10*(2^10) chars as input seems more than enough
4033     test $ac_count -gt 10 && break
4034   done
4035   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4036 esac
4037
4038       $ac_path_GREP_found && break 3
4039     done
4040   done
4041   done
4042 IFS=$as_save_IFS
4043   if test -z "$ac_cv_path_GREP"; then
4044     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4045   fi
4046 else
4047   ac_cv_path_GREP=$GREP
4048 fi
4049
4050 fi
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4052 $as_echo "$ac_cv_path_GREP" >&6; }
4053  GREP="$ac_cv_path_GREP"
4054
4055
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4057 $as_echo_n "checking for egrep... " >&6; }
4058 if test "${ac_cv_path_EGREP+set}" = set; then :
4059   $as_echo_n "(cached) " >&6
4060 else
4061   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4062    then ac_cv_path_EGREP="$GREP -E"
4063    else
4064      if test -z "$EGREP"; then
4065   ac_path_EGREP_found=false
4066   # Loop through the user's path and test for each of PROGNAME-LIST
4067   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4069 do
4070   IFS=$as_save_IFS
4071   test -z "$as_dir" && as_dir=.
4072     for ac_prog in egrep; do
4073     for ac_exec_ext in '' $ac_executable_extensions; do
4074       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4075       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4076 # Check for GNU ac_path_EGREP and select it if it is found.
4077   # Check for GNU $ac_path_EGREP
4078 case `"$ac_path_EGREP" --version 2>&1` in
4079 *GNU*)
4080   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4081 *)
4082   ac_count=0
4083   $as_echo_n 0123456789 >"conftest.in"
4084   while :
4085   do
4086     cat "conftest.in" "conftest.in" >"conftest.tmp"
4087     mv "conftest.tmp" "conftest.in"
4088     cp "conftest.in" "conftest.nl"
4089     $as_echo 'EGREP' >> "conftest.nl"
4090     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4091     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4092     as_fn_arith $ac_count + 1 && ac_count=$as_val
4093     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4094       # Best one so far, save it but keep looking for a better one
4095       ac_cv_path_EGREP="$ac_path_EGREP"
4096       ac_path_EGREP_max=$ac_count
4097     fi
4098     # 10*(2^10) chars as input seems more than enough
4099     test $ac_count -gt 10 && break
4100   done
4101   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4102 esac
4103
4104       $ac_path_EGREP_found && break 3
4105     done
4106   done
4107   done
4108 IFS=$as_save_IFS
4109   if test -z "$ac_cv_path_EGREP"; then
4110     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4111   fi
4112 else
4113   ac_cv_path_EGREP=$EGREP
4114 fi
4115
4116    fi
4117 fi
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4119 $as_echo "$ac_cv_path_EGREP" >&6; }
4120  EGREP="$ac_cv_path_EGREP"
4121
4122
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4124 $as_echo_n "checking for ANSI C header files... " >&6; }
4125 if test "${ac_cv_header_stdc+set}" = set; then :
4126   $as_echo_n "(cached) " >&6
4127 else
4128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h.  */
4130 #include <stdlib.h>
4131 #include <stdarg.h>
4132 #include <string.h>
4133 #include <float.h>
4134
4135 int
4136 main ()
4137 {
4138
4139   ;
4140   return 0;
4141 }
4142 _ACEOF
4143 if ac_fn_c_try_compile "$LINENO"; then :
4144   ac_cv_header_stdc=yes
4145 else
4146   ac_cv_header_stdc=no
4147 fi
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149
4150 if test $ac_cv_header_stdc = yes; then
4151   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h.  */
4154 #include <string.h>
4155
4156 _ACEOF
4157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4158   $EGREP "memchr" >/dev/null 2>&1; then :
4159
4160 else
4161   ac_cv_header_stdc=no
4162 fi
4163 rm -f conftest*
4164
4165 fi
4166
4167 if test $ac_cv_header_stdc = yes; then
4168   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h.  */
4171 #include <stdlib.h>
4172
4173 _ACEOF
4174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4175   $EGREP "free" >/dev/null 2>&1; then :
4176
4177 else
4178   ac_cv_header_stdc=no
4179 fi
4180 rm -f conftest*
4181
4182 fi
4183
4184 if test $ac_cv_header_stdc = yes; then
4185   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4186   if test "$cross_compiling" = yes; then :
4187   :
4188 else
4189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h.  */
4191 #include <ctype.h>
4192 #include <stdlib.h>
4193 #if ((' ' & 0x0FF) == 0x020)
4194 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4195 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4196 #else
4197 # define ISLOWER(c) \
4198                    (('a' <= (c) && (c) <= 'i') \
4199                      || ('j' <= (c) && (c) <= 'r') \
4200                      || ('s' <= (c) && (c) <= 'z'))
4201 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4202 #endif
4203
4204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4205 int
4206 main ()
4207 {
4208   int i;
4209   for (i = 0; i < 256; i++)
4210     if (XOR (islower (i), ISLOWER (i))
4211         || toupper (i) != TOUPPER (i))
4212       return 2;
4213   return 0;
4214 }
4215 _ACEOF
4216 if ac_fn_c_try_run "$LINENO"; then :
4217
4218 else
4219   ac_cv_header_stdc=no
4220 fi
4221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4222   conftest.$ac_objext conftest.beam conftest.$ac_ext
4223 fi
4224
4225 fi
4226 fi
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4228 $as_echo "$ac_cv_header_stdc" >&6; }
4229 if test $ac_cv_header_stdc = yes; then
4230
4231 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4232
4233 fi
4234
4235 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4236 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4237                   inttypes.h stdint.h unistd.h
4238 do :
4239   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4240 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4241 "
4242 eval as_val=\$$as_ac_Header
4243    if test "x$as_val" = x""yes; then :
4244   cat >>confdefs.h <<_ACEOF
4245 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4246 _ACEOF
4247
4248 fi
4249
4250 done
4251
4252
4253
4254   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4255 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4256   MINIX=yes
4257 else
4258   MINIX=
4259 fi
4260
4261
4262   if test "$MINIX" = yes; then
4263
4264 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4265
4266
4267 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4268
4269
4270 $as_echo "#define _MINIX 1" >>confdefs.h
4271
4272   fi
4273
4274
4275   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4276 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4277 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4278   $as_echo_n "(cached) " >&6
4279 else
4280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h.  */
4282
4283 #         define __EXTENSIONS__ 1
4284           $ac_includes_default
4285 int
4286 main ()
4287 {
4288
4289   ;
4290   return 0;
4291 }
4292 _ACEOF
4293 if ac_fn_c_try_compile "$LINENO"; then :
4294   ac_cv_safe_to_define___extensions__=yes
4295 else
4296   ac_cv_safe_to_define___extensions__=no
4297 fi
4298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4299 fi
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4301 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4302   test $ac_cv_safe_to_define___extensions__ = yes &&
4303     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4304
4305   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4306
4307   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4308
4309   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4310
4311   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4312
4313
4314
4315 # See if makeinfo has been installed and is modern enough
4316 # that we can use it.
4317
4318   # Extract the first word of "makeinfo", so it can be a program name with args.
4319 set dummy makeinfo; ac_word=$2
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321 $as_echo_n "checking for $ac_word... " >&6; }
4322 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
4323   $as_echo_n "(cached) " >&6
4324 else
4325   if test -n "$MAKEINFO"; then
4326   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
4327 else
4328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 for as_dir in $PATH
4330 do
4331   IFS=$as_save_IFS
4332   test -z "$as_dir" && as_dir=.
4333     for ac_exec_ext in '' $ac_executable_extensions; do
4334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4335     ac_cv_prog_MAKEINFO="makeinfo"
4336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337     break 2
4338   fi
4339 done
4340   done
4341 IFS=$as_save_IFS
4342
4343 fi
4344 fi
4345 MAKEINFO=$ac_cv_prog_MAKEINFO
4346 if test -n "$MAKEINFO"; then
4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
4348 $as_echo "$MAKEINFO" >&6; }
4349 else
4350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4352 fi
4353
4354
4355   if test -n "$MAKEINFO"; then
4356     # Found it, now check the version.
4357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
4358 $as_echo_n "checking for modern makeinfo... " >&6; }
4359 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
4360   $as_echo_n "(cached) " >&6
4361 else
4362   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
4363                                      sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
4364
4365                     case $ac_prog_version in
4366                       '')  gcc_cv_prog_makeinfo_modern=no;;
4367                       4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*)  gcc_cv_prog_makeinfo_modern=yes;;
4368                       *)   gcc_cv_prog_makeinfo_modern=no;;
4369                     esac
4370
4371 fi
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
4373 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
4374   else
4375     gcc_cv_prog_makeinfo_modern=no
4376   fi
4377   if test $gcc_cv_prog_makeinfo_modern = no; then
4378     MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
4379   fi
4380
4381  if test $gcc_cv_prog_makeinfo_modern = "yes"; then
4382   BUILD_INFO_TRUE=
4383   BUILD_INFO_FALSE='#'
4384 else
4385   BUILD_INFO_TRUE='#'
4386   BUILD_INFO_FALSE=
4387 fi
4388
4389
4390
4391
4392 # Check whether --with-bugurl was given.
4393 if test "${with_bugurl+set}" = set; then :
4394   withval=$with_bugurl; case "$withval" in
4395       yes) as_fn_error "bug URL not specified" "$LINENO" 5 ;;
4396       no)  BUGURL=
4397            ;;
4398       *)   BUGURL="$withval"
4399            ;;
4400      esac
4401 else
4402   BUGURL="http://gcc.gnu.org/bugs.html"
4403
4404 fi
4405
4406   case ${BUGURL} in
4407   "")
4408     REPORT_BUGS_TO=
4409     REPORT_BUGS_TEXI=
4410     ;;
4411   *)
4412     REPORT_BUGS_TO="<$BUGURL>"
4413     REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
4414     ;;
4415   esac;
4416
4417
4418
4419
4420 # Configure libtool
4421 case `pwd` in
4422   *\ * | *\     *)
4423     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4424 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4425 esac
4426
4427
4428
4429 macro_version='2.2.7a'
4430 macro_revision='1.3134'
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444 ltmain="$ac_aux_dir/ltmain.sh"
4445
4446 # Backslashify metacharacters that are still active within
4447 # double-quoted strings.
4448 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4449
4450 # Same as above, but do not quote variable references.
4451 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4452
4453 # Sed substitution to delay expansion of an escaped shell variable in a
4454 # double_quote_subst'ed string.
4455 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4456
4457 # Sed substitution to delay expansion of an escaped single quote.
4458 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4459
4460 # Sed substitution to avoid accidental globbing in evaled expressions
4461 no_glob_subst='s/\*/\\\*/g'
4462
4463 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4464 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4465 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4466
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4468 $as_echo_n "checking how to print strings... " >&6; }
4469 # Test print first, because it will be a builtin if present.
4470 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4471    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4472   ECHO='print -r --'
4473 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4474   ECHO='printf %s\n'
4475 else
4476   # Use this function as a fallback that always works.
4477   func_fallback_echo ()
4478   {
4479     eval 'cat <<_LTECHO_EOF
4480 $1
4481 _LTECHO_EOF'
4482   }
4483   ECHO='func_fallback_echo'
4484 fi
4485
4486 # func_echo_all arg...
4487 # Invoke $ECHO with all args, space-separated.
4488 func_echo_all ()
4489 {
4490     $ECHO ""
4491 }
4492
4493 case "$ECHO" in
4494   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4495 $as_echo "printf" >&6; } ;;
4496   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4497 $as_echo "print -r" >&6; } ;;
4498   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4499 $as_echo "cat" >&6; } ;;
4500 esac
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4516 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4517 if test "${ac_cv_path_SED+set}" = set; then :
4518   $as_echo_n "(cached) " >&6
4519 else
4520             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4521      for ac_i in 1 2 3 4 5 6 7; do
4522        ac_script="$ac_script$as_nl$ac_script"
4523      done
4524      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4525      { ac_script=; unset ac_script;}
4526      if test -z "$SED"; then
4527   ac_path_SED_found=false
4528   # Loop through the user's path and test for each of PROGNAME-LIST
4529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 for as_dir in $PATH
4531 do
4532   IFS=$as_save_IFS
4533   test -z "$as_dir" && as_dir=.
4534     for ac_prog in sed gsed; do
4535     for ac_exec_ext in '' $ac_executable_extensions; do
4536       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4537       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4538 # Check for GNU ac_path_SED and select it if it is found.
4539   # Check for GNU $ac_path_SED
4540 case `"$ac_path_SED" --version 2>&1` in
4541 *GNU*)
4542   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4543 *)
4544   ac_count=0
4545   $as_echo_n 0123456789 >"conftest.in"
4546   while :
4547   do
4548     cat "conftest.in" "conftest.in" >"conftest.tmp"
4549     mv "conftest.tmp" "conftest.in"
4550     cp "conftest.in" "conftest.nl"
4551     $as_echo '' >> "conftest.nl"
4552     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4553     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4554     as_fn_arith $ac_count + 1 && ac_count=$as_val
4555     if test $ac_count -gt ${ac_path_SED_max-0}; then
4556       # Best one so far, save it but keep looking for a better one
4557       ac_cv_path_SED="$ac_path_SED"
4558       ac_path_SED_max=$ac_count
4559     fi
4560     # 10*(2^10) chars as input seems more than enough
4561     test $ac_count -gt 10 && break
4562   done
4563   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4564 esac
4565
4566       $ac_path_SED_found && break 3
4567     done
4568   done
4569   done
4570 IFS=$as_save_IFS
4571   if test -z "$ac_cv_path_SED"; then
4572     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4573   fi
4574 else
4575   ac_cv_path_SED=$SED
4576 fi
4577
4578 fi
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4580 $as_echo "$ac_cv_path_SED" >&6; }
4581  SED="$ac_cv_path_SED"
4582   rm -f conftest.sed
4583
4584 test -z "$SED" && SED=sed
4585 Xsed="$SED -e 1s/^X//"
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4598 $as_echo_n "checking for fgrep... " >&6; }
4599 if test "${ac_cv_path_FGREP+set}" = set; then :
4600   $as_echo_n "(cached) " >&6
4601 else
4602   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4603    then ac_cv_path_FGREP="$GREP -F"
4604    else
4605      if test -z "$FGREP"; then
4606   ac_path_FGREP_found=false
4607   # Loop through the user's path and test for each of PROGNAME-LIST
4608   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4610 do
4611   IFS=$as_save_IFS
4612   test -z "$as_dir" && as_dir=.
4613     for ac_prog in fgrep; do
4614     for ac_exec_ext in '' $ac_executable_extensions; do
4615       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4616       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4617 # Check for GNU ac_path_FGREP and select it if it is found.
4618   # Check for GNU $ac_path_FGREP
4619 case `"$ac_path_FGREP" --version 2>&1` in
4620 *GNU*)
4621   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4622 *)
4623   ac_count=0
4624   $as_echo_n 0123456789 >"conftest.in"
4625   while :
4626   do
4627     cat "conftest.in" "conftest.in" >"conftest.tmp"
4628     mv "conftest.tmp" "conftest.in"
4629     cp "conftest.in" "conftest.nl"
4630     $as_echo 'FGREP' >> "conftest.nl"
4631     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4632     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4633     as_fn_arith $ac_count + 1 && ac_count=$as_val
4634     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4635       # Best one so far, save it but keep looking for a better one
4636       ac_cv_path_FGREP="$ac_path_FGREP"
4637       ac_path_FGREP_max=$ac_count
4638     fi
4639     # 10*(2^10) chars as input seems more than enough
4640     test $ac_count -gt 10 && break
4641   done
4642   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4643 esac
4644
4645       $ac_path_FGREP_found && break 3
4646     done
4647   done
4648   done
4649 IFS=$as_save_IFS
4650   if test -z "$ac_cv_path_FGREP"; then
4651     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4652   fi
4653 else
4654   ac_cv_path_FGREP=$FGREP
4655 fi
4656
4657    fi
4658 fi
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4660 $as_echo "$ac_cv_path_FGREP" >&6; }
4661  FGREP="$ac_cv_path_FGREP"
4662
4663
4664 test -z "$GREP" && GREP=grep
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684 # Check whether --with-gnu-ld was given.
4685 if test "${with_gnu_ld+set}" = set; then :
4686   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4687 else
4688   with_gnu_ld=no
4689 fi
4690
4691 ac_prog=ld
4692 if test "$GCC" = yes; then
4693   # Check if gcc -print-prog-name=ld gives a path.
4694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4695 $as_echo_n "checking for ld used by $CC... " >&6; }
4696   case $host in
4697   *-*-mingw*)
4698     # gcc leaves a trailing carriage return which upsets mingw
4699     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4700   *)
4701     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4702   esac
4703   case $ac_prog in
4704     # Accept absolute paths.
4705     [\\/]* | ?:[\\/]*)
4706       re_direlt='/[^/][^/]*/\.\./'
4707       # Canonicalize the pathname of ld
4708       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4709       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4710         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4711       done
4712       test -z "$LD" && LD="$ac_prog"
4713       ;;
4714   "")
4715     # If it fails, then pretend we aren't using GCC.
4716     ac_prog=ld
4717     ;;
4718   *)
4719     # If it is relative, then search for the first ld in PATH.
4720     with_gnu_ld=unknown
4721     ;;
4722   esac
4723 elif test "$with_gnu_ld" = yes; then
4724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4725 $as_echo_n "checking for GNU ld... " >&6; }
4726 else
4727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4728 $as_echo_n "checking for non-GNU ld... " >&6; }
4729 fi
4730 if test "${lt_cv_path_LD+set}" = set; then :
4731   $as_echo_n "(cached) " >&6
4732 else
4733   if test -z "$LD"; then
4734   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4735   for ac_dir in $PATH; do
4736     IFS="$lt_save_ifs"
4737     test -z "$ac_dir" && ac_dir=.
4738     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4739       lt_cv_path_LD="$ac_dir/$ac_prog"
4740       # Check to see if the program is GNU ld.  I'd rather use --version,
4741       # but apparently some variants of GNU ld only accept -v.
4742       # Break only if it was the GNU/non-GNU ld that we prefer.
4743       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4744       *GNU* | *'with BFD'*)
4745         test "$with_gnu_ld" != no && break
4746         ;;
4747       *)
4748         test "$with_gnu_ld" != yes && break
4749         ;;
4750       esac
4751     fi
4752   done
4753   IFS="$lt_save_ifs"
4754 else
4755   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4756 fi
4757 fi
4758
4759 LD="$lt_cv_path_LD"
4760 if test -n "$LD"; then
4761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4762 $as_echo "$LD" >&6; }
4763 else
4764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4766 fi
4767 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4769 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4770 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4771   $as_echo_n "(cached) " >&6
4772 else
4773   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4774 case `$LD -v 2>&1 </dev/null` in
4775 *GNU* | *'with BFD'*)
4776   lt_cv_prog_gnu_ld=yes
4777   ;;
4778 *)
4779   lt_cv_prog_gnu_ld=no
4780   ;;
4781 esac
4782 fi
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4784 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4785 with_gnu_ld=$lt_cv_prog_gnu_ld
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4796 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4797 if test "${lt_cv_path_NM+set}" = set; then :
4798   $as_echo_n "(cached) " >&6
4799 else
4800   if test -n "$NM"; then
4801   # Let the user override the test.
4802   lt_cv_path_NM="$NM"
4803 else
4804   lt_nm_to_check="${ac_tool_prefix}nm"
4805   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4806     lt_nm_to_check="$lt_nm_to_check nm"
4807   fi
4808   for lt_tmp_nm in $lt_nm_to_check; do
4809     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4810     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4811       IFS="$lt_save_ifs"
4812       test -z "$ac_dir" && ac_dir=.
4813       tmp_nm="$ac_dir/$lt_tmp_nm"
4814       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4815         # Check to see if the nm accepts a BSD-compat flag.
4816         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4817         #   nm: unknown option "B" ignored
4818         # Tru64's nm complains that /dev/null is an invalid object file
4819         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4820         */dev/null* | *'Invalid file or object type'*)
4821           lt_cv_path_NM="$tmp_nm -B"
4822           break
4823           ;;
4824         *)
4825           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4826           */dev/null*)
4827             lt_cv_path_NM="$tmp_nm -p"
4828             break
4829             ;;
4830           *)
4831             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4832             continue # so that we can try to find one that supports BSD flags
4833             ;;
4834           esac
4835           ;;
4836         esac
4837       fi
4838     done
4839     IFS="$lt_save_ifs"
4840   done
4841   : ${lt_cv_path_NM=no}
4842 fi
4843 fi
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4845 $as_echo "$lt_cv_path_NM" >&6; }
4846 if test "$lt_cv_path_NM" != "no"; then
4847   NM="$lt_cv_path_NM"
4848 else
4849   # Didn't find any BSD compatible name lister, look for dumpbin.
4850   if test -n "$DUMPBIN"; then :
4851     # Let the user override the test.
4852   else
4853     if test -n "$ac_tool_prefix"; then
4854   for ac_prog in dumpbin "link -dump"
4855   do
4856     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4861   $as_echo_n "(cached) " >&6
4862 else
4863   if test -n "$DUMPBIN"; then
4864   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4865 else
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 for as_dir in $PATH
4868 do
4869   IFS=$as_save_IFS
4870   test -z "$as_dir" && as_dir=.
4871     for ac_exec_ext in '' $ac_executable_extensions; do
4872   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4874     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4875     break 2
4876   fi
4877 done
4878   done
4879 IFS=$as_save_IFS
4880
4881 fi
4882 fi
4883 DUMPBIN=$ac_cv_prog_DUMPBIN
4884 if test -n "$DUMPBIN"; then
4885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4886 $as_echo "$DUMPBIN" >&6; }
4887 else
4888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4890 fi
4891
4892
4893     test -n "$DUMPBIN" && break
4894   done
4895 fi
4896 if test -z "$DUMPBIN"; then
4897   ac_ct_DUMPBIN=$DUMPBIN
4898   for ac_prog in dumpbin "link -dump"
4899 do
4900   # Extract the first word of "$ac_prog", so it can be a program name with args.
4901 set dummy $ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4905   $as_echo_n "(cached) " >&6
4906 else
4907   if test -n "$ac_ct_DUMPBIN"; then
4908   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4909 else
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911 for as_dir in $PATH
4912 do
4913   IFS=$as_save_IFS
4914   test -z "$as_dir" && as_dir=.
4915     for ac_exec_ext in '' $ac_executable_extensions; do
4916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4918     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4919     break 2
4920   fi
4921 done
4922   done
4923 IFS=$as_save_IFS
4924
4925 fi
4926 fi
4927 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4928 if test -n "$ac_ct_DUMPBIN"; then
4929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4930 $as_echo "$ac_ct_DUMPBIN" >&6; }
4931 else
4932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4934 fi
4935
4936
4937   test -n "$ac_ct_DUMPBIN" && break
4938 done
4939
4940   if test "x$ac_ct_DUMPBIN" = x; then
4941     DUMPBIN=":"
4942   else
4943     case $cross_compiling:$ac_tool_warned in
4944 yes:)
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4947 ac_tool_warned=yes ;;
4948 esac
4949     DUMPBIN=$ac_ct_DUMPBIN
4950   fi
4951 fi
4952
4953     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4954     *COFF*)
4955       DUMPBIN="$DUMPBIN -symbols"
4956       ;;
4957     *)
4958       DUMPBIN=:
4959       ;;
4960     esac
4961   fi
4962
4963   if test "$DUMPBIN" != ":"; then
4964     NM="$DUMPBIN"
4965   fi
4966 fi
4967 test -z "$NM" && NM=nm
4968
4969
4970
4971
4972
4973
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4975 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4976 if test "${lt_cv_nm_interface+set}" = set; then :
4977   $as_echo_n "(cached) " >&6
4978 else
4979   lt_cv_nm_interface="BSD nm"
4980   echo "int some_variable = 0;" > conftest.$ac_ext
4981   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4982   (eval "$ac_compile" 2>conftest.err)
4983   cat conftest.err >&5
4984   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4985   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4986   cat conftest.err >&5
4987   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4988   cat conftest.out >&5
4989   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4990     lt_cv_nm_interface="MS dumpbin"
4991   fi
4992   rm -f conftest*
4993 fi
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4995 $as_echo "$lt_cv_nm_interface" >&6; }
4996
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5006 fi
5007
5008 # find the maximum length of command line arguments
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5010 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5011 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5012   $as_echo_n "(cached) " >&6
5013 else
5014     i=0
5015   teststring="ABCD"
5016
5017   case $build_os in
5018   msdosdjgpp*)
5019     # On DJGPP, this test can blow up pretty badly due to problems in libc
5020     # (any single argument exceeding 2000 bytes causes a buffer overrun
5021     # during glob expansion).  Even if it were fixed, the result of this
5022     # check would be larger than it should be.
5023     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5024     ;;
5025
5026   gnu*)
5027     # Under GNU Hurd, this test is not required because there is
5028     # no limit to the length of command line arguments.
5029     # Libtool will interpret -1 as no limit whatsoever
5030     lt_cv_sys_max_cmd_len=-1;
5031     ;;
5032
5033   cygwin* | mingw* | cegcc*)
5034     # On Win9x/ME, this test blows up -- it succeeds, but takes
5035     # about 5 minutes as the teststring grows exponentially.
5036     # Worse, since 9x/ME are not pre-emptively multitasking,
5037     # you end up with a "frozen" computer, even though with patience
5038     # the test eventually succeeds (with a max line length of 256k).
5039     # Instead, let's just punt: use the minimum linelength reported by
5040     # all of the supported platforms: 8192 (on NT/2K/XP).
5041     lt_cv_sys_max_cmd_len=8192;
5042     ;;
5043
5044   mint*)
5045     # On MiNT this can take a long time and run out of memory.
5046     lt_cv_sys_max_cmd_len=8192;
5047     ;;
5048
5049   amigaos*)
5050     # On AmigaOS with pdksh, this test takes hours, literally.
5051     # So we just punt and use a minimum line length of 8192.
5052     lt_cv_sys_max_cmd_len=8192;
5053     ;;
5054
5055   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5056     # This has been around since 386BSD, at least.  Likely further.
5057     if test -x /sbin/sysctl; then
5058       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5059     elif test -x /usr/sbin/sysctl; then
5060       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5061     else
5062       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5063     fi
5064     # And add a safety zone
5065     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5066     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5067     ;;
5068
5069   interix*)
5070     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5071     lt_cv_sys_max_cmd_len=196608
5072     ;;
5073
5074   osf*)
5075     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5076     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5077     # nice to cause kernel panics so lets avoid the loop below.
5078     # First set a reasonable default.
5079     lt_cv_sys_max_cmd_len=16384
5080     #
5081     if test -x /sbin/sysconfig; then
5082       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5083         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5084       esac
5085     fi
5086     ;;
5087   sco3.2v5*)
5088     lt_cv_sys_max_cmd_len=102400
5089     ;;
5090   sysv5* | sco5v6* | sysv4.2uw2*)
5091     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5092     if test -n "$kargmax"; then
5093       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5094     else
5095       lt_cv_sys_max_cmd_len=32768
5096     fi
5097     ;;
5098   *)
5099     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5100     if test -n "$lt_cv_sys_max_cmd_len"; then
5101       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5102       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5103     else
5104       # Make teststring a little bigger before we do anything with it.
5105       # a 1K string should be a reasonable start.
5106       for i in 1 2 3 4 5 6 7 8 ; do
5107         teststring=$teststring$teststring
5108       done
5109       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5110       # If test is not a shell built-in, we'll probably end up computing a
5111       # maximum length that is only half of the actual maximum length, but
5112       # we can't tell.
5113       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5114                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5115               test $i != 17 # 1/2 MB should be enough
5116       do
5117         i=`expr $i + 1`
5118         teststring=$teststring$teststring
5119       done
5120       # Only check the string length outside the loop.
5121       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5122       teststring=
5123       # Add a significant safety factor because C++ compilers can tack on
5124       # massive amounts of additional arguments before passing them to the
5125       # linker.  It appears as though 1/2 is a usable value.
5126       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5127     fi
5128     ;;
5129   esac
5130
5131 fi
5132
5133 if test -n $lt_cv_sys_max_cmd_len ; then
5134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5135 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5136 else
5137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5138 $as_echo "none" >&6; }
5139 fi
5140 max_cmd_len=$lt_cv_sys_max_cmd_len
5141
5142
5143
5144
5145
5146
5147 : ${CP="cp -f"}
5148 : ${MV="mv -f"}
5149 : ${RM="rm -f"}
5150
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5152 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5153 # Try some XSI features
5154 xsi_shell=no
5155 ( _lt_dummy="a/b/c"
5156   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5157       = c,a/b,, \
5158     && eval 'test $(( 1 + 1 )) -eq 2 \
5159     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5160   && xsi_shell=yes
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5162 $as_echo "$xsi_shell" >&6; }
5163
5164
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5166 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5167 lt_shell_append=no
5168 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5169     >/dev/null 2>&1 \
5170   && lt_shell_append=yes
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5172 $as_echo "$lt_shell_append" >&6; }
5173
5174
5175 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5176   lt_unset=unset
5177 else
5178   lt_unset=false
5179 fi
5180
5181
5182
5183
5184
5185 # test EBCDIC or ASCII
5186 case `echo X|tr X '\101'` in
5187  A) # ASCII based system
5188     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5189   lt_SP2NL='tr \040 \012'
5190   lt_NL2SP='tr \015\012 \040\040'
5191   ;;
5192  *) # EBCDIC based system
5193   lt_SP2NL='tr \100 \n'
5194   lt_NL2SP='tr \r\n \100\100'
5195   ;;
5196 esac
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5207 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5208 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5209   $as_echo_n "(cached) " >&6
5210 else
5211   lt_cv_ld_reload_flag='-r'
5212 fi
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5214 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5215 reload_flag=$lt_cv_ld_reload_flag
5216 case $reload_flag in
5217 "" | " "*) ;;
5218 *) reload_flag=" $reload_flag" ;;
5219 esac
5220 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5221 case $host_os in
5222   darwin*)
5223     if test "$GCC" = yes; then
5224       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5225     else
5226       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5227     fi
5228     ;;
5229 esac
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239 if test -n "$ac_tool_prefix"; then
5240   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5241 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243 $as_echo_n "checking for $ac_word... " >&6; }
5244 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5245   $as_echo_n "(cached) " >&6
5246 else
5247   if test -n "$OBJDUMP"; then
5248   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5252 do
5253   IFS=$as_save_IFS
5254   test -z "$as_dir" && as_dir=.
5255     for ac_exec_ext in '' $ac_executable_extensions; do
5256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259     break 2
5260   fi
5261 done
5262   done
5263 IFS=$as_save_IFS
5264
5265 fi
5266 fi
5267 OBJDUMP=$ac_cv_prog_OBJDUMP
5268 if test -n "$OBJDUMP"; then
5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5270 $as_echo "$OBJDUMP" >&6; }
5271 else
5272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273 $as_echo "no" >&6; }
5274 fi
5275
5276
5277 fi
5278 if test -z "$ac_cv_prog_OBJDUMP"; then
5279   ac_ct_OBJDUMP=$OBJDUMP
5280   # Extract the first word of "objdump", so it can be a program name with args.
5281 set dummy objdump; ac_word=$2
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283 $as_echo_n "checking for $ac_word... " >&6; }
5284 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5285   $as_echo_n "(cached) " >&6
5286 else
5287   if test -n "$ac_ct_OBJDUMP"; then
5288   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5289 else
5290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5291 for as_dir in $PATH
5292 do
5293   IFS=$as_save_IFS
5294   test -z "$as_dir" && as_dir=.
5295     for ac_exec_ext in '' $ac_executable_extensions; do
5296   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5299     break 2
5300   fi
5301 done
5302   done
5303 IFS=$as_save_IFS
5304
5305 fi
5306 fi
5307 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5308 if test -n "$ac_ct_OBJDUMP"; then
5309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5310 $as_echo "$ac_ct_OBJDUMP" >&6; }
5311 else
5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313 $as_echo "no" >&6; }
5314 fi
5315
5316   if test "x$ac_ct_OBJDUMP" = x; then
5317     OBJDUMP="false"
5318   else
5319     case $cross_compiling:$ac_tool_warned in
5320 yes:)
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5323 ac_tool_warned=yes ;;
5324 esac
5325     OBJDUMP=$ac_ct_OBJDUMP
5326   fi
5327 else
5328   OBJDUMP="$ac_cv_prog_OBJDUMP"
5329 fi
5330
5331 test -z "$OBJDUMP" && OBJDUMP=objdump
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5342 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5343 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5344   $as_echo_n "(cached) " >&6
5345 else
5346   lt_cv_file_magic_cmd='$MAGIC_CMD'
5347 lt_cv_file_magic_test_file=
5348 lt_cv_deplibs_check_method='unknown'
5349 # Need to set the preceding variable on all platforms that support
5350 # interlibrary dependencies.
5351 # 'none' -- dependencies not supported.
5352 # `unknown' -- same as none, but documents that we really don't know.
5353 # 'pass_all' -- all dependencies passed with no checks.
5354 # 'test_compile' -- check by making test program.
5355 # 'file_magic [[regex]]' -- check by looking for files in library path
5356 # which responds to the $file_magic_cmd with a given extended regex.
5357 # If you have `file' or equivalent on your system and you're not sure
5358 # whether `pass_all' will *always* work, you probably want this one.
5359
5360 case $host_os in
5361 aix[4-9]*)
5362   lt_cv_deplibs_check_method=pass_all
5363   ;;
5364
5365 beos*)
5366   lt_cv_deplibs_check_method=pass_all
5367   ;;
5368
5369 bsdi[45]*)
5370   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5371   lt_cv_file_magic_cmd='/usr/bin/file -L'
5372   lt_cv_file_magic_test_file=/shlib/libc.so
5373   ;;
5374
5375 cygwin*)
5376   # func_win32_libid is a shell function defined in ltmain.sh
5377   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5378   lt_cv_file_magic_cmd='func_win32_libid'
5379   ;;
5380
5381 mingw* | pw32*)
5382   # Base MSYS/MinGW do not provide the 'file' command needed by
5383   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5384   # unless we find 'file', for example because we are cross-compiling.
5385   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5386   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5387     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5388     lt_cv_file_magic_cmd='func_win32_libid'
5389   else
5390     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5391     lt_cv_file_magic_cmd='$OBJDUMP -f'
5392   fi
5393   ;;
5394
5395 cegcc*)
5396   # use the weaker test based on 'objdump'. See mingw*.
5397   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5398   lt_cv_file_magic_cmd='$OBJDUMP -f'
5399   ;;
5400
5401 darwin* | rhapsody*)
5402   lt_cv_deplibs_check_method=pass_all
5403   ;;
5404
5405 freebsd* | dragonfly*)
5406   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5407     case $host_cpu in
5408     i*86 )
5409       # Not sure whether the presence of OpenBSD here was a mistake.
5410       # Let's accept both of them until this is cleared up.
5411       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5412       lt_cv_file_magic_cmd=/usr/bin/file
5413       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5414       ;;
5415     esac
5416   else
5417     lt_cv_deplibs_check_method=pass_all
5418   fi
5419   ;;
5420
5421 gnu*)
5422   lt_cv_deplibs_check_method=pass_all
5423   ;;
5424
5425 haiku*)
5426   lt_cv_deplibs_check_method=pass_all
5427   ;;
5428
5429 hpux10.20* | hpux11*)
5430   lt_cv_file_magic_cmd=/usr/bin/file
5431   case $host_cpu in
5432   ia64*)
5433     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5434     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5435     ;;
5436   hppa*64*)
5437     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]'
5438     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5439     ;;
5440   *)
5441     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5442     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5443     ;;
5444   esac
5445   ;;
5446
5447 interix[3-9]*)
5448   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5449   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5450   ;;
5451
5452 irix5* | irix6* | nonstopux*)
5453   case $LD in
5454   *-32|*"-32 ") libmagic=32-bit;;
5455   *-n32|*"-n32 ") libmagic=N32;;
5456   *-64|*"-64 ") libmagic=64-bit;;
5457   *) libmagic=never-match;;
5458   esac
5459   lt_cv_deplibs_check_method=pass_all
5460   ;;
5461
5462 # This must be Linux ELF.
5463 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5464   lt_cv_deplibs_check_method=pass_all
5465   ;;
5466
5467 netbsd*)
5468   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5469     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5470   else
5471     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5472   fi
5473   ;;
5474
5475 newos6*)
5476   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5477   lt_cv_file_magic_cmd=/usr/bin/file
5478   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5479   ;;
5480
5481 *nto* | *qnx*)
5482   lt_cv_deplibs_check_method=pass_all
5483   ;;
5484
5485 openbsd*)
5486   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5487     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5488   else
5489     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5490   fi
5491   ;;
5492
5493 osf3* | osf4* | osf5*)
5494   lt_cv_deplibs_check_method=pass_all
5495   ;;
5496
5497 rdos*)
5498   lt_cv_deplibs_check_method=pass_all
5499   ;;
5500
5501 solaris*)
5502   lt_cv_deplibs_check_method=pass_all
5503   ;;
5504
5505 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5506   lt_cv_deplibs_check_method=pass_all
5507   ;;
5508
5509 sysv4 | sysv4.3*)
5510   case $host_vendor in
5511   motorola)
5512     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]'
5513     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5514     ;;
5515   ncr)
5516     lt_cv_deplibs_check_method=pass_all
5517     ;;
5518   sequent)
5519     lt_cv_file_magic_cmd='/bin/file'
5520     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5521     ;;
5522   sni)
5523     lt_cv_file_magic_cmd='/bin/file'
5524     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5525     lt_cv_file_magic_test_file=/lib/libc.so
5526     ;;
5527   siemens)
5528     lt_cv_deplibs_check_method=pass_all
5529     ;;
5530   pc)
5531     lt_cv_deplibs_check_method=pass_all
5532     ;;
5533   esac
5534   ;;
5535
5536 tpf*)
5537   lt_cv_deplibs_check_method=pass_all
5538   ;;
5539 esac
5540
5541 fi
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5543 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5544 file_magic_cmd=$lt_cv_file_magic_cmd
5545 deplibs_check_method=$lt_cv_deplibs_check_method
5546 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559 if test -n "$ac_tool_prefix"; then
5560   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5561 set dummy ${ac_tool_prefix}ar; ac_word=$2
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5563 $as_echo_n "checking for $ac_word... " >&6; }
5564 if test "${ac_cv_prog_AR+set}" = set; then :
5565   $as_echo_n "(cached) " >&6
5566 else
5567   if test -n "$AR"; then
5568   ac_cv_prog_AR="$AR" # Let the user override the test.
5569 else
5570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5571 for as_dir in $PATH
5572 do
5573   IFS=$as_save_IFS
5574   test -z "$as_dir" && as_dir=.
5575     for ac_exec_ext in '' $ac_executable_extensions; do
5576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5577     ac_cv_prog_AR="${ac_tool_prefix}ar"
5578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5579     break 2
5580   fi
5581 done
5582   done
5583 IFS=$as_save_IFS
5584
5585 fi
5586 fi
5587 AR=$ac_cv_prog_AR
5588 if test -n "$AR"; then
5589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5590 $as_echo "$AR" >&6; }
5591 else
5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5593 $as_echo "no" >&6; }
5594 fi
5595
5596
5597 fi
5598 if test -z "$ac_cv_prog_AR"; then
5599   ac_ct_AR=$AR
5600   # Extract the first word of "ar", so it can be a program name with args.
5601 set dummy ar; ac_word=$2
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5603 $as_echo_n "checking for $ac_word... " >&6; }
5604 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5605   $as_echo_n "(cached) " >&6
5606 else
5607   if test -n "$ac_ct_AR"; then
5608   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5609 else
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5611 for as_dir in $PATH
5612 do
5613   IFS=$as_save_IFS
5614   test -z "$as_dir" && as_dir=.
5615     for ac_exec_ext in '' $ac_executable_extensions; do
5616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5617     ac_cv_prog_ac_ct_AR="ar"
5618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5619     break 2
5620   fi
5621 done
5622   done
5623 IFS=$as_save_IFS
5624
5625 fi
5626 fi
5627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5628 if test -n "$ac_ct_AR"; then
5629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5630 $as_echo "$ac_ct_AR" >&6; }
5631 else
5632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5634 fi
5635
5636   if test "x$ac_ct_AR" = x; then
5637     AR="false"
5638   else
5639     case $cross_compiling:$ac_tool_warned in
5640 yes:)
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5643 ac_tool_warned=yes ;;
5644 esac
5645     AR=$ac_ct_AR
5646   fi
5647 else
5648   AR="$ac_cv_prog_AR"
5649 fi
5650
5651 test -z "$AR" && AR=ar
5652 test -z "$AR_FLAGS" && AR_FLAGS=cru
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664 if test -n "$ac_tool_prefix"; then
5665   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5666 set dummy ${ac_tool_prefix}strip; ac_word=$2
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668 $as_echo_n "checking for $ac_word... " >&6; }
5669 if test "${ac_cv_prog_STRIP+set}" = set; then :
5670   $as_echo_n "(cached) " >&6
5671 else
5672   if test -n "$STRIP"; then
5673   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5677 do
5678   IFS=$as_save_IFS
5679   test -z "$as_dir" && as_dir=.
5680     for ac_exec_ext in '' $ac_executable_extensions; do
5681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5684     break 2
5685   fi
5686 done
5687   done
5688 IFS=$as_save_IFS
5689
5690 fi
5691 fi
5692 STRIP=$ac_cv_prog_STRIP
5693 if test -n "$STRIP"; then
5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5695 $as_echo "$STRIP" >&6; }
5696 else
5697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698 $as_echo "no" >&6; }
5699 fi
5700
5701
5702 fi
5703 if test -z "$ac_cv_prog_STRIP"; then
5704   ac_ct_STRIP=$STRIP
5705   # Extract the first word of "strip", so it can be a program name with args.
5706 set dummy strip; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5710   $as_echo_n "(cached) " >&6
5711 else
5712   if test -n "$ac_ct_STRIP"; then
5713   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5714 else
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 for as_dir in $PATH
5717 do
5718   IFS=$as_save_IFS
5719   test -z "$as_dir" && as_dir=.
5720     for ac_exec_ext in '' $ac_executable_extensions; do
5721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5722     ac_cv_prog_ac_ct_STRIP="strip"
5723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5724     break 2
5725   fi
5726 done
5727   done
5728 IFS=$as_save_IFS
5729
5730 fi
5731 fi
5732 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5733 if test -n "$ac_ct_STRIP"; then
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5735 $as_echo "$ac_ct_STRIP" >&6; }
5736 else
5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5739 fi
5740
5741   if test "x$ac_ct_STRIP" = x; then
5742     STRIP=":"
5743   else
5744     case $cross_compiling:$ac_tool_warned in
5745 yes:)
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5748 ac_tool_warned=yes ;;
5749 esac
5750     STRIP=$ac_ct_STRIP
5751   fi
5752 else
5753   STRIP="$ac_cv_prog_STRIP"
5754 fi
5755
5756 test -z "$STRIP" && STRIP=:
5757
5758
5759
5760
5761
5762
5763 if test -n "$ac_tool_prefix"; then
5764   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5765 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5767 $as_echo_n "checking for $ac_word... " >&6; }
5768 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5769   $as_echo_n "(cached) " >&6
5770 else
5771   if test -n "$RANLIB"; then
5772   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5773 else
5774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5775 for as_dir in $PATH
5776 do
5777   IFS=$as_save_IFS
5778   test -z "$as_dir" && as_dir=.
5779     for ac_exec_ext in '' $ac_executable_extensions; do
5780   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5781     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5782     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783     break 2
5784   fi
5785 done
5786   done
5787 IFS=$as_save_IFS
5788
5789 fi
5790 fi
5791 RANLIB=$ac_cv_prog_RANLIB
5792 if test -n "$RANLIB"; then
5793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5794 $as_echo "$RANLIB" >&6; }
5795 else
5796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }
5798 fi
5799
5800
5801 fi
5802 if test -z "$ac_cv_prog_RANLIB"; then
5803   ac_ct_RANLIB=$RANLIB
5804   # Extract the first word of "ranlib", so it can be a program name with args.
5805 set dummy ranlib; ac_word=$2
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807 $as_echo_n "checking for $ac_word... " >&6; }
5808 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5809   $as_echo_n "(cached) " >&6
5810 else
5811   if test -n "$ac_ct_RANLIB"; then
5812   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5813 else
5814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5815 for as_dir in $PATH
5816 do
5817   IFS=$as_save_IFS
5818   test -z "$as_dir" && as_dir=.
5819     for ac_exec_ext in '' $ac_executable_extensions; do
5820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5821     ac_cv_prog_ac_ct_RANLIB="ranlib"
5822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5823     break 2
5824   fi
5825 done
5826   done
5827 IFS=$as_save_IFS
5828
5829 fi
5830 fi
5831 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5832 if test -n "$ac_ct_RANLIB"; then
5833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5834 $as_echo "$ac_ct_RANLIB" >&6; }
5835 else
5836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5837 $as_echo "no" >&6; }
5838 fi
5839
5840   if test "x$ac_ct_RANLIB" = x; then
5841     RANLIB=":"
5842   else
5843     case $cross_compiling:$ac_tool_warned in
5844 yes:)
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5847 ac_tool_warned=yes ;;
5848 esac
5849     RANLIB=$ac_ct_RANLIB
5850   fi
5851 else
5852   RANLIB="$ac_cv_prog_RANLIB"
5853 fi
5854
5855 test -z "$RANLIB" && RANLIB=:
5856
5857
5858
5859
5860
5861
5862 # Determine commands to create old-style static archives.
5863 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5864 old_postinstall_cmds='chmod 644 $oldlib'
5865 old_postuninstall_cmds=
5866
5867 if test -n "$RANLIB"; then
5868   case $host_os in
5869   openbsd*)
5870     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5871     ;;
5872   *)
5873     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5874     ;;
5875   esac
5876   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5877 fi
5878
5879 case $host_os in
5880   darwin*)
5881     lock_old_archive_extraction=yes ;;
5882   *)
5883     lock_old_archive_extraction=no ;;
5884 esac
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924 # If no C compiler was specified, use CC.
5925 LTCC=${LTCC-"$CC"}
5926
5927 # If no C compiler flags were specified, use CFLAGS.
5928 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5929
5930 # Allow CC to be a program name with arguments.
5931 compiler=$CC
5932
5933
5934 # Check for command to grab the raw symbol name followed by C symbol from nm.
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5936 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5937 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5938   $as_echo_n "(cached) " >&6
5939 else
5940
5941 # These are sane defaults that work on at least a few old systems.
5942 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5943
5944 # Character class describing NM global symbol codes.
5945 symcode='[BCDEGRST]'
5946
5947 # Regexp to match symbols that can be accessed directly from C.
5948 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5949
5950 # Define system-specific variables.
5951 case $host_os in
5952 aix*)
5953   symcode='[BCDT]'
5954   ;;
5955 cygwin* | mingw* | pw32* | cegcc*)
5956   symcode='[ABCDGISTW]'
5957   ;;
5958 hpux*)
5959   if test "$host_cpu" = ia64; then
5960     symcode='[ABCDEGRST]'
5961   fi
5962   ;;
5963 irix* | nonstopux*)
5964   symcode='[BCDEGRST]'
5965   ;;
5966 osf*)
5967   symcode='[BCDEGQRST]'
5968   ;;
5969 solaris*)
5970   symcode='[BDRT]'
5971   ;;
5972 sco3.2v5*)
5973   symcode='[DT]'
5974   ;;
5975 sysv4.2uw2*)
5976   symcode='[DT]'
5977   ;;
5978 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5979   symcode='[ABDT]'
5980   ;;
5981 sysv4)
5982   symcode='[DFNSTU]'
5983   ;;
5984 esac
5985
5986 # If we're using GNU nm, then use its standard symbol codes.
5987 case `$NM -V 2>&1` in
5988 *GNU* | *'with BFD'*)
5989   symcode='[ABCDGIRSTW]' ;;
5990 esac
5991
5992 # Transform an extracted symbol line into a proper C declaration.
5993 # Some systems (esp. on ia64) link data and code symbols differently,
5994 # so use this general approach.
5995 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5996
5997 # Transform an extracted symbol line into symbol name and symbol address
5998 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5999 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'"
6000
6001 # Handle CRLF in mingw tool chain
6002 opt_cr=
6003 case $build_os in
6004 mingw*)
6005   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6006   ;;
6007 esac
6008
6009 # Try without a prefix underscore, then with it.
6010 for ac_symprfx in "" "_"; do
6011
6012   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6013   symxfrm="\\1 $ac_symprfx\\2 \\2"
6014
6015   # Write the raw and C identifiers.
6016   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6017     # Fake it for dumpbin and say T for any non-static function
6018     # and D for any global variable.
6019     # Also find C++ and __fastcall symbols from MSVC++,
6020     # which start with @ or ?.
6021     lt_cv_sys_global_symbol_pipe="$AWK '"\
6022 "     {last_section=section; section=\$ 3};"\
6023 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6024 "     \$ 0!~/External *\|/{next};"\
6025 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6026 "     {if(hide[section]) next};"\
6027 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6028 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6029 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6030 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6031 "     ' prfx=^$ac_symprfx"
6032   else
6033     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6034   fi
6035
6036   # Check to see that the pipe works correctly.
6037   pipe_works=no
6038
6039   rm -f conftest*
6040   cat > conftest.$ac_ext <<_LT_EOF
6041 #ifdef __cplusplus
6042 extern "C" {
6043 #endif
6044 char nm_test_var;
6045 void nm_test_func(void);
6046 void nm_test_func(void){}
6047 #ifdef __cplusplus
6048 }
6049 #endif
6050 int main(){nm_test_var='a';nm_test_func();return(0);}
6051 _LT_EOF
6052
6053   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6054   (eval $ac_compile) 2>&5
6055   ac_status=$?
6056   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6057   test $ac_status = 0; }; then
6058     # Now try to grab the symbols.
6059     nlist=conftest.nm
6060     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6061   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6062   ac_status=$?
6063   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6064   test $ac_status = 0; } && test -s "$nlist"; then
6065       # Try sorting and uniquifying the output.
6066       if sort "$nlist" | uniq > "$nlist"T; then
6067         mv -f "$nlist"T "$nlist"
6068       else
6069         rm -f "$nlist"T
6070       fi
6071
6072       # Make sure that we snagged all the symbols we need.
6073       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6074         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6075           cat <<_LT_EOF > conftest.$ac_ext
6076 #ifdef __cplusplus
6077 extern "C" {
6078 #endif
6079
6080 _LT_EOF
6081           # Now generate the symbol file.
6082           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6083
6084           cat <<_LT_EOF >> conftest.$ac_ext
6085
6086 /* The mapping between symbol names and symbols.  */
6087 const struct {
6088   const char *name;
6089   void       *address;
6090 }
6091 lt__PROGRAM__LTX_preloaded_symbols[] =
6092 {
6093   { "@PROGRAM@", (void *) 0 },
6094 _LT_EOF
6095           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6096           cat <<\_LT_EOF >> conftest.$ac_ext
6097   {0, (void *) 0}
6098 };
6099
6100 /* This works around a problem in FreeBSD linker */
6101 #ifdef FREEBSD_WORKAROUND
6102 static const void *lt_preloaded_setup() {
6103   return lt__PROGRAM__LTX_preloaded_symbols;
6104 }
6105 #endif
6106
6107 #ifdef __cplusplus
6108 }
6109 #endif
6110 _LT_EOF
6111           # Now try linking the two files.
6112           mv conftest.$ac_objext conftstm.$ac_objext
6113           lt_save_LIBS="$LIBS"
6114           lt_save_CFLAGS="$CFLAGS"
6115           LIBS="conftstm.$ac_objext"
6116           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6117           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6118   (eval $ac_link) 2>&5
6119   ac_status=$?
6120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6121   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6122             pipe_works=yes
6123           fi
6124           LIBS="$lt_save_LIBS"
6125           CFLAGS="$lt_save_CFLAGS"
6126         else
6127           echo "cannot find nm_test_func in $nlist" >&5
6128         fi
6129       else
6130         echo "cannot find nm_test_var in $nlist" >&5
6131       fi
6132     else
6133       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6134     fi
6135   else
6136     echo "$progname: failed program was:" >&5
6137     cat conftest.$ac_ext >&5
6138   fi
6139   rm -rf conftest* conftst*
6140
6141   # Do not use the global_symbol_pipe unless it works.
6142   if test "$pipe_works" = yes; then
6143     break
6144   else
6145     lt_cv_sys_global_symbol_pipe=
6146   fi
6147 done
6148
6149 fi
6150
6151 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6152   lt_cv_sys_global_symbol_to_cdecl=
6153 fi
6154 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6156 $as_echo "failed" >&6; }
6157 else
6158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6159 $as_echo "ok" >&6; }
6160 fi
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183 # Check whether --enable-libtool-lock was given.
6184 if test "${enable_libtool_lock+set}" = set; then :
6185   enableval=$enable_libtool_lock;
6186 fi
6187
6188 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6189
6190 # Some flags need to be propagated to the compiler or linker for good
6191 # libtool support.
6192 case $host in
6193 ia64-*-hpux*)
6194   # Find out which ABI we are using.
6195   echo 'int i;' > conftest.$ac_ext
6196   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6197   (eval $ac_compile) 2>&5
6198   ac_status=$?
6199   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6200   test $ac_status = 0; }; then
6201     case `/usr/bin/file conftest.$ac_objext` in
6202       *ELF-32*)
6203         HPUX_IA64_MODE="32"
6204         ;;
6205       *ELF-64*)
6206         HPUX_IA64_MODE="64"
6207         ;;
6208     esac
6209   fi
6210   rm -rf conftest*
6211   ;;
6212 *-*-irix6*)
6213   # Find out which ABI we are using.
6214   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6215   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6216   (eval $ac_compile) 2>&5
6217   ac_status=$?
6218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6219   test $ac_status = 0; }; then
6220     if test "$lt_cv_prog_gnu_ld" = yes; then
6221       case `/usr/bin/file conftest.$ac_objext` in
6222         *32-bit*)
6223           LD="${LD-ld} -melf32bsmip"
6224           ;;
6225         *N32*)
6226           LD="${LD-ld} -melf32bmipn32"
6227           ;;
6228         *64-bit*)
6229           LD="${LD-ld} -melf64bmip"
6230         ;;
6231       esac
6232     else
6233       case `/usr/bin/file conftest.$ac_objext` in
6234         *32-bit*)
6235           LD="${LD-ld} -32"
6236           ;;
6237         *N32*)
6238           LD="${LD-ld} -n32"
6239           ;;
6240         *64-bit*)
6241           LD="${LD-ld} -64"
6242           ;;
6243       esac
6244     fi
6245   fi
6246   rm -rf conftest*
6247   ;;
6248
6249 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6250 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6251   # Find out which ABI we are using.
6252   echo 'int i;' > conftest.$ac_ext
6253   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6254   (eval $ac_compile) 2>&5
6255   ac_status=$?
6256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6257   test $ac_status = 0; }; then
6258     case `/usr/bin/file conftest.o` in
6259       *32-bit*)
6260         case $host in
6261           x86_64-*kfreebsd*-gnu)
6262             LD="${LD-ld} -m elf_i386_fbsd"
6263             ;;
6264           x86_64-*linux*)
6265             LD="${LD-ld} -m elf_i386"
6266             ;;
6267           ppc64-*linux*|powerpc64-*linux*)
6268             LD="${LD-ld} -m elf32ppclinux"
6269             ;;
6270           s390x-*linux*)
6271             LD="${LD-ld} -m elf_s390"
6272             ;;
6273           sparc64-*linux*)
6274             LD="${LD-ld} -m elf32_sparc"
6275             ;;
6276         esac
6277         ;;
6278       *64-bit*)
6279         case $host in
6280           x86_64-*kfreebsd*-gnu)
6281             LD="${LD-ld} -m elf_x86_64_fbsd"
6282             ;;
6283           x86_64-*linux*)
6284             LD="${LD-ld} -m elf_x86_64"
6285             ;;
6286           ppc*-*linux*|powerpc*-*linux*)
6287             LD="${LD-ld} -m elf64ppc"
6288             ;;
6289           s390*-*linux*|s390*-*tpf*)
6290             LD="${LD-ld} -m elf64_s390"
6291             ;;
6292           sparc*-*linux*)
6293             LD="${LD-ld} -m elf64_sparc"
6294             ;;
6295         esac
6296         ;;
6297     esac
6298   fi
6299   rm -rf conftest*
6300   ;;
6301
6302 *-*-sco3.2v5*)
6303   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6304   SAVE_CFLAGS="$CFLAGS"
6305   CFLAGS="$CFLAGS -belf"
6306   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6307 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6308 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6309   $as_echo_n "(cached) " >&6
6310 else
6311   ac_ext=c
6312 ac_cpp='$CPP $CPPFLAGS'
6313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6316
6317      if test x$gcc_no_link = xyes; then
6318   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6319 fi
6320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6321 /* end confdefs.h.  */
6322
6323 int
6324 main ()
6325 {
6326
6327   ;
6328   return 0;
6329 }
6330 _ACEOF
6331 if ac_fn_c_try_link "$LINENO"; then :
6332   lt_cv_cc_needs_belf=yes
6333 else
6334   lt_cv_cc_needs_belf=no
6335 fi
6336 rm -f core conftest.err conftest.$ac_objext \
6337     conftest$ac_exeext conftest.$ac_ext
6338      ac_ext=c
6339 ac_cpp='$CPP $CPPFLAGS'
6340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6343
6344 fi
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6346 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6347   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6348     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6349     CFLAGS="$SAVE_CFLAGS"
6350   fi
6351   ;;
6352 sparc*-*solaris*)
6353   # Find out which ABI we are using.
6354   echo 'int i;' > conftest.$ac_ext
6355   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6356   (eval $ac_compile) 2>&5
6357   ac_status=$?
6358   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6359   test $ac_status = 0; }; then
6360     case `/usr/bin/file conftest.o` in
6361     *64-bit*)
6362       case $lt_cv_prog_gnu_ld in
6363       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6364       *)
6365         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6366           LD="${LD-ld} -64"
6367         fi
6368         ;;
6369       esac
6370       ;;
6371     esac
6372   fi
6373   rm -rf conftest*
6374   ;;
6375 esac
6376
6377 need_locks="$enable_libtool_lock"
6378
6379
6380   case $host_os in
6381     rhapsody* | darwin*)
6382     if test -n "$ac_tool_prefix"; then
6383   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6384 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6386 $as_echo_n "checking for $ac_word... " >&6; }
6387 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6388   $as_echo_n "(cached) " >&6
6389 else
6390   if test -n "$DSYMUTIL"; then
6391   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6392 else
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 for as_dir in $PATH
6395 do
6396   IFS=$as_save_IFS
6397   test -z "$as_dir" && as_dir=.
6398     for ac_exec_ext in '' $ac_executable_extensions; do
6399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6401     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6402     break 2
6403   fi
6404 done
6405   done
6406 IFS=$as_save_IFS
6407
6408 fi
6409 fi
6410 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6411 if test -n "$DSYMUTIL"; then
6412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6413 $as_echo "$DSYMUTIL" >&6; }
6414 else
6415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416 $as_echo "no" >&6; }
6417 fi
6418
6419
6420 fi
6421 if test -z "$ac_cv_prog_DSYMUTIL"; then
6422   ac_ct_DSYMUTIL=$DSYMUTIL
6423   # Extract the first word of "dsymutil", so it can be a program name with args.
6424 set dummy dsymutil; ac_word=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6428   $as_echo_n "(cached) " >&6
6429 else
6430   if test -n "$ac_ct_DSYMUTIL"; then
6431   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6432 else
6433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6434 for as_dir in $PATH
6435 do
6436   IFS=$as_save_IFS
6437   test -z "$as_dir" && as_dir=.
6438     for ac_exec_ext in '' $ac_executable_extensions; do
6439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442     break 2
6443   fi
6444 done
6445   done
6446 IFS=$as_save_IFS
6447
6448 fi
6449 fi
6450 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6451 if test -n "$ac_ct_DSYMUTIL"; then
6452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6453 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6454 else
6455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6457 fi
6458
6459   if test "x$ac_ct_DSYMUTIL" = x; then
6460     DSYMUTIL=":"
6461   else
6462     case $cross_compiling:$ac_tool_warned in
6463 yes:)
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6466 ac_tool_warned=yes ;;
6467 esac
6468     DSYMUTIL=$ac_ct_DSYMUTIL
6469   fi
6470 else
6471   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6472 fi
6473
6474     if test -n "$ac_tool_prefix"; then
6475   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6476 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6478 $as_echo_n "checking for $ac_word... " >&6; }
6479 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6480   $as_echo_n "(cached) " >&6
6481 else
6482   if test -n "$NMEDIT"; then
6483   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6484 else
6485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 for as_dir in $PATH
6487 do
6488   IFS=$as_save_IFS
6489   test -z "$as_dir" && as_dir=.
6490     for ac_exec_ext in '' $ac_executable_extensions; do
6491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6492     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6494     break 2
6495   fi
6496 done
6497   done
6498 IFS=$as_save_IFS
6499
6500 fi
6501 fi
6502 NMEDIT=$ac_cv_prog_NMEDIT
6503 if test -n "$NMEDIT"; then
6504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6505 $as_echo "$NMEDIT" >&6; }
6506 else
6507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6508 $as_echo "no" >&6; }
6509 fi
6510
6511
6512 fi
6513 if test -z "$ac_cv_prog_NMEDIT"; then
6514   ac_ct_NMEDIT=$NMEDIT
6515   # Extract the first word of "nmedit", so it can be a program name with args.
6516 set dummy nmedit; ac_word=$2
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518 $as_echo_n "checking for $ac_word... " >&6; }
6519 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6520   $as_echo_n "(cached) " >&6
6521 else
6522   if test -n "$ac_ct_NMEDIT"; then
6523   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6524 else
6525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 for as_dir in $PATH
6527 do
6528   IFS=$as_save_IFS
6529   test -z "$as_dir" && as_dir=.
6530     for ac_exec_ext in '' $ac_executable_extensions; do
6531   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6532     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6533     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6534     break 2
6535   fi
6536 done
6537   done
6538 IFS=$as_save_IFS
6539
6540 fi
6541 fi
6542 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6543 if test -n "$ac_ct_NMEDIT"; then
6544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6545 $as_echo "$ac_ct_NMEDIT" >&6; }
6546 else
6547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548 $as_echo "no" >&6; }
6549 fi
6550
6551   if test "x$ac_ct_NMEDIT" = x; then
6552     NMEDIT=":"
6553   else
6554     case $cross_compiling:$ac_tool_warned in
6555 yes:)
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6557 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6558 ac_tool_warned=yes ;;
6559 esac
6560     NMEDIT=$ac_ct_NMEDIT
6561   fi
6562 else
6563   NMEDIT="$ac_cv_prog_NMEDIT"
6564 fi
6565
6566     if test -n "$ac_tool_prefix"; then
6567   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6568 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6570 $as_echo_n "checking for $ac_word... " >&6; }
6571 if test "${ac_cv_prog_LIPO+set}" = set; then :
6572   $as_echo_n "(cached) " >&6
6573 else
6574   if test -n "$LIPO"; then
6575   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6576 else
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6578 for as_dir in $PATH
6579 do
6580   IFS=$as_save_IFS
6581   test -z "$as_dir" && as_dir=.
6582     for ac_exec_ext in '' $ac_executable_extensions; do
6583   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6584     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6585     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586     break 2
6587   fi
6588 done
6589   done
6590 IFS=$as_save_IFS
6591
6592 fi
6593 fi
6594 LIPO=$ac_cv_prog_LIPO
6595 if test -n "$LIPO"; then
6596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6597 $as_echo "$LIPO" >&6; }
6598 else
6599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 $as_echo "no" >&6; }
6601 fi
6602
6603
6604 fi
6605 if test -z "$ac_cv_prog_LIPO"; then
6606   ac_ct_LIPO=$LIPO
6607   # Extract the first word of "lipo", so it can be a program name with args.
6608 set dummy lipo; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6612   $as_echo_n "(cached) " >&6
6613 else
6614   if test -n "$ac_ct_LIPO"; then
6615   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6619 do
6620   IFS=$as_save_IFS
6621   test -z "$as_dir" && as_dir=.
6622     for ac_exec_ext in '' $ac_executable_extensions; do
6623   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624     ac_cv_prog_ac_ct_LIPO="lipo"
6625     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626     break 2
6627   fi
6628 done
6629   done
6630 IFS=$as_save_IFS
6631
6632 fi
6633 fi
6634 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6635 if test -n "$ac_ct_LIPO"; then
6636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6637 $as_echo "$ac_ct_LIPO" >&6; }
6638 else
6639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6641 fi
6642
6643   if test "x$ac_ct_LIPO" = x; then
6644     LIPO=":"
6645   else
6646     case $cross_compiling:$ac_tool_warned in
6647 yes:)
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6650 ac_tool_warned=yes ;;
6651 esac
6652     LIPO=$ac_ct_LIPO
6653   fi
6654 else
6655   LIPO="$ac_cv_prog_LIPO"
6656 fi
6657
6658     if test -n "$ac_tool_prefix"; then
6659   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6660 set dummy ${ac_tool_prefix}otool; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6664   $as_echo_n "(cached) " >&6
6665 else
6666   if test -n "$OTOOL"; then
6667   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6668 else
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 for as_dir in $PATH
6671 do
6672   IFS=$as_save_IFS
6673   test -z "$as_dir" && as_dir=.
6674     for ac_exec_ext in '' $ac_executable_extensions; do
6675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6677     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678     break 2
6679   fi
6680 done
6681   done
6682 IFS=$as_save_IFS
6683
6684 fi
6685 fi
6686 OTOOL=$ac_cv_prog_OTOOL
6687 if test -n "$OTOOL"; then
6688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6689 $as_echo "$OTOOL" >&6; }
6690 else
6691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6693 fi
6694
6695
6696 fi
6697 if test -z "$ac_cv_prog_OTOOL"; then
6698   ac_ct_OTOOL=$OTOOL
6699   # Extract the first word of "otool", so it can be a program name with args.
6700 set dummy otool; ac_word=$2
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702 $as_echo_n "checking for $ac_word... " >&6; }
6703 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6704   $as_echo_n "(cached) " >&6
6705 else
6706   if test -n "$ac_ct_OTOOL"; then
6707   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6708 else
6709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 for as_dir in $PATH
6711 do
6712   IFS=$as_save_IFS
6713   test -z "$as_dir" && as_dir=.
6714     for ac_exec_ext in '' $ac_executable_extensions; do
6715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716     ac_cv_prog_ac_ct_OTOOL="otool"
6717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6718     break 2
6719   fi
6720 done
6721   done
6722 IFS=$as_save_IFS
6723
6724 fi
6725 fi
6726 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6727 if test -n "$ac_ct_OTOOL"; then
6728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6729 $as_echo "$ac_ct_OTOOL" >&6; }
6730 else
6731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732 $as_echo "no" >&6; }
6733 fi
6734
6735   if test "x$ac_ct_OTOOL" = x; then
6736     OTOOL=":"
6737   else
6738     case $cross_compiling:$ac_tool_warned in
6739 yes:)
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6741 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6742 ac_tool_warned=yes ;;
6743 esac
6744     OTOOL=$ac_ct_OTOOL
6745   fi
6746 else
6747   OTOOL="$ac_cv_prog_OTOOL"
6748 fi
6749
6750     if test -n "$ac_tool_prefix"; then
6751   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6752 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754 $as_echo_n "checking for $ac_word... " >&6; }
6755 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6756   $as_echo_n "(cached) " >&6
6757 else
6758   if test -n "$OTOOL64"; then
6759   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6760 else
6761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 for as_dir in $PATH
6763 do
6764   IFS=$as_save_IFS
6765   test -z "$as_dir" && as_dir=.
6766     for ac_exec_ext in '' $ac_executable_extensions; do
6767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6768     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6770     break 2
6771   fi
6772 done
6773   done
6774 IFS=$as_save_IFS
6775
6776 fi
6777 fi
6778 OTOOL64=$ac_cv_prog_OTOOL64
6779 if test -n "$OTOOL64"; then
6780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6781 $as_echo "$OTOOL64" >&6; }
6782 else
6783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784 $as_echo "no" >&6; }
6785 fi
6786
6787
6788 fi
6789 if test -z "$ac_cv_prog_OTOOL64"; then
6790   ac_ct_OTOOL64=$OTOOL64
6791   # Extract the first word of "otool64", so it can be a program name with args.
6792 set dummy otool64; ac_word=$2
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6794 $as_echo_n "checking for $ac_word... " >&6; }
6795 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6796   $as_echo_n "(cached) " >&6
6797 else
6798   if test -n "$ac_ct_OTOOL64"; then
6799   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6800 else
6801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 for as_dir in $PATH
6803 do
6804   IFS=$as_save_IFS
6805   test -z "$as_dir" && as_dir=.
6806     for ac_exec_ext in '' $ac_executable_extensions; do
6807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808     ac_cv_prog_ac_ct_OTOOL64="otool64"
6809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6810     break 2
6811   fi
6812 done
6813   done
6814 IFS=$as_save_IFS
6815
6816 fi
6817 fi
6818 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6819 if test -n "$ac_ct_OTOOL64"; then
6820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6821 $as_echo "$ac_ct_OTOOL64" >&6; }
6822 else
6823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 $as_echo "no" >&6; }
6825 fi
6826
6827   if test "x$ac_ct_OTOOL64" = x; then
6828     OTOOL64=":"
6829   else
6830     case $cross_compiling:$ac_tool_warned in
6831 yes:)
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6834 ac_tool_warned=yes ;;
6835 esac
6836     OTOOL64=$ac_ct_OTOOL64
6837   fi
6838 else
6839   OTOOL64="$ac_cv_prog_OTOOL64"
6840 fi
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6869 $as_echo_n "checking for -single_module linker flag... " >&6; }
6870 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6871   $as_echo_n "(cached) " >&6
6872 else
6873   lt_cv_apple_cc_single_mod=no
6874       if test -z "${LT_MULTI_MODULE}"; then
6875         # By default we will add the -single_module flag. You can override
6876         # by either setting the environment variable LT_MULTI_MODULE
6877         # non-empty at configure time, or by adding -multi_module to the
6878         # link flags.
6879         rm -rf libconftest.dylib*
6880         echo "int foo(void){return 1;}" > conftest.c
6881         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6882 -dynamiclib -Wl,-single_module conftest.c" >&5
6883         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6884           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6885         _lt_result=$?
6886         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6887           lt_cv_apple_cc_single_mod=yes
6888         else
6889           cat conftest.err >&5
6890         fi
6891         rm -rf libconftest.dylib*
6892         rm -f conftest.*
6893       fi
6894 fi
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6896 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6897     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6898 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6899 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6900   $as_echo_n "(cached) " >&6
6901 else
6902   lt_cv_ld_exported_symbols_list=no
6903       save_LDFLAGS=$LDFLAGS
6904       echo "_main" > conftest.sym
6905       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6906       if test x$gcc_no_link = xyes; then
6907   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6908 fi
6909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h.  */
6911
6912 int
6913 main ()
6914 {
6915
6916   ;
6917   return 0;
6918 }
6919 _ACEOF
6920 if ac_fn_c_try_link "$LINENO"; then :
6921   lt_cv_ld_exported_symbols_list=yes
6922 else
6923   lt_cv_ld_exported_symbols_list=no
6924 fi
6925 rm -f core conftest.err conftest.$ac_objext \
6926     conftest$ac_exeext conftest.$ac_ext
6927         LDFLAGS="$save_LDFLAGS"
6928
6929 fi
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6931 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6932     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6933 $as_echo_n "checking for -force_load linker flag... " >&6; }
6934 if test "${lt_cv_ld_force_load+set}" = set; then :
6935   $as_echo_n "(cached) " >&6
6936 else
6937   lt_cv_ld_force_load=no
6938       cat > conftest.c << _LT_EOF
6939 int forced_loaded() { return 2;}
6940 _LT_EOF
6941       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6942       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6943       echo "$AR cru libconftest.a conftest.o" >&5
6944       $AR cru libconftest.a conftest.o 2>&5
6945       cat > conftest.c << _LT_EOF
6946 int main() { return 0;}
6947 _LT_EOF
6948       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6949       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6950       _lt_result=$?
6951       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6952         lt_cv_ld_force_load=yes
6953       else
6954         cat conftest.err >&5
6955       fi
6956         rm -f conftest.err libconftest.a conftest conftest.c
6957         rm -rf conftest.dSYM
6958
6959 fi
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6961 $as_echo "$lt_cv_ld_force_load" >&6; }
6962     case $host_os in
6963     rhapsody* | darwin1.[012])
6964       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6965     darwin1.*)
6966       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6967     darwin*) # darwin 5.x on
6968       # if running on 10.5 or later, the deployment target defaults
6969       # to the OS version, if on x86, and 10.4, the deployment
6970       # target defaults to 10.4. Don't you love it?
6971       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6972         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6973           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6974         10.[012]*)
6975           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6976         10.*)
6977           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6978       esac
6979     ;;
6980   esac
6981     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6982       _lt_dar_single_mod='$single_module'
6983     fi
6984     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6985       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6986     else
6987       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6988     fi
6989     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6990       _lt_dsymutil='~$DSYMUTIL $lib || :'
6991     else
6992       _lt_dsymutil=
6993     fi
6994     ;;
6995   esac
6996
6997 for ac_header in dlfcn.h
6998 do :
6999   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7000 "
7001 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7002   cat >>confdefs.h <<_ACEOF
7003 #define HAVE_DLFCN_H 1
7004 _ACEOF
7005
7006 fi
7007
7008 done
7009
7010
7011
7012
7013
7014 # Set options
7015
7016
7017
7018         enable_dlopen=no
7019
7020
7021   enable_win32_dll=no
7022
7023
7024             # Check whether --enable-shared was given.
7025 if test "${enable_shared+set}" = set; then :
7026   enableval=$enable_shared; p=${PACKAGE-default}
7027     case $enableval in
7028     yes) enable_shared=yes ;;
7029     no) enable_shared=no ;;
7030     *)
7031       enable_shared=no
7032       # Look at the argument we got.  We use all the common list separators.
7033       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7034       for pkg in $enableval; do
7035         IFS="$lt_save_ifs"
7036         if test "X$pkg" = "X$p"; then
7037           enable_shared=yes
7038         fi
7039       done
7040       IFS="$lt_save_ifs"
7041       ;;
7042     esac
7043 else
7044   enable_shared=yes
7045 fi
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055   # Check whether --enable-static was given.
7056 if test "${enable_static+set}" = set; then :
7057   enableval=$enable_static; p=${PACKAGE-default}
7058     case $enableval in
7059     yes) enable_static=yes ;;
7060     no) enable_static=no ;;
7061     *)
7062      enable_static=no
7063       # Look at the argument we got.  We use all the common list separators.
7064       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7065       for pkg in $enableval; do
7066         IFS="$lt_save_ifs"
7067         if test "X$pkg" = "X$p"; then
7068           enable_static=yes
7069         fi
7070       done
7071       IFS="$lt_save_ifs"
7072       ;;
7073     esac
7074 else
7075   enable_static=yes
7076 fi
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087 # Check whether --with-pic was given.
7088 if test "${with_pic+set}" = set; then :
7089   withval=$with_pic; pic_mode="$withval"
7090 else
7091   pic_mode=default
7092 fi
7093
7094
7095 test -z "$pic_mode" && pic_mode=default
7096
7097
7098
7099
7100
7101
7102
7103   # Check whether --enable-fast-install was given.
7104 if test "${enable_fast_install+set}" = set; then :
7105   enableval=$enable_fast_install; p=${PACKAGE-default}
7106     case $enableval in
7107     yes) enable_fast_install=yes ;;
7108     no) enable_fast_install=no ;;
7109     *)
7110       enable_fast_install=no
7111       # Look at the argument we got.  We use all the common list separators.
7112       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7113       for pkg in $enableval; do
7114         IFS="$lt_save_ifs"
7115         if test "X$pkg" = "X$p"; then
7116           enable_fast_install=yes
7117         fi
7118       done
7119       IFS="$lt_save_ifs"
7120       ;;
7121     esac
7122 else
7123   enable_fast_install=yes
7124 fi
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136 # This can be used to rebuild libtool when needed
7137 LIBTOOL_DEPS="$ltmain"
7138
7139 # Always use our own libtool.
7140 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167 test -z "$LN_S" && LN_S="ln -s"
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182 if test -n "${ZSH_VERSION+set}" ; then
7183    setopt NO_GLOB_SUBST
7184 fi
7185
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7187 $as_echo_n "checking for objdir... " >&6; }
7188 if test "${lt_cv_objdir+set}" = set; then :
7189   $as_echo_n "(cached) " >&6
7190 else
7191   rm -f .libs 2>/dev/null
7192 mkdir .libs 2>/dev/null
7193 if test -d .libs; then
7194   lt_cv_objdir=.libs
7195 else
7196   # MS-DOS does not allow filenames that begin with a dot.
7197   lt_cv_objdir=_libs
7198 fi
7199 rmdir .libs 2>/dev/null
7200 fi
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7202 $as_echo "$lt_cv_objdir" >&6; }
7203 objdir=$lt_cv_objdir
7204
7205
7206
7207
7208
7209 cat >>confdefs.h <<_ACEOF
7210 #define LT_OBJDIR "$lt_cv_objdir/"
7211 _ACEOF
7212
7213
7214
7215
7216 case $host_os in
7217 aix3*)
7218   # AIX sometimes has problems with the GCC collect2 program.  For some
7219   # reason, if we set the COLLECT_NAMES environment variable, the problems
7220   # vanish in a puff of smoke.
7221   if test "X${COLLECT_NAMES+set}" != Xset; then
7222     COLLECT_NAMES=
7223     export COLLECT_NAMES
7224   fi
7225   ;;
7226 esac
7227
7228 # Global variables:
7229 ofile=libtool
7230 can_build_shared=yes
7231
7232 # All known linkers require a `.a' archive for static linking (except MSVC,
7233 # which needs '.lib').
7234 libext=a
7235
7236 with_gnu_ld="$lt_cv_prog_gnu_ld"
7237
7238 old_CC="$CC"
7239 old_CFLAGS="$CFLAGS"
7240
7241 # Set sane defaults for various variables
7242 test -z "$CC" && CC=cc
7243 test -z "$LTCC" && LTCC=$CC
7244 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7245 test -z "$LD" && LD=ld
7246 test -z "$ac_objext" && ac_objext=o
7247
7248 for cc_temp in $compiler""; do
7249   case $cc_temp in
7250     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7251     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7252     \-*) ;;
7253     *) break;;
7254   esac
7255 done
7256 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7257
7258
7259 # Only perform the check for file, if the check method requires it
7260 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7261 case $deplibs_check_method in
7262 file_magic*)
7263   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7264     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7265 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7266 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7267   $as_echo_n "(cached) " >&6
7268 else
7269   case $MAGIC_CMD in
7270 [\\/*] |  ?:[\\/]*)
7271   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7272   ;;
7273 *)
7274   lt_save_MAGIC_CMD="$MAGIC_CMD"
7275   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7276   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7277   for ac_dir in $ac_dummy; do
7278     IFS="$lt_save_ifs"
7279     test -z "$ac_dir" && ac_dir=.
7280     if test -f $ac_dir/${ac_tool_prefix}file; then
7281       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7282       if test -n "$file_magic_test_file"; then
7283         case $deplibs_check_method in
7284         "file_magic "*)
7285           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7286           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7287           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7288             $EGREP "$file_magic_regex" > /dev/null; then
7289             :
7290           else
7291             cat <<_LT_EOF 1>&2
7292
7293 *** Warning: the command libtool uses to detect shared libraries,
7294 *** $file_magic_cmd, produces output that libtool cannot recognize.
7295 *** The result is that libtool may fail to recognize shared libraries
7296 *** as such.  This will affect the creation of libtool libraries that
7297 *** depend on shared libraries, but programs linked with such libtool
7298 *** libraries will work regardless of this problem.  Nevertheless, you
7299 *** may want to report the problem to your system manager and/or to
7300 *** bug-libtool@gnu.org
7301
7302 _LT_EOF
7303           fi ;;
7304         esac
7305       fi
7306       break
7307     fi
7308   done
7309   IFS="$lt_save_ifs"
7310   MAGIC_CMD="$lt_save_MAGIC_CMD"
7311   ;;
7312 esac
7313 fi
7314
7315 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7316 if test -n "$MAGIC_CMD"; then
7317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7318 $as_echo "$MAGIC_CMD" >&6; }
7319 else
7320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7321 $as_echo "no" >&6; }
7322 fi
7323
7324
7325
7326
7327
7328 if test -z "$lt_cv_path_MAGIC_CMD"; then
7329   if test -n "$ac_tool_prefix"; then
7330     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7331 $as_echo_n "checking for file... " >&6; }
7332 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7333   $as_echo_n "(cached) " >&6
7334 else
7335   case $MAGIC_CMD in
7336 [\\/*] |  ?:[\\/]*)
7337   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7338   ;;
7339 *)
7340   lt_save_MAGIC_CMD="$MAGIC_CMD"
7341   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7342   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7343   for ac_dir in $ac_dummy; do
7344     IFS="$lt_save_ifs"
7345     test -z "$ac_dir" && ac_dir=.
7346     if test -f $ac_dir/file; then
7347       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7348       if test -n "$file_magic_test_file"; then
7349         case $deplibs_check_method in
7350         "file_magic "*)
7351           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7352           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7353           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7354             $EGREP "$file_magic_regex" > /dev/null; then
7355             :
7356           else
7357             cat <<_LT_EOF 1>&2
7358
7359 *** Warning: the command libtool uses to detect shared libraries,
7360 *** $file_magic_cmd, produces output that libtool cannot recognize.
7361 *** The result is that libtool may fail to recognize shared libraries
7362 *** as such.  This will affect the creation of libtool libraries that
7363 *** depend on shared libraries, but programs linked with such libtool
7364 *** libraries will work regardless of this problem.  Nevertheless, you
7365 *** may want to report the problem to your system manager and/or to
7366 *** bug-libtool@gnu.org
7367
7368 _LT_EOF
7369           fi ;;
7370         esac
7371       fi
7372       break
7373     fi
7374   done
7375   IFS="$lt_save_ifs"
7376   MAGIC_CMD="$lt_save_MAGIC_CMD"
7377   ;;
7378 esac
7379 fi
7380
7381 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7382 if test -n "$MAGIC_CMD"; then
7383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7384 $as_echo "$MAGIC_CMD" >&6; }
7385 else
7386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7387 $as_echo "no" >&6; }
7388 fi
7389
7390
7391   else
7392     MAGIC_CMD=:
7393   fi
7394 fi
7395
7396   fi
7397   ;;
7398 esac
7399
7400 # Use C for the default configuration in the libtool script
7401
7402 lt_save_CC="$CC"
7403 ac_ext=c
7404 ac_cpp='$CPP $CPPFLAGS'
7405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7408
7409
7410 # Source file extension for C test sources.
7411 ac_ext=c
7412
7413 # Object file extension for compiled C test sources.
7414 objext=o
7415 objext=$objext
7416
7417 # Code to be used in simple compile tests
7418 lt_simple_compile_test_code="int some_variable = 0;"
7419
7420 # Code to be used in simple link tests
7421 lt_simple_link_test_code='int main(){return(0);}'
7422
7423
7424
7425
7426
7427
7428
7429 # If no C compiler was specified, use CC.
7430 LTCC=${LTCC-"$CC"}
7431
7432 # If no C compiler flags were specified, use CFLAGS.
7433 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7434
7435 # Allow CC to be a program name with arguments.
7436 compiler=$CC
7437
7438 # Save the default compiler, since it gets overwritten when the other
7439 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7440 compiler_DEFAULT=$CC
7441
7442 # save warnings/boilerplate of simple test code
7443 ac_outfile=conftest.$ac_objext
7444 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7445 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7446 _lt_compiler_boilerplate=`cat conftest.err`
7447 $RM conftest*
7448
7449 ac_outfile=conftest.$ac_objext
7450 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7451 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7452 _lt_linker_boilerplate=`cat conftest.err`
7453 $RM -r conftest*
7454
7455
7456 ## CAVEAT EMPTOR:
7457 ## There is no encapsulation within the following macros, do not change
7458 ## the running order or otherwise move them around unless you know exactly
7459 ## what you are doing...
7460 if test -n "$compiler"; then
7461
7462 lt_prog_compiler_no_builtin_flag=
7463
7464 if test "$GCC" = yes; then
7465   case $cc_basename in
7466   nvcc*)
7467     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7468   *)
7469     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7470   esac
7471
7472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7473 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7474 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7475   $as_echo_n "(cached) " >&6
7476 else
7477   lt_cv_prog_compiler_rtti_exceptions=no
7478    ac_outfile=conftest.$ac_objext
7479    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7480    lt_compiler_flag="-fno-rtti -fno-exceptions"
7481    # Insert the option either (1) after the last *FLAGS variable, or
7482    # (2) before a word containing "conftest.", or (3) at the end.
7483    # Note that $ac_compile itself does not contain backslashes and begins
7484    # with a dollar sign (not a hyphen), so the echo should work correctly.
7485    # The option is referenced via a variable to avoid confusing sed.
7486    lt_compile=`echo "$ac_compile" | $SED \
7487    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7488    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7489    -e 's:$: $lt_compiler_flag:'`
7490    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7491    (eval "$lt_compile" 2>conftest.err)
7492    ac_status=$?
7493    cat conftest.err >&5
7494    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495    if (exit $ac_status) && test -s "$ac_outfile"; then
7496      # The compiler can only warn and ignore the option if not recognized
7497      # So say no if there are warnings other than the usual output.
7498      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7499      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7500      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7501        lt_cv_prog_compiler_rtti_exceptions=yes
7502      fi
7503    fi
7504    $RM conftest*
7505
7506 fi
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7508 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7509
7510 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7511     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7512 else
7513     :
7514 fi
7515
7516 fi
7517
7518
7519
7520
7521
7522
7523   lt_prog_compiler_wl=
7524 lt_prog_compiler_pic=
7525 lt_prog_compiler_static=
7526
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7528 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7529
7530   if test "$GCC" = yes; then
7531     lt_prog_compiler_wl='-Wl,'
7532     lt_prog_compiler_static='-static'
7533
7534     case $host_os in
7535       aix*)
7536       # All AIX code is PIC.
7537       if test "$host_cpu" = ia64; then
7538         # AIX 5 now supports IA64 processor
7539         lt_prog_compiler_static='-Bstatic'
7540       fi
7541       ;;
7542
7543     amigaos*)
7544       case $host_cpu in
7545       powerpc)
7546             # see comment about AmigaOS4 .so support
7547             lt_prog_compiler_pic='-fPIC'
7548         ;;
7549       m68k)
7550             # FIXME: we need at least 68020 code to build shared libraries, but
7551             # adding the `-m68020' flag to GCC prevents building anything better,
7552             # like `-m68040'.
7553             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7554         ;;
7555       esac
7556       ;;
7557
7558     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7559       # PIC is the default for these OSes.
7560       ;;
7561
7562     mingw* | cygwin* | pw32* | os2* | cegcc*)
7563       # This hack is so that the source file can tell whether it is being
7564       # built for inclusion in a dll (and should export symbols for example).
7565       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7566       # (--disable-auto-import) libraries
7567       lt_prog_compiler_pic='-DDLL_EXPORT'
7568       ;;
7569
7570     darwin* | rhapsody*)
7571       # PIC is the default on this platform
7572       # Common symbols not allowed in MH_DYLIB files
7573       lt_prog_compiler_pic='-fno-common'
7574       ;;
7575
7576     haiku*)
7577       # PIC is the default for Haiku.
7578       # The "-static" flag exists, but is broken.
7579       lt_prog_compiler_static=
7580       ;;
7581
7582     hpux*)
7583       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7584       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7585       # sets the default TLS model and affects inlining.
7586       case $host_cpu in
7587       hppa*64*)
7588         # +Z the default
7589         ;;
7590       *)
7591         lt_prog_compiler_pic='-fPIC'
7592         ;;
7593       esac
7594       ;;
7595
7596     interix[3-9]*)
7597       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7598       # Instead, we relocate shared libraries at runtime.
7599       ;;
7600
7601     msdosdjgpp*)
7602       # Just because we use GCC doesn't mean we suddenly get shared libraries
7603       # on systems that don't support them.
7604       lt_prog_compiler_can_build_shared=no
7605       enable_shared=no
7606       ;;
7607
7608     *nto* | *qnx*)
7609       # QNX uses GNU C++, but need to define -shared option too, otherwise
7610       # it will coredump.
7611       lt_prog_compiler_pic='-fPIC -shared'
7612       ;;
7613
7614     sysv4*MP*)
7615       if test -d /usr/nec; then
7616         lt_prog_compiler_pic=-Kconform_pic
7617       fi
7618       ;;
7619
7620     *)
7621       lt_prog_compiler_pic='-fPIC'
7622       ;;
7623     esac
7624
7625     case $cc_basename in
7626     nvcc*) # Cuda Compiler Driver 2.2
7627       lt_prog_compiler_wl='-Xlinker '
7628       lt_prog_compiler_pic='-Xcompiler -fPIC'
7629       ;;
7630     esac
7631   else
7632     # PORTME Check for flag to pass linker flags through the system compiler.
7633     case $host_os in
7634     aix*)
7635       lt_prog_compiler_wl='-Wl,'
7636       if test "$host_cpu" = ia64; then
7637         # AIX 5 now supports IA64 processor
7638         lt_prog_compiler_static='-Bstatic'
7639       else
7640         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7641       fi
7642       ;;
7643
7644     mingw* | cygwin* | pw32* | os2* | cegcc*)
7645       # This hack is so that the source file can tell whether it is being
7646       # built for inclusion in a dll (and should export symbols for example).
7647       lt_prog_compiler_pic='-DDLL_EXPORT'
7648       ;;
7649
7650     hpux9* | hpux10* | hpux11*)
7651       lt_prog_compiler_wl='-Wl,'
7652       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7653       # not for PA HP-UX.
7654       case $host_cpu in
7655       hppa*64*|ia64*)
7656         # +Z the default
7657         ;;
7658       *)
7659         lt_prog_compiler_pic='+Z'
7660         ;;
7661       esac
7662       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7663       lt_prog_compiler_static='${wl}-a ${wl}archive'
7664       ;;
7665
7666     irix5* | irix6* | nonstopux*)
7667       lt_prog_compiler_wl='-Wl,'
7668       # PIC (with -KPIC) is the default.
7669       lt_prog_compiler_static='-non_shared'
7670       ;;
7671
7672     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7673       case $cc_basename in
7674       # old Intel for x86_64 which still supported -KPIC.
7675       ecc*)
7676         lt_prog_compiler_wl='-Wl,'
7677         lt_prog_compiler_pic='-KPIC'
7678         lt_prog_compiler_static='-static'
7679         ;;
7680       # icc used to be incompatible with GCC.
7681       # ICC 10 doesn't accept -KPIC any more.
7682       icc* | ifort*)
7683         lt_prog_compiler_wl='-Wl,'
7684         lt_prog_compiler_pic='-fPIC'
7685         lt_prog_compiler_static='-static'
7686         ;;
7687       # Lahey Fortran 8.1.
7688       lf95*)
7689         lt_prog_compiler_wl='-Wl,'
7690         lt_prog_compiler_pic='--shared'
7691         lt_prog_compiler_static='--static'
7692         ;;
7693       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7694         # Portland Group compilers (*not* the Pentium gcc compiler,
7695         # which looks to be a dead project)
7696         lt_prog_compiler_wl='-Wl,'
7697         lt_prog_compiler_pic='-fpic'
7698         lt_prog_compiler_static='-Bstatic'
7699         ;;
7700       ccc*)
7701         lt_prog_compiler_wl='-Wl,'
7702         # All Alpha code is PIC.
7703         lt_prog_compiler_static='-non_shared'
7704         ;;
7705       xl* | bgxl* | bgf* | mpixl*)
7706         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7707         lt_prog_compiler_wl='-Wl,'
7708         lt_prog_compiler_pic='-qpic'
7709         lt_prog_compiler_static='-qstaticlink'
7710         ;;
7711       *)
7712         case `$CC -V 2>&1 | sed 5q` in
7713         *Sun\ F* | *Sun*Fortran*)
7714           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7715           lt_prog_compiler_pic='-KPIC'
7716           lt_prog_compiler_static='-Bstatic'
7717           lt_prog_compiler_wl=''
7718           ;;
7719         *Sun\ C*)
7720           # Sun C 5.9
7721           lt_prog_compiler_pic='-KPIC'
7722           lt_prog_compiler_static='-Bstatic'
7723           lt_prog_compiler_wl='-Wl,'
7724           ;;
7725         esac
7726         ;;
7727       esac
7728       ;;
7729
7730     newsos6)
7731       lt_prog_compiler_pic='-KPIC'
7732       lt_prog_compiler_static='-Bstatic'
7733       ;;
7734
7735     *nto* | *qnx*)
7736       # QNX uses GNU C++, but need to define -shared option too, otherwise
7737       # it will coredump.
7738       lt_prog_compiler_pic='-fPIC -shared'
7739       ;;
7740
7741     osf3* | osf4* | osf5*)
7742       lt_prog_compiler_wl='-Wl,'
7743       # All OSF/1 code is PIC.
7744       lt_prog_compiler_static='-non_shared'
7745       ;;
7746
7747     rdos*)
7748       lt_prog_compiler_static='-non_shared'
7749       ;;
7750
7751     solaris*)
7752       lt_prog_compiler_pic='-KPIC'
7753       lt_prog_compiler_static='-Bstatic'
7754       case $cc_basename in
7755       f77* | f90* | f95*)
7756         lt_prog_compiler_wl='-Qoption ld ';;
7757       *)
7758         lt_prog_compiler_wl='-Wl,';;
7759       esac
7760       ;;
7761
7762     sunos4*)
7763       lt_prog_compiler_wl='-Qoption ld '
7764       lt_prog_compiler_pic='-PIC'
7765       lt_prog_compiler_static='-Bstatic'
7766       ;;
7767
7768     sysv4 | sysv4.2uw2* | sysv4.3*)
7769       lt_prog_compiler_wl='-Wl,'
7770       lt_prog_compiler_pic='-KPIC'
7771       lt_prog_compiler_static='-Bstatic'
7772       ;;
7773
7774     sysv4*MP*)
7775       if test -d /usr/nec ;then
7776         lt_prog_compiler_pic='-Kconform_pic'
7777         lt_prog_compiler_static='-Bstatic'
7778       fi
7779       ;;
7780
7781     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7782       lt_prog_compiler_wl='-Wl,'
7783       lt_prog_compiler_pic='-KPIC'
7784       lt_prog_compiler_static='-Bstatic'
7785       ;;
7786
7787     unicos*)
7788       lt_prog_compiler_wl='-Wl,'
7789       lt_prog_compiler_can_build_shared=no
7790       ;;
7791
7792     uts4*)
7793       lt_prog_compiler_pic='-pic'
7794       lt_prog_compiler_static='-Bstatic'
7795       ;;
7796
7797     *)
7798       lt_prog_compiler_can_build_shared=no
7799       ;;
7800     esac
7801   fi
7802
7803 case $host_os in
7804   # For platforms which do not support PIC, -DPIC is meaningless:
7805   *djgpp*)
7806     lt_prog_compiler_pic=
7807     ;;
7808   *)
7809     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7810     ;;
7811 esac
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7813 $as_echo "$lt_prog_compiler_pic" >&6; }
7814
7815
7816
7817
7818
7819
7820 #
7821 # Check to make sure the PIC flag actually works.
7822 #
7823 if test -n "$lt_prog_compiler_pic"; then
7824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7825 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7826 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7827   $as_echo_n "(cached) " >&6
7828 else
7829   lt_cv_prog_compiler_pic_works=no
7830    ac_outfile=conftest.$ac_objext
7831    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7832    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7833    # Insert the option either (1) after the last *FLAGS variable, or
7834    # (2) before a word containing "conftest.", or (3) at the end.
7835    # Note that $ac_compile itself does not contain backslashes and begins
7836    # with a dollar sign (not a hyphen), so the echo should work correctly.
7837    # The option is referenced via a variable to avoid confusing sed.
7838    lt_compile=`echo "$ac_compile" | $SED \
7839    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7840    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7841    -e 's:$: $lt_compiler_flag:'`
7842    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7843    (eval "$lt_compile" 2>conftest.err)
7844    ac_status=$?
7845    cat conftest.err >&5
7846    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847    if (exit $ac_status) && test -s "$ac_outfile"; then
7848      # The compiler can only warn and ignore the option if not recognized
7849      # So say no if there are warnings other than the usual output.
7850      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7851      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7852      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7853        lt_cv_prog_compiler_pic_works=yes
7854      fi
7855    fi
7856    $RM conftest*
7857
7858 fi
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7860 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7861
7862 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7863     case $lt_prog_compiler_pic in
7864      "" | " "*) ;;
7865      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7866      esac
7867 else
7868     lt_prog_compiler_pic=
7869      lt_prog_compiler_can_build_shared=no
7870 fi
7871
7872 fi
7873
7874
7875
7876
7877
7878
7879 #
7880 # Check to make sure the static flag actually works.
7881 #
7882 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7884 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7885 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7886   $as_echo_n "(cached) " >&6
7887 else
7888   lt_cv_prog_compiler_static_works=no
7889    save_LDFLAGS="$LDFLAGS"
7890    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7891    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7892    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7893      # The linker can only warn and ignore the option if not recognized
7894      # So say no if there are warnings
7895      if test -s conftest.err; then
7896        # Append any errors to the config.log.
7897        cat conftest.err 1>&5
7898        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7899        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7900        if diff conftest.exp conftest.er2 >/dev/null; then
7901          lt_cv_prog_compiler_static_works=yes
7902        fi
7903      else
7904        lt_cv_prog_compiler_static_works=yes
7905      fi
7906    fi
7907    $RM -r conftest*
7908    LDFLAGS="$save_LDFLAGS"
7909
7910 fi
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7912 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7913
7914 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7915     :
7916 else
7917     lt_prog_compiler_static=
7918 fi
7919
7920
7921
7922
7923
7924
7925
7926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7927 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7928 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7929   $as_echo_n "(cached) " >&6
7930 else
7931   lt_cv_prog_compiler_c_o=no
7932    $RM -r conftest 2>/dev/null
7933    mkdir conftest
7934    cd conftest
7935    mkdir out
7936    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7937
7938    lt_compiler_flag="-o out/conftest2.$ac_objext"
7939    # Insert the option either (1) after the last *FLAGS variable, or
7940    # (2) before a word containing "conftest.", or (3) at the end.
7941    # Note that $ac_compile itself does not contain backslashes and begins
7942    # with a dollar sign (not a hyphen), so the echo should work correctly.
7943    lt_compile=`echo "$ac_compile" | $SED \
7944    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7945    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7946    -e 's:$: $lt_compiler_flag:'`
7947    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7948    (eval "$lt_compile" 2>out/conftest.err)
7949    ac_status=$?
7950    cat out/conftest.err >&5
7951    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7952    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7953    then
7954      # The compiler can only warn and ignore the option if not recognized
7955      # So say no if there are warnings
7956      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7957      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7958      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7959        lt_cv_prog_compiler_c_o=yes
7960      fi
7961    fi
7962    chmod u+w . 2>&5
7963    $RM conftest*
7964    # SGI C++ compiler will create directory out/ii_files/ for
7965    # template instantiation
7966    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7967    $RM out/* && rmdir out
7968    cd ..
7969    $RM -r conftest
7970    $RM conftest*
7971
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7974 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7975
7976
7977
7978
7979
7980
7981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7982 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7983 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7984   $as_echo_n "(cached) " >&6
7985 else
7986   lt_cv_prog_compiler_c_o=no
7987    $RM -r conftest 2>/dev/null
7988    mkdir conftest
7989    cd conftest
7990    mkdir out
7991    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7992
7993    lt_compiler_flag="-o out/conftest2.$ac_objext"
7994    # Insert the option either (1) after the last *FLAGS variable, or
7995    # (2) before a word containing "conftest.", or (3) at the end.
7996    # Note that $ac_compile itself does not contain backslashes and begins
7997    # with a dollar sign (not a hyphen), so the echo should work correctly.
7998    lt_compile=`echo "$ac_compile" | $SED \
7999    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8000    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8001    -e 's:$: $lt_compiler_flag:'`
8002    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8003    (eval "$lt_compile" 2>out/conftest.err)
8004    ac_status=$?
8005    cat out/conftest.err >&5
8006    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8007    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8008    then
8009      # The compiler can only warn and ignore the option if not recognized
8010      # So say no if there are warnings
8011      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8012      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8013      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8014        lt_cv_prog_compiler_c_o=yes
8015      fi
8016    fi
8017    chmod u+w . 2>&5
8018    $RM conftest*
8019    # SGI C++ compiler will create directory out/ii_files/ for
8020    # template instantiation
8021    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8022    $RM out/* && rmdir out
8023    cd ..
8024    $RM -r conftest
8025    $RM conftest*
8026
8027 fi
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8029 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8030
8031
8032
8033
8034 hard_links="nottested"
8035 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8036   # do not overwrite the value of need_locks provided by the user
8037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8038 $as_echo_n "checking if we can lock with hard links... " >&6; }
8039   hard_links=yes
8040   $RM conftest*
8041   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8042   touch conftest.a
8043   ln conftest.a conftest.b 2>&5 || hard_links=no
8044   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8046 $as_echo "$hard_links" >&6; }
8047   if test "$hard_links" = no; then
8048     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8049 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8050     need_locks=warn
8051   fi
8052 else
8053   need_locks=no
8054 fi
8055
8056
8057
8058
8059
8060
8061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8062 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8063
8064   runpath_var=
8065   allow_undefined_flag=
8066   always_export_symbols=no
8067   archive_cmds=
8068   archive_expsym_cmds=
8069   compiler_needs_object=no
8070   enable_shared_with_static_runtimes=no
8071   export_dynamic_flag_spec=
8072   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8073   hardcode_automatic=no
8074   hardcode_direct=no
8075   hardcode_direct_absolute=no
8076   hardcode_libdir_flag_spec=
8077   hardcode_libdir_flag_spec_ld=
8078   hardcode_libdir_separator=
8079   hardcode_minus_L=no
8080   hardcode_shlibpath_var=unsupported
8081   inherit_rpath=no
8082   link_all_deplibs=unknown
8083   module_cmds=
8084   module_expsym_cmds=
8085   old_archive_from_new_cmds=
8086   old_archive_from_expsyms_cmds=
8087   thread_safe_flag_spec=
8088   whole_archive_flag_spec=
8089   # include_expsyms should be a list of space-separated symbols to be *always*
8090   # included in the symbol list
8091   include_expsyms=
8092   # exclude_expsyms can be an extended regexp of symbols to exclude
8093   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8094   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8095   # as well as any symbol that contains `d'.
8096   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8097   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8098   # platforms (ab)use it in PIC code, but their linkers get confused if
8099   # the symbol is explicitly referenced.  Since portable code cannot
8100   # rely on this symbol name, it's probably fine to never include it in
8101   # preloaded symbol tables.
8102   # Exclude shared library initialization/finalization symbols.
8103   extract_expsyms_cmds=
8104
8105   case $host_os in
8106   cygwin* | mingw* | pw32* | cegcc*)
8107     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8108     # When not using gcc, we currently assume that we are using
8109     # Microsoft Visual C++.
8110     if test "$GCC" != yes; then
8111       with_gnu_ld=no
8112     fi
8113     ;;
8114   interix*)
8115     # we just hope/assume this is gcc and not c89 (= MSVC++)
8116     with_gnu_ld=yes
8117     ;;
8118   openbsd*)
8119     with_gnu_ld=no
8120     ;;
8121   esac
8122
8123   ld_shlibs=yes
8124
8125   # On some targets, GNU ld is compatible enough with the native linker
8126   # that we're better off using the native interface for both.
8127   lt_use_gnu_ld_interface=no
8128   if test "$with_gnu_ld" = yes; then
8129     case $host_os in
8130       aix*)
8131         # The AIX port of GNU ld has always aspired to compatibility
8132         # with the native linker.  However, as the warning in the GNU ld
8133         # block says, versions before 2.19.5* couldn't really create working
8134         # shared libraries, regardless of the interface used.
8135         case `$LD -v 2>&1` in
8136           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8137           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8138           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8139           *)
8140             lt_use_gnu_ld_interface=yes
8141             ;;
8142         esac
8143         ;;
8144       *)
8145         lt_use_gnu_ld_interface=yes
8146         ;;
8147     esac
8148   fi
8149
8150   if test "$lt_use_gnu_ld_interface" = yes; then
8151     # If archive_cmds runs LD, not CC, wlarc should be empty
8152     wlarc='${wl}'
8153
8154     # Set some defaults for GNU ld with shared library support. These
8155     # are reset later if shared libraries are not supported. Putting them
8156     # here allows them to be overridden if necessary.
8157     runpath_var=LD_RUN_PATH
8158     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8159     export_dynamic_flag_spec='${wl}--export-dynamic'
8160     # ancient GNU ld didn't support --whole-archive et. al.
8161     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8162       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8163     else
8164       whole_archive_flag_spec=
8165     fi
8166     supports_anon_versioning=no
8167     case `$LD -v 2>&1` in
8168       *GNU\ gold*) supports_anon_versioning=yes ;;
8169       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8170       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8171       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8172       *\ 2.11.*) ;; # other 2.11 versions
8173       *) supports_anon_versioning=yes ;;
8174     esac
8175
8176     # See if GNU ld supports shared libraries.
8177     case $host_os in
8178     aix[3-9]*)
8179       # On AIX/PPC, the GNU linker is very broken
8180       if test "$host_cpu" != ia64; then
8181         ld_shlibs=no
8182         cat <<_LT_EOF 1>&2
8183
8184 *** Warning: the GNU linker, at least up to release 2.19, is reported
8185 *** to be unable to reliably create shared libraries on AIX.
8186 *** Therefore, libtool is disabling shared libraries support.  If you
8187 *** really care for shared libraries, you may want to install binutils
8188 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8189 *** You will then need to restart the configuration process.
8190
8191 _LT_EOF
8192       fi
8193       ;;
8194
8195     amigaos*)
8196       case $host_cpu in
8197       powerpc)
8198             # see comment about AmigaOS4 .so support
8199             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8200             archive_expsym_cmds=''
8201         ;;
8202       m68k)
8203             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)'
8204             hardcode_libdir_flag_spec='-L$libdir'
8205             hardcode_minus_L=yes
8206         ;;
8207       esac
8208       ;;
8209
8210     beos*)
8211       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8212         allow_undefined_flag=unsupported
8213         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8214         # support --undefined.  This deserves some investigation.  FIXME
8215         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8216       else
8217         ld_shlibs=no
8218       fi
8219       ;;
8220
8221     cygwin* | mingw* | pw32* | cegcc*)
8222       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8223       # as there is no search path for DLLs.
8224       hardcode_libdir_flag_spec='-L$libdir'
8225       export_dynamic_flag_spec='${wl}--export-all-symbols'
8226       allow_undefined_flag=unsupported
8227       always_export_symbols=no
8228       enable_shared_with_static_runtimes=yes
8229       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8230
8231       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8232         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8233         # If the export-symbols file already is a .def file (1st line
8234         # is EXPORTS), use it as is; otherwise, prepend...
8235         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8236           cp $export_symbols $output_objdir/$soname.def;
8237         else
8238           echo EXPORTS > $output_objdir/$soname.def;
8239           cat $export_symbols >> $output_objdir/$soname.def;
8240         fi~
8241         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8242       else
8243         ld_shlibs=no
8244       fi
8245       ;;
8246
8247     haiku*)
8248       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8249       link_all_deplibs=yes
8250       ;;
8251
8252     interix[3-9]*)
8253       hardcode_direct=no
8254       hardcode_shlibpath_var=no
8255       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8256       export_dynamic_flag_spec='${wl}-E'
8257       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8258       # Instead, shared libraries are loaded at an image base (0x10000000 by
8259       # default) and relocated if they conflict, which is a slow very memory
8260       # consuming and fragmenting process.  To avoid this, we pick a random,
8261       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8262       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8263       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8264       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'
8265       ;;
8266
8267     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8268       tmp_diet=no
8269       if test "$host_os" = linux-dietlibc; then
8270         case $cc_basename in
8271           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8272         esac
8273       fi
8274       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8275          && test "$tmp_diet" = no
8276       then
8277         tmp_addflag=
8278         tmp_sharedflag='-shared'
8279         case $cc_basename,$host_cpu in
8280         pgcc*)                          # Portland Group C compiler
8281           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'
8282           tmp_addflag=' $pic_flag'
8283           ;;
8284         pgf77* | pgf90* | pgf95* | pgfortran*)
8285                                         # Portland Group f77 and f90 compilers
8286           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'
8287           tmp_addflag=' $pic_flag -Mnomain' ;;
8288         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8289           tmp_addflag=' -i_dynamic' ;;
8290         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8291           tmp_addflag=' -i_dynamic -nofor_main' ;;
8292         ifc* | ifort*)                  # Intel Fortran compiler
8293           tmp_addflag=' -nofor_main' ;;
8294         lf95*)                          # Lahey Fortran 8.1
8295           whole_archive_flag_spec=
8296           tmp_sharedflag='--shared' ;;
8297         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8298           tmp_sharedflag='-qmkshrobj'
8299           tmp_addflag= ;;
8300         nvcc*)  # Cuda Compiler Driver 2.2
8301           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'
8302           compiler_needs_object=yes
8303           ;;
8304         esac
8305         case `$CC -V 2>&1 | sed 5q` in
8306         *Sun\ C*)                       # Sun C 5.9
8307           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'
8308           compiler_needs_object=yes
8309           tmp_sharedflag='-G' ;;
8310         *Sun\ F*)                       # Sun Fortran 8.3
8311           tmp_sharedflag='-G' ;;
8312         esac
8313         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8314
8315         if test "x$supports_anon_versioning" = xyes; then
8316           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8317             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8318             echo "local: *; };" >> $output_objdir/$libname.ver~
8319             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8320         fi
8321
8322         case $cc_basename in
8323         xlf* | bgf* | bgxlf* | mpixlf*)
8324           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8325           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8326           hardcode_libdir_flag_spec=
8327           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8328           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8329           if test "x$supports_anon_versioning" = xyes; then
8330             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8331               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8332               echo "local: *; };" >> $output_objdir/$libname.ver~
8333               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8334           fi
8335           ;;
8336         esac
8337       else
8338         ld_shlibs=no
8339       fi
8340       ;;
8341
8342     netbsd*)
8343       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8344         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8345         wlarc=
8346       else
8347         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8348         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8349       fi
8350       ;;
8351
8352     solaris*)
8353       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8354         ld_shlibs=no
8355         cat <<_LT_EOF 1>&2
8356
8357 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8358 *** create shared libraries on Solaris systems.  Therefore, libtool
8359 *** is disabling shared libraries support.  We urge you to upgrade GNU
8360 *** binutils to release 2.9.1 or newer.  Another option is to modify
8361 *** your PATH or compiler configuration so that the native linker is
8362 *** used, and then restart.
8363
8364 _LT_EOF
8365       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8366         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8367         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8368       else
8369         ld_shlibs=no
8370       fi
8371       ;;
8372
8373     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8374       case `$LD -v 2>&1` in
8375         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8376         ld_shlibs=no
8377         cat <<_LT_EOF 1>&2
8378
8379 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8380 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8381 *** is disabling shared libraries support.  We urge you to upgrade GNU
8382 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8383 *** your PATH or compiler configuration so that the native linker is
8384 *** used, and then restart.
8385
8386 _LT_EOF
8387         ;;
8388         *)
8389           # For security reasons, it is highly recommended that you always
8390           # use absolute paths for naming shared libraries, and exclude the
8391           # DT_RUNPATH tag from executables and libraries.  But doing so
8392           # requires that you compile everything twice, which is a pain.
8393           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8394             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8395             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8396             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8397           else
8398             ld_shlibs=no
8399           fi
8400         ;;
8401       esac
8402       ;;
8403
8404     sunos4*)
8405       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8406       wlarc=
8407       hardcode_direct=yes
8408       hardcode_shlibpath_var=no
8409       ;;
8410
8411     *)
8412       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8413         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8414         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8415       else
8416         ld_shlibs=no
8417       fi
8418       ;;
8419     esac
8420
8421     if test "$ld_shlibs" = no; then
8422       runpath_var=
8423       hardcode_libdir_flag_spec=
8424       export_dynamic_flag_spec=
8425       whole_archive_flag_spec=
8426     fi
8427   else
8428     # PORTME fill in a description of your system's linker (not GNU ld)
8429     case $host_os in
8430     aix3*)
8431       allow_undefined_flag=unsupported
8432       always_export_symbols=yes
8433       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'
8434       # Note: this linker hardcodes the directories in LIBPATH if there
8435       # are no directories specified by -L.
8436       hardcode_minus_L=yes
8437       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8438         # Neither direct hardcoding nor static linking is supported with a
8439         # broken collect2.
8440         hardcode_direct=unsupported
8441       fi
8442       ;;
8443
8444     aix[4-9]*)
8445       if test "$host_cpu" = ia64; then
8446         # On IA64, the linker does run time linking by default, so we don't
8447         # have to do anything special.
8448         aix_use_runtimelinking=no
8449         exp_sym_flag='-Bexport'
8450         no_entry_flag=""
8451       else
8452         # If we're using GNU nm, then we don't want the "-C" option.
8453         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8454         # Also, AIX nm treats weak defined symbols like other global
8455         # defined symbols, whereas GNU nm marks them as "W".
8456         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8457           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'
8458         else
8459           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'
8460         fi
8461         aix_use_runtimelinking=no
8462
8463         # Test if we are trying to use run time linking or normal
8464         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8465         # need to do runtime linking.
8466         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8467           for ld_flag in $LDFLAGS; do
8468           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8469             aix_use_runtimelinking=yes
8470             break
8471           fi
8472           done
8473           ;;
8474         esac
8475
8476         exp_sym_flag='-bexport'
8477         no_entry_flag='-bnoentry'
8478       fi
8479
8480       # When large executables or shared objects are built, AIX ld can
8481       # have problems creating the table of contents.  If linking a library
8482       # or program results in "error TOC overflow" add -mminimal-toc to
8483       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8484       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8485
8486       archive_cmds=''
8487       hardcode_direct=yes
8488       hardcode_direct_absolute=yes
8489       hardcode_libdir_separator=':'
8490       link_all_deplibs=yes
8491       file_list_spec='${wl}-f,'
8492
8493       if test "$GCC" = yes; then
8494         case $host_os in aix4.[012]|aix4.[012].*)
8495         # We only want to do this on AIX 4.2 and lower, the check
8496         # below for broken collect2 doesn't work under 4.3+
8497           collect2name=`${CC} -print-prog-name=collect2`
8498           if test -f "$collect2name" &&
8499            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8500           then
8501           # We have reworked collect2
8502           :
8503           else
8504           # We have old collect2
8505           hardcode_direct=unsupported
8506           # It fails to find uninstalled libraries when the uninstalled
8507           # path is not listed in the libpath.  Setting hardcode_minus_L
8508           # to unsupported forces relinking
8509           hardcode_minus_L=yes
8510           hardcode_libdir_flag_spec='-L$libdir'
8511           hardcode_libdir_separator=
8512           fi
8513           ;;
8514         esac
8515         shared_flag='-shared'
8516         if test "$aix_use_runtimelinking" = yes; then
8517           shared_flag="$shared_flag "'${wl}-G'
8518         fi
8519       else
8520         # not using gcc
8521         if test "$host_cpu" = ia64; then
8522         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8523         # chokes on -Wl,-G. The following line is correct:
8524           shared_flag='-G'
8525         else
8526           if test "$aix_use_runtimelinking" = yes; then
8527             shared_flag='${wl}-G'
8528           else
8529             shared_flag='${wl}-bM:SRE'
8530           fi
8531         fi
8532       fi
8533
8534       export_dynamic_flag_spec='${wl}-bexpall'
8535       # It seems that -bexpall does not export symbols beginning with
8536       # underscore (_), so it is better to generate a list of symbols to export.
8537       always_export_symbols=yes
8538       if test "$aix_use_runtimelinking" = yes; then
8539         # Warning - without using the other runtime loading flags (-brtl),
8540         # -berok will link without error, but may produce a broken library.
8541         allow_undefined_flag='-berok'
8542         # Determine the default libpath from the value encoded in an
8543         # empty executable.
8544         if test x$gcc_no_link = xyes; then
8545   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8546 fi
8547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8548 /* end confdefs.h.  */
8549
8550 int
8551 main ()
8552 {
8553
8554   ;
8555   return 0;
8556 }
8557 _ACEOF
8558 if ac_fn_c_try_link "$LINENO"; then :
8559
8560 lt_aix_libpath_sed='
8561     /Import File Strings/,/^$/ {
8562         /^0/ {
8563             s/^0  *\(.*\)$/\1/
8564             p
8565         }
8566     }'
8567 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8568 # Check for a 64-bit object if we didn't find anything.
8569 if test -z "$aix_libpath"; then
8570   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8571 fi
8572 fi
8573 rm -f core conftest.err conftest.$ac_objext \
8574     conftest$ac_exeext conftest.$ac_ext
8575 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8576
8577         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8578         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"
8579       else
8580         if test "$host_cpu" = ia64; then
8581           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8582           allow_undefined_flag="-z nodefs"
8583           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"
8584         else
8585          # Determine the default libpath from the value encoded in an
8586          # empty executable.
8587          if test x$gcc_no_link = xyes; then
8588   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8589 fi
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h.  */
8592
8593 int
8594 main ()
8595 {
8596
8597   ;
8598   return 0;
8599 }
8600 _ACEOF
8601 if ac_fn_c_try_link "$LINENO"; then :
8602
8603 lt_aix_libpath_sed='
8604     /Import File Strings/,/^$/ {
8605         /^0/ {
8606             s/^0  *\(.*\)$/\1/
8607             p
8608         }
8609     }'
8610 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8611 # Check for a 64-bit object if we didn't find anything.
8612 if test -z "$aix_libpath"; then
8613   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8614 fi
8615 fi
8616 rm -f core conftest.err conftest.$ac_objext \
8617     conftest$ac_exeext conftest.$ac_ext
8618 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8619
8620          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8621           # Warning - without using the other run time loading flags,
8622           # -berok will link without error, but may produce a broken library.
8623           no_undefined_flag=' ${wl}-bernotok'
8624           allow_undefined_flag=' ${wl}-berok'
8625           if test "$with_gnu_ld" = yes; then
8626             # We only use this code for GNU lds that support --whole-archive.
8627             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8628           else
8629             # Exported symbols can be pulled into shared objects from archives
8630             whole_archive_flag_spec='$convenience'
8631           fi
8632           archive_cmds_need_lc=yes
8633           # This is similar to how AIX traditionally builds its shared libraries.
8634           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'
8635         fi
8636       fi
8637       ;;
8638
8639     amigaos*)
8640       case $host_cpu in
8641       powerpc)
8642             # see comment about AmigaOS4 .so support
8643             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8644             archive_expsym_cmds=''
8645         ;;
8646       m68k)
8647             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)'
8648             hardcode_libdir_flag_spec='-L$libdir'
8649             hardcode_minus_L=yes
8650         ;;
8651       esac
8652       ;;
8653
8654     bsdi[45]*)
8655       export_dynamic_flag_spec=-rdynamic
8656       ;;
8657
8658     cygwin* | mingw* | pw32* | cegcc*)
8659       # When not using gcc, we currently assume that we are using
8660       # Microsoft Visual C++.
8661       # hardcode_libdir_flag_spec is actually meaningless, as there is
8662       # no search path for DLLs.
8663       hardcode_libdir_flag_spec=' '
8664       allow_undefined_flag=unsupported
8665       # Tell ltmain to make .lib files, not .a files.
8666       libext=lib
8667       # Tell ltmain to make .dll files, not .so files.
8668       shrext_cmds=".dll"
8669       # FIXME: Setting linknames here is a bad hack.
8670       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8671       # The linker will automatically build a .lib file if we build a DLL.
8672       old_archive_from_new_cmds='true'
8673       # FIXME: Should let the user specify the lib program.
8674       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8675       fix_srcfile_path='`cygpath -w "$srcfile"`'
8676       enable_shared_with_static_runtimes=yes
8677       ;;
8678
8679     darwin* | rhapsody*)
8680
8681
8682   archive_cmds_need_lc=no
8683   hardcode_direct=no
8684   hardcode_automatic=yes
8685   hardcode_shlibpath_var=unsupported
8686   if test "$lt_cv_ld_force_load" = "yes"; then
8687     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\"`'
8688   else
8689     whole_archive_flag_spec=''
8690   fi
8691   link_all_deplibs=yes
8692   allow_undefined_flag="$_lt_dar_allow_undefined"
8693   case $cc_basename in
8694      ifort*) _lt_dar_can_shared=yes ;;
8695      *) _lt_dar_can_shared=$GCC ;;
8696   esac
8697   if test "$_lt_dar_can_shared" = "yes"; then
8698     output_verbose_link_cmd=func_echo_all
8699     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8700     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8701     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}"
8702     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}"
8703
8704   else
8705   ld_shlibs=no
8706   fi
8707
8708       ;;
8709
8710     dgux*)
8711       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8712       hardcode_libdir_flag_spec='-L$libdir'
8713       hardcode_shlibpath_var=no
8714       ;;
8715
8716     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8717     # support.  Future versions do this automatically, but an explicit c++rt0.o
8718     # does not break anything, and helps significantly (at the cost of a little
8719     # extra space).
8720     freebsd2.2*)
8721       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8722       hardcode_libdir_flag_spec='-R$libdir'
8723       hardcode_direct=yes
8724       hardcode_shlibpath_var=no
8725       ;;
8726
8727     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8728     freebsd2*)
8729       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8730       hardcode_direct=yes
8731       hardcode_minus_L=yes
8732       hardcode_shlibpath_var=no
8733       ;;
8734
8735     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8736     freebsd* | dragonfly*)
8737       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8738       hardcode_libdir_flag_spec='-R$libdir'
8739       hardcode_direct=yes
8740       hardcode_shlibpath_var=no
8741       ;;
8742
8743     hpux9*)
8744       if test "$GCC" = yes; then
8745         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'
8746       else
8747         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'
8748       fi
8749       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8750       hardcode_libdir_separator=:
8751       hardcode_direct=yes
8752
8753       # hardcode_minus_L: Not really in the search PATH,
8754       # but as the default location of the library.
8755       hardcode_minus_L=yes
8756       export_dynamic_flag_spec='${wl}-E'
8757       ;;
8758
8759     hpux10*)
8760       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8761         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8762       else
8763         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8764       fi
8765       if test "$with_gnu_ld" = no; then
8766         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8767         hardcode_libdir_flag_spec_ld='+b $libdir'
8768         hardcode_libdir_separator=:
8769         hardcode_direct=yes
8770         hardcode_direct_absolute=yes
8771         export_dynamic_flag_spec='${wl}-E'
8772         # hardcode_minus_L: Not really in the search PATH,
8773         # but as the default location of the library.
8774         hardcode_minus_L=yes
8775       fi
8776       ;;
8777
8778     hpux11*)
8779       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8780         case $host_cpu in
8781         hppa*64*)
8782           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8783           ;;
8784         ia64*)
8785           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8786           ;;
8787         *)
8788           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8789           ;;
8790         esac
8791       else
8792         case $host_cpu in
8793         hppa*64*)
8794           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8795           ;;
8796         ia64*)
8797           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8798           ;;
8799         *)
8800
8801           # Older versions of the 11.00 compiler do not understand -b yet
8802           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8803           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8804 $as_echo_n "checking if $CC understands -b... " >&6; }
8805 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8806   $as_echo_n "(cached) " >&6
8807 else
8808   lt_cv_prog_compiler__b=no
8809    save_LDFLAGS="$LDFLAGS"
8810    LDFLAGS="$LDFLAGS -b"
8811    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8812    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8813      # The linker can only warn and ignore the option if not recognized
8814      # So say no if there are warnings
8815      if test -s conftest.err; then
8816        # Append any errors to the config.log.
8817        cat conftest.err 1>&5
8818        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8819        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8820        if diff conftest.exp conftest.er2 >/dev/null; then
8821          lt_cv_prog_compiler__b=yes
8822        fi
8823      else
8824        lt_cv_prog_compiler__b=yes
8825      fi
8826    fi
8827    $RM -r conftest*
8828    LDFLAGS="$save_LDFLAGS"
8829
8830 fi
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8832 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8833
8834 if test x"$lt_cv_prog_compiler__b" = xyes; then
8835     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8836 else
8837     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8838 fi
8839
8840           ;;
8841         esac
8842       fi
8843       if test "$with_gnu_ld" = no; then
8844         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8845         hardcode_libdir_separator=:
8846
8847         case $host_cpu in
8848         hppa*64*|ia64*)
8849           hardcode_direct=no
8850           hardcode_shlibpath_var=no
8851           ;;
8852         *)
8853           hardcode_direct=yes
8854           hardcode_direct_absolute=yes
8855           export_dynamic_flag_spec='${wl}-E'
8856
8857           # hardcode_minus_L: Not really in the search PATH,
8858           # but as the default location of the library.
8859           hardcode_minus_L=yes
8860           ;;
8861         esac
8862       fi
8863       ;;
8864
8865     irix5* | irix6* | nonstopux*)
8866       if test "$GCC" = yes; then
8867         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'
8868         # Try to use the -exported_symbol ld option, if it does not
8869         # work, assume that -exports_file does not work either and
8870         # implicitly export all symbols.
8871         save_LDFLAGS="$LDFLAGS"
8872         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8873         if test x$gcc_no_link = xyes; then
8874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8875 fi
8876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8877 /* end confdefs.h.  */
8878 int foo(void) {}
8879 _ACEOF
8880 if ac_fn_c_try_link "$LINENO"; then :
8881   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'
8882
8883 fi
8884 rm -f core conftest.err conftest.$ac_objext \
8885     conftest$ac_exeext conftest.$ac_ext
8886         LDFLAGS="$save_LDFLAGS"
8887       else
8888         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'
8889         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'
8890       fi
8891       archive_cmds_need_lc='no'
8892       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8893       hardcode_libdir_separator=:
8894       inherit_rpath=yes
8895       link_all_deplibs=yes
8896       ;;
8897
8898     netbsd*)
8899       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8900         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8901       else
8902         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8903       fi
8904       hardcode_libdir_flag_spec='-R$libdir'
8905       hardcode_direct=yes
8906       hardcode_shlibpath_var=no
8907       ;;
8908
8909     newsos6)
8910       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8911       hardcode_direct=yes
8912       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8913       hardcode_libdir_separator=:
8914       hardcode_shlibpath_var=no
8915       ;;
8916
8917     *nto* | *qnx*)
8918       ;;
8919
8920     openbsd*)
8921       if test -f /usr/libexec/ld.so; then
8922         hardcode_direct=yes
8923         hardcode_shlibpath_var=no
8924         hardcode_direct_absolute=yes
8925         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8926           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8927           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8928           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8929           export_dynamic_flag_spec='${wl}-E'
8930         else
8931           case $host_os in
8932            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8933              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8934              hardcode_libdir_flag_spec='-R$libdir'
8935              ;;
8936            *)
8937              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8938              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8939              ;;
8940           esac
8941         fi
8942       else
8943         ld_shlibs=no
8944       fi
8945       ;;
8946
8947     os2*)
8948       hardcode_libdir_flag_spec='-L$libdir'
8949       hardcode_minus_L=yes
8950       allow_undefined_flag=unsupported
8951       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'
8952       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8953       ;;
8954
8955     osf3*)
8956       if test "$GCC" = yes; then
8957         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8958         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'
8959       else
8960         allow_undefined_flag=' -expect_unresolved \*'
8961         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'
8962       fi
8963       archive_cmds_need_lc='no'
8964       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8965       hardcode_libdir_separator=:
8966       ;;
8967
8968     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8969       if test "$GCC" = yes; then
8970         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8971         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'
8972         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8973       else
8974         allow_undefined_flag=' -expect_unresolved \*'
8975         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'
8976         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~
8977         $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'
8978
8979         # Both c and cxx compiler support -rpath directly
8980         hardcode_libdir_flag_spec='-rpath $libdir'
8981       fi
8982       archive_cmds_need_lc='no'
8983       hardcode_libdir_separator=:
8984       ;;
8985
8986     solaris*)
8987       no_undefined_flag=' -z defs'
8988       if test "$GCC" = yes; then
8989         wlarc='${wl}'
8990         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8991         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8992           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8993       else
8994         case `$CC -V 2>&1` in
8995         *"Compilers 5.0"*)
8996           wlarc=''
8997           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8998           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8999           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9000           ;;
9001         *)
9002           wlarc='${wl}'
9003           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9004           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9005           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9006           ;;
9007         esac
9008       fi
9009       hardcode_libdir_flag_spec='-R$libdir'
9010       hardcode_shlibpath_var=no
9011       case $host_os in
9012       solaris2.[0-5] | solaris2.[0-5].*) ;;
9013       *)
9014         # The compiler driver will combine and reorder linker options,
9015         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9016         # but is careful enough not to reorder.
9017         # Supported since Solaris 2.6 (maybe 2.5.1?)
9018         if test "$GCC" = yes; then
9019           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9020         else
9021           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9022         fi
9023         ;;
9024       esac
9025       link_all_deplibs=yes
9026       ;;
9027
9028     sunos4*)
9029       if test "x$host_vendor" = xsequent; then
9030         # Use $CC to link under sequent, because it throws in some extra .o
9031         # files that make .init and .fini sections work.
9032         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9033       else
9034         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9035       fi
9036       hardcode_libdir_flag_spec='-L$libdir'
9037       hardcode_direct=yes
9038       hardcode_minus_L=yes
9039       hardcode_shlibpath_var=no
9040       ;;
9041
9042     sysv4)
9043       case $host_vendor in
9044         sni)
9045           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9046           hardcode_direct=yes # is this really true???
9047         ;;
9048         siemens)
9049           ## LD is ld it makes a PLAMLIB
9050           ## CC just makes a GrossModule.
9051           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9052           reload_cmds='$CC -r -o $output$reload_objs'
9053           hardcode_direct=no
9054         ;;
9055         motorola)
9056           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9057           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9058         ;;
9059       esac
9060       runpath_var='LD_RUN_PATH'
9061       hardcode_shlibpath_var=no
9062       ;;
9063
9064     sysv4.3*)
9065       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9066       hardcode_shlibpath_var=no
9067       export_dynamic_flag_spec='-Bexport'
9068       ;;
9069
9070     sysv4*MP*)
9071       if test -d /usr/nec; then
9072         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073         hardcode_shlibpath_var=no
9074         runpath_var=LD_RUN_PATH
9075         hardcode_runpath_var=yes
9076         ld_shlibs=yes
9077       fi
9078       ;;
9079
9080     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9081       no_undefined_flag='${wl}-z,text'
9082       archive_cmds_need_lc=no
9083       hardcode_shlibpath_var=no
9084       runpath_var='LD_RUN_PATH'
9085
9086       if test "$GCC" = yes; then
9087         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9088         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9089       else
9090         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9091         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9092       fi
9093       ;;
9094
9095     sysv5* | sco3.2v5* | sco5v6*)
9096       # Note: We can NOT use -z defs as we might desire, because we do not
9097       # link with -lc, and that would cause any symbols used from libc to
9098       # always be unresolved, which means just about no library would
9099       # ever link correctly.  If we're not using GNU ld we use -z text
9100       # though, which does catch some bad symbols but isn't as heavy-handed
9101       # as -z defs.
9102       no_undefined_flag='${wl}-z,text'
9103       allow_undefined_flag='${wl}-z,nodefs'
9104       archive_cmds_need_lc=no
9105       hardcode_shlibpath_var=no
9106       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9107       hardcode_libdir_separator=':'
9108       link_all_deplibs=yes
9109       export_dynamic_flag_spec='${wl}-Bexport'
9110       runpath_var='LD_RUN_PATH'
9111
9112       if test "$GCC" = yes; then
9113         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9114         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9115       else
9116         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9117         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9118       fi
9119       ;;
9120
9121     uts4*)
9122       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9123       hardcode_libdir_flag_spec='-L$libdir'
9124       hardcode_shlibpath_var=no
9125       ;;
9126
9127     *)
9128       ld_shlibs=no
9129       ;;
9130     esac
9131
9132     if test x$host_vendor = xsni; then
9133       case $host in
9134       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9135         export_dynamic_flag_spec='${wl}-Blargedynsym'
9136         ;;
9137       esac
9138     fi
9139   fi
9140
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9142 $as_echo "$ld_shlibs" >&6; }
9143 test "$ld_shlibs" = no && can_build_shared=no
9144
9145 with_gnu_ld=$with_gnu_ld
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161 #
9162 # Do we need to explicitly link libc?
9163 #
9164 case "x$archive_cmds_need_lc" in
9165 x|xyes)
9166   # Assume -lc should be added
9167   archive_cmds_need_lc=yes
9168
9169   if test "$enable_shared" = yes && test "$GCC" = yes; then
9170     case $archive_cmds in
9171     *'~'*)
9172       # FIXME: we may have to deal with multi-command sequences.
9173       ;;
9174     '$CC '*)
9175       # Test whether the compiler implicitly links with -lc since on some
9176       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9177       # to ld, don't add -lc before -lgcc.
9178       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9179 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9180 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9181   $as_echo_n "(cached) " >&6
9182 else
9183   $RM conftest*
9184         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9185
9186         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9187   (eval $ac_compile) 2>&5
9188   ac_status=$?
9189   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9190   test $ac_status = 0; } 2>conftest.err; then
9191           soname=conftest
9192           lib=conftest
9193           libobjs=conftest.$ac_objext
9194           deplibs=
9195           wl=$lt_prog_compiler_wl
9196           pic_flag=$lt_prog_compiler_pic
9197           compiler_flags=-v
9198           linker_flags=-v
9199           verstring=
9200           output_objdir=.
9201           libname=conftest
9202           lt_save_allow_undefined_flag=$allow_undefined_flag
9203           allow_undefined_flag=
9204           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9205   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9206   ac_status=$?
9207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9208   test $ac_status = 0; }
9209           then
9210             lt_cv_archive_cmds_need_lc=no
9211           else
9212             lt_cv_archive_cmds_need_lc=yes
9213           fi
9214           allow_undefined_flag=$lt_save_allow_undefined_flag
9215         else
9216           cat conftest.err 1>&5
9217         fi
9218         $RM conftest*
9219
9220 fi
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9222 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9223       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9224       ;;
9225     esac
9226   fi
9227   ;;
9228 esac
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
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9387 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9388
9389 if test "$GCC" = yes; then
9390   case $host_os in
9391     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9392     *) lt_awk_arg="/^libraries:/" ;;
9393   esac
9394   case $host_os in
9395     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9396     *) lt_sed_strip_eq="s,=/,/,g" ;;
9397   esac
9398   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9399   case $lt_search_path_spec in
9400   *\;*)
9401     # if the path contains ";" then we assume it to be the separator
9402     # otherwise default to the standard path separator (i.e. ":") - it is
9403     # assumed that no part of a normal pathname contains ";" but that should
9404     # okay in the real world where ";" in dirpaths is itself problematic.
9405     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9406     ;;
9407   *)
9408     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9409     ;;
9410   esac
9411   # Ok, now we have the path, separated by spaces, we can step through it
9412   # and add multilib dir if necessary.
9413   lt_tmp_lt_search_path_spec=
9414   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9415   for lt_sys_path in $lt_search_path_spec; do
9416     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9417       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9418     else
9419       test -d "$lt_sys_path" && \
9420         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9421     fi
9422   done
9423   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9424 BEGIN {RS=" "; FS="/|\n";} {
9425   lt_foo="";
9426   lt_count=0;
9427   for (lt_i = NF; lt_i > 0; lt_i--) {
9428     if ($lt_i != "" && $lt_i != ".") {
9429       if ($lt_i == "..") {
9430         lt_count++;
9431       } else {
9432         if (lt_count == 0) {
9433           lt_foo="/" $lt_i lt_foo;
9434         } else {
9435           lt_count--;
9436         }
9437       }
9438     }
9439   }
9440   if (lt_foo != "") { lt_freq[lt_foo]++; }
9441   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9442 }'`
9443   # AWK program above erroneously prepends '/' to C:/dos/paths
9444   # for these hosts.
9445   case $host_os in
9446     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9447       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9448   esac
9449   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9450 else
9451   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9452 fi
9453 library_names_spec=
9454 libname_spec='lib$name'
9455 soname_spec=
9456 shrext_cmds=".so"
9457 postinstall_cmds=
9458 postuninstall_cmds=
9459 finish_cmds=
9460 finish_eval=
9461 shlibpath_var=
9462 shlibpath_overrides_runpath=unknown
9463 version_type=none
9464 dynamic_linker="$host_os ld.so"
9465 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9466 need_lib_prefix=unknown
9467 hardcode_into_libs=no
9468
9469 # when you set need_version to no, make sure it does not cause -set_version
9470 # flags to be left without arguments
9471 need_version=unknown
9472
9473 case $host_os in
9474 aix3*)
9475   version_type=linux
9476   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9477   shlibpath_var=LIBPATH
9478
9479   # AIX 3 has no versioning support, so we append a major version to the name.
9480   soname_spec='${libname}${release}${shared_ext}$major'
9481   ;;
9482
9483 aix[4-9]*)
9484   version_type=linux
9485   need_lib_prefix=no
9486   need_version=no
9487   hardcode_into_libs=yes
9488   if test "$host_cpu" = ia64; then
9489     # AIX 5 supports IA64
9490     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9491     shlibpath_var=LD_LIBRARY_PATH
9492   else
9493     # With GCC up to 2.95.x, collect2 would create an import file
9494     # for dependence libraries.  The import file would start with
9495     # the line `#! .'.  This would cause the generated library to
9496     # depend on `.', always an invalid library.  This was fixed in
9497     # development snapshots of GCC prior to 3.0.
9498     case $host_os in
9499       aix4 | aix4.[01] | aix4.[01].*)
9500       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9501            echo ' yes '
9502            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9503         :
9504       else
9505         can_build_shared=no
9506       fi
9507       ;;
9508     esac
9509     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9510     # soname into executable. Probably we can add versioning support to
9511     # collect2, so additional links can be useful in future.
9512     if test "$aix_use_runtimelinking" = yes; then
9513       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9514       # instead of lib<name>.a to let people know that these are not
9515       # typical AIX shared libraries.
9516       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9517     else
9518       # We preserve .a as extension for shared libraries through AIX4.2
9519       # and later when we are not doing run time linking.
9520       library_names_spec='${libname}${release}.a $libname.a'
9521       soname_spec='${libname}${release}${shared_ext}$major'
9522     fi
9523     shlibpath_var=LIBPATH
9524   fi
9525   ;;
9526
9527 amigaos*)
9528   case $host_cpu in
9529   powerpc)
9530     # Since July 2007 AmigaOS4 officially supports .so libraries.
9531     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9532     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9533     ;;
9534   m68k)
9535     library_names_spec='$libname.ixlibrary $libname.a'
9536     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9537     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'
9538     ;;
9539   esac
9540   ;;
9541
9542 beos*)
9543   library_names_spec='${libname}${shared_ext}'
9544   dynamic_linker="$host_os ld.so"
9545   shlibpath_var=LIBRARY_PATH
9546   ;;
9547
9548 bsdi[45]*)
9549   version_type=linux
9550   need_version=no
9551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9552   soname_spec='${libname}${release}${shared_ext}$major'
9553   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9554   shlibpath_var=LD_LIBRARY_PATH
9555   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9556   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9557   # the default ld.so.conf also contains /usr/contrib/lib and
9558   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9559   # libtool to hard-code these into programs
9560   ;;
9561
9562 cygwin* | mingw* | pw32* | cegcc*)
9563   version_type=windows
9564   shrext_cmds=".dll"
9565   need_version=no
9566   need_lib_prefix=no
9567
9568   case $GCC,$host_os in
9569   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9570     library_names_spec='$libname.dll.a'
9571     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9572     postinstall_cmds='base_file=`basename \${file}`~
9573       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9574       dldir=$destdir/`dirname \$dlpath`~
9575       test -d \$dldir || mkdir -p \$dldir~
9576       $install_prog $dir/$dlname \$dldir/$dlname~
9577       chmod a+x \$dldir/$dlname~
9578       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9579         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9580       fi'
9581     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9582       dlpath=$dir/\$dldll~
9583        $RM \$dlpath'
9584     shlibpath_overrides_runpath=yes
9585
9586     case $host_os in
9587     cygwin*)
9588       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9589       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9590
9591       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9592       ;;
9593     mingw* | cegcc*)
9594       # MinGW DLLs use traditional 'lib' prefix
9595       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9596       ;;
9597     pw32*)
9598       # pw32 DLLs use 'pw' prefix rather than 'lib'
9599       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9600       ;;
9601     esac
9602     ;;
9603
9604   *)
9605     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9606     ;;
9607   esac
9608   dynamic_linker='Win32 ld.exe'
9609   # FIXME: first we should search . and the directory the executable is in
9610   shlibpath_var=PATH
9611   ;;
9612
9613 darwin* | rhapsody*)
9614   dynamic_linker="$host_os dyld"
9615   version_type=darwin
9616   need_lib_prefix=no
9617   need_version=no
9618   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9619   soname_spec='${libname}${release}${major}$shared_ext'
9620   shlibpath_overrides_runpath=yes
9621   shlibpath_var=DYLD_LIBRARY_PATH
9622   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9623
9624   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9625   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9626   ;;
9627
9628 dgux*)
9629   version_type=linux
9630   need_lib_prefix=no
9631   need_version=no
9632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9633   soname_spec='${libname}${release}${shared_ext}$major'
9634   shlibpath_var=LD_LIBRARY_PATH
9635   ;;
9636
9637 freebsd* | dragonfly*)
9638   # DragonFly does not have aout.  When/if they implement a new
9639   # versioning mechanism, adjust this.
9640   if test -x /usr/bin/objformat; then
9641     objformat=`/usr/bin/objformat`
9642   else
9643     case $host_os in
9644     freebsd[123]*) objformat=aout ;;
9645     *) objformat=elf ;;
9646     esac
9647   fi
9648   version_type=freebsd-$objformat
9649   case $version_type in
9650     freebsd-elf*)
9651       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9652       need_version=no
9653       need_lib_prefix=no
9654       ;;
9655     freebsd-*)
9656       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9657       need_version=yes
9658       ;;
9659   esac
9660   shlibpath_var=LD_LIBRARY_PATH
9661   case $host_os in
9662   freebsd2*)
9663     shlibpath_overrides_runpath=yes
9664     ;;
9665   freebsd3.[01]* | freebsdelf3.[01]*)
9666     shlibpath_overrides_runpath=yes
9667     hardcode_into_libs=yes
9668     ;;
9669   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9670   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9671     shlibpath_overrides_runpath=no
9672     hardcode_into_libs=yes
9673     ;;
9674   *) # from 4.6 on, and DragonFly
9675     shlibpath_overrides_runpath=yes
9676     hardcode_into_libs=yes
9677     ;;
9678   esac
9679   ;;
9680
9681 gnu*)
9682   version_type=linux
9683   need_lib_prefix=no
9684   need_version=no
9685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9686   soname_spec='${libname}${release}${shared_ext}$major'
9687   shlibpath_var=LD_LIBRARY_PATH
9688   hardcode_into_libs=yes
9689   ;;
9690
9691 haiku*)
9692   version_type=linux
9693   need_lib_prefix=no
9694   need_version=no
9695   dynamic_linker="$host_os runtime_loader"
9696   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9697   soname_spec='${libname}${release}${shared_ext}$major'
9698   shlibpath_var=LIBRARY_PATH
9699   shlibpath_overrides_runpath=yes
9700   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9701   hardcode_into_libs=yes
9702   ;;
9703
9704 hpux9* | hpux10* | hpux11*)
9705   # Give a soname corresponding to the major version so that dld.sl refuses to
9706   # link against other versions.
9707   version_type=sunos
9708   need_lib_prefix=no
9709   need_version=no
9710   case $host_cpu in
9711   ia64*)
9712     shrext_cmds='.so'
9713     hardcode_into_libs=yes
9714     dynamic_linker="$host_os dld.so"
9715     shlibpath_var=LD_LIBRARY_PATH
9716     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9717     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9718     soname_spec='${libname}${release}${shared_ext}$major'
9719     if test "X$HPUX_IA64_MODE" = X32; then
9720       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9721     else
9722       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9723     fi
9724     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9725     ;;
9726   hppa*64*)
9727     shrext_cmds='.sl'
9728     hardcode_into_libs=yes
9729     dynamic_linker="$host_os dld.sl"
9730     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9731     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9732     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9733     soname_spec='${libname}${release}${shared_ext}$major'
9734     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9735     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9736     ;;
9737   *)
9738     shrext_cmds='.sl'
9739     dynamic_linker="$host_os dld.sl"
9740     shlibpath_var=SHLIB_PATH
9741     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743     soname_spec='${libname}${release}${shared_ext}$major'
9744     ;;
9745   esac
9746   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9747   postinstall_cmds='chmod 555 $lib'
9748   # or fails outright, so override atomically:
9749   install_override_mode=555
9750   ;;
9751
9752 interix[3-9]*)
9753   version_type=linux
9754   need_lib_prefix=no
9755   need_version=no
9756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9757   soname_spec='${libname}${release}${shared_ext}$major'
9758   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9759   shlibpath_var=LD_LIBRARY_PATH
9760   shlibpath_overrides_runpath=no
9761   hardcode_into_libs=yes
9762   ;;
9763
9764 irix5* | irix6* | nonstopux*)
9765   case $host_os in
9766     nonstopux*) version_type=nonstopux ;;
9767     *)
9768         if test "$lt_cv_prog_gnu_ld" = yes; then
9769                 version_type=linux
9770         else
9771                 version_type=irix
9772         fi ;;
9773   esac
9774   need_lib_prefix=no
9775   need_version=no
9776   soname_spec='${libname}${release}${shared_ext}$major'
9777   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9778   case $host_os in
9779   irix5* | nonstopux*)
9780     libsuff= shlibsuff=
9781     ;;
9782   *)
9783     case $LD in # libtool.m4 will add one of these switches to LD
9784     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9785       libsuff= shlibsuff= libmagic=32-bit;;
9786     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9787       libsuff=32 shlibsuff=N32 libmagic=N32;;
9788     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9789       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9790     *) libsuff= shlibsuff= libmagic=never-match;;
9791     esac
9792     ;;
9793   esac
9794   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9795   shlibpath_overrides_runpath=no
9796   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9797   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9798   hardcode_into_libs=yes
9799   ;;
9800
9801 # No shared lib support for Linux oldld, aout, or coff.
9802 linux*oldld* | linux*aout* | linux*coff*)
9803   dynamic_linker=no
9804   ;;
9805
9806 # This must be Linux ELF.
9807 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9808   version_type=linux
9809   need_lib_prefix=no
9810   need_version=no
9811   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9812   soname_spec='${libname}${release}${shared_ext}$major'
9813   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9814   shlibpath_var=LD_LIBRARY_PATH
9815   shlibpath_overrides_runpath=no
9816
9817   # Some binutils ld are patched to set DT_RUNPATH
9818   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9819   $as_echo_n "(cached) " >&6
9820 else
9821   lt_cv_shlibpath_overrides_runpath=no
9822     save_LDFLAGS=$LDFLAGS
9823     save_libdir=$libdir
9824     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9825          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9826     if test x$gcc_no_link = xyes; then
9827   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9828 fi
9829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9830 /* end confdefs.h.  */
9831
9832 int
9833 main ()
9834 {
9835
9836   ;
9837   return 0;
9838 }
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"; then :
9841   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9842   lt_cv_shlibpath_overrides_runpath=yes
9843 fi
9844 fi
9845 rm -f core conftest.err conftest.$ac_objext \
9846     conftest$ac_exeext conftest.$ac_ext
9847     LDFLAGS=$save_LDFLAGS
9848     libdir=$save_libdir
9849
9850 fi
9851
9852   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9853
9854   # This implies no fast_install, which is unacceptable.
9855   # Some rework will be needed to allow for fast_install
9856   # before this can be enabled.
9857   hardcode_into_libs=yes
9858
9859   # Append ld.so.conf contents to the search path
9860   if test -f /etc/ld.so.conf; then
9861     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' ' '`
9862     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9863   fi
9864
9865   # We used to test for /lib/ld.so.1 and disable shared libraries on
9866   # powerpc, because MkLinux only supported shared libraries with the
9867   # GNU dynamic linker.  Since this was broken with cross compilers,
9868   # most powerpc-linux boxes support dynamic linking these days and
9869   # people can always --disable-shared, the test was removed, and we
9870   # assume the GNU/Linux dynamic linker is in use.
9871   dynamic_linker='GNU/Linux ld.so'
9872   ;;
9873
9874 netbsd*)
9875   version_type=sunos
9876   need_lib_prefix=no
9877   need_version=no
9878   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9879     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9880     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9881     dynamic_linker='NetBSD (a.out) ld.so'
9882   else
9883     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9884     soname_spec='${libname}${release}${shared_ext}$major'
9885     dynamic_linker='NetBSD ld.elf_so'
9886   fi
9887   shlibpath_var=LD_LIBRARY_PATH
9888   shlibpath_overrides_runpath=yes
9889   hardcode_into_libs=yes
9890   ;;
9891
9892 newsos6)
9893   version_type=linux
9894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9895   shlibpath_var=LD_LIBRARY_PATH
9896   shlibpath_overrides_runpath=yes
9897   ;;
9898
9899 *nto* | *qnx*)
9900   version_type=qnx
9901   need_lib_prefix=no
9902   need_version=no
9903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9904   soname_spec='${libname}${release}${shared_ext}$major'
9905   shlibpath_var=LD_LIBRARY_PATH
9906   shlibpath_overrides_runpath=no
9907   hardcode_into_libs=yes
9908   dynamic_linker='ldqnx.so'
9909   ;;
9910
9911 openbsd*)
9912   version_type=sunos
9913   sys_lib_dlsearch_path_spec="/usr/lib"
9914   need_lib_prefix=no
9915   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9916   case $host_os in
9917     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9918     *)                          need_version=no  ;;
9919   esac
9920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9921   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9922   shlibpath_var=LD_LIBRARY_PATH
9923   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9924     case $host_os in
9925       openbsd2.[89] | openbsd2.[89].*)
9926         shlibpath_overrides_runpath=no
9927         ;;
9928       *)
9929         shlibpath_overrides_runpath=yes
9930         ;;
9931       esac
9932   else
9933     shlibpath_overrides_runpath=yes
9934   fi
9935   ;;
9936
9937 os2*)
9938   libname_spec='$name'
9939   shrext_cmds=".dll"
9940   need_lib_prefix=no
9941   library_names_spec='$libname${shared_ext} $libname.a'
9942   dynamic_linker='OS/2 ld.exe'
9943   shlibpath_var=LIBPATH
9944   ;;
9945
9946 osf3* | osf4* | osf5*)
9947   version_type=osf
9948   need_lib_prefix=no
9949   need_version=no
9950   soname_spec='${libname}${release}${shared_ext}$major'
9951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9952   shlibpath_var=LD_LIBRARY_PATH
9953   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9954   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9955   ;;
9956
9957 rdos*)
9958   dynamic_linker=no
9959   ;;
9960
9961 solaris*)
9962   version_type=linux
9963   need_lib_prefix=no
9964   need_version=no
9965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9966   soname_spec='${libname}${release}${shared_ext}$major'
9967   shlibpath_var=LD_LIBRARY_PATH
9968   shlibpath_overrides_runpath=yes
9969   hardcode_into_libs=yes
9970   # ldd complains unless libraries are executable
9971   postinstall_cmds='chmod +x $lib'
9972   ;;
9973
9974 sunos4*)
9975   version_type=sunos
9976   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9977   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9978   shlibpath_var=LD_LIBRARY_PATH
9979   shlibpath_overrides_runpath=yes
9980   if test "$with_gnu_ld" = yes; then
9981     need_lib_prefix=no
9982   fi
9983   need_version=yes
9984   ;;
9985
9986 sysv4 | sysv4.3*)
9987   version_type=linux
9988   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9989   soname_spec='${libname}${release}${shared_ext}$major'
9990   shlibpath_var=LD_LIBRARY_PATH
9991   case $host_vendor in
9992     sni)
9993       shlibpath_overrides_runpath=no
9994       need_lib_prefix=no
9995       runpath_var=LD_RUN_PATH
9996       ;;
9997     siemens)
9998       need_lib_prefix=no
9999       ;;
10000     motorola)
10001       need_lib_prefix=no
10002       need_version=no
10003       shlibpath_overrides_runpath=no
10004       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10005       ;;
10006   esac
10007   ;;
10008
10009 sysv4*MP*)
10010   if test -d /usr/nec ;then
10011     version_type=linux
10012     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10013     soname_spec='$libname${shared_ext}.$major'
10014     shlibpath_var=LD_LIBRARY_PATH
10015   fi
10016   ;;
10017
10018 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10019   version_type=freebsd-elf
10020   need_lib_prefix=no
10021   need_version=no
10022   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10023   soname_spec='${libname}${release}${shared_ext}$major'
10024   shlibpath_var=LD_LIBRARY_PATH
10025   shlibpath_overrides_runpath=yes
10026   hardcode_into_libs=yes
10027   if test "$with_gnu_ld" = yes; then
10028     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10029   else
10030     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10031     case $host_os in
10032       sco3.2v5*)
10033         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10034         ;;
10035     esac
10036   fi
10037   sys_lib_dlsearch_path_spec='/usr/lib'
10038   ;;
10039
10040 tpf*)
10041   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10042   version_type=linux
10043   need_lib_prefix=no
10044   need_version=no
10045   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046   shlibpath_var=LD_LIBRARY_PATH
10047   shlibpath_overrides_runpath=no
10048   hardcode_into_libs=yes
10049   ;;
10050
10051 uts4*)
10052   version_type=linux
10053   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10054   soname_spec='${libname}${release}${shared_ext}$major'
10055   shlibpath_var=LD_LIBRARY_PATH
10056   ;;
10057
10058 *)
10059   dynamic_linker=no
10060   ;;
10061 esac
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10063 $as_echo "$dynamic_linker" >&6; }
10064 test "$dynamic_linker" = no && can_build_shared=no
10065
10066 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10067 if test "$GCC" = yes; then
10068   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10069 fi
10070
10071 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10072   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10073 fi
10074 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10075   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10076 fi
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10170 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10171 hardcode_action=
10172 if test -n "$hardcode_libdir_flag_spec" ||
10173    test -n "$runpath_var" ||
10174    test "X$hardcode_automatic" = "Xyes" ; then
10175
10176   # We can hardcode non-existent directories.
10177   if test "$hardcode_direct" != no &&
10178      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10179      # have to relink, otherwise we might link with an installed library
10180      # when we should be linking with a yet-to-be-installed one
10181      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10182      test "$hardcode_minus_L" != no; then
10183     # Linking always hardcodes the temporary library directory.
10184     hardcode_action=relink
10185   else
10186     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10187     hardcode_action=immediate
10188   fi
10189 else
10190   # We cannot hardcode anything, or else we can only hardcode existing
10191   # directories.
10192   hardcode_action=unsupported
10193 fi
10194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10195 $as_echo "$hardcode_action" >&6; }
10196
10197 if test "$hardcode_action" = relink ||
10198    test "$inherit_rpath" = yes; then
10199   # Fast installation is not supported
10200   enable_fast_install=no
10201 elif test "$shlibpath_overrides_runpath" = yes ||
10202      test "$enable_shared" = no; then
10203   # Fast installation is not necessary
10204   enable_fast_install=needless
10205 fi
10206
10207
10208
10209
10210
10211
10212   if test "x$enable_dlopen" != xyes; then
10213   enable_dlopen=unknown
10214   enable_dlopen_self=unknown
10215   enable_dlopen_self_static=unknown
10216 else
10217   lt_cv_dlopen=no
10218   lt_cv_dlopen_libs=
10219
10220   case $host_os in
10221   beos*)
10222     lt_cv_dlopen="load_add_on"
10223     lt_cv_dlopen_libs=
10224     lt_cv_dlopen_self=yes
10225     ;;
10226
10227   mingw* | pw32* | cegcc*)
10228     lt_cv_dlopen="LoadLibrary"
10229     lt_cv_dlopen_libs=
10230     ;;
10231
10232   cygwin*)
10233     lt_cv_dlopen="dlopen"
10234     lt_cv_dlopen_libs=
10235     ;;
10236
10237   darwin*)
10238   # if libdl is installed we need to link against it
10239     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10240 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10241 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10242   $as_echo_n "(cached) " >&6
10243 else
10244   ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-ldl  $LIBS"
10246 if test x$gcc_no_link = xyes; then
10247   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10248 fi
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h.  */
10251
10252 /* Override any GCC internal prototype to avoid an error.
10253    Use char because int might match the return type of a GCC
10254    builtin and then its argument prototype would still apply.  */
10255 #ifdef __cplusplus
10256 extern "C"
10257 #endif
10258 char dlopen ();
10259 int
10260 main ()
10261 {
10262 return dlopen ();
10263   ;
10264   return 0;
10265 }
10266 _ACEOF
10267 if ac_fn_c_try_link "$LINENO"; then :
10268   ac_cv_lib_dl_dlopen=yes
10269 else
10270   ac_cv_lib_dl_dlopen=no
10271 fi
10272 rm -f core conftest.err conftest.$ac_objext \
10273     conftest$ac_exeext conftest.$ac_ext
10274 LIBS=$ac_check_lib_save_LIBS
10275 fi
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10277 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10278 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10279   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10280 else
10281
10282     lt_cv_dlopen="dyld"
10283     lt_cv_dlopen_libs=
10284     lt_cv_dlopen_self=yes
10285
10286 fi
10287
10288     ;;
10289
10290   *)
10291     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10292 if test "x$ac_cv_func_shl_load" = x""yes; then :
10293   lt_cv_dlopen="shl_load"
10294 else
10295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10296 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10297 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10298   $as_echo_n "(cached) " >&6
10299 else
10300   ac_check_lib_save_LIBS=$LIBS
10301 LIBS="-ldld  $LIBS"
10302 if test x$gcc_no_link = xyes; then
10303   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10304 fi
10305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h.  */
10307
10308 /* Override any GCC internal prototype to avoid an error.
10309    Use char because int might match the return type of a GCC
10310    builtin and then its argument prototype would still apply.  */
10311 #ifdef __cplusplus
10312 extern "C"
10313 #endif
10314 char shl_load ();
10315 int
10316 main ()
10317 {
10318 return shl_load ();
10319   ;
10320   return 0;
10321 }
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"; then :
10324   ac_cv_lib_dld_shl_load=yes
10325 else
10326   ac_cv_lib_dld_shl_load=no
10327 fi
10328 rm -f core conftest.err conftest.$ac_objext \
10329     conftest$ac_exeext conftest.$ac_ext
10330 LIBS=$ac_check_lib_save_LIBS
10331 fi
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10333 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10334 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10335   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10336 else
10337   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10338 if test "x$ac_cv_func_dlopen" = x""yes; then :
10339   lt_cv_dlopen="dlopen"
10340 else
10341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10342 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10343 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10344   $as_echo_n "(cached) " >&6
10345 else
10346   ac_check_lib_save_LIBS=$LIBS
10347 LIBS="-ldl  $LIBS"
10348 if test x$gcc_no_link = xyes; then
10349   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10350 fi
10351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10352 /* end confdefs.h.  */
10353
10354 /* Override any GCC internal prototype to avoid an error.
10355    Use char because int might match the return type of a GCC
10356    builtin and then its argument prototype would still apply.  */
10357 #ifdef __cplusplus
10358 extern "C"
10359 #endif
10360 char dlopen ();
10361 int
10362 main ()
10363 {
10364 return dlopen ();
10365   ;
10366   return 0;
10367 }
10368 _ACEOF
10369 if ac_fn_c_try_link "$LINENO"; then :
10370   ac_cv_lib_dl_dlopen=yes
10371 else
10372   ac_cv_lib_dl_dlopen=no
10373 fi
10374 rm -f core conftest.err conftest.$ac_objext \
10375     conftest$ac_exeext conftest.$ac_ext
10376 LIBS=$ac_check_lib_save_LIBS
10377 fi
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10379 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10380 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10381   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10382 else
10383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10384 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10385 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10386   $as_echo_n "(cached) " >&6
10387 else
10388   ac_check_lib_save_LIBS=$LIBS
10389 LIBS="-lsvld  $LIBS"
10390 if test x$gcc_no_link = xyes; then
10391   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10392 fi
10393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10394 /* end confdefs.h.  */
10395
10396 /* Override any GCC internal prototype to avoid an error.
10397    Use char because int might match the return type of a GCC
10398    builtin and then its argument prototype would still apply.  */
10399 #ifdef __cplusplus
10400 extern "C"
10401 #endif
10402 char dlopen ();
10403 int
10404 main ()
10405 {
10406 return dlopen ();
10407   ;
10408   return 0;
10409 }
10410 _ACEOF
10411 if ac_fn_c_try_link "$LINENO"; then :
10412   ac_cv_lib_svld_dlopen=yes
10413 else
10414   ac_cv_lib_svld_dlopen=no
10415 fi
10416 rm -f core conftest.err conftest.$ac_objext \
10417     conftest$ac_exeext conftest.$ac_ext
10418 LIBS=$ac_check_lib_save_LIBS
10419 fi
10420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10421 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10422 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10423   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10424 else
10425   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10426 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10427 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10428   $as_echo_n "(cached) " >&6
10429 else
10430   ac_check_lib_save_LIBS=$LIBS
10431 LIBS="-ldld  $LIBS"
10432 if test x$gcc_no_link = xyes; then
10433   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10434 fi
10435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10436 /* end confdefs.h.  */
10437
10438 /* Override any GCC internal prototype to avoid an error.
10439    Use char because int might match the return type of a GCC
10440    builtin and then its argument prototype would still apply.  */
10441 #ifdef __cplusplus
10442 extern "C"
10443 #endif
10444 char dld_link ();
10445 int
10446 main ()
10447 {
10448 return dld_link ();
10449   ;
10450   return 0;
10451 }
10452 _ACEOF
10453 if ac_fn_c_try_link "$LINENO"; then :
10454   ac_cv_lib_dld_dld_link=yes
10455 else
10456   ac_cv_lib_dld_dld_link=no
10457 fi
10458 rm -f core conftest.err conftest.$ac_objext \
10459     conftest$ac_exeext conftest.$ac_ext
10460 LIBS=$ac_check_lib_save_LIBS
10461 fi
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10463 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10464 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10465   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10466 fi
10467
10468
10469 fi
10470
10471
10472 fi
10473
10474
10475 fi
10476
10477
10478 fi
10479
10480
10481 fi
10482
10483     ;;
10484   esac
10485
10486   if test "x$lt_cv_dlopen" != xno; then
10487     enable_dlopen=yes
10488   else
10489     enable_dlopen=no
10490   fi
10491
10492   case $lt_cv_dlopen in
10493   dlopen)
10494     save_CPPFLAGS="$CPPFLAGS"
10495     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10496
10497     save_LDFLAGS="$LDFLAGS"
10498     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10499
10500     save_LIBS="$LIBS"
10501     LIBS="$lt_cv_dlopen_libs $LIBS"
10502
10503     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10504 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10505 if test "${lt_cv_dlopen_self+set}" = set; then :
10506   $as_echo_n "(cached) " >&6
10507 else
10508           if test "$cross_compiling" = yes; then :
10509   lt_cv_dlopen_self=cross
10510 else
10511   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10512   lt_status=$lt_dlunknown
10513   cat > conftest.$ac_ext <<_LT_EOF
10514 #line 10514 "configure"
10515 #include "confdefs.h"
10516
10517 #if HAVE_DLFCN_H
10518 #include <dlfcn.h>
10519 #endif
10520
10521 #include <stdio.h>
10522
10523 #ifdef RTLD_GLOBAL
10524 #  define LT_DLGLOBAL           RTLD_GLOBAL
10525 #else
10526 #  ifdef DL_GLOBAL
10527 #    define LT_DLGLOBAL         DL_GLOBAL
10528 #  else
10529 #    define LT_DLGLOBAL         0
10530 #  endif
10531 #endif
10532
10533 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10534    find out it does not work in some platform. */
10535 #ifndef LT_DLLAZY_OR_NOW
10536 #  ifdef RTLD_LAZY
10537 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10538 #  else
10539 #    ifdef DL_LAZY
10540 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10541 #    else
10542 #      ifdef RTLD_NOW
10543 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10544 #      else
10545 #        ifdef DL_NOW
10546 #          define LT_DLLAZY_OR_NOW      DL_NOW
10547 #        else
10548 #          define LT_DLLAZY_OR_NOW      0
10549 #        endif
10550 #      endif
10551 #    endif
10552 #  endif
10553 #endif
10554
10555 /* When -fvisbility=hidden is used, assume the code has been annotated
10556    correspondingly for the symbols needed.  */
10557 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10558 void fnord () __attribute__((visibility("default")));
10559 #endif
10560
10561 void fnord () { int i=42; }
10562 int main ()
10563 {
10564   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10565   int status = $lt_dlunknown;
10566
10567   if (self)
10568     {
10569       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10570       else
10571         {
10572           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10573           else puts (dlerror ());
10574         }
10575       /* dlclose (self); */
10576     }
10577   else
10578     puts (dlerror ());
10579
10580   return status;
10581 }
10582 _LT_EOF
10583   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10584   (eval $ac_link) 2>&5
10585   ac_status=$?
10586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10587   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10588     (./conftest; exit; ) >&5 2>/dev/null
10589     lt_status=$?
10590     case x$lt_status in
10591       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10592       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10593       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10594     esac
10595   else :
10596     # compilation failed
10597     lt_cv_dlopen_self=no
10598   fi
10599 fi
10600 rm -fr conftest*
10601
10602
10603 fi
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10605 $as_echo "$lt_cv_dlopen_self" >&6; }
10606
10607     if test "x$lt_cv_dlopen_self" = xyes; then
10608       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10609       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10610 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10611 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10612   $as_echo_n "(cached) " >&6
10613 else
10614           if test "$cross_compiling" = yes; then :
10615   lt_cv_dlopen_self_static=cross
10616 else
10617   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10618   lt_status=$lt_dlunknown
10619   cat > conftest.$ac_ext <<_LT_EOF
10620 #line 10620 "configure"
10621 #include "confdefs.h"
10622
10623 #if HAVE_DLFCN_H
10624 #include <dlfcn.h>
10625 #endif
10626
10627 #include <stdio.h>
10628
10629 #ifdef RTLD_GLOBAL
10630 #  define LT_DLGLOBAL           RTLD_GLOBAL
10631 #else
10632 #  ifdef DL_GLOBAL
10633 #    define LT_DLGLOBAL         DL_GLOBAL
10634 #  else
10635 #    define LT_DLGLOBAL         0
10636 #  endif
10637 #endif
10638
10639 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10640    find out it does not work in some platform. */
10641 #ifndef LT_DLLAZY_OR_NOW
10642 #  ifdef RTLD_LAZY
10643 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10644 #  else
10645 #    ifdef DL_LAZY
10646 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10647 #    else
10648 #      ifdef RTLD_NOW
10649 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10650 #      else
10651 #        ifdef DL_NOW
10652 #          define LT_DLLAZY_OR_NOW      DL_NOW
10653 #        else
10654 #          define LT_DLLAZY_OR_NOW      0
10655 #        endif
10656 #      endif
10657 #    endif
10658 #  endif
10659 #endif
10660
10661 /* When -fvisbility=hidden is used, assume the code has been annotated
10662    correspondingly for the symbols needed.  */
10663 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10664 void fnord () __attribute__((visibility("default")));
10665 #endif
10666
10667 void fnord () { int i=42; }
10668 int main ()
10669 {
10670   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10671   int status = $lt_dlunknown;
10672
10673   if (self)
10674     {
10675       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10676       else
10677         {
10678           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10679           else puts (dlerror ());
10680         }
10681       /* dlclose (self); */
10682     }
10683   else
10684     puts (dlerror ());
10685
10686   return status;
10687 }
10688 _LT_EOF
10689   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10690   (eval $ac_link) 2>&5
10691   ac_status=$?
10692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10693   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10694     (./conftest; exit; ) >&5 2>/dev/null
10695     lt_status=$?
10696     case x$lt_status in
10697       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10698       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10699       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10700     esac
10701   else :
10702     # compilation failed
10703     lt_cv_dlopen_self_static=no
10704   fi
10705 fi
10706 rm -fr conftest*
10707
10708
10709 fi
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10711 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10712     fi
10713
10714     CPPFLAGS="$save_CPPFLAGS"
10715     LDFLAGS="$save_LDFLAGS"
10716     LIBS="$save_LIBS"
10717     ;;
10718   esac
10719
10720   case $lt_cv_dlopen_self in
10721   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10722   *) enable_dlopen_self=unknown ;;
10723   esac
10724
10725   case $lt_cv_dlopen_self_static in
10726   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10727   *) enable_dlopen_self_static=unknown ;;
10728   esac
10729 fi
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747 striplib=
10748 old_striplib=
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10750 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10751 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10752   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10753   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10755 $as_echo "yes" >&6; }
10756 else
10757 # FIXME - insert some real tests, host_os isn't really good enough
10758   case $host_os in
10759   darwin*)
10760     if test -n "$STRIP" ; then
10761       striplib="$STRIP -x"
10762       old_striplib="$STRIP -S"
10763       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10764 $as_echo "yes" >&6; }
10765     else
10766       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10767 $as_echo "no" >&6; }
10768     fi
10769     ;;
10770   *)
10771     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10772 $as_echo "no" >&6; }
10773     ;;
10774   esac
10775 fi
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788   # Report which library types will actually be built
10789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10790 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10792 $as_echo "$can_build_shared" >&6; }
10793
10794   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10795 $as_echo_n "checking whether to build shared libraries... " >&6; }
10796   test "$can_build_shared" = "no" && enable_shared=no
10797
10798   # On AIX, shared libraries and static libraries use the same namespace, and
10799   # are all built from PIC.
10800   case $host_os in
10801   aix3*)
10802     test "$enable_shared" = yes && enable_static=no
10803     if test -n "$RANLIB"; then
10804       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10805       postinstall_cmds='$RANLIB $lib'
10806     fi
10807     ;;
10808
10809   aix[4-9]*)
10810     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10811       test "$enable_shared" = yes && enable_static=no
10812     fi
10813     ;;
10814   esac
10815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10816 $as_echo "$enable_shared" >&6; }
10817
10818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10819 $as_echo_n "checking whether to build static libraries... " >&6; }
10820   # Make sure either enable_shared or enable_static is yes.
10821   test "$enable_shared" = yes || enable_static=yes
10822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10823 $as_echo "$enable_static" >&6; }
10824
10825
10826
10827
10828 fi
10829 ac_ext=c
10830 ac_cpp='$CPP $CPPFLAGS'
10831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10834
10835 CC="$lt_save_CC"
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849         ac_config_commands="$ac_config_commands libtool"
10850
10851
10852
10853
10854 # Only expand once:
10855
10856
10857
10858
10859
10860 case $host in
10861   *-cygwin* | *-mingw*)
10862     # 'host' will be top-level target in the case of a target lib,
10863     # we must compare to with_cross_host to decide if this is a native
10864     # or cross-compiler and select where to install dlls appropriately.
10865     if test -n "$with_cross_host" &&
10866         test x"$with_cross_host" != x"no"; then
10867       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
10868     else
10869       lt_host_flags='-no-undefined -bindir "$(bindir)"';
10870     fi
10871     ;;
10872   *)
10873     lt_host_flags=
10874     ;;
10875 esac
10876
10877
10878
10879
10880
10881
10882
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10884 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10885     # Check whether --enable-maintainer-mode was given.
10886 if test "${enable_maintainer_mode+set}" = set; then :
10887   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
10888 else
10889   USE_MAINTAINER_MODE=no
10890 fi
10891
10892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10893 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10894    if test $USE_MAINTAINER_MODE = yes; then
10895   MAINTAINER_MODE_TRUE=
10896   MAINTAINER_MODE_FALSE='#'
10897 else
10898   MAINTAINER_MODE_TRUE='#'
10899   MAINTAINER_MODE_FALSE=
10900 fi
10901
10902   MAINT=$MAINTAINER_MODE_TRUE
10903
10904
10905 # Default to --enable-multilib
10906 # Check whether --enable-multilib was given.
10907 if test "${enable_multilib+set}" = set; then :
10908   enableval=$enable_multilib; case "$enableval" in
10909   yes) multilib=yes ;;
10910   no)  multilib=no ;;
10911   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
10912  esac
10913 else
10914   multilib=yes
10915 fi
10916
10917
10918 # We may get other options which we leave undocumented:
10919 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10920 # See config-ml.in if you want the gory details.
10921
10922 if test "$srcdir" = "."; then
10923   if test "$with_target_subdir" != "."; then
10924     multi_basedir="$srcdir/$with_multisrctop../.."
10925   else
10926     multi_basedir="$srcdir/$with_multisrctop.."
10927   fi
10928 else
10929   multi_basedir="$srcdir/.."
10930 fi
10931
10932
10933 # Even if the default multilib is not a cross compilation,
10934 # it may be that some of the other multilibs are.
10935 if test $cross_compiling = no && test $multilib = yes \
10936    && test "x${with_multisubdir}" != x ; then
10937    cross_compiling=maybe
10938 fi
10939
10940 ac_config_commands="$ac_config_commands default-1"
10941
10942
10943 ac_ext=c
10944 ac_cpp='$CPP $CPPFLAGS'
10945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10948
10949 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10950 # We must force CC to /not/ be precious variables; otherwise
10951 # the wrong, non-multilib-adjusted value will be used in multilibs.
10952 # As a side effect, we have to subst CFLAGS ourselves.
10953
10954
10955
10956 ac_ext=c
10957 ac_cpp='$CPP $CPPFLAGS'
10958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10961 if test -n "$ac_tool_prefix"; then
10962   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10963 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10965 $as_echo_n "checking for $ac_word... " >&6; }
10966 if test "${ac_cv_prog_CC+set}" = set; then :
10967   $as_echo_n "(cached) " >&6
10968 else
10969   if test -n "$CC"; then
10970   ac_cv_prog_CC="$CC" # Let the user override the test.
10971 else
10972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10973 for as_dir in $PATH
10974 do
10975   IFS=$as_save_IFS
10976   test -z "$as_dir" && as_dir=.
10977     for ac_exec_ext in '' $ac_executable_extensions; do
10978   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10979     ac_cv_prog_CC="${ac_tool_prefix}gcc"
10980     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10981     break 2
10982   fi
10983 done
10984   done
10985 IFS=$as_save_IFS
10986
10987 fi
10988 fi
10989 CC=$ac_cv_prog_CC
10990 if test -n "$CC"; then
10991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10992 $as_echo "$CC" >&6; }
10993 else
10994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
10996 fi
10997
10998
10999 fi
11000 if test -z "$ac_cv_prog_CC"; then
11001   ac_ct_CC=$CC
11002   # Extract the first word of "gcc", so it can be a program name with args.
11003 set dummy gcc; ac_word=$2
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11005 $as_echo_n "checking for $ac_word... " >&6; }
11006 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11007   $as_echo_n "(cached) " >&6
11008 else
11009   if test -n "$ac_ct_CC"; then
11010   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11011 else
11012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11013 for as_dir in $PATH
11014 do
11015   IFS=$as_save_IFS
11016   test -z "$as_dir" && as_dir=.
11017     for ac_exec_ext in '' $ac_executable_extensions; do
11018   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11019     ac_cv_prog_ac_ct_CC="gcc"
11020     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11021     break 2
11022   fi
11023 done
11024   done
11025 IFS=$as_save_IFS
11026
11027 fi
11028 fi
11029 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11030 if test -n "$ac_ct_CC"; then
11031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11032 $as_echo "$ac_ct_CC" >&6; }
11033 else
11034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11035 $as_echo "no" >&6; }
11036 fi
11037
11038   if test "x$ac_ct_CC" = x; then
11039     CC=""
11040   else
11041     case $cross_compiling:$ac_tool_warned in
11042 yes:)
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11045 ac_tool_warned=yes ;;
11046 esac
11047     CC=$ac_ct_CC
11048   fi
11049 else
11050   CC="$ac_cv_prog_CC"
11051 fi
11052
11053 if test -z "$CC"; then
11054           if test -n "$ac_tool_prefix"; then
11055     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11056 set dummy ${ac_tool_prefix}cc; ac_word=$2
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11058 $as_echo_n "checking for $ac_word... " >&6; }
11059 if test "${ac_cv_prog_CC+set}" = set; then :
11060   $as_echo_n "(cached) " >&6
11061 else
11062   if test -n "$CC"; then
11063   ac_cv_prog_CC="$CC" # Let the user override the test.
11064 else
11065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11066 for as_dir in $PATH
11067 do
11068   IFS=$as_save_IFS
11069   test -z "$as_dir" && as_dir=.
11070     for ac_exec_ext in '' $ac_executable_extensions; do
11071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11072     ac_cv_prog_CC="${ac_tool_prefix}cc"
11073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11074     break 2
11075   fi
11076 done
11077   done
11078 IFS=$as_save_IFS
11079
11080 fi
11081 fi
11082 CC=$ac_cv_prog_CC
11083 if test -n "$CC"; then
11084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11085 $as_echo "$CC" >&6; }
11086 else
11087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11088 $as_echo "no" >&6; }
11089 fi
11090
11091
11092   fi
11093 fi
11094 if test -z "$CC"; then
11095   # Extract the first word of "cc", so it can be a program name with args.
11096 set dummy cc; ac_word=$2
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11098 $as_echo_n "checking for $ac_word... " >&6; }
11099 if test "${ac_cv_prog_CC+set}" = set; then :
11100   $as_echo_n "(cached) " >&6
11101 else
11102   if test -n "$CC"; then
11103   ac_cv_prog_CC="$CC" # Let the user override the test.
11104 else
11105   ac_prog_rejected=no
11106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11107 for as_dir in $PATH
11108 do
11109   IFS=$as_save_IFS
11110   test -z "$as_dir" && as_dir=.
11111     for ac_exec_ext in '' $ac_executable_extensions; do
11112   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11113     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11114        ac_prog_rejected=yes
11115        continue
11116      fi
11117     ac_cv_prog_CC="cc"
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 if test $ac_prog_rejected = yes; then
11126   # We found a bogon in the path, so make sure we never use it.
11127   set dummy $ac_cv_prog_CC
11128   shift
11129   if test $# != 0; then
11130     # We chose a different compiler from the bogus one.
11131     # However, it has the same basename, so the bogon will be chosen
11132     # first if we set CC to just the basename; use the full file name.
11133     shift
11134     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11135   fi
11136 fi
11137 fi
11138 fi
11139 CC=$ac_cv_prog_CC
11140 if test -n "$CC"; then
11141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11142 $as_echo "$CC" >&6; }
11143 else
11144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11145 $as_echo "no" >&6; }
11146 fi
11147
11148
11149 fi
11150 if test -z "$CC"; then
11151   if test -n "$ac_tool_prefix"; then
11152   for ac_prog in cl.exe
11153   do
11154     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11155 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11157 $as_echo_n "checking for $ac_word... " >&6; }
11158 if test "${ac_cv_prog_CC+set}" = set; then :
11159   $as_echo_n "(cached) " >&6
11160 else
11161   if test -n "$CC"; then
11162   ac_cv_prog_CC="$CC" # Let the user override the test.
11163 else
11164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11165 for as_dir in $PATH
11166 do
11167   IFS=$as_save_IFS
11168   test -z "$as_dir" && as_dir=.
11169     for ac_exec_ext in '' $ac_executable_extensions; do
11170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11171     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11173     break 2
11174   fi
11175 done
11176   done
11177 IFS=$as_save_IFS
11178
11179 fi
11180 fi
11181 CC=$ac_cv_prog_CC
11182 if test -n "$CC"; then
11183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11184 $as_echo "$CC" >&6; }
11185 else
11186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11187 $as_echo "no" >&6; }
11188 fi
11189
11190
11191     test -n "$CC" && break
11192   done
11193 fi
11194 if test -z "$CC"; then
11195   ac_ct_CC=$CC
11196   for ac_prog in cl.exe
11197 do
11198   # Extract the first word of "$ac_prog", so it can be a program name with args.
11199 set dummy $ac_prog; ac_word=$2
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11201 $as_echo_n "checking for $ac_word... " >&6; }
11202 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11203   $as_echo_n "(cached) " >&6
11204 else
11205   if test -n "$ac_ct_CC"; then
11206   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11207 else
11208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11209 for as_dir in $PATH
11210 do
11211   IFS=$as_save_IFS
11212   test -z "$as_dir" && as_dir=.
11213     for ac_exec_ext in '' $ac_executable_extensions; do
11214   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11215     ac_cv_prog_ac_ct_CC="$ac_prog"
11216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11217     break 2
11218   fi
11219 done
11220   done
11221 IFS=$as_save_IFS
11222
11223 fi
11224 fi
11225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11226 if test -n "$ac_ct_CC"; then
11227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11228 $as_echo "$ac_ct_CC" >&6; }
11229 else
11230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11232 fi
11233
11234
11235   test -n "$ac_ct_CC" && break
11236 done
11237
11238   if test "x$ac_ct_CC" = x; then
11239     CC=""
11240   else
11241     case $cross_compiling:$ac_tool_warned in
11242 yes:)
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11245 ac_tool_warned=yes ;;
11246 esac
11247     CC=$ac_ct_CC
11248   fi
11249 fi
11250
11251 fi
11252
11253
11254 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11256 as_fn_error "no acceptable C compiler found in \$PATH
11257 See \`config.log' for more details." "$LINENO" 5; }
11258
11259 # Provide some information about the compiler.
11260 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11261 set X $ac_compile
11262 ac_compiler=$2
11263 for ac_option in --version -v -V -qversion; do
11264   { { ac_try="$ac_compiler $ac_option >&5"
11265 case "(($ac_try" in
11266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11267   *) ac_try_echo=$ac_try;;
11268 esac
11269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11270 $as_echo "$ac_try_echo"; } >&5
11271   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11272   ac_status=$?
11273   if test -s conftest.err; then
11274     sed '10a\
11275 ... rest of stderr output deleted ...
11276          10q' conftest.err >conftest.er1
11277     cat conftest.er1 >&5
11278     rm -f conftest.er1 conftest.err
11279   fi
11280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11281   test $ac_status = 0; }
11282 done
11283
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11285 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11286 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11287   $as_echo_n "(cached) " >&6
11288 else
11289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11290 /* end confdefs.h.  */
11291
11292 int
11293 main ()
11294 {
11295 #ifndef __GNUC__
11296        choke me
11297 #endif
11298
11299   ;
11300   return 0;
11301 }
11302 _ACEOF
11303 if ac_fn_c_try_compile "$LINENO"; then :
11304   ac_compiler_gnu=yes
11305 else
11306   ac_compiler_gnu=no
11307 fi
11308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11309 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11310
11311 fi
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11313 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11314 if test $ac_compiler_gnu = yes; then
11315   GCC=yes
11316 else
11317   GCC=
11318 fi
11319 ac_test_CFLAGS=${CFLAGS+set}
11320 ac_save_CFLAGS=$CFLAGS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11322 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11323 if test "${ac_cv_prog_cc_g+set}" = set; then :
11324   $as_echo_n "(cached) " >&6
11325 else
11326   ac_save_c_werror_flag=$ac_c_werror_flag
11327    ac_c_werror_flag=yes
11328    ac_cv_prog_cc_g=no
11329    CFLAGS="-g"
11330    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h.  */
11332
11333 int
11334 main ()
11335 {
11336
11337   ;
11338   return 0;
11339 }
11340 _ACEOF
11341 if ac_fn_c_try_compile "$LINENO"; then :
11342   ac_cv_prog_cc_g=yes
11343 else
11344   CFLAGS=""
11345       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11346 /* end confdefs.h.  */
11347
11348 int
11349 main ()
11350 {
11351
11352   ;
11353   return 0;
11354 }
11355 _ACEOF
11356 if ac_fn_c_try_compile "$LINENO"; then :
11357
11358 else
11359   ac_c_werror_flag=$ac_save_c_werror_flag
11360          CFLAGS="-g"
11361          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11362 /* end confdefs.h.  */
11363
11364 int
11365 main ()
11366 {
11367
11368   ;
11369   return 0;
11370 }
11371 _ACEOF
11372 if ac_fn_c_try_compile "$LINENO"; then :
11373   ac_cv_prog_cc_g=yes
11374 fi
11375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11376 fi
11377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11378 fi
11379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11380    ac_c_werror_flag=$ac_save_c_werror_flag
11381 fi
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11383 $as_echo "$ac_cv_prog_cc_g" >&6; }
11384 if test "$ac_test_CFLAGS" = set; then
11385   CFLAGS=$ac_save_CFLAGS
11386 elif test $ac_cv_prog_cc_g = yes; then
11387   if test "$GCC" = yes; then
11388     CFLAGS="-g -O2"
11389   else
11390     CFLAGS="-g"
11391   fi
11392 else
11393   if test "$GCC" = yes; then
11394     CFLAGS="-O2"
11395   else
11396     CFLAGS=
11397   fi
11398 fi
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11400 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11401 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11402   $as_echo_n "(cached) " >&6
11403 else
11404   ac_cv_prog_cc_c89=no
11405 ac_save_CC=$CC
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h.  */
11408 #include <stdarg.h>
11409 #include <stdio.h>
11410 #include <sys/types.h>
11411 #include <sys/stat.h>
11412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11413 struct buf { int x; };
11414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11415 static char *e (p, i)
11416      char **p;
11417      int i;
11418 {
11419   return p[i];
11420 }
11421 static char *f (char * (*g) (char **, int), char **p, ...)
11422 {
11423   char *s;
11424   va_list v;
11425   va_start (v,p);
11426   s = g (p, va_arg (v,int));
11427   va_end (v);
11428   return s;
11429 }
11430
11431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11432    function prototypes and stuff, but not '\xHH' hex character constants.
11433    These don't provoke an error unfortunately, instead are silently treated
11434    as 'x'.  The following induces an error, until -std is added to get
11435    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11436    array size at least.  It's necessary to write '\x00'==0 to get something
11437    that's true only with -std.  */
11438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11439
11440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11441    inside strings and character constants.  */
11442 #define FOO(x) 'x'
11443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11444
11445 int test (int i, double x);
11446 struct s1 {int (*f) (int a);};
11447 struct s2 {int (*f) (double a);};
11448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11449 int argc;
11450 char **argv;
11451 int
11452 main ()
11453 {
11454 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11455   ;
11456   return 0;
11457 }
11458 _ACEOF
11459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11460         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11461 do
11462   CC="$ac_save_CC $ac_arg"
11463   if ac_fn_c_try_compile "$LINENO"; then :
11464   ac_cv_prog_cc_c89=$ac_arg
11465 fi
11466 rm -f core conftest.err conftest.$ac_objext
11467   test "x$ac_cv_prog_cc_c89" != "xno" && break
11468 done
11469 rm -f conftest.$ac_ext
11470 CC=$ac_save_CC
11471
11472 fi
11473 # AC_CACHE_VAL
11474 case "x$ac_cv_prog_cc_c89" in
11475   x)
11476     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11477 $as_echo "none needed" >&6; } ;;
11478   xno)
11479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11480 $as_echo "unsupported" >&6; } ;;
11481   *)
11482     CC="$CC $ac_cv_prog_cc_c89"
11483     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11484 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11485 esac
11486 if test "x$ac_cv_prog_cc_c89" != xno; then :
11487
11488 fi
11489
11490 ac_ext=c
11491 ac_cpp='$CPP $CPPFLAGS'
11492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11495
11496 depcc="$CC"   am_compiler_list=
11497
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11499 $as_echo_n "checking dependency style of $depcc... " >&6; }
11500 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11501   $as_echo_n "(cached) " >&6
11502 else
11503   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11504   # We make a subdir and do the tests there.  Otherwise we can end up
11505   # making bogus files that we don't know about and never remove.  For
11506   # instance it was reported that on HP-UX the gcc test will end up
11507   # making a dummy file named `D' -- because `-MD' means `put the output
11508   # in D'.
11509   mkdir conftest.dir
11510   # Copy depcomp to subdir because otherwise we won't find it if we're
11511   # using a relative directory.
11512   cp "$am_depcomp" conftest.dir
11513   cd conftest.dir
11514   # We will build objects and dependencies in a subdirectory because
11515   # it helps to detect inapplicable dependency modes.  For instance
11516   # both Tru64's cc and ICC support -MD to output dependencies as a
11517   # side effect of compilation, but ICC will put the dependencies in
11518   # the current directory while Tru64 will put them in the object
11519   # directory.
11520   mkdir sub
11521
11522   am_cv_CC_dependencies_compiler_type=none
11523   if test "$am_compiler_list" = ""; then
11524      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11525   fi
11526   am__universal=false
11527   case " $depcc " in #(
11528      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11529      esac
11530
11531   for depmode in $am_compiler_list; do
11532     # Setup a source with many dependencies, because some compilers
11533     # like to wrap large dependency lists on column 80 (with \), and
11534     # we should not choose a depcomp mode which is confused by this.
11535     #
11536     # We need to recreate these files for each test, as the compiler may
11537     # overwrite some of them when testing with obscure command lines.
11538     # This happens at least with the AIX C compiler.
11539     : > sub/conftest.c
11540     for i in 1 2 3 4 5 6; do
11541       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11542       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11543       # Solaris 8's {/usr,}/bin/sh.
11544       touch sub/conftst$i.h
11545     done
11546     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11547
11548     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11549     # mode.  It turns out that the SunPro C++ compiler does not properly
11550     # handle `-M -o', and we need to detect this.  Also, some Intel
11551     # versions had trouble with output in subdirs
11552     am__obj=sub/conftest.${OBJEXT-o}
11553     am__minus_obj="-o $am__obj"
11554     case $depmode in
11555     gcc)
11556       # This depmode causes a compiler race in universal mode.
11557       test "$am__universal" = false || continue
11558       ;;
11559     nosideeffect)
11560       # after this tag, mechanisms are not by side-effect, so they'll
11561       # only be used when explicitly requested
11562       if test "x$enable_dependency_tracking" = xyes; then
11563         continue
11564       else
11565         break
11566       fi
11567       ;;
11568     msvisualcpp | msvcmsys)
11569       # This compiler won't grok `-c -o', but also, the minuso test has
11570       # not run yet.  These depmodes are late enough in the game, and
11571       # so weak that their functioning should not be impacted.
11572       am__obj=conftest.${OBJEXT-o}
11573       am__minus_obj=
11574       ;;
11575     none) break ;;
11576     esac
11577     if depmode=$depmode \
11578        source=sub/conftest.c object=$am__obj \
11579        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11580        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11581          >/dev/null 2>conftest.err &&
11582        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11583        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11584        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11585        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11586       # icc doesn't choke on unknown options, it will just issue warnings
11587       # or remarks (even with -Werror).  So we grep stderr for any message
11588       # that says an option was ignored or not supported.
11589       # When given -MP, icc 7.0 and 7.1 complain thusly:
11590       #   icc: Command line warning: ignoring option '-M'; no argument required
11591       # The diagnosis changed in icc 8.0:
11592       #   icc: Command line remark: option '-MP' not supported
11593       if (grep 'ignoring option' conftest.err ||
11594           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11595         am_cv_CC_dependencies_compiler_type=$depmode
11596         break
11597       fi
11598     fi
11599   done
11600
11601   cd ..
11602   rm -rf conftest.dir
11603 else
11604   am_cv_CC_dependencies_compiler_type=none
11605 fi
11606
11607 fi
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11609 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11610 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11611
11612  if
11613   test "x$enable_dependency_tracking" != xno \
11614   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11615   am__fastdepCC_TRUE=
11616   am__fastdepCC_FALSE='#'
11617 else
11618   am__fastdepCC_TRUE='#'
11619   am__fastdepCC_FALSE=
11620 fi
11621
11622
11623
11624
11625
11626
11627 if test "x$CC" != xcc; then
11628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11629 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11630 else
11631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11632 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11633 fi
11634 set dummy $CC; ac_cc=`$as_echo "$2" |
11635                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11636 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11637   $as_echo_n "(cached) " >&6
11638 else
11639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h.  */
11641
11642 int
11643 main ()
11644 {
11645
11646   ;
11647   return 0;
11648 }
11649 _ACEOF
11650 # Make sure it works both with $CC and with simple cc.
11651 # We do the test twice because some compilers refuse to overwrite an
11652 # existing .o file with -o, though they will create one.
11653 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11654 rm -f conftest2.*
11655 if { { case "(($ac_try" in
11656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11657   *) ac_try_echo=$ac_try;;
11658 esac
11659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11660 $as_echo "$ac_try_echo"; } >&5
11661   (eval "$ac_try") 2>&5
11662   ac_status=$?
11663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11664   test $ac_status = 0; } &&
11665    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11666   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11667   *) ac_try_echo=$ac_try;;
11668 esac
11669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11670 $as_echo "$ac_try_echo"; } >&5
11671   (eval "$ac_try") 2>&5
11672   ac_status=$?
11673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11674   test $ac_status = 0; };
11675 then
11676   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11677   if test "x$CC" != xcc; then
11678     # Test first that cc exists at all.
11679     if { ac_try='cc -c conftest.$ac_ext >&5'
11680   { { case "(($ac_try" in
11681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11682   *) ac_try_echo=$ac_try;;
11683 esac
11684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11685 $as_echo "$ac_try_echo"; } >&5
11686   (eval "$ac_try") 2>&5
11687   ac_status=$?
11688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11689   test $ac_status = 0; }; }; then
11690       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11691       rm -f conftest2.*
11692       if { { case "(($ac_try" in
11693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11694   *) ac_try_echo=$ac_try;;
11695 esac
11696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11697 $as_echo "$ac_try_echo"; } >&5
11698   (eval "$ac_try") 2>&5
11699   ac_status=$?
11700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11701   test $ac_status = 0; } &&
11702          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11704   *) ac_try_echo=$ac_try;;
11705 esac
11706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11707 $as_echo "$ac_try_echo"; } >&5
11708   (eval "$ac_try") 2>&5
11709   ac_status=$?
11710   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11711   test $ac_status = 0; };
11712       then
11713         # cc works too.
11714         :
11715       else
11716         # cc exists but doesn't like -o.
11717         eval ac_cv_prog_cc_${ac_cc}_c_o=no
11718       fi
11719     fi
11720   fi
11721 else
11722   eval ac_cv_prog_cc_${ac_cc}_c_o=no
11723 fi
11724 rm -f core conftest*
11725
11726 fi
11727 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11729 $as_echo "yes" >&6; }
11730 else
11731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11732 $as_echo "no" >&6; }
11733
11734 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11735
11736 fi
11737
11738 # FIXME: we rely on the cache variable name because
11739 # there is no other way.
11740 set dummy $CC
11741 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11742 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11743 if test "$am_t" != yes; then
11744    # Losing compiler, so override with the script.
11745    # FIXME: It is wrong to rewrite CC.
11746    # But if we don't then we get into trouble of one sort or another.
11747    # A longer-term fix would be to have automake use am__CC in this case,
11748    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11749    CC="$am_aux_dir/compile $CC"
11750 fi
11751
11752
11753
11754 if test "x$GCC" != "xyes"; then
11755   as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11756 fi
11757 ac_ext=c
11758 ac_cpp='$CPP $CPPFLAGS'
11759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11763 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11764 # On Suns, sometimes $CPP names a directory.
11765 if test -n "$CPP" && test -d "$CPP"; then
11766   CPP=
11767 fi
11768 if test -z "$CPP"; then
11769   if test "${ac_cv_prog_CPP+set}" = set; then :
11770   $as_echo_n "(cached) " >&6
11771 else
11772       # Double quotes because CPP needs to be expanded
11773     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11774     do
11775       ac_preproc_ok=false
11776 for ac_c_preproc_warn_flag in '' yes
11777 do
11778   # Use a header file that comes with gcc, so configuring glibc
11779   # with a fresh cross-compiler works.
11780   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11781   # <limits.h> exists even on freestanding compilers.
11782   # On the NeXT, cc -E runs the code through the compiler's parser,
11783   # not just through cpp. "Syntax error" is here to catch this case.
11784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h.  */
11786 #ifdef __STDC__
11787 # include <limits.h>
11788 #else
11789 # include <assert.h>
11790 #endif
11791                      Syntax error
11792 _ACEOF
11793 if ac_fn_c_try_cpp "$LINENO"; then :
11794
11795 else
11796   # Broken: fails on valid input.
11797 continue
11798 fi
11799 rm -f conftest.err conftest.$ac_ext
11800
11801   # OK, works on sane cases.  Now check whether nonexistent headers
11802   # can be detected and how.
11803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h.  */
11805 #include <ac_nonexistent.h>
11806 _ACEOF
11807 if ac_fn_c_try_cpp "$LINENO"; then :
11808   # Broken: success on invalid input.
11809 continue
11810 else
11811   # Passes both tests.
11812 ac_preproc_ok=:
11813 break
11814 fi
11815 rm -f conftest.err conftest.$ac_ext
11816
11817 done
11818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11819 rm -f conftest.err conftest.$ac_ext
11820 if $ac_preproc_ok; then :
11821   break
11822 fi
11823
11824     done
11825     ac_cv_prog_CPP=$CPP
11826
11827 fi
11828   CPP=$ac_cv_prog_CPP
11829 else
11830   ac_cv_prog_CPP=$CPP
11831 fi
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11833 $as_echo "$CPP" >&6; }
11834 ac_preproc_ok=false
11835 for ac_c_preproc_warn_flag in '' yes
11836 do
11837   # Use a header file that comes with gcc, so configuring glibc
11838   # with a fresh cross-compiler works.
11839   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11840   # <limits.h> exists even on freestanding compilers.
11841   # On the NeXT, cc -E runs the code through the compiler's parser,
11842   # not just through cpp. "Syntax error" is here to catch this case.
11843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11844 /* end confdefs.h.  */
11845 #ifdef __STDC__
11846 # include <limits.h>
11847 #else
11848 # include <assert.h>
11849 #endif
11850                      Syntax error
11851 _ACEOF
11852 if ac_fn_c_try_cpp "$LINENO"; then :
11853
11854 else
11855   # Broken: fails on valid input.
11856 continue
11857 fi
11858 rm -f conftest.err conftest.$ac_ext
11859
11860   # OK, works on sane cases.  Now check whether nonexistent headers
11861   # can be detected and how.
11862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h.  */
11864 #include <ac_nonexistent.h>
11865 _ACEOF
11866 if ac_fn_c_try_cpp "$LINENO"; then :
11867   # Broken: success on invalid input.
11868 continue
11869 else
11870   # Passes both tests.
11871 ac_preproc_ok=:
11872 break
11873 fi
11874 rm -f conftest.err conftest.$ac_ext
11875
11876 done
11877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11878 rm -f conftest.err conftest.$ac_ext
11879 if $ac_preproc_ok; then :
11880
11881 else
11882   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11883 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11884 as_fn_error "C preprocessor \"$CPP\" fails sanity check
11885 See \`config.log' for more details." "$LINENO" 5; }
11886 fi
11887
11888 ac_ext=c
11889 ac_cpp='$CPP $CPPFLAGS'
11890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11893
11894
11895 # Calculate toolexeclibdir
11896 # Also toolexecdir, though it's only used in toolexeclibdir
11897 case ${version_specific_libs} in
11898   yes)
11899     # Need the gcc compiler version to know where to install libraries
11900     # and header files if --enable-version-specific-runtime-libs option
11901     # is selected.
11902     toolexecdir='$(libdir)/gcc/$(target_alias)'
11903     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11904     ;;
11905   no)
11906     if test -n "$with_cross_host" &&
11907        test x"$with_cross_host" != x"no"; then
11908       # Install a library built with a cross compiler in tooldir, not libdir.
11909       toolexecdir='$(exec_prefix)/$(target_alias)'
11910       toolexeclibdir='$(toolexecdir)/lib'
11911     else
11912       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
11913       toolexeclibdir='$(libdir)'
11914     fi
11915     multi_os_directory=`$CC -print-multi-os-directory`
11916     case $multi_os_directory in
11917       .) ;; # Avoid trailing /.
11918       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
11919     esac
11920     ;;
11921 esac
11922
11923
11924
11925 for ac_header in fenv.h langinfo.h wchar.h wctype.h limits.h ctype.h printf.h errno.h
11926 do :
11927   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11928 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11929 eval as_val=\$$as_ac_Header
11930    if test "x$as_val" = x""yes; then :
11931   cat >>confdefs.h <<_ACEOF
11932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11933 _ACEOF
11934
11935 fi
11936
11937 done
11938
11939
11940 # If available, sqrtl and cbrtl speed up the calculation -
11941 # but they are not required
11942 if test x$gcc_no_link != xyes; then
11943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11944 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11945 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11946   $as_echo_n "(cached) " >&6
11947 else
11948   ac_check_lib_save_LIBS=$LIBS
11949 LIBS="-lm  $LIBS"
11950 if test x$gcc_no_link = xyes; then
11951   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11952 fi
11953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11954 /* end confdefs.h.  */
11955
11956 /* Override any GCC internal prototype to avoid an error.
11957    Use char because int might match the return type of a GCC
11958    builtin and then its argument prototype would still apply.  */
11959 #ifdef __cplusplus
11960 extern "C"
11961 #endif
11962 char sqrtl ();
11963 int
11964 main ()
11965 {
11966 return sqrtl ();
11967   ;
11968   return 0;
11969 }
11970 _ACEOF
11971 if ac_fn_c_try_link "$LINENO"; then :
11972   ac_cv_lib_m_sqrtl=yes
11973 else
11974   ac_cv_lib_m_sqrtl=no
11975 fi
11976 rm -f core conftest.err conftest.$ac_objext \
11977     conftest$ac_exeext conftest.$ac_ext
11978 LIBS=$ac_check_lib_save_LIBS
11979 fi
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
11981 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
11982 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
11983
11984 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11985
11986 fi
11987
11988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
11989 $as_echo_n "checking for cbrtl in -lm... " >&6; }
11990 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
11991   $as_echo_n "(cached) " >&6
11992 else
11993   ac_check_lib_save_LIBS=$LIBS
11994 LIBS="-lm  $LIBS"
11995 if test x$gcc_no_link = xyes; then
11996   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11997 fi
11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11999 /* end confdefs.h.  */
12000
12001 /* Override any GCC internal prototype to avoid an error.
12002    Use char because int might match the return type of a GCC
12003    builtin and then its argument prototype would still apply.  */
12004 #ifdef __cplusplus
12005 extern "C"
12006 #endif
12007 char cbrtl ();
12008 int
12009 main ()
12010 {
12011 return cbrtl ();
12012   ;
12013   return 0;
12014 }
12015 _ACEOF
12016 if ac_fn_c_try_link "$LINENO"; then :
12017   ac_cv_lib_m_cbrtl=yes
12018 else
12019   ac_cv_lib_m_cbrtl=no
12020 fi
12021 rm -f core conftest.err conftest.$ac_objext \
12022     conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12024 fi
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
12026 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
12027 if test "x$ac_cv_lib_m_cbrtl" = x""yes; then :
12028
12029 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12030
12031 fi
12032
12033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feholdexcept in -lm" >&5
12034 $as_echo_n "checking for feholdexcept in -lm... " >&6; }
12035 if test "${ac_cv_lib_m_feholdexcept+set}" = set; then :
12036   $as_echo_n "(cached) " >&6
12037 else
12038   ac_check_lib_save_LIBS=$LIBS
12039 LIBS="-lm  $LIBS"
12040 if test x$gcc_no_link = xyes; then
12041   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12042 fi
12043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h.  */
12045
12046 /* Override any GCC internal prototype to avoid an error.
12047    Use char because int might match the return type of a GCC
12048    builtin and then its argument prototype would still apply.  */
12049 #ifdef __cplusplus
12050 extern "C"
12051 #endif
12052 char feholdexcept ();
12053 int
12054 main ()
12055 {
12056 return feholdexcept ();
12057   ;
12058   return 0;
12059 }
12060 _ACEOF
12061 if ac_fn_c_try_link "$LINENO"; then :
12062   ac_cv_lib_m_feholdexcept=yes
12063 else
12064   ac_cv_lib_m_feholdexcept=no
12065 fi
12066 rm -f core conftest.err conftest.$ac_objext \
12067     conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12069 fi
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feholdexcept" >&5
12071 $as_echo "$ac_cv_lib_m_feholdexcept" >&6; }
12072 if test "x$ac_cv_lib_m_feholdexcept" = x""yes; then :
12073
12074 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12075
12076 fi
12077
12078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround in -lm" >&5
12079 $as_echo_n "checking for fesetround in -lm... " >&6; }
12080 if test "${ac_cv_lib_m_fesetround+set}" = set; then :
12081   $as_echo_n "(cached) " >&6
12082 else
12083   ac_check_lib_save_LIBS=$LIBS
12084 LIBS="-lm  $LIBS"
12085 if test x$gcc_no_link = xyes; then
12086   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12087 fi
12088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12089 /* end confdefs.h.  */
12090
12091 /* Override any GCC internal prototype to avoid an error.
12092    Use char because int might match the return type of a GCC
12093    builtin and then its argument prototype would still apply.  */
12094 #ifdef __cplusplus
12095 extern "C"
12096 #endif
12097 char fesetround ();
12098 int
12099 main ()
12100 {
12101 return fesetround ();
12102   ;
12103   return 0;
12104 }
12105 _ACEOF
12106 if ac_fn_c_try_link "$LINENO"; then :
12107   ac_cv_lib_m_fesetround=yes
12108 else
12109   ac_cv_lib_m_fesetround=no
12110 fi
12111 rm -f core conftest.err conftest.$ac_objext \
12112     conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_lib_save_LIBS
12114 fi
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetround" >&5
12116 $as_echo "$ac_cv_lib_m_fesetround" >&6; }
12117 if test "x$ac_cv_lib_m_fesetround" = x""yes; then :
12118
12119 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12120
12121 fi
12122
12123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feupdateenv in -lm" >&5
12124 $as_echo_n "checking for feupdateenv in -lm... " >&6; }
12125 if test "${ac_cv_lib_m_feupdateenv+set}" = set; then :
12126   $as_echo_n "(cached) " >&6
12127 else
12128   ac_check_lib_save_LIBS=$LIBS
12129 LIBS="-lm  $LIBS"
12130 if test x$gcc_no_link = xyes; then
12131   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12132 fi
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h.  */
12135
12136 /* Override any GCC internal prototype to avoid an error.
12137    Use char because int might match the return type of a GCC
12138    builtin and then its argument prototype would still apply.  */
12139 #ifdef __cplusplus
12140 extern "C"
12141 #endif
12142 char feupdateenv ();
12143 int
12144 main ()
12145 {
12146 return feupdateenv ();
12147   ;
12148   return 0;
12149 }
12150 _ACEOF
12151 if ac_fn_c_try_link "$LINENO"; then :
12152   ac_cv_lib_m_feupdateenv=yes
12153 else
12154   ac_cv_lib_m_feupdateenv=no
12155 fi
12156 rm -f core conftest.err conftest.$ac_objext \
12157     conftest$ac_exeext conftest.$ac_ext
12158 LIBS=$ac_check_lib_save_LIBS
12159 fi
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feupdateenv" >&5
12161 $as_echo "$ac_cv_lib_m_feupdateenv" >&6; }
12162 if test "x$ac_cv_lib_m_feupdateenv" = x""yes; then :
12163
12164 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12165
12166 fi
12167
12168   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetenv in -lm" >&5
12169 $as_echo_n "checking for fesetenv in -lm... " >&6; }
12170 if test "${ac_cv_lib_m_fesetenv+set}" = set; then :
12171   $as_echo_n "(cached) " >&6
12172 else
12173   ac_check_lib_save_LIBS=$LIBS
12174 LIBS="-lm  $LIBS"
12175 if test x$gcc_no_link = xyes; then
12176   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12177 fi
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h.  */
12180
12181 /* Override any GCC internal prototype to avoid an error.
12182    Use char because int might match the return type of a GCC
12183    builtin and then its argument prototype would still apply.  */
12184 #ifdef __cplusplus
12185 extern "C"
12186 #endif
12187 char fesetenv ();
12188 int
12189 main ()
12190 {
12191 return fesetenv ();
12192   ;
12193   return 0;
12194 }
12195 _ACEOF
12196 if ac_fn_c_try_link "$LINENO"; then :
12197   ac_cv_lib_m_fesetenv=yes
12198 else
12199   ac_cv_lib_m_fesetenv=no
12200 fi
12201 rm -f core conftest.err conftest.$ac_objext \
12202     conftest$ac_exeext conftest.$ac_ext
12203 LIBS=$ac_check_lib_save_LIBS
12204 fi
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fesetenv" >&5
12206 $as_echo "$ac_cv_lib_m_fesetenv" >&6; }
12207 if test "x$ac_cv_lib_m_fesetenv" = x""yes; then :
12208
12209 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12210
12211 fi
12212
12213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fetestexcept in -lm" >&5
12214 $as_echo_n "checking for fetestexcept in -lm... " >&6; }
12215 if test "${ac_cv_lib_m_fetestexcept+set}" = set; then :
12216   $as_echo_n "(cached) " >&6
12217 else
12218   ac_check_lib_save_LIBS=$LIBS
12219 LIBS="-lm  $LIBS"
12220 if test x$gcc_no_link = xyes; then
12221   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12222 fi
12223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12224 /* end confdefs.h.  */
12225
12226 /* Override any GCC internal prototype to avoid an error.
12227    Use char because int might match the return type of a GCC
12228    builtin and then its argument prototype would still apply.  */
12229 #ifdef __cplusplus
12230 extern "C"
12231 #endif
12232 char fetestexcept ();
12233 int
12234 main ()
12235 {
12236 return fetestexcept ();
12237   ;
12238   return 0;
12239 }
12240 _ACEOF
12241 if ac_fn_c_try_link "$LINENO"; then :
12242   ac_cv_lib_m_fetestexcept=yes
12243 else
12244   ac_cv_lib_m_fetestexcept=no
12245 fi
12246 rm -f core conftest.err conftest.$ac_objext \
12247     conftest$ac_exeext conftest.$ac_ext
12248 LIBS=$ac_check_lib_save_LIBS
12249 fi
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fetestexcept" >&5
12251 $as_echo "$ac_cv_lib_m_fetestexcept" >&6; }
12252 if test "x$ac_cv_lib_m_fetestexcept" = x""yes; then :
12253
12254 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12255
12256 fi
12257
12258 else
12259   if test "x$ac_cv_lib_m_sqrtl" = x""yes; then
12260
12261 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
12262
12263   fi
12264   if test "x$ac_cv_lib_m_cbrtl" = x""yes; then
12265
12266 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
12267
12268   fi
12269   if test "x$ac_cv_lib_m_feholdexcept" = x""yes; then
12270
12271 $as_echo "#define HAVE_FEHOLDEXCEPT 1" >>confdefs.h
12272
12273   fi
12274   if test "x$ac_cv_lib_m_fesetround" = x""yes; then
12275
12276 $as_echo "#define HAVE_FESETROUND 1" >>confdefs.h
12277
12278   fi
12279   if test "x$ac_cv_lib_m_feupdateenv" = x""yes; then
12280
12281 $as_echo "#define HAVE_FEUPDATEENV 1" >>confdefs.h
12282
12283   fi
12284   if test "x$ac_cv_lib_m_fesetenv" = x""yes; then
12285
12286 $as_echo "#define HAVE_FESETENV 1" >>confdefs.h
12287
12288   fi
12289   if test "x$ac_cv_lib_m_fetestexcept" = x""yes; then
12290
12291 $as_echo "#define HAVE_FETESTEXCEPT 1" >>confdefs.h
12292
12293   fi
12294 fi
12295
12296 # Check for hidden visibility (copied from libssp).
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether hidden visibility is supported" >&5
12298 $as_echo_n "checking whether hidden visibility is supported... " >&6; }
12299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12300 /* end confdefs.h.  */
12301
12302 void __attribute__((visibility ("hidden"))) bar (void) {}
12303 int
12304 main ()
12305 {
12306
12307   ;
12308   return 0;
12309 }
12310 _ACEOF
12311 if ac_fn_c_try_compile "$LINENO"; then :
12312   quadmath_hidden=yes
12313 else
12314   quadmath_hidden=no
12315 fi
12316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_hidden" >&5
12318 $as_echo "$quadmath_hidden" >&6; }
12319 if test x$quadmath_hidden = xyes; then
12320
12321 $as_echo "#define HAVE_HIDDEN_VISIBILITY 1" >>confdefs.h
12322
12323 fi
12324
12325 # Check for symbol versioning (copied from libssp).
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
12327 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
12328 if test x$gcc_no_link = xyes; then
12329   # If we cannot link, we cannot build shared libraries, so do not use
12330   # symbol versioning.
12331   quadmath_use_symver=no
12332 else
12333   save_LDFLAGS="$LDFLAGS"
12334   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
12335   cat > conftest.map <<EOF
12336 FOO_1.0 {
12337   global: *foo*; bar; local: *;
12338 };
12339 EOF
12340   if test x$gcc_no_link = xyes; then
12341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12342 fi
12343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h.  */
12345 int foo;
12346 int
12347 main ()
12348 {
12349
12350   ;
12351   return 0;
12352 }
12353 _ACEOF
12354 if ac_fn_c_try_link "$LINENO"; then :
12355   quadmath_use_symver=gnu
12356 else
12357   quadmath_use_symver=no
12358 fi
12359 rm -f core conftest.err conftest.$ac_objext \
12360     conftest$ac_exeext conftest.$ac_ext
12361   if test x$quadmath_use_symver = xno; then
12362     case "$target_os" in
12363       solaris2*)
12364         LDFLAGS="$save_LDFLAGS"
12365         LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
12366         # Sun ld cannot handle wildcards and treats all entries as undefined.
12367         cat > conftest.map <<EOF
12368 FOO_1.0 {
12369   global: foo; local: *;
12370 };
12371 EOF
12372         if test x$gcc_no_link = xyes; then
12373   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12374 fi
12375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h.  */
12377 int foo;
12378 int
12379 main ()
12380 {
12381
12382   ;
12383   return 0;
12384 }
12385 _ACEOF
12386 if ac_fn_c_try_link "$LINENO"; then :
12387   quadmath_use_symver=sun
12388 else
12389   quadmath_use_symver=no
12390 fi
12391 rm -f core conftest.err conftest.$ac_objext \
12392     conftest$ac_exeext conftest.$ac_ext
12393         ;;
12394     esac
12395   fi
12396   LDFLAGS="$save_LDFLAGS"
12397 fi
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
12399 $as_echo "$quadmath_use_symver" >&6; }
12400  if test "x$quadmath_use_symver" != xno; then
12401   LIBQUAD_USE_SYMVER_TRUE=
12402   LIBQUAD_USE_SYMVER_FALSE='#'
12403 else
12404   LIBQUAD_USE_SYMVER_TRUE='#'
12405   LIBQUAD_USE_SYMVER_FALSE=
12406 fi
12407
12408  if test "x$quadmath_use_symver" = xgnu; then
12409   LIBQUAD_USE_SYMVER_GNU_TRUE=
12410   LIBQUAD_USE_SYMVER_GNU_FALSE='#'
12411 else
12412   LIBQUAD_USE_SYMVER_GNU_TRUE='#'
12413   LIBQUAD_USE_SYMVER_GNU_FALSE=
12414 fi
12415
12416  if test "x$quadmath_use_symver" = xsun; then
12417   LIBQUAD_USE_SYMVER_SUN_TRUE=
12418   LIBQUAD_USE_SYMVER_SUN_FALSE='#'
12419 else
12420   LIBQUAD_USE_SYMVER_SUN_TRUE='#'
12421   LIBQUAD_USE_SYMVER_SUN_FALSE=
12422 fi
12423
12424
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
12426 $as_echo_n "checking whether __float128 is supported... " >&6; }
12427 if test "${libquad_cv_have_float128+set}" = set; then :
12428   $as_echo_n "(cached) " >&6
12429 else
12430   if test x$gcc_no_link = xyes; then
12431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h.  */
12433
12434     typedef _Complex float __attribute__((mode(TC))) __complex128;
12435
12436     __float128 foo (__float128 x)
12437     {
12438
12439      __complex128 z1, z2;
12440
12441      z1 = x;
12442      z2 = x / 7.Q;
12443      z2 /= z1;
12444
12445      return (__float128) z2;
12446     }
12447
12448     __float128 bar (__float128 x)
12449     {
12450       return x * __builtin_huge_valq ();
12451     }
12452
12453 int
12454 main ()
12455 {
12456
12457     foo (1.2Q);
12458     bar (1.2Q);
12459
12460   ;
12461   return 0;
12462 }
12463 _ACEOF
12464 if ac_fn_c_try_compile "$LINENO"; then :
12465
12466     libquad_cv_have_float128=yes
12467
12468 else
12469
12470     libquad_cv_have_float128=no
12471
12472 fi
12473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12474 else
12475   if test x$gcc_no_link = xyes; then
12476   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12477 fi
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h.  */
12480
12481     typedef _Complex float __attribute__((mode(TC))) __complex128;
12482
12483     __float128 foo (__float128 x)
12484     {
12485
12486      __complex128 z1, z2;
12487
12488      z1 = x;
12489      z2 = x / 7.Q;
12490      z2 /= z1;
12491
12492      return (__float128) z2;
12493     }
12494
12495     __float128 bar (__float128 x)
12496     {
12497       return x * __builtin_huge_valq ();
12498     }
12499
12500 int
12501 main ()
12502 {
12503
12504     foo (1.2Q);
12505     bar (1.2Q);
12506
12507   ;
12508   return 0;
12509 }
12510 _ACEOF
12511 if ac_fn_c_try_link "$LINENO"; then :
12512
12513     libquad_cv_have_float128=yes
12514
12515 else
12516
12517     libquad_cv_have_float128=no
12518
12519 fi
12520 rm -f core conftest.err conftest.$ac_objext \
12521     conftest$ac_exeext conftest.$ac_ext
12522 fi
12523 fi
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_cv_have_float128" >&5
12525 $as_echo "$libquad_cv_have_float128" >&6; }
12526  if test "x$libquad_cv_have_float128" = xyes; then
12527   BUILD_LIBQUADMATH_TRUE=
12528   BUILD_LIBQUADMATH_FALSE='#'
12529 else
12530   BUILD_LIBQUADMATH_TRUE='#'
12531   BUILD_LIBQUADMATH_FALSE=
12532 fi
12533
12534
12535 # Check for printf hook support.
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf hooks are supported" >&5
12537 $as_echo_n "checking whether printf hooks are supported... " >&6; }
12538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12539 /* end confdefs.h.  */
12540
12541 #include <printf.h>
12542 #include <stdarg.h>
12543 #include <stdlib.h>
12544 extern void flt128_va (void *, va_list *);
12545 extern int flt128_ais (const struct printf_info *, size_t, int *, int *);
12546 extern int flt128_printf_fp (FILE *, const struct printf_info *, const void *const *);
12547
12548 int
12549 main ()
12550 {
12551
12552 int pa_flt128 = register_printf_type (flt128_va);
12553 int mod_Q = register_printf_modifier (L"Q");
12554 int res = register_printf_specifier ('f', flt128_printf_fp, flt128_ais);
12555
12556   ;
12557   return 0;
12558 }
12559 _ACEOF
12560 if ac_fn_c_try_compile "$LINENO"; then :
12561   quadmath_printf_hooks=yes
12562 else
12563   quadmath_printf_hooks=no
12564 fi
12565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_printf_hooks" >&5
12567 $as_echo "$quadmath_printf_hooks" >&6; }
12568 if test x$quadmath_printf_hooks = xyes; then
12569
12570 $as_echo "#define HAVE_PRINTF_HOOKS 1" >>confdefs.h
12571
12572 fi
12573
12574 # Check for whether locale support for quadmath_snprintf or Q printf hooks
12575 # should be provided.
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether locale support for quadmath_snprintf should be added" >&5
12577 $as_echo_n "checking whether locale support for quadmath_snprintf should be added... " >&6; }
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h.  */
12580 #include <langinfo.h>
12581 int
12582 main ()
12583 {
12584
12585 const char *s;
12586 s = nl_langinfo (DECIMAL_POINT);
12587 s = nl_langinfo (MON_DECIMAL_POINT);
12588 s = nl_langinfo (GROUPING);
12589 s = nl_langinfo (MON_GROUPING);
12590 s = nl_langinfo (THOUSANDS_SEP);
12591 s = nl_langinfo (MON_THOUSANDS_SEP);
12592 s = nl_langinfo (_NL_NUMERIC_DECIMAL_POINT_WC);
12593 s = nl_langinfo (_NL_MONETARY_DECIMAL_POINT_WC);
12594 s = nl_langinfo (_NL_NUMERIC_THOUSANDS_SEP_WC);
12595 s = nl_langinfo (_NL_MONETARY_THOUSANDS_SEP_WC);
12596 s = nl_langinfo (_NL_CTYPE_MB_CUR_MAX);
12597 (void) s;
12598
12599   ;
12600   return 0;
12601 }
12602 _ACEOF
12603 if ac_fn_c_try_compile "$LINENO"; then :
12604   quadmath_use_locale_support=yes
12605 else
12606   quadmath_use_locale_support=no
12607 fi
12608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_locale_support" >&5
12610 $as_echo "$quadmath_use_locale_support" >&6; }
12611 if test x$quadmath_use_locale_support = xyes; then
12612
12613 $as_echo "#define USE_LOCALE_SUPPORT 1" >>confdefs.h
12614
12615 fi
12616
12617 # Check for whether i18n number rewriting support for quadmath_snprintf
12618 # or Q printf hooks should be provided.
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether i18n number rewriting support for quadmath_snprintf should be added" >&5
12620 $as_echo_n "checking whether i18n number rewriting support for quadmath_snprintf should be added... " >&6; }
12621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h.  */
12623 #include <langinfo.h>
12624 #include <limits.h>
12625 #include <string.h>
12626 #include <wchar.h>
12627 #include <wctype.h>
12628 int
12629 main ()
12630 {
12631
12632 const char *s;
12633 char decimal[MB_LEN_MAX];
12634 wctrans_t map = wctrans ("to_outpunct");
12635 wint_t wdecimal = towctrans (L'.', map);
12636 mbstate_t state;
12637 memset (&state, '\0', sizeof (state));
12638 wcrtomb (decimal, wdecimal, &state);
12639 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_MB);
12640 s = nl_langinfo (_NL_CTYPE_OUTDIGIT0_WC);
12641 (void) s;
12642
12643   ;
12644   return 0;
12645 }
12646 _ACEOF
12647 if ac_fn_c_try_compile "$LINENO"; then :
12648   quadmath_use_i18n_number_h=yes
12649 else
12650   quadmath_use_i18n_number_h=no
12651 fi
12652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_i18n_number_h" >&5
12654 $as_echo "$quadmath_use_i18n_number_h" >&6; }
12655 if test x$quadmath_use_i18n_number_h = xyes; then
12656
12657 $as_echo "#define USE_I18N_NUMBER_H 1" >>confdefs.h
12658
12659 fi
12660
12661 cat >confcache <<\_ACEOF
12662 # This file is a shell script that caches the results of configure
12663 # tests run on this system so they can be shared between configure
12664 # scripts and configure runs, see configure's option --config-cache.
12665 # It is not useful on other systems.  If it contains results you don't
12666 # want to keep, you may remove or edit it.
12667 #
12668 # config.status only pays attention to the cache file if you give it
12669 # the --recheck option to rerun configure.
12670 #
12671 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12672 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12673 # following values.
12674
12675 _ACEOF
12676
12677 # The following way of writing the cache mishandles newlines in values,
12678 # but we know of no workaround that is simple, portable, and efficient.
12679 # So, we kill variables containing newlines.
12680 # Ultrix sh set writes to stderr and can't be redirected directly,
12681 # and sets the high bit in the cache file unless we assign to the vars.
12682 (
12683   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12684     eval ac_val=\$$ac_var
12685     case $ac_val in #(
12686     *${as_nl}*)
12687       case $ac_var in #(
12688       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12689 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12690       esac
12691       case $ac_var in #(
12692       _ | IFS | as_nl) ;; #(
12693       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12694       *) { eval $ac_var=; unset $ac_var;} ;;
12695       esac ;;
12696     esac
12697   done
12698
12699   (set) 2>&1 |
12700     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12701     *${as_nl}ac_space=\ *)
12702       # `set' does not quote correctly, so add quotes: double-quote
12703       # substitution turns \\\\ into \\, and sed turns \\ into \.
12704       sed -n \
12705         "s/'/'\\\\''/g;
12706           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12707       ;; #(
12708     *)
12709       # `set' quotes correctly as required by POSIX, so do not add quotes.
12710       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12711       ;;
12712     esac |
12713     sort
12714 ) |
12715   sed '
12716      /^ac_cv_env_/b end
12717      t clear
12718      :clear
12719      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12720      t end
12721      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12722      :end' >>confcache
12723 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12724   if test -w "$cache_file"; then
12725     test "x$cache_file" != "x/dev/null" &&
12726       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12727 $as_echo "$as_me: updating cache $cache_file" >&6;}
12728     cat confcache >$cache_file
12729   else
12730     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12731 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12732   fi
12733 fi
12734 rm -f confcache
12735
12736 if test ${multilib} = yes; then
12737   multilib_arg="--enable-multilib"
12738 else
12739   multilib_arg=
12740 fi
12741
12742
12743 # We would like our source tree to be readonly. However when releases or
12744 # pre-releases are generated, the flex/bison generated files as well as the
12745 # various formats of manuals need to be included along with the rest of the
12746 # sources.  Therefore we have --enable-generated-files-in-srcdir to do
12747 # just that.
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking generated-files-in-srcdir" >&5
12749 $as_echo_n "checking generated-files-in-srcdir... " >&6; }
12750 # Check whether --enable-generated-files-in-srcdir was given.
12751 if test "${enable_generated_files_in_srcdir+set}" = set; then :
12752   enableval=$enable_generated_files_in_srcdir; case "$enableval" in
12753  yes) enable_generated_files_in_srcdir=yes ;;
12754  no)  enable_generated_files_in_srcdir=no ;;
12755  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
12756  esac
12757 else
12758   enable_generated_files_in_srcdir=no
12759 fi
12760
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_generated_files_in_srcdir" >&5
12762 $as_echo "$enable_generated_files_in_srcdir" >&6; }
12763  if test "$enable_generated_files_in_srcdir" = yes; then
12764   GENINSRC_TRUE=
12765   GENINSRC_FALSE='#'
12766 else
12767   GENINSRC_TRUE='#'
12768   GENINSRC_FALSE=
12769 fi
12770
12771
12772
12773 ac_config_files="$ac_config_files Makefile"
12774
12775 cat >confcache <<\_ACEOF
12776 # This file is a shell script that caches the results of configure
12777 # tests run on this system so they can be shared between configure
12778 # scripts and configure runs, see configure's option --config-cache.
12779 # It is not useful on other systems.  If it contains results you don't
12780 # want to keep, you may remove or edit it.
12781 #
12782 # config.status only pays attention to the cache file if you give it
12783 # the --recheck option to rerun configure.
12784 #
12785 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12786 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12787 # following values.
12788
12789 _ACEOF
12790
12791 # The following way of writing the cache mishandles newlines in values,
12792 # but we know of no workaround that is simple, portable, and efficient.
12793 # So, we kill variables containing newlines.
12794 # Ultrix sh set writes to stderr and can't be redirected directly,
12795 # and sets the high bit in the cache file unless we assign to the vars.
12796 (
12797   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12798     eval ac_val=\$$ac_var
12799     case $ac_val in #(
12800     *${as_nl}*)
12801       case $ac_var in #(
12802       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12803 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12804       esac
12805       case $ac_var in #(
12806       _ | IFS | as_nl) ;; #(
12807       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12808       *) { eval $ac_var=; unset $ac_var;} ;;
12809       esac ;;
12810     esac
12811   done
12812
12813   (set) 2>&1 |
12814     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12815     *${as_nl}ac_space=\ *)
12816       # `set' does not quote correctly, so add quotes: double-quote
12817       # substitution turns \\\\ into \\, and sed turns \\ into \.
12818       sed -n \
12819         "s/'/'\\\\''/g;
12820           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12821       ;; #(
12822     *)
12823       # `set' quotes correctly as required by POSIX, so do not add quotes.
12824       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12825       ;;
12826     esac |
12827     sort
12828 ) |
12829   sed '
12830      /^ac_cv_env_/b end
12831      t clear
12832      :clear
12833      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12834      t end
12835      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12836      :end' >>confcache
12837 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12838   if test -w "$cache_file"; then
12839     test "x$cache_file" != "x/dev/null" &&
12840       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12841 $as_echo "$as_me: updating cache $cache_file" >&6;}
12842     cat confcache >$cache_file
12843   else
12844     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12845 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12846   fi
12847 fi
12848 rm -f confcache
12849
12850 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12851 # Let make expand exec_prefix.
12852 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12853
12854 DEFS=-DHAVE_CONFIG_H
12855
12856 ac_libobjs=
12857 ac_ltlibobjs=
12858 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12859   # 1. Remove the extension, and $U if already installed.
12860   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12861   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12862   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12863   #    will be set to the directory where LIBOBJS objects are built.
12864   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12865   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12866 done
12867 LIBOBJS=$ac_libobjs
12868
12869 LTLIBOBJS=$ac_ltlibobjs
12870
12871
12872  if test -n "$EXEEXT"; then
12873   am__EXEEXT_TRUE=
12874   am__EXEEXT_FALSE='#'
12875 else
12876   am__EXEEXT_TRUE='#'
12877   am__EXEEXT_FALSE=
12878 fi
12879
12880 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12881   as_fn_error "conditional \"AMDEP\" was never defined.
12882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12883 fi
12884 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12885   as_fn_error "conditional \"am__fastdepCC\" was never defined.
12886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12887 fi
12888 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
12889   as_fn_error "conditional \"BUILD_INFO\" was never defined.
12890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12891 fi
12892 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12893   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12895 fi
12896 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12897   as_fn_error "conditional \"am__fastdepCC\" was never defined.
12898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12899 fi
12900 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
12901   as_fn_error "conditional \"LIBQUAD_USE_SYMVER\" was never defined.
12902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12903 fi
12904 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
12905   as_fn_error "conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
12906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12907 fi
12908 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
12909   as_fn_error "conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
12910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12911 fi
12912 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
12913   as_fn_error "conditional \"BUILD_LIBQUADMATH\" was never defined.
12914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12915 fi
12916 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
12917   as_fn_error "conditional \"GENINSRC\" was never defined.
12918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12919 fi
12920
12921 : ${CONFIG_STATUS=./config.status}
12922 ac_write_fail=0
12923 ac_clean_files_save=$ac_clean_files
12924 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12926 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12927 as_write_fail=0
12928 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12929 #! $SHELL
12930 # Generated by $as_me.
12931 # Run this file to recreate the current configuration.
12932 # Compiler output produced by configure, useful for debugging
12933 # configure, is in config.log if it exists.
12934
12935 debug=false
12936 ac_cs_recheck=false
12937 ac_cs_silent=false
12938
12939 SHELL=\${CONFIG_SHELL-$SHELL}
12940 export SHELL
12941 _ASEOF
12942 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12943 ## -------------------- ##
12944 ## M4sh Initialization. ##
12945 ## -------------------- ##
12946
12947 # Be more Bourne compatible
12948 DUALCASE=1; export DUALCASE # for MKS sh
12949 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12950   emulate sh
12951   NULLCMD=:
12952   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12953   # is contrary to our usage.  Disable this feature.
12954   alias -g '${1+"$@"}'='"$@"'
12955   setopt NO_GLOB_SUBST
12956 else
12957   case `(set -o) 2>/dev/null` in #(
12958   *posix*) :
12959     set -o posix ;; #(
12960   *) :
12961      ;;
12962 esac
12963 fi
12964
12965
12966 as_nl='
12967 '
12968 export as_nl
12969 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12970 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12971 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12972 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12973 # Prefer a ksh shell builtin over an external printf program on Solaris,
12974 # but without wasting forks for bash or zsh.
12975 if test -z "$BASH_VERSION$ZSH_VERSION" \
12976     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12977   as_echo='print -r --'
12978   as_echo_n='print -rn --'
12979 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12980   as_echo='printf %s\n'
12981   as_echo_n='printf %s'
12982 else
12983   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12984     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12985     as_echo_n='/usr/ucb/echo -n'
12986   else
12987     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12988     as_echo_n_body='eval
12989       arg=$1;
12990       case $arg in #(
12991       *"$as_nl"*)
12992         expr "X$arg" : "X\\(.*\\)$as_nl";
12993         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12994       esac;
12995       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12996     '
12997     export as_echo_n_body
12998     as_echo_n='sh -c $as_echo_n_body as_echo'
12999   fi
13000   export as_echo_body
13001   as_echo='sh -c $as_echo_body as_echo'
13002 fi
13003
13004 # The user is always right.
13005 if test "${PATH_SEPARATOR+set}" != set; then
13006   PATH_SEPARATOR=:
13007   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13008     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13009       PATH_SEPARATOR=';'
13010   }
13011 fi
13012
13013
13014 # IFS
13015 # We need space, tab and new line, in precisely that order.  Quoting is
13016 # there to prevent editors from complaining about space-tab.
13017 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13018 # splitting by setting IFS to empty value.)
13019 IFS=" ""        $as_nl"
13020
13021 # Find who we are.  Look in the path if we contain no directory separator.
13022 case $0 in #((
13023   *[\\/]* ) as_myself=$0 ;;
13024   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13025 for as_dir in $PATH
13026 do
13027   IFS=$as_save_IFS
13028   test -z "$as_dir" && as_dir=.
13029     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13030   done
13031 IFS=$as_save_IFS
13032
13033      ;;
13034 esac
13035 # We did not find ourselves, most probably we were run as `sh COMMAND'
13036 # in which case we are not to be found in the path.
13037 if test "x$as_myself" = x; then
13038   as_myself=$0
13039 fi
13040 if test ! -f "$as_myself"; then
13041   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13042   exit 1
13043 fi
13044
13045 # Unset variables that we do not need and which cause bugs (e.g. in
13046 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13047 # suppresses any "Segmentation fault" message there.  '((' could
13048 # trigger a bug in pdksh 5.2.14.
13049 for as_var in BASH_ENV ENV MAIL MAILPATH
13050 do eval test x\${$as_var+set} = xset \
13051   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13052 done
13053 PS1='$ '
13054 PS2='> '
13055 PS4='+ '
13056
13057 # NLS nuisances.
13058 LC_ALL=C
13059 export LC_ALL
13060 LANGUAGE=C
13061 export LANGUAGE
13062
13063 # CDPATH.
13064 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13065
13066
13067 # as_fn_error ERROR [LINENO LOG_FD]
13068 # ---------------------------------
13069 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13070 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13071 # script with status $?, using 1 if that was 0.
13072 as_fn_error ()
13073 {
13074   as_status=$?; test $as_status -eq 0 && as_status=1
13075   if test "$3"; then
13076     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13077     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13078   fi
13079   $as_echo "$as_me: error: $1" >&2
13080   as_fn_exit $as_status
13081 } # as_fn_error
13082
13083
13084 # as_fn_set_status STATUS
13085 # -----------------------
13086 # Set $? to STATUS, without forking.
13087 as_fn_set_status ()
13088 {
13089   return $1
13090 } # as_fn_set_status
13091
13092 # as_fn_exit STATUS
13093 # -----------------
13094 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13095 as_fn_exit ()
13096 {
13097   set +e
13098   as_fn_set_status $1
13099   exit $1
13100 } # as_fn_exit
13101
13102 # as_fn_unset VAR
13103 # ---------------
13104 # Portably unset VAR.
13105 as_fn_unset ()
13106 {
13107   { eval $1=; unset $1;}
13108 }
13109 as_unset=as_fn_unset
13110 # as_fn_append VAR VALUE
13111 # ----------------------
13112 # Append the text in VALUE to the end of the definition contained in VAR. Take
13113 # advantage of any shell optimizations that allow amortized linear growth over
13114 # repeated appends, instead of the typical quadratic growth present in naive
13115 # implementations.
13116 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13117   eval 'as_fn_append ()
13118   {
13119     eval $1+=\$2
13120   }'
13121 else
13122   as_fn_append ()
13123   {
13124     eval $1=\$$1\$2
13125   }
13126 fi # as_fn_append
13127
13128 # as_fn_arith ARG...
13129 # ------------------
13130 # Perform arithmetic evaluation on the ARGs, and store the result in the
13131 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13132 # must be portable across $(()) and expr.
13133 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13134   eval 'as_fn_arith ()
13135   {
13136     as_val=$(( $* ))
13137   }'
13138 else
13139   as_fn_arith ()
13140   {
13141     as_val=`expr "$@" || test $? -eq 1`
13142   }
13143 fi # as_fn_arith
13144
13145
13146 if expr a : '\(a\)' >/dev/null 2>&1 &&
13147    test "X`expr 00001 : '.*\(...\)'`" = X001; then
13148   as_expr=expr
13149 else
13150   as_expr=false
13151 fi
13152
13153 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13154   as_basename=basename
13155 else
13156   as_basename=false
13157 fi
13158
13159 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13160   as_dirname=dirname
13161 else
13162   as_dirname=false
13163 fi
13164
13165 as_me=`$as_basename -- "$0" ||
13166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13167          X"$0" : 'X\(//\)$' \| \
13168          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13169 $as_echo X/"$0" |
13170     sed '/^.*\/\([^/][^/]*\)\/*$/{
13171             s//\1/
13172             q
13173           }
13174           /^X\/\(\/\/\)$/{
13175             s//\1/
13176             q
13177           }
13178           /^X\/\(\/\).*/{
13179             s//\1/
13180             q
13181           }
13182           s/.*/./; q'`
13183
13184 # Avoid depending upon Character Ranges.
13185 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13186 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13187 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13188 as_cr_digits='0123456789'
13189 as_cr_alnum=$as_cr_Letters$as_cr_digits
13190
13191 ECHO_C= ECHO_N= ECHO_T=
13192 case `echo -n x` in #(((((
13193 -n*)
13194   case `echo 'xy\c'` in
13195   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13196   xy)  ECHO_C='\c';;
13197   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13198        ECHO_T=' ';;
13199   esac;;
13200 *)
13201   ECHO_N='-n';;
13202 esac
13203
13204 rm -f conf$$ conf$$.exe conf$$.file
13205 if test -d conf$$.dir; then
13206   rm -f conf$$.dir/conf$$.file
13207 else
13208   rm -f conf$$.dir
13209   mkdir conf$$.dir 2>/dev/null
13210 fi
13211 if (echo >conf$$.file) 2>/dev/null; then
13212   if ln -s conf$$.file conf$$ 2>/dev/null; then
13213     as_ln_s='ln -s'
13214     # ... but there are two gotchas:
13215     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13216     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13217     # In both cases, we have to default to `cp -p'.
13218     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13219       as_ln_s='cp -p'
13220   elif ln conf$$.file conf$$ 2>/dev/null; then
13221     as_ln_s=ln
13222   else
13223     as_ln_s='cp -p'
13224   fi
13225 else
13226   as_ln_s='cp -p'
13227 fi
13228 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13229 rmdir conf$$.dir 2>/dev/null
13230
13231
13232 # as_fn_mkdir_p
13233 # -------------
13234 # Create "$as_dir" as a directory, including parents if necessary.
13235 as_fn_mkdir_p ()
13236 {
13237
13238   case $as_dir in #(
13239   -*) as_dir=./$as_dir;;
13240   esac
13241   test -d "$as_dir" || eval $as_mkdir_p || {
13242     as_dirs=
13243     while :; do
13244       case $as_dir in #(
13245       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13246       *) as_qdir=$as_dir;;
13247       esac
13248       as_dirs="'$as_qdir' $as_dirs"
13249       as_dir=`$as_dirname -- "$as_dir" ||
13250 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13251          X"$as_dir" : 'X\(//\)[^/]' \| \
13252          X"$as_dir" : 'X\(//\)$' \| \
13253          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13254 $as_echo X"$as_dir" |
13255     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13256             s//\1/
13257             q
13258           }
13259           /^X\(\/\/\)[^/].*/{
13260             s//\1/
13261             q
13262           }
13263           /^X\(\/\/\)$/{
13264             s//\1/
13265             q
13266           }
13267           /^X\(\/\).*/{
13268             s//\1/
13269             q
13270           }
13271           s/.*/./; q'`
13272       test -d "$as_dir" && break
13273     done
13274     test -z "$as_dirs" || eval "mkdir $as_dirs"
13275   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13276
13277
13278 } # as_fn_mkdir_p
13279 if mkdir -p . 2>/dev/null; then
13280   as_mkdir_p='mkdir -p "$as_dir"'
13281 else
13282   test -d ./-p && rmdir ./-p
13283   as_mkdir_p=false
13284 fi
13285
13286 if test -x / >/dev/null 2>&1; then
13287   as_test_x='test -x'
13288 else
13289   if ls -dL / >/dev/null 2>&1; then
13290     as_ls_L_option=L
13291   else
13292     as_ls_L_option=
13293   fi
13294   as_test_x='
13295     eval sh -c '\''
13296       if test -d "$1"; then
13297         test -d "$1/.";
13298       else
13299         case $1 in #(
13300         -*)set "./$1";;
13301         esac;
13302         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13303         ???[sx]*):;;*)false;;esac;fi
13304     '\'' sh
13305   '
13306 fi
13307 as_executable_p=$as_test_x
13308
13309 # Sed expression to map a string onto a valid CPP name.
13310 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13311
13312 # Sed expression to map a string onto a valid variable name.
13313 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13314
13315
13316 exec 6>&1
13317 ## ----------------------------------- ##
13318 ## Main body of $CONFIG_STATUS script. ##
13319 ## ----------------------------------- ##
13320 _ASEOF
13321 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13322
13323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13324 # Save the log message, to keep $0 and so on meaningful, and to
13325 # report actual input values of CONFIG_FILES etc. instead of their
13326 # values after options handling.
13327 ac_log="
13328 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
13329 generated by GNU Autoconf 2.64.  Invocation command line was
13330
13331   CONFIG_FILES    = $CONFIG_FILES
13332   CONFIG_HEADERS  = $CONFIG_HEADERS
13333   CONFIG_LINKS    = $CONFIG_LINKS
13334   CONFIG_COMMANDS = $CONFIG_COMMANDS
13335   $ $0 $@
13336
13337 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13338 "
13339
13340 _ACEOF
13341
13342 case $ac_config_files in *"
13343 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13344 esac
13345
13346 case $ac_config_headers in *"
13347 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13348 esac
13349
13350
13351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13352 # Files that config.status was made for.
13353 config_files="$ac_config_files"
13354 config_headers="$ac_config_headers"
13355 config_commands="$ac_config_commands"
13356
13357 _ACEOF
13358
13359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13360 ac_cs_usage="\
13361 \`$as_me' instantiates files and other configuration actions
13362 from templates according to the current configuration.  Unless the files
13363 and actions are specified as TAGs, all are instantiated by default.
13364
13365 Usage: $0 [OPTION]... [TAG]...
13366
13367   -h, --help       print this help, then exit
13368   -V, --version    print version number and configuration settings, then exit
13369   -q, --quiet, --silent
13370                    do not print progress messages
13371   -d, --debug      don't remove temporary files
13372       --recheck    update $as_me by reconfiguring in the same conditions
13373       --file=FILE[:TEMPLATE]
13374                    instantiate the configuration file FILE
13375       --header=FILE[:TEMPLATE]
13376                    instantiate the configuration header FILE
13377
13378 Configuration files:
13379 $config_files
13380
13381 Configuration headers:
13382 $config_headers
13383
13384 Configuration commands:
13385 $config_commands
13386
13387 Report bugs to the package provider."
13388
13389 _ACEOF
13390 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13391 ac_cs_version="\\
13392 GCC Quad-precision Math Library config.status 0.1
13393 configured by $0, generated by GNU Autoconf 2.64,
13394   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13395
13396 Copyright (C) 2009 Free Software Foundation, Inc.
13397 This config.status script is free software; the Free Software Foundation
13398 gives unlimited permission to copy, distribute and modify it."
13399
13400 ac_pwd='$ac_pwd'
13401 srcdir='$srcdir'
13402 INSTALL='$INSTALL'
13403 MKDIR_P='$MKDIR_P'
13404 AWK='$AWK'
13405 test -n "\$AWK" || AWK=awk
13406 _ACEOF
13407
13408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13409 # The default lists apply if the user does not specify any file.
13410 ac_need_defaults=:
13411 while test $# != 0
13412 do
13413   case $1 in
13414   --*=*)
13415     ac_option=`expr "X$1" : 'X\([^=]*\)='`
13416     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13417     ac_shift=:
13418     ;;
13419   *)
13420     ac_option=$1
13421     ac_optarg=$2
13422     ac_shift=shift
13423     ;;
13424   esac
13425
13426   case $ac_option in
13427   # Handling of the options.
13428   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13429     ac_cs_recheck=: ;;
13430   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13431     $as_echo "$ac_cs_version"; exit ;;
13432   --debug | --debu | --deb | --de | --d | -d )
13433     debug=: ;;
13434   --file | --fil | --fi | --f )
13435     $ac_shift
13436     case $ac_optarg in
13437     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13438     esac
13439     as_fn_append CONFIG_FILES " '$ac_optarg'"
13440     ac_need_defaults=false;;
13441   --header | --heade | --head | --hea )
13442     $ac_shift
13443     case $ac_optarg in
13444     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13445     esac
13446     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13447     ac_need_defaults=false;;
13448   --he | --h)
13449     # Conflict between --help and --header
13450     as_fn_error "ambiguous option: \`$1'
13451 Try \`$0 --help' for more information.";;
13452   --help | --hel | -h )
13453     $as_echo "$ac_cs_usage"; exit ;;
13454   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13455   | -silent | --silent | --silen | --sile | --sil | --si | --s)
13456     ac_cs_silent=: ;;
13457
13458   # This is an error.
13459   -*) as_fn_error "unrecognized option: \`$1'
13460 Try \`$0 --help' for more information." ;;
13461
13462   *) as_fn_append ac_config_targets " $1"
13463      ac_need_defaults=false ;;
13464
13465   esac
13466   shift
13467 done
13468
13469 ac_configure_extra_args=
13470
13471 if $ac_cs_silent; then
13472   exec 6>/dev/null
13473   ac_configure_extra_args="$ac_configure_extra_args --silent"
13474 fi
13475
13476 _ACEOF
13477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13478 if \$ac_cs_recheck; then
13479   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13480   shift
13481   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13482   CONFIG_SHELL='$SHELL'
13483   export CONFIG_SHELL
13484   exec "\$@"
13485 fi
13486
13487 _ACEOF
13488 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13489 exec 5>>config.log
13490 {
13491   echo
13492   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13493 ## Running $as_me. ##
13494 _ASBOX
13495   $as_echo "$ac_log"
13496 } >&5
13497
13498 _ACEOF
13499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13500 #
13501 # INIT-COMMANDS
13502 #
13503 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13504
13505
13506 # The HP-UX ksh and POSIX shell print the target directory to stdout
13507 # if CDPATH is set.
13508 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13509
13510 sed_quote_subst='$sed_quote_subst'
13511 double_quote_subst='$double_quote_subst'
13512 delay_variable_subst='$delay_variable_subst'
13513 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13514 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13515 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13516 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13517 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13518 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13519 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13520 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13521 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13522 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13523 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13524 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13525 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13526 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13527 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13528 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13529 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13530 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13531 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13532 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13533 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13534 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13535 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13536 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13537 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13538 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13539 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13540 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13541 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13542 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13543 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13544 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13545 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13546 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13547 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13548 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13549 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13550 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13551 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13552 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13553 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13554 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13555 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13556 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13557 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13558 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13559 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13560 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13561 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"`'
13562 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13563 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13564 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13565 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13566 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13567 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13568 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13569 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13570 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13571 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13572 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13573 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13574 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13575 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13576 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13577 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13578 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13579 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13580 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13581 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13582 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13583 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13584 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13585 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13586 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13587 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13588 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13589 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13590 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13591 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13592 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13593 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13594 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13595 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13596 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13597 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13598 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13599 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13600 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13601 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13602 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
13603 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13604 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13605 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13606 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13607 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13608 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13609 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13610 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13611 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13612 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13613 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13614 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13615 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13616 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13617 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13618 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13619 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13620 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13621 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13622 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13623 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13624 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13625 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13626 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13627 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13628 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13629 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13630 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13631 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13632 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13633
13634 LTCC='$LTCC'
13635 LTCFLAGS='$LTCFLAGS'
13636 compiler='$compiler_DEFAULT'
13637
13638 # A function that is used when there is no print builtin or printf.
13639 func_fallback_echo ()
13640 {
13641   eval 'cat <<_LTECHO_EOF
13642 \$1
13643 _LTECHO_EOF'
13644 }
13645
13646 # Quote evaled strings.
13647 for var in SHELL \
13648 ECHO \
13649 SED \
13650 GREP \
13651 EGREP \
13652 FGREP \
13653 LD \
13654 NM \
13655 LN_S \
13656 lt_SP2NL \
13657 lt_NL2SP \
13658 reload_flag \
13659 OBJDUMP \
13660 deplibs_check_method \
13661 file_magic_cmd \
13662 AR \
13663 AR_FLAGS \
13664 STRIP \
13665 RANLIB \
13666 CC \
13667 CFLAGS \
13668 compiler \
13669 lt_cv_sys_global_symbol_pipe \
13670 lt_cv_sys_global_symbol_to_cdecl \
13671 lt_cv_sys_global_symbol_to_c_name_address \
13672 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13673 lt_prog_compiler_no_builtin_flag \
13674 lt_prog_compiler_wl \
13675 lt_prog_compiler_pic \
13676 lt_prog_compiler_static \
13677 lt_cv_prog_compiler_c_o \
13678 need_locks \
13679 DSYMUTIL \
13680 NMEDIT \
13681 LIPO \
13682 OTOOL \
13683 OTOOL64 \
13684 shrext_cmds \
13685 export_dynamic_flag_spec \
13686 whole_archive_flag_spec \
13687 compiler_needs_object \
13688 with_gnu_ld \
13689 allow_undefined_flag \
13690 no_undefined_flag \
13691 hardcode_libdir_flag_spec \
13692 hardcode_libdir_flag_spec_ld \
13693 hardcode_libdir_separator \
13694 fix_srcfile_path \
13695 exclude_expsyms \
13696 include_expsyms \
13697 file_list_spec \
13698 variables_saved_for_relink \
13699 libname_spec \
13700 library_names_spec \
13701 soname_spec \
13702 install_override_mode \
13703 finish_eval \
13704 old_striplib \
13705 striplib; do
13706     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13707     *[\\\\\\\`\\"\\\$]*)
13708       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13709       ;;
13710     *)
13711       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13712       ;;
13713     esac
13714 done
13715
13716 # Double-quote double-evaled strings.
13717 for var in reload_cmds \
13718 old_postinstall_cmds \
13719 old_postuninstall_cmds \
13720 old_archive_cmds \
13721 extract_expsyms_cmds \
13722 old_archive_from_new_cmds \
13723 old_archive_from_expsyms_cmds \
13724 archive_cmds \
13725 archive_expsym_cmds \
13726 module_cmds \
13727 module_expsym_cmds \
13728 export_symbols_cmds \
13729 prelink_cmds \
13730 postinstall_cmds \
13731 postuninstall_cmds \
13732 finish_cmds \
13733 sys_lib_search_path_spec \
13734 sys_lib_dlsearch_path_spec; do
13735     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13736     *[\\\\\\\`\\"\\\$]*)
13737       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13738       ;;
13739     *)
13740       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13741       ;;
13742     esac
13743 done
13744
13745 ac_aux_dir='$ac_aux_dir'
13746 xsi_shell='$xsi_shell'
13747 lt_shell_append='$lt_shell_append'
13748
13749 # See if we are running on zsh, and set the options which allow our
13750 # commands through without removal of \ escapes INIT.
13751 if test -n "\${ZSH_VERSION+set}" ; then
13752    setopt NO_GLOB_SUBST
13753 fi
13754
13755
13756     PACKAGE='$PACKAGE'
13757     VERSION='$VERSION'
13758     TIMESTAMP='$TIMESTAMP'
13759     RM='$RM'
13760     ofile='$ofile'
13761
13762
13763
13764
13765 srcdir="$srcdir"
13766 host="$host"
13767 target="$target"
13768 with_multisubdir="$with_multisubdir"
13769 with_multisrctop="$with_multisrctop"
13770 with_target_subdir="$with_target_subdir"
13771 ac_configure_args="${multilib_arg} ${ac_configure_args}"
13772 multi_basedir="$multi_basedir"
13773 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
13774 CC="$CC"
13775 CXX="$CXX"
13776 GFORTRAN="$GFORTRAN"
13777 GCJ="$GCJ"
13778
13779 _ACEOF
13780
13781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13782
13783 # Handling of arguments.
13784 for ac_config_target in $ac_config_targets
13785 do
13786   case $ac_config_target in
13787     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13788     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13789     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13790     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13791     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13792
13793   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13794   esac
13795 done
13796
13797
13798 # If the user did not use the arguments to specify the items to instantiate,
13799 # then the envvar interface is used.  Set only those that are not.
13800 # We use the long form for the default assignment because of an extremely
13801 # bizarre bug on SunOS 4.1.3.
13802 if $ac_need_defaults; then
13803   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13804   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13805   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13806 fi
13807
13808 # Have a temporary directory for convenience.  Make it in the build tree
13809 # simply because there is no reason against having it here, and in addition,
13810 # creating and moving files from /tmp can sometimes cause problems.
13811 # Hook for its removal unless debugging.
13812 # Note that there is a small window in which the directory will not be cleaned:
13813 # after its creation but before its name has been assigned to `$tmp'.
13814 $debug ||
13815 {
13816   tmp=
13817   trap 'exit_status=$?
13818   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13819 ' 0
13820   trap 'as_fn_exit 1' 1 2 13 15
13821 }
13822 # Create a (secure) tmp directory for tmp files.
13823
13824 {
13825   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13826   test -n "$tmp" && test -d "$tmp"
13827 }  ||
13828 {
13829   tmp=./conf$$-$RANDOM
13830   (umask 077 && mkdir "$tmp")
13831 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13832
13833 # Set up the scripts for CONFIG_FILES section.
13834 # No need to generate them if there are no CONFIG_FILES.
13835 # This happens for instance with `./config.status config.h'.
13836 if test -n "$CONFIG_FILES"; then
13837
13838
13839 ac_cr=`echo X | tr X '\015'`
13840 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13841 # But we know of no other shell where ac_cr would be empty at this
13842 # point, so we can use a bashism as a fallback.
13843 if test "x$ac_cr" = x; then
13844   eval ac_cr=\$\'\\r\'
13845 fi
13846 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13847 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13848   ac_cs_awk_cr='\r'
13849 else
13850   ac_cs_awk_cr=$ac_cr
13851 fi
13852
13853 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13854 _ACEOF
13855
13856
13857 {
13858   echo "cat >conf$$subs.awk <<_ACEOF" &&
13859   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13860   echo "_ACEOF"
13861 } >conf$$subs.sh ||
13862   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13863 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13864 ac_delim='%!_!# '
13865 for ac_last_try in false false false false false :; do
13866   . ./conf$$subs.sh ||
13867     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13868
13869   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13870   if test $ac_delim_n = $ac_delim_num; then
13871     break
13872   elif $ac_last_try; then
13873     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13874   else
13875     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13876   fi
13877 done
13878 rm -f conf$$subs.sh
13879
13880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13881 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13882 _ACEOF
13883 sed -n '
13884 h
13885 s/^/S["/; s/!.*/"]=/
13886 p
13887 g
13888 s/^[^!]*!//
13889 :repl
13890 t repl
13891 s/'"$ac_delim"'$//
13892 t delim
13893 :nl
13894 h
13895 s/\(.\{148\}\).*/\1/
13896 t more1
13897 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13898 p
13899 n
13900 b repl
13901 :more1
13902 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13903 p
13904 g
13905 s/.\{148\}//
13906 t nl
13907 :delim
13908 h
13909 s/\(.\{148\}\).*/\1/
13910 t more2
13911 s/["\\]/\\&/g; s/^/"/; s/$/"/
13912 p
13913 b
13914 :more2
13915 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13916 p
13917 g
13918 s/.\{148\}//
13919 t delim
13920 ' <conf$$subs.awk | sed '
13921 /^[^""]/{
13922   N
13923   s/\n//
13924 }
13925 ' >>$CONFIG_STATUS || ac_write_fail=1
13926 rm -f conf$$subs.awk
13927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13928 _ACAWK
13929 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13930   for (key in S) S_is_set[key] = 1
13931   FS = "\a"
13932
13933 }
13934 {
13935   line = $ 0
13936   nfields = split(line, field, "@")
13937   substed = 0
13938   len = length(field[1])
13939   for (i = 2; i < nfields; i++) {
13940     key = field[i]
13941     keylen = length(key)
13942     if (S_is_set[key]) {
13943       value = S[key]
13944       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13945       len += length(value) + length(field[++i])
13946       substed = 1
13947     } else
13948       len += 1 + keylen
13949   }
13950
13951   print line
13952 }
13953
13954 _ACAWK
13955 _ACEOF
13956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13957 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13958   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13959 else
13960   cat
13961 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13962   || as_fn_error "could not setup config files machinery" "$LINENO" 5
13963 _ACEOF
13964
13965 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13966 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13967 # trailing colons and then remove the whole line if VPATH becomes empty
13968 # (actually we leave an empty line to preserve line numbers).
13969 if test "x$srcdir" = x.; then
13970   ac_vpsub='/^[  ]*VPATH[        ]*=/{
13971 s/:*\$(srcdir):*/:/
13972 s/:*\${srcdir}:*/:/
13973 s/:*@srcdir@:*/:/
13974 s/^\([^=]*=[     ]*\):*/\1/
13975 s/:*$//
13976 s/^[^=]*=[       ]*$//
13977 }'
13978 fi
13979
13980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13981 fi # test -n "$CONFIG_FILES"
13982
13983 # Set up the scripts for CONFIG_HEADERS section.
13984 # No need to generate them if there are no CONFIG_HEADERS.
13985 # This happens for instance with `./config.status Makefile'.
13986 if test -n "$CONFIG_HEADERS"; then
13987 cat >"$tmp/defines.awk" <<\_ACAWK ||
13988 BEGIN {
13989 _ACEOF
13990
13991 # Transform confdefs.h into an awk script `defines.awk', embedded as
13992 # here-document in config.status, that substitutes the proper values into
13993 # config.h.in to produce config.h.
13994
13995 # Create a delimiter string that does not exist in confdefs.h, to ease
13996 # handling of long lines.
13997 ac_delim='%!_!# '
13998 for ac_last_try in false false :; do
13999   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14000   if test -z "$ac_t"; then
14001     break
14002   elif $ac_last_try; then
14003     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14004   else
14005     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14006   fi
14007 done
14008
14009 # For the awk script, D is an array of macro values keyed by name,
14010 # likewise P contains macro parameters if any.  Preserve backslash
14011 # newline sequences.
14012
14013 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14014 sed -n '
14015 s/.\{148\}/&'"$ac_delim"'/g
14016 t rset
14017 :rset
14018 s/^[     ]*#[    ]*define[       ][      ]*/ /
14019 t def
14020 d
14021 :def
14022 s/\\$//
14023 t bsnl
14024 s/["\\]/\\&/g
14025 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14026 D["\1"]=" \3"/p
14027 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14028 d
14029 :bsnl
14030 s/["\\]/\\&/g
14031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14032 D["\1"]=" \3\\\\\\n"\\/p
14033 t cont
14034 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14035 t cont
14036 d
14037 :cont
14038 n
14039 s/.\{148\}/&'"$ac_delim"'/g
14040 t clear
14041 :clear
14042 s/\\$//
14043 t bsnlc
14044 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14045 d
14046 :bsnlc
14047 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14048 b cont
14049 ' <confdefs.h | sed '
14050 s/'"$ac_delim"'/"\\\
14051 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14052
14053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14054   for (key in D) D_is_set[key] = 1
14055   FS = "\a"
14056 }
14057 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14058   line = \$ 0
14059   split(line, arg, " ")
14060   if (arg[1] == "#") {
14061     defundef = arg[2]
14062     mac1 = arg[3]
14063   } else {
14064     defundef = substr(arg[1], 2)
14065     mac1 = arg[2]
14066   }
14067   split(mac1, mac2, "(") #)
14068   macro = mac2[1]
14069   prefix = substr(line, 1, index(line, defundef) - 1)
14070   if (D_is_set[macro]) {
14071     # Preserve the white space surrounding the "#".
14072     print prefix "define", macro P[macro] D[macro]
14073     next
14074   } else {
14075     # Replace #undef with comments.  This is necessary, for example,
14076     # in the case of _POSIX_SOURCE, which is predefined and required
14077     # on some systems where configure will not decide to define it.
14078     if (defundef == "undef") {
14079       print "/*", prefix defundef, macro, "*/"
14080       next
14081     }
14082   }
14083 }
14084 { print }
14085 _ACAWK
14086 _ACEOF
14087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14088   as_fn_error "could not setup config headers machinery" "$LINENO" 5
14089 fi # test -n "$CONFIG_HEADERS"
14090
14091
14092 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14093 shift
14094 for ac_tag
14095 do
14096   case $ac_tag in
14097   :[FHLC]) ac_mode=$ac_tag; continue;;
14098   esac
14099   case $ac_mode$ac_tag in
14100   :[FHL]*:*);;
14101   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14102   :[FH]-) ac_tag=-:-;;
14103   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14104   esac
14105   ac_save_IFS=$IFS
14106   IFS=:
14107   set x $ac_tag
14108   IFS=$ac_save_IFS
14109   shift
14110   ac_file=$1
14111   shift
14112
14113   case $ac_mode in
14114   :L) ac_source=$1;;
14115   :[FH])
14116     ac_file_inputs=
14117     for ac_f
14118     do
14119       case $ac_f in
14120       -) ac_f="$tmp/stdin";;
14121       *) # Look for the file first in the build tree, then in the source tree
14122          # (if the path is not absolute).  The absolute path cannot be DOS-style,
14123          # because $ac_f cannot contain `:'.
14124          test -f "$ac_f" ||
14125            case $ac_f in
14126            [\\/$]*) false;;
14127            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14128            esac ||
14129            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14130       esac
14131       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14132       as_fn_append ac_file_inputs " '$ac_f'"
14133     done
14134
14135     # Let's still pretend it is `configure' which instantiates (i.e., don't
14136     # use $as_me), people would be surprised to read:
14137     #    /* config.h.  Generated by config.status.  */
14138     configure_input='Generated from '`
14139           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14140         `' by configure.'
14141     if test x"$ac_file" != x-; then
14142       configure_input="$ac_file.  $configure_input"
14143       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14144 $as_echo "$as_me: creating $ac_file" >&6;}
14145     fi
14146     # Neutralize special characters interpreted by sed in replacement strings.
14147     case $configure_input in #(
14148     *\&* | *\|* | *\\* )
14149        ac_sed_conf_input=`$as_echo "$configure_input" |
14150        sed 's/[\\\\&|]/\\\\&/g'`;; #(
14151     *) ac_sed_conf_input=$configure_input;;
14152     esac
14153
14154     case $ac_tag in
14155     *:-:* | *:-) cat >"$tmp/stdin" \
14156       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14157     esac
14158     ;;
14159   esac
14160
14161   ac_dir=`$as_dirname -- "$ac_file" ||
14162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14163          X"$ac_file" : 'X\(//\)[^/]' \| \
14164          X"$ac_file" : 'X\(//\)$' \| \
14165          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14166 $as_echo X"$ac_file" |
14167     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14168             s//\1/
14169             q
14170           }
14171           /^X\(\/\/\)[^/].*/{
14172             s//\1/
14173             q
14174           }
14175           /^X\(\/\/\)$/{
14176             s//\1/
14177             q
14178           }
14179           /^X\(\/\).*/{
14180             s//\1/
14181             q
14182           }
14183           s/.*/./; q'`
14184   as_dir="$ac_dir"; as_fn_mkdir_p
14185   ac_builddir=.
14186
14187 case "$ac_dir" in
14188 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14189 *)
14190   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14191   # A ".." for each directory in $ac_dir_suffix.
14192   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14193   case $ac_top_builddir_sub in
14194   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14195   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14196   esac ;;
14197 esac
14198 ac_abs_top_builddir=$ac_pwd
14199 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14200 # for backward compatibility:
14201 ac_top_builddir=$ac_top_build_prefix
14202
14203 case $srcdir in
14204   .)  # We are building in place.
14205     ac_srcdir=.
14206     ac_top_srcdir=$ac_top_builddir_sub
14207     ac_abs_top_srcdir=$ac_pwd ;;
14208   [\\/]* | ?:[\\/]* )  # Absolute name.
14209     ac_srcdir=$srcdir$ac_dir_suffix;
14210     ac_top_srcdir=$srcdir
14211     ac_abs_top_srcdir=$srcdir ;;
14212   *) # Relative name.
14213     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14214     ac_top_srcdir=$ac_top_build_prefix$srcdir
14215     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14216 esac
14217 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14218
14219
14220   case $ac_mode in
14221   :F)
14222   #
14223   # CONFIG_FILE
14224   #
14225
14226   case $INSTALL in
14227   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14228   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14229   esac
14230   ac_MKDIR_P=$MKDIR_P
14231   case $MKDIR_P in
14232   [\\/$]* | ?:[\\/]* ) ;;
14233   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14234   esac
14235 _ACEOF
14236
14237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14238 # If the template does not know about datarootdir, expand it.
14239 # FIXME: This hack should be removed a few years after 2.60.
14240 ac_datarootdir_hack=; ac_datarootdir_seen=
14241 ac_sed_dataroot='
14242 /datarootdir/ {
14243   p
14244   q
14245 }
14246 /@datadir@/p
14247 /@docdir@/p
14248 /@infodir@/p
14249 /@localedir@/p
14250 /@mandir@/p'
14251 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14252 *datarootdir*) ac_datarootdir_seen=yes;;
14253 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14254   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14255 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14256 _ACEOF
14257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14258   ac_datarootdir_hack='
14259   s&@datadir@&$datadir&g
14260   s&@docdir@&$docdir&g
14261   s&@infodir@&$infodir&g
14262   s&@localedir@&$localedir&g
14263   s&@mandir@&$mandir&g
14264   s&\\\${datarootdir}&$datarootdir&g' ;;
14265 esac
14266 _ACEOF
14267
14268 # Neutralize VPATH when `$srcdir' = `.'.
14269 # Shell code in configure.ac might set extrasub.
14270 # FIXME: do we really want to maintain this feature?
14271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14272 ac_sed_extra="$ac_vpsub
14273 $extrasub
14274 _ACEOF
14275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14276 :t
14277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14278 s|@configure_input@|$ac_sed_conf_input|;t t
14279 s&@top_builddir@&$ac_top_builddir_sub&;t t
14280 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14281 s&@srcdir@&$ac_srcdir&;t t
14282 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14283 s&@top_srcdir@&$ac_top_srcdir&;t t
14284 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14285 s&@builddir@&$ac_builddir&;t t
14286 s&@abs_builddir@&$ac_abs_builddir&;t t
14287 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14288 s&@INSTALL@&$ac_INSTALL&;t t
14289 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14290 $ac_datarootdir_hack
14291 "
14292 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14293   || as_fn_error "could not create $ac_file" "$LINENO" 5
14294
14295 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14296   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14297   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14298   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14299 which seems to be undefined.  Please make sure it is defined." >&5
14300 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14301 which seems to be undefined.  Please make sure it is defined." >&2;}
14302
14303   rm -f "$tmp/stdin"
14304   case $ac_file in
14305   -) cat "$tmp/out" && rm -f "$tmp/out";;
14306   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14307   esac \
14308   || as_fn_error "could not create $ac_file" "$LINENO" 5
14309  ;;
14310   :H)
14311   #
14312   # CONFIG_HEADER
14313   #
14314   if test x"$ac_file" != x-; then
14315     {
14316       $as_echo "/* $configure_input  */" \
14317       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14318     } >"$tmp/config.h" \
14319       || as_fn_error "could not create $ac_file" "$LINENO" 5
14320     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14321       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14322 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14323     else
14324       rm -f "$ac_file"
14325       mv "$tmp/config.h" "$ac_file" \
14326         || as_fn_error "could not create $ac_file" "$LINENO" 5
14327     fi
14328   else
14329     $as_echo "/* $configure_input  */" \
14330       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14331       || as_fn_error "could not create -" "$LINENO" 5
14332   fi
14333 # Compute "$ac_file"'s index in $config_headers.
14334 _am_arg="$ac_file"
14335 _am_stamp_count=1
14336 for _am_header in $config_headers :; do
14337   case $_am_header in
14338     $_am_arg | $_am_arg:* )
14339       break ;;
14340     * )
14341       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14342   esac
14343 done
14344 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14345 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14346          X"$_am_arg" : 'X\(//\)[^/]' \| \
14347          X"$_am_arg" : 'X\(//\)$' \| \
14348          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14349 $as_echo X"$_am_arg" |
14350     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14351             s//\1/
14352             q
14353           }
14354           /^X\(\/\/\)[^/].*/{
14355             s//\1/
14356             q
14357           }
14358           /^X\(\/\/\)$/{
14359             s//\1/
14360             q
14361           }
14362           /^X\(\/\).*/{
14363             s//\1/
14364             q
14365           }
14366           s/.*/./; q'`/stamp-h$_am_stamp_count
14367  ;;
14368
14369   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14370 $as_echo "$as_me: executing $ac_file commands" >&6;}
14371  ;;
14372   esac
14373
14374
14375   case $ac_file$ac_mode in
14376     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14377   # Autoconf 2.62 quotes --file arguments for eval, but not when files
14378   # are listed without --file.  Let's play safe and only enable the eval
14379   # if we detect the quoting.
14380   case $CONFIG_FILES in
14381   *\'*) eval set x "$CONFIG_FILES" ;;
14382   *)   set x $CONFIG_FILES ;;
14383   esac
14384   shift
14385   for mf
14386   do
14387     # Strip MF so we end up with the name of the file.
14388     mf=`echo "$mf" | sed -e 's/:.*$//'`
14389     # Check whether this is an Automake generated Makefile or not.
14390     # We used to match only the files named `Makefile.in', but
14391     # some people rename them; so instead we look at the file content.
14392     # Grep'ing the first line is not enough: some people post-process
14393     # each Makefile.in and add a new line on top of each file to say so.
14394     # Grep'ing the whole file is not good either: AIX grep has a line
14395     # limit of 2048, but all sed's we know have understand at least 4000.
14396     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14397       dirpart=`$as_dirname -- "$mf" ||
14398 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14399          X"$mf" : 'X\(//\)[^/]' \| \
14400          X"$mf" : 'X\(//\)$' \| \
14401          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14402 $as_echo X"$mf" |
14403     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14404             s//\1/
14405             q
14406           }
14407           /^X\(\/\/\)[^/].*/{
14408             s//\1/
14409             q
14410           }
14411           /^X\(\/\/\)$/{
14412             s//\1/
14413             q
14414           }
14415           /^X\(\/\).*/{
14416             s//\1/
14417             q
14418           }
14419           s/.*/./; q'`
14420     else
14421       continue
14422     fi
14423     # Extract the definition of DEPDIR, am__include, and am__quote
14424     # from the Makefile without running `make'.
14425     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14426     test -z "$DEPDIR" && continue
14427     am__include=`sed -n 's/^am__include = //p' < "$mf"`
14428     test -z "am__include" && continue
14429     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14430     # When using ansi2knr, U may be empty or an underscore; expand it
14431     U=`sed -n 's/^U = //p' < "$mf"`
14432     # Find all dependency output files, they are included files with
14433     # $(DEPDIR) in their names.  We invoke sed twice because it is the
14434     # simplest approach to changing $(DEPDIR) to its actual value in the
14435     # expansion.
14436     for file in `sed -n "
14437       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14438          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14439       # Make sure the directory exists.
14440       test -f "$dirpart/$file" && continue
14441       fdir=`$as_dirname -- "$file" ||
14442 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14443          X"$file" : 'X\(//\)[^/]' \| \
14444          X"$file" : 'X\(//\)$' \| \
14445          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14446 $as_echo X"$file" |
14447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14448             s//\1/
14449             q
14450           }
14451           /^X\(\/\/\)[^/].*/{
14452             s//\1/
14453             q
14454           }
14455           /^X\(\/\/\)$/{
14456             s//\1/
14457             q
14458           }
14459           /^X\(\/\).*/{
14460             s//\1/
14461             q
14462           }
14463           s/.*/./; q'`
14464       as_dir=$dirpart/$fdir; as_fn_mkdir_p
14465       # echo "creating $dirpart/$file"
14466       echo '# dummy' > "$dirpart/$file"
14467     done
14468   done
14469 }
14470  ;;
14471     "libtool":C)
14472
14473     # See if we are running on zsh, and set the options which allow our
14474     # commands through without removal of \ escapes.
14475     if test -n "${ZSH_VERSION+set}" ; then
14476       setopt NO_GLOB_SUBST
14477     fi
14478
14479     cfgfile="${ofile}T"
14480     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14481     $RM "$cfgfile"
14482
14483     cat <<_LT_EOF >> "$cfgfile"
14484 #! $SHELL
14485
14486 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14487 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14488 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14489 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14490 #
14491 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14492 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
14493 #   Written by Gordon Matzigkeit, 1996
14494 #
14495 #   This file is part of GNU Libtool.
14496 #
14497 # GNU Libtool is free software; you can redistribute it and/or
14498 # modify it under the terms of the GNU General Public License as
14499 # published by the Free Software Foundation; either version 2 of
14500 # the License, or (at your option) any later version.
14501 #
14502 # As a special exception to the GNU General Public License,
14503 # if you distribute this file as part of a program or library that
14504 # is built using GNU Libtool, you may include this file under the
14505 # same distribution terms that you use for the rest of that program.
14506 #
14507 # GNU Libtool is distributed in the hope that it will be useful,
14508 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14510 # GNU General Public License for more details.
14511 #
14512 # You should have received a copy of the GNU General Public License
14513 # along with GNU Libtool; see the file COPYING.  If not, a copy
14514 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14515 # obtained by writing to the Free Software Foundation, Inc.,
14516 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14517
14518
14519 # The names of the tagged configurations supported by this script.
14520 available_tags=""
14521
14522 # ### BEGIN LIBTOOL CONFIG
14523
14524 # Which release of libtool.m4 was used?
14525 macro_version=$macro_version
14526 macro_revision=$macro_revision
14527
14528 # Whether or not to build shared libraries.
14529 build_libtool_libs=$enable_shared
14530
14531 # Whether or not to build static libraries.
14532 build_old_libs=$enable_static
14533
14534 # What type of objects to build.
14535 pic_mode=$pic_mode
14536
14537 # Whether or not to optimize for fast installation.
14538 fast_install=$enable_fast_install
14539
14540 # Shell to use when invoking shell scripts.
14541 SHELL=$lt_SHELL
14542
14543 # An echo program that protects backslashes.
14544 ECHO=$lt_ECHO
14545
14546 # The host system.
14547 host_alias=$host_alias
14548 host=$host
14549 host_os=$host_os
14550
14551 # The build system.
14552 build_alias=$build_alias
14553 build=$build
14554 build_os=$build_os
14555
14556 # A sed program that does not truncate output.
14557 SED=$lt_SED
14558
14559 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14560 Xsed="\$SED -e 1s/^X//"
14561
14562 # A grep program that handles long lines.
14563 GREP=$lt_GREP
14564
14565 # An ERE matcher.
14566 EGREP=$lt_EGREP
14567
14568 # A literal string matcher.
14569 FGREP=$lt_FGREP
14570
14571 # A BSD- or MS-compatible name lister.
14572 NM=$lt_NM
14573
14574 # Whether we need soft or hard links.
14575 LN_S=$lt_LN_S
14576
14577 # What is the maximum length of a command?
14578 max_cmd_len=$max_cmd_len
14579
14580 # Object file suffix (normally "o").
14581 objext=$ac_objext
14582
14583 # Executable file suffix (normally "").
14584 exeext=$exeext
14585
14586 # whether the shell understands "unset".
14587 lt_unset=$lt_unset
14588
14589 # turn spaces into newlines.
14590 SP2NL=$lt_lt_SP2NL
14591
14592 # turn newlines into spaces.
14593 NL2SP=$lt_lt_NL2SP
14594
14595 # An object symbol dumper.
14596 OBJDUMP=$lt_OBJDUMP
14597
14598 # Method to check whether dependent libraries are shared objects.
14599 deplibs_check_method=$lt_deplibs_check_method
14600
14601 # Command to use when deplibs_check_method == "file_magic".
14602 file_magic_cmd=$lt_file_magic_cmd
14603
14604 # The archiver.
14605 AR=$lt_AR
14606 AR_FLAGS=$lt_AR_FLAGS
14607
14608 # A symbol stripping program.
14609 STRIP=$lt_STRIP
14610
14611 # Commands used to install an old-style archive.
14612 RANLIB=$lt_RANLIB
14613 old_postinstall_cmds=$lt_old_postinstall_cmds
14614 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14615
14616 # Whether to use a lock for old archive extraction.
14617 lock_old_archive_extraction=$lock_old_archive_extraction
14618
14619 # A C compiler.
14620 LTCC=$lt_CC
14621
14622 # LTCC compiler flags.
14623 LTCFLAGS=$lt_CFLAGS
14624
14625 # Take the output of nm and produce a listing of raw symbols and C names.
14626 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14627
14628 # Transform the output of nm in a proper C declaration.
14629 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14630
14631 # Transform the output of nm in a C name address pair.
14632 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14633
14634 # Transform the output of nm in a C name address pair when lib prefix is needed.
14635 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14636
14637 # The name of the directory that contains temporary libtool files.
14638 objdir=$objdir
14639
14640 # Used to examine libraries when file_magic_cmd begins with "file".
14641 MAGIC_CMD=$MAGIC_CMD
14642
14643 # Must we lock files when doing compilation?
14644 need_locks=$lt_need_locks
14645
14646 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14647 DSYMUTIL=$lt_DSYMUTIL
14648
14649 # Tool to change global to local symbols on Mac OS X.
14650 NMEDIT=$lt_NMEDIT
14651
14652 # Tool to manipulate fat objects and archives on Mac OS X.
14653 LIPO=$lt_LIPO
14654
14655 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14656 OTOOL=$lt_OTOOL
14657
14658 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14659 OTOOL64=$lt_OTOOL64
14660
14661 # Old archive suffix (normally "a").
14662 libext=$libext
14663
14664 # Shared library suffix (normally ".so").
14665 shrext_cmds=$lt_shrext_cmds
14666
14667 # The commands to extract the exported symbol list from a shared archive.
14668 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14669
14670 # Variables whose values should be saved in libtool wrapper scripts and
14671 # restored at link time.
14672 variables_saved_for_relink=$lt_variables_saved_for_relink
14673
14674 # Do we need the "lib" prefix for modules?
14675 need_lib_prefix=$need_lib_prefix
14676
14677 # Do we need a version for libraries?
14678 need_version=$need_version
14679
14680 # Library versioning type.
14681 version_type=$version_type
14682
14683 # Shared library runtime path variable.
14684 runpath_var=$runpath_var
14685
14686 # Shared library path variable.
14687 shlibpath_var=$shlibpath_var
14688
14689 # Is shlibpath searched before the hard-coded library search path?
14690 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14691
14692 # Format of library name prefix.
14693 libname_spec=$lt_libname_spec
14694
14695 # List of archive names.  First name is the real one, the rest are links.
14696 # The last name is the one that the linker finds with -lNAME
14697 library_names_spec=$lt_library_names_spec
14698
14699 # The coded name of the library, if different from the real name.
14700 soname_spec=$lt_soname_spec
14701
14702 # Permission mode override for installation of shared libraries.
14703 install_override_mode=$lt_install_override_mode
14704
14705 # Command to use after installation of a shared archive.
14706 postinstall_cmds=$lt_postinstall_cmds
14707
14708 # Command to use after uninstallation of a shared archive.
14709 postuninstall_cmds=$lt_postuninstall_cmds
14710
14711 # Commands used to finish a libtool library installation in a directory.
14712 finish_cmds=$lt_finish_cmds
14713
14714 # As "finish_cmds", except a single script fragment to be evaled but
14715 # not shown.
14716 finish_eval=$lt_finish_eval
14717
14718 # Whether we should hardcode library paths into libraries.
14719 hardcode_into_libs=$hardcode_into_libs
14720
14721 # Compile-time system search path for libraries.
14722 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14723
14724 # Run-time system search path for libraries.
14725 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14726
14727 # Whether dlopen is supported.
14728 dlopen_support=$enable_dlopen
14729
14730 # Whether dlopen of programs is supported.
14731 dlopen_self=$enable_dlopen_self
14732
14733 # Whether dlopen of statically linked programs is supported.
14734 dlopen_self_static=$enable_dlopen_self_static
14735
14736 # Commands to strip libraries.
14737 old_striplib=$lt_old_striplib
14738 striplib=$lt_striplib
14739
14740
14741 # The linker used to build libraries.
14742 LD=$lt_LD
14743
14744 # How to create reloadable object files.
14745 reload_flag=$lt_reload_flag
14746 reload_cmds=$lt_reload_cmds
14747
14748 # Commands used to build an old-style archive.
14749 old_archive_cmds=$lt_old_archive_cmds
14750
14751 # A language specific compiler.
14752 CC=$lt_compiler
14753
14754 # Is the compiler the GNU compiler?
14755 with_gcc=$GCC
14756
14757 # Compiler flag to turn off builtin functions.
14758 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14759
14760 # How to pass a linker flag through the compiler.
14761 wl=$lt_lt_prog_compiler_wl
14762
14763 # Additional compiler flags for building library objects.
14764 pic_flag=$lt_lt_prog_compiler_pic
14765
14766 # Compiler flag to prevent dynamic linking.
14767 link_static_flag=$lt_lt_prog_compiler_static
14768
14769 # Does compiler simultaneously support -c and -o options?
14770 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14771
14772 # Whether or not to add -lc for building shared libraries.
14773 build_libtool_need_lc=$archive_cmds_need_lc
14774
14775 # Whether or not to disallow shared libs when runtime libs are static.
14776 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14777
14778 # Compiler flag to allow reflexive dlopens.
14779 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14780
14781 # Compiler flag to generate shared objects directly from archives.
14782 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14783
14784 # Whether the compiler copes with passing no objects directly.
14785 compiler_needs_object=$lt_compiler_needs_object
14786
14787 # Create an old-style archive from a shared archive.
14788 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14789
14790 # Create a temporary old-style archive to link instead of a shared archive.
14791 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14792
14793 # Commands used to build a shared archive.
14794 archive_cmds=$lt_archive_cmds
14795 archive_expsym_cmds=$lt_archive_expsym_cmds
14796
14797 # Commands used to build a loadable module if different from building
14798 # a shared archive.
14799 module_cmds=$lt_module_cmds
14800 module_expsym_cmds=$lt_module_expsym_cmds
14801
14802 # Whether we are building with GNU ld or not.
14803 with_gnu_ld=$lt_with_gnu_ld
14804
14805 # Flag that allows shared libraries with undefined symbols to be built.
14806 allow_undefined_flag=$lt_allow_undefined_flag
14807
14808 # Flag that enforces no undefined symbols.
14809 no_undefined_flag=$lt_no_undefined_flag
14810
14811 # Flag to hardcode \$libdir into a binary during linking.
14812 # This must work even if \$libdir does not exist
14813 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14814
14815 # If ld is used when linking, flag to hardcode \$libdir into a binary
14816 # during linking.  This must work even if \$libdir does not exist.
14817 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14818
14819 # Whether we need a single "-rpath" flag with a separated argument.
14820 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14821
14822 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14823 # DIR into the resulting binary.
14824 hardcode_direct=$hardcode_direct
14825
14826 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14827 # DIR into the resulting binary and the resulting library dependency is
14828 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14829 # library is relocated.
14830 hardcode_direct_absolute=$hardcode_direct_absolute
14831
14832 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14833 # into the resulting binary.
14834 hardcode_minus_L=$hardcode_minus_L
14835
14836 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14837 # into the resulting binary.
14838 hardcode_shlibpath_var=$hardcode_shlibpath_var
14839
14840 # Set to "yes" if building a shared library automatically hardcodes DIR
14841 # into the library and all subsequent libraries and executables linked
14842 # against it.
14843 hardcode_automatic=$hardcode_automatic
14844
14845 # Set to yes if linker adds runtime paths of dependent libraries
14846 # to runtime path list.
14847 inherit_rpath=$inherit_rpath
14848
14849 # Whether libtool must link a program against all its dependency libraries.
14850 link_all_deplibs=$link_all_deplibs
14851
14852 # Fix the shell variable \$srcfile for the compiler.
14853 fix_srcfile_path=$lt_fix_srcfile_path
14854
14855 # Set to "yes" if exported symbols are required.
14856 always_export_symbols=$always_export_symbols
14857
14858 # The commands to list exported symbols.
14859 export_symbols_cmds=$lt_export_symbols_cmds
14860
14861 # Symbols that should not be listed in the preloaded symbols.
14862 exclude_expsyms=$lt_exclude_expsyms
14863
14864 # Symbols that must always be exported.
14865 include_expsyms=$lt_include_expsyms
14866
14867 # Commands necessary for linking programs (against libraries) with templates.
14868 prelink_cmds=$lt_prelink_cmds
14869
14870 # Specify filename containing input files.
14871 file_list_spec=$lt_file_list_spec
14872
14873 # How to hardcode a shared library path into an executable.
14874 hardcode_action=$hardcode_action
14875
14876 # ### END LIBTOOL CONFIG
14877
14878 _LT_EOF
14879
14880   case $host_os in
14881   aix3*)
14882     cat <<\_LT_EOF >> "$cfgfile"
14883 # AIX sometimes has problems with the GCC collect2 program.  For some
14884 # reason, if we set the COLLECT_NAMES environment variable, the problems
14885 # vanish in a puff of smoke.
14886 if test "X${COLLECT_NAMES+set}" != Xset; then
14887   COLLECT_NAMES=
14888   export COLLECT_NAMES
14889 fi
14890 _LT_EOF
14891     ;;
14892   esac
14893
14894
14895 ltmain="$ac_aux_dir/ltmain.sh"
14896
14897
14898   # We use sed instead of cat because bash on DJGPP gets confused if
14899   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14900   # text mode, it properly converts lines to CR/LF.  This bash problem
14901   # is reportedly fixed, but why not run on old versions too?
14902   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14903     || (rm -f "$cfgfile"; exit 1)
14904
14905   case $xsi_shell in
14906   yes)
14907     cat << \_LT_EOF >> "$cfgfile"
14908
14909 # func_dirname file append nondir_replacement
14910 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14911 # otherwise set result to NONDIR_REPLACEMENT.
14912 func_dirname ()
14913 {
14914   case ${1} in
14915     */*) func_dirname_result="${1%/*}${2}" ;;
14916     *  ) func_dirname_result="${3}" ;;
14917   esac
14918 }
14919
14920 # func_basename file
14921 func_basename ()
14922 {
14923   func_basename_result="${1##*/}"
14924 }
14925
14926 # func_dirname_and_basename file append nondir_replacement
14927 # perform func_basename and func_dirname in a single function
14928 # call:
14929 #   dirname:  Compute the dirname of FILE.  If nonempty,
14930 #             add APPEND to the result, otherwise set result
14931 #             to NONDIR_REPLACEMENT.
14932 #             value returned in "$func_dirname_result"
14933 #   basename: Compute filename of FILE.
14934 #             value retuned in "$func_basename_result"
14935 # Implementation must be kept synchronized with func_dirname
14936 # and func_basename. For efficiency, we do not delegate to
14937 # those functions but instead duplicate the functionality here.
14938 func_dirname_and_basename ()
14939 {
14940   case ${1} in
14941     */*) func_dirname_result="${1%/*}${2}" ;;
14942     *  ) func_dirname_result="${3}" ;;
14943   esac
14944   func_basename_result="${1##*/}"
14945 }
14946
14947 # func_stripname prefix suffix name
14948 # strip PREFIX and SUFFIX off of NAME.
14949 # PREFIX and SUFFIX must not contain globbing or regex special
14950 # characters, hashes, percent signs, but SUFFIX may contain a leading
14951 # dot (in which case that matches only a dot).
14952 func_stripname ()
14953 {
14954   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14955   # positional parameters, so assign one to ordinary parameter first.
14956   func_stripname_result=${3}
14957   func_stripname_result=${func_stripname_result#"${1}"}
14958   func_stripname_result=${func_stripname_result%"${2}"}
14959 }
14960
14961 # func_opt_split
14962 func_opt_split ()
14963 {
14964   func_opt_split_opt=${1%%=*}
14965   func_opt_split_arg=${1#*=}
14966 }
14967
14968 # func_lo2o object
14969 func_lo2o ()
14970 {
14971   case ${1} in
14972     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14973     *)    func_lo2o_result=${1} ;;
14974   esac
14975 }
14976
14977 # func_xform libobj-or-source
14978 func_xform ()
14979 {
14980   func_xform_result=${1%.*}.lo
14981 }
14982
14983 # func_arith arithmetic-term...
14984 func_arith ()
14985 {
14986   func_arith_result=$(( $* ))
14987 }
14988
14989 # func_len string
14990 # STRING may not start with a hyphen.
14991 func_len ()
14992 {
14993   func_len_result=${#1}
14994 }
14995
14996 _LT_EOF
14997     ;;
14998   *) # Bourne compatible functions.
14999     cat << \_LT_EOF >> "$cfgfile"
15000
15001 # func_dirname file append nondir_replacement
15002 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15003 # otherwise set result to NONDIR_REPLACEMENT.
15004 func_dirname ()
15005 {
15006   # Extract subdirectory from the argument.
15007   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
15008   if test "X$func_dirname_result" = "X${1}"; then
15009     func_dirname_result="${3}"
15010   else
15011     func_dirname_result="$func_dirname_result${2}"
15012   fi
15013 }
15014
15015 # func_basename file
15016 func_basename ()
15017 {
15018   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
15019 }
15020
15021
15022 # func_stripname prefix suffix name
15023 # strip PREFIX and SUFFIX off of NAME.
15024 # PREFIX and SUFFIX must not contain globbing or regex special
15025 # characters, hashes, percent signs, but SUFFIX may contain a leading
15026 # dot (in which case that matches only a dot).
15027 # func_strip_suffix prefix name
15028 func_stripname ()
15029 {
15030   case ${2} in
15031     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
15032     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
15033   esac
15034 }
15035
15036 # sed scripts:
15037 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15038 my_sed_long_arg='1s/^-[^=]*=//'
15039
15040 # func_opt_split
15041 func_opt_split ()
15042 {
15043   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
15044   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
15045 }
15046
15047 # func_lo2o object
15048 func_lo2o ()
15049 {
15050   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
15051 }
15052
15053 # func_xform libobj-or-source
15054 func_xform ()
15055 {
15056   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
15057 }
15058
15059 # func_arith arithmetic-term...
15060 func_arith ()
15061 {
15062   func_arith_result=`expr "$@"`
15063 }
15064
15065 # func_len string
15066 # STRING may not start with a hyphen.
15067 func_len ()
15068 {
15069   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15070 }
15071
15072 _LT_EOF
15073 esac
15074
15075 case $lt_shell_append in
15076   yes)
15077     cat << \_LT_EOF >> "$cfgfile"
15078
15079 # func_append var value
15080 # Append VALUE to the end of shell variable VAR.
15081 func_append ()
15082 {
15083   eval "$1+=\$2"
15084 }
15085 _LT_EOF
15086     ;;
15087   *)
15088     cat << \_LT_EOF >> "$cfgfile"
15089
15090 # func_append var value
15091 # Append VALUE to the end of shell variable VAR.
15092 func_append ()
15093 {
15094   eval "$1=\$$1\$2"
15095 }
15096
15097 _LT_EOF
15098     ;;
15099   esac
15100
15101
15102   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15103     || (rm -f "$cfgfile"; exit 1)
15104
15105   mv -f "$cfgfile" "$ofile" ||
15106     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15107   chmod +x "$ofile"
15108
15109  ;;
15110     "default-1":C)
15111 # Only add multilib support code if we just rebuilt the top-level
15112 # Makefile.
15113 case " $CONFIG_FILES " in
15114  *" Makefile "*)
15115    ac_file=Makefile . ${multi_basedir}/config-ml.in
15116    ;;
15117 esac ;;
15118
15119   esac
15120 done # for ac_tag
15121
15122
15123 as_fn_exit 0
15124 _ACEOF
15125 ac_clean_files=$ac_clean_files_save
15126
15127 test $ac_write_fail = 0 ||
15128   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15129
15130
15131 # configure is writing to config.log, and then calls config.status.
15132 # config.status does its own redirection, appending to config.log.
15133 # Unfortunately, on DOS this fails, as config.log is still kept open
15134 # by configure, so config.status won't be able to write to it; its
15135 # output is simply discarded.  So we exec the FD to /dev/null,
15136 # effectively closing config.log, so it can be properly (re)opened and
15137 # appended to by config.status.  When coming back to configure, we
15138 # need to make the FD available again.
15139 if test "$no_create" != yes; then
15140   ac_cs_success=:
15141   ac_config_status_args=
15142   test "$silent" = yes &&
15143     ac_config_status_args="$ac_config_status_args --quiet"
15144   exec 5>/dev/null
15145   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15146   exec 5>>config.log
15147   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15148   # would make configure fail if this is the last instruction.
15149   $ac_cs_success || as_fn_exit $?
15150 fi
15151 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15152   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15153 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15154 fi
15155