OSDN Git Service

config/ChangeLog:
[pf3gnuchains/gcc-fork.git] / libquadmath / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GCC Quad-precision Math Library 0.1.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18   emulate sh
19   NULLCMD=:
20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in #(
26   *posix*) :
27     set -o posix ;; #(
28   *) :
29      ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45   as_echo='print -r --'
46   as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in #(
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order.  Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" ""        $as_nl"
88
89 # Find who we are.  Look in the path if we contain no directory separator.
90 case $0 in #((
91   *[\\/]* ) as_myself=$0 ;;
92   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95   IFS=$as_save_IFS
96   test -z "$as_dir" && as_dir=.
97     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98   done
99 IFS=$as_save_IFS
100
101      ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106   as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110   exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there.  '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136   emulate sh
137   NULLCMD=:
138   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139   # is contrary to our usage.  Disable this feature.
140   alias -g '\${1+\"\$@\"}'='\"\$@\"'
141   setopt NO_GLOB_SUBST
142 else
143   case \`(set -o) 2>/dev/null\` in #(
144   *posix*) :
145     set -o posix ;; #(
146   *) :
147      ;;
148 esac
149 fi
150 "
151   as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165   exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
173   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
174     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
175     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     PATH=/empty FPATH=/empty; export PATH FPATH
178     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
179       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
180 test \$(( 1 + 1 )) = 2 || exit 1"
181   if (eval "$as_required") 2>/dev/null; then :
182   as_have_required=yes
183 else
184   as_have_required=no
185 fi
186   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193   IFS=$as_save_IFS
194   test -z "$as_dir" && as_dir=.
195   as_found=:
196   case $as_dir in #(
197          /*)
198            for as_base in sh bash ksh sh5; do
199              # Try only shells that exist, to save several forks.
200              as_shell=$as_dir/$as_base
201              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203   CONFIG_SHELL=$as_shell as_have_required=yes
204                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205   break 2
206 fi
207 fi
208            done;;
209        esac
210   as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214   CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219       if test "x$CONFIG_SHELL" != x; then :
220   # We cannot yet assume a decent shell, so we have to provide a
221         # neutralization value for shells without unset; and this also
222         # works around shells that cannot unset nonexistent variables.
223         BASH_ENV=/dev/null
224         ENV=/dev/null
225         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226         export CONFIG_SHELL
227         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230     if test x$as_have_required = xno; then :
231   $as_echo "$0: This script requires a shell more modern than all"
232   $as_echo "$0: the shells that I found on your system."
233   if test x${ZSH_VERSION+set} = xset ; then
234     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236   else
237     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241   fi
242   exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260   { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269   return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277   set +e
278   as_fn_set_status $1
279   exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288   case $as_dir in #(
289   -*) as_dir=./$as_dir;;
290   esac
291   test -d "$as_dir" || eval $as_mkdir_p || {
292     as_dirs=
293     while :; do
294       case $as_dir in #(
295       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296       *) as_qdir=$as_dir;;
297       esac
298       as_dirs="'$as_qdir' $as_dirs"
299       as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301          X"$as_dir" : 'X\(//\)[^/]' \| \
302          X"$as_dir" : 'X\(//\)$' \| \
303          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306             s//\1/
307             q
308           }
309           /^X\(\/\/\)[^/].*/{
310             s//\1/
311             q
312           }
313           /^X\(\/\/\)$/{
314             s//\1/
315             q
316           }
317           /^X\(\/\).*/{
318             s//\1/
319             q
320           }
321           s/.*/./; q'`
322       test -d "$as_dir" && break
323     done
324     test -z "$as_dirs" || eval "mkdir $as_dirs"
325   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336   eval 'as_fn_append ()
337   {
338     eval $1+=\$2
339   }'
340 else
341   as_fn_append ()
342   {
343     eval $1=\$$1\$2
344   }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353   eval 'as_fn_arith ()
354   {
355     as_val=$(( $* ))
356   }'
357 else
358   as_fn_arith ()
359   {
360     as_val=`expr "$@" || test $? -eq 1`
361   }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372   as_status=$?; test $as_status -eq 0 && as_status=1
373   if test "$3"; then
374     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376   fi
377   $as_echo "$as_me: error: $1" >&2
378   as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382    test "X`expr 00001 : '.*\(...\)'`" = X001; then
383   as_expr=expr
384 else
385   as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389   as_basename=basename
390 else
391   as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395   as_dirname=dirname
396 else
397   as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402          X"$0" : 'X\(//\)$' \| \
403          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405     sed '/^.*\/\([^/][^/]*\)\/*$/{
406             s//\1/
407             q
408           }
409           /^X\/\(\/\/\)$/{
410             s//\1/
411             q
412           }
413           /^X\/\(\/\).*/{
414             s//\1/
415             q
416           }
417           s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427   as_lineno_1=$LINENO as_lineno_1a=$LINENO
428   as_lineno_2=$LINENO as_lineno_2a=$LINENO
429   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432   sed -n '
433     p
434     /[$]LINENO/=
435   ' <$as_myself |
436     sed '
437       s/[$]LINENO.*/&-/
438       t lineno
439       b
440       :lineno
441       N
442       :loop
443       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444       t loop
445       s/-\n.*//
446     ' >$as_me.lineno &&
447   chmod +x "$as_me.lineno" ||
448     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450   # Don't try to exec as it changes $[0], causing all sort of problems
451   # (the dirname of $[0] is not the place where we might find the
452   # original and so on.  Autoconf is especially sensitive to this).
453   . "./$as_me.lineno"
454   # Exit status is that of the last command.
455   exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461   case `echo 'xy\c'` in
462   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463   xy)  ECHO_C='\c';;
464   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465        ECHO_T=' ';;
466   esac;;
467 *)
468   ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473   rm -f conf$$.dir/conf$$.file
474 else
475   rm -f conf$$.dir
476   mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479   if ln -s conf$$.file conf$$ 2>/dev/null; then
480     as_ln_s='ln -s'
481     # ... but there are two gotchas:
482     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484     # In both cases, we have to default to `cp -p'.
485     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486       as_ln_s='cp -p'
487   elif ln conf$$.file conf$$ 2>/dev/null; then
488     as_ln_s=ln
489   else
490     as_ln_s='cp -p'
491   fi
492 else
493   as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499   as_mkdir_p='mkdir -p "$as_dir"'
500 else
501   test -d ./-p && rmdir ./-p
502   as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506   as_test_x='test -x'
507 else
508   if ls -dL / >/dev/null 2>&1; then
509     as_ls_L_option=L
510   else
511     as_ls_L_option=
512   fi
513   as_test_x='
514     eval sh -c '\''
515       if test -d "$1"; then
516         test -d "$1/.";
517       else
518         case $1 in #(
519         -*)set "./$1";;
520         esac;
521         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522         ???[sx]*):;;*)false;;esac;fi
523     '\'' sh
524   '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='GCC Quad-precision Math Library'
558 PACKAGE_TARNAME='libquadmath'
559 PACKAGE_VERSION='0.1'
560 PACKAGE_STRING='GCC Quad-precision Math Library 0.1'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 # Factoring default headers for most tests.
565 ac_includes_default="\
566 #include <stdio.h>
567 #ifdef HAVE_SYS_TYPES_H
568 # include <sys/types.h>
569 #endif
570 #ifdef HAVE_SYS_STAT_H
571 # include <sys/stat.h>
572 #endif
573 #ifdef STDC_HEADERS
574 # include <stdlib.h>
575 # include <stddef.h>
576 #else
577 # ifdef HAVE_STDLIB_H
578 #  include <stdlib.h>
579 # endif
580 #endif
581 #ifdef HAVE_STRING_H
582 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #  include <memory.h>
584 # endif
585 # include <string.h>
586 #endif
587 #ifdef HAVE_STRINGS_H
588 # include <strings.h>
589 #endif
590 #ifdef HAVE_INTTYPES_H
591 # include <inttypes.h>
592 #endif
593 #ifdef HAVE_STDINT_H
594 # include <stdint.h>
595 #endif
596 #ifdef HAVE_UNISTD_H
597 # include <unistd.h>
598 #endif"
599
600 ac_subst_vars='am__EXEEXT_FALSE
601 am__EXEEXT_TRUE
602 LTLIBOBJS
603 LIBOBJS
604 BUILD_LIBQUADMATH_FALSE
605 BUILD_LIBQUADMATH_TRUE
606 LIBQUAD_USE_SYMVER_SUN_FALSE
607 LIBQUAD_USE_SYMVER_SUN_TRUE
608 LIBQUAD_USE_SYMVER_GNU_FALSE
609 LIBQUAD_USE_SYMVER_GNU_TRUE
610 LIBQUAD_USE_SYMVER_FALSE
611 LIBQUAD_USE_SYMVER_TRUE
612 toolexeclibdir
613 toolexecdir
614 multi_basedir
615 MAINT
616 MAINTAINER_MODE_FALSE
617 MAINTAINER_MODE_TRUE
618 enable_static
619 enable_shared
620 lt_host_flags
621 CPP
622 OTOOL64
623 OTOOL
624 LIPO
625 NMEDIT
626 DSYMUTIL
627 RANLIB
628 AR
629 OBJDUMP
630 LN_S
631 NM
632 ac_ct_DUMPBIN
633 DUMPBIN
634 LD
635 FGREP
636 EGREP
637 GREP
638 SED
639 am__fastdepCC_FALSE
640 am__fastdepCC_TRUE
641 CCDEPMODE
642 AMDEPBACKSLASH
643 AMDEP_FALSE
644 AMDEP_TRUE
645 am__quote
646 am__include
647 DEPDIR
648 OBJEXT
649 EXEEXT
650 ac_ct_CC
651 CPPFLAGS
652 LDFLAGS
653 CFLAGS
654 CC
655 LIBTOOL
656 am__untar
657 am__tar
658 AMTAR
659 am__leading_dot
660 SET_MAKE
661 AWK
662 mkdir_p
663 MKDIR_P
664 INSTALL_STRIP_PROGRAM
665 STRIP
666 install_sh
667 MAKEINFO
668 AUTOHEADER
669 AUTOMAKE
670 AUTOCONF
671 ACLOCAL
672 VERSION
673 PACKAGE
674 CYGPATH_W
675 am__isrc
676 INSTALL_DATA
677 INSTALL_SCRIPT
678 INSTALL_PROGRAM
679 target_noncanonical
680 target_os
681 target_vendor
682 target_cpu
683 target
684 host_os
685 host_vendor
686 host_cpu
687 host
688 build_os
689 build_vendor
690 build_cpu
691 build
692 target_alias
693 host_alias
694 build_alias
695 LIBS
696 ECHO_T
697 ECHO_N
698 ECHO_C
699 DEFS
700 mandir
701 localedir
702 libdir
703 psdir
704 pdfdir
705 dvidir
706 htmldir
707 infodir
708 docdir
709 oldincludedir
710 includedir
711 localstatedir
712 sharedstatedir
713 sysconfdir
714 datadir
715 datarootdir
716 libexecdir
717 sbindir
718 bindir
719 program_transform_name
720 prefix
721 exec_prefix
722 PACKAGE_URL
723 PACKAGE_BUGREPORT
724 PACKAGE_STRING
725 PACKAGE_VERSION
726 PACKAGE_TARNAME
727 PACKAGE_NAME
728 PATH_SEPARATOR
729 SHELL'
730 ac_subst_files=''
731 ac_user_opts='
732 enable_option_checking
733 enable_version_specific_runtime_libs
734 enable_shared
735 enable_static
736 with_pic
737 enable_fast_install
738 enable_dependency_tracking
739 with_gnu_ld
740 enable_libtool_lock
741 enable_maintainer_mode
742 enable_multilib
743 '
744       ac_precious_vars='build_alias
745 host_alias
746 target_alias
747 CC
748 CFLAGS
749 LDFLAGS
750 LIBS
751 CPPFLAGS
752 CPP'
753
754
755 # Initialize some variables set by options.
756 ac_init_help=
757 ac_init_version=false
758 ac_unrecognized_opts=
759 ac_unrecognized_sep=
760 # The variables have the same names as the options, with
761 # dashes changed to underlines.
762 cache_file=/dev/null
763 exec_prefix=NONE
764 no_create=
765 no_recursion=
766 prefix=NONE
767 program_prefix=NONE
768 program_suffix=NONE
769 program_transform_name=s,x,x,
770 silent=
771 site=
772 srcdir=
773 verbose=
774 x_includes=NONE
775 x_libraries=NONE
776
777 # Installation directory options.
778 # These are left unexpanded so users can "make install exec_prefix=/foo"
779 # and all the variables that are supposed to be based on exec_prefix
780 # by default will actually change.
781 # Use braces instead of parens because sh, perl, etc. also accept them.
782 # (The list follows the same order as the GNU Coding Standards.)
783 bindir='${exec_prefix}/bin'
784 sbindir='${exec_prefix}/sbin'
785 libexecdir='${exec_prefix}/libexec'
786 datarootdir='${prefix}/share'
787 datadir='${datarootdir}'
788 sysconfdir='${prefix}/etc'
789 sharedstatedir='${prefix}/com'
790 localstatedir='${prefix}/var'
791 includedir='${prefix}/include'
792 oldincludedir='/usr/include'
793 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
794 infodir='${datarootdir}/info'
795 htmldir='${docdir}'
796 dvidir='${docdir}'
797 pdfdir='${docdir}'
798 psdir='${docdir}'
799 libdir='${exec_prefix}/lib'
800 localedir='${datarootdir}/locale'
801 mandir='${datarootdir}/man'
802
803 ac_prev=
804 ac_dashdash=
805 for ac_option
806 do
807   # If the previous option needs an argument, assign it.
808   if test -n "$ac_prev"; then
809     eval $ac_prev=\$ac_option
810     ac_prev=
811     continue
812   fi
813
814   case $ac_option in
815   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816   *)    ac_optarg=yes ;;
817   esac
818
819   # Accept the important Cygnus configure options, so we can diagnose typos.
820
821   case $ac_dashdash$ac_option in
822   --)
823     ac_dashdash=yes ;;
824
825   -bindir | --bindir | --bindi | --bind | --bin | --bi)
826     ac_prev=bindir ;;
827   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
828     bindir=$ac_optarg ;;
829
830   -build | --build | --buil | --bui | --bu)
831     ac_prev=build_alias ;;
832   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
833     build_alias=$ac_optarg ;;
834
835   -cache-file | --cache-file | --cache-fil | --cache-fi \
836   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
837     ac_prev=cache_file ;;
838   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
839   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
840     cache_file=$ac_optarg ;;
841
842   --config-cache | -C)
843     cache_file=config.cache ;;
844
845   -datadir | --datadir | --datadi | --datad)
846     ac_prev=datadir ;;
847   -datadir=* | --datadir=* | --datadi=* | --datad=*)
848     datadir=$ac_optarg ;;
849
850   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
851   | --dataroo | --dataro | --datar)
852     ac_prev=datarootdir ;;
853   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
854   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
855     datarootdir=$ac_optarg ;;
856
857   -disable-* | --disable-*)
858     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
859     # Reject names that are not valid shell variable names.
860     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861       as_fn_error "invalid feature name: $ac_useropt"
862     ac_useropt_orig=$ac_useropt
863     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
864     case $ac_user_opts in
865       *"
866 "enable_$ac_useropt"
867 "*) ;;
868       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
869          ac_unrecognized_sep=', ';;
870     esac
871     eval enable_$ac_useropt=no ;;
872
873   -docdir | --docdir | --docdi | --doc | --do)
874     ac_prev=docdir ;;
875   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
876     docdir=$ac_optarg ;;
877
878   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
879     ac_prev=dvidir ;;
880   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
881     dvidir=$ac_optarg ;;
882
883   -enable-* | --enable-*)
884     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
885     # Reject names that are not valid shell variable names.
886     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
887       as_fn_error "invalid feature name: $ac_useropt"
888     ac_useropt_orig=$ac_useropt
889     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
890     case $ac_user_opts in
891       *"
892 "enable_$ac_useropt"
893 "*) ;;
894       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
895          ac_unrecognized_sep=', ';;
896     esac
897     eval enable_$ac_useropt=\$ac_optarg ;;
898
899   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
900   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
901   | --exec | --exe | --ex)
902     ac_prev=exec_prefix ;;
903   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
904   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
905   | --exec=* | --exe=* | --ex=*)
906     exec_prefix=$ac_optarg ;;
907
908   -gas | --gas | --ga | --g)
909     # Obsolete; use --with-gas.
910     with_gas=yes ;;
911
912   -help | --help | --hel | --he | -h)
913     ac_init_help=long ;;
914   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
915     ac_init_help=recursive ;;
916   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
917     ac_init_help=short ;;
918
919   -host | --host | --hos | --ho)
920     ac_prev=host_alias ;;
921   -host=* | --host=* | --hos=* | --ho=*)
922     host_alias=$ac_optarg ;;
923
924   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
925     ac_prev=htmldir ;;
926   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
927   | --ht=*)
928     htmldir=$ac_optarg ;;
929
930   -includedir | --includedir | --includedi | --included | --include \
931   | --includ | --inclu | --incl | --inc)
932     ac_prev=includedir ;;
933   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
934   | --includ=* | --inclu=* | --incl=* | --inc=*)
935     includedir=$ac_optarg ;;
936
937   -infodir | --infodir | --infodi | --infod | --info | --inf)
938     ac_prev=infodir ;;
939   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
940     infodir=$ac_optarg ;;
941
942   -libdir | --libdir | --libdi | --libd)
943     ac_prev=libdir ;;
944   -libdir=* | --libdir=* | --libdi=* | --libd=*)
945     libdir=$ac_optarg ;;
946
947   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
948   | --libexe | --libex | --libe)
949     ac_prev=libexecdir ;;
950   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
951   | --libexe=* | --libex=* | --libe=*)
952     libexecdir=$ac_optarg ;;
953
954   -localedir | --localedir | --localedi | --localed | --locale)
955     ac_prev=localedir ;;
956   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
957     localedir=$ac_optarg ;;
958
959   -localstatedir | --localstatedir | --localstatedi | --localstated \
960   | --localstate | --localstat | --localsta | --localst | --locals)
961     ac_prev=localstatedir ;;
962   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
963   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
964     localstatedir=$ac_optarg ;;
965
966   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
967     ac_prev=mandir ;;
968   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
969     mandir=$ac_optarg ;;
970
971   -nfp | --nfp | --nf)
972     # Obsolete; use --without-fp.
973     with_fp=no ;;
974
975   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
976   | --no-cr | --no-c | -n)
977     no_create=yes ;;
978
979   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
980   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
981     no_recursion=yes ;;
982
983   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
984   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
985   | --oldin | --oldi | --old | --ol | --o)
986     ac_prev=oldincludedir ;;
987   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
988   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
989   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
990     oldincludedir=$ac_optarg ;;
991
992   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
993     ac_prev=prefix ;;
994   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
995     prefix=$ac_optarg ;;
996
997   -program-prefix | --program-prefix | --program-prefi | --program-pref \
998   | --program-pre | --program-pr | --program-p)
999     ac_prev=program_prefix ;;
1000   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1001   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1002     program_prefix=$ac_optarg ;;
1003
1004   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1005   | --program-suf | --program-su | --program-s)
1006     ac_prev=program_suffix ;;
1007   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1008   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1009     program_suffix=$ac_optarg ;;
1010
1011   -program-transform-name | --program-transform-name \
1012   | --program-transform-nam | --program-transform-na \
1013   | --program-transform-n | --program-transform- \
1014   | --program-transform | --program-transfor \
1015   | --program-transfo | --program-transf \
1016   | --program-trans | --program-tran \
1017   | --progr-tra | --program-tr | --program-t)
1018     ac_prev=program_transform_name ;;
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     program_transform_name=$ac_optarg ;;
1027
1028   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1029     ac_prev=pdfdir ;;
1030   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1031     pdfdir=$ac_optarg ;;
1032
1033   -psdir | --psdir | --psdi | --psd | --ps)
1034     ac_prev=psdir ;;
1035   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1036     psdir=$ac_optarg ;;
1037
1038   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1039   | -silent | --silent | --silen | --sile | --sil)
1040     silent=yes ;;
1041
1042   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1043     ac_prev=sbindir ;;
1044   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1045   | --sbi=* | --sb=*)
1046     sbindir=$ac_optarg ;;
1047
1048   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1049   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1050   | --sharedst | --shareds | --shared | --share | --shar \
1051   | --sha | --sh)
1052     ac_prev=sharedstatedir ;;
1053   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1054   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1055   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1056   | --sha=* | --sh=*)
1057     sharedstatedir=$ac_optarg ;;
1058
1059   -site | --site | --sit)
1060     ac_prev=site ;;
1061   -site=* | --site=* | --sit=*)
1062     site=$ac_optarg ;;
1063
1064   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1065     ac_prev=srcdir ;;
1066   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1067     srcdir=$ac_optarg ;;
1068
1069   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1070   | --syscon | --sysco | --sysc | --sys | --sy)
1071     ac_prev=sysconfdir ;;
1072   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1073   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1074     sysconfdir=$ac_optarg ;;
1075
1076   -target | --target | --targe | --targ | --tar | --ta | --t)
1077     ac_prev=target_alias ;;
1078   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1079     target_alias=$ac_optarg ;;
1080
1081   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1082     verbose=yes ;;
1083
1084   -version | --version | --versio | --versi | --vers | -V)
1085     ac_init_version=: ;;
1086
1087   -with-* | --with-*)
1088     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1089     # Reject names that are not valid shell variable names.
1090     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1091       as_fn_error "invalid package name: $ac_useropt"
1092     ac_useropt_orig=$ac_useropt
1093     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094     case $ac_user_opts in
1095       *"
1096 "with_$ac_useropt"
1097 "*) ;;
1098       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1099          ac_unrecognized_sep=', ';;
1100     esac
1101     eval with_$ac_useropt=\$ac_optarg ;;
1102
1103   -without-* | --without-*)
1104     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1105     # Reject names that are not valid shell variable names.
1106     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107       as_fn_error "invalid package name: $ac_useropt"
1108     ac_useropt_orig=$ac_useropt
1109     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1110     case $ac_user_opts in
1111       *"
1112 "with_$ac_useropt"
1113 "*) ;;
1114       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1115          ac_unrecognized_sep=', ';;
1116     esac
1117     eval with_$ac_useropt=no ;;
1118
1119   --x)
1120     # Obsolete; use --with-x.
1121     with_x=yes ;;
1122
1123   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1124   | --x-incl | --x-inc | --x-in | --x-i)
1125     ac_prev=x_includes ;;
1126   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1127   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1128     x_includes=$ac_optarg ;;
1129
1130   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1131   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1132     ac_prev=x_libraries ;;
1133   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1134   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1135     x_libraries=$ac_optarg ;;
1136
1137   -*) as_fn_error "unrecognized option: \`$ac_option'
1138 Try \`$0 --help' for more information."
1139     ;;
1140
1141   *=*)
1142     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1143     # Reject names that are not valid shell variable names.
1144     case $ac_envvar in #(
1145       '' | [0-9]* | *[!_$as_cr_alnum]* )
1146       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1147     esac
1148     eval $ac_envvar=\$ac_optarg
1149     export $ac_envvar ;;
1150
1151   *)
1152     # FIXME: should be removed in autoconf 3.0.
1153     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1154     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1156     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157     ;;
1158
1159   esac
1160 done
1161
1162 if test -n "$ac_prev"; then
1163   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1164   as_fn_error "missing argument to $ac_option"
1165 fi
1166
1167 if test -n "$ac_unrecognized_opts"; then
1168   case $enable_option_checking in
1169     no) ;;
1170     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1171     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1172   esac
1173 fi
1174
1175 # Check all directory arguments for consistency.
1176 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177                 datadir sysconfdir sharedstatedir localstatedir includedir \
1178                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179                 libdir localedir mandir
1180 do
1181   eval ac_val=\$$ac_var
1182   # Remove trailing slashes.
1183   case $ac_val in
1184     */ )
1185       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1186       eval $ac_var=\$ac_val;;
1187   esac
1188   # Be sure to have absolute directory names.
1189   case $ac_val in
1190     [\\/$]* | ?:[\\/]* )  continue;;
1191     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1192   esac
1193   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1194 done
1195
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1199 build=$build_alias
1200 host=$host_alias
1201 target=$target_alias
1202
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x; then
1205   if test "x$build_alias" = x; then
1206     cross_compiling=maybe
1207     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208     If a cross compiler is detected then cross compile mode will be used." >&2
1209   elif test "x$build_alias" != "x$host_alias"; then
1210     cross_compiling=yes
1211   fi
1212 fi
1213
1214 ac_tool_prefix=
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1216
1217 test "$silent" = yes && exec 6>/dev/null
1218
1219
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223   as_fn_error "working directory cannot be determined"
1224 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1225   as_fn_error "pwd does not report name of working directory"
1226
1227
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230   ac_srcdir_defaulted=yes
1231   # Try the directory containing this script, then the parent directory.
1232   ac_confdir=`$as_dirname -- "$as_myself" ||
1233 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234          X"$as_myself" : 'X\(//\)[^/]' \| \
1235          X"$as_myself" : 'X\(//\)$' \| \
1236          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1237 $as_echo X"$as_myself" |
1238     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239             s//\1/
1240             q
1241           }
1242           /^X\(\/\/\)[^/].*/{
1243             s//\1/
1244             q
1245           }
1246           /^X\(\/\/\)$/{
1247             s//\1/
1248             q
1249           }
1250           /^X\(\/\).*/{
1251             s//\1/
1252             q
1253           }
1254           s/.*/./; q'`
1255   srcdir=$ac_confdir
1256   if test ! -r "$srcdir/$ac_unique_file"; then
1257     srcdir=..
1258   fi
1259 else
1260   ac_srcdir_defaulted=no
1261 fi
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1265 fi
1266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 ac_abs_confdir=`(
1268         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1269         pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272   srcdir=.
1273 fi
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282   eval ac_env_${ac_var}_value=\$${ac_var}
1283   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1286
1287 #
1288 # Report the --help message.
1289 #
1290 if test "$ac_init_help" = "long"; then
1291   # Omit some internal or obsolete options to make the list less imposing.
1292   # This message is too long to be a string in the A/UX 3.1 sh.
1293   cat <<_ACEOF
1294 \`configure' configures GCC Quad-precision Math Library 0.1 to adapt to many kinds of systems.
1295
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1297
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE.  See below for descriptions of some of the useful variables.
1300
1301 Defaults for the options are specified in brackets.
1302
1303 Configuration:
1304   -h, --help              display this help and exit
1305       --help=short        display options specific to this package
1306       --help=recursive    display the short help of all the included packages
1307   -V, --version           display version information and exit
1308   -q, --quiet, --silent   do not print \`checking...' messages
1309       --cache-file=FILE   cache test results in FILE [disabled]
1310   -C, --config-cache      alias for \`--cache-file=config.cache'
1311   -n, --no-create         do not create output files
1312       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1313
1314 Installation directories:
1315   --prefix=PREFIX         install architecture-independent files in PREFIX
1316                           [$ac_default_prefix]
1317   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1318                           [PREFIX]
1319
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1324
1325 For better control, use the options below.
1326
1327 Fine tuning of the installation directories:
1328   --bindir=DIR            user executables [EPREFIX/bin]
1329   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1330   --libexecdir=DIR        program executables [EPREFIX/libexec]
1331   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1332   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1333   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1334   --libdir=DIR            object code libraries [EPREFIX/lib]
1335   --includedir=DIR        C header files [PREFIX/include]
1336   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1337   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1338   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1339   --infodir=DIR           info documentation [DATAROOTDIR/info]
1340   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1341   --mandir=DIR            man documentation [DATAROOTDIR/man]
1342   --docdir=DIR            documentation root [DATAROOTDIR/doc/libquadmath]
1343   --htmldir=DIR           html documentation [DOCDIR]
1344   --dvidir=DIR            dvi documentation [DOCDIR]
1345   --pdfdir=DIR            pdf documentation [DOCDIR]
1346   --psdir=DIR             ps documentation [DOCDIR]
1347 _ACEOF
1348
1349   cat <<\_ACEOF
1350
1351 Program names:
1352   --program-prefix=PREFIX            prepend PREFIX to installed program names
1353   --program-suffix=SUFFIX            append SUFFIX to installed program names
1354   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1355
1356 System types:
1357   --build=BUILD     configure for building on BUILD [guessed]
1358   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1359   --target=TARGET   configure for building compilers for TARGET [HOST]
1360 _ACEOF
1361 fi
1362
1363 if test -n "$ac_init_help"; then
1364   case $ac_init_help in
1365      short | recursive ) echo "Configuration of GCC Quad-precision Math Library 0.1:";;
1366    esac
1367   cat <<\_ACEOF
1368
1369 Optional Features:
1370   --disable-option-checking  ignore unrecognized --enable/--with options
1371   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1372   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1373   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1374   --enable-shared[=PKGS]  build shared libraries [default=yes]
1375   --enable-static[=PKGS]  build static libraries [default=yes]
1376   --enable-fast-install[=PKGS]
1377                           optimize for fast installation [default=yes]
1378   --disable-dependency-tracking  speeds up one-time build
1379   --enable-dependency-tracking   do not reject slow dependency extractors
1380   --disable-libtool-lock  avoid locking (might break parallel builds)
1381   --enable-maintainer-mode  enable make rules and dependencies not useful
1382                           (and sometimes confusing) to the casual installer
1383   --enable-multilib       build many library versions (default)
1384
1385 Optional Packages:
1386   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1387   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1388   --with-pic              try to use only PIC/non-PIC objects [default=use
1389                           both]
1390   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1391
1392 Some influential environment variables:
1393   CC          C compiler command
1394   CFLAGS      C compiler flags
1395   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1396               nonstandard directory <lib dir>
1397   LIBS        libraries to pass to the linker, e.g. -l<library>
1398   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1399               you have headers in a nonstandard directory <include dir>
1400   CPP         C preprocessor
1401
1402 Use these variables to override the choices made by `configure' or to help
1403 it to find libraries and programs with nonstandard names/locations.
1404
1405 Report bugs to the package provider.
1406 _ACEOF
1407 ac_status=$?
1408 fi
1409
1410 if test "$ac_init_help" = "recursive"; then
1411   # If there are subdirs, report their specific --help.
1412   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1413     test -d "$ac_dir" ||
1414       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415       continue
1416     ac_builddir=.
1417
1418 case "$ac_dir" in
1419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 *)
1421   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1422   # A ".." for each directory in $ac_dir_suffix.
1423   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1424   case $ac_top_builddir_sub in
1425   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1426   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1427   esac ;;
1428 esac
1429 ac_abs_top_builddir=$ac_pwd
1430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1431 # for backward compatibility:
1432 ac_top_builddir=$ac_top_build_prefix
1433
1434 case $srcdir in
1435   .)  # We are building in place.
1436     ac_srcdir=.
1437     ac_top_srcdir=$ac_top_builddir_sub
1438     ac_abs_top_srcdir=$ac_pwd ;;
1439   [\\/]* | ?:[\\/]* )  # Absolute name.
1440     ac_srcdir=$srcdir$ac_dir_suffix;
1441     ac_top_srcdir=$srcdir
1442     ac_abs_top_srcdir=$srcdir ;;
1443   *) # Relative name.
1444     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1445     ac_top_srcdir=$ac_top_build_prefix$srcdir
1446     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1447 esac
1448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1449
1450     cd "$ac_dir" || { ac_status=$?; continue; }
1451     # Check for guested configure.
1452     if test -f "$ac_srcdir/configure.gnu"; then
1453       echo &&
1454       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1455     elif test -f "$ac_srcdir/configure"; then
1456       echo &&
1457       $SHELL "$ac_srcdir/configure" --help=recursive
1458     else
1459       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1460     fi || ac_status=$?
1461     cd "$ac_pwd" || { ac_status=$?; break; }
1462   done
1463 fi
1464
1465 test -n "$ac_init_help" && exit $ac_status
1466 if $ac_init_version; then
1467   cat <<\_ACEOF
1468 GCC Quad-precision Math Library configure 0.1
1469 generated by GNU Autoconf 2.64
1470
1471 Copyright (C) 2009 Free Software Foundation, Inc.
1472 This configure script is free software; the Free Software Foundation
1473 gives unlimited permission to copy, distribute and modify it.
1474 _ACEOF
1475   exit
1476 fi
1477
1478 ## ------------------------ ##
1479 ## Autoconf initialization. ##
1480 ## ------------------------ ##
1481
1482 # ac_fn_c_try_compile LINENO
1483 # --------------------------
1484 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1485 ac_fn_c_try_compile ()
1486 {
1487   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488   rm -f conftest.$ac_objext
1489   if { { ac_try="$ac_compile"
1490 case "(($ac_try" in
1491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1492   *) ac_try_echo=$ac_try;;
1493 esac
1494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1495 $as_echo "$ac_try_echo"; } >&5
1496   (eval "$ac_compile") 2>conftest.err
1497   ac_status=$?
1498   if test -s conftest.err; then
1499     grep -v '^ *+' conftest.err >conftest.er1
1500     cat conftest.er1 >&5
1501     mv -f conftest.er1 conftest.err
1502   fi
1503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1504   test $ac_status = 0; } && {
1505          test -z "$ac_c_werror_flag" ||
1506          test ! -s conftest.err
1507        } && test -s conftest.$ac_objext; then :
1508   ac_retval=0
1509 else
1510   $as_echo "$as_me: failed program was:" >&5
1511 sed 's/^/| /' conftest.$ac_ext >&5
1512
1513         ac_retval=1
1514 fi
1515   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1516   return $ac_retval
1517
1518 } # ac_fn_c_try_compile
1519
1520 # ac_fn_c_try_link LINENO
1521 # -----------------------
1522 # Try to link conftest.$ac_ext, and return whether this succeeded.
1523 ac_fn_c_try_link ()
1524 {
1525   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526   rm -f conftest.$ac_objext conftest$ac_exeext
1527   if { { ac_try="$ac_link"
1528 case "(($ac_try" in
1529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530   *) ac_try_echo=$ac_try;;
1531 esac
1532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533 $as_echo "$ac_try_echo"; } >&5
1534   (eval "$ac_link") 2>conftest.err
1535   ac_status=$?
1536   if test -s conftest.err; then
1537     grep -v '^ *+' conftest.err >conftest.er1
1538     cat conftest.er1 >&5
1539     mv -f conftest.er1 conftest.err
1540   fi
1541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542   test $ac_status = 0; } && {
1543          test -z "$ac_c_werror_flag" ||
1544          test ! -s conftest.err
1545        } && test -s conftest$ac_exeext && {
1546          test "$cross_compiling" = yes ||
1547          $as_test_x conftest$ac_exeext
1548        }; then :
1549   ac_retval=0
1550 else
1551   $as_echo "$as_me: failed program was:" >&5
1552 sed 's/^/| /' conftest.$ac_ext >&5
1553
1554         ac_retval=1
1555 fi
1556   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1557   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1558   # interfere with the next link command; also delete a directory that is
1559   # left behind by Apple's compiler.  We do this before executing the actions.
1560   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1561   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1562   return $ac_retval
1563
1564 } # ac_fn_c_try_link
1565
1566 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1567 # -------------------------------------------------------
1568 # Tests whether HEADER exists and can be compiled using the include files in
1569 # INCLUDES, setting the cache variable VAR accordingly.
1570 ac_fn_c_check_header_compile ()
1571 {
1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1574 $as_echo_n "checking for $2... " >&6; }
1575 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1576   $as_echo_n "(cached) " >&6
1577 else
1578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1579 /* end confdefs.h.  */
1580 $4
1581 #include <$2>
1582 _ACEOF
1583 if ac_fn_c_try_compile "$LINENO"; then :
1584   eval "$3=yes"
1585 else
1586   eval "$3=no"
1587 fi
1588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589 fi
1590 eval ac_res=\$$3
1591                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1592 $as_echo "$ac_res" >&6; }
1593   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594
1595 } # ac_fn_c_check_header_compile
1596
1597 # ac_fn_c_try_cpp LINENO
1598 # ----------------------
1599 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_c_try_cpp ()
1601 {
1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603   if { { ac_try="$ac_cpp conftest.$ac_ext"
1604 case "(($ac_try" in
1605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606   *) ac_try_echo=$ac_try;;
1607 esac
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1611   ac_status=$?
1612   if test -s conftest.err; then
1613     grep -v '^ *+' conftest.err >conftest.er1
1614     cat conftest.er1 >&5
1615     mv -f conftest.er1 conftest.err
1616   fi
1617   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618   test $ac_status = 0; } >/dev/null && {
1619          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1620          test ! -s conftest.err
1621        }; then :
1622   ac_retval=0
1623 else
1624   $as_echo "$as_me: failed program was:" >&5
1625 sed 's/^/| /' conftest.$ac_ext >&5
1626
1627     ac_retval=1
1628 fi
1629   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1630   return $ac_retval
1631
1632 } # ac_fn_c_try_cpp
1633
1634 # ac_fn_c_try_run LINENO
1635 # ----------------------
1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1637 # that executables *can* be run.
1638 ac_fn_c_try_run ()
1639 {
1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641   if { { ac_try="$ac_link"
1642 case "(($ac_try" in
1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644   *) ac_try_echo=$ac_try;;
1645 esac
1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647 $as_echo "$ac_try_echo"; } >&5
1648   (eval "$ac_link") 2>&5
1649   ac_status=$?
1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1651   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1652   { { case "(($ac_try" in
1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654   *) ac_try_echo=$ac_try;;
1655 esac
1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657 $as_echo "$ac_try_echo"; } >&5
1658   (eval "$ac_try") 2>&5
1659   ac_status=$?
1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661   test $ac_status = 0; }; }; then :
1662   ac_retval=0
1663 else
1664   $as_echo "$as_me: program exited with status $ac_status" >&5
1665        $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1667
1668        ac_retval=$ac_status
1669 fi
1670   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1671   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672   return $ac_retval
1673
1674 } # ac_fn_c_try_run
1675
1676 # ac_fn_c_check_func LINENO FUNC VAR
1677 # ----------------------------------
1678 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1679 ac_fn_c_check_func ()
1680 {
1681   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1683 $as_echo_n "checking for $2... " >&6; }
1684 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1685   $as_echo_n "(cached) " >&6
1686 else
1687   if test x$gcc_no_link = xyes; then
1688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1689 fi
1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691 /* end confdefs.h.  */
1692 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1693    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1694 #define $2 innocuous_$2
1695
1696 /* System header to define __stub macros and hopefully few prototypes,
1697     which can conflict with char $2 (); below.
1698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1699     <limits.h> exists even on freestanding compilers.  */
1700
1701 #ifdef __STDC__
1702 # include <limits.h>
1703 #else
1704 # include <assert.h>
1705 #endif
1706
1707 #undef $2
1708
1709 /* Override any GCC internal prototype to avoid an error.
1710    Use char because int might match the return type of a GCC
1711    builtin and then its argument prototype would still apply.  */
1712 #ifdef __cplusplus
1713 extern "C"
1714 #endif
1715 char $2 ();
1716 /* The GNU C library defines this for functions which it implements
1717     to always fail with ENOSYS.  Some functions are actually named
1718     something starting with __ and the normal name is an alias.  */
1719 #if defined __stub_$2 || defined __stub___$2
1720 choke me
1721 #endif
1722
1723 int
1724 main ()
1725 {
1726 return $2 ();
1727   ;
1728   return 0;
1729 }
1730 _ACEOF
1731 if ac_fn_c_try_link "$LINENO"; then :
1732   eval "$3=yes"
1733 else
1734   eval "$3=no"
1735 fi
1736 rm -f core conftest.err conftest.$ac_objext \
1737     conftest$ac_exeext conftest.$ac_ext
1738 fi
1739 eval ac_res=\$$3
1740                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1741 $as_echo "$ac_res" >&6; }
1742   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743
1744 } # ac_fn_c_check_func
1745 cat >config.log <<_ACEOF
1746 This file contains any messages produced by compilers while
1747 running configure, to aid debugging if configure makes a mistake.
1748
1749 It was created by GCC Quad-precision Math Library $as_me 0.1, which was
1750 generated by GNU Autoconf 2.64.  Invocation command line was
1751
1752   $ $0 $@
1753
1754 _ACEOF
1755 exec 5>>config.log
1756 {
1757 cat <<_ASUNAME
1758 ## --------- ##
1759 ## Platform. ##
1760 ## --------- ##
1761
1762 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1763 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1764 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1765 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1766 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1767
1768 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1769 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1770
1771 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1772 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1773 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1774 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1775 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1776 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1777 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1778
1779 _ASUNAME
1780
1781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1782 for as_dir in $PATH
1783 do
1784   IFS=$as_save_IFS
1785   test -z "$as_dir" && as_dir=.
1786     $as_echo "PATH: $as_dir"
1787   done
1788 IFS=$as_save_IFS
1789
1790 } >&5
1791
1792 cat >&5 <<_ACEOF
1793
1794
1795 ## ----------- ##
1796 ## Core tests. ##
1797 ## ----------- ##
1798
1799 _ACEOF
1800
1801
1802 # Keep a trace of the command line.
1803 # Strip out --no-create and --no-recursion so they do not pile up.
1804 # Strip out --silent because we don't want to record it for future runs.
1805 # Also quote any args containing shell meta-characters.
1806 # Make two passes to allow for proper duplicate-argument suppression.
1807 ac_configure_args=
1808 ac_configure_args0=
1809 ac_configure_args1=
1810 ac_must_keep_next=false
1811 for ac_pass in 1 2
1812 do
1813   for ac_arg
1814   do
1815     case $ac_arg in
1816     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1817     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1818     | -silent | --silent | --silen | --sile | --sil)
1819       continue ;;
1820     *\'*)
1821       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1822     esac
1823     case $ac_pass in
1824     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1825     2)
1826       as_fn_append ac_configure_args1 " '$ac_arg'"
1827       if test $ac_must_keep_next = true; then
1828         ac_must_keep_next=false # Got value, back to normal.
1829       else
1830         case $ac_arg in
1831           *=* | --config-cache | -C | -disable-* | --disable-* \
1832           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1833           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1834           | -with-* | --with-* | -without-* | --without-* | --x)
1835             case "$ac_configure_args0 " in
1836               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1837             esac
1838             ;;
1839           -* ) ac_must_keep_next=true ;;
1840         esac
1841       fi
1842       as_fn_append ac_configure_args " '$ac_arg'"
1843       ;;
1844     esac
1845   done
1846 done
1847 { ac_configure_args0=; unset ac_configure_args0;}
1848 { ac_configure_args1=; unset ac_configure_args1;}
1849
1850 # When interrupted or exit'd, cleanup temporary files, and complete
1851 # config.log.  We remove comments because anyway the quotes in there
1852 # would cause problems or look ugly.
1853 # WARNING: Use '\'' to represent an apostrophe within the trap.
1854 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1855 trap 'exit_status=$?
1856   # Save into config.log some information that might help in debugging.
1857   {
1858     echo
1859
1860     cat <<\_ASBOX
1861 ## ---------------- ##
1862 ## Cache variables. ##
1863 ## ---------------- ##
1864 _ASBOX
1865     echo
1866     # The following way of writing the cache mishandles newlines in values,
1867 (
1868   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1869     eval ac_val=\$$ac_var
1870     case $ac_val in #(
1871     *${as_nl}*)
1872       case $ac_var in #(
1873       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1874 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1875       esac
1876       case $ac_var in #(
1877       _ | IFS | as_nl) ;; #(
1878       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1879       *) { eval $ac_var=; unset $ac_var;} ;;
1880       esac ;;
1881     esac
1882   done
1883   (set) 2>&1 |
1884     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1885     *${as_nl}ac_space=\ *)
1886       sed -n \
1887         "s/'\''/'\''\\\\'\'''\''/g;
1888           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1889       ;; #(
1890     *)
1891       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1892       ;;
1893     esac |
1894     sort
1895 )
1896     echo
1897
1898     cat <<\_ASBOX
1899 ## ----------------- ##
1900 ## Output variables. ##
1901 ## ----------------- ##
1902 _ASBOX
1903     echo
1904     for ac_var in $ac_subst_vars
1905     do
1906       eval ac_val=\$$ac_var
1907       case $ac_val in
1908       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1909       esac
1910       $as_echo "$ac_var='\''$ac_val'\''"
1911     done | sort
1912     echo
1913
1914     if test -n "$ac_subst_files"; then
1915       cat <<\_ASBOX
1916 ## ------------------- ##
1917 ## File substitutions. ##
1918 ## ------------------- ##
1919 _ASBOX
1920       echo
1921       for ac_var in $ac_subst_files
1922       do
1923         eval ac_val=\$$ac_var
1924         case $ac_val in
1925         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1926         esac
1927         $as_echo "$ac_var='\''$ac_val'\''"
1928       done | sort
1929       echo
1930     fi
1931
1932     if test -s confdefs.h; then
1933       cat <<\_ASBOX
1934 ## ----------- ##
1935 ## confdefs.h. ##
1936 ## ----------- ##
1937 _ASBOX
1938       echo
1939       cat confdefs.h
1940       echo
1941     fi
1942     test "$ac_signal" != 0 &&
1943       $as_echo "$as_me: caught signal $ac_signal"
1944     $as_echo "$as_me: exit $exit_status"
1945   } >&5
1946   rm -f core *.core core.conftest.* &&
1947     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1948     exit $exit_status
1949 ' 0
1950 for ac_signal in 1 2 13 15; do
1951   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1952 done
1953 ac_signal=0
1954
1955 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1956 rm -f -r conftest* confdefs.h
1957
1958 $as_echo "/* confdefs.h */" > confdefs.h
1959
1960 # Predefined preprocessor variables.
1961
1962 cat >>confdefs.h <<_ACEOF
1963 #define PACKAGE_NAME "$PACKAGE_NAME"
1964 _ACEOF
1965
1966 cat >>confdefs.h <<_ACEOF
1967 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1968 _ACEOF
1969
1970 cat >>confdefs.h <<_ACEOF
1971 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1972 _ACEOF
1973
1974 cat >>confdefs.h <<_ACEOF
1975 #define PACKAGE_STRING "$PACKAGE_STRING"
1976 _ACEOF
1977
1978 cat >>confdefs.h <<_ACEOF
1979 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1980 _ACEOF
1981
1982 cat >>confdefs.h <<_ACEOF
1983 #define PACKAGE_URL "$PACKAGE_URL"
1984 _ACEOF
1985
1986
1987 # Let the site file select an alternate cache file if it wants to.
1988 # Prefer an explicitly selected file to automatically selected ones.
1989 ac_site_file1=NONE
1990 ac_site_file2=NONE
1991 if test -n "$CONFIG_SITE"; then
1992   ac_site_file1=$CONFIG_SITE
1993 elif test "x$prefix" != xNONE; then
1994   ac_site_file1=$prefix/share/config.site
1995   ac_site_file2=$prefix/etc/config.site
1996 else
1997   ac_site_file1=$ac_default_prefix/share/config.site
1998   ac_site_file2=$ac_default_prefix/etc/config.site
1999 fi
2000 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2001 do
2002   test "x$ac_site_file" = xNONE && continue
2003   if test -r "$ac_site_file"; then
2004     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2005 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2006     sed 's/^/| /' "$ac_site_file" >&5
2007     . "$ac_site_file"
2008   fi
2009 done
2010
2011 if test -r "$cache_file"; then
2012   # Some versions of bash will fail to source /dev/null (special
2013   # files actually), so we avoid doing that.
2014   if test -f "$cache_file"; then
2015     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2016 $as_echo "$as_me: loading cache $cache_file" >&6;}
2017     case $cache_file in
2018       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2019       *)                      . "./$cache_file";;
2020     esac
2021   fi
2022 else
2023   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2024 $as_echo "$as_me: creating cache $cache_file" >&6;}
2025   >$cache_file
2026 fi
2027
2028 # Check that the precious variables saved in the cache have kept the same
2029 # value.
2030 ac_cache_corrupted=false
2031 for ac_var in $ac_precious_vars; do
2032   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2033   eval ac_new_set=\$ac_env_${ac_var}_set
2034   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2035   eval ac_new_val=\$ac_env_${ac_var}_value
2036   case $ac_old_set,$ac_new_set in
2037     set,)
2038       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2039 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2040       ac_cache_corrupted=: ;;
2041     ,set)
2042       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2043 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2044       ac_cache_corrupted=: ;;
2045     ,);;
2046     *)
2047       if test "x$ac_old_val" != "x$ac_new_val"; then
2048         # differences in whitespace do not lead to failure.
2049         ac_old_val_w=`echo x $ac_old_val`
2050         ac_new_val_w=`echo x $ac_new_val`
2051         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2052           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2053 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2054           ac_cache_corrupted=:
2055         else
2056           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2057 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2058           eval $ac_var=\$ac_old_val
2059         fi
2060         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2061 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2062         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2063 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2064       fi;;
2065   esac
2066   # Pass precious variables to config.status.
2067   if test "$ac_new_set" = set; then
2068     case $ac_new_val in
2069     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2070     *) ac_arg=$ac_var=$ac_new_val ;;
2071     esac
2072     case " $ac_configure_args " in
2073       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2074       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2075     esac
2076   fi
2077 done
2078 if $ac_cache_corrupted; then
2079   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2081   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2082 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2083   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2084 fi
2085 ## -------------------- ##
2086 ## Main body of script. ##
2087 ## -------------------- ##
2088
2089 ac_ext=c
2090 ac_cpp='$CPP $CPPFLAGS'
2091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2094
2095
2096
2097
2098
2099 ac_config_headers="$ac_config_headers config.h"
2100
2101
2102 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2103 #
2104 # You will slowly go insane if you do not grok the following fact:  when
2105 # building this library, the top-level /target/ becomes the library's /host/.
2106 #
2107 # configure then causes --target to default to --host, exactly like any
2108 # other package using autoconf.  Therefore, 'target' and 'host' will
2109 # always be the same.  This makes sense both for native and cross compilers
2110 # just think about it for a little while.  :-)
2111 #
2112 # Also, if this library is being configured as part of a cross compiler, the
2113 # top-level configure script will pass the "real" host as $with_cross_host.
2114 #
2115 # Do not delete or change the following two lines.  For why, see
2116 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2117 ac_aux_dir=
2118 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2119   for ac_t in install-sh install.sh shtool; do
2120     if test -f "$ac_dir/$ac_t"; then
2121       ac_aux_dir=$ac_dir
2122       ac_install_sh="$ac_aux_dir/$ac_t -c"
2123       break 2
2124     fi
2125   done
2126 done
2127 if test -z "$ac_aux_dir"; then
2128   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2129 fi
2130
2131 # These three variables are undocumented and unsupported,
2132 # and are intended to be withdrawn in a future Autoconf release.
2133 # They can cause serious problems if a builder's source tree is in a directory
2134 # whose full name contains unusual characters.
2135 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2136 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2137 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2138
2139
2140 # Make sure we can run config.sub.
2141 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2142   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2143
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2145 $as_echo_n "checking build system type... " >&6; }
2146 if test "${ac_cv_build+set}" = set; then :
2147   $as_echo_n "(cached) " >&6
2148 else
2149   ac_build_alias=$build_alias
2150 test "x$ac_build_alias" = x &&
2151   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2152 test "x$ac_build_alias" = x &&
2153   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2154 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2155   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2156
2157 fi
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2159 $as_echo "$ac_cv_build" >&6; }
2160 case $ac_cv_build in
2161 *-*-*) ;;
2162 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2163 esac
2164 build=$ac_cv_build
2165 ac_save_IFS=$IFS; IFS='-'
2166 set x $ac_cv_build
2167 shift
2168 build_cpu=$1
2169 build_vendor=$2
2170 shift; shift
2171 # Remember, the first character of IFS is used to create $*,
2172 # except with old shells:
2173 build_os=$*
2174 IFS=$ac_save_IFS
2175 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2176
2177
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2179 $as_echo_n "checking host system type... " >&6; }
2180 if test "${ac_cv_host+set}" = set; then :
2181   $as_echo_n "(cached) " >&6
2182 else
2183   if test "x$host_alias" = x; then
2184   ac_cv_host=$ac_cv_build
2185 else
2186   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2187     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2188 fi
2189
2190 fi
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2192 $as_echo "$ac_cv_host" >&6; }
2193 case $ac_cv_host in
2194 *-*-*) ;;
2195 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2196 esac
2197 host=$ac_cv_host
2198 ac_save_IFS=$IFS; IFS='-'
2199 set x $ac_cv_host
2200 shift
2201 host_cpu=$1
2202 host_vendor=$2
2203 shift; shift
2204 # Remember, the first character of IFS is used to create $*,
2205 # except with old shells:
2206 host_os=$*
2207 IFS=$ac_save_IFS
2208 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2209
2210
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2212 $as_echo_n "checking target system type... " >&6; }
2213 if test "${ac_cv_target+set}" = set; then :
2214   $as_echo_n "(cached) " >&6
2215 else
2216   if test "x$target_alias" = x; then
2217   ac_cv_target=$ac_cv_host
2218 else
2219   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2220     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2221 fi
2222
2223 fi
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2225 $as_echo "$ac_cv_target" >&6; }
2226 case $ac_cv_target in
2227 *-*-*) ;;
2228 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2229 esac
2230 target=$ac_cv_target
2231 ac_save_IFS=$IFS; IFS='-'
2232 set x $ac_cv_target
2233 shift
2234 target_cpu=$1
2235 target_vendor=$2
2236 shift; shift
2237 # Remember, the first character of IFS is used to create $*,
2238 # except with old shells:
2239 target_os=$*
2240 IFS=$ac_save_IFS
2241 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2242
2243
2244 # The aliases save the names the user supplied, while $host etc.
2245 # will get canonicalized.
2246 test -n "$target_alias" &&
2247   test "$program_prefix$program_suffix$program_transform_name" = \
2248     NONENONEs,x,x, &&
2249   program_prefix=${target_alias}-
2250
2251  case ${build_alias} in
2252   "") build_noncanonical=${build} ;;
2253   *) build_noncanonical=${build_alias} ;;
2254 esac
2255
2256  case ${host_alias} in
2257   "") host_noncanonical=${build_noncanonical} ;;
2258   *) host_noncanonical=${host_alias} ;;
2259 esac
2260
2261  case ${target_alias} in
2262   "") target_noncanonical=${host_noncanonical} ;;
2263   *) target_noncanonical=${target_alias} ;;
2264 esac
2265
2266
2267
2268
2269 target_alias=${target_alias-$host_alias}
2270
2271
2272 am__api_version='1.11'
2273
2274 # Find a good install program.  We prefer a C program (faster),
2275 # so one script is as good as another.  But avoid the broken or
2276 # incompatible versions:
2277 # SysV /etc/install, /usr/sbin/install
2278 # SunOS /usr/etc/install
2279 # IRIX /sbin/install
2280 # AIX /bin/install
2281 # AmigaOS /C/install, which installs bootblocks on floppy discs
2282 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2283 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2284 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2285 # OS/2's system install, which has a completely different semantic
2286 # ./install, which can be erroneously created by make from ./install.sh.
2287 # Reject install programs that cannot install multiple files.
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2289 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2290 if test -z "$INSTALL"; then
2291 if test "${ac_cv_path_install+set}" = set; then :
2292   $as_echo_n "(cached) " >&6
2293 else
2294   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 for as_dir in $PATH
2296 do
2297   IFS=$as_save_IFS
2298   test -z "$as_dir" && as_dir=.
2299     # Account for people who put trailing slashes in PATH elements.
2300 case $as_dir/ in #((
2301   ./ | .// | /[cC]/* | \
2302   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2303   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2304   /usr/ucb/* ) ;;
2305   *)
2306     # OSF1 and SCO ODT 3.0 have their own names for install.
2307     # Don't use installbsd from OSF since it installs stuff as root
2308     # by default.
2309     for ac_prog in ginstall scoinst install; do
2310       for ac_exec_ext in '' $ac_executable_extensions; do
2311         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2312           if test $ac_prog = install &&
2313             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2314             # AIX install.  It has an incompatible calling convention.
2315             :
2316           elif test $ac_prog = install &&
2317             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2318             # program-specific install script used by HP pwplus--don't use.
2319             :
2320           else
2321             rm -rf conftest.one conftest.two conftest.dir
2322             echo one > conftest.one
2323             echo two > conftest.two
2324             mkdir conftest.dir
2325             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2326               test -s conftest.one && test -s conftest.two &&
2327               test -s conftest.dir/conftest.one &&
2328               test -s conftest.dir/conftest.two
2329             then
2330               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2331               break 3
2332             fi
2333           fi
2334         fi
2335       done
2336     done
2337     ;;
2338 esac
2339
2340   done
2341 IFS=$as_save_IFS
2342
2343 rm -rf conftest.one conftest.two conftest.dir
2344
2345 fi
2346   if test "${ac_cv_path_install+set}" = set; then
2347     INSTALL=$ac_cv_path_install
2348   else
2349     # As a last resort, use the slow shell script.  Don't cache a
2350     # value for INSTALL within a source directory, because that will
2351     # break other packages using the cache if that directory is
2352     # removed, or if the value is a relative name.
2353     INSTALL=$ac_install_sh
2354   fi
2355 fi
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2357 $as_echo "$INSTALL" >&6; }
2358
2359 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2360 # It thinks the first close brace ends the variable substitution.
2361 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2362
2363 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2364
2365 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2366
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2368 $as_echo_n "checking whether build environment is sane... " >&6; }
2369 # Just in case
2370 sleep 1
2371 echo timestamp > conftest.file
2372 # Reject unsafe characters in $srcdir or the absolute working directory
2373 # name.  Accept space and tab only in the latter.
2374 am_lf='
2375 '
2376 case `pwd` in
2377   *[\\\"\#\$\&\'\`$am_lf]*)
2378     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2379 esac
2380 case $srcdir in
2381   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2382     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2383 esac
2384
2385 # Do `set' in a subshell so we don't clobber the current shell's
2386 # arguments.  Must try -L first in case configure is actually a
2387 # symlink; some systems play weird games with the mod time of symlinks
2388 # (eg FreeBSD returns the mod time of the symlink's containing
2389 # directory).
2390 if (
2391    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2392    if test "$*" = "X"; then
2393       # -L didn't work.
2394       set X `ls -t "$srcdir/configure" conftest.file`
2395    fi
2396    rm -f conftest.file
2397    if test "$*" != "X $srcdir/configure conftest.file" \
2398       && test "$*" != "X conftest.file $srcdir/configure"; then
2399
2400       # If neither matched, then we have a broken ls.  This can happen
2401       # if, for instance, CONFIG_SHELL is bash and it inherits a
2402       # broken ls alias from the environment.  This has actually
2403       # happened.  Such a system could not be considered "sane".
2404       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2405 alias in your environment" "$LINENO" 5
2406    fi
2407
2408    test "$2" = conftest.file
2409    )
2410 then
2411    # Ok.
2412    :
2413 else
2414    as_fn_error "newly created file is older than distributed files!
2415 Check your system clock" "$LINENO" 5
2416 fi
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2418 $as_echo "yes" >&6; }
2419 test "$program_prefix" != NONE &&
2420   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2421 # Use a double $ so make ignores it.
2422 test "$program_suffix" != NONE &&
2423   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2424 # Double any \ or $.
2425 # By default was `s,x,x', remove it if useless.
2426 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2427 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2428
2429 # expand $ac_aux_dir to an absolute path
2430 am_aux_dir=`cd $ac_aux_dir && pwd`
2431
2432 if test x"${MISSING+set}" != xset; then
2433   case $am_aux_dir in
2434   *\ * | *\     *)
2435     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2436   *)
2437     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2438   esac
2439 fi
2440 # Use eval to expand $SHELL
2441 if eval "$MISSING --run true"; then
2442   am_missing_run="$MISSING --run "
2443 else
2444   am_missing_run=
2445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2446 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2447 fi
2448
2449 if test x"${install_sh}" != xset; then
2450   case $am_aux_dir in
2451   *\ * | *\     *)
2452     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2453   *)
2454     install_sh="\${SHELL} $am_aux_dir/install-sh"
2455   esac
2456 fi
2457
2458 # Installed binaries are usually stripped using `strip' when the user
2459 # run `make install-strip'.  However `strip' might not be the right
2460 # tool to use in cross-compilation environments, therefore Automake
2461 # will honor the `STRIP' environment variable to overrule this program.
2462 if test "$cross_compiling" != no; then
2463   if test -n "$ac_tool_prefix"; then
2464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2465 set dummy ${ac_tool_prefix}strip; ac_word=$2
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2467 $as_echo_n "checking for $ac_word... " >&6; }
2468 if test "${ac_cv_prog_STRIP+set}" = set; then :
2469   $as_echo_n "(cached) " >&6
2470 else
2471   if test -n "$STRIP"; then
2472   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2473 else
2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2475 for as_dir in $PATH
2476 do
2477   IFS=$as_save_IFS
2478   test -z "$as_dir" && as_dir=.
2479     for ac_exec_ext in '' $ac_executable_extensions; do
2480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2481     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2483     break 2
2484   fi
2485 done
2486   done
2487 IFS=$as_save_IFS
2488
2489 fi
2490 fi
2491 STRIP=$ac_cv_prog_STRIP
2492 if test -n "$STRIP"; then
2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2494 $as_echo "$STRIP" >&6; }
2495 else
2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2497 $as_echo "no" >&6; }
2498 fi
2499
2500
2501 fi
2502 if test -z "$ac_cv_prog_STRIP"; then
2503   ac_ct_STRIP=$STRIP
2504   # Extract the first word of "strip", so it can be a program name with args.
2505 set dummy strip; ac_word=$2
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2507 $as_echo_n "checking for $ac_word... " >&6; }
2508 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2509   $as_echo_n "(cached) " >&6
2510 else
2511   if test -n "$ac_ct_STRIP"; then
2512   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2513 else
2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 for as_dir in $PATH
2516 do
2517   IFS=$as_save_IFS
2518   test -z "$as_dir" && as_dir=.
2519     for ac_exec_ext in '' $ac_executable_extensions; do
2520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2521     ac_cv_prog_ac_ct_STRIP="strip"
2522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2523     break 2
2524   fi
2525 done
2526   done
2527 IFS=$as_save_IFS
2528
2529 fi
2530 fi
2531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2532 if test -n "$ac_ct_STRIP"; then
2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2534 $as_echo "$ac_ct_STRIP" >&6; }
2535 else
2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2537 $as_echo "no" >&6; }
2538 fi
2539
2540   if test "x$ac_ct_STRIP" = x; then
2541     STRIP=":"
2542   else
2543     case $cross_compiling:$ac_tool_warned in
2544 yes:)
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2547 ac_tool_warned=yes ;;
2548 esac
2549     STRIP=$ac_ct_STRIP
2550   fi
2551 else
2552   STRIP="$ac_cv_prog_STRIP"
2553 fi
2554
2555 fi
2556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2557
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2559 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2560 if test -z "$MKDIR_P"; then
2561   if test "${ac_cv_path_mkdir+set}" = set; then :
2562   $as_echo_n "(cached) " >&6
2563 else
2564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2566 do
2567   IFS=$as_save_IFS
2568   test -z "$as_dir" && as_dir=.
2569     for ac_prog in mkdir gmkdir; do
2570          for ac_exec_ext in '' $ac_executable_extensions; do
2571            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2572            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2573              'mkdir (GNU coreutils) '* | \
2574              'mkdir (coreutils) '* | \
2575              'mkdir (fileutils) '4.1*)
2576                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2577                break 3;;
2578            esac
2579          done
2580        done
2581   done
2582 IFS=$as_save_IFS
2583
2584 fi
2585
2586   if test "${ac_cv_path_mkdir+set}" = set; then
2587     MKDIR_P="$ac_cv_path_mkdir -p"
2588   else
2589     # As a last resort, use the slow shell script.  Don't cache a
2590     # value for MKDIR_P within a source directory, because that will
2591     # break other packages using the cache if that directory is
2592     # removed, or if the value is a relative name.
2593     test -d ./--version && rmdir ./--version
2594     MKDIR_P="$ac_install_sh -d"
2595   fi
2596 fi
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2598 $as_echo "$MKDIR_P" >&6; }
2599
2600 mkdir_p="$MKDIR_P"
2601 case $mkdir_p in
2602   [\\/$]* | ?:[\\/]*) ;;
2603   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2604 esac
2605
2606 for ac_prog in gawk mawk nawk awk
2607 do
2608   # Extract the first word of "$ac_prog", so it can be a program name with args.
2609 set dummy $ac_prog; ac_word=$2
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611 $as_echo_n "checking for $ac_word... " >&6; }
2612 if test "${ac_cv_prog_AWK+set}" = set; then :
2613   $as_echo_n "(cached) " >&6
2614 else
2615   if test -n "$AWK"; then
2616   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2617 else
2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619 for as_dir in $PATH
2620 do
2621   IFS=$as_save_IFS
2622   test -z "$as_dir" && as_dir=.
2623     for ac_exec_ext in '' $ac_executable_extensions; do
2624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2625     ac_cv_prog_AWK="$ac_prog"
2626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627     break 2
2628   fi
2629 done
2630   done
2631 IFS=$as_save_IFS
2632
2633 fi
2634 fi
2635 AWK=$ac_cv_prog_AWK
2636 if test -n "$AWK"; then
2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2638 $as_echo "$AWK" >&6; }
2639 else
2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641 $as_echo "no" >&6; }
2642 fi
2643
2644
2645   test -n "$AWK" && break
2646 done
2647
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2650 set x ${MAKE-make}
2651 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2652 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2653   $as_echo_n "(cached) " >&6
2654 else
2655   cat >conftest.make <<\_ACEOF
2656 SHELL = /bin/sh
2657 all:
2658         @echo '@@@%%%=$(MAKE)=@@@%%%'
2659 _ACEOF
2660 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2662   *@@@%%%=?*=@@@%%%*)
2663     eval ac_cv_prog_make_${ac_make}_set=yes;;
2664   *)
2665     eval ac_cv_prog_make_${ac_make}_set=no;;
2666 esac
2667 rm -f conftest.make
2668 fi
2669 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2671 $as_echo "yes" >&6; }
2672   SET_MAKE=
2673 else
2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2676   SET_MAKE="MAKE=${MAKE-make}"
2677 fi
2678
2679 rm -rf .tst 2>/dev/null
2680 mkdir .tst 2>/dev/null
2681 if test -d .tst; then
2682   am__leading_dot=.
2683 else
2684   am__leading_dot=_
2685 fi
2686 rmdir .tst 2>/dev/null
2687
2688 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2689   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2690   # is not polluted with repeated "-I."
2691   am__isrc=' -I$(srcdir)'
2692   # test to see if srcdir already configured
2693   if test -f $srcdir/config.status; then
2694     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2695   fi
2696 fi
2697
2698 # test whether we have cygpath
2699 if test -z "$CYGPATH_W"; then
2700   if (cygpath --version) >/dev/null 2>/dev/null; then
2701     CYGPATH_W='cygpath -w'
2702   else
2703     CYGPATH_W=echo
2704   fi
2705 fi
2706
2707
2708 # Define the identity of the package.
2709  PACKAGE='libquadmath'
2710  VERSION='0.1'
2711
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE "$PACKAGE"
2715 _ACEOF
2716
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define VERSION "$VERSION"
2720 _ACEOF
2721
2722 # Some tools Automake needs.
2723
2724 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2725
2726
2727 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2728
2729
2730 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2731
2732
2733 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2734
2735
2736 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2737
2738 # We need awk for the "check" target.  The system "awk" is bad on
2739 # some platforms.
2740 # Always define AMTAR for backward compatibility.
2741
2742 AMTAR=${AMTAR-"${am_missing_run}tar"}
2743
2744 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2745
2746
2747
2748
2749
2750
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2752 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2753 # Check whether --enable-version-specific-runtime-libs was given.
2754 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2755   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2756  yes) version_specific_libs=yes ;;
2757  no)  version_specific_libs=no ;;
2758  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2759  esac
2760 else
2761   version_specific_libs=no
2762 fi
2763
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2765 $as_echo "$version_specific_libs" >&6; }
2766
2767
2768
2769 # Configure libtool
2770 case `pwd` in
2771   *\ * | *\     *)
2772     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2773 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2774 esac
2775
2776
2777
2778 macro_version='2.2.7a'
2779 macro_revision='1.3134'
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793 ltmain="$ac_aux_dir/ltmain.sh"
2794
2795 # Backslashify metacharacters that are still active within
2796 # double-quoted strings.
2797 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2798
2799 # Same as above, but do not quote variable references.
2800 double_quote_subst='s/\(["`\\]\)/\\\1/g'
2801
2802 # Sed substitution to delay expansion of an escaped shell variable in a
2803 # double_quote_subst'ed string.
2804 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2805
2806 # Sed substitution to delay expansion of an escaped single quote.
2807 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2808
2809 # Sed substitution to avoid accidental globbing in evaled expressions
2810 no_glob_subst='s/\*/\\\*/g'
2811
2812 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2813 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2814 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2815
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2817 $as_echo_n "checking how to print strings... " >&6; }
2818 # Test print first, because it will be a builtin if present.
2819 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
2820    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2821   ECHO='print -r --'
2822 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2823   ECHO='printf %s\n'
2824 else
2825   # Use this function as a fallback that always works.
2826   func_fallback_echo ()
2827   {
2828     eval 'cat <<_LTECHO_EOF
2829 $1
2830 _LTECHO_EOF'
2831   }
2832   ECHO='func_fallback_echo'
2833 fi
2834
2835 # func_echo_all arg...
2836 # Invoke $ECHO with all args, space-separated.
2837 func_echo_all ()
2838 {
2839     $ECHO ""
2840 }
2841
2842 case "$ECHO" in
2843   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2844 $as_echo "printf" >&6; } ;;
2845   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2846 $as_echo "print -r" >&6; } ;;
2847   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2848 $as_echo "cat" >&6; } ;;
2849 esac
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864 DEPDIR="${am__leading_dot}deps"
2865
2866 ac_config_commands="$ac_config_commands depfiles"
2867
2868
2869 am_make=${MAKE-make}
2870 cat > confinc << 'END'
2871 am__doit:
2872         @echo this is the am__doit target
2873 .PHONY: am__doit
2874 END
2875 # If we don't find an include directive, just comment out the code.
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2877 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2878 am__include="#"
2879 am__quote=
2880 _am_result=none
2881 # First try GNU make style include.
2882 echo "include confinc" > confmf
2883 # Ignore all kinds of additional output from `make'.
2884 case `$am_make -s -f confmf 2> /dev/null` in #(
2885 *the\ am__doit\ target*)
2886   am__include=include
2887   am__quote=
2888   _am_result=GNU
2889   ;;
2890 esac
2891 # Now try BSD make style include.
2892 if test "$am__include" = "#"; then
2893    echo '.include "confinc"' > confmf
2894    case `$am_make -s -f confmf 2> /dev/null` in #(
2895    *the\ am__doit\ target*)
2896      am__include=.include
2897      am__quote="\""
2898      _am_result=BSD
2899      ;;
2900    esac
2901 fi
2902
2903
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2905 $as_echo "$_am_result" >&6; }
2906 rm -f confinc confmf
2907
2908 # Check whether --enable-dependency-tracking was given.
2909 if test "${enable_dependency_tracking+set}" = set; then :
2910   enableval=$enable_dependency_tracking;
2911 fi
2912
2913 if test "x$enable_dependency_tracking" != xno; then
2914   am_depcomp="$ac_aux_dir/depcomp"
2915   AMDEPBACKSLASH='\'
2916 fi
2917  if test "x$enable_dependency_tracking" != xno; then
2918   AMDEP_TRUE=
2919   AMDEP_FALSE='#'
2920 else
2921   AMDEP_TRUE='#'
2922   AMDEP_FALSE=
2923 fi
2924
2925
2926 ac_ext=c
2927 ac_cpp='$CPP $CPPFLAGS'
2928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2931 if test -n "$ac_tool_prefix"; then
2932   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2933 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if test "${ac_cv_prog_CC+set}" = set; then :
2937   $as_echo_n "(cached) " >&6
2938 else
2939   if test -n "$CC"; then
2940   ac_cv_prog_CC="$CC" # Let the user override the test.
2941 else
2942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 for as_dir in $PATH
2944 do
2945   IFS=$as_save_IFS
2946   test -z "$as_dir" && as_dir=.
2947     for ac_exec_ext in '' $ac_executable_extensions; do
2948   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2950     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2951     break 2
2952   fi
2953 done
2954   done
2955 IFS=$as_save_IFS
2956
2957 fi
2958 fi
2959 CC=$ac_cv_prog_CC
2960 if test -n "$CC"; then
2961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2962 $as_echo "$CC" >&6; }
2963 else
2964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2966 fi
2967
2968
2969 fi
2970 if test -z "$ac_cv_prog_CC"; then
2971   ac_ct_CC=$CC
2972   # Extract the first word of "gcc", so it can be a program name with args.
2973 set dummy gcc; ac_word=$2
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2975 $as_echo_n "checking for $ac_word... " >&6; }
2976 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2977   $as_echo_n "(cached) " >&6
2978 else
2979   if test -n "$ac_ct_CC"; then
2980   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2981 else
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 for as_dir in $PATH
2984 do
2985   IFS=$as_save_IFS
2986   test -z "$as_dir" && as_dir=.
2987     for ac_exec_ext in '' $ac_executable_extensions; do
2988   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989     ac_cv_prog_ac_ct_CC="gcc"
2990     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2991     break 2
2992   fi
2993 done
2994   done
2995 IFS=$as_save_IFS
2996
2997 fi
2998 fi
2999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3000 if test -n "$ac_ct_CC"; then
3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3002 $as_echo "$ac_ct_CC" >&6; }
3003 else
3004   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3005 $as_echo "no" >&6; }
3006 fi
3007
3008   if test "x$ac_ct_CC" = x; then
3009     CC=""
3010   else
3011     case $cross_compiling:$ac_tool_warned in
3012 yes:)
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3015 ac_tool_warned=yes ;;
3016 esac
3017     CC=$ac_ct_CC
3018   fi
3019 else
3020   CC="$ac_cv_prog_CC"
3021 fi
3022
3023 if test -z "$CC"; then
3024           if test -n "$ac_tool_prefix"; then
3025     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3026 set dummy ${ac_tool_prefix}cc; ac_word=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_CC+set}" = set; then :
3030   $as_echo_n "(cached) " >&6
3031 else
3032   if test -n "$CC"; then
3033   ac_cv_prog_CC="$CC" # Let the user override the test.
3034 else
3035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 for as_dir in $PATH
3037 do
3038   IFS=$as_save_IFS
3039   test -z "$as_dir" && as_dir=.
3040     for ac_exec_ext in '' $ac_executable_extensions; do
3041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3042     ac_cv_prog_CC="${ac_tool_prefix}cc"
3043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3044     break 2
3045   fi
3046 done
3047   done
3048 IFS=$as_save_IFS
3049
3050 fi
3051 fi
3052 CC=$ac_cv_prog_CC
3053 if test -n "$CC"; then
3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3055 $as_echo "$CC" >&6; }
3056 else
3057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3059 fi
3060
3061
3062   fi
3063 fi
3064 if test -z "$CC"; then
3065   # Extract the first word of "cc", so it can be a program name with args.
3066 set dummy cc; ac_word=$2
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3068 $as_echo_n "checking for $ac_word... " >&6; }
3069 if test "${ac_cv_prog_CC+set}" = set; then :
3070   $as_echo_n "(cached) " >&6
3071 else
3072   if test -n "$CC"; then
3073   ac_cv_prog_CC="$CC" # Let the user override the test.
3074 else
3075   ac_prog_rejected=no
3076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077 for as_dir in $PATH
3078 do
3079   IFS=$as_save_IFS
3080   test -z "$as_dir" && as_dir=.
3081     for ac_exec_ext in '' $ac_executable_extensions; do
3082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3084        ac_prog_rejected=yes
3085        continue
3086      fi
3087     ac_cv_prog_CC="cc"
3088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3089     break 2
3090   fi
3091 done
3092   done
3093 IFS=$as_save_IFS
3094
3095 if test $ac_prog_rejected = yes; then
3096   # We found a bogon in the path, so make sure we never use it.
3097   set dummy $ac_cv_prog_CC
3098   shift
3099   if test $# != 0; then
3100     # We chose a different compiler from the bogus one.
3101     # However, it has the same basename, so the bogon will be chosen
3102     # first if we set CC to just the basename; use the full file name.
3103     shift
3104     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3105   fi
3106 fi
3107 fi
3108 fi
3109 CC=$ac_cv_prog_CC
3110 if test -n "$CC"; then
3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3112 $as_echo "$CC" >&6; }
3113 else
3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3116 fi
3117
3118
3119 fi
3120 if test -z "$CC"; then
3121   if test -n "$ac_tool_prefix"; then
3122   for ac_prog in cl.exe
3123   do
3124     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3127 $as_echo_n "checking for $ac_word... " >&6; }
3128 if test "${ac_cv_prog_CC+set}" = set; then :
3129   $as_echo_n "(cached) " >&6
3130 else
3131   if test -n "$CC"; then
3132   ac_cv_prog_CC="$CC" # Let the user override the test.
3133 else
3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 for as_dir in $PATH
3136 do
3137   IFS=$as_save_IFS
3138   test -z "$as_dir" && as_dir=.
3139     for ac_exec_ext in '' $ac_executable_extensions; do
3140   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3141     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3143     break 2
3144   fi
3145 done
3146   done
3147 IFS=$as_save_IFS
3148
3149 fi
3150 fi
3151 CC=$ac_cv_prog_CC
3152 if test -n "$CC"; then
3153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3154 $as_echo "$CC" >&6; }
3155 else
3156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3157 $as_echo "no" >&6; }
3158 fi
3159
3160
3161     test -n "$CC" && break
3162   done
3163 fi
3164 if test -z "$CC"; then
3165   ac_ct_CC=$CC
3166   for ac_prog in cl.exe
3167 do
3168   # Extract the first word of "$ac_prog", so it can be a program name with args.
3169 set dummy $ac_prog; ac_word=$2
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171 $as_echo_n "checking for $ac_word... " >&6; }
3172 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3173   $as_echo_n "(cached) " >&6
3174 else
3175   if test -n "$ac_ct_CC"; then
3176   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3177 else
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH
3180 do
3181   IFS=$as_save_IFS
3182   test -z "$as_dir" && as_dir=.
3183     for ac_exec_ext in '' $ac_executable_extensions; do
3184   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3185     ac_cv_prog_ac_ct_CC="$ac_prog"
3186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187     break 2
3188   fi
3189 done
3190   done
3191 IFS=$as_save_IFS
3192
3193 fi
3194 fi
3195 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3196 if test -n "$ac_ct_CC"; then
3197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3198 $as_echo "$ac_ct_CC" >&6; }
3199 else
3200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3201 $as_echo "no" >&6; }
3202 fi
3203
3204
3205   test -n "$ac_ct_CC" && break
3206 done
3207
3208   if test "x$ac_ct_CC" = x; then
3209     CC=""
3210   else
3211     case $cross_compiling:$ac_tool_warned in
3212 yes:)
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3215 ac_tool_warned=yes ;;
3216 esac
3217     CC=$ac_ct_CC
3218   fi
3219 fi
3220
3221 fi
3222
3223
3224 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3226 as_fn_error "no acceptable C compiler found in \$PATH
3227 See \`config.log' for more details." "$LINENO" 5; }
3228
3229 # Provide some information about the compiler.
3230 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3231 set X $ac_compile
3232 ac_compiler=$2
3233 for ac_option in --version -v -V -qversion; do
3234   { { ac_try="$ac_compiler $ac_option >&5"
3235 case "(($ac_try" in
3236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3237   *) ac_try_echo=$ac_try;;
3238 esac
3239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3240 $as_echo "$ac_try_echo"; } >&5
3241   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3242   ac_status=$?
3243   if test -s conftest.err; then
3244     sed '10a\
3245 ... rest of stderr output deleted ...
3246          10q' conftest.err >conftest.er1
3247     cat conftest.er1 >&5
3248     rm -f conftest.er1 conftest.err
3249   fi
3250   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3251   test $ac_status = 0; }
3252 done
3253
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h.  */
3256
3257 int
3258 main ()
3259 {
3260
3261   ;
3262   return 0;
3263 }
3264 _ACEOF
3265 # FIXME: Cleanup?
3266 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3267   (eval $ac_link) 2>&5
3268   ac_status=$?
3269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3270   test $ac_status = 0; }; then :
3271   gcc_no_link=no
3272 else
3273   gcc_no_link=yes
3274 fi
3275 if test x$gcc_no_link = xyes; then
3276   # Setting cross_compile will disable run tests; it will
3277   # also disable AC_CHECK_FILE but that's generally
3278   # correct if we can't link.
3279   cross_compiling=yes
3280   EXEEXT=
3281 else
3282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h.  */
3284
3285 int
3286 main ()
3287 {
3288
3289   ;
3290   return 0;
3291 }
3292 _ACEOF
3293 ac_clean_files_save=$ac_clean_files
3294 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3295 # Try to create an executable without -o first, disregard a.out.
3296 # It will help us diagnose broken compilers, and finding out an intuition
3297 # of exeext.
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3299 $as_echo_n "checking for C compiler default output file name... " >&6; }
3300 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3301
3302 # The possible output files:
3303 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3304
3305 ac_rmfiles=
3306 for ac_file in $ac_files
3307 do
3308   case $ac_file in
3309     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3310     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3311   esac
3312 done
3313 rm -f $ac_rmfiles
3314
3315 if { { ac_try="$ac_link_default"
3316 case "(($ac_try" in
3317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3318   *) ac_try_echo=$ac_try;;
3319 esac
3320 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3321 $as_echo "$ac_try_echo"; } >&5
3322   (eval "$ac_link_default") 2>&5
3323   ac_status=$?
3324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3325   test $ac_status = 0; }; then :
3326   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3327 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3328 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3329 # so that the user can short-circuit this test for compilers unknown to
3330 # Autoconf.
3331 for ac_file in $ac_files ''
3332 do
3333   test -f "$ac_file" || continue
3334   case $ac_file in
3335     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3336         ;;
3337     [ab].out )
3338         # We found the default executable, but exeext='' is most
3339         # certainly right.
3340         break;;
3341     *.* )
3342         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3343         then :; else
3344            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3345         fi
3346         # We set ac_cv_exeext here because the later test for it is not
3347         # safe: cross compilers may not add the suffix if given an `-o'
3348         # argument, so we may need to know it at that point already.
3349         # Even if this section looks crufty: it has the advantage of
3350         # actually working.
3351         break;;
3352     * )
3353         break;;
3354   esac
3355 done
3356 test "$ac_cv_exeext" = no && ac_cv_exeext=
3357
3358 else
3359   ac_file=''
3360 fi
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3362 $as_echo "$ac_file" >&6; }
3363 if test -z "$ac_file"; then :
3364   $as_echo "$as_me: failed program was:" >&5
3365 sed 's/^/| /' conftest.$ac_ext >&5
3366
3367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3369 { as_fn_set_status 77
3370 as_fn_error "C compiler cannot create executables
3371 See \`config.log' for more details." "$LINENO" 5; }; }
3372 fi
3373 ac_exeext=$ac_cv_exeext
3374
3375 # Check that the compiler produces executables we can run.  If not, either
3376 # the compiler is broken, or we cross compile.
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3378 $as_echo_n "checking whether the C compiler works... " >&6; }
3379 # If not cross compiling, check that we can run a simple program.
3380 if test "$cross_compiling" != yes; then
3381   if { ac_try='./$ac_file'
3382   { { case "(($ac_try" in
3383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3384   *) ac_try_echo=$ac_try;;
3385 esac
3386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3387 $as_echo "$ac_try_echo"; } >&5
3388   (eval "$ac_try") 2>&5
3389   ac_status=$?
3390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3391   test $ac_status = 0; }; }; then
3392     cross_compiling=no
3393   else
3394     if test "$cross_compiling" = maybe; then
3395         cross_compiling=yes
3396     else
3397         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3399 as_fn_error "cannot run C compiled programs.
3400 If you meant to cross compile, use \`--host'.
3401 See \`config.log' for more details." "$LINENO" 5; }
3402     fi
3403   fi
3404 fi
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3406 $as_echo "yes" >&6; }
3407
3408 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3409 ac_clean_files=$ac_clean_files_save
3410 # Check that the compiler produces executables we can run.  If not, either
3411 # the compiler is broken, or we cross compile.
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3413 $as_echo_n "checking whether we are cross compiling... " >&6; }
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3415 $as_echo "$cross_compiling" >&6; }
3416
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3418 $as_echo_n "checking for suffix of executables... " >&6; }
3419 if { { ac_try="$ac_link"
3420 case "(($ac_try" in
3421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3422   *) ac_try_echo=$ac_try;;
3423 esac
3424 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3425 $as_echo "$ac_try_echo"; } >&5
3426   (eval "$ac_link") 2>&5
3427   ac_status=$?
3428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3429   test $ac_status = 0; }; then :
3430   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3431 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3432 # work properly (i.e., refer to `conftest.exe'), while it won't with
3433 # `rm'.
3434 for ac_file in conftest.exe conftest conftest.*; do
3435   test -f "$ac_file" || continue
3436   case $ac_file in
3437     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3438     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3439           break;;
3440     * ) break;;
3441   esac
3442 done
3443 else
3444   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 as_fn_error "cannot compute suffix of executables: cannot compile and link
3447 See \`config.log' for more details." "$LINENO" 5; }
3448 fi
3449 rm -f conftest$ac_cv_exeext
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3451 $as_echo "$ac_cv_exeext" >&6; }
3452
3453 rm -f conftest.$ac_ext
3454 EXEEXT=$ac_cv_exeext
3455 ac_exeext=$EXEEXT
3456 fi
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3458 $as_echo_n "checking for suffix of object files... " >&6; }
3459 if test "${ac_cv_objext+set}" = set; then :
3460   $as_echo_n "(cached) " >&6
3461 else
3462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3463 /* end confdefs.h.  */
3464
3465 int
3466 main ()
3467 {
3468
3469   ;
3470   return 0;
3471 }
3472 _ACEOF
3473 rm -f conftest.o conftest.obj
3474 if { { ac_try="$ac_compile"
3475 case "(($ac_try" in
3476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477   *) ac_try_echo=$ac_try;;
3478 esac
3479 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480 $as_echo "$ac_try_echo"; } >&5
3481   (eval "$ac_compile") 2>&5
3482   ac_status=$?
3483   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3484   test $ac_status = 0; }; then :
3485   for ac_file in conftest.o conftest.obj conftest.*; do
3486   test -f "$ac_file" || continue;
3487   case $ac_file in
3488     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3489     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3490        break;;
3491   esac
3492 done
3493 else
3494   $as_echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.$ac_ext >&5
3496
3497 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 as_fn_error "cannot compute suffix of object files: cannot compile
3500 See \`config.log' for more details." "$LINENO" 5; }
3501 fi
3502 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3503 fi
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3505 $as_echo "$ac_cv_objext" >&6; }
3506 OBJEXT=$ac_cv_objext
3507 ac_objext=$OBJEXT
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3509 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3510 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3511   $as_echo_n "(cached) " >&6
3512 else
3513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514 /* end confdefs.h.  */
3515
3516 int
3517 main ()
3518 {
3519 #ifndef __GNUC__
3520        choke me
3521 #endif
3522
3523   ;
3524   return 0;
3525 }
3526 _ACEOF
3527 if ac_fn_c_try_compile "$LINENO"; then :
3528   ac_compiler_gnu=yes
3529 else
3530   ac_compiler_gnu=no
3531 fi
3532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3533 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3534
3535 fi
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3537 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3538 if test $ac_compiler_gnu = yes; then
3539   GCC=yes
3540 else
3541   GCC=
3542 fi
3543 ac_test_CFLAGS=${CFLAGS+set}
3544 ac_save_CFLAGS=$CFLAGS
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3546 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3547 if test "${ac_cv_prog_cc_g+set}" = set; then :
3548   $as_echo_n "(cached) " >&6
3549 else
3550   ac_save_c_werror_flag=$ac_c_werror_flag
3551    ac_c_werror_flag=yes
3552    ac_cv_prog_cc_g=no
3553    CFLAGS="-g"
3554    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h.  */
3556
3557 int
3558 main ()
3559 {
3560
3561   ;
3562   return 0;
3563 }
3564 _ACEOF
3565 if ac_fn_c_try_compile "$LINENO"; then :
3566   ac_cv_prog_cc_g=yes
3567 else
3568   CFLAGS=""
3569       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570 /* end confdefs.h.  */
3571
3572 int
3573 main ()
3574 {
3575
3576   ;
3577   return 0;
3578 }
3579 _ACEOF
3580 if ac_fn_c_try_compile "$LINENO"; then :
3581
3582 else
3583   ac_c_werror_flag=$ac_save_c_werror_flag
3584          CFLAGS="-g"
3585          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h.  */
3587
3588 int
3589 main ()
3590 {
3591
3592   ;
3593   return 0;
3594 }
3595 _ACEOF
3596 if ac_fn_c_try_compile "$LINENO"; then :
3597   ac_cv_prog_cc_g=yes
3598 fi
3599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3600 fi
3601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3602 fi
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3604    ac_c_werror_flag=$ac_save_c_werror_flag
3605 fi
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3607 $as_echo "$ac_cv_prog_cc_g" >&6; }
3608 if test "$ac_test_CFLAGS" = set; then
3609   CFLAGS=$ac_save_CFLAGS
3610 elif test $ac_cv_prog_cc_g = yes; then
3611   if test "$GCC" = yes; then
3612     CFLAGS="-g -O2"
3613   else
3614     CFLAGS="-g"
3615   fi
3616 else
3617   if test "$GCC" = yes; then
3618     CFLAGS="-O2"
3619   else
3620     CFLAGS=
3621   fi
3622 fi
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3624 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3625 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3626   $as_echo_n "(cached) " >&6
3627 else
3628   ac_cv_prog_cc_c89=no
3629 ac_save_CC=$CC
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h.  */
3632 #include <stdarg.h>
3633 #include <stdio.h>
3634 #include <sys/types.h>
3635 #include <sys/stat.h>
3636 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3637 struct buf { int x; };
3638 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3639 static char *e (p, i)
3640      char **p;
3641      int i;
3642 {
3643   return p[i];
3644 }
3645 static char *f (char * (*g) (char **, int), char **p, ...)
3646 {
3647   char *s;
3648   va_list v;
3649   va_start (v,p);
3650   s = g (p, va_arg (v,int));
3651   va_end (v);
3652   return s;
3653 }
3654
3655 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3656    function prototypes and stuff, but not '\xHH' hex character constants.
3657    These don't provoke an error unfortunately, instead are silently treated
3658    as 'x'.  The following induces an error, until -std is added to get
3659    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3660    array size at least.  It's necessary to write '\x00'==0 to get something
3661    that's true only with -std.  */
3662 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3663
3664 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3665    inside strings and character constants.  */
3666 #define FOO(x) 'x'
3667 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3668
3669 int test (int i, double x);
3670 struct s1 {int (*f) (int a);};
3671 struct s2 {int (*f) (double a);};
3672 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3673 int argc;
3674 char **argv;
3675 int
3676 main ()
3677 {
3678 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3679   ;
3680   return 0;
3681 }
3682 _ACEOF
3683 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3684         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3685 do
3686   CC="$ac_save_CC $ac_arg"
3687   if ac_fn_c_try_compile "$LINENO"; then :
3688   ac_cv_prog_cc_c89=$ac_arg
3689 fi
3690 rm -f core conftest.err conftest.$ac_objext
3691   test "x$ac_cv_prog_cc_c89" != "xno" && break
3692 done
3693 rm -f conftest.$ac_ext
3694 CC=$ac_save_CC
3695
3696 fi
3697 # AC_CACHE_VAL
3698 case "x$ac_cv_prog_cc_c89" in
3699   x)
3700     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3701 $as_echo "none needed" >&6; } ;;
3702   xno)
3703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3704 $as_echo "unsupported" >&6; } ;;
3705   *)
3706     CC="$CC $ac_cv_prog_cc_c89"
3707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3708 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3709 esac
3710 if test "x$ac_cv_prog_cc_c89" != xno; then :
3711
3712 fi
3713
3714 ac_ext=c
3715 ac_cpp='$CPP $CPPFLAGS'
3716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3719
3720 depcc="$CC"   am_compiler_list=
3721
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3723 $as_echo_n "checking dependency style of $depcc... " >&6; }
3724 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3725   $as_echo_n "(cached) " >&6
3726 else
3727   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3728   # We make a subdir and do the tests there.  Otherwise we can end up
3729   # making bogus files that we don't know about and never remove.  For
3730   # instance it was reported that on HP-UX the gcc test will end up
3731   # making a dummy file named `D' -- because `-MD' means `put the output
3732   # in D'.
3733   mkdir conftest.dir
3734   # Copy depcomp to subdir because otherwise we won't find it if we're
3735   # using a relative directory.
3736   cp "$am_depcomp" conftest.dir
3737   cd conftest.dir
3738   # We will build objects and dependencies in a subdirectory because
3739   # it helps to detect inapplicable dependency modes.  For instance
3740   # both Tru64's cc and ICC support -MD to output dependencies as a
3741   # side effect of compilation, but ICC will put the dependencies in
3742   # the current directory while Tru64 will put them in the object
3743   # directory.
3744   mkdir sub
3745
3746   am_cv_CC_dependencies_compiler_type=none
3747   if test "$am_compiler_list" = ""; then
3748      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3749   fi
3750   am__universal=false
3751   case " $depcc " in #(
3752      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3753      esac
3754
3755   for depmode in $am_compiler_list; do
3756     # Setup a source with many dependencies, because some compilers
3757     # like to wrap large dependency lists on column 80 (with \), and
3758     # we should not choose a depcomp mode which is confused by this.
3759     #
3760     # We need to recreate these files for each test, as the compiler may
3761     # overwrite some of them when testing with obscure command lines.
3762     # This happens at least with the AIX C compiler.
3763     : > sub/conftest.c
3764     for i in 1 2 3 4 5 6; do
3765       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3766       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3767       # Solaris 8's {/usr,}/bin/sh.
3768       touch sub/conftst$i.h
3769     done
3770     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3771
3772     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3773     # mode.  It turns out that the SunPro C++ compiler does not properly
3774     # handle `-M -o', and we need to detect this.  Also, some Intel
3775     # versions had trouble with output in subdirs
3776     am__obj=sub/conftest.${OBJEXT-o}
3777     am__minus_obj="-o $am__obj"
3778     case $depmode in
3779     gcc)
3780       # This depmode causes a compiler race in universal mode.
3781       test "$am__universal" = false || continue
3782       ;;
3783     nosideeffect)
3784       # after this tag, mechanisms are not by side-effect, so they'll
3785       # only be used when explicitly requested
3786       if test "x$enable_dependency_tracking" = xyes; then
3787         continue
3788       else
3789         break
3790       fi
3791       ;;
3792     msvisualcpp | msvcmsys)
3793       # This compiler won't grok `-c -o', but also, the minuso test has
3794       # not run yet.  These depmodes are late enough in the game, and
3795       # so weak that their functioning should not be impacted.
3796       am__obj=conftest.${OBJEXT-o}
3797       am__minus_obj=
3798       ;;
3799     none) break ;;
3800     esac
3801     if depmode=$depmode \
3802        source=sub/conftest.c object=$am__obj \
3803        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3804        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3805          >/dev/null 2>conftest.err &&
3806        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3807        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3808        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3809        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3810       # icc doesn't choke on unknown options, it will just issue warnings
3811       # or remarks (even with -Werror).  So we grep stderr for any message
3812       # that says an option was ignored or not supported.
3813       # When given -MP, icc 7.0 and 7.1 complain thusly:
3814       #   icc: Command line warning: ignoring option '-M'; no argument required
3815       # The diagnosis changed in icc 8.0:
3816       #   icc: Command line remark: option '-MP' not supported
3817       if (grep 'ignoring option' conftest.err ||
3818           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3819         am_cv_CC_dependencies_compiler_type=$depmode
3820         break
3821       fi
3822     fi
3823   done
3824
3825   cd ..
3826   rm -rf conftest.dir
3827 else
3828   am_cv_CC_dependencies_compiler_type=none
3829 fi
3830
3831 fi
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3833 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3834 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3835
3836  if
3837   test "x$enable_dependency_tracking" != xno \
3838   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3839   am__fastdepCC_TRUE=
3840   am__fastdepCC_FALSE='#'
3841 else
3842   am__fastdepCC_TRUE='#'
3843   am__fastdepCC_FALSE=
3844 fi
3845
3846
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3848 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
3849 if test "${ac_cv_path_SED+set}" = set; then :
3850   $as_echo_n "(cached) " >&6
3851 else
3852             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3853      for ac_i in 1 2 3 4 5 6 7; do
3854        ac_script="$ac_script$as_nl$ac_script"
3855      done
3856      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3857      { ac_script=; unset ac_script;}
3858      if test -z "$SED"; then
3859   ac_path_SED_found=false
3860   # Loop through the user's path and test for each of PROGNAME-LIST
3861   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 for as_dir in $PATH
3863 do
3864   IFS=$as_save_IFS
3865   test -z "$as_dir" && as_dir=.
3866     for ac_prog in sed gsed; do
3867     for ac_exec_ext in '' $ac_executable_extensions; do
3868       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3869       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3870 # Check for GNU ac_path_SED and select it if it is found.
3871   # Check for GNU $ac_path_SED
3872 case `"$ac_path_SED" --version 2>&1` in
3873 *GNU*)
3874   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3875 *)
3876   ac_count=0
3877   $as_echo_n 0123456789 >"conftest.in"
3878   while :
3879   do
3880     cat "conftest.in" "conftest.in" >"conftest.tmp"
3881     mv "conftest.tmp" "conftest.in"
3882     cp "conftest.in" "conftest.nl"
3883     $as_echo '' >> "conftest.nl"
3884     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3885     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3886     as_fn_arith $ac_count + 1 && ac_count=$as_val
3887     if test $ac_count -gt ${ac_path_SED_max-0}; then
3888       # Best one so far, save it but keep looking for a better one
3889       ac_cv_path_SED="$ac_path_SED"
3890       ac_path_SED_max=$ac_count
3891     fi
3892     # 10*(2^10) chars as input seems more than enough
3893     test $ac_count -gt 10 && break
3894   done
3895   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3896 esac
3897
3898       $ac_path_SED_found && break 3
3899     done
3900   done
3901   done
3902 IFS=$as_save_IFS
3903   if test -z "$ac_cv_path_SED"; then
3904     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
3905   fi
3906 else
3907   ac_cv_path_SED=$SED
3908 fi
3909
3910 fi
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
3912 $as_echo "$ac_cv_path_SED" >&6; }
3913  SED="$ac_cv_path_SED"
3914   rm -f conftest.sed
3915
3916 test -z "$SED" && SED=sed
3917 Xsed="$SED -e 1s/^X//"
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3930 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3931 if test "${ac_cv_path_GREP+set}" = set; then :
3932   $as_echo_n "(cached) " >&6
3933 else
3934   if test -z "$GREP"; then
3935   ac_path_GREP_found=false
3936   # Loop through the user's path and test for each of PROGNAME-LIST
3937   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3939 do
3940   IFS=$as_save_IFS
3941   test -z "$as_dir" && as_dir=.
3942     for ac_prog in grep ggrep; do
3943     for ac_exec_ext in '' $ac_executable_extensions; do
3944       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3945       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3946 # Check for GNU ac_path_GREP and select it if it is found.
3947   # Check for GNU $ac_path_GREP
3948 case `"$ac_path_GREP" --version 2>&1` in
3949 *GNU*)
3950   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3951 *)
3952   ac_count=0
3953   $as_echo_n 0123456789 >"conftest.in"
3954   while :
3955   do
3956     cat "conftest.in" "conftest.in" >"conftest.tmp"
3957     mv "conftest.tmp" "conftest.in"
3958     cp "conftest.in" "conftest.nl"
3959     $as_echo 'GREP' >> "conftest.nl"
3960     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3961     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3962     as_fn_arith $ac_count + 1 && ac_count=$as_val
3963     if test $ac_count -gt ${ac_path_GREP_max-0}; then
3964       # Best one so far, save it but keep looking for a better one
3965       ac_cv_path_GREP="$ac_path_GREP"
3966       ac_path_GREP_max=$ac_count
3967     fi
3968     # 10*(2^10) chars as input seems more than enough
3969     test $ac_count -gt 10 && break
3970   done
3971   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3972 esac
3973
3974       $ac_path_GREP_found && break 3
3975     done
3976   done
3977   done
3978 IFS=$as_save_IFS
3979   if test -z "$ac_cv_path_GREP"; then
3980     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3981   fi
3982 else
3983   ac_cv_path_GREP=$GREP
3984 fi
3985
3986 fi
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3988 $as_echo "$ac_cv_path_GREP" >&6; }
3989  GREP="$ac_cv_path_GREP"
3990
3991
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3993 $as_echo_n "checking for egrep... " >&6; }
3994 if test "${ac_cv_path_EGREP+set}" = set; then :
3995   $as_echo_n "(cached) " >&6
3996 else
3997   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3998    then ac_cv_path_EGREP="$GREP -E"
3999    else
4000      if test -z "$EGREP"; then
4001   ac_path_EGREP_found=false
4002   # Loop through the user's path and test for each of PROGNAME-LIST
4003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4005 do
4006   IFS=$as_save_IFS
4007   test -z "$as_dir" && as_dir=.
4008     for ac_prog in egrep; do
4009     for ac_exec_ext in '' $ac_executable_extensions; do
4010       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4011       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4012 # Check for GNU ac_path_EGREP and select it if it is found.
4013   # Check for GNU $ac_path_EGREP
4014 case `"$ac_path_EGREP" --version 2>&1` in
4015 *GNU*)
4016   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4017 *)
4018   ac_count=0
4019   $as_echo_n 0123456789 >"conftest.in"
4020   while :
4021   do
4022     cat "conftest.in" "conftest.in" >"conftest.tmp"
4023     mv "conftest.tmp" "conftest.in"
4024     cp "conftest.in" "conftest.nl"
4025     $as_echo 'EGREP' >> "conftest.nl"
4026     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4027     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4028     as_fn_arith $ac_count + 1 && ac_count=$as_val
4029     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4030       # Best one so far, save it but keep looking for a better one
4031       ac_cv_path_EGREP="$ac_path_EGREP"
4032       ac_path_EGREP_max=$ac_count
4033     fi
4034     # 10*(2^10) chars as input seems more than enough
4035     test $ac_count -gt 10 && break
4036   done
4037   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4038 esac
4039
4040       $ac_path_EGREP_found && break 3
4041     done
4042   done
4043   done
4044 IFS=$as_save_IFS
4045   if test -z "$ac_cv_path_EGREP"; then
4046     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4047   fi
4048 else
4049   ac_cv_path_EGREP=$EGREP
4050 fi
4051
4052    fi
4053 fi
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4055 $as_echo "$ac_cv_path_EGREP" >&6; }
4056  EGREP="$ac_cv_path_EGREP"
4057
4058
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4060 $as_echo_n "checking for fgrep... " >&6; }
4061 if test "${ac_cv_path_FGREP+set}" = set; then :
4062   $as_echo_n "(cached) " >&6
4063 else
4064   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4065    then ac_cv_path_FGREP="$GREP -F"
4066    else
4067      if test -z "$FGREP"; then
4068   ac_path_FGREP_found=false
4069   # Loop through the user's path and test for each of PROGNAME-LIST
4070   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4071 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4072 do
4073   IFS=$as_save_IFS
4074   test -z "$as_dir" && as_dir=.
4075     for ac_prog in fgrep; do
4076     for ac_exec_ext in '' $ac_executable_extensions; do
4077       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4078       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4079 # Check for GNU ac_path_FGREP and select it if it is found.
4080   # Check for GNU $ac_path_FGREP
4081 case `"$ac_path_FGREP" --version 2>&1` in
4082 *GNU*)
4083   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4084 *)
4085   ac_count=0
4086   $as_echo_n 0123456789 >"conftest.in"
4087   while :
4088   do
4089     cat "conftest.in" "conftest.in" >"conftest.tmp"
4090     mv "conftest.tmp" "conftest.in"
4091     cp "conftest.in" "conftest.nl"
4092     $as_echo 'FGREP' >> "conftest.nl"
4093     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4094     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4095     as_fn_arith $ac_count + 1 && ac_count=$as_val
4096     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4097       # Best one so far, save it but keep looking for a better one
4098       ac_cv_path_FGREP="$ac_path_FGREP"
4099       ac_path_FGREP_max=$ac_count
4100     fi
4101     # 10*(2^10) chars as input seems more than enough
4102     test $ac_count -gt 10 && break
4103   done
4104   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4105 esac
4106
4107       $ac_path_FGREP_found && break 3
4108     done
4109   done
4110   done
4111 IFS=$as_save_IFS
4112   if test -z "$ac_cv_path_FGREP"; then
4113     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4114   fi
4115 else
4116   ac_cv_path_FGREP=$FGREP
4117 fi
4118
4119    fi
4120 fi
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4122 $as_echo "$ac_cv_path_FGREP" >&6; }
4123  FGREP="$ac_cv_path_FGREP"
4124
4125
4126 test -z "$GREP" && GREP=grep
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146 # Check whether --with-gnu-ld was given.
4147 if test "${with_gnu_ld+set}" = set; then :
4148   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4149 else
4150   with_gnu_ld=no
4151 fi
4152
4153 ac_prog=ld
4154 if test "$GCC" = yes; then
4155   # Check if gcc -print-prog-name=ld gives a path.
4156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4157 $as_echo_n "checking for ld used by $CC... " >&6; }
4158   case $host in
4159   *-*-mingw*)
4160     # gcc leaves a trailing carriage return which upsets mingw
4161     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4162   *)
4163     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4164   esac
4165   case $ac_prog in
4166     # Accept absolute paths.
4167     [\\/]* | ?:[\\/]*)
4168       re_direlt='/[^/][^/]*/\.\./'
4169       # Canonicalize the pathname of ld
4170       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4171       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4172         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4173       done
4174       test -z "$LD" && LD="$ac_prog"
4175       ;;
4176   "")
4177     # If it fails, then pretend we aren't using GCC.
4178     ac_prog=ld
4179     ;;
4180   *)
4181     # If it is relative, then search for the first ld in PATH.
4182     with_gnu_ld=unknown
4183     ;;
4184   esac
4185 elif test "$with_gnu_ld" = yes; then
4186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4187 $as_echo_n "checking for GNU ld... " >&6; }
4188 else
4189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4190 $as_echo_n "checking for non-GNU ld... " >&6; }
4191 fi
4192 if test "${lt_cv_path_LD+set}" = set; then :
4193   $as_echo_n "(cached) " >&6
4194 else
4195   if test -z "$LD"; then
4196   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4197   for ac_dir in $PATH; do
4198     IFS="$lt_save_ifs"
4199     test -z "$ac_dir" && ac_dir=.
4200     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4201       lt_cv_path_LD="$ac_dir/$ac_prog"
4202       # Check to see if the program is GNU ld.  I'd rather use --version,
4203       # but apparently some variants of GNU ld only accept -v.
4204       # Break only if it was the GNU/non-GNU ld that we prefer.
4205       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4206       *GNU* | *'with BFD'*)
4207         test "$with_gnu_ld" != no && break
4208         ;;
4209       *)
4210         test "$with_gnu_ld" != yes && break
4211         ;;
4212       esac
4213     fi
4214   done
4215   IFS="$lt_save_ifs"
4216 else
4217   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4218 fi
4219 fi
4220
4221 LD="$lt_cv_path_LD"
4222 if test -n "$LD"; then
4223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4224 $as_echo "$LD" >&6; }
4225 else
4226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4228 fi
4229 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4231 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4232 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4233   $as_echo_n "(cached) " >&6
4234 else
4235   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4236 case `$LD -v 2>&1 </dev/null` in
4237 *GNU* | *'with BFD'*)
4238   lt_cv_prog_gnu_ld=yes
4239   ;;
4240 *)
4241   lt_cv_prog_gnu_ld=no
4242   ;;
4243 esac
4244 fi
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4246 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4247 with_gnu_ld=$lt_cv_prog_gnu_ld
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4258 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4259 if test "${lt_cv_path_NM+set}" = set; then :
4260   $as_echo_n "(cached) " >&6
4261 else
4262   if test -n "$NM"; then
4263   # Let the user override the test.
4264   lt_cv_path_NM="$NM"
4265 else
4266   lt_nm_to_check="${ac_tool_prefix}nm"
4267   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4268     lt_nm_to_check="$lt_nm_to_check nm"
4269   fi
4270   for lt_tmp_nm in $lt_nm_to_check; do
4271     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4272     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4273       IFS="$lt_save_ifs"
4274       test -z "$ac_dir" && ac_dir=.
4275       tmp_nm="$ac_dir/$lt_tmp_nm"
4276       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4277         # Check to see if the nm accepts a BSD-compat flag.
4278         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4279         #   nm: unknown option "B" ignored
4280         # Tru64's nm complains that /dev/null is an invalid object file
4281         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4282         */dev/null* | *'Invalid file or object type'*)
4283           lt_cv_path_NM="$tmp_nm -B"
4284           break
4285           ;;
4286         *)
4287           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4288           */dev/null*)
4289             lt_cv_path_NM="$tmp_nm -p"
4290             break
4291             ;;
4292           *)
4293             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4294             continue # so that we can try to find one that supports BSD flags
4295             ;;
4296           esac
4297           ;;
4298         esac
4299       fi
4300     done
4301     IFS="$lt_save_ifs"
4302   done
4303   : ${lt_cv_path_NM=no}
4304 fi
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4307 $as_echo "$lt_cv_path_NM" >&6; }
4308 if test "$lt_cv_path_NM" != "no"; then
4309   NM="$lt_cv_path_NM"
4310 else
4311   # Didn't find any BSD compatible name lister, look for dumpbin.
4312   if test -n "$DUMPBIN"; then :
4313     # Let the user override the test.
4314   else
4315     if test -n "$ac_tool_prefix"; then
4316   for ac_prog in dumpbin "link -dump"
4317   do
4318     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4319 set dummy $ac_tool_prefix$ac_prog; 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_DUMPBIN+set}" = set; then :
4323   $as_echo_n "(cached) " >&6
4324 else
4325   if test -n "$DUMPBIN"; then
4326   ac_cv_prog_DUMPBIN="$DUMPBIN" # 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_DUMPBIN="$ac_tool_prefix$ac_prog"
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 DUMPBIN=$ac_cv_prog_DUMPBIN
4346 if test -n "$DUMPBIN"; then
4347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4348 $as_echo "$DUMPBIN" >&6; }
4349 else
4350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4352 fi
4353
4354
4355     test -n "$DUMPBIN" && break
4356   done
4357 fi
4358 if test -z "$DUMPBIN"; then
4359   ac_ct_DUMPBIN=$DUMPBIN
4360   for ac_prog in dumpbin "link -dump"
4361 do
4362   # Extract the first word of "$ac_prog", so it can be a program name with args.
4363 set dummy $ac_prog; ac_word=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4367   $as_echo_n "(cached) " >&6
4368 else
4369   if test -n "$ac_ct_DUMPBIN"; then
4370   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4371 else
4372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4373 for as_dir in $PATH
4374 do
4375   IFS=$as_save_IFS
4376   test -z "$as_dir" && as_dir=.
4377     for ac_exec_ext in '' $ac_executable_extensions; do
4378   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4379     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4380     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381     break 2
4382   fi
4383 done
4384   done
4385 IFS=$as_save_IFS
4386
4387 fi
4388 fi
4389 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4390 if test -n "$ac_ct_DUMPBIN"; then
4391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4392 $as_echo "$ac_ct_DUMPBIN" >&6; }
4393 else
4394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4396 fi
4397
4398
4399   test -n "$ac_ct_DUMPBIN" && break
4400 done
4401
4402   if test "x$ac_ct_DUMPBIN" = x; then
4403     DUMPBIN=":"
4404   else
4405     case $cross_compiling:$ac_tool_warned in
4406 yes:)
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4409 ac_tool_warned=yes ;;
4410 esac
4411     DUMPBIN=$ac_ct_DUMPBIN
4412   fi
4413 fi
4414
4415     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4416     *COFF*)
4417       DUMPBIN="$DUMPBIN -symbols"
4418       ;;
4419     *)
4420       DUMPBIN=:
4421       ;;
4422     esac
4423   fi
4424
4425   if test "$DUMPBIN" != ":"; then
4426     NM="$DUMPBIN"
4427   fi
4428 fi
4429 test -z "$NM" && NM=nm
4430
4431
4432
4433
4434
4435
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4437 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4438 if test "${lt_cv_nm_interface+set}" = set; then :
4439   $as_echo_n "(cached) " >&6
4440 else
4441   lt_cv_nm_interface="BSD nm"
4442   echo "int some_variable = 0;" > conftest.$ac_ext
4443   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4444   (eval "$ac_compile" 2>conftest.err)
4445   cat conftest.err >&5
4446   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4447   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4448   cat conftest.err >&5
4449   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4450   cat conftest.out >&5
4451   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4452     lt_cv_nm_interface="MS dumpbin"
4453   fi
4454   rm -f conftest*
4455 fi
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4457 $as_echo "$lt_cv_nm_interface" >&6; }
4458
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4460 $as_echo_n "checking whether ln -s works... " >&6; }
4461 LN_S=$as_ln_s
4462 if test "$LN_S" = "ln -s"; then
4463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4464 $as_echo "yes" >&6; }
4465 else
4466   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4467 $as_echo "no, using $LN_S" >&6; }
4468 fi
4469
4470 # find the maximum length of command line arguments
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4472 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4473 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4474   $as_echo_n "(cached) " >&6
4475 else
4476     i=0
4477   teststring="ABCD"
4478
4479   case $build_os in
4480   msdosdjgpp*)
4481     # On DJGPP, this test can blow up pretty badly due to problems in libc
4482     # (any single argument exceeding 2000 bytes causes a buffer overrun
4483     # during glob expansion).  Even if it were fixed, the result of this
4484     # check would be larger than it should be.
4485     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4486     ;;
4487
4488   gnu*)
4489     # Under GNU Hurd, this test is not required because there is
4490     # no limit to the length of command line arguments.
4491     # Libtool will interpret -1 as no limit whatsoever
4492     lt_cv_sys_max_cmd_len=-1;
4493     ;;
4494
4495   cygwin* | mingw* | cegcc*)
4496     # On Win9x/ME, this test blows up -- it succeeds, but takes
4497     # about 5 minutes as the teststring grows exponentially.
4498     # Worse, since 9x/ME are not pre-emptively multitasking,
4499     # you end up with a "frozen" computer, even though with patience
4500     # the test eventually succeeds (with a max line length of 256k).
4501     # Instead, let's just punt: use the minimum linelength reported by
4502     # all of the supported platforms: 8192 (on NT/2K/XP).
4503     lt_cv_sys_max_cmd_len=8192;
4504     ;;
4505
4506   mint*)
4507     # On MiNT this can take a long time and run out of memory.
4508     lt_cv_sys_max_cmd_len=8192;
4509     ;;
4510
4511   amigaos*)
4512     # On AmigaOS with pdksh, this test takes hours, literally.
4513     # So we just punt and use a minimum line length of 8192.
4514     lt_cv_sys_max_cmd_len=8192;
4515     ;;
4516
4517   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4518     # This has been around since 386BSD, at least.  Likely further.
4519     if test -x /sbin/sysctl; then
4520       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4521     elif test -x /usr/sbin/sysctl; then
4522       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4523     else
4524       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4525     fi
4526     # And add a safety zone
4527     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4528     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4529     ;;
4530
4531   interix*)
4532     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4533     lt_cv_sys_max_cmd_len=196608
4534     ;;
4535
4536   osf*)
4537     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4538     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4539     # nice to cause kernel panics so lets avoid the loop below.
4540     # First set a reasonable default.
4541     lt_cv_sys_max_cmd_len=16384
4542     #
4543     if test -x /sbin/sysconfig; then
4544       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4545         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4546       esac
4547     fi
4548     ;;
4549   sco3.2v5*)
4550     lt_cv_sys_max_cmd_len=102400
4551     ;;
4552   sysv5* | sco5v6* | sysv4.2uw2*)
4553     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4554     if test -n "$kargmax"; then
4555       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4556     else
4557       lt_cv_sys_max_cmd_len=32768
4558     fi
4559     ;;
4560   *)
4561     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4562     if test -n "$lt_cv_sys_max_cmd_len"; then
4563       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4564       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4565     else
4566       # Make teststring a little bigger before we do anything with it.
4567       # a 1K string should be a reasonable start.
4568       for i in 1 2 3 4 5 6 7 8 ; do
4569         teststring=$teststring$teststring
4570       done
4571       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4572       # If test is not a shell built-in, we'll probably end up computing a
4573       # maximum length that is only half of the actual maximum length, but
4574       # we can't tell.
4575       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4576                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4577               test $i != 17 # 1/2 MB should be enough
4578       do
4579         i=`expr $i + 1`
4580         teststring=$teststring$teststring
4581       done
4582       # Only check the string length outside the loop.
4583       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4584       teststring=
4585       # Add a significant safety factor because C++ compilers can tack on
4586       # massive amounts of additional arguments before passing them to the
4587       # linker.  It appears as though 1/2 is a usable value.
4588       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4589     fi
4590     ;;
4591   esac
4592
4593 fi
4594
4595 if test -n $lt_cv_sys_max_cmd_len ; then
4596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4597 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4598 else
4599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4600 $as_echo "none" >&6; }
4601 fi
4602 max_cmd_len=$lt_cv_sys_max_cmd_len
4603
4604
4605
4606
4607
4608
4609 : ${CP="cp -f"}
4610 : ${MV="mv -f"}
4611 : ${RM="rm -f"}
4612
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4614 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4615 # Try some XSI features
4616 xsi_shell=no
4617 ( _lt_dummy="a/b/c"
4618   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4619       = c,a/b,, \
4620     && eval 'test $(( 1 + 1 )) -eq 2 \
4621     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4622   && xsi_shell=yes
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4624 $as_echo "$xsi_shell" >&6; }
4625
4626
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4628 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4629 lt_shell_append=no
4630 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4631     >/dev/null 2>&1 \
4632   && lt_shell_append=yes
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4634 $as_echo "$lt_shell_append" >&6; }
4635
4636
4637 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4638   lt_unset=unset
4639 else
4640   lt_unset=false
4641 fi
4642
4643
4644
4645
4646
4647 # test EBCDIC or ASCII
4648 case `echo X|tr X '\101'` in
4649  A) # ASCII based system
4650     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4651   lt_SP2NL='tr \040 \012'
4652   lt_NL2SP='tr \015\012 \040\040'
4653   ;;
4654  *) # EBCDIC based system
4655   lt_SP2NL='tr \100 \n'
4656   lt_NL2SP='tr \r\n \100\100'
4657   ;;
4658 esac
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4669 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4670 if test "${lt_cv_ld_reload_flag+set}" = set; then :
4671   $as_echo_n "(cached) " >&6
4672 else
4673   lt_cv_ld_reload_flag='-r'
4674 fi
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4676 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4677 reload_flag=$lt_cv_ld_reload_flag
4678 case $reload_flag in
4679 "" | " "*) ;;
4680 *) reload_flag=" $reload_flag" ;;
4681 esac
4682 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4683 case $host_os in
4684   darwin*)
4685     if test "$GCC" = yes; then
4686       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4687     else
4688       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4689     fi
4690     ;;
4691 esac
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701 if test -n "$ac_tool_prefix"; then
4702   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4703 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4707   $as_echo_n "(cached) " >&6
4708 else
4709   if test -n "$OBJDUMP"; then
4710   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4711 else
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713 for as_dir in $PATH
4714 do
4715   IFS=$as_save_IFS
4716   test -z "$as_dir" && as_dir=.
4717     for ac_exec_ext in '' $ac_executable_extensions; do
4718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4719     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721     break 2
4722   fi
4723 done
4724   done
4725 IFS=$as_save_IFS
4726
4727 fi
4728 fi
4729 OBJDUMP=$ac_cv_prog_OBJDUMP
4730 if test -n "$OBJDUMP"; then
4731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4732 $as_echo "$OBJDUMP" >&6; }
4733 else
4734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4736 fi
4737
4738
4739 fi
4740 if test -z "$ac_cv_prog_OBJDUMP"; then
4741   ac_ct_OBJDUMP=$OBJDUMP
4742   # Extract the first word of "objdump", so it can be a program name with args.
4743 set dummy objdump; ac_word=$2
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4745 $as_echo_n "checking for $ac_word... " >&6; }
4746 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4747   $as_echo_n "(cached) " >&6
4748 else
4749   if test -n "$ac_ct_OBJDUMP"; then
4750   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4751 else
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4753 for as_dir in $PATH
4754 do
4755   IFS=$as_save_IFS
4756   test -z "$as_dir" && as_dir=.
4757     for ac_exec_ext in '' $ac_executable_extensions; do
4758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4759     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4760     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4761     break 2
4762   fi
4763 done
4764   done
4765 IFS=$as_save_IFS
4766
4767 fi
4768 fi
4769 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4770 if test -n "$ac_ct_OBJDUMP"; then
4771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4772 $as_echo "$ac_ct_OBJDUMP" >&6; }
4773 else
4774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4776 fi
4777
4778   if test "x$ac_ct_OBJDUMP" = x; then
4779     OBJDUMP="false"
4780   else
4781     case $cross_compiling:$ac_tool_warned in
4782 yes:)
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4785 ac_tool_warned=yes ;;
4786 esac
4787     OBJDUMP=$ac_ct_OBJDUMP
4788   fi
4789 else
4790   OBJDUMP="$ac_cv_prog_OBJDUMP"
4791 fi
4792
4793 test -z "$OBJDUMP" && OBJDUMP=objdump
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
4804 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4805 if test "${lt_cv_deplibs_check_method+set}" = set; then :
4806   $as_echo_n "(cached) " >&6
4807 else
4808   lt_cv_file_magic_cmd='$MAGIC_CMD'
4809 lt_cv_file_magic_test_file=
4810 lt_cv_deplibs_check_method='unknown'
4811 # Need to set the preceding variable on all platforms that support
4812 # interlibrary dependencies.
4813 # 'none' -- dependencies not supported.
4814 # `unknown' -- same as none, but documents that we really don't know.
4815 # 'pass_all' -- all dependencies passed with no checks.
4816 # 'test_compile' -- check by making test program.
4817 # 'file_magic [[regex]]' -- check by looking for files in library path
4818 # which responds to the $file_magic_cmd with a given extended regex.
4819 # If you have `file' or equivalent on your system and you're not sure
4820 # whether `pass_all' will *always* work, you probably want this one.
4821
4822 case $host_os in
4823 aix[4-9]*)
4824   lt_cv_deplibs_check_method=pass_all
4825   ;;
4826
4827 beos*)
4828   lt_cv_deplibs_check_method=pass_all
4829   ;;
4830
4831 bsdi[45]*)
4832   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4833   lt_cv_file_magic_cmd='/usr/bin/file -L'
4834   lt_cv_file_magic_test_file=/shlib/libc.so
4835   ;;
4836
4837 cygwin*)
4838   # func_win32_libid is a shell function defined in ltmain.sh
4839   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4840   lt_cv_file_magic_cmd='func_win32_libid'
4841   ;;
4842
4843 mingw* | pw32*)
4844   # Base MSYS/MinGW do not provide the 'file' command needed by
4845   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4846   # unless we find 'file', for example because we are cross-compiling.
4847   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
4848   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
4849     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4850     lt_cv_file_magic_cmd='func_win32_libid'
4851   else
4852     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4853     lt_cv_file_magic_cmd='$OBJDUMP -f'
4854   fi
4855   ;;
4856
4857 cegcc*)
4858   # use the weaker test based on 'objdump'. See mingw*.
4859   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4860   lt_cv_file_magic_cmd='$OBJDUMP -f'
4861   ;;
4862
4863 darwin* | rhapsody*)
4864   lt_cv_deplibs_check_method=pass_all
4865   ;;
4866
4867 freebsd* | dragonfly*)
4868   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4869     case $host_cpu in
4870     i*86 )
4871       # Not sure whether the presence of OpenBSD here was a mistake.
4872       # Let's accept both of them until this is cleared up.
4873       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4874       lt_cv_file_magic_cmd=/usr/bin/file
4875       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4876       ;;
4877     esac
4878   else
4879     lt_cv_deplibs_check_method=pass_all
4880   fi
4881   ;;
4882
4883 gnu*)
4884   lt_cv_deplibs_check_method=pass_all
4885   ;;
4886
4887 haiku*)
4888   lt_cv_deplibs_check_method=pass_all
4889   ;;
4890
4891 hpux10.20* | hpux11*)
4892   lt_cv_file_magic_cmd=/usr/bin/file
4893   case $host_cpu in
4894   ia64*)
4895     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4896     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4897     ;;
4898   hppa*64*)
4899     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]'
4900     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4901     ;;
4902   *)
4903     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
4904     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4905     ;;
4906   esac
4907   ;;
4908
4909 interix[3-9]*)
4910   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4911   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4912   ;;
4913
4914 irix5* | irix6* | nonstopux*)
4915   case $LD in
4916   *-32|*"-32 ") libmagic=32-bit;;
4917   *-n32|*"-n32 ") libmagic=N32;;
4918   *-64|*"-64 ") libmagic=64-bit;;
4919   *) libmagic=never-match;;
4920   esac
4921   lt_cv_deplibs_check_method=pass_all
4922   ;;
4923
4924 # This must be Linux ELF.
4925 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4926   lt_cv_deplibs_check_method=pass_all
4927   ;;
4928
4929 netbsd*)
4930   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4931     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4932   else
4933     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4934   fi
4935   ;;
4936
4937 newos6*)
4938   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4939   lt_cv_file_magic_cmd=/usr/bin/file
4940   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4941   ;;
4942
4943 *nto* | *qnx*)
4944   lt_cv_deplibs_check_method=pass_all
4945   ;;
4946
4947 openbsd*)
4948   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4949     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4950   else
4951     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4952   fi
4953   ;;
4954
4955 osf3* | osf4* | osf5*)
4956   lt_cv_deplibs_check_method=pass_all
4957   ;;
4958
4959 rdos*)
4960   lt_cv_deplibs_check_method=pass_all
4961   ;;
4962
4963 solaris*)
4964   lt_cv_deplibs_check_method=pass_all
4965   ;;
4966
4967 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4968   lt_cv_deplibs_check_method=pass_all
4969   ;;
4970
4971 sysv4 | sysv4.3*)
4972   case $host_vendor in
4973   motorola)
4974     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]'
4975     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4976     ;;
4977   ncr)
4978     lt_cv_deplibs_check_method=pass_all
4979     ;;
4980   sequent)
4981     lt_cv_file_magic_cmd='/bin/file'
4982     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4983     ;;
4984   sni)
4985     lt_cv_file_magic_cmd='/bin/file'
4986     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4987     lt_cv_file_magic_test_file=/lib/libc.so
4988     ;;
4989   siemens)
4990     lt_cv_deplibs_check_method=pass_all
4991     ;;
4992   pc)
4993     lt_cv_deplibs_check_method=pass_all
4994     ;;
4995   esac
4996   ;;
4997
4998 tpf*)
4999   lt_cv_deplibs_check_method=pass_all
5000   ;;
5001 esac
5002
5003 fi
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5005 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5006 file_magic_cmd=$lt_cv_file_magic_cmd
5007 deplibs_check_method=$lt_cv_deplibs_check_method
5008 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021 if test -n "$ac_tool_prefix"; then
5022   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5023 set dummy ${ac_tool_prefix}ar; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_AR+set}" = set; then :
5027   $as_echo_n "(cached) " >&6
5028 else
5029   if test -n "$AR"; then
5030   ac_cv_prog_AR="$AR" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5034 do
5035   IFS=$as_save_IFS
5036   test -z "$as_dir" && as_dir=.
5037     for ac_exec_ext in '' $ac_executable_extensions; do
5038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039     ac_cv_prog_AR="${ac_tool_prefix}ar"
5040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5041     break 2
5042   fi
5043 done
5044   done
5045 IFS=$as_save_IFS
5046
5047 fi
5048 fi
5049 AR=$ac_cv_prog_AR
5050 if test -n "$AR"; then
5051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5052 $as_echo "$AR" >&6; }
5053 else
5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5056 fi
5057
5058
5059 fi
5060 if test -z "$ac_cv_prog_AR"; then
5061   ac_ct_AR=$AR
5062   # Extract the first word of "ar", so it can be a program name with args.
5063 set dummy ar; ac_word=$2
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5065 $as_echo_n "checking for $ac_word... " >&6; }
5066 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5067   $as_echo_n "(cached) " >&6
5068 else
5069   if test -n "$ac_ct_AR"; then
5070   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5071 else
5072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5073 for as_dir in $PATH
5074 do
5075   IFS=$as_save_IFS
5076   test -z "$as_dir" && as_dir=.
5077     for ac_exec_ext in '' $ac_executable_extensions; do
5078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5079     ac_cv_prog_ac_ct_AR="ar"
5080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5081     break 2
5082   fi
5083 done
5084   done
5085 IFS=$as_save_IFS
5086
5087 fi
5088 fi
5089 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5090 if test -n "$ac_ct_AR"; then
5091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5092 $as_echo "$ac_ct_AR" >&6; }
5093 else
5094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5096 fi
5097
5098   if test "x$ac_ct_AR" = x; then
5099     AR="false"
5100   else
5101     case $cross_compiling:$ac_tool_warned in
5102 yes:)
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5105 ac_tool_warned=yes ;;
5106 esac
5107     AR=$ac_ct_AR
5108   fi
5109 else
5110   AR="$ac_cv_prog_AR"
5111 fi
5112
5113 test -z "$AR" && AR=ar
5114 test -z "$AR_FLAGS" && AR_FLAGS=cru
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126 if test -n "$ac_tool_prefix"; then
5127   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}strip; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_STRIP+set}" = set; then :
5132   $as_echo_n "(cached) " >&6
5133 else
5134   if test -n "$STRIP"; then
5135   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5139 do
5140   IFS=$as_save_IFS
5141   test -z "$as_dir" && as_dir=.
5142     for ac_exec_ext in '' $ac_executable_extensions; do
5143   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146     break 2
5147   fi
5148 done
5149   done
5150 IFS=$as_save_IFS
5151
5152 fi
5153 fi
5154 STRIP=$ac_cv_prog_STRIP
5155 if test -n "$STRIP"; then
5156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5157 $as_echo "$STRIP" >&6; }
5158 else
5159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5161 fi
5162
5163
5164 fi
5165 if test -z "$ac_cv_prog_STRIP"; then
5166   ac_ct_STRIP=$STRIP
5167   # Extract the first word of "strip", so it can be a program name with args.
5168 set dummy strip; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5172   $as_echo_n "(cached) " >&6
5173 else
5174   if test -n "$ac_ct_STRIP"; then
5175   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5179 do
5180   IFS=$as_save_IFS
5181   test -z "$as_dir" && as_dir=.
5182     for ac_exec_ext in '' $ac_executable_extensions; do
5183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184     ac_cv_prog_ac_ct_STRIP="strip"
5185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186     break 2
5187   fi
5188 done
5189   done
5190 IFS=$as_save_IFS
5191
5192 fi
5193 fi
5194 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5195 if test -n "$ac_ct_STRIP"; then
5196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5197 $as_echo "$ac_ct_STRIP" >&6; }
5198 else
5199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5201 fi
5202
5203   if test "x$ac_ct_STRIP" = x; then
5204     STRIP=":"
5205   else
5206     case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212     STRIP=$ac_ct_STRIP
5213   fi
5214 else
5215   STRIP="$ac_cv_prog_STRIP"
5216 fi
5217
5218 test -z "$STRIP" && STRIP=:
5219
5220
5221
5222
5223
5224
5225 if test -n "$ac_tool_prefix"; then
5226   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5227 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5231   $as_echo_n "(cached) " >&6
5232 else
5233   if test -n "$RANLIB"; then
5234   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5238 do
5239   IFS=$as_save_IFS
5240   test -z "$as_dir" && as_dir=.
5241     for ac_exec_ext in '' $ac_executable_extensions; do
5242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5243     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245     break 2
5246   fi
5247 done
5248   done
5249 IFS=$as_save_IFS
5250
5251 fi
5252 fi
5253 RANLIB=$ac_cv_prog_RANLIB
5254 if test -n "$RANLIB"; then
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5256 $as_echo "$RANLIB" >&6; }
5257 else
5258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 fi
5261
5262
5263 fi
5264 if test -z "$ac_cv_prog_RANLIB"; then
5265   ac_ct_RANLIB=$RANLIB
5266   # Extract the first word of "ranlib", so it can be a program name with args.
5267 set dummy ranlib; ac_word=$2
5268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5269 $as_echo_n "checking for $ac_word... " >&6; }
5270 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5271   $as_echo_n "(cached) " >&6
5272 else
5273   if test -n "$ac_ct_RANLIB"; then
5274   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5275 else
5276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277 for as_dir in $PATH
5278 do
5279   IFS=$as_save_IFS
5280   test -z "$as_dir" && as_dir=.
5281     for ac_exec_ext in '' $ac_executable_extensions; do
5282   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5283     ac_cv_prog_ac_ct_RANLIB="ranlib"
5284     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5285     break 2
5286   fi
5287 done
5288   done
5289 IFS=$as_save_IFS
5290
5291 fi
5292 fi
5293 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5294 if test -n "$ac_ct_RANLIB"; then
5295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5296 $as_echo "$ac_ct_RANLIB" >&6; }
5297 else
5298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5299 $as_echo "no" >&6; }
5300 fi
5301
5302   if test "x$ac_ct_RANLIB" = x; then
5303     RANLIB=":"
5304   else
5305     case $cross_compiling:$ac_tool_warned in
5306 yes:)
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5309 ac_tool_warned=yes ;;
5310 esac
5311     RANLIB=$ac_ct_RANLIB
5312   fi
5313 else
5314   RANLIB="$ac_cv_prog_RANLIB"
5315 fi
5316
5317 test -z "$RANLIB" && RANLIB=:
5318
5319
5320
5321
5322
5323
5324 # Determine commands to create old-style static archives.
5325 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5326 old_postinstall_cmds='chmod 644 $oldlib'
5327 old_postuninstall_cmds=
5328
5329 if test -n "$RANLIB"; then
5330   case $host_os in
5331   openbsd*)
5332     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5333     ;;
5334   *)
5335     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5336     ;;
5337   esac
5338   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5339 fi
5340
5341 case $host_os in
5342   darwin*)
5343     lock_old_archive_extraction=yes ;;
5344   *)
5345     lock_old_archive_extraction=no ;;
5346 esac
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386 # If no C compiler was specified, use CC.
5387 LTCC=${LTCC-"$CC"}
5388
5389 # If no C compiler flags were specified, use CFLAGS.
5390 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5391
5392 # Allow CC to be a program name with arguments.
5393 compiler=$CC
5394
5395
5396 # Check for command to grab the raw symbol name followed by C symbol from nm.
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5398 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5399 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5400   $as_echo_n "(cached) " >&6
5401 else
5402
5403 # These are sane defaults that work on at least a few old systems.
5404 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5405
5406 # Character class describing NM global symbol codes.
5407 symcode='[BCDEGRST]'
5408
5409 # Regexp to match symbols that can be accessed directly from C.
5410 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5411
5412 # Define system-specific variables.
5413 case $host_os in
5414 aix*)
5415   symcode='[BCDT]'
5416   ;;
5417 cygwin* | mingw* | pw32* | cegcc*)
5418   symcode='[ABCDGISTW]'
5419   ;;
5420 hpux*)
5421   if test "$host_cpu" = ia64; then
5422     symcode='[ABCDEGRST]'
5423   fi
5424   ;;
5425 irix* | nonstopux*)
5426   symcode='[BCDEGRST]'
5427   ;;
5428 osf*)
5429   symcode='[BCDEGQRST]'
5430   ;;
5431 solaris*)
5432   symcode='[BDRT]'
5433   ;;
5434 sco3.2v5*)
5435   symcode='[DT]'
5436   ;;
5437 sysv4.2uw2*)
5438   symcode='[DT]'
5439   ;;
5440 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5441   symcode='[ABDT]'
5442   ;;
5443 sysv4)
5444   symcode='[DFNSTU]'
5445   ;;
5446 esac
5447
5448 # If we're using GNU nm, then use its standard symbol codes.
5449 case `$NM -V 2>&1` in
5450 *GNU* | *'with BFD'*)
5451   symcode='[ABCDGIRSTW]' ;;
5452 esac
5453
5454 # Transform an extracted symbol line into a proper C declaration.
5455 # Some systems (esp. on ia64) link data and code symbols differently,
5456 # so use this general approach.
5457 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5458
5459 # Transform an extracted symbol line into symbol name and symbol address
5460 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5461 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'"
5462
5463 # Handle CRLF in mingw tool chain
5464 opt_cr=
5465 case $build_os in
5466 mingw*)
5467   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5468   ;;
5469 esac
5470
5471 # Try without a prefix underscore, then with it.
5472 for ac_symprfx in "" "_"; do
5473
5474   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5475   symxfrm="\\1 $ac_symprfx\\2 \\2"
5476
5477   # Write the raw and C identifiers.
5478   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5479     # Fake it for dumpbin and say T for any non-static function
5480     # and D for any global variable.
5481     # Also find C++ and __fastcall symbols from MSVC++,
5482     # which start with @ or ?.
5483     lt_cv_sys_global_symbol_pipe="$AWK '"\
5484 "     {last_section=section; section=\$ 3};"\
5485 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5486 "     \$ 0!~/External *\|/{next};"\
5487 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5488 "     {if(hide[section]) next};"\
5489 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5490 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5491 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5492 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5493 "     ' prfx=^$ac_symprfx"
5494   else
5495     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5496   fi
5497
5498   # Check to see that the pipe works correctly.
5499   pipe_works=no
5500
5501   rm -f conftest*
5502   cat > conftest.$ac_ext <<_LT_EOF
5503 #ifdef __cplusplus
5504 extern "C" {
5505 #endif
5506 char nm_test_var;
5507 void nm_test_func(void);
5508 void nm_test_func(void){}
5509 #ifdef __cplusplus
5510 }
5511 #endif
5512 int main(){nm_test_var='a';nm_test_func();return(0);}
5513 _LT_EOF
5514
5515   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5516   (eval $ac_compile) 2>&5
5517   ac_status=$?
5518   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5519   test $ac_status = 0; }; then
5520     # Now try to grab the symbols.
5521     nlist=conftest.nm
5522     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5523   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5524   ac_status=$?
5525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5526   test $ac_status = 0; } && test -s "$nlist"; then
5527       # Try sorting and uniquifying the output.
5528       if sort "$nlist" | uniq > "$nlist"T; then
5529         mv -f "$nlist"T "$nlist"
5530       else
5531         rm -f "$nlist"T
5532       fi
5533
5534       # Make sure that we snagged all the symbols we need.
5535       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5536         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5537           cat <<_LT_EOF > conftest.$ac_ext
5538 #ifdef __cplusplus
5539 extern "C" {
5540 #endif
5541
5542 _LT_EOF
5543           # Now generate the symbol file.
5544           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5545
5546           cat <<_LT_EOF >> conftest.$ac_ext
5547
5548 /* The mapping between symbol names and symbols.  */
5549 const struct {
5550   const char *name;
5551   void       *address;
5552 }
5553 lt__PROGRAM__LTX_preloaded_symbols[] =
5554 {
5555   { "@PROGRAM@", (void *) 0 },
5556 _LT_EOF
5557           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5558           cat <<\_LT_EOF >> conftest.$ac_ext
5559   {0, (void *) 0}
5560 };
5561
5562 /* This works around a problem in FreeBSD linker */
5563 #ifdef FREEBSD_WORKAROUND
5564 static const void *lt_preloaded_setup() {
5565   return lt__PROGRAM__LTX_preloaded_symbols;
5566 }
5567 #endif
5568
5569 #ifdef __cplusplus
5570 }
5571 #endif
5572 _LT_EOF
5573           # Now try linking the two files.
5574           mv conftest.$ac_objext conftstm.$ac_objext
5575           lt_save_LIBS="$LIBS"
5576           lt_save_CFLAGS="$CFLAGS"
5577           LIBS="conftstm.$ac_objext"
5578           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5579           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
5580   (eval $ac_link) 2>&5
5581   ac_status=$?
5582   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5583   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
5584             pipe_works=yes
5585           fi
5586           LIBS="$lt_save_LIBS"
5587           CFLAGS="$lt_save_CFLAGS"
5588         else
5589           echo "cannot find nm_test_func in $nlist" >&5
5590         fi
5591       else
5592         echo "cannot find nm_test_var in $nlist" >&5
5593       fi
5594     else
5595       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5596     fi
5597   else
5598     echo "$progname: failed program was:" >&5
5599     cat conftest.$ac_ext >&5
5600   fi
5601   rm -rf conftest* conftst*
5602
5603   # Do not use the global_symbol_pipe unless it works.
5604   if test "$pipe_works" = yes; then
5605     break
5606   else
5607     lt_cv_sys_global_symbol_pipe=
5608   fi
5609 done
5610
5611 fi
5612
5613 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5614   lt_cv_sys_global_symbol_to_cdecl=
5615 fi
5616 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
5618 $as_echo "failed" >&6; }
5619 else
5620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5621 $as_echo "ok" >&6; }
5622 fi
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646 # Check whether --enable-libtool-lock was given.
5647 if test "${enable_libtool_lock+set}" = set; then :
5648   enableval=$enable_libtool_lock;
5649 fi
5650
5651 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5652
5653 # Some flags need to be propagated to the compiler or linker for good
5654 # libtool support.
5655 case $host in
5656 ia64-*-hpux*)
5657   # Find out which ABI we are using.
5658   echo 'int i;' > conftest.$ac_ext
5659   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5660   (eval $ac_compile) 2>&5
5661   ac_status=$?
5662   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5663   test $ac_status = 0; }; then
5664     case `/usr/bin/file conftest.$ac_objext` in
5665       *ELF-32*)
5666         HPUX_IA64_MODE="32"
5667         ;;
5668       *ELF-64*)
5669         HPUX_IA64_MODE="64"
5670         ;;
5671     esac
5672   fi
5673   rm -rf conftest*
5674   ;;
5675 *-*-irix6*)
5676   # Find out which ABI we are using.
5677   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
5678   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5679   (eval $ac_compile) 2>&5
5680   ac_status=$?
5681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5682   test $ac_status = 0; }; then
5683     if test "$lt_cv_prog_gnu_ld" = yes; then
5684       case `/usr/bin/file conftest.$ac_objext` in
5685         *32-bit*)
5686           LD="${LD-ld} -melf32bsmip"
5687           ;;
5688         *N32*)
5689           LD="${LD-ld} -melf32bmipn32"
5690           ;;
5691         *64-bit*)
5692           LD="${LD-ld} -melf64bmip"
5693         ;;
5694       esac
5695     else
5696       case `/usr/bin/file conftest.$ac_objext` in
5697         *32-bit*)
5698           LD="${LD-ld} -32"
5699           ;;
5700         *N32*)
5701           LD="${LD-ld} -n32"
5702           ;;
5703         *64-bit*)
5704           LD="${LD-ld} -64"
5705           ;;
5706       esac
5707     fi
5708   fi
5709   rm -rf conftest*
5710   ;;
5711
5712 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5713 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5714   # Find out which ABI we are using.
5715   echo 'int i;' > conftest.$ac_ext
5716   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5717   (eval $ac_compile) 2>&5
5718   ac_status=$?
5719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5720   test $ac_status = 0; }; then
5721     case `/usr/bin/file conftest.o` in
5722       *32-bit*)
5723         case $host in
5724           x86_64-*kfreebsd*-gnu)
5725             LD="${LD-ld} -m elf_i386_fbsd"
5726             ;;
5727           x86_64-*linux*)
5728             LD="${LD-ld} -m elf_i386"
5729             ;;
5730           ppc64-*linux*|powerpc64-*linux*)
5731             LD="${LD-ld} -m elf32ppclinux"
5732             ;;
5733           s390x-*linux*)
5734             LD="${LD-ld} -m elf_s390"
5735             ;;
5736           sparc64-*linux*)
5737             LD="${LD-ld} -m elf32_sparc"
5738             ;;
5739         esac
5740         ;;
5741       *64-bit*)
5742         case $host in
5743           x86_64-*kfreebsd*-gnu)
5744             LD="${LD-ld} -m elf_x86_64_fbsd"
5745             ;;
5746           x86_64-*linux*)
5747             LD="${LD-ld} -m elf_x86_64"
5748             ;;
5749           ppc*-*linux*|powerpc*-*linux*)
5750             LD="${LD-ld} -m elf64ppc"
5751             ;;
5752           s390*-*linux*|s390*-*tpf*)
5753             LD="${LD-ld} -m elf64_s390"
5754             ;;
5755           sparc*-*linux*)
5756             LD="${LD-ld} -m elf64_sparc"
5757             ;;
5758         esac
5759         ;;
5760     esac
5761   fi
5762   rm -rf conftest*
5763   ;;
5764
5765 *-*-sco3.2v5*)
5766   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5767   SAVE_CFLAGS="$CFLAGS"
5768   CFLAGS="$CFLAGS -belf"
5769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
5770 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5771 if test "${lt_cv_cc_needs_belf+set}" = set; then :
5772   $as_echo_n "(cached) " >&6
5773 else
5774   ac_ext=c
5775 ac_cpp='$CPP $CPPFLAGS'
5776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5779
5780      if test x$gcc_no_link = xyes; then
5781   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5782 fi
5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h.  */
5785
5786 int
5787 main ()
5788 {
5789
5790   ;
5791   return 0;
5792 }
5793 _ACEOF
5794 if ac_fn_c_try_link "$LINENO"; then :
5795   lt_cv_cc_needs_belf=yes
5796 else
5797   lt_cv_cc_needs_belf=no
5798 fi
5799 rm -f core conftest.err conftest.$ac_objext \
5800     conftest$ac_exeext conftest.$ac_ext
5801      ac_ext=c
5802 ac_cpp='$CPP $CPPFLAGS'
5803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5806
5807 fi
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
5809 $as_echo "$lt_cv_cc_needs_belf" >&6; }
5810   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5811     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5812     CFLAGS="$SAVE_CFLAGS"
5813   fi
5814   ;;
5815 sparc*-*solaris*)
5816   # Find out which ABI we are using.
5817   echo 'int i;' > conftest.$ac_ext
5818   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5819   (eval $ac_compile) 2>&5
5820   ac_status=$?
5821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5822   test $ac_status = 0; }; then
5823     case `/usr/bin/file conftest.o` in
5824     *64-bit*)
5825       case $lt_cv_prog_gnu_ld in
5826       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5827       *)
5828         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5829           LD="${LD-ld} -64"
5830         fi
5831         ;;
5832       esac
5833       ;;
5834     esac
5835   fi
5836   rm -rf conftest*
5837   ;;
5838 esac
5839
5840 need_locks="$enable_libtool_lock"
5841
5842
5843   case $host_os in
5844     rhapsody* | darwin*)
5845     if test -n "$ac_tool_prefix"; then
5846   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5847 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5849 $as_echo_n "checking for $ac_word... " >&6; }
5850 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
5851   $as_echo_n "(cached) " >&6
5852 else
5853   if test -n "$DSYMUTIL"; then
5854   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5858 do
5859   IFS=$as_save_IFS
5860   test -z "$as_dir" && as_dir=.
5861     for ac_exec_ext in '' $ac_executable_extensions; do
5862   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5863     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5864     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5865     break 2
5866   fi
5867 done
5868   done
5869 IFS=$as_save_IFS
5870
5871 fi
5872 fi
5873 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5874 if test -n "$DSYMUTIL"; then
5875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
5876 $as_echo "$DSYMUTIL" >&6; }
5877 else
5878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5879 $as_echo "no" >&6; }
5880 fi
5881
5882
5883 fi
5884 if test -z "$ac_cv_prog_DSYMUTIL"; then
5885   ac_ct_DSYMUTIL=$DSYMUTIL
5886   # Extract the first word of "dsymutil", so it can be a program name with args.
5887 set dummy dsymutil; ac_word=$2
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889 $as_echo_n "checking for $ac_word... " >&6; }
5890 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
5891   $as_echo_n "(cached) " >&6
5892 else
5893   if test -n "$ac_ct_DSYMUTIL"; then
5894   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5895 else
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897 for as_dir in $PATH
5898 do
5899   IFS=$as_save_IFS
5900   test -z "$as_dir" && as_dir=.
5901     for ac_exec_ext in '' $ac_executable_extensions; do
5902   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5903     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5904     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905     break 2
5906   fi
5907 done
5908   done
5909 IFS=$as_save_IFS
5910
5911 fi
5912 fi
5913 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5914 if test -n "$ac_ct_DSYMUTIL"; then
5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
5916 $as_echo "$ac_ct_DSYMUTIL" >&6; }
5917 else
5918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919 $as_echo "no" >&6; }
5920 fi
5921
5922   if test "x$ac_ct_DSYMUTIL" = x; then
5923     DSYMUTIL=":"
5924   else
5925     case $cross_compiling:$ac_tool_warned in
5926 yes:)
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5929 ac_tool_warned=yes ;;
5930 esac
5931     DSYMUTIL=$ac_ct_DSYMUTIL
5932   fi
5933 else
5934   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5935 fi
5936
5937     if test -n "$ac_tool_prefix"; then
5938   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5939 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5941 $as_echo_n "checking for $ac_word... " >&6; }
5942 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
5943   $as_echo_n "(cached) " >&6
5944 else
5945   if test -n "$NMEDIT"; then
5946   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5947 else
5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5949 for as_dir in $PATH
5950 do
5951   IFS=$as_save_IFS
5952   test -z "$as_dir" && as_dir=.
5953     for ac_exec_ext in '' $ac_executable_extensions; do
5954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5955     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957     break 2
5958   fi
5959 done
5960   done
5961 IFS=$as_save_IFS
5962
5963 fi
5964 fi
5965 NMEDIT=$ac_cv_prog_NMEDIT
5966 if test -n "$NMEDIT"; then
5967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
5968 $as_echo "$NMEDIT" >&6; }
5969 else
5970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5971 $as_echo "no" >&6; }
5972 fi
5973
5974
5975 fi
5976 if test -z "$ac_cv_prog_NMEDIT"; then
5977   ac_ct_NMEDIT=$NMEDIT
5978   # Extract the first word of "nmedit", so it can be a program name with args.
5979 set dummy nmedit; ac_word=$2
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5981 $as_echo_n "checking for $ac_word... " >&6; }
5982 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
5983   $as_echo_n "(cached) " >&6
5984 else
5985   if test -n "$ac_ct_NMEDIT"; then
5986   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5987 else
5988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5989 for as_dir in $PATH
5990 do
5991   IFS=$as_save_IFS
5992   test -z "$as_dir" && as_dir=.
5993     for ac_exec_ext in '' $ac_executable_extensions; do
5994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5995     ac_cv_prog_ac_ct_NMEDIT="nmedit"
5996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5997     break 2
5998   fi
5999 done
6000   done
6001 IFS=$as_save_IFS
6002
6003 fi
6004 fi
6005 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6006 if test -n "$ac_ct_NMEDIT"; then
6007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6008 $as_echo "$ac_ct_NMEDIT" >&6; }
6009 else
6010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 $as_echo "no" >&6; }
6012 fi
6013
6014   if test "x$ac_ct_NMEDIT" = x; then
6015     NMEDIT=":"
6016   else
6017     case $cross_compiling:$ac_tool_warned in
6018 yes:)
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6021 ac_tool_warned=yes ;;
6022 esac
6023     NMEDIT=$ac_ct_NMEDIT
6024   fi
6025 else
6026   NMEDIT="$ac_cv_prog_NMEDIT"
6027 fi
6028
6029     if test -n "$ac_tool_prefix"; then
6030   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6031 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033 $as_echo_n "checking for $ac_word... " >&6; }
6034 if test "${ac_cv_prog_LIPO+set}" = set; then :
6035   $as_echo_n "(cached) " >&6
6036 else
6037   if test -n "$LIPO"; then
6038   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6039 else
6040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041 for as_dir in $PATH
6042 do
6043   IFS=$as_save_IFS
6044   test -z "$as_dir" && as_dir=.
6045     for ac_exec_ext in '' $ac_executable_extensions; do
6046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6047     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049     break 2
6050   fi
6051 done
6052   done
6053 IFS=$as_save_IFS
6054
6055 fi
6056 fi
6057 LIPO=$ac_cv_prog_LIPO
6058 if test -n "$LIPO"; then
6059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6060 $as_echo "$LIPO" >&6; }
6061 else
6062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6063 $as_echo "no" >&6; }
6064 fi
6065
6066
6067 fi
6068 if test -z "$ac_cv_prog_LIPO"; then
6069   ac_ct_LIPO=$LIPO
6070   # Extract the first word of "lipo", so it can be a program name with args.
6071 set dummy lipo; ac_word=$2
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073 $as_echo_n "checking for $ac_word... " >&6; }
6074 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6075   $as_echo_n "(cached) " >&6
6076 else
6077   if test -n "$ac_ct_LIPO"; then
6078   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6079 else
6080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 for as_dir in $PATH
6082 do
6083   IFS=$as_save_IFS
6084   test -z "$as_dir" && as_dir=.
6085     for ac_exec_ext in '' $ac_executable_extensions; do
6086   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6087     ac_cv_prog_ac_ct_LIPO="lipo"
6088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089     break 2
6090   fi
6091 done
6092   done
6093 IFS=$as_save_IFS
6094
6095 fi
6096 fi
6097 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6098 if test -n "$ac_ct_LIPO"; then
6099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6100 $as_echo "$ac_ct_LIPO" >&6; }
6101 else
6102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103 $as_echo "no" >&6; }
6104 fi
6105
6106   if test "x$ac_ct_LIPO" = x; then
6107     LIPO=":"
6108   else
6109     case $cross_compiling:$ac_tool_warned in
6110 yes:)
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6113 ac_tool_warned=yes ;;
6114 esac
6115     LIPO=$ac_ct_LIPO
6116   fi
6117 else
6118   LIPO="$ac_cv_prog_LIPO"
6119 fi
6120
6121     if test -n "$ac_tool_prefix"; then
6122   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6123 set dummy ${ac_tool_prefix}otool; ac_word=$2
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6127   $as_echo_n "(cached) " >&6
6128 else
6129   if test -n "$OTOOL"; then
6130   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6131 else
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH
6134 do
6135   IFS=$as_save_IFS
6136   test -z "$as_dir" && as_dir=.
6137     for ac_exec_ext in '' $ac_executable_extensions; do
6138   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141     break 2
6142   fi
6143 done
6144   done
6145 IFS=$as_save_IFS
6146
6147 fi
6148 fi
6149 OTOOL=$ac_cv_prog_OTOOL
6150 if test -n "$OTOOL"; then
6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6152 $as_echo "$OTOOL" >&6; }
6153 else
6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6155 $as_echo "no" >&6; }
6156 fi
6157
6158
6159 fi
6160 if test -z "$ac_cv_prog_OTOOL"; then
6161   ac_ct_OTOOL=$OTOOL
6162   # Extract the first word of "otool", so it can be a program name with args.
6163 set dummy otool; ac_word=$2
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165 $as_echo_n "checking for $ac_word... " >&6; }
6166 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6167   $as_echo_n "(cached) " >&6
6168 else
6169   if test -n "$ac_ct_OTOOL"; then
6170   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6171 else
6172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6173 for as_dir in $PATH
6174 do
6175   IFS=$as_save_IFS
6176   test -z "$as_dir" && as_dir=.
6177     for ac_exec_ext in '' $ac_executable_extensions; do
6178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179     ac_cv_prog_ac_ct_OTOOL="otool"
6180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181     break 2
6182   fi
6183 done
6184   done
6185 IFS=$as_save_IFS
6186
6187 fi
6188 fi
6189 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6190 if test -n "$ac_ct_OTOOL"; then
6191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6192 $as_echo "$ac_ct_OTOOL" >&6; }
6193 else
6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6195 $as_echo "no" >&6; }
6196 fi
6197
6198   if test "x$ac_ct_OTOOL" = x; then
6199     OTOOL=":"
6200   else
6201     case $cross_compiling:$ac_tool_warned in
6202 yes:)
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6204 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6205 ac_tool_warned=yes ;;
6206 esac
6207     OTOOL=$ac_ct_OTOOL
6208   fi
6209 else
6210   OTOOL="$ac_cv_prog_OTOOL"
6211 fi
6212
6213     if test -n "$ac_tool_prefix"; then
6214   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6215 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217 $as_echo_n "checking for $ac_word... " >&6; }
6218 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6219   $as_echo_n "(cached) " >&6
6220 else
6221   if test -n "$OTOOL64"; then
6222   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6223 else
6224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6225 for as_dir in $PATH
6226 do
6227   IFS=$as_save_IFS
6228   test -z "$as_dir" && as_dir=.
6229     for ac_exec_ext in '' $ac_executable_extensions; do
6230   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6231     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6232     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233     break 2
6234   fi
6235 done
6236   done
6237 IFS=$as_save_IFS
6238
6239 fi
6240 fi
6241 OTOOL64=$ac_cv_prog_OTOOL64
6242 if test -n "$OTOOL64"; then
6243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6244 $as_echo "$OTOOL64" >&6; }
6245 else
6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6247 $as_echo "no" >&6; }
6248 fi
6249
6250
6251 fi
6252 if test -z "$ac_cv_prog_OTOOL64"; then
6253   ac_ct_OTOOL64=$OTOOL64
6254   # Extract the first word of "otool64", so it can be a program name with args.
6255 set dummy otool64; ac_word=$2
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6257 $as_echo_n "checking for $ac_word... " >&6; }
6258 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6259   $as_echo_n "(cached) " >&6
6260 else
6261   if test -n "$ac_ct_OTOOL64"; then
6262   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6263 else
6264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6265 for as_dir in $PATH
6266 do
6267   IFS=$as_save_IFS
6268   test -z "$as_dir" && as_dir=.
6269     for ac_exec_ext in '' $ac_executable_extensions; do
6270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271     ac_cv_prog_ac_ct_OTOOL64="otool64"
6272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273     break 2
6274   fi
6275 done
6276   done
6277 IFS=$as_save_IFS
6278
6279 fi
6280 fi
6281 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6282 if test -n "$ac_ct_OTOOL64"; then
6283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6284 $as_echo "$ac_ct_OTOOL64" >&6; }
6285 else
6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6288 fi
6289
6290   if test "x$ac_ct_OTOOL64" = x; then
6291     OTOOL64=":"
6292   else
6293     case $cross_compiling:$ac_tool_warned in
6294 yes:)
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6297 ac_tool_warned=yes ;;
6298 esac
6299     OTOOL64=$ac_ct_OTOOL64
6300   fi
6301 else
6302   OTOOL64="$ac_cv_prog_OTOOL64"
6303 fi
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6332 $as_echo_n "checking for -single_module linker flag... " >&6; }
6333 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6334   $as_echo_n "(cached) " >&6
6335 else
6336   lt_cv_apple_cc_single_mod=no
6337       if test -z "${LT_MULTI_MODULE}"; then
6338         # By default we will add the -single_module flag. You can override
6339         # by either setting the environment variable LT_MULTI_MODULE
6340         # non-empty at configure time, or by adding -multi_module to the
6341         # link flags.
6342         rm -rf libconftest.dylib*
6343         echo "int foo(void){return 1;}" > conftest.c
6344         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6345 -dynamiclib -Wl,-single_module conftest.c" >&5
6346         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6347           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6348         _lt_result=$?
6349         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6350           lt_cv_apple_cc_single_mod=yes
6351         else
6352           cat conftest.err >&5
6353         fi
6354         rm -rf libconftest.dylib*
6355         rm -f conftest.*
6356       fi
6357 fi
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6359 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6360     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6361 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6362 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6363   $as_echo_n "(cached) " >&6
6364 else
6365   lt_cv_ld_exported_symbols_list=no
6366       save_LDFLAGS=$LDFLAGS
6367       echo "_main" > conftest.sym
6368       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6369       if test x$gcc_no_link = xyes; then
6370   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6371 fi
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h.  */
6374
6375 int
6376 main ()
6377 {
6378
6379   ;
6380   return 0;
6381 }
6382 _ACEOF
6383 if ac_fn_c_try_link "$LINENO"; then :
6384   lt_cv_ld_exported_symbols_list=yes
6385 else
6386   lt_cv_ld_exported_symbols_list=no
6387 fi
6388 rm -f core conftest.err conftest.$ac_objext \
6389     conftest$ac_exeext conftest.$ac_ext
6390         LDFLAGS="$save_LDFLAGS"
6391
6392 fi
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6394 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6395     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
6396 $as_echo_n "checking for -force_load linker flag... " >&6; }
6397 if test "${lt_cv_ld_force_load+set}" = set; then :
6398   $as_echo_n "(cached) " >&6
6399 else
6400   lt_cv_ld_force_load=no
6401       cat > conftest.c << _LT_EOF
6402 int forced_loaded() { return 2;}
6403 _LT_EOF
6404       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
6405       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
6406       echo "$AR cru libconftest.a conftest.o" >&5
6407       $AR cru libconftest.a conftest.o 2>&5
6408       cat > conftest.c << _LT_EOF
6409 int main() { return 0;}
6410 _LT_EOF
6411       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
6412       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
6413       _lt_result=$?
6414       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
6415         lt_cv_ld_force_load=yes
6416       else
6417         cat conftest.err >&5
6418       fi
6419         rm -f conftest.err libconftest.a conftest conftest.c
6420         rm -rf conftest.dSYM
6421
6422 fi
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
6424 $as_echo "$lt_cv_ld_force_load" >&6; }
6425     case $host_os in
6426     rhapsody* | darwin1.[012])
6427       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6428     darwin1.*)
6429       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6430     darwin*) # darwin 5.x on
6431       # if running on 10.5 or later, the deployment target defaults
6432       # to the OS version, if on x86, and 10.4, the deployment
6433       # target defaults to 10.4. Don't you love it?
6434       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6435         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6436           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6437         10.[012]*)
6438           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6439         10.*)
6440           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6441       esac
6442     ;;
6443   esac
6444     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6445       _lt_dar_single_mod='$single_module'
6446     fi
6447     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6448       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6449     else
6450       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6451     fi
6452     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
6453       _lt_dsymutil='~$DSYMUTIL $lib || :'
6454     else
6455       _lt_dsymutil=
6456     fi
6457     ;;
6458   esac
6459
6460 ac_ext=c
6461 ac_cpp='$CPP $CPPFLAGS'
6462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6466 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6467 # On Suns, sometimes $CPP names a directory.
6468 if test -n "$CPP" && test -d "$CPP"; then
6469   CPP=
6470 fi
6471 if test -z "$CPP"; then
6472   if test "${ac_cv_prog_CPP+set}" = set; then :
6473   $as_echo_n "(cached) " >&6
6474 else
6475       # Double quotes because CPP needs to be expanded
6476     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6477     do
6478       ac_preproc_ok=false
6479 for ac_c_preproc_warn_flag in '' yes
6480 do
6481   # Use a header file that comes with gcc, so configuring glibc
6482   # with a fresh cross-compiler works.
6483   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6484   # <limits.h> exists even on freestanding compilers.
6485   # On the NeXT, cc -E runs the code through the compiler's parser,
6486   # not just through cpp. "Syntax error" is here to catch this case.
6487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6488 /* end confdefs.h.  */
6489 #ifdef __STDC__
6490 # include <limits.h>
6491 #else
6492 # include <assert.h>
6493 #endif
6494                      Syntax error
6495 _ACEOF
6496 if ac_fn_c_try_cpp "$LINENO"; then :
6497
6498 else
6499   # Broken: fails on valid input.
6500 continue
6501 fi
6502 rm -f conftest.err conftest.$ac_ext
6503
6504   # OK, works on sane cases.  Now check whether nonexistent headers
6505   # can be detected and how.
6506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6507 /* end confdefs.h.  */
6508 #include <ac_nonexistent.h>
6509 _ACEOF
6510 if ac_fn_c_try_cpp "$LINENO"; then :
6511   # Broken: success on invalid input.
6512 continue
6513 else
6514   # Passes both tests.
6515 ac_preproc_ok=:
6516 break
6517 fi
6518 rm -f conftest.err conftest.$ac_ext
6519
6520 done
6521 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6522 rm -f conftest.err conftest.$ac_ext
6523 if $ac_preproc_ok; then :
6524   break
6525 fi
6526
6527     done
6528     ac_cv_prog_CPP=$CPP
6529
6530 fi
6531   CPP=$ac_cv_prog_CPP
6532 else
6533   ac_cv_prog_CPP=$CPP
6534 fi
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6536 $as_echo "$CPP" >&6; }
6537 ac_preproc_ok=false
6538 for ac_c_preproc_warn_flag in '' yes
6539 do
6540   # Use a header file that comes with gcc, so configuring glibc
6541   # with a fresh cross-compiler works.
6542   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6543   # <limits.h> exists even on freestanding compilers.
6544   # On the NeXT, cc -E runs the code through the compiler's parser,
6545   # not just through cpp. "Syntax error" is here to catch this case.
6546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6547 /* end confdefs.h.  */
6548 #ifdef __STDC__
6549 # include <limits.h>
6550 #else
6551 # include <assert.h>
6552 #endif
6553                      Syntax error
6554 _ACEOF
6555 if ac_fn_c_try_cpp "$LINENO"; then :
6556
6557 else
6558   # Broken: fails on valid input.
6559 continue
6560 fi
6561 rm -f conftest.err conftest.$ac_ext
6562
6563   # OK, works on sane cases.  Now check whether nonexistent headers
6564   # can be detected and how.
6565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h.  */
6567 #include <ac_nonexistent.h>
6568 _ACEOF
6569 if ac_fn_c_try_cpp "$LINENO"; then :
6570   # Broken: success on invalid input.
6571 continue
6572 else
6573   # Passes both tests.
6574 ac_preproc_ok=:
6575 break
6576 fi
6577 rm -f conftest.err conftest.$ac_ext
6578
6579 done
6580 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6581 rm -f conftest.err conftest.$ac_ext
6582 if $ac_preproc_ok; then :
6583
6584 else
6585   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6587 as_fn_error "C preprocessor \"$CPP\" fails sanity check
6588 See \`config.log' for more details." "$LINENO" 5; }
6589 fi
6590
6591 ac_ext=c
6592 ac_cpp='$CPP $CPPFLAGS'
6593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6596
6597
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6599 $as_echo_n "checking for ANSI C header files... " >&6; }
6600 if test "${ac_cv_header_stdc+set}" = set; then :
6601   $as_echo_n "(cached) " >&6
6602 else
6603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h.  */
6605 #include <stdlib.h>
6606 #include <stdarg.h>
6607 #include <string.h>
6608 #include <float.h>
6609
6610 int
6611 main ()
6612 {
6613
6614   ;
6615   return 0;
6616 }
6617 _ACEOF
6618 if ac_fn_c_try_compile "$LINENO"; then :
6619   ac_cv_header_stdc=yes
6620 else
6621   ac_cv_header_stdc=no
6622 fi
6623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6624
6625 if test $ac_cv_header_stdc = yes; then
6626   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6628 /* end confdefs.h.  */
6629 #include <string.h>
6630
6631 _ACEOF
6632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6633   $EGREP "memchr" >/dev/null 2>&1; then :
6634
6635 else
6636   ac_cv_header_stdc=no
6637 fi
6638 rm -f conftest*
6639
6640 fi
6641
6642 if test $ac_cv_header_stdc = yes; then
6643   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6645 /* end confdefs.h.  */
6646 #include <stdlib.h>
6647
6648 _ACEOF
6649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6650   $EGREP "free" >/dev/null 2>&1; then :
6651
6652 else
6653   ac_cv_header_stdc=no
6654 fi
6655 rm -f conftest*
6656
6657 fi
6658
6659 if test $ac_cv_header_stdc = yes; then
6660   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6661   if test "$cross_compiling" = yes; then :
6662   :
6663 else
6664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h.  */
6666 #include <ctype.h>
6667 #include <stdlib.h>
6668 #if ((' ' & 0x0FF) == 0x020)
6669 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6670 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6671 #else
6672 # define ISLOWER(c) \
6673                    (('a' <= (c) && (c) <= 'i') \
6674                      || ('j' <= (c) && (c) <= 'r') \
6675                      || ('s' <= (c) && (c) <= 'z'))
6676 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6677 #endif
6678
6679 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6680 int
6681 main ()
6682 {
6683   int i;
6684   for (i = 0; i < 256; i++)
6685     if (XOR (islower (i), ISLOWER (i))
6686         || toupper (i) != TOUPPER (i))
6687       return 2;
6688   return 0;
6689 }
6690 _ACEOF
6691 if ac_fn_c_try_run "$LINENO"; then :
6692
6693 else
6694   ac_cv_header_stdc=no
6695 fi
6696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6697   conftest.$ac_objext conftest.beam conftest.$ac_ext
6698 fi
6699
6700 fi
6701 fi
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6703 $as_echo "$ac_cv_header_stdc" >&6; }
6704 if test $ac_cv_header_stdc = yes; then
6705
6706 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6707
6708 fi
6709
6710 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6711 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6712                   inttypes.h stdint.h unistd.h
6713 do :
6714   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6715 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6716 "
6717 eval as_val=\$$as_ac_Header
6718    if test "x$as_val" = x""yes; then :
6719   cat >>confdefs.h <<_ACEOF
6720 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6721 _ACEOF
6722
6723 fi
6724
6725 done
6726
6727
6728 for ac_header in dlfcn.h
6729 do :
6730   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
6731 "
6732 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
6733   cat >>confdefs.h <<_ACEOF
6734 #define HAVE_DLFCN_H 1
6735 _ACEOF
6736
6737 fi
6738
6739 done
6740
6741
6742
6743
6744
6745 # Set options
6746
6747
6748
6749         enable_dlopen=no
6750
6751
6752   enable_win32_dll=no
6753
6754
6755             # Check whether --enable-shared was given.
6756 if test "${enable_shared+set}" = set; then :
6757   enableval=$enable_shared; p=${PACKAGE-default}
6758     case $enableval in
6759     yes) enable_shared=yes ;;
6760     no) enable_shared=no ;;
6761     *)
6762       enable_shared=no
6763       # Look at the argument we got.  We use all the common list separators.
6764       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6765       for pkg in $enableval; do
6766         IFS="$lt_save_ifs"
6767         if test "X$pkg" = "X$p"; then
6768           enable_shared=yes
6769         fi
6770       done
6771       IFS="$lt_save_ifs"
6772       ;;
6773     esac
6774 else
6775   enable_shared=yes
6776 fi
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786   # Check whether --enable-static was given.
6787 if test "${enable_static+set}" = set; then :
6788   enableval=$enable_static; p=${PACKAGE-default}
6789     case $enableval in
6790     yes) enable_static=yes ;;
6791     no) enable_static=no ;;
6792     *)
6793      enable_static=no
6794       # Look at the argument we got.  We use all the common list separators.
6795       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6796       for pkg in $enableval; do
6797         IFS="$lt_save_ifs"
6798         if test "X$pkg" = "X$p"; then
6799           enable_static=yes
6800         fi
6801       done
6802       IFS="$lt_save_ifs"
6803       ;;
6804     esac
6805 else
6806   enable_static=yes
6807 fi
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818 # Check whether --with-pic was given.
6819 if test "${with_pic+set}" = set; then :
6820   withval=$with_pic; pic_mode="$withval"
6821 else
6822   pic_mode=default
6823 fi
6824
6825
6826 test -z "$pic_mode" && pic_mode=default
6827
6828
6829
6830
6831
6832
6833
6834   # Check whether --enable-fast-install was given.
6835 if test "${enable_fast_install+set}" = set; then :
6836   enableval=$enable_fast_install; p=${PACKAGE-default}
6837     case $enableval in
6838     yes) enable_fast_install=yes ;;
6839     no) enable_fast_install=no ;;
6840     *)
6841       enable_fast_install=no
6842       # Look at the argument we got.  We use all the common list separators.
6843       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6844       for pkg in $enableval; do
6845         IFS="$lt_save_ifs"
6846         if test "X$pkg" = "X$p"; then
6847           enable_fast_install=yes
6848         fi
6849       done
6850       IFS="$lt_save_ifs"
6851       ;;
6852     esac
6853 else
6854   enable_fast_install=yes
6855 fi
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867 # This can be used to rebuild libtool when needed
6868 LIBTOOL_DEPS="$ltmain"
6869
6870 # Always use our own libtool.
6871 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898 test -z "$LN_S" && LN_S="ln -s"
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913 if test -n "${ZSH_VERSION+set}" ; then
6914    setopt NO_GLOB_SUBST
6915 fi
6916
6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
6918 $as_echo_n "checking for objdir... " >&6; }
6919 if test "${lt_cv_objdir+set}" = set; then :
6920   $as_echo_n "(cached) " >&6
6921 else
6922   rm -f .libs 2>/dev/null
6923 mkdir .libs 2>/dev/null
6924 if test -d .libs; then
6925   lt_cv_objdir=.libs
6926 else
6927   # MS-DOS does not allow filenames that begin with a dot.
6928   lt_cv_objdir=_libs
6929 fi
6930 rmdir .libs 2>/dev/null
6931 fi
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
6933 $as_echo "$lt_cv_objdir" >&6; }
6934 objdir=$lt_cv_objdir
6935
6936
6937
6938
6939
6940 cat >>confdefs.h <<_ACEOF
6941 #define LT_OBJDIR "$lt_cv_objdir/"
6942 _ACEOF
6943
6944
6945
6946
6947 case $host_os in
6948 aix3*)
6949   # AIX sometimes has problems with the GCC collect2 program.  For some
6950   # reason, if we set the COLLECT_NAMES environment variable, the problems
6951   # vanish in a puff of smoke.
6952   if test "X${COLLECT_NAMES+set}" != Xset; then
6953     COLLECT_NAMES=
6954     export COLLECT_NAMES
6955   fi
6956   ;;
6957 esac
6958
6959 # Global variables:
6960 ofile=libtool
6961 can_build_shared=yes
6962
6963 # All known linkers require a `.a' archive for static linking (except MSVC,
6964 # which needs '.lib').
6965 libext=a
6966
6967 with_gnu_ld="$lt_cv_prog_gnu_ld"
6968
6969 old_CC="$CC"
6970 old_CFLAGS="$CFLAGS"
6971
6972 # Set sane defaults for various variables
6973 test -z "$CC" && CC=cc
6974 test -z "$LTCC" && LTCC=$CC
6975 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6976 test -z "$LD" && LD=ld
6977 test -z "$ac_objext" && ac_objext=o
6978
6979 for cc_temp in $compiler""; do
6980   case $cc_temp in
6981     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6982     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6983     \-*) ;;
6984     *) break;;
6985   esac
6986 done
6987 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6988
6989
6990 # Only perform the check for file, if the check method requires it
6991 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6992 case $deplibs_check_method in
6993 file_magic*)
6994   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6995     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
6996 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
6997 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
6998   $as_echo_n "(cached) " >&6
6999 else
7000   case $MAGIC_CMD in
7001 [\\/*] |  ?:[\\/]*)
7002   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7003   ;;
7004 *)
7005   lt_save_MAGIC_CMD="$MAGIC_CMD"
7006   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7007   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7008   for ac_dir in $ac_dummy; do
7009     IFS="$lt_save_ifs"
7010     test -z "$ac_dir" && ac_dir=.
7011     if test -f $ac_dir/${ac_tool_prefix}file; then
7012       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7013       if test -n "$file_magic_test_file"; then
7014         case $deplibs_check_method in
7015         "file_magic "*)
7016           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7017           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7018           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7019             $EGREP "$file_magic_regex" > /dev/null; then
7020             :
7021           else
7022             cat <<_LT_EOF 1>&2
7023
7024 *** Warning: the command libtool uses to detect shared libraries,
7025 *** $file_magic_cmd, produces output that libtool cannot recognize.
7026 *** The result is that libtool may fail to recognize shared libraries
7027 *** as such.  This will affect the creation of libtool libraries that
7028 *** depend on shared libraries, but programs linked with such libtool
7029 *** libraries will work regardless of this problem.  Nevertheless, you
7030 *** may want to report the problem to your system manager and/or to
7031 *** bug-libtool@gnu.org
7032
7033 _LT_EOF
7034           fi ;;
7035         esac
7036       fi
7037       break
7038     fi
7039   done
7040   IFS="$lt_save_ifs"
7041   MAGIC_CMD="$lt_save_MAGIC_CMD"
7042   ;;
7043 esac
7044 fi
7045
7046 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7047 if test -n "$MAGIC_CMD"; then
7048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7049 $as_echo "$MAGIC_CMD" >&6; }
7050 else
7051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7053 fi
7054
7055
7056
7057
7058
7059 if test -z "$lt_cv_path_MAGIC_CMD"; then
7060   if test -n "$ac_tool_prefix"; then
7061     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7062 $as_echo_n "checking for file... " >&6; }
7063 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7064   $as_echo_n "(cached) " >&6
7065 else
7066   case $MAGIC_CMD in
7067 [\\/*] |  ?:[\\/]*)
7068   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7069   ;;
7070 *)
7071   lt_save_MAGIC_CMD="$MAGIC_CMD"
7072   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7073   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7074   for ac_dir in $ac_dummy; do
7075     IFS="$lt_save_ifs"
7076     test -z "$ac_dir" && ac_dir=.
7077     if test -f $ac_dir/file; then
7078       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7079       if test -n "$file_magic_test_file"; then
7080         case $deplibs_check_method in
7081         "file_magic "*)
7082           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7083           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7084           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7085             $EGREP "$file_magic_regex" > /dev/null; then
7086             :
7087           else
7088             cat <<_LT_EOF 1>&2
7089
7090 *** Warning: the command libtool uses to detect shared libraries,
7091 *** $file_magic_cmd, produces output that libtool cannot recognize.
7092 *** The result is that libtool may fail to recognize shared libraries
7093 *** as such.  This will affect the creation of libtool libraries that
7094 *** depend on shared libraries, but programs linked with such libtool
7095 *** libraries will work regardless of this problem.  Nevertheless, you
7096 *** may want to report the problem to your system manager and/or to
7097 *** bug-libtool@gnu.org
7098
7099 _LT_EOF
7100           fi ;;
7101         esac
7102       fi
7103       break
7104     fi
7105   done
7106   IFS="$lt_save_ifs"
7107   MAGIC_CMD="$lt_save_MAGIC_CMD"
7108   ;;
7109 esac
7110 fi
7111
7112 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7113 if test -n "$MAGIC_CMD"; then
7114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7115 $as_echo "$MAGIC_CMD" >&6; }
7116 else
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7119 fi
7120
7121
7122   else
7123     MAGIC_CMD=:
7124   fi
7125 fi
7126
7127   fi
7128   ;;
7129 esac
7130
7131 # Use C for the default configuration in the libtool script
7132
7133 lt_save_CC="$CC"
7134 ac_ext=c
7135 ac_cpp='$CPP $CPPFLAGS'
7136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7139
7140
7141 # Source file extension for C test sources.
7142 ac_ext=c
7143
7144 # Object file extension for compiled C test sources.
7145 objext=o
7146 objext=$objext
7147
7148 # Code to be used in simple compile tests
7149 lt_simple_compile_test_code="int some_variable = 0;"
7150
7151 # Code to be used in simple link tests
7152 lt_simple_link_test_code='int main(){return(0);}'
7153
7154
7155
7156
7157
7158
7159
7160 # If no C compiler was specified, use CC.
7161 LTCC=${LTCC-"$CC"}
7162
7163 # If no C compiler flags were specified, use CFLAGS.
7164 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7165
7166 # Allow CC to be a program name with arguments.
7167 compiler=$CC
7168
7169 # Save the default compiler, since it gets overwritten when the other
7170 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7171 compiler_DEFAULT=$CC
7172
7173 # save warnings/boilerplate of simple test code
7174 ac_outfile=conftest.$ac_objext
7175 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7176 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7177 _lt_compiler_boilerplate=`cat conftest.err`
7178 $RM conftest*
7179
7180 ac_outfile=conftest.$ac_objext
7181 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7182 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7183 _lt_linker_boilerplate=`cat conftest.err`
7184 $RM -r conftest*
7185
7186
7187 ## CAVEAT EMPTOR:
7188 ## There is no encapsulation within the following macros, do not change
7189 ## the running order or otherwise move them around unless you know exactly
7190 ## what you are doing...
7191 if test -n "$compiler"; then
7192
7193 lt_prog_compiler_no_builtin_flag=
7194
7195 if test "$GCC" = yes; then
7196   case $cc_basename in
7197   nvcc*)
7198     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7199   *)
7200     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7201   esac
7202
7203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7204 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7205 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7206   $as_echo_n "(cached) " >&6
7207 else
7208   lt_cv_prog_compiler_rtti_exceptions=no
7209    ac_outfile=conftest.$ac_objext
7210    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7211    lt_compiler_flag="-fno-rtti -fno-exceptions"
7212    # Insert the option either (1) after the last *FLAGS variable, or
7213    # (2) before a word containing "conftest.", or (3) at the end.
7214    # Note that $ac_compile itself does not contain backslashes and begins
7215    # with a dollar sign (not a hyphen), so the echo should work correctly.
7216    # The option is referenced via a variable to avoid confusing sed.
7217    lt_compile=`echo "$ac_compile" | $SED \
7218    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7219    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7220    -e 's:$: $lt_compiler_flag:'`
7221    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7222    (eval "$lt_compile" 2>conftest.err)
7223    ac_status=$?
7224    cat conftest.err >&5
7225    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226    if (exit $ac_status) && test -s "$ac_outfile"; then
7227      # The compiler can only warn and ignore the option if not recognized
7228      # So say no if there are warnings other than the usual output.
7229      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7230      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7231      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7232        lt_cv_prog_compiler_rtti_exceptions=yes
7233      fi
7234    fi
7235    $RM conftest*
7236
7237 fi
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7239 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7240
7241 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7242     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7243 else
7244     :
7245 fi
7246
7247 fi
7248
7249
7250
7251
7252
7253
7254   lt_prog_compiler_wl=
7255 lt_prog_compiler_pic=
7256 lt_prog_compiler_static=
7257
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7259 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7260
7261   if test "$GCC" = yes; then
7262     lt_prog_compiler_wl='-Wl,'
7263     lt_prog_compiler_static='-static'
7264
7265     case $host_os in
7266       aix*)
7267       # All AIX code is PIC.
7268       if test "$host_cpu" = ia64; then
7269         # AIX 5 now supports IA64 processor
7270         lt_prog_compiler_static='-Bstatic'
7271       fi
7272       ;;
7273
7274     amigaos*)
7275       case $host_cpu in
7276       powerpc)
7277             # see comment about AmigaOS4 .so support
7278             lt_prog_compiler_pic='-fPIC'
7279         ;;
7280       m68k)
7281             # FIXME: we need at least 68020 code to build shared libraries, but
7282             # adding the `-m68020' flag to GCC prevents building anything better,
7283             # like `-m68040'.
7284             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7285         ;;
7286       esac
7287       ;;
7288
7289     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7290       # PIC is the default for these OSes.
7291       ;;
7292
7293     mingw* | cygwin* | pw32* | os2* | cegcc*)
7294       # This hack is so that the source file can tell whether it is being
7295       # built for inclusion in a dll (and should export symbols for example).
7296       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7297       # (--disable-auto-import) libraries
7298       lt_prog_compiler_pic='-DDLL_EXPORT'
7299       ;;
7300
7301     darwin* | rhapsody*)
7302       # PIC is the default on this platform
7303       # Common symbols not allowed in MH_DYLIB files
7304       lt_prog_compiler_pic='-fno-common'
7305       ;;
7306
7307     haiku*)
7308       # PIC is the default for Haiku.
7309       # The "-static" flag exists, but is broken.
7310       lt_prog_compiler_static=
7311       ;;
7312
7313     hpux*)
7314       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7315       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7316       # sets the default TLS model and affects inlining.
7317       case $host_cpu in
7318       hppa*64*)
7319         # +Z the default
7320         ;;
7321       *)
7322         lt_prog_compiler_pic='-fPIC'
7323         ;;
7324       esac
7325       ;;
7326
7327     interix[3-9]*)
7328       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7329       # Instead, we relocate shared libraries at runtime.
7330       ;;
7331
7332     msdosdjgpp*)
7333       # Just because we use GCC doesn't mean we suddenly get shared libraries
7334       # on systems that don't support them.
7335       lt_prog_compiler_can_build_shared=no
7336       enable_shared=no
7337       ;;
7338
7339     *nto* | *qnx*)
7340       # QNX uses GNU C++, but need to define -shared option too, otherwise
7341       # it will coredump.
7342       lt_prog_compiler_pic='-fPIC -shared'
7343       ;;
7344
7345     sysv4*MP*)
7346       if test -d /usr/nec; then
7347         lt_prog_compiler_pic=-Kconform_pic
7348       fi
7349       ;;
7350
7351     *)
7352       lt_prog_compiler_pic='-fPIC'
7353       ;;
7354     esac
7355
7356     case $cc_basename in
7357     nvcc*) # Cuda Compiler Driver 2.2
7358       lt_prog_compiler_wl='-Xlinker '
7359       lt_prog_compiler_pic='-Xcompiler -fPIC'
7360       ;;
7361     esac
7362   else
7363     # PORTME Check for flag to pass linker flags through the system compiler.
7364     case $host_os in
7365     aix*)
7366       lt_prog_compiler_wl='-Wl,'
7367       if test "$host_cpu" = ia64; then
7368         # AIX 5 now supports IA64 processor
7369         lt_prog_compiler_static='-Bstatic'
7370       else
7371         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7372       fi
7373       ;;
7374
7375     mingw* | cygwin* | pw32* | os2* | cegcc*)
7376       # This hack is so that the source file can tell whether it is being
7377       # built for inclusion in a dll (and should export symbols for example).
7378       lt_prog_compiler_pic='-DDLL_EXPORT'
7379       ;;
7380
7381     hpux9* | hpux10* | hpux11*)
7382       lt_prog_compiler_wl='-Wl,'
7383       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7384       # not for PA HP-UX.
7385       case $host_cpu in
7386       hppa*64*|ia64*)
7387         # +Z the default
7388         ;;
7389       *)
7390         lt_prog_compiler_pic='+Z'
7391         ;;
7392       esac
7393       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7394       lt_prog_compiler_static='${wl}-a ${wl}archive'
7395       ;;
7396
7397     irix5* | irix6* | nonstopux*)
7398       lt_prog_compiler_wl='-Wl,'
7399       # PIC (with -KPIC) is the default.
7400       lt_prog_compiler_static='-non_shared'
7401       ;;
7402
7403     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7404       case $cc_basename in
7405       # old Intel for x86_64 which still supported -KPIC.
7406       ecc*)
7407         lt_prog_compiler_wl='-Wl,'
7408         lt_prog_compiler_pic='-KPIC'
7409         lt_prog_compiler_static='-static'
7410         ;;
7411       # icc used to be incompatible with GCC.
7412       # ICC 10 doesn't accept -KPIC any more.
7413       icc* | ifort*)
7414         lt_prog_compiler_wl='-Wl,'
7415         lt_prog_compiler_pic='-fPIC'
7416         lt_prog_compiler_static='-static'
7417         ;;
7418       # Lahey Fortran 8.1.
7419       lf95*)
7420         lt_prog_compiler_wl='-Wl,'
7421         lt_prog_compiler_pic='--shared'
7422         lt_prog_compiler_static='--static'
7423         ;;
7424       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
7425         # Portland Group compilers (*not* the Pentium gcc compiler,
7426         # which looks to be a dead project)
7427         lt_prog_compiler_wl='-Wl,'
7428         lt_prog_compiler_pic='-fpic'
7429         lt_prog_compiler_static='-Bstatic'
7430         ;;
7431       ccc*)
7432         lt_prog_compiler_wl='-Wl,'
7433         # All Alpha code is PIC.
7434         lt_prog_compiler_static='-non_shared'
7435         ;;
7436       xl* | bgxl* | bgf* | mpixl*)
7437         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
7438         lt_prog_compiler_wl='-Wl,'
7439         lt_prog_compiler_pic='-qpic'
7440         lt_prog_compiler_static='-qstaticlink'
7441         ;;
7442       *)
7443         case `$CC -V 2>&1 | sed 5q` in
7444         *Sun\ F* | *Sun*Fortran*)
7445           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7446           lt_prog_compiler_pic='-KPIC'
7447           lt_prog_compiler_static='-Bstatic'
7448           lt_prog_compiler_wl=''
7449           ;;
7450         *Sun\ C*)
7451           # Sun C 5.9
7452           lt_prog_compiler_pic='-KPIC'
7453           lt_prog_compiler_static='-Bstatic'
7454           lt_prog_compiler_wl='-Wl,'
7455           ;;
7456         esac
7457         ;;
7458       esac
7459       ;;
7460
7461     newsos6)
7462       lt_prog_compiler_pic='-KPIC'
7463       lt_prog_compiler_static='-Bstatic'
7464       ;;
7465
7466     *nto* | *qnx*)
7467       # QNX uses GNU C++, but need to define -shared option too, otherwise
7468       # it will coredump.
7469       lt_prog_compiler_pic='-fPIC -shared'
7470       ;;
7471
7472     osf3* | osf4* | osf5*)
7473       lt_prog_compiler_wl='-Wl,'
7474       # All OSF/1 code is PIC.
7475       lt_prog_compiler_static='-non_shared'
7476       ;;
7477
7478     rdos*)
7479       lt_prog_compiler_static='-non_shared'
7480       ;;
7481
7482     solaris*)
7483       lt_prog_compiler_pic='-KPIC'
7484       lt_prog_compiler_static='-Bstatic'
7485       case $cc_basename in
7486       f77* | f90* | f95*)
7487         lt_prog_compiler_wl='-Qoption ld ';;
7488       *)
7489         lt_prog_compiler_wl='-Wl,';;
7490       esac
7491       ;;
7492
7493     sunos4*)
7494       lt_prog_compiler_wl='-Qoption ld '
7495       lt_prog_compiler_pic='-PIC'
7496       lt_prog_compiler_static='-Bstatic'
7497       ;;
7498
7499     sysv4 | sysv4.2uw2* | sysv4.3*)
7500       lt_prog_compiler_wl='-Wl,'
7501       lt_prog_compiler_pic='-KPIC'
7502       lt_prog_compiler_static='-Bstatic'
7503       ;;
7504
7505     sysv4*MP*)
7506       if test -d /usr/nec ;then
7507         lt_prog_compiler_pic='-Kconform_pic'
7508         lt_prog_compiler_static='-Bstatic'
7509       fi
7510       ;;
7511
7512     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7513       lt_prog_compiler_wl='-Wl,'
7514       lt_prog_compiler_pic='-KPIC'
7515       lt_prog_compiler_static='-Bstatic'
7516       ;;
7517
7518     unicos*)
7519       lt_prog_compiler_wl='-Wl,'
7520       lt_prog_compiler_can_build_shared=no
7521       ;;
7522
7523     uts4*)
7524       lt_prog_compiler_pic='-pic'
7525       lt_prog_compiler_static='-Bstatic'
7526       ;;
7527
7528     *)
7529       lt_prog_compiler_can_build_shared=no
7530       ;;
7531     esac
7532   fi
7533
7534 case $host_os in
7535   # For platforms which do not support PIC, -DPIC is meaningless:
7536   *djgpp*)
7537     lt_prog_compiler_pic=
7538     ;;
7539   *)
7540     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7541     ;;
7542 esac
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7544 $as_echo "$lt_prog_compiler_pic" >&6; }
7545
7546
7547
7548
7549
7550
7551 #
7552 # Check to make sure the PIC flag actually works.
7553 #
7554 if test -n "$lt_prog_compiler_pic"; then
7555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7556 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7557 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7558   $as_echo_n "(cached) " >&6
7559 else
7560   lt_cv_prog_compiler_pic_works=no
7561    ac_outfile=conftest.$ac_objext
7562    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7563    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7564    # Insert the option either (1) after the last *FLAGS variable, or
7565    # (2) before a word containing "conftest.", or (3) at the end.
7566    # Note that $ac_compile itself does not contain backslashes and begins
7567    # with a dollar sign (not a hyphen), so the echo should work correctly.
7568    # The option is referenced via a variable to avoid confusing sed.
7569    lt_compile=`echo "$ac_compile" | $SED \
7570    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7571    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7572    -e 's:$: $lt_compiler_flag:'`
7573    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7574    (eval "$lt_compile" 2>conftest.err)
7575    ac_status=$?
7576    cat conftest.err >&5
7577    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578    if (exit $ac_status) && test -s "$ac_outfile"; then
7579      # The compiler can only warn and ignore the option if not recognized
7580      # So say no if there are warnings other than the usual output.
7581      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7582      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7583      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7584        lt_cv_prog_compiler_pic_works=yes
7585      fi
7586    fi
7587    $RM conftest*
7588
7589 fi
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
7591 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7592
7593 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7594     case $lt_prog_compiler_pic in
7595      "" | " "*) ;;
7596      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7597      esac
7598 else
7599     lt_prog_compiler_pic=
7600      lt_prog_compiler_can_build_shared=no
7601 fi
7602
7603 fi
7604
7605
7606
7607
7608
7609
7610 #
7611 # Check to make sure the static flag actually works.
7612 #
7613 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7615 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7616 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
7617   $as_echo_n "(cached) " >&6
7618 else
7619   lt_cv_prog_compiler_static_works=no
7620    save_LDFLAGS="$LDFLAGS"
7621    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7622    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7623    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7624      # The linker can only warn and ignore the option if not recognized
7625      # So say no if there are warnings
7626      if test -s conftest.err; then
7627        # Append any errors to the config.log.
7628        cat conftest.err 1>&5
7629        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
7630        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7631        if diff conftest.exp conftest.er2 >/dev/null; then
7632          lt_cv_prog_compiler_static_works=yes
7633        fi
7634      else
7635        lt_cv_prog_compiler_static_works=yes
7636      fi
7637    fi
7638    $RM -r conftest*
7639    LDFLAGS="$save_LDFLAGS"
7640
7641 fi
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
7643 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7644
7645 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7646     :
7647 else
7648     lt_prog_compiler_static=
7649 fi
7650
7651
7652
7653
7654
7655
7656
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7658 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7659 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7660   $as_echo_n "(cached) " >&6
7661 else
7662   lt_cv_prog_compiler_c_o=no
7663    $RM -r conftest 2>/dev/null
7664    mkdir conftest
7665    cd conftest
7666    mkdir out
7667    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7668
7669    lt_compiler_flag="-o out/conftest2.$ac_objext"
7670    # Insert the option either (1) after the last *FLAGS variable, or
7671    # (2) before a word containing "conftest.", or (3) at the end.
7672    # Note that $ac_compile itself does not contain backslashes and begins
7673    # with a dollar sign (not a hyphen), so the echo should work correctly.
7674    lt_compile=`echo "$ac_compile" | $SED \
7675    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7676    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7677    -e 's:$: $lt_compiler_flag:'`
7678    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7679    (eval "$lt_compile" 2>out/conftest.err)
7680    ac_status=$?
7681    cat out/conftest.err >&5
7682    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7683    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7684    then
7685      # The compiler can only warn and ignore the option if not recognized
7686      # So say no if there are warnings
7687      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7688      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7689      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7690        lt_cv_prog_compiler_c_o=yes
7691      fi
7692    fi
7693    chmod u+w . 2>&5
7694    $RM conftest*
7695    # SGI C++ compiler will create directory out/ii_files/ for
7696    # template instantiation
7697    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7698    $RM out/* && rmdir out
7699    cd ..
7700    $RM -r conftest
7701    $RM conftest*
7702
7703 fi
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7705 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7706
7707
7708
7709
7710
7711
7712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
7713 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7714 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
7715   $as_echo_n "(cached) " >&6
7716 else
7717   lt_cv_prog_compiler_c_o=no
7718    $RM -r conftest 2>/dev/null
7719    mkdir conftest
7720    cd conftest
7721    mkdir out
7722    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7723
7724    lt_compiler_flag="-o out/conftest2.$ac_objext"
7725    # Insert the option either (1) after the last *FLAGS variable, or
7726    # (2) before a word containing "conftest.", or (3) at the end.
7727    # Note that $ac_compile itself does not contain backslashes and begins
7728    # with a dollar sign (not a hyphen), so the echo should work correctly.
7729    lt_compile=`echo "$ac_compile" | $SED \
7730    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7731    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7732    -e 's:$: $lt_compiler_flag:'`
7733    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7734    (eval "$lt_compile" 2>out/conftest.err)
7735    ac_status=$?
7736    cat out/conftest.err >&5
7737    echo "$as_me:$LINENO: \$? = $ac_status" >&5
7738    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7739    then
7740      # The compiler can only warn and ignore the option if not recognized
7741      # So say no if there are warnings
7742      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
7743      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7744      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7745        lt_cv_prog_compiler_c_o=yes
7746      fi
7747    fi
7748    chmod u+w . 2>&5
7749    $RM conftest*
7750    # SGI C++ compiler will create directory out/ii_files/ for
7751    # template instantiation
7752    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7753    $RM out/* && rmdir out
7754    cd ..
7755    $RM -r conftest
7756    $RM conftest*
7757
7758 fi
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
7760 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7761
7762
7763
7764
7765 hard_links="nottested"
7766 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7767   # do not overwrite the value of need_locks provided by the user
7768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
7769 $as_echo_n "checking if we can lock with hard links... " >&6; }
7770   hard_links=yes
7771   $RM conftest*
7772   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7773   touch conftest.a
7774   ln conftest.a conftest.b 2>&5 || hard_links=no
7775   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
7777 $as_echo "$hard_links" >&6; }
7778   if test "$hard_links" = no; then
7779     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7780 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7781     need_locks=warn
7782   fi
7783 else
7784   need_locks=no
7785 fi
7786
7787
7788
7789
7790
7791
7792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7793 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7794
7795   runpath_var=
7796   allow_undefined_flag=
7797   always_export_symbols=no
7798   archive_cmds=
7799   archive_expsym_cmds=
7800   compiler_needs_object=no
7801   enable_shared_with_static_runtimes=no
7802   export_dynamic_flag_spec=
7803   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7804   hardcode_automatic=no
7805   hardcode_direct=no
7806   hardcode_direct_absolute=no
7807   hardcode_libdir_flag_spec=
7808   hardcode_libdir_flag_spec_ld=
7809   hardcode_libdir_separator=
7810   hardcode_minus_L=no
7811   hardcode_shlibpath_var=unsupported
7812   inherit_rpath=no
7813   link_all_deplibs=unknown
7814   module_cmds=
7815   module_expsym_cmds=
7816   old_archive_from_new_cmds=
7817   old_archive_from_expsyms_cmds=
7818   thread_safe_flag_spec=
7819   whole_archive_flag_spec=
7820   # include_expsyms should be a list of space-separated symbols to be *always*
7821   # included in the symbol list
7822   include_expsyms=
7823   # exclude_expsyms can be an extended regexp of symbols to exclude
7824   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7825   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7826   # as well as any symbol that contains `d'.
7827   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7828   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7829   # platforms (ab)use it in PIC code, but their linkers get confused if
7830   # the symbol is explicitly referenced.  Since portable code cannot
7831   # rely on this symbol name, it's probably fine to never include it in
7832   # preloaded symbol tables.
7833   # Exclude shared library initialization/finalization symbols.
7834   extract_expsyms_cmds=
7835
7836   case $host_os in
7837   cygwin* | mingw* | pw32* | cegcc*)
7838     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7839     # When not using gcc, we currently assume that we are using
7840     # Microsoft Visual C++.
7841     if test "$GCC" != yes; then
7842       with_gnu_ld=no
7843     fi
7844     ;;
7845   interix*)
7846     # we just hope/assume this is gcc and not c89 (= MSVC++)
7847     with_gnu_ld=yes
7848     ;;
7849   openbsd*)
7850     with_gnu_ld=no
7851     ;;
7852   esac
7853
7854   ld_shlibs=yes
7855
7856   # On some targets, GNU ld is compatible enough with the native linker
7857   # that we're better off using the native interface for both.
7858   lt_use_gnu_ld_interface=no
7859   if test "$with_gnu_ld" = yes; then
7860     case $host_os in
7861       aix*)
7862         # The AIX port of GNU ld has always aspired to compatibility
7863         # with the native linker.  However, as the warning in the GNU ld
7864         # block says, versions before 2.19.5* couldn't really create working
7865         # shared libraries, regardless of the interface used.
7866         case `$LD -v 2>&1` in
7867           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
7868           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
7869           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
7870           *)
7871             lt_use_gnu_ld_interface=yes
7872             ;;
7873         esac
7874         ;;
7875       *)
7876         lt_use_gnu_ld_interface=yes
7877         ;;
7878     esac
7879   fi
7880
7881   if test "$lt_use_gnu_ld_interface" = yes; then
7882     # If archive_cmds runs LD, not CC, wlarc should be empty
7883     wlarc='${wl}'
7884
7885     # Set some defaults for GNU ld with shared library support. These
7886     # are reset later if shared libraries are not supported. Putting them
7887     # here allows them to be overridden if necessary.
7888     runpath_var=LD_RUN_PATH
7889     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7890     export_dynamic_flag_spec='${wl}--export-dynamic'
7891     # ancient GNU ld didn't support --whole-archive et. al.
7892     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7893       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7894     else
7895       whole_archive_flag_spec=
7896     fi
7897     supports_anon_versioning=no
7898     case `$LD -v 2>&1` in
7899       *GNU\ gold*) supports_anon_versioning=yes ;;
7900       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7901       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7902       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7903       *\ 2.11.*) ;; # other 2.11 versions
7904       *) supports_anon_versioning=yes ;;
7905     esac
7906
7907     # See if GNU ld supports shared libraries.
7908     case $host_os in
7909     aix[3-9]*)
7910       # On AIX/PPC, the GNU linker is very broken
7911       if test "$host_cpu" != ia64; then
7912         ld_shlibs=no
7913         cat <<_LT_EOF 1>&2
7914
7915 *** Warning: the GNU linker, at least up to release 2.19, is reported
7916 *** to be unable to reliably create shared libraries on AIX.
7917 *** Therefore, libtool is disabling shared libraries support.  If you
7918 *** really care for shared libraries, you may want to install binutils
7919 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
7920 *** You will then need to restart the configuration process.
7921
7922 _LT_EOF
7923       fi
7924       ;;
7925
7926     amigaos*)
7927       case $host_cpu in
7928       powerpc)
7929             # see comment about AmigaOS4 .so support
7930             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7931             archive_expsym_cmds=''
7932         ;;
7933       m68k)
7934             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)'
7935             hardcode_libdir_flag_spec='-L$libdir'
7936             hardcode_minus_L=yes
7937         ;;
7938       esac
7939       ;;
7940
7941     beos*)
7942       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7943         allow_undefined_flag=unsupported
7944         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7945         # support --undefined.  This deserves some investigation.  FIXME
7946         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7947       else
7948         ld_shlibs=no
7949       fi
7950       ;;
7951
7952     cygwin* | mingw* | pw32* | cegcc*)
7953       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7954       # as there is no search path for DLLs.
7955       hardcode_libdir_flag_spec='-L$libdir'
7956       export_dynamic_flag_spec='${wl}--export-all-symbols'
7957       allow_undefined_flag=unsupported
7958       always_export_symbols=no
7959       enable_shared_with_static_runtimes=yes
7960       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7961
7962       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7963         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7964         # If the export-symbols file already is a .def file (1st line
7965         # is EXPORTS), use it as is; otherwise, prepend...
7966         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7967           cp $export_symbols $output_objdir/$soname.def;
7968         else
7969           echo EXPORTS > $output_objdir/$soname.def;
7970           cat $export_symbols >> $output_objdir/$soname.def;
7971         fi~
7972         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7973       else
7974         ld_shlibs=no
7975       fi
7976       ;;
7977
7978     haiku*)
7979       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7980       link_all_deplibs=yes
7981       ;;
7982
7983     interix[3-9]*)
7984       hardcode_direct=no
7985       hardcode_shlibpath_var=no
7986       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7987       export_dynamic_flag_spec='${wl}-E'
7988       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7989       # Instead, shared libraries are loaded at an image base (0x10000000 by
7990       # default) and relocated if they conflict, which is a slow very memory
7991       # consuming and fragmenting process.  To avoid this, we pick a random,
7992       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7993       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7994       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7995       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'
7996       ;;
7997
7998     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
7999       tmp_diet=no
8000       if test "$host_os" = linux-dietlibc; then
8001         case $cc_basename in
8002           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8003         esac
8004       fi
8005       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8006          && test "$tmp_diet" = no
8007       then
8008         tmp_addflag=
8009         tmp_sharedflag='-shared'
8010         case $cc_basename,$host_cpu in
8011         pgcc*)                          # Portland Group C compiler
8012           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'
8013           tmp_addflag=' $pic_flag'
8014           ;;
8015         pgf77* | pgf90* | pgf95* | pgfortran*)
8016                                         # Portland Group f77 and f90 compilers
8017           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'
8018           tmp_addflag=' $pic_flag -Mnomain' ;;
8019         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8020           tmp_addflag=' -i_dynamic' ;;
8021         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8022           tmp_addflag=' -i_dynamic -nofor_main' ;;
8023         ifc* | ifort*)                  # Intel Fortran compiler
8024           tmp_addflag=' -nofor_main' ;;
8025         lf95*)                          # Lahey Fortran 8.1
8026           whole_archive_flag_spec=
8027           tmp_sharedflag='--shared' ;;
8028         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8029           tmp_sharedflag='-qmkshrobj'
8030           tmp_addflag= ;;
8031         nvcc*)  # Cuda Compiler Driver 2.2
8032           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'
8033           compiler_needs_object=yes
8034           ;;
8035         esac
8036         case `$CC -V 2>&1 | sed 5q` in
8037         *Sun\ C*)                       # Sun C 5.9
8038           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'
8039           compiler_needs_object=yes
8040           tmp_sharedflag='-G' ;;
8041         *Sun\ F*)                       # Sun Fortran 8.3
8042           tmp_sharedflag='-G' ;;
8043         esac
8044         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8045
8046         if test "x$supports_anon_versioning" = xyes; then
8047           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8048             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8049             echo "local: *; };" >> $output_objdir/$libname.ver~
8050             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8051         fi
8052
8053         case $cc_basename in
8054         xlf* | bgf* | bgxlf* | mpixlf*)
8055           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8056           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8057           hardcode_libdir_flag_spec=
8058           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8059           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8060           if test "x$supports_anon_versioning" = xyes; then
8061             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8062               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8063               echo "local: *; };" >> $output_objdir/$libname.ver~
8064               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8065           fi
8066           ;;
8067         esac
8068       else
8069         ld_shlibs=no
8070       fi
8071       ;;
8072
8073     netbsd*)
8074       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8075         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8076         wlarc=
8077       else
8078         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8079         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8080       fi
8081       ;;
8082
8083     solaris*)
8084       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8085         ld_shlibs=no
8086         cat <<_LT_EOF 1>&2
8087
8088 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8089 *** create shared libraries on Solaris systems.  Therefore, libtool
8090 *** is disabling shared libraries support.  We urge you to upgrade GNU
8091 *** binutils to release 2.9.1 or newer.  Another option is to modify
8092 *** your PATH or compiler configuration so that the native linker is
8093 *** used, and then restart.
8094
8095 _LT_EOF
8096       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8097         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8098         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8099       else
8100         ld_shlibs=no
8101       fi
8102       ;;
8103
8104     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8105       case `$LD -v 2>&1` in
8106         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8107         ld_shlibs=no
8108         cat <<_LT_EOF 1>&2
8109
8110 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8111 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8112 *** is disabling shared libraries support.  We urge you to upgrade GNU
8113 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8114 *** your PATH or compiler configuration so that the native linker is
8115 *** used, and then restart.
8116
8117 _LT_EOF
8118         ;;
8119         *)
8120           # For security reasons, it is highly recommended that you always
8121           # use absolute paths for naming shared libraries, and exclude the
8122           # DT_RUNPATH tag from executables and libraries.  But doing so
8123           # requires that you compile everything twice, which is a pain.
8124           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8125             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8126             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8127             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8128           else
8129             ld_shlibs=no
8130           fi
8131         ;;
8132       esac
8133       ;;
8134
8135     sunos4*)
8136       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8137       wlarc=
8138       hardcode_direct=yes
8139       hardcode_shlibpath_var=no
8140       ;;
8141
8142     *)
8143       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8144         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8145         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8146       else
8147         ld_shlibs=no
8148       fi
8149       ;;
8150     esac
8151
8152     if test "$ld_shlibs" = no; then
8153       runpath_var=
8154       hardcode_libdir_flag_spec=
8155       export_dynamic_flag_spec=
8156       whole_archive_flag_spec=
8157     fi
8158   else
8159     # PORTME fill in a description of your system's linker (not GNU ld)
8160     case $host_os in
8161     aix3*)
8162       allow_undefined_flag=unsupported
8163       always_export_symbols=yes
8164       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'
8165       # Note: this linker hardcodes the directories in LIBPATH if there
8166       # are no directories specified by -L.
8167       hardcode_minus_L=yes
8168       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8169         # Neither direct hardcoding nor static linking is supported with a
8170         # broken collect2.
8171         hardcode_direct=unsupported
8172       fi
8173       ;;
8174
8175     aix[4-9]*)
8176       if test "$host_cpu" = ia64; then
8177         # On IA64, the linker does run time linking by default, so we don't
8178         # have to do anything special.
8179         aix_use_runtimelinking=no
8180         exp_sym_flag='-Bexport'
8181         no_entry_flag=""
8182       else
8183         # If we're using GNU nm, then we don't want the "-C" option.
8184         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8185         # Also, AIX nm treats weak defined symbols like other global
8186         # defined symbols, whereas GNU nm marks them as "W".
8187         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8188           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'
8189         else
8190           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'
8191         fi
8192         aix_use_runtimelinking=no
8193
8194         # Test if we are trying to use run time linking or normal
8195         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8196         # need to do runtime linking.
8197         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8198           for ld_flag in $LDFLAGS; do
8199           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8200             aix_use_runtimelinking=yes
8201             break
8202           fi
8203           done
8204           ;;
8205         esac
8206
8207         exp_sym_flag='-bexport'
8208         no_entry_flag='-bnoentry'
8209       fi
8210
8211       # When large executables or shared objects are built, AIX ld can
8212       # have problems creating the table of contents.  If linking a library
8213       # or program results in "error TOC overflow" add -mminimal-toc to
8214       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8215       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8216
8217       archive_cmds=''
8218       hardcode_direct=yes
8219       hardcode_direct_absolute=yes
8220       hardcode_libdir_separator=':'
8221       link_all_deplibs=yes
8222       file_list_spec='${wl}-f,'
8223
8224       if test "$GCC" = yes; then
8225         case $host_os in aix4.[012]|aix4.[012].*)
8226         # We only want to do this on AIX 4.2 and lower, the check
8227         # below for broken collect2 doesn't work under 4.3+
8228           collect2name=`${CC} -print-prog-name=collect2`
8229           if test -f "$collect2name" &&
8230            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8231           then
8232           # We have reworked collect2
8233           :
8234           else
8235           # We have old collect2
8236           hardcode_direct=unsupported
8237           # It fails to find uninstalled libraries when the uninstalled
8238           # path is not listed in the libpath.  Setting hardcode_minus_L
8239           # to unsupported forces relinking
8240           hardcode_minus_L=yes
8241           hardcode_libdir_flag_spec='-L$libdir'
8242           hardcode_libdir_separator=
8243           fi
8244           ;;
8245         esac
8246         shared_flag='-shared'
8247         if test "$aix_use_runtimelinking" = yes; then
8248           shared_flag="$shared_flag "'${wl}-G'
8249         fi
8250       else
8251         # not using gcc
8252         if test "$host_cpu" = ia64; then
8253         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8254         # chokes on -Wl,-G. The following line is correct:
8255           shared_flag='-G'
8256         else
8257           if test "$aix_use_runtimelinking" = yes; then
8258             shared_flag='${wl}-G'
8259           else
8260             shared_flag='${wl}-bM:SRE'
8261           fi
8262         fi
8263       fi
8264
8265       export_dynamic_flag_spec='${wl}-bexpall'
8266       # It seems that -bexpall does not export symbols beginning with
8267       # underscore (_), so it is better to generate a list of symbols to export.
8268       always_export_symbols=yes
8269       if test "$aix_use_runtimelinking" = yes; then
8270         # Warning - without using the other runtime loading flags (-brtl),
8271         # -berok will link without error, but may produce a broken library.
8272         allow_undefined_flag='-berok'
8273         # Determine the default libpath from the value encoded in an
8274         # empty executable.
8275         if test x$gcc_no_link = xyes; then
8276   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8277 fi
8278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8279 /* end confdefs.h.  */
8280
8281 int
8282 main ()
8283 {
8284
8285   ;
8286   return 0;
8287 }
8288 _ACEOF
8289 if ac_fn_c_try_link "$LINENO"; then :
8290
8291 lt_aix_libpath_sed='
8292     /Import File Strings/,/^$/ {
8293         /^0/ {
8294             s/^0  *\(.*\)$/\1/
8295             p
8296         }
8297     }'
8298 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8299 # Check for a 64-bit object if we didn't find anything.
8300 if test -z "$aix_libpath"; then
8301   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8302 fi
8303 fi
8304 rm -f core conftest.err conftest.$ac_objext \
8305     conftest$ac_exeext conftest.$ac_ext
8306 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8307
8308         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8309         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"
8310       else
8311         if test "$host_cpu" = ia64; then
8312           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8313           allow_undefined_flag="-z nodefs"
8314           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"
8315         else
8316          # Determine the default libpath from the value encoded in an
8317          # empty executable.
8318          if test x$gcc_no_link = xyes; then
8319   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8320 fi
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322 /* end confdefs.h.  */
8323
8324 int
8325 main ()
8326 {
8327
8328   ;
8329   return 0;
8330 }
8331 _ACEOF
8332 if ac_fn_c_try_link "$LINENO"; then :
8333
8334 lt_aix_libpath_sed='
8335     /Import File Strings/,/^$/ {
8336         /^0/ {
8337             s/^0  *\(.*\)$/\1/
8338             p
8339         }
8340     }'
8341 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8342 # Check for a 64-bit object if we didn't find anything.
8343 if test -z "$aix_libpath"; then
8344   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8345 fi
8346 fi
8347 rm -f core conftest.err conftest.$ac_objext \
8348     conftest$ac_exeext conftest.$ac_ext
8349 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8350
8351          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8352           # Warning - without using the other run time loading flags,
8353           # -berok will link without error, but may produce a broken library.
8354           no_undefined_flag=' ${wl}-bernotok'
8355           allow_undefined_flag=' ${wl}-berok'
8356           if test "$with_gnu_ld" = yes; then
8357             # We only use this code for GNU lds that support --whole-archive.
8358             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8359           else
8360             # Exported symbols can be pulled into shared objects from archives
8361             whole_archive_flag_spec='$convenience'
8362           fi
8363           archive_cmds_need_lc=yes
8364           # This is similar to how AIX traditionally builds its shared libraries.
8365           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'
8366         fi
8367       fi
8368       ;;
8369
8370     amigaos*)
8371       case $host_cpu in
8372       powerpc)
8373             # see comment about AmigaOS4 .so support
8374             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8375             archive_expsym_cmds=''
8376         ;;
8377       m68k)
8378             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)'
8379             hardcode_libdir_flag_spec='-L$libdir'
8380             hardcode_minus_L=yes
8381         ;;
8382       esac
8383       ;;
8384
8385     bsdi[45]*)
8386       export_dynamic_flag_spec=-rdynamic
8387       ;;
8388
8389     cygwin* | mingw* | pw32* | cegcc*)
8390       # When not using gcc, we currently assume that we are using
8391       # Microsoft Visual C++.
8392       # hardcode_libdir_flag_spec is actually meaningless, as there is
8393       # no search path for DLLs.
8394       hardcode_libdir_flag_spec=' '
8395       allow_undefined_flag=unsupported
8396       # Tell ltmain to make .lib files, not .a files.
8397       libext=lib
8398       # Tell ltmain to make .dll files, not .so files.
8399       shrext_cmds=".dll"
8400       # FIXME: Setting linknames here is a bad hack.
8401       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
8402       # The linker will automatically build a .lib file if we build a DLL.
8403       old_archive_from_new_cmds='true'
8404       # FIXME: Should let the user specify the lib program.
8405       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8406       fix_srcfile_path='`cygpath -w "$srcfile"`'
8407       enable_shared_with_static_runtimes=yes
8408       ;;
8409
8410     darwin* | rhapsody*)
8411
8412
8413   archive_cmds_need_lc=no
8414   hardcode_direct=no
8415   hardcode_automatic=yes
8416   hardcode_shlibpath_var=unsupported
8417   if test "$lt_cv_ld_force_load" = "yes"; then
8418     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\"`'
8419   else
8420     whole_archive_flag_spec=''
8421   fi
8422   link_all_deplibs=yes
8423   allow_undefined_flag="$_lt_dar_allow_undefined"
8424   case $cc_basename in
8425      ifort*) _lt_dar_can_shared=yes ;;
8426      *) _lt_dar_can_shared=$GCC ;;
8427   esac
8428   if test "$_lt_dar_can_shared" = "yes"; then
8429     output_verbose_link_cmd=func_echo_all
8430     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8431     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8432     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}"
8433     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}"
8434
8435   else
8436   ld_shlibs=no
8437   fi
8438
8439       ;;
8440
8441     dgux*)
8442       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8443       hardcode_libdir_flag_spec='-L$libdir'
8444       hardcode_shlibpath_var=no
8445       ;;
8446
8447     freebsd1*)
8448       ld_shlibs=no
8449       ;;
8450
8451     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8452     # support.  Future versions do this automatically, but an explicit c++rt0.o
8453     # does not break anything, and helps significantly (at the cost of a little
8454     # extra space).
8455     freebsd2.2*)
8456       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8457       hardcode_libdir_flag_spec='-R$libdir'
8458       hardcode_direct=yes
8459       hardcode_shlibpath_var=no
8460       ;;
8461
8462     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8463     freebsd2*)
8464       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8465       hardcode_direct=yes
8466       hardcode_minus_L=yes
8467       hardcode_shlibpath_var=no
8468       ;;
8469
8470     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8471     freebsd* | dragonfly*)
8472       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8473       hardcode_libdir_flag_spec='-R$libdir'
8474       hardcode_direct=yes
8475       hardcode_shlibpath_var=no
8476       ;;
8477
8478     hpux9*)
8479       if test "$GCC" = yes; then
8480         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'
8481       else
8482         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'
8483       fi
8484       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8485       hardcode_libdir_separator=:
8486       hardcode_direct=yes
8487
8488       # hardcode_minus_L: Not really in the search PATH,
8489       # but as the default location of the library.
8490       hardcode_minus_L=yes
8491       export_dynamic_flag_spec='${wl}-E'
8492       ;;
8493
8494     hpux10*)
8495       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8496         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8497       else
8498         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8499       fi
8500       if test "$with_gnu_ld" = no; then
8501         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8502         hardcode_libdir_flag_spec_ld='+b $libdir'
8503         hardcode_libdir_separator=:
8504         hardcode_direct=yes
8505         hardcode_direct_absolute=yes
8506         export_dynamic_flag_spec='${wl}-E'
8507         # hardcode_minus_L: Not really in the search PATH,
8508         # but as the default location of the library.
8509         hardcode_minus_L=yes
8510       fi
8511       ;;
8512
8513     hpux11*)
8514       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
8515         case $host_cpu in
8516         hppa*64*)
8517           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8518           ;;
8519         ia64*)
8520           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8521           ;;
8522         *)
8523           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8524           ;;
8525         esac
8526       else
8527         case $host_cpu in
8528         hppa*64*)
8529           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8530           ;;
8531         ia64*)
8532           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8533           ;;
8534         *)
8535
8536           # Older versions of the 11.00 compiler do not understand -b yet
8537           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
8538           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
8539 $as_echo_n "checking if $CC understands -b... " >&6; }
8540 if test "${lt_cv_prog_compiler__b+set}" = set; then :
8541   $as_echo_n "(cached) " >&6
8542 else
8543   lt_cv_prog_compiler__b=no
8544    save_LDFLAGS="$LDFLAGS"
8545    LDFLAGS="$LDFLAGS -b"
8546    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8547    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8548      # The linker can only warn and ignore the option if not recognized
8549      # So say no if there are warnings
8550      if test -s conftest.err; then
8551        # Append any errors to the config.log.
8552        cat conftest.err 1>&5
8553        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8554        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8555        if diff conftest.exp conftest.er2 >/dev/null; then
8556          lt_cv_prog_compiler__b=yes
8557        fi
8558      else
8559        lt_cv_prog_compiler__b=yes
8560      fi
8561    fi
8562    $RM -r conftest*
8563    LDFLAGS="$save_LDFLAGS"
8564
8565 fi
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
8567 $as_echo "$lt_cv_prog_compiler__b" >&6; }
8568
8569 if test x"$lt_cv_prog_compiler__b" = xyes; then
8570     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8571 else
8572     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8573 fi
8574
8575           ;;
8576         esac
8577       fi
8578       if test "$with_gnu_ld" = no; then
8579         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8580         hardcode_libdir_separator=:
8581
8582         case $host_cpu in
8583         hppa*64*|ia64*)
8584           hardcode_direct=no
8585           hardcode_shlibpath_var=no
8586           ;;
8587         *)
8588           hardcode_direct=yes
8589           hardcode_direct_absolute=yes
8590           export_dynamic_flag_spec='${wl}-E'
8591
8592           # hardcode_minus_L: Not really in the search PATH,
8593           # but as the default location of the library.
8594           hardcode_minus_L=yes
8595           ;;
8596         esac
8597       fi
8598       ;;
8599
8600     irix5* | irix6* | nonstopux*)
8601       if test "$GCC" = yes; then
8602         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'
8603         # Try to use the -exported_symbol ld option, if it does not
8604         # work, assume that -exports_file does not work either and
8605         # implicitly export all symbols.
8606         save_LDFLAGS="$LDFLAGS"
8607         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8608         if test x$gcc_no_link = xyes; then
8609   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8610 fi
8611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h.  */
8613 int foo(void) {}
8614 _ACEOF
8615 if ac_fn_c_try_link "$LINENO"; then :
8616   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'
8617
8618 fi
8619 rm -f core conftest.err conftest.$ac_objext \
8620     conftest$ac_exeext conftest.$ac_ext
8621         LDFLAGS="$save_LDFLAGS"
8622       else
8623         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'
8624         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'
8625       fi
8626       archive_cmds_need_lc='no'
8627       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8628       hardcode_libdir_separator=:
8629       inherit_rpath=yes
8630       link_all_deplibs=yes
8631       ;;
8632
8633     netbsd*)
8634       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8635         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8636       else
8637         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8638       fi
8639       hardcode_libdir_flag_spec='-R$libdir'
8640       hardcode_direct=yes
8641       hardcode_shlibpath_var=no
8642       ;;
8643
8644     newsos6)
8645       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8646       hardcode_direct=yes
8647       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8648       hardcode_libdir_separator=:
8649       hardcode_shlibpath_var=no
8650       ;;
8651
8652     *nto* | *qnx*)
8653       ;;
8654
8655     openbsd*)
8656       if test -f /usr/libexec/ld.so; then
8657         hardcode_direct=yes
8658         hardcode_shlibpath_var=no
8659         hardcode_direct_absolute=yes
8660         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8661           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8662           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8663           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8664           export_dynamic_flag_spec='${wl}-E'
8665         else
8666           case $host_os in
8667            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8668              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8669              hardcode_libdir_flag_spec='-R$libdir'
8670              ;;
8671            *)
8672              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8673              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8674              ;;
8675           esac
8676         fi
8677       else
8678         ld_shlibs=no
8679       fi
8680       ;;
8681
8682     os2*)
8683       hardcode_libdir_flag_spec='-L$libdir'
8684       hardcode_minus_L=yes
8685       allow_undefined_flag=unsupported
8686       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'
8687       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8688       ;;
8689
8690     osf3*)
8691       if test "$GCC" = yes; then
8692         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8693         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'
8694       else
8695         allow_undefined_flag=' -expect_unresolved \*'
8696         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'
8697       fi
8698       archive_cmds_need_lc='no'
8699       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8700       hardcode_libdir_separator=:
8701       ;;
8702
8703     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8704       if test "$GCC" = yes; then
8705         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8706         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'
8707         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8708       else
8709         allow_undefined_flag=' -expect_unresolved \*'
8710         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'
8711         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~
8712         $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'
8713
8714         # Both c and cxx compiler support -rpath directly
8715         hardcode_libdir_flag_spec='-rpath $libdir'
8716       fi
8717       archive_cmds_need_lc='no'
8718       hardcode_libdir_separator=:
8719       ;;
8720
8721     solaris*)
8722       no_undefined_flag=' -z defs'
8723       if test "$GCC" = yes; then
8724         wlarc='${wl}'
8725         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8726         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8727           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8728       else
8729         case `$CC -V 2>&1` in
8730         *"Compilers 5.0"*)
8731           wlarc=''
8732           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8733           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8734           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8735           ;;
8736         *)
8737           wlarc='${wl}'
8738           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8739           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8740           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8741           ;;
8742         esac
8743       fi
8744       hardcode_libdir_flag_spec='-R$libdir'
8745       hardcode_shlibpath_var=no
8746       case $host_os in
8747       solaris2.[0-5] | solaris2.[0-5].*) ;;
8748       *)
8749         # The compiler driver will combine and reorder linker options,
8750         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8751         # but is careful enough not to reorder.
8752         # Supported since Solaris 2.6 (maybe 2.5.1?)
8753         if test "$GCC" = yes; then
8754           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8755         else
8756           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8757         fi
8758         ;;
8759       esac
8760       link_all_deplibs=yes
8761       ;;
8762
8763     sunos4*)
8764       if test "x$host_vendor" = xsequent; then
8765         # Use $CC to link under sequent, because it throws in some extra .o
8766         # files that make .init and .fini sections work.
8767         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8768       else
8769         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8770       fi
8771       hardcode_libdir_flag_spec='-L$libdir'
8772       hardcode_direct=yes
8773       hardcode_minus_L=yes
8774       hardcode_shlibpath_var=no
8775       ;;
8776
8777     sysv4)
8778       case $host_vendor in
8779         sni)
8780           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8781           hardcode_direct=yes # is this really true???
8782         ;;
8783         siemens)
8784           ## LD is ld it makes a PLAMLIB
8785           ## CC just makes a GrossModule.
8786           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8787           reload_cmds='$CC -r -o $output$reload_objs'
8788           hardcode_direct=no
8789         ;;
8790         motorola)
8791           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8792           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8793         ;;
8794       esac
8795       runpath_var='LD_RUN_PATH'
8796       hardcode_shlibpath_var=no
8797       ;;
8798
8799     sysv4.3*)
8800       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8801       hardcode_shlibpath_var=no
8802       export_dynamic_flag_spec='-Bexport'
8803       ;;
8804
8805     sysv4*MP*)
8806       if test -d /usr/nec; then
8807         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8808         hardcode_shlibpath_var=no
8809         runpath_var=LD_RUN_PATH
8810         hardcode_runpath_var=yes
8811         ld_shlibs=yes
8812       fi
8813       ;;
8814
8815     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8816       no_undefined_flag='${wl}-z,text'
8817       archive_cmds_need_lc=no
8818       hardcode_shlibpath_var=no
8819       runpath_var='LD_RUN_PATH'
8820
8821       if test "$GCC" = yes; then
8822         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8823         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8824       else
8825         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8826         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8827       fi
8828       ;;
8829
8830     sysv5* | sco3.2v5* | sco5v6*)
8831       # Note: We can NOT use -z defs as we might desire, because we do not
8832       # link with -lc, and that would cause any symbols used from libc to
8833       # always be unresolved, which means just about no library would
8834       # ever link correctly.  If we're not using GNU ld we use -z text
8835       # though, which does catch some bad symbols but isn't as heavy-handed
8836       # as -z defs.
8837       no_undefined_flag='${wl}-z,text'
8838       allow_undefined_flag='${wl}-z,nodefs'
8839       archive_cmds_need_lc=no
8840       hardcode_shlibpath_var=no
8841       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8842       hardcode_libdir_separator=':'
8843       link_all_deplibs=yes
8844       export_dynamic_flag_spec='${wl}-Bexport'
8845       runpath_var='LD_RUN_PATH'
8846
8847       if test "$GCC" = yes; then
8848         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8849         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8850       else
8851         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8852         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8853       fi
8854       ;;
8855
8856     uts4*)
8857       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8858       hardcode_libdir_flag_spec='-L$libdir'
8859       hardcode_shlibpath_var=no
8860       ;;
8861
8862     *)
8863       ld_shlibs=no
8864       ;;
8865     esac
8866
8867     if test x$host_vendor = xsni; then
8868       case $host in
8869       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8870         export_dynamic_flag_spec='${wl}-Blargedynsym'
8871         ;;
8872       esac
8873     fi
8874   fi
8875
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
8877 $as_echo "$ld_shlibs" >&6; }
8878 test "$ld_shlibs" = no && can_build_shared=no
8879
8880 with_gnu_ld=$with_gnu_ld
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896 #
8897 # Do we need to explicitly link libc?
8898 #
8899 case "x$archive_cmds_need_lc" in
8900 x|xyes)
8901   # Assume -lc should be added
8902   archive_cmds_need_lc=yes
8903
8904   if test "$enable_shared" = yes && test "$GCC" = yes; then
8905     case $archive_cmds in
8906     *'~'*)
8907       # FIXME: we may have to deal with multi-command sequences.
8908       ;;
8909     '$CC '*)
8910       # Test whether the compiler implicitly links with -lc since on some
8911       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8912       # to ld, don't add -lc before -lgcc.
8913       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
8914 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
8915 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
8916   $as_echo_n "(cached) " >&6
8917 else
8918   $RM conftest*
8919         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8920
8921         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8922   (eval $ac_compile) 2>&5
8923   ac_status=$?
8924   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8925   test $ac_status = 0; } 2>conftest.err; then
8926           soname=conftest
8927           lib=conftest
8928           libobjs=conftest.$ac_objext
8929           deplibs=
8930           wl=$lt_prog_compiler_wl
8931           pic_flag=$lt_prog_compiler_pic
8932           compiler_flags=-v
8933           linker_flags=-v
8934           verstring=
8935           output_objdir=.
8936           libname=conftest
8937           lt_save_allow_undefined_flag=$allow_undefined_flag
8938           allow_undefined_flag=
8939           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
8940   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8941   ac_status=$?
8942   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8943   test $ac_status = 0; }
8944           then
8945             lt_cv_archive_cmds_need_lc=no
8946           else
8947             lt_cv_archive_cmds_need_lc=yes
8948           fi
8949           allow_undefined_flag=$lt_save_allow_undefined_flag
8950         else
8951           cat conftest.err 1>&5
8952         fi
8953         $RM conftest*
8954
8955 fi
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
8957 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
8958       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
8959       ;;
8960     esac
8961   fi
8962   ;;
8963 esac
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9122 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9123
9124 if test "$GCC" = yes; then
9125   case $host_os in
9126     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9127     *) lt_awk_arg="/^libraries:/" ;;
9128   esac
9129   case $host_os in
9130     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9131     *) lt_sed_strip_eq="s,=/,/,g" ;;
9132   esac
9133   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9134   case $lt_search_path_spec in
9135   *\;*)
9136     # if the path contains ";" then we assume it to be the separator
9137     # otherwise default to the standard path separator (i.e. ":") - it is
9138     # assumed that no part of a normal pathname contains ";" but that should
9139     # okay in the real world where ";" in dirpaths is itself problematic.
9140     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9141     ;;
9142   *)
9143     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9144     ;;
9145   esac
9146   # Ok, now we have the path, separated by spaces, we can step through it
9147   # and add multilib dir if necessary.
9148   lt_tmp_lt_search_path_spec=
9149   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9150   for lt_sys_path in $lt_search_path_spec; do
9151     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9152       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9153     else
9154       test -d "$lt_sys_path" && \
9155         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9156     fi
9157   done
9158   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9159 BEGIN {RS=" "; FS="/|\n";} {
9160   lt_foo="";
9161   lt_count=0;
9162   for (lt_i = NF; lt_i > 0; lt_i--) {
9163     if ($lt_i != "" && $lt_i != ".") {
9164       if ($lt_i == "..") {
9165         lt_count++;
9166       } else {
9167         if (lt_count == 0) {
9168           lt_foo="/" $lt_i lt_foo;
9169         } else {
9170           lt_count--;
9171         }
9172       }
9173     }
9174   }
9175   if (lt_foo != "") { lt_freq[lt_foo]++; }
9176   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9177 }'`
9178   # AWK program above erroneously prepends '/' to C:/dos/paths
9179   # for these hosts.
9180   case $host_os in
9181     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9182       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9183   esac
9184   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9185 else
9186   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9187 fi
9188 library_names_spec=
9189 libname_spec='lib$name'
9190 soname_spec=
9191 shrext_cmds=".so"
9192 postinstall_cmds=
9193 postuninstall_cmds=
9194 finish_cmds=
9195 finish_eval=
9196 shlibpath_var=
9197 shlibpath_overrides_runpath=unknown
9198 version_type=none
9199 dynamic_linker="$host_os ld.so"
9200 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9201 need_lib_prefix=unknown
9202 hardcode_into_libs=no
9203
9204 # when you set need_version to no, make sure it does not cause -set_version
9205 # flags to be left without arguments
9206 need_version=unknown
9207
9208 case $host_os in
9209 aix3*)
9210   version_type=linux
9211   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9212   shlibpath_var=LIBPATH
9213
9214   # AIX 3 has no versioning support, so we append a major version to the name.
9215   soname_spec='${libname}${release}${shared_ext}$major'
9216   ;;
9217
9218 aix[4-9]*)
9219   version_type=linux
9220   need_lib_prefix=no
9221   need_version=no
9222   hardcode_into_libs=yes
9223   if test "$host_cpu" = ia64; then
9224     # AIX 5 supports IA64
9225     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9226     shlibpath_var=LD_LIBRARY_PATH
9227   else
9228     # With GCC up to 2.95.x, collect2 would create an import file
9229     # for dependence libraries.  The import file would start with
9230     # the line `#! .'.  This would cause the generated library to
9231     # depend on `.', always an invalid library.  This was fixed in
9232     # development snapshots of GCC prior to 3.0.
9233     case $host_os in
9234       aix4 | aix4.[01] | aix4.[01].*)
9235       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9236            echo ' yes '
9237            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9238         :
9239       else
9240         can_build_shared=no
9241       fi
9242       ;;
9243     esac
9244     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9245     # soname into executable. Probably we can add versioning support to
9246     # collect2, so additional links can be useful in future.
9247     if test "$aix_use_runtimelinking" = yes; then
9248       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9249       # instead of lib<name>.a to let people know that these are not
9250       # typical AIX shared libraries.
9251       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9252     else
9253       # We preserve .a as extension for shared libraries through AIX4.2
9254       # and later when we are not doing run time linking.
9255       library_names_spec='${libname}${release}.a $libname.a'
9256       soname_spec='${libname}${release}${shared_ext}$major'
9257     fi
9258     shlibpath_var=LIBPATH
9259   fi
9260   ;;
9261
9262 amigaos*)
9263   case $host_cpu in
9264   powerpc)
9265     # Since July 2007 AmigaOS4 officially supports .so libraries.
9266     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9267     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9268     ;;
9269   m68k)
9270     library_names_spec='$libname.ixlibrary $libname.a'
9271     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9272     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'
9273     ;;
9274   esac
9275   ;;
9276
9277 beos*)
9278   library_names_spec='${libname}${shared_ext}'
9279   dynamic_linker="$host_os ld.so"
9280   shlibpath_var=LIBRARY_PATH
9281   ;;
9282
9283 bsdi[45]*)
9284   version_type=linux
9285   need_version=no
9286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9287   soname_spec='${libname}${release}${shared_ext}$major'
9288   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9289   shlibpath_var=LD_LIBRARY_PATH
9290   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9291   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9292   # the default ld.so.conf also contains /usr/contrib/lib and
9293   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9294   # libtool to hard-code these into programs
9295   ;;
9296
9297 cygwin* | mingw* | pw32* | cegcc*)
9298   version_type=windows
9299   shrext_cmds=".dll"
9300   need_version=no
9301   need_lib_prefix=no
9302
9303   case $GCC,$host_os in
9304   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9305     library_names_spec='$libname.dll.a'
9306     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9307     postinstall_cmds='base_file=`basename \${file}`~
9308       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9309       dldir=$destdir/`dirname \$dlpath`~
9310       test -d \$dldir || mkdir -p \$dldir~
9311       $install_prog $dir/$dlname \$dldir/$dlname~
9312       chmod a+x \$dldir/$dlname~
9313       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9314         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9315       fi'
9316     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9317       dlpath=$dir/\$dldll~
9318        $RM \$dlpath'
9319     shlibpath_overrides_runpath=yes
9320
9321     case $host_os in
9322     cygwin*)
9323       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9324       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9325
9326       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9327       ;;
9328     mingw* | cegcc*)
9329       # MinGW DLLs use traditional 'lib' prefix
9330       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9331       ;;
9332     pw32*)
9333       # pw32 DLLs use 'pw' prefix rather than 'lib'
9334       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9335       ;;
9336     esac
9337     ;;
9338
9339   *)
9340     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9341     ;;
9342   esac
9343   dynamic_linker='Win32 ld.exe'
9344   # FIXME: first we should search . and the directory the executable is in
9345   shlibpath_var=PATH
9346   ;;
9347
9348 darwin* | rhapsody*)
9349   dynamic_linker="$host_os dyld"
9350   version_type=darwin
9351   need_lib_prefix=no
9352   need_version=no
9353   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9354   soname_spec='${libname}${release}${major}$shared_ext'
9355   shlibpath_overrides_runpath=yes
9356   shlibpath_var=DYLD_LIBRARY_PATH
9357   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9358
9359   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9360   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9361   ;;
9362
9363 dgux*)
9364   version_type=linux
9365   need_lib_prefix=no
9366   need_version=no
9367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9368   soname_spec='${libname}${release}${shared_ext}$major'
9369   shlibpath_var=LD_LIBRARY_PATH
9370   ;;
9371
9372 freebsd1*)
9373   dynamic_linker=no
9374   ;;
9375
9376 freebsd* | dragonfly*)
9377   # DragonFly does not have aout.  When/if they implement a new
9378   # versioning mechanism, adjust this.
9379   if test -x /usr/bin/objformat; then
9380     objformat=`/usr/bin/objformat`
9381   else
9382     case $host_os in
9383     freebsd[123]*) objformat=aout ;;
9384     *) objformat=elf ;;
9385     esac
9386   fi
9387   version_type=freebsd-$objformat
9388   case $version_type in
9389     freebsd-elf*)
9390       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9391       need_version=no
9392       need_lib_prefix=no
9393       ;;
9394     freebsd-*)
9395       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9396       need_version=yes
9397       ;;
9398   esac
9399   shlibpath_var=LD_LIBRARY_PATH
9400   case $host_os in
9401   freebsd2*)
9402     shlibpath_overrides_runpath=yes
9403     ;;
9404   freebsd3.[01]* | freebsdelf3.[01]*)
9405     shlibpath_overrides_runpath=yes
9406     hardcode_into_libs=yes
9407     ;;
9408   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9409   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9410     shlibpath_overrides_runpath=no
9411     hardcode_into_libs=yes
9412     ;;
9413   *) # from 4.6 on, and DragonFly
9414     shlibpath_overrides_runpath=yes
9415     hardcode_into_libs=yes
9416     ;;
9417   esac
9418   ;;
9419
9420 gnu*)
9421   version_type=linux
9422   need_lib_prefix=no
9423   need_version=no
9424   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9425   soname_spec='${libname}${release}${shared_ext}$major'
9426   shlibpath_var=LD_LIBRARY_PATH
9427   hardcode_into_libs=yes
9428   ;;
9429
9430 haiku*)
9431   version_type=linux
9432   need_lib_prefix=no
9433   need_version=no
9434   dynamic_linker="$host_os runtime_loader"
9435   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9436   soname_spec='${libname}${release}${shared_ext}$major'
9437   shlibpath_var=LIBRARY_PATH
9438   shlibpath_overrides_runpath=yes
9439   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
9440   hardcode_into_libs=yes
9441   ;;
9442
9443 hpux9* | hpux10* | hpux11*)
9444   # Give a soname corresponding to the major version so that dld.sl refuses to
9445   # link against other versions.
9446   version_type=sunos
9447   need_lib_prefix=no
9448   need_version=no
9449   case $host_cpu in
9450   ia64*)
9451     shrext_cmds='.so'
9452     hardcode_into_libs=yes
9453     dynamic_linker="$host_os dld.so"
9454     shlibpath_var=LD_LIBRARY_PATH
9455     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9456     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9457     soname_spec='${libname}${release}${shared_ext}$major'
9458     if test "X$HPUX_IA64_MODE" = X32; then
9459       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9460     else
9461       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9462     fi
9463     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9464     ;;
9465   hppa*64*)
9466     shrext_cmds='.sl'
9467     hardcode_into_libs=yes
9468     dynamic_linker="$host_os dld.sl"
9469     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9470     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9471     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9472     soname_spec='${libname}${release}${shared_ext}$major'
9473     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9474     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9475     ;;
9476   *)
9477     shrext_cmds='.sl'
9478     dynamic_linker="$host_os dld.sl"
9479     shlibpath_var=SHLIB_PATH
9480     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9481     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9482     soname_spec='${libname}${release}${shared_ext}$major'
9483     ;;
9484   esac
9485   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
9486   postinstall_cmds='chmod 555 $lib'
9487   # or fails outright, so override atomically:
9488   install_override_mode=555
9489   ;;
9490
9491 interix[3-9]*)
9492   version_type=linux
9493   need_lib_prefix=no
9494   need_version=no
9495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9496   soname_spec='${libname}${release}${shared_ext}$major'
9497   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9498   shlibpath_var=LD_LIBRARY_PATH
9499   shlibpath_overrides_runpath=no
9500   hardcode_into_libs=yes
9501   ;;
9502
9503 irix5* | irix6* | nonstopux*)
9504   case $host_os in
9505     nonstopux*) version_type=nonstopux ;;
9506     *)
9507         if test "$lt_cv_prog_gnu_ld" = yes; then
9508                 version_type=linux
9509         else
9510                 version_type=irix
9511         fi ;;
9512   esac
9513   need_lib_prefix=no
9514   need_version=no
9515   soname_spec='${libname}${release}${shared_ext}$major'
9516   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9517   case $host_os in
9518   irix5* | nonstopux*)
9519     libsuff= shlibsuff=
9520     ;;
9521   *)
9522     case $LD in # libtool.m4 will add one of these switches to LD
9523     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9524       libsuff= shlibsuff= libmagic=32-bit;;
9525     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9526       libsuff=32 shlibsuff=N32 libmagic=N32;;
9527     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9528       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9529     *) libsuff= shlibsuff= libmagic=never-match;;
9530     esac
9531     ;;
9532   esac
9533   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9534   shlibpath_overrides_runpath=no
9535   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9536   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9537   hardcode_into_libs=yes
9538   ;;
9539
9540 # No shared lib support for Linux oldld, aout, or coff.
9541 linux*oldld* | linux*aout* | linux*coff*)
9542   dynamic_linker=no
9543   ;;
9544
9545 # This must be Linux ELF.
9546 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9547   version_type=linux
9548   need_lib_prefix=no
9549   need_version=no
9550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9551   soname_spec='${libname}${release}${shared_ext}$major'
9552   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9553   shlibpath_var=LD_LIBRARY_PATH
9554   shlibpath_overrides_runpath=no
9555
9556   # Some binutils ld are patched to set DT_RUNPATH
9557   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
9558   $as_echo_n "(cached) " >&6
9559 else
9560   lt_cv_shlibpath_overrides_runpath=no
9561     save_LDFLAGS=$LDFLAGS
9562     save_libdir=$libdir
9563     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9564          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9565     if test x$gcc_no_link = xyes; then
9566   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9567 fi
9568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9569 /* end confdefs.h.  */
9570
9571 int
9572 main ()
9573 {
9574
9575   ;
9576   return 0;
9577 }
9578 _ACEOF
9579 if ac_fn_c_try_link "$LINENO"; then :
9580   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9581   lt_cv_shlibpath_overrides_runpath=yes
9582 fi
9583 fi
9584 rm -f core conftest.err conftest.$ac_objext \
9585     conftest$ac_exeext conftest.$ac_ext
9586     LDFLAGS=$save_LDFLAGS
9587     libdir=$save_libdir
9588
9589 fi
9590
9591   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9592
9593   # This implies no fast_install, which is unacceptable.
9594   # Some rework will be needed to allow for fast_install
9595   # before this can be enabled.
9596   hardcode_into_libs=yes
9597
9598   # Append ld.so.conf contents to the search path
9599   if test -f /etc/ld.so.conf; then
9600     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' ' '`
9601     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9602   fi
9603
9604   # We used to test for /lib/ld.so.1 and disable shared libraries on
9605   # powerpc, because MkLinux only supported shared libraries with the
9606   # GNU dynamic linker.  Since this was broken with cross compilers,
9607   # most powerpc-linux boxes support dynamic linking these days and
9608   # people can always --disable-shared, the test was removed, and we
9609   # assume the GNU/Linux dynamic linker is in use.
9610   dynamic_linker='GNU/Linux ld.so'
9611   ;;
9612
9613 netbsd*)
9614   version_type=sunos
9615   need_lib_prefix=no
9616   need_version=no
9617   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9618     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9619     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9620     dynamic_linker='NetBSD (a.out) ld.so'
9621   else
9622     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9623     soname_spec='${libname}${release}${shared_ext}$major'
9624     dynamic_linker='NetBSD ld.elf_so'
9625   fi
9626   shlibpath_var=LD_LIBRARY_PATH
9627   shlibpath_overrides_runpath=yes
9628   hardcode_into_libs=yes
9629   ;;
9630
9631 newsos6)
9632   version_type=linux
9633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9634   shlibpath_var=LD_LIBRARY_PATH
9635   shlibpath_overrides_runpath=yes
9636   ;;
9637
9638 *nto* | *qnx*)
9639   version_type=qnx
9640   need_lib_prefix=no
9641   need_version=no
9642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9643   soname_spec='${libname}${release}${shared_ext}$major'
9644   shlibpath_var=LD_LIBRARY_PATH
9645   shlibpath_overrides_runpath=no
9646   hardcode_into_libs=yes
9647   dynamic_linker='ldqnx.so'
9648   ;;
9649
9650 openbsd*)
9651   version_type=sunos
9652   sys_lib_dlsearch_path_spec="/usr/lib"
9653   need_lib_prefix=no
9654   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9655   case $host_os in
9656     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9657     *)                          need_version=no  ;;
9658   esac
9659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9660   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9661   shlibpath_var=LD_LIBRARY_PATH
9662   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9663     case $host_os in
9664       openbsd2.[89] | openbsd2.[89].*)
9665         shlibpath_overrides_runpath=no
9666         ;;
9667       *)
9668         shlibpath_overrides_runpath=yes
9669         ;;
9670       esac
9671   else
9672     shlibpath_overrides_runpath=yes
9673   fi
9674   ;;
9675
9676 os2*)
9677   libname_spec='$name'
9678   shrext_cmds=".dll"
9679   need_lib_prefix=no
9680   library_names_spec='$libname${shared_ext} $libname.a'
9681   dynamic_linker='OS/2 ld.exe'
9682   shlibpath_var=LIBPATH
9683   ;;
9684
9685 osf3* | osf4* | osf5*)
9686   version_type=osf
9687   need_lib_prefix=no
9688   need_version=no
9689   soname_spec='${libname}${release}${shared_ext}$major'
9690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9691   shlibpath_var=LD_LIBRARY_PATH
9692   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9693   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9694   ;;
9695
9696 rdos*)
9697   dynamic_linker=no
9698   ;;
9699
9700 solaris*)
9701   version_type=linux
9702   need_lib_prefix=no
9703   need_version=no
9704   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9705   soname_spec='${libname}${release}${shared_ext}$major'
9706   shlibpath_var=LD_LIBRARY_PATH
9707   shlibpath_overrides_runpath=yes
9708   hardcode_into_libs=yes
9709   # ldd complains unless libraries are executable
9710   postinstall_cmds='chmod +x $lib'
9711   ;;
9712
9713 sunos4*)
9714   version_type=sunos
9715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9716   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9717   shlibpath_var=LD_LIBRARY_PATH
9718   shlibpath_overrides_runpath=yes
9719   if test "$with_gnu_ld" = yes; then
9720     need_lib_prefix=no
9721   fi
9722   need_version=yes
9723   ;;
9724
9725 sysv4 | sysv4.3*)
9726   version_type=linux
9727   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9728   soname_spec='${libname}${release}${shared_ext}$major'
9729   shlibpath_var=LD_LIBRARY_PATH
9730   case $host_vendor in
9731     sni)
9732       shlibpath_overrides_runpath=no
9733       need_lib_prefix=no
9734       runpath_var=LD_RUN_PATH
9735       ;;
9736     siemens)
9737       need_lib_prefix=no
9738       ;;
9739     motorola)
9740       need_lib_prefix=no
9741       need_version=no
9742       shlibpath_overrides_runpath=no
9743       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9744       ;;
9745   esac
9746   ;;
9747
9748 sysv4*MP*)
9749   if test -d /usr/nec ;then
9750     version_type=linux
9751     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9752     soname_spec='$libname${shared_ext}.$major'
9753     shlibpath_var=LD_LIBRARY_PATH
9754   fi
9755   ;;
9756
9757 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9758   version_type=freebsd-elf
9759   need_lib_prefix=no
9760   need_version=no
9761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9762   soname_spec='${libname}${release}${shared_ext}$major'
9763   shlibpath_var=LD_LIBRARY_PATH
9764   shlibpath_overrides_runpath=yes
9765   hardcode_into_libs=yes
9766   if test "$with_gnu_ld" = yes; then
9767     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9768   else
9769     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9770     case $host_os in
9771       sco3.2v5*)
9772         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9773         ;;
9774     esac
9775   fi
9776   sys_lib_dlsearch_path_spec='/usr/lib'
9777   ;;
9778
9779 tpf*)
9780   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9781   version_type=linux
9782   need_lib_prefix=no
9783   need_version=no
9784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9785   shlibpath_var=LD_LIBRARY_PATH
9786   shlibpath_overrides_runpath=no
9787   hardcode_into_libs=yes
9788   ;;
9789
9790 uts4*)
9791   version_type=linux
9792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9793   soname_spec='${libname}${release}${shared_ext}$major'
9794   shlibpath_var=LD_LIBRARY_PATH
9795   ;;
9796
9797 *)
9798   dynamic_linker=no
9799   ;;
9800 esac
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
9802 $as_echo "$dynamic_linker" >&6; }
9803 test "$dynamic_linker" = no && can_build_shared=no
9804
9805 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9806 if test "$GCC" = yes; then
9807   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9808 fi
9809
9810 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9811   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9812 fi
9813 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9814   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9815 fi
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
9909 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9910 hardcode_action=
9911 if test -n "$hardcode_libdir_flag_spec" ||
9912    test -n "$runpath_var" ||
9913    test "X$hardcode_automatic" = "Xyes" ; then
9914
9915   # We can hardcode non-existent directories.
9916   if test "$hardcode_direct" != no &&
9917      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9918      # have to relink, otherwise we might link with an installed library
9919      # when we should be linking with a yet-to-be-installed one
9920      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9921      test "$hardcode_minus_L" != no; then
9922     # Linking always hardcodes the temporary library directory.
9923     hardcode_action=relink
9924   else
9925     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9926     hardcode_action=immediate
9927   fi
9928 else
9929   # We cannot hardcode anything, or else we can only hardcode existing
9930   # directories.
9931   hardcode_action=unsupported
9932 fi
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
9934 $as_echo "$hardcode_action" >&6; }
9935
9936 if test "$hardcode_action" = relink ||
9937    test "$inherit_rpath" = yes; then
9938   # Fast installation is not supported
9939   enable_fast_install=no
9940 elif test "$shlibpath_overrides_runpath" = yes ||
9941      test "$enable_shared" = no; then
9942   # Fast installation is not necessary
9943   enable_fast_install=needless
9944 fi
9945
9946
9947
9948
9949
9950
9951   if test "x$enable_dlopen" != xyes; then
9952   enable_dlopen=unknown
9953   enable_dlopen_self=unknown
9954   enable_dlopen_self_static=unknown
9955 else
9956   lt_cv_dlopen=no
9957   lt_cv_dlopen_libs=
9958
9959   case $host_os in
9960   beos*)
9961     lt_cv_dlopen="load_add_on"
9962     lt_cv_dlopen_libs=
9963     lt_cv_dlopen_self=yes
9964     ;;
9965
9966   mingw* | pw32* | cegcc*)
9967     lt_cv_dlopen="LoadLibrary"
9968     lt_cv_dlopen_libs=
9969     ;;
9970
9971   cygwin*)
9972     lt_cv_dlopen="dlopen"
9973     lt_cv_dlopen_libs=
9974     ;;
9975
9976   darwin*)
9977   # if libdl is installed we need to link against it
9978     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9979 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9980 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9981   $as_echo_n "(cached) " >&6
9982 else
9983   ac_check_lib_save_LIBS=$LIBS
9984 LIBS="-ldl  $LIBS"
9985 if test x$gcc_no_link = xyes; then
9986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9987 fi
9988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9989 /* end confdefs.h.  */
9990
9991 /* Override any GCC internal prototype to avoid an error.
9992    Use char because int might match the return type of a GCC
9993    builtin and then its argument prototype would still apply.  */
9994 #ifdef __cplusplus
9995 extern "C"
9996 #endif
9997 char dlopen ();
9998 int
9999 main ()
10000 {
10001 return dlopen ();
10002   ;
10003   return 0;
10004 }
10005 _ACEOF
10006 if ac_fn_c_try_link "$LINENO"; then :
10007   ac_cv_lib_dl_dlopen=yes
10008 else
10009   ac_cv_lib_dl_dlopen=no
10010 fi
10011 rm -f core conftest.err conftest.$ac_objext \
10012     conftest$ac_exeext conftest.$ac_ext
10013 LIBS=$ac_check_lib_save_LIBS
10014 fi
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10016 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10017 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10018   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10019 else
10020
10021     lt_cv_dlopen="dyld"
10022     lt_cv_dlopen_libs=
10023     lt_cv_dlopen_self=yes
10024
10025 fi
10026
10027     ;;
10028
10029   *)
10030     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10031 if test "x$ac_cv_func_shl_load" = x""yes; then :
10032   lt_cv_dlopen="shl_load"
10033 else
10034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10035 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10036 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10037   $as_echo_n "(cached) " >&6
10038 else
10039   ac_check_lib_save_LIBS=$LIBS
10040 LIBS="-ldld  $LIBS"
10041 if test x$gcc_no_link = xyes; then
10042   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10043 fi
10044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10045 /* end confdefs.h.  */
10046
10047 /* Override any GCC internal prototype to avoid an error.
10048    Use char because int might match the return type of a GCC
10049    builtin and then its argument prototype would still apply.  */
10050 #ifdef __cplusplus
10051 extern "C"
10052 #endif
10053 char shl_load ();
10054 int
10055 main ()
10056 {
10057 return shl_load ();
10058   ;
10059   return 0;
10060 }
10061 _ACEOF
10062 if ac_fn_c_try_link "$LINENO"; then :
10063   ac_cv_lib_dld_shl_load=yes
10064 else
10065   ac_cv_lib_dld_shl_load=no
10066 fi
10067 rm -f core conftest.err conftest.$ac_objext \
10068     conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_lib_save_LIBS
10070 fi
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10072 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10073 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10074   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10075 else
10076   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10077 if test "x$ac_cv_func_dlopen" = x""yes; then :
10078   lt_cv_dlopen="dlopen"
10079 else
10080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10081 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10082 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10083   $as_echo_n "(cached) " >&6
10084 else
10085   ac_check_lib_save_LIBS=$LIBS
10086 LIBS="-ldl  $LIBS"
10087 if test x$gcc_no_link = xyes; then
10088   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10089 fi
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h.  */
10092
10093 /* Override any GCC internal prototype to avoid an error.
10094    Use char because int might match the return type of a GCC
10095    builtin and then its argument prototype would still apply.  */
10096 #ifdef __cplusplus
10097 extern "C"
10098 #endif
10099 char dlopen ();
10100 int
10101 main ()
10102 {
10103 return dlopen ();
10104   ;
10105   return 0;
10106 }
10107 _ACEOF
10108 if ac_fn_c_try_link "$LINENO"; then :
10109   ac_cv_lib_dl_dlopen=yes
10110 else
10111   ac_cv_lib_dl_dlopen=no
10112 fi
10113 rm -f core conftest.err conftest.$ac_objext \
10114     conftest$ac_exeext conftest.$ac_ext
10115 LIBS=$ac_check_lib_save_LIBS
10116 fi
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10118 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10119 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10120   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10121 else
10122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10123 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10124 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10125   $as_echo_n "(cached) " >&6
10126 else
10127   ac_check_lib_save_LIBS=$LIBS
10128 LIBS="-lsvld  $LIBS"
10129 if test x$gcc_no_link = xyes; then
10130   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10131 fi
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h.  */
10134
10135 /* Override any GCC internal prototype to avoid an error.
10136    Use char because int might match the return type of a GCC
10137    builtin and then its argument prototype would still apply.  */
10138 #ifdef __cplusplus
10139 extern "C"
10140 #endif
10141 char dlopen ();
10142 int
10143 main ()
10144 {
10145 return dlopen ();
10146   ;
10147   return 0;
10148 }
10149 _ACEOF
10150 if ac_fn_c_try_link "$LINENO"; then :
10151   ac_cv_lib_svld_dlopen=yes
10152 else
10153   ac_cv_lib_svld_dlopen=no
10154 fi
10155 rm -f core conftest.err conftest.$ac_objext \
10156     conftest$ac_exeext conftest.$ac_ext
10157 LIBS=$ac_check_lib_save_LIBS
10158 fi
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10160 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10161 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10162   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10163 else
10164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10165 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10166 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10167   $as_echo_n "(cached) " >&6
10168 else
10169   ac_check_lib_save_LIBS=$LIBS
10170 LIBS="-ldld  $LIBS"
10171 if test x$gcc_no_link = xyes; then
10172   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10173 fi
10174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10175 /* end confdefs.h.  */
10176
10177 /* Override any GCC internal prototype to avoid an error.
10178    Use char because int might match the return type of a GCC
10179    builtin and then its argument prototype would still apply.  */
10180 #ifdef __cplusplus
10181 extern "C"
10182 #endif
10183 char dld_link ();
10184 int
10185 main ()
10186 {
10187 return dld_link ();
10188   ;
10189   return 0;
10190 }
10191 _ACEOF
10192 if ac_fn_c_try_link "$LINENO"; then :
10193   ac_cv_lib_dld_dld_link=yes
10194 else
10195   ac_cv_lib_dld_dld_link=no
10196 fi
10197 rm -f core conftest.err conftest.$ac_objext \
10198     conftest$ac_exeext conftest.$ac_ext
10199 LIBS=$ac_check_lib_save_LIBS
10200 fi
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10202 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10203 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10204   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10205 fi
10206
10207
10208 fi
10209
10210
10211 fi
10212
10213
10214 fi
10215
10216
10217 fi
10218
10219
10220 fi
10221
10222     ;;
10223   esac
10224
10225   if test "x$lt_cv_dlopen" != xno; then
10226     enable_dlopen=yes
10227   else
10228     enable_dlopen=no
10229   fi
10230
10231   case $lt_cv_dlopen in
10232   dlopen)
10233     save_CPPFLAGS="$CPPFLAGS"
10234     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10235
10236     save_LDFLAGS="$LDFLAGS"
10237     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10238
10239     save_LIBS="$LIBS"
10240     LIBS="$lt_cv_dlopen_libs $LIBS"
10241
10242     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10243 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10244 if test "${lt_cv_dlopen_self+set}" = set; then :
10245   $as_echo_n "(cached) " >&6
10246 else
10247           if test "$cross_compiling" = yes; then :
10248   lt_cv_dlopen_self=cross
10249 else
10250   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10251   lt_status=$lt_dlunknown
10252   cat > conftest.$ac_ext <<_LT_EOF
10253 #line 10253 "configure"
10254 #include "confdefs.h"
10255
10256 #if HAVE_DLFCN_H
10257 #include <dlfcn.h>
10258 #endif
10259
10260 #include <stdio.h>
10261
10262 #ifdef RTLD_GLOBAL
10263 #  define LT_DLGLOBAL           RTLD_GLOBAL
10264 #else
10265 #  ifdef DL_GLOBAL
10266 #    define LT_DLGLOBAL         DL_GLOBAL
10267 #  else
10268 #    define LT_DLGLOBAL         0
10269 #  endif
10270 #endif
10271
10272 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10273    find out it does not work in some platform. */
10274 #ifndef LT_DLLAZY_OR_NOW
10275 #  ifdef RTLD_LAZY
10276 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10277 #  else
10278 #    ifdef DL_LAZY
10279 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10280 #    else
10281 #      ifdef RTLD_NOW
10282 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10283 #      else
10284 #        ifdef DL_NOW
10285 #          define LT_DLLAZY_OR_NOW      DL_NOW
10286 #        else
10287 #          define LT_DLLAZY_OR_NOW      0
10288 #        endif
10289 #      endif
10290 #    endif
10291 #  endif
10292 #endif
10293
10294 /* When -fvisbility=hidden is used, assume the code has been annotated
10295    correspondingly for the symbols needed.  */
10296 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10297 void fnord () __attribute__((visibility("default")));
10298 #endif
10299
10300 void fnord () { int i=42; }
10301 int main ()
10302 {
10303   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10304   int status = $lt_dlunknown;
10305
10306   if (self)
10307     {
10308       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10309       else
10310         {
10311           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10312           else puts (dlerror ());
10313         }
10314       /* dlclose (self); */
10315     }
10316   else
10317     puts (dlerror ());
10318
10319   return status;
10320 }
10321 _LT_EOF
10322   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10323   (eval $ac_link) 2>&5
10324   ac_status=$?
10325   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10326   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10327     (./conftest; exit; ) >&5 2>/dev/null
10328     lt_status=$?
10329     case x$lt_status in
10330       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10331       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10332       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10333     esac
10334   else :
10335     # compilation failed
10336     lt_cv_dlopen_self=no
10337   fi
10338 fi
10339 rm -fr conftest*
10340
10341
10342 fi
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10344 $as_echo "$lt_cv_dlopen_self" >&6; }
10345
10346     if test "x$lt_cv_dlopen_self" = xyes; then
10347       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10348       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10349 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10350 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10351   $as_echo_n "(cached) " >&6
10352 else
10353           if test "$cross_compiling" = yes; then :
10354   lt_cv_dlopen_self_static=cross
10355 else
10356   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10357   lt_status=$lt_dlunknown
10358   cat > conftest.$ac_ext <<_LT_EOF
10359 #line 10359 "configure"
10360 #include "confdefs.h"
10361
10362 #if HAVE_DLFCN_H
10363 #include <dlfcn.h>
10364 #endif
10365
10366 #include <stdio.h>
10367
10368 #ifdef RTLD_GLOBAL
10369 #  define LT_DLGLOBAL           RTLD_GLOBAL
10370 #else
10371 #  ifdef DL_GLOBAL
10372 #    define LT_DLGLOBAL         DL_GLOBAL
10373 #  else
10374 #    define LT_DLGLOBAL         0
10375 #  endif
10376 #endif
10377
10378 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10379    find out it does not work in some platform. */
10380 #ifndef LT_DLLAZY_OR_NOW
10381 #  ifdef RTLD_LAZY
10382 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10383 #  else
10384 #    ifdef DL_LAZY
10385 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10386 #    else
10387 #      ifdef RTLD_NOW
10388 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10389 #      else
10390 #        ifdef DL_NOW
10391 #          define LT_DLLAZY_OR_NOW      DL_NOW
10392 #        else
10393 #          define LT_DLLAZY_OR_NOW      0
10394 #        endif
10395 #      endif
10396 #    endif
10397 #  endif
10398 #endif
10399
10400 /* When -fvisbility=hidden is used, assume the code has been annotated
10401    correspondingly for the symbols needed.  */
10402 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
10403 void fnord () __attribute__((visibility("default")));
10404 #endif
10405
10406 void fnord () { int i=42; }
10407 int main ()
10408 {
10409   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10410   int status = $lt_dlunknown;
10411
10412   if (self)
10413     {
10414       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10415       else
10416         {
10417           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
10418           else puts (dlerror ());
10419         }
10420       /* dlclose (self); */
10421     }
10422   else
10423     puts (dlerror ());
10424
10425   return status;
10426 }
10427 _LT_EOF
10428   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10429   (eval $ac_link) 2>&5
10430   ac_status=$?
10431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10432   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10433     (./conftest; exit; ) >&5 2>/dev/null
10434     lt_status=$?
10435     case x$lt_status in
10436       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10437       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10438       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10439     esac
10440   else :
10441     # compilation failed
10442     lt_cv_dlopen_self_static=no
10443   fi
10444 fi
10445 rm -fr conftest*
10446
10447
10448 fi
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10450 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10451     fi
10452
10453     CPPFLAGS="$save_CPPFLAGS"
10454     LDFLAGS="$save_LDFLAGS"
10455     LIBS="$save_LIBS"
10456     ;;
10457   esac
10458
10459   case $lt_cv_dlopen_self in
10460   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10461   *) enable_dlopen_self=unknown ;;
10462   esac
10463
10464   case $lt_cv_dlopen_self_static in
10465   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10466   *) enable_dlopen_self_static=unknown ;;
10467   esac
10468 fi
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486 striplib=
10487 old_striplib=
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10489 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10490 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10491   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10492   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10494 $as_echo "yes" >&6; }
10495 else
10496 # FIXME - insert some real tests, host_os isn't really good enough
10497   case $host_os in
10498   darwin*)
10499     if test -n "$STRIP" ; then
10500       striplib="$STRIP -x"
10501       old_striplib="$STRIP -S"
10502       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10503 $as_echo "yes" >&6; }
10504     else
10505       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10506 $as_echo "no" >&6; }
10507     fi
10508     ;;
10509   *)
10510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10511 $as_echo "no" >&6; }
10512     ;;
10513   esac
10514 fi
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527   # Report which library types will actually be built
10528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10529 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10531 $as_echo "$can_build_shared" >&6; }
10532
10533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10534 $as_echo_n "checking whether to build shared libraries... " >&6; }
10535   test "$can_build_shared" = "no" && enable_shared=no
10536
10537   # On AIX, shared libraries and static libraries use the same namespace, and
10538   # are all built from PIC.
10539   case $host_os in
10540   aix3*)
10541     test "$enable_shared" = yes && enable_static=no
10542     if test -n "$RANLIB"; then
10543       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10544       postinstall_cmds='$RANLIB $lib'
10545     fi
10546     ;;
10547
10548   aix[4-9]*)
10549     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10550       test "$enable_shared" = yes && enable_static=no
10551     fi
10552     ;;
10553   esac
10554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10555 $as_echo "$enable_shared" >&6; }
10556
10557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10558 $as_echo_n "checking whether to build static libraries... " >&6; }
10559   # Make sure either enable_shared or enable_static is yes.
10560   test "$enable_shared" = yes || enable_static=yes
10561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10562 $as_echo "$enable_static" >&6; }
10563
10564
10565
10566
10567 fi
10568 ac_ext=c
10569 ac_cpp='$CPP $CPPFLAGS'
10570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10573
10574 CC="$lt_save_CC"
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588         ac_config_commands="$ac_config_commands libtool"
10589
10590
10591
10592
10593 # Only expand once:
10594
10595
10596
10597
10598
10599 case $host in
10600   *-cygwin* | *-mingw*)
10601     # 'host' will be top-level target in the case of a target lib,
10602     # we must compare to with_cross_host to decide if this is a native
10603     # or cross-compiler and select where to install dlls appropriately.
10604     if test -n "$with_cross_host" &&
10605         test x"$with_cross_host" != x"no"; then
10606       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
10607     else
10608       lt_host_flags='-no-undefined -bindir "$(bindir)"';
10609     fi
10610     ;;
10611   *)
10612     lt_host_flags=
10613     ;;
10614 esac
10615
10616
10617
10618
10619
10620
10621
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
10623 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
10624     # Check whether --enable-maintainer-mode was given.
10625 if test "${enable_maintainer_mode+set}" = set; then :
10626   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
10627 else
10628   USE_MAINTAINER_MODE=no
10629 fi
10630
10631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
10632 $as_echo "$USE_MAINTAINER_MODE" >&6; }
10633    if test $USE_MAINTAINER_MODE = yes; then
10634   MAINTAINER_MODE_TRUE=
10635   MAINTAINER_MODE_FALSE='#'
10636 else
10637   MAINTAINER_MODE_TRUE='#'
10638   MAINTAINER_MODE_FALSE=
10639 fi
10640
10641   MAINT=$MAINTAINER_MODE_TRUE
10642
10643
10644 # Default to --enable-multilib
10645 # Check whether --enable-multilib was given.
10646 if test "${enable_multilib+set}" = set; then :
10647   enableval=$enable_multilib; case "$enableval" in
10648   yes) multilib=yes ;;
10649   no)  multilib=no ;;
10650   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
10651  esac
10652 else
10653   multilib=yes
10654 fi
10655
10656
10657 # We may get other options which we leave undocumented:
10658 # --with-target-subdir, --with-multisrctop, --with-multisubdir
10659 # See config-ml.in if you want the gory details.
10660
10661 if test "$srcdir" = "."; then
10662   if test "$with_target_subdir" != "."; then
10663     multi_basedir="$srcdir/$with_multisrctop../.."
10664   else
10665     multi_basedir="$srcdir/$with_multisrctop.."
10666   fi
10667 else
10668   multi_basedir="$srcdir/.."
10669 fi
10670
10671
10672 # Even if the default multilib is not a cross compilation,
10673 # it may be that some of the other multilibs are.
10674 if test $cross_compiling = no && test $multilib = yes \
10675    && test "x${with_multisubdir}" != x ; then
10676    cross_compiling=maybe
10677 fi
10678
10679 ac_config_commands="$ac_config_commands default-1"
10680
10681
10682 ac_ext=c
10683 ac_cpp='$CPP $CPPFLAGS'
10684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10687
10688 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
10689 # We must force CC to /not/ be precious variables; otherwise
10690 # the wrong, non-multilib-adjusted value will be used in multilibs.
10691 # As a side effect, we have to subst CFLAGS ourselves.
10692
10693
10694
10695 ac_ext=c
10696 ac_cpp='$CPP $CPPFLAGS'
10697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10700 if test -n "$ac_tool_prefix"; then
10701   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10702 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10704 $as_echo_n "checking for $ac_word... " >&6; }
10705 if test "${ac_cv_prog_CC+set}" = set; then :
10706   $as_echo_n "(cached) " >&6
10707 else
10708   if test -n "$CC"; then
10709   ac_cv_prog_CC="$CC" # Let the user override the test.
10710 else
10711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10712 for as_dir in $PATH
10713 do
10714   IFS=$as_save_IFS
10715   test -z "$as_dir" && as_dir=.
10716     for ac_exec_ext in '' $ac_executable_extensions; do
10717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10718     ac_cv_prog_CC="${ac_tool_prefix}gcc"
10719     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10720     break 2
10721   fi
10722 done
10723   done
10724 IFS=$as_save_IFS
10725
10726 fi
10727 fi
10728 CC=$ac_cv_prog_CC
10729 if test -n "$CC"; then
10730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10731 $as_echo "$CC" >&6; }
10732 else
10733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10734 $as_echo "no" >&6; }
10735 fi
10736
10737
10738 fi
10739 if test -z "$ac_cv_prog_CC"; then
10740   ac_ct_CC=$CC
10741   # Extract the first word of "gcc", so it can be a program name with args.
10742 set dummy gcc; ac_word=$2
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10744 $as_echo_n "checking for $ac_word... " >&6; }
10745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10746   $as_echo_n "(cached) " >&6
10747 else
10748   if test -n "$ac_ct_CC"; then
10749   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10750 else
10751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 for as_dir in $PATH
10753 do
10754   IFS=$as_save_IFS
10755   test -z "$as_dir" && as_dir=.
10756     for ac_exec_ext in '' $ac_executable_extensions; do
10757   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10758     ac_cv_prog_ac_ct_CC="gcc"
10759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10760     break 2
10761   fi
10762 done
10763   done
10764 IFS=$as_save_IFS
10765
10766 fi
10767 fi
10768 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10769 if test -n "$ac_ct_CC"; then
10770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10771 $as_echo "$ac_ct_CC" >&6; }
10772 else
10773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10774 $as_echo "no" >&6; }
10775 fi
10776
10777   if test "x$ac_ct_CC" = x; then
10778     CC=""
10779   else
10780     case $cross_compiling:$ac_tool_warned in
10781 yes:)
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10783 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10784 ac_tool_warned=yes ;;
10785 esac
10786     CC=$ac_ct_CC
10787   fi
10788 else
10789   CC="$ac_cv_prog_CC"
10790 fi
10791
10792 if test -z "$CC"; then
10793           if test -n "$ac_tool_prefix"; then
10794     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10795 set dummy ${ac_tool_prefix}cc; ac_word=$2
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10797 $as_echo_n "checking for $ac_word... " >&6; }
10798 if test "${ac_cv_prog_CC+set}" = set; then :
10799   $as_echo_n "(cached) " >&6
10800 else
10801   if test -n "$CC"; then
10802   ac_cv_prog_CC="$CC" # Let the user override the test.
10803 else
10804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10805 for as_dir in $PATH
10806 do
10807   IFS=$as_save_IFS
10808   test -z "$as_dir" && as_dir=.
10809     for ac_exec_ext in '' $ac_executable_extensions; do
10810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10811     ac_cv_prog_CC="${ac_tool_prefix}cc"
10812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10813     break 2
10814   fi
10815 done
10816   done
10817 IFS=$as_save_IFS
10818
10819 fi
10820 fi
10821 CC=$ac_cv_prog_CC
10822 if test -n "$CC"; then
10823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10824 $as_echo "$CC" >&6; }
10825 else
10826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10827 $as_echo "no" >&6; }
10828 fi
10829
10830
10831   fi
10832 fi
10833 if test -z "$CC"; then
10834   # Extract the first word of "cc", so it can be a program name with args.
10835 set dummy cc; ac_word=$2
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10837 $as_echo_n "checking for $ac_word... " >&6; }
10838 if test "${ac_cv_prog_CC+set}" = set; then :
10839   $as_echo_n "(cached) " >&6
10840 else
10841   if test -n "$CC"; then
10842   ac_cv_prog_CC="$CC" # Let the user override the test.
10843 else
10844   ac_prog_rejected=no
10845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10846 for as_dir in $PATH
10847 do
10848   IFS=$as_save_IFS
10849   test -z "$as_dir" && as_dir=.
10850     for ac_exec_ext in '' $ac_executable_extensions; do
10851   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10852     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10853        ac_prog_rejected=yes
10854        continue
10855      fi
10856     ac_cv_prog_CC="cc"
10857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10858     break 2
10859   fi
10860 done
10861   done
10862 IFS=$as_save_IFS
10863
10864 if test $ac_prog_rejected = yes; then
10865   # We found a bogon in the path, so make sure we never use it.
10866   set dummy $ac_cv_prog_CC
10867   shift
10868   if test $# != 0; then
10869     # We chose a different compiler from the bogus one.
10870     # However, it has the same basename, so the bogon will be chosen
10871     # first if we set CC to just the basename; use the full file name.
10872     shift
10873     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10874   fi
10875 fi
10876 fi
10877 fi
10878 CC=$ac_cv_prog_CC
10879 if test -n "$CC"; then
10880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10881 $as_echo "$CC" >&6; }
10882 else
10883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10884 $as_echo "no" >&6; }
10885 fi
10886
10887
10888 fi
10889 if test -z "$CC"; then
10890   if test -n "$ac_tool_prefix"; then
10891   for ac_prog in cl.exe
10892   do
10893     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10894 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10896 $as_echo_n "checking for $ac_word... " >&6; }
10897 if test "${ac_cv_prog_CC+set}" = set; then :
10898   $as_echo_n "(cached) " >&6
10899 else
10900   if test -n "$CC"; then
10901   ac_cv_prog_CC="$CC" # Let the user override the test.
10902 else
10903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10904 for as_dir in $PATH
10905 do
10906   IFS=$as_save_IFS
10907   test -z "$as_dir" && as_dir=.
10908     for ac_exec_ext in '' $ac_executable_extensions; do
10909   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10910     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10912     break 2
10913   fi
10914 done
10915   done
10916 IFS=$as_save_IFS
10917
10918 fi
10919 fi
10920 CC=$ac_cv_prog_CC
10921 if test -n "$CC"; then
10922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
10923 $as_echo "$CC" >&6; }
10924 else
10925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10926 $as_echo "no" >&6; }
10927 fi
10928
10929
10930     test -n "$CC" && break
10931   done
10932 fi
10933 if test -z "$CC"; then
10934   ac_ct_CC=$CC
10935   for ac_prog in cl.exe
10936 do
10937   # Extract the first word of "$ac_prog", so it can be a program name with args.
10938 set dummy $ac_prog; ac_word=$2
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10940 $as_echo_n "checking for $ac_word... " >&6; }
10941 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
10942   $as_echo_n "(cached) " >&6
10943 else
10944   if test -n "$ac_ct_CC"; then
10945   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10946 else
10947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10948 for as_dir in $PATH
10949 do
10950   IFS=$as_save_IFS
10951   test -z "$as_dir" && as_dir=.
10952     for ac_exec_ext in '' $ac_executable_extensions; do
10953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10954     ac_cv_prog_ac_ct_CC="$ac_prog"
10955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10956     break 2
10957   fi
10958 done
10959   done
10960 IFS=$as_save_IFS
10961
10962 fi
10963 fi
10964 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10965 if test -n "$ac_ct_CC"; then
10966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
10967 $as_echo "$ac_ct_CC" >&6; }
10968 else
10969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10970 $as_echo "no" >&6; }
10971 fi
10972
10973
10974   test -n "$ac_ct_CC" && break
10975 done
10976
10977   if test "x$ac_ct_CC" = x; then
10978     CC=""
10979   else
10980     case $cross_compiling:$ac_tool_warned in
10981 yes:)
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10984 ac_tool_warned=yes ;;
10985 esac
10986     CC=$ac_ct_CC
10987   fi
10988 fi
10989
10990 fi
10991
10992
10993 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10995 as_fn_error "no acceptable C compiler found in \$PATH
10996 See \`config.log' for more details." "$LINENO" 5; }
10997
10998 # Provide some information about the compiler.
10999 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11000 set X $ac_compile
11001 ac_compiler=$2
11002 for ac_option in --version -v -V -qversion; do
11003   { { ac_try="$ac_compiler $ac_option >&5"
11004 case "(($ac_try" in
11005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11006   *) ac_try_echo=$ac_try;;
11007 esac
11008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11009 $as_echo "$ac_try_echo"; } >&5
11010   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11011   ac_status=$?
11012   if test -s conftest.err; then
11013     sed '10a\
11014 ... rest of stderr output deleted ...
11015          10q' conftest.err >conftest.er1
11016     cat conftest.er1 >&5
11017     rm -f conftest.er1 conftest.err
11018   fi
11019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11020   test $ac_status = 0; }
11021 done
11022
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11024 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11025 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11026   $as_echo_n "(cached) " >&6
11027 else
11028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11029 /* end confdefs.h.  */
11030
11031 int
11032 main ()
11033 {
11034 #ifndef __GNUC__
11035        choke me
11036 #endif
11037
11038   ;
11039   return 0;
11040 }
11041 _ACEOF
11042 if ac_fn_c_try_compile "$LINENO"; then :
11043   ac_compiler_gnu=yes
11044 else
11045   ac_compiler_gnu=no
11046 fi
11047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11048 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11049
11050 fi
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11052 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11053 if test $ac_compiler_gnu = yes; then
11054   GCC=yes
11055 else
11056   GCC=
11057 fi
11058 ac_test_CFLAGS=${CFLAGS+set}
11059 ac_save_CFLAGS=$CFLAGS
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11061 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11062 if test "${ac_cv_prog_cc_g+set}" = set; then :
11063   $as_echo_n "(cached) " >&6
11064 else
11065   ac_save_c_werror_flag=$ac_c_werror_flag
11066    ac_c_werror_flag=yes
11067    ac_cv_prog_cc_g=no
11068    CFLAGS="-g"
11069    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h.  */
11071
11072 int
11073 main ()
11074 {
11075
11076   ;
11077   return 0;
11078 }
11079 _ACEOF
11080 if ac_fn_c_try_compile "$LINENO"; then :
11081   ac_cv_prog_cc_g=yes
11082 else
11083   CFLAGS=""
11084       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11085 /* end confdefs.h.  */
11086
11087 int
11088 main ()
11089 {
11090
11091   ;
11092   return 0;
11093 }
11094 _ACEOF
11095 if ac_fn_c_try_compile "$LINENO"; then :
11096
11097 else
11098   ac_c_werror_flag=$ac_save_c_werror_flag
11099          CFLAGS="-g"
11100          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h.  */
11102
11103 int
11104 main ()
11105 {
11106
11107   ;
11108   return 0;
11109 }
11110 _ACEOF
11111 if ac_fn_c_try_compile "$LINENO"; then :
11112   ac_cv_prog_cc_g=yes
11113 fi
11114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11115 fi
11116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11117 fi
11118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11119    ac_c_werror_flag=$ac_save_c_werror_flag
11120 fi
11121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11122 $as_echo "$ac_cv_prog_cc_g" >&6; }
11123 if test "$ac_test_CFLAGS" = set; then
11124   CFLAGS=$ac_save_CFLAGS
11125 elif test $ac_cv_prog_cc_g = yes; then
11126   if test "$GCC" = yes; then
11127     CFLAGS="-g -O2"
11128   else
11129     CFLAGS="-g"
11130   fi
11131 else
11132   if test "$GCC" = yes; then
11133     CFLAGS="-O2"
11134   else
11135     CFLAGS=
11136   fi
11137 fi
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11139 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11140 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11141   $as_echo_n "(cached) " >&6
11142 else
11143   ac_cv_prog_cc_c89=no
11144 ac_save_CC=$CC
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h.  */
11147 #include <stdarg.h>
11148 #include <stdio.h>
11149 #include <sys/types.h>
11150 #include <sys/stat.h>
11151 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11152 struct buf { int x; };
11153 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11154 static char *e (p, i)
11155      char **p;
11156      int i;
11157 {
11158   return p[i];
11159 }
11160 static char *f (char * (*g) (char **, int), char **p, ...)
11161 {
11162   char *s;
11163   va_list v;
11164   va_start (v,p);
11165   s = g (p, va_arg (v,int));
11166   va_end (v);
11167   return s;
11168 }
11169
11170 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11171    function prototypes and stuff, but not '\xHH' hex character constants.
11172    These don't provoke an error unfortunately, instead are silently treated
11173    as 'x'.  The following induces an error, until -std is added to get
11174    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11175    array size at least.  It's necessary to write '\x00'==0 to get something
11176    that's true only with -std.  */
11177 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11178
11179 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11180    inside strings and character constants.  */
11181 #define FOO(x) 'x'
11182 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11183
11184 int test (int i, double x);
11185 struct s1 {int (*f) (int a);};
11186 struct s2 {int (*f) (double a);};
11187 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11188 int argc;
11189 char **argv;
11190 int
11191 main ()
11192 {
11193 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11194   ;
11195   return 0;
11196 }
11197 _ACEOF
11198 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11199         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11200 do
11201   CC="$ac_save_CC $ac_arg"
11202   if ac_fn_c_try_compile "$LINENO"; then :
11203   ac_cv_prog_cc_c89=$ac_arg
11204 fi
11205 rm -f core conftest.err conftest.$ac_objext
11206   test "x$ac_cv_prog_cc_c89" != "xno" && break
11207 done
11208 rm -f conftest.$ac_ext
11209 CC=$ac_save_CC
11210
11211 fi
11212 # AC_CACHE_VAL
11213 case "x$ac_cv_prog_cc_c89" in
11214   x)
11215     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11216 $as_echo "none needed" >&6; } ;;
11217   xno)
11218     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11219 $as_echo "unsupported" >&6; } ;;
11220   *)
11221     CC="$CC $ac_cv_prog_cc_c89"
11222     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11223 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11224 esac
11225 if test "x$ac_cv_prog_cc_c89" != xno; then :
11226
11227 fi
11228
11229 ac_ext=c
11230 ac_cpp='$CPP $CPPFLAGS'
11231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11234
11235 depcc="$CC"   am_compiler_list=
11236
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11238 $as_echo_n "checking dependency style of $depcc... " >&6; }
11239 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
11240   $as_echo_n "(cached) " >&6
11241 else
11242   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11243   # We make a subdir and do the tests there.  Otherwise we can end up
11244   # making bogus files that we don't know about and never remove.  For
11245   # instance it was reported that on HP-UX the gcc test will end up
11246   # making a dummy file named `D' -- because `-MD' means `put the output
11247   # in D'.
11248   mkdir conftest.dir
11249   # Copy depcomp to subdir because otherwise we won't find it if we're
11250   # using a relative directory.
11251   cp "$am_depcomp" conftest.dir
11252   cd conftest.dir
11253   # We will build objects and dependencies in a subdirectory because
11254   # it helps to detect inapplicable dependency modes.  For instance
11255   # both Tru64's cc and ICC support -MD to output dependencies as a
11256   # side effect of compilation, but ICC will put the dependencies in
11257   # the current directory while Tru64 will put them in the object
11258   # directory.
11259   mkdir sub
11260
11261   am_cv_CC_dependencies_compiler_type=none
11262   if test "$am_compiler_list" = ""; then
11263      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11264   fi
11265   am__universal=false
11266   case " $depcc " in #(
11267      *\ -arch\ *\ -arch\ *) am__universal=true ;;
11268      esac
11269
11270   for depmode in $am_compiler_list; do
11271     # Setup a source with many dependencies, because some compilers
11272     # like to wrap large dependency lists on column 80 (with \), and
11273     # we should not choose a depcomp mode which is confused by this.
11274     #
11275     # We need to recreate these files for each test, as the compiler may
11276     # overwrite some of them when testing with obscure command lines.
11277     # This happens at least with the AIX C compiler.
11278     : > sub/conftest.c
11279     for i in 1 2 3 4 5 6; do
11280       echo '#include "conftst'$i'.h"' >> sub/conftest.c
11281       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11282       # Solaris 8's {/usr,}/bin/sh.
11283       touch sub/conftst$i.h
11284     done
11285     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11286
11287     # We check with `-c' and `-o' for the sake of the "dashmstdout"
11288     # mode.  It turns out that the SunPro C++ compiler does not properly
11289     # handle `-M -o', and we need to detect this.  Also, some Intel
11290     # versions had trouble with output in subdirs
11291     am__obj=sub/conftest.${OBJEXT-o}
11292     am__minus_obj="-o $am__obj"
11293     case $depmode in
11294     gcc)
11295       # This depmode causes a compiler race in universal mode.
11296       test "$am__universal" = false || continue
11297       ;;
11298     nosideeffect)
11299       # after this tag, mechanisms are not by side-effect, so they'll
11300       # only be used when explicitly requested
11301       if test "x$enable_dependency_tracking" = xyes; then
11302         continue
11303       else
11304         break
11305       fi
11306       ;;
11307     msvisualcpp | msvcmsys)
11308       # This compiler won't grok `-c -o', but also, the minuso test has
11309       # not run yet.  These depmodes are late enough in the game, and
11310       # so weak that their functioning should not be impacted.
11311       am__obj=conftest.${OBJEXT-o}
11312       am__minus_obj=
11313       ;;
11314     none) break ;;
11315     esac
11316     if depmode=$depmode \
11317        source=sub/conftest.c object=$am__obj \
11318        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11319        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11320          >/dev/null 2>conftest.err &&
11321        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11322        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11323        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11324        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11325       # icc doesn't choke on unknown options, it will just issue warnings
11326       # or remarks (even with -Werror).  So we grep stderr for any message
11327       # that says an option was ignored or not supported.
11328       # When given -MP, icc 7.0 and 7.1 complain thusly:
11329       #   icc: Command line warning: ignoring option '-M'; no argument required
11330       # The diagnosis changed in icc 8.0:
11331       #   icc: Command line remark: option '-MP' not supported
11332       if (grep 'ignoring option' conftest.err ||
11333           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11334         am_cv_CC_dependencies_compiler_type=$depmode
11335         break
11336       fi
11337     fi
11338   done
11339
11340   cd ..
11341   rm -rf conftest.dir
11342 else
11343   am_cv_CC_dependencies_compiler_type=none
11344 fi
11345
11346 fi
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
11348 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
11349 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
11350
11351  if
11352   test "x$enable_dependency_tracking" != xno \
11353   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
11354   am__fastdepCC_TRUE=
11355   am__fastdepCC_FALSE='#'
11356 else
11357   am__fastdepCC_TRUE='#'
11358   am__fastdepCC_FALSE=
11359 fi
11360
11361
11362
11363
11364
11365
11366 if test "x$CC" != xcc; then
11367   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11368 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11369 else
11370   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11371 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11372 fi
11373 set dummy $CC; ac_cc=`$as_echo "$2" |
11374                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11375 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11376   $as_echo_n "(cached) " >&6
11377 else
11378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h.  */
11380
11381 int
11382 main ()
11383 {
11384
11385   ;
11386   return 0;
11387 }
11388 _ACEOF
11389 # Make sure it works both with $CC and with simple cc.
11390 # We do the test twice because some compilers refuse to overwrite an
11391 # existing .o file with -o, though they will create one.
11392 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11393 rm -f conftest2.*
11394 if { { case "(($ac_try" in
11395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11396   *) ac_try_echo=$ac_try;;
11397 esac
11398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11399 $as_echo "$ac_try_echo"; } >&5
11400   (eval "$ac_try") 2>&5
11401   ac_status=$?
11402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11403   test $ac_status = 0; } &&
11404    test -f conftest2.$ac_objext && { { case "(($ac_try" in
11405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11406   *) ac_try_echo=$ac_try;;
11407 esac
11408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11409 $as_echo "$ac_try_echo"; } >&5
11410   (eval "$ac_try") 2>&5
11411   ac_status=$?
11412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11413   test $ac_status = 0; };
11414 then
11415   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11416   if test "x$CC" != xcc; then
11417     # Test first that cc exists at all.
11418     if { ac_try='cc -c conftest.$ac_ext >&5'
11419   { { case "(($ac_try" in
11420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11421   *) ac_try_echo=$ac_try;;
11422 esac
11423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11424 $as_echo "$ac_try_echo"; } >&5
11425   (eval "$ac_try") 2>&5
11426   ac_status=$?
11427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11428   test $ac_status = 0; }; }; then
11429       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11430       rm -f conftest2.*
11431       if { { case "(($ac_try" in
11432   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11433   *) ac_try_echo=$ac_try;;
11434 esac
11435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11436 $as_echo "$ac_try_echo"; } >&5
11437   (eval "$ac_try") 2>&5
11438   ac_status=$?
11439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11440   test $ac_status = 0; } &&
11441          test -f conftest2.$ac_objext && { { case "(($ac_try" in
11442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11443   *) ac_try_echo=$ac_try;;
11444 esac
11445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11446 $as_echo "$ac_try_echo"; } >&5
11447   (eval "$ac_try") 2>&5
11448   ac_status=$?
11449   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11450   test $ac_status = 0; };
11451       then
11452         # cc works too.
11453         :
11454       else
11455         # cc exists but doesn't like -o.
11456         eval ac_cv_prog_cc_${ac_cc}_c_o=no
11457       fi
11458     fi
11459   fi
11460 else
11461   eval ac_cv_prog_cc_${ac_cc}_c_o=no
11462 fi
11463 rm -f core conftest*
11464
11465 fi
11466 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11468 $as_echo "yes" >&6; }
11469 else
11470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11471 $as_echo "no" >&6; }
11472
11473 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11474
11475 fi
11476
11477 # FIXME: we rely on the cache variable name because
11478 # there is no other way.
11479 set dummy $CC
11480 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11481 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11482 if test "$am_t" != yes; then
11483    # Losing compiler, so override with the script.
11484    # FIXME: It is wrong to rewrite CC.
11485    # But if we don't then we get into trouble of one sort or another.
11486    # A longer-term fix would be to have automake use am__CC in this case,
11487    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11488    CC="$am_aux_dir/compile $CC"
11489 fi
11490
11491
11492
11493 if test "x$GCC" != "xyes"; then
11494   as_fn_error "libquadmath must be built with GCC" "$LINENO" 5
11495 fi
11496 ac_ext=c
11497 ac_cpp='$CPP $CPPFLAGS'
11498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
11502 $as_echo_n "checking how to run the C preprocessor... " >&6; }
11503 # On Suns, sometimes $CPP names a directory.
11504 if test -n "$CPP" && test -d "$CPP"; then
11505   CPP=
11506 fi
11507 if test -z "$CPP"; then
11508   if test "${ac_cv_prog_CPP+set}" = set; then :
11509   $as_echo_n "(cached) " >&6
11510 else
11511       # Double quotes because CPP needs to be expanded
11512     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
11513     do
11514       ac_preproc_ok=false
11515 for ac_c_preproc_warn_flag in '' yes
11516 do
11517   # Use a header file that comes with gcc, so configuring glibc
11518   # with a fresh cross-compiler works.
11519   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11520   # <limits.h> exists even on freestanding compilers.
11521   # On the NeXT, cc -E runs the code through the compiler's parser,
11522   # not just through cpp. "Syntax error" is here to catch this case.
11523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11524 /* end confdefs.h.  */
11525 #ifdef __STDC__
11526 # include <limits.h>
11527 #else
11528 # include <assert.h>
11529 #endif
11530                      Syntax error
11531 _ACEOF
11532 if ac_fn_c_try_cpp "$LINENO"; then :
11533
11534 else
11535   # Broken: fails on valid input.
11536 continue
11537 fi
11538 rm -f conftest.err conftest.$ac_ext
11539
11540   # OK, works on sane cases.  Now check whether nonexistent headers
11541   # can be detected and how.
11542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11543 /* end confdefs.h.  */
11544 #include <ac_nonexistent.h>
11545 _ACEOF
11546 if ac_fn_c_try_cpp "$LINENO"; then :
11547   # Broken: success on invalid input.
11548 continue
11549 else
11550   # Passes both tests.
11551 ac_preproc_ok=:
11552 break
11553 fi
11554 rm -f conftest.err conftest.$ac_ext
11555
11556 done
11557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11558 rm -f conftest.err conftest.$ac_ext
11559 if $ac_preproc_ok; then :
11560   break
11561 fi
11562
11563     done
11564     ac_cv_prog_CPP=$CPP
11565
11566 fi
11567   CPP=$ac_cv_prog_CPP
11568 else
11569   ac_cv_prog_CPP=$CPP
11570 fi
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
11572 $as_echo "$CPP" >&6; }
11573 ac_preproc_ok=false
11574 for ac_c_preproc_warn_flag in '' yes
11575 do
11576   # Use a header file that comes with gcc, so configuring glibc
11577   # with a fresh cross-compiler works.
11578   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11579   # <limits.h> exists even on freestanding compilers.
11580   # On the NeXT, cc -E runs the code through the compiler's parser,
11581   # not just through cpp. "Syntax error" is here to catch this case.
11582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11583 /* end confdefs.h.  */
11584 #ifdef __STDC__
11585 # include <limits.h>
11586 #else
11587 # include <assert.h>
11588 #endif
11589                      Syntax error
11590 _ACEOF
11591 if ac_fn_c_try_cpp "$LINENO"; then :
11592
11593 else
11594   # Broken: fails on valid input.
11595 continue
11596 fi
11597 rm -f conftest.err conftest.$ac_ext
11598
11599   # OK, works on sane cases.  Now check whether nonexistent headers
11600   # can be detected and how.
11601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h.  */
11603 #include <ac_nonexistent.h>
11604 _ACEOF
11605 if ac_fn_c_try_cpp "$LINENO"; then :
11606   # Broken: success on invalid input.
11607 continue
11608 else
11609   # Passes both tests.
11610 ac_preproc_ok=:
11611 break
11612 fi
11613 rm -f conftest.err conftest.$ac_ext
11614
11615 done
11616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11617 rm -f conftest.err conftest.$ac_ext
11618 if $ac_preproc_ok; then :
11619
11620 else
11621   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11623 as_fn_error "C preprocessor \"$CPP\" fails sanity check
11624 See \`config.log' for more details." "$LINENO" 5; }
11625 fi
11626
11627 ac_ext=c
11628 ac_cpp='$CPP $CPPFLAGS'
11629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11632
11633
11634 # Calculate toolexeclibdir
11635 # Also toolexecdir, though it's only used in toolexeclibdir
11636 case ${version_specific_libs} in
11637   yes)
11638     # Need the gcc compiler version to know where to install libraries
11639     # and header files if --enable-version-specific-runtime-libs option
11640     # is selected.
11641     toolexecdir='$(libdir)/gcc/$(target_alias)'
11642     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
11643     ;;
11644   no)
11645     if test -n "$with_cross_host" &&
11646        test x"$with_cross_host" != x"no"; then
11647       # Install a library built with a cross compiler in tooldir, not libdir.
11648       toolexecdir='$(exec_prefix)/$(target_alias)'
11649       toolexeclibdir='$(toolexecdir)/lib'
11650     else
11651       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
11652       toolexeclibdir='$(libdir)'
11653     fi
11654     multi_os_directory=`$CC -print-multi-os-directory`
11655     case $multi_os_directory in
11656       .) ;; # Avoid trailing /.
11657       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
11658     esac
11659     ;;
11660 esac
11661
11662
11663
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
11665 $as_echo_n "checking for sqrtl in -lm... " >&6; }
11666 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
11667   $as_echo_n "(cached) " >&6
11668 else
11669   ac_check_lib_save_LIBS=$LIBS
11670 LIBS="-lm  $LIBS"
11671 if test x$gcc_no_link = xyes; then
11672   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11673 fi
11674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11675 /* end confdefs.h.  */
11676
11677 /* Override any GCC internal prototype to avoid an error.
11678    Use char because int might match the return type of a GCC
11679    builtin and then its argument prototype would still apply.  */
11680 #ifdef __cplusplus
11681 extern "C"
11682 #endif
11683 char sqrtl ();
11684 int
11685 main ()
11686 {
11687 return sqrtl ();
11688   ;
11689   return 0;
11690 }
11691 _ACEOF
11692 if ac_fn_c_try_link "$LINENO"; then :
11693   ac_cv_lib_m_sqrtl=yes
11694 else
11695   ac_cv_lib_m_sqrtl=no
11696 fi
11697 rm -f core conftest.err conftest.$ac_objext \
11698     conftest$ac_exeext conftest.$ac_ext
11699 LIBS=$ac_check_lib_save_LIBS
11700 fi
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
11702 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
11703 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
11704
11705 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
11706
11707 fi
11708
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cbrtl in -lm" >&5
11710 $as_echo_n "checking for cbrtl in -lm... " >&6; }
11711 if test "${ac_cv_lib_m_cbrtl+set}" = set; then :
11712   $as_echo_n "(cached) " >&6
11713 else
11714   ac_check_lib_save_LIBS=$LIBS
11715 LIBS="-lm  $LIBS"
11716 if test x$gcc_no_link = xyes; then
11717   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11718 fi
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720 /* end confdefs.h.  */
11721
11722 /* Override any GCC internal prototype to avoid an error.
11723    Use char because int might match the return type of a GCC
11724    builtin and then its argument prototype would still apply.  */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char cbrtl ();
11729 int
11730 main ()
11731 {
11732 return cbrtl ();
11733   ;
11734   return 0;
11735 }
11736 _ACEOF
11737 if ac_fn_c_try_link "$LINENO"; then :
11738   ac_cv_lib_m_cbrtl=yes
11739 else
11740   ac_cv_lib_m_cbrtl=no
11741 fi
11742 rm -f core conftest.err conftest.$ac_objext \
11743     conftest$ac_exeext conftest.$ac_ext
11744 LIBS=$ac_check_lib_save_LIBS
11745 fi
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cbrtl" >&5
11747 $as_echo "$ac_cv_lib_m_cbrtl" >&6; }
11748 if test "x$ac_cv_lib_m_cbrtl" = x""yes; then :
11749
11750 $as_echo "#define HAVE_CBRTL 1" >>confdefs.h
11751
11752 fi
11753
11754
11755 # Check for symbol versioning (copied from libssp).
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
11757 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
11758 if test x$gcc_no_link = xyes; then
11759   # If we cannot link, we cannot build shared libraries, so do not use
11760   # symbol versioning.
11761   quadmath_use_symver=no
11762 else
11763   save_LDFLAGS="$LDFLAGS"
11764   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
11765   cat > conftest.map <<EOF
11766 FOO_1.0 {
11767   global: *foo*; bar; local: *;
11768 };
11769 EOF
11770   if test x$gcc_no_link = xyes; then
11771   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11772 fi
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h.  */
11775 int foo;
11776 int
11777 main ()
11778 {
11779
11780   ;
11781   return 0;
11782 }
11783 _ACEOF
11784 if ac_fn_c_try_link "$LINENO"; then :
11785   quadmath_use_symver=gnu
11786 else
11787   quadmath_use_symver=no
11788 fi
11789 rm -f core conftest.err conftest.$ac_objext \
11790     conftest$ac_exeext conftest.$ac_ext
11791   if test x$quadmath_use_symver = xno; then
11792     case "$target_os" in
11793       solaris2*)
11794         LDFLAGS="$save_LDFLAGS"
11795         LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
11796         # Sun ld cannot handle wildcards and treats all entries as undefined.
11797         cat > conftest.map <<EOF
11798 FOO_1.0 {
11799   global: foo; local: *;
11800 };
11801 EOF
11802         if test x$gcc_no_link = xyes; then
11803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11804 fi
11805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11806 /* end confdefs.h.  */
11807 int foo;
11808 int
11809 main ()
11810 {
11811
11812   ;
11813   return 0;
11814 }
11815 _ACEOF
11816 if ac_fn_c_try_link "$LINENO"; then :
11817   quadmath_use_symver=sun
11818 else
11819   quadmath_use_symver=no
11820 fi
11821 rm -f core conftest.err conftest.$ac_objext \
11822     conftest$ac_exeext conftest.$ac_ext
11823         ;;
11824     esac
11825   fi
11826   LDFLAGS="$save_LDFLAGS"
11827 fi
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quadmath_use_symver" >&5
11829 $as_echo "$quadmath_use_symver" >&6; }
11830  if test "x$quadmath_use_symver" != xno; then
11831   LIBQUAD_USE_SYMVER_TRUE=
11832   LIBQUAD_USE_SYMVER_FALSE='#'
11833 else
11834   LIBQUAD_USE_SYMVER_TRUE='#'
11835   LIBQUAD_USE_SYMVER_FALSE=
11836 fi
11837
11838  if test "x$quadmath_use_symver" = xgnu; then
11839   LIBQUAD_USE_SYMVER_GNU_TRUE=
11840   LIBQUAD_USE_SYMVER_GNU_FALSE='#'
11841 else
11842   LIBQUAD_USE_SYMVER_GNU_TRUE='#'
11843   LIBQUAD_USE_SYMVER_GNU_FALSE=
11844 fi
11845
11846  if test "x$quadmath_use_symver" = xsun; then
11847   LIBQUAD_USE_SYMVER_SUN_TRUE=
11848   LIBQUAD_USE_SYMVER_SUN_FALSE='#'
11849 else
11850   LIBQUAD_USE_SYMVER_SUN_TRUE='#'
11851   LIBQUAD_USE_SYMVER_SUN_FALSE=
11852 fi
11853
11854
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __float128 is supported" >&5
11856 $as_echo_n "checking whether __float128 is supported... " >&6; }
11857   if test x$gcc_no_link = xyes; then
11858   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11859 fi
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h.  */
11862
11863     typedef _Complex float __attribute__((mode(TC))) __complex128;
11864
11865     __float128 foo (__float128 x)
11866     {
11867
11868      __complex128 z1, z2;
11869
11870      z1 = x;
11871      z2 = x / 7.Q;
11872      z2 /= z1;
11873
11874      return (__float128) z2;
11875     }
11876
11877     __float128 bar (__float128 x)
11878     {
11879       return x * __builtin_huge_valq ();
11880     }
11881
11882 int
11883 main ()
11884 {
11885
11886     foo (1.2Q);
11887     bar (1.2Q);
11888
11889   ;
11890   return 0;
11891 }
11892 _ACEOF
11893 if ac_fn_c_try_link "$LINENO"; then :
11894
11895     libquad_have_float128=yes
11896
11897 else
11898
11899     libquad_have_float128=no
11900
11901 fi
11902 rm -f core conftest.err conftest.$ac_objext \
11903     conftest$ac_exeext conftest.$ac_ext
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libquad_have_float128" >&5
11905 $as_echo "$libquad_have_float128" >&6; }
11906
11907
11908  if test "x$libquad_have_float128" = xyes; then
11909   BUILD_LIBQUADMATH_TRUE=
11910   BUILD_LIBQUADMATH_FALSE='#'
11911 else
11912   BUILD_LIBQUADMATH_TRUE='#'
11913   BUILD_LIBQUADMATH_FALSE=
11914 fi
11915
11916
11917 cat >confcache <<\_ACEOF
11918 # This file is a shell script that caches the results of configure
11919 # tests run on this system so they can be shared between configure
11920 # scripts and configure runs, see configure's option --config-cache.
11921 # It is not useful on other systems.  If it contains results you don't
11922 # want to keep, you may remove or edit it.
11923 #
11924 # config.status only pays attention to the cache file if you give it
11925 # the --recheck option to rerun configure.
11926 #
11927 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11928 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11929 # following values.
11930
11931 _ACEOF
11932
11933 # The following way of writing the cache mishandles newlines in values,
11934 # but we know of no workaround that is simple, portable, and efficient.
11935 # So, we kill variables containing newlines.
11936 # Ultrix sh set writes to stderr and can't be redirected directly,
11937 # and sets the high bit in the cache file unless we assign to the vars.
11938 (
11939   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11940     eval ac_val=\$$ac_var
11941     case $ac_val in #(
11942     *${as_nl}*)
11943       case $ac_var in #(
11944       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11945 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11946       esac
11947       case $ac_var in #(
11948       _ | IFS | as_nl) ;; #(
11949       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11950       *) { eval $ac_var=; unset $ac_var;} ;;
11951       esac ;;
11952     esac
11953   done
11954
11955   (set) 2>&1 |
11956     case $as_nl`(ac_space=' '; set) 2>&1` in #(
11957     *${as_nl}ac_space=\ *)
11958       # `set' does not quote correctly, so add quotes: double-quote
11959       # substitution turns \\\\ into \\, and sed turns \\ into \.
11960       sed -n \
11961         "s/'/'\\\\''/g;
11962           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11963       ;; #(
11964     *)
11965       # `set' quotes correctly as required by POSIX, so do not add quotes.
11966       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11967       ;;
11968     esac |
11969     sort
11970 ) |
11971   sed '
11972      /^ac_cv_env_/b end
11973      t clear
11974      :clear
11975      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11976      t end
11977      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11978      :end' >>confcache
11979 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11980   if test -w "$cache_file"; then
11981     test "x$cache_file" != "x/dev/null" &&
11982       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11983 $as_echo "$as_me: updating cache $cache_file" >&6;}
11984     cat confcache >$cache_file
11985   else
11986     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11987 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11988   fi
11989 fi
11990 rm -f confcache
11991
11992 if test ${multilib} = yes; then
11993   multilib_arg="--enable-multilib"
11994 else
11995   multilib_arg=
11996 fi
11997
11998 ac_config_files="$ac_config_files Makefile"
11999
12000 cat >confcache <<\_ACEOF
12001 # This file is a shell script that caches the results of configure
12002 # tests run on this system so they can be shared between configure
12003 # scripts and configure runs, see configure's option --config-cache.
12004 # It is not useful on other systems.  If it contains results you don't
12005 # want to keep, you may remove or edit it.
12006 #
12007 # config.status only pays attention to the cache file if you give it
12008 # the --recheck option to rerun configure.
12009 #
12010 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12011 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12012 # following values.
12013
12014 _ACEOF
12015
12016 # The following way of writing the cache mishandles newlines in values,
12017 # but we know of no workaround that is simple, portable, and efficient.
12018 # So, we kill variables containing newlines.
12019 # Ultrix sh set writes to stderr and can't be redirected directly,
12020 # and sets the high bit in the cache file unless we assign to the vars.
12021 (
12022   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12023     eval ac_val=\$$ac_var
12024     case $ac_val in #(
12025     *${as_nl}*)
12026       case $ac_var in #(
12027       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12028 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12029       esac
12030       case $ac_var in #(
12031       _ | IFS | as_nl) ;; #(
12032       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12033       *) { eval $ac_var=; unset $ac_var;} ;;
12034       esac ;;
12035     esac
12036   done
12037
12038   (set) 2>&1 |
12039     case $as_nl`(ac_space=' '; set) 2>&1` in #(
12040     *${as_nl}ac_space=\ *)
12041       # `set' does not quote correctly, so add quotes: double-quote
12042       # substitution turns \\\\ into \\, and sed turns \\ into \.
12043       sed -n \
12044         "s/'/'\\\\''/g;
12045           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12046       ;; #(
12047     *)
12048       # `set' quotes correctly as required by POSIX, so do not add quotes.
12049       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12050       ;;
12051     esac |
12052     sort
12053 ) |
12054   sed '
12055      /^ac_cv_env_/b end
12056      t clear
12057      :clear
12058      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12059      t end
12060      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12061      :end' >>confcache
12062 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12063   if test -w "$cache_file"; then
12064     test "x$cache_file" != "x/dev/null" &&
12065       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12066 $as_echo "$as_me: updating cache $cache_file" >&6;}
12067     cat confcache >$cache_file
12068   else
12069     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12070 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12071   fi
12072 fi
12073 rm -f confcache
12074
12075 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12076 # Let make expand exec_prefix.
12077 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12078
12079 DEFS=-DHAVE_CONFIG_H
12080
12081 ac_libobjs=
12082 ac_ltlibobjs=
12083 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12084   # 1. Remove the extension, and $U if already installed.
12085   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12086   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12087   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12088   #    will be set to the directory where LIBOBJS objects are built.
12089   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12090   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12091 done
12092 LIBOBJS=$ac_libobjs
12093
12094 LTLIBOBJS=$ac_ltlibobjs
12095
12096
12097  if test -n "$EXEEXT"; then
12098   am__EXEEXT_TRUE=
12099   am__EXEEXT_FALSE='#'
12100 else
12101   am__EXEEXT_TRUE='#'
12102   am__EXEEXT_FALSE=
12103 fi
12104
12105 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12106   as_fn_error "conditional \"AMDEP\" was never defined.
12107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12108 fi
12109 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12110   as_fn_error "conditional \"am__fastdepCC\" was never defined.
12111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12112 fi
12113 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12114   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12116 fi
12117 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12118   as_fn_error "conditional \"am__fastdepCC\" was never defined.
12119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12120 fi
12121 if test -z "${LIBQUAD_USE_SYMVER_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_FALSE}"; then
12122   as_fn_error "conditional \"LIBQUAD_USE_SYMVER\" was never defined.
12123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12124 fi
12125 if test -z "${LIBQUAD_USE_SYMVER_GNU_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_GNU_FALSE}"; then
12126   as_fn_error "conditional \"LIBQUAD_USE_SYMVER_GNU\" was never defined.
12127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12128 fi
12129 if test -z "${LIBQUAD_USE_SYMVER_SUN_TRUE}" && test -z "${LIBQUAD_USE_SYMVER_SUN_FALSE}"; then
12130   as_fn_error "conditional \"LIBQUAD_USE_SYMVER_SUN\" was never defined.
12131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12132 fi
12133 if test -z "${BUILD_LIBQUADMATH_TRUE}" && test -z "${BUILD_LIBQUADMATH_FALSE}"; then
12134   as_fn_error "conditional \"BUILD_LIBQUADMATH\" was never defined.
12135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12136 fi
12137
12138 : ${CONFIG_STATUS=./config.status}
12139 ac_write_fail=0
12140 ac_clean_files_save=$ac_clean_files
12141 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12143 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12144 as_write_fail=0
12145 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12146 #! $SHELL
12147 # Generated by $as_me.
12148 # Run this file to recreate the current configuration.
12149 # Compiler output produced by configure, useful for debugging
12150 # configure, is in config.log if it exists.
12151
12152 debug=false
12153 ac_cs_recheck=false
12154 ac_cs_silent=false
12155
12156 SHELL=\${CONFIG_SHELL-$SHELL}
12157 export SHELL
12158 _ASEOF
12159 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12160 ## -------------------- ##
12161 ## M4sh Initialization. ##
12162 ## -------------------- ##
12163
12164 # Be more Bourne compatible
12165 DUALCASE=1; export DUALCASE # for MKS sh
12166 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12167   emulate sh
12168   NULLCMD=:
12169   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12170   # is contrary to our usage.  Disable this feature.
12171   alias -g '${1+"$@"}'='"$@"'
12172   setopt NO_GLOB_SUBST
12173 else
12174   case `(set -o) 2>/dev/null` in #(
12175   *posix*) :
12176     set -o posix ;; #(
12177   *) :
12178      ;;
12179 esac
12180 fi
12181
12182
12183 as_nl='
12184 '
12185 export as_nl
12186 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12187 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12188 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12189 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12190 # Prefer a ksh shell builtin over an external printf program on Solaris,
12191 # but without wasting forks for bash or zsh.
12192 if test -z "$BASH_VERSION$ZSH_VERSION" \
12193     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12194   as_echo='print -r --'
12195   as_echo_n='print -rn --'
12196 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12197   as_echo='printf %s\n'
12198   as_echo_n='printf %s'
12199 else
12200   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12201     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12202     as_echo_n='/usr/ucb/echo -n'
12203   else
12204     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12205     as_echo_n_body='eval
12206       arg=$1;
12207       case $arg in #(
12208       *"$as_nl"*)
12209         expr "X$arg" : "X\\(.*\\)$as_nl";
12210         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12211       esac;
12212       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12213     '
12214     export as_echo_n_body
12215     as_echo_n='sh -c $as_echo_n_body as_echo'
12216   fi
12217   export as_echo_body
12218   as_echo='sh -c $as_echo_body as_echo'
12219 fi
12220
12221 # The user is always right.
12222 if test "${PATH_SEPARATOR+set}" != set; then
12223   PATH_SEPARATOR=:
12224   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12225     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12226       PATH_SEPARATOR=';'
12227   }
12228 fi
12229
12230
12231 # IFS
12232 # We need space, tab and new line, in precisely that order.  Quoting is
12233 # there to prevent editors from complaining about space-tab.
12234 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12235 # splitting by setting IFS to empty value.)
12236 IFS=" ""        $as_nl"
12237
12238 # Find who we are.  Look in the path if we contain no directory separator.
12239 case $0 in #((
12240   *[\\/]* ) as_myself=$0 ;;
12241   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12242 for as_dir in $PATH
12243 do
12244   IFS=$as_save_IFS
12245   test -z "$as_dir" && as_dir=.
12246     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12247   done
12248 IFS=$as_save_IFS
12249
12250      ;;
12251 esac
12252 # We did not find ourselves, most probably we were run as `sh COMMAND'
12253 # in which case we are not to be found in the path.
12254 if test "x$as_myself" = x; then
12255   as_myself=$0
12256 fi
12257 if test ! -f "$as_myself"; then
12258   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12259   exit 1
12260 fi
12261
12262 # Unset variables that we do not need and which cause bugs (e.g. in
12263 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12264 # suppresses any "Segmentation fault" message there.  '((' could
12265 # trigger a bug in pdksh 5.2.14.
12266 for as_var in BASH_ENV ENV MAIL MAILPATH
12267 do eval test x\${$as_var+set} = xset \
12268   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12269 done
12270 PS1='$ '
12271 PS2='> '
12272 PS4='+ '
12273
12274 # NLS nuisances.
12275 LC_ALL=C
12276 export LC_ALL
12277 LANGUAGE=C
12278 export LANGUAGE
12279
12280 # CDPATH.
12281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12282
12283
12284 # as_fn_error ERROR [LINENO LOG_FD]
12285 # ---------------------------------
12286 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12287 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12288 # script with status $?, using 1 if that was 0.
12289 as_fn_error ()
12290 {
12291   as_status=$?; test $as_status -eq 0 && as_status=1
12292   if test "$3"; then
12293     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12294     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12295   fi
12296   $as_echo "$as_me: error: $1" >&2
12297   as_fn_exit $as_status
12298 } # as_fn_error
12299
12300
12301 # as_fn_set_status STATUS
12302 # -----------------------
12303 # Set $? to STATUS, without forking.
12304 as_fn_set_status ()
12305 {
12306   return $1
12307 } # as_fn_set_status
12308
12309 # as_fn_exit STATUS
12310 # -----------------
12311 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12312 as_fn_exit ()
12313 {
12314   set +e
12315   as_fn_set_status $1
12316   exit $1
12317 } # as_fn_exit
12318
12319 # as_fn_unset VAR
12320 # ---------------
12321 # Portably unset VAR.
12322 as_fn_unset ()
12323 {
12324   { eval $1=; unset $1;}
12325 }
12326 as_unset=as_fn_unset
12327 # as_fn_append VAR VALUE
12328 # ----------------------
12329 # Append the text in VALUE to the end of the definition contained in VAR. Take
12330 # advantage of any shell optimizations that allow amortized linear growth over
12331 # repeated appends, instead of the typical quadratic growth present in naive
12332 # implementations.
12333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12334   eval 'as_fn_append ()
12335   {
12336     eval $1+=\$2
12337   }'
12338 else
12339   as_fn_append ()
12340   {
12341     eval $1=\$$1\$2
12342   }
12343 fi # as_fn_append
12344
12345 # as_fn_arith ARG...
12346 # ------------------
12347 # Perform arithmetic evaluation on the ARGs, and store the result in the
12348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12349 # must be portable across $(()) and expr.
12350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12351   eval 'as_fn_arith ()
12352   {
12353     as_val=$(( $* ))
12354   }'
12355 else
12356   as_fn_arith ()
12357   {
12358     as_val=`expr "$@" || test $? -eq 1`
12359   }
12360 fi # as_fn_arith
12361
12362
12363 if expr a : '\(a\)' >/dev/null 2>&1 &&
12364    test "X`expr 00001 : '.*\(...\)'`" = X001; then
12365   as_expr=expr
12366 else
12367   as_expr=false
12368 fi
12369
12370 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12371   as_basename=basename
12372 else
12373   as_basename=false
12374 fi
12375
12376 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12377   as_dirname=dirname
12378 else
12379   as_dirname=false
12380 fi
12381
12382 as_me=`$as_basename -- "$0" ||
12383 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12384          X"$0" : 'X\(//\)$' \| \
12385          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12386 $as_echo X/"$0" |
12387     sed '/^.*\/\([^/][^/]*\)\/*$/{
12388             s//\1/
12389             q
12390           }
12391           /^X\/\(\/\/\)$/{
12392             s//\1/
12393             q
12394           }
12395           /^X\/\(\/\).*/{
12396             s//\1/
12397             q
12398           }
12399           s/.*/./; q'`
12400
12401 # Avoid depending upon Character Ranges.
12402 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12403 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12404 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12405 as_cr_digits='0123456789'
12406 as_cr_alnum=$as_cr_Letters$as_cr_digits
12407
12408 ECHO_C= ECHO_N= ECHO_T=
12409 case `echo -n x` in #(((((
12410 -n*)
12411   case `echo 'xy\c'` in
12412   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12413   xy)  ECHO_C='\c';;
12414   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12415        ECHO_T=' ';;
12416   esac;;
12417 *)
12418   ECHO_N='-n';;
12419 esac
12420
12421 rm -f conf$$ conf$$.exe conf$$.file
12422 if test -d conf$$.dir; then
12423   rm -f conf$$.dir/conf$$.file
12424 else
12425   rm -f conf$$.dir
12426   mkdir conf$$.dir 2>/dev/null
12427 fi
12428 if (echo >conf$$.file) 2>/dev/null; then
12429   if ln -s conf$$.file conf$$ 2>/dev/null; then
12430     as_ln_s='ln -s'
12431     # ... but there are two gotchas:
12432     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12433     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12434     # In both cases, we have to default to `cp -p'.
12435     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12436       as_ln_s='cp -p'
12437   elif ln conf$$.file conf$$ 2>/dev/null; then
12438     as_ln_s=ln
12439   else
12440     as_ln_s='cp -p'
12441   fi
12442 else
12443   as_ln_s='cp -p'
12444 fi
12445 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12446 rmdir conf$$.dir 2>/dev/null
12447
12448
12449 # as_fn_mkdir_p
12450 # -------------
12451 # Create "$as_dir" as a directory, including parents if necessary.
12452 as_fn_mkdir_p ()
12453 {
12454
12455   case $as_dir in #(
12456   -*) as_dir=./$as_dir;;
12457   esac
12458   test -d "$as_dir" || eval $as_mkdir_p || {
12459     as_dirs=
12460     while :; do
12461       case $as_dir in #(
12462       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12463       *) as_qdir=$as_dir;;
12464       esac
12465       as_dirs="'$as_qdir' $as_dirs"
12466       as_dir=`$as_dirname -- "$as_dir" ||
12467 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12468          X"$as_dir" : 'X\(//\)[^/]' \| \
12469          X"$as_dir" : 'X\(//\)$' \| \
12470          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12471 $as_echo X"$as_dir" |
12472     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12473             s//\1/
12474             q
12475           }
12476           /^X\(\/\/\)[^/].*/{
12477             s//\1/
12478             q
12479           }
12480           /^X\(\/\/\)$/{
12481             s//\1/
12482             q
12483           }
12484           /^X\(\/\).*/{
12485             s//\1/
12486             q
12487           }
12488           s/.*/./; q'`
12489       test -d "$as_dir" && break
12490     done
12491     test -z "$as_dirs" || eval "mkdir $as_dirs"
12492   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12493
12494
12495 } # as_fn_mkdir_p
12496 if mkdir -p . 2>/dev/null; then
12497   as_mkdir_p='mkdir -p "$as_dir"'
12498 else
12499   test -d ./-p && rmdir ./-p
12500   as_mkdir_p=false
12501 fi
12502
12503 if test -x / >/dev/null 2>&1; then
12504   as_test_x='test -x'
12505 else
12506   if ls -dL / >/dev/null 2>&1; then
12507     as_ls_L_option=L
12508   else
12509     as_ls_L_option=
12510   fi
12511   as_test_x='
12512     eval sh -c '\''
12513       if test -d "$1"; then
12514         test -d "$1/.";
12515       else
12516         case $1 in #(
12517         -*)set "./$1";;
12518         esac;
12519         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12520         ???[sx]*):;;*)false;;esac;fi
12521     '\'' sh
12522   '
12523 fi
12524 as_executable_p=$as_test_x
12525
12526 # Sed expression to map a string onto a valid CPP name.
12527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12528
12529 # Sed expression to map a string onto a valid variable name.
12530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12531
12532
12533 exec 6>&1
12534 ## ----------------------------------- ##
12535 ## Main body of $CONFIG_STATUS script. ##
12536 ## ----------------------------------- ##
12537 _ASEOF
12538 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12539
12540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12541 # Save the log message, to keep $0 and so on meaningful, and to
12542 # report actual input values of CONFIG_FILES etc. instead of their
12543 # values after options handling.
12544 ac_log="
12545 This file was extended by GCC Quad-precision Math Library $as_me 0.1, which was
12546 generated by GNU Autoconf 2.64.  Invocation command line was
12547
12548   CONFIG_FILES    = $CONFIG_FILES
12549   CONFIG_HEADERS  = $CONFIG_HEADERS
12550   CONFIG_LINKS    = $CONFIG_LINKS
12551   CONFIG_COMMANDS = $CONFIG_COMMANDS
12552   $ $0 $@
12553
12554 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12555 "
12556
12557 _ACEOF
12558
12559 case $ac_config_files in *"
12560 "*) set x $ac_config_files; shift; ac_config_files=$*;;
12561 esac
12562
12563 case $ac_config_headers in *"
12564 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12565 esac
12566
12567
12568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12569 # Files that config.status was made for.
12570 config_files="$ac_config_files"
12571 config_headers="$ac_config_headers"
12572 config_commands="$ac_config_commands"
12573
12574 _ACEOF
12575
12576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12577 ac_cs_usage="\
12578 \`$as_me' instantiates files and other configuration actions
12579 from templates according to the current configuration.  Unless the files
12580 and actions are specified as TAGs, all are instantiated by default.
12581
12582 Usage: $0 [OPTION]... [TAG]...
12583
12584   -h, --help       print this help, then exit
12585   -V, --version    print version number and configuration settings, then exit
12586   -q, --quiet, --silent
12587                    do not print progress messages
12588   -d, --debug      don't remove temporary files
12589       --recheck    update $as_me by reconfiguring in the same conditions
12590       --file=FILE[:TEMPLATE]
12591                    instantiate the configuration file FILE
12592       --header=FILE[:TEMPLATE]
12593                    instantiate the configuration header FILE
12594
12595 Configuration files:
12596 $config_files
12597
12598 Configuration headers:
12599 $config_headers
12600
12601 Configuration commands:
12602 $config_commands
12603
12604 Report bugs to the package provider."
12605
12606 _ACEOF
12607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12608 ac_cs_version="\\
12609 GCC Quad-precision Math Library config.status 0.1
12610 configured by $0, generated by GNU Autoconf 2.64,
12611   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12612
12613 Copyright (C) 2009 Free Software Foundation, Inc.
12614 This config.status script is free software; the Free Software Foundation
12615 gives unlimited permission to copy, distribute and modify it."
12616
12617 ac_pwd='$ac_pwd'
12618 srcdir='$srcdir'
12619 INSTALL='$INSTALL'
12620 MKDIR_P='$MKDIR_P'
12621 AWK='$AWK'
12622 test -n "\$AWK" || AWK=awk
12623 _ACEOF
12624
12625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12626 # The default lists apply if the user does not specify any file.
12627 ac_need_defaults=:
12628 while test $# != 0
12629 do
12630   case $1 in
12631   --*=*)
12632     ac_option=`expr "X$1" : 'X\([^=]*\)='`
12633     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12634     ac_shift=:
12635     ;;
12636   *)
12637     ac_option=$1
12638     ac_optarg=$2
12639     ac_shift=shift
12640     ;;
12641   esac
12642
12643   case $ac_option in
12644   # Handling of the options.
12645   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12646     ac_cs_recheck=: ;;
12647   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12648     $as_echo "$ac_cs_version"; exit ;;
12649   --debug | --debu | --deb | --de | --d | -d )
12650     debug=: ;;
12651   --file | --fil | --fi | --f )
12652     $ac_shift
12653     case $ac_optarg in
12654     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12655     esac
12656     as_fn_append CONFIG_FILES " '$ac_optarg'"
12657     ac_need_defaults=false;;
12658   --header | --heade | --head | --hea )
12659     $ac_shift
12660     case $ac_optarg in
12661     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12662     esac
12663     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12664     ac_need_defaults=false;;
12665   --he | --h)
12666     # Conflict between --help and --header
12667     as_fn_error "ambiguous option: \`$1'
12668 Try \`$0 --help' for more information.";;
12669   --help | --hel | -h )
12670     $as_echo "$ac_cs_usage"; exit ;;
12671   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12672   | -silent | --silent | --silen | --sile | --sil | --si | --s)
12673     ac_cs_silent=: ;;
12674
12675   # This is an error.
12676   -*) as_fn_error "unrecognized option: \`$1'
12677 Try \`$0 --help' for more information." ;;
12678
12679   *) as_fn_append ac_config_targets " $1"
12680      ac_need_defaults=false ;;
12681
12682   esac
12683   shift
12684 done
12685
12686 ac_configure_extra_args=
12687
12688 if $ac_cs_silent; then
12689   exec 6>/dev/null
12690   ac_configure_extra_args="$ac_configure_extra_args --silent"
12691 fi
12692
12693 _ACEOF
12694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12695 if \$ac_cs_recheck; then
12696   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12697   shift
12698   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12699   CONFIG_SHELL='$SHELL'
12700   export CONFIG_SHELL
12701   exec "\$@"
12702 fi
12703
12704 _ACEOF
12705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12706 exec 5>>config.log
12707 {
12708   echo
12709   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12710 ## Running $as_me. ##
12711 _ASBOX
12712   $as_echo "$ac_log"
12713 } >&5
12714
12715 _ACEOF
12716 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12717 #
12718 # INIT-COMMANDS
12719 #
12720 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12721
12722
12723 # The HP-UX ksh and POSIX shell print the target directory to stdout
12724 # if CDPATH is set.
12725 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12726
12727 sed_quote_subst='$sed_quote_subst'
12728 double_quote_subst='$double_quote_subst'
12729 delay_variable_subst='$delay_variable_subst'
12730 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12731 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12732 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12733 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12734 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12735 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12736 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12737 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12738 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12739 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12740 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12741 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12742 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12743 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12744 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12745 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12746 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12747 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12748 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12749 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12750 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12751 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12752 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12753 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12754 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12755 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12756 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12757 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12758 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12759 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12760 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12761 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12762 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12763 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12764 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12765 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12766 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12767 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12768 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12769 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12770 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12771 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12772 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12773 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12774 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12775 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12776 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12777 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12778 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"`'
12779 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12780 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12781 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12782 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12783 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12784 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12785 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12786 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12787 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12788 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12789 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12790 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12791 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12792 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12793 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12794 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12795 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12796 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12797 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12798 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12799 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12800 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12801 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12802 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12803 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12804 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12805 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12806 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12807 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12808 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12809 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12810 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12811 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12812 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12813 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12814 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12815 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12816 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12817 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12818 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12819 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12820 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12821 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12822 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12823 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12824 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12825 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12826 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12827 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12828 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12829 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12830 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12831 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12832 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12833 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12834 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12835 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12836 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12837 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12838 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12839 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12840 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12841 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12842 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12843 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12844 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12845 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12846 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12847 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12848 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12849 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12850
12851 LTCC='$LTCC'
12852 LTCFLAGS='$LTCFLAGS'
12853 compiler='$compiler_DEFAULT'
12854
12855 # A function that is used when there is no print builtin or printf.
12856 func_fallback_echo ()
12857 {
12858   eval 'cat <<_LTECHO_EOF
12859 \$1
12860 _LTECHO_EOF'
12861 }
12862
12863 # Quote evaled strings.
12864 for var in SHELL \
12865 ECHO \
12866 SED \
12867 GREP \
12868 EGREP \
12869 FGREP \
12870 LD \
12871 NM \
12872 LN_S \
12873 lt_SP2NL \
12874 lt_NL2SP \
12875 reload_flag \
12876 OBJDUMP \
12877 deplibs_check_method \
12878 file_magic_cmd \
12879 AR \
12880 AR_FLAGS \
12881 STRIP \
12882 RANLIB \
12883 CC \
12884 CFLAGS \
12885 compiler \
12886 lt_cv_sys_global_symbol_pipe \
12887 lt_cv_sys_global_symbol_to_cdecl \
12888 lt_cv_sys_global_symbol_to_c_name_address \
12889 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12890 lt_prog_compiler_no_builtin_flag \
12891 lt_prog_compiler_wl \
12892 lt_prog_compiler_pic \
12893 lt_prog_compiler_static \
12894 lt_cv_prog_compiler_c_o \
12895 need_locks \
12896 DSYMUTIL \
12897 NMEDIT \
12898 LIPO \
12899 OTOOL \
12900 OTOOL64 \
12901 shrext_cmds \
12902 export_dynamic_flag_spec \
12903 whole_archive_flag_spec \
12904 compiler_needs_object \
12905 with_gnu_ld \
12906 allow_undefined_flag \
12907 no_undefined_flag \
12908 hardcode_libdir_flag_spec \
12909 hardcode_libdir_flag_spec_ld \
12910 hardcode_libdir_separator \
12911 fix_srcfile_path \
12912 exclude_expsyms \
12913 include_expsyms \
12914 file_list_spec \
12915 variables_saved_for_relink \
12916 libname_spec \
12917 library_names_spec \
12918 soname_spec \
12919 install_override_mode \
12920 finish_eval \
12921 old_striplib \
12922 striplib; do
12923     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12924     *[\\\\\\\`\\"\\\$]*)
12925       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12926       ;;
12927     *)
12928       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12929       ;;
12930     esac
12931 done
12932
12933 # Double-quote double-evaled strings.
12934 for var in reload_cmds \
12935 old_postinstall_cmds \
12936 old_postuninstall_cmds \
12937 old_archive_cmds \
12938 extract_expsyms_cmds \
12939 old_archive_from_new_cmds \
12940 old_archive_from_expsyms_cmds \
12941 archive_cmds \
12942 archive_expsym_cmds \
12943 module_cmds \
12944 module_expsym_cmds \
12945 export_symbols_cmds \
12946 prelink_cmds \
12947 postinstall_cmds \
12948 postuninstall_cmds \
12949 finish_cmds \
12950 sys_lib_search_path_spec \
12951 sys_lib_dlsearch_path_spec; do
12952     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12953     *[\\\\\\\`\\"\\\$]*)
12954       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12955       ;;
12956     *)
12957       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12958       ;;
12959     esac
12960 done
12961
12962 ac_aux_dir='$ac_aux_dir'
12963 xsi_shell='$xsi_shell'
12964 lt_shell_append='$lt_shell_append'
12965
12966 # See if we are running on zsh, and set the options which allow our
12967 # commands through without removal of \ escapes INIT.
12968 if test -n "\${ZSH_VERSION+set}" ; then
12969    setopt NO_GLOB_SUBST
12970 fi
12971
12972
12973     PACKAGE='$PACKAGE'
12974     VERSION='$VERSION'
12975     TIMESTAMP='$TIMESTAMP'
12976     RM='$RM'
12977     ofile='$ofile'
12978
12979
12980
12981
12982 srcdir="$srcdir"
12983 host="$host"
12984 target="$target"
12985 with_multisubdir="$with_multisubdir"
12986 with_multisrctop="$with_multisrctop"
12987 with_target_subdir="$with_target_subdir"
12988 ac_configure_args="${multilib_arg} ${ac_configure_args}"
12989 multi_basedir="$multi_basedir"
12990 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
12991 CC="$CC"
12992 CXX="$CXX"
12993 GFORTRAN="$GFORTRAN"
12994 GCJ="$GCJ"
12995
12996 _ACEOF
12997
12998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12999
13000 # Handling of arguments.
13001 for ac_config_target in $ac_config_targets
13002 do
13003   case $ac_config_target in
13004     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13005     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13006     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13007     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13008     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13009
13010   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13011   esac
13012 done
13013
13014
13015 # If the user did not use the arguments to specify the items to instantiate,
13016 # then the envvar interface is used.  Set only those that are not.
13017 # We use the long form for the default assignment because of an extremely
13018 # bizarre bug on SunOS 4.1.3.
13019 if $ac_need_defaults; then
13020   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13021   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13022   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13023 fi
13024
13025 # Have a temporary directory for convenience.  Make it in the build tree
13026 # simply because there is no reason against having it here, and in addition,
13027 # creating and moving files from /tmp can sometimes cause problems.
13028 # Hook for its removal unless debugging.
13029 # Note that there is a small window in which the directory will not be cleaned:
13030 # after its creation but before its name has been assigned to `$tmp'.
13031 $debug ||
13032 {
13033   tmp=
13034   trap 'exit_status=$?
13035   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13036 ' 0
13037   trap 'as_fn_exit 1' 1 2 13 15
13038 }
13039 # Create a (secure) tmp directory for tmp files.
13040
13041 {
13042   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13043   test -n "$tmp" && test -d "$tmp"
13044 }  ||
13045 {
13046   tmp=./conf$$-$RANDOM
13047   (umask 077 && mkdir "$tmp")
13048 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13049
13050 # Set up the scripts for CONFIG_FILES section.
13051 # No need to generate them if there are no CONFIG_FILES.
13052 # This happens for instance with `./config.status config.h'.
13053 if test -n "$CONFIG_FILES"; then
13054
13055
13056 ac_cr=`echo X | tr X '\015'`
13057 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13058 # But we know of no other shell where ac_cr would be empty at this
13059 # point, so we can use a bashism as a fallback.
13060 if test "x$ac_cr" = x; then
13061   eval ac_cr=\$\'\\r\'
13062 fi
13063 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13064 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13065   ac_cs_awk_cr='\r'
13066 else
13067   ac_cs_awk_cr=$ac_cr
13068 fi
13069
13070 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13071 _ACEOF
13072
13073
13074 {
13075   echo "cat >conf$$subs.awk <<_ACEOF" &&
13076   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13077   echo "_ACEOF"
13078 } >conf$$subs.sh ||
13079   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13080 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13081 ac_delim='%!_!# '
13082 for ac_last_try in false false false false false :; do
13083   . ./conf$$subs.sh ||
13084     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13085
13086   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13087   if test $ac_delim_n = $ac_delim_num; then
13088     break
13089   elif $ac_last_try; then
13090     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13091   else
13092     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13093   fi
13094 done
13095 rm -f conf$$subs.sh
13096
13097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13098 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13099 _ACEOF
13100 sed -n '
13101 h
13102 s/^/S["/; s/!.*/"]=/
13103 p
13104 g
13105 s/^[^!]*!//
13106 :repl
13107 t repl
13108 s/'"$ac_delim"'$//
13109 t delim
13110 :nl
13111 h
13112 s/\(.\{148\}\).*/\1/
13113 t more1
13114 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13115 p
13116 n
13117 b repl
13118 :more1
13119 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13120 p
13121 g
13122 s/.\{148\}//
13123 t nl
13124 :delim
13125 h
13126 s/\(.\{148\}\).*/\1/
13127 t more2
13128 s/["\\]/\\&/g; s/^/"/; s/$/"/
13129 p
13130 b
13131 :more2
13132 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13133 p
13134 g
13135 s/.\{148\}//
13136 t delim
13137 ' <conf$$subs.awk | sed '
13138 /^[^""]/{
13139   N
13140   s/\n//
13141 }
13142 ' >>$CONFIG_STATUS || ac_write_fail=1
13143 rm -f conf$$subs.awk
13144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13145 _ACAWK
13146 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13147   for (key in S) S_is_set[key] = 1
13148   FS = "\a"
13149
13150 }
13151 {
13152   line = $ 0
13153   nfields = split(line, field, "@")
13154   substed = 0
13155   len = length(field[1])
13156   for (i = 2; i < nfields; i++) {
13157     key = field[i]
13158     keylen = length(key)
13159     if (S_is_set[key]) {
13160       value = S[key]
13161       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13162       len += length(value) + length(field[++i])
13163       substed = 1
13164     } else
13165       len += 1 + keylen
13166   }
13167
13168   print line
13169 }
13170
13171 _ACAWK
13172 _ACEOF
13173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13174 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13175   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13176 else
13177   cat
13178 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13179   || as_fn_error "could not setup config files machinery" "$LINENO" 5
13180 _ACEOF
13181
13182 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13183 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13184 # trailing colons and then remove the whole line if VPATH becomes empty
13185 # (actually we leave an empty line to preserve line numbers).
13186 if test "x$srcdir" = x.; then
13187   ac_vpsub='/^[  ]*VPATH[        ]*=/{
13188 s/:*\$(srcdir):*/:/
13189 s/:*\${srcdir}:*/:/
13190 s/:*@srcdir@:*/:/
13191 s/^\([^=]*=[     ]*\):*/\1/
13192 s/:*$//
13193 s/^[^=]*=[       ]*$//
13194 }'
13195 fi
13196
13197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13198 fi # test -n "$CONFIG_FILES"
13199
13200 # Set up the scripts for CONFIG_HEADERS section.
13201 # No need to generate them if there are no CONFIG_HEADERS.
13202 # This happens for instance with `./config.status Makefile'.
13203 if test -n "$CONFIG_HEADERS"; then
13204 cat >"$tmp/defines.awk" <<\_ACAWK ||
13205 BEGIN {
13206 _ACEOF
13207
13208 # Transform confdefs.h into an awk script `defines.awk', embedded as
13209 # here-document in config.status, that substitutes the proper values into
13210 # config.h.in to produce config.h.
13211
13212 # Create a delimiter string that does not exist in confdefs.h, to ease
13213 # handling of long lines.
13214 ac_delim='%!_!# '
13215 for ac_last_try in false false :; do
13216   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13217   if test -z "$ac_t"; then
13218     break
13219   elif $ac_last_try; then
13220     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13221   else
13222     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13223   fi
13224 done
13225
13226 # For the awk script, D is an array of macro values keyed by name,
13227 # likewise P contains macro parameters if any.  Preserve backslash
13228 # newline sequences.
13229
13230 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13231 sed -n '
13232 s/.\{148\}/&'"$ac_delim"'/g
13233 t rset
13234 :rset
13235 s/^[     ]*#[    ]*define[       ][      ]*/ /
13236 t def
13237 d
13238 :def
13239 s/\\$//
13240 t bsnl
13241 s/["\\]/\\&/g
13242 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13243 D["\1"]=" \3"/p
13244 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13245 d
13246 :bsnl
13247 s/["\\]/\\&/g
13248 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13249 D["\1"]=" \3\\\\\\n"\\/p
13250 t cont
13251 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13252 t cont
13253 d
13254 :cont
13255 n
13256 s/.\{148\}/&'"$ac_delim"'/g
13257 t clear
13258 :clear
13259 s/\\$//
13260 t bsnlc
13261 s/["\\]/\\&/g; s/^/"/; s/$/"/p
13262 d
13263 :bsnlc
13264 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13265 b cont
13266 ' <confdefs.h | sed '
13267 s/'"$ac_delim"'/"\\\
13268 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13269
13270 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13271   for (key in D) D_is_set[key] = 1
13272   FS = "\a"
13273 }
13274 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13275   line = \$ 0
13276   split(line, arg, " ")
13277   if (arg[1] == "#") {
13278     defundef = arg[2]
13279     mac1 = arg[3]
13280   } else {
13281     defundef = substr(arg[1], 2)
13282     mac1 = arg[2]
13283   }
13284   split(mac1, mac2, "(") #)
13285   macro = mac2[1]
13286   prefix = substr(line, 1, index(line, defundef) - 1)
13287   if (D_is_set[macro]) {
13288     # Preserve the white space surrounding the "#".
13289     print prefix "define", macro P[macro] D[macro]
13290     next
13291   } else {
13292     # Replace #undef with comments.  This is necessary, for example,
13293     # in the case of _POSIX_SOURCE, which is predefined and required
13294     # on some systems where configure will not decide to define it.
13295     if (defundef == "undef") {
13296       print "/*", prefix defundef, macro, "*/"
13297       next
13298     }
13299   }
13300 }
13301 { print }
13302 _ACAWK
13303 _ACEOF
13304 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13305   as_fn_error "could not setup config headers machinery" "$LINENO" 5
13306 fi # test -n "$CONFIG_HEADERS"
13307
13308
13309 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13310 shift
13311 for ac_tag
13312 do
13313   case $ac_tag in
13314   :[FHLC]) ac_mode=$ac_tag; continue;;
13315   esac
13316   case $ac_mode$ac_tag in
13317   :[FHL]*:*);;
13318   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13319   :[FH]-) ac_tag=-:-;;
13320   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13321   esac
13322   ac_save_IFS=$IFS
13323   IFS=:
13324   set x $ac_tag
13325   IFS=$ac_save_IFS
13326   shift
13327   ac_file=$1
13328   shift
13329
13330   case $ac_mode in
13331   :L) ac_source=$1;;
13332   :[FH])
13333     ac_file_inputs=
13334     for ac_f
13335     do
13336       case $ac_f in
13337       -) ac_f="$tmp/stdin";;
13338       *) # Look for the file first in the build tree, then in the source tree
13339          # (if the path is not absolute).  The absolute path cannot be DOS-style,
13340          # because $ac_f cannot contain `:'.
13341          test -f "$ac_f" ||
13342            case $ac_f in
13343            [\\/$]*) false;;
13344            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13345            esac ||
13346            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13347       esac
13348       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13349       as_fn_append ac_file_inputs " '$ac_f'"
13350     done
13351
13352     # Let's still pretend it is `configure' which instantiates (i.e., don't
13353     # use $as_me), people would be surprised to read:
13354     #    /* config.h.  Generated by config.status.  */
13355     configure_input='Generated from '`
13356           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13357         `' by configure.'
13358     if test x"$ac_file" != x-; then
13359       configure_input="$ac_file.  $configure_input"
13360       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13361 $as_echo "$as_me: creating $ac_file" >&6;}
13362     fi
13363     # Neutralize special characters interpreted by sed in replacement strings.
13364     case $configure_input in #(
13365     *\&* | *\|* | *\\* )
13366        ac_sed_conf_input=`$as_echo "$configure_input" |
13367        sed 's/[\\\\&|]/\\\\&/g'`;; #(
13368     *) ac_sed_conf_input=$configure_input;;
13369     esac
13370
13371     case $ac_tag in
13372     *:-:* | *:-) cat >"$tmp/stdin" \
13373       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13374     esac
13375     ;;
13376   esac
13377
13378   ac_dir=`$as_dirname -- "$ac_file" ||
13379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13380          X"$ac_file" : 'X\(//\)[^/]' \| \
13381          X"$ac_file" : 'X\(//\)$' \| \
13382          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13383 $as_echo X"$ac_file" |
13384     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13385             s//\1/
13386             q
13387           }
13388           /^X\(\/\/\)[^/].*/{
13389             s//\1/
13390             q
13391           }
13392           /^X\(\/\/\)$/{
13393             s//\1/
13394             q
13395           }
13396           /^X\(\/\).*/{
13397             s//\1/
13398             q
13399           }
13400           s/.*/./; q'`
13401   as_dir="$ac_dir"; as_fn_mkdir_p
13402   ac_builddir=.
13403
13404 case "$ac_dir" in
13405 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13406 *)
13407   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13408   # A ".." for each directory in $ac_dir_suffix.
13409   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13410   case $ac_top_builddir_sub in
13411   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13412   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13413   esac ;;
13414 esac
13415 ac_abs_top_builddir=$ac_pwd
13416 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13417 # for backward compatibility:
13418 ac_top_builddir=$ac_top_build_prefix
13419
13420 case $srcdir in
13421   .)  # We are building in place.
13422     ac_srcdir=.
13423     ac_top_srcdir=$ac_top_builddir_sub
13424     ac_abs_top_srcdir=$ac_pwd ;;
13425   [\\/]* | ?:[\\/]* )  # Absolute name.
13426     ac_srcdir=$srcdir$ac_dir_suffix;
13427     ac_top_srcdir=$srcdir
13428     ac_abs_top_srcdir=$srcdir ;;
13429   *) # Relative name.
13430     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13431     ac_top_srcdir=$ac_top_build_prefix$srcdir
13432     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13433 esac
13434 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13435
13436
13437   case $ac_mode in
13438   :F)
13439   #
13440   # CONFIG_FILE
13441   #
13442
13443   case $INSTALL in
13444   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13445   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13446   esac
13447   ac_MKDIR_P=$MKDIR_P
13448   case $MKDIR_P in
13449   [\\/$]* | ?:[\\/]* ) ;;
13450   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13451   esac
13452 _ACEOF
13453
13454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13455 # If the template does not know about datarootdir, expand it.
13456 # FIXME: This hack should be removed a few years after 2.60.
13457 ac_datarootdir_hack=; ac_datarootdir_seen=
13458 ac_sed_dataroot='
13459 /datarootdir/ {
13460   p
13461   q
13462 }
13463 /@datadir@/p
13464 /@docdir@/p
13465 /@infodir@/p
13466 /@localedir@/p
13467 /@mandir@/p'
13468 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13469 *datarootdir*) ac_datarootdir_seen=yes;;
13470 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13471   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13472 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13473 _ACEOF
13474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13475   ac_datarootdir_hack='
13476   s&@datadir@&$datadir&g
13477   s&@docdir@&$docdir&g
13478   s&@infodir@&$infodir&g
13479   s&@localedir@&$localedir&g
13480   s&@mandir@&$mandir&g
13481   s&\\\${datarootdir}&$datarootdir&g' ;;
13482 esac
13483 _ACEOF
13484
13485 # Neutralize VPATH when `$srcdir' = `.'.
13486 # Shell code in configure.ac might set extrasub.
13487 # FIXME: do we really want to maintain this feature?
13488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13489 ac_sed_extra="$ac_vpsub
13490 $extrasub
13491 _ACEOF
13492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13493 :t
13494 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13495 s|@configure_input@|$ac_sed_conf_input|;t t
13496 s&@top_builddir@&$ac_top_builddir_sub&;t t
13497 s&@top_build_prefix@&$ac_top_build_prefix&;t t
13498 s&@srcdir@&$ac_srcdir&;t t
13499 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13500 s&@top_srcdir@&$ac_top_srcdir&;t t
13501 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13502 s&@builddir@&$ac_builddir&;t t
13503 s&@abs_builddir@&$ac_abs_builddir&;t t
13504 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13505 s&@INSTALL@&$ac_INSTALL&;t t
13506 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13507 $ac_datarootdir_hack
13508 "
13509 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13510   || as_fn_error "could not create $ac_file" "$LINENO" 5
13511
13512 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13513   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13514   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13515   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13516 which seems to be undefined.  Please make sure it is defined." >&5
13517 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13518 which seems to be undefined.  Please make sure it is defined." >&2;}
13519
13520   rm -f "$tmp/stdin"
13521   case $ac_file in
13522   -) cat "$tmp/out" && rm -f "$tmp/out";;
13523   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13524   esac \
13525   || as_fn_error "could not create $ac_file" "$LINENO" 5
13526  ;;
13527   :H)
13528   #
13529   # CONFIG_HEADER
13530   #
13531   if test x"$ac_file" != x-; then
13532     {
13533       $as_echo "/* $configure_input  */" \
13534       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13535     } >"$tmp/config.h" \
13536       || as_fn_error "could not create $ac_file" "$LINENO" 5
13537     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13538       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13539 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13540     else
13541       rm -f "$ac_file"
13542       mv "$tmp/config.h" "$ac_file" \
13543         || as_fn_error "could not create $ac_file" "$LINENO" 5
13544     fi
13545   else
13546     $as_echo "/* $configure_input  */" \
13547       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13548       || as_fn_error "could not create -" "$LINENO" 5
13549   fi
13550 # Compute "$ac_file"'s index in $config_headers.
13551 _am_arg="$ac_file"
13552 _am_stamp_count=1
13553 for _am_header in $config_headers :; do
13554   case $_am_header in
13555     $_am_arg | $_am_arg:* )
13556       break ;;
13557     * )
13558       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13559   esac
13560 done
13561 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13562 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13563          X"$_am_arg" : 'X\(//\)[^/]' \| \
13564          X"$_am_arg" : 'X\(//\)$' \| \
13565          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13566 $as_echo X"$_am_arg" |
13567     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13568             s//\1/
13569             q
13570           }
13571           /^X\(\/\/\)[^/].*/{
13572             s//\1/
13573             q
13574           }
13575           /^X\(\/\/\)$/{
13576             s//\1/
13577             q
13578           }
13579           /^X\(\/\).*/{
13580             s//\1/
13581             q
13582           }
13583           s/.*/./; q'`/stamp-h$_am_stamp_count
13584  ;;
13585
13586   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13587 $as_echo "$as_me: executing $ac_file commands" >&6;}
13588  ;;
13589   esac
13590
13591
13592   case $ac_file$ac_mode in
13593     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13594   # Autoconf 2.62 quotes --file arguments for eval, but not when files
13595   # are listed without --file.  Let's play safe and only enable the eval
13596   # if we detect the quoting.
13597   case $CONFIG_FILES in
13598   *\'*) eval set x "$CONFIG_FILES" ;;
13599   *)   set x $CONFIG_FILES ;;
13600   esac
13601   shift
13602   for mf
13603   do
13604     # Strip MF so we end up with the name of the file.
13605     mf=`echo "$mf" | sed -e 's/:.*$//'`
13606     # Check whether this is an Automake generated Makefile or not.
13607     # We used to match only the files named `Makefile.in', but
13608     # some people rename them; so instead we look at the file content.
13609     # Grep'ing the first line is not enough: some people post-process
13610     # each Makefile.in and add a new line on top of each file to say so.
13611     # Grep'ing the whole file is not good either: AIX grep has a line
13612     # limit of 2048, but all sed's we know have understand at least 4000.
13613     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13614       dirpart=`$as_dirname -- "$mf" ||
13615 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13616          X"$mf" : 'X\(//\)[^/]' \| \
13617          X"$mf" : 'X\(//\)$' \| \
13618          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13619 $as_echo X"$mf" |
13620     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13621             s//\1/
13622             q
13623           }
13624           /^X\(\/\/\)[^/].*/{
13625             s//\1/
13626             q
13627           }
13628           /^X\(\/\/\)$/{
13629             s//\1/
13630             q
13631           }
13632           /^X\(\/\).*/{
13633             s//\1/
13634             q
13635           }
13636           s/.*/./; q'`
13637     else
13638       continue
13639     fi
13640     # Extract the definition of DEPDIR, am__include, and am__quote
13641     # from the Makefile without running `make'.
13642     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13643     test -z "$DEPDIR" && continue
13644     am__include=`sed -n 's/^am__include = //p' < "$mf"`
13645     test -z "am__include" && continue
13646     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13647     # When using ansi2knr, U may be empty or an underscore; expand it
13648     U=`sed -n 's/^U = //p' < "$mf"`
13649     # Find all dependency output files, they are included files with
13650     # $(DEPDIR) in their names.  We invoke sed twice because it is the
13651     # simplest approach to changing $(DEPDIR) to its actual value in the
13652     # expansion.
13653     for file in `sed -n "
13654       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13655          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13656       # Make sure the directory exists.
13657       test -f "$dirpart/$file" && continue
13658       fdir=`$as_dirname -- "$file" ||
13659 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13660          X"$file" : 'X\(//\)[^/]' \| \
13661          X"$file" : 'X\(//\)$' \| \
13662          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13663 $as_echo X"$file" |
13664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13665             s//\1/
13666             q
13667           }
13668           /^X\(\/\/\)[^/].*/{
13669             s//\1/
13670             q
13671           }
13672           /^X\(\/\/\)$/{
13673             s//\1/
13674             q
13675           }
13676           /^X\(\/\).*/{
13677             s//\1/
13678             q
13679           }
13680           s/.*/./; q'`
13681       as_dir=$dirpart/$fdir; as_fn_mkdir_p
13682       # echo "creating $dirpart/$file"
13683       echo '# dummy' > "$dirpart/$file"
13684     done
13685   done
13686 }
13687  ;;
13688     "libtool":C)
13689
13690     # See if we are running on zsh, and set the options which allow our
13691     # commands through without removal of \ escapes.
13692     if test -n "${ZSH_VERSION+set}" ; then
13693       setopt NO_GLOB_SUBST
13694     fi
13695
13696     cfgfile="${ofile}T"
13697     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13698     $RM "$cfgfile"
13699
13700     cat <<_LT_EOF >> "$cfgfile"
13701 #! $SHELL
13702
13703 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13704 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13705 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13706 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
13707 #
13708 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13709 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13710 #   Written by Gordon Matzigkeit, 1996
13711 #
13712 #   This file is part of GNU Libtool.
13713 #
13714 # GNU Libtool is free software; you can redistribute it and/or
13715 # modify it under the terms of the GNU General Public License as
13716 # published by the Free Software Foundation; either version 2 of
13717 # the License, or (at your option) any later version.
13718 #
13719 # As a special exception to the GNU General Public License,
13720 # if you distribute this file as part of a program or library that
13721 # is built using GNU Libtool, you may include this file under the
13722 # same distribution terms that you use for the rest of that program.
13723 #
13724 # GNU Libtool is distributed in the hope that it will be useful,
13725 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13726 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13727 # GNU General Public License for more details.
13728 #
13729 # You should have received a copy of the GNU General Public License
13730 # along with GNU Libtool; see the file COPYING.  If not, a copy
13731 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13732 # obtained by writing to the Free Software Foundation, Inc.,
13733 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13734
13735
13736 # The names of the tagged configurations supported by this script.
13737 available_tags=""
13738
13739 # ### BEGIN LIBTOOL CONFIG
13740
13741 # Which release of libtool.m4 was used?
13742 macro_version=$macro_version
13743 macro_revision=$macro_revision
13744
13745 # Whether or not to build shared libraries.
13746 build_libtool_libs=$enable_shared
13747
13748 # Whether or not to build static libraries.
13749 build_old_libs=$enable_static
13750
13751 # What type of objects to build.
13752 pic_mode=$pic_mode
13753
13754 # Whether or not to optimize for fast installation.
13755 fast_install=$enable_fast_install
13756
13757 # Shell to use when invoking shell scripts.
13758 SHELL=$lt_SHELL
13759
13760 # An echo program that protects backslashes.
13761 ECHO=$lt_ECHO
13762
13763 # The host system.
13764 host_alias=$host_alias
13765 host=$host
13766 host_os=$host_os
13767
13768 # The build system.
13769 build_alias=$build_alias
13770 build=$build
13771 build_os=$build_os
13772
13773 # A sed program that does not truncate output.
13774 SED=$lt_SED
13775
13776 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
13777 Xsed="\$SED -e 1s/^X//"
13778
13779 # A grep program that handles long lines.
13780 GREP=$lt_GREP
13781
13782 # An ERE matcher.
13783 EGREP=$lt_EGREP
13784
13785 # A literal string matcher.
13786 FGREP=$lt_FGREP
13787
13788 # A BSD- or MS-compatible name lister.
13789 NM=$lt_NM
13790
13791 # Whether we need soft or hard links.
13792 LN_S=$lt_LN_S
13793
13794 # What is the maximum length of a command?
13795 max_cmd_len=$max_cmd_len
13796
13797 # Object file suffix (normally "o").
13798 objext=$ac_objext
13799
13800 # Executable file suffix (normally "").
13801 exeext=$exeext
13802
13803 # whether the shell understands "unset".
13804 lt_unset=$lt_unset
13805
13806 # turn spaces into newlines.
13807 SP2NL=$lt_lt_SP2NL
13808
13809 # turn newlines into spaces.
13810 NL2SP=$lt_lt_NL2SP
13811
13812 # An object symbol dumper.
13813 OBJDUMP=$lt_OBJDUMP
13814
13815 # Method to check whether dependent libraries are shared objects.
13816 deplibs_check_method=$lt_deplibs_check_method
13817
13818 # Command to use when deplibs_check_method == "file_magic".
13819 file_magic_cmd=$lt_file_magic_cmd
13820
13821 # The archiver.
13822 AR=$lt_AR
13823 AR_FLAGS=$lt_AR_FLAGS
13824
13825 # A symbol stripping program.
13826 STRIP=$lt_STRIP
13827
13828 # Commands used to install an old-style archive.
13829 RANLIB=$lt_RANLIB
13830 old_postinstall_cmds=$lt_old_postinstall_cmds
13831 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13832
13833 # Whether to use a lock for old archive extraction.
13834 lock_old_archive_extraction=$lock_old_archive_extraction
13835
13836 # A C compiler.
13837 LTCC=$lt_CC
13838
13839 # LTCC compiler flags.
13840 LTCFLAGS=$lt_CFLAGS
13841
13842 # Take the output of nm and produce a listing of raw symbols and C names.
13843 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13844
13845 # Transform the output of nm in a proper C declaration.
13846 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13847
13848 # Transform the output of nm in a C name address pair.
13849 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13850
13851 # Transform the output of nm in a C name address pair when lib prefix is needed.
13852 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13853
13854 # The name of the directory that contains temporary libtool files.
13855 objdir=$objdir
13856
13857 # Used to examine libraries when file_magic_cmd begins with "file".
13858 MAGIC_CMD=$MAGIC_CMD
13859
13860 # Must we lock files when doing compilation?
13861 need_locks=$lt_need_locks
13862
13863 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13864 DSYMUTIL=$lt_DSYMUTIL
13865
13866 # Tool to change global to local symbols on Mac OS X.
13867 NMEDIT=$lt_NMEDIT
13868
13869 # Tool to manipulate fat objects and archives on Mac OS X.
13870 LIPO=$lt_LIPO
13871
13872 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
13873 OTOOL=$lt_OTOOL
13874
13875 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13876 OTOOL64=$lt_OTOOL64
13877
13878 # Old archive suffix (normally "a").
13879 libext=$libext
13880
13881 # Shared library suffix (normally ".so").
13882 shrext_cmds=$lt_shrext_cmds
13883
13884 # The commands to extract the exported symbol list from a shared archive.
13885 extract_expsyms_cmds=$lt_extract_expsyms_cmds
13886
13887 # Variables whose values should be saved in libtool wrapper scripts and
13888 # restored at link time.
13889 variables_saved_for_relink=$lt_variables_saved_for_relink
13890
13891 # Do we need the "lib" prefix for modules?
13892 need_lib_prefix=$need_lib_prefix
13893
13894 # Do we need a version for libraries?
13895 need_version=$need_version
13896
13897 # Library versioning type.
13898 version_type=$version_type
13899
13900 # Shared library runtime path variable.
13901 runpath_var=$runpath_var
13902
13903 # Shared library path variable.
13904 shlibpath_var=$shlibpath_var
13905
13906 # Is shlibpath searched before the hard-coded library search path?
13907 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13908
13909 # Format of library name prefix.
13910 libname_spec=$lt_libname_spec
13911
13912 # List of archive names.  First name is the real one, the rest are links.
13913 # The last name is the one that the linker finds with -lNAME
13914 library_names_spec=$lt_library_names_spec
13915
13916 # The coded name of the library, if different from the real name.
13917 soname_spec=$lt_soname_spec
13918
13919 # Permission mode override for installation of shared libraries.
13920 install_override_mode=$lt_install_override_mode
13921
13922 # Command to use after installation of a shared archive.
13923 postinstall_cmds=$lt_postinstall_cmds
13924
13925 # Command to use after uninstallation of a shared archive.
13926 postuninstall_cmds=$lt_postuninstall_cmds
13927
13928 # Commands used to finish a libtool library installation in a directory.
13929 finish_cmds=$lt_finish_cmds
13930
13931 # As "finish_cmds", except a single script fragment to be evaled but
13932 # not shown.
13933 finish_eval=$lt_finish_eval
13934
13935 # Whether we should hardcode library paths into libraries.
13936 hardcode_into_libs=$hardcode_into_libs
13937
13938 # Compile-time system search path for libraries.
13939 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13940
13941 # Run-time system search path for libraries.
13942 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13943
13944 # Whether dlopen is supported.
13945 dlopen_support=$enable_dlopen
13946
13947 # Whether dlopen of programs is supported.
13948 dlopen_self=$enable_dlopen_self
13949
13950 # Whether dlopen of statically linked programs is supported.
13951 dlopen_self_static=$enable_dlopen_self_static
13952
13953 # Commands to strip libraries.
13954 old_striplib=$lt_old_striplib
13955 striplib=$lt_striplib
13956
13957
13958 # The linker used to build libraries.
13959 LD=$lt_LD
13960
13961 # How to create reloadable object files.
13962 reload_flag=$lt_reload_flag
13963 reload_cmds=$lt_reload_cmds
13964
13965 # Commands used to build an old-style archive.
13966 old_archive_cmds=$lt_old_archive_cmds
13967
13968 # A language specific compiler.
13969 CC=$lt_compiler
13970
13971 # Is the compiler the GNU compiler?
13972 with_gcc=$GCC
13973
13974 # Compiler flag to turn off builtin functions.
13975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13976
13977 # How to pass a linker flag through the compiler.
13978 wl=$lt_lt_prog_compiler_wl
13979
13980 # Additional compiler flags for building library objects.
13981 pic_flag=$lt_lt_prog_compiler_pic
13982
13983 # Compiler flag to prevent dynamic linking.
13984 link_static_flag=$lt_lt_prog_compiler_static
13985
13986 # Does compiler simultaneously support -c and -o options?
13987 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13988
13989 # Whether or not to add -lc for building shared libraries.
13990 build_libtool_need_lc=$archive_cmds_need_lc
13991
13992 # Whether or not to disallow shared libs when runtime libs are static.
13993 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13994
13995 # Compiler flag to allow reflexive dlopens.
13996 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13997
13998 # Compiler flag to generate shared objects directly from archives.
13999 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14000
14001 # Whether the compiler copes with passing no objects directly.
14002 compiler_needs_object=$lt_compiler_needs_object
14003
14004 # Create an old-style archive from a shared archive.
14005 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14006
14007 # Create a temporary old-style archive to link instead of a shared archive.
14008 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14009
14010 # Commands used to build a shared archive.
14011 archive_cmds=$lt_archive_cmds
14012 archive_expsym_cmds=$lt_archive_expsym_cmds
14013
14014 # Commands used to build a loadable module if different from building
14015 # a shared archive.
14016 module_cmds=$lt_module_cmds
14017 module_expsym_cmds=$lt_module_expsym_cmds
14018
14019 # Whether we are building with GNU ld or not.
14020 with_gnu_ld=$lt_with_gnu_ld
14021
14022 # Flag that allows shared libraries with undefined symbols to be built.
14023 allow_undefined_flag=$lt_allow_undefined_flag
14024
14025 # Flag that enforces no undefined symbols.
14026 no_undefined_flag=$lt_no_undefined_flag
14027
14028 # Flag to hardcode \$libdir into a binary during linking.
14029 # This must work even if \$libdir does not exist
14030 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14031
14032 # If ld is used when linking, flag to hardcode \$libdir into a binary
14033 # during linking.  This must work even if \$libdir does not exist.
14034 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14035
14036 # Whether we need a single "-rpath" flag with a separated argument.
14037 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14038
14039 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14040 # DIR into the resulting binary.
14041 hardcode_direct=$hardcode_direct
14042
14043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14044 # DIR into the resulting binary and the resulting library dependency is
14045 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14046 # library is relocated.
14047 hardcode_direct_absolute=$hardcode_direct_absolute
14048
14049 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14050 # into the resulting binary.
14051 hardcode_minus_L=$hardcode_minus_L
14052
14053 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14054 # into the resulting binary.
14055 hardcode_shlibpath_var=$hardcode_shlibpath_var
14056
14057 # Set to "yes" if building a shared library automatically hardcodes DIR
14058 # into the library and all subsequent libraries and executables linked
14059 # against it.
14060 hardcode_automatic=$hardcode_automatic
14061
14062 # Set to yes if linker adds runtime paths of dependent libraries
14063 # to runtime path list.
14064 inherit_rpath=$inherit_rpath
14065
14066 # Whether libtool must link a program against all its dependency libraries.
14067 link_all_deplibs=$link_all_deplibs
14068
14069 # Fix the shell variable \$srcfile for the compiler.
14070 fix_srcfile_path=$lt_fix_srcfile_path
14071
14072 # Set to "yes" if exported symbols are required.
14073 always_export_symbols=$always_export_symbols
14074
14075 # The commands to list exported symbols.
14076 export_symbols_cmds=$lt_export_symbols_cmds
14077
14078 # Symbols that should not be listed in the preloaded symbols.
14079 exclude_expsyms=$lt_exclude_expsyms
14080
14081 # Symbols that must always be exported.
14082 include_expsyms=$lt_include_expsyms
14083
14084 # Commands necessary for linking programs (against libraries) with templates.
14085 prelink_cmds=$lt_prelink_cmds
14086
14087 # Specify filename containing input files.
14088 file_list_spec=$lt_file_list_spec
14089
14090 # How to hardcode a shared library path into an executable.
14091 hardcode_action=$hardcode_action
14092
14093 # ### END LIBTOOL CONFIG
14094
14095 _LT_EOF
14096
14097   case $host_os in
14098   aix3*)
14099     cat <<\_LT_EOF >> "$cfgfile"
14100 # AIX sometimes has problems with the GCC collect2 program.  For some
14101 # reason, if we set the COLLECT_NAMES environment variable, the problems
14102 # vanish in a puff of smoke.
14103 if test "X${COLLECT_NAMES+set}" != Xset; then
14104   COLLECT_NAMES=
14105   export COLLECT_NAMES
14106 fi
14107 _LT_EOF
14108     ;;
14109   esac
14110
14111
14112 ltmain="$ac_aux_dir/ltmain.sh"
14113
14114
14115   # We use sed instead of cat because bash on DJGPP gets confused if
14116   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14117   # text mode, it properly converts lines to CR/LF.  This bash problem
14118   # is reportedly fixed, but why not run on old versions too?
14119   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14120     || (rm -f "$cfgfile"; exit 1)
14121
14122   case $xsi_shell in
14123   yes)
14124     cat << \_LT_EOF >> "$cfgfile"
14125
14126 # func_dirname file append nondir_replacement
14127 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14128 # otherwise set result to NONDIR_REPLACEMENT.
14129 func_dirname ()
14130 {
14131   case ${1} in
14132     */*) func_dirname_result="${1%/*}${2}" ;;
14133     *  ) func_dirname_result="${3}" ;;
14134   esac
14135 }
14136
14137 # func_basename file
14138 func_basename ()
14139 {
14140   func_basename_result="${1##*/}"
14141 }
14142
14143 # func_dirname_and_basename file append nondir_replacement
14144 # perform func_basename and func_dirname in a single function
14145 # call:
14146 #   dirname:  Compute the dirname of FILE.  If nonempty,
14147 #             add APPEND to the result, otherwise set result
14148 #             to NONDIR_REPLACEMENT.
14149 #             value returned in "$func_dirname_result"
14150 #   basename: Compute filename of FILE.
14151 #             value retuned in "$func_basename_result"
14152 # Implementation must be kept synchronized with func_dirname
14153 # and func_basename. For efficiency, we do not delegate to
14154 # those functions but instead duplicate the functionality here.
14155 func_dirname_and_basename ()
14156 {
14157   case ${1} in
14158     */*) func_dirname_result="${1%/*}${2}" ;;
14159     *  ) func_dirname_result="${3}" ;;
14160   esac
14161   func_basename_result="${1##*/}"
14162 }
14163
14164 # func_stripname prefix suffix name
14165 # strip PREFIX and SUFFIX off of NAME.
14166 # PREFIX and SUFFIX must not contain globbing or regex special
14167 # characters, hashes, percent signs, but SUFFIX may contain a leading
14168 # dot (in which case that matches only a dot).
14169 func_stripname ()
14170 {
14171   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14172   # positional parameters, so assign one to ordinary parameter first.
14173   func_stripname_result=${3}
14174   func_stripname_result=${func_stripname_result#"${1}"}
14175   func_stripname_result=${func_stripname_result%"${2}"}
14176 }
14177
14178 # func_opt_split
14179 func_opt_split ()
14180 {
14181   func_opt_split_opt=${1%%=*}
14182   func_opt_split_arg=${1#*=}
14183 }
14184
14185 # func_lo2o object
14186 func_lo2o ()
14187 {
14188   case ${1} in
14189     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14190     *)    func_lo2o_result=${1} ;;
14191   esac
14192 }
14193
14194 # func_xform libobj-or-source
14195 func_xform ()
14196 {
14197   func_xform_result=${1%.*}.lo
14198 }
14199
14200 # func_arith arithmetic-term...
14201 func_arith ()
14202 {
14203   func_arith_result=$(( $* ))
14204 }
14205
14206 # func_len string
14207 # STRING may not start with a hyphen.
14208 func_len ()
14209 {
14210   func_len_result=${#1}
14211 }
14212
14213 _LT_EOF
14214     ;;
14215   *) # Bourne compatible functions.
14216     cat << \_LT_EOF >> "$cfgfile"
14217
14218 # func_dirname file append nondir_replacement
14219 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14220 # otherwise set result to NONDIR_REPLACEMENT.
14221 func_dirname ()
14222 {
14223   # Extract subdirectory from the argument.
14224   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14225   if test "X$func_dirname_result" = "X${1}"; then
14226     func_dirname_result="${3}"
14227   else
14228     func_dirname_result="$func_dirname_result${2}"
14229   fi
14230 }
14231
14232 # func_basename file
14233 func_basename ()
14234 {
14235   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14236 }
14237
14238
14239 # func_stripname prefix suffix name
14240 # strip PREFIX and SUFFIX off of NAME.
14241 # PREFIX and SUFFIX must not contain globbing or regex special
14242 # characters, hashes, percent signs, but SUFFIX may contain a leading
14243 # dot (in which case that matches only a dot).
14244 # func_strip_suffix prefix name
14245 func_stripname ()
14246 {
14247   case ${2} in
14248     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14249     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14250   esac
14251 }
14252
14253 # sed scripts:
14254 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14255 my_sed_long_arg='1s/^-[^=]*=//'
14256
14257 # func_opt_split
14258 func_opt_split ()
14259 {
14260   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14261   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14262 }
14263
14264 # func_lo2o object
14265 func_lo2o ()
14266 {
14267   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14268 }
14269
14270 # func_xform libobj-or-source
14271 func_xform ()
14272 {
14273   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14274 }
14275
14276 # func_arith arithmetic-term...
14277 func_arith ()
14278 {
14279   func_arith_result=`expr "$@"`
14280 }
14281
14282 # func_len string
14283 # STRING may not start with a hyphen.
14284 func_len ()
14285 {
14286   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14287 }
14288
14289 _LT_EOF
14290 esac
14291
14292 case $lt_shell_append in
14293   yes)
14294     cat << \_LT_EOF >> "$cfgfile"
14295
14296 # func_append var value
14297 # Append VALUE to the end of shell variable VAR.
14298 func_append ()
14299 {
14300   eval "$1+=\$2"
14301 }
14302 _LT_EOF
14303     ;;
14304   *)
14305     cat << \_LT_EOF >> "$cfgfile"
14306
14307 # func_append var value
14308 # Append VALUE to the end of shell variable VAR.
14309 func_append ()
14310 {
14311   eval "$1=\$$1\$2"
14312 }
14313
14314 _LT_EOF
14315     ;;
14316   esac
14317
14318
14319   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14320     || (rm -f "$cfgfile"; exit 1)
14321
14322   mv -f "$cfgfile" "$ofile" ||
14323     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14324   chmod +x "$ofile"
14325
14326  ;;
14327     "default-1":C)
14328 # Only add multilib support code if we just rebuilt the top-level
14329 # Makefile.
14330 case " $CONFIG_FILES " in
14331  *" Makefile "*)
14332    ac_file=Makefile . ${multi_basedir}/config-ml.in
14333    ;;
14334 esac ;;
14335
14336   esac
14337 done # for ac_tag
14338
14339
14340 as_fn_exit 0
14341 _ACEOF
14342 ac_clean_files=$ac_clean_files_save
14343
14344 test $ac_write_fail = 0 ||
14345   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14346
14347
14348 # configure is writing to config.log, and then calls config.status.
14349 # config.status does its own redirection, appending to config.log.
14350 # Unfortunately, on DOS this fails, as config.log is still kept open
14351 # by configure, so config.status won't be able to write to it; its
14352 # output is simply discarded.  So we exec the FD to /dev/null,
14353 # effectively closing config.log, so it can be properly (re)opened and
14354 # appended to by config.status.  When coming back to configure, we
14355 # need to make the FD available again.
14356 if test "$no_create" != yes; then
14357   ac_cs_success=:
14358   ac_config_status_args=
14359   test "$silent" = yes &&
14360     ac_config_status_args="$ac_config_status_args --quiet"
14361   exec 5>/dev/null
14362   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14363   exec 5>>config.log
14364   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14365   # would make configure fail if this is the last instruction.
14366   $ac_cs_success || as_fn_exit $?
14367 fi
14368 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14369   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14370 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14371 fi
14372