OSDN Git Service

Sync from git Libtool and regenerate.
[pf3gnuchains/gcc-fork.git] / libgfortran / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for GNU Fortran Runtime Library 0.3.
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='GNU Fortran Runtime Library'
558 PACKAGE_TARNAME='libgfortran'
559 PACKAGE_VERSION='0.3'
560 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL='http://www.gnu.org/software/libgfortran/'
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 IEEE_FLAGS
605 FPU_HOST_HEADER
606 extra_ldflags_libgfortran
607 ac_ct_FC
608 FCFLAGS
609 FC
610 enable_static
611 enable_shared
612 CPP
613 OTOOL64
614 OTOOL
615 LIPO
616 NMEDIT
617 DSYMUTIL
618 OBJDUMP
619 LN_S
620 NM
621 ac_ct_DUMPBIN
622 DUMPBIN
623 LD
624 FGREP
625 EGREP
626 GREP
627 SED
628 LIBTOOL
629 RANLIB
630 AR
631 AS
632 SECTION_FLAGS
633 LIBGFOR_USE_SYMVER_FALSE
634 LIBGFOR_USE_SYMVER_TRUE
635 AM_CFLAGS
636 AM_FCFLAGS
637 am__fastdepCC_FALSE
638 am__fastdepCC_TRUE
639 CCDEPMODE
640 AMDEPBACKSLASH
641 AMDEP_FALSE
642 AMDEP_TRUE
643 am__quote
644 am__include
645 DEPDIR
646 OBJEXT
647 EXEEXT
648 ac_ct_CC
649 CPPFLAGS
650 LDFLAGS
651 CFLAGS
652 CC
653 toolexeclibdir
654 toolexecdir
655 multi_basedir
656 MAINT
657 MAINTAINER_MODE_FALSE
658 MAINTAINER_MODE_TRUE
659 am__untar
660 am__tar
661 AMTAR
662 am__leading_dot
663 SET_MAKE
664 AWK
665 mkdir_p
666 MKDIR_P
667 INSTALL_STRIP_PROGRAM
668 STRIP
669 install_sh
670 MAKEINFO
671 AUTOHEADER
672 AUTOMAKE
673 AUTOCONF
674 ACLOCAL
675 VERSION
676 PACKAGE
677 CYGPATH_W
678 am__isrc
679 INSTALL_DATA
680 INSTALL_SCRIPT
681 INSTALL_PROGRAM
682 target_os
683 target_vendor
684 target_cpu
685 target
686 host_os
687 host_vendor
688 host_cpu
689 host
690 onestep
691 onestep_FALSE
692 onestep_TRUE
693 target_subdir
694 host_subdir
695 build_subdir
696 build_libsubdir
697 build_os
698 build_vendor
699 build_cpu
700 build
701 target_alias
702 host_alias
703 build_alias
704 LIBS
705 ECHO_T
706 ECHO_N
707 ECHO_C
708 DEFS
709 mandir
710 localedir
711 libdir
712 psdir
713 pdfdir
714 dvidir
715 htmldir
716 infodir
717 docdir
718 oldincludedir
719 includedir
720 localstatedir
721 sharedstatedir
722 sysconfdir
723 datadir
724 datarootdir
725 libexecdir
726 sbindir
727 bindir
728 program_transform_name
729 prefix
730 exec_prefix
731 PACKAGE_URL
732 PACKAGE_BUGREPORT
733 PACKAGE_STRING
734 PACKAGE_VERSION
735 PACKAGE_TARNAME
736 PACKAGE_NAME
737 PATH_SEPARATOR
738 SHELL'
739 ac_subst_files=''
740 ac_user_opts='
741 enable_option_checking
742 with_build_libsubdir
743 enable_version_specific_runtime_libs
744 enable_intermodule
745 enable_maintainer_mode
746 enable_multilib
747 enable_dependency_tracking
748 enable_shared
749 enable_static
750 with_pic
751 enable_fast_install
752 with_gnu_ld
753 enable_libtool_lock
754 enable_largefile
755 '
756       ac_precious_vars='build_alias
757 host_alias
758 target_alias
759 CPP
760 CPPFLAGS
761 FC
762 FCFLAGS
763 LDFLAGS
764 LIBS'
765
766
767 # Initialize some variables set by options.
768 ac_init_help=
769 ac_init_version=false
770 ac_unrecognized_opts=
771 ac_unrecognized_sep=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
774 cache_file=/dev/null
775 exec_prefix=NONE
776 no_create=
777 no_recursion=
778 prefix=NONE
779 program_prefix=NONE
780 program_suffix=NONE
781 program_transform_name=s,x,x,
782 silent=
783 site=
784 srcdir=
785 verbose=
786 x_includes=NONE
787 x_libraries=NONE
788
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir='${exec_prefix}/bin'
796 sbindir='${exec_prefix}/sbin'
797 libexecdir='${exec_prefix}/libexec'
798 datarootdir='${prefix}/share'
799 datadir='${datarootdir}'
800 sysconfdir='${prefix}/etc'
801 sharedstatedir='${prefix}/com'
802 localstatedir='${prefix}/var'
803 includedir='${prefix}/include'
804 oldincludedir='/usr/include'
805 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir='${datarootdir}/info'
807 htmldir='${docdir}'
808 dvidir='${docdir}'
809 pdfdir='${docdir}'
810 psdir='${docdir}'
811 libdir='${exec_prefix}/lib'
812 localedir='${datarootdir}/locale'
813 mandir='${datarootdir}/man'
814
815 ac_prev=
816 ac_dashdash=
817 for ac_option
818 do
819   # If the previous option needs an argument, assign it.
820   if test -n "$ac_prev"; then
821     eval $ac_prev=\$ac_option
822     ac_prev=
823     continue
824   fi
825
826   case $ac_option in
827   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
828   *)    ac_optarg=yes ;;
829   esac
830
831   # Accept the important Cygnus configure options, so we can diagnose typos.
832
833   case $ac_dashdash$ac_option in
834   --)
835     ac_dashdash=yes ;;
836
837   -bindir | --bindir | --bindi | --bind | --bin | --bi)
838     ac_prev=bindir ;;
839   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
840     bindir=$ac_optarg ;;
841
842   -build | --build | --buil | --bui | --bu)
843     ac_prev=build_alias ;;
844   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
845     build_alias=$ac_optarg ;;
846
847   -cache-file | --cache-file | --cache-fil | --cache-fi \
848   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
849     ac_prev=cache_file ;;
850   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
851   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
852     cache_file=$ac_optarg ;;
853
854   --config-cache | -C)
855     cache_file=config.cache ;;
856
857   -datadir | --datadir | --datadi | --datad)
858     ac_prev=datadir ;;
859   -datadir=* | --datadir=* | --datadi=* | --datad=*)
860     datadir=$ac_optarg ;;
861
862   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
863   | --dataroo | --dataro | --datar)
864     ac_prev=datarootdir ;;
865   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
866   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
867     datarootdir=$ac_optarg ;;
868
869   -disable-* | --disable-*)
870     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871     # Reject names that are not valid shell variable names.
872     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873       as_fn_error "invalid feature name: $ac_useropt"
874     ac_useropt_orig=$ac_useropt
875     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876     case $ac_user_opts in
877       *"
878 "enable_$ac_useropt"
879 "*) ;;
880       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881          ac_unrecognized_sep=', ';;
882     esac
883     eval enable_$ac_useropt=no ;;
884
885   -docdir | --docdir | --docdi | --doc | --do)
886     ac_prev=docdir ;;
887   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
888     docdir=$ac_optarg ;;
889
890   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891     ac_prev=dvidir ;;
892   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
893     dvidir=$ac_optarg ;;
894
895   -enable-* | --enable-*)
896     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897     # Reject names that are not valid shell variable names.
898     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899       as_fn_error "invalid feature name: $ac_useropt"
900     ac_useropt_orig=$ac_useropt
901     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902     case $ac_user_opts in
903       *"
904 "enable_$ac_useropt"
905 "*) ;;
906       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907          ac_unrecognized_sep=', ';;
908     esac
909     eval enable_$ac_useropt=\$ac_optarg ;;
910
911   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913   | --exec | --exe | --ex)
914     ac_prev=exec_prefix ;;
915   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917   | --exec=* | --exe=* | --ex=*)
918     exec_prefix=$ac_optarg ;;
919
920   -gas | --gas | --ga | --g)
921     # Obsolete; use --with-gas.
922     with_gas=yes ;;
923
924   -help | --help | --hel | --he | -h)
925     ac_init_help=long ;;
926   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927     ac_init_help=recursive ;;
928   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929     ac_init_help=short ;;
930
931   -host | --host | --hos | --ho)
932     ac_prev=host_alias ;;
933   -host=* | --host=* | --hos=* | --ho=*)
934     host_alias=$ac_optarg ;;
935
936   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937     ac_prev=htmldir ;;
938   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939   | --ht=*)
940     htmldir=$ac_optarg ;;
941
942   -includedir | --includedir | --includedi | --included | --include \
943   | --includ | --inclu | --incl | --inc)
944     ac_prev=includedir ;;
945   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946   | --includ=* | --inclu=* | --incl=* | --inc=*)
947     includedir=$ac_optarg ;;
948
949   -infodir | --infodir | --infodi | --infod | --info | --inf)
950     ac_prev=infodir ;;
951   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952     infodir=$ac_optarg ;;
953
954   -libdir | --libdir | --libdi | --libd)
955     ac_prev=libdir ;;
956   -libdir=* | --libdir=* | --libdi=* | --libd=*)
957     libdir=$ac_optarg ;;
958
959   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960   | --libexe | --libex | --libe)
961     ac_prev=libexecdir ;;
962   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963   | --libexe=* | --libex=* | --libe=*)
964     libexecdir=$ac_optarg ;;
965
966   -localedir | --localedir | --localedi | --localed | --locale)
967     ac_prev=localedir ;;
968   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969     localedir=$ac_optarg ;;
970
971   -localstatedir | --localstatedir | --localstatedi | --localstated \
972   | --localstate | --localstat | --localsta | --localst | --locals)
973     ac_prev=localstatedir ;;
974   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976     localstatedir=$ac_optarg ;;
977
978   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979     ac_prev=mandir ;;
980   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
981     mandir=$ac_optarg ;;
982
983   -nfp | --nfp | --nf)
984     # Obsolete; use --without-fp.
985     with_fp=no ;;
986
987   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988   | --no-cr | --no-c | -n)
989     no_create=yes ;;
990
991   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993     no_recursion=yes ;;
994
995   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997   | --oldin | --oldi | --old | --ol | --o)
998     ac_prev=oldincludedir ;;
999   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002     oldincludedir=$ac_optarg ;;
1003
1004   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005     ac_prev=prefix ;;
1006   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007     prefix=$ac_optarg ;;
1008
1009   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010   | --program-pre | --program-pr | --program-p)
1011     ac_prev=program_prefix ;;
1012   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014     program_prefix=$ac_optarg ;;
1015
1016   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017   | --program-suf | --program-su | --program-s)
1018     ac_prev=program_suffix ;;
1019   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021     program_suffix=$ac_optarg ;;
1022
1023   -program-transform-name | --program-transform-name \
1024   | --program-transform-nam | --program-transform-na \
1025   | --program-transform-n | --program-transform- \
1026   | --program-transform | --program-transfor \
1027   | --program-transfo | --program-transf \
1028   | --program-trans | --program-tran \
1029   | --progr-tra | --program-tr | --program-t)
1030     ac_prev=program_transform_name ;;
1031   -program-transform-name=* | --program-transform-name=* \
1032   | --program-transform-nam=* | --program-transform-na=* \
1033   | --program-transform-n=* | --program-transform-=* \
1034   | --program-transform=* | --program-transfor=* \
1035   | --program-transfo=* | --program-transf=* \
1036   | --program-trans=* | --program-tran=* \
1037   | --progr-tra=* | --program-tr=* | --program-t=*)
1038     program_transform_name=$ac_optarg ;;
1039
1040   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041     ac_prev=pdfdir ;;
1042   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043     pdfdir=$ac_optarg ;;
1044
1045   -psdir | --psdir | --psdi | --psd | --ps)
1046     ac_prev=psdir ;;
1047   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048     psdir=$ac_optarg ;;
1049
1050   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051   | -silent | --silent | --silen | --sile | --sil)
1052     silent=yes ;;
1053
1054   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055     ac_prev=sbindir ;;
1056   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057   | --sbi=* | --sb=*)
1058     sbindir=$ac_optarg ;;
1059
1060   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062   | --sharedst | --shareds | --shared | --share | --shar \
1063   | --sha | --sh)
1064     ac_prev=sharedstatedir ;;
1065   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068   | --sha=* | --sh=*)
1069     sharedstatedir=$ac_optarg ;;
1070
1071   -site | --site | --sit)
1072     ac_prev=site ;;
1073   -site=* | --site=* | --sit=*)
1074     site=$ac_optarg ;;
1075
1076   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077     ac_prev=srcdir ;;
1078   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079     srcdir=$ac_optarg ;;
1080
1081   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082   | --syscon | --sysco | --sysc | --sys | --sy)
1083     ac_prev=sysconfdir ;;
1084   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086     sysconfdir=$ac_optarg ;;
1087
1088   -target | --target | --targe | --targ | --tar | --ta | --t)
1089     ac_prev=target_alias ;;
1090   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091     target_alias=$ac_optarg ;;
1092
1093   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094     verbose=yes ;;
1095
1096   -version | --version | --versio | --versi | --vers | -V)
1097     ac_init_version=: ;;
1098
1099   -with-* | --with-*)
1100     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101     # Reject names that are not valid shell variable names.
1102     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103       as_fn_error "invalid package name: $ac_useropt"
1104     ac_useropt_orig=$ac_useropt
1105     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106     case $ac_user_opts in
1107       *"
1108 "with_$ac_useropt"
1109 "*) ;;
1110       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111          ac_unrecognized_sep=', ';;
1112     esac
1113     eval with_$ac_useropt=\$ac_optarg ;;
1114
1115   -without-* | --without-*)
1116     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117     # Reject names that are not valid shell variable names.
1118     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119       as_fn_error "invalid package name: $ac_useropt"
1120     ac_useropt_orig=$ac_useropt
1121     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122     case $ac_user_opts in
1123       *"
1124 "with_$ac_useropt"
1125 "*) ;;
1126       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127          ac_unrecognized_sep=', ';;
1128     esac
1129     eval with_$ac_useropt=no ;;
1130
1131   --x)
1132     # Obsolete; use --with-x.
1133     with_x=yes ;;
1134
1135   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1136   | --x-incl | --x-inc | --x-in | --x-i)
1137     ac_prev=x_includes ;;
1138   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1139   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1140     x_includes=$ac_optarg ;;
1141
1142   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1143   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1144     ac_prev=x_libraries ;;
1145   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1146   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1147     x_libraries=$ac_optarg ;;
1148
1149   -*) as_fn_error "unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information."
1151     ;;
1152
1153   *=*)
1154     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155     # Reject names that are not valid shell variable names.
1156     case $ac_envvar in #(
1157       '' | [0-9]* | *[!_$as_cr_alnum]* )
1158       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1159     esac
1160     eval $ac_envvar=\$ac_optarg
1161     export $ac_envvar ;;
1162
1163   *)
1164     # FIXME: should be removed in autoconf 3.0.
1165     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1167       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169     ;;
1170
1171   esac
1172 done
1173
1174 if test -n "$ac_prev"; then
1175   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1176   as_fn_error "missing argument to $ac_option"
1177 fi
1178
1179 if test -n "$ac_unrecognized_opts"; then
1180   case $enable_option_checking in
1181     no) ;;
1182     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1183     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1184   esac
1185 fi
1186
1187 # Check all directory arguments for consistency.
1188 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189                 datadir sysconfdir sharedstatedir localstatedir includedir \
1190                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191                 libdir localedir mandir
1192 do
1193   eval ac_val=\$$ac_var
1194   # Remove trailing slashes.
1195   case $ac_val in
1196     */ )
1197       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198       eval $ac_var=\$ac_val;;
1199   esac
1200   # Be sure to have absolute directory names.
1201   case $ac_val in
1202     [\\/$]* | ?:[\\/]* )  continue;;
1203     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204   esac
1205   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1206 done
1207
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1211 build=$build_alias
1212 host=$host_alias
1213 target=$target_alias
1214
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x; then
1217   if test "x$build_alias" = x; then
1218     cross_compiling=maybe
1219     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1220     If a cross compiler is detected then cross compile mode will be used." >&2
1221   elif test "x$build_alias" != "x$host_alias"; then
1222     cross_compiling=yes
1223   fi
1224 fi
1225
1226 ac_tool_prefix=
1227 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228
1229 test "$silent" = yes && exec 6>/dev/null
1230
1231
1232 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1233 ac_ls_di=`ls -di .` &&
1234 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1235   as_fn_error "working directory cannot be determined"
1236 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1237   as_fn_error "pwd does not report name of working directory"
1238
1239
1240 # Find the source files, if location was not specified.
1241 if test -z "$srcdir"; then
1242   ac_srcdir_defaulted=yes
1243   # Try the directory containing this script, then the parent directory.
1244   ac_confdir=`$as_dirname -- "$as_myself" ||
1245 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1246          X"$as_myself" : 'X\(//\)[^/]' \| \
1247          X"$as_myself" : 'X\(//\)$' \| \
1248          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1249 $as_echo X"$as_myself" |
1250     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1251             s//\1/
1252             q
1253           }
1254           /^X\(\/\/\)[^/].*/{
1255             s//\1/
1256             q
1257           }
1258           /^X\(\/\/\)$/{
1259             s//\1/
1260             q
1261           }
1262           /^X\(\/\).*/{
1263             s//\1/
1264             q
1265           }
1266           s/.*/./; q'`
1267   srcdir=$ac_confdir
1268   if test ! -r "$srcdir/$ac_unique_file"; then
1269     srcdir=..
1270   fi
1271 else
1272   ac_srcdir_defaulted=no
1273 fi
1274 if test ! -r "$srcdir/$ac_unique_file"; then
1275   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1276   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1277 fi
1278 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279 ac_abs_confdir=`(
1280         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1281         pwd)`
1282 # When building in place, set srcdir=.
1283 if test "$ac_abs_confdir" = "$ac_pwd"; then
1284   srcdir=.
1285 fi
1286 # Remove unnecessary trailing slashes from srcdir.
1287 # Double slashes in file names in object file debugging info
1288 # mess up M-x gdb in Emacs.
1289 case $srcdir in
1290 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291 esac
1292 for ac_var in $ac_precious_vars; do
1293   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1294   eval ac_env_${ac_var}_value=\$${ac_var}
1295   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1296   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297 done
1298
1299 #
1300 # Report the --help message.
1301 #
1302 if test "$ac_init_help" = "long"; then
1303   # Omit some internal or obsolete options to make the list less imposing.
1304   # This message is too long to be a string in the A/UX 3.1 sh.
1305   cat <<_ACEOF
1306 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1307
1308 Usage: $0 [OPTION]... [VAR=VALUE]...
1309
1310 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1311 VAR=VALUE.  See below for descriptions of some of the useful variables.
1312
1313 Defaults for the options are specified in brackets.
1314
1315 Configuration:
1316   -h, --help              display this help and exit
1317       --help=short        display options specific to this package
1318       --help=recursive    display the short help of all the included packages
1319   -V, --version           display version information and exit
1320   -q, --quiet, --silent   do not print \`checking...' messages
1321       --cache-file=FILE   cache test results in FILE [disabled]
1322   -C, --config-cache      alias for \`--cache-file=config.cache'
1323   -n, --no-create         do not create output files
1324       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1325
1326 Installation directories:
1327   --prefix=PREFIX         install architecture-independent files in PREFIX
1328                           [$ac_default_prefix]
1329   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1330                           [PREFIX]
1331
1332 By default, \`make install' will install all the files in
1333 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1334 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1335 for instance \`--prefix=\$HOME'.
1336
1337 For better control, use the options below.
1338
1339 Fine tuning of the installation directories:
1340   --bindir=DIR            user executables [EPREFIX/bin]
1341   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1342   --libexecdir=DIR        program executables [EPREFIX/libexec]
1343   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1344   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1345   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1346   --libdir=DIR            object code libraries [EPREFIX/lib]
1347   --includedir=DIR        C header files [PREFIX/include]
1348   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1349   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1350   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1351   --infodir=DIR           info documentation [DATAROOTDIR/info]
1352   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1353   --mandir=DIR            man documentation [DATAROOTDIR/man]
1354   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1355   --htmldir=DIR           html documentation [DOCDIR]
1356   --dvidir=DIR            dvi documentation [DOCDIR]
1357   --pdfdir=DIR            pdf documentation [DOCDIR]
1358   --psdir=DIR             ps documentation [DOCDIR]
1359 _ACEOF
1360
1361   cat <<\_ACEOF
1362
1363 Program names:
1364   --program-prefix=PREFIX            prepend PREFIX to installed program names
1365   --program-suffix=SUFFIX            append SUFFIX to installed program names
1366   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1367
1368 System types:
1369   --build=BUILD     configure for building on BUILD [guessed]
1370   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1371   --target=TARGET   configure for building compilers for TARGET [HOST]
1372 _ACEOF
1373 fi
1374
1375 if test -n "$ac_init_help"; then
1376   case $ac_init_help in
1377      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1378    esac
1379   cat <<\_ACEOF
1380
1381 Optional Features:
1382   --disable-option-checking  ignore unrecognized --enable/--with options
1383   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1384   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1385   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1386   --enable-intermodule    build the library in one step
1387   --enable-maintainer-mode  enable make rules and dependencies not useful
1388                           (and sometimes confusing) to the casual installer
1389   --enable-multilib       build many library versions (default)
1390   --disable-dependency-tracking  speeds up one-time build
1391   --enable-dependency-tracking   do not reject slow dependency extractors
1392   --enable-shared[=PKGS]  build shared libraries [default=yes]
1393   --enable-static[=PKGS]  build static libraries [default=yes]
1394   --enable-fast-install[=PKGS]
1395                           optimize for fast installation [default=yes]
1396   --disable-libtool-lock  avoid locking (might break parallel builds)
1397   --disable-largefile     omit support for large files
1398
1399 Optional Packages:
1400   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1401   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1402   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1403   --with-pic              try to use only PIC/non-PIC objects [default=use
1404                           both]
1405   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1406
1407 Some influential environment variables:
1408   CC          C compiler command
1409   CFLAGS      C compiler flags
1410   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1411               nonstandard directory <lib dir>
1412   LIBS        libraries to pass to the linker, e.g. -l<library>
1413   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1414               you have headers in a nonstandard directory <include dir>
1415   CPP         C preprocessor
1416   FC          Fortran compiler command
1417   FCFLAGS     Fortran compiler flags
1418
1419 Use these variables to override the choices made by `configure' or to help
1420 it to find libraries and programs with nonstandard names/locations.
1421
1422 Report bugs to the package provider.
1423 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1424 General help using GNU software: <http://www.gnu.org/gethelp/>.
1425 _ACEOF
1426 ac_status=$?
1427 fi
1428
1429 if test "$ac_init_help" = "recursive"; then
1430   # If there are subdirs, report their specific --help.
1431   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1432     test -d "$ac_dir" ||
1433       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1434       continue
1435     ac_builddir=.
1436
1437 case "$ac_dir" in
1438 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 *)
1440   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1441   # A ".." for each directory in $ac_dir_suffix.
1442   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1443   case $ac_top_builddir_sub in
1444   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1446   esac ;;
1447 esac
1448 ac_abs_top_builddir=$ac_pwd
1449 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1450 # for backward compatibility:
1451 ac_top_builddir=$ac_top_build_prefix
1452
1453 case $srcdir in
1454   .)  # We are building in place.
1455     ac_srcdir=.
1456     ac_top_srcdir=$ac_top_builddir_sub
1457     ac_abs_top_srcdir=$ac_pwd ;;
1458   [\\/]* | ?:[\\/]* )  # Absolute name.
1459     ac_srcdir=$srcdir$ac_dir_suffix;
1460     ac_top_srcdir=$srcdir
1461     ac_abs_top_srcdir=$srcdir ;;
1462   *) # Relative name.
1463     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1464     ac_top_srcdir=$ac_top_build_prefix$srcdir
1465     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1466 esac
1467 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1468
1469     cd "$ac_dir" || { ac_status=$?; continue; }
1470     # Check for guested configure.
1471     if test -f "$ac_srcdir/configure.gnu"; then
1472       echo &&
1473       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1474     elif test -f "$ac_srcdir/configure"; then
1475       echo &&
1476       $SHELL "$ac_srcdir/configure" --help=recursive
1477     else
1478       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1479     fi || ac_status=$?
1480     cd "$ac_pwd" || { ac_status=$?; break; }
1481   done
1482 fi
1483
1484 test -n "$ac_init_help" && exit $ac_status
1485 if $ac_init_version; then
1486   cat <<\_ACEOF
1487 GNU Fortran Runtime Library configure 0.3
1488 generated by GNU Autoconf 2.64
1489
1490 Copyright (C) 2009 Free Software Foundation, Inc.
1491 This configure script is free software; the Free Software Foundation
1492 gives unlimited permission to copy, distribute and modify it.
1493 _ACEOF
1494   exit
1495 fi
1496
1497 ## ------------------------ ##
1498 ## Autoconf initialization. ##
1499 ## ------------------------ ##
1500
1501 # ac_fn_c_try_compile LINENO
1502 # --------------------------
1503 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1504 ac_fn_c_try_compile ()
1505 {
1506   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1507   rm -f conftest.$ac_objext
1508   if { { ac_try="$ac_compile"
1509 case "(($ac_try" in
1510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1511   *) ac_try_echo=$ac_try;;
1512 esac
1513 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1514 $as_echo "$ac_try_echo"; } >&5
1515   (eval "$ac_compile") 2>conftest.err
1516   ac_status=$?
1517   if test -s conftest.err; then
1518     grep -v '^ *+' conftest.err >conftest.er1
1519     cat conftest.er1 >&5
1520     mv -f conftest.er1 conftest.err
1521   fi
1522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1523   test $ac_status = 0; } && {
1524          test -z "$ac_c_werror_flag" ||
1525          test ! -s conftest.err
1526        } && test -s conftest.$ac_objext; then :
1527   ac_retval=0
1528 else
1529   $as_echo "$as_me: failed program was:" >&5
1530 sed 's/^/| /' conftest.$ac_ext >&5
1531
1532         ac_retval=1
1533 fi
1534   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1535   return $ac_retval
1536
1537 } # ac_fn_c_try_compile
1538
1539 # ac_fn_c_try_link LINENO
1540 # -----------------------
1541 # Try to link conftest.$ac_ext, and return whether this succeeded.
1542 ac_fn_c_try_link ()
1543 {
1544   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1545   rm -f conftest.$ac_objext conftest$ac_exeext
1546   if { { ac_try="$ac_link"
1547 case "(($ac_try" in
1548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1549   *) ac_try_echo=$ac_try;;
1550 esac
1551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1552 $as_echo "$ac_try_echo"; } >&5
1553   (eval "$ac_link") 2>conftest.err
1554   ac_status=$?
1555   if test -s conftest.err; then
1556     grep -v '^ *+' conftest.err >conftest.er1
1557     cat conftest.er1 >&5
1558     mv -f conftest.er1 conftest.err
1559   fi
1560   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561   test $ac_status = 0; } && {
1562          test -z "$ac_c_werror_flag" ||
1563          test ! -s conftest.err
1564        } && test -s conftest$ac_exeext && {
1565          test "$cross_compiling" = yes ||
1566          $as_test_x conftest$ac_exeext
1567        }; then :
1568   ac_retval=0
1569 else
1570   $as_echo "$as_me: failed program was:" >&5
1571 sed 's/^/| /' conftest.$ac_ext >&5
1572
1573         ac_retval=1
1574 fi
1575   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1576   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1577   # interfere with the next link command; also delete a directory that is
1578   # left behind by Apple's compiler.  We do this before executing the actions.
1579   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1580   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1581   return $ac_retval
1582
1583 } # ac_fn_c_try_link
1584
1585 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1586 # -------------------------------------------------------
1587 # Tests whether HEADER exists and can be compiled using the include files in
1588 # INCLUDES, setting the cache variable VAR accordingly.
1589 ac_fn_c_check_header_compile ()
1590 {
1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593 $as_echo_n "checking for $2... " >&6; }
1594 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1595   $as_echo_n "(cached) " >&6
1596 else
1597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 /* end confdefs.h.  */
1599 $4
1600 #include <$2>
1601 _ACEOF
1602 if ac_fn_c_try_compile "$LINENO"; then :
1603   eval "$3=yes"
1604 else
1605   eval "$3=no"
1606 fi
1607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1608 fi
1609 eval ac_res=\$$3
1610                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1611 $as_echo "$ac_res" >&6; }
1612   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1613
1614 } # ac_fn_c_check_header_compile
1615
1616 # ac_fn_c_try_cpp LINENO
1617 # ----------------------
1618 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1619 ac_fn_c_try_cpp ()
1620 {
1621   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1622   if { { ac_try="$ac_cpp conftest.$ac_ext"
1623 case "(($ac_try" in
1624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1625   *) ac_try_echo=$ac_try;;
1626 esac
1627 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1628 $as_echo "$ac_try_echo"; } >&5
1629   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1630   ac_status=$?
1631   if test -s conftest.err; then
1632     grep -v '^ *+' conftest.err >conftest.er1
1633     cat conftest.er1 >&5
1634     mv -f conftest.er1 conftest.err
1635   fi
1636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637   test $ac_status = 0; } >/dev/null && {
1638          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1639          test ! -s conftest.err
1640        }; then :
1641   ac_retval=0
1642 else
1643   $as_echo "$as_me: failed program was:" >&5
1644 sed 's/^/| /' conftest.$ac_ext >&5
1645
1646     ac_retval=1
1647 fi
1648   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1649   return $ac_retval
1650
1651 } # ac_fn_c_try_cpp
1652
1653 # ac_fn_c_try_run LINENO
1654 # ----------------------
1655 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1656 # that executables *can* be run.
1657 ac_fn_c_try_run ()
1658 {
1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660   if { { ac_try="$ac_link"
1661 case "(($ac_try" in
1662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1663   *) ac_try_echo=$ac_try;;
1664 esac
1665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1666 $as_echo "$ac_try_echo"; } >&5
1667   (eval "$ac_link") 2>&5
1668   ac_status=$?
1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1671   { { case "(($ac_try" in
1672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1673   *) ac_try_echo=$ac_try;;
1674 esac
1675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677   (eval "$ac_try") 2>&5
1678   ac_status=$?
1679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1680   test $ac_status = 0; }; }; then :
1681   ac_retval=0
1682 else
1683   $as_echo "$as_me: program exited with status $ac_status" >&5
1684        $as_echo "$as_me: failed program was:" >&5
1685 sed 's/^/| /' conftest.$ac_ext >&5
1686
1687        ac_retval=$ac_status
1688 fi
1689   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1690   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1691   return $ac_retval
1692
1693 } # ac_fn_c_try_run
1694
1695 # ac_fn_c_check_func LINENO FUNC VAR
1696 # ----------------------------------
1697 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1698 ac_fn_c_check_func ()
1699 {
1700   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1704   $as_echo_n "(cached) " >&6
1705 else
1706   if test x$gcc_no_link = xyes; then
1707   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1708 fi
1709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1710 /* end confdefs.h.  */
1711 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1713 #define $2 innocuous_$2
1714
1715 /* System header to define __stub macros and hopefully few prototypes,
1716     which can conflict with char $2 (); below.
1717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1718     <limits.h> exists even on freestanding compilers.  */
1719
1720 #ifdef __STDC__
1721 # include <limits.h>
1722 #else
1723 # include <assert.h>
1724 #endif
1725
1726 #undef $2
1727
1728 /* Override any GCC internal prototype to avoid an error.
1729    Use char because int might match the return type of a GCC
1730    builtin and then its argument prototype would still apply.  */
1731 #ifdef __cplusplus
1732 extern "C"
1733 #endif
1734 char $2 ();
1735 /* The GNU C library defines this for functions which it implements
1736     to always fail with ENOSYS.  Some functions are actually named
1737     something starting with __ and the normal name is an alias.  */
1738 #if defined __stub_$2 || defined __stub___$2
1739 choke me
1740 #endif
1741
1742 int
1743 main ()
1744 {
1745 return $2 ();
1746   ;
1747   return 0;
1748 }
1749 _ACEOF
1750 if ac_fn_c_try_link "$LINENO"; then :
1751   eval "$3=yes"
1752 else
1753   eval "$3=no"
1754 fi
1755 rm -f core conftest.err conftest.$ac_objext \
1756     conftest$ac_exeext conftest.$ac_ext
1757 fi
1758 eval ac_res=\$$3
1759                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762
1763 } # ac_fn_c_check_func
1764
1765 # ac_fn_fc_try_compile LINENO
1766 # ---------------------------
1767 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1768 ac_fn_fc_try_compile ()
1769 {
1770   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771   rm -f conftest.$ac_objext
1772   if { { ac_try="$ac_compile"
1773 case "(($ac_try" in
1774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1775   *) ac_try_echo=$ac_try;;
1776 esac
1777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1778 $as_echo "$ac_try_echo"; } >&5
1779   (eval "$ac_compile") 2>conftest.err
1780   ac_status=$?
1781   if test -s conftest.err; then
1782     grep -v '^ *+' conftest.err >conftest.er1
1783     cat conftest.er1 >&5
1784     mv -f conftest.er1 conftest.err
1785   fi
1786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1787   test $ac_status = 0; } && {
1788          test -z "$ac_fc_werror_flag" ||
1789          test ! -s conftest.err
1790        } && test -s conftest.$ac_objext; then :
1791   ac_retval=0
1792 else
1793   $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1795
1796         ac_retval=1
1797 fi
1798   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799   return $ac_retval
1800
1801 } # ac_fn_fc_try_compile
1802
1803 # ac_fn_fc_try_link LINENO
1804 # ------------------------
1805 # Try to link conftest.$ac_ext, and return whether this succeeded.
1806 ac_fn_fc_try_link ()
1807 {
1808   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809   rm -f conftest.$ac_objext conftest$ac_exeext
1810   if { { ac_try="$ac_link"
1811 case "(($ac_try" in
1812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813   *) ac_try_echo=$ac_try;;
1814 esac
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817   (eval "$ac_link") 2>conftest.err
1818   ac_status=$?
1819   if test -s conftest.err; then
1820     grep -v '^ *+' conftest.err >conftest.er1
1821     cat conftest.er1 >&5
1822     mv -f conftest.er1 conftest.err
1823   fi
1824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825   test $ac_status = 0; } && {
1826          test -z "$ac_fc_werror_flag" ||
1827          test ! -s conftest.err
1828        } && test -s conftest$ac_exeext && {
1829          test "$cross_compiling" = yes ||
1830          $as_test_x conftest$ac_exeext
1831        }; then :
1832   ac_retval=0
1833 else
1834   $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1836
1837         ac_retval=1
1838 fi
1839   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1840   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1841   # interfere with the next link command; also delete a directory that is
1842   # left behind by Apple's compiler.  We do this before executing the actions.
1843   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1844   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1845   return $ac_retval
1846
1847 } # ac_fn_fc_try_link
1848
1849 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1850 # -------------------------------------------
1851 # Tests whether TYPE exists after having included INCLUDES, setting cache
1852 # variable VAR accordingly.
1853 ac_fn_c_check_type ()
1854 {
1855   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1856   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1857 $as_echo_n "checking for $2... " >&6; }
1858 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1859   $as_echo_n "(cached) " >&6
1860 else
1861   eval "$3=no"
1862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h.  */
1864 $4
1865 int
1866 main ()
1867 {
1868 if (sizeof ($2))
1869          return 0;
1870   ;
1871   return 0;
1872 }
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h.  */
1877 $4
1878 int
1879 main ()
1880 {
1881 if (sizeof (($2)))
1882             return 0;
1883   ;
1884   return 0;
1885 }
1886 _ACEOF
1887 if ac_fn_c_try_compile "$LINENO"; then :
1888
1889 else
1890   eval "$3=yes"
1891 fi
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893 fi
1894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 fi
1896 eval ac_res=\$$3
1897                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898 $as_echo "$ac_res" >&6; }
1899   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900
1901 } # ac_fn_c_check_type
1902
1903 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1904 # -------------------------------------------------------
1905 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1906 # the include files in INCLUDES and setting the cache variable VAR
1907 # accordingly.
1908 ac_fn_c_check_header_mongrel ()
1909 {
1910   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915   $as_echo_n "(cached) " >&6
1916 fi
1917 eval ac_res=\$$3
1918                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1920 else
1921   # Is the header compilable?
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1923 $as_echo_n "checking $2 usability... " >&6; }
1924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925 /* end confdefs.h.  */
1926 $4
1927 #include <$2>
1928 _ACEOF
1929 if ac_fn_c_try_compile "$LINENO"; then :
1930   ac_header_compiler=yes
1931 else
1932   ac_header_compiler=no
1933 fi
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1936 $as_echo "$ac_header_compiler" >&6; }
1937
1938 # Is the header present?
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1940 $as_echo_n "checking $2 presence... " >&6; }
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h.  */
1943 #include <$2>
1944 _ACEOF
1945 if ac_fn_c_try_cpp "$LINENO"; then :
1946   ac_header_preproc=yes
1947 else
1948   ac_header_preproc=no
1949 fi
1950 rm -f conftest.err conftest.$ac_ext
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1952 $as_echo "$ac_header_preproc" >&6; }
1953
1954 # So?  What about this header?
1955 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1956   yes:no: )
1957     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1958 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1959     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1960 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1961     ;;
1962   no:yes:* )
1963     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1964 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1965     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1966 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1967     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1968 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1969     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1970 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1972 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1973     ;;
1974 esac
1975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1978   $as_echo_n "(cached) " >&6
1979 else
1980   eval "$3=\$ac_header_compiler"
1981 fi
1982 eval ac_res=\$$3
1983                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1985 fi
1986   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1987
1988 } # ac_fn_c_check_header_mongrel
1989
1990 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1991 # --------------------------------------------
1992 # Tries to find the compile-time value of EXPR in a program that includes
1993 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1994 # computed
1995 ac_fn_c_compute_int ()
1996 {
1997   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998   if test "$cross_compiling" = yes; then
1999     # Depending upon the size, compute the lo and hi bounds.
2000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2001 /* end confdefs.h.  */
2002 $4
2003 int
2004 main ()
2005 {
2006 static int test_array [1 - 2 * !(($2) >= 0)];
2007 test_array [0] = 0
2008
2009   ;
2010   return 0;
2011 }
2012 _ACEOF
2013 if ac_fn_c_try_compile "$LINENO"; then :
2014   ac_lo=0 ac_mid=0
2015   while :; do
2016     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017 /* end confdefs.h.  */
2018 $4
2019 int
2020 main ()
2021 {
2022 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2023 test_array [0] = 0
2024
2025   ;
2026   return 0;
2027 }
2028 _ACEOF
2029 if ac_fn_c_try_compile "$LINENO"; then :
2030   ac_hi=$ac_mid; break
2031 else
2032   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2033                         if test $ac_lo -le $ac_mid; then
2034                           ac_lo= ac_hi=
2035                           break
2036                         fi
2037                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2038 fi
2039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2040   done
2041 else
2042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h.  */
2044 $4
2045 int
2046 main ()
2047 {
2048 static int test_array [1 - 2 * !(($2) < 0)];
2049 test_array [0] = 0
2050
2051   ;
2052   return 0;
2053 }
2054 _ACEOF
2055 if ac_fn_c_try_compile "$LINENO"; then :
2056   ac_hi=-1 ac_mid=-1
2057   while :; do
2058     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h.  */
2060 $4
2061 int
2062 main ()
2063 {
2064 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2065 test_array [0] = 0
2066
2067   ;
2068   return 0;
2069 }
2070 _ACEOF
2071 if ac_fn_c_try_compile "$LINENO"; then :
2072   ac_lo=$ac_mid; break
2073 else
2074   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2075                         if test $ac_mid -le $ac_hi; then
2076                           ac_lo= ac_hi=
2077                           break
2078                         fi
2079                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2080 fi
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082   done
2083 else
2084   ac_lo= ac_hi=
2085 fi
2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2087 fi
2088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2089 # Binary search between lo and hi bounds.
2090 while test "x$ac_lo" != "x$ac_hi"; do
2091   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h.  */
2094 $4
2095 int
2096 main ()
2097 {
2098 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2099 test_array [0] = 0
2100
2101   ;
2102   return 0;
2103 }
2104 _ACEOF
2105 if ac_fn_c_try_compile "$LINENO"; then :
2106   ac_hi=$ac_mid
2107 else
2108   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2109 fi
2110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2111 done
2112 case $ac_lo in #((
2113 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2114 '') ac_retval=1 ;;
2115 esac
2116   else
2117     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h.  */
2119 $4
2120 static long int longval () { return $2; }
2121 static unsigned long int ulongval () { return $2; }
2122 #include <stdio.h>
2123 #include <stdlib.h>
2124 int
2125 main ()
2126 {
2127
2128   FILE *f = fopen ("conftest.val", "w");
2129   if (! f)
2130     return 1;
2131   if (($2) < 0)
2132     {
2133       long int i = longval ();
2134       if (i != ($2))
2135         return 1;
2136       fprintf (f, "%ld", i);
2137     }
2138   else
2139     {
2140       unsigned long int i = ulongval ();
2141       if (i != ($2))
2142         return 1;
2143       fprintf (f, "%lu", i);
2144     }
2145   /* Do not output a trailing newline, as this causes \r\n confusion
2146      on some platforms.  */
2147   return ferror (f) || fclose (f) != 0;
2148
2149   ;
2150   return 0;
2151 }
2152 _ACEOF
2153 if ac_fn_c_try_run "$LINENO"; then :
2154   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2155 else
2156   ac_retval=1
2157 fi
2158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2159   conftest.$ac_objext conftest.beam conftest.$ac_ext
2160 rm -f conftest.val
2161
2162   fi
2163   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2164   return $ac_retval
2165
2166 } # ac_fn_c_compute_int
2167
2168 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2169 # ----------------------------------------------------
2170 # Tries to find if the field MEMBER exists in type AGGR, after including
2171 # INCLUDES, setting cache variable VAR accordingly.
2172 ac_fn_c_check_member ()
2173 {
2174   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2176 $as_echo_n "checking for $2.$3... " >&6; }
2177 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2178   $as_echo_n "(cached) " >&6
2179 else
2180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h.  */
2182 $5
2183 int
2184 main ()
2185 {
2186 static $2 ac_aggr;
2187 if (ac_aggr.$3)
2188 return 0;
2189   ;
2190   return 0;
2191 }
2192 _ACEOF
2193 if ac_fn_c_try_compile "$LINENO"; then :
2194   eval "$4=yes"
2195 else
2196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h.  */
2198 $5
2199 int
2200 main ()
2201 {
2202 static $2 ac_aggr;
2203 if (sizeof ac_aggr.$3)
2204 return 0;
2205   ;
2206   return 0;
2207 }
2208 _ACEOF
2209 if ac_fn_c_try_compile "$LINENO"; then :
2210   eval "$4=yes"
2211 else
2212   eval "$4=no"
2213 fi
2214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215 fi
2216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2217 fi
2218 eval ac_res=\$$4
2219                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2222
2223 } # ac_fn_c_check_member
2224 cat >config.log <<_ACEOF
2225 This file contains any messages produced by compilers while
2226 running configure, to aid debugging if configure makes a mistake.
2227
2228 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2229 generated by GNU Autoconf 2.64.  Invocation command line was
2230
2231   $ $0 $@
2232
2233 _ACEOF
2234 exec 5>>config.log
2235 {
2236 cat <<_ASUNAME
2237 ## --------- ##
2238 ## Platform. ##
2239 ## --------- ##
2240
2241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2246
2247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2248 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2249
2250 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2251 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2253 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2254 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2255 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2256 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2257
2258 _ASUNAME
2259
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 for as_dir in $PATH
2262 do
2263   IFS=$as_save_IFS
2264   test -z "$as_dir" && as_dir=.
2265     $as_echo "PATH: $as_dir"
2266   done
2267 IFS=$as_save_IFS
2268
2269 } >&5
2270
2271 cat >&5 <<_ACEOF
2272
2273
2274 ## ----------- ##
2275 ## Core tests. ##
2276 ## ----------- ##
2277
2278 _ACEOF
2279
2280
2281 # Keep a trace of the command line.
2282 # Strip out --no-create and --no-recursion so they do not pile up.
2283 # Strip out --silent because we don't want to record it for future runs.
2284 # Also quote any args containing shell meta-characters.
2285 # Make two passes to allow for proper duplicate-argument suppression.
2286 ac_configure_args=
2287 ac_configure_args0=
2288 ac_configure_args1=
2289 ac_must_keep_next=false
2290 for ac_pass in 1 2
2291 do
2292   for ac_arg
2293   do
2294     case $ac_arg in
2295     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2296     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2297     | -silent | --silent | --silen | --sile | --sil)
2298       continue ;;
2299     *\'*)
2300       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2301     esac
2302     case $ac_pass in
2303     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2304     2)
2305       as_fn_append ac_configure_args1 " '$ac_arg'"
2306       if test $ac_must_keep_next = true; then
2307         ac_must_keep_next=false # Got value, back to normal.
2308       else
2309         case $ac_arg in
2310           *=* | --config-cache | -C | -disable-* | --disable-* \
2311           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2312           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2313           | -with-* | --with-* | -without-* | --without-* | --x)
2314             case "$ac_configure_args0 " in
2315               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2316             esac
2317             ;;
2318           -* ) ac_must_keep_next=true ;;
2319         esac
2320       fi
2321       as_fn_append ac_configure_args " '$ac_arg'"
2322       ;;
2323     esac
2324   done
2325 done
2326 { ac_configure_args0=; unset ac_configure_args0;}
2327 { ac_configure_args1=; unset ac_configure_args1;}
2328
2329 # When interrupted or exit'd, cleanup temporary files, and complete
2330 # config.log.  We remove comments because anyway the quotes in there
2331 # would cause problems or look ugly.
2332 # WARNING: Use '\'' to represent an apostrophe within the trap.
2333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2334 trap 'exit_status=$?
2335   # Save into config.log some information that might help in debugging.
2336   {
2337     echo
2338
2339     cat <<\_ASBOX
2340 ## ---------------- ##
2341 ## Cache variables. ##
2342 ## ---------------- ##
2343 _ASBOX
2344     echo
2345     # The following way of writing the cache mishandles newlines in values,
2346 (
2347   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2348     eval ac_val=\$$ac_var
2349     case $ac_val in #(
2350     *${as_nl}*)
2351       case $ac_var in #(
2352       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2353 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2354       esac
2355       case $ac_var in #(
2356       _ | IFS | as_nl) ;; #(
2357       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2358       *) { eval $ac_var=; unset $ac_var;} ;;
2359       esac ;;
2360     esac
2361   done
2362   (set) 2>&1 |
2363     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2364     *${as_nl}ac_space=\ *)
2365       sed -n \
2366         "s/'\''/'\''\\\\'\'''\''/g;
2367           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2368       ;; #(
2369     *)
2370       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2371       ;;
2372     esac |
2373     sort
2374 )
2375     echo
2376
2377     cat <<\_ASBOX
2378 ## ----------------- ##
2379 ## Output variables. ##
2380 ## ----------------- ##
2381 _ASBOX
2382     echo
2383     for ac_var in $ac_subst_vars
2384     do
2385       eval ac_val=\$$ac_var
2386       case $ac_val in
2387       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2388       esac
2389       $as_echo "$ac_var='\''$ac_val'\''"
2390     done | sort
2391     echo
2392
2393     if test -n "$ac_subst_files"; then
2394       cat <<\_ASBOX
2395 ## ------------------- ##
2396 ## File substitutions. ##
2397 ## ------------------- ##
2398 _ASBOX
2399       echo
2400       for ac_var in $ac_subst_files
2401       do
2402         eval ac_val=\$$ac_var
2403         case $ac_val in
2404         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2405         esac
2406         $as_echo "$ac_var='\''$ac_val'\''"
2407       done | sort
2408       echo
2409     fi
2410
2411     if test -s confdefs.h; then
2412       cat <<\_ASBOX
2413 ## ----------- ##
2414 ## confdefs.h. ##
2415 ## ----------- ##
2416 _ASBOX
2417       echo
2418       cat confdefs.h
2419       echo
2420     fi
2421     test "$ac_signal" != 0 &&
2422       $as_echo "$as_me: caught signal $ac_signal"
2423     $as_echo "$as_me: exit $exit_status"
2424   } >&5
2425   rm -f core *.core core.conftest.* &&
2426     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2427     exit $exit_status
2428 ' 0
2429 for ac_signal in 1 2 13 15; do
2430   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2431 done
2432 ac_signal=0
2433
2434 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2435 rm -f -r conftest* confdefs.h
2436
2437 $as_echo "/* confdefs.h */" > confdefs.h
2438
2439 # Predefined preprocessor variables.
2440
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_NAME "$PACKAGE_NAME"
2443 _ACEOF
2444
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2447 _ACEOF
2448
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2451 _ACEOF
2452
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_STRING "$PACKAGE_STRING"
2455 _ACEOF
2456
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2459 _ACEOF
2460
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_URL "$PACKAGE_URL"
2463 _ACEOF
2464
2465
2466 # Let the site file select an alternate cache file if it wants to.
2467 # Prefer an explicitly selected file to automatically selected ones.
2468 ac_site_file1=NONE
2469 ac_site_file2=NONE
2470 if test -n "$CONFIG_SITE"; then
2471   ac_site_file1=$CONFIG_SITE
2472 elif test "x$prefix" != xNONE; then
2473   ac_site_file1=$prefix/share/config.site
2474   ac_site_file2=$prefix/etc/config.site
2475 else
2476   ac_site_file1=$ac_default_prefix/share/config.site
2477   ac_site_file2=$ac_default_prefix/etc/config.site
2478 fi
2479 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2480 do
2481   test "x$ac_site_file" = xNONE && continue
2482   if test -r "$ac_site_file"; then
2483     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2484 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2485     sed 's/^/| /' "$ac_site_file" >&5
2486     . "$ac_site_file"
2487   fi
2488 done
2489
2490 if test -r "$cache_file"; then
2491   # Some versions of bash will fail to source /dev/null (special
2492   # files actually), so we avoid doing that.
2493   if test -f "$cache_file"; then
2494     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2495 $as_echo "$as_me: loading cache $cache_file" >&6;}
2496     case $cache_file in
2497       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2498       *)                      . "./$cache_file";;
2499     esac
2500   fi
2501 else
2502   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2503 $as_echo "$as_me: creating cache $cache_file" >&6;}
2504   >$cache_file
2505 fi
2506
2507 # Check that the precious variables saved in the cache have kept the same
2508 # value.
2509 ac_cache_corrupted=false
2510 for ac_var in $ac_precious_vars; do
2511   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2512   eval ac_new_set=\$ac_env_${ac_var}_set
2513   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2514   eval ac_new_val=\$ac_env_${ac_var}_value
2515   case $ac_old_set,$ac_new_set in
2516     set,)
2517       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2518 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2519       ac_cache_corrupted=: ;;
2520     ,set)
2521       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2523       ac_cache_corrupted=: ;;
2524     ,);;
2525     *)
2526       if test "x$ac_old_val" != "x$ac_new_val"; then
2527         # differences in whitespace do not lead to failure.
2528         ac_old_val_w=`echo x $ac_old_val`
2529         ac_new_val_w=`echo x $ac_new_val`
2530         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2531           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2532 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2533           ac_cache_corrupted=:
2534         else
2535           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2536 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2537           eval $ac_var=\$ac_old_val
2538         fi
2539         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2540 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2541         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2542 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2543       fi;;
2544   esac
2545   # Pass precious variables to config.status.
2546   if test "$ac_new_set" = set; then
2547     case $ac_new_val in
2548     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2549     *) ac_arg=$ac_var=$ac_new_val ;;
2550     esac
2551     case " $ac_configure_args " in
2552       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2553       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2554     esac
2555   fi
2556 done
2557 if $ac_cache_corrupted; then
2558   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2561 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2562   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2563 fi
2564 ## -------------------- ##
2565 ## Main body of script. ##
2566 ## -------------------- ##
2567
2568 ac_ext=c
2569 ac_cpp='$CPP $CPPFLAGS'
2570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2573
2574
2575
2576
2577
2578 ac_config_headers="$ac_config_headers config.h"
2579
2580 ac_aux_dir=
2581 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2582   for ac_t in install-sh install.sh shtool; do
2583     if test -f "$ac_dir/$ac_t"; then
2584       ac_aux_dir=$ac_dir
2585       ac_install_sh="$ac_aux_dir/$ac_t -c"
2586       break 2
2587     fi
2588   done
2589 done
2590 if test -z "$ac_aux_dir"; then
2591   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2592 fi
2593
2594 # These three variables are undocumented and unsupported,
2595 # and are intended to be withdrawn in a future Autoconf release.
2596 # They can cause serious problems if a builder's source tree is in a directory
2597 # whose full name contains unusual characters.
2598 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2599 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2600 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2601
2602
2603 # Make sure we can run config.sub.
2604 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2605   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2606
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2608 $as_echo_n "checking build system type... " >&6; }
2609 if test "${ac_cv_build+set}" = set; then :
2610   $as_echo_n "(cached) " >&6
2611 else
2612   ac_build_alias=$build_alias
2613 test "x$ac_build_alias" = x &&
2614   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2615 test "x$ac_build_alias" = x &&
2616   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2617 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2618   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2619
2620 fi
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2622 $as_echo "$ac_cv_build" >&6; }
2623 case $ac_cv_build in
2624 *-*-*) ;;
2625 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2626 esac
2627 build=$ac_cv_build
2628 ac_save_IFS=$IFS; IFS='-'
2629 set x $ac_cv_build
2630 shift
2631 build_cpu=$1
2632 build_vendor=$2
2633 shift; shift
2634 # Remember, the first character of IFS is used to create $*,
2635 # except with old shells:
2636 build_os=$*
2637 IFS=$ac_save_IFS
2638 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2639
2640
2641  case ${build_alias} in
2642   "") build_noncanonical=${build} ;;
2643   *) build_noncanonical=${build_alias} ;;
2644 esac
2645
2646  case ${host_alias} in
2647   "") host_noncanonical=${build_noncanonical} ;;
2648   *) host_noncanonical=${host_alias} ;;
2649 esac
2650
2651  case ${target_alias} in
2652   "") target_noncanonical=${host_noncanonical} ;;
2653   *) target_noncanonical=${target_alias} ;;
2654 esac
2655
2656
2657 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2658 # have matching libraries, they should use host libraries: Makefile.tpl
2659 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2660 # However, they still use the build modules, because the corresponding
2661 # host modules (e.g. bison) are only built for the host when bootstrap
2662 # finishes. So:
2663 # - build_subdir is where we find build modules, and never changes.
2664 # - build_libsubdir is where we find build libraries, and can be overridden.
2665
2666 # Prefix 'build-' so this never conflicts with target_subdir.
2667 build_subdir="build-${build_noncanonical}"
2668
2669 # Check whether --with-build-libsubdir was given.
2670 if test "${with_build_libsubdir+set}" = set; then :
2671   withval=$with_build_libsubdir; build_libsubdir="$withval"
2672 else
2673   build_libsubdir="$build_subdir"
2674 fi
2675
2676 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2677 if ( test $srcdir = . && test -d gcc ) \
2678    || test -d $srcdir/../host-${host_noncanonical}; then
2679   host_subdir="host-${host_noncanonical}"
2680 else
2681   host_subdir=.
2682 fi
2683 # No prefix.
2684 target_subdir=${target_noncanonical}
2685
2686
2687 # -------
2688 # Options
2689 # -------
2690
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2692 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2693 # Check whether --enable-version-specific-runtime-libs was given.
2694 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2695   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2696  yes) version_specific_libs=yes ;;
2697  no)  version_specific_libs=no ;;
2698  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2699  esac
2700 else
2701   version_specific_libs=no
2702 fi
2703
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2705 $as_echo "$version_specific_libs" >&6; }
2706
2707 # Build with intermodule optimisations
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2709 $as_echo_n "checking for --enable-intermodule... " >&6; }
2710 # Check whether --enable-intermodule was given.
2711 if test "${enable_intermodule+set}" = set; then :
2712   enableval=$enable_intermodule; case "$enable_intermodule" in
2713   yes) onestep="-onestep";;
2714     *) onestep="";;
2715 esac
2716 else
2717   onestep=""
2718 fi
2719
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2721 $as_echo "$enable_intermodule" >&6; }
2722  if test x$onestep = x-onestep; then
2723   onestep_TRUE=
2724   onestep_FALSE='#'
2725 else
2726   onestep_TRUE='#'
2727   onestep_FALSE=
2728 fi
2729
2730
2731
2732 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2733 #
2734 # You will slowly go insane if you do not grok the following fact:  when
2735 # building this library, the top-level /target/ becomes the library's /host/.
2736 #
2737 # configure then causes --target to default to --host, exactly like any
2738 # other package using autoconf.  Therefore, 'target' and 'host' will
2739 # always be the same.  This makes sense both for native and cross compilers
2740 # just think about it for a little while.  :-)
2741 #
2742 # Also, if this library is being configured as part of a cross compiler, the
2743 # top-level configure script will pass the "real" host as $with_cross_host.
2744 #
2745 # Do not delete or change the following two lines.  For why, see
2746 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2748 $as_echo_n "checking host system type... " >&6; }
2749 if test "${ac_cv_host+set}" = set; then :
2750   $as_echo_n "(cached) " >&6
2751 else
2752   if test "x$host_alias" = x; then
2753   ac_cv_host=$ac_cv_build
2754 else
2755   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2756     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2757 fi
2758
2759 fi
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2761 $as_echo "$ac_cv_host" >&6; }
2762 case $ac_cv_host in
2763 *-*-*) ;;
2764 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2765 esac
2766 host=$ac_cv_host
2767 ac_save_IFS=$IFS; IFS='-'
2768 set x $ac_cv_host
2769 shift
2770 host_cpu=$1
2771 host_vendor=$2
2772 shift; shift
2773 # Remember, the first character of IFS is used to create $*,
2774 # except with old shells:
2775 host_os=$*
2776 IFS=$ac_save_IFS
2777 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2778
2779
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2781 $as_echo_n "checking target system type... " >&6; }
2782 if test "${ac_cv_target+set}" = set; then :
2783   $as_echo_n "(cached) " >&6
2784 else
2785   if test "x$target_alias" = x; then
2786   ac_cv_target=$ac_cv_host
2787 else
2788   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2789     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2790 fi
2791
2792 fi
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2794 $as_echo "$ac_cv_target" >&6; }
2795 case $ac_cv_target in
2796 *-*-*) ;;
2797 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2798 esac
2799 target=$ac_cv_target
2800 ac_save_IFS=$IFS; IFS='-'
2801 set x $ac_cv_target
2802 shift
2803 target_cpu=$1
2804 target_vendor=$2
2805 shift; shift
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2808 target_os=$*
2809 IFS=$ac_save_IFS
2810 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2811
2812
2813 # The aliases save the names the user supplied, while $host etc.
2814 # will get canonicalized.
2815 test -n "$target_alias" &&
2816   test "$program_prefix$program_suffix$program_transform_name" = \
2817     NONENONEs,x,x, &&
2818   program_prefix=${target_alias}-
2819
2820 target_alias=${target_alias-$host_alias}
2821
2822 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2823 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2824 #  1.9.6:  minimum required version
2825 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2826 #              of other PACKAGE_* variables will, however, and there's nothing
2827 #              we can do about that; they come from AC_INIT).
2828 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2829 #            file in the top srcdir, etc, etc), so stop complaining.
2830 #  -Wall:  turns on all automake warnings...
2831 #  -Wno-portability:  ...except this one, since GNU make is required.
2832 am__api_version='1.11'
2833
2834 # Find a good install program.  We prefer a C program (faster),
2835 # so one script is as good as another.  But avoid the broken or
2836 # incompatible versions:
2837 # SysV /etc/install, /usr/sbin/install
2838 # SunOS /usr/etc/install
2839 # IRIX /sbin/install
2840 # AIX /bin/install
2841 # AmigaOS /C/install, which installs bootblocks on floppy discs
2842 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2843 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2844 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2845 # OS/2's system install, which has a completely different semantic
2846 # ./install, which can be erroneously created by make from ./install.sh.
2847 # Reject install programs that cannot install multiple files.
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2849 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2850 if test -z "$INSTALL"; then
2851 if test "${ac_cv_path_install+set}" = set; then :
2852   $as_echo_n "(cached) " >&6
2853 else
2854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855 for as_dir in $PATH
2856 do
2857   IFS=$as_save_IFS
2858   test -z "$as_dir" && as_dir=.
2859     # Account for people who put trailing slashes in PATH elements.
2860 case $as_dir/ in #((
2861   ./ | .// | /[cC]/* | \
2862   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2863   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2864   /usr/ucb/* ) ;;
2865   *)
2866     # OSF1 and SCO ODT 3.0 have their own names for install.
2867     # Don't use installbsd from OSF since it installs stuff as root
2868     # by default.
2869     for ac_prog in ginstall scoinst install; do
2870       for ac_exec_ext in '' $ac_executable_extensions; do
2871         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2872           if test $ac_prog = install &&
2873             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2874             # AIX install.  It has an incompatible calling convention.
2875             :
2876           elif test $ac_prog = install &&
2877             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2878             # program-specific install script used by HP pwplus--don't use.
2879             :
2880           else
2881             rm -rf conftest.one conftest.two conftest.dir
2882             echo one > conftest.one
2883             echo two > conftest.two
2884             mkdir conftest.dir
2885             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2886               test -s conftest.one && test -s conftest.two &&
2887               test -s conftest.dir/conftest.one &&
2888               test -s conftest.dir/conftest.two
2889             then
2890               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2891               break 3
2892             fi
2893           fi
2894         fi
2895       done
2896     done
2897     ;;
2898 esac
2899
2900   done
2901 IFS=$as_save_IFS
2902
2903 rm -rf conftest.one conftest.two conftest.dir
2904
2905 fi
2906   if test "${ac_cv_path_install+set}" = set; then
2907     INSTALL=$ac_cv_path_install
2908   else
2909     # As a last resort, use the slow shell script.  Don't cache a
2910     # value for INSTALL within a source directory, because that will
2911     # break other packages using the cache if that directory is
2912     # removed, or if the value is a relative name.
2913     INSTALL=$ac_install_sh
2914   fi
2915 fi
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2917 $as_echo "$INSTALL" >&6; }
2918
2919 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2920 # It thinks the first close brace ends the variable substitution.
2921 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2922
2923 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2924
2925 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2926
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2928 $as_echo_n "checking whether build environment is sane... " >&6; }
2929 # Just in case
2930 sleep 1
2931 echo timestamp > conftest.file
2932 # Reject unsafe characters in $srcdir or the absolute working directory
2933 # name.  Accept space and tab only in the latter.
2934 am_lf='
2935 '
2936 case `pwd` in
2937   *[\\\"\#\$\&\'\`$am_lf]*)
2938     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2939 esac
2940 case $srcdir in
2941   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2942     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2943 esac
2944
2945 # Do `set' in a subshell so we don't clobber the current shell's
2946 # arguments.  Must try -L first in case configure is actually a
2947 # symlink; some systems play weird games with the mod time of symlinks
2948 # (eg FreeBSD returns the mod time of the symlink's containing
2949 # directory).
2950 if (
2951    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2952    if test "$*" = "X"; then
2953       # -L didn't work.
2954       set X `ls -t "$srcdir/configure" conftest.file`
2955    fi
2956    rm -f conftest.file
2957    if test "$*" != "X $srcdir/configure conftest.file" \
2958       && test "$*" != "X conftest.file $srcdir/configure"; then
2959
2960       # If neither matched, then we have a broken ls.  This can happen
2961       # if, for instance, CONFIG_SHELL is bash and it inherits a
2962       # broken ls alias from the environment.  This has actually
2963       # happened.  Such a system could not be considered "sane".
2964       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2965 alias in your environment" "$LINENO" 5
2966    fi
2967
2968    test "$2" = conftest.file
2969    )
2970 then
2971    # Ok.
2972    :
2973 else
2974    as_fn_error "newly created file is older than distributed files!
2975 Check your system clock" "$LINENO" 5
2976 fi
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2978 $as_echo "yes" >&6; }
2979 test "$program_prefix" != NONE &&
2980   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2981 # Use a double $ so make ignores it.
2982 test "$program_suffix" != NONE &&
2983   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2984 # Double any \ or $.
2985 # By default was `s,x,x', remove it if useless.
2986 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2987 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2988
2989 # expand $ac_aux_dir to an absolute path
2990 am_aux_dir=`cd $ac_aux_dir && pwd`
2991
2992 if test x"${MISSING+set}" != xset; then
2993   case $am_aux_dir in
2994   *\ * | *\     *)
2995     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2996   *)
2997     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2998   esac
2999 fi
3000 # Use eval to expand $SHELL
3001 if eval "$MISSING --run true"; then
3002   am_missing_run="$MISSING --run "
3003 else
3004   am_missing_run=
3005   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3006 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3007 fi
3008
3009 if test x"${install_sh}" != xset; then
3010   case $am_aux_dir in
3011   *\ * | *\     *)
3012     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3013   *)
3014     install_sh="\${SHELL} $am_aux_dir/install-sh"
3015   esac
3016 fi
3017
3018 # Installed binaries are usually stripped using `strip' when the user
3019 # run `make install-strip'.  However `strip' might not be the right
3020 # tool to use in cross-compilation environments, therefore Automake
3021 # will honor the `STRIP' environment variable to overrule this program.
3022 if test "$cross_compiling" != no; then
3023   if test -n "$ac_tool_prefix"; then
3024   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3025 set dummy ${ac_tool_prefix}strip; ac_word=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if test "${ac_cv_prog_STRIP+set}" = set; then :
3029   $as_echo_n "(cached) " >&6
3030 else
3031   if test -n "$STRIP"; then
3032   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3033 else
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 for as_dir in $PATH
3036 do
3037   IFS=$as_save_IFS
3038   test -z "$as_dir" && as_dir=.
3039     for ac_exec_ext in '' $ac_executable_extensions; do
3040   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3041     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3042     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3043     break 2
3044   fi
3045 done
3046   done
3047 IFS=$as_save_IFS
3048
3049 fi
3050 fi
3051 STRIP=$ac_cv_prog_STRIP
3052 if test -n "$STRIP"; then
3053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3054 $as_echo "$STRIP" >&6; }
3055 else
3056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3058 fi
3059
3060
3061 fi
3062 if test -z "$ac_cv_prog_STRIP"; then
3063   ac_ct_STRIP=$STRIP
3064   # Extract the first word of "strip", so it can be a program name with args.
3065 set dummy strip; ac_word=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3069   $as_echo_n "(cached) " >&6
3070 else
3071   if test -n "$ac_ct_STRIP"; then
3072   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3073 else
3074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3075 for as_dir in $PATH
3076 do
3077   IFS=$as_save_IFS
3078   test -z "$as_dir" && as_dir=.
3079     for ac_exec_ext in '' $ac_executable_extensions; do
3080   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3081     ac_cv_prog_ac_ct_STRIP="strip"
3082     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3083     break 2
3084   fi
3085 done
3086   done
3087 IFS=$as_save_IFS
3088
3089 fi
3090 fi
3091 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3092 if test -n "$ac_ct_STRIP"; then
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3094 $as_echo "$ac_ct_STRIP" >&6; }
3095 else
3096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3097 $as_echo "no" >&6; }
3098 fi
3099
3100   if test "x$ac_ct_STRIP" = x; then
3101     STRIP=":"
3102   else
3103     case $cross_compiling:$ac_tool_warned in
3104 yes:)
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3107 ac_tool_warned=yes ;;
3108 esac
3109     STRIP=$ac_ct_STRIP
3110   fi
3111 else
3112   STRIP="$ac_cv_prog_STRIP"
3113 fi
3114
3115 fi
3116 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3117
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3119 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3120 if test -z "$MKDIR_P"; then
3121   if test "${ac_cv_path_mkdir+set}" = set; then :
3122   $as_echo_n "(cached) " >&6
3123 else
3124   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3126 do
3127   IFS=$as_save_IFS
3128   test -z "$as_dir" && as_dir=.
3129     for ac_prog in mkdir gmkdir; do
3130          for ac_exec_ext in '' $ac_executable_extensions; do
3131            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3132            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3133              'mkdir (GNU coreutils) '* | \
3134              'mkdir (coreutils) '* | \
3135              'mkdir (fileutils) '4.1*)
3136                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3137                break 3;;
3138            esac
3139          done
3140        done
3141   done
3142 IFS=$as_save_IFS
3143
3144 fi
3145
3146   if test "${ac_cv_path_mkdir+set}" = set; then
3147     MKDIR_P="$ac_cv_path_mkdir -p"
3148   else
3149     # As a last resort, use the slow shell script.  Don't cache a
3150     # value for MKDIR_P within a source directory, because that will
3151     # break other packages using the cache if that directory is
3152     # removed, or if the value is a relative name.
3153     test -d ./--version && rmdir ./--version
3154     MKDIR_P="$ac_install_sh -d"
3155   fi
3156 fi
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3158 $as_echo "$MKDIR_P" >&6; }
3159
3160 mkdir_p="$MKDIR_P"
3161 case $mkdir_p in
3162   [\\/$]* | ?:[\\/]*) ;;
3163   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3164 esac
3165
3166 for ac_prog in gawk mawk nawk awk
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_AWK+set}" = set; then :
3173   $as_echo_n "(cached) " >&6
3174 else
3175   if test -n "$AWK"; then
3176   ac_cv_prog_AWK="$AWK" # 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_AWK="$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 AWK=$ac_cv_prog_AWK
3196 if test -n "$AWK"; then
3197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3198 $as_echo "$AWK" >&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 "$AWK" && break
3206 done
3207
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3209 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3210 set x ${MAKE-make}
3211 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3212 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3213   $as_echo_n "(cached) " >&6
3214 else
3215   cat >conftest.make <<\_ACEOF
3216 SHELL = /bin/sh
3217 all:
3218         @echo '@@@%%%=$(MAKE)=@@@%%%'
3219 _ACEOF
3220 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3221 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3222   *@@@%%%=?*=@@@%%%*)
3223     eval ac_cv_prog_make_${ac_make}_set=yes;;
3224   *)
3225     eval ac_cv_prog_make_${ac_make}_set=no;;
3226 esac
3227 rm -f conftest.make
3228 fi
3229 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3231 $as_echo "yes" >&6; }
3232   SET_MAKE=
3233 else
3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3235 $as_echo "no" >&6; }
3236   SET_MAKE="MAKE=${MAKE-make}"
3237 fi
3238
3239 rm -rf .tst 2>/dev/null
3240 mkdir .tst 2>/dev/null
3241 if test -d .tst; then
3242   am__leading_dot=.
3243 else
3244   am__leading_dot=_
3245 fi
3246 rmdir .tst 2>/dev/null
3247
3248 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3249   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3250   # is not polluted with repeated "-I."
3251   am__isrc=' -I$(srcdir)'
3252   # test to see if srcdir already configured
3253   if test -f $srcdir/config.status; then
3254     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3255   fi
3256 fi
3257
3258 # test whether we have cygpath
3259 if test -z "$CYGPATH_W"; then
3260   if (cygpath --version) >/dev/null 2>/dev/null; then
3261     CYGPATH_W='cygpath -w'
3262   else
3263     CYGPATH_W=echo
3264   fi
3265 fi
3266
3267
3268 # Define the identity of the package.
3269  PACKAGE='libgfortran'
3270  VERSION='0.3'
3271
3272
3273 # Some tools Automake needs.
3274
3275 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3276
3277
3278 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3279
3280
3281 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3282
3283
3284 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3285
3286
3287 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3288
3289 # We need awk for the "check" target.  The system "awk" is bad on
3290 # some platforms.
3291 # Always define AMTAR for backward compatibility.
3292
3293 AMTAR=${AMTAR-"${am_missing_run}tar"}
3294
3295 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3296
3297
3298
3299
3300
3301
3302
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3304 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3305     # Check whether --enable-maintainer-mode was given.
3306 if test "${enable_maintainer_mode+set}" = set; then :
3307   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3308 else
3309   USE_MAINTAINER_MODE=no
3310 fi
3311
3312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3313 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3314    if test $USE_MAINTAINER_MODE = yes; then
3315   MAINTAINER_MODE_TRUE=
3316   MAINTAINER_MODE_FALSE='#'
3317 else
3318   MAINTAINER_MODE_TRUE='#'
3319   MAINTAINER_MODE_FALSE=
3320 fi
3321
3322   MAINT=$MAINTAINER_MODE_TRUE
3323
3324
3325 # Default to --enable-multilib
3326 # Check whether --enable-multilib was given.
3327 if test "${enable_multilib+set}" = set; then :
3328   enableval=$enable_multilib; case "$enableval" in
3329   yes) multilib=yes ;;
3330   no)  multilib=no ;;
3331   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3332  esac
3333 else
3334   multilib=yes
3335 fi
3336
3337
3338 # We may get other options which we leave undocumented:
3339 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3340 # See config-ml.in if you want the gory details.
3341
3342 if test "$srcdir" = "."; then
3343   if test "$with_target_subdir" != "."; then
3344     multi_basedir="$srcdir/$with_multisrctop../.."
3345   else
3346     multi_basedir="$srcdir/$with_multisrctop.."
3347   fi
3348 else
3349   multi_basedir="$srcdir/.."
3350 fi
3351
3352
3353 # Even if the default multilib is not a cross compilation,
3354 # it may be that some of the other multilibs are.
3355 if test $cross_compiling = no && test $multilib = yes \
3356    && test "x${with_multisubdir}" != x ; then
3357    cross_compiling=maybe
3358 fi
3359
3360 ac_config_commands="$ac_config_commands default-1"
3361
3362
3363 # Handy for debugging:
3364 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3365
3366 # Are we being configured with some form of cross compiler?
3367 # NB: We don't actually need to know this just now, but when, say, a test
3368 #     suite is included, we'll have to know.
3369 if test "$build" != "$host"; then
3370   LIBGFOR_IS_NATIVE=false
3371
3372 else
3373   LIBGFOR_IS_NATIVE=true
3374 fi
3375
3376 # Calculate toolexeclibdir
3377 # Also toolexecdir, though it's only used in toolexeclibdir
3378 case ${version_specific_libs} in
3379   yes)
3380     # Need the gcc compiler version to know where to install libraries
3381     # and header files if --enable-version-specific-runtime-libs option
3382     # is selected.
3383     toolexecdir='$(libdir)/gcc/$(target_alias)'
3384     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3385     ;;
3386   no)
3387     if test -n "$with_cross_host" &&
3388        test x"$with_cross_host" != x"no"; then
3389       # Install a library built with a cross compiler in tooldir, not libdir.
3390       toolexecdir='$(exec_prefix)/$(target_alias)'
3391       toolexeclibdir='$(toolexecdir)/lib'
3392     else
3393       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3394       toolexeclibdir='$(libdir)'
3395     fi
3396     multi_os_directory=`$CC -print-multi-os-directory`
3397     case $multi_os_directory in
3398       .) ;; # Avoid trailing /.
3399       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3400     esac
3401     ;;
3402 esac
3403
3404
3405
3406 # Check the compiler.
3407 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3408 # We must force CC to /not/ be precious variables; otherwise
3409 # the wrong, non-multilib-adjusted value will be used in multilibs.
3410 # As a side effect, we have to subst CFLAGS ourselves.
3411
3412
3413
3414 ac_ext=c
3415 ac_cpp='$CPP $CPPFLAGS'
3416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3419 if test -n "$ac_tool_prefix"; then
3420   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3421 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3423 $as_echo_n "checking for $ac_word... " >&6; }
3424 if test "${ac_cv_prog_CC+set}" = set; then :
3425   $as_echo_n "(cached) " >&6
3426 else
3427   if test -n "$CC"; then
3428   ac_cv_prog_CC="$CC" # Let the user override the test.
3429 else
3430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3431 for as_dir in $PATH
3432 do
3433   IFS=$as_save_IFS
3434   test -z "$as_dir" && as_dir=.
3435     for ac_exec_ext in '' $ac_executable_extensions; do
3436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3437     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439     break 2
3440   fi
3441 done
3442   done
3443 IFS=$as_save_IFS
3444
3445 fi
3446 fi
3447 CC=$ac_cv_prog_CC
3448 if test -n "$CC"; then
3449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3450 $as_echo "$CC" >&6; }
3451 else
3452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3453 $as_echo "no" >&6; }
3454 fi
3455
3456
3457 fi
3458 if test -z "$ac_cv_prog_CC"; then
3459   ac_ct_CC=$CC
3460   # Extract the first word of "gcc", so it can be a program name with args.
3461 set dummy gcc; ac_word=$2
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3463 $as_echo_n "checking for $ac_word... " >&6; }
3464 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3465   $as_echo_n "(cached) " >&6
3466 else
3467   if test -n "$ac_ct_CC"; then
3468   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3469 else
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in $PATH
3472 do
3473   IFS=$as_save_IFS
3474   test -z "$as_dir" && as_dir=.
3475     for ac_exec_ext in '' $ac_executable_extensions; do
3476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3477     ac_cv_prog_ac_ct_CC="gcc"
3478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479     break 2
3480   fi
3481 done
3482   done
3483 IFS=$as_save_IFS
3484
3485 fi
3486 fi
3487 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3488 if test -n "$ac_ct_CC"; then
3489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3490 $as_echo "$ac_ct_CC" >&6; }
3491 else
3492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493 $as_echo "no" >&6; }
3494 fi
3495
3496   if test "x$ac_ct_CC" = x; then
3497     CC=""
3498   else
3499     case $cross_compiling:$ac_tool_warned in
3500 yes:)
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3503 ac_tool_warned=yes ;;
3504 esac
3505     CC=$ac_ct_CC
3506   fi
3507 else
3508   CC="$ac_cv_prog_CC"
3509 fi
3510
3511 if test -z "$CC"; then
3512           if test -n "$ac_tool_prefix"; then
3513     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3514 set dummy ${ac_tool_prefix}cc; ac_word=$2
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3516 $as_echo_n "checking for $ac_word... " >&6; }
3517 if test "${ac_cv_prog_CC+set}" = set; then :
3518   $as_echo_n "(cached) " >&6
3519 else
3520   if test -n "$CC"; then
3521   ac_cv_prog_CC="$CC" # Let the user override the test.
3522 else
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3524 for as_dir in $PATH
3525 do
3526   IFS=$as_save_IFS
3527   test -z "$as_dir" && as_dir=.
3528     for ac_exec_ext in '' $ac_executable_extensions; do
3529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3530     ac_cv_prog_CC="${ac_tool_prefix}cc"
3531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532     break 2
3533   fi
3534 done
3535   done
3536 IFS=$as_save_IFS
3537
3538 fi
3539 fi
3540 CC=$ac_cv_prog_CC
3541 if test -n "$CC"; then
3542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3543 $as_echo "$CC" >&6; }
3544 else
3545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3546 $as_echo "no" >&6; }
3547 fi
3548
3549
3550   fi
3551 fi
3552 if test -z "$CC"; then
3553   # Extract the first word of "cc", so it can be a program name with args.
3554 set dummy cc; ac_word=$2
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3556 $as_echo_n "checking for $ac_word... " >&6; }
3557 if test "${ac_cv_prog_CC+set}" = set; then :
3558   $as_echo_n "(cached) " >&6
3559 else
3560   if test -n "$CC"; then
3561   ac_cv_prog_CC="$CC" # Let the user override the test.
3562 else
3563   ac_prog_rejected=no
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH
3566 do
3567   IFS=$as_save_IFS
3568   test -z "$as_dir" && as_dir=.
3569     for ac_exec_ext in '' $ac_executable_extensions; do
3570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3572        ac_prog_rejected=yes
3573        continue
3574      fi
3575     ac_cv_prog_CC="cc"
3576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577     break 2
3578   fi
3579 done
3580   done
3581 IFS=$as_save_IFS
3582
3583 if test $ac_prog_rejected = yes; then
3584   # We found a bogon in the path, so make sure we never use it.
3585   set dummy $ac_cv_prog_CC
3586   shift
3587   if test $# != 0; then
3588     # We chose a different compiler from the bogus one.
3589     # However, it has the same basename, so the bogon will be chosen
3590     # first if we set CC to just the basename; use the full file name.
3591     shift
3592     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3593   fi
3594 fi
3595 fi
3596 fi
3597 CC=$ac_cv_prog_CC
3598 if test -n "$CC"; then
3599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3600 $as_echo "$CC" >&6; }
3601 else
3602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603 $as_echo "no" >&6; }
3604 fi
3605
3606
3607 fi
3608 if test -z "$CC"; then
3609   if test -n "$ac_tool_prefix"; then
3610   for ac_prog in cl.exe
3611   do
3612     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3613 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3615 $as_echo_n "checking for $ac_word... " >&6; }
3616 if test "${ac_cv_prog_CC+set}" = set; then :
3617   $as_echo_n "(cached) " >&6
3618 else
3619   if test -n "$CC"; then
3620   ac_cv_prog_CC="$CC" # Let the user override the test.
3621 else
3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3623 for as_dir in $PATH
3624 do
3625   IFS=$as_save_IFS
3626   test -z "$as_dir" && as_dir=.
3627     for ac_exec_ext in '' $ac_executable_extensions; do
3628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3629     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3631     break 2
3632   fi
3633 done
3634   done
3635 IFS=$as_save_IFS
3636
3637 fi
3638 fi
3639 CC=$ac_cv_prog_CC
3640 if test -n "$CC"; then
3641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3642 $as_echo "$CC" >&6; }
3643 else
3644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3645 $as_echo "no" >&6; }
3646 fi
3647
3648
3649     test -n "$CC" && break
3650   done
3651 fi
3652 if test -z "$CC"; then
3653   ac_ct_CC=$CC
3654   for ac_prog in cl.exe
3655 do
3656   # Extract the first word of "$ac_prog", so it can be a program name with args.
3657 set dummy $ac_prog; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3661   $as_echo_n "(cached) " >&6
3662 else
3663   if test -n "$ac_ct_CC"; then
3664   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3665 else
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 for as_dir in $PATH
3668 do
3669   IFS=$as_save_IFS
3670   test -z "$as_dir" && as_dir=.
3671     for ac_exec_ext in '' $ac_executable_extensions; do
3672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3673     ac_cv_prog_ac_ct_CC="$ac_prog"
3674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3675     break 2
3676   fi
3677 done
3678   done
3679 IFS=$as_save_IFS
3680
3681 fi
3682 fi
3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3684 if test -n "$ac_ct_CC"; then
3685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3686 $as_echo "$ac_ct_CC" >&6; }
3687 else
3688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3690 fi
3691
3692
3693   test -n "$ac_ct_CC" && break
3694 done
3695
3696   if test "x$ac_ct_CC" = x; then
3697     CC=""
3698   else
3699     case $cross_compiling:$ac_tool_warned in
3700 yes:)
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3702 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3703 ac_tool_warned=yes ;;
3704 esac
3705     CC=$ac_ct_CC
3706   fi
3707 fi
3708
3709 fi
3710
3711
3712 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3713 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3714 as_fn_error "no acceptable C compiler found in \$PATH
3715 See \`config.log' for more details." "$LINENO" 5; }
3716
3717 # Provide some information about the compiler.
3718 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3719 set X $ac_compile
3720 ac_compiler=$2
3721 for ac_option in --version -v -V -qversion; do
3722   { { ac_try="$ac_compiler $ac_option >&5"
3723 case "(($ac_try" in
3724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725   *) ac_try_echo=$ac_try;;
3726 esac
3727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3728 $as_echo "$ac_try_echo"; } >&5
3729   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3730   ac_status=$?
3731   if test -s conftest.err; then
3732     sed '10a\
3733 ... rest of stderr output deleted ...
3734          10q' conftest.err >conftest.er1
3735     cat conftest.er1 >&5
3736     rm -f conftest.er1 conftest.err
3737   fi
3738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739   test $ac_status = 0; }
3740 done
3741
3742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3743 /* end confdefs.h.  */
3744
3745 int
3746 main ()
3747 {
3748
3749   ;
3750   return 0;
3751 }
3752 _ACEOF
3753 # FIXME: Cleanup?
3754 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3755   (eval $ac_link) 2>&5
3756   ac_status=$?
3757   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3758   test $ac_status = 0; }; then :
3759   gcc_no_link=no
3760 else
3761   gcc_no_link=yes
3762 fi
3763 if test x$gcc_no_link = xyes; then
3764   # Setting cross_compile will disable run tests; it will
3765   # also disable AC_CHECK_FILE but that's generally
3766   # correct if we can't link.
3767   cross_compiling=yes
3768   EXEEXT=
3769 else
3770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h.  */
3772
3773 int
3774 main ()
3775 {
3776
3777   ;
3778   return 0;
3779 }
3780 _ACEOF
3781 ac_clean_files_save=$ac_clean_files
3782 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3783 # Try to create an executable without -o first, disregard a.out.
3784 # It will help us diagnose broken compilers, and finding out an intuition
3785 # of exeext.
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3787 $as_echo_n "checking for C compiler default output file name... " >&6; }
3788 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3789
3790 # The possible output files:
3791 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3792
3793 ac_rmfiles=
3794 for ac_file in $ac_files
3795 do
3796   case $ac_file in
3797     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3798     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3799   esac
3800 done
3801 rm -f $ac_rmfiles
3802
3803 if { { ac_try="$ac_link_default"
3804 case "(($ac_try" in
3805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806   *) ac_try_echo=$ac_try;;
3807 esac
3808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810   (eval "$ac_link_default") 2>&5
3811   ac_status=$?
3812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813   test $ac_status = 0; }; then :
3814   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3815 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3816 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3817 # so that the user can short-circuit this test for compilers unknown to
3818 # Autoconf.
3819 for ac_file in $ac_files ''
3820 do
3821   test -f "$ac_file" || continue
3822   case $ac_file in
3823     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3824         ;;
3825     [ab].out )
3826         # We found the default executable, but exeext='' is most
3827         # certainly right.
3828         break;;
3829     *.* )
3830         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3831         then :; else
3832            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3833         fi
3834         # We set ac_cv_exeext here because the later test for it is not
3835         # safe: cross compilers may not add the suffix if given an `-o'
3836         # argument, so we may need to know it at that point already.
3837         # Even if this section looks crufty: it has the advantage of
3838         # actually working.
3839         break;;
3840     * )
3841         break;;
3842   esac
3843 done
3844 test "$ac_cv_exeext" = no && ac_cv_exeext=
3845
3846 else
3847   ac_file=''
3848 fi
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3850 $as_echo "$ac_file" >&6; }
3851 if test -z "$ac_file"; then :
3852   $as_echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3854
3855 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3856 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3857 { as_fn_set_status 77
3858 as_fn_error "C compiler cannot create executables
3859 See \`config.log' for more details." "$LINENO" 5; }; }
3860 fi
3861 ac_exeext=$ac_cv_exeext
3862
3863 # Check that the compiler produces executables we can run.  If not, either
3864 # the compiler is broken, or we cross compile.
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3866 $as_echo_n "checking whether the C compiler works... " >&6; }
3867 # If not cross compiling, check that we can run a simple program.
3868 if test "$cross_compiling" != yes; then
3869   if { ac_try='./$ac_file'
3870   { { case "(($ac_try" in
3871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872   *) ac_try_echo=$ac_try;;
3873 esac
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 $as_echo "$ac_try_echo"; } >&5
3876   (eval "$ac_try") 2>&5
3877   ac_status=$?
3878   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879   test $ac_status = 0; }; }; then
3880     cross_compiling=no
3881   else
3882     if test "$cross_compiling" = maybe; then
3883         cross_compiling=yes
3884     else
3885         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3887 as_fn_error "cannot run C compiled programs.
3888 If you meant to cross compile, use \`--host'.
3889 See \`config.log' for more details." "$LINENO" 5; }
3890     fi
3891   fi
3892 fi
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3894 $as_echo "yes" >&6; }
3895
3896 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3897 ac_clean_files=$ac_clean_files_save
3898 # Check that the compiler produces executables we can run.  If not, either
3899 # the compiler is broken, or we cross compile.
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3901 $as_echo_n "checking whether we are cross compiling... " >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3903 $as_echo "$cross_compiling" >&6; }
3904
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3906 $as_echo_n "checking for suffix of executables... " >&6; }
3907 if { { ac_try="$ac_link"
3908 case "(($ac_try" in
3909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910   *) ac_try_echo=$ac_try;;
3911 esac
3912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913 $as_echo "$ac_try_echo"; } >&5
3914   (eval "$ac_link") 2>&5
3915   ac_status=$?
3916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917   test $ac_status = 0; }; then :
3918   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3919 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3920 # work properly (i.e., refer to `conftest.exe'), while it won't with
3921 # `rm'.
3922 for ac_file in conftest.exe conftest conftest.*; do
3923   test -f "$ac_file" || continue
3924   case $ac_file in
3925     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3926     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3927           break;;
3928     * ) break;;
3929   esac
3930 done
3931 else
3932   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3933 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3934 as_fn_error "cannot compute suffix of executables: cannot compile and link
3935 See \`config.log' for more details." "$LINENO" 5; }
3936 fi
3937 rm -f conftest$ac_cv_exeext
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3939 $as_echo "$ac_cv_exeext" >&6; }
3940
3941 rm -f conftest.$ac_ext
3942 EXEEXT=$ac_cv_exeext
3943 ac_exeext=$EXEEXT
3944 fi
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3946 $as_echo_n "checking for suffix of object files... " >&6; }
3947 if test "${ac_cv_objext+set}" = set; then :
3948   $as_echo_n "(cached) " >&6
3949 else
3950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h.  */
3952
3953 int
3954 main ()
3955 {
3956
3957   ;
3958   return 0;
3959 }
3960 _ACEOF
3961 rm -f conftest.o conftest.obj
3962 if { { ac_try="$ac_compile"
3963 case "(($ac_try" in
3964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965   *) ac_try_echo=$ac_try;;
3966 esac
3967 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3968 $as_echo "$ac_try_echo"; } >&5
3969   (eval "$ac_compile") 2>&5
3970   ac_status=$?
3971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972   test $ac_status = 0; }; then :
3973   for ac_file in conftest.o conftest.obj conftest.*; do
3974   test -f "$ac_file" || continue;
3975   case $ac_file in
3976     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3977     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3978        break;;
3979   esac
3980 done
3981 else
3982   $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3984
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error "cannot compute suffix of object files: cannot compile
3988 See \`config.log' for more details." "$LINENO" 5; }
3989 fi
3990 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3991 fi
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3993 $as_echo "$ac_cv_objext" >&6; }
3994 OBJEXT=$ac_cv_objext
3995 ac_objext=$OBJEXT
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3997 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3998 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3999   $as_echo_n "(cached) " >&6
4000 else
4001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4002 /* end confdefs.h.  */
4003
4004 int
4005 main ()
4006 {
4007 #ifndef __GNUC__
4008        choke me
4009 #endif
4010
4011   ;
4012   return 0;
4013 }
4014 _ACEOF
4015 if ac_fn_c_try_compile "$LINENO"; then :
4016   ac_compiler_gnu=yes
4017 else
4018   ac_compiler_gnu=no
4019 fi
4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4021 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4022
4023 fi
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4025 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4026 if test $ac_compiler_gnu = yes; then
4027   GCC=yes
4028 else
4029   GCC=
4030 fi
4031 ac_test_CFLAGS=${CFLAGS+set}
4032 ac_save_CFLAGS=$CFLAGS
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4034 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4035 if test "${ac_cv_prog_cc_g+set}" = set; then :
4036   $as_echo_n "(cached) " >&6
4037 else
4038   ac_save_c_werror_flag=$ac_c_werror_flag
4039    ac_c_werror_flag=yes
4040    ac_cv_prog_cc_g=no
4041    CFLAGS="-g"
4042    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4043 /* end confdefs.h.  */
4044
4045 int
4046 main ()
4047 {
4048
4049   ;
4050   return 0;
4051 }
4052 _ACEOF
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054   ac_cv_prog_cc_g=yes
4055 else
4056   CFLAGS=""
4057       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h.  */
4059
4060 int
4061 main ()
4062 {
4063
4064   ;
4065   return 0;
4066 }
4067 _ACEOF
4068 if ac_fn_c_try_compile "$LINENO"; then :
4069
4070 else
4071   ac_c_werror_flag=$ac_save_c_werror_flag
4072          CFLAGS="-g"
4073          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h.  */
4075
4076 int
4077 main ()
4078 {
4079
4080   ;
4081   return 0;
4082 }
4083 _ACEOF
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085   ac_cv_prog_cc_g=yes
4086 fi
4087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4088 fi
4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4090 fi
4091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092    ac_c_werror_flag=$ac_save_c_werror_flag
4093 fi
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4095 $as_echo "$ac_cv_prog_cc_g" >&6; }
4096 if test "$ac_test_CFLAGS" = set; then
4097   CFLAGS=$ac_save_CFLAGS
4098 elif test $ac_cv_prog_cc_g = yes; then
4099   if test "$GCC" = yes; then
4100     CFLAGS="-g -O2"
4101   else
4102     CFLAGS="-g"
4103   fi
4104 else
4105   if test "$GCC" = yes; then
4106     CFLAGS="-O2"
4107   else
4108     CFLAGS=
4109   fi
4110 fi
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4112 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4113 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4114   $as_echo_n "(cached) " >&6
4115 else
4116   ac_cv_prog_cc_c89=no
4117 ac_save_CC=$CC
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h.  */
4120 #include <stdarg.h>
4121 #include <stdio.h>
4122 #include <sys/types.h>
4123 #include <sys/stat.h>
4124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4125 struct buf { int x; };
4126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4127 static char *e (p, i)
4128      char **p;
4129      int i;
4130 {
4131   return p[i];
4132 }
4133 static char *f (char * (*g) (char **, int), char **p, ...)
4134 {
4135   char *s;
4136   va_list v;
4137   va_start (v,p);
4138   s = g (p, va_arg (v,int));
4139   va_end (v);
4140   return s;
4141 }
4142
4143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4144    function prototypes and stuff, but not '\xHH' hex character constants.
4145    These don't provoke an error unfortunately, instead are silently treated
4146    as 'x'.  The following induces an error, until -std is added to get
4147    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4148    array size at least.  It's necessary to write '\x00'==0 to get something
4149    that's true only with -std.  */
4150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4151
4152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4153    inside strings and character constants.  */
4154 #define FOO(x) 'x'
4155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4156
4157 int test (int i, double x);
4158 struct s1 {int (*f) (int a);};
4159 struct s2 {int (*f) (double a);};
4160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4161 int argc;
4162 char **argv;
4163 int
4164 main ()
4165 {
4166 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4167   ;
4168   return 0;
4169 }
4170 _ACEOF
4171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4172         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4173 do
4174   CC="$ac_save_CC $ac_arg"
4175   if ac_fn_c_try_compile "$LINENO"; then :
4176   ac_cv_prog_cc_c89=$ac_arg
4177 fi
4178 rm -f core conftest.err conftest.$ac_objext
4179   test "x$ac_cv_prog_cc_c89" != "xno" && break
4180 done
4181 rm -f conftest.$ac_ext
4182 CC=$ac_save_CC
4183
4184 fi
4185 # AC_CACHE_VAL
4186 case "x$ac_cv_prog_cc_c89" in
4187   x)
4188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4189 $as_echo "none needed" >&6; } ;;
4190   xno)
4191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4192 $as_echo "unsupported" >&6; } ;;
4193   *)
4194     CC="$CC $ac_cv_prog_cc_c89"
4195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4196 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4197 esac
4198 if test "x$ac_cv_prog_cc_c89" != xno; then :
4199
4200 fi
4201
4202 ac_ext=c
4203 ac_cpp='$CPP $CPPFLAGS'
4204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4207 DEPDIR="${am__leading_dot}deps"
4208
4209 ac_config_commands="$ac_config_commands depfiles"
4210
4211
4212 am_make=${MAKE-make}
4213 cat > confinc << 'END'
4214 am__doit:
4215         @echo this is the am__doit target
4216 .PHONY: am__doit
4217 END
4218 # If we don't find an include directive, just comment out the code.
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4220 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4221 am__include="#"
4222 am__quote=
4223 _am_result=none
4224 # First try GNU make style include.
4225 echo "include confinc" > confmf
4226 # Ignore all kinds of additional output from `make'.
4227 case `$am_make -s -f confmf 2> /dev/null` in #(
4228 *the\ am__doit\ target*)
4229   am__include=include
4230   am__quote=
4231   _am_result=GNU
4232   ;;
4233 esac
4234 # Now try BSD make style include.
4235 if test "$am__include" = "#"; then
4236    echo '.include "confinc"' > confmf
4237    case `$am_make -s -f confmf 2> /dev/null` in #(
4238    *the\ am__doit\ target*)
4239      am__include=.include
4240      am__quote="\""
4241      _am_result=BSD
4242      ;;
4243    esac
4244 fi
4245
4246
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4248 $as_echo "$_am_result" >&6; }
4249 rm -f confinc confmf
4250
4251 # Check whether --enable-dependency-tracking was given.
4252 if test "${enable_dependency_tracking+set}" = set; then :
4253   enableval=$enable_dependency_tracking;
4254 fi
4255
4256 if test "x$enable_dependency_tracking" != xno; then
4257   am_depcomp="$ac_aux_dir/depcomp"
4258   AMDEPBACKSLASH='\'
4259 fi
4260  if test "x$enable_dependency_tracking" != xno; then
4261   AMDEP_TRUE=
4262   AMDEP_FALSE='#'
4263 else
4264   AMDEP_TRUE='#'
4265   AMDEP_FALSE=
4266 fi
4267
4268
4269
4270 depcc="$CC"   am_compiler_list=
4271
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4273 $as_echo_n "checking dependency style of $depcc... " >&6; }
4274 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4275   $as_echo_n "(cached) " >&6
4276 else
4277   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4278   # We make a subdir and do the tests there.  Otherwise we can end up
4279   # making bogus files that we don't know about and never remove.  For
4280   # instance it was reported that on HP-UX the gcc test will end up
4281   # making a dummy file named `D' -- because `-MD' means `put the output
4282   # in D'.
4283   mkdir conftest.dir
4284   # Copy depcomp to subdir because otherwise we won't find it if we're
4285   # using a relative directory.
4286   cp "$am_depcomp" conftest.dir
4287   cd conftest.dir
4288   # We will build objects and dependencies in a subdirectory because
4289   # it helps to detect inapplicable dependency modes.  For instance
4290   # both Tru64's cc and ICC support -MD to output dependencies as a
4291   # side effect of compilation, but ICC will put the dependencies in
4292   # the current directory while Tru64 will put them in the object
4293   # directory.
4294   mkdir sub
4295
4296   am_cv_CC_dependencies_compiler_type=none
4297   if test "$am_compiler_list" = ""; then
4298      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4299   fi
4300   am__universal=false
4301   case " $depcc " in #(
4302      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4303      esac
4304
4305   for depmode in $am_compiler_list; do
4306     # Setup a source with many dependencies, because some compilers
4307     # like to wrap large dependency lists on column 80 (with \), and
4308     # we should not choose a depcomp mode which is confused by this.
4309     #
4310     # We need to recreate these files for each test, as the compiler may
4311     # overwrite some of them when testing with obscure command lines.
4312     # This happens at least with the AIX C compiler.
4313     : > sub/conftest.c
4314     for i in 1 2 3 4 5 6; do
4315       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4316       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4317       # Solaris 8's {/usr,}/bin/sh.
4318       touch sub/conftst$i.h
4319     done
4320     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4321
4322     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4323     # mode.  It turns out that the SunPro C++ compiler does not properly
4324     # handle `-M -o', and we need to detect this.  Also, some Intel
4325     # versions had trouble with output in subdirs
4326     am__obj=sub/conftest.${OBJEXT-o}
4327     am__minus_obj="-o $am__obj"
4328     case $depmode in
4329     gcc)
4330       # This depmode causes a compiler race in universal mode.
4331       test "$am__universal" = false || continue
4332       ;;
4333     nosideeffect)
4334       # after this tag, mechanisms are not by side-effect, so they'll
4335       # only be used when explicitly requested
4336       if test "x$enable_dependency_tracking" = xyes; then
4337         continue
4338       else
4339         break
4340       fi
4341       ;;
4342     msvisualcpp | msvcmsys)
4343       # This compiler won't grok `-c -o', but also, the minuso test has
4344       # not run yet.  These depmodes are late enough in the game, and
4345       # so weak that their functioning should not be impacted.
4346       am__obj=conftest.${OBJEXT-o}
4347       am__minus_obj=
4348       ;;
4349     none) break ;;
4350     esac
4351     if depmode=$depmode \
4352        source=sub/conftest.c object=$am__obj \
4353        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4354        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4355          >/dev/null 2>conftest.err &&
4356        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4357        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4358        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4359        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4360       # icc doesn't choke on unknown options, it will just issue warnings
4361       # or remarks (even with -Werror).  So we grep stderr for any message
4362       # that says an option was ignored or not supported.
4363       # When given -MP, icc 7.0 and 7.1 complain thusly:
4364       #   icc: Command line warning: ignoring option '-M'; no argument required
4365       # The diagnosis changed in icc 8.0:
4366       #   icc: Command line remark: option '-MP' not supported
4367       if (grep 'ignoring option' conftest.err ||
4368           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4369         am_cv_CC_dependencies_compiler_type=$depmode
4370         break
4371       fi
4372     fi
4373   done
4374
4375   cd ..
4376   rm -rf conftest.dir
4377 else
4378   am_cv_CC_dependencies_compiler_type=none
4379 fi
4380
4381 fi
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4383 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4384 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4385
4386  if
4387   test "x$enable_dependency_tracking" != xno \
4388   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4389   am__fastdepCC_TRUE=
4390   am__fastdepCC_FALSE='#'
4391 else
4392   am__fastdepCC_TRUE='#'
4393   am__fastdepCC_FALSE=
4394 fi
4395
4396
4397
4398
4399 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4400 if test "x$GCC" = "xyes"; then
4401   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4402   ## We like to use C99 routines when available.  This makes sure that
4403   ## __STDC_VERSION__ is set such that libc includes make them available.
4404   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4405   ## Compile the following tests with the same system header contents
4406   ## that we'll encounter when compiling our own source files.
4407   CFLAGS="-std=gnu99 $CFLAGS"
4408 fi
4409
4410
4411
4412
4413 # Check for symbol versioning (copied from libssp).
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4415 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4416 cat > conftest.map <<EOF
4417 FOO_1.0 {
4418   global: *foo*; bar; local: *;
4419 };
4420 EOF
4421 save_LDFLAGS="$LDFLAGS"
4422 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4423
4424 if test x$gcc_no_link = xyes; then
4425   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4426 fi
4427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4428 /* end confdefs.h.  */
4429 int foo;
4430 int
4431 main ()
4432 {
4433
4434   ;
4435   return 0;
4436 }
4437 _ACEOF
4438 if ac_fn_c_try_link "$LINENO"; then :
4439   gfortran_use_symver=yes
4440 else
4441   gfortran_use_symver=no
4442 fi
4443 rm -f core conftest.err conftest.$ac_objext \
4444     conftest$ac_exeext conftest.$ac_ext
4445 LDFLAGS="$save_LDFLAGS"
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4447 $as_echo "$gfortran_use_symver" >&6; }
4448  if test "x$gfortran_use_symver" = xyes; then
4449   LIBGFOR_USE_SYMVER_TRUE=
4450   LIBGFOR_USE_SYMVER_FALSE='#'
4451 else
4452   LIBGFOR_USE_SYMVER_TRUE='#'
4453   LIBGFOR_USE_SYMVER_FALSE=
4454 fi
4455
4456
4457 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4458 # similarly to how libstdc++ does it
4459 ac_test_CFLAGS="${CFLAGS+set}"
4460 ac_save_CFLAGS="$CFLAGS"
4461
4462 # Check for -ffunction-sections -fdata-sections
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4464 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4465 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h.  */
4468
4469 int
4470 main ()
4471 {
4472 int foo;
4473   ;
4474   return 0;
4475 }
4476 _ACEOF
4477 if ac_fn_c_try_compile "$LINENO"; then :
4478   ac_fdsections=yes
4479 else
4480   ac_fdsections=no
4481 fi
4482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4483 if test "$ac_test_CFLAGS" = set; then
4484   CFLAGS="$ac_save_CFLAGS"
4485 else
4486   # this is the suspicious part
4487   CFLAGS=""
4488 fi
4489 if test x"$ac_fdsections" = x"yes"; then
4490   SECTION_FLAGS='-ffunction-sections -fdata-sections'
4491 fi
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4493 $as_echo "$ac_fdsections" >&6; }
4494
4495
4496 # Find other programs we need.
4497 if test -n "$ac_tool_prefix"; then
4498   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4499 set dummy ${ac_tool_prefix}as; ac_word=$2
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4501 $as_echo_n "checking for $ac_word... " >&6; }
4502 if test "${ac_cv_prog_AS+set}" = set; then :
4503   $as_echo_n "(cached) " >&6
4504 else
4505   if test -n "$AS"; then
4506   ac_cv_prog_AS="$AS" # Let the user override the test.
4507 else
4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 for as_dir in $PATH
4510 do
4511   IFS=$as_save_IFS
4512   test -z "$as_dir" && as_dir=.
4513     for ac_exec_ext in '' $ac_executable_extensions; do
4514   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515     ac_cv_prog_AS="${ac_tool_prefix}as"
4516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517     break 2
4518   fi
4519 done
4520   done
4521 IFS=$as_save_IFS
4522
4523 fi
4524 fi
4525 AS=$ac_cv_prog_AS
4526 if test -n "$AS"; then
4527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4528 $as_echo "$AS" >&6; }
4529 else
4530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4531 $as_echo "no" >&6; }
4532 fi
4533
4534
4535 fi
4536 if test -z "$ac_cv_prog_AS"; then
4537   ac_ct_AS=$AS
4538   # Extract the first word of "as", so it can be a program name with args.
4539 set dummy as; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4543   $as_echo_n "(cached) " >&6
4544 else
4545   if test -n "$ac_ct_AS"; then
4546   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4547 else
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4549 for as_dir in $PATH
4550 do
4551   IFS=$as_save_IFS
4552   test -z "$as_dir" && as_dir=.
4553     for ac_exec_ext in '' $ac_executable_extensions; do
4554   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555     ac_cv_prog_ac_ct_AS="as"
4556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557     break 2
4558   fi
4559 done
4560   done
4561 IFS=$as_save_IFS
4562
4563 fi
4564 fi
4565 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4566 if test -n "$ac_ct_AS"; then
4567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4568 $as_echo "$ac_ct_AS" >&6; }
4569 else
4570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4572 fi
4573
4574   if test "x$ac_ct_AS" = x; then
4575     AS=""
4576   else
4577     case $cross_compiling:$ac_tool_warned in
4578 yes:)
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4581 ac_tool_warned=yes ;;
4582 esac
4583     AS=$ac_ct_AS
4584   fi
4585 else
4586   AS="$ac_cv_prog_AS"
4587 fi
4588
4589 if test -n "$ac_tool_prefix"; then
4590   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4591 set dummy ${ac_tool_prefix}ar; ac_word=$2
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4593 $as_echo_n "checking for $ac_word... " >&6; }
4594 if test "${ac_cv_prog_AR+set}" = set; then :
4595   $as_echo_n "(cached) " >&6
4596 else
4597   if test -n "$AR"; then
4598   ac_cv_prog_AR="$AR" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4602 do
4603   IFS=$as_save_IFS
4604   test -z "$as_dir" && as_dir=.
4605     for ac_exec_ext in '' $ac_executable_extensions; do
4606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4607     ac_cv_prog_AR="${ac_tool_prefix}ar"
4608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609     break 2
4610   fi
4611 done
4612   done
4613 IFS=$as_save_IFS
4614
4615 fi
4616 fi
4617 AR=$ac_cv_prog_AR
4618 if test -n "$AR"; then
4619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4620 $as_echo "$AR" >&6; }
4621 else
4622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 $as_echo "no" >&6; }
4624 fi
4625
4626
4627 fi
4628 if test -z "$ac_cv_prog_AR"; then
4629   ac_ct_AR=$AR
4630   # Extract the first word of "ar", so it can be a program name with args.
4631 set dummy ar; ac_word=$2
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4633 $as_echo_n "checking for $ac_word... " >&6; }
4634 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4635   $as_echo_n "(cached) " >&6
4636 else
4637   if test -n "$ac_ct_AR"; then
4638   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4642 do
4643   IFS=$as_save_IFS
4644   test -z "$as_dir" && as_dir=.
4645     for ac_exec_ext in '' $ac_executable_extensions; do
4646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647     ac_cv_prog_ac_ct_AR="ar"
4648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4649     break 2
4650   fi
4651 done
4652   done
4653 IFS=$as_save_IFS
4654
4655 fi
4656 fi
4657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4658 if test -n "$ac_ct_AR"; then
4659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4660 $as_echo "$ac_ct_AR" >&6; }
4661 else
4662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 $as_echo "no" >&6; }
4664 fi
4665
4666   if test "x$ac_ct_AR" = x; then
4667     AR=""
4668   else
4669     case $cross_compiling:$ac_tool_warned in
4670 yes:)
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4673 ac_tool_warned=yes ;;
4674 esac
4675     AR=$ac_ct_AR
4676   fi
4677 else
4678   AR="$ac_cv_prog_AR"
4679 fi
4680
4681 if test -n "$ac_tool_prefix"; then
4682   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4683 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4687   $as_echo_n "(cached) " >&6
4688 else
4689   if test -n "$RANLIB"; then
4690   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4691 else
4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693 for as_dir in $PATH
4694 do
4695   IFS=$as_save_IFS
4696   test -z "$as_dir" && as_dir=.
4697     for ac_exec_ext in '' $ac_executable_extensions; do
4698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4699     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4701     break 2
4702   fi
4703 done
4704   done
4705 IFS=$as_save_IFS
4706
4707 fi
4708 fi
4709 RANLIB=$ac_cv_prog_RANLIB
4710 if test -n "$RANLIB"; then
4711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4712 $as_echo "$RANLIB" >&6; }
4713 else
4714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4716 fi
4717
4718
4719 fi
4720 if test -z "$ac_cv_prog_RANLIB"; then
4721   ac_ct_RANLIB=$RANLIB
4722   # Extract the first word of "ranlib", so it can be a program name with args.
4723 set dummy ranlib; ac_word=$2
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725 $as_echo_n "checking for $ac_word... " >&6; }
4726 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4727   $as_echo_n "(cached) " >&6
4728 else
4729   if test -n "$ac_ct_RANLIB"; then
4730   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4731 else
4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 for as_dir in $PATH
4734 do
4735   IFS=$as_save_IFS
4736   test -z "$as_dir" && as_dir=.
4737     for ac_exec_ext in '' $ac_executable_extensions; do
4738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4739     ac_cv_prog_ac_ct_RANLIB="ranlib"
4740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741     break 2
4742   fi
4743 done
4744   done
4745 IFS=$as_save_IFS
4746
4747 fi
4748 fi
4749 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4750 if test -n "$ac_ct_RANLIB"; then
4751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4752 $as_echo "$ac_ct_RANLIB" >&6; }
4753 else
4754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4756 fi
4757
4758   if test "x$ac_ct_RANLIB" = x; then
4759     RANLIB="ranlib-not-found-in-path-error"
4760   else
4761     case $cross_compiling:$ac_tool_warned in
4762 yes:)
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4765 ac_tool_warned=yes ;;
4766 esac
4767     RANLIB=$ac_ct_RANLIB
4768   fi
4769 else
4770   RANLIB="$ac_cv_prog_RANLIB"
4771 fi
4772
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4774 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4775 set x ${MAKE-make}
4776 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4777 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4778   $as_echo_n "(cached) " >&6
4779 else
4780   cat >conftest.make <<\_ACEOF
4781 SHELL = /bin/sh
4782 all:
4783         @echo '@@@%%%=$(MAKE)=@@@%%%'
4784 _ACEOF
4785 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4786 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4787   *@@@%%%=?*=@@@%%%*)
4788     eval ac_cv_prog_make_${ac_make}_set=yes;;
4789   *)
4790     eval ac_cv_prog_make_${ac_make}_set=no;;
4791 esac
4792 rm -f conftest.make
4793 fi
4794 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4796 $as_echo "yes" >&6; }
4797   SET_MAKE=
4798 else
4799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4801   SET_MAKE="MAKE=${MAKE-make}"
4802 fi
4803
4804
4805
4806 # Configure libtool
4807 #AC_MSG_NOTICE([====== Starting libtool configuration])
4808 enable_dlopen=yes
4809
4810
4811
4812 case `pwd` in
4813   *\ * | *\     *)
4814     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4815 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4816 esac
4817
4818
4819
4820 macro_version='2.2.7a'
4821 macro_revision='1.3134'
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835 ltmain="$ac_aux_dir/ltmain.sh"
4836
4837 # Backslashify metacharacters that are still active within
4838 # double-quoted strings.
4839 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4840
4841 # Same as above, but do not quote variable references.
4842 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4843
4844 # Sed substitution to delay expansion of an escaped shell variable in a
4845 # double_quote_subst'ed string.
4846 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4847
4848 # Sed substitution to delay expansion of an escaped single quote.
4849 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4850
4851 # Sed substitution to avoid accidental globbing in evaled expressions
4852 no_glob_subst='s/\*/\\\*/g'
4853
4854 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4855 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4856 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4857
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4859 $as_echo_n "checking how to print strings... " >&6; }
4860 # Test print first, because it will be a builtin if present.
4861 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4862    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4863   ECHO='print -r --'
4864 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4865   ECHO='printf %s\n'
4866 else
4867   # Use this function as a fallback that always works.
4868   func_fallback_echo ()
4869   {
4870     eval 'cat <<_LTECHO_EOF
4871 $1
4872 _LTECHO_EOF'
4873   }
4874   ECHO='func_fallback_echo'
4875 fi
4876
4877 # func_echo_all arg...
4878 # Invoke $ECHO with all args, space-separated.
4879 func_echo_all ()
4880 {
4881     $ECHO ""
4882 }
4883
4884 case "$ECHO" in
4885   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4886 $as_echo "printf" >&6; } ;;
4887   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4888 $as_echo "print -r" >&6; } ;;
4889   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4890 $as_echo "cat" >&6; } ;;
4891 esac
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4907 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4908 if test "${ac_cv_path_SED+set}" = set; then :
4909   $as_echo_n "(cached) " >&6
4910 else
4911             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4912      for ac_i in 1 2 3 4 5 6 7; do
4913        ac_script="$ac_script$as_nl$ac_script"
4914      done
4915      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4916      { ac_script=; unset ac_script;}
4917      if test -z "$SED"; then
4918   ac_path_SED_found=false
4919   # Loop through the user's path and test for each of PROGNAME-LIST
4920   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921 for as_dir in $PATH
4922 do
4923   IFS=$as_save_IFS
4924   test -z "$as_dir" && as_dir=.
4925     for ac_prog in sed gsed; do
4926     for ac_exec_ext in '' $ac_executable_extensions; do
4927       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4928       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4929 # Check for GNU ac_path_SED and select it if it is found.
4930   # Check for GNU $ac_path_SED
4931 case `"$ac_path_SED" --version 2>&1` in
4932 *GNU*)
4933   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4934 *)
4935   ac_count=0
4936   $as_echo_n 0123456789 >"conftest.in"
4937   while :
4938   do
4939     cat "conftest.in" "conftest.in" >"conftest.tmp"
4940     mv "conftest.tmp" "conftest.in"
4941     cp "conftest.in" "conftest.nl"
4942     $as_echo '' >> "conftest.nl"
4943     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4944     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4945     as_fn_arith $ac_count + 1 && ac_count=$as_val
4946     if test $ac_count -gt ${ac_path_SED_max-0}; then
4947       # Best one so far, save it but keep looking for a better one
4948       ac_cv_path_SED="$ac_path_SED"
4949       ac_path_SED_max=$ac_count
4950     fi
4951     # 10*(2^10) chars as input seems more than enough
4952     test $ac_count -gt 10 && break
4953   done
4954   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4955 esac
4956
4957       $ac_path_SED_found && break 3
4958     done
4959   done
4960   done
4961 IFS=$as_save_IFS
4962   if test -z "$ac_cv_path_SED"; then
4963     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4964   fi
4965 else
4966   ac_cv_path_SED=$SED
4967 fi
4968
4969 fi
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4971 $as_echo "$ac_cv_path_SED" >&6; }
4972  SED="$ac_cv_path_SED"
4973   rm -f conftest.sed
4974
4975 test -z "$SED" && SED=sed
4976 Xsed="$SED -e 1s/^X//"
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4989 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4990 if test "${ac_cv_path_GREP+set}" = set; then :
4991   $as_echo_n "(cached) " >&6
4992 else
4993   if test -z "$GREP"; then
4994   ac_path_GREP_found=false
4995   # Loop through the user's path and test for each of PROGNAME-LIST
4996   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4998 do
4999   IFS=$as_save_IFS
5000   test -z "$as_dir" && as_dir=.
5001     for ac_prog in grep ggrep; do
5002     for ac_exec_ext in '' $ac_executable_extensions; do
5003       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5004       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5005 # Check for GNU ac_path_GREP and select it if it is found.
5006   # Check for GNU $ac_path_GREP
5007 case `"$ac_path_GREP" --version 2>&1` in
5008 *GNU*)
5009   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5010 *)
5011   ac_count=0
5012   $as_echo_n 0123456789 >"conftest.in"
5013   while :
5014   do
5015     cat "conftest.in" "conftest.in" >"conftest.tmp"
5016     mv "conftest.tmp" "conftest.in"
5017     cp "conftest.in" "conftest.nl"
5018     $as_echo 'GREP' >> "conftest.nl"
5019     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5020     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5021     as_fn_arith $ac_count + 1 && ac_count=$as_val
5022     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5023       # Best one so far, save it but keep looking for a better one
5024       ac_cv_path_GREP="$ac_path_GREP"
5025       ac_path_GREP_max=$ac_count
5026     fi
5027     # 10*(2^10) chars as input seems more than enough
5028     test $ac_count -gt 10 && break
5029   done
5030   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5031 esac
5032
5033       $ac_path_GREP_found && break 3
5034     done
5035   done
5036   done
5037 IFS=$as_save_IFS
5038   if test -z "$ac_cv_path_GREP"; then
5039     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5040   fi
5041 else
5042   ac_cv_path_GREP=$GREP
5043 fi
5044
5045 fi
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5047 $as_echo "$ac_cv_path_GREP" >&6; }
5048  GREP="$ac_cv_path_GREP"
5049
5050
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5052 $as_echo_n "checking for egrep... " >&6; }
5053 if test "${ac_cv_path_EGREP+set}" = set; then :
5054   $as_echo_n "(cached) " >&6
5055 else
5056   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5057    then ac_cv_path_EGREP="$GREP -E"
5058    else
5059      if test -z "$EGREP"; then
5060   ac_path_EGREP_found=false
5061   # Loop through the user's path and test for each of PROGNAME-LIST
5062   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5064 do
5065   IFS=$as_save_IFS
5066   test -z "$as_dir" && as_dir=.
5067     for ac_prog in egrep; do
5068     for ac_exec_ext in '' $ac_executable_extensions; do
5069       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5070       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5071 # Check for GNU ac_path_EGREP and select it if it is found.
5072   # Check for GNU $ac_path_EGREP
5073 case `"$ac_path_EGREP" --version 2>&1` in
5074 *GNU*)
5075   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5076 *)
5077   ac_count=0
5078   $as_echo_n 0123456789 >"conftest.in"
5079   while :
5080   do
5081     cat "conftest.in" "conftest.in" >"conftest.tmp"
5082     mv "conftest.tmp" "conftest.in"
5083     cp "conftest.in" "conftest.nl"
5084     $as_echo 'EGREP' >> "conftest.nl"
5085     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5086     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5087     as_fn_arith $ac_count + 1 && ac_count=$as_val
5088     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5089       # Best one so far, save it but keep looking for a better one
5090       ac_cv_path_EGREP="$ac_path_EGREP"
5091       ac_path_EGREP_max=$ac_count
5092     fi
5093     # 10*(2^10) chars as input seems more than enough
5094     test $ac_count -gt 10 && break
5095   done
5096   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5097 esac
5098
5099       $ac_path_EGREP_found && break 3
5100     done
5101   done
5102   done
5103 IFS=$as_save_IFS
5104   if test -z "$ac_cv_path_EGREP"; then
5105     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5106   fi
5107 else
5108   ac_cv_path_EGREP=$EGREP
5109 fi
5110
5111    fi
5112 fi
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5114 $as_echo "$ac_cv_path_EGREP" >&6; }
5115  EGREP="$ac_cv_path_EGREP"
5116
5117
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5119 $as_echo_n "checking for fgrep... " >&6; }
5120 if test "${ac_cv_path_FGREP+set}" = set; then :
5121   $as_echo_n "(cached) " >&6
5122 else
5123   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5124    then ac_cv_path_FGREP="$GREP -F"
5125    else
5126      if test -z "$FGREP"; then
5127   ac_path_FGREP_found=false
5128   # Loop through the user's path and test for each of PROGNAME-LIST
5129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5131 do
5132   IFS=$as_save_IFS
5133   test -z "$as_dir" && as_dir=.
5134     for ac_prog in fgrep; do
5135     for ac_exec_ext in '' $ac_executable_extensions; do
5136       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5137       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5138 # Check for GNU ac_path_FGREP and select it if it is found.
5139   # Check for GNU $ac_path_FGREP
5140 case `"$ac_path_FGREP" --version 2>&1` in
5141 *GNU*)
5142   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5143 *)
5144   ac_count=0
5145   $as_echo_n 0123456789 >"conftest.in"
5146   while :
5147   do
5148     cat "conftest.in" "conftest.in" >"conftest.tmp"
5149     mv "conftest.tmp" "conftest.in"
5150     cp "conftest.in" "conftest.nl"
5151     $as_echo 'FGREP' >> "conftest.nl"
5152     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5154     as_fn_arith $ac_count + 1 && ac_count=$as_val
5155     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5156       # Best one so far, save it but keep looking for a better one
5157       ac_cv_path_FGREP="$ac_path_FGREP"
5158       ac_path_FGREP_max=$ac_count
5159     fi
5160     # 10*(2^10) chars as input seems more than enough
5161     test $ac_count -gt 10 && break
5162   done
5163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5164 esac
5165
5166       $ac_path_FGREP_found && break 3
5167     done
5168   done
5169   done
5170 IFS=$as_save_IFS
5171   if test -z "$ac_cv_path_FGREP"; then
5172     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5173   fi
5174 else
5175   ac_cv_path_FGREP=$FGREP
5176 fi
5177
5178    fi
5179 fi
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5181 $as_echo "$ac_cv_path_FGREP" >&6; }
5182  FGREP="$ac_cv_path_FGREP"
5183
5184
5185 test -z "$GREP" && GREP=grep
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205 # Check whether --with-gnu-ld was given.
5206 if test "${with_gnu_ld+set}" = set; then :
5207   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5208 else
5209   with_gnu_ld=no
5210 fi
5211
5212 ac_prog=ld
5213 if test "$GCC" = yes; then
5214   # Check if gcc -print-prog-name=ld gives a path.
5215   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5216 $as_echo_n "checking for ld used by $CC... " >&6; }
5217   case $host in
5218   *-*-mingw*)
5219     # gcc leaves a trailing carriage return which upsets mingw
5220     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5221   *)
5222     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5223   esac
5224   case $ac_prog in
5225     # Accept absolute paths.
5226     [\\/]* | ?:[\\/]*)
5227       re_direlt='/[^/][^/]*/\.\./'
5228       # Canonicalize the pathname of ld
5229       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5230       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5231         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5232       done
5233       test -z "$LD" && LD="$ac_prog"
5234       ;;
5235   "")
5236     # If it fails, then pretend we aren't using GCC.
5237     ac_prog=ld
5238     ;;
5239   *)
5240     # If it is relative, then search for the first ld in PATH.
5241     with_gnu_ld=unknown
5242     ;;
5243   esac
5244 elif test "$with_gnu_ld" = yes; then
5245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5246 $as_echo_n "checking for GNU ld... " >&6; }
5247 else
5248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5249 $as_echo_n "checking for non-GNU ld... " >&6; }
5250 fi
5251 if test "${lt_cv_path_LD+set}" = set; then :
5252   $as_echo_n "(cached) " >&6
5253 else
5254   if test -z "$LD"; then
5255   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5256   for ac_dir in $PATH; do
5257     IFS="$lt_save_ifs"
5258     test -z "$ac_dir" && ac_dir=.
5259     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5260       lt_cv_path_LD="$ac_dir/$ac_prog"
5261       # Check to see if the program is GNU ld.  I'd rather use --version,
5262       # but apparently some variants of GNU ld only accept -v.
5263       # Break only if it was the GNU/non-GNU ld that we prefer.
5264       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5265       *GNU* | *'with BFD'*)
5266         test "$with_gnu_ld" != no && break
5267         ;;
5268       *)
5269         test "$with_gnu_ld" != yes && break
5270         ;;
5271       esac
5272     fi
5273   done
5274   IFS="$lt_save_ifs"
5275 else
5276   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5277 fi
5278 fi
5279
5280 LD="$lt_cv_path_LD"
5281 if test -n "$LD"; then
5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5283 $as_echo "$LD" >&6; }
5284 else
5285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5286 $as_echo "no" >&6; }
5287 fi
5288 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5290 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5291 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5292   $as_echo_n "(cached) " >&6
5293 else
5294   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5295 case `$LD -v 2>&1 </dev/null` in
5296 *GNU* | *'with BFD'*)
5297   lt_cv_prog_gnu_ld=yes
5298   ;;
5299 *)
5300   lt_cv_prog_gnu_ld=no
5301   ;;
5302 esac
5303 fi
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5305 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5306 with_gnu_ld=$lt_cv_prog_gnu_ld
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5317 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5318 if test "${lt_cv_path_NM+set}" = set; then :
5319   $as_echo_n "(cached) " >&6
5320 else
5321   if test -n "$NM"; then
5322   # Let the user override the test.
5323   lt_cv_path_NM="$NM"
5324 else
5325   lt_nm_to_check="${ac_tool_prefix}nm"
5326   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5327     lt_nm_to_check="$lt_nm_to_check nm"
5328   fi
5329   for lt_tmp_nm in $lt_nm_to_check; do
5330     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5331     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5332       IFS="$lt_save_ifs"
5333       test -z "$ac_dir" && ac_dir=.
5334       tmp_nm="$ac_dir/$lt_tmp_nm"
5335       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5336         # Check to see if the nm accepts a BSD-compat flag.
5337         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5338         #   nm: unknown option "B" ignored
5339         # Tru64's nm complains that /dev/null is an invalid object file
5340         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5341         */dev/null* | *'Invalid file or object type'*)
5342           lt_cv_path_NM="$tmp_nm -B"
5343           break
5344           ;;
5345         *)
5346           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5347           */dev/null*)
5348             lt_cv_path_NM="$tmp_nm -p"
5349             break
5350             ;;
5351           *)
5352             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5353             continue # so that we can try to find one that supports BSD flags
5354             ;;
5355           esac
5356           ;;
5357         esac
5358       fi
5359     done
5360     IFS="$lt_save_ifs"
5361   done
5362   : ${lt_cv_path_NM=no}
5363 fi
5364 fi
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5366 $as_echo "$lt_cv_path_NM" >&6; }
5367 if test "$lt_cv_path_NM" != "no"; then
5368   NM="$lt_cv_path_NM"
5369 else
5370   # Didn't find any BSD compatible name lister, look for dumpbin.
5371   if test -n "$DUMPBIN"; then :
5372     # Let the user override the test.
5373   else
5374     if test -n "$ac_tool_prefix"; then
5375   for ac_prog in dumpbin "link -dump"
5376   do
5377     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5378 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380 $as_echo_n "checking for $ac_word... " >&6; }
5381 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5382   $as_echo_n "(cached) " >&6
5383 else
5384   if test -n "$DUMPBIN"; then
5385   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5386 else
5387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388 for as_dir in $PATH
5389 do
5390   IFS=$as_save_IFS
5391   test -z "$as_dir" && as_dir=.
5392     for ac_exec_ext in '' $ac_executable_extensions; do
5393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5394     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5395     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396     break 2
5397   fi
5398 done
5399   done
5400 IFS=$as_save_IFS
5401
5402 fi
5403 fi
5404 DUMPBIN=$ac_cv_prog_DUMPBIN
5405 if test -n "$DUMPBIN"; then
5406   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5407 $as_echo "$DUMPBIN" >&6; }
5408 else
5409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410 $as_echo "no" >&6; }
5411 fi
5412
5413
5414     test -n "$DUMPBIN" && break
5415   done
5416 fi
5417 if test -z "$DUMPBIN"; then
5418   ac_ct_DUMPBIN=$DUMPBIN
5419   for ac_prog in dumpbin "link -dump"
5420 do
5421   # Extract the first word of "$ac_prog", so it can be a program name with args.
5422 set dummy $ac_prog; ac_word=$2
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5424 $as_echo_n "checking for $ac_word... " >&6; }
5425 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5426   $as_echo_n "(cached) " >&6
5427 else
5428   if test -n "$ac_ct_DUMPBIN"; then
5429   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5430 else
5431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5432 for as_dir in $PATH
5433 do
5434   IFS=$as_save_IFS
5435   test -z "$as_dir" && as_dir=.
5436     for ac_exec_ext in '' $ac_executable_extensions; do
5437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5438     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5440     break 2
5441   fi
5442 done
5443   done
5444 IFS=$as_save_IFS
5445
5446 fi
5447 fi
5448 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5449 if test -n "$ac_ct_DUMPBIN"; then
5450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5451 $as_echo "$ac_ct_DUMPBIN" >&6; }
5452 else
5453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5454 $as_echo "no" >&6; }
5455 fi
5456
5457
5458   test -n "$ac_ct_DUMPBIN" && break
5459 done
5460
5461   if test "x$ac_ct_DUMPBIN" = x; then
5462     DUMPBIN=":"
5463   else
5464     case $cross_compiling:$ac_tool_warned in
5465 yes:)
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5468 ac_tool_warned=yes ;;
5469 esac
5470     DUMPBIN=$ac_ct_DUMPBIN
5471   fi
5472 fi
5473
5474     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5475     *COFF*)
5476       DUMPBIN="$DUMPBIN -symbols"
5477       ;;
5478     *)
5479       DUMPBIN=:
5480       ;;
5481     esac
5482   fi
5483
5484   if test "$DUMPBIN" != ":"; then
5485     NM="$DUMPBIN"
5486   fi
5487 fi
5488 test -z "$NM" && NM=nm
5489
5490
5491
5492
5493
5494
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5496 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5497 if test "${lt_cv_nm_interface+set}" = set; then :
5498   $as_echo_n "(cached) " >&6
5499 else
5500   lt_cv_nm_interface="BSD nm"
5501   echo "int some_variable = 0;" > conftest.$ac_ext
5502   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5503   (eval "$ac_compile" 2>conftest.err)
5504   cat conftest.err >&5
5505   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5506   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5507   cat conftest.err >&5
5508   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5509   cat conftest.out >&5
5510   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5511     lt_cv_nm_interface="MS dumpbin"
5512   fi
5513   rm -f conftest*
5514 fi
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5516 $as_echo "$lt_cv_nm_interface" >&6; }
5517
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5519 $as_echo_n "checking whether ln -s works... " >&6; }
5520 LN_S=$as_ln_s
5521 if test "$LN_S" = "ln -s"; then
5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5523 $as_echo "yes" >&6; }
5524 else
5525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5526 $as_echo "no, using $LN_S" >&6; }
5527 fi
5528
5529 # find the maximum length of command line arguments
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5531 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5532 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5533   $as_echo_n "(cached) " >&6
5534 else
5535     i=0
5536   teststring="ABCD"
5537
5538   case $build_os in
5539   msdosdjgpp*)
5540     # On DJGPP, this test can blow up pretty badly due to problems in libc
5541     # (any single argument exceeding 2000 bytes causes a buffer overrun
5542     # during glob expansion).  Even if it were fixed, the result of this
5543     # check would be larger than it should be.
5544     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5545     ;;
5546
5547   gnu*)
5548     # Under GNU Hurd, this test is not required because there is
5549     # no limit to the length of command line arguments.
5550     # Libtool will interpret -1 as no limit whatsoever
5551     lt_cv_sys_max_cmd_len=-1;
5552     ;;
5553
5554   cygwin* | mingw* | cegcc*)
5555     # On Win9x/ME, this test blows up -- it succeeds, but takes
5556     # about 5 minutes as the teststring grows exponentially.
5557     # Worse, since 9x/ME are not pre-emptively multitasking,
5558     # you end up with a "frozen" computer, even though with patience
5559     # the test eventually succeeds (with a max line length of 256k).
5560     # Instead, let's just punt: use the minimum linelength reported by
5561     # all of the supported platforms: 8192 (on NT/2K/XP).
5562     lt_cv_sys_max_cmd_len=8192;
5563     ;;
5564
5565   mint*)
5566     # On MiNT this can take a long time and run out of memory.
5567     lt_cv_sys_max_cmd_len=8192;
5568     ;;
5569
5570   amigaos*)
5571     # On AmigaOS with pdksh, this test takes hours, literally.
5572     # So we just punt and use a minimum line length of 8192.
5573     lt_cv_sys_max_cmd_len=8192;
5574     ;;
5575
5576   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5577     # This has been around since 386BSD, at least.  Likely further.
5578     if test -x /sbin/sysctl; then
5579       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5580     elif test -x /usr/sbin/sysctl; then
5581       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5582     else
5583       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5584     fi
5585     # And add a safety zone
5586     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5587     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5588     ;;
5589
5590   interix*)
5591     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5592     lt_cv_sys_max_cmd_len=196608
5593     ;;
5594
5595   osf*)
5596     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5597     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5598     # nice to cause kernel panics so lets avoid the loop below.
5599     # First set a reasonable default.
5600     lt_cv_sys_max_cmd_len=16384
5601     #
5602     if test -x /sbin/sysconfig; then
5603       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5604         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5605       esac
5606     fi
5607     ;;
5608   sco3.2v5*)
5609     lt_cv_sys_max_cmd_len=102400
5610     ;;
5611   sysv5* | sco5v6* | sysv4.2uw2*)
5612     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5613     if test -n "$kargmax"; then
5614       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5615     else
5616       lt_cv_sys_max_cmd_len=32768
5617     fi
5618     ;;
5619   *)
5620     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5621     if test -n "$lt_cv_sys_max_cmd_len"; then
5622       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5623       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5624     else
5625       # Make teststring a little bigger before we do anything with it.
5626       # a 1K string should be a reasonable start.
5627       for i in 1 2 3 4 5 6 7 8 ; do
5628         teststring=$teststring$teststring
5629       done
5630       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5631       # If test is not a shell built-in, we'll probably end up computing a
5632       # maximum length that is only half of the actual maximum length, but
5633       # we can't tell.
5634       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5635                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5636               test $i != 17 # 1/2 MB should be enough
5637       do
5638         i=`expr $i + 1`
5639         teststring=$teststring$teststring
5640       done
5641       # Only check the string length outside the loop.
5642       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5643       teststring=
5644       # Add a significant safety factor because C++ compilers can tack on
5645       # massive amounts of additional arguments before passing them to the
5646       # linker.  It appears as though 1/2 is a usable value.
5647       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5648     fi
5649     ;;
5650   esac
5651
5652 fi
5653
5654 if test -n $lt_cv_sys_max_cmd_len ; then
5655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5656 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5657 else
5658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5659 $as_echo "none" >&6; }
5660 fi
5661 max_cmd_len=$lt_cv_sys_max_cmd_len
5662
5663
5664
5665
5666
5667
5668 : ${CP="cp -f"}
5669 : ${MV="mv -f"}
5670 : ${RM="rm -f"}
5671
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5673 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5674 # Try some XSI features
5675 xsi_shell=no
5676 ( _lt_dummy="a/b/c"
5677   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5678       = c,a/b,, \
5679     && eval 'test $(( 1 + 1 )) -eq 2 \
5680     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5681   && xsi_shell=yes
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5683 $as_echo "$xsi_shell" >&6; }
5684
5685
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5687 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5688 lt_shell_append=no
5689 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5690     >/dev/null 2>&1 \
5691   && lt_shell_append=yes
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5693 $as_echo "$lt_shell_append" >&6; }
5694
5695
5696 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5697   lt_unset=unset
5698 else
5699   lt_unset=false
5700 fi
5701
5702
5703
5704
5705
5706 # test EBCDIC or ASCII
5707 case `echo X|tr X '\101'` in
5708  A) # ASCII based system
5709     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5710   lt_SP2NL='tr \040 \012'
5711   lt_NL2SP='tr \015\012 \040\040'
5712   ;;
5713  *) # EBCDIC based system
5714   lt_SP2NL='tr \100 \n'
5715   lt_NL2SP='tr \r\n \100\100'
5716   ;;
5717 esac
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5728 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5729 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5730   $as_echo_n "(cached) " >&6
5731 else
5732   lt_cv_ld_reload_flag='-r'
5733 fi
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5735 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5736 reload_flag=$lt_cv_ld_reload_flag
5737 case $reload_flag in
5738 "" | " "*) ;;
5739 *) reload_flag=" $reload_flag" ;;
5740 esac
5741 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5742 case $host_os in
5743   darwin*)
5744     if test "$GCC" = yes; then
5745       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5746     else
5747       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5748     fi
5749     ;;
5750 esac
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760 if test -n "$ac_tool_prefix"; then
5761   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5762 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5764 $as_echo_n "checking for $ac_word... " >&6; }
5765 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5766   $as_echo_n "(cached) " >&6
5767 else
5768   if test -n "$OBJDUMP"; then
5769   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5770 else
5771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772 for as_dir in $PATH
5773 do
5774   IFS=$as_save_IFS
5775   test -z "$as_dir" && as_dir=.
5776     for ac_exec_ext in '' $ac_executable_extensions; do
5777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5778     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5780     break 2
5781   fi
5782 done
5783   done
5784 IFS=$as_save_IFS
5785
5786 fi
5787 fi
5788 OBJDUMP=$ac_cv_prog_OBJDUMP
5789 if test -n "$OBJDUMP"; then
5790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5791 $as_echo "$OBJDUMP" >&6; }
5792 else
5793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5794 $as_echo "no" >&6; }
5795 fi
5796
5797
5798 fi
5799 if test -z "$ac_cv_prog_OBJDUMP"; then
5800   ac_ct_OBJDUMP=$OBJDUMP
5801   # Extract the first word of "objdump", so it can be a program name with args.
5802 set dummy objdump; ac_word=$2
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804 $as_echo_n "checking for $ac_word... " >&6; }
5805 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5806   $as_echo_n "(cached) " >&6
5807 else
5808   if test -n "$ac_ct_OBJDUMP"; then
5809   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5810 else
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH
5813 do
5814   IFS=$as_save_IFS
5815   test -z "$as_dir" && as_dir=.
5816     for ac_exec_ext in '' $ac_executable_extensions; do
5817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820     break 2
5821   fi
5822 done
5823   done
5824 IFS=$as_save_IFS
5825
5826 fi
5827 fi
5828 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5829 if test -n "$ac_ct_OBJDUMP"; then
5830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5831 $as_echo "$ac_ct_OBJDUMP" >&6; }
5832 else
5833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834 $as_echo "no" >&6; }
5835 fi
5836
5837   if test "x$ac_ct_OBJDUMP" = x; then
5838     OBJDUMP="false"
5839   else
5840     case $cross_compiling:$ac_tool_warned in
5841 yes:)
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5844 ac_tool_warned=yes ;;
5845 esac
5846     OBJDUMP=$ac_ct_OBJDUMP
5847   fi
5848 else
5849   OBJDUMP="$ac_cv_prog_OBJDUMP"
5850 fi
5851
5852 test -z "$OBJDUMP" && OBJDUMP=objdump
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5863 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5864 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5865   $as_echo_n "(cached) " >&6
5866 else
5867   lt_cv_file_magic_cmd='$MAGIC_CMD'
5868 lt_cv_file_magic_test_file=
5869 lt_cv_deplibs_check_method='unknown'
5870 # Need to set the preceding variable on all platforms that support
5871 # interlibrary dependencies.
5872 # 'none' -- dependencies not supported.
5873 # `unknown' -- same as none, but documents that we really don't know.
5874 # 'pass_all' -- all dependencies passed with no checks.
5875 # 'test_compile' -- check by making test program.
5876 # 'file_magic [[regex]]' -- check by looking for files in library path
5877 # which responds to the $file_magic_cmd with a given extended regex.
5878 # If you have `file' or equivalent on your system and you're not sure
5879 # whether `pass_all' will *always* work, you probably want this one.
5880
5881 case $host_os in
5882 aix[4-9]*)
5883   lt_cv_deplibs_check_method=pass_all
5884   ;;
5885
5886 beos*)
5887   lt_cv_deplibs_check_method=pass_all
5888   ;;
5889
5890 bsdi[45]*)
5891   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5892   lt_cv_file_magic_cmd='/usr/bin/file -L'
5893   lt_cv_file_magic_test_file=/shlib/libc.so
5894   ;;
5895
5896 cygwin*)
5897   # func_win32_libid is a shell function defined in ltmain.sh
5898   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5899   lt_cv_file_magic_cmd='func_win32_libid'
5900   ;;
5901
5902 mingw* | pw32*)
5903   # Base MSYS/MinGW do not provide the 'file' command needed by
5904   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5905   # unless we find 'file', for example because we are cross-compiling.
5906   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5907   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5908     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5909     lt_cv_file_magic_cmd='func_win32_libid'
5910   else
5911     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5912     lt_cv_file_magic_cmd='$OBJDUMP -f'
5913   fi
5914   ;;
5915
5916 cegcc*)
5917   # use the weaker test based on 'objdump'. See mingw*.
5918   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5919   lt_cv_file_magic_cmd='$OBJDUMP -f'
5920   ;;
5921
5922 darwin* | rhapsody*)
5923   lt_cv_deplibs_check_method=pass_all
5924   ;;
5925
5926 freebsd* | dragonfly*)
5927   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5928     case $host_cpu in
5929     i*86 )
5930       # Not sure whether the presence of OpenBSD here was a mistake.
5931       # Let's accept both of them until this is cleared up.
5932       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5933       lt_cv_file_magic_cmd=/usr/bin/file
5934       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5935       ;;
5936     esac
5937   else
5938     lt_cv_deplibs_check_method=pass_all
5939   fi
5940   ;;
5941
5942 gnu*)
5943   lt_cv_deplibs_check_method=pass_all
5944   ;;
5945
5946 haiku*)
5947   lt_cv_deplibs_check_method=pass_all
5948   ;;
5949
5950 hpux10.20* | hpux11*)
5951   lt_cv_file_magic_cmd=/usr/bin/file
5952   case $host_cpu in
5953   ia64*)
5954     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5955     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5956     ;;
5957   hppa*64*)
5958     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]'
5959     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5960     ;;
5961   *)
5962     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5963     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5964     ;;
5965   esac
5966   ;;
5967
5968 interix[3-9]*)
5969   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5970   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5971   ;;
5972
5973 irix5* | irix6* | nonstopux*)
5974   case $LD in
5975   *-32|*"-32 ") libmagic=32-bit;;
5976   *-n32|*"-n32 ") libmagic=N32;;
5977   *-64|*"-64 ") libmagic=64-bit;;
5978   *) libmagic=never-match;;
5979   esac
5980   lt_cv_deplibs_check_method=pass_all
5981   ;;
5982
5983 # This must be Linux ELF.
5984 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5985   lt_cv_deplibs_check_method=pass_all
5986   ;;
5987
5988 netbsd*)
5989   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5990     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5991   else
5992     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5993   fi
5994   ;;
5995
5996 newos6*)
5997   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5998   lt_cv_file_magic_cmd=/usr/bin/file
5999   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6000   ;;
6001
6002 *nto* | *qnx*)
6003   lt_cv_deplibs_check_method=pass_all
6004   ;;
6005
6006 openbsd*)
6007   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6008     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6009   else
6010     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6011   fi
6012   ;;
6013
6014 osf3* | osf4* | osf5*)
6015   lt_cv_deplibs_check_method=pass_all
6016   ;;
6017
6018 rdos*)
6019   lt_cv_deplibs_check_method=pass_all
6020   ;;
6021
6022 solaris*)
6023   lt_cv_deplibs_check_method=pass_all
6024   ;;
6025
6026 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6027   lt_cv_deplibs_check_method=pass_all
6028   ;;
6029
6030 sysv4 | sysv4.3*)
6031   case $host_vendor in
6032   motorola)
6033     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]'
6034     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6035     ;;
6036   ncr)
6037     lt_cv_deplibs_check_method=pass_all
6038     ;;
6039   sequent)
6040     lt_cv_file_magic_cmd='/bin/file'
6041     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6042     ;;
6043   sni)
6044     lt_cv_file_magic_cmd='/bin/file'
6045     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6046     lt_cv_file_magic_test_file=/lib/libc.so
6047     ;;
6048   siemens)
6049     lt_cv_deplibs_check_method=pass_all
6050     ;;
6051   pc)
6052     lt_cv_deplibs_check_method=pass_all
6053     ;;
6054   esac
6055   ;;
6056
6057 tpf*)
6058   lt_cv_deplibs_check_method=pass_all
6059   ;;
6060 esac
6061
6062 fi
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6064 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6065 file_magic_cmd=$lt_cv_file_magic_cmd
6066 deplibs_check_method=$lt_cv_deplibs_check_method
6067 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080 if test -n "$ac_tool_prefix"; then
6081   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6082 set dummy ${ac_tool_prefix}ar; ac_word=$2
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084 $as_echo_n "checking for $ac_word... " >&6; }
6085 if test "${ac_cv_prog_AR+set}" = set; then :
6086   $as_echo_n "(cached) " >&6
6087 else
6088   if test -n "$AR"; then
6089   ac_cv_prog_AR="$AR" # Let the user override the test.
6090 else
6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092 for as_dir in $PATH
6093 do
6094   IFS=$as_save_IFS
6095   test -z "$as_dir" && as_dir=.
6096     for ac_exec_ext in '' $ac_executable_extensions; do
6097   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098     ac_cv_prog_AR="${ac_tool_prefix}ar"
6099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6100     break 2
6101   fi
6102 done
6103   done
6104 IFS=$as_save_IFS
6105
6106 fi
6107 fi
6108 AR=$ac_cv_prog_AR
6109 if test -n "$AR"; then
6110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6111 $as_echo "$AR" >&6; }
6112 else
6113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114 $as_echo "no" >&6; }
6115 fi
6116
6117
6118 fi
6119 if test -z "$ac_cv_prog_AR"; then
6120   ac_ct_AR=$AR
6121   # Extract the first word of "ar", so it can be a program name with args.
6122 set dummy ar; ac_word=$2
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6124 $as_echo_n "checking for $ac_word... " >&6; }
6125 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6126   $as_echo_n "(cached) " >&6
6127 else
6128   if test -n "$ac_ct_AR"; then
6129   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6130 else
6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132 for as_dir in $PATH
6133 do
6134   IFS=$as_save_IFS
6135   test -z "$as_dir" && as_dir=.
6136     for ac_exec_ext in '' $ac_executable_extensions; do
6137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6138     ac_cv_prog_ac_ct_AR="ar"
6139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6140     break 2
6141   fi
6142 done
6143   done
6144 IFS=$as_save_IFS
6145
6146 fi
6147 fi
6148 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6149 if test -n "$ac_ct_AR"; then
6150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6151 $as_echo "$ac_ct_AR" >&6; }
6152 else
6153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6154 $as_echo "no" >&6; }
6155 fi
6156
6157   if test "x$ac_ct_AR" = x; then
6158     AR="false"
6159   else
6160     case $cross_compiling:$ac_tool_warned in
6161 yes:)
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6163 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6164 ac_tool_warned=yes ;;
6165 esac
6166     AR=$ac_ct_AR
6167   fi
6168 else
6169   AR="$ac_cv_prog_AR"
6170 fi
6171
6172 test -z "$AR" && AR=ar
6173 test -z "$AR_FLAGS" && AR_FLAGS=cru
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185 if test -n "$ac_tool_prefix"; then
6186   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}strip; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if test "${ac_cv_prog_STRIP+set}" = set; then :
6191   $as_echo_n "(cached) " >&6
6192 else
6193   if test -n "$STRIP"; then
6194   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6195 else
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 for as_dir in $PATH
6198 do
6199   IFS=$as_save_IFS
6200   test -z "$as_dir" && as_dir=.
6201     for ac_exec_ext in '' $ac_executable_extensions; do
6202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205     break 2
6206   fi
6207 done
6208   done
6209 IFS=$as_save_IFS
6210
6211 fi
6212 fi
6213 STRIP=$ac_cv_prog_STRIP
6214 if test -n "$STRIP"; then
6215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6216 $as_echo "$STRIP" >&6; }
6217 else
6218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6220 fi
6221
6222
6223 fi
6224 if test -z "$ac_cv_prog_STRIP"; then
6225   ac_ct_STRIP=$STRIP
6226   # Extract the first word of "strip", so it can be a program name with args.
6227 set dummy strip; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6231   $as_echo_n "(cached) " >&6
6232 else
6233   if test -n "$ac_ct_STRIP"; then
6234   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6238 do
6239   IFS=$as_save_IFS
6240   test -z "$as_dir" && as_dir=.
6241     for ac_exec_ext in '' $ac_executable_extensions; do
6242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243     ac_cv_prog_ac_ct_STRIP="strip"
6244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245     break 2
6246   fi
6247 done
6248   done
6249 IFS=$as_save_IFS
6250
6251 fi
6252 fi
6253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6254 if test -n "$ac_ct_STRIP"; then
6255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6256 $as_echo "$ac_ct_STRIP" >&6; }
6257 else
6258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6260 fi
6261
6262   if test "x$ac_ct_STRIP" = x; then
6263     STRIP=":"
6264   else
6265     case $cross_compiling:$ac_tool_warned in
6266 yes:)
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6269 ac_tool_warned=yes ;;
6270 esac
6271     STRIP=$ac_ct_STRIP
6272   fi
6273 else
6274   STRIP="$ac_cv_prog_STRIP"
6275 fi
6276
6277 test -z "$STRIP" && STRIP=:
6278
6279
6280
6281
6282
6283
6284 if test -n "$ac_tool_prefix"; then
6285   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6290   $as_echo_n "(cached) " >&6
6291 else
6292   if test -n "$RANLIB"; then
6293   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6294 else
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 for as_dir in $PATH
6297 do
6298   IFS=$as_save_IFS
6299   test -z "$as_dir" && as_dir=.
6300     for ac_exec_ext in '' $ac_executable_extensions; do
6301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304     break 2
6305   fi
6306 done
6307   done
6308 IFS=$as_save_IFS
6309
6310 fi
6311 fi
6312 RANLIB=$ac_cv_prog_RANLIB
6313 if test -n "$RANLIB"; then
6314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6315 $as_echo "$RANLIB" >&6; }
6316 else
6317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6319 fi
6320
6321
6322 fi
6323 if test -z "$ac_cv_prog_RANLIB"; then
6324   ac_ct_RANLIB=$RANLIB
6325   # Extract the first word of "ranlib", so it can be a program name with args.
6326 set dummy ranlib; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6330   $as_echo_n "(cached) " >&6
6331 else
6332   if test -n "$ac_ct_RANLIB"; then
6333   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6334 else
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6336 for as_dir in $PATH
6337 do
6338   IFS=$as_save_IFS
6339   test -z "$as_dir" && as_dir=.
6340     for ac_exec_ext in '' $ac_executable_extensions; do
6341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6342     ac_cv_prog_ac_ct_RANLIB="ranlib"
6343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6344     break 2
6345   fi
6346 done
6347   done
6348 IFS=$as_save_IFS
6349
6350 fi
6351 fi
6352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6353 if test -n "$ac_ct_RANLIB"; then
6354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6355 $as_echo "$ac_ct_RANLIB" >&6; }
6356 else
6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6359 fi
6360
6361   if test "x$ac_ct_RANLIB" = x; then
6362     RANLIB=":"
6363   else
6364     case $cross_compiling:$ac_tool_warned in
6365 yes:)
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6368 ac_tool_warned=yes ;;
6369 esac
6370     RANLIB=$ac_ct_RANLIB
6371   fi
6372 else
6373   RANLIB="$ac_cv_prog_RANLIB"
6374 fi
6375
6376 test -z "$RANLIB" && RANLIB=:
6377
6378
6379
6380
6381
6382
6383 # Determine commands to create old-style static archives.
6384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6385 old_postinstall_cmds='chmod 644 $oldlib'
6386 old_postuninstall_cmds=
6387
6388 if test -n "$RANLIB"; then
6389   case $host_os in
6390   openbsd*)
6391     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6392     ;;
6393   *)
6394     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6395     ;;
6396   esac
6397   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6398 fi
6399
6400 case $host_os in
6401   darwin*)
6402     lock_old_archive_extraction=yes ;;
6403   *)
6404     lock_old_archive_extraction=no ;;
6405 esac
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445 # If no C compiler was specified, use CC.
6446 LTCC=${LTCC-"$CC"}
6447
6448 # If no C compiler flags were specified, use CFLAGS.
6449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6450
6451 # Allow CC to be a program name with arguments.
6452 compiler=$CC
6453
6454
6455 # Check for command to grab the raw symbol name followed by C symbol from nm.
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6457 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6458 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6459   $as_echo_n "(cached) " >&6
6460 else
6461
6462 # These are sane defaults that work on at least a few old systems.
6463 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6464
6465 # Character class describing NM global symbol codes.
6466 symcode='[BCDEGRST]'
6467
6468 # Regexp to match symbols that can be accessed directly from C.
6469 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6470
6471 # Define system-specific variables.
6472 case $host_os in
6473 aix*)
6474   symcode='[BCDT]'
6475   ;;
6476 cygwin* | mingw* | pw32* | cegcc*)
6477   symcode='[ABCDGISTW]'
6478   ;;
6479 hpux*)
6480   if test "$host_cpu" = ia64; then
6481     symcode='[ABCDEGRST]'
6482   fi
6483   ;;
6484 irix* | nonstopux*)
6485   symcode='[BCDEGRST]'
6486   ;;
6487 osf*)
6488   symcode='[BCDEGQRST]'
6489   ;;
6490 solaris*)
6491   symcode='[BDRT]'
6492   ;;
6493 sco3.2v5*)
6494   symcode='[DT]'
6495   ;;
6496 sysv4.2uw2*)
6497   symcode='[DT]'
6498   ;;
6499 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6500   symcode='[ABDT]'
6501   ;;
6502 sysv4)
6503   symcode='[DFNSTU]'
6504   ;;
6505 esac
6506
6507 # If we're using GNU nm, then use its standard symbol codes.
6508 case `$NM -V 2>&1` in
6509 *GNU* | *'with BFD'*)
6510   symcode='[ABCDGIRSTW]' ;;
6511 esac
6512
6513 # Transform an extracted symbol line into a proper C declaration.
6514 # Some systems (esp. on ia64) link data and code symbols differently,
6515 # so use this general approach.
6516 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6517
6518 # Transform an extracted symbol line into symbol name and symbol address
6519 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6520 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'"
6521
6522 # Handle CRLF in mingw tool chain
6523 opt_cr=
6524 case $build_os in
6525 mingw*)
6526   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6527   ;;
6528 esac
6529
6530 # Try without a prefix underscore, then with it.
6531 for ac_symprfx in "" "_"; do
6532
6533   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6534   symxfrm="\\1 $ac_symprfx\\2 \\2"
6535
6536   # Write the raw and C identifiers.
6537   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6538     # Fake it for dumpbin and say T for any non-static function
6539     # and D for any global variable.
6540     # Also find C++ and __fastcall symbols from MSVC++,
6541     # which start with @ or ?.
6542     lt_cv_sys_global_symbol_pipe="$AWK '"\
6543 "     {last_section=section; section=\$ 3};"\
6544 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6545 "     \$ 0!~/External *\|/{next};"\
6546 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6547 "     {if(hide[section]) next};"\
6548 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6549 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6550 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6551 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6552 "     ' prfx=^$ac_symprfx"
6553   else
6554     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6555   fi
6556
6557   # Check to see that the pipe works correctly.
6558   pipe_works=no
6559
6560   rm -f conftest*
6561   cat > conftest.$ac_ext <<_LT_EOF
6562 #ifdef __cplusplus
6563 extern "C" {
6564 #endif
6565 char nm_test_var;
6566 void nm_test_func(void);
6567 void nm_test_func(void){}
6568 #ifdef __cplusplus
6569 }
6570 #endif
6571 int main(){nm_test_var='a';nm_test_func();return(0);}
6572 _LT_EOF
6573
6574   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6575   (eval $ac_compile) 2>&5
6576   ac_status=$?
6577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6578   test $ac_status = 0; }; then
6579     # Now try to grab the symbols.
6580     nlist=conftest.nm
6581     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6582   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6583   ac_status=$?
6584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6585   test $ac_status = 0; } && test -s "$nlist"; then
6586       # Try sorting and uniquifying the output.
6587       if sort "$nlist" | uniq > "$nlist"T; then
6588         mv -f "$nlist"T "$nlist"
6589       else
6590         rm -f "$nlist"T
6591       fi
6592
6593       # Make sure that we snagged all the symbols we need.
6594       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6595         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6596           cat <<_LT_EOF > conftest.$ac_ext
6597 #ifdef __cplusplus
6598 extern "C" {
6599 #endif
6600
6601 _LT_EOF
6602           # Now generate the symbol file.
6603           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6604
6605           cat <<_LT_EOF >> conftest.$ac_ext
6606
6607 /* The mapping between symbol names and symbols.  */
6608 const struct {
6609   const char *name;
6610   void       *address;
6611 }
6612 lt__PROGRAM__LTX_preloaded_symbols[] =
6613 {
6614   { "@PROGRAM@", (void *) 0 },
6615 _LT_EOF
6616           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6617           cat <<\_LT_EOF >> conftest.$ac_ext
6618   {0, (void *) 0}
6619 };
6620
6621 /* This works around a problem in FreeBSD linker */
6622 #ifdef FREEBSD_WORKAROUND
6623 static const void *lt_preloaded_setup() {
6624   return lt__PROGRAM__LTX_preloaded_symbols;
6625 }
6626 #endif
6627
6628 #ifdef __cplusplus
6629 }
6630 #endif
6631 _LT_EOF
6632           # Now try linking the two files.
6633           mv conftest.$ac_objext conftstm.$ac_objext
6634           lt_save_LIBS="$LIBS"
6635           lt_save_CFLAGS="$CFLAGS"
6636           LIBS="conftstm.$ac_objext"
6637           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6638           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6639   (eval $ac_link) 2>&5
6640   ac_status=$?
6641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6642   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6643             pipe_works=yes
6644           fi
6645           LIBS="$lt_save_LIBS"
6646           CFLAGS="$lt_save_CFLAGS"
6647         else
6648           echo "cannot find nm_test_func in $nlist" >&5
6649         fi
6650       else
6651         echo "cannot find nm_test_var in $nlist" >&5
6652       fi
6653     else
6654       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6655     fi
6656   else
6657     echo "$progname: failed program was:" >&5
6658     cat conftest.$ac_ext >&5
6659   fi
6660   rm -rf conftest* conftst*
6661
6662   # Do not use the global_symbol_pipe unless it works.
6663   if test "$pipe_works" = yes; then
6664     break
6665   else
6666     lt_cv_sys_global_symbol_pipe=
6667   fi
6668 done
6669
6670 fi
6671
6672 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6673   lt_cv_sys_global_symbol_to_cdecl=
6674 fi
6675 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6677 $as_echo "failed" >&6; }
6678 else
6679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6680 $as_echo "ok" >&6; }
6681 fi
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704 # Check whether --enable-libtool-lock was given.
6705 if test "${enable_libtool_lock+set}" = set; then :
6706   enableval=$enable_libtool_lock;
6707 fi
6708
6709 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6710
6711 # Some flags need to be propagated to the compiler or linker for good
6712 # libtool support.
6713 case $host in
6714 ia64-*-hpux*)
6715   # Find out which ABI we are using.
6716   echo 'int i;' > conftest.$ac_ext
6717   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718   (eval $ac_compile) 2>&5
6719   ac_status=$?
6720   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6721   test $ac_status = 0; }; then
6722     case `/usr/bin/file conftest.$ac_objext` in
6723       *ELF-32*)
6724         HPUX_IA64_MODE="32"
6725         ;;
6726       *ELF-64*)
6727         HPUX_IA64_MODE="64"
6728         ;;
6729     esac
6730   fi
6731   rm -rf conftest*
6732   ;;
6733 *-*-irix6*)
6734   # Find out which ABI we are using.
6735   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6736   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6737   (eval $ac_compile) 2>&5
6738   ac_status=$?
6739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6740   test $ac_status = 0; }; then
6741     if test "$lt_cv_prog_gnu_ld" = yes; then
6742       case `/usr/bin/file conftest.$ac_objext` in
6743         *32-bit*)
6744           LD="${LD-ld} -melf32bsmip"
6745           ;;
6746         *N32*)
6747           LD="${LD-ld} -melf32bmipn32"
6748           ;;
6749         *64-bit*)
6750           LD="${LD-ld} -melf64bmip"
6751         ;;
6752       esac
6753     else
6754       case `/usr/bin/file conftest.$ac_objext` in
6755         *32-bit*)
6756           LD="${LD-ld} -32"
6757           ;;
6758         *N32*)
6759           LD="${LD-ld} -n32"
6760           ;;
6761         *64-bit*)
6762           LD="${LD-ld} -64"
6763           ;;
6764       esac
6765     fi
6766   fi
6767   rm -rf conftest*
6768   ;;
6769
6770 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6771 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6772   # Find out which ABI we are using.
6773   echo 'int i;' > conftest.$ac_ext
6774   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6775   (eval $ac_compile) 2>&5
6776   ac_status=$?
6777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6778   test $ac_status = 0; }; then
6779     case `/usr/bin/file conftest.o` in
6780       *32-bit*)
6781         case $host in
6782           x86_64-*kfreebsd*-gnu)
6783             LD="${LD-ld} -m elf_i386_fbsd"
6784             ;;
6785           x86_64-*linux*)
6786             LD="${LD-ld} -m elf_i386"
6787             ;;
6788           ppc64-*linux*|powerpc64-*linux*)
6789             LD="${LD-ld} -m elf32ppclinux"
6790             ;;
6791           s390x-*linux*)
6792             LD="${LD-ld} -m elf_s390"
6793             ;;
6794           sparc64-*linux*)
6795             LD="${LD-ld} -m elf32_sparc"
6796             ;;
6797         esac
6798         ;;
6799       *64-bit*)
6800         case $host in
6801           x86_64-*kfreebsd*-gnu)
6802             LD="${LD-ld} -m elf_x86_64_fbsd"
6803             ;;
6804           x86_64-*linux*)
6805             LD="${LD-ld} -m elf_x86_64"
6806             ;;
6807           ppc*-*linux*|powerpc*-*linux*)
6808             LD="${LD-ld} -m elf64ppc"
6809             ;;
6810           s390*-*linux*|s390*-*tpf*)
6811             LD="${LD-ld} -m elf64_s390"
6812             ;;
6813           sparc*-*linux*)
6814             LD="${LD-ld} -m elf64_sparc"
6815             ;;
6816         esac
6817         ;;
6818     esac
6819   fi
6820   rm -rf conftest*
6821   ;;
6822
6823 *-*-sco3.2v5*)
6824   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6825   SAVE_CFLAGS="$CFLAGS"
6826   CFLAGS="$CFLAGS -belf"
6827   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6828 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6829 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6830   $as_echo_n "(cached) " >&6
6831 else
6832   ac_ext=c
6833 ac_cpp='$CPP $CPPFLAGS'
6834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6837
6838      if test x$gcc_no_link = xyes; then
6839   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6840 fi
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h.  */
6843
6844 int
6845 main ()
6846 {
6847
6848   ;
6849   return 0;
6850 }
6851 _ACEOF
6852 if ac_fn_c_try_link "$LINENO"; then :
6853   lt_cv_cc_needs_belf=yes
6854 else
6855   lt_cv_cc_needs_belf=no
6856 fi
6857 rm -f core conftest.err conftest.$ac_objext \
6858     conftest$ac_exeext conftest.$ac_ext
6859      ac_ext=c
6860 ac_cpp='$CPP $CPPFLAGS'
6861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6864
6865 fi
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6867 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6868   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6869     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6870     CFLAGS="$SAVE_CFLAGS"
6871   fi
6872   ;;
6873 sparc*-*solaris*)
6874   # Find out which ABI we are using.
6875   echo 'int i;' > conftest.$ac_ext
6876   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6877   (eval $ac_compile) 2>&5
6878   ac_status=$?
6879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6880   test $ac_status = 0; }; then
6881     case `/usr/bin/file conftest.o` in
6882     *64-bit*)
6883       case $lt_cv_prog_gnu_ld in
6884       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6885       *)
6886         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6887           LD="${LD-ld} -64"
6888         fi
6889         ;;
6890       esac
6891       ;;
6892     esac
6893   fi
6894   rm -rf conftest*
6895   ;;
6896 esac
6897
6898 need_locks="$enable_libtool_lock"
6899
6900
6901   case $host_os in
6902     rhapsody* | darwin*)
6903     if test -n "$ac_tool_prefix"; then
6904   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6905 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907 $as_echo_n "checking for $ac_word... " >&6; }
6908 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6909   $as_echo_n "(cached) " >&6
6910 else
6911   if test -n "$DSYMUTIL"; then
6912   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6913 else
6914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6915 for as_dir in $PATH
6916 do
6917   IFS=$as_save_IFS
6918   test -z "$as_dir" && as_dir=.
6919     for ac_exec_ext in '' $ac_executable_extensions; do
6920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6921     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6923     break 2
6924   fi
6925 done
6926   done
6927 IFS=$as_save_IFS
6928
6929 fi
6930 fi
6931 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6932 if test -n "$DSYMUTIL"; then
6933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6934 $as_echo "$DSYMUTIL" >&6; }
6935 else
6936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6937 $as_echo "no" >&6; }
6938 fi
6939
6940
6941 fi
6942 if test -z "$ac_cv_prog_DSYMUTIL"; then
6943   ac_ct_DSYMUTIL=$DSYMUTIL
6944   # Extract the first word of "dsymutil", so it can be a program name with args.
6945 set dummy dsymutil; ac_word=$2
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6947 $as_echo_n "checking for $ac_word... " >&6; }
6948 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6949   $as_echo_n "(cached) " >&6
6950 else
6951   if test -n "$ac_ct_DSYMUTIL"; then
6952   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6953 else
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH
6956 do
6957   IFS=$as_save_IFS
6958   test -z "$as_dir" && as_dir=.
6959     for ac_exec_ext in '' $ac_executable_extensions; do
6960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6961     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6962     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6963     break 2
6964   fi
6965 done
6966   done
6967 IFS=$as_save_IFS
6968
6969 fi
6970 fi
6971 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6972 if test -n "$ac_ct_DSYMUTIL"; then
6973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6974 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6975 else
6976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6977 $as_echo "no" >&6; }
6978 fi
6979
6980   if test "x$ac_ct_DSYMUTIL" = x; then
6981     DSYMUTIL=":"
6982   else
6983     case $cross_compiling:$ac_tool_warned in
6984 yes:)
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6986 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6987 ac_tool_warned=yes ;;
6988 esac
6989     DSYMUTIL=$ac_ct_DSYMUTIL
6990   fi
6991 else
6992   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6993 fi
6994
6995     if test -n "$ac_tool_prefix"; then
6996   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6997 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7001   $as_echo_n "(cached) " >&6
7002 else
7003   if test -n "$NMEDIT"; then
7004   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7008 do
7009   IFS=$as_save_IFS
7010   test -z "$as_dir" && as_dir=.
7011     for ac_exec_ext in '' $ac_executable_extensions; do
7012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015     break 2
7016   fi
7017 done
7018   done
7019 IFS=$as_save_IFS
7020
7021 fi
7022 fi
7023 NMEDIT=$ac_cv_prog_NMEDIT
7024 if test -n "$NMEDIT"; then
7025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7026 $as_echo "$NMEDIT" >&6; }
7027 else
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7030 fi
7031
7032
7033 fi
7034 if test -z "$ac_cv_prog_NMEDIT"; then
7035   ac_ct_NMEDIT=$NMEDIT
7036   # Extract the first word of "nmedit", so it can be a program name with args.
7037 set dummy nmedit; ac_word=$2
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7039 $as_echo_n "checking for $ac_word... " >&6; }
7040 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7041   $as_echo_n "(cached) " >&6
7042 else
7043   if test -n "$ac_ct_NMEDIT"; then
7044   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7045 else
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in $PATH
7048 do
7049   IFS=$as_save_IFS
7050   test -z "$as_dir" && as_dir=.
7051     for ac_exec_ext in '' $ac_executable_extensions; do
7052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7053     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055     break 2
7056   fi
7057 done
7058   done
7059 IFS=$as_save_IFS
7060
7061 fi
7062 fi
7063 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7064 if test -n "$ac_ct_NMEDIT"; then
7065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7066 $as_echo "$ac_ct_NMEDIT" >&6; }
7067 else
7068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7069 $as_echo "no" >&6; }
7070 fi
7071
7072   if test "x$ac_ct_NMEDIT" = x; then
7073     NMEDIT=":"
7074   else
7075     case $cross_compiling:$ac_tool_warned in
7076 yes:)
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7079 ac_tool_warned=yes ;;
7080 esac
7081     NMEDIT=$ac_ct_NMEDIT
7082   fi
7083 else
7084   NMEDIT="$ac_cv_prog_NMEDIT"
7085 fi
7086
7087     if test -n "$ac_tool_prefix"; then
7088   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7089 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if test "${ac_cv_prog_LIPO+set}" = set; then :
7093   $as_echo_n "(cached) " >&6
7094 else
7095   if test -n "$LIPO"; then
7096   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7097 else
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in $PATH
7100 do
7101   IFS=$as_save_IFS
7102   test -z "$as_dir" && as_dir=.
7103     for ac_exec_ext in '' $ac_executable_extensions; do
7104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107     break 2
7108   fi
7109 done
7110   done
7111 IFS=$as_save_IFS
7112
7113 fi
7114 fi
7115 LIPO=$ac_cv_prog_LIPO
7116 if test -n "$LIPO"; then
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7118 $as_echo "$LIPO" >&6; }
7119 else
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7122 fi
7123
7124
7125 fi
7126 if test -z "$ac_cv_prog_LIPO"; then
7127   ac_ct_LIPO=$LIPO
7128   # Extract the first word of "lipo", so it can be a program name with args.
7129 set dummy lipo; ac_word=$2
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7131 $as_echo_n "checking for $ac_word... " >&6; }
7132 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7133   $as_echo_n "(cached) " >&6
7134 else
7135   if test -n "$ac_ct_LIPO"; then
7136   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7137 else
7138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 for as_dir in $PATH
7140 do
7141   IFS=$as_save_IFS
7142   test -z "$as_dir" && as_dir=.
7143     for ac_exec_ext in '' $ac_executable_extensions; do
7144   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145     ac_cv_prog_ac_ct_LIPO="lipo"
7146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7147     break 2
7148   fi
7149 done
7150   done
7151 IFS=$as_save_IFS
7152
7153 fi
7154 fi
7155 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7156 if test -n "$ac_ct_LIPO"; then
7157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7158 $as_echo "$ac_ct_LIPO" >&6; }
7159 else
7160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7161 $as_echo "no" >&6; }
7162 fi
7163
7164   if test "x$ac_ct_LIPO" = x; then
7165     LIPO=":"
7166   else
7167     case $cross_compiling:$ac_tool_warned in
7168 yes:)
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7171 ac_tool_warned=yes ;;
7172 esac
7173     LIPO=$ac_ct_LIPO
7174   fi
7175 else
7176   LIPO="$ac_cv_prog_LIPO"
7177 fi
7178
7179     if test -n "$ac_tool_prefix"; then
7180   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7181 set dummy ${ac_tool_prefix}otool; ac_word=$2
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 $as_echo_n "checking for $ac_word... " >&6; }
7184 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7185   $as_echo_n "(cached) " >&6
7186 else
7187   if test -n "$OTOOL"; then
7188   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7189 else
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 for as_dir in $PATH
7192 do
7193   IFS=$as_save_IFS
7194   test -z "$as_dir" && as_dir=.
7195     for ac_exec_ext in '' $ac_executable_extensions; do
7196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7197     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7199     break 2
7200   fi
7201 done
7202   done
7203 IFS=$as_save_IFS
7204
7205 fi
7206 fi
7207 OTOOL=$ac_cv_prog_OTOOL
7208 if test -n "$OTOOL"; then
7209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7210 $as_echo "$OTOOL" >&6; }
7211 else
7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7213 $as_echo "no" >&6; }
7214 fi
7215
7216
7217 fi
7218 if test -z "$ac_cv_prog_OTOOL"; then
7219   ac_ct_OTOOL=$OTOOL
7220   # Extract the first word of "otool", so it can be a program name with args.
7221 set dummy otool; ac_word=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7225   $as_echo_n "(cached) " >&6
7226 else
7227   if test -n "$ac_ct_OTOOL"; then
7228   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7229 else
7230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 for as_dir in $PATH
7232 do
7233   IFS=$as_save_IFS
7234   test -z "$as_dir" && as_dir=.
7235     for ac_exec_ext in '' $ac_executable_extensions; do
7236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237     ac_cv_prog_ac_ct_OTOOL="otool"
7238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7239     break 2
7240   fi
7241 done
7242   done
7243 IFS=$as_save_IFS
7244
7245 fi
7246 fi
7247 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7248 if test -n "$ac_ct_OTOOL"; then
7249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7250 $as_echo "$ac_ct_OTOOL" >&6; }
7251 else
7252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7253 $as_echo "no" >&6; }
7254 fi
7255
7256   if test "x$ac_ct_OTOOL" = x; then
7257     OTOOL=":"
7258   else
7259     case $cross_compiling:$ac_tool_warned in
7260 yes:)
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7263 ac_tool_warned=yes ;;
7264 esac
7265     OTOOL=$ac_ct_OTOOL
7266   fi
7267 else
7268   OTOOL="$ac_cv_prog_OTOOL"
7269 fi
7270
7271     if test -n "$ac_tool_prefix"; then
7272   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7273 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7275 $as_echo_n "checking for $ac_word... " >&6; }
7276 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7277   $as_echo_n "(cached) " >&6
7278 else
7279   if test -n "$OTOOL64"; then
7280   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7281 else
7282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 for as_dir in $PATH
7284 do
7285   IFS=$as_save_IFS
7286   test -z "$as_dir" && as_dir=.
7287     for ac_exec_ext in '' $ac_executable_extensions; do
7288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7289     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7291     break 2
7292   fi
7293 done
7294   done
7295 IFS=$as_save_IFS
7296
7297 fi
7298 fi
7299 OTOOL64=$ac_cv_prog_OTOOL64
7300 if test -n "$OTOOL64"; then
7301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7302 $as_echo "$OTOOL64" >&6; }
7303 else
7304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7305 $as_echo "no" >&6; }
7306 fi
7307
7308
7309 fi
7310 if test -z "$ac_cv_prog_OTOOL64"; then
7311   ac_ct_OTOOL64=$OTOOL64
7312   # Extract the first word of "otool64", so it can be a program name with args.
7313 set dummy otool64; ac_word=$2
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7315 $as_echo_n "checking for $ac_word... " >&6; }
7316 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7317   $as_echo_n "(cached) " >&6
7318 else
7319   if test -n "$ac_ct_OTOOL64"; then
7320   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7321 else
7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 for as_dir in $PATH
7324 do
7325   IFS=$as_save_IFS
7326   test -z "$as_dir" && as_dir=.
7327     for ac_exec_ext in '' $ac_executable_extensions; do
7328   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7329     ac_cv_prog_ac_ct_OTOOL64="otool64"
7330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7331     break 2
7332   fi
7333 done
7334   done
7335 IFS=$as_save_IFS
7336
7337 fi
7338 fi
7339 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7340 if test -n "$ac_ct_OTOOL64"; then
7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7342 $as_echo "$ac_ct_OTOOL64" >&6; }
7343 else
7344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7345 $as_echo "no" >&6; }
7346 fi
7347
7348   if test "x$ac_ct_OTOOL64" = x; then
7349     OTOOL64=":"
7350   else
7351     case $cross_compiling:$ac_tool_warned in
7352 yes:)
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7355 ac_tool_warned=yes ;;
7356 esac
7357     OTOOL64=$ac_ct_OTOOL64
7358   fi
7359 else
7360   OTOOL64="$ac_cv_prog_OTOOL64"
7361 fi
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7390 $as_echo_n "checking for -single_module linker flag... " >&6; }
7391 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7392   $as_echo_n "(cached) " >&6
7393 else
7394   lt_cv_apple_cc_single_mod=no
7395       if test -z "${LT_MULTI_MODULE}"; then
7396         # By default we will add the -single_module flag. You can override
7397         # by either setting the environment variable LT_MULTI_MODULE
7398         # non-empty at configure time, or by adding -multi_module to the
7399         # link flags.
7400         rm -rf libconftest.dylib*
7401         echo "int foo(void){return 1;}" > conftest.c
7402         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7403 -dynamiclib -Wl,-single_module conftest.c" >&5
7404         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7405           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7406         _lt_result=$?
7407         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7408           lt_cv_apple_cc_single_mod=yes
7409         else
7410           cat conftest.err >&5
7411         fi
7412         rm -rf libconftest.dylib*
7413         rm -f conftest.*
7414       fi
7415 fi
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7417 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7418     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7419 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7420 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7421   $as_echo_n "(cached) " >&6
7422 else
7423   lt_cv_ld_exported_symbols_list=no
7424       save_LDFLAGS=$LDFLAGS
7425       echo "_main" > conftest.sym
7426       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7427       if test x$gcc_no_link = xyes; then
7428   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7429 fi
7430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7431 /* end confdefs.h.  */
7432
7433 int
7434 main ()
7435 {
7436
7437   ;
7438   return 0;
7439 }
7440 _ACEOF
7441 if ac_fn_c_try_link "$LINENO"; then :
7442   lt_cv_ld_exported_symbols_list=yes
7443 else
7444   lt_cv_ld_exported_symbols_list=no
7445 fi
7446 rm -f core conftest.err conftest.$ac_objext \
7447     conftest$ac_exeext conftest.$ac_ext
7448         LDFLAGS="$save_LDFLAGS"
7449
7450 fi
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7452 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7453     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7454 $as_echo_n "checking for -force_load linker flag... " >&6; }
7455 if test "${lt_cv_ld_force_load+set}" = set; then :
7456   $as_echo_n "(cached) " >&6
7457 else
7458   lt_cv_ld_force_load=no
7459       cat > conftest.c << _LT_EOF
7460 int forced_loaded() { return 2;}
7461 _LT_EOF
7462       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7463       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7464       echo "$AR cru libconftest.a conftest.o" >&5
7465       $AR cru libconftest.a conftest.o 2>&5
7466       cat > conftest.c << _LT_EOF
7467 int main() { return 0;}
7468 _LT_EOF
7469       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7470       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7471       _lt_result=$?
7472       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7473         lt_cv_ld_force_load=yes
7474       else
7475         cat conftest.err >&5
7476       fi
7477         rm -f conftest.err libconftest.a conftest conftest.c
7478         rm -rf conftest.dSYM
7479
7480 fi
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7482 $as_echo "$lt_cv_ld_force_load" >&6; }
7483     case $host_os in
7484     rhapsody* | darwin1.[012])
7485       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7486     darwin1.*)
7487       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7488     darwin*) # darwin 5.x on
7489       # if running on 10.5 or later, the deployment target defaults
7490       # to the OS version, if on x86, and 10.4, the deployment
7491       # target defaults to 10.4. Don't you love it?
7492       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7493         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7494           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7495         10.[012]*)
7496           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7497         10.*)
7498           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7499       esac
7500     ;;
7501   esac
7502     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7503       _lt_dar_single_mod='$single_module'
7504     fi
7505     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7506       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7507     else
7508       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7509     fi
7510     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7511       _lt_dsymutil='~$DSYMUTIL $lib || :'
7512     else
7513       _lt_dsymutil=
7514     fi
7515     ;;
7516   esac
7517
7518 ac_ext=c
7519 ac_cpp='$CPP $CPPFLAGS'
7520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7524 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7525 # On Suns, sometimes $CPP names a directory.
7526 if test -n "$CPP" && test -d "$CPP"; then
7527   CPP=
7528 fi
7529 if test -z "$CPP"; then
7530   if test "${ac_cv_prog_CPP+set}" = set; then :
7531   $as_echo_n "(cached) " >&6
7532 else
7533       # Double quotes because CPP needs to be expanded
7534     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7535     do
7536       ac_preproc_ok=false
7537 for ac_c_preproc_warn_flag in '' yes
7538 do
7539   # Use a header file that comes with gcc, so configuring glibc
7540   # with a fresh cross-compiler works.
7541   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7542   # <limits.h> exists even on freestanding compilers.
7543   # On the NeXT, cc -E runs the code through the compiler's parser,
7544   # not just through cpp. "Syntax error" is here to catch this case.
7545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h.  */
7547 #ifdef __STDC__
7548 # include <limits.h>
7549 #else
7550 # include <assert.h>
7551 #endif
7552                      Syntax error
7553 _ACEOF
7554 if ac_fn_c_try_cpp "$LINENO"; then :
7555
7556 else
7557   # Broken: fails on valid input.
7558 continue
7559 fi
7560 rm -f conftest.err conftest.$ac_ext
7561
7562   # OK, works on sane cases.  Now check whether nonexistent headers
7563   # can be detected and how.
7564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565 /* end confdefs.h.  */
7566 #include <ac_nonexistent.h>
7567 _ACEOF
7568 if ac_fn_c_try_cpp "$LINENO"; then :
7569   # Broken: success on invalid input.
7570 continue
7571 else
7572   # Passes both tests.
7573 ac_preproc_ok=:
7574 break
7575 fi
7576 rm -f conftest.err conftest.$ac_ext
7577
7578 done
7579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7580 rm -f conftest.err conftest.$ac_ext
7581 if $ac_preproc_ok; then :
7582   break
7583 fi
7584
7585     done
7586     ac_cv_prog_CPP=$CPP
7587
7588 fi
7589   CPP=$ac_cv_prog_CPP
7590 else
7591   ac_cv_prog_CPP=$CPP
7592 fi
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7594 $as_echo "$CPP" >&6; }
7595 ac_preproc_ok=false
7596 for ac_c_preproc_warn_flag in '' yes
7597 do
7598   # Use a header file that comes with gcc, so configuring glibc
7599   # with a fresh cross-compiler works.
7600   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7601   # <limits.h> exists even on freestanding compilers.
7602   # On the NeXT, cc -E runs the code through the compiler's parser,
7603   # not just through cpp. "Syntax error" is here to catch this case.
7604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h.  */
7606 #ifdef __STDC__
7607 # include <limits.h>
7608 #else
7609 # include <assert.h>
7610 #endif
7611                      Syntax error
7612 _ACEOF
7613 if ac_fn_c_try_cpp "$LINENO"; then :
7614
7615 else
7616   # Broken: fails on valid input.
7617 continue
7618 fi
7619 rm -f conftest.err conftest.$ac_ext
7620
7621   # OK, works on sane cases.  Now check whether nonexistent headers
7622   # can be detected and how.
7623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624 /* end confdefs.h.  */
7625 #include <ac_nonexistent.h>
7626 _ACEOF
7627 if ac_fn_c_try_cpp "$LINENO"; then :
7628   # Broken: success on invalid input.
7629 continue
7630 else
7631   # Passes both tests.
7632 ac_preproc_ok=:
7633 break
7634 fi
7635 rm -f conftest.err conftest.$ac_ext
7636
7637 done
7638 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7639 rm -f conftest.err conftest.$ac_ext
7640 if $ac_preproc_ok; then :
7641
7642 else
7643   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7644 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7645 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7646 See \`config.log' for more details." "$LINENO" 5; }
7647 fi
7648
7649 ac_ext=c
7650 ac_cpp='$CPP $CPPFLAGS'
7651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7654
7655
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7657 $as_echo_n "checking for ANSI C header files... " >&6; }
7658 if test "${ac_cv_header_stdc+set}" = set; then :
7659   $as_echo_n "(cached) " >&6
7660 else
7661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h.  */
7663 #include <stdlib.h>
7664 #include <stdarg.h>
7665 #include <string.h>
7666 #include <float.h>
7667
7668 int
7669 main ()
7670 {
7671
7672   ;
7673   return 0;
7674 }
7675 _ACEOF
7676 if ac_fn_c_try_compile "$LINENO"; then :
7677   ac_cv_header_stdc=yes
7678 else
7679   ac_cv_header_stdc=no
7680 fi
7681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7682
7683 if test $ac_cv_header_stdc = yes; then
7684   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h.  */
7687 #include <string.h>
7688
7689 _ACEOF
7690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7691   $EGREP "memchr" >/dev/null 2>&1; then :
7692
7693 else
7694   ac_cv_header_stdc=no
7695 fi
7696 rm -f conftest*
7697
7698 fi
7699
7700 if test $ac_cv_header_stdc = yes; then
7701   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7703 /* end confdefs.h.  */
7704 #include <stdlib.h>
7705
7706 _ACEOF
7707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7708   $EGREP "free" >/dev/null 2>&1; then :
7709
7710 else
7711   ac_cv_header_stdc=no
7712 fi
7713 rm -f conftest*
7714
7715 fi
7716
7717 if test $ac_cv_header_stdc = yes; then
7718   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7719   if test "$cross_compiling" = yes; then :
7720   :
7721 else
7722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h.  */
7724 #include <ctype.h>
7725 #include <stdlib.h>
7726 #if ((' ' & 0x0FF) == 0x020)
7727 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7728 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7729 #else
7730 # define ISLOWER(c) \
7731                    (('a' <= (c) && (c) <= 'i') \
7732                      || ('j' <= (c) && (c) <= 'r') \
7733                      || ('s' <= (c) && (c) <= 'z'))
7734 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7735 #endif
7736
7737 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7738 int
7739 main ()
7740 {
7741   int i;
7742   for (i = 0; i < 256; i++)
7743     if (XOR (islower (i), ISLOWER (i))
7744         || toupper (i) != TOUPPER (i))
7745       return 2;
7746   return 0;
7747 }
7748 _ACEOF
7749 if ac_fn_c_try_run "$LINENO"; then :
7750
7751 else
7752   ac_cv_header_stdc=no
7753 fi
7754 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7755   conftest.$ac_objext conftest.beam conftest.$ac_ext
7756 fi
7757
7758 fi
7759 fi
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7761 $as_echo "$ac_cv_header_stdc" >&6; }
7762 if test $ac_cv_header_stdc = yes; then
7763
7764 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7765
7766 fi
7767
7768 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7769 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7770                   inttypes.h stdint.h unistd.h
7771 do :
7772   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7773 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7774 "
7775 eval as_val=\$$as_ac_Header
7776    if test "x$as_val" = x""yes; then :
7777   cat >>confdefs.h <<_ACEOF
7778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7779 _ACEOF
7780
7781 fi
7782
7783 done
7784
7785
7786 for ac_header in dlfcn.h
7787 do :
7788   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7789 "
7790 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7791   cat >>confdefs.h <<_ACEOF
7792 #define HAVE_DLFCN_H 1
7793 _ACEOF
7794
7795 fi
7796
7797 done
7798
7799
7800
7801
7802
7803 # Set options
7804
7805
7806
7807
7808   enable_win32_dll=no
7809
7810
7811             # Check whether --enable-shared was given.
7812 if test "${enable_shared+set}" = set; then :
7813   enableval=$enable_shared; p=${PACKAGE-default}
7814     case $enableval in
7815     yes) enable_shared=yes ;;
7816     no) enable_shared=no ;;
7817     *)
7818       enable_shared=no
7819       # Look at the argument we got.  We use all the common list separators.
7820       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7821       for pkg in $enableval; do
7822         IFS="$lt_save_ifs"
7823         if test "X$pkg" = "X$p"; then
7824           enable_shared=yes
7825         fi
7826       done
7827       IFS="$lt_save_ifs"
7828       ;;
7829     esac
7830 else
7831   enable_shared=yes
7832 fi
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842   # Check whether --enable-static was given.
7843 if test "${enable_static+set}" = set; then :
7844   enableval=$enable_static; p=${PACKAGE-default}
7845     case $enableval in
7846     yes) enable_static=yes ;;
7847     no) enable_static=no ;;
7848     *)
7849      enable_static=no
7850       # Look at the argument we got.  We use all the common list separators.
7851       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7852       for pkg in $enableval; do
7853         IFS="$lt_save_ifs"
7854         if test "X$pkg" = "X$p"; then
7855           enable_static=yes
7856         fi
7857       done
7858       IFS="$lt_save_ifs"
7859       ;;
7860     esac
7861 else
7862   enable_static=yes
7863 fi
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874 # Check whether --with-pic was given.
7875 if test "${with_pic+set}" = set; then :
7876   withval=$with_pic; pic_mode="$withval"
7877 else
7878   pic_mode=default
7879 fi
7880
7881
7882 test -z "$pic_mode" && pic_mode=default
7883
7884
7885
7886
7887
7888
7889
7890   # Check whether --enable-fast-install was given.
7891 if test "${enable_fast_install+set}" = set; then :
7892   enableval=$enable_fast_install; p=${PACKAGE-default}
7893     case $enableval in
7894     yes) enable_fast_install=yes ;;
7895     no) enable_fast_install=no ;;
7896     *)
7897       enable_fast_install=no
7898       # Look at the argument we got.  We use all the common list separators.
7899       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7900       for pkg in $enableval; do
7901         IFS="$lt_save_ifs"
7902         if test "X$pkg" = "X$p"; then
7903           enable_fast_install=yes
7904         fi
7905       done
7906       IFS="$lt_save_ifs"
7907       ;;
7908     esac
7909 else
7910   enable_fast_install=yes
7911 fi
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923 # This can be used to rebuild libtool when needed
7924 LIBTOOL_DEPS="$ltmain"
7925
7926 # Always use our own libtool.
7927 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954 test -z "$LN_S" && LN_S="ln -s"
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969 if test -n "${ZSH_VERSION+set}" ; then
7970    setopt NO_GLOB_SUBST
7971 fi
7972
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7974 $as_echo_n "checking for objdir... " >&6; }
7975 if test "${lt_cv_objdir+set}" = set; then :
7976   $as_echo_n "(cached) " >&6
7977 else
7978   rm -f .libs 2>/dev/null
7979 mkdir .libs 2>/dev/null
7980 if test -d .libs; then
7981   lt_cv_objdir=.libs
7982 else
7983   # MS-DOS does not allow filenames that begin with a dot.
7984   lt_cv_objdir=_libs
7985 fi
7986 rmdir .libs 2>/dev/null
7987 fi
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7989 $as_echo "$lt_cv_objdir" >&6; }
7990 objdir=$lt_cv_objdir
7991
7992
7993
7994
7995
7996 cat >>confdefs.h <<_ACEOF
7997 #define LT_OBJDIR "$lt_cv_objdir/"
7998 _ACEOF
7999
8000
8001
8002
8003 case $host_os in
8004 aix3*)
8005   # AIX sometimes has problems with the GCC collect2 program.  For some
8006   # reason, if we set the COLLECT_NAMES environment variable, the problems
8007   # vanish in a puff of smoke.
8008   if test "X${COLLECT_NAMES+set}" != Xset; then
8009     COLLECT_NAMES=
8010     export COLLECT_NAMES
8011   fi
8012   ;;
8013 esac
8014
8015 # Global variables:
8016 ofile=libtool
8017 can_build_shared=yes
8018
8019 # All known linkers require a `.a' archive for static linking (except MSVC,
8020 # which needs '.lib').
8021 libext=a
8022
8023 with_gnu_ld="$lt_cv_prog_gnu_ld"
8024
8025 old_CC="$CC"
8026 old_CFLAGS="$CFLAGS"
8027
8028 # Set sane defaults for various variables
8029 test -z "$CC" && CC=cc
8030 test -z "$LTCC" && LTCC=$CC
8031 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8032 test -z "$LD" && LD=ld
8033 test -z "$ac_objext" && ac_objext=o
8034
8035 for cc_temp in $compiler""; do
8036   case $cc_temp in
8037     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8038     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8039     \-*) ;;
8040     *) break;;
8041   esac
8042 done
8043 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8044
8045
8046 # Only perform the check for file, if the check method requires it
8047 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8048 case $deplibs_check_method in
8049 file_magic*)
8050   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8051     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8052 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8053 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8054   $as_echo_n "(cached) " >&6
8055 else
8056   case $MAGIC_CMD in
8057 [\\/*] |  ?:[\\/]*)
8058   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8059   ;;
8060 *)
8061   lt_save_MAGIC_CMD="$MAGIC_CMD"
8062   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8063   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8064   for ac_dir in $ac_dummy; do
8065     IFS="$lt_save_ifs"
8066     test -z "$ac_dir" && ac_dir=.
8067     if test -f $ac_dir/${ac_tool_prefix}file; then
8068       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8069       if test -n "$file_magic_test_file"; then
8070         case $deplibs_check_method in
8071         "file_magic "*)
8072           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8073           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8074           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8075             $EGREP "$file_magic_regex" > /dev/null; then
8076             :
8077           else
8078             cat <<_LT_EOF 1>&2
8079
8080 *** Warning: the command libtool uses to detect shared libraries,
8081 *** $file_magic_cmd, produces output that libtool cannot recognize.
8082 *** The result is that libtool may fail to recognize shared libraries
8083 *** as such.  This will affect the creation of libtool libraries that
8084 *** depend on shared libraries, but programs linked with such libtool
8085 *** libraries will work regardless of this problem.  Nevertheless, you
8086 *** may want to report the problem to your system manager and/or to
8087 *** bug-libtool@gnu.org
8088
8089 _LT_EOF
8090           fi ;;
8091         esac
8092       fi
8093       break
8094     fi
8095   done
8096   IFS="$lt_save_ifs"
8097   MAGIC_CMD="$lt_save_MAGIC_CMD"
8098   ;;
8099 esac
8100 fi
8101
8102 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8103 if test -n "$MAGIC_CMD"; then
8104   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8105 $as_echo "$MAGIC_CMD" >&6; }
8106 else
8107   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8108 $as_echo "no" >&6; }
8109 fi
8110
8111
8112
8113
8114
8115 if test -z "$lt_cv_path_MAGIC_CMD"; then
8116   if test -n "$ac_tool_prefix"; then
8117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8118 $as_echo_n "checking for file... " >&6; }
8119 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8120   $as_echo_n "(cached) " >&6
8121 else
8122   case $MAGIC_CMD in
8123 [\\/*] |  ?:[\\/]*)
8124   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8125   ;;
8126 *)
8127   lt_save_MAGIC_CMD="$MAGIC_CMD"
8128   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8129   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8130   for ac_dir in $ac_dummy; do
8131     IFS="$lt_save_ifs"
8132     test -z "$ac_dir" && ac_dir=.
8133     if test -f $ac_dir/file; then
8134       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8135       if test -n "$file_magic_test_file"; then
8136         case $deplibs_check_method in
8137         "file_magic "*)
8138           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8139           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8140           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8141             $EGREP "$file_magic_regex" > /dev/null; then
8142             :
8143           else
8144             cat <<_LT_EOF 1>&2
8145
8146 *** Warning: the command libtool uses to detect shared libraries,
8147 *** $file_magic_cmd, produces output that libtool cannot recognize.
8148 *** The result is that libtool may fail to recognize shared libraries
8149 *** as such.  This will affect the creation of libtool libraries that
8150 *** depend on shared libraries, but programs linked with such libtool
8151 *** libraries will work regardless of this problem.  Nevertheless, you
8152 *** may want to report the problem to your system manager and/or to
8153 *** bug-libtool@gnu.org
8154
8155 _LT_EOF
8156           fi ;;
8157         esac
8158       fi
8159       break
8160     fi
8161   done
8162   IFS="$lt_save_ifs"
8163   MAGIC_CMD="$lt_save_MAGIC_CMD"
8164   ;;
8165 esac
8166 fi
8167
8168 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8169 if test -n "$MAGIC_CMD"; then
8170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8171 $as_echo "$MAGIC_CMD" >&6; }
8172 else
8173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8174 $as_echo "no" >&6; }
8175 fi
8176
8177
8178   else
8179     MAGIC_CMD=:
8180   fi
8181 fi
8182
8183   fi
8184   ;;
8185 esac
8186
8187 # Use C for the default configuration in the libtool script
8188
8189 lt_save_CC="$CC"
8190 ac_ext=c
8191 ac_cpp='$CPP $CPPFLAGS'
8192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8195
8196
8197 # Source file extension for C test sources.
8198 ac_ext=c
8199
8200 # Object file extension for compiled C test sources.
8201 objext=o
8202 objext=$objext
8203
8204 # Code to be used in simple compile tests
8205 lt_simple_compile_test_code="int some_variable = 0;"
8206
8207 # Code to be used in simple link tests
8208 lt_simple_link_test_code='int main(){return(0);}'
8209
8210
8211
8212
8213
8214
8215
8216 # If no C compiler was specified, use CC.
8217 LTCC=${LTCC-"$CC"}
8218
8219 # If no C compiler flags were specified, use CFLAGS.
8220 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8221
8222 # Allow CC to be a program name with arguments.
8223 compiler=$CC
8224
8225 # Save the default compiler, since it gets overwritten when the other
8226 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8227 compiler_DEFAULT=$CC
8228
8229 # save warnings/boilerplate of simple test code
8230 ac_outfile=conftest.$ac_objext
8231 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8232 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8233 _lt_compiler_boilerplate=`cat conftest.err`
8234 $RM conftest*
8235
8236 ac_outfile=conftest.$ac_objext
8237 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8238 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8239 _lt_linker_boilerplate=`cat conftest.err`
8240 $RM -r conftest*
8241
8242
8243 ## CAVEAT EMPTOR:
8244 ## There is no encapsulation within the following macros, do not change
8245 ## the running order or otherwise move them around unless you know exactly
8246 ## what you are doing...
8247 if test -n "$compiler"; then
8248
8249 lt_prog_compiler_no_builtin_flag=
8250
8251 if test "$GCC" = yes; then
8252   case $cc_basename in
8253   nvcc*)
8254     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8255   *)
8256     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8257   esac
8258
8259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8260 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8261 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8262   $as_echo_n "(cached) " >&6
8263 else
8264   lt_cv_prog_compiler_rtti_exceptions=no
8265    ac_outfile=conftest.$ac_objext
8266    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8267    lt_compiler_flag="-fno-rtti -fno-exceptions"
8268    # Insert the option either (1) after the last *FLAGS variable, or
8269    # (2) before a word containing "conftest.", or (3) at the end.
8270    # Note that $ac_compile itself does not contain backslashes and begins
8271    # with a dollar sign (not a hyphen), so the echo should work correctly.
8272    # The option is referenced via a variable to avoid confusing sed.
8273    lt_compile=`echo "$ac_compile" | $SED \
8274    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8275    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8276    -e 's:$: $lt_compiler_flag:'`
8277    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8278    (eval "$lt_compile" 2>conftest.err)
8279    ac_status=$?
8280    cat conftest.err >&5
8281    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8282    if (exit $ac_status) && test -s "$ac_outfile"; then
8283      # The compiler can only warn and ignore the option if not recognized
8284      # So say no if there are warnings other than the usual output.
8285      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8286      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8287      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8288        lt_cv_prog_compiler_rtti_exceptions=yes
8289      fi
8290    fi
8291    $RM conftest*
8292
8293 fi
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8295 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8296
8297 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8298     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8299 else
8300     :
8301 fi
8302
8303 fi
8304
8305
8306
8307
8308
8309
8310   lt_prog_compiler_wl=
8311 lt_prog_compiler_pic=
8312 lt_prog_compiler_static=
8313
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8315 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8316
8317   if test "$GCC" = yes; then
8318     lt_prog_compiler_wl='-Wl,'
8319     lt_prog_compiler_static='-static'
8320
8321     case $host_os in
8322       aix*)
8323       # All AIX code is PIC.
8324       if test "$host_cpu" = ia64; then
8325         # AIX 5 now supports IA64 processor
8326         lt_prog_compiler_static='-Bstatic'
8327       fi
8328       ;;
8329
8330     amigaos*)
8331       case $host_cpu in
8332       powerpc)
8333             # see comment about AmigaOS4 .so support
8334             lt_prog_compiler_pic='-fPIC'
8335         ;;
8336       m68k)
8337             # FIXME: we need at least 68020 code to build shared libraries, but
8338             # adding the `-m68020' flag to GCC prevents building anything better,
8339             # like `-m68040'.
8340             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8341         ;;
8342       esac
8343       ;;
8344
8345     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8346       # PIC is the default for these OSes.
8347       ;;
8348
8349     mingw* | cygwin* | pw32* | os2* | cegcc*)
8350       # This hack is so that the source file can tell whether it is being
8351       # built for inclusion in a dll (and should export symbols for example).
8352       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8353       # (--disable-auto-import) libraries
8354       lt_prog_compiler_pic='-DDLL_EXPORT'
8355       ;;
8356
8357     darwin* | rhapsody*)
8358       # PIC is the default on this platform
8359       # Common symbols not allowed in MH_DYLIB files
8360       lt_prog_compiler_pic='-fno-common'
8361       ;;
8362
8363     haiku*)
8364       # PIC is the default for Haiku.
8365       # The "-static" flag exists, but is broken.
8366       lt_prog_compiler_static=
8367       ;;
8368
8369     hpux*)
8370       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8371       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8372       # sets the default TLS model and affects inlining.
8373       case $host_cpu in
8374       hppa*64*)
8375         # +Z the default
8376         ;;
8377       *)
8378         lt_prog_compiler_pic='-fPIC'
8379         ;;
8380       esac
8381       ;;
8382
8383     interix[3-9]*)
8384       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8385       # Instead, we relocate shared libraries at runtime.
8386       ;;
8387
8388     msdosdjgpp*)
8389       # Just because we use GCC doesn't mean we suddenly get shared libraries
8390       # on systems that don't support them.
8391       lt_prog_compiler_can_build_shared=no
8392       enable_shared=no
8393       ;;
8394
8395     *nto* | *qnx*)
8396       # QNX uses GNU C++, but need to define -shared option too, otherwise
8397       # it will coredump.
8398       lt_prog_compiler_pic='-fPIC -shared'
8399       ;;
8400
8401     sysv4*MP*)
8402       if test -d /usr/nec; then
8403         lt_prog_compiler_pic=-Kconform_pic
8404       fi
8405       ;;
8406
8407     *)
8408       lt_prog_compiler_pic='-fPIC'
8409       ;;
8410     esac
8411
8412     case $cc_basename in
8413     nvcc*) # Cuda Compiler Driver 2.2
8414       lt_prog_compiler_wl='-Xlinker '
8415       lt_prog_compiler_pic='-Xcompiler -fPIC'
8416       ;;
8417     esac
8418   else
8419     # PORTME Check for flag to pass linker flags through the system compiler.
8420     case $host_os in
8421     aix*)
8422       lt_prog_compiler_wl='-Wl,'
8423       if test "$host_cpu" = ia64; then
8424         # AIX 5 now supports IA64 processor
8425         lt_prog_compiler_static='-Bstatic'
8426       else
8427         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8428       fi
8429       ;;
8430
8431     mingw* | cygwin* | pw32* | os2* | cegcc*)
8432       # This hack is so that the source file can tell whether it is being
8433       # built for inclusion in a dll (and should export symbols for example).
8434       lt_prog_compiler_pic='-DDLL_EXPORT'
8435       ;;
8436
8437     hpux9* | hpux10* | hpux11*)
8438       lt_prog_compiler_wl='-Wl,'
8439       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8440       # not for PA HP-UX.
8441       case $host_cpu in
8442       hppa*64*|ia64*)
8443         # +Z the default
8444         ;;
8445       *)
8446         lt_prog_compiler_pic='+Z'
8447         ;;
8448       esac
8449       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8450       lt_prog_compiler_static='${wl}-a ${wl}archive'
8451       ;;
8452
8453     irix5* | irix6* | nonstopux*)
8454       lt_prog_compiler_wl='-Wl,'
8455       # PIC (with -KPIC) is the default.
8456       lt_prog_compiler_static='-non_shared'
8457       ;;
8458
8459     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8460       case $cc_basename in
8461       # old Intel for x86_64 which still supported -KPIC.
8462       ecc*)
8463         lt_prog_compiler_wl='-Wl,'
8464         lt_prog_compiler_pic='-KPIC'
8465         lt_prog_compiler_static='-static'
8466         ;;
8467       # icc used to be incompatible with GCC.
8468       # ICC 10 doesn't accept -KPIC any more.
8469       icc* | ifort*)
8470         lt_prog_compiler_wl='-Wl,'
8471         lt_prog_compiler_pic='-fPIC'
8472         lt_prog_compiler_static='-static'
8473         ;;
8474       # Lahey Fortran 8.1.
8475       lf95*)
8476         lt_prog_compiler_wl='-Wl,'
8477         lt_prog_compiler_pic='--shared'
8478         lt_prog_compiler_static='--static'
8479         ;;
8480       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8481         # Portland Group compilers (*not* the Pentium gcc compiler,
8482         # which looks to be a dead project)
8483         lt_prog_compiler_wl='-Wl,'
8484         lt_prog_compiler_pic='-fpic'
8485         lt_prog_compiler_static='-Bstatic'
8486         ;;
8487       ccc*)
8488         lt_prog_compiler_wl='-Wl,'
8489         # All Alpha code is PIC.
8490         lt_prog_compiler_static='-non_shared'
8491         ;;
8492       xl* | bgxl* | bgf* | mpixl*)
8493         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8494         lt_prog_compiler_wl='-Wl,'
8495         lt_prog_compiler_pic='-qpic'
8496         lt_prog_compiler_static='-qstaticlink'
8497         ;;
8498       *)
8499         case `$CC -V 2>&1 | sed 5q` in
8500         *Sun\ F* | *Sun*Fortran*)
8501           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8502           lt_prog_compiler_pic='-KPIC'
8503           lt_prog_compiler_static='-Bstatic'
8504           lt_prog_compiler_wl=''
8505           ;;
8506         *Sun\ C*)
8507           # Sun C 5.9
8508           lt_prog_compiler_pic='-KPIC'
8509           lt_prog_compiler_static='-Bstatic'
8510           lt_prog_compiler_wl='-Wl,'
8511           ;;
8512         esac
8513         ;;
8514       esac
8515       ;;
8516
8517     newsos6)
8518       lt_prog_compiler_pic='-KPIC'
8519       lt_prog_compiler_static='-Bstatic'
8520       ;;
8521
8522     *nto* | *qnx*)
8523       # QNX uses GNU C++, but need to define -shared option too, otherwise
8524       # it will coredump.
8525       lt_prog_compiler_pic='-fPIC -shared'
8526       ;;
8527
8528     osf3* | osf4* | osf5*)
8529       lt_prog_compiler_wl='-Wl,'
8530       # All OSF/1 code is PIC.
8531       lt_prog_compiler_static='-non_shared'
8532       ;;
8533
8534     rdos*)
8535       lt_prog_compiler_static='-non_shared'
8536       ;;
8537
8538     solaris*)
8539       lt_prog_compiler_pic='-KPIC'
8540       lt_prog_compiler_static='-Bstatic'
8541       case $cc_basename in
8542       f77* | f90* | f95*)
8543         lt_prog_compiler_wl='-Qoption ld ';;
8544       *)
8545         lt_prog_compiler_wl='-Wl,';;
8546       esac
8547       ;;
8548
8549     sunos4*)
8550       lt_prog_compiler_wl='-Qoption ld '
8551       lt_prog_compiler_pic='-PIC'
8552       lt_prog_compiler_static='-Bstatic'
8553       ;;
8554
8555     sysv4 | sysv4.2uw2* | sysv4.3*)
8556       lt_prog_compiler_wl='-Wl,'
8557       lt_prog_compiler_pic='-KPIC'
8558       lt_prog_compiler_static='-Bstatic'
8559       ;;
8560
8561     sysv4*MP*)
8562       if test -d /usr/nec ;then
8563         lt_prog_compiler_pic='-Kconform_pic'
8564         lt_prog_compiler_static='-Bstatic'
8565       fi
8566       ;;
8567
8568     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8569       lt_prog_compiler_wl='-Wl,'
8570       lt_prog_compiler_pic='-KPIC'
8571       lt_prog_compiler_static='-Bstatic'
8572       ;;
8573
8574     unicos*)
8575       lt_prog_compiler_wl='-Wl,'
8576       lt_prog_compiler_can_build_shared=no
8577       ;;
8578
8579     uts4*)
8580       lt_prog_compiler_pic='-pic'
8581       lt_prog_compiler_static='-Bstatic'
8582       ;;
8583
8584     *)
8585       lt_prog_compiler_can_build_shared=no
8586       ;;
8587     esac
8588   fi
8589
8590 case $host_os in
8591   # For platforms which do not support PIC, -DPIC is meaningless:
8592   *djgpp*)
8593     lt_prog_compiler_pic=
8594     ;;
8595   *)
8596     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8597     ;;
8598 esac
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8600 $as_echo "$lt_prog_compiler_pic" >&6; }
8601
8602
8603
8604
8605
8606
8607 #
8608 # Check to make sure the PIC flag actually works.
8609 #
8610 if test -n "$lt_prog_compiler_pic"; then
8611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8612 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8613 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8614   $as_echo_n "(cached) " >&6
8615 else
8616   lt_cv_prog_compiler_pic_works=no
8617    ac_outfile=conftest.$ac_objext
8618    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8619    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8620    # Insert the option either (1) after the last *FLAGS variable, or
8621    # (2) before a word containing "conftest.", or (3) at the end.
8622    # Note that $ac_compile itself does not contain backslashes and begins
8623    # with a dollar sign (not a hyphen), so the echo should work correctly.
8624    # The option is referenced via a variable to avoid confusing sed.
8625    lt_compile=`echo "$ac_compile" | $SED \
8626    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8627    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8628    -e 's:$: $lt_compiler_flag:'`
8629    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8630    (eval "$lt_compile" 2>conftest.err)
8631    ac_status=$?
8632    cat conftest.err >&5
8633    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634    if (exit $ac_status) && test -s "$ac_outfile"; then
8635      # The compiler can only warn and ignore the option if not recognized
8636      # So say no if there are warnings other than the usual output.
8637      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8638      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8639      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8640        lt_cv_prog_compiler_pic_works=yes
8641      fi
8642    fi
8643    $RM conftest*
8644
8645 fi
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8647 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8648
8649 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8650     case $lt_prog_compiler_pic in
8651      "" | " "*) ;;
8652      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8653      esac
8654 else
8655     lt_prog_compiler_pic=
8656      lt_prog_compiler_can_build_shared=no
8657 fi
8658
8659 fi
8660
8661
8662
8663
8664
8665
8666 #
8667 # Check to make sure the static flag actually works.
8668 #
8669 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8671 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8672 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8673   $as_echo_n "(cached) " >&6
8674 else
8675   lt_cv_prog_compiler_static_works=no
8676    save_LDFLAGS="$LDFLAGS"
8677    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8678    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8679    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8680      # The linker can only warn and ignore the option if not recognized
8681      # So say no if there are warnings
8682      if test -s conftest.err; then
8683        # Append any errors to the config.log.
8684        cat conftest.err 1>&5
8685        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8686        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8687        if diff conftest.exp conftest.er2 >/dev/null; then
8688          lt_cv_prog_compiler_static_works=yes
8689        fi
8690      else
8691        lt_cv_prog_compiler_static_works=yes
8692      fi
8693    fi
8694    $RM -r conftest*
8695    LDFLAGS="$save_LDFLAGS"
8696
8697 fi
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8699 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8700
8701 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8702     :
8703 else
8704     lt_prog_compiler_static=
8705 fi
8706
8707
8708
8709
8710
8711
8712
8713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8714 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8715 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8716   $as_echo_n "(cached) " >&6
8717 else
8718   lt_cv_prog_compiler_c_o=no
8719    $RM -r conftest 2>/dev/null
8720    mkdir conftest
8721    cd conftest
8722    mkdir out
8723    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8724
8725    lt_compiler_flag="-o out/conftest2.$ac_objext"
8726    # Insert the option either (1) after the last *FLAGS variable, or
8727    # (2) before a word containing "conftest.", or (3) at the end.
8728    # Note that $ac_compile itself does not contain backslashes and begins
8729    # with a dollar sign (not a hyphen), so the echo should work correctly.
8730    lt_compile=`echo "$ac_compile" | $SED \
8731    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8732    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8733    -e 's:$: $lt_compiler_flag:'`
8734    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8735    (eval "$lt_compile" 2>out/conftest.err)
8736    ac_status=$?
8737    cat out/conftest.err >&5
8738    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8740    then
8741      # The compiler can only warn and ignore the option if not recognized
8742      # So say no if there are warnings
8743      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8744      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8745      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8746        lt_cv_prog_compiler_c_o=yes
8747      fi
8748    fi
8749    chmod u+w . 2>&5
8750    $RM conftest*
8751    # SGI C++ compiler will create directory out/ii_files/ for
8752    # template instantiation
8753    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8754    $RM out/* && rmdir out
8755    cd ..
8756    $RM -r conftest
8757    $RM conftest*
8758
8759 fi
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8761 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8762
8763
8764
8765
8766
8767
8768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8769 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8770 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8771   $as_echo_n "(cached) " >&6
8772 else
8773   lt_cv_prog_compiler_c_o=no
8774    $RM -r conftest 2>/dev/null
8775    mkdir conftest
8776    cd conftest
8777    mkdir out
8778    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8779
8780    lt_compiler_flag="-o out/conftest2.$ac_objext"
8781    # Insert the option either (1) after the last *FLAGS variable, or
8782    # (2) before a word containing "conftest.", or (3) at the end.
8783    # Note that $ac_compile itself does not contain backslashes and begins
8784    # with a dollar sign (not a hyphen), so the echo should work correctly.
8785    lt_compile=`echo "$ac_compile" | $SED \
8786    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8787    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8788    -e 's:$: $lt_compiler_flag:'`
8789    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8790    (eval "$lt_compile" 2>out/conftest.err)
8791    ac_status=$?
8792    cat out/conftest.err >&5
8793    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8794    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8795    then
8796      # The compiler can only warn and ignore the option if not recognized
8797      # So say no if there are warnings
8798      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8799      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8800      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8801        lt_cv_prog_compiler_c_o=yes
8802      fi
8803    fi
8804    chmod u+w . 2>&5
8805    $RM conftest*
8806    # SGI C++ compiler will create directory out/ii_files/ for
8807    # template instantiation
8808    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8809    $RM out/* && rmdir out
8810    cd ..
8811    $RM -r conftest
8812    $RM conftest*
8813
8814 fi
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8816 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8817
8818
8819
8820
8821 hard_links="nottested"
8822 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8823   # do not overwrite the value of need_locks provided by the user
8824   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8825 $as_echo_n "checking if we can lock with hard links... " >&6; }
8826   hard_links=yes
8827   $RM conftest*
8828   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8829   touch conftest.a
8830   ln conftest.a conftest.b 2>&5 || hard_links=no
8831   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8833 $as_echo "$hard_links" >&6; }
8834   if test "$hard_links" = no; then
8835     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8836 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8837     need_locks=warn
8838   fi
8839 else
8840   need_locks=no
8841 fi
8842
8843
8844
8845
8846
8847
8848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8849 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8850
8851   runpath_var=
8852   allow_undefined_flag=
8853   always_export_symbols=no
8854   archive_cmds=
8855   archive_expsym_cmds=
8856   compiler_needs_object=no
8857   enable_shared_with_static_runtimes=no
8858   export_dynamic_flag_spec=
8859   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8860   hardcode_automatic=no
8861   hardcode_direct=no
8862   hardcode_direct_absolute=no
8863   hardcode_libdir_flag_spec=
8864   hardcode_libdir_flag_spec_ld=
8865   hardcode_libdir_separator=
8866   hardcode_minus_L=no
8867   hardcode_shlibpath_var=unsupported
8868   inherit_rpath=no
8869   link_all_deplibs=unknown
8870   module_cmds=
8871   module_expsym_cmds=
8872   old_archive_from_new_cmds=
8873   old_archive_from_expsyms_cmds=
8874   thread_safe_flag_spec=
8875   whole_archive_flag_spec=
8876   # include_expsyms should be a list of space-separated symbols to be *always*
8877   # included in the symbol list
8878   include_expsyms=
8879   # exclude_expsyms can be an extended regexp of symbols to exclude
8880   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8881   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8882   # as well as any symbol that contains `d'.
8883   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8884   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8885   # platforms (ab)use it in PIC code, but their linkers get confused if
8886   # the symbol is explicitly referenced.  Since portable code cannot
8887   # rely on this symbol name, it's probably fine to never include it in
8888   # preloaded symbol tables.
8889   # Exclude shared library initialization/finalization symbols.
8890   extract_expsyms_cmds=
8891
8892   case $host_os in
8893   cygwin* | mingw* | pw32* | cegcc*)
8894     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8895     # When not using gcc, we currently assume that we are using
8896     # Microsoft Visual C++.
8897     if test "$GCC" != yes; then
8898       with_gnu_ld=no
8899     fi
8900     ;;
8901   interix*)
8902     # we just hope/assume this is gcc and not c89 (= MSVC++)
8903     with_gnu_ld=yes
8904     ;;
8905   openbsd*)
8906     with_gnu_ld=no
8907     ;;
8908   esac
8909
8910   ld_shlibs=yes
8911
8912   # On some targets, GNU ld is compatible enough with the native linker
8913   # that we're better off using the native interface for both.
8914   lt_use_gnu_ld_interface=no
8915   if test "$with_gnu_ld" = yes; then
8916     case $host_os in
8917       aix*)
8918         # The AIX port of GNU ld has always aspired to compatibility
8919         # with the native linker.  However, as the warning in the GNU ld
8920         # block says, versions before 2.19.5* couldn't really create working
8921         # shared libraries, regardless of the interface used.
8922         case `$LD -v 2>&1` in
8923           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8924           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8925           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8926           *)
8927             lt_use_gnu_ld_interface=yes
8928             ;;
8929         esac
8930         ;;
8931       *)
8932         lt_use_gnu_ld_interface=yes
8933         ;;
8934     esac
8935   fi
8936
8937   if test "$lt_use_gnu_ld_interface" = yes; then
8938     # If archive_cmds runs LD, not CC, wlarc should be empty
8939     wlarc='${wl}'
8940
8941     # Set some defaults for GNU ld with shared library support. These
8942     # are reset later if shared libraries are not supported. Putting them
8943     # here allows them to be overridden if necessary.
8944     runpath_var=LD_RUN_PATH
8945     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8946     export_dynamic_flag_spec='${wl}--export-dynamic'
8947     # ancient GNU ld didn't support --whole-archive et. al.
8948     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8949       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8950     else
8951       whole_archive_flag_spec=
8952     fi
8953     supports_anon_versioning=no
8954     case `$LD -v 2>&1` in
8955       *GNU\ gold*) supports_anon_versioning=yes ;;
8956       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8957       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8958       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8959       *\ 2.11.*) ;; # other 2.11 versions
8960       *) supports_anon_versioning=yes ;;
8961     esac
8962
8963     # See if GNU ld supports shared libraries.
8964     case $host_os in
8965     aix[3-9]*)
8966       # On AIX/PPC, the GNU linker is very broken
8967       if test "$host_cpu" != ia64; then
8968         ld_shlibs=no
8969         cat <<_LT_EOF 1>&2
8970
8971 *** Warning: the GNU linker, at least up to release 2.19, is reported
8972 *** to be unable to reliably create shared libraries on AIX.
8973 *** Therefore, libtool is disabling shared libraries support.  If you
8974 *** really care for shared libraries, you may want to install binutils
8975 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8976 *** You will then need to restart the configuration process.
8977
8978 _LT_EOF
8979       fi
8980       ;;
8981
8982     amigaos*)
8983       case $host_cpu in
8984       powerpc)
8985             # see comment about AmigaOS4 .so support
8986             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987             archive_expsym_cmds=''
8988         ;;
8989       m68k)
8990             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)'
8991             hardcode_libdir_flag_spec='-L$libdir'
8992             hardcode_minus_L=yes
8993         ;;
8994       esac
8995       ;;
8996
8997     beos*)
8998       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8999         allow_undefined_flag=unsupported
9000         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9001         # support --undefined.  This deserves some investigation.  FIXME
9002         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9003       else
9004         ld_shlibs=no
9005       fi
9006       ;;
9007
9008     cygwin* | mingw* | pw32* | cegcc*)
9009       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9010       # as there is no search path for DLLs.
9011       hardcode_libdir_flag_spec='-L$libdir'
9012       export_dynamic_flag_spec='${wl}--export-all-symbols'
9013       allow_undefined_flag=unsupported
9014       always_export_symbols=no
9015       enable_shared_with_static_runtimes=yes
9016       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9017
9018       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9019         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9020         # If the export-symbols file already is a .def file (1st line
9021         # is EXPORTS), use it as is; otherwise, prepend...
9022         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9023           cp $export_symbols $output_objdir/$soname.def;
9024         else
9025           echo EXPORTS > $output_objdir/$soname.def;
9026           cat $export_symbols >> $output_objdir/$soname.def;
9027         fi~
9028         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9029       else
9030         ld_shlibs=no
9031       fi
9032       ;;
9033
9034     haiku*)
9035       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9036       link_all_deplibs=yes
9037       ;;
9038
9039     interix[3-9]*)
9040       hardcode_direct=no
9041       hardcode_shlibpath_var=no
9042       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9043       export_dynamic_flag_spec='${wl}-E'
9044       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9045       # Instead, shared libraries are loaded at an image base (0x10000000 by
9046       # default) and relocated if they conflict, which is a slow very memory
9047       # consuming and fragmenting process.  To avoid this, we pick a random,
9048       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9049       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9050       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9051       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'
9052       ;;
9053
9054     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9055       tmp_diet=no
9056       if test "$host_os" = linux-dietlibc; then
9057         case $cc_basename in
9058           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9059         esac
9060       fi
9061       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9062          && test "$tmp_diet" = no
9063       then
9064         tmp_addflag=
9065         tmp_sharedflag='-shared'
9066         case $cc_basename,$host_cpu in
9067         pgcc*)                          # Portland Group C compiler
9068           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'
9069           tmp_addflag=' $pic_flag'
9070           ;;
9071         pgf77* | pgf90* | pgf95* | pgfortran*)
9072                                         # Portland Group f77 and f90 compilers
9073           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'
9074           tmp_addflag=' $pic_flag -Mnomain' ;;
9075         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9076           tmp_addflag=' -i_dynamic' ;;
9077         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9078           tmp_addflag=' -i_dynamic -nofor_main' ;;
9079         ifc* | ifort*)                  # Intel Fortran compiler
9080           tmp_addflag=' -nofor_main' ;;
9081         lf95*)                          # Lahey Fortran 8.1
9082           whole_archive_flag_spec=
9083           tmp_sharedflag='--shared' ;;
9084         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9085           tmp_sharedflag='-qmkshrobj'
9086           tmp_addflag= ;;
9087         nvcc*)  # Cuda Compiler Driver 2.2
9088           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'
9089           compiler_needs_object=yes
9090           ;;
9091         esac
9092         case `$CC -V 2>&1 | sed 5q` in
9093         *Sun\ C*)                       # Sun C 5.9
9094           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'
9095           compiler_needs_object=yes
9096           tmp_sharedflag='-G' ;;
9097         *Sun\ F*)                       # Sun Fortran 8.3
9098           tmp_sharedflag='-G' ;;
9099         esac
9100         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101
9102         if test "x$supports_anon_versioning" = xyes; then
9103           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9104             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9105             echo "local: *; };" >> $output_objdir/$libname.ver~
9106             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9107         fi
9108
9109         case $cc_basename in
9110         xlf* | bgf* | bgxlf* | mpixlf*)
9111           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9112           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9113           hardcode_libdir_flag_spec=
9114           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9115           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9116           if test "x$supports_anon_versioning" = xyes; then
9117             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9118               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9119               echo "local: *; };" >> $output_objdir/$libname.ver~
9120               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9121           fi
9122           ;;
9123         esac
9124       else
9125         ld_shlibs=no
9126       fi
9127       ;;
9128
9129     netbsd*)
9130       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9131         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9132         wlarc=
9133       else
9134         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9136       fi
9137       ;;
9138
9139     solaris*)
9140       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9141         ld_shlibs=no
9142         cat <<_LT_EOF 1>&2
9143
9144 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9145 *** create shared libraries on Solaris systems.  Therefore, libtool
9146 *** is disabling shared libraries support.  We urge you to upgrade GNU
9147 *** binutils to release 2.9.1 or newer.  Another option is to modify
9148 *** your PATH or compiler configuration so that the native linker is
9149 *** used, and then restart.
9150
9151 _LT_EOF
9152       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9153         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9154         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155       else
9156         ld_shlibs=no
9157       fi
9158       ;;
9159
9160     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9161       case `$LD -v 2>&1` in
9162         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9163         ld_shlibs=no
9164         cat <<_LT_EOF 1>&2
9165
9166 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9167 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9168 *** is disabling shared libraries support.  We urge you to upgrade GNU
9169 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9170 *** your PATH or compiler configuration so that the native linker is
9171 *** used, and then restart.
9172
9173 _LT_EOF
9174         ;;
9175         *)
9176           # For security reasons, it is highly recommended that you always
9177           # use absolute paths for naming shared libraries, and exclude the
9178           # DT_RUNPATH tag from executables and libraries.  But doing so
9179           # requires that you compile everything twice, which is a pain.
9180           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9181             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9182             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9183             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9184           else
9185             ld_shlibs=no
9186           fi
9187         ;;
9188       esac
9189       ;;
9190
9191     sunos4*)
9192       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9193       wlarc=
9194       hardcode_direct=yes
9195       hardcode_shlibpath_var=no
9196       ;;
9197
9198     *)
9199       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9200         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9202       else
9203         ld_shlibs=no
9204       fi
9205       ;;
9206     esac
9207
9208     if test "$ld_shlibs" = no; then
9209       runpath_var=
9210       hardcode_libdir_flag_spec=
9211       export_dynamic_flag_spec=
9212       whole_archive_flag_spec=
9213     fi
9214   else
9215     # PORTME fill in a description of your system's linker (not GNU ld)
9216     case $host_os in
9217     aix3*)
9218       allow_undefined_flag=unsupported
9219       always_export_symbols=yes
9220       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'
9221       # Note: this linker hardcodes the directories in LIBPATH if there
9222       # are no directories specified by -L.
9223       hardcode_minus_L=yes
9224       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9225         # Neither direct hardcoding nor static linking is supported with a
9226         # broken collect2.
9227         hardcode_direct=unsupported
9228       fi
9229       ;;
9230
9231     aix[4-9]*)
9232       if test "$host_cpu" = ia64; then
9233         # On IA64, the linker does run time linking by default, so we don't
9234         # have to do anything special.
9235         aix_use_runtimelinking=no
9236         exp_sym_flag='-Bexport'
9237         no_entry_flag=""
9238       else
9239         # If we're using GNU nm, then we don't want the "-C" option.
9240         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9241         # Also, AIX nm treats weak defined symbols like other global
9242         # defined symbols, whereas GNU nm marks them as "W".
9243         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9244           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'
9245         else
9246           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'
9247         fi
9248         aix_use_runtimelinking=no
9249
9250         # Test if we are trying to use run time linking or normal
9251         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9252         # need to do runtime linking.
9253         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9254           for ld_flag in $LDFLAGS; do
9255           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9256             aix_use_runtimelinking=yes
9257             break
9258           fi
9259           done
9260           ;;
9261         esac
9262
9263         exp_sym_flag='-bexport'
9264         no_entry_flag='-bnoentry'
9265       fi
9266
9267       # When large executables or shared objects are built, AIX ld can
9268       # have problems creating the table of contents.  If linking a library
9269       # or program results in "error TOC overflow" add -mminimal-toc to
9270       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9271       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9272
9273       archive_cmds=''
9274       hardcode_direct=yes
9275       hardcode_direct_absolute=yes
9276       hardcode_libdir_separator=':'
9277       link_all_deplibs=yes
9278       file_list_spec='${wl}-f,'
9279
9280       if test "$GCC" = yes; then
9281         case $host_os in aix4.[012]|aix4.[012].*)
9282         # We only want to do this on AIX 4.2 and lower, the check
9283         # below for broken collect2 doesn't work under 4.3+
9284           collect2name=`${CC} -print-prog-name=collect2`
9285           if test -f "$collect2name" &&
9286            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9287           then
9288           # We have reworked collect2
9289           :
9290           else
9291           # We have old collect2
9292           hardcode_direct=unsupported
9293           # It fails to find uninstalled libraries when the uninstalled
9294           # path is not listed in the libpath.  Setting hardcode_minus_L
9295           # to unsupported forces relinking
9296           hardcode_minus_L=yes
9297           hardcode_libdir_flag_spec='-L$libdir'
9298           hardcode_libdir_separator=
9299           fi
9300           ;;
9301         esac
9302         shared_flag='-shared'
9303         if test "$aix_use_runtimelinking" = yes; then
9304           shared_flag="$shared_flag "'${wl}-G'
9305         fi
9306       else
9307         # not using gcc
9308         if test "$host_cpu" = ia64; then
9309         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9310         # chokes on -Wl,-G. The following line is correct:
9311           shared_flag='-G'
9312         else
9313           if test "$aix_use_runtimelinking" = yes; then
9314             shared_flag='${wl}-G'
9315           else
9316             shared_flag='${wl}-bM:SRE'
9317           fi
9318         fi
9319       fi
9320
9321       export_dynamic_flag_spec='${wl}-bexpall'
9322       # It seems that -bexpall does not export symbols beginning with
9323       # underscore (_), so it is better to generate a list of symbols to export.
9324       always_export_symbols=yes
9325       if test "$aix_use_runtimelinking" = yes; then
9326         # Warning - without using the other runtime loading flags (-brtl),
9327         # -berok will link without error, but may produce a broken library.
9328         allow_undefined_flag='-berok'
9329         # Determine the default libpath from the value encoded in an
9330         # empty executable.
9331         if test x$gcc_no_link = xyes; then
9332   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9333 fi
9334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9335 /* end confdefs.h.  */
9336
9337 int
9338 main ()
9339 {
9340
9341   ;
9342   return 0;
9343 }
9344 _ACEOF
9345 if ac_fn_c_try_link "$LINENO"; then :
9346
9347 lt_aix_libpath_sed='
9348     /Import File Strings/,/^$/ {
9349         /^0/ {
9350             s/^0  *\(.*\)$/\1/
9351             p
9352         }
9353     }'
9354 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9355 # Check for a 64-bit object if we didn't find anything.
9356 if test -z "$aix_libpath"; then
9357   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9358 fi
9359 fi
9360 rm -f core conftest.err conftest.$ac_objext \
9361     conftest$ac_exeext conftest.$ac_ext
9362 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9363
9364         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9365         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"
9366       else
9367         if test "$host_cpu" = ia64; then
9368           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9369           allow_undefined_flag="-z nodefs"
9370           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"
9371         else
9372          # Determine the default libpath from the value encoded in an
9373          # empty executable.
9374          if test x$gcc_no_link = xyes; then
9375   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9376 fi
9377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9378 /* end confdefs.h.  */
9379
9380 int
9381 main ()
9382 {
9383
9384   ;
9385   return 0;
9386 }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389
9390 lt_aix_libpath_sed='
9391     /Import File Strings/,/^$/ {
9392         /^0/ {
9393             s/^0  *\(.*\)$/\1/
9394             p
9395         }
9396     }'
9397 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398 # Check for a 64-bit object if we didn't find anything.
9399 if test -z "$aix_libpath"; then
9400   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9401 fi
9402 fi
9403 rm -f core conftest.err conftest.$ac_objext \
9404     conftest$ac_exeext conftest.$ac_ext
9405 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9406
9407          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9408           # Warning - without using the other run time loading flags,
9409           # -berok will link without error, but may produce a broken library.
9410           no_undefined_flag=' ${wl}-bernotok'
9411           allow_undefined_flag=' ${wl}-berok'
9412           if test "$with_gnu_ld" = yes; then
9413             # We only use this code for GNU lds that support --whole-archive.
9414             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9415           else
9416             # Exported symbols can be pulled into shared objects from archives
9417             whole_archive_flag_spec='$convenience'
9418           fi
9419           archive_cmds_need_lc=yes
9420           # This is similar to how AIX traditionally builds its shared libraries.
9421           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'
9422         fi
9423       fi
9424       ;;
9425
9426     amigaos*)
9427       case $host_cpu in
9428       powerpc)
9429             # see comment about AmigaOS4 .so support
9430             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431             archive_expsym_cmds=''
9432         ;;
9433       m68k)
9434             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)'
9435             hardcode_libdir_flag_spec='-L$libdir'
9436             hardcode_minus_L=yes
9437         ;;
9438       esac
9439       ;;
9440
9441     bsdi[45]*)
9442       export_dynamic_flag_spec=-rdynamic
9443       ;;
9444
9445     cygwin* | mingw* | pw32* | cegcc*)
9446       # When not using gcc, we currently assume that we are using
9447       # Microsoft Visual C++.
9448       # hardcode_libdir_flag_spec is actually meaningless, as there is
9449       # no search path for DLLs.
9450       hardcode_libdir_flag_spec=' '
9451       allow_undefined_flag=unsupported
9452       # Tell ltmain to make .lib files, not .a files.
9453       libext=lib
9454       # Tell ltmain to make .dll files, not .so files.
9455       shrext_cmds=".dll"
9456       # FIXME: Setting linknames here is a bad hack.
9457       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9458       # The linker will automatically build a .lib file if we build a DLL.
9459       old_archive_from_new_cmds='true'
9460       # FIXME: Should let the user specify the lib program.
9461       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9462       fix_srcfile_path='`cygpath -w "$srcfile"`'
9463       enable_shared_with_static_runtimes=yes
9464       ;;
9465
9466     darwin* | rhapsody*)
9467
9468
9469   archive_cmds_need_lc=no
9470   hardcode_direct=no
9471   hardcode_automatic=yes
9472   hardcode_shlibpath_var=unsupported
9473   if test "$lt_cv_ld_force_load" = "yes"; then
9474     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\"`'
9475   else
9476     whole_archive_flag_spec=''
9477   fi
9478   link_all_deplibs=yes
9479   allow_undefined_flag="$_lt_dar_allow_undefined"
9480   case $cc_basename in
9481      ifort*) _lt_dar_can_shared=yes ;;
9482      *) _lt_dar_can_shared=$GCC ;;
9483   esac
9484   if test "$_lt_dar_can_shared" = "yes"; then
9485     output_verbose_link_cmd=func_echo_all
9486     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9487     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9488     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}"
9489     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}"
9490
9491   else
9492   ld_shlibs=no
9493   fi
9494
9495       ;;
9496
9497     dgux*)
9498       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9499       hardcode_libdir_flag_spec='-L$libdir'
9500       hardcode_shlibpath_var=no
9501       ;;
9502
9503     freebsd1*)
9504       ld_shlibs=no
9505       ;;
9506
9507     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9508     # support.  Future versions do this automatically, but an explicit c++rt0.o
9509     # does not break anything, and helps significantly (at the cost of a little
9510     # extra space).
9511     freebsd2.2*)
9512       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9513       hardcode_libdir_flag_spec='-R$libdir'
9514       hardcode_direct=yes
9515       hardcode_shlibpath_var=no
9516       ;;
9517
9518     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9519     freebsd2*)
9520       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9521       hardcode_direct=yes
9522       hardcode_minus_L=yes
9523       hardcode_shlibpath_var=no
9524       ;;
9525
9526     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9527     freebsd* | dragonfly*)
9528       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9529       hardcode_libdir_flag_spec='-R$libdir'
9530       hardcode_direct=yes
9531       hardcode_shlibpath_var=no
9532       ;;
9533
9534     hpux9*)
9535       if test "$GCC" = yes; then
9536         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'
9537       else
9538         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'
9539       fi
9540       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9541       hardcode_libdir_separator=:
9542       hardcode_direct=yes
9543
9544       # hardcode_minus_L: Not really in the search PATH,
9545       # but as the default location of the library.
9546       hardcode_minus_L=yes
9547       export_dynamic_flag_spec='${wl}-E'
9548       ;;
9549
9550     hpux10*)
9551       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9552         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9553       else
9554         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9555       fi
9556       if test "$with_gnu_ld" = no; then
9557         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9558         hardcode_libdir_flag_spec_ld='+b $libdir'
9559         hardcode_libdir_separator=:
9560         hardcode_direct=yes
9561         hardcode_direct_absolute=yes
9562         export_dynamic_flag_spec='${wl}-E'
9563         # hardcode_minus_L: Not really in the search PATH,
9564         # but as the default location of the library.
9565         hardcode_minus_L=yes
9566       fi
9567       ;;
9568
9569     hpux11*)
9570       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9571         case $host_cpu in
9572         hppa*64*)
9573           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9574           ;;
9575         ia64*)
9576           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9577           ;;
9578         *)
9579           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9580           ;;
9581         esac
9582       else
9583         case $host_cpu in
9584         hppa*64*)
9585           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9586           ;;
9587         ia64*)
9588           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9589           ;;
9590         *)
9591
9592           # Older versions of the 11.00 compiler do not understand -b yet
9593           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9594           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9595 $as_echo_n "checking if $CC understands -b... " >&6; }
9596 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9597   $as_echo_n "(cached) " >&6
9598 else
9599   lt_cv_prog_compiler__b=no
9600    save_LDFLAGS="$LDFLAGS"
9601    LDFLAGS="$LDFLAGS -b"
9602    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9603    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9604      # The linker can only warn and ignore the option if not recognized
9605      # So say no if there are warnings
9606      if test -s conftest.err; then
9607        # Append any errors to the config.log.
9608        cat conftest.err 1>&5
9609        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9610        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9611        if diff conftest.exp conftest.er2 >/dev/null; then
9612          lt_cv_prog_compiler__b=yes
9613        fi
9614      else
9615        lt_cv_prog_compiler__b=yes
9616      fi
9617    fi
9618    $RM -r conftest*
9619    LDFLAGS="$save_LDFLAGS"
9620
9621 fi
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9623 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9624
9625 if test x"$lt_cv_prog_compiler__b" = xyes; then
9626     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9627 else
9628     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9629 fi
9630
9631           ;;
9632         esac
9633       fi
9634       if test "$with_gnu_ld" = no; then
9635         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9636         hardcode_libdir_separator=:
9637
9638         case $host_cpu in
9639         hppa*64*|ia64*)
9640           hardcode_direct=no
9641           hardcode_shlibpath_var=no
9642           ;;
9643         *)
9644           hardcode_direct=yes
9645           hardcode_direct_absolute=yes
9646           export_dynamic_flag_spec='${wl}-E'
9647
9648           # hardcode_minus_L: Not really in the search PATH,
9649           # but as the default location of the library.
9650           hardcode_minus_L=yes
9651           ;;
9652         esac
9653       fi
9654       ;;
9655
9656     irix5* | irix6* | nonstopux*)
9657       if test "$GCC" = yes; then
9658         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'
9659         # Try to use the -exported_symbol ld option, if it does not
9660         # work, assume that -exports_file does not work either and
9661         # implicitly export all symbols.
9662         save_LDFLAGS="$LDFLAGS"
9663         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9664         if test x$gcc_no_link = xyes; then
9665   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9666 fi
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h.  */
9669 int foo(void) {}
9670 _ACEOF
9671 if ac_fn_c_try_link "$LINENO"; then :
9672   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'
9673
9674 fi
9675 rm -f core conftest.err conftest.$ac_objext \
9676     conftest$ac_exeext conftest.$ac_ext
9677         LDFLAGS="$save_LDFLAGS"
9678       else
9679         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'
9680         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'
9681       fi
9682       archive_cmds_need_lc='no'
9683       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9684       hardcode_libdir_separator=:
9685       inherit_rpath=yes
9686       link_all_deplibs=yes
9687       ;;
9688
9689     netbsd*)
9690       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9691         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9692       else
9693         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9694       fi
9695       hardcode_libdir_flag_spec='-R$libdir'
9696       hardcode_direct=yes
9697       hardcode_shlibpath_var=no
9698       ;;
9699
9700     newsos6)
9701       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9702       hardcode_direct=yes
9703       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9704       hardcode_libdir_separator=:
9705       hardcode_shlibpath_var=no
9706       ;;
9707
9708     *nto* | *qnx*)
9709       ;;
9710
9711     openbsd*)
9712       if test -f /usr/libexec/ld.so; then
9713         hardcode_direct=yes
9714         hardcode_shlibpath_var=no
9715         hardcode_direct_absolute=yes
9716         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9717           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9718           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9719           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9720           export_dynamic_flag_spec='${wl}-E'
9721         else
9722           case $host_os in
9723            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9724              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9725              hardcode_libdir_flag_spec='-R$libdir'
9726              ;;
9727            *)
9728              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9729              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9730              ;;
9731           esac
9732         fi
9733       else
9734         ld_shlibs=no
9735       fi
9736       ;;
9737
9738     os2*)
9739       hardcode_libdir_flag_spec='-L$libdir'
9740       hardcode_minus_L=yes
9741       allow_undefined_flag=unsupported
9742       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'
9743       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9744       ;;
9745
9746     osf3*)
9747       if test "$GCC" = yes; then
9748         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9749         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'
9750       else
9751         allow_undefined_flag=' -expect_unresolved \*'
9752         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'
9753       fi
9754       archive_cmds_need_lc='no'
9755       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9756       hardcode_libdir_separator=:
9757       ;;
9758
9759     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9760       if test "$GCC" = yes; then
9761         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9762         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'
9763         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9764       else
9765         allow_undefined_flag=' -expect_unresolved \*'
9766         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'
9767         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~
9768         $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'
9769
9770         # Both c and cxx compiler support -rpath directly
9771         hardcode_libdir_flag_spec='-rpath $libdir'
9772       fi
9773       archive_cmds_need_lc='no'
9774       hardcode_libdir_separator=:
9775       ;;
9776
9777     solaris*)
9778       no_undefined_flag=' -z defs'
9779       if test "$GCC" = yes; then
9780         wlarc='${wl}'
9781         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9782         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9783           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9784       else
9785         case `$CC -V 2>&1` in
9786         *"Compilers 5.0"*)
9787           wlarc=''
9788           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9789           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9790           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9791           ;;
9792         *)
9793           wlarc='${wl}'
9794           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9795           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9796           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9797           ;;
9798         esac
9799       fi
9800       hardcode_libdir_flag_spec='-R$libdir'
9801       hardcode_shlibpath_var=no
9802       case $host_os in
9803       solaris2.[0-5] | solaris2.[0-5].*) ;;
9804       *)
9805         # The compiler driver will combine and reorder linker options,
9806         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9807         # but is careful enough not to reorder.
9808         # Supported since Solaris 2.6 (maybe 2.5.1?)
9809         if test "$GCC" = yes; then
9810           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9811         else
9812           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9813         fi
9814         ;;
9815       esac
9816       link_all_deplibs=yes
9817       ;;
9818
9819     sunos4*)
9820       if test "x$host_vendor" = xsequent; then
9821         # Use $CC to link under sequent, because it throws in some extra .o
9822         # files that make .init and .fini sections work.
9823         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9824       else
9825         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9826       fi
9827       hardcode_libdir_flag_spec='-L$libdir'
9828       hardcode_direct=yes
9829       hardcode_minus_L=yes
9830       hardcode_shlibpath_var=no
9831       ;;
9832
9833     sysv4)
9834       case $host_vendor in
9835         sni)
9836           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9837           hardcode_direct=yes # is this really true???
9838         ;;
9839         siemens)
9840           ## LD is ld it makes a PLAMLIB
9841           ## CC just makes a GrossModule.
9842           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9843           reload_cmds='$CC -r -o $output$reload_objs'
9844           hardcode_direct=no
9845         ;;
9846         motorola)
9847           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9848           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9849         ;;
9850       esac
9851       runpath_var='LD_RUN_PATH'
9852       hardcode_shlibpath_var=no
9853       ;;
9854
9855     sysv4.3*)
9856       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9857       hardcode_shlibpath_var=no
9858       export_dynamic_flag_spec='-Bexport'
9859       ;;
9860
9861     sysv4*MP*)
9862       if test -d /usr/nec; then
9863         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9864         hardcode_shlibpath_var=no
9865         runpath_var=LD_RUN_PATH
9866         hardcode_runpath_var=yes
9867         ld_shlibs=yes
9868       fi
9869       ;;
9870
9871     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9872       no_undefined_flag='${wl}-z,text'
9873       archive_cmds_need_lc=no
9874       hardcode_shlibpath_var=no
9875       runpath_var='LD_RUN_PATH'
9876
9877       if test "$GCC" = yes; then
9878         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9879         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9880       else
9881         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9882         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9883       fi
9884       ;;
9885
9886     sysv5* | sco3.2v5* | sco5v6*)
9887       # Note: We can NOT use -z defs as we might desire, because we do not
9888       # link with -lc, and that would cause any symbols used from libc to
9889       # always be unresolved, which means just about no library would
9890       # ever link correctly.  If we're not using GNU ld we use -z text
9891       # though, which does catch some bad symbols but isn't as heavy-handed
9892       # as -z defs.
9893       no_undefined_flag='${wl}-z,text'
9894       allow_undefined_flag='${wl}-z,nodefs'
9895       archive_cmds_need_lc=no
9896       hardcode_shlibpath_var=no
9897       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9898       hardcode_libdir_separator=':'
9899       link_all_deplibs=yes
9900       export_dynamic_flag_spec='${wl}-Bexport'
9901       runpath_var='LD_RUN_PATH'
9902
9903       if test "$GCC" = yes; then
9904         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9906       else
9907         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9908         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909       fi
9910       ;;
9911
9912     uts4*)
9913       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914       hardcode_libdir_flag_spec='-L$libdir'
9915       hardcode_shlibpath_var=no
9916       ;;
9917
9918     *)
9919       ld_shlibs=no
9920       ;;
9921     esac
9922
9923     if test x$host_vendor = xsni; then
9924       case $host in
9925       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9926         export_dynamic_flag_spec='${wl}-Blargedynsym'
9927         ;;
9928       esac
9929     fi
9930   fi
9931
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9933 $as_echo "$ld_shlibs" >&6; }
9934 test "$ld_shlibs" = no && can_build_shared=no
9935
9936 with_gnu_ld=$with_gnu_ld
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952 #
9953 # Do we need to explicitly link libc?
9954 #
9955 case "x$archive_cmds_need_lc" in
9956 x|xyes)
9957   # Assume -lc should be added
9958   archive_cmds_need_lc=yes
9959
9960   if test "$enable_shared" = yes && test "$GCC" = yes; then
9961     case $archive_cmds in
9962     *'~'*)
9963       # FIXME: we may have to deal with multi-command sequences.
9964       ;;
9965     '$CC '*)
9966       # Test whether the compiler implicitly links with -lc since on some
9967       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9968       # to ld, don't add -lc before -lgcc.
9969       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9970 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9971 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9972   $as_echo_n "(cached) " >&6
9973 else
9974   $RM conftest*
9975         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9976
9977         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9978   (eval $ac_compile) 2>&5
9979   ac_status=$?
9980   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9981   test $ac_status = 0; } 2>conftest.err; then
9982           soname=conftest
9983           lib=conftest
9984           libobjs=conftest.$ac_objext
9985           deplibs=
9986           wl=$lt_prog_compiler_wl
9987           pic_flag=$lt_prog_compiler_pic
9988           compiler_flags=-v
9989           linker_flags=-v
9990           verstring=
9991           output_objdir=.
9992           libname=conftest
9993           lt_save_allow_undefined_flag=$allow_undefined_flag
9994           allow_undefined_flag=
9995           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9996   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9997   ac_status=$?
9998   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9999   test $ac_status = 0; }
10000           then
10001             lt_cv_archive_cmds_need_lc=no
10002           else
10003             lt_cv_archive_cmds_need_lc=yes
10004           fi
10005           allow_undefined_flag=$lt_save_allow_undefined_flag
10006         else
10007           cat conftest.err 1>&5
10008         fi
10009         $RM conftest*
10010
10011 fi
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10013 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10014       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10015       ;;
10016     esac
10017   fi
10018   ;;
10019 esac
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10178 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10179
10180 if test "$GCC" = yes; then
10181   case $host_os in
10182     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10183     *) lt_awk_arg="/^libraries:/" ;;
10184   esac
10185   case $host_os in
10186     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10187     *) lt_sed_strip_eq="s,=/,/,g" ;;
10188   esac
10189   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10190   case $lt_search_path_spec in
10191   *\;*)
10192     # if the path contains ";" then we assume it to be the separator
10193     # otherwise default to the standard path separator (i.e. ":") - it is
10194     # assumed that no part of a normal pathname contains ";" but that should
10195     # okay in the real world where ";" in dirpaths is itself problematic.
10196     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10197     ;;
10198   *)
10199     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10200     ;;
10201   esac
10202   # Ok, now we have the path, separated by spaces, we can step through it
10203   # and add multilib dir if necessary.
10204   lt_tmp_lt_search_path_spec=
10205   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10206   for lt_sys_path in $lt_search_path_spec; do
10207     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10208       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10209     else
10210       test -d "$lt_sys_path" && \
10211         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10212     fi
10213   done
10214   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10215 BEGIN {RS=" "; FS="/|\n";} {
10216   lt_foo="";
10217   lt_count=0;
10218   for (lt_i = NF; lt_i > 0; lt_i--) {
10219     if ($lt_i != "" && $lt_i != ".") {
10220       if ($lt_i == "..") {
10221         lt_count++;
10222       } else {
10223         if (lt_count == 0) {
10224           lt_foo="/" $lt_i lt_foo;
10225         } else {
10226           lt_count--;
10227         }
10228       }
10229     }
10230   }
10231   if (lt_foo != "") { lt_freq[lt_foo]++; }
10232   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10233 }'`
10234   # AWK program above erroneously prepends '/' to C:/dos/paths
10235   # for these hosts.
10236   case $host_os in
10237     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10238       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10239   esac
10240   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10241 else
10242   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10243 fi
10244 library_names_spec=
10245 libname_spec='lib$name'
10246 soname_spec=
10247 shrext_cmds=".so"
10248 postinstall_cmds=
10249 postuninstall_cmds=
10250 finish_cmds=
10251 finish_eval=
10252 shlibpath_var=
10253 shlibpath_overrides_runpath=unknown
10254 version_type=none
10255 dynamic_linker="$host_os ld.so"
10256 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10257 need_lib_prefix=unknown
10258 hardcode_into_libs=no
10259
10260 # when you set need_version to no, make sure it does not cause -set_version
10261 # flags to be left without arguments
10262 need_version=unknown
10263
10264 case $host_os in
10265 aix3*)
10266   version_type=linux
10267   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10268   shlibpath_var=LIBPATH
10269
10270   # AIX 3 has no versioning support, so we append a major version to the name.
10271   soname_spec='${libname}${release}${shared_ext}$major'
10272   ;;
10273
10274 aix[4-9]*)
10275   version_type=linux
10276   need_lib_prefix=no
10277   need_version=no
10278   hardcode_into_libs=yes
10279   if test "$host_cpu" = ia64; then
10280     # AIX 5 supports IA64
10281     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10282     shlibpath_var=LD_LIBRARY_PATH
10283   else
10284     # With GCC up to 2.95.x, collect2 would create an import file
10285     # for dependence libraries.  The import file would start with
10286     # the line `#! .'.  This would cause the generated library to
10287     # depend on `.', always an invalid library.  This was fixed in
10288     # development snapshots of GCC prior to 3.0.
10289     case $host_os in
10290       aix4 | aix4.[01] | aix4.[01].*)
10291       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10292            echo ' yes '
10293            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10294         :
10295       else
10296         can_build_shared=no
10297       fi
10298       ;;
10299     esac
10300     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10301     # soname into executable. Probably we can add versioning support to
10302     # collect2, so additional links can be useful in future.
10303     if test "$aix_use_runtimelinking" = yes; then
10304       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10305       # instead of lib<name>.a to let people know that these are not
10306       # typical AIX shared libraries.
10307       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10308     else
10309       # We preserve .a as extension for shared libraries through AIX4.2
10310       # and later when we are not doing run time linking.
10311       library_names_spec='${libname}${release}.a $libname.a'
10312       soname_spec='${libname}${release}${shared_ext}$major'
10313     fi
10314     shlibpath_var=LIBPATH
10315   fi
10316   ;;
10317
10318 amigaos*)
10319   case $host_cpu in
10320   powerpc)
10321     # Since July 2007 AmigaOS4 officially supports .so libraries.
10322     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10323     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10324     ;;
10325   m68k)
10326     library_names_spec='$libname.ixlibrary $libname.a'
10327     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10328     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'
10329     ;;
10330   esac
10331   ;;
10332
10333 beos*)
10334   library_names_spec='${libname}${shared_ext}'
10335   dynamic_linker="$host_os ld.so"
10336   shlibpath_var=LIBRARY_PATH
10337   ;;
10338
10339 bsdi[45]*)
10340   version_type=linux
10341   need_version=no
10342   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343   soname_spec='${libname}${release}${shared_ext}$major'
10344   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10345   shlibpath_var=LD_LIBRARY_PATH
10346   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10347   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10348   # the default ld.so.conf also contains /usr/contrib/lib and
10349   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10350   # libtool to hard-code these into programs
10351   ;;
10352
10353 cygwin* | mingw* | pw32* | cegcc*)
10354   version_type=windows
10355   shrext_cmds=".dll"
10356   need_version=no
10357   need_lib_prefix=no
10358
10359   case $GCC,$host_os in
10360   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10361     library_names_spec='$libname.dll.a'
10362     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10363     postinstall_cmds='base_file=`basename \${file}`~
10364       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10365       dldir=$destdir/`dirname \$dlpath`~
10366       test -d \$dldir || mkdir -p \$dldir~
10367       $install_prog $dir/$dlname \$dldir/$dlname~
10368       chmod a+x \$dldir/$dlname~
10369       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10370         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10371       fi'
10372     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10373       dlpath=$dir/\$dldll~
10374        $RM \$dlpath'
10375     shlibpath_overrides_runpath=yes
10376
10377     case $host_os in
10378     cygwin*)
10379       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10380       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10381
10382       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10383       ;;
10384     mingw* | cegcc*)
10385       # MinGW DLLs use traditional 'lib' prefix
10386       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10387       ;;
10388     pw32*)
10389       # pw32 DLLs use 'pw' prefix rather than 'lib'
10390       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10391       ;;
10392     esac
10393     ;;
10394
10395   *)
10396     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10397     ;;
10398   esac
10399   dynamic_linker='Win32 ld.exe'
10400   # FIXME: first we should search . and the directory the executable is in
10401   shlibpath_var=PATH
10402   ;;
10403
10404 darwin* | rhapsody*)
10405   dynamic_linker="$host_os dyld"
10406   version_type=darwin
10407   need_lib_prefix=no
10408   need_version=no
10409   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10410   soname_spec='${libname}${release}${major}$shared_ext'
10411   shlibpath_overrides_runpath=yes
10412   shlibpath_var=DYLD_LIBRARY_PATH
10413   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10414
10415   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10416   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10417   ;;
10418
10419 dgux*)
10420   version_type=linux
10421   need_lib_prefix=no
10422   need_version=no
10423   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10424   soname_spec='${libname}${release}${shared_ext}$major'
10425   shlibpath_var=LD_LIBRARY_PATH
10426   ;;
10427
10428 freebsd1*)
10429   dynamic_linker=no
10430   ;;
10431
10432 freebsd* | dragonfly*)
10433   # DragonFly does not have aout.  When/if they implement a new
10434   # versioning mechanism, adjust this.
10435   if test -x /usr/bin/objformat; then
10436     objformat=`/usr/bin/objformat`
10437   else
10438     case $host_os in
10439     freebsd[123]*) objformat=aout ;;
10440     *) objformat=elf ;;
10441     esac
10442   fi
10443   version_type=freebsd-$objformat
10444   case $version_type in
10445     freebsd-elf*)
10446       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10447       need_version=no
10448       need_lib_prefix=no
10449       ;;
10450     freebsd-*)
10451       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10452       need_version=yes
10453       ;;
10454   esac
10455   shlibpath_var=LD_LIBRARY_PATH
10456   case $host_os in
10457   freebsd2*)
10458     shlibpath_overrides_runpath=yes
10459     ;;
10460   freebsd3.[01]* | freebsdelf3.[01]*)
10461     shlibpath_overrides_runpath=yes
10462     hardcode_into_libs=yes
10463     ;;
10464   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10465   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10466     shlibpath_overrides_runpath=no
10467     hardcode_into_libs=yes
10468     ;;
10469   *) # from 4.6 on, and DragonFly
10470     shlibpath_overrides_runpath=yes
10471     hardcode_into_libs=yes
10472     ;;
10473   esac
10474   ;;
10475
10476 gnu*)
10477   version_type=linux
10478   need_lib_prefix=no
10479   need_version=no
10480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10481   soname_spec='${libname}${release}${shared_ext}$major'
10482   shlibpath_var=LD_LIBRARY_PATH
10483   hardcode_into_libs=yes
10484   ;;
10485
10486 haiku*)
10487   version_type=linux
10488   need_lib_prefix=no
10489   need_version=no
10490   dynamic_linker="$host_os runtime_loader"
10491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10492   soname_spec='${libname}${release}${shared_ext}$major'
10493   shlibpath_var=LIBRARY_PATH
10494   shlibpath_overrides_runpath=yes
10495   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10496   hardcode_into_libs=yes
10497   ;;
10498
10499 hpux9* | hpux10* | hpux11*)
10500   # Give a soname corresponding to the major version so that dld.sl refuses to
10501   # link against other versions.
10502   version_type=sunos
10503   need_lib_prefix=no
10504   need_version=no
10505   case $host_cpu in
10506   ia64*)
10507     shrext_cmds='.so'
10508     hardcode_into_libs=yes
10509     dynamic_linker="$host_os dld.so"
10510     shlibpath_var=LD_LIBRARY_PATH
10511     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10512     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513     soname_spec='${libname}${release}${shared_ext}$major'
10514     if test "X$HPUX_IA64_MODE" = X32; then
10515       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10516     else
10517       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10518     fi
10519     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10520     ;;
10521   hppa*64*)
10522     shrext_cmds='.sl'
10523     hardcode_into_libs=yes
10524     dynamic_linker="$host_os dld.sl"
10525     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10526     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10527     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10528     soname_spec='${libname}${release}${shared_ext}$major'
10529     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10530     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10531     ;;
10532   *)
10533     shrext_cmds='.sl'
10534     dynamic_linker="$host_os dld.sl"
10535     shlibpath_var=SHLIB_PATH
10536     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10537     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538     soname_spec='${libname}${release}${shared_ext}$major'
10539     ;;
10540   esac
10541   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10542   postinstall_cmds='chmod 555 $lib'
10543   # or fails outright, so override atomically:
10544   install_override_mode=555
10545   ;;
10546
10547 interix[3-9]*)
10548   version_type=linux
10549   need_lib_prefix=no
10550   need_version=no
10551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10552   soname_spec='${libname}${release}${shared_ext}$major'
10553   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10554   shlibpath_var=LD_LIBRARY_PATH
10555   shlibpath_overrides_runpath=no
10556   hardcode_into_libs=yes
10557   ;;
10558
10559 irix5* | irix6* | nonstopux*)
10560   case $host_os in
10561     nonstopux*) version_type=nonstopux ;;
10562     *)
10563         if test "$lt_cv_prog_gnu_ld" = yes; then
10564                 version_type=linux
10565         else
10566                 version_type=irix
10567         fi ;;
10568   esac
10569   need_lib_prefix=no
10570   need_version=no
10571   soname_spec='${libname}${release}${shared_ext}$major'
10572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10573   case $host_os in
10574   irix5* | nonstopux*)
10575     libsuff= shlibsuff=
10576     ;;
10577   *)
10578     case $LD in # libtool.m4 will add one of these switches to LD
10579     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10580       libsuff= shlibsuff= libmagic=32-bit;;
10581     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10582       libsuff=32 shlibsuff=N32 libmagic=N32;;
10583     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10584       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10585     *) libsuff= shlibsuff= libmagic=never-match;;
10586     esac
10587     ;;
10588   esac
10589   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10590   shlibpath_overrides_runpath=no
10591   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10592   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10593   hardcode_into_libs=yes
10594   ;;
10595
10596 # No shared lib support for Linux oldld, aout, or coff.
10597 linux*oldld* | linux*aout* | linux*coff*)
10598   dynamic_linker=no
10599   ;;
10600
10601 # This must be Linux ELF.
10602 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10603   version_type=linux
10604   need_lib_prefix=no
10605   need_version=no
10606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607   soname_spec='${libname}${release}${shared_ext}$major'
10608   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10609   shlibpath_var=LD_LIBRARY_PATH
10610   shlibpath_overrides_runpath=no
10611
10612   # Some binutils ld are patched to set DT_RUNPATH
10613   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10614   $as_echo_n "(cached) " >&6
10615 else
10616   lt_cv_shlibpath_overrides_runpath=no
10617     save_LDFLAGS=$LDFLAGS
10618     save_libdir=$libdir
10619     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10620          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10621     if test x$gcc_no_link = xyes; then
10622   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10623 fi
10624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10625 /* end confdefs.h.  */
10626
10627 int
10628 main ()
10629 {
10630
10631   ;
10632   return 0;
10633 }
10634 _ACEOF
10635 if ac_fn_c_try_link "$LINENO"; then :
10636   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10637   lt_cv_shlibpath_overrides_runpath=yes
10638 fi
10639 fi
10640 rm -f core conftest.err conftest.$ac_objext \
10641     conftest$ac_exeext conftest.$ac_ext
10642     LDFLAGS=$save_LDFLAGS
10643     libdir=$save_libdir
10644
10645 fi
10646
10647   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10648
10649   # This implies no fast_install, which is unacceptable.
10650   # Some rework will be needed to allow for fast_install
10651   # before this can be enabled.
10652   hardcode_into_libs=yes
10653
10654   # Append ld.so.conf contents to the search path
10655   if test -f /etc/ld.so.conf; then
10656     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' ' '`
10657     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10658   fi
10659
10660   # We used to test for /lib/ld.so.1 and disable shared libraries on
10661   # powerpc, because MkLinux only supported shared libraries with the
10662   # GNU dynamic linker.  Since this was broken with cross compilers,
10663   # most powerpc-linux boxes support dynamic linking these days and
10664   # people can always --disable-shared, the test was removed, and we
10665   # assume the GNU/Linux dynamic linker is in use.
10666   dynamic_linker='GNU/Linux ld.so'
10667   ;;
10668
10669 netbsd*)
10670   version_type=sunos
10671   need_lib_prefix=no
10672   need_version=no
10673   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10674     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10675     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10676     dynamic_linker='NetBSD (a.out) ld.so'
10677   else
10678     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10679     soname_spec='${libname}${release}${shared_ext}$major'
10680     dynamic_linker='NetBSD ld.elf_so'
10681   fi
10682   shlibpath_var=LD_LIBRARY_PATH
10683   shlibpath_overrides_runpath=yes
10684   hardcode_into_libs=yes
10685   ;;
10686
10687 newsos6)
10688   version_type=linux
10689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10690   shlibpath_var=LD_LIBRARY_PATH
10691   shlibpath_overrides_runpath=yes
10692   ;;
10693
10694 *nto* | *qnx*)
10695   version_type=qnx
10696   need_lib_prefix=no
10697   need_version=no
10698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10699   soname_spec='${libname}${release}${shared_ext}$major'
10700   shlibpath_var=LD_LIBRARY_PATH
10701   shlibpath_overrides_runpath=no
10702   hardcode_into_libs=yes
10703   dynamic_linker='ldqnx.so'
10704   ;;
10705
10706 openbsd*)
10707   version_type=sunos
10708   sys_lib_dlsearch_path_spec="/usr/lib"
10709   need_lib_prefix=no
10710   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10711   case $host_os in
10712     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10713     *)                          need_version=no  ;;
10714   esac
10715   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10716   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10717   shlibpath_var=LD_LIBRARY_PATH
10718   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10719     case $host_os in
10720       openbsd2.[89] | openbsd2.[89].*)
10721         shlibpath_overrides_runpath=no
10722         ;;
10723       *)
10724         shlibpath_overrides_runpath=yes
10725         ;;
10726       esac
10727   else
10728     shlibpath_overrides_runpath=yes
10729   fi
10730   ;;
10731
10732 os2*)
10733   libname_spec='$name'
10734   shrext_cmds=".dll"
10735   need_lib_prefix=no
10736   library_names_spec='$libname${shared_ext} $libname.a'
10737   dynamic_linker='OS/2 ld.exe'
10738   shlibpath_var=LIBPATH
10739   ;;
10740
10741 osf3* | osf4* | osf5*)
10742   version_type=osf
10743   need_lib_prefix=no
10744   need_version=no
10745   soname_spec='${libname}${release}${shared_ext}$major'
10746   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10747   shlibpath_var=LD_LIBRARY_PATH
10748   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10749   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10750   ;;
10751
10752 rdos*)
10753   dynamic_linker=no
10754   ;;
10755
10756 solaris*)
10757   version_type=linux
10758   need_lib_prefix=no
10759   need_version=no
10760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10761   soname_spec='${libname}${release}${shared_ext}$major'
10762   shlibpath_var=LD_LIBRARY_PATH
10763   shlibpath_overrides_runpath=yes
10764   hardcode_into_libs=yes
10765   # ldd complains unless libraries are executable
10766   postinstall_cmds='chmod +x $lib'
10767   ;;
10768
10769 sunos4*)
10770   version_type=sunos
10771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10772   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10773   shlibpath_var=LD_LIBRARY_PATH
10774   shlibpath_overrides_runpath=yes
10775   if test "$with_gnu_ld" = yes; then
10776     need_lib_prefix=no
10777   fi
10778   need_version=yes
10779   ;;
10780
10781 sysv4 | sysv4.3*)
10782   version_type=linux
10783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784   soname_spec='${libname}${release}${shared_ext}$major'
10785   shlibpath_var=LD_LIBRARY_PATH
10786   case $host_vendor in
10787     sni)
10788       shlibpath_overrides_runpath=no
10789       need_lib_prefix=no
10790       runpath_var=LD_RUN_PATH
10791       ;;
10792     siemens)
10793       need_lib_prefix=no
10794       ;;
10795     motorola)
10796       need_lib_prefix=no
10797       need_version=no
10798       shlibpath_overrides_runpath=no
10799       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10800       ;;
10801   esac
10802   ;;
10803
10804 sysv4*MP*)
10805   if test -d /usr/nec ;then
10806     version_type=linux
10807     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10808     soname_spec='$libname${shared_ext}.$major'
10809     shlibpath_var=LD_LIBRARY_PATH
10810   fi
10811   ;;
10812
10813 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10814   version_type=freebsd-elf
10815   need_lib_prefix=no
10816   need_version=no
10817   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10818   soname_spec='${libname}${release}${shared_ext}$major'
10819   shlibpath_var=LD_LIBRARY_PATH
10820   shlibpath_overrides_runpath=yes
10821   hardcode_into_libs=yes
10822   if test "$with_gnu_ld" = yes; then
10823     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10824   else
10825     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10826     case $host_os in
10827       sco3.2v5*)
10828         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10829         ;;
10830     esac
10831   fi
10832   sys_lib_dlsearch_path_spec='/usr/lib'
10833   ;;
10834
10835 tpf*)
10836   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10837   version_type=linux
10838   need_lib_prefix=no
10839   need_version=no
10840   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10841   shlibpath_var=LD_LIBRARY_PATH
10842   shlibpath_overrides_runpath=no
10843   hardcode_into_libs=yes
10844   ;;
10845
10846 uts4*)
10847   version_type=linux
10848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10849   soname_spec='${libname}${release}${shared_ext}$major'
10850   shlibpath_var=LD_LIBRARY_PATH
10851   ;;
10852
10853 *)
10854   dynamic_linker=no
10855   ;;
10856 esac
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10858 $as_echo "$dynamic_linker" >&6; }
10859 test "$dynamic_linker" = no && can_build_shared=no
10860
10861 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10862 if test "$GCC" = yes; then
10863   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10864 fi
10865
10866 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10867   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10868 fi
10869 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10870   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10871 fi
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10965 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10966 hardcode_action=
10967 if test -n "$hardcode_libdir_flag_spec" ||
10968    test -n "$runpath_var" ||
10969    test "X$hardcode_automatic" = "Xyes" ; then
10970
10971   # We can hardcode non-existent directories.
10972   if test "$hardcode_direct" != no &&
10973      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10974      # have to relink, otherwise we might link with an installed library
10975      # when we should be linking with a yet-to-be-installed one
10976      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10977      test "$hardcode_minus_L" != no; then
10978     # Linking always hardcodes the temporary library directory.
10979     hardcode_action=relink
10980   else
10981     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10982     hardcode_action=immediate
10983   fi
10984 else
10985   # We cannot hardcode anything, or else we can only hardcode existing
10986   # directories.
10987   hardcode_action=unsupported
10988 fi
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10990 $as_echo "$hardcode_action" >&6; }
10991
10992 if test "$hardcode_action" = relink ||
10993    test "$inherit_rpath" = yes; then
10994   # Fast installation is not supported
10995   enable_fast_install=no
10996 elif test "$shlibpath_overrides_runpath" = yes ||
10997      test "$enable_shared" = no; then
10998   # Fast installation is not necessary
10999   enable_fast_install=needless
11000 fi
11001
11002
11003
11004
11005
11006
11007   if test "x$enable_dlopen" != xyes; then
11008   enable_dlopen=unknown
11009   enable_dlopen_self=unknown
11010   enable_dlopen_self_static=unknown
11011 else
11012   lt_cv_dlopen=no
11013   lt_cv_dlopen_libs=
11014
11015   case $host_os in
11016   beos*)
11017     lt_cv_dlopen="load_add_on"
11018     lt_cv_dlopen_libs=
11019     lt_cv_dlopen_self=yes
11020     ;;
11021
11022   mingw* | pw32* | cegcc*)
11023     lt_cv_dlopen="LoadLibrary"
11024     lt_cv_dlopen_libs=
11025     ;;
11026
11027   cygwin*)
11028     lt_cv_dlopen="dlopen"
11029     lt_cv_dlopen_libs=
11030     ;;
11031
11032   darwin*)
11033   # if libdl is installed we need to link against it
11034     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11035 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11037   $as_echo_n "(cached) " >&6
11038 else
11039   ac_check_lib_save_LIBS=$LIBS
11040 LIBS="-ldl  $LIBS"
11041 if test x$gcc_no_link = xyes; then
11042   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11043 fi
11044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h.  */
11046
11047 /* Override any GCC internal prototype to avoid an error.
11048    Use char because int might match the return type of a GCC
11049    builtin and then its argument prototype would still apply.  */
11050 #ifdef __cplusplus
11051 extern "C"
11052 #endif
11053 char dlopen ();
11054 int
11055 main ()
11056 {
11057 return dlopen ();
11058   ;
11059   return 0;
11060 }
11061 _ACEOF
11062 if ac_fn_c_try_link "$LINENO"; then :
11063   ac_cv_lib_dl_dlopen=yes
11064 else
11065   ac_cv_lib_dl_dlopen=no
11066 fi
11067 rm -f core conftest.err conftest.$ac_objext \
11068     conftest$ac_exeext conftest.$ac_ext
11069 LIBS=$ac_check_lib_save_LIBS
11070 fi
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11072 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11073 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11074   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11075 else
11076
11077     lt_cv_dlopen="dyld"
11078     lt_cv_dlopen_libs=
11079     lt_cv_dlopen_self=yes
11080
11081 fi
11082
11083     ;;
11084
11085   *)
11086     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11087 if test "x$ac_cv_func_shl_load" = x""yes; then :
11088   lt_cv_dlopen="shl_load"
11089 else
11090   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11091 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11092 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11093   $as_echo_n "(cached) " >&6
11094 else
11095   ac_check_lib_save_LIBS=$LIBS
11096 LIBS="-ldld  $LIBS"
11097 if test x$gcc_no_link = xyes; then
11098   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11099 fi
11100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11101 /* end confdefs.h.  */
11102
11103 /* Override any GCC internal prototype to avoid an error.
11104    Use char because int might match the return type of a GCC
11105    builtin and then its argument prototype would still apply.  */
11106 #ifdef __cplusplus
11107 extern "C"
11108 #endif
11109 char shl_load ();
11110 int
11111 main ()
11112 {
11113 return shl_load ();
11114   ;
11115   return 0;
11116 }
11117 _ACEOF
11118 if ac_fn_c_try_link "$LINENO"; then :
11119   ac_cv_lib_dld_shl_load=yes
11120 else
11121   ac_cv_lib_dld_shl_load=no
11122 fi
11123 rm -f core conftest.err conftest.$ac_objext \
11124     conftest$ac_exeext conftest.$ac_ext
11125 LIBS=$ac_check_lib_save_LIBS
11126 fi
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11128 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11129 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11130   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11131 else
11132   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11133 if test "x$ac_cv_func_dlopen" = x""yes; then :
11134   lt_cv_dlopen="dlopen"
11135 else
11136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11137 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11138 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11139   $as_echo_n "(cached) " >&6
11140 else
11141   ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-ldl  $LIBS"
11143 if test x$gcc_no_link = xyes; then
11144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11145 fi
11146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11147 /* end confdefs.h.  */
11148
11149 /* Override any GCC internal prototype to avoid an error.
11150    Use char because int might match the return type of a GCC
11151    builtin and then its argument prototype would still apply.  */
11152 #ifdef __cplusplus
11153 extern "C"
11154 #endif
11155 char dlopen ();
11156 int
11157 main ()
11158 {
11159 return dlopen ();
11160   ;
11161   return 0;
11162 }
11163 _ACEOF
11164 if ac_fn_c_try_link "$LINENO"; then :
11165   ac_cv_lib_dl_dlopen=yes
11166 else
11167   ac_cv_lib_dl_dlopen=no
11168 fi
11169 rm -f core conftest.err conftest.$ac_objext \
11170     conftest$ac_exeext conftest.$ac_ext
11171 LIBS=$ac_check_lib_save_LIBS
11172 fi
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11174 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11175 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11176   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11177 else
11178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11179 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11180 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11181   $as_echo_n "(cached) " >&6
11182 else
11183   ac_check_lib_save_LIBS=$LIBS
11184 LIBS="-lsvld  $LIBS"
11185 if test x$gcc_no_link = xyes; then
11186   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11187 fi
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h.  */
11190
11191 /* Override any GCC internal prototype to avoid an error.
11192    Use char because int might match the return type of a GCC
11193    builtin and then its argument prototype would still apply.  */
11194 #ifdef __cplusplus
11195 extern "C"
11196 #endif
11197 char dlopen ();
11198 int
11199 main ()
11200 {
11201 return dlopen ();
11202   ;
11203   return 0;
11204 }
11205 _ACEOF
11206 if ac_fn_c_try_link "$LINENO"; then :
11207   ac_cv_lib_svld_dlopen=yes
11208 else
11209   ac_cv_lib_svld_dlopen=no
11210 fi
11211 rm -f core conftest.err conftest.$ac_objext \
11212     conftest$ac_exeext conftest.$ac_ext
11213 LIBS=$ac_check_lib_save_LIBS
11214 fi
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11216 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11217 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11218   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11219 else
11220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11221 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11222 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11223   $as_echo_n "(cached) " >&6
11224 else
11225   ac_check_lib_save_LIBS=$LIBS
11226 LIBS="-ldld  $LIBS"
11227 if test x$gcc_no_link = xyes; then
11228   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11229 fi
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h.  */
11232
11233 /* Override any GCC internal prototype to avoid an error.
11234    Use char because int might match the return type of a GCC
11235    builtin and then its argument prototype would still apply.  */
11236 #ifdef __cplusplus
11237 extern "C"
11238 #endif
11239 char dld_link ();
11240 int
11241 main ()
11242 {
11243 return dld_link ();
11244   ;
11245   return 0;
11246 }
11247 _ACEOF
11248 if ac_fn_c_try_link "$LINENO"; then :
11249   ac_cv_lib_dld_dld_link=yes
11250 else
11251   ac_cv_lib_dld_dld_link=no
11252 fi
11253 rm -f core conftest.err conftest.$ac_objext \
11254     conftest$ac_exeext conftest.$ac_ext
11255 LIBS=$ac_check_lib_save_LIBS
11256 fi
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11258 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11259 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11260   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11261 fi
11262
11263
11264 fi
11265
11266
11267 fi
11268
11269
11270 fi
11271
11272
11273 fi
11274
11275
11276 fi
11277
11278     ;;
11279   esac
11280
11281   if test "x$lt_cv_dlopen" != xno; then
11282     enable_dlopen=yes
11283   else
11284     enable_dlopen=no
11285   fi
11286
11287   case $lt_cv_dlopen in
11288   dlopen)
11289     save_CPPFLAGS="$CPPFLAGS"
11290     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11291
11292     save_LDFLAGS="$LDFLAGS"
11293     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11294
11295     save_LIBS="$LIBS"
11296     LIBS="$lt_cv_dlopen_libs $LIBS"
11297
11298     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11299 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11300 if test "${lt_cv_dlopen_self+set}" = set; then :
11301   $as_echo_n "(cached) " >&6
11302 else
11303           if test "$cross_compiling" = yes; then :
11304   lt_cv_dlopen_self=cross
11305 else
11306   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11307   lt_status=$lt_dlunknown
11308   cat > conftest.$ac_ext <<_LT_EOF
11309 #line 11309 "configure"
11310 #include "confdefs.h"
11311
11312 #if HAVE_DLFCN_H
11313 #include <dlfcn.h>
11314 #endif
11315
11316 #include <stdio.h>
11317
11318 #ifdef RTLD_GLOBAL
11319 #  define LT_DLGLOBAL           RTLD_GLOBAL
11320 #else
11321 #  ifdef DL_GLOBAL
11322 #    define LT_DLGLOBAL         DL_GLOBAL
11323 #  else
11324 #    define LT_DLGLOBAL         0
11325 #  endif
11326 #endif
11327
11328 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11329    find out it does not work in some platform. */
11330 #ifndef LT_DLLAZY_OR_NOW
11331 #  ifdef RTLD_LAZY
11332 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11333 #  else
11334 #    ifdef DL_LAZY
11335 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11336 #    else
11337 #      ifdef RTLD_NOW
11338 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11339 #      else
11340 #        ifdef DL_NOW
11341 #          define LT_DLLAZY_OR_NOW      DL_NOW
11342 #        else
11343 #          define LT_DLLAZY_OR_NOW      0
11344 #        endif
11345 #      endif
11346 #    endif
11347 #  endif
11348 #endif
11349
11350 /* When -fvisbility=hidden is used, assume the code has been annotated
11351    correspondingly for the symbols needed.  */
11352 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11353 void fnord () __attribute__((visibility("default")));
11354 #endif
11355
11356 void fnord () { int i=42; }
11357 int main ()
11358 {
11359   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11360   int status = $lt_dlunknown;
11361
11362   if (self)
11363     {
11364       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11365       else
11366         {
11367           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11368           else puts (dlerror ());
11369         }
11370       /* dlclose (self); */
11371     }
11372   else
11373     puts (dlerror ());
11374
11375   return status;
11376 }
11377 _LT_EOF
11378   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11379   (eval $ac_link) 2>&5
11380   ac_status=$?
11381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11382   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11383     (./conftest; exit; ) >&5 2>/dev/null
11384     lt_status=$?
11385     case x$lt_status in
11386       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11387       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11388       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11389     esac
11390   else :
11391     # compilation failed
11392     lt_cv_dlopen_self=no
11393   fi
11394 fi
11395 rm -fr conftest*
11396
11397
11398 fi
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11400 $as_echo "$lt_cv_dlopen_self" >&6; }
11401
11402     if test "x$lt_cv_dlopen_self" = xyes; then
11403       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11404       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11405 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11406 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11407   $as_echo_n "(cached) " >&6
11408 else
11409           if test "$cross_compiling" = yes; then :
11410   lt_cv_dlopen_self_static=cross
11411 else
11412   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11413   lt_status=$lt_dlunknown
11414   cat > conftest.$ac_ext <<_LT_EOF
11415 #line 11415 "configure"
11416 #include "confdefs.h"
11417
11418 #if HAVE_DLFCN_H
11419 #include <dlfcn.h>
11420 #endif
11421
11422 #include <stdio.h>
11423
11424 #ifdef RTLD_GLOBAL
11425 #  define LT_DLGLOBAL           RTLD_GLOBAL
11426 #else
11427 #  ifdef DL_GLOBAL
11428 #    define LT_DLGLOBAL         DL_GLOBAL
11429 #  else
11430 #    define LT_DLGLOBAL         0
11431 #  endif
11432 #endif
11433
11434 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11435    find out it does not work in some platform. */
11436 #ifndef LT_DLLAZY_OR_NOW
11437 #  ifdef RTLD_LAZY
11438 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11439 #  else
11440 #    ifdef DL_LAZY
11441 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11442 #    else
11443 #      ifdef RTLD_NOW
11444 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11445 #      else
11446 #        ifdef DL_NOW
11447 #          define LT_DLLAZY_OR_NOW      DL_NOW
11448 #        else
11449 #          define LT_DLLAZY_OR_NOW      0
11450 #        endif
11451 #      endif
11452 #    endif
11453 #  endif
11454 #endif
11455
11456 /* When -fvisbility=hidden is used, assume the code has been annotated
11457    correspondingly for the symbols needed.  */
11458 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11459 void fnord () __attribute__((visibility("default")));
11460 #endif
11461
11462 void fnord () { int i=42; }
11463 int main ()
11464 {
11465   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11466   int status = $lt_dlunknown;
11467
11468   if (self)
11469     {
11470       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11471       else
11472         {
11473           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11474           else puts (dlerror ());
11475         }
11476       /* dlclose (self); */
11477     }
11478   else
11479     puts (dlerror ());
11480
11481   return status;
11482 }
11483 _LT_EOF
11484   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11485   (eval $ac_link) 2>&5
11486   ac_status=$?
11487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11488   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11489     (./conftest; exit; ) >&5 2>/dev/null
11490     lt_status=$?
11491     case x$lt_status in
11492       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11493       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11494       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11495     esac
11496   else :
11497     # compilation failed
11498     lt_cv_dlopen_self_static=no
11499   fi
11500 fi
11501 rm -fr conftest*
11502
11503
11504 fi
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11506 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11507     fi
11508
11509     CPPFLAGS="$save_CPPFLAGS"
11510     LDFLAGS="$save_LDFLAGS"
11511     LIBS="$save_LIBS"
11512     ;;
11513   esac
11514
11515   case $lt_cv_dlopen_self in
11516   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11517   *) enable_dlopen_self=unknown ;;
11518   esac
11519
11520   case $lt_cv_dlopen_self_static in
11521   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11522   *) enable_dlopen_self_static=unknown ;;
11523   esac
11524 fi
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542 striplib=
11543 old_striplib=
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11545 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11546 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11547   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11548   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11550 $as_echo "yes" >&6; }
11551 else
11552 # FIXME - insert some real tests, host_os isn't really good enough
11553   case $host_os in
11554   darwin*)
11555     if test -n "$STRIP" ; then
11556       striplib="$STRIP -x"
11557       old_striplib="$STRIP -S"
11558       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11559 $as_echo "yes" >&6; }
11560     else
11561       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11562 $as_echo "no" >&6; }
11563     fi
11564     ;;
11565   *)
11566     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11567 $as_echo "no" >&6; }
11568     ;;
11569   esac
11570 fi
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583   # Report which library types will actually be built
11584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11585 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11586   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11587 $as_echo "$can_build_shared" >&6; }
11588
11589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11590 $as_echo_n "checking whether to build shared libraries... " >&6; }
11591   test "$can_build_shared" = "no" && enable_shared=no
11592
11593   # On AIX, shared libraries and static libraries use the same namespace, and
11594   # are all built from PIC.
11595   case $host_os in
11596   aix3*)
11597     test "$enable_shared" = yes && enable_static=no
11598     if test -n "$RANLIB"; then
11599       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11600       postinstall_cmds='$RANLIB $lib'
11601     fi
11602     ;;
11603
11604   aix[4-9]*)
11605     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11606       test "$enable_shared" = yes && enable_static=no
11607     fi
11608     ;;
11609   esac
11610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11611 $as_echo "$enable_shared" >&6; }
11612
11613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11614 $as_echo_n "checking whether to build static libraries... " >&6; }
11615   # Make sure either enable_shared or enable_static is yes.
11616   test "$enable_shared" = yes || enable_static=yes
11617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11618 $as_echo "$enable_static" >&6; }
11619
11620
11621
11622
11623 fi
11624 ac_ext=c
11625 ac_cpp='$CPP $CPPFLAGS'
11626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11629
11630 CC="$lt_save_CC"
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644         ac_config_commands="$ac_config_commands libtool"
11645
11646
11647
11648
11649 # Only expand once:
11650
11651
11652
11653
11654 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11655
11656 # We need gfortran to compile parts of the library
11657 #AC_PROG_FC(gfortran)
11658 FC="$GFORTRAN"
11659 ac_ext=${ac_fc_srcext-f}
11660 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11661 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11662 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11663 if test -n "$ac_tool_prefix"; then
11664   for ac_prog in gfortran
11665   do
11666     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11669 $as_echo_n "checking for $ac_word... " >&6; }
11670 if test "${ac_cv_prog_FC+set}" = set; then :
11671   $as_echo_n "(cached) " >&6
11672 else
11673   if test -n "$FC"; then
11674   ac_cv_prog_FC="$FC" # Let the user override the test.
11675 else
11676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11677 for as_dir in $PATH
11678 do
11679   IFS=$as_save_IFS
11680   test -z "$as_dir" && as_dir=.
11681     for ac_exec_ext in '' $ac_executable_extensions; do
11682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11683     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11684     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11685     break 2
11686   fi
11687 done
11688   done
11689 IFS=$as_save_IFS
11690
11691 fi
11692 fi
11693 FC=$ac_cv_prog_FC
11694 if test -n "$FC"; then
11695   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11696 $as_echo "$FC" >&6; }
11697 else
11698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11699 $as_echo "no" >&6; }
11700 fi
11701
11702
11703     test -n "$FC" && break
11704   done
11705 fi
11706 if test -z "$FC"; then
11707   ac_ct_FC=$FC
11708   for ac_prog in gfortran
11709 do
11710   # Extract the first word of "$ac_prog", so it can be a program name with args.
11711 set dummy $ac_prog; ac_word=$2
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11713 $as_echo_n "checking for $ac_word... " >&6; }
11714 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11715   $as_echo_n "(cached) " >&6
11716 else
11717   if test -n "$ac_ct_FC"; then
11718   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11719 else
11720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11721 for as_dir in $PATH
11722 do
11723   IFS=$as_save_IFS
11724   test -z "$as_dir" && as_dir=.
11725     for ac_exec_ext in '' $ac_executable_extensions; do
11726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11727     ac_cv_prog_ac_ct_FC="$ac_prog"
11728     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11729     break 2
11730   fi
11731 done
11732   done
11733 IFS=$as_save_IFS
11734
11735 fi
11736 fi
11737 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11738 if test -n "$ac_ct_FC"; then
11739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11740 $as_echo "$ac_ct_FC" >&6; }
11741 else
11742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11743 $as_echo "no" >&6; }
11744 fi
11745
11746
11747   test -n "$ac_ct_FC" && break
11748 done
11749
11750   if test "x$ac_ct_FC" = x; then
11751     FC=""
11752   else
11753     case $cross_compiling:$ac_tool_warned in
11754 yes:)
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11757 ac_tool_warned=yes ;;
11758 esac
11759     FC=$ac_ct_FC
11760   fi
11761 fi
11762
11763
11764 # Provide some information about the compiler.
11765 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11766 set X $ac_compile
11767 ac_compiler=$2
11768 for ac_option in --version -v -V -qversion; do
11769   { { ac_try="$ac_compiler $ac_option >&5"
11770 case "(($ac_try" in
11771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11772   *) ac_try_echo=$ac_try;;
11773 esac
11774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11775 $as_echo "$ac_try_echo"; } >&5
11776   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11777   ac_status=$?
11778   if test -s conftest.err; then
11779     sed '10a\
11780 ... rest of stderr output deleted ...
11781          10q' conftest.err >conftest.er1
11782     cat conftest.er1 >&5
11783     rm -f conftest.er1 conftest.err
11784   fi
11785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11786   test $ac_status = 0; }
11787 done
11788 rm -f a.out
11789
11790 # If we don't use `.F' as extension, the preprocessor is not run on the
11791 # input file.  (Note that this only needs to work for GNU compilers.)
11792 ac_save_ext=$ac_ext
11793 ac_ext=F
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11795 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11796 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11797   $as_echo_n "(cached) " >&6
11798 else
11799   cat > conftest.$ac_ext <<_ACEOF
11800       program main
11801 #ifndef __GNUC__
11802        choke me
11803 #endif
11804
11805       end
11806 _ACEOF
11807 if ac_fn_fc_try_compile "$LINENO"; then :
11808   ac_compiler_gnu=yes
11809 else
11810   ac_compiler_gnu=no
11811 fi
11812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11814
11815 fi
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11817 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11818 ac_ext=$ac_save_ext
11819 ac_test_FCFLAGS=${FCFLAGS+set}
11820 ac_save_FCFLAGS=$FCFLAGS
11821 FCFLAGS=
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11823 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11824 if test "${ac_cv_prog_fc_g+set}" = set; then :
11825   $as_echo_n "(cached) " >&6
11826 else
11827   FCFLAGS=-g
11828 cat > conftest.$ac_ext <<_ACEOF
11829       program main
11830
11831       end
11832 _ACEOF
11833 if ac_fn_fc_try_compile "$LINENO"; then :
11834   ac_cv_prog_fc_g=yes
11835 else
11836   ac_cv_prog_fc_g=no
11837 fi
11838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11839
11840 fi
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11842 $as_echo "$ac_cv_prog_fc_g" >&6; }
11843 if test "$ac_test_FCFLAGS" = set; then
11844   FCFLAGS=$ac_save_FCFLAGS
11845 elif test $ac_cv_prog_fc_g = yes; then
11846   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11847     FCFLAGS="-g -O2"
11848   else
11849     FCFLAGS="-g"
11850   fi
11851 else
11852   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11853     FCFLAGS="-O2"
11854   else
11855     FCFLAGS=
11856   fi
11857 fi
11858
11859 ac_ext=c
11860 ac_cpp='$CPP $CPPFLAGS'
11861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11864
11865       ac_ext=${ac_fc_srcext-f}
11866 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11867 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11868 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11869
11870
11871 if test -z "$FC" || test "X$FC" = "Xno"; then
11872   _lt_disable_FC=yes
11873 fi
11874
11875 archive_cmds_need_lc_FC=no
11876 allow_undefined_flag_FC=
11877 always_export_symbols_FC=no
11878 archive_expsym_cmds_FC=
11879 export_dynamic_flag_spec_FC=
11880 hardcode_direct_FC=no
11881 hardcode_direct_absolute_FC=no
11882 hardcode_libdir_flag_spec_FC=
11883 hardcode_libdir_flag_spec_ld_FC=
11884 hardcode_libdir_separator_FC=
11885 hardcode_minus_L_FC=no
11886 hardcode_automatic_FC=no
11887 inherit_rpath_FC=no
11888 module_cmds_FC=
11889 module_expsym_cmds_FC=
11890 link_all_deplibs_FC=unknown
11891 old_archive_cmds_FC=$old_archive_cmds
11892 reload_flag_FC=$reload_flag
11893 reload_cmds_FC=$reload_cmds
11894 no_undefined_flag_FC=
11895 whole_archive_flag_spec_FC=
11896 enable_shared_with_static_runtimes_FC=no
11897
11898 # Source file extension for fc test sources.
11899 ac_ext=${ac_fc_srcext-f}
11900
11901 # Object file extension for compiled fc test sources.
11902 objext=o
11903 objext_FC=$objext
11904
11905 # No sense in running all these tests if we already determined that
11906 # the FC compiler isn't working.  Some variables (like enable_shared)
11907 # are currently assumed to apply to all compilers on this platform,
11908 # and will be corrupted by setting them based on a non-working compiler.
11909 if test "$_lt_disable_FC" != yes; then
11910   # Code to be used in simple compile tests
11911   lt_simple_compile_test_code="\
11912       subroutine t
11913       return
11914       end
11915 "
11916
11917   # Code to be used in simple link tests
11918   lt_simple_link_test_code="\
11919       program t
11920       end
11921 "
11922
11923   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11924
11925
11926
11927
11928
11929
11930 # If no C compiler was specified, use CC.
11931 LTCC=${LTCC-"$CC"}
11932
11933 # If no C compiler flags were specified, use CFLAGS.
11934 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11935
11936 # Allow CC to be a program name with arguments.
11937 compiler=$CC
11938
11939
11940   # save warnings/boilerplate of simple test code
11941   ac_outfile=conftest.$ac_objext
11942 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11943 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11944 _lt_compiler_boilerplate=`cat conftest.err`
11945 $RM conftest*
11946
11947   ac_outfile=conftest.$ac_objext
11948 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11949 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11950 _lt_linker_boilerplate=`cat conftest.err`
11951 $RM -r conftest*
11952
11953
11954   # Allow CC to be a program name with arguments.
11955   lt_save_CC="$CC"
11956   lt_save_GCC=$GCC
11957   CC=${FC-"f95"}
11958   compiler=$CC
11959   GCC=$ac_cv_fc_compiler_gnu
11960
11961   compiler_FC=$CC
11962   for cc_temp in $compiler""; do
11963   case $cc_temp in
11964     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11965     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11966     \-*) ;;
11967     *) break;;
11968   esac
11969 done
11970 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
11971
11972
11973   if test -n "$compiler"; then
11974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11975 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11976     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11977 $as_echo "$can_build_shared" >&6; }
11978
11979     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11980 $as_echo_n "checking whether to build shared libraries... " >&6; }
11981     test "$can_build_shared" = "no" && enable_shared=no
11982
11983     # On AIX, shared libraries and static libraries use the same namespace, and
11984     # are all built from PIC.
11985     case $host_os in
11986       aix3*)
11987         test "$enable_shared" = yes && enable_static=no
11988         if test -n "$RANLIB"; then
11989           archive_cmds="$archive_cmds~\$RANLIB \$lib"
11990           postinstall_cmds='$RANLIB $lib'
11991         fi
11992         ;;
11993       aix[4-9]*)
11994         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11995           test "$enable_shared" = yes && enable_static=no
11996         fi
11997         ;;
11998     esac
11999     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12000 $as_echo "$enable_shared" >&6; }
12001
12002     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12003 $as_echo_n "checking whether to build static libraries... " >&6; }
12004     # Make sure either enable_shared or enable_static is yes.
12005     test "$enable_shared" = yes || enable_static=yes
12006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12007 $as_echo "$enable_static" >&6; }
12008
12009     GCC_FC="$ac_cv_fc_compiler_gnu"
12010     LD_FC="$LD"
12011
12012     ## CAVEAT EMPTOR:
12013     ## There is no encapsulation within the following macros, do not change
12014     ## the running order or otherwise move them around unless you know exactly
12015     ## what you are doing...
12016     # Dependencies to place before and after the object being linked:
12017 predep_objects_FC=
12018 postdep_objects_FC=
12019 predeps_FC=
12020 postdeps_FC=
12021 compiler_lib_search_path_FC=
12022
12023 cat > conftest.$ac_ext <<_LT_EOF
12024       subroutine foo
12025       implicit none
12026       integer a
12027       a=0
12028       return
12029       end
12030 _LT_EOF
12031
12032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12033   (eval $ac_compile) 2>&5
12034   ac_status=$?
12035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036   test $ac_status = 0; }; then
12037   # Parse the compiler output and extract the necessary
12038   # objects, libraries and library flags.
12039
12040   # Sentinel used to keep track of whether or not we are before
12041   # the conftest object file.
12042   pre_test_object_deps_done=no
12043
12044   for p in `eval "$output_verbose_link_cmd"`; do
12045     case $p in
12046
12047     -L* | -R* | -l*)
12048        # Some compilers place space between "-{L,R}" and the path.
12049        # Remove the space.
12050        if test $p = "-L" ||
12051           test $p = "-R"; then
12052          prev=$p
12053          continue
12054        else
12055          prev=
12056        fi
12057
12058        if test "$pre_test_object_deps_done" = no; then
12059          case $p in
12060          -L* | -R*)
12061            # Internal compiler library paths should come after those
12062            # provided the user.  The postdeps already come after the
12063            # user supplied libs so there is no need to process them.
12064            if test -z "$compiler_lib_search_path_FC"; then
12065              compiler_lib_search_path_FC="${prev}${p}"
12066            else
12067              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12068            fi
12069            ;;
12070          # The "-l" case would never come before the object being
12071          # linked, so don't bother handling this case.
12072          esac
12073        else
12074          if test -z "$postdeps_FC"; then
12075            postdeps_FC="${prev}${p}"
12076          else
12077            postdeps_FC="${postdeps_FC} ${prev}${p}"
12078          fi
12079        fi
12080        ;;
12081
12082     *.$objext)
12083        # This assumes that the test object file only shows up
12084        # once in the compiler output.
12085        if test "$p" = "conftest.$objext"; then
12086          pre_test_object_deps_done=yes
12087          continue
12088        fi
12089
12090        if test "$pre_test_object_deps_done" = no; then
12091          if test -z "$predep_objects_FC"; then
12092            predep_objects_FC="$p"
12093          else
12094            predep_objects_FC="$predep_objects_FC $p"
12095          fi
12096        else
12097          if test -z "$postdep_objects_FC"; then
12098            postdep_objects_FC="$p"
12099          else
12100            postdep_objects_FC="$postdep_objects_FC $p"
12101          fi
12102        fi
12103        ;;
12104
12105     *) ;; # Ignore the rest.
12106
12107     esac
12108   done
12109
12110   # Clean up.
12111   rm -f a.out a.exe
12112 else
12113   echo "libtool.m4: error: problem compiling FC test program"
12114 fi
12115
12116 $RM -f confest.$objext
12117
12118 # PORTME: override above test on systems where it is broken
12119
12120
12121 case " $postdeps_FC " in
12122 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12123 esac
12124  compiler_lib_search_dirs_FC=
12125 if test -n "${compiler_lib_search_path_FC}"; then
12126  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12127 fi
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159     lt_prog_compiler_wl_FC=
12160 lt_prog_compiler_pic_FC=
12161 lt_prog_compiler_static_FC=
12162
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12164 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12165
12166   if test "$GCC" = yes; then
12167     lt_prog_compiler_wl_FC='-Wl,'
12168     lt_prog_compiler_static_FC='-static'
12169
12170     case $host_os in
12171       aix*)
12172       # All AIX code is PIC.
12173       if test "$host_cpu" = ia64; then
12174         # AIX 5 now supports IA64 processor
12175         lt_prog_compiler_static_FC='-Bstatic'
12176       fi
12177       ;;
12178
12179     amigaos*)
12180       case $host_cpu in
12181       powerpc)
12182             # see comment about AmigaOS4 .so support
12183             lt_prog_compiler_pic_FC='-fPIC'
12184         ;;
12185       m68k)
12186             # FIXME: we need at least 68020 code to build shared libraries, but
12187             # adding the `-m68020' flag to GCC prevents building anything better,
12188             # like `-m68040'.
12189             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12190         ;;
12191       esac
12192       ;;
12193
12194     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12195       # PIC is the default for these OSes.
12196       ;;
12197
12198     mingw* | cygwin* | pw32* | os2* | cegcc*)
12199       # This hack is so that the source file can tell whether it is being
12200       # built for inclusion in a dll (and should export symbols for example).
12201       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12202       # (--disable-auto-import) libraries
12203       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12204       ;;
12205
12206     darwin* | rhapsody*)
12207       # PIC is the default on this platform
12208       # Common symbols not allowed in MH_DYLIB files
12209       lt_prog_compiler_pic_FC='-fno-common'
12210       ;;
12211
12212     haiku*)
12213       # PIC is the default for Haiku.
12214       # The "-static" flag exists, but is broken.
12215       lt_prog_compiler_static_FC=
12216       ;;
12217
12218     hpux*)
12219       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12220       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12221       # sets the default TLS model and affects inlining.
12222       case $host_cpu in
12223       hppa*64*)
12224         # +Z the default
12225         ;;
12226       *)
12227         lt_prog_compiler_pic_FC='-fPIC'
12228         ;;
12229       esac
12230       ;;
12231
12232     interix[3-9]*)
12233       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12234       # Instead, we relocate shared libraries at runtime.
12235       ;;
12236
12237     msdosdjgpp*)
12238       # Just because we use GCC doesn't mean we suddenly get shared libraries
12239       # on systems that don't support them.
12240       lt_prog_compiler_can_build_shared_FC=no
12241       enable_shared=no
12242       ;;
12243
12244     *nto* | *qnx*)
12245       # QNX uses GNU C++, but need to define -shared option too, otherwise
12246       # it will coredump.
12247       lt_prog_compiler_pic_FC='-fPIC -shared'
12248       ;;
12249
12250     sysv4*MP*)
12251       if test -d /usr/nec; then
12252         lt_prog_compiler_pic_FC=-Kconform_pic
12253       fi
12254       ;;
12255
12256     *)
12257       lt_prog_compiler_pic_FC='-fPIC'
12258       ;;
12259     esac
12260
12261     case $cc_basename in
12262     nvcc*) # Cuda Compiler Driver 2.2
12263       lt_prog_compiler_wl_FC='-Xlinker '
12264       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12265       ;;
12266     esac
12267   else
12268     # PORTME Check for flag to pass linker flags through the system compiler.
12269     case $host_os in
12270     aix*)
12271       lt_prog_compiler_wl_FC='-Wl,'
12272       if test "$host_cpu" = ia64; then
12273         # AIX 5 now supports IA64 processor
12274         lt_prog_compiler_static_FC='-Bstatic'
12275       else
12276         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12277       fi
12278       ;;
12279
12280     mingw* | cygwin* | pw32* | os2* | cegcc*)
12281       # This hack is so that the source file can tell whether it is being
12282       # built for inclusion in a dll (and should export symbols for example).
12283       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12284       ;;
12285
12286     hpux9* | hpux10* | hpux11*)
12287       lt_prog_compiler_wl_FC='-Wl,'
12288       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12289       # not for PA HP-UX.
12290       case $host_cpu in
12291       hppa*64*|ia64*)
12292         # +Z the default
12293         ;;
12294       *)
12295         lt_prog_compiler_pic_FC='+Z'
12296         ;;
12297       esac
12298       # Is there a better lt_prog_compiler_static that works with the bundled CC?
12299       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12300       ;;
12301
12302     irix5* | irix6* | nonstopux*)
12303       lt_prog_compiler_wl_FC='-Wl,'
12304       # PIC (with -KPIC) is the default.
12305       lt_prog_compiler_static_FC='-non_shared'
12306       ;;
12307
12308     linux* | k*bsd*-gnu | kopensolaris*-gnu)
12309       case $cc_basename in
12310       # old Intel for x86_64 which still supported -KPIC.
12311       ecc*)
12312         lt_prog_compiler_wl_FC='-Wl,'
12313         lt_prog_compiler_pic_FC='-KPIC'
12314         lt_prog_compiler_static_FC='-static'
12315         ;;
12316       # icc used to be incompatible with GCC.
12317       # ICC 10 doesn't accept -KPIC any more.
12318       icc* | ifort*)
12319         lt_prog_compiler_wl_FC='-Wl,'
12320         lt_prog_compiler_pic_FC='-fPIC'
12321         lt_prog_compiler_static_FC='-static'
12322         ;;
12323       # Lahey Fortran 8.1.
12324       lf95*)
12325         lt_prog_compiler_wl_FC='-Wl,'
12326         lt_prog_compiler_pic_FC='--shared'
12327         lt_prog_compiler_static_FC='--static'
12328         ;;
12329       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12330         # Portland Group compilers (*not* the Pentium gcc compiler,
12331         # which looks to be a dead project)
12332         lt_prog_compiler_wl_FC='-Wl,'
12333         lt_prog_compiler_pic_FC='-fpic'
12334         lt_prog_compiler_static_FC='-Bstatic'
12335         ;;
12336       ccc*)
12337         lt_prog_compiler_wl_FC='-Wl,'
12338         # All Alpha code is PIC.
12339         lt_prog_compiler_static_FC='-non_shared'
12340         ;;
12341       xl* | bgxl* | bgf* | mpixl*)
12342         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12343         lt_prog_compiler_wl_FC='-Wl,'
12344         lt_prog_compiler_pic_FC='-qpic'
12345         lt_prog_compiler_static_FC='-qstaticlink'
12346         ;;
12347       *)
12348         case `$CC -V 2>&1 | sed 5q` in
12349         *Sun\ F* | *Sun*Fortran*)
12350           # Sun Fortran 8.3 passes all unrecognized flags to the linker
12351           lt_prog_compiler_pic_FC='-KPIC'
12352           lt_prog_compiler_static_FC='-Bstatic'
12353           lt_prog_compiler_wl_FC=''
12354           ;;
12355         *Sun\ C*)
12356           # Sun C 5.9
12357           lt_prog_compiler_pic_FC='-KPIC'
12358           lt_prog_compiler_static_FC='-Bstatic'
12359           lt_prog_compiler_wl_FC='-Wl,'
12360           ;;
12361         esac
12362         ;;
12363       esac
12364       ;;
12365
12366     newsos6)
12367       lt_prog_compiler_pic_FC='-KPIC'
12368       lt_prog_compiler_static_FC='-Bstatic'
12369       ;;
12370
12371     *nto* | *qnx*)
12372       # QNX uses GNU C++, but need to define -shared option too, otherwise
12373       # it will coredump.
12374       lt_prog_compiler_pic_FC='-fPIC -shared'
12375       ;;
12376
12377     osf3* | osf4* | osf5*)
12378       lt_prog_compiler_wl_FC='-Wl,'
12379       # All OSF/1 code is PIC.
12380       lt_prog_compiler_static_FC='-non_shared'
12381       ;;
12382
12383     rdos*)
12384       lt_prog_compiler_static_FC='-non_shared'
12385       ;;
12386
12387     solaris*)
12388       lt_prog_compiler_pic_FC='-KPIC'
12389       lt_prog_compiler_static_FC='-Bstatic'
12390       case $cc_basename in
12391       f77* | f90* | f95*)
12392         lt_prog_compiler_wl_FC='-Qoption ld ';;
12393       *)
12394         lt_prog_compiler_wl_FC='-Wl,';;
12395       esac
12396       ;;
12397
12398     sunos4*)
12399       lt_prog_compiler_wl_FC='-Qoption ld '
12400       lt_prog_compiler_pic_FC='-PIC'
12401       lt_prog_compiler_static_FC='-Bstatic'
12402       ;;
12403
12404     sysv4 | sysv4.2uw2* | sysv4.3*)
12405       lt_prog_compiler_wl_FC='-Wl,'
12406       lt_prog_compiler_pic_FC='-KPIC'
12407       lt_prog_compiler_static_FC='-Bstatic'
12408       ;;
12409
12410     sysv4*MP*)
12411       if test -d /usr/nec ;then
12412         lt_prog_compiler_pic_FC='-Kconform_pic'
12413         lt_prog_compiler_static_FC='-Bstatic'
12414       fi
12415       ;;
12416
12417     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12418       lt_prog_compiler_wl_FC='-Wl,'
12419       lt_prog_compiler_pic_FC='-KPIC'
12420       lt_prog_compiler_static_FC='-Bstatic'
12421       ;;
12422
12423     unicos*)
12424       lt_prog_compiler_wl_FC='-Wl,'
12425       lt_prog_compiler_can_build_shared_FC=no
12426       ;;
12427
12428     uts4*)
12429       lt_prog_compiler_pic_FC='-pic'
12430       lt_prog_compiler_static_FC='-Bstatic'
12431       ;;
12432
12433     *)
12434       lt_prog_compiler_can_build_shared_FC=no
12435       ;;
12436     esac
12437   fi
12438
12439 case $host_os in
12440   # For platforms which do not support PIC, -DPIC is meaningless:
12441   *djgpp*)
12442     lt_prog_compiler_pic_FC=
12443     ;;
12444   *)
12445     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12446     ;;
12447 esac
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12449 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12450
12451
12452
12453 #
12454 # Check to make sure the PIC flag actually works.
12455 #
12456 if test -n "$lt_prog_compiler_pic_FC"; then
12457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12458 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12459 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12460   $as_echo_n "(cached) " >&6
12461 else
12462   lt_cv_prog_compiler_pic_works_FC=no
12463    ac_outfile=conftest.$ac_objext
12464    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12465    lt_compiler_flag="$lt_prog_compiler_pic_FC"
12466    # Insert the option either (1) after the last *FLAGS variable, or
12467    # (2) before a word containing "conftest.", or (3) at the end.
12468    # Note that $ac_compile itself does not contain backslashes and begins
12469    # with a dollar sign (not a hyphen), so the echo should work correctly.
12470    # The option is referenced via a variable to avoid confusing sed.
12471    lt_compile=`echo "$ac_compile" | $SED \
12472    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12473    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12474    -e 's:$: $lt_compiler_flag:'`
12475    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12476    (eval "$lt_compile" 2>conftest.err)
12477    ac_status=$?
12478    cat conftest.err >&5
12479    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12480    if (exit $ac_status) && test -s "$ac_outfile"; then
12481      # The compiler can only warn and ignore the option if not recognized
12482      # So say no if there are warnings other than the usual output.
12483      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12484      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12485      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12486        lt_cv_prog_compiler_pic_works_FC=yes
12487      fi
12488    fi
12489    $RM conftest*
12490
12491 fi
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12493 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12494
12495 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12496     case $lt_prog_compiler_pic_FC in
12497      "" | " "*) ;;
12498      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12499      esac
12500 else
12501     lt_prog_compiler_pic_FC=
12502      lt_prog_compiler_can_build_shared_FC=no
12503 fi
12504
12505 fi
12506
12507
12508
12509 #
12510 # Check to make sure the static flag actually works.
12511 #
12512 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12514 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12515 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12516   $as_echo_n "(cached) " >&6
12517 else
12518   lt_cv_prog_compiler_static_works_FC=no
12519    save_LDFLAGS="$LDFLAGS"
12520    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12521    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12522    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12523      # The linker can only warn and ignore the option if not recognized
12524      # So say no if there are warnings
12525      if test -s conftest.err; then
12526        # Append any errors to the config.log.
12527        cat conftest.err 1>&5
12528        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12529        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12530        if diff conftest.exp conftest.er2 >/dev/null; then
12531          lt_cv_prog_compiler_static_works_FC=yes
12532        fi
12533      else
12534        lt_cv_prog_compiler_static_works_FC=yes
12535      fi
12536    fi
12537    $RM -r conftest*
12538    LDFLAGS="$save_LDFLAGS"
12539
12540 fi
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12542 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12543
12544 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12545     :
12546 else
12547     lt_prog_compiler_static_FC=
12548 fi
12549
12550
12551
12552
12553     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12554 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12555 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12556   $as_echo_n "(cached) " >&6
12557 else
12558   lt_cv_prog_compiler_c_o_FC=no
12559    $RM -r conftest 2>/dev/null
12560    mkdir conftest
12561    cd conftest
12562    mkdir out
12563    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12564
12565    lt_compiler_flag="-o out/conftest2.$ac_objext"
12566    # Insert the option either (1) after the last *FLAGS variable, or
12567    # (2) before a word containing "conftest.", or (3) at the end.
12568    # Note that $ac_compile itself does not contain backslashes and begins
12569    # with a dollar sign (not a hyphen), so the echo should work correctly.
12570    lt_compile=`echo "$ac_compile" | $SED \
12571    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12572    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12573    -e 's:$: $lt_compiler_flag:'`
12574    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12575    (eval "$lt_compile" 2>out/conftest.err)
12576    ac_status=$?
12577    cat out/conftest.err >&5
12578    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12580    then
12581      # The compiler can only warn and ignore the option if not recognized
12582      # So say no if there are warnings
12583      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12584      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12585      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12586        lt_cv_prog_compiler_c_o_FC=yes
12587      fi
12588    fi
12589    chmod u+w . 2>&5
12590    $RM conftest*
12591    # SGI C++ compiler will create directory out/ii_files/ for
12592    # template instantiation
12593    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12594    $RM out/* && rmdir out
12595    cd ..
12596    $RM -r conftest
12597    $RM conftest*
12598
12599 fi
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12601 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12602
12603
12604
12605     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12607 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12608   $as_echo_n "(cached) " >&6
12609 else
12610   lt_cv_prog_compiler_c_o_FC=no
12611    $RM -r conftest 2>/dev/null
12612    mkdir conftest
12613    cd conftest
12614    mkdir out
12615    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12616
12617    lt_compiler_flag="-o out/conftest2.$ac_objext"
12618    # Insert the option either (1) after the last *FLAGS variable, or
12619    # (2) before a word containing "conftest.", or (3) at the end.
12620    # Note that $ac_compile itself does not contain backslashes and begins
12621    # with a dollar sign (not a hyphen), so the echo should work correctly.
12622    lt_compile=`echo "$ac_compile" | $SED \
12623    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12624    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12625    -e 's:$: $lt_compiler_flag:'`
12626    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12627    (eval "$lt_compile" 2>out/conftest.err)
12628    ac_status=$?
12629    cat out/conftest.err >&5
12630    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12632    then
12633      # The compiler can only warn and ignore the option if not recognized
12634      # So say no if there are warnings
12635      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12636      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12637      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12638        lt_cv_prog_compiler_c_o_FC=yes
12639      fi
12640    fi
12641    chmod u+w . 2>&5
12642    $RM conftest*
12643    # SGI C++ compiler will create directory out/ii_files/ for
12644    # template instantiation
12645    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12646    $RM out/* && rmdir out
12647    cd ..
12648    $RM -r conftest
12649    $RM conftest*
12650
12651 fi
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12653 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12654
12655
12656
12657
12658 hard_links="nottested"
12659 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12660   # do not overwrite the value of need_locks provided by the user
12661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12662 $as_echo_n "checking if we can lock with hard links... " >&6; }
12663   hard_links=yes
12664   $RM conftest*
12665   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12666   touch conftest.a
12667   ln conftest.a conftest.b 2>&5 || hard_links=no
12668   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12670 $as_echo "$hard_links" >&6; }
12671   if test "$hard_links" = no; then
12672     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12673 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12674     need_locks=warn
12675   fi
12676 else
12677   need_locks=no
12678 fi
12679
12680
12681
12682     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12683 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12684
12685   runpath_var=
12686   allow_undefined_flag_FC=
12687   always_export_symbols_FC=no
12688   archive_cmds_FC=
12689   archive_expsym_cmds_FC=
12690   compiler_needs_object_FC=no
12691   enable_shared_with_static_runtimes_FC=no
12692   export_dynamic_flag_spec_FC=
12693   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12694   hardcode_automatic_FC=no
12695   hardcode_direct_FC=no
12696   hardcode_direct_absolute_FC=no
12697   hardcode_libdir_flag_spec_FC=
12698   hardcode_libdir_flag_spec_ld_FC=
12699   hardcode_libdir_separator_FC=
12700   hardcode_minus_L_FC=no
12701   hardcode_shlibpath_var_FC=unsupported
12702   inherit_rpath_FC=no
12703   link_all_deplibs_FC=unknown
12704   module_cmds_FC=
12705   module_expsym_cmds_FC=
12706   old_archive_from_new_cmds_FC=
12707   old_archive_from_expsyms_cmds_FC=
12708   thread_safe_flag_spec_FC=
12709   whole_archive_flag_spec_FC=
12710   # include_expsyms should be a list of space-separated symbols to be *always*
12711   # included in the symbol list
12712   include_expsyms_FC=
12713   # exclude_expsyms can be an extended regexp of symbols to exclude
12714   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12715   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12716   # as well as any symbol that contains `d'.
12717   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12718   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12719   # platforms (ab)use it in PIC code, but their linkers get confused if
12720   # the symbol is explicitly referenced.  Since portable code cannot
12721   # rely on this symbol name, it's probably fine to never include it in
12722   # preloaded symbol tables.
12723   # Exclude shared library initialization/finalization symbols.
12724   extract_expsyms_cmds=
12725
12726   case $host_os in
12727   cygwin* | mingw* | pw32* | cegcc*)
12728     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12729     # When not using gcc, we currently assume that we are using
12730     # Microsoft Visual C++.
12731     if test "$GCC" != yes; then
12732       with_gnu_ld=no
12733     fi
12734     ;;
12735   interix*)
12736     # we just hope/assume this is gcc and not c89 (= MSVC++)
12737     with_gnu_ld=yes
12738     ;;
12739   openbsd*)
12740     with_gnu_ld=no
12741     ;;
12742   esac
12743
12744   ld_shlibs_FC=yes
12745
12746   # On some targets, GNU ld is compatible enough with the native linker
12747   # that we're better off using the native interface for both.
12748   lt_use_gnu_ld_interface=no
12749   if test "$with_gnu_ld" = yes; then
12750     case $host_os in
12751       aix*)
12752         # The AIX port of GNU ld has always aspired to compatibility
12753         # with the native linker.  However, as the warning in the GNU ld
12754         # block says, versions before 2.19.5* couldn't really create working
12755         # shared libraries, regardless of the interface used.
12756         case `$LD -v 2>&1` in
12757           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12758           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12759           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12760           *)
12761             lt_use_gnu_ld_interface=yes
12762             ;;
12763         esac
12764         ;;
12765       *)
12766         lt_use_gnu_ld_interface=yes
12767         ;;
12768     esac
12769   fi
12770
12771   if test "$lt_use_gnu_ld_interface" = yes; then
12772     # If archive_cmds runs LD, not CC, wlarc should be empty
12773     wlarc='${wl}'
12774
12775     # Set some defaults for GNU ld with shared library support. These
12776     # are reset later if shared libraries are not supported. Putting them
12777     # here allows them to be overridden if necessary.
12778     runpath_var=LD_RUN_PATH
12779     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12780     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12781     # ancient GNU ld didn't support --whole-archive et. al.
12782     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12783       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12784     else
12785       whole_archive_flag_spec_FC=
12786     fi
12787     supports_anon_versioning=no
12788     case `$LD -v 2>&1` in
12789       *GNU\ gold*) supports_anon_versioning=yes ;;
12790       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12791       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12792       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12793       *\ 2.11.*) ;; # other 2.11 versions
12794       *) supports_anon_versioning=yes ;;
12795     esac
12796
12797     # See if GNU ld supports shared libraries.
12798     case $host_os in
12799     aix[3-9]*)
12800       # On AIX/PPC, the GNU linker is very broken
12801       if test "$host_cpu" != ia64; then
12802         ld_shlibs_FC=no
12803         cat <<_LT_EOF 1>&2
12804
12805 *** Warning: the GNU linker, at least up to release 2.19, is reported
12806 *** to be unable to reliably create shared libraries on AIX.
12807 *** Therefore, libtool is disabling shared libraries support.  If you
12808 *** really care for shared libraries, you may want to install binutils
12809 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12810 *** You will then need to restart the configuration process.
12811
12812 _LT_EOF
12813       fi
12814       ;;
12815
12816     amigaos*)
12817       case $host_cpu in
12818       powerpc)
12819             # see comment about AmigaOS4 .so support
12820             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821             archive_expsym_cmds_FC=''
12822         ;;
12823       m68k)
12824             archive_cmds_FC='$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)'
12825             hardcode_libdir_flag_spec_FC='-L$libdir'
12826             hardcode_minus_L_FC=yes
12827         ;;
12828       esac
12829       ;;
12830
12831     beos*)
12832       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12833         allow_undefined_flag_FC=unsupported
12834         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12835         # support --undefined.  This deserves some investigation.  FIXME
12836         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12837       else
12838         ld_shlibs_FC=no
12839       fi
12840       ;;
12841
12842     cygwin* | mingw* | pw32* | cegcc*)
12843       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12844       # as there is no search path for DLLs.
12845       hardcode_libdir_flag_spec_FC='-L$libdir'
12846       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12847       allow_undefined_flag_FC=unsupported
12848       always_export_symbols_FC=no
12849       enable_shared_with_static_runtimes_FC=yes
12850       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12851
12852       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12853         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12854         # If the export-symbols file already is a .def file (1st line
12855         # is EXPORTS), use it as is; otherwise, prepend...
12856         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12857           cp $export_symbols $output_objdir/$soname.def;
12858         else
12859           echo EXPORTS > $output_objdir/$soname.def;
12860           cat $export_symbols >> $output_objdir/$soname.def;
12861         fi~
12862         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12863       else
12864         ld_shlibs_FC=no
12865       fi
12866       ;;
12867
12868     haiku*)
12869       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12870       link_all_deplibs_FC=yes
12871       ;;
12872
12873     interix[3-9]*)
12874       hardcode_direct_FC=no
12875       hardcode_shlibpath_var_FC=no
12876       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12877       export_dynamic_flag_spec_FC='${wl}-E'
12878       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12879       # Instead, shared libraries are loaded at an image base (0x10000000 by
12880       # default) and relocated if they conflict, which is a slow very memory
12881       # consuming and fragmenting process.  To avoid this, we pick a random,
12882       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12883       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12884       archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12885       archive_expsym_cmds_FC='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'
12886       ;;
12887
12888     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12889       tmp_diet=no
12890       if test "$host_os" = linux-dietlibc; then
12891         case $cc_basename in
12892           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12893         esac
12894       fi
12895       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12896          && test "$tmp_diet" = no
12897       then
12898         tmp_addflag=
12899         tmp_sharedflag='-shared'
12900         case $cc_basename,$host_cpu in
12901         pgcc*)                          # Portland Group C compiler
12902           whole_archive_flag_spec_FC='${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'
12903           tmp_addflag=' $pic_flag'
12904           ;;
12905         pgf77* | pgf90* | pgf95* | pgfortran*)
12906                                         # Portland Group f77 and f90 compilers
12907           whole_archive_flag_spec_FC='${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'
12908           tmp_addflag=' $pic_flag -Mnomain' ;;
12909         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12910           tmp_addflag=' -i_dynamic' ;;
12911         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12912           tmp_addflag=' -i_dynamic -nofor_main' ;;
12913         ifc* | ifort*)                  # Intel Fortran compiler
12914           tmp_addflag=' -nofor_main' ;;
12915         lf95*)                          # Lahey Fortran 8.1
12916           whole_archive_flag_spec_FC=
12917           tmp_sharedflag='--shared' ;;
12918         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12919           tmp_sharedflag='-qmkshrobj'
12920           tmp_addflag= ;;
12921         nvcc*)  # Cuda Compiler Driver 2.2
12922           whole_archive_flag_spec_FC='${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'
12923           compiler_needs_object_FC=yes
12924           ;;
12925         esac
12926         case `$CC -V 2>&1 | sed 5q` in
12927         *Sun\ C*)                       # Sun C 5.9
12928           whole_archive_flag_spec_FC='${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'
12929           compiler_needs_object_FC=yes
12930           tmp_sharedflag='-G' ;;
12931         *Sun\ F*)                       # Sun Fortran 8.3
12932           tmp_sharedflag='-G' ;;
12933         esac
12934         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12935
12936         if test "x$supports_anon_versioning" = xyes; then
12937           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12938             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12939             echo "local: *; };" >> $output_objdir/$libname.ver~
12940             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12941         fi
12942
12943         case $cc_basename in
12944         xlf* | bgf* | bgxlf* | mpixlf*)
12945           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12946           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12947           hardcode_libdir_flag_spec_FC=
12948           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12949           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12950           if test "x$supports_anon_versioning" = xyes; then
12951             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12952               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12953               echo "local: *; };" >> $output_objdir/$libname.ver~
12954               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12955           fi
12956           ;;
12957         esac
12958       else
12959         ld_shlibs_FC=no
12960       fi
12961       ;;
12962
12963     netbsd*)
12964       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12965         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12966         wlarc=
12967       else
12968         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12969         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12970       fi
12971       ;;
12972
12973     solaris*)
12974       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12975         ld_shlibs_FC=no
12976         cat <<_LT_EOF 1>&2
12977
12978 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12979 *** create shared libraries on Solaris systems.  Therefore, libtool
12980 *** is disabling shared libraries support.  We urge you to upgrade GNU
12981 *** binutils to release 2.9.1 or newer.  Another option is to modify
12982 *** your PATH or compiler configuration so that the native linker is
12983 *** used, and then restart.
12984
12985 _LT_EOF
12986       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12987         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12988         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12989       else
12990         ld_shlibs_FC=no
12991       fi
12992       ;;
12993
12994     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12995       case `$LD -v 2>&1` in
12996         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12997         ld_shlibs_FC=no
12998         cat <<_LT_EOF 1>&2
12999
13000 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13001 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13002 *** is disabling shared libraries support.  We urge you to upgrade GNU
13003 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13004 *** your PATH or compiler configuration so that the native linker is
13005 *** used, and then restart.
13006
13007 _LT_EOF
13008         ;;
13009         *)
13010           # For security reasons, it is highly recommended that you always
13011           # use absolute paths for naming shared libraries, and exclude the
13012           # DT_RUNPATH tag from executables and libraries.  But doing so
13013           # requires that you compile everything twice, which is a pain.
13014           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13015             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13016             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13017             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13018           else
13019             ld_shlibs_FC=no
13020           fi
13021         ;;
13022       esac
13023       ;;
13024
13025     sunos4*)
13026       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13027       wlarc=
13028       hardcode_direct_FC=yes
13029       hardcode_shlibpath_var_FC=no
13030       ;;
13031
13032     *)
13033       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13034         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13035         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13036       else
13037         ld_shlibs_FC=no
13038       fi
13039       ;;
13040     esac
13041
13042     if test "$ld_shlibs_FC" = no; then
13043       runpath_var=
13044       hardcode_libdir_flag_spec_FC=
13045       export_dynamic_flag_spec_FC=
13046       whole_archive_flag_spec_FC=
13047     fi
13048   else
13049     # PORTME fill in a description of your system's linker (not GNU ld)
13050     case $host_os in
13051     aix3*)
13052       allow_undefined_flag_FC=unsupported
13053       always_export_symbols_FC=yes
13054       archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
13055       # Note: this linker hardcodes the directories in LIBPATH if there
13056       # are no directories specified by -L.
13057       hardcode_minus_L_FC=yes
13058       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13059         # Neither direct hardcoding nor static linking is supported with a
13060         # broken collect2.
13061         hardcode_direct_FC=unsupported
13062       fi
13063       ;;
13064
13065     aix[4-9]*)
13066       if test "$host_cpu" = ia64; then
13067         # On IA64, the linker does run time linking by default, so we don't
13068         # have to do anything special.
13069         aix_use_runtimelinking=no
13070         exp_sym_flag='-Bexport'
13071         no_entry_flag=""
13072       else
13073         # If we're using GNU nm, then we don't want the "-C" option.
13074         # -C means demangle to AIX nm, but means don't demangle with GNU nm
13075         # Also, AIX nm treats weak defined symbols like other global
13076         # defined symbols, whereas GNU nm marks them as "W".
13077         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13078           export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13079         else
13080           export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13081         fi
13082         aix_use_runtimelinking=no
13083
13084         # Test if we are trying to use run time linking or normal
13085         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13086         # need to do runtime linking.
13087         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13088           for ld_flag in $LDFLAGS; do
13089           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13090             aix_use_runtimelinking=yes
13091             break
13092           fi
13093           done
13094           ;;
13095         esac
13096
13097         exp_sym_flag='-bexport'
13098         no_entry_flag='-bnoentry'
13099       fi
13100
13101       # When large executables or shared objects are built, AIX ld can
13102       # have problems creating the table of contents.  If linking a library
13103       # or program results in "error TOC overflow" add -mminimal-toc to
13104       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13105       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13106
13107       archive_cmds_FC=''
13108       hardcode_direct_FC=yes
13109       hardcode_direct_absolute_FC=yes
13110       hardcode_libdir_separator_FC=':'
13111       link_all_deplibs_FC=yes
13112       file_list_spec_FC='${wl}-f,'
13113
13114       if test "$GCC" = yes; then
13115         case $host_os in aix4.[012]|aix4.[012].*)
13116         # We only want to do this on AIX 4.2 and lower, the check
13117         # below for broken collect2 doesn't work under 4.3+
13118           collect2name=`${CC} -print-prog-name=collect2`
13119           if test -f "$collect2name" &&
13120            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13121           then
13122           # We have reworked collect2
13123           :
13124           else
13125           # We have old collect2
13126           hardcode_direct_FC=unsupported
13127           # It fails to find uninstalled libraries when the uninstalled
13128           # path is not listed in the libpath.  Setting hardcode_minus_L
13129           # to unsupported forces relinking
13130           hardcode_minus_L_FC=yes
13131           hardcode_libdir_flag_spec_FC='-L$libdir'
13132           hardcode_libdir_separator_FC=
13133           fi
13134           ;;
13135         esac
13136         shared_flag='-shared'
13137         if test "$aix_use_runtimelinking" = yes; then
13138           shared_flag="$shared_flag "'${wl}-G'
13139         fi
13140       else
13141         # not using gcc
13142         if test "$host_cpu" = ia64; then
13143         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13144         # chokes on -Wl,-G. The following line is correct:
13145           shared_flag='-G'
13146         else
13147           if test "$aix_use_runtimelinking" = yes; then
13148             shared_flag='${wl}-G'
13149           else
13150             shared_flag='${wl}-bM:SRE'
13151           fi
13152         fi
13153       fi
13154
13155       export_dynamic_flag_spec_FC='${wl}-bexpall'
13156       # It seems that -bexpall does not export symbols beginning with
13157       # underscore (_), so it is better to generate a list of symbols to export.
13158       always_export_symbols_FC=yes
13159       if test "$aix_use_runtimelinking" = yes; then
13160         # Warning - without using the other runtime loading flags (-brtl),
13161         # -berok will link without error, but may produce a broken library.
13162         allow_undefined_flag_FC='-berok'
13163         # Determine the default libpath from the value encoded in an
13164         # empty executable.
13165         if test x$gcc_no_link = xyes; then
13166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13167 fi
13168 cat > conftest.$ac_ext <<_ACEOF
13169       program main
13170
13171       end
13172 _ACEOF
13173 if ac_fn_fc_try_link "$LINENO"; then :
13174
13175 lt_aix_libpath_sed='
13176     /Import File Strings/,/^$/ {
13177         /^0/ {
13178             s/^0  *\(.*\)$/\1/
13179             p
13180         }
13181     }'
13182 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13183 # Check for a 64-bit object if we didn't find anything.
13184 if test -z "$aix_libpath"; then
13185   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13186 fi
13187 fi
13188 rm -f core conftest.err conftest.$ac_objext \
13189     conftest$ac_exeext conftest.$ac_ext
13190 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13191
13192         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13193         archive_expsym_cmds_FC='$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"
13194       else
13195         if test "$host_cpu" = ia64; then
13196           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13197           allow_undefined_flag_FC="-z nodefs"
13198           archive_expsym_cmds_FC="\$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"
13199         else
13200          # Determine the default libpath from the value encoded in an
13201          # empty executable.
13202          if test x$gcc_no_link = xyes; then
13203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13204 fi
13205 cat > conftest.$ac_ext <<_ACEOF
13206       program main
13207
13208       end
13209 _ACEOF
13210 if ac_fn_fc_try_link "$LINENO"; then :
13211
13212 lt_aix_libpath_sed='
13213     /Import File Strings/,/^$/ {
13214         /^0/ {
13215             s/^0  *\(.*\)$/\1/
13216             p
13217         }
13218     }'
13219 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13220 # Check for a 64-bit object if we didn't find anything.
13221 if test -z "$aix_libpath"; then
13222   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13223 fi
13224 fi
13225 rm -f core conftest.err conftest.$ac_objext \
13226     conftest$ac_exeext conftest.$ac_ext
13227 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13228
13229          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13230           # Warning - without using the other run time loading flags,
13231           # -berok will link without error, but may produce a broken library.
13232           no_undefined_flag_FC=' ${wl}-bernotok'
13233           allow_undefined_flag_FC=' ${wl}-berok'
13234           if test "$with_gnu_ld" = yes; then
13235             # We only use this code for GNU lds that support --whole-archive.
13236             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13237           else
13238             # Exported symbols can be pulled into shared objects from archives
13239             whole_archive_flag_spec_FC='$convenience'
13240           fi
13241           archive_cmds_need_lc_FC=yes
13242           # This is similar to how AIX traditionally builds its shared libraries.
13243           archive_expsym_cmds_FC="\$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'
13244         fi
13245       fi
13246       ;;
13247
13248     amigaos*)
13249       case $host_cpu in
13250       powerpc)
13251             # see comment about AmigaOS4 .so support
13252             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13253             archive_expsym_cmds_FC=''
13254         ;;
13255       m68k)
13256             archive_cmds_FC='$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)'
13257             hardcode_libdir_flag_spec_FC='-L$libdir'
13258             hardcode_minus_L_FC=yes
13259         ;;
13260       esac
13261       ;;
13262
13263     bsdi[45]*)
13264       export_dynamic_flag_spec_FC=-rdynamic
13265       ;;
13266
13267     cygwin* | mingw* | pw32* | cegcc*)
13268       # When not using gcc, we currently assume that we are using
13269       # Microsoft Visual C++.
13270       # hardcode_libdir_flag_spec is actually meaningless, as there is
13271       # no search path for DLLs.
13272       hardcode_libdir_flag_spec_FC=' '
13273       allow_undefined_flag_FC=unsupported
13274       # Tell ltmain to make .lib files, not .a files.
13275       libext=lib
13276       # Tell ltmain to make .dll files, not .so files.
13277       shrext_cmds=".dll"
13278       # FIXME: Setting linknames here is a bad hack.
13279       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13280       # The linker will automatically build a .lib file if we build a DLL.
13281       old_archive_from_new_cmds_FC='true'
13282       # FIXME: Should let the user specify the lib program.
13283       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13284       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13285       enable_shared_with_static_runtimes_FC=yes
13286       ;;
13287
13288     darwin* | rhapsody*)
13289
13290
13291   archive_cmds_need_lc_FC=no
13292   hardcode_direct_FC=no
13293   hardcode_automatic_FC=yes
13294   hardcode_shlibpath_var_FC=unsupported
13295   if test "$lt_cv_ld_force_load" = "yes"; then
13296     whole_archive_flag_spec_FC='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13297   else
13298     whole_archive_flag_spec_FC=''
13299   fi
13300   link_all_deplibs_FC=yes
13301   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13302   case $cc_basename in
13303      ifort*) _lt_dar_can_shared=yes ;;
13304      *) _lt_dar_can_shared=$GCC ;;
13305   esac
13306   if test "$_lt_dar_can_shared" = "yes"; then
13307     output_verbose_link_cmd=func_echo_all
13308     archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13309     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13310     archive_expsym_cmds_FC="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}"
13311     module_expsym_cmds_FC="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}"
13312
13313   else
13314   ld_shlibs_FC=no
13315   fi
13316
13317       ;;
13318
13319     dgux*)
13320       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13321       hardcode_libdir_flag_spec_FC='-L$libdir'
13322       hardcode_shlibpath_var_FC=no
13323       ;;
13324
13325     freebsd1*)
13326       ld_shlibs_FC=no
13327       ;;
13328
13329     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13330     # support.  Future versions do this automatically, but an explicit c++rt0.o
13331     # does not break anything, and helps significantly (at the cost of a little
13332     # extra space).
13333     freebsd2.2*)
13334       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13335       hardcode_libdir_flag_spec_FC='-R$libdir'
13336       hardcode_direct_FC=yes
13337       hardcode_shlibpath_var_FC=no
13338       ;;
13339
13340     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13341     freebsd2*)
13342       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13343       hardcode_direct_FC=yes
13344       hardcode_minus_L_FC=yes
13345       hardcode_shlibpath_var_FC=no
13346       ;;
13347
13348     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13349     freebsd* | dragonfly*)
13350       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13351       hardcode_libdir_flag_spec_FC='-R$libdir'
13352       hardcode_direct_FC=yes
13353       hardcode_shlibpath_var_FC=no
13354       ;;
13355
13356     hpux9*)
13357       if test "$GCC" = yes; then
13358         archive_cmds_FC='$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'
13359       else
13360         archive_cmds_FC='$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'
13361       fi
13362       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13363       hardcode_libdir_separator_FC=:
13364       hardcode_direct_FC=yes
13365
13366       # hardcode_minus_L: Not really in the search PATH,
13367       # but as the default location of the library.
13368       hardcode_minus_L_FC=yes
13369       export_dynamic_flag_spec_FC='${wl}-E'
13370       ;;
13371
13372     hpux10*)
13373       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13374         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13375       else
13376         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13377       fi
13378       if test "$with_gnu_ld" = no; then
13379         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13380         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13381         hardcode_libdir_separator_FC=:
13382         hardcode_direct_FC=yes
13383         hardcode_direct_absolute_FC=yes
13384         export_dynamic_flag_spec_FC='${wl}-E'
13385         # hardcode_minus_L: Not really in the search PATH,
13386         # but as the default location of the library.
13387         hardcode_minus_L_FC=yes
13388       fi
13389       ;;
13390
13391     hpux11*)
13392       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13393         case $host_cpu in
13394         hppa*64*)
13395           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13396           ;;
13397         ia64*)
13398           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13399           ;;
13400         *)
13401           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13402           ;;
13403         esac
13404       else
13405         case $host_cpu in
13406         hppa*64*)
13407           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13408           ;;
13409         ia64*)
13410           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13411           ;;
13412         *)
13413         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13414           ;;
13415         esac
13416       fi
13417       if test "$with_gnu_ld" = no; then
13418         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13419         hardcode_libdir_separator_FC=:
13420
13421         case $host_cpu in
13422         hppa*64*|ia64*)
13423           hardcode_direct_FC=no
13424           hardcode_shlibpath_var_FC=no
13425           ;;
13426         *)
13427           hardcode_direct_FC=yes
13428           hardcode_direct_absolute_FC=yes
13429           export_dynamic_flag_spec_FC='${wl}-E'
13430
13431           # hardcode_minus_L: Not really in the search PATH,
13432           # but as the default location of the library.
13433           hardcode_minus_L_FC=yes
13434           ;;
13435         esac
13436       fi
13437       ;;
13438
13439     irix5* | irix6* | nonstopux*)
13440       if test "$GCC" = yes; then
13441         archive_cmds_FC='$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'
13442         # Try to use the -exported_symbol ld option, if it does not
13443         # work, assume that -exports_file does not work either and
13444         # implicitly export all symbols.
13445         save_LDFLAGS="$LDFLAGS"
13446         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13447         if test x$gcc_no_link = xyes; then
13448   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13449 fi
13450 cat > conftest.$ac_ext <<_ACEOF
13451 int foo(void) {}
13452 _ACEOF
13453 if ac_fn_fc_try_link "$LINENO"; then :
13454   archive_expsym_cmds_FC='$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'
13455
13456 fi
13457 rm -f core conftest.err conftest.$ac_objext \
13458     conftest$ac_exeext conftest.$ac_ext
13459         LDFLAGS="$save_LDFLAGS"
13460       else
13461         archive_cmds_FC='$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'
13462         archive_expsym_cmds_FC='$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'
13463       fi
13464       archive_cmds_need_lc_FC='no'
13465       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13466       hardcode_libdir_separator_FC=:
13467       inherit_rpath_FC=yes
13468       link_all_deplibs_FC=yes
13469       ;;
13470
13471     netbsd*)
13472       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13473         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13474       else
13475         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13476       fi
13477       hardcode_libdir_flag_spec_FC='-R$libdir'
13478       hardcode_direct_FC=yes
13479       hardcode_shlibpath_var_FC=no
13480       ;;
13481
13482     newsos6)
13483       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13484       hardcode_direct_FC=yes
13485       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13486       hardcode_libdir_separator_FC=:
13487       hardcode_shlibpath_var_FC=no
13488       ;;
13489
13490     *nto* | *qnx*)
13491       ;;
13492
13493     openbsd*)
13494       if test -f /usr/libexec/ld.so; then
13495         hardcode_direct_FC=yes
13496         hardcode_shlibpath_var_FC=no
13497         hardcode_direct_absolute_FC=yes
13498         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13499           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13500           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13501           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13502           export_dynamic_flag_spec_FC='${wl}-E'
13503         else
13504           case $host_os in
13505            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13506              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13507              hardcode_libdir_flag_spec_FC='-R$libdir'
13508              ;;
13509            *)
13510              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13511              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13512              ;;
13513           esac
13514         fi
13515       else
13516         ld_shlibs_FC=no
13517       fi
13518       ;;
13519
13520     os2*)
13521       hardcode_libdir_flag_spec_FC='-L$libdir'
13522       hardcode_minus_L_FC=yes
13523       allow_undefined_flag_FC=unsupported
13524       archive_cmds_FC='$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'
13525       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13526       ;;
13527
13528     osf3*)
13529       if test "$GCC" = yes; then
13530         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13531         archive_cmds_FC='$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'
13532       else
13533         allow_undefined_flag_FC=' -expect_unresolved \*'
13534         archive_cmds_FC='$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'
13535       fi
13536       archive_cmds_need_lc_FC='no'
13537       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13538       hardcode_libdir_separator_FC=:
13539       ;;
13540
13541     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13542       if test "$GCC" = yes; then
13543         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13544         archive_cmds_FC='$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'
13545         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13546       else
13547         allow_undefined_flag_FC=' -expect_unresolved \*'
13548         archive_cmds_FC='$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'
13549         archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
13550         $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'
13551
13552         # Both c and cxx compiler support -rpath directly
13553         hardcode_libdir_flag_spec_FC='-rpath $libdir'
13554       fi
13555       archive_cmds_need_lc_FC='no'
13556       hardcode_libdir_separator_FC=:
13557       ;;
13558
13559     solaris*)
13560       no_undefined_flag_FC=' -z defs'
13561       if test "$GCC" = yes; then
13562         wlarc='${wl}'
13563         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13564         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13565           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13566       else
13567         case `$CC -V 2>&1` in
13568         *"Compilers 5.0"*)
13569           wlarc=''
13570           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13571           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13572           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13573           ;;
13574         *)
13575           wlarc='${wl}'
13576           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13577           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13578           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13579           ;;
13580         esac
13581       fi
13582       hardcode_libdir_flag_spec_FC='-R$libdir'
13583       hardcode_shlibpath_var_FC=no
13584       case $host_os in
13585       solaris2.[0-5] | solaris2.[0-5].*) ;;
13586       *)
13587         # The compiler driver will combine and reorder linker options,
13588         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13589         # but is careful enough not to reorder.
13590         # Supported since Solaris 2.6 (maybe 2.5.1?)
13591         if test "$GCC" = yes; then
13592           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13593         else
13594           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13595         fi
13596         ;;
13597       esac
13598       link_all_deplibs_FC=yes
13599       ;;
13600
13601     sunos4*)
13602       if test "x$host_vendor" = xsequent; then
13603         # Use $CC to link under sequent, because it throws in some extra .o
13604         # files that make .init and .fini sections work.
13605         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13606       else
13607         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13608       fi
13609       hardcode_libdir_flag_spec_FC='-L$libdir'
13610       hardcode_direct_FC=yes
13611       hardcode_minus_L_FC=yes
13612       hardcode_shlibpath_var_FC=no
13613       ;;
13614
13615     sysv4)
13616       case $host_vendor in
13617         sni)
13618           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13619           hardcode_direct_FC=yes # is this really true???
13620         ;;
13621         siemens)
13622           ## LD is ld it makes a PLAMLIB
13623           ## CC just makes a GrossModule.
13624           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13625           reload_cmds_FC='$CC -r -o $output$reload_objs'
13626           hardcode_direct_FC=no
13627         ;;
13628         motorola)
13629           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13630           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13631         ;;
13632       esac
13633       runpath_var='LD_RUN_PATH'
13634       hardcode_shlibpath_var_FC=no
13635       ;;
13636
13637     sysv4.3*)
13638       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13639       hardcode_shlibpath_var_FC=no
13640       export_dynamic_flag_spec_FC='-Bexport'
13641       ;;
13642
13643     sysv4*MP*)
13644       if test -d /usr/nec; then
13645         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13646         hardcode_shlibpath_var_FC=no
13647         runpath_var=LD_RUN_PATH
13648         hardcode_runpath_var=yes
13649         ld_shlibs_FC=yes
13650       fi
13651       ;;
13652
13653     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13654       no_undefined_flag_FC='${wl}-z,text'
13655       archive_cmds_need_lc_FC=no
13656       hardcode_shlibpath_var_FC=no
13657       runpath_var='LD_RUN_PATH'
13658
13659       if test "$GCC" = yes; then
13660         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13661         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13662       else
13663         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13664         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13665       fi
13666       ;;
13667
13668     sysv5* | sco3.2v5* | sco5v6*)
13669       # Note: We can NOT use -z defs as we might desire, because we do not
13670       # link with -lc, and that would cause any symbols used from libc to
13671       # always be unresolved, which means just about no library would
13672       # ever link correctly.  If we're not using GNU ld we use -z text
13673       # though, which does catch some bad symbols but isn't as heavy-handed
13674       # as -z defs.
13675       no_undefined_flag_FC='${wl}-z,text'
13676       allow_undefined_flag_FC='${wl}-z,nodefs'
13677       archive_cmds_need_lc_FC=no
13678       hardcode_shlibpath_var_FC=no
13679       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13680       hardcode_libdir_separator_FC=':'
13681       link_all_deplibs_FC=yes
13682       export_dynamic_flag_spec_FC='${wl}-Bexport'
13683       runpath_var='LD_RUN_PATH'
13684
13685       if test "$GCC" = yes; then
13686         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13687         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13688       else
13689         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13690         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13691       fi
13692       ;;
13693
13694     uts4*)
13695       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13696       hardcode_libdir_flag_spec_FC='-L$libdir'
13697       hardcode_shlibpath_var_FC=no
13698       ;;
13699
13700     *)
13701       ld_shlibs_FC=no
13702       ;;
13703     esac
13704
13705     if test x$host_vendor = xsni; then
13706       case $host in
13707       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13708         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13709         ;;
13710       esac
13711     fi
13712   fi
13713
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13715 $as_echo "$ld_shlibs_FC" >&6; }
13716 test "$ld_shlibs_FC" = no && can_build_shared=no
13717
13718 with_gnu_ld_FC=$with_gnu_ld
13719
13720
13721
13722
13723
13724
13725 #
13726 # Do we need to explicitly link libc?
13727 #
13728 case "x$archive_cmds_need_lc_FC" in
13729 x|xyes)
13730   # Assume -lc should be added
13731   archive_cmds_need_lc_FC=yes
13732
13733   if test "$enable_shared" = yes && test "$GCC" = yes; then
13734     case $archive_cmds_FC in
13735     *'~'*)
13736       # FIXME: we may have to deal with multi-command sequences.
13737       ;;
13738     '$CC '*)
13739       # Test whether the compiler implicitly links with -lc since on some
13740       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13741       # to ld, don't add -lc before -lgcc.
13742       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13743 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13744 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13745   $as_echo_n "(cached) " >&6
13746 else
13747   $RM conftest*
13748         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13749
13750         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13751   (eval $ac_compile) 2>&5
13752   ac_status=$?
13753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13754   test $ac_status = 0; } 2>conftest.err; then
13755           soname=conftest
13756           lib=conftest
13757           libobjs=conftest.$ac_objext
13758           deplibs=
13759           wl=$lt_prog_compiler_wl_FC
13760           pic_flag=$lt_prog_compiler_pic_FC
13761           compiler_flags=-v
13762           linker_flags=-v
13763           verstring=
13764           output_objdir=.
13765           libname=conftest
13766           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13767           allow_undefined_flag_FC=
13768           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13769   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13770   ac_status=$?
13771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13772   test $ac_status = 0; }
13773           then
13774             lt_cv_archive_cmds_need_lc_FC=no
13775           else
13776             lt_cv_archive_cmds_need_lc_FC=yes
13777           fi
13778           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13779         else
13780           cat conftest.err 1>&5
13781         fi
13782         $RM conftest*
13783
13784 fi
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13786 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13787       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13788       ;;
13789     esac
13790   fi
13791   ;;
13792 esac
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13858 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13859
13860 library_names_spec=
13861 libname_spec='lib$name'
13862 soname_spec=
13863 shrext_cmds=".so"
13864 postinstall_cmds=
13865 postuninstall_cmds=
13866 finish_cmds=
13867 finish_eval=
13868 shlibpath_var=
13869 shlibpath_overrides_runpath=unknown
13870 version_type=none
13871 dynamic_linker="$host_os ld.so"
13872 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13873 need_lib_prefix=unknown
13874 hardcode_into_libs=no
13875
13876 # when you set need_version to no, make sure it does not cause -set_version
13877 # flags to be left without arguments
13878 need_version=unknown
13879
13880 case $host_os in
13881 aix3*)
13882   version_type=linux
13883   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13884   shlibpath_var=LIBPATH
13885
13886   # AIX 3 has no versioning support, so we append a major version to the name.
13887   soname_spec='${libname}${release}${shared_ext}$major'
13888   ;;
13889
13890 aix[4-9]*)
13891   version_type=linux
13892   need_lib_prefix=no
13893   need_version=no
13894   hardcode_into_libs=yes
13895   if test "$host_cpu" = ia64; then
13896     # AIX 5 supports IA64
13897     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13898     shlibpath_var=LD_LIBRARY_PATH
13899   else
13900     # With GCC up to 2.95.x, collect2 would create an import file
13901     # for dependence libraries.  The import file would start with
13902     # the line `#! .'.  This would cause the generated library to
13903     # depend on `.', always an invalid library.  This was fixed in
13904     # development snapshots of GCC prior to 3.0.
13905     case $host_os in
13906       aix4 | aix4.[01] | aix4.[01].*)
13907       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13908            echo ' yes '
13909            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13910         :
13911       else
13912         can_build_shared=no
13913       fi
13914       ;;
13915     esac
13916     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13917     # soname into executable. Probably we can add versioning support to
13918     # collect2, so additional links can be useful in future.
13919     if test "$aix_use_runtimelinking" = yes; then
13920       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13921       # instead of lib<name>.a to let people know that these are not
13922       # typical AIX shared libraries.
13923       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13924     else
13925       # We preserve .a as extension for shared libraries through AIX4.2
13926       # and later when we are not doing run time linking.
13927       library_names_spec='${libname}${release}.a $libname.a'
13928       soname_spec='${libname}${release}${shared_ext}$major'
13929     fi
13930     shlibpath_var=LIBPATH
13931   fi
13932   ;;
13933
13934 amigaos*)
13935   case $host_cpu in
13936   powerpc)
13937     # Since July 2007 AmigaOS4 officially supports .so libraries.
13938     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13939     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13940     ;;
13941   m68k)
13942     library_names_spec='$libname.ixlibrary $libname.a'
13943     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13944     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'
13945     ;;
13946   esac
13947   ;;
13948
13949 beos*)
13950   library_names_spec='${libname}${shared_ext}'
13951   dynamic_linker="$host_os ld.so"
13952   shlibpath_var=LIBRARY_PATH
13953   ;;
13954
13955 bsdi[45]*)
13956   version_type=linux
13957   need_version=no
13958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13959   soname_spec='${libname}${release}${shared_ext}$major'
13960   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13961   shlibpath_var=LD_LIBRARY_PATH
13962   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13963   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13964   # the default ld.so.conf also contains /usr/contrib/lib and
13965   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13966   # libtool to hard-code these into programs
13967   ;;
13968
13969 cygwin* | mingw* | pw32* | cegcc*)
13970   version_type=windows
13971   shrext_cmds=".dll"
13972   need_version=no
13973   need_lib_prefix=no
13974
13975   case $GCC,$host_os in
13976   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13977     library_names_spec='$libname.dll.a'
13978     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13979     postinstall_cmds='base_file=`basename \${file}`~
13980       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13981       dldir=$destdir/`dirname \$dlpath`~
13982       test -d \$dldir || mkdir -p \$dldir~
13983       $install_prog $dir/$dlname \$dldir/$dlname~
13984       chmod a+x \$dldir/$dlname~
13985       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13986         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13987       fi'
13988     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13989       dlpath=$dir/\$dldll~
13990        $RM \$dlpath'
13991     shlibpath_overrides_runpath=yes
13992
13993     case $host_os in
13994     cygwin*)
13995       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13996       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13997
13998       ;;
13999     mingw* | cegcc*)
14000       # MinGW DLLs use traditional 'lib' prefix
14001       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14002       ;;
14003     pw32*)
14004       # pw32 DLLs use 'pw' prefix rather than 'lib'
14005       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14006       ;;
14007     esac
14008     ;;
14009
14010   *)
14011     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14012     ;;
14013   esac
14014   dynamic_linker='Win32 ld.exe'
14015   # FIXME: first we should search . and the directory the executable is in
14016   shlibpath_var=PATH
14017   ;;
14018
14019 darwin* | rhapsody*)
14020   dynamic_linker="$host_os dyld"
14021   version_type=darwin
14022   need_lib_prefix=no
14023   need_version=no
14024   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14025   soname_spec='${libname}${release}${major}$shared_ext'
14026   shlibpath_overrides_runpath=yes
14027   shlibpath_var=DYLD_LIBRARY_PATH
14028   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14029
14030   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14031   ;;
14032
14033 dgux*)
14034   version_type=linux
14035   need_lib_prefix=no
14036   need_version=no
14037   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14038   soname_spec='${libname}${release}${shared_ext}$major'
14039   shlibpath_var=LD_LIBRARY_PATH
14040   ;;
14041
14042 freebsd1*)
14043   dynamic_linker=no
14044   ;;
14045
14046 freebsd* | dragonfly*)
14047   # DragonFly does not have aout.  When/if they implement a new
14048   # versioning mechanism, adjust this.
14049   if test -x /usr/bin/objformat; then
14050     objformat=`/usr/bin/objformat`
14051   else
14052     case $host_os in
14053     freebsd[123]*) objformat=aout ;;
14054     *) objformat=elf ;;
14055     esac
14056   fi
14057   version_type=freebsd-$objformat
14058   case $version_type in
14059     freebsd-elf*)
14060       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14061       need_version=no
14062       need_lib_prefix=no
14063       ;;
14064     freebsd-*)
14065       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14066       need_version=yes
14067       ;;
14068   esac
14069   shlibpath_var=LD_LIBRARY_PATH
14070   case $host_os in
14071   freebsd2*)
14072     shlibpath_overrides_runpath=yes
14073     ;;
14074   freebsd3.[01]* | freebsdelf3.[01]*)
14075     shlibpath_overrides_runpath=yes
14076     hardcode_into_libs=yes
14077     ;;
14078   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14079   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14080     shlibpath_overrides_runpath=no
14081     hardcode_into_libs=yes
14082     ;;
14083   *) # from 4.6 on, and DragonFly
14084     shlibpath_overrides_runpath=yes
14085     hardcode_into_libs=yes
14086     ;;
14087   esac
14088   ;;
14089
14090 gnu*)
14091   version_type=linux
14092   need_lib_prefix=no
14093   need_version=no
14094   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14095   soname_spec='${libname}${release}${shared_ext}$major'
14096   shlibpath_var=LD_LIBRARY_PATH
14097   hardcode_into_libs=yes
14098   ;;
14099
14100 haiku*)
14101   version_type=linux
14102   need_lib_prefix=no
14103   need_version=no
14104   dynamic_linker="$host_os runtime_loader"
14105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14106   soname_spec='${libname}${release}${shared_ext}$major'
14107   shlibpath_var=LIBRARY_PATH
14108   shlibpath_overrides_runpath=yes
14109   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14110   hardcode_into_libs=yes
14111   ;;
14112
14113 hpux9* | hpux10* | hpux11*)
14114   # Give a soname corresponding to the major version so that dld.sl refuses to
14115   # link against other versions.
14116   version_type=sunos
14117   need_lib_prefix=no
14118   need_version=no
14119   case $host_cpu in
14120   ia64*)
14121     shrext_cmds='.so'
14122     hardcode_into_libs=yes
14123     dynamic_linker="$host_os dld.so"
14124     shlibpath_var=LD_LIBRARY_PATH
14125     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14126     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14127     soname_spec='${libname}${release}${shared_ext}$major'
14128     if test "X$HPUX_IA64_MODE" = X32; then
14129       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14130     else
14131       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14132     fi
14133     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14134     ;;
14135   hppa*64*)
14136     shrext_cmds='.sl'
14137     hardcode_into_libs=yes
14138     dynamic_linker="$host_os dld.sl"
14139     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14140     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14141     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14142     soname_spec='${libname}${release}${shared_ext}$major'
14143     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14144     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14145     ;;
14146   *)
14147     shrext_cmds='.sl'
14148     dynamic_linker="$host_os dld.sl"
14149     shlibpath_var=SHLIB_PATH
14150     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14151     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152     soname_spec='${libname}${release}${shared_ext}$major'
14153     ;;
14154   esac
14155   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14156   postinstall_cmds='chmod 555 $lib'
14157   # or fails outright, so override atomically:
14158   install_override_mode=555
14159   ;;
14160
14161 interix[3-9]*)
14162   version_type=linux
14163   need_lib_prefix=no
14164   need_version=no
14165   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14166   soname_spec='${libname}${release}${shared_ext}$major'
14167   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14168   shlibpath_var=LD_LIBRARY_PATH
14169   shlibpath_overrides_runpath=no
14170   hardcode_into_libs=yes
14171   ;;
14172
14173 irix5* | irix6* | nonstopux*)
14174   case $host_os in
14175     nonstopux*) version_type=nonstopux ;;
14176     *)
14177         if test "$lt_cv_prog_gnu_ld" = yes; then
14178                 version_type=linux
14179         else
14180                 version_type=irix
14181         fi ;;
14182   esac
14183   need_lib_prefix=no
14184   need_version=no
14185   soname_spec='${libname}${release}${shared_ext}$major'
14186   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14187   case $host_os in
14188   irix5* | nonstopux*)
14189     libsuff= shlibsuff=
14190     ;;
14191   *)
14192     case $LD in # libtool.m4 will add one of these switches to LD
14193     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14194       libsuff= shlibsuff= libmagic=32-bit;;
14195     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14196       libsuff=32 shlibsuff=N32 libmagic=N32;;
14197     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14198       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14199     *) libsuff= shlibsuff= libmagic=never-match;;
14200     esac
14201     ;;
14202   esac
14203   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14204   shlibpath_overrides_runpath=no
14205   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14206   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14207   hardcode_into_libs=yes
14208   ;;
14209
14210 # No shared lib support for Linux oldld, aout, or coff.
14211 linux*oldld* | linux*aout* | linux*coff*)
14212   dynamic_linker=no
14213   ;;
14214
14215 # This must be Linux ELF.
14216 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14217   version_type=linux
14218   need_lib_prefix=no
14219   need_version=no
14220   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221   soname_spec='${libname}${release}${shared_ext}$major'
14222   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14223   shlibpath_var=LD_LIBRARY_PATH
14224   shlibpath_overrides_runpath=no
14225
14226   # Some binutils ld are patched to set DT_RUNPATH
14227   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14228   $as_echo_n "(cached) " >&6
14229 else
14230   lt_cv_shlibpath_overrides_runpath=no
14231     save_LDFLAGS=$LDFLAGS
14232     save_libdir=$libdir
14233     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14234          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14235     if test x$gcc_no_link = xyes; then
14236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14237 fi
14238 cat > conftest.$ac_ext <<_ACEOF
14239       program main
14240
14241       end
14242 _ACEOF
14243 if ac_fn_fc_try_link "$LINENO"; then :
14244   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14245   lt_cv_shlibpath_overrides_runpath=yes
14246 fi
14247 fi
14248 rm -f core conftest.err conftest.$ac_objext \
14249     conftest$ac_exeext conftest.$ac_ext
14250     LDFLAGS=$save_LDFLAGS
14251     libdir=$save_libdir
14252
14253 fi
14254
14255   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14256
14257   # This implies no fast_install, which is unacceptable.
14258   # Some rework will be needed to allow for fast_install
14259   # before this can be enabled.
14260   hardcode_into_libs=yes
14261
14262   # Append ld.so.conf contents to the search path
14263   if test -f /etc/ld.so.conf; then
14264     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' ' '`
14265     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14266   fi
14267
14268   # We used to test for /lib/ld.so.1 and disable shared libraries on
14269   # powerpc, because MkLinux only supported shared libraries with the
14270   # GNU dynamic linker.  Since this was broken with cross compilers,
14271   # most powerpc-linux boxes support dynamic linking these days and
14272   # people can always --disable-shared, the test was removed, and we
14273   # assume the GNU/Linux dynamic linker is in use.
14274   dynamic_linker='GNU/Linux ld.so'
14275   ;;
14276
14277 netbsd*)
14278   version_type=sunos
14279   need_lib_prefix=no
14280   need_version=no
14281   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14282     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14283     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14284     dynamic_linker='NetBSD (a.out) ld.so'
14285   else
14286     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14287     soname_spec='${libname}${release}${shared_ext}$major'
14288     dynamic_linker='NetBSD ld.elf_so'
14289   fi
14290   shlibpath_var=LD_LIBRARY_PATH
14291   shlibpath_overrides_runpath=yes
14292   hardcode_into_libs=yes
14293   ;;
14294
14295 newsos6)
14296   version_type=linux
14297   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298   shlibpath_var=LD_LIBRARY_PATH
14299   shlibpath_overrides_runpath=yes
14300   ;;
14301
14302 *nto* | *qnx*)
14303   version_type=qnx
14304   need_lib_prefix=no
14305   need_version=no
14306   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14307   soname_spec='${libname}${release}${shared_ext}$major'
14308   shlibpath_var=LD_LIBRARY_PATH
14309   shlibpath_overrides_runpath=no
14310   hardcode_into_libs=yes
14311   dynamic_linker='ldqnx.so'
14312   ;;
14313
14314 openbsd*)
14315   version_type=sunos
14316   sys_lib_dlsearch_path_spec="/usr/lib"
14317   need_lib_prefix=no
14318   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14319   case $host_os in
14320     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14321     *)                          need_version=no  ;;
14322   esac
14323   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14324   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14325   shlibpath_var=LD_LIBRARY_PATH
14326   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14327     case $host_os in
14328       openbsd2.[89] | openbsd2.[89].*)
14329         shlibpath_overrides_runpath=no
14330         ;;
14331       *)
14332         shlibpath_overrides_runpath=yes
14333         ;;
14334       esac
14335   else
14336     shlibpath_overrides_runpath=yes
14337   fi
14338   ;;
14339
14340 os2*)
14341   libname_spec='$name'
14342   shrext_cmds=".dll"
14343   need_lib_prefix=no
14344   library_names_spec='$libname${shared_ext} $libname.a'
14345   dynamic_linker='OS/2 ld.exe'
14346   shlibpath_var=LIBPATH
14347   ;;
14348
14349 osf3* | osf4* | osf5*)
14350   version_type=osf
14351   need_lib_prefix=no
14352   need_version=no
14353   soname_spec='${libname}${release}${shared_ext}$major'
14354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14355   shlibpath_var=LD_LIBRARY_PATH
14356   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14357   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14358   ;;
14359
14360 rdos*)
14361   dynamic_linker=no
14362   ;;
14363
14364 solaris*)
14365   version_type=linux
14366   need_lib_prefix=no
14367   need_version=no
14368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14369   soname_spec='${libname}${release}${shared_ext}$major'
14370   shlibpath_var=LD_LIBRARY_PATH
14371   shlibpath_overrides_runpath=yes
14372   hardcode_into_libs=yes
14373   # ldd complains unless libraries are executable
14374   postinstall_cmds='chmod +x $lib'
14375   ;;
14376
14377 sunos4*)
14378   version_type=sunos
14379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14380   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14381   shlibpath_var=LD_LIBRARY_PATH
14382   shlibpath_overrides_runpath=yes
14383   if test "$with_gnu_ld" = yes; then
14384     need_lib_prefix=no
14385   fi
14386   need_version=yes
14387   ;;
14388
14389 sysv4 | sysv4.3*)
14390   version_type=linux
14391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392   soname_spec='${libname}${release}${shared_ext}$major'
14393   shlibpath_var=LD_LIBRARY_PATH
14394   case $host_vendor in
14395     sni)
14396       shlibpath_overrides_runpath=no
14397       need_lib_prefix=no
14398       runpath_var=LD_RUN_PATH
14399       ;;
14400     siemens)
14401       need_lib_prefix=no
14402       ;;
14403     motorola)
14404       need_lib_prefix=no
14405       need_version=no
14406       shlibpath_overrides_runpath=no
14407       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14408       ;;
14409   esac
14410   ;;
14411
14412 sysv4*MP*)
14413   if test -d /usr/nec ;then
14414     version_type=linux
14415     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14416     soname_spec='$libname${shared_ext}.$major'
14417     shlibpath_var=LD_LIBRARY_PATH
14418   fi
14419   ;;
14420
14421 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14422   version_type=freebsd-elf
14423   need_lib_prefix=no
14424   need_version=no
14425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14426   soname_spec='${libname}${release}${shared_ext}$major'
14427   shlibpath_var=LD_LIBRARY_PATH
14428   shlibpath_overrides_runpath=yes
14429   hardcode_into_libs=yes
14430   if test "$with_gnu_ld" = yes; then
14431     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14432   else
14433     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14434     case $host_os in
14435       sco3.2v5*)
14436         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14437         ;;
14438     esac
14439   fi
14440   sys_lib_dlsearch_path_spec='/usr/lib'
14441   ;;
14442
14443 tpf*)
14444   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14445   version_type=linux
14446   need_lib_prefix=no
14447   need_version=no
14448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14449   shlibpath_var=LD_LIBRARY_PATH
14450   shlibpath_overrides_runpath=no
14451   hardcode_into_libs=yes
14452   ;;
14453
14454 uts4*)
14455   version_type=linux
14456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14457   soname_spec='${libname}${release}${shared_ext}$major'
14458   shlibpath_var=LD_LIBRARY_PATH
14459   ;;
14460
14461 *)
14462   dynamic_linker=no
14463   ;;
14464 esac
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14466 $as_echo "$dynamic_linker" >&6; }
14467 test "$dynamic_linker" = no && can_build_shared=no
14468
14469 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14470 if test "$GCC" = yes; then
14471   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14472 fi
14473
14474 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14475   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14476 fi
14477 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14478   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14479 fi
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14519 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14520 hardcode_action_FC=
14521 if test -n "$hardcode_libdir_flag_spec_FC" ||
14522    test -n "$runpath_var_FC" ||
14523    test "X$hardcode_automatic_FC" = "Xyes" ; then
14524
14525   # We can hardcode non-existent directories.
14526   if test "$hardcode_direct_FC" != no &&
14527      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14528      # have to relink, otherwise we might link with an installed library
14529      # when we should be linking with a yet-to-be-installed one
14530      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14531      test "$hardcode_minus_L_FC" != no; then
14532     # Linking always hardcodes the temporary library directory.
14533     hardcode_action_FC=relink
14534   else
14535     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14536     hardcode_action_FC=immediate
14537   fi
14538 else
14539   # We cannot hardcode anything, or else we can only hardcode existing
14540   # directories.
14541   hardcode_action_FC=unsupported
14542 fi
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14544 $as_echo "$hardcode_action_FC" >&6; }
14545
14546 if test "$hardcode_action_FC" = relink ||
14547    test "$inherit_rpath_FC" = yes; then
14548   # Fast installation is not supported
14549   enable_fast_install=no
14550 elif test "$shlibpath_overrides_runpath" = yes ||
14551      test "$enable_shared" = no; then
14552   # Fast installation is not necessary
14553   enable_fast_install=needless
14554 fi
14555
14556
14557
14558
14559
14560
14561
14562   fi # test -n "$compiler"
14563
14564   GCC=$lt_save_GCC
14565   CC="$lt_save_CC"
14566 fi # test "$_lt_disable_FC" != yes
14567
14568 ac_ext=c
14569 ac_cpp='$CPP $CPPFLAGS'
14570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14573
14574
14575
14576 # extra LD Flags which are required for targets
14577 case "${host}" in
14578   *-darwin*)
14579     # Darwin needs -single_module when linking libgfortran
14580     extra_ldflags_libgfortran=-Wl,-single_module
14581     ;;
14582 esac
14583
14584
14585 # We need a working compiler at that point, otherwise give a clear
14586 # error message and bail out.
14587
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14589 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14590 ac_ext=${ac_fc_srcext-f}
14591 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14592 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14593 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14594
14595 cat > conftest.$ac_ext <<_ACEOF
14596
14597       program foo
14598       real, parameter :: bar = sin (12.34 / 2.5)
14599       end program foo
14600 _ACEOF
14601 if ac_fn_fc_try_compile "$LINENO"; then :
14602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14603 $as_echo "yes" >&6; }
14604 else
14605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14606 $as_echo "no" >&6; }
14607      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14608
14609 fi
14610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14611 ac_ext=c
14612 ac_cpp='$CPP $CPPFLAGS'
14613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14616
14617
14618
14619 # Check whether --enable-largefile was given.
14620 if test "${enable_largefile+set}" = set; then :
14621   enableval=$enable_largefile;
14622 fi
14623
14624 if test "$enable_largefile" != no; then
14625
14626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14627 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14628 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14629   $as_echo_n "(cached) " >&6
14630 else
14631   ac_cv_sys_largefile_CC=no
14632      if test "$GCC" != yes; then
14633        ac_save_CC=$CC
14634        while :; do
14635          # IRIX 6.2 and later do not support large files by default,
14636          # so use the C compiler's -n32 option if that helps.
14637          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14638 /* end confdefs.h.  */
14639 #include <sys/types.h>
14640  /* Check that off_t can represent 2**63 - 1 correctly.
14641     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14642     since some C++ compilers masquerading as C compilers
14643     incorrectly reject 9223372036854775807.  */
14644 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14645   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14646                        && LARGE_OFF_T % 2147483647 == 1)
14647                       ? 1 : -1];
14648 int
14649 main ()
14650 {
14651
14652   ;
14653   return 0;
14654 }
14655 _ACEOF
14656          if ac_fn_c_try_compile "$LINENO"; then :
14657   break
14658 fi
14659 rm -f core conftest.err conftest.$ac_objext
14660          CC="$CC -n32"
14661          if ac_fn_c_try_compile "$LINENO"; then :
14662   ac_cv_sys_largefile_CC=' -n32'; break
14663 fi
14664 rm -f core conftest.err conftest.$ac_objext
14665          break
14666        done
14667        CC=$ac_save_CC
14668        rm -f conftest.$ac_ext
14669     fi
14670 fi
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14672 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14673   if test "$ac_cv_sys_largefile_CC" != no; then
14674     CC=$CC$ac_cv_sys_largefile_CC
14675   fi
14676
14677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14678 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14679 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14680   $as_echo_n "(cached) " >&6
14681 else
14682   while :; do
14683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14684 /* end confdefs.h.  */
14685 #include <sys/types.h>
14686  /* Check that off_t can represent 2**63 - 1 correctly.
14687     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14688     since some C++ compilers masquerading as C compilers
14689     incorrectly reject 9223372036854775807.  */
14690 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14691   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14692                        && LARGE_OFF_T % 2147483647 == 1)
14693                       ? 1 : -1];
14694 int
14695 main ()
14696 {
14697
14698   ;
14699   return 0;
14700 }
14701 _ACEOF
14702 if ac_fn_c_try_compile "$LINENO"; then :
14703   ac_cv_sys_file_offset_bits=no; break
14704 fi
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h.  */
14708 #define _FILE_OFFSET_BITS 64
14709 #include <sys/types.h>
14710  /* Check that off_t can represent 2**63 - 1 correctly.
14711     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14712     since some C++ compilers masquerading as C compilers
14713     incorrectly reject 9223372036854775807.  */
14714 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14715   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14716                        && LARGE_OFF_T % 2147483647 == 1)
14717                       ? 1 : -1];
14718 int
14719 main ()
14720 {
14721
14722   ;
14723   return 0;
14724 }
14725 _ACEOF
14726 if ac_fn_c_try_compile "$LINENO"; then :
14727   ac_cv_sys_file_offset_bits=64; break
14728 fi
14729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14730   ac_cv_sys_file_offset_bits=unknown
14731   break
14732 done
14733 fi
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14735 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14736 case $ac_cv_sys_file_offset_bits in #(
14737   no | unknown) ;;
14738   *)
14739 cat >>confdefs.h <<_ACEOF
14740 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14741 _ACEOF
14742 ;;
14743 esac
14744 rm -rf conftest*
14745   if test $ac_cv_sys_file_offset_bits = unknown; then
14746     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14747 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14748 if test "${ac_cv_sys_large_files+set}" = set; then :
14749   $as_echo_n "(cached) " >&6
14750 else
14751   while :; do
14752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h.  */
14754 #include <sys/types.h>
14755  /* Check that off_t can represent 2**63 - 1 correctly.
14756     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14757     since some C++ compilers masquerading as C compilers
14758     incorrectly reject 9223372036854775807.  */
14759 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14760   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14761                        && LARGE_OFF_T % 2147483647 == 1)
14762                       ? 1 : -1];
14763 int
14764 main ()
14765 {
14766
14767   ;
14768   return 0;
14769 }
14770 _ACEOF
14771 if ac_fn_c_try_compile "$LINENO"; then :
14772   ac_cv_sys_large_files=no; break
14773 fi
14774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14776 /* end confdefs.h.  */
14777 #define _LARGE_FILES 1
14778 #include <sys/types.h>
14779  /* Check that off_t can represent 2**63 - 1 correctly.
14780     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14781     since some C++ compilers masquerading as C compilers
14782     incorrectly reject 9223372036854775807.  */
14783 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14784   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14785                        && LARGE_OFF_T % 2147483647 == 1)
14786                       ? 1 : -1];
14787 int
14788 main ()
14789 {
14790
14791   ;
14792   return 0;
14793 }
14794 _ACEOF
14795 if ac_fn_c_try_compile "$LINENO"; then :
14796   ac_cv_sys_large_files=1; break
14797 fi
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799   ac_cv_sys_large_files=unknown
14800   break
14801 done
14802 fi
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14804 $as_echo "$ac_cv_sys_large_files" >&6; }
14805 case $ac_cv_sys_large_files in #(
14806   no | unknown) ;;
14807   *)
14808 cat >>confdefs.h <<_ACEOF
14809 #define _LARGE_FILES $ac_cv_sys_large_files
14810 _ACEOF
14811 ;;
14812 esac
14813 rm -rf conftest*
14814   fi
14815 fi
14816
14817 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14818 if test "x$ac_cv_type_off_t" = x""yes; then :
14819
14820 else
14821
14822 cat >>confdefs.h <<_ACEOF
14823 #define off_t long int
14824 _ACEOF
14825
14826 fi
14827
14828
14829 # check header files
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14831 $as_echo_n "checking for ANSI C header files... " >&6; }
14832 if test "${ac_cv_header_stdc+set}" = set; then :
14833   $as_echo_n "(cached) " >&6
14834 else
14835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14836 /* end confdefs.h.  */
14837 #include <stdlib.h>
14838 #include <stdarg.h>
14839 #include <string.h>
14840 #include <float.h>
14841
14842 int
14843 main ()
14844 {
14845
14846   ;
14847   return 0;
14848 }
14849 _ACEOF
14850 if ac_fn_c_try_compile "$LINENO"; then :
14851   ac_cv_header_stdc=yes
14852 else
14853   ac_cv_header_stdc=no
14854 fi
14855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14856
14857 if test $ac_cv_header_stdc = yes; then
14858   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14860 /* end confdefs.h.  */
14861 #include <string.h>
14862
14863 _ACEOF
14864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14865   $EGREP "memchr" >/dev/null 2>&1; then :
14866
14867 else
14868   ac_cv_header_stdc=no
14869 fi
14870 rm -f conftest*
14871
14872 fi
14873
14874 if test $ac_cv_header_stdc = yes; then
14875   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14877 /* end confdefs.h.  */
14878 #include <stdlib.h>
14879
14880 _ACEOF
14881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14882   $EGREP "free" >/dev/null 2>&1; then :
14883
14884 else
14885   ac_cv_header_stdc=no
14886 fi
14887 rm -f conftest*
14888
14889 fi
14890
14891 if test $ac_cv_header_stdc = yes; then
14892   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14893   if test "$cross_compiling" = yes; then :
14894   :
14895 else
14896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14897 /* end confdefs.h.  */
14898 #include <ctype.h>
14899 #include <stdlib.h>
14900 #if ((' ' & 0x0FF) == 0x020)
14901 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14902 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14903 #else
14904 # define ISLOWER(c) \
14905                    (('a' <= (c) && (c) <= 'i') \
14906                      || ('j' <= (c) && (c) <= 'r') \
14907                      || ('s' <= (c) && (c) <= 'z'))
14908 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14909 #endif
14910
14911 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14912 int
14913 main ()
14914 {
14915   int i;
14916   for (i = 0; i < 256; i++)
14917     if (XOR (islower (i), ISLOWER (i))
14918         || toupper (i) != TOUPPER (i))
14919       return 2;
14920   return 0;
14921 }
14922 _ACEOF
14923 if ac_fn_c_try_run "$LINENO"; then :
14924
14925 else
14926   ac_cv_header_stdc=no
14927 fi
14928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14929   conftest.$ac_objext conftest.beam conftest.$ac_ext
14930 fi
14931
14932 fi
14933 fi
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14935 $as_echo "$ac_cv_header_stdc" >&6; }
14936 if test $ac_cv_header_stdc = yes; then
14937
14938 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14939
14940 fi
14941
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
14943 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
14944 if test "${ac_cv_header_time+set}" = set; then :
14945   $as_echo_n "(cached) " >&6
14946 else
14947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14948 /* end confdefs.h.  */
14949 #include <sys/types.h>
14950 #include <sys/time.h>
14951 #include <time.h>
14952
14953 int
14954 main ()
14955 {
14956 if ((struct tm *) 0)
14957 return 0;
14958   ;
14959   return 0;
14960 }
14961 _ACEOF
14962 if ac_fn_c_try_compile "$LINENO"; then :
14963   ac_cv_header_time=yes
14964 else
14965   ac_cv_header_time=no
14966 fi
14967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14968 fi
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
14970 $as_echo "$ac_cv_header_time" >&6; }
14971 if test $ac_cv_header_time = yes; then
14972
14973 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
14974
14975 fi
14976
14977 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14978 do :
14979   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14980 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14981 eval as_val=\$$as_ac_Header
14982    if test "x$as_val" = x""yes; then :
14983   cat >>confdefs.h <<_ACEOF
14984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14985 _ACEOF
14986
14987 fi
14988
14989 done
14990
14991 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14992 do :
14993   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14994 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14995 eval as_val=\$$as_ac_Header
14996    if test "x$as_val" = x""yes; then :
14997   cat >>confdefs.h <<_ACEOF
14998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14999 _ACEOF
15000
15001 fi
15002
15003 done
15004
15005 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15006 do :
15007   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15008 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15009 eval as_val=\$$as_ac_Header
15010    if test "x$as_val" = x""yes; then :
15011   cat >>confdefs.h <<_ACEOF
15012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15013 _ACEOF
15014
15015 fi
15016
15017 done
15018
15019 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15020 do :
15021   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15022 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15023 eval as_val=\$$as_ac_Header
15024    if test "x$as_val" = x""yes; then :
15025   cat >>confdefs.h <<_ACEOF
15026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15027 _ACEOF
15028
15029 fi
15030
15031 done
15032
15033 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15034 if test "x$ac_cv_header_complex_h" = x""yes; then :
15035
15036 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15037
15038 fi
15039
15040
15041
15042
15043 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15044
15045 acx_cv_header_stdint=stddef.h
15046 acx_cv_header_stdint_kind="(already complete)"
15047 for i in stdint.h $inttype_headers; do
15048   unset ac_cv_type_uintptr_t
15049   unset ac_cv_type_uintmax_t
15050   unset ac_cv_type_int_least32_t
15051   unset ac_cv_type_int_fast32_t
15052   unset ac_cv_type_uint64_t
15053   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15054   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15055 #include <$i>
15056 "
15057 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15058   acx_cv_header_stdint=$i
15059 else
15060   continue
15061 fi
15062
15063   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15064 #include <$i>
15065 "
15066 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15067
15068 else
15069   acx_cv_header_stdint_kind="(mostly complete)"
15070 fi
15071
15072   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15073 #include <$i>
15074 "
15075 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15076
15077 else
15078   acx_cv_header_stdint_kind="(mostly complete)"
15079 fi
15080
15081   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15082 #include <$i>
15083 "
15084 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15085
15086 else
15087   acx_cv_header_stdint_kind="(mostly complete)"
15088 fi
15089
15090   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15091 #include <$i>
15092 "
15093 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15094
15095 else
15096   acx_cv_header_stdint_kind="(lacks uint64_t)"
15097 fi
15098
15099   break
15100 done
15101 if test "$acx_cv_header_stdint" = stddef.h; then
15102   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15103   for i in stdint.h $inttype_headers; do
15104     unset ac_cv_type_uintptr_t
15105     unset ac_cv_type_uint32_t
15106     unset ac_cv_type_uint64_t
15107     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15108     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15109 #include <$i>
15110 "
15111 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15112   acx_cv_header_stdint=$i
15113 else
15114   continue
15115 fi
15116
15117     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15118 #include <$i>
15119 "
15120 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15121
15122 fi
15123
15124     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15125 #include <$i>
15126 "
15127 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15128
15129 fi
15130
15131     break
15132   done
15133 fi
15134 if test "$acx_cv_header_stdint" = stddef.h; then
15135   acx_cv_header_stdint_kind="(u_intXX_t style)"
15136   for i in sys/types.h $inttype_headers; do
15137     unset ac_cv_type_u_int32_t
15138     unset ac_cv_type_u_int64_t
15139     $as_echo_n "looking for u_intXX_t types in $i, " >&6
15140     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15141 #include <$i>
15142 "
15143 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15144   acx_cv_header_stdint=$i
15145 else
15146   continue
15147 fi
15148
15149     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15150 #include <$i>
15151 "
15152 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15153
15154 fi
15155
15156     break
15157   done
15158 fi
15159 if test "$acx_cv_header_stdint" = stddef.h; then
15160   acx_cv_header_stdint_kind="(using manual detection)"
15161 fi
15162
15163 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15164 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15165 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15166 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15167 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15168
15169 # ----------------- Summarize what we found so far
15170
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15172 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15173
15174 case `$as_basename -- gstdint.h ||
15175 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15176          Xgstdint.h : 'X\(//\)$' \| \
15177          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15178 $as_echo X/gstdint.h |
15179     sed '/^.*\/\([^/][^/]*\)\/*$/{
15180             s//\1/
15181             q
15182           }
15183           /^X\/\(\/\/\)$/{
15184             s//\1/
15185             q
15186           }
15187           /^X\/\(\/\).*/{
15188             s//\1/
15189             q
15190           }
15191           s/.*/./; q'` in
15192   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15193 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15194   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15195 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15196   *) ;;
15197 esac
15198
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15200 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15201
15202 # ----------------- done included file, check C basic types --------
15203
15204 # Lacking an uintptr_t?  Test size of void *
15205 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15206   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15207 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15208 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15209 # This bug is HP SR number 8606223364.
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15211 $as_echo_n "checking size of void *... " >&6; }
15212 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15213   $as_echo_n "(cached) " >&6
15214 else
15215   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
15216
15217 else
15218   if test "$ac_cv_type_void_p" = yes; then
15219      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15221 { as_fn_set_status 77
15222 as_fn_error "cannot compute sizeof (void *)
15223 See \`config.log' for more details." "$LINENO" 5; }; }
15224    else
15225      ac_cv_sizeof_void_p=0
15226    fi
15227 fi
15228
15229 fi
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15231 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15232
15233
15234
15235 cat >>confdefs.h <<_ACEOF
15236 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15237 _ACEOF
15238
15239  ;;
15240 esac
15241
15242 # Lacking an uint64_t?  Test size of long
15243 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15244   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15247 # This bug is HP SR number 8606223364.
15248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15249 $as_echo_n "checking size of long... " >&6; }
15250 if test "${ac_cv_sizeof_long+set}" = set; then :
15251   $as_echo_n "(cached) " >&6
15252 else
15253   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
15254
15255 else
15256   if test "$ac_cv_type_long" = yes; then
15257      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15259 { as_fn_set_status 77
15260 as_fn_error "cannot compute sizeof (long)
15261 See \`config.log' for more details." "$LINENO" 5; }; }
15262    else
15263      ac_cv_sizeof_long=0
15264    fi
15265 fi
15266
15267 fi
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15269 $as_echo "$ac_cv_sizeof_long" >&6; }
15270
15271
15272
15273 cat >>confdefs.h <<_ACEOF
15274 #define SIZEOF_LONG $ac_cv_sizeof_long
15275 _ACEOF
15276
15277  ;;
15278 esac
15279
15280 if test $acx_cv_header_stdint = stddef.h; then
15281   # Lacking a good header?  Test size of everything and deduce all types.
15282   # The cast to long int works around a bug in the HP C Compiler
15283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15285 # This bug is HP SR number 8606223364.
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15287 $as_echo_n "checking size of int... " >&6; }
15288 if test "${ac_cv_sizeof_int+set}" = set; then :
15289   $as_echo_n "(cached) " >&6
15290 else
15291   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
15292
15293 else
15294   if test "$ac_cv_type_int" = yes; then
15295      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15297 { as_fn_set_status 77
15298 as_fn_error "cannot compute sizeof (int)
15299 See \`config.log' for more details." "$LINENO" 5; }; }
15300    else
15301      ac_cv_sizeof_int=0
15302    fi
15303 fi
15304
15305 fi
15306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15307 $as_echo "$ac_cv_sizeof_int" >&6; }
15308
15309
15310
15311 cat >>confdefs.h <<_ACEOF
15312 #define SIZEOF_INT $ac_cv_sizeof_int
15313 _ACEOF
15314
15315
15316   # The cast to long int works around a bug in the HP C Compiler
15317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15319 # This bug is HP SR number 8606223364.
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15321 $as_echo_n "checking size of short... " >&6; }
15322 if test "${ac_cv_sizeof_short+set}" = set; then :
15323   $as_echo_n "(cached) " >&6
15324 else
15325   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
15326
15327 else
15328   if test "$ac_cv_type_short" = yes; then
15329      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15331 { as_fn_set_status 77
15332 as_fn_error "cannot compute sizeof (short)
15333 See \`config.log' for more details." "$LINENO" 5; }; }
15334    else
15335      ac_cv_sizeof_short=0
15336    fi
15337 fi
15338
15339 fi
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15341 $as_echo "$ac_cv_sizeof_short" >&6; }
15342
15343
15344
15345 cat >>confdefs.h <<_ACEOF
15346 #define SIZEOF_SHORT $ac_cv_sizeof_short
15347 _ACEOF
15348
15349
15350   # The cast to long int works around a bug in the HP C Compiler
15351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15353 # This bug is HP SR number 8606223364.
15354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15355 $as_echo_n "checking size of char... " >&6; }
15356 if test "${ac_cv_sizeof_char+set}" = set; then :
15357   $as_echo_n "(cached) " >&6
15358 else
15359   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
15360
15361 else
15362   if test "$ac_cv_type_char" = yes; then
15363      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15365 { as_fn_set_status 77
15366 as_fn_error "cannot compute sizeof (char)
15367 See \`config.log' for more details." "$LINENO" 5; }; }
15368    else
15369      ac_cv_sizeof_char=0
15370    fi
15371 fi
15372
15373 fi
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15375 $as_echo "$ac_cv_sizeof_char" >&6; }
15376
15377
15378
15379 cat >>confdefs.h <<_ACEOF
15380 #define SIZEOF_CHAR $ac_cv_sizeof_char
15381 _ACEOF
15382
15383
15384
15385   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15386 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15387   case "$ac_cv_sizeof_char" in
15388     1) acx_cv_type_int8_t=char ;;
15389     *) { as_fn_set_status please report a bug
15390 as_fn_error "no 8-bit type" "$LINENO" 5; }
15391   esac
15392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15393 $as_echo "$acx_cv_type_int8_t" >&6; }
15394
15395   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15396 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15397   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15398     2:*) acx_cv_type_int16_t=int ;;
15399     *:2) acx_cv_type_int16_t=short ;;
15400     *) { as_fn_set_status please report a bug
15401 as_fn_error "no 16-bit type" "$LINENO" 5; }
15402   esac
15403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15404 $as_echo "$acx_cv_type_int16_t" >&6; }
15405
15406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15407 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15408   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15409     4:*) acx_cv_type_int32_t=int ;;
15410     *:4) acx_cv_type_int32_t=long ;;
15411     *) { as_fn_set_status please report a bug
15412 as_fn_error "no 32-bit type" "$LINENO" 5; }
15413   esac
15414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15415 $as_echo "$acx_cv_type_int32_t" >&6; }
15416 fi
15417
15418 # These tests are here to make the output prettier
15419
15420 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15421   case "$ac_cv_sizeof_long" in
15422     8) acx_cv_type_int64_t=long ;;
15423   esac
15424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15425 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15427 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15428 fi
15429
15430 # Now we can use the above types
15431
15432 if test "$ac_cv_type_uintptr_t" != yes; then
15433   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15434 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15435   case $ac_cv_sizeof_void_p in
15436     2) acx_cv_type_intptr_t=int16_t ;;
15437     4) acx_cv_type_intptr_t=int32_t ;;
15438     8) acx_cv_type_intptr_t=int64_t ;;
15439     *) { as_fn_set_status please report a bug
15440 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
15441   esac
15442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15443 $as_echo "$acx_cv_type_intptr_t" >&6; }
15444 fi
15445
15446 # ----------------- done all checks, emit header -------------
15447 ac_config_commands="$ac_config_commands gstdint.h"
15448
15449
15450
15451
15452 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15453 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15454
15455 cat >>confdefs.h <<_ACEOF
15456 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15457 _ACEOF
15458
15459
15460 fi
15461
15462 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15463 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15464
15465 cat >>confdefs.h <<_ACEOF
15466 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15467 _ACEOF
15468
15469
15470 fi
15471
15472 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15473 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15474
15475 cat >>confdefs.h <<_ACEOF
15476 #define HAVE_STRUCT_STAT_ST_RDEV 1
15477 _ACEOF
15478
15479
15480 fi
15481
15482
15483 # Check for library functions.
15484 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15485 do :
15486   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15488 eval as_val=\$$as_ac_var
15489    if test "x$as_val" = x""yes; then :
15490   cat >>confdefs.h <<_ACEOF
15491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15492 _ACEOF
15493
15494 fi
15495 done
15496
15497 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15498 do :
15499   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15501 eval as_val=\$$as_ac_var
15502    if test "x$as_val" = x""yes; then :
15503   cat >>confdefs.h <<_ACEOF
15504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15505 _ACEOF
15506
15507 fi
15508 done
15509
15510 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15511 do :
15512   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15514 eval as_val=\$$as_ac_var
15515    if test "x$as_val" = x""yes; then :
15516   cat >>confdefs.h <<_ACEOF
15517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15518 _ACEOF
15519
15520 fi
15521 done
15522
15523 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15524 do :
15525   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15527 eval as_val=\$$as_ac_var
15528    if test "x$as_val" = x""yes; then :
15529   cat >>confdefs.h <<_ACEOF
15530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15531 _ACEOF
15532
15533 fi
15534 done
15535
15536 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15537 do :
15538   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15540 eval as_val=\$$as_ac_var
15541    if test "x$as_val" = x""yes; then :
15542   cat >>confdefs.h <<_ACEOF
15543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15544 _ACEOF
15545
15546 fi
15547 done
15548
15549 for ac_func in localtime_r gmtime_r
15550 do :
15551   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15553 eval as_val=\$$as_ac_var
15554    if test "x$as_val" = x""yes; then :
15555   cat >>confdefs.h <<_ACEOF
15556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15557 _ACEOF
15558
15559 fi
15560 done
15561
15562
15563 # Check for glibc backtrace functions
15564 for ac_func in backtrace backtrace_symbols
15565 do :
15566   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15568 eval as_val=\$$as_ac_var
15569    if test "x$as_val" = x""yes; then :
15570   cat >>confdefs.h <<_ACEOF
15571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15572 _ACEOF
15573
15574 fi
15575 done
15576
15577
15578 # Check for types
15579 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15580 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15581
15582 cat >>confdefs.h <<_ACEOF
15583 #define HAVE_INTPTR_T 1
15584 _ACEOF
15585
15586
15587 fi
15588
15589 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15590 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15591
15592 cat >>confdefs.h <<_ACEOF
15593 #define HAVE_UINTPTR_T 1
15594 _ACEOF
15595
15596
15597 fi
15598
15599
15600 # Check libc for getgid, getpid, getuid
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15602 $as_echo_n "checking for getgid in -lc... " >&6; }
15603 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15604   $as_echo_n "(cached) " >&6
15605 else
15606   ac_check_lib_save_LIBS=$LIBS
15607 LIBS="-lc  $LIBS"
15608 if test x$gcc_no_link = xyes; then
15609   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15610 fi
15611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15612 /* end confdefs.h.  */
15613
15614 /* Override any GCC internal prototype to avoid an error.
15615    Use char because int might match the return type of a GCC
15616    builtin and then its argument prototype would still apply.  */
15617 #ifdef __cplusplus
15618 extern "C"
15619 #endif
15620 char getgid ();
15621 int
15622 main ()
15623 {
15624 return getgid ();
15625   ;
15626   return 0;
15627 }
15628 _ACEOF
15629 if ac_fn_c_try_link "$LINENO"; then :
15630   ac_cv_lib_c_getgid=yes
15631 else
15632   ac_cv_lib_c_getgid=no
15633 fi
15634 rm -f core conftest.err conftest.$ac_objext \
15635     conftest$ac_exeext conftest.$ac_ext
15636 LIBS=$ac_check_lib_save_LIBS
15637 fi
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15639 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15640 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15641
15642 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15643
15644 fi
15645
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15647 $as_echo_n "checking for getpid in -lc... " >&6; }
15648 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15649   $as_echo_n "(cached) " >&6
15650 else
15651   ac_check_lib_save_LIBS=$LIBS
15652 LIBS="-lc  $LIBS"
15653 if test x$gcc_no_link = xyes; then
15654   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15655 fi
15656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h.  */
15658
15659 /* Override any GCC internal prototype to avoid an error.
15660    Use char because int might match the return type of a GCC
15661    builtin and then its argument prototype would still apply.  */
15662 #ifdef __cplusplus
15663 extern "C"
15664 #endif
15665 char getpid ();
15666 int
15667 main ()
15668 {
15669 return getpid ();
15670   ;
15671   return 0;
15672 }
15673 _ACEOF
15674 if ac_fn_c_try_link "$LINENO"; then :
15675   ac_cv_lib_c_getpid=yes
15676 else
15677   ac_cv_lib_c_getpid=no
15678 fi
15679 rm -f core conftest.err conftest.$ac_objext \
15680     conftest$ac_exeext conftest.$ac_ext
15681 LIBS=$ac_check_lib_save_LIBS
15682 fi
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15684 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15685 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15686
15687 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15688
15689 fi
15690
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15692 $as_echo_n "checking for getppid in -lc... " >&6; }
15693 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15694   $as_echo_n "(cached) " >&6
15695 else
15696   ac_check_lib_save_LIBS=$LIBS
15697 LIBS="-lc  $LIBS"
15698 if test x$gcc_no_link = xyes; then
15699   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15700 fi
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h.  */
15703
15704 /* Override any GCC internal prototype to avoid an error.
15705    Use char because int might match the return type of a GCC
15706    builtin and then its argument prototype would still apply.  */
15707 #ifdef __cplusplus
15708 extern "C"
15709 #endif
15710 char getppid ();
15711 int
15712 main ()
15713 {
15714 return getppid ();
15715   ;
15716   return 0;
15717 }
15718 _ACEOF
15719 if ac_fn_c_try_link "$LINENO"; then :
15720   ac_cv_lib_c_getppid=yes
15721 else
15722   ac_cv_lib_c_getppid=no
15723 fi
15724 rm -f core conftest.err conftest.$ac_objext \
15725     conftest$ac_exeext conftest.$ac_ext
15726 LIBS=$ac_check_lib_save_LIBS
15727 fi
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15729 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15730 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15731
15732 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15733
15734 fi
15735
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15737 $as_echo_n "checking for getuid in -lc... " >&6; }
15738 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15739   $as_echo_n "(cached) " >&6
15740 else
15741   ac_check_lib_save_LIBS=$LIBS
15742 LIBS="-lc  $LIBS"
15743 if test x$gcc_no_link = xyes; then
15744   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15745 fi
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h.  */
15748
15749 /* Override any GCC internal prototype to avoid an error.
15750    Use char because int might match the return type of a GCC
15751    builtin and then its argument prototype would still apply.  */
15752 #ifdef __cplusplus
15753 extern "C"
15754 #endif
15755 char getuid ();
15756 int
15757 main ()
15758 {
15759 return getuid ();
15760   ;
15761   return 0;
15762 }
15763 _ACEOF
15764 if ac_fn_c_try_link "$LINENO"; then :
15765   ac_cv_lib_c_getuid=yes
15766 else
15767   ac_cv_lib_c_getuid=no
15768 fi
15769 rm -f core conftest.err conftest.$ac_objext \
15770     conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_lib_save_LIBS
15772 fi
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15774 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15775 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15776
15777 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15778
15779 fi
15780
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15782 $as_echo_n "checking for geteuid in -lc... " >&6; }
15783 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15784   $as_echo_n "(cached) " >&6
15785 else
15786   ac_check_lib_save_LIBS=$LIBS
15787 LIBS="-lc  $LIBS"
15788 if test x$gcc_no_link = xyes; then
15789   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15790 fi
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h.  */
15793
15794 /* Override any GCC internal prototype to avoid an error.
15795    Use char because int might match the return type of a GCC
15796    builtin and then its argument prototype would still apply.  */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char geteuid ();
15801 int
15802 main ()
15803 {
15804 return geteuid ();
15805   ;
15806   return 0;
15807 }
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810   ac_cv_lib_c_geteuid=yes
15811 else
15812   ac_cv_lib_c_geteuid=no
15813 fi
15814 rm -f core conftest.err conftest.$ac_objext \
15815     conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_lib_save_LIBS
15817 fi
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15819 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15820 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15821
15822 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15823
15824 fi
15825
15826
15827 # Check for C99 (and other IEEE) math functions
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15829 $as_echo_n "checking for acosf in -lm... " >&6; }
15830 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15831   $as_echo_n "(cached) " >&6
15832 else
15833   ac_check_lib_save_LIBS=$LIBS
15834 LIBS="-lm  $LIBS"
15835 if test x$gcc_no_link = xyes; then
15836   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15837 fi
15838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15839 /* end confdefs.h.  */
15840
15841 /* Override any GCC internal prototype to avoid an error.
15842    Use char because int might match the return type of a GCC
15843    builtin and then its argument prototype would still apply.  */
15844 #ifdef __cplusplus
15845 extern "C"
15846 #endif
15847 char acosf ();
15848 int
15849 main ()
15850 {
15851 return acosf ();
15852   ;
15853   return 0;
15854 }
15855 _ACEOF
15856 if ac_fn_c_try_link "$LINENO"; then :
15857   ac_cv_lib_m_acosf=yes
15858 else
15859   ac_cv_lib_m_acosf=no
15860 fi
15861 rm -f core conftest.err conftest.$ac_objext \
15862     conftest$ac_exeext conftest.$ac_ext
15863 LIBS=$ac_check_lib_save_LIBS
15864 fi
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15866 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15867 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15868
15869 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15870
15871 fi
15872
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15874 $as_echo_n "checking for acos in -lm... " >&6; }
15875 if test "${ac_cv_lib_m_acos+set}" = set; then :
15876   $as_echo_n "(cached) " >&6
15877 else
15878   ac_check_lib_save_LIBS=$LIBS
15879 LIBS="-lm  $LIBS"
15880 if test x$gcc_no_link = xyes; then
15881   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15882 fi
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h.  */
15885
15886 /* Override any GCC internal prototype to avoid an error.
15887    Use char because int might match the return type of a GCC
15888    builtin and then its argument prototype would still apply.  */
15889 #ifdef __cplusplus
15890 extern "C"
15891 #endif
15892 char acos ();
15893 int
15894 main ()
15895 {
15896 return acos ();
15897   ;
15898   return 0;
15899 }
15900 _ACEOF
15901 if ac_fn_c_try_link "$LINENO"; then :
15902   ac_cv_lib_m_acos=yes
15903 else
15904   ac_cv_lib_m_acos=no
15905 fi
15906 rm -f core conftest.err conftest.$ac_objext \
15907     conftest$ac_exeext conftest.$ac_ext
15908 LIBS=$ac_check_lib_save_LIBS
15909 fi
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15911 $as_echo "$ac_cv_lib_m_acos" >&6; }
15912 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15913
15914 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15915
15916 fi
15917
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15919 $as_echo_n "checking for acosl in -lm... " >&6; }
15920 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15921   $as_echo_n "(cached) " >&6
15922 else
15923   ac_check_lib_save_LIBS=$LIBS
15924 LIBS="-lm  $LIBS"
15925 if test x$gcc_no_link = xyes; then
15926   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15927 fi
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h.  */
15930
15931 /* Override any GCC internal prototype to avoid an error.
15932    Use char because int might match the return type of a GCC
15933    builtin and then its argument prototype would still apply.  */
15934 #ifdef __cplusplus
15935 extern "C"
15936 #endif
15937 char acosl ();
15938 int
15939 main ()
15940 {
15941 return acosl ();
15942   ;
15943   return 0;
15944 }
15945 _ACEOF
15946 if ac_fn_c_try_link "$LINENO"; then :
15947   ac_cv_lib_m_acosl=yes
15948 else
15949   ac_cv_lib_m_acosl=no
15950 fi
15951 rm -f core conftest.err conftest.$ac_objext \
15952     conftest$ac_exeext conftest.$ac_ext
15953 LIBS=$ac_check_lib_save_LIBS
15954 fi
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
15956 $as_echo "$ac_cv_lib_m_acosl" >&6; }
15957 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
15958
15959 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
15960
15961 fi
15962
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
15964 $as_echo_n "checking for acoshf in -lm... " >&6; }
15965 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
15966   $as_echo_n "(cached) " >&6
15967 else
15968   ac_check_lib_save_LIBS=$LIBS
15969 LIBS="-lm  $LIBS"
15970 if test x$gcc_no_link = xyes; then
15971   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15972 fi
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h.  */
15975
15976 /* Override any GCC internal prototype to avoid an error.
15977    Use char because int might match the return type of a GCC
15978    builtin and then its argument prototype would still apply.  */
15979 #ifdef __cplusplus
15980 extern "C"
15981 #endif
15982 char acoshf ();
15983 int
15984 main ()
15985 {
15986 return acoshf ();
15987   ;
15988   return 0;
15989 }
15990 _ACEOF
15991 if ac_fn_c_try_link "$LINENO"; then :
15992   ac_cv_lib_m_acoshf=yes
15993 else
15994   ac_cv_lib_m_acoshf=no
15995 fi
15996 rm -f core conftest.err conftest.$ac_objext \
15997     conftest$ac_exeext conftest.$ac_ext
15998 LIBS=$ac_check_lib_save_LIBS
15999 fi
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16001 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16002 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16003
16004 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16005
16006 fi
16007
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16009 $as_echo_n "checking for acosh in -lm... " >&6; }
16010 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16011   $as_echo_n "(cached) " >&6
16012 else
16013   ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-lm  $LIBS"
16015 if test x$gcc_no_link = xyes; then
16016   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16017 fi
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h.  */
16020
16021 /* Override any GCC internal prototype to avoid an error.
16022    Use char because int might match the return type of a GCC
16023    builtin and then its argument prototype would still apply.  */
16024 #ifdef __cplusplus
16025 extern "C"
16026 #endif
16027 char acosh ();
16028 int
16029 main ()
16030 {
16031 return acosh ();
16032   ;
16033   return 0;
16034 }
16035 _ACEOF
16036 if ac_fn_c_try_link "$LINENO"; then :
16037   ac_cv_lib_m_acosh=yes
16038 else
16039   ac_cv_lib_m_acosh=no
16040 fi
16041 rm -f core conftest.err conftest.$ac_objext \
16042     conftest$ac_exeext conftest.$ac_ext
16043 LIBS=$ac_check_lib_save_LIBS
16044 fi
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16046 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16047 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16048
16049 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16050
16051 fi
16052
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16054 $as_echo_n "checking for acoshl in -lm... " >&6; }
16055 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16056   $as_echo_n "(cached) " >&6
16057 else
16058   ac_check_lib_save_LIBS=$LIBS
16059 LIBS="-lm  $LIBS"
16060 if test x$gcc_no_link = xyes; then
16061   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16062 fi
16063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h.  */
16065
16066 /* Override any GCC internal prototype to avoid an error.
16067    Use char because int might match the return type of a GCC
16068    builtin and then its argument prototype would still apply.  */
16069 #ifdef __cplusplus
16070 extern "C"
16071 #endif
16072 char acoshl ();
16073 int
16074 main ()
16075 {
16076 return acoshl ();
16077   ;
16078   return 0;
16079 }
16080 _ACEOF
16081 if ac_fn_c_try_link "$LINENO"; then :
16082   ac_cv_lib_m_acoshl=yes
16083 else
16084   ac_cv_lib_m_acoshl=no
16085 fi
16086 rm -f core conftest.err conftest.$ac_objext \
16087     conftest$ac_exeext conftest.$ac_ext
16088 LIBS=$ac_check_lib_save_LIBS
16089 fi
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16091 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16092 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16093
16094 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16095
16096 fi
16097
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16099 $as_echo_n "checking for asinf in -lm... " >&6; }
16100 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16101   $as_echo_n "(cached) " >&6
16102 else
16103   ac_check_lib_save_LIBS=$LIBS
16104 LIBS="-lm  $LIBS"
16105 if test x$gcc_no_link = xyes; then
16106   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16107 fi
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h.  */
16110
16111 /* Override any GCC internal prototype to avoid an error.
16112    Use char because int might match the return type of a GCC
16113    builtin and then its argument prototype would still apply.  */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char asinf ();
16118 int
16119 main ()
16120 {
16121 return asinf ();
16122   ;
16123   return 0;
16124 }
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"; then :
16127   ac_cv_lib_m_asinf=yes
16128 else
16129   ac_cv_lib_m_asinf=no
16130 fi
16131 rm -f core conftest.err conftest.$ac_objext \
16132     conftest$ac_exeext conftest.$ac_ext
16133 LIBS=$ac_check_lib_save_LIBS
16134 fi
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16136 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16137 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16138
16139 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16140
16141 fi
16142
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16144 $as_echo_n "checking for asin in -lm... " >&6; }
16145 if test "${ac_cv_lib_m_asin+set}" = set; then :
16146   $as_echo_n "(cached) " >&6
16147 else
16148   ac_check_lib_save_LIBS=$LIBS
16149 LIBS="-lm  $LIBS"
16150 if test x$gcc_no_link = xyes; then
16151   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16152 fi
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h.  */
16155
16156 /* Override any GCC internal prototype to avoid an error.
16157    Use char because int might match the return type of a GCC
16158    builtin and then its argument prototype would still apply.  */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char asin ();
16163 int
16164 main ()
16165 {
16166 return asin ();
16167   ;
16168   return 0;
16169 }
16170 _ACEOF
16171 if ac_fn_c_try_link "$LINENO"; then :
16172   ac_cv_lib_m_asin=yes
16173 else
16174   ac_cv_lib_m_asin=no
16175 fi
16176 rm -f core conftest.err conftest.$ac_objext \
16177     conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_lib_save_LIBS
16179 fi
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16181 $as_echo "$ac_cv_lib_m_asin" >&6; }
16182 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16183
16184 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16185
16186 fi
16187
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16189 $as_echo_n "checking for asinl in -lm... " >&6; }
16190 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16191   $as_echo_n "(cached) " >&6
16192 else
16193   ac_check_lib_save_LIBS=$LIBS
16194 LIBS="-lm  $LIBS"
16195 if test x$gcc_no_link = xyes; then
16196   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16197 fi
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h.  */
16200
16201 /* Override any GCC internal prototype to avoid an error.
16202    Use char because int might match the return type of a GCC
16203    builtin and then its argument prototype would still apply.  */
16204 #ifdef __cplusplus
16205 extern "C"
16206 #endif
16207 char asinl ();
16208 int
16209 main ()
16210 {
16211 return asinl ();
16212   ;
16213   return 0;
16214 }
16215 _ACEOF
16216 if ac_fn_c_try_link "$LINENO"; then :
16217   ac_cv_lib_m_asinl=yes
16218 else
16219   ac_cv_lib_m_asinl=no
16220 fi
16221 rm -f core conftest.err conftest.$ac_objext \
16222     conftest$ac_exeext conftest.$ac_ext
16223 LIBS=$ac_check_lib_save_LIBS
16224 fi
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16226 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16227 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16228
16229 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16230
16231 fi
16232
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16234 $as_echo_n "checking for asinhf in -lm... " >&6; }
16235 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16236   $as_echo_n "(cached) " >&6
16237 else
16238   ac_check_lib_save_LIBS=$LIBS
16239 LIBS="-lm  $LIBS"
16240 if test x$gcc_no_link = xyes; then
16241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16242 fi
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h.  */
16245
16246 /* Override any GCC internal prototype to avoid an error.
16247    Use char because int might match the return type of a GCC
16248    builtin and then its argument prototype would still apply.  */
16249 #ifdef __cplusplus
16250 extern "C"
16251 #endif
16252 char asinhf ();
16253 int
16254 main ()
16255 {
16256 return asinhf ();
16257   ;
16258   return 0;
16259 }
16260 _ACEOF
16261 if ac_fn_c_try_link "$LINENO"; then :
16262   ac_cv_lib_m_asinhf=yes
16263 else
16264   ac_cv_lib_m_asinhf=no
16265 fi
16266 rm -f core conftest.err conftest.$ac_objext \
16267     conftest$ac_exeext conftest.$ac_ext
16268 LIBS=$ac_check_lib_save_LIBS
16269 fi
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16271 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16272 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16273
16274 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16275
16276 fi
16277
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16279 $as_echo_n "checking for asinh in -lm... " >&6; }
16280 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16281   $as_echo_n "(cached) " >&6
16282 else
16283   ac_check_lib_save_LIBS=$LIBS
16284 LIBS="-lm  $LIBS"
16285 if test x$gcc_no_link = xyes; then
16286   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16287 fi
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h.  */
16290
16291 /* Override any GCC internal prototype to avoid an error.
16292    Use char because int might match the return type of a GCC
16293    builtin and then its argument prototype would still apply.  */
16294 #ifdef __cplusplus
16295 extern "C"
16296 #endif
16297 char asinh ();
16298 int
16299 main ()
16300 {
16301 return asinh ();
16302   ;
16303   return 0;
16304 }
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"; then :
16307   ac_cv_lib_m_asinh=yes
16308 else
16309   ac_cv_lib_m_asinh=no
16310 fi
16311 rm -f core conftest.err conftest.$ac_objext \
16312     conftest$ac_exeext conftest.$ac_ext
16313 LIBS=$ac_check_lib_save_LIBS
16314 fi
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16316 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16317 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16318
16319 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16320
16321 fi
16322
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16324 $as_echo_n "checking for asinhl in -lm... " >&6; }
16325 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16326   $as_echo_n "(cached) " >&6
16327 else
16328   ac_check_lib_save_LIBS=$LIBS
16329 LIBS="-lm  $LIBS"
16330 if test x$gcc_no_link = xyes; then
16331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16332 fi
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h.  */
16335
16336 /* Override any GCC internal prototype to avoid an error.
16337    Use char because int might match the return type of a GCC
16338    builtin and then its argument prototype would still apply.  */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char asinhl ();
16343 int
16344 main ()
16345 {
16346 return asinhl ();
16347   ;
16348   return 0;
16349 }
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352   ac_cv_lib_m_asinhl=yes
16353 else
16354   ac_cv_lib_m_asinhl=no
16355 fi
16356 rm -f core conftest.err conftest.$ac_objext \
16357     conftest$ac_exeext conftest.$ac_ext
16358 LIBS=$ac_check_lib_save_LIBS
16359 fi
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16361 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16362 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16363
16364 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16365
16366 fi
16367
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16369 $as_echo_n "checking for atan2f in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16371   $as_echo_n "(cached) " >&6
16372 else
16373   ac_check_lib_save_LIBS=$LIBS
16374 LIBS="-lm  $LIBS"
16375 if test x$gcc_no_link = xyes; then
16376   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16377 fi
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h.  */
16380
16381 /* Override any GCC internal prototype to avoid an error.
16382    Use char because int might match the return type of a GCC
16383    builtin and then its argument prototype would still apply.  */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char atan2f ();
16388 int
16389 main ()
16390 {
16391 return atan2f ();
16392   ;
16393   return 0;
16394 }
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397   ac_cv_lib_m_atan2f=yes
16398 else
16399   ac_cv_lib_m_atan2f=no
16400 fi
16401 rm -f core conftest.err conftest.$ac_objext \
16402     conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16404 fi
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16406 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16407 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16408
16409 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16410
16411 fi
16412
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16414 $as_echo_n "checking for atan2 in -lm... " >&6; }
16415 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16416   $as_echo_n "(cached) " >&6
16417 else
16418   ac_check_lib_save_LIBS=$LIBS
16419 LIBS="-lm  $LIBS"
16420 if test x$gcc_no_link = xyes; then
16421   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16422 fi
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h.  */
16425
16426 /* Override any GCC internal prototype to avoid an error.
16427    Use char because int might match the return type of a GCC
16428    builtin and then its argument prototype would still apply.  */
16429 #ifdef __cplusplus
16430 extern "C"
16431 #endif
16432 char atan2 ();
16433 int
16434 main ()
16435 {
16436 return atan2 ();
16437   ;
16438   return 0;
16439 }
16440 _ACEOF
16441 if ac_fn_c_try_link "$LINENO"; then :
16442   ac_cv_lib_m_atan2=yes
16443 else
16444   ac_cv_lib_m_atan2=no
16445 fi
16446 rm -f core conftest.err conftest.$ac_objext \
16447     conftest$ac_exeext conftest.$ac_ext
16448 LIBS=$ac_check_lib_save_LIBS
16449 fi
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16451 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16452 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16453
16454 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16455
16456 fi
16457
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16459 $as_echo_n "checking for atan2l in -lm... " >&6; }
16460 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16461   $as_echo_n "(cached) " >&6
16462 else
16463   ac_check_lib_save_LIBS=$LIBS
16464 LIBS="-lm  $LIBS"
16465 if test x$gcc_no_link = xyes; then
16466   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16467 fi
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h.  */
16470
16471 /* Override any GCC internal prototype to avoid an error.
16472    Use char because int might match the return type of a GCC
16473    builtin and then its argument prototype would still apply.  */
16474 #ifdef __cplusplus
16475 extern "C"
16476 #endif
16477 char atan2l ();
16478 int
16479 main ()
16480 {
16481 return atan2l ();
16482   ;
16483   return 0;
16484 }
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"; then :
16487   ac_cv_lib_m_atan2l=yes
16488 else
16489   ac_cv_lib_m_atan2l=no
16490 fi
16491 rm -f core conftest.err conftest.$ac_objext \
16492     conftest$ac_exeext conftest.$ac_ext
16493 LIBS=$ac_check_lib_save_LIBS
16494 fi
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16496 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16497 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16498
16499 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16500
16501 fi
16502
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16504 $as_echo_n "checking for atanf in -lm... " >&6; }
16505 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16506   $as_echo_n "(cached) " >&6
16507 else
16508   ac_check_lib_save_LIBS=$LIBS
16509 LIBS="-lm  $LIBS"
16510 if test x$gcc_no_link = xyes; then
16511   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16512 fi
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h.  */
16515
16516 /* Override any GCC internal prototype to avoid an error.
16517    Use char because int might match the return type of a GCC
16518    builtin and then its argument prototype would still apply.  */
16519 #ifdef __cplusplus
16520 extern "C"
16521 #endif
16522 char atanf ();
16523 int
16524 main ()
16525 {
16526 return atanf ();
16527   ;
16528   return 0;
16529 }
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532   ac_cv_lib_m_atanf=yes
16533 else
16534   ac_cv_lib_m_atanf=no
16535 fi
16536 rm -f core conftest.err conftest.$ac_objext \
16537     conftest$ac_exeext conftest.$ac_ext
16538 LIBS=$ac_check_lib_save_LIBS
16539 fi
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16541 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16542 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16543
16544 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16545
16546 fi
16547
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16549 $as_echo_n "checking for atan in -lm... " >&6; }
16550 if test "${ac_cv_lib_m_atan+set}" = set; then :
16551   $as_echo_n "(cached) " >&6
16552 else
16553   ac_check_lib_save_LIBS=$LIBS
16554 LIBS="-lm  $LIBS"
16555 if test x$gcc_no_link = xyes; then
16556   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16557 fi
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h.  */
16560
16561 /* Override any GCC internal prototype to avoid an error.
16562    Use char because int might match the return type of a GCC
16563    builtin and then its argument prototype would still apply.  */
16564 #ifdef __cplusplus
16565 extern "C"
16566 #endif
16567 char atan ();
16568 int
16569 main ()
16570 {
16571 return atan ();
16572   ;
16573   return 0;
16574 }
16575 _ACEOF
16576 if ac_fn_c_try_link "$LINENO"; then :
16577   ac_cv_lib_m_atan=yes
16578 else
16579   ac_cv_lib_m_atan=no
16580 fi
16581 rm -f core conftest.err conftest.$ac_objext \
16582     conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_lib_save_LIBS
16584 fi
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16586 $as_echo "$ac_cv_lib_m_atan" >&6; }
16587 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16588
16589 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16590
16591 fi
16592
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16594 $as_echo_n "checking for atanl in -lm... " >&6; }
16595 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16596   $as_echo_n "(cached) " >&6
16597 else
16598   ac_check_lib_save_LIBS=$LIBS
16599 LIBS="-lm  $LIBS"
16600 if test x$gcc_no_link = xyes; then
16601   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16602 fi
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h.  */
16605
16606 /* Override any GCC internal prototype to avoid an error.
16607    Use char because int might match the return type of a GCC
16608    builtin and then its argument prototype would still apply.  */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char atanl ();
16613 int
16614 main ()
16615 {
16616 return atanl ();
16617   ;
16618   return 0;
16619 }
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622   ac_cv_lib_m_atanl=yes
16623 else
16624   ac_cv_lib_m_atanl=no
16625 fi
16626 rm -f core conftest.err conftest.$ac_objext \
16627     conftest$ac_exeext conftest.$ac_ext
16628 LIBS=$ac_check_lib_save_LIBS
16629 fi
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16631 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16632 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16633
16634 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16635
16636 fi
16637
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16639 $as_echo_n "checking for atanhf in -lm... " >&6; }
16640 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16641   $as_echo_n "(cached) " >&6
16642 else
16643   ac_check_lib_save_LIBS=$LIBS
16644 LIBS="-lm  $LIBS"
16645 if test x$gcc_no_link = xyes; then
16646   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16647 fi
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h.  */
16650
16651 /* Override any GCC internal prototype to avoid an error.
16652    Use char because int might match the return type of a GCC
16653    builtin and then its argument prototype would still apply.  */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 char atanhf ();
16658 int
16659 main ()
16660 {
16661 return atanhf ();
16662   ;
16663   return 0;
16664 }
16665 _ACEOF
16666 if ac_fn_c_try_link "$LINENO"; then :
16667   ac_cv_lib_m_atanhf=yes
16668 else
16669   ac_cv_lib_m_atanhf=no
16670 fi
16671 rm -f core conftest.err conftest.$ac_objext \
16672     conftest$ac_exeext conftest.$ac_ext
16673 LIBS=$ac_check_lib_save_LIBS
16674 fi
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16676 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16677 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16678
16679 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16680
16681 fi
16682
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16684 $as_echo_n "checking for atanh in -lm... " >&6; }
16685 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16686   $as_echo_n "(cached) " >&6
16687 else
16688   ac_check_lib_save_LIBS=$LIBS
16689 LIBS="-lm  $LIBS"
16690 if test x$gcc_no_link = xyes; then
16691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16692 fi
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h.  */
16695
16696 /* Override any GCC internal prototype to avoid an error.
16697    Use char because int might match the return type of a GCC
16698    builtin and then its argument prototype would still apply.  */
16699 #ifdef __cplusplus
16700 extern "C"
16701 #endif
16702 char atanh ();
16703 int
16704 main ()
16705 {
16706 return atanh ();
16707   ;
16708   return 0;
16709 }
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712   ac_cv_lib_m_atanh=yes
16713 else
16714   ac_cv_lib_m_atanh=no
16715 fi
16716 rm -f core conftest.err conftest.$ac_objext \
16717     conftest$ac_exeext conftest.$ac_ext
16718 LIBS=$ac_check_lib_save_LIBS
16719 fi
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16721 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16722 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16723
16724 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16725
16726 fi
16727
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16729 $as_echo_n "checking for atanhl in -lm... " >&6; }
16730 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16731   $as_echo_n "(cached) " >&6
16732 else
16733   ac_check_lib_save_LIBS=$LIBS
16734 LIBS="-lm  $LIBS"
16735 if test x$gcc_no_link = xyes; then
16736   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16737 fi
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h.  */
16740
16741 /* Override any GCC internal prototype to avoid an error.
16742    Use char because int might match the return type of a GCC
16743    builtin and then its argument prototype would still apply.  */
16744 #ifdef __cplusplus
16745 extern "C"
16746 #endif
16747 char atanhl ();
16748 int
16749 main ()
16750 {
16751 return atanhl ();
16752   ;
16753   return 0;
16754 }
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757   ac_cv_lib_m_atanhl=yes
16758 else
16759   ac_cv_lib_m_atanhl=no
16760 fi
16761 rm -f core conftest.err conftest.$ac_objext \
16762     conftest$ac_exeext conftest.$ac_ext
16763 LIBS=$ac_check_lib_save_LIBS
16764 fi
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16766 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16767 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16768
16769 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16770
16771 fi
16772
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16774 $as_echo_n "checking for cargf in -lm... " >&6; }
16775 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16776   $as_echo_n "(cached) " >&6
16777 else
16778   ac_check_lib_save_LIBS=$LIBS
16779 LIBS="-lm  $LIBS"
16780 if test x$gcc_no_link = xyes; then
16781   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16782 fi
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h.  */
16785
16786 /* Override any GCC internal prototype to avoid an error.
16787    Use char because int might match the return type of a GCC
16788    builtin and then its argument prototype would still apply.  */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
16792 char cargf ();
16793 int
16794 main ()
16795 {
16796 return cargf ();
16797   ;
16798   return 0;
16799 }
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802   ac_cv_lib_m_cargf=yes
16803 else
16804   ac_cv_lib_m_cargf=no
16805 fi
16806 rm -f core conftest.err conftest.$ac_objext \
16807     conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_check_lib_save_LIBS
16809 fi
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16811 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16812 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16813
16814 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16815
16816 fi
16817
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16819 $as_echo_n "checking for carg in -lm... " >&6; }
16820 if test "${ac_cv_lib_m_carg+set}" = set; then :
16821   $as_echo_n "(cached) " >&6
16822 else
16823   ac_check_lib_save_LIBS=$LIBS
16824 LIBS="-lm  $LIBS"
16825 if test x$gcc_no_link = xyes; then
16826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 fi
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h.  */
16830
16831 /* Override any GCC internal prototype to avoid an error.
16832    Use char because int might match the return type of a GCC
16833    builtin and then its argument prototype would still apply.  */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 char carg ();
16838 int
16839 main ()
16840 {
16841 return carg ();
16842   ;
16843   return 0;
16844 }
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"; then :
16847   ac_cv_lib_m_carg=yes
16848 else
16849   ac_cv_lib_m_carg=no
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext \
16852     conftest$ac_exeext conftest.$ac_ext
16853 LIBS=$ac_check_lib_save_LIBS
16854 fi
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16856 $as_echo "$ac_cv_lib_m_carg" >&6; }
16857 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16858
16859 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16860
16861 fi
16862
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16864 $as_echo_n "checking for cargl in -lm... " >&6; }
16865 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16866   $as_echo_n "(cached) " >&6
16867 else
16868   ac_check_lib_save_LIBS=$LIBS
16869 LIBS="-lm  $LIBS"
16870 if test x$gcc_no_link = xyes; then
16871   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16872 fi
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h.  */
16875
16876 /* Override any GCC internal prototype to avoid an error.
16877    Use char because int might match the return type of a GCC
16878    builtin and then its argument prototype would still apply.  */
16879 #ifdef __cplusplus
16880 extern "C"
16881 #endif
16882 char cargl ();
16883 int
16884 main ()
16885 {
16886 return cargl ();
16887   ;
16888   return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892   ac_cv_lib_m_cargl=yes
16893 else
16894   ac_cv_lib_m_cargl=no
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext \
16897     conftest$ac_exeext conftest.$ac_ext
16898 LIBS=$ac_check_lib_save_LIBS
16899 fi
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16901 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16902 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16903
16904 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16905
16906 fi
16907
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16909 $as_echo_n "checking for ceilf in -lm... " >&6; }
16910 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16911   $as_echo_n "(cached) " >&6
16912 else
16913   ac_check_lib_save_LIBS=$LIBS
16914 LIBS="-lm  $LIBS"
16915 if test x$gcc_no_link = xyes; then
16916   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16917 fi
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h.  */
16920
16921 /* Override any GCC internal prototype to avoid an error.
16922    Use char because int might match the return type of a GCC
16923    builtin and then its argument prototype would still apply.  */
16924 #ifdef __cplusplus
16925 extern "C"
16926 #endif
16927 char ceilf ();
16928 int
16929 main ()
16930 {
16931 return ceilf ();
16932   ;
16933   return 0;
16934 }
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937   ac_cv_lib_m_ceilf=yes
16938 else
16939   ac_cv_lib_m_ceilf=no
16940 fi
16941 rm -f core conftest.err conftest.$ac_objext \
16942     conftest$ac_exeext conftest.$ac_ext
16943 LIBS=$ac_check_lib_save_LIBS
16944 fi
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
16946 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
16947 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
16948
16949 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
16950
16951 fi
16952
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
16954 $as_echo_n "checking for ceil in -lm... " >&6; }
16955 if test "${ac_cv_lib_m_ceil+set}" = set; then :
16956   $as_echo_n "(cached) " >&6
16957 else
16958   ac_check_lib_save_LIBS=$LIBS
16959 LIBS="-lm  $LIBS"
16960 if test x$gcc_no_link = xyes; then
16961   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16962 fi
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h.  */
16965
16966 /* Override any GCC internal prototype to avoid an error.
16967    Use char because int might match the return type of a GCC
16968    builtin and then its argument prototype would still apply.  */
16969 #ifdef __cplusplus
16970 extern "C"
16971 #endif
16972 char ceil ();
16973 int
16974 main ()
16975 {
16976 return ceil ();
16977   ;
16978   return 0;
16979 }
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982   ac_cv_lib_m_ceil=yes
16983 else
16984   ac_cv_lib_m_ceil=no
16985 fi
16986 rm -f core conftest.err conftest.$ac_objext \
16987     conftest$ac_exeext conftest.$ac_ext
16988 LIBS=$ac_check_lib_save_LIBS
16989 fi
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
16991 $as_echo "$ac_cv_lib_m_ceil" >&6; }
16992 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
16993
16994 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
16995
16996 fi
16997
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
16999 $as_echo_n "checking for ceill in -lm... " >&6; }
17000 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17001   $as_echo_n "(cached) " >&6
17002 else
17003   ac_check_lib_save_LIBS=$LIBS
17004 LIBS="-lm  $LIBS"
17005 if test x$gcc_no_link = xyes; then
17006   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 fi
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h.  */
17010
17011 /* Override any GCC internal prototype to avoid an error.
17012    Use char because int might match the return type of a GCC
17013    builtin and then its argument prototype would still apply.  */
17014 #ifdef __cplusplus
17015 extern "C"
17016 #endif
17017 char ceill ();
17018 int
17019 main ()
17020 {
17021 return ceill ();
17022   ;
17023   return 0;
17024 }
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"; then :
17027   ac_cv_lib_m_ceill=yes
17028 else
17029   ac_cv_lib_m_ceill=no
17030 fi
17031 rm -f core conftest.err conftest.$ac_objext \
17032     conftest$ac_exeext conftest.$ac_ext
17033 LIBS=$ac_check_lib_save_LIBS
17034 fi
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17036 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17037 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17038
17039 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17040
17041 fi
17042
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17044 $as_echo_n "checking for copysignf in -lm... " >&6; }
17045 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17046   $as_echo_n "(cached) " >&6
17047 else
17048   ac_check_lib_save_LIBS=$LIBS
17049 LIBS="-lm  $LIBS"
17050 if test x$gcc_no_link = xyes; then
17051   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17052 fi
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h.  */
17055
17056 /* Override any GCC internal prototype to avoid an error.
17057    Use char because int might match the return type of a GCC
17058    builtin and then its argument prototype would still apply.  */
17059 #ifdef __cplusplus
17060 extern "C"
17061 #endif
17062 char copysignf ();
17063 int
17064 main ()
17065 {
17066 return copysignf ();
17067   ;
17068   return 0;
17069 }
17070 _ACEOF
17071 if ac_fn_c_try_link "$LINENO"; then :
17072   ac_cv_lib_m_copysignf=yes
17073 else
17074   ac_cv_lib_m_copysignf=no
17075 fi
17076 rm -f core conftest.err conftest.$ac_objext \
17077     conftest$ac_exeext conftest.$ac_ext
17078 LIBS=$ac_check_lib_save_LIBS
17079 fi
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17081 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17082 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17083
17084 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17085
17086 fi
17087
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17089 $as_echo_n "checking for copysign in -lm... " >&6; }
17090 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17091   $as_echo_n "(cached) " >&6
17092 else
17093   ac_check_lib_save_LIBS=$LIBS
17094 LIBS="-lm  $LIBS"
17095 if test x$gcc_no_link = xyes; then
17096   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17097 fi
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h.  */
17100
17101 /* Override any GCC internal prototype to avoid an error.
17102    Use char because int might match the return type of a GCC
17103    builtin and then its argument prototype would still apply.  */
17104 #ifdef __cplusplus
17105 extern "C"
17106 #endif
17107 char copysign ();
17108 int
17109 main ()
17110 {
17111 return copysign ();
17112   ;
17113   return 0;
17114 }
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117   ac_cv_lib_m_copysign=yes
17118 else
17119   ac_cv_lib_m_copysign=no
17120 fi
17121 rm -f core conftest.err conftest.$ac_objext \
17122     conftest$ac_exeext conftest.$ac_ext
17123 LIBS=$ac_check_lib_save_LIBS
17124 fi
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17126 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17127 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17128
17129 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17130
17131 fi
17132
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17134 $as_echo_n "checking for copysignl in -lm... " >&6; }
17135 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17136   $as_echo_n "(cached) " >&6
17137 else
17138   ac_check_lib_save_LIBS=$LIBS
17139 LIBS="-lm  $LIBS"
17140 if test x$gcc_no_link = xyes; then
17141   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17142 fi
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h.  */
17145
17146 /* Override any GCC internal prototype to avoid an error.
17147    Use char because int might match the return type of a GCC
17148    builtin and then its argument prototype would still apply.  */
17149 #ifdef __cplusplus
17150 extern "C"
17151 #endif
17152 char copysignl ();
17153 int
17154 main ()
17155 {
17156 return copysignl ();
17157   ;
17158   return 0;
17159 }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162   ac_cv_lib_m_copysignl=yes
17163 else
17164   ac_cv_lib_m_copysignl=no
17165 fi
17166 rm -f core conftest.err conftest.$ac_objext \
17167     conftest$ac_exeext conftest.$ac_ext
17168 LIBS=$ac_check_lib_save_LIBS
17169 fi
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17171 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17172 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17173
17174 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17175
17176 fi
17177
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17179 $as_echo_n "checking for cosf in -lm... " >&6; }
17180 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17181   $as_echo_n "(cached) " >&6
17182 else
17183   ac_check_lib_save_LIBS=$LIBS
17184 LIBS="-lm  $LIBS"
17185 if test x$gcc_no_link = xyes; then
17186   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17187 fi
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h.  */
17190
17191 /* Override any GCC internal prototype to avoid an error.
17192    Use char because int might match the return type of a GCC
17193    builtin and then its argument prototype would still apply.  */
17194 #ifdef __cplusplus
17195 extern "C"
17196 #endif
17197 char cosf ();
17198 int
17199 main ()
17200 {
17201 return cosf ();
17202   ;
17203   return 0;
17204 }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207   ac_cv_lib_m_cosf=yes
17208 else
17209   ac_cv_lib_m_cosf=no
17210 fi
17211 rm -f core conftest.err conftest.$ac_objext \
17212     conftest$ac_exeext conftest.$ac_ext
17213 LIBS=$ac_check_lib_save_LIBS
17214 fi
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17216 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17217 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17218
17219 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17220
17221 fi
17222
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17224 $as_echo_n "checking for cos in -lm... " >&6; }
17225 if test "${ac_cv_lib_m_cos+set}" = set; then :
17226   $as_echo_n "(cached) " >&6
17227 else
17228   ac_check_lib_save_LIBS=$LIBS
17229 LIBS="-lm  $LIBS"
17230 if test x$gcc_no_link = xyes; then
17231   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17232 fi
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h.  */
17235
17236 /* Override any GCC internal prototype to avoid an error.
17237    Use char because int might match the return type of a GCC
17238    builtin and then its argument prototype would still apply.  */
17239 #ifdef __cplusplus
17240 extern "C"
17241 #endif
17242 char cos ();
17243 int
17244 main ()
17245 {
17246 return cos ();
17247   ;
17248   return 0;
17249 }
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252   ac_cv_lib_m_cos=yes
17253 else
17254   ac_cv_lib_m_cos=no
17255 fi
17256 rm -f core conftest.err conftest.$ac_objext \
17257     conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_lib_save_LIBS
17259 fi
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17261 $as_echo "$ac_cv_lib_m_cos" >&6; }
17262 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17263
17264 $as_echo "#define HAVE_COS 1" >>confdefs.h
17265
17266 fi
17267
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17269 $as_echo_n "checking for cosl in -lm... " >&6; }
17270 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17271   $as_echo_n "(cached) " >&6
17272 else
17273   ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-lm  $LIBS"
17275 if test x$gcc_no_link = xyes; then
17276   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17277 fi
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h.  */
17280
17281 /* Override any GCC internal prototype to avoid an error.
17282    Use char because int might match the return type of a GCC
17283    builtin and then its argument prototype would still apply.  */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char cosl ();
17288 int
17289 main ()
17290 {
17291 return cosl ();
17292   ;
17293   return 0;
17294 }
17295 _ACEOF
17296 if ac_fn_c_try_link "$LINENO"; then :
17297   ac_cv_lib_m_cosl=yes
17298 else
17299   ac_cv_lib_m_cosl=no
17300 fi
17301 rm -f core conftest.err conftest.$ac_objext \
17302     conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17304 fi
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17306 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17307 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17308
17309 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17310
17311 fi
17312
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17314 $as_echo_n "checking for ccosf in -lm... " >&6; }
17315 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17316   $as_echo_n "(cached) " >&6
17317 else
17318   ac_check_lib_save_LIBS=$LIBS
17319 LIBS="-lm  $LIBS"
17320 if test x$gcc_no_link = xyes; then
17321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17322 fi
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h.  */
17325
17326 /* Override any GCC internal prototype to avoid an error.
17327    Use char because int might match the return type of a GCC
17328    builtin and then its argument prototype would still apply.  */
17329 #ifdef __cplusplus
17330 extern "C"
17331 #endif
17332 char ccosf ();
17333 int
17334 main ()
17335 {
17336 return ccosf ();
17337   ;
17338   return 0;
17339 }
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342   ac_cv_lib_m_ccosf=yes
17343 else
17344   ac_cv_lib_m_ccosf=no
17345 fi
17346 rm -f core conftest.err conftest.$ac_objext \
17347     conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17349 fi
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17351 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17352 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17353
17354 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17355
17356 fi
17357
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17359 $as_echo_n "checking for ccos in -lm... " >&6; }
17360 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17361   $as_echo_n "(cached) " >&6
17362 else
17363   ac_check_lib_save_LIBS=$LIBS
17364 LIBS="-lm  $LIBS"
17365 if test x$gcc_no_link = xyes; then
17366   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17367 fi
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h.  */
17370
17371 /* Override any GCC internal prototype to avoid an error.
17372    Use char because int might match the return type of a GCC
17373    builtin and then its argument prototype would still apply.  */
17374 #ifdef __cplusplus
17375 extern "C"
17376 #endif
17377 char ccos ();
17378 int
17379 main ()
17380 {
17381 return ccos ();
17382   ;
17383   return 0;
17384 }
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387   ac_cv_lib_m_ccos=yes
17388 else
17389   ac_cv_lib_m_ccos=no
17390 fi
17391 rm -f core conftest.err conftest.$ac_objext \
17392     conftest$ac_exeext conftest.$ac_ext
17393 LIBS=$ac_check_lib_save_LIBS
17394 fi
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17396 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17397 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17398
17399 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17400
17401 fi
17402
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17404 $as_echo_n "checking for ccosl in -lm... " >&6; }
17405 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17406   $as_echo_n "(cached) " >&6
17407 else
17408   ac_check_lib_save_LIBS=$LIBS
17409 LIBS="-lm  $LIBS"
17410 if test x$gcc_no_link = xyes; then
17411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17412 fi
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h.  */
17415
17416 /* Override any GCC internal prototype to avoid an error.
17417    Use char because int might match the return type of a GCC
17418    builtin and then its argument prototype would still apply.  */
17419 #ifdef __cplusplus
17420 extern "C"
17421 #endif
17422 char ccosl ();
17423 int
17424 main ()
17425 {
17426 return ccosl ();
17427   ;
17428   return 0;
17429 }
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432   ac_cv_lib_m_ccosl=yes
17433 else
17434   ac_cv_lib_m_ccosl=no
17435 fi
17436 rm -f core conftest.err conftest.$ac_objext \
17437     conftest$ac_exeext conftest.$ac_ext
17438 LIBS=$ac_check_lib_save_LIBS
17439 fi
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17441 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17442 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17443
17444 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17445
17446 fi
17447
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17449 $as_echo_n "checking for coshf in -lm... " >&6; }
17450 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17451   $as_echo_n "(cached) " >&6
17452 else
17453   ac_check_lib_save_LIBS=$LIBS
17454 LIBS="-lm  $LIBS"
17455 if test x$gcc_no_link = xyes; then
17456   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17457 fi
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h.  */
17460
17461 /* Override any GCC internal prototype to avoid an error.
17462    Use char because int might match the return type of a GCC
17463    builtin and then its argument prototype would still apply.  */
17464 #ifdef __cplusplus
17465 extern "C"
17466 #endif
17467 char coshf ();
17468 int
17469 main ()
17470 {
17471 return coshf ();
17472   ;
17473   return 0;
17474 }
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"; then :
17477   ac_cv_lib_m_coshf=yes
17478 else
17479   ac_cv_lib_m_coshf=no
17480 fi
17481 rm -f core conftest.err conftest.$ac_objext \
17482     conftest$ac_exeext conftest.$ac_ext
17483 LIBS=$ac_check_lib_save_LIBS
17484 fi
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17486 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17487 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17488
17489 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17490
17491 fi
17492
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17494 $as_echo_n "checking for cosh in -lm... " >&6; }
17495 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17496   $as_echo_n "(cached) " >&6
17497 else
17498   ac_check_lib_save_LIBS=$LIBS
17499 LIBS="-lm  $LIBS"
17500 if test x$gcc_no_link = xyes; then
17501   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17502 fi
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h.  */
17505
17506 /* Override any GCC internal prototype to avoid an error.
17507    Use char because int might match the return type of a GCC
17508    builtin and then its argument prototype would still apply.  */
17509 #ifdef __cplusplus
17510 extern "C"
17511 #endif
17512 char cosh ();
17513 int
17514 main ()
17515 {
17516 return cosh ();
17517   ;
17518   return 0;
17519 }
17520 _ACEOF
17521 if ac_fn_c_try_link "$LINENO"; then :
17522   ac_cv_lib_m_cosh=yes
17523 else
17524   ac_cv_lib_m_cosh=no
17525 fi
17526 rm -f core conftest.err conftest.$ac_objext \
17527     conftest$ac_exeext conftest.$ac_ext
17528 LIBS=$ac_check_lib_save_LIBS
17529 fi
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17531 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17532 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17533
17534 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17535
17536 fi
17537
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17539 $as_echo_n "checking for coshl in -lm... " >&6; }
17540 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17541   $as_echo_n "(cached) " >&6
17542 else
17543   ac_check_lib_save_LIBS=$LIBS
17544 LIBS="-lm  $LIBS"
17545 if test x$gcc_no_link = xyes; then
17546   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17547 fi
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h.  */
17550
17551 /* Override any GCC internal prototype to avoid an error.
17552    Use char because int might match the return type of a GCC
17553    builtin and then its argument prototype would still apply.  */
17554 #ifdef __cplusplus
17555 extern "C"
17556 #endif
17557 char coshl ();
17558 int
17559 main ()
17560 {
17561 return coshl ();
17562   ;
17563   return 0;
17564 }
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567   ac_cv_lib_m_coshl=yes
17568 else
17569   ac_cv_lib_m_coshl=no
17570 fi
17571 rm -f core conftest.err conftest.$ac_objext \
17572     conftest$ac_exeext conftest.$ac_ext
17573 LIBS=$ac_check_lib_save_LIBS
17574 fi
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17576 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17577 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17578
17579 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17580
17581 fi
17582
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17584 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17585 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17586   $as_echo_n "(cached) " >&6
17587 else
17588   ac_check_lib_save_LIBS=$LIBS
17589 LIBS="-lm  $LIBS"
17590 if test x$gcc_no_link = xyes; then
17591   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17592 fi
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h.  */
17595
17596 /* Override any GCC internal prototype to avoid an error.
17597    Use char because int might match the return type of a GCC
17598    builtin and then its argument prototype would still apply.  */
17599 #ifdef __cplusplus
17600 extern "C"
17601 #endif
17602 char ccoshf ();
17603 int
17604 main ()
17605 {
17606 return ccoshf ();
17607   ;
17608   return 0;
17609 }
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"; then :
17612   ac_cv_lib_m_ccoshf=yes
17613 else
17614   ac_cv_lib_m_ccoshf=no
17615 fi
17616 rm -f core conftest.err conftest.$ac_objext \
17617     conftest$ac_exeext conftest.$ac_ext
17618 LIBS=$ac_check_lib_save_LIBS
17619 fi
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17621 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17622 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17623
17624 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17625
17626 fi
17627
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17629 $as_echo_n "checking for ccosh in -lm... " >&6; }
17630 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17631   $as_echo_n "(cached) " >&6
17632 else
17633   ac_check_lib_save_LIBS=$LIBS
17634 LIBS="-lm  $LIBS"
17635 if test x$gcc_no_link = xyes; then
17636   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17637 fi
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h.  */
17640
17641 /* Override any GCC internal prototype to avoid an error.
17642    Use char because int might match the return type of a GCC
17643    builtin and then its argument prototype would still apply.  */
17644 #ifdef __cplusplus
17645 extern "C"
17646 #endif
17647 char ccosh ();
17648 int
17649 main ()
17650 {
17651 return ccosh ();
17652   ;
17653   return 0;
17654 }
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"; then :
17657   ac_cv_lib_m_ccosh=yes
17658 else
17659   ac_cv_lib_m_ccosh=no
17660 fi
17661 rm -f core conftest.err conftest.$ac_objext \
17662     conftest$ac_exeext conftest.$ac_ext
17663 LIBS=$ac_check_lib_save_LIBS
17664 fi
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17666 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17667 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17668
17669 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17670
17671 fi
17672
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17674 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17675 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17676   $as_echo_n "(cached) " >&6
17677 else
17678   ac_check_lib_save_LIBS=$LIBS
17679 LIBS="-lm  $LIBS"
17680 if test x$gcc_no_link = xyes; then
17681   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17682 fi
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h.  */
17685
17686 /* Override any GCC internal prototype to avoid an error.
17687    Use char because int might match the return type of a GCC
17688    builtin and then its argument prototype would still apply.  */
17689 #ifdef __cplusplus
17690 extern "C"
17691 #endif
17692 char ccoshl ();
17693 int
17694 main ()
17695 {
17696 return ccoshl ();
17697   ;
17698   return 0;
17699 }
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"; then :
17702   ac_cv_lib_m_ccoshl=yes
17703 else
17704   ac_cv_lib_m_ccoshl=no
17705 fi
17706 rm -f core conftest.err conftest.$ac_objext \
17707     conftest$ac_exeext conftest.$ac_ext
17708 LIBS=$ac_check_lib_save_LIBS
17709 fi
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17711 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17712 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17713
17714 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17715
17716 fi
17717
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17719 $as_echo_n "checking for expf in -lm... " >&6; }
17720 if test "${ac_cv_lib_m_expf+set}" = set; then :
17721   $as_echo_n "(cached) " >&6
17722 else
17723   ac_check_lib_save_LIBS=$LIBS
17724 LIBS="-lm  $LIBS"
17725 if test x$gcc_no_link = xyes; then
17726   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17727 fi
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h.  */
17730
17731 /* Override any GCC internal prototype to avoid an error.
17732    Use char because int might match the return type of a GCC
17733    builtin and then its argument prototype would still apply.  */
17734 #ifdef __cplusplus
17735 extern "C"
17736 #endif
17737 char expf ();
17738 int
17739 main ()
17740 {
17741 return expf ();
17742   ;
17743   return 0;
17744 }
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747   ac_cv_lib_m_expf=yes
17748 else
17749   ac_cv_lib_m_expf=no
17750 fi
17751 rm -f core conftest.err conftest.$ac_objext \
17752     conftest$ac_exeext conftest.$ac_ext
17753 LIBS=$ac_check_lib_save_LIBS
17754 fi
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17756 $as_echo "$ac_cv_lib_m_expf" >&6; }
17757 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17758
17759 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17760
17761 fi
17762
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17764 $as_echo_n "checking for exp in -lm... " >&6; }
17765 if test "${ac_cv_lib_m_exp+set}" = set; then :
17766   $as_echo_n "(cached) " >&6
17767 else
17768   ac_check_lib_save_LIBS=$LIBS
17769 LIBS="-lm  $LIBS"
17770 if test x$gcc_no_link = xyes; then
17771   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17772 fi
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h.  */
17775
17776 /* Override any GCC internal prototype to avoid an error.
17777    Use char because int might match the return type of a GCC
17778    builtin and then its argument prototype would still apply.  */
17779 #ifdef __cplusplus
17780 extern "C"
17781 #endif
17782 char exp ();
17783 int
17784 main ()
17785 {
17786 return exp ();
17787   ;
17788   return 0;
17789 }
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792   ac_cv_lib_m_exp=yes
17793 else
17794   ac_cv_lib_m_exp=no
17795 fi
17796 rm -f core conftest.err conftest.$ac_objext \
17797     conftest$ac_exeext conftest.$ac_ext
17798 LIBS=$ac_check_lib_save_LIBS
17799 fi
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17801 $as_echo "$ac_cv_lib_m_exp" >&6; }
17802 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17803
17804 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17805
17806 fi
17807
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17809 $as_echo_n "checking for expl in -lm... " >&6; }
17810 if test "${ac_cv_lib_m_expl+set}" = set; then :
17811   $as_echo_n "(cached) " >&6
17812 else
17813   ac_check_lib_save_LIBS=$LIBS
17814 LIBS="-lm  $LIBS"
17815 if test x$gcc_no_link = xyes; then
17816   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17817 fi
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h.  */
17820
17821 /* Override any GCC internal prototype to avoid an error.
17822    Use char because int might match the return type of a GCC
17823    builtin and then its argument prototype would still apply.  */
17824 #ifdef __cplusplus
17825 extern "C"
17826 #endif
17827 char expl ();
17828 int
17829 main ()
17830 {
17831 return expl ();
17832   ;
17833   return 0;
17834 }
17835 _ACEOF
17836 if ac_fn_c_try_link "$LINENO"; then :
17837   ac_cv_lib_m_expl=yes
17838 else
17839   ac_cv_lib_m_expl=no
17840 fi
17841 rm -f core conftest.err conftest.$ac_objext \
17842     conftest$ac_exeext conftest.$ac_ext
17843 LIBS=$ac_check_lib_save_LIBS
17844 fi
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17846 $as_echo "$ac_cv_lib_m_expl" >&6; }
17847 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17848
17849 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17850
17851 fi
17852
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17854 $as_echo_n "checking for cexpf in -lm... " >&6; }
17855 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17856   $as_echo_n "(cached) " >&6
17857 else
17858   ac_check_lib_save_LIBS=$LIBS
17859 LIBS="-lm  $LIBS"
17860 if test x$gcc_no_link = xyes; then
17861   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17862 fi
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h.  */
17865
17866 /* Override any GCC internal prototype to avoid an error.
17867    Use char because int might match the return type of a GCC
17868    builtin and then its argument prototype would still apply.  */
17869 #ifdef __cplusplus
17870 extern "C"
17871 #endif
17872 char cexpf ();
17873 int
17874 main ()
17875 {
17876 return cexpf ();
17877   ;
17878   return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_link "$LINENO"; then :
17882   ac_cv_lib_m_cexpf=yes
17883 else
17884   ac_cv_lib_m_cexpf=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext \
17887     conftest$ac_exeext conftest.$ac_ext
17888 LIBS=$ac_check_lib_save_LIBS
17889 fi
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17891 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17892 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17893
17894 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17895
17896 fi
17897
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17899 $as_echo_n "checking for cexp in -lm... " >&6; }
17900 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17901   $as_echo_n "(cached) " >&6
17902 else
17903   ac_check_lib_save_LIBS=$LIBS
17904 LIBS="-lm  $LIBS"
17905 if test x$gcc_no_link = xyes; then
17906   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17907 fi
17908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h.  */
17910
17911 /* Override any GCC internal prototype to avoid an error.
17912    Use char because int might match the return type of a GCC
17913    builtin and then its argument prototype would still apply.  */
17914 #ifdef __cplusplus
17915 extern "C"
17916 #endif
17917 char cexp ();
17918 int
17919 main ()
17920 {
17921 return cexp ();
17922   ;
17923   return 0;
17924 }
17925 _ACEOF
17926 if ac_fn_c_try_link "$LINENO"; then :
17927   ac_cv_lib_m_cexp=yes
17928 else
17929   ac_cv_lib_m_cexp=no
17930 fi
17931 rm -f core conftest.err conftest.$ac_objext \
17932     conftest$ac_exeext conftest.$ac_ext
17933 LIBS=$ac_check_lib_save_LIBS
17934 fi
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17936 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17937 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
17938
17939 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
17940
17941 fi
17942
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
17944 $as_echo_n "checking for cexpl in -lm... " >&6; }
17945 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
17946   $as_echo_n "(cached) " >&6
17947 else
17948   ac_check_lib_save_LIBS=$LIBS
17949 LIBS="-lm  $LIBS"
17950 if test x$gcc_no_link = xyes; then
17951   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17952 fi
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h.  */
17955
17956 /* Override any GCC internal prototype to avoid an error.
17957    Use char because int might match the return type of a GCC
17958    builtin and then its argument prototype would still apply.  */
17959 #ifdef __cplusplus
17960 extern "C"
17961 #endif
17962 char cexpl ();
17963 int
17964 main ()
17965 {
17966 return cexpl ();
17967   ;
17968   return 0;
17969 }
17970 _ACEOF
17971 if ac_fn_c_try_link "$LINENO"; then :
17972   ac_cv_lib_m_cexpl=yes
17973 else
17974   ac_cv_lib_m_cexpl=no
17975 fi
17976 rm -f core conftest.err conftest.$ac_objext \
17977     conftest$ac_exeext conftest.$ac_ext
17978 LIBS=$ac_check_lib_save_LIBS
17979 fi
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
17981 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
17982 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
17983
17984 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
17985
17986 fi
17987
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
17989 $as_echo_n "checking for fabsf in -lm... " >&6; }
17990 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
17991   $as_echo_n "(cached) " >&6
17992 else
17993   ac_check_lib_save_LIBS=$LIBS
17994 LIBS="-lm  $LIBS"
17995 if test x$gcc_no_link = xyes; then
17996   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17997 fi
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h.  */
18000
18001 /* Override any GCC internal prototype to avoid an error.
18002    Use char because int might match the return type of a GCC
18003    builtin and then its argument prototype would still apply.  */
18004 #ifdef __cplusplus
18005 extern "C"
18006 #endif
18007 char fabsf ();
18008 int
18009 main ()
18010 {
18011 return fabsf ();
18012   ;
18013   return 0;
18014 }
18015 _ACEOF
18016 if ac_fn_c_try_link "$LINENO"; then :
18017   ac_cv_lib_m_fabsf=yes
18018 else
18019   ac_cv_lib_m_fabsf=no
18020 fi
18021 rm -f core conftest.err conftest.$ac_objext \
18022     conftest$ac_exeext conftest.$ac_ext
18023 LIBS=$ac_check_lib_save_LIBS
18024 fi
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18026 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18027 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18028
18029 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18030
18031 fi
18032
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18034 $as_echo_n "checking for fabs in -lm... " >&6; }
18035 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18036   $as_echo_n "(cached) " >&6
18037 else
18038   ac_check_lib_save_LIBS=$LIBS
18039 LIBS="-lm  $LIBS"
18040 if test x$gcc_no_link = xyes; then
18041   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18042 fi
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h.  */
18045
18046 /* Override any GCC internal prototype to avoid an error.
18047    Use char because int might match the return type of a GCC
18048    builtin and then its argument prototype would still apply.  */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 char fabs ();
18053 int
18054 main ()
18055 {
18056 return fabs ();
18057   ;
18058   return 0;
18059 }
18060 _ACEOF
18061 if ac_fn_c_try_link "$LINENO"; then :
18062   ac_cv_lib_m_fabs=yes
18063 else
18064   ac_cv_lib_m_fabs=no
18065 fi
18066 rm -f core conftest.err conftest.$ac_objext \
18067     conftest$ac_exeext conftest.$ac_ext
18068 LIBS=$ac_check_lib_save_LIBS
18069 fi
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18071 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18072 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18073
18074 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18075
18076 fi
18077
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18079 $as_echo_n "checking for fabsl in -lm... " >&6; }
18080 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18081   $as_echo_n "(cached) " >&6
18082 else
18083   ac_check_lib_save_LIBS=$LIBS
18084 LIBS="-lm  $LIBS"
18085 if test x$gcc_no_link = xyes; then
18086   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18087 fi
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h.  */
18090
18091 /* Override any GCC internal prototype to avoid an error.
18092    Use char because int might match the return type of a GCC
18093    builtin and then its argument prototype would still apply.  */
18094 #ifdef __cplusplus
18095 extern "C"
18096 #endif
18097 char fabsl ();
18098 int
18099 main ()
18100 {
18101 return fabsl ();
18102   ;
18103   return 0;
18104 }
18105 _ACEOF
18106 if ac_fn_c_try_link "$LINENO"; then :
18107   ac_cv_lib_m_fabsl=yes
18108 else
18109   ac_cv_lib_m_fabsl=no
18110 fi
18111 rm -f core conftest.err conftest.$ac_objext \
18112     conftest$ac_exeext conftest.$ac_ext
18113 LIBS=$ac_check_lib_save_LIBS
18114 fi
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18116 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18117 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18118
18119 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18120
18121 fi
18122
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18124 $as_echo_n "checking for cabsf in -lm... " >&6; }
18125 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18126   $as_echo_n "(cached) " >&6
18127 else
18128   ac_check_lib_save_LIBS=$LIBS
18129 LIBS="-lm  $LIBS"
18130 if test x$gcc_no_link = xyes; then
18131   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18132 fi
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h.  */
18135
18136 /* Override any GCC internal prototype to avoid an error.
18137    Use char because int might match the return type of a GCC
18138    builtin and then its argument prototype would still apply.  */
18139 #ifdef __cplusplus
18140 extern "C"
18141 #endif
18142 char cabsf ();
18143 int
18144 main ()
18145 {
18146 return cabsf ();
18147   ;
18148   return 0;
18149 }
18150 _ACEOF
18151 if ac_fn_c_try_link "$LINENO"; then :
18152   ac_cv_lib_m_cabsf=yes
18153 else
18154   ac_cv_lib_m_cabsf=no
18155 fi
18156 rm -f core conftest.err conftest.$ac_objext \
18157     conftest$ac_exeext conftest.$ac_ext
18158 LIBS=$ac_check_lib_save_LIBS
18159 fi
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18161 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18162 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18163
18164 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18165
18166 fi
18167
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18169 $as_echo_n "checking for cabs in -lm... " >&6; }
18170 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18171   $as_echo_n "(cached) " >&6
18172 else
18173   ac_check_lib_save_LIBS=$LIBS
18174 LIBS="-lm  $LIBS"
18175 if test x$gcc_no_link = xyes; then
18176   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18177 fi
18178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h.  */
18180
18181 /* Override any GCC internal prototype to avoid an error.
18182    Use char because int might match the return type of a GCC
18183    builtin and then its argument prototype would still apply.  */
18184 #ifdef __cplusplus
18185 extern "C"
18186 #endif
18187 char cabs ();
18188 int
18189 main ()
18190 {
18191 return cabs ();
18192   ;
18193   return 0;
18194 }
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"; then :
18197   ac_cv_lib_m_cabs=yes
18198 else
18199   ac_cv_lib_m_cabs=no
18200 fi
18201 rm -f core conftest.err conftest.$ac_objext \
18202     conftest$ac_exeext conftest.$ac_ext
18203 LIBS=$ac_check_lib_save_LIBS
18204 fi
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18206 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18207 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18208
18209 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18210
18211 fi
18212
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18214 $as_echo_n "checking for cabsl in -lm... " >&6; }
18215 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18216   $as_echo_n "(cached) " >&6
18217 else
18218   ac_check_lib_save_LIBS=$LIBS
18219 LIBS="-lm  $LIBS"
18220 if test x$gcc_no_link = xyes; then
18221   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18222 fi
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h.  */
18225
18226 /* Override any GCC internal prototype to avoid an error.
18227    Use char because int might match the return type of a GCC
18228    builtin and then its argument prototype would still apply.  */
18229 #ifdef __cplusplus
18230 extern "C"
18231 #endif
18232 char cabsl ();
18233 int
18234 main ()
18235 {
18236 return cabsl ();
18237   ;
18238   return 0;
18239 }
18240 _ACEOF
18241 if ac_fn_c_try_link "$LINENO"; then :
18242   ac_cv_lib_m_cabsl=yes
18243 else
18244   ac_cv_lib_m_cabsl=no
18245 fi
18246 rm -f core conftest.err conftest.$ac_objext \
18247     conftest$ac_exeext conftest.$ac_ext
18248 LIBS=$ac_check_lib_save_LIBS
18249 fi
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18251 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18252 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18253
18254 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18255
18256 fi
18257
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18259 $as_echo_n "checking for floorf in -lm... " >&6; }
18260 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18261   $as_echo_n "(cached) " >&6
18262 else
18263   ac_check_lib_save_LIBS=$LIBS
18264 LIBS="-lm  $LIBS"
18265 if test x$gcc_no_link = xyes; then
18266   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18267 fi
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h.  */
18270
18271 /* Override any GCC internal prototype to avoid an error.
18272    Use char because int might match the return type of a GCC
18273    builtin and then its argument prototype would still apply.  */
18274 #ifdef __cplusplus
18275 extern "C"
18276 #endif
18277 char floorf ();
18278 int
18279 main ()
18280 {
18281 return floorf ();
18282   ;
18283   return 0;
18284 }
18285 _ACEOF
18286 if ac_fn_c_try_link "$LINENO"; then :
18287   ac_cv_lib_m_floorf=yes
18288 else
18289   ac_cv_lib_m_floorf=no
18290 fi
18291 rm -f core conftest.err conftest.$ac_objext \
18292     conftest$ac_exeext conftest.$ac_ext
18293 LIBS=$ac_check_lib_save_LIBS
18294 fi
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18296 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18297 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18298
18299 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18300
18301 fi
18302
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18304 $as_echo_n "checking for floor in -lm... " >&6; }
18305 if test "${ac_cv_lib_m_floor+set}" = set; then :
18306   $as_echo_n "(cached) " >&6
18307 else
18308   ac_check_lib_save_LIBS=$LIBS
18309 LIBS="-lm  $LIBS"
18310 if test x$gcc_no_link = xyes; then
18311   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18312 fi
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h.  */
18315
18316 /* Override any GCC internal prototype to avoid an error.
18317    Use char because int might match the return type of a GCC
18318    builtin and then its argument prototype would still apply.  */
18319 #ifdef __cplusplus
18320 extern "C"
18321 #endif
18322 char floor ();
18323 int
18324 main ()
18325 {
18326 return floor ();
18327   ;
18328   return 0;
18329 }
18330 _ACEOF
18331 if ac_fn_c_try_link "$LINENO"; then :
18332   ac_cv_lib_m_floor=yes
18333 else
18334   ac_cv_lib_m_floor=no
18335 fi
18336 rm -f core conftest.err conftest.$ac_objext \
18337     conftest$ac_exeext conftest.$ac_ext
18338 LIBS=$ac_check_lib_save_LIBS
18339 fi
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18341 $as_echo "$ac_cv_lib_m_floor" >&6; }
18342 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18343
18344 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18345
18346 fi
18347
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18349 $as_echo_n "checking for floorl in -lm... " >&6; }
18350 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18351   $as_echo_n "(cached) " >&6
18352 else
18353   ac_check_lib_save_LIBS=$LIBS
18354 LIBS="-lm  $LIBS"
18355 if test x$gcc_no_link = xyes; then
18356   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18357 fi
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h.  */
18360
18361 /* Override any GCC internal prototype to avoid an error.
18362    Use char because int might match the return type of a GCC
18363    builtin and then its argument prototype would still apply.  */
18364 #ifdef __cplusplus
18365 extern "C"
18366 #endif
18367 char floorl ();
18368 int
18369 main ()
18370 {
18371 return floorl ();
18372   ;
18373   return 0;
18374 }
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"; then :
18377   ac_cv_lib_m_floorl=yes
18378 else
18379   ac_cv_lib_m_floorl=no
18380 fi
18381 rm -f core conftest.err conftest.$ac_objext \
18382     conftest$ac_exeext conftest.$ac_ext
18383 LIBS=$ac_check_lib_save_LIBS
18384 fi
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18386 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18387 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18388
18389 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18390
18391 fi
18392
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18394 $as_echo_n "checking for fmodf in -lm... " >&6; }
18395 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18396   $as_echo_n "(cached) " >&6
18397 else
18398   ac_check_lib_save_LIBS=$LIBS
18399 LIBS="-lm  $LIBS"
18400 if test x$gcc_no_link = xyes; then
18401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18402 fi
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h.  */
18405
18406 /* Override any GCC internal prototype to avoid an error.
18407    Use char because int might match the return type of a GCC
18408    builtin and then its argument prototype would still apply.  */
18409 #ifdef __cplusplus
18410 extern "C"
18411 #endif
18412 char fmodf ();
18413 int
18414 main ()
18415 {
18416 return fmodf ();
18417   ;
18418   return 0;
18419 }
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"; then :
18422   ac_cv_lib_m_fmodf=yes
18423 else
18424   ac_cv_lib_m_fmodf=no
18425 fi
18426 rm -f core conftest.err conftest.$ac_objext \
18427     conftest$ac_exeext conftest.$ac_ext
18428 LIBS=$ac_check_lib_save_LIBS
18429 fi
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18431 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18432 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18433
18434 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18435
18436 fi
18437
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18439 $as_echo_n "checking for fmod in -lm... " >&6; }
18440 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18441   $as_echo_n "(cached) " >&6
18442 else
18443   ac_check_lib_save_LIBS=$LIBS
18444 LIBS="-lm  $LIBS"
18445 if test x$gcc_no_link = xyes; then
18446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 fi
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h.  */
18450
18451 /* Override any GCC internal prototype to avoid an error.
18452    Use char because int might match the return type of a GCC
18453    builtin and then its argument prototype would still apply.  */
18454 #ifdef __cplusplus
18455 extern "C"
18456 #endif
18457 char fmod ();
18458 int
18459 main ()
18460 {
18461 return fmod ();
18462   ;
18463   return 0;
18464 }
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"; then :
18467   ac_cv_lib_m_fmod=yes
18468 else
18469   ac_cv_lib_m_fmod=no
18470 fi
18471 rm -f core conftest.err conftest.$ac_objext \
18472     conftest$ac_exeext conftest.$ac_ext
18473 LIBS=$ac_check_lib_save_LIBS
18474 fi
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18476 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18477 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18478
18479 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18480
18481 fi
18482
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18484 $as_echo_n "checking for fmodl in -lm... " >&6; }
18485 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18486   $as_echo_n "(cached) " >&6
18487 else
18488   ac_check_lib_save_LIBS=$LIBS
18489 LIBS="-lm  $LIBS"
18490 if test x$gcc_no_link = xyes; then
18491   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18492 fi
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h.  */
18495
18496 /* Override any GCC internal prototype to avoid an error.
18497    Use char because int might match the return type of a GCC
18498    builtin and then its argument prototype would still apply.  */
18499 #ifdef __cplusplus
18500 extern "C"
18501 #endif
18502 char fmodl ();
18503 int
18504 main ()
18505 {
18506 return fmodl ();
18507   ;
18508   return 0;
18509 }
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"; then :
18512   ac_cv_lib_m_fmodl=yes
18513 else
18514   ac_cv_lib_m_fmodl=no
18515 fi
18516 rm -f core conftest.err conftest.$ac_objext \
18517     conftest$ac_exeext conftest.$ac_ext
18518 LIBS=$ac_check_lib_save_LIBS
18519 fi
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18521 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18522 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18523
18524 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18525
18526 fi
18527
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18529 $as_echo_n "checking for frexpf in -lm... " >&6; }
18530 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18531   $as_echo_n "(cached) " >&6
18532 else
18533   ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-lm  $LIBS"
18535 if test x$gcc_no_link = xyes; then
18536   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18537 fi
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h.  */
18540
18541 /* Override any GCC internal prototype to avoid an error.
18542    Use char because int might match the return type of a GCC
18543    builtin and then its argument prototype would still apply.  */
18544 #ifdef __cplusplus
18545 extern "C"
18546 #endif
18547 char frexpf ();
18548 int
18549 main ()
18550 {
18551 return frexpf ();
18552   ;
18553   return 0;
18554 }
18555 _ACEOF
18556 if ac_fn_c_try_link "$LINENO"; then :
18557   ac_cv_lib_m_frexpf=yes
18558 else
18559   ac_cv_lib_m_frexpf=no
18560 fi
18561 rm -f core conftest.err conftest.$ac_objext \
18562     conftest$ac_exeext conftest.$ac_ext
18563 LIBS=$ac_check_lib_save_LIBS
18564 fi
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18566 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18567 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18568
18569 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18570
18571 fi
18572
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18574 $as_echo_n "checking for frexp in -lm... " >&6; }
18575 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18576   $as_echo_n "(cached) " >&6
18577 else
18578   ac_check_lib_save_LIBS=$LIBS
18579 LIBS="-lm  $LIBS"
18580 if test x$gcc_no_link = xyes; then
18581   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h.  */
18585
18586 /* Override any GCC internal prototype to avoid an error.
18587    Use char because int might match the return type of a GCC
18588    builtin and then its argument prototype would still apply.  */
18589 #ifdef __cplusplus
18590 extern "C"
18591 #endif
18592 char frexp ();
18593 int
18594 main ()
18595 {
18596 return frexp ();
18597   ;
18598   return 0;
18599 }
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"; then :
18602   ac_cv_lib_m_frexp=yes
18603 else
18604   ac_cv_lib_m_frexp=no
18605 fi
18606 rm -f core conftest.err conftest.$ac_objext \
18607     conftest$ac_exeext conftest.$ac_ext
18608 LIBS=$ac_check_lib_save_LIBS
18609 fi
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18611 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18612 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18613
18614 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18615
18616 fi
18617
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18619 $as_echo_n "checking for frexpl in -lm... " >&6; }
18620 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18621   $as_echo_n "(cached) " >&6
18622 else
18623   ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lm  $LIBS"
18625 if test x$gcc_no_link = xyes; then
18626   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18627 fi
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h.  */
18630
18631 /* Override any GCC internal prototype to avoid an error.
18632    Use char because int might match the return type of a GCC
18633    builtin and then its argument prototype would still apply.  */
18634 #ifdef __cplusplus
18635 extern "C"
18636 #endif
18637 char frexpl ();
18638 int
18639 main ()
18640 {
18641 return frexpl ();
18642   ;
18643   return 0;
18644 }
18645 _ACEOF
18646 if ac_fn_c_try_link "$LINENO"; then :
18647   ac_cv_lib_m_frexpl=yes
18648 else
18649   ac_cv_lib_m_frexpl=no
18650 fi
18651 rm -f core conftest.err conftest.$ac_objext \
18652     conftest$ac_exeext conftest.$ac_ext
18653 LIBS=$ac_check_lib_save_LIBS
18654 fi
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18656 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18657 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18658
18659 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18660
18661 fi
18662
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18664 $as_echo_n "checking for hypotf in -lm... " >&6; }
18665 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18666   $as_echo_n "(cached) " >&6
18667 else
18668   ac_check_lib_save_LIBS=$LIBS
18669 LIBS="-lm  $LIBS"
18670 if test x$gcc_no_link = xyes; then
18671   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18672 fi
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h.  */
18675
18676 /* Override any GCC internal prototype to avoid an error.
18677    Use char because int might match the return type of a GCC
18678    builtin and then its argument prototype would still apply.  */
18679 #ifdef __cplusplus
18680 extern "C"
18681 #endif
18682 char hypotf ();
18683 int
18684 main ()
18685 {
18686 return hypotf ();
18687   ;
18688   return 0;
18689 }
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"; then :
18692   ac_cv_lib_m_hypotf=yes
18693 else
18694   ac_cv_lib_m_hypotf=no
18695 fi
18696 rm -f core conftest.err conftest.$ac_objext \
18697     conftest$ac_exeext conftest.$ac_ext
18698 LIBS=$ac_check_lib_save_LIBS
18699 fi
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18701 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18702 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18703
18704 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18705
18706 fi
18707
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18709 $as_echo_n "checking for hypot in -lm... " >&6; }
18710 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18711   $as_echo_n "(cached) " >&6
18712 else
18713   ac_check_lib_save_LIBS=$LIBS
18714 LIBS="-lm  $LIBS"
18715 if test x$gcc_no_link = xyes; then
18716   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18717 fi
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h.  */
18720
18721 /* Override any GCC internal prototype to avoid an error.
18722    Use char because int might match the return type of a GCC
18723    builtin and then its argument prototype would still apply.  */
18724 #ifdef __cplusplus
18725 extern "C"
18726 #endif
18727 char hypot ();
18728 int
18729 main ()
18730 {
18731 return hypot ();
18732   ;
18733   return 0;
18734 }
18735 _ACEOF
18736 if ac_fn_c_try_link "$LINENO"; then :
18737   ac_cv_lib_m_hypot=yes
18738 else
18739   ac_cv_lib_m_hypot=no
18740 fi
18741 rm -f core conftest.err conftest.$ac_objext \
18742     conftest$ac_exeext conftest.$ac_ext
18743 LIBS=$ac_check_lib_save_LIBS
18744 fi
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18746 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18747 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18748
18749 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18750
18751 fi
18752
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18754 $as_echo_n "checking for hypotl in -lm... " >&6; }
18755 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18756   $as_echo_n "(cached) " >&6
18757 else
18758   ac_check_lib_save_LIBS=$LIBS
18759 LIBS="-lm  $LIBS"
18760 if test x$gcc_no_link = xyes; then
18761   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18762 fi
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h.  */
18765
18766 /* Override any GCC internal prototype to avoid an error.
18767    Use char because int might match the return type of a GCC
18768    builtin and then its argument prototype would still apply.  */
18769 #ifdef __cplusplus
18770 extern "C"
18771 #endif
18772 char hypotl ();
18773 int
18774 main ()
18775 {
18776 return hypotl ();
18777   ;
18778   return 0;
18779 }
18780 _ACEOF
18781 if ac_fn_c_try_link "$LINENO"; then :
18782   ac_cv_lib_m_hypotl=yes
18783 else
18784   ac_cv_lib_m_hypotl=no
18785 fi
18786 rm -f core conftest.err conftest.$ac_objext \
18787     conftest$ac_exeext conftest.$ac_ext
18788 LIBS=$ac_check_lib_save_LIBS
18789 fi
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18791 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18792 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18793
18794 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18795
18796 fi
18797
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18799 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18800 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18801   $as_echo_n "(cached) " >&6
18802 else
18803   ac_check_lib_save_LIBS=$LIBS
18804 LIBS="-lm  $LIBS"
18805 if test x$gcc_no_link = xyes; then
18806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18807 fi
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h.  */
18810
18811 /* Override any GCC internal prototype to avoid an error.
18812    Use char because int might match the return type of a GCC
18813    builtin and then its argument prototype would still apply.  */
18814 #ifdef __cplusplus
18815 extern "C"
18816 #endif
18817 char ldexpf ();
18818 int
18819 main ()
18820 {
18821 return ldexpf ();
18822   ;
18823   return 0;
18824 }
18825 _ACEOF
18826 if ac_fn_c_try_link "$LINENO"; then :
18827   ac_cv_lib_m_ldexpf=yes
18828 else
18829   ac_cv_lib_m_ldexpf=no
18830 fi
18831 rm -f core conftest.err conftest.$ac_objext \
18832     conftest$ac_exeext conftest.$ac_ext
18833 LIBS=$ac_check_lib_save_LIBS
18834 fi
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18836 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18837 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18838
18839 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18840
18841 fi
18842
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18844 $as_echo_n "checking for ldexp in -lm... " >&6; }
18845 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18846   $as_echo_n "(cached) " >&6
18847 else
18848   ac_check_lib_save_LIBS=$LIBS
18849 LIBS="-lm  $LIBS"
18850 if test x$gcc_no_link = xyes; then
18851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18852 fi
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h.  */
18855
18856 /* Override any GCC internal prototype to avoid an error.
18857    Use char because int might match the return type of a GCC
18858    builtin and then its argument prototype would still apply.  */
18859 #ifdef __cplusplus
18860 extern "C"
18861 #endif
18862 char ldexp ();
18863 int
18864 main ()
18865 {
18866 return ldexp ();
18867   ;
18868   return 0;
18869 }
18870 _ACEOF
18871 if ac_fn_c_try_link "$LINENO"; then :
18872   ac_cv_lib_m_ldexp=yes
18873 else
18874   ac_cv_lib_m_ldexp=no
18875 fi
18876 rm -f core conftest.err conftest.$ac_objext \
18877     conftest$ac_exeext conftest.$ac_ext
18878 LIBS=$ac_check_lib_save_LIBS
18879 fi
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18881 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18882 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18883
18884 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18885
18886 fi
18887
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18889 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18890 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18891   $as_echo_n "(cached) " >&6
18892 else
18893   ac_check_lib_save_LIBS=$LIBS
18894 LIBS="-lm  $LIBS"
18895 if test x$gcc_no_link = xyes; then
18896   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18897 fi
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h.  */
18900
18901 /* Override any GCC internal prototype to avoid an error.
18902    Use char because int might match the return type of a GCC
18903    builtin and then its argument prototype would still apply.  */
18904 #ifdef __cplusplus
18905 extern "C"
18906 #endif
18907 char ldexpl ();
18908 int
18909 main ()
18910 {
18911 return ldexpl ();
18912   ;
18913   return 0;
18914 }
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"; then :
18917   ac_cv_lib_m_ldexpl=yes
18918 else
18919   ac_cv_lib_m_ldexpl=no
18920 fi
18921 rm -f core conftest.err conftest.$ac_objext \
18922     conftest$ac_exeext conftest.$ac_ext
18923 LIBS=$ac_check_lib_save_LIBS
18924 fi
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18926 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18927 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18928
18929 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18930
18931 fi
18932
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18934 $as_echo_n "checking for logf in -lm... " >&6; }
18935 if test "${ac_cv_lib_m_logf+set}" = set; then :
18936   $as_echo_n "(cached) " >&6
18937 else
18938   ac_check_lib_save_LIBS=$LIBS
18939 LIBS="-lm  $LIBS"
18940 if test x$gcc_no_link = xyes; then
18941   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18942 fi
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h.  */
18945
18946 /* Override any GCC internal prototype to avoid an error.
18947    Use char because int might match the return type of a GCC
18948    builtin and then its argument prototype would still apply.  */
18949 #ifdef __cplusplus
18950 extern "C"
18951 #endif
18952 char logf ();
18953 int
18954 main ()
18955 {
18956 return logf ();
18957   ;
18958   return 0;
18959 }
18960 _ACEOF
18961 if ac_fn_c_try_link "$LINENO"; then :
18962   ac_cv_lib_m_logf=yes
18963 else
18964   ac_cv_lib_m_logf=no
18965 fi
18966 rm -f core conftest.err conftest.$ac_objext \
18967     conftest$ac_exeext conftest.$ac_ext
18968 LIBS=$ac_check_lib_save_LIBS
18969 fi
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
18971 $as_echo "$ac_cv_lib_m_logf" >&6; }
18972 if test "x$ac_cv_lib_m_logf" = x""yes; then :
18973
18974 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
18975
18976 fi
18977
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
18979 $as_echo_n "checking for log in -lm... " >&6; }
18980 if test "${ac_cv_lib_m_log+set}" = set; then :
18981   $as_echo_n "(cached) " >&6
18982 else
18983   ac_check_lib_save_LIBS=$LIBS
18984 LIBS="-lm  $LIBS"
18985 if test x$gcc_no_link = xyes; then
18986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18987 fi
18988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h.  */
18990
18991 /* Override any GCC internal prototype to avoid an error.
18992    Use char because int might match the return type of a GCC
18993    builtin and then its argument prototype would still apply.  */
18994 #ifdef __cplusplus
18995 extern "C"
18996 #endif
18997 char log ();
18998 int
18999 main ()
19000 {
19001 return log ();
19002   ;
19003   return 0;
19004 }
19005 _ACEOF
19006 if ac_fn_c_try_link "$LINENO"; then :
19007   ac_cv_lib_m_log=yes
19008 else
19009   ac_cv_lib_m_log=no
19010 fi
19011 rm -f core conftest.err conftest.$ac_objext \
19012     conftest$ac_exeext conftest.$ac_ext
19013 LIBS=$ac_check_lib_save_LIBS
19014 fi
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19016 $as_echo "$ac_cv_lib_m_log" >&6; }
19017 if test "x$ac_cv_lib_m_log" = x""yes; then :
19018
19019 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19020
19021 fi
19022
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19024 $as_echo_n "checking for logl in -lm... " >&6; }
19025 if test "${ac_cv_lib_m_logl+set}" = set; then :
19026   $as_echo_n "(cached) " >&6
19027 else
19028   ac_check_lib_save_LIBS=$LIBS
19029 LIBS="-lm  $LIBS"
19030 if test x$gcc_no_link = xyes; then
19031   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 fi
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h.  */
19035
19036 /* Override any GCC internal prototype to avoid an error.
19037    Use char because int might match the return type of a GCC
19038    builtin and then its argument prototype would still apply.  */
19039 #ifdef __cplusplus
19040 extern "C"
19041 #endif
19042 char logl ();
19043 int
19044 main ()
19045 {
19046 return logl ();
19047   ;
19048   return 0;
19049 }
19050 _ACEOF
19051 if ac_fn_c_try_link "$LINENO"; then :
19052   ac_cv_lib_m_logl=yes
19053 else
19054   ac_cv_lib_m_logl=no
19055 fi
19056 rm -f core conftest.err conftest.$ac_objext \
19057     conftest$ac_exeext conftest.$ac_ext
19058 LIBS=$ac_check_lib_save_LIBS
19059 fi
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19061 $as_echo "$ac_cv_lib_m_logl" >&6; }
19062 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19063
19064 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19065
19066 fi
19067
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19069 $as_echo_n "checking for clogf in -lm... " >&6; }
19070 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19071   $as_echo_n "(cached) " >&6
19072 else
19073   ac_check_lib_save_LIBS=$LIBS
19074 LIBS="-lm  $LIBS"
19075 if test x$gcc_no_link = xyes; then
19076   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19077 fi
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h.  */
19080
19081 /* Override any GCC internal prototype to avoid an error.
19082    Use char because int might match the return type of a GCC
19083    builtin and then its argument prototype would still apply.  */
19084 #ifdef __cplusplus
19085 extern "C"
19086 #endif
19087 char clogf ();
19088 int
19089 main ()
19090 {
19091 return clogf ();
19092   ;
19093   return 0;
19094 }
19095 _ACEOF
19096 if ac_fn_c_try_link "$LINENO"; then :
19097   ac_cv_lib_m_clogf=yes
19098 else
19099   ac_cv_lib_m_clogf=no
19100 fi
19101 rm -f core conftest.err conftest.$ac_objext \
19102     conftest$ac_exeext conftest.$ac_ext
19103 LIBS=$ac_check_lib_save_LIBS
19104 fi
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19106 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19107 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19108
19109 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19110
19111 fi
19112
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19114 $as_echo_n "checking for clog in -lm... " >&6; }
19115 if test "${ac_cv_lib_m_clog+set}" = set; then :
19116   $as_echo_n "(cached) " >&6
19117 else
19118   ac_check_lib_save_LIBS=$LIBS
19119 LIBS="-lm  $LIBS"
19120 if test x$gcc_no_link = xyes; then
19121   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19122 fi
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h.  */
19125
19126 /* Override any GCC internal prototype to avoid an error.
19127    Use char because int might match the return type of a GCC
19128    builtin and then its argument prototype would still apply.  */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char clog ();
19133 int
19134 main ()
19135 {
19136 return clog ();
19137   ;
19138   return 0;
19139 }
19140 _ACEOF
19141 if ac_fn_c_try_link "$LINENO"; then :
19142   ac_cv_lib_m_clog=yes
19143 else
19144   ac_cv_lib_m_clog=no
19145 fi
19146 rm -f core conftest.err conftest.$ac_objext \
19147     conftest$ac_exeext conftest.$ac_ext
19148 LIBS=$ac_check_lib_save_LIBS
19149 fi
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19151 $as_echo "$ac_cv_lib_m_clog" >&6; }
19152 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19153
19154 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19155
19156 fi
19157
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19159 $as_echo_n "checking for clogl in -lm... " >&6; }
19160 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19161   $as_echo_n "(cached) " >&6
19162 else
19163   ac_check_lib_save_LIBS=$LIBS
19164 LIBS="-lm  $LIBS"
19165 if test x$gcc_no_link = xyes; then
19166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19167 fi
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h.  */
19170
19171 /* Override any GCC internal prototype to avoid an error.
19172    Use char because int might match the return type of a GCC
19173    builtin and then its argument prototype would still apply.  */
19174 #ifdef __cplusplus
19175 extern "C"
19176 #endif
19177 char clogl ();
19178 int
19179 main ()
19180 {
19181 return clogl ();
19182   ;
19183   return 0;
19184 }
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"; then :
19187   ac_cv_lib_m_clogl=yes
19188 else
19189   ac_cv_lib_m_clogl=no
19190 fi
19191 rm -f core conftest.err conftest.$ac_objext \
19192     conftest$ac_exeext conftest.$ac_ext
19193 LIBS=$ac_check_lib_save_LIBS
19194 fi
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19196 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19197 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19198
19199 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19200
19201 fi
19202
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19204 $as_echo_n "checking for log10f in -lm... " >&6; }
19205 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19206   $as_echo_n "(cached) " >&6
19207 else
19208   ac_check_lib_save_LIBS=$LIBS
19209 LIBS="-lm  $LIBS"
19210 if test x$gcc_no_link = xyes; then
19211   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19212 fi
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h.  */
19215
19216 /* Override any GCC internal prototype to avoid an error.
19217    Use char because int might match the return type of a GCC
19218    builtin and then its argument prototype would still apply.  */
19219 #ifdef __cplusplus
19220 extern "C"
19221 #endif
19222 char log10f ();
19223 int
19224 main ()
19225 {
19226 return log10f ();
19227   ;
19228   return 0;
19229 }
19230 _ACEOF
19231 if ac_fn_c_try_link "$LINENO"; then :
19232   ac_cv_lib_m_log10f=yes
19233 else
19234   ac_cv_lib_m_log10f=no
19235 fi
19236 rm -f core conftest.err conftest.$ac_objext \
19237     conftest$ac_exeext conftest.$ac_ext
19238 LIBS=$ac_check_lib_save_LIBS
19239 fi
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19241 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19242 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19243
19244 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19245
19246 fi
19247
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19249 $as_echo_n "checking for log10 in -lm... " >&6; }
19250 if test "${ac_cv_lib_m_log10+set}" = set; then :
19251   $as_echo_n "(cached) " >&6
19252 else
19253   ac_check_lib_save_LIBS=$LIBS
19254 LIBS="-lm  $LIBS"
19255 if test x$gcc_no_link = xyes; then
19256   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19257 fi
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h.  */
19260
19261 /* Override any GCC internal prototype to avoid an error.
19262    Use char because int might match the return type of a GCC
19263    builtin and then its argument prototype would still apply.  */
19264 #ifdef __cplusplus
19265 extern "C"
19266 #endif
19267 char log10 ();
19268 int
19269 main ()
19270 {
19271 return log10 ();
19272   ;
19273   return 0;
19274 }
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"; then :
19277   ac_cv_lib_m_log10=yes
19278 else
19279   ac_cv_lib_m_log10=no
19280 fi
19281 rm -f core conftest.err conftest.$ac_objext \
19282     conftest$ac_exeext conftest.$ac_ext
19283 LIBS=$ac_check_lib_save_LIBS
19284 fi
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19286 $as_echo "$ac_cv_lib_m_log10" >&6; }
19287 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19288
19289 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19290
19291 fi
19292
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19294 $as_echo_n "checking for log10l in -lm... " >&6; }
19295 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19296   $as_echo_n "(cached) " >&6
19297 else
19298   ac_check_lib_save_LIBS=$LIBS
19299 LIBS="-lm  $LIBS"
19300 if test x$gcc_no_link = xyes; then
19301   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19302 fi
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h.  */
19305
19306 /* Override any GCC internal prototype to avoid an error.
19307    Use char because int might match the return type of a GCC
19308    builtin and then its argument prototype would still apply.  */
19309 #ifdef __cplusplus
19310 extern "C"
19311 #endif
19312 char log10l ();
19313 int
19314 main ()
19315 {
19316 return log10l ();
19317   ;
19318   return 0;
19319 }
19320 _ACEOF
19321 if ac_fn_c_try_link "$LINENO"; then :
19322   ac_cv_lib_m_log10l=yes
19323 else
19324   ac_cv_lib_m_log10l=no
19325 fi
19326 rm -f core conftest.err conftest.$ac_objext \
19327     conftest$ac_exeext conftest.$ac_ext
19328 LIBS=$ac_check_lib_save_LIBS
19329 fi
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19331 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19332 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19333
19334 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19335
19336 fi
19337
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19339 $as_echo_n "checking for clog10f in -lm... " >&6; }
19340 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19341   $as_echo_n "(cached) " >&6
19342 else
19343   ac_check_lib_save_LIBS=$LIBS
19344 LIBS="-lm  $LIBS"
19345 if test x$gcc_no_link = xyes; then
19346   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19347 fi
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h.  */
19350
19351 /* Override any GCC internal prototype to avoid an error.
19352    Use char because int might match the return type of a GCC
19353    builtin and then its argument prototype would still apply.  */
19354 #ifdef __cplusplus
19355 extern "C"
19356 #endif
19357 char clog10f ();
19358 int
19359 main ()
19360 {
19361 return clog10f ();
19362   ;
19363   return 0;
19364 }
19365 _ACEOF
19366 if ac_fn_c_try_link "$LINENO"; then :
19367   ac_cv_lib_m_clog10f=yes
19368 else
19369   ac_cv_lib_m_clog10f=no
19370 fi
19371 rm -f core conftest.err conftest.$ac_objext \
19372     conftest$ac_exeext conftest.$ac_ext
19373 LIBS=$ac_check_lib_save_LIBS
19374 fi
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19376 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19377 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19378
19379 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19380
19381 fi
19382
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19384 $as_echo_n "checking for clog10 in -lm... " >&6; }
19385 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19386   $as_echo_n "(cached) " >&6
19387 else
19388   ac_check_lib_save_LIBS=$LIBS
19389 LIBS="-lm  $LIBS"
19390 if test x$gcc_no_link = xyes; then
19391   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19392 fi
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h.  */
19395
19396 /* Override any GCC internal prototype to avoid an error.
19397    Use char because int might match the return type of a GCC
19398    builtin and then its argument prototype would still apply.  */
19399 #ifdef __cplusplus
19400 extern "C"
19401 #endif
19402 char clog10 ();
19403 int
19404 main ()
19405 {
19406 return clog10 ();
19407   ;
19408   return 0;
19409 }
19410 _ACEOF
19411 if ac_fn_c_try_link "$LINENO"; then :
19412   ac_cv_lib_m_clog10=yes
19413 else
19414   ac_cv_lib_m_clog10=no
19415 fi
19416 rm -f core conftest.err conftest.$ac_objext \
19417     conftest$ac_exeext conftest.$ac_ext
19418 LIBS=$ac_check_lib_save_LIBS
19419 fi
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19421 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19422 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19423
19424 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19425
19426 fi
19427
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19429 $as_echo_n "checking for clog10l in -lm... " >&6; }
19430 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19431   $as_echo_n "(cached) " >&6
19432 else
19433   ac_check_lib_save_LIBS=$LIBS
19434 LIBS="-lm  $LIBS"
19435 if test x$gcc_no_link = xyes; then
19436   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19437 fi
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h.  */
19440
19441 /* Override any GCC internal prototype to avoid an error.
19442    Use char because int might match the return type of a GCC
19443    builtin and then its argument prototype would still apply.  */
19444 #ifdef __cplusplus
19445 extern "C"
19446 #endif
19447 char clog10l ();
19448 int
19449 main ()
19450 {
19451 return clog10l ();
19452   ;
19453   return 0;
19454 }
19455 _ACEOF
19456 if ac_fn_c_try_link "$LINENO"; then :
19457   ac_cv_lib_m_clog10l=yes
19458 else
19459   ac_cv_lib_m_clog10l=no
19460 fi
19461 rm -f core conftest.err conftest.$ac_objext \
19462     conftest$ac_exeext conftest.$ac_ext
19463 LIBS=$ac_check_lib_save_LIBS
19464 fi
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19466 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19467 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19468
19469 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19470
19471 fi
19472
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19474 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19475 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19476   $as_echo_n "(cached) " >&6
19477 else
19478   ac_check_lib_save_LIBS=$LIBS
19479 LIBS="-lm  $LIBS"
19480 if test x$gcc_no_link = xyes; then
19481   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19482 fi
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h.  */
19485
19486 /* Override any GCC internal prototype to avoid an error.
19487    Use char because int might match the return type of a GCC
19488    builtin and then its argument prototype would still apply.  */
19489 #ifdef __cplusplus
19490 extern "C"
19491 #endif
19492 char nextafterf ();
19493 int
19494 main ()
19495 {
19496 return nextafterf ();
19497   ;
19498   return 0;
19499 }
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"; then :
19502   ac_cv_lib_m_nextafterf=yes
19503 else
19504   ac_cv_lib_m_nextafterf=no
19505 fi
19506 rm -f core conftest.err conftest.$ac_objext \
19507     conftest$ac_exeext conftest.$ac_ext
19508 LIBS=$ac_check_lib_save_LIBS
19509 fi
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19511 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19512 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19513
19514 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19515
19516 fi
19517
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19519 $as_echo_n "checking for nextafter in -lm... " >&6; }
19520 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19521   $as_echo_n "(cached) " >&6
19522 else
19523   ac_check_lib_save_LIBS=$LIBS
19524 LIBS="-lm  $LIBS"
19525 if test x$gcc_no_link = xyes; then
19526   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 fi
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h.  */
19530
19531 /* Override any GCC internal prototype to avoid an error.
19532    Use char because int might match the return type of a GCC
19533    builtin and then its argument prototype would still apply.  */
19534 #ifdef __cplusplus
19535 extern "C"
19536 #endif
19537 char nextafter ();
19538 int
19539 main ()
19540 {
19541 return nextafter ();
19542   ;
19543   return 0;
19544 }
19545 _ACEOF
19546 if ac_fn_c_try_link "$LINENO"; then :
19547   ac_cv_lib_m_nextafter=yes
19548 else
19549   ac_cv_lib_m_nextafter=no
19550 fi
19551 rm -f core conftest.err conftest.$ac_objext \
19552     conftest$ac_exeext conftest.$ac_ext
19553 LIBS=$ac_check_lib_save_LIBS
19554 fi
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19556 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19557 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19558
19559 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19560
19561 fi
19562
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19564 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19565 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19566   $as_echo_n "(cached) " >&6
19567 else
19568   ac_check_lib_save_LIBS=$LIBS
19569 LIBS="-lm  $LIBS"
19570 if test x$gcc_no_link = xyes; then
19571   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19572 fi
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h.  */
19575
19576 /* Override any GCC internal prototype to avoid an error.
19577    Use char because int might match the return type of a GCC
19578    builtin and then its argument prototype would still apply.  */
19579 #ifdef __cplusplus
19580 extern "C"
19581 #endif
19582 char nextafterl ();
19583 int
19584 main ()
19585 {
19586 return nextafterl ();
19587   ;
19588   return 0;
19589 }
19590 _ACEOF
19591 if ac_fn_c_try_link "$LINENO"; then :
19592   ac_cv_lib_m_nextafterl=yes
19593 else
19594   ac_cv_lib_m_nextafterl=no
19595 fi
19596 rm -f core conftest.err conftest.$ac_objext \
19597     conftest$ac_exeext conftest.$ac_ext
19598 LIBS=$ac_check_lib_save_LIBS
19599 fi
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19601 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19602 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19603
19604 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19605
19606 fi
19607
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19609 $as_echo_n "checking for powf in -lm... " >&6; }
19610 if test "${ac_cv_lib_m_powf+set}" = set; then :
19611   $as_echo_n "(cached) " >&6
19612 else
19613   ac_check_lib_save_LIBS=$LIBS
19614 LIBS="-lm  $LIBS"
19615 if test x$gcc_no_link = xyes; then
19616   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 fi
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h.  */
19620
19621 /* Override any GCC internal prototype to avoid an error.
19622    Use char because int might match the return type of a GCC
19623    builtin and then its argument prototype would still apply.  */
19624 #ifdef __cplusplus
19625 extern "C"
19626 #endif
19627 char powf ();
19628 int
19629 main ()
19630 {
19631 return powf ();
19632   ;
19633   return 0;
19634 }
19635 _ACEOF
19636 if ac_fn_c_try_link "$LINENO"; then :
19637   ac_cv_lib_m_powf=yes
19638 else
19639   ac_cv_lib_m_powf=no
19640 fi
19641 rm -f core conftest.err conftest.$ac_objext \
19642     conftest$ac_exeext conftest.$ac_ext
19643 LIBS=$ac_check_lib_save_LIBS
19644 fi
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19646 $as_echo "$ac_cv_lib_m_powf" >&6; }
19647 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19648
19649 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19650
19651 fi
19652
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19654 $as_echo_n "checking for pow in -lm... " >&6; }
19655 if test "${ac_cv_lib_m_pow+set}" = set; then :
19656   $as_echo_n "(cached) " >&6
19657 else
19658   ac_check_lib_save_LIBS=$LIBS
19659 LIBS="-lm  $LIBS"
19660 if test x$gcc_no_link = xyes; then
19661   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19662 fi
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h.  */
19665
19666 /* Override any GCC internal prototype to avoid an error.
19667    Use char because int might match the return type of a GCC
19668    builtin and then its argument prototype would still apply.  */
19669 #ifdef __cplusplus
19670 extern "C"
19671 #endif
19672 char pow ();
19673 int
19674 main ()
19675 {
19676 return pow ();
19677   ;
19678   return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_c_try_link "$LINENO"; then :
19682   ac_cv_lib_m_pow=yes
19683 else
19684   ac_cv_lib_m_pow=no
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext \
19687     conftest$ac_exeext conftest.$ac_ext
19688 LIBS=$ac_check_lib_save_LIBS
19689 fi
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19691 $as_echo "$ac_cv_lib_m_pow" >&6; }
19692 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19693
19694 $as_echo "#define HAVE_POW 1" >>confdefs.h
19695
19696 fi
19697
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19699 $as_echo_n "checking for powl in -lm... " >&6; }
19700 if test "${ac_cv_lib_m_powl+set}" = set; then :
19701   $as_echo_n "(cached) " >&6
19702 else
19703   ac_check_lib_save_LIBS=$LIBS
19704 LIBS="-lm  $LIBS"
19705 if test x$gcc_no_link = xyes; then
19706   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19707 fi
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h.  */
19710
19711 /* Override any GCC internal prototype to avoid an error.
19712    Use char because int might match the return type of a GCC
19713    builtin and then its argument prototype would still apply.  */
19714 #ifdef __cplusplus
19715 extern "C"
19716 #endif
19717 char powl ();
19718 int
19719 main ()
19720 {
19721 return powl ();
19722   ;
19723   return 0;
19724 }
19725 _ACEOF
19726 if ac_fn_c_try_link "$LINENO"; then :
19727   ac_cv_lib_m_powl=yes
19728 else
19729   ac_cv_lib_m_powl=no
19730 fi
19731 rm -f core conftest.err conftest.$ac_objext \
19732     conftest$ac_exeext conftest.$ac_ext
19733 LIBS=$ac_check_lib_save_LIBS
19734 fi
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19736 $as_echo "$ac_cv_lib_m_powl" >&6; }
19737 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19738
19739 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19740
19741 fi
19742
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19744 $as_echo_n "checking for cpowf in -lm... " >&6; }
19745 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19746   $as_echo_n "(cached) " >&6
19747 else
19748   ac_check_lib_save_LIBS=$LIBS
19749 LIBS="-lm  $LIBS"
19750 if test x$gcc_no_link = xyes; then
19751   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 fi
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h.  */
19755
19756 /* Override any GCC internal prototype to avoid an error.
19757    Use char because int might match the return type of a GCC
19758    builtin and then its argument prototype would still apply.  */
19759 #ifdef __cplusplus
19760 extern "C"
19761 #endif
19762 char cpowf ();
19763 int
19764 main ()
19765 {
19766 return cpowf ();
19767   ;
19768   return 0;
19769 }
19770 _ACEOF
19771 if ac_fn_c_try_link "$LINENO"; then :
19772   ac_cv_lib_m_cpowf=yes
19773 else
19774   ac_cv_lib_m_cpowf=no
19775 fi
19776 rm -f core conftest.err conftest.$ac_objext \
19777     conftest$ac_exeext conftest.$ac_ext
19778 LIBS=$ac_check_lib_save_LIBS
19779 fi
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19781 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19782 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19783
19784 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19785
19786 fi
19787
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19789 $as_echo_n "checking for cpow in -lm... " >&6; }
19790 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19791   $as_echo_n "(cached) " >&6
19792 else
19793   ac_check_lib_save_LIBS=$LIBS
19794 LIBS="-lm  $LIBS"
19795 if test x$gcc_no_link = xyes; then
19796   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19797 fi
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h.  */
19800
19801 /* Override any GCC internal prototype to avoid an error.
19802    Use char because int might match the return type of a GCC
19803    builtin and then its argument prototype would still apply.  */
19804 #ifdef __cplusplus
19805 extern "C"
19806 #endif
19807 char cpow ();
19808 int
19809 main ()
19810 {
19811 return cpow ();
19812   ;
19813   return 0;
19814 }
19815 _ACEOF
19816 if ac_fn_c_try_link "$LINENO"; then :
19817   ac_cv_lib_m_cpow=yes
19818 else
19819   ac_cv_lib_m_cpow=no
19820 fi
19821 rm -f core conftest.err conftest.$ac_objext \
19822     conftest$ac_exeext conftest.$ac_ext
19823 LIBS=$ac_check_lib_save_LIBS
19824 fi
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19826 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19827 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19828
19829 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19830
19831 fi
19832
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19834 $as_echo_n "checking for cpowl in -lm... " >&6; }
19835 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19836   $as_echo_n "(cached) " >&6
19837 else
19838   ac_check_lib_save_LIBS=$LIBS
19839 LIBS="-lm  $LIBS"
19840 if test x$gcc_no_link = xyes; then
19841   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19842 fi
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h.  */
19845
19846 /* Override any GCC internal prototype to avoid an error.
19847    Use char because int might match the return type of a GCC
19848    builtin and then its argument prototype would still apply.  */
19849 #ifdef __cplusplus
19850 extern "C"
19851 #endif
19852 char cpowl ();
19853 int
19854 main ()
19855 {
19856 return cpowl ();
19857   ;
19858   return 0;
19859 }
19860 _ACEOF
19861 if ac_fn_c_try_link "$LINENO"; then :
19862   ac_cv_lib_m_cpowl=yes
19863 else
19864   ac_cv_lib_m_cpowl=no
19865 fi
19866 rm -f core conftest.err conftest.$ac_objext \
19867     conftest$ac_exeext conftest.$ac_ext
19868 LIBS=$ac_check_lib_save_LIBS
19869 fi
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19871 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19872 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19873
19874 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19875
19876 fi
19877
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19879 $as_echo_n "checking for roundf in -lm... " >&6; }
19880 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19881   $as_echo_n "(cached) " >&6
19882 else
19883   ac_check_lib_save_LIBS=$LIBS
19884 LIBS="-lm  $LIBS"
19885 if test x$gcc_no_link = xyes; then
19886   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19887 fi
19888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h.  */
19890
19891 /* Override any GCC internal prototype to avoid an error.
19892    Use char because int might match the return type of a GCC
19893    builtin and then its argument prototype would still apply.  */
19894 #ifdef __cplusplus
19895 extern "C"
19896 #endif
19897 char roundf ();
19898 int
19899 main ()
19900 {
19901 return roundf ();
19902   ;
19903   return 0;
19904 }
19905 _ACEOF
19906 if ac_fn_c_try_link "$LINENO"; then :
19907   ac_cv_lib_m_roundf=yes
19908 else
19909   ac_cv_lib_m_roundf=no
19910 fi
19911 rm -f core conftest.err conftest.$ac_objext \
19912     conftest$ac_exeext conftest.$ac_ext
19913 LIBS=$ac_check_lib_save_LIBS
19914 fi
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19916 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19917 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19918
19919 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19920
19921 fi
19922
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19924 $as_echo_n "checking for round in -lm... " >&6; }
19925 if test "${ac_cv_lib_m_round+set}" = set; then :
19926   $as_echo_n "(cached) " >&6
19927 else
19928   ac_check_lib_save_LIBS=$LIBS
19929 LIBS="-lm  $LIBS"
19930 if test x$gcc_no_link = xyes; then
19931   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19932 fi
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h.  */
19935
19936 /* Override any GCC internal prototype to avoid an error.
19937    Use char because int might match the return type of a GCC
19938    builtin and then its argument prototype would still apply.  */
19939 #ifdef __cplusplus
19940 extern "C"
19941 #endif
19942 char round ();
19943 int
19944 main ()
19945 {
19946 return round ();
19947   ;
19948   return 0;
19949 }
19950 _ACEOF
19951 if ac_fn_c_try_link "$LINENO"; then :
19952   ac_cv_lib_m_round=yes
19953 else
19954   ac_cv_lib_m_round=no
19955 fi
19956 rm -f core conftest.err conftest.$ac_objext \
19957     conftest$ac_exeext conftest.$ac_ext
19958 LIBS=$ac_check_lib_save_LIBS
19959 fi
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
19961 $as_echo "$ac_cv_lib_m_round" >&6; }
19962 if test "x$ac_cv_lib_m_round" = x""yes; then :
19963
19964 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
19965
19966 fi
19967
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
19969 $as_echo_n "checking for roundl in -lm... " >&6; }
19970 if test "${ac_cv_lib_m_roundl+set}" = set; then :
19971   $as_echo_n "(cached) " >&6
19972 else
19973   ac_check_lib_save_LIBS=$LIBS
19974 LIBS="-lm  $LIBS"
19975 if test x$gcc_no_link = xyes; then
19976   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19977 fi
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h.  */
19980
19981 /* Override any GCC internal prototype to avoid an error.
19982    Use char because int might match the return type of a GCC
19983    builtin and then its argument prototype would still apply.  */
19984 #ifdef __cplusplus
19985 extern "C"
19986 #endif
19987 char roundl ();
19988 int
19989 main ()
19990 {
19991 return roundl ();
19992   ;
19993   return 0;
19994 }
19995 _ACEOF
19996 if ac_fn_c_try_link "$LINENO"; then :
19997   ac_cv_lib_m_roundl=yes
19998 else
19999   ac_cv_lib_m_roundl=no
20000 fi
20001 rm -f core conftest.err conftest.$ac_objext \
20002     conftest$ac_exeext conftest.$ac_ext
20003 LIBS=$ac_check_lib_save_LIBS
20004 fi
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20006 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20007 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20008
20009 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20010
20011 fi
20012
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20014 $as_echo_n "checking for lroundf in -lm... " >&6; }
20015 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20016   $as_echo_n "(cached) " >&6
20017 else
20018   ac_check_lib_save_LIBS=$LIBS
20019 LIBS="-lm  $LIBS"
20020 if test x$gcc_no_link = xyes; then
20021   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20022 fi
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h.  */
20025
20026 /* Override any GCC internal prototype to avoid an error.
20027    Use char because int might match the return type of a GCC
20028    builtin and then its argument prototype would still apply.  */
20029 #ifdef __cplusplus
20030 extern "C"
20031 #endif
20032 char lroundf ();
20033 int
20034 main ()
20035 {
20036 return lroundf ();
20037   ;
20038   return 0;
20039 }
20040 _ACEOF
20041 if ac_fn_c_try_link "$LINENO"; then :
20042   ac_cv_lib_m_lroundf=yes
20043 else
20044   ac_cv_lib_m_lroundf=no
20045 fi
20046 rm -f core conftest.err conftest.$ac_objext \
20047     conftest$ac_exeext conftest.$ac_ext
20048 LIBS=$ac_check_lib_save_LIBS
20049 fi
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20051 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20052 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20053
20054 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20055
20056 fi
20057
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20059 $as_echo_n "checking for lround in -lm... " >&6; }
20060 if test "${ac_cv_lib_m_lround+set}" = set; then :
20061   $as_echo_n "(cached) " >&6
20062 else
20063   ac_check_lib_save_LIBS=$LIBS
20064 LIBS="-lm  $LIBS"
20065 if test x$gcc_no_link = xyes; then
20066   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20067 fi
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h.  */
20070
20071 /* Override any GCC internal prototype to avoid an error.
20072    Use char because int might match the return type of a GCC
20073    builtin and then its argument prototype would still apply.  */
20074 #ifdef __cplusplus
20075 extern "C"
20076 #endif
20077 char lround ();
20078 int
20079 main ()
20080 {
20081 return lround ();
20082   ;
20083   return 0;
20084 }
20085 _ACEOF
20086 if ac_fn_c_try_link "$LINENO"; then :
20087   ac_cv_lib_m_lround=yes
20088 else
20089   ac_cv_lib_m_lround=no
20090 fi
20091 rm -f core conftest.err conftest.$ac_objext \
20092     conftest$ac_exeext conftest.$ac_ext
20093 LIBS=$ac_check_lib_save_LIBS
20094 fi
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20096 $as_echo "$ac_cv_lib_m_lround" >&6; }
20097 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20098
20099 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20100
20101 fi
20102
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20104 $as_echo_n "checking for lroundl in -lm... " >&6; }
20105 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20106   $as_echo_n "(cached) " >&6
20107 else
20108   ac_check_lib_save_LIBS=$LIBS
20109 LIBS="-lm  $LIBS"
20110 if test x$gcc_no_link = xyes; then
20111   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20112 fi
20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h.  */
20115
20116 /* Override any GCC internal prototype to avoid an error.
20117    Use char because int might match the return type of a GCC
20118    builtin and then its argument prototype would still apply.  */
20119 #ifdef __cplusplus
20120 extern "C"
20121 #endif
20122 char lroundl ();
20123 int
20124 main ()
20125 {
20126 return lroundl ();
20127   ;
20128   return 0;
20129 }
20130 _ACEOF
20131 if ac_fn_c_try_link "$LINENO"; then :
20132   ac_cv_lib_m_lroundl=yes
20133 else
20134   ac_cv_lib_m_lroundl=no
20135 fi
20136 rm -f core conftest.err conftest.$ac_objext \
20137     conftest$ac_exeext conftest.$ac_ext
20138 LIBS=$ac_check_lib_save_LIBS
20139 fi
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20141 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20142 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20143
20144 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20145
20146 fi
20147
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20149 $as_echo_n "checking for llroundf in -lm... " >&6; }
20150 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20151   $as_echo_n "(cached) " >&6
20152 else
20153   ac_check_lib_save_LIBS=$LIBS
20154 LIBS="-lm  $LIBS"
20155 if test x$gcc_no_link = xyes; then
20156   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20157 fi
20158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20159 /* end confdefs.h.  */
20160
20161 /* Override any GCC internal prototype to avoid an error.
20162    Use char because int might match the return type of a GCC
20163    builtin and then its argument prototype would still apply.  */
20164 #ifdef __cplusplus
20165 extern "C"
20166 #endif
20167 char llroundf ();
20168 int
20169 main ()
20170 {
20171 return llroundf ();
20172   ;
20173   return 0;
20174 }
20175 _ACEOF
20176 if ac_fn_c_try_link "$LINENO"; then :
20177   ac_cv_lib_m_llroundf=yes
20178 else
20179   ac_cv_lib_m_llroundf=no
20180 fi
20181 rm -f core conftest.err conftest.$ac_objext \
20182     conftest$ac_exeext conftest.$ac_ext
20183 LIBS=$ac_check_lib_save_LIBS
20184 fi
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20186 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20187 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20188
20189 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20190
20191 fi
20192
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20194 $as_echo_n "checking for llround in -lm... " >&6; }
20195 if test "${ac_cv_lib_m_llround+set}" = set; then :
20196   $as_echo_n "(cached) " >&6
20197 else
20198   ac_check_lib_save_LIBS=$LIBS
20199 LIBS="-lm  $LIBS"
20200 if test x$gcc_no_link = xyes; then
20201   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20202 fi
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h.  */
20205
20206 /* Override any GCC internal prototype to avoid an error.
20207    Use char because int might match the return type of a GCC
20208    builtin and then its argument prototype would still apply.  */
20209 #ifdef __cplusplus
20210 extern "C"
20211 #endif
20212 char llround ();
20213 int
20214 main ()
20215 {
20216 return llround ();
20217   ;
20218   return 0;
20219 }
20220 _ACEOF
20221 if ac_fn_c_try_link "$LINENO"; then :
20222   ac_cv_lib_m_llround=yes
20223 else
20224   ac_cv_lib_m_llround=no
20225 fi
20226 rm -f core conftest.err conftest.$ac_objext \
20227     conftest$ac_exeext conftest.$ac_ext
20228 LIBS=$ac_check_lib_save_LIBS
20229 fi
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20231 $as_echo "$ac_cv_lib_m_llround" >&6; }
20232 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20233
20234 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20235
20236 fi
20237
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20239 $as_echo_n "checking for llroundl in -lm... " >&6; }
20240 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20241   $as_echo_n "(cached) " >&6
20242 else
20243   ac_check_lib_save_LIBS=$LIBS
20244 LIBS="-lm  $LIBS"
20245 if test x$gcc_no_link = xyes; then
20246   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20247 fi
20248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h.  */
20250
20251 /* Override any GCC internal prototype to avoid an error.
20252    Use char because int might match the return type of a GCC
20253    builtin and then its argument prototype would still apply.  */
20254 #ifdef __cplusplus
20255 extern "C"
20256 #endif
20257 char llroundl ();
20258 int
20259 main ()
20260 {
20261 return llroundl ();
20262   ;
20263   return 0;
20264 }
20265 _ACEOF
20266 if ac_fn_c_try_link "$LINENO"; then :
20267   ac_cv_lib_m_llroundl=yes
20268 else
20269   ac_cv_lib_m_llroundl=no
20270 fi
20271 rm -f core conftest.err conftest.$ac_objext \
20272     conftest$ac_exeext conftest.$ac_ext
20273 LIBS=$ac_check_lib_save_LIBS
20274 fi
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20276 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20277 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20278
20279 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20280
20281 fi
20282
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20284 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20285 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20286   $as_echo_n "(cached) " >&6
20287 else
20288   ac_check_lib_save_LIBS=$LIBS
20289 LIBS="-lm  $LIBS"
20290 if test x$gcc_no_link = xyes; then
20291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20292 fi
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h.  */
20295
20296 /* Override any GCC internal prototype to avoid an error.
20297    Use char because int might match the return type of a GCC
20298    builtin and then its argument prototype would still apply.  */
20299 #ifdef __cplusplus
20300 extern "C"
20301 #endif
20302 char scalbnf ();
20303 int
20304 main ()
20305 {
20306 return scalbnf ();
20307   ;
20308   return 0;
20309 }
20310 _ACEOF
20311 if ac_fn_c_try_link "$LINENO"; then :
20312   ac_cv_lib_m_scalbnf=yes
20313 else
20314   ac_cv_lib_m_scalbnf=no
20315 fi
20316 rm -f core conftest.err conftest.$ac_objext \
20317     conftest$ac_exeext conftest.$ac_ext
20318 LIBS=$ac_check_lib_save_LIBS
20319 fi
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20321 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20322 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20323
20324 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20325
20326 fi
20327
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20329 $as_echo_n "checking for scalbn in -lm... " >&6; }
20330 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20331   $as_echo_n "(cached) " >&6
20332 else
20333   ac_check_lib_save_LIBS=$LIBS
20334 LIBS="-lm  $LIBS"
20335 if test x$gcc_no_link = xyes; then
20336   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20337 fi
20338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h.  */
20340
20341 /* Override any GCC internal prototype to avoid an error.
20342    Use char because int might match the return type of a GCC
20343    builtin and then its argument prototype would still apply.  */
20344 #ifdef __cplusplus
20345 extern "C"
20346 #endif
20347 char scalbn ();
20348 int
20349 main ()
20350 {
20351 return scalbn ();
20352   ;
20353   return 0;
20354 }
20355 _ACEOF
20356 if ac_fn_c_try_link "$LINENO"; then :
20357   ac_cv_lib_m_scalbn=yes
20358 else
20359   ac_cv_lib_m_scalbn=no
20360 fi
20361 rm -f core conftest.err conftest.$ac_objext \
20362     conftest$ac_exeext conftest.$ac_ext
20363 LIBS=$ac_check_lib_save_LIBS
20364 fi
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20366 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20367 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20368
20369 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20370
20371 fi
20372
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20374 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20375 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20376   $as_echo_n "(cached) " >&6
20377 else
20378   ac_check_lib_save_LIBS=$LIBS
20379 LIBS="-lm  $LIBS"
20380 if test x$gcc_no_link = xyes; then
20381   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20382 fi
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h.  */
20385
20386 /* Override any GCC internal prototype to avoid an error.
20387    Use char because int might match the return type of a GCC
20388    builtin and then its argument prototype would still apply.  */
20389 #ifdef __cplusplus
20390 extern "C"
20391 #endif
20392 char scalbnl ();
20393 int
20394 main ()
20395 {
20396 return scalbnl ();
20397   ;
20398   return 0;
20399 }
20400 _ACEOF
20401 if ac_fn_c_try_link "$LINENO"; then :
20402   ac_cv_lib_m_scalbnl=yes
20403 else
20404   ac_cv_lib_m_scalbnl=no
20405 fi
20406 rm -f core conftest.err conftest.$ac_objext \
20407     conftest$ac_exeext conftest.$ac_ext
20408 LIBS=$ac_check_lib_save_LIBS
20409 fi
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20411 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20412 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20413
20414 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20415
20416 fi
20417
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20419 $as_echo_n "checking for sinf in -lm... " >&6; }
20420 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20421   $as_echo_n "(cached) " >&6
20422 else
20423   ac_check_lib_save_LIBS=$LIBS
20424 LIBS="-lm  $LIBS"
20425 if test x$gcc_no_link = xyes; then
20426   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20427 fi
20428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h.  */
20430
20431 /* Override any GCC internal prototype to avoid an error.
20432    Use char because int might match the return type of a GCC
20433    builtin and then its argument prototype would still apply.  */
20434 #ifdef __cplusplus
20435 extern "C"
20436 #endif
20437 char sinf ();
20438 int
20439 main ()
20440 {
20441 return sinf ();
20442   ;
20443   return 0;
20444 }
20445 _ACEOF
20446 if ac_fn_c_try_link "$LINENO"; then :
20447   ac_cv_lib_m_sinf=yes
20448 else
20449   ac_cv_lib_m_sinf=no
20450 fi
20451 rm -f core conftest.err conftest.$ac_objext \
20452     conftest$ac_exeext conftest.$ac_ext
20453 LIBS=$ac_check_lib_save_LIBS
20454 fi
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20456 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20457 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20458
20459 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20460
20461 fi
20462
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20464 $as_echo_n "checking for sin in -lm... " >&6; }
20465 if test "${ac_cv_lib_m_sin+set}" = set; then :
20466   $as_echo_n "(cached) " >&6
20467 else
20468   ac_check_lib_save_LIBS=$LIBS
20469 LIBS="-lm  $LIBS"
20470 if test x$gcc_no_link = xyes; then
20471   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20472 fi
20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h.  */
20475
20476 /* Override any GCC internal prototype to avoid an error.
20477    Use char because int might match the return type of a GCC
20478    builtin and then its argument prototype would still apply.  */
20479 #ifdef __cplusplus
20480 extern "C"
20481 #endif
20482 char sin ();
20483 int
20484 main ()
20485 {
20486 return sin ();
20487   ;
20488   return 0;
20489 }
20490 _ACEOF
20491 if ac_fn_c_try_link "$LINENO"; then :
20492   ac_cv_lib_m_sin=yes
20493 else
20494   ac_cv_lib_m_sin=no
20495 fi
20496 rm -f core conftest.err conftest.$ac_objext \
20497     conftest$ac_exeext conftest.$ac_ext
20498 LIBS=$ac_check_lib_save_LIBS
20499 fi
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20501 $as_echo "$ac_cv_lib_m_sin" >&6; }
20502 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20503
20504 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20505
20506 fi
20507
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20509 $as_echo_n "checking for sinl in -lm... " >&6; }
20510 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20511   $as_echo_n "(cached) " >&6
20512 else
20513   ac_check_lib_save_LIBS=$LIBS
20514 LIBS="-lm  $LIBS"
20515 if test x$gcc_no_link = xyes; then
20516   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20517 fi
20518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20519 /* end confdefs.h.  */
20520
20521 /* Override any GCC internal prototype to avoid an error.
20522    Use char because int might match the return type of a GCC
20523    builtin and then its argument prototype would still apply.  */
20524 #ifdef __cplusplus
20525 extern "C"
20526 #endif
20527 char sinl ();
20528 int
20529 main ()
20530 {
20531 return sinl ();
20532   ;
20533   return 0;
20534 }
20535 _ACEOF
20536 if ac_fn_c_try_link "$LINENO"; then :
20537   ac_cv_lib_m_sinl=yes
20538 else
20539   ac_cv_lib_m_sinl=no
20540 fi
20541 rm -f core conftest.err conftest.$ac_objext \
20542     conftest$ac_exeext conftest.$ac_ext
20543 LIBS=$ac_check_lib_save_LIBS
20544 fi
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20546 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20547 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20548
20549 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20550
20551 fi
20552
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20554 $as_echo_n "checking for csinf in -lm... " >&6; }
20555 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20556   $as_echo_n "(cached) " >&6
20557 else
20558   ac_check_lib_save_LIBS=$LIBS
20559 LIBS="-lm  $LIBS"
20560 if test x$gcc_no_link = xyes; then
20561   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20562 fi
20563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20564 /* end confdefs.h.  */
20565
20566 /* Override any GCC internal prototype to avoid an error.
20567    Use char because int might match the return type of a GCC
20568    builtin and then its argument prototype would still apply.  */
20569 #ifdef __cplusplus
20570 extern "C"
20571 #endif
20572 char csinf ();
20573 int
20574 main ()
20575 {
20576 return csinf ();
20577   ;
20578   return 0;
20579 }
20580 _ACEOF
20581 if ac_fn_c_try_link "$LINENO"; then :
20582   ac_cv_lib_m_csinf=yes
20583 else
20584   ac_cv_lib_m_csinf=no
20585 fi
20586 rm -f core conftest.err conftest.$ac_objext \
20587     conftest$ac_exeext conftest.$ac_ext
20588 LIBS=$ac_check_lib_save_LIBS
20589 fi
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20591 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20592 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20593
20594 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20595
20596 fi
20597
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20599 $as_echo_n "checking for csin in -lm... " >&6; }
20600 if test "${ac_cv_lib_m_csin+set}" = set; then :
20601   $as_echo_n "(cached) " >&6
20602 else
20603   ac_check_lib_save_LIBS=$LIBS
20604 LIBS="-lm  $LIBS"
20605 if test x$gcc_no_link = xyes; then
20606   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20607 fi
20608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20609 /* end confdefs.h.  */
20610
20611 /* Override any GCC internal prototype to avoid an error.
20612    Use char because int might match the return type of a GCC
20613    builtin and then its argument prototype would still apply.  */
20614 #ifdef __cplusplus
20615 extern "C"
20616 #endif
20617 char csin ();
20618 int
20619 main ()
20620 {
20621 return csin ();
20622   ;
20623   return 0;
20624 }
20625 _ACEOF
20626 if ac_fn_c_try_link "$LINENO"; then :
20627   ac_cv_lib_m_csin=yes
20628 else
20629   ac_cv_lib_m_csin=no
20630 fi
20631 rm -f core conftest.err conftest.$ac_objext \
20632     conftest$ac_exeext conftest.$ac_ext
20633 LIBS=$ac_check_lib_save_LIBS
20634 fi
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20636 $as_echo "$ac_cv_lib_m_csin" >&6; }
20637 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20638
20639 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20640
20641 fi
20642
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20644 $as_echo_n "checking for csinl in -lm... " >&6; }
20645 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20646   $as_echo_n "(cached) " >&6
20647 else
20648   ac_check_lib_save_LIBS=$LIBS
20649 LIBS="-lm  $LIBS"
20650 if test x$gcc_no_link = xyes; then
20651   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20652 fi
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h.  */
20655
20656 /* Override any GCC internal prototype to avoid an error.
20657    Use char because int might match the return type of a GCC
20658    builtin and then its argument prototype would still apply.  */
20659 #ifdef __cplusplus
20660 extern "C"
20661 #endif
20662 char csinl ();
20663 int
20664 main ()
20665 {
20666 return csinl ();
20667   ;
20668   return 0;
20669 }
20670 _ACEOF
20671 if ac_fn_c_try_link "$LINENO"; then :
20672   ac_cv_lib_m_csinl=yes
20673 else
20674   ac_cv_lib_m_csinl=no
20675 fi
20676 rm -f core conftest.err conftest.$ac_objext \
20677     conftest$ac_exeext conftest.$ac_ext
20678 LIBS=$ac_check_lib_save_LIBS
20679 fi
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20681 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20682 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20683
20684 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20685
20686 fi
20687
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20689 $as_echo_n "checking for sinhf in -lm... " >&6; }
20690 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20691   $as_echo_n "(cached) " >&6
20692 else
20693   ac_check_lib_save_LIBS=$LIBS
20694 LIBS="-lm  $LIBS"
20695 if test x$gcc_no_link = xyes; then
20696   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20697 fi
20698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20699 /* end confdefs.h.  */
20700
20701 /* Override any GCC internal prototype to avoid an error.
20702    Use char because int might match the return type of a GCC
20703    builtin and then its argument prototype would still apply.  */
20704 #ifdef __cplusplus
20705 extern "C"
20706 #endif
20707 char sinhf ();
20708 int
20709 main ()
20710 {
20711 return sinhf ();
20712   ;
20713   return 0;
20714 }
20715 _ACEOF
20716 if ac_fn_c_try_link "$LINENO"; then :
20717   ac_cv_lib_m_sinhf=yes
20718 else
20719   ac_cv_lib_m_sinhf=no
20720 fi
20721 rm -f core conftest.err conftest.$ac_objext \
20722     conftest$ac_exeext conftest.$ac_ext
20723 LIBS=$ac_check_lib_save_LIBS
20724 fi
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20726 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20727 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20728
20729 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20730
20731 fi
20732
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20734 $as_echo_n "checking for sinh in -lm... " >&6; }
20735 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20736   $as_echo_n "(cached) " >&6
20737 else
20738   ac_check_lib_save_LIBS=$LIBS
20739 LIBS="-lm  $LIBS"
20740 if test x$gcc_no_link = xyes; then
20741   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20742 fi
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h.  */
20745
20746 /* Override any GCC internal prototype to avoid an error.
20747    Use char because int might match the return type of a GCC
20748    builtin and then its argument prototype would still apply.  */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 char sinh ();
20753 int
20754 main ()
20755 {
20756 return sinh ();
20757   ;
20758   return 0;
20759 }
20760 _ACEOF
20761 if ac_fn_c_try_link "$LINENO"; then :
20762   ac_cv_lib_m_sinh=yes
20763 else
20764   ac_cv_lib_m_sinh=no
20765 fi
20766 rm -f core conftest.err conftest.$ac_objext \
20767     conftest$ac_exeext conftest.$ac_ext
20768 LIBS=$ac_check_lib_save_LIBS
20769 fi
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20771 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20772 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20773
20774 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20775
20776 fi
20777
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20779 $as_echo_n "checking for sinhl in -lm... " >&6; }
20780 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20781   $as_echo_n "(cached) " >&6
20782 else
20783   ac_check_lib_save_LIBS=$LIBS
20784 LIBS="-lm  $LIBS"
20785 if test x$gcc_no_link = xyes; then
20786   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20787 fi
20788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h.  */
20790
20791 /* Override any GCC internal prototype to avoid an error.
20792    Use char because int might match the return type of a GCC
20793    builtin and then its argument prototype would still apply.  */
20794 #ifdef __cplusplus
20795 extern "C"
20796 #endif
20797 char sinhl ();
20798 int
20799 main ()
20800 {
20801 return sinhl ();
20802   ;
20803   return 0;
20804 }
20805 _ACEOF
20806 if ac_fn_c_try_link "$LINENO"; then :
20807   ac_cv_lib_m_sinhl=yes
20808 else
20809   ac_cv_lib_m_sinhl=no
20810 fi
20811 rm -f core conftest.err conftest.$ac_objext \
20812     conftest$ac_exeext conftest.$ac_ext
20813 LIBS=$ac_check_lib_save_LIBS
20814 fi
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20816 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20817 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20818
20819 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20820
20821 fi
20822
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20824 $as_echo_n "checking for csinhf in -lm... " >&6; }
20825 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20826   $as_echo_n "(cached) " >&6
20827 else
20828   ac_check_lib_save_LIBS=$LIBS
20829 LIBS="-lm  $LIBS"
20830 if test x$gcc_no_link = xyes; then
20831   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20832 fi
20833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h.  */
20835
20836 /* Override any GCC internal prototype to avoid an error.
20837    Use char because int might match the return type of a GCC
20838    builtin and then its argument prototype would still apply.  */
20839 #ifdef __cplusplus
20840 extern "C"
20841 #endif
20842 char csinhf ();
20843 int
20844 main ()
20845 {
20846 return csinhf ();
20847   ;
20848   return 0;
20849 }
20850 _ACEOF
20851 if ac_fn_c_try_link "$LINENO"; then :
20852   ac_cv_lib_m_csinhf=yes
20853 else
20854   ac_cv_lib_m_csinhf=no
20855 fi
20856 rm -f core conftest.err conftest.$ac_objext \
20857     conftest$ac_exeext conftest.$ac_ext
20858 LIBS=$ac_check_lib_save_LIBS
20859 fi
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20861 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20862 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20863
20864 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20865
20866 fi
20867
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20869 $as_echo_n "checking for csinh in -lm... " >&6; }
20870 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20871   $as_echo_n "(cached) " >&6
20872 else
20873   ac_check_lib_save_LIBS=$LIBS
20874 LIBS="-lm  $LIBS"
20875 if test x$gcc_no_link = xyes; then
20876   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20877 fi
20878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h.  */
20880
20881 /* Override any GCC internal prototype to avoid an error.
20882    Use char because int might match the return type of a GCC
20883    builtin and then its argument prototype would still apply.  */
20884 #ifdef __cplusplus
20885 extern "C"
20886 #endif
20887 char csinh ();
20888 int
20889 main ()
20890 {
20891 return csinh ();
20892   ;
20893   return 0;
20894 }
20895 _ACEOF
20896 if ac_fn_c_try_link "$LINENO"; then :
20897   ac_cv_lib_m_csinh=yes
20898 else
20899   ac_cv_lib_m_csinh=no
20900 fi
20901 rm -f core conftest.err conftest.$ac_objext \
20902     conftest$ac_exeext conftest.$ac_ext
20903 LIBS=$ac_check_lib_save_LIBS
20904 fi
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20906 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20907 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20908
20909 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20910
20911 fi
20912
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20914 $as_echo_n "checking for csinhl in -lm... " >&6; }
20915 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20916   $as_echo_n "(cached) " >&6
20917 else
20918   ac_check_lib_save_LIBS=$LIBS
20919 LIBS="-lm  $LIBS"
20920 if test x$gcc_no_link = xyes; then
20921   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20922 fi
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h.  */
20925
20926 /* Override any GCC internal prototype to avoid an error.
20927    Use char because int might match the return type of a GCC
20928    builtin and then its argument prototype would still apply.  */
20929 #ifdef __cplusplus
20930 extern "C"
20931 #endif
20932 char csinhl ();
20933 int
20934 main ()
20935 {
20936 return csinhl ();
20937   ;
20938   return 0;
20939 }
20940 _ACEOF
20941 if ac_fn_c_try_link "$LINENO"; then :
20942   ac_cv_lib_m_csinhl=yes
20943 else
20944   ac_cv_lib_m_csinhl=no
20945 fi
20946 rm -f core conftest.err conftest.$ac_objext \
20947     conftest$ac_exeext conftest.$ac_ext
20948 LIBS=$ac_check_lib_save_LIBS
20949 fi
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
20951 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
20952 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
20953
20954 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
20955
20956 fi
20957
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
20959 $as_echo_n "checking for sqrtf in -lm... " >&6; }
20960 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
20961   $as_echo_n "(cached) " >&6
20962 else
20963   ac_check_lib_save_LIBS=$LIBS
20964 LIBS="-lm  $LIBS"
20965 if test x$gcc_no_link = xyes; then
20966   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20967 fi
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h.  */
20970
20971 /* Override any GCC internal prototype to avoid an error.
20972    Use char because int might match the return type of a GCC
20973    builtin and then its argument prototype would still apply.  */
20974 #ifdef __cplusplus
20975 extern "C"
20976 #endif
20977 char sqrtf ();
20978 int
20979 main ()
20980 {
20981 return sqrtf ();
20982   ;
20983   return 0;
20984 }
20985 _ACEOF
20986 if ac_fn_c_try_link "$LINENO"; then :
20987   ac_cv_lib_m_sqrtf=yes
20988 else
20989   ac_cv_lib_m_sqrtf=no
20990 fi
20991 rm -f core conftest.err conftest.$ac_objext \
20992     conftest$ac_exeext conftest.$ac_ext
20993 LIBS=$ac_check_lib_save_LIBS
20994 fi
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
20996 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
20997 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
20998
20999 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21000
21001 fi
21002
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21004 $as_echo_n "checking for sqrt in -lm... " >&6; }
21005 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21006   $as_echo_n "(cached) " >&6
21007 else
21008   ac_check_lib_save_LIBS=$LIBS
21009 LIBS="-lm  $LIBS"
21010 if test x$gcc_no_link = xyes; then
21011   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21012 fi
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h.  */
21015
21016 /* Override any GCC internal prototype to avoid an error.
21017    Use char because int might match the return type of a GCC
21018    builtin and then its argument prototype would still apply.  */
21019 #ifdef __cplusplus
21020 extern "C"
21021 #endif
21022 char sqrt ();
21023 int
21024 main ()
21025 {
21026 return sqrt ();
21027   ;
21028   return 0;
21029 }
21030 _ACEOF
21031 if ac_fn_c_try_link "$LINENO"; then :
21032   ac_cv_lib_m_sqrt=yes
21033 else
21034   ac_cv_lib_m_sqrt=no
21035 fi
21036 rm -f core conftest.err conftest.$ac_objext \
21037     conftest$ac_exeext conftest.$ac_ext
21038 LIBS=$ac_check_lib_save_LIBS
21039 fi
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21041 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21042 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21043
21044 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21045
21046 fi
21047
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21049 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21050 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21051   $as_echo_n "(cached) " >&6
21052 else
21053   ac_check_lib_save_LIBS=$LIBS
21054 LIBS="-lm  $LIBS"
21055 if test x$gcc_no_link = xyes; then
21056   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21057 fi
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h.  */
21060
21061 /* Override any GCC internal prototype to avoid an error.
21062    Use char because int might match the return type of a GCC
21063    builtin and then its argument prototype would still apply.  */
21064 #ifdef __cplusplus
21065 extern "C"
21066 #endif
21067 char sqrtl ();
21068 int
21069 main ()
21070 {
21071 return sqrtl ();
21072   ;
21073   return 0;
21074 }
21075 _ACEOF
21076 if ac_fn_c_try_link "$LINENO"; then :
21077   ac_cv_lib_m_sqrtl=yes
21078 else
21079   ac_cv_lib_m_sqrtl=no
21080 fi
21081 rm -f core conftest.err conftest.$ac_objext \
21082     conftest$ac_exeext conftest.$ac_ext
21083 LIBS=$ac_check_lib_save_LIBS
21084 fi
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21086 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21087 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21088
21089 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21090
21091 fi
21092
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21094 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21095 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21096   $as_echo_n "(cached) " >&6
21097 else
21098   ac_check_lib_save_LIBS=$LIBS
21099 LIBS="-lm  $LIBS"
21100 if test x$gcc_no_link = xyes; then
21101   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21102 fi
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h.  */
21105
21106 /* Override any GCC internal prototype to avoid an error.
21107    Use char because int might match the return type of a GCC
21108    builtin and then its argument prototype would still apply.  */
21109 #ifdef __cplusplus
21110 extern "C"
21111 #endif
21112 char csqrtf ();
21113 int
21114 main ()
21115 {
21116 return csqrtf ();
21117   ;
21118   return 0;
21119 }
21120 _ACEOF
21121 if ac_fn_c_try_link "$LINENO"; then :
21122   ac_cv_lib_m_csqrtf=yes
21123 else
21124   ac_cv_lib_m_csqrtf=no
21125 fi
21126 rm -f core conftest.err conftest.$ac_objext \
21127     conftest$ac_exeext conftest.$ac_ext
21128 LIBS=$ac_check_lib_save_LIBS
21129 fi
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21131 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21132 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21133
21134 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21135
21136 fi
21137
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21139 $as_echo_n "checking for csqrt in -lm... " >&6; }
21140 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21141   $as_echo_n "(cached) " >&6
21142 else
21143   ac_check_lib_save_LIBS=$LIBS
21144 LIBS="-lm  $LIBS"
21145 if test x$gcc_no_link = xyes; then
21146   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21147 fi
21148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h.  */
21150
21151 /* Override any GCC internal prototype to avoid an error.
21152    Use char because int might match the return type of a GCC
21153    builtin and then its argument prototype would still apply.  */
21154 #ifdef __cplusplus
21155 extern "C"
21156 #endif
21157 char csqrt ();
21158 int
21159 main ()
21160 {
21161 return csqrt ();
21162   ;
21163   return 0;
21164 }
21165 _ACEOF
21166 if ac_fn_c_try_link "$LINENO"; then :
21167   ac_cv_lib_m_csqrt=yes
21168 else
21169   ac_cv_lib_m_csqrt=no
21170 fi
21171 rm -f core conftest.err conftest.$ac_objext \
21172     conftest$ac_exeext conftest.$ac_ext
21173 LIBS=$ac_check_lib_save_LIBS
21174 fi
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21176 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21177 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21178
21179 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21180
21181 fi
21182
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21184 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21185 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21186   $as_echo_n "(cached) " >&6
21187 else
21188   ac_check_lib_save_LIBS=$LIBS
21189 LIBS="-lm  $LIBS"
21190 if test x$gcc_no_link = xyes; then
21191   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21192 fi
21193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h.  */
21195
21196 /* Override any GCC internal prototype to avoid an error.
21197    Use char because int might match the return type of a GCC
21198    builtin and then its argument prototype would still apply.  */
21199 #ifdef __cplusplus
21200 extern "C"
21201 #endif
21202 char csqrtl ();
21203 int
21204 main ()
21205 {
21206 return csqrtl ();
21207   ;
21208   return 0;
21209 }
21210 _ACEOF
21211 if ac_fn_c_try_link "$LINENO"; then :
21212   ac_cv_lib_m_csqrtl=yes
21213 else
21214   ac_cv_lib_m_csqrtl=no
21215 fi
21216 rm -f core conftest.err conftest.$ac_objext \
21217     conftest$ac_exeext conftest.$ac_ext
21218 LIBS=$ac_check_lib_save_LIBS
21219 fi
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21221 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21222 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21223
21224 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21225
21226 fi
21227
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21229 $as_echo_n "checking for tanf in -lm... " >&6; }
21230 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21231   $as_echo_n "(cached) " >&6
21232 else
21233   ac_check_lib_save_LIBS=$LIBS
21234 LIBS="-lm  $LIBS"
21235 if test x$gcc_no_link = xyes; then
21236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21237 fi
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h.  */
21240
21241 /* Override any GCC internal prototype to avoid an error.
21242    Use char because int might match the return type of a GCC
21243    builtin and then its argument prototype would still apply.  */
21244 #ifdef __cplusplus
21245 extern "C"
21246 #endif
21247 char tanf ();
21248 int
21249 main ()
21250 {
21251 return tanf ();
21252   ;
21253   return 0;
21254 }
21255 _ACEOF
21256 if ac_fn_c_try_link "$LINENO"; then :
21257   ac_cv_lib_m_tanf=yes
21258 else
21259   ac_cv_lib_m_tanf=no
21260 fi
21261 rm -f core conftest.err conftest.$ac_objext \
21262     conftest$ac_exeext conftest.$ac_ext
21263 LIBS=$ac_check_lib_save_LIBS
21264 fi
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21266 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21267 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21268
21269 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21270
21271 fi
21272
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21274 $as_echo_n "checking for tan in -lm... " >&6; }
21275 if test "${ac_cv_lib_m_tan+set}" = set; then :
21276   $as_echo_n "(cached) " >&6
21277 else
21278   ac_check_lib_save_LIBS=$LIBS
21279 LIBS="-lm  $LIBS"
21280 if test x$gcc_no_link = xyes; then
21281   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21282 fi
21283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h.  */
21285
21286 /* Override any GCC internal prototype to avoid an error.
21287    Use char because int might match the return type of a GCC
21288    builtin and then its argument prototype would still apply.  */
21289 #ifdef __cplusplus
21290 extern "C"
21291 #endif
21292 char tan ();
21293 int
21294 main ()
21295 {
21296 return tan ();
21297   ;
21298   return 0;
21299 }
21300 _ACEOF
21301 if ac_fn_c_try_link "$LINENO"; then :
21302   ac_cv_lib_m_tan=yes
21303 else
21304   ac_cv_lib_m_tan=no
21305 fi
21306 rm -f core conftest.err conftest.$ac_objext \
21307     conftest$ac_exeext conftest.$ac_ext
21308 LIBS=$ac_check_lib_save_LIBS
21309 fi
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21311 $as_echo "$ac_cv_lib_m_tan" >&6; }
21312 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21313
21314 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21315
21316 fi
21317
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21319 $as_echo_n "checking for tanl in -lm... " >&6; }
21320 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21321   $as_echo_n "(cached) " >&6
21322 else
21323   ac_check_lib_save_LIBS=$LIBS
21324 LIBS="-lm  $LIBS"
21325 if test x$gcc_no_link = xyes; then
21326   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21327 fi
21328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h.  */
21330
21331 /* Override any GCC internal prototype to avoid an error.
21332    Use char because int might match the return type of a GCC
21333    builtin and then its argument prototype would still apply.  */
21334 #ifdef __cplusplus
21335 extern "C"
21336 #endif
21337 char tanl ();
21338 int
21339 main ()
21340 {
21341 return tanl ();
21342   ;
21343   return 0;
21344 }
21345 _ACEOF
21346 if ac_fn_c_try_link "$LINENO"; then :
21347   ac_cv_lib_m_tanl=yes
21348 else
21349   ac_cv_lib_m_tanl=no
21350 fi
21351 rm -f core conftest.err conftest.$ac_objext \
21352     conftest$ac_exeext conftest.$ac_ext
21353 LIBS=$ac_check_lib_save_LIBS
21354 fi
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21356 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21357 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21358
21359 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21360
21361 fi
21362
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21364 $as_echo_n "checking for ctanf in -lm... " >&6; }
21365 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21366   $as_echo_n "(cached) " >&6
21367 else
21368   ac_check_lib_save_LIBS=$LIBS
21369 LIBS="-lm  $LIBS"
21370 if test x$gcc_no_link = xyes; then
21371   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21372 fi
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h.  */
21375
21376 /* Override any GCC internal prototype to avoid an error.
21377    Use char because int might match the return type of a GCC
21378    builtin and then its argument prototype would still apply.  */
21379 #ifdef __cplusplus
21380 extern "C"
21381 #endif
21382 char ctanf ();
21383 int
21384 main ()
21385 {
21386 return ctanf ();
21387   ;
21388   return 0;
21389 }
21390 _ACEOF
21391 if ac_fn_c_try_link "$LINENO"; then :
21392   ac_cv_lib_m_ctanf=yes
21393 else
21394   ac_cv_lib_m_ctanf=no
21395 fi
21396 rm -f core conftest.err conftest.$ac_objext \
21397     conftest$ac_exeext conftest.$ac_ext
21398 LIBS=$ac_check_lib_save_LIBS
21399 fi
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21401 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21402 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21403
21404 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21405
21406 fi
21407
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21409 $as_echo_n "checking for ctan in -lm... " >&6; }
21410 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21411   $as_echo_n "(cached) " >&6
21412 else
21413   ac_check_lib_save_LIBS=$LIBS
21414 LIBS="-lm  $LIBS"
21415 if test x$gcc_no_link = xyes; then
21416   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21417 fi
21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h.  */
21420
21421 /* Override any GCC internal prototype to avoid an error.
21422    Use char because int might match the return type of a GCC
21423    builtin and then its argument prototype would still apply.  */
21424 #ifdef __cplusplus
21425 extern "C"
21426 #endif
21427 char ctan ();
21428 int
21429 main ()
21430 {
21431 return ctan ();
21432   ;
21433   return 0;
21434 }
21435 _ACEOF
21436 if ac_fn_c_try_link "$LINENO"; then :
21437   ac_cv_lib_m_ctan=yes
21438 else
21439   ac_cv_lib_m_ctan=no
21440 fi
21441 rm -f core conftest.err conftest.$ac_objext \
21442     conftest$ac_exeext conftest.$ac_ext
21443 LIBS=$ac_check_lib_save_LIBS
21444 fi
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21446 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21447 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21448
21449 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21450
21451 fi
21452
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21454 $as_echo_n "checking for ctanl in -lm... " >&6; }
21455 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21456   $as_echo_n "(cached) " >&6
21457 else
21458   ac_check_lib_save_LIBS=$LIBS
21459 LIBS="-lm  $LIBS"
21460 if test x$gcc_no_link = xyes; then
21461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21462 fi
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h.  */
21465
21466 /* Override any GCC internal prototype to avoid an error.
21467    Use char because int might match the return type of a GCC
21468    builtin and then its argument prototype would still apply.  */
21469 #ifdef __cplusplus
21470 extern "C"
21471 #endif
21472 char ctanl ();
21473 int
21474 main ()
21475 {
21476 return ctanl ();
21477   ;
21478   return 0;
21479 }
21480 _ACEOF
21481 if ac_fn_c_try_link "$LINENO"; then :
21482   ac_cv_lib_m_ctanl=yes
21483 else
21484   ac_cv_lib_m_ctanl=no
21485 fi
21486 rm -f core conftest.err conftest.$ac_objext \
21487     conftest$ac_exeext conftest.$ac_ext
21488 LIBS=$ac_check_lib_save_LIBS
21489 fi
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21491 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21492 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21493
21494 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21495
21496 fi
21497
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21499 $as_echo_n "checking for tanhf in -lm... " >&6; }
21500 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21501   $as_echo_n "(cached) " >&6
21502 else
21503   ac_check_lib_save_LIBS=$LIBS
21504 LIBS="-lm  $LIBS"
21505 if test x$gcc_no_link = xyes; then
21506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21507 fi
21508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h.  */
21510
21511 /* Override any GCC internal prototype to avoid an error.
21512    Use char because int might match the return type of a GCC
21513    builtin and then its argument prototype would still apply.  */
21514 #ifdef __cplusplus
21515 extern "C"
21516 #endif
21517 char tanhf ();
21518 int
21519 main ()
21520 {
21521 return tanhf ();
21522   ;
21523   return 0;
21524 }
21525 _ACEOF
21526 if ac_fn_c_try_link "$LINENO"; then :
21527   ac_cv_lib_m_tanhf=yes
21528 else
21529   ac_cv_lib_m_tanhf=no
21530 fi
21531 rm -f core conftest.err conftest.$ac_objext \
21532     conftest$ac_exeext conftest.$ac_ext
21533 LIBS=$ac_check_lib_save_LIBS
21534 fi
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21536 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21537 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21538
21539 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21540
21541 fi
21542
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21544 $as_echo_n "checking for tanh in -lm... " >&6; }
21545 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21546   $as_echo_n "(cached) " >&6
21547 else
21548   ac_check_lib_save_LIBS=$LIBS
21549 LIBS="-lm  $LIBS"
21550 if test x$gcc_no_link = xyes; then
21551   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21552 fi
21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h.  */
21555
21556 /* Override any GCC internal prototype to avoid an error.
21557    Use char because int might match the return type of a GCC
21558    builtin and then its argument prototype would still apply.  */
21559 #ifdef __cplusplus
21560 extern "C"
21561 #endif
21562 char tanh ();
21563 int
21564 main ()
21565 {
21566 return tanh ();
21567   ;
21568   return 0;
21569 }
21570 _ACEOF
21571 if ac_fn_c_try_link "$LINENO"; then :
21572   ac_cv_lib_m_tanh=yes
21573 else
21574   ac_cv_lib_m_tanh=no
21575 fi
21576 rm -f core conftest.err conftest.$ac_objext \
21577     conftest$ac_exeext conftest.$ac_ext
21578 LIBS=$ac_check_lib_save_LIBS
21579 fi
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21581 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21582 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21583
21584 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21585
21586 fi
21587
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21589 $as_echo_n "checking for tanhl in -lm... " >&6; }
21590 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21591   $as_echo_n "(cached) " >&6
21592 else
21593   ac_check_lib_save_LIBS=$LIBS
21594 LIBS="-lm  $LIBS"
21595 if test x$gcc_no_link = xyes; then
21596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21597 fi
21598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h.  */
21600
21601 /* Override any GCC internal prototype to avoid an error.
21602    Use char because int might match the return type of a GCC
21603    builtin and then its argument prototype would still apply.  */
21604 #ifdef __cplusplus
21605 extern "C"
21606 #endif
21607 char tanhl ();
21608 int
21609 main ()
21610 {
21611 return tanhl ();
21612   ;
21613   return 0;
21614 }
21615 _ACEOF
21616 if ac_fn_c_try_link "$LINENO"; then :
21617   ac_cv_lib_m_tanhl=yes
21618 else
21619   ac_cv_lib_m_tanhl=no
21620 fi
21621 rm -f core conftest.err conftest.$ac_objext \
21622     conftest$ac_exeext conftest.$ac_ext
21623 LIBS=$ac_check_lib_save_LIBS
21624 fi
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21626 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21627 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21628
21629 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21630
21631 fi
21632
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21634 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21635 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21636   $as_echo_n "(cached) " >&6
21637 else
21638   ac_check_lib_save_LIBS=$LIBS
21639 LIBS="-lm  $LIBS"
21640 if test x$gcc_no_link = xyes; then
21641   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21642 fi
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h.  */
21645
21646 /* Override any GCC internal prototype to avoid an error.
21647    Use char because int might match the return type of a GCC
21648    builtin and then its argument prototype would still apply.  */
21649 #ifdef __cplusplus
21650 extern "C"
21651 #endif
21652 char ctanhf ();
21653 int
21654 main ()
21655 {
21656 return ctanhf ();
21657   ;
21658   return 0;
21659 }
21660 _ACEOF
21661 if ac_fn_c_try_link "$LINENO"; then :
21662   ac_cv_lib_m_ctanhf=yes
21663 else
21664   ac_cv_lib_m_ctanhf=no
21665 fi
21666 rm -f core conftest.err conftest.$ac_objext \
21667     conftest$ac_exeext conftest.$ac_ext
21668 LIBS=$ac_check_lib_save_LIBS
21669 fi
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21671 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21672 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21673
21674 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21675
21676 fi
21677
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21679 $as_echo_n "checking for ctanh in -lm... " >&6; }
21680 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21681   $as_echo_n "(cached) " >&6
21682 else
21683   ac_check_lib_save_LIBS=$LIBS
21684 LIBS="-lm  $LIBS"
21685 if test x$gcc_no_link = xyes; then
21686   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 fi
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h.  */
21690
21691 /* Override any GCC internal prototype to avoid an error.
21692    Use char because int might match the return type of a GCC
21693    builtin and then its argument prototype would still apply.  */
21694 #ifdef __cplusplus
21695 extern "C"
21696 #endif
21697 char ctanh ();
21698 int
21699 main ()
21700 {
21701 return ctanh ();
21702   ;
21703   return 0;
21704 }
21705 _ACEOF
21706 if ac_fn_c_try_link "$LINENO"; then :
21707   ac_cv_lib_m_ctanh=yes
21708 else
21709   ac_cv_lib_m_ctanh=no
21710 fi
21711 rm -f core conftest.err conftest.$ac_objext \
21712     conftest$ac_exeext conftest.$ac_ext
21713 LIBS=$ac_check_lib_save_LIBS
21714 fi
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21716 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21717 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21718
21719 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21720
21721 fi
21722
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21724 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21725 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21726   $as_echo_n "(cached) " >&6
21727 else
21728   ac_check_lib_save_LIBS=$LIBS
21729 LIBS="-lm  $LIBS"
21730 if test x$gcc_no_link = xyes; then
21731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21732 fi
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h.  */
21735
21736 /* Override any GCC internal prototype to avoid an error.
21737    Use char because int might match the return type of a GCC
21738    builtin and then its argument prototype would still apply.  */
21739 #ifdef __cplusplus
21740 extern "C"
21741 #endif
21742 char ctanhl ();
21743 int
21744 main ()
21745 {
21746 return ctanhl ();
21747   ;
21748   return 0;
21749 }
21750 _ACEOF
21751 if ac_fn_c_try_link "$LINENO"; then :
21752   ac_cv_lib_m_ctanhl=yes
21753 else
21754   ac_cv_lib_m_ctanhl=no
21755 fi
21756 rm -f core conftest.err conftest.$ac_objext \
21757     conftest$ac_exeext conftest.$ac_ext
21758 LIBS=$ac_check_lib_save_LIBS
21759 fi
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21761 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21762 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21763
21764 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21765
21766 fi
21767
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21769 $as_echo_n "checking for truncf in -lm... " >&6; }
21770 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21771   $as_echo_n "(cached) " >&6
21772 else
21773   ac_check_lib_save_LIBS=$LIBS
21774 LIBS="-lm  $LIBS"
21775 if test x$gcc_no_link = xyes; then
21776   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21777 fi
21778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h.  */
21780
21781 /* Override any GCC internal prototype to avoid an error.
21782    Use char because int might match the return type of a GCC
21783    builtin and then its argument prototype would still apply.  */
21784 #ifdef __cplusplus
21785 extern "C"
21786 #endif
21787 char truncf ();
21788 int
21789 main ()
21790 {
21791 return truncf ();
21792   ;
21793   return 0;
21794 }
21795 _ACEOF
21796 if ac_fn_c_try_link "$LINENO"; then :
21797   ac_cv_lib_m_truncf=yes
21798 else
21799   ac_cv_lib_m_truncf=no
21800 fi
21801 rm -f core conftest.err conftest.$ac_objext \
21802     conftest$ac_exeext conftest.$ac_ext
21803 LIBS=$ac_check_lib_save_LIBS
21804 fi
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21806 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21807 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21808
21809 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21810
21811 fi
21812
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21814 $as_echo_n "checking for trunc in -lm... " >&6; }
21815 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21816   $as_echo_n "(cached) " >&6
21817 else
21818   ac_check_lib_save_LIBS=$LIBS
21819 LIBS="-lm  $LIBS"
21820 if test x$gcc_no_link = xyes; then
21821   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21822 fi
21823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h.  */
21825
21826 /* Override any GCC internal prototype to avoid an error.
21827    Use char because int might match the return type of a GCC
21828    builtin and then its argument prototype would still apply.  */
21829 #ifdef __cplusplus
21830 extern "C"
21831 #endif
21832 char trunc ();
21833 int
21834 main ()
21835 {
21836 return trunc ();
21837   ;
21838   return 0;
21839 }
21840 _ACEOF
21841 if ac_fn_c_try_link "$LINENO"; then :
21842   ac_cv_lib_m_trunc=yes
21843 else
21844   ac_cv_lib_m_trunc=no
21845 fi
21846 rm -f core conftest.err conftest.$ac_objext \
21847     conftest$ac_exeext conftest.$ac_ext
21848 LIBS=$ac_check_lib_save_LIBS
21849 fi
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21851 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21852 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21853
21854 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21855
21856 fi
21857
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21859 $as_echo_n "checking for truncl in -lm... " >&6; }
21860 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21861   $as_echo_n "(cached) " >&6
21862 else
21863   ac_check_lib_save_LIBS=$LIBS
21864 LIBS="-lm  $LIBS"
21865 if test x$gcc_no_link = xyes; then
21866   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21867 fi
21868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h.  */
21870
21871 /* Override any GCC internal prototype to avoid an error.
21872    Use char because int might match the return type of a GCC
21873    builtin and then its argument prototype would still apply.  */
21874 #ifdef __cplusplus
21875 extern "C"
21876 #endif
21877 char truncl ();
21878 int
21879 main ()
21880 {
21881 return truncl ();
21882   ;
21883   return 0;
21884 }
21885 _ACEOF
21886 if ac_fn_c_try_link "$LINENO"; then :
21887   ac_cv_lib_m_truncl=yes
21888 else
21889   ac_cv_lib_m_truncl=no
21890 fi
21891 rm -f core conftest.err conftest.$ac_objext \
21892     conftest$ac_exeext conftest.$ac_ext
21893 LIBS=$ac_check_lib_save_LIBS
21894 fi
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21896 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21897 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21898
21899 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21900
21901 fi
21902
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21904 $as_echo_n "checking for erff in -lm... " >&6; }
21905 if test "${ac_cv_lib_m_erff+set}" = set; then :
21906   $as_echo_n "(cached) " >&6
21907 else
21908   ac_check_lib_save_LIBS=$LIBS
21909 LIBS="-lm  $LIBS"
21910 if test x$gcc_no_link = xyes; then
21911   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21912 fi
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h.  */
21915
21916 /* Override any GCC internal prototype to avoid an error.
21917    Use char because int might match the return type of a GCC
21918    builtin and then its argument prototype would still apply.  */
21919 #ifdef __cplusplus
21920 extern "C"
21921 #endif
21922 char erff ();
21923 int
21924 main ()
21925 {
21926 return erff ();
21927   ;
21928   return 0;
21929 }
21930 _ACEOF
21931 if ac_fn_c_try_link "$LINENO"; then :
21932   ac_cv_lib_m_erff=yes
21933 else
21934   ac_cv_lib_m_erff=no
21935 fi
21936 rm -f core conftest.err conftest.$ac_objext \
21937     conftest$ac_exeext conftest.$ac_ext
21938 LIBS=$ac_check_lib_save_LIBS
21939 fi
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
21941 $as_echo "$ac_cv_lib_m_erff" >&6; }
21942 if test "x$ac_cv_lib_m_erff" = x""yes; then :
21943
21944 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
21945
21946 fi
21947
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
21949 $as_echo_n "checking for erf in -lm... " >&6; }
21950 if test "${ac_cv_lib_m_erf+set}" = set; then :
21951   $as_echo_n "(cached) " >&6
21952 else
21953   ac_check_lib_save_LIBS=$LIBS
21954 LIBS="-lm  $LIBS"
21955 if test x$gcc_no_link = xyes; then
21956   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21957 fi
21958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21959 /* end confdefs.h.  */
21960
21961 /* Override any GCC internal prototype to avoid an error.
21962    Use char because int might match the return type of a GCC
21963    builtin and then its argument prototype would still apply.  */
21964 #ifdef __cplusplus
21965 extern "C"
21966 #endif
21967 char erf ();
21968 int
21969 main ()
21970 {
21971 return erf ();
21972   ;
21973   return 0;
21974 }
21975 _ACEOF
21976 if ac_fn_c_try_link "$LINENO"; then :
21977   ac_cv_lib_m_erf=yes
21978 else
21979   ac_cv_lib_m_erf=no
21980 fi
21981 rm -f core conftest.err conftest.$ac_objext \
21982     conftest$ac_exeext conftest.$ac_ext
21983 LIBS=$ac_check_lib_save_LIBS
21984 fi
21985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
21986 $as_echo "$ac_cv_lib_m_erf" >&6; }
21987 if test "x$ac_cv_lib_m_erf" = x""yes; then :
21988
21989 $as_echo "#define HAVE_ERF 1" >>confdefs.h
21990
21991 fi
21992
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
21994 $as_echo_n "checking for erfl in -lm... " >&6; }
21995 if test "${ac_cv_lib_m_erfl+set}" = set; then :
21996   $as_echo_n "(cached) " >&6
21997 else
21998   ac_check_lib_save_LIBS=$LIBS
21999 LIBS="-lm  $LIBS"
22000 if test x$gcc_no_link = xyes; then
22001   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22002 fi
22003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22004 /* end confdefs.h.  */
22005
22006 /* Override any GCC internal prototype to avoid an error.
22007    Use char because int might match the return type of a GCC
22008    builtin and then its argument prototype would still apply.  */
22009 #ifdef __cplusplus
22010 extern "C"
22011 #endif
22012 char erfl ();
22013 int
22014 main ()
22015 {
22016 return erfl ();
22017   ;
22018   return 0;
22019 }
22020 _ACEOF
22021 if ac_fn_c_try_link "$LINENO"; then :
22022   ac_cv_lib_m_erfl=yes
22023 else
22024   ac_cv_lib_m_erfl=no
22025 fi
22026 rm -f core conftest.err conftest.$ac_objext \
22027     conftest$ac_exeext conftest.$ac_ext
22028 LIBS=$ac_check_lib_save_LIBS
22029 fi
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22031 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22032 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22033
22034 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22035
22036 fi
22037
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22039 $as_echo_n "checking for erfcf in -lm... " >&6; }
22040 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22041   $as_echo_n "(cached) " >&6
22042 else
22043   ac_check_lib_save_LIBS=$LIBS
22044 LIBS="-lm  $LIBS"
22045 if test x$gcc_no_link = xyes; then
22046   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22047 fi
22048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22049 /* end confdefs.h.  */
22050
22051 /* Override any GCC internal prototype to avoid an error.
22052    Use char because int might match the return type of a GCC
22053    builtin and then its argument prototype would still apply.  */
22054 #ifdef __cplusplus
22055 extern "C"
22056 #endif
22057 char erfcf ();
22058 int
22059 main ()
22060 {
22061 return erfcf ();
22062   ;
22063   return 0;
22064 }
22065 _ACEOF
22066 if ac_fn_c_try_link "$LINENO"; then :
22067   ac_cv_lib_m_erfcf=yes
22068 else
22069   ac_cv_lib_m_erfcf=no
22070 fi
22071 rm -f core conftest.err conftest.$ac_objext \
22072     conftest$ac_exeext conftest.$ac_ext
22073 LIBS=$ac_check_lib_save_LIBS
22074 fi
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22076 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22077 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22078
22079 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22080
22081 fi
22082
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22084 $as_echo_n "checking for erfc in -lm... " >&6; }
22085 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22086   $as_echo_n "(cached) " >&6
22087 else
22088   ac_check_lib_save_LIBS=$LIBS
22089 LIBS="-lm  $LIBS"
22090 if test x$gcc_no_link = xyes; then
22091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22092 fi
22093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h.  */
22095
22096 /* Override any GCC internal prototype to avoid an error.
22097    Use char because int might match the return type of a GCC
22098    builtin and then its argument prototype would still apply.  */
22099 #ifdef __cplusplus
22100 extern "C"
22101 #endif
22102 char erfc ();
22103 int
22104 main ()
22105 {
22106 return erfc ();
22107   ;
22108   return 0;
22109 }
22110 _ACEOF
22111 if ac_fn_c_try_link "$LINENO"; then :
22112   ac_cv_lib_m_erfc=yes
22113 else
22114   ac_cv_lib_m_erfc=no
22115 fi
22116 rm -f core conftest.err conftest.$ac_objext \
22117     conftest$ac_exeext conftest.$ac_ext
22118 LIBS=$ac_check_lib_save_LIBS
22119 fi
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22121 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22122 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22123
22124 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22125
22126 fi
22127
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22129 $as_echo_n "checking for erfcl in -lm... " >&6; }
22130 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22131   $as_echo_n "(cached) " >&6
22132 else
22133   ac_check_lib_save_LIBS=$LIBS
22134 LIBS="-lm  $LIBS"
22135 if test x$gcc_no_link = xyes; then
22136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22137 fi
22138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22139 /* end confdefs.h.  */
22140
22141 /* Override any GCC internal prototype to avoid an error.
22142    Use char because int might match the return type of a GCC
22143    builtin and then its argument prototype would still apply.  */
22144 #ifdef __cplusplus
22145 extern "C"
22146 #endif
22147 char erfcl ();
22148 int
22149 main ()
22150 {
22151 return erfcl ();
22152   ;
22153   return 0;
22154 }
22155 _ACEOF
22156 if ac_fn_c_try_link "$LINENO"; then :
22157   ac_cv_lib_m_erfcl=yes
22158 else
22159   ac_cv_lib_m_erfcl=no
22160 fi
22161 rm -f core conftest.err conftest.$ac_objext \
22162     conftest$ac_exeext conftest.$ac_ext
22163 LIBS=$ac_check_lib_save_LIBS
22164 fi
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22166 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22167 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22168
22169 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22170
22171 fi
22172
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22174 $as_echo_n "checking for j0f in -lm... " >&6; }
22175 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22176   $as_echo_n "(cached) " >&6
22177 else
22178   ac_check_lib_save_LIBS=$LIBS
22179 LIBS="-lm  $LIBS"
22180 if test x$gcc_no_link = xyes; then
22181   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22182 fi
22183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h.  */
22185
22186 /* Override any GCC internal prototype to avoid an error.
22187    Use char because int might match the return type of a GCC
22188    builtin and then its argument prototype would still apply.  */
22189 #ifdef __cplusplus
22190 extern "C"
22191 #endif
22192 char j0f ();
22193 int
22194 main ()
22195 {
22196 return j0f ();
22197   ;
22198   return 0;
22199 }
22200 _ACEOF
22201 if ac_fn_c_try_link "$LINENO"; then :
22202   ac_cv_lib_m_j0f=yes
22203 else
22204   ac_cv_lib_m_j0f=no
22205 fi
22206 rm -f core conftest.err conftest.$ac_objext \
22207     conftest$ac_exeext conftest.$ac_ext
22208 LIBS=$ac_check_lib_save_LIBS
22209 fi
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22211 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22212 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22213
22214 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22215
22216 fi
22217
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22219 $as_echo_n "checking for j0 in -lm... " >&6; }
22220 if test "${ac_cv_lib_m_j0+set}" = set; then :
22221   $as_echo_n "(cached) " >&6
22222 else
22223   ac_check_lib_save_LIBS=$LIBS
22224 LIBS="-lm  $LIBS"
22225 if test x$gcc_no_link = xyes; then
22226   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22227 fi
22228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22229 /* end confdefs.h.  */
22230
22231 /* Override any GCC internal prototype to avoid an error.
22232    Use char because int might match the return type of a GCC
22233    builtin and then its argument prototype would still apply.  */
22234 #ifdef __cplusplus
22235 extern "C"
22236 #endif
22237 char j0 ();
22238 int
22239 main ()
22240 {
22241 return j0 ();
22242   ;
22243   return 0;
22244 }
22245 _ACEOF
22246 if ac_fn_c_try_link "$LINENO"; then :
22247   ac_cv_lib_m_j0=yes
22248 else
22249   ac_cv_lib_m_j0=no
22250 fi
22251 rm -f core conftest.err conftest.$ac_objext \
22252     conftest$ac_exeext conftest.$ac_ext
22253 LIBS=$ac_check_lib_save_LIBS
22254 fi
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22256 $as_echo "$ac_cv_lib_m_j0" >&6; }
22257 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22258
22259 $as_echo "#define HAVE_J0 1" >>confdefs.h
22260
22261 fi
22262
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22264 $as_echo_n "checking for j0l in -lm... " >&6; }
22265 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22266   $as_echo_n "(cached) " >&6
22267 else
22268   ac_check_lib_save_LIBS=$LIBS
22269 LIBS="-lm  $LIBS"
22270 if test x$gcc_no_link = xyes; then
22271   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22272 fi
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h.  */
22275
22276 /* Override any GCC internal prototype to avoid an error.
22277    Use char because int might match the return type of a GCC
22278    builtin and then its argument prototype would still apply.  */
22279 #ifdef __cplusplus
22280 extern "C"
22281 #endif
22282 char j0l ();
22283 int
22284 main ()
22285 {
22286 return j0l ();
22287   ;
22288   return 0;
22289 }
22290 _ACEOF
22291 if ac_fn_c_try_link "$LINENO"; then :
22292   ac_cv_lib_m_j0l=yes
22293 else
22294   ac_cv_lib_m_j0l=no
22295 fi
22296 rm -f core conftest.err conftest.$ac_objext \
22297     conftest$ac_exeext conftest.$ac_ext
22298 LIBS=$ac_check_lib_save_LIBS
22299 fi
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22301 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22302 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22303
22304 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22305
22306 fi
22307
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22309 $as_echo_n "checking for j1f in -lm... " >&6; }
22310 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22311   $as_echo_n "(cached) " >&6
22312 else
22313   ac_check_lib_save_LIBS=$LIBS
22314 LIBS="-lm  $LIBS"
22315 if test x$gcc_no_link = xyes; then
22316   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22317 fi
22318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22319 /* end confdefs.h.  */
22320
22321 /* Override any GCC internal prototype to avoid an error.
22322    Use char because int might match the return type of a GCC
22323    builtin and then its argument prototype would still apply.  */
22324 #ifdef __cplusplus
22325 extern "C"
22326 #endif
22327 char j1f ();
22328 int
22329 main ()
22330 {
22331 return j1f ();
22332   ;
22333   return 0;
22334 }
22335 _ACEOF
22336 if ac_fn_c_try_link "$LINENO"; then :
22337   ac_cv_lib_m_j1f=yes
22338 else
22339   ac_cv_lib_m_j1f=no
22340 fi
22341 rm -f core conftest.err conftest.$ac_objext \
22342     conftest$ac_exeext conftest.$ac_ext
22343 LIBS=$ac_check_lib_save_LIBS
22344 fi
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22346 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22347 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22348
22349 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22350
22351 fi
22352
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22354 $as_echo_n "checking for j1 in -lm... " >&6; }
22355 if test "${ac_cv_lib_m_j1+set}" = set; then :
22356   $as_echo_n "(cached) " >&6
22357 else
22358   ac_check_lib_save_LIBS=$LIBS
22359 LIBS="-lm  $LIBS"
22360 if test x$gcc_no_link = xyes; then
22361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22362 fi
22363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h.  */
22365
22366 /* Override any GCC internal prototype to avoid an error.
22367    Use char because int might match the return type of a GCC
22368    builtin and then its argument prototype would still apply.  */
22369 #ifdef __cplusplus
22370 extern "C"
22371 #endif
22372 char j1 ();
22373 int
22374 main ()
22375 {
22376 return j1 ();
22377   ;
22378   return 0;
22379 }
22380 _ACEOF
22381 if ac_fn_c_try_link "$LINENO"; then :
22382   ac_cv_lib_m_j1=yes
22383 else
22384   ac_cv_lib_m_j1=no
22385 fi
22386 rm -f core conftest.err conftest.$ac_objext \
22387     conftest$ac_exeext conftest.$ac_ext
22388 LIBS=$ac_check_lib_save_LIBS
22389 fi
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22391 $as_echo "$ac_cv_lib_m_j1" >&6; }
22392 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22393
22394 $as_echo "#define HAVE_J1 1" >>confdefs.h
22395
22396 fi
22397
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22399 $as_echo_n "checking for j1l in -lm... " >&6; }
22400 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22401   $as_echo_n "(cached) " >&6
22402 else
22403   ac_check_lib_save_LIBS=$LIBS
22404 LIBS="-lm  $LIBS"
22405 if test x$gcc_no_link = xyes; then
22406   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22407 fi
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h.  */
22410
22411 /* Override any GCC internal prototype to avoid an error.
22412    Use char because int might match the return type of a GCC
22413    builtin and then its argument prototype would still apply.  */
22414 #ifdef __cplusplus
22415 extern "C"
22416 #endif
22417 char j1l ();
22418 int
22419 main ()
22420 {
22421 return j1l ();
22422   ;
22423   return 0;
22424 }
22425 _ACEOF
22426 if ac_fn_c_try_link "$LINENO"; then :
22427   ac_cv_lib_m_j1l=yes
22428 else
22429   ac_cv_lib_m_j1l=no
22430 fi
22431 rm -f core conftest.err conftest.$ac_objext \
22432     conftest$ac_exeext conftest.$ac_ext
22433 LIBS=$ac_check_lib_save_LIBS
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22436 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22437 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22438
22439 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22440
22441 fi
22442
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22444 $as_echo_n "checking for jnf in -lm... " >&6; }
22445 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22446   $as_echo_n "(cached) " >&6
22447 else
22448   ac_check_lib_save_LIBS=$LIBS
22449 LIBS="-lm  $LIBS"
22450 if test x$gcc_no_link = xyes; then
22451   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22452 fi
22453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h.  */
22455
22456 /* Override any GCC internal prototype to avoid an error.
22457    Use char because int might match the return type of a GCC
22458    builtin and then its argument prototype would still apply.  */
22459 #ifdef __cplusplus
22460 extern "C"
22461 #endif
22462 char jnf ();
22463 int
22464 main ()
22465 {
22466 return jnf ();
22467   ;
22468   return 0;
22469 }
22470 _ACEOF
22471 if ac_fn_c_try_link "$LINENO"; then :
22472   ac_cv_lib_m_jnf=yes
22473 else
22474   ac_cv_lib_m_jnf=no
22475 fi
22476 rm -f core conftest.err conftest.$ac_objext \
22477     conftest$ac_exeext conftest.$ac_ext
22478 LIBS=$ac_check_lib_save_LIBS
22479 fi
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22481 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22482 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22483
22484 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22485
22486 fi
22487
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22489 $as_echo_n "checking for jn in -lm... " >&6; }
22490 if test "${ac_cv_lib_m_jn+set}" = set; then :
22491   $as_echo_n "(cached) " >&6
22492 else
22493   ac_check_lib_save_LIBS=$LIBS
22494 LIBS="-lm  $LIBS"
22495 if test x$gcc_no_link = xyes; then
22496   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22497 fi
22498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22499 /* end confdefs.h.  */
22500
22501 /* Override any GCC internal prototype to avoid an error.
22502    Use char because int might match the return type of a GCC
22503    builtin and then its argument prototype would still apply.  */
22504 #ifdef __cplusplus
22505 extern "C"
22506 #endif
22507 char jn ();
22508 int
22509 main ()
22510 {
22511 return jn ();
22512   ;
22513   return 0;
22514 }
22515 _ACEOF
22516 if ac_fn_c_try_link "$LINENO"; then :
22517   ac_cv_lib_m_jn=yes
22518 else
22519   ac_cv_lib_m_jn=no
22520 fi
22521 rm -f core conftest.err conftest.$ac_objext \
22522     conftest$ac_exeext conftest.$ac_ext
22523 LIBS=$ac_check_lib_save_LIBS
22524 fi
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22526 $as_echo "$ac_cv_lib_m_jn" >&6; }
22527 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22528
22529 $as_echo "#define HAVE_JN 1" >>confdefs.h
22530
22531 fi
22532
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22534 $as_echo_n "checking for jnl in -lm... " >&6; }
22535 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22536   $as_echo_n "(cached) " >&6
22537 else
22538   ac_check_lib_save_LIBS=$LIBS
22539 LIBS="-lm  $LIBS"
22540 if test x$gcc_no_link = xyes; then
22541   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22542 fi
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h.  */
22545
22546 /* Override any GCC internal prototype to avoid an error.
22547    Use char because int might match the return type of a GCC
22548    builtin and then its argument prototype would still apply.  */
22549 #ifdef __cplusplus
22550 extern "C"
22551 #endif
22552 char jnl ();
22553 int
22554 main ()
22555 {
22556 return jnl ();
22557   ;
22558   return 0;
22559 }
22560 _ACEOF
22561 if ac_fn_c_try_link "$LINENO"; then :
22562   ac_cv_lib_m_jnl=yes
22563 else
22564   ac_cv_lib_m_jnl=no
22565 fi
22566 rm -f core conftest.err conftest.$ac_objext \
22567     conftest$ac_exeext conftest.$ac_ext
22568 LIBS=$ac_check_lib_save_LIBS
22569 fi
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22571 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22572 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22573
22574 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22575
22576 fi
22577
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22579 $as_echo_n "checking for y0f in -lm... " >&6; }
22580 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22581   $as_echo_n "(cached) " >&6
22582 else
22583   ac_check_lib_save_LIBS=$LIBS
22584 LIBS="-lm  $LIBS"
22585 if test x$gcc_no_link = xyes; then
22586   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22587 fi
22588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22589 /* end confdefs.h.  */
22590
22591 /* Override any GCC internal prototype to avoid an error.
22592    Use char because int might match the return type of a GCC
22593    builtin and then its argument prototype would still apply.  */
22594 #ifdef __cplusplus
22595 extern "C"
22596 #endif
22597 char y0f ();
22598 int
22599 main ()
22600 {
22601 return y0f ();
22602   ;
22603   return 0;
22604 }
22605 _ACEOF
22606 if ac_fn_c_try_link "$LINENO"; then :
22607   ac_cv_lib_m_y0f=yes
22608 else
22609   ac_cv_lib_m_y0f=no
22610 fi
22611 rm -f core conftest.err conftest.$ac_objext \
22612     conftest$ac_exeext conftest.$ac_ext
22613 LIBS=$ac_check_lib_save_LIBS
22614 fi
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22616 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22617 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22618
22619 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22620
22621 fi
22622
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22624 $as_echo_n "checking for y0 in -lm... " >&6; }
22625 if test "${ac_cv_lib_m_y0+set}" = set; then :
22626   $as_echo_n "(cached) " >&6
22627 else
22628   ac_check_lib_save_LIBS=$LIBS
22629 LIBS="-lm  $LIBS"
22630 if test x$gcc_no_link = xyes; then
22631   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22632 fi
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h.  */
22635
22636 /* Override any GCC internal prototype to avoid an error.
22637    Use char because int might match the return type of a GCC
22638    builtin and then its argument prototype would still apply.  */
22639 #ifdef __cplusplus
22640 extern "C"
22641 #endif
22642 char y0 ();
22643 int
22644 main ()
22645 {
22646 return y0 ();
22647   ;
22648   return 0;
22649 }
22650 _ACEOF
22651 if ac_fn_c_try_link "$LINENO"; then :
22652   ac_cv_lib_m_y0=yes
22653 else
22654   ac_cv_lib_m_y0=no
22655 fi
22656 rm -f core conftest.err conftest.$ac_objext \
22657     conftest$ac_exeext conftest.$ac_ext
22658 LIBS=$ac_check_lib_save_LIBS
22659 fi
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22661 $as_echo "$ac_cv_lib_m_y0" >&6; }
22662 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22663
22664 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22665
22666 fi
22667
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22669 $as_echo_n "checking for y0l in -lm... " >&6; }
22670 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22671   $as_echo_n "(cached) " >&6
22672 else
22673   ac_check_lib_save_LIBS=$LIBS
22674 LIBS="-lm  $LIBS"
22675 if test x$gcc_no_link = xyes; then
22676   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22677 fi
22678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22679 /* end confdefs.h.  */
22680
22681 /* Override any GCC internal prototype to avoid an error.
22682    Use char because int might match the return type of a GCC
22683    builtin and then its argument prototype would still apply.  */
22684 #ifdef __cplusplus
22685 extern "C"
22686 #endif
22687 char y0l ();
22688 int
22689 main ()
22690 {
22691 return y0l ();
22692   ;
22693   return 0;
22694 }
22695 _ACEOF
22696 if ac_fn_c_try_link "$LINENO"; then :
22697   ac_cv_lib_m_y0l=yes
22698 else
22699   ac_cv_lib_m_y0l=no
22700 fi
22701 rm -f core conftest.err conftest.$ac_objext \
22702     conftest$ac_exeext conftest.$ac_ext
22703 LIBS=$ac_check_lib_save_LIBS
22704 fi
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22706 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22707 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22708
22709 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22710
22711 fi
22712
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22714 $as_echo_n "checking for y1f in -lm... " >&6; }
22715 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22716   $as_echo_n "(cached) " >&6
22717 else
22718   ac_check_lib_save_LIBS=$LIBS
22719 LIBS="-lm  $LIBS"
22720 if test x$gcc_no_link = xyes; then
22721   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22722 fi
22723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22724 /* end confdefs.h.  */
22725
22726 /* Override any GCC internal prototype to avoid an error.
22727    Use char because int might match the return type of a GCC
22728    builtin and then its argument prototype would still apply.  */
22729 #ifdef __cplusplus
22730 extern "C"
22731 #endif
22732 char y1f ();
22733 int
22734 main ()
22735 {
22736 return y1f ();
22737   ;
22738   return 0;
22739 }
22740 _ACEOF
22741 if ac_fn_c_try_link "$LINENO"; then :
22742   ac_cv_lib_m_y1f=yes
22743 else
22744   ac_cv_lib_m_y1f=no
22745 fi
22746 rm -f core conftest.err conftest.$ac_objext \
22747     conftest$ac_exeext conftest.$ac_ext
22748 LIBS=$ac_check_lib_save_LIBS
22749 fi
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22751 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22752 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22753
22754 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22755
22756 fi
22757
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22759 $as_echo_n "checking for y1 in -lm... " >&6; }
22760 if test "${ac_cv_lib_m_y1+set}" = set; then :
22761   $as_echo_n "(cached) " >&6
22762 else
22763   ac_check_lib_save_LIBS=$LIBS
22764 LIBS="-lm  $LIBS"
22765 if test x$gcc_no_link = xyes; then
22766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22767 fi
22768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22769 /* end confdefs.h.  */
22770
22771 /* Override any GCC internal prototype to avoid an error.
22772    Use char because int might match the return type of a GCC
22773    builtin and then its argument prototype would still apply.  */
22774 #ifdef __cplusplus
22775 extern "C"
22776 #endif
22777 char y1 ();
22778 int
22779 main ()
22780 {
22781 return y1 ();
22782   ;
22783   return 0;
22784 }
22785 _ACEOF
22786 if ac_fn_c_try_link "$LINENO"; then :
22787   ac_cv_lib_m_y1=yes
22788 else
22789   ac_cv_lib_m_y1=no
22790 fi
22791 rm -f core conftest.err conftest.$ac_objext \
22792     conftest$ac_exeext conftest.$ac_ext
22793 LIBS=$ac_check_lib_save_LIBS
22794 fi
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22796 $as_echo "$ac_cv_lib_m_y1" >&6; }
22797 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22798
22799 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22800
22801 fi
22802
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22804 $as_echo_n "checking for y1l in -lm... " >&6; }
22805 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22806   $as_echo_n "(cached) " >&6
22807 else
22808   ac_check_lib_save_LIBS=$LIBS
22809 LIBS="-lm  $LIBS"
22810 if test x$gcc_no_link = xyes; then
22811   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22812 fi
22813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22814 /* end confdefs.h.  */
22815
22816 /* Override any GCC internal prototype to avoid an error.
22817    Use char because int might match the return type of a GCC
22818    builtin and then its argument prototype would still apply.  */
22819 #ifdef __cplusplus
22820 extern "C"
22821 #endif
22822 char y1l ();
22823 int
22824 main ()
22825 {
22826 return y1l ();
22827   ;
22828   return 0;
22829 }
22830 _ACEOF
22831 if ac_fn_c_try_link "$LINENO"; then :
22832   ac_cv_lib_m_y1l=yes
22833 else
22834   ac_cv_lib_m_y1l=no
22835 fi
22836 rm -f core conftest.err conftest.$ac_objext \
22837     conftest$ac_exeext conftest.$ac_ext
22838 LIBS=$ac_check_lib_save_LIBS
22839 fi
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22841 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22842 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22843
22844 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22845
22846 fi
22847
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22849 $as_echo_n "checking for ynf in -lm... " >&6; }
22850 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22851   $as_echo_n "(cached) " >&6
22852 else
22853   ac_check_lib_save_LIBS=$LIBS
22854 LIBS="-lm  $LIBS"
22855 if test x$gcc_no_link = xyes; then
22856   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22857 fi
22858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22859 /* end confdefs.h.  */
22860
22861 /* Override any GCC internal prototype to avoid an error.
22862    Use char because int might match the return type of a GCC
22863    builtin and then its argument prototype would still apply.  */
22864 #ifdef __cplusplus
22865 extern "C"
22866 #endif
22867 char ynf ();
22868 int
22869 main ()
22870 {
22871 return ynf ();
22872   ;
22873   return 0;
22874 }
22875 _ACEOF
22876 if ac_fn_c_try_link "$LINENO"; then :
22877   ac_cv_lib_m_ynf=yes
22878 else
22879   ac_cv_lib_m_ynf=no
22880 fi
22881 rm -f core conftest.err conftest.$ac_objext \
22882     conftest$ac_exeext conftest.$ac_ext
22883 LIBS=$ac_check_lib_save_LIBS
22884 fi
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22886 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22887 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22888
22889 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22890
22891 fi
22892
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22894 $as_echo_n "checking for yn in -lm... " >&6; }
22895 if test "${ac_cv_lib_m_yn+set}" = set; then :
22896   $as_echo_n "(cached) " >&6
22897 else
22898   ac_check_lib_save_LIBS=$LIBS
22899 LIBS="-lm  $LIBS"
22900 if test x$gcc_no_link = xyes; then
22901   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22902 fi
22903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h.  */
22905
22906 /* Override any GCC internal prototype to avoid an error.
22907    Use char because int might match the return type of a GCC
22908    builtin and then its argument prototype would still apply.  */
22909 #ifdef __cplusplus
22910 extern "C"
22911 #endif
22912 char yn ();
22913 int
22914 main ()
22915 {
22916 return yn ();
22917   ;
22918   return 0;
22919 }
22920 _ACEOF
22921 if ac_fn_c_try_link "$LINENO"; then :
22922   ac_cv_lib_m_yn=yes
22923 else
22924   ac_cv_lib_m_yn=no
22925 fi
22926 rm -f core conftest.err conftest.$ac_objext \
22927     conftest$ac_exeext conftest.$ac_ext
22928 LIBS=$ac_check_lib_save_LIBS
22929 fi
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22931 $as_echo "$ac_cv_lib_m_yn" >&6; }
22932 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22933
22934 $as_echo "#define HAVE_YN 1" >>confdefs.h
22935
22936 fi
22937
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
22939 $as_echo_n "checking for ynl in -lm... " >&6; }
22940 if test "${ac_cv_lib_m_ynl+set}" = set; then :
22941   $as_echo_n "(cached) " >&6
22942 else
22943   ac_check_lib_save_LIBS=$LIBS
22944 LIBS="-lm  $LIBS"
22945 if test x$gcc_no_link = xyes; then
22946   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22947 fi
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h.  */
22950
22951 /* Override any GCC internal prototype to avoid an error.
22952    Use char because int might match the return type of a GCC
22953    builtin and then its argument prototype would still apply.  */
22954 #ifdef __cplusplus
22955 extern "C"
22956 #endif
22957 char ynl ();
22958 int
22959 main ()
22960 {
22961 return ynl ();
22962   ;
22963   return 0;
22964 }
22965 _ACEOF
22966 if ac_fn_c_try_link "$LINENO"; then :
22967   ac_cv_lib_m_ynl=yes
22968 else
22969   ac_cv_lib_m_ynl=no
22970 fi
22971 rm -f core conftest.err conftest.$ac_objext \
22972     conftest$ac_exeext conftest.$ac_ext
22973 LIBS=$ac_check_lib_save_LIBS
22974 fi
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
22976 $as_echo "$ac_cv_lib_m_ynl" >&6; }
22977 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
22978
22979 $as_echo "#define HAVE_YNL 1" >>confdefs.h
22980
22981 fi
22982
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
22984 $as_echo_n "checking for tgamma in -lm... " >&6; }
22985 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
22986   $as_echo_n "(cached) " >&6
22987 else
22988   ac_check_lib_save_LIBS=$LIBS
22989 LIBS="-lm  $LIBS"
22990 if test x$gcc_no_link = xyes; then
22991   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22992 fi
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h.  */
22995
22996 /* Override any GCC internal prototype to avoid an error.
22997    Use char because int might match the return type of a GCC
22998    builtin and then its argument prototype would still apply.  */
22999 #ifdef __cplusplus
23000 extern "C"
23001 #endif
23002 char tgamma ();
23003 int
23004 main ()
23005 {
23006 return tgamma ();
23007   ;
23008   return 0;
23009 }
23010 _ACEOF
23011 if ac_fn_c_try_link "$LINENO"; then :
23012   ac_cv_lib_m_tgamma=yes
23013 else
23014   ac_cv_lib_m_tgamma=no
23015 fi
23016 rm -f core conftest.err conftest.$ac_objext \
23017     conftest$ac_exeext conftest.$ac_ext
23018 LIBS=$ac_check_lib_save_LIBS
23019 fi
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23021 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23022 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23023
23024 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23025
23026 fi
23027
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23029 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23030 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23031   $as_echo_n "(cached) " >&6
23032 else
23033   ac_check_lib_save_LIBS=$LIBS
23034 LIBS="-lm  $LIBS"
23035 if test x$gcc_no_link = xyes; then
23036   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23037 fi
23038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h.  */
23040
23041 /* Override any GCC internal prototype to avoid an error.
23042    Use char because int might match the return type of a GCC
23043    builtin and then its argument prototype would still apply.  */
23044 #ifdef __cplusplus
23045 extern "C"
23046 #endif
23047 char tgammaf ();
23048 int
23049 main ()
23050 {
23051 return tgammaf ();
23052   ;
23053   return 0;
23054 }
23055 _ACEOF
23056 if ac_fn_c_try_link "$LINENO"; then :
23057   ac_cv_lib_m_tgammaf=yes
23058 else
23059   ac_cv_lib_m_tgammaf=no
23060 fi
23061 rm -f core conftest.err conftest.$ac_objext \
23062     conftest$ac_exeext conftest.$ac_ext
23063 LIBS=$ac_check_lib_save_LIBS
23064 fi
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23066 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23067 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23068
23069 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23070
23071 fi
23072
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23074 $as_echo_n "checking for tgammal in -lm... " >&6; }
23075 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23076   $as_echo_n "(cached) " >&6
23077 else
23078   ac_check_lib_save_LIBS=$LIBS
23079 LIBS="-lm  $LIBS"
23080 if test x$gcc_no_link = xyes; then
23081   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23082 fi
23083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23084 /* end confdefs.h.  */
23085
23086 /* Override any GCC internal prototype to avoid an error.
23087    Use char because int might match the return type of a GCC
23088    builtin and then its argument prototype would still apply.  */
23089 #ifdef __cplusplus
23090 extern "C"
23091 #endif
23092 char tgammal ();
23093 int
23094 main ()
23095 {
23096 return tgammal ();
23097   ;
23098   return 0;
23099 }
23100 _ACEOF
23101 if ac_fn_c_try_link "$LINENO"; then :
23102   ac_cv_lib_m_tgammal=yes
23103 else
23104   ac_cv_lib_m_tgammal=no
23105 fi
23106 rm -f core conftest.err conftest.$ac_objext \
23107     conftest$ac_exeext conftest.$ac_ext
23108 LIBS=$ac_check_lib_save_LIBS
23109 fi
23110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23111 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23112 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23113
23114 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23115
23116 fi
23117
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23119 $as_echo_n "checking for lgamma in -lm... " >&6; }
23120 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23121   $as_echo_n "(cached) " >&6
23122 else
23123   ac_check_lib_save_LIBS=$LIBS
23124 LIBS="-lm  $LIBS"
23125 if test x$gcc_no_link = xyes; then
23126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23127 fi
23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h.  */
23130
23131 /* Override any GCC internal prototype to avoid an error.
23132    Use char because int might match the return type of a GCC
23133    builtin and then its argument prototype would still apply.  */
23134 #ifdef __cplusplus
23135 extern "C"
23136 #endif
23137 char lgamma ();
23138 int
23139 main ()
23140 {
23141 return lgamma ();
23142   ;
23143   return 0;
23144 }
23145 _ACEOF
23146 if ac_fn_c_try_link "$LINENO"; then :
23147   ac_cv_lib_m_lgamma=yes
23148 else
23149   ac_cv_lib_m_lgamma=no
23150 fi
23151 rm -f core conftest.err conftest.$ac_objext \
23152     conftest$ac_exeext conftest.$ac_ext
23153 LIBS=$ac_check_lib_save_LIBS
23154 fi
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23156 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23157 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23158
23159 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23160
23161 fi
23162
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23164 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23165 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23166   $as_echo_n "(cached) " >&6
23167 else
23168   ac_check_lib_save_LIBS=$LIBS
23169 LIBS="-lm  $LIBS"
23170 if test x$gcc_no_link = xyes; then
23171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23172 fi
23173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h.  */
23175
23176 /* Override any GCC internal prototype to avoid an error.
23177    Use char because int might match the return type of a GCC
23178    builtin and then its argument prototype would still apply.  */
23179 #ifdef __cplusplus
23180 extern "C"
23181 #endif
23182 char lgammaf ();
23183 int
23184 main ()
23185 {
23186 return lgammaf ();
23187   ;
23188   return 0;
23189 }
23190 _ACEOF
23191 if ac_fn_c_try_link "$LINENO"; then :
23192   ac_cv_lib_m_lgammaf=yes
23193 else
23194   ac_cv_lib_m_lgammaf=no
23195 fi
23196 rm -f core conftest.err conftest.$ac_objext \
23197     conftest$ac_exeext conftest.$ac_ext
23198 LIBS=$ac_check_lib_save_LIBS
23199 fi
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23201 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23202 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23203
23204 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23205
23206 fi
23207
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23209 $as_echo_n "checking for lgammal in -lm... " >&6; }
23210 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23211   $as_echo_n "(cached) " >&6
23212 else
23213   ac_check_lib_save_LIBS=$LIBS
23214 LIBS="-lm  $LIBS"
23215 if test x$gcc_no_link = xyes; then
23216   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23217 fi
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h.  */
23220
23221 /* Override any GCC internal prototype to avoid an error.
23222    Use char because int might match the return type of a GCC
23223    builtin and then its argument prototype would still apply.  */
23224 #ifdef __cplusplus
23225 extern "C"
23226 #endif
23227 char lgammal ();
23228 int
23229 main ()
23230 {
23231 return lgammal ();
23232   ;
23233   return 0;
23234 }
23235 _ACEOF
23236 if ac_fn_c_try_link "$LINENO"; then :
23237   ac_cv_lib_m_lgammal=yes
23238 else
23239   ac_cv_lib_m_lgammal=no
23240 fi
23241 rm -f core conftest.err conftest.$ac_objext \
23242     conftest$ac_exeext conftest.$ac_ext
23243 LIBS=$ac_check_lib_save_LIBS
23244 fi
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23246 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23247 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23248
23249 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23250
23251 fi
23252
23253
23254 # Check for GFORTRAN_C99_1.1 funcs
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23256 $as_echo_n "checking for cacos in -lm... " >&6; }
23257 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23258   $as_echo_n "(cached) " >&6
23259 else
23260   ac_check_lib_save_LIBS=$LIBS
23261 LIBS="-lm  $LIBS"
23262 if test x$gcc_no_link = xyes; then
23263   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23264 fi
23265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h.  */
23267
23268 /* Override any GCC internal prototype to avoid an error.
23269    Use char because int might match the return type of a GCC
23270    builtin and then its argument prototype would still apply.  */
23271 #ifdef __cplusplus
23272 extern "C"
23273 #endif
23274 char cacos ();
23275 int
23276 main ()
23277 {
23278 return cacos ();
23279   ;
23280   return 0;
23281 }
23282 _ACEOF
23283 if ac_fn_c_try_link "$LINENO"; then :
23284   ac_cv_lib_m_cacos=yes
23285 else
23286   ac_cv_lib_m_cacos=no
23287 fi
23288 rm -f core conftest.err conftest.$ac_objext \
23289     conftest$ac_exeext conftest.$ac_ext
23290 LIBS=$ac_check_lib_save_LIBS
23291 fi
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23293 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23294 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23295
23296 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23297
23298 fi
23299
23300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23301 $as_echo_n "checking for cacosf in -lm... " >&6; }
23302 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23303   $as_echo_n "(cached) " >&6
23304 else
23305   ac_check_lib_save_LIBS=$LIBS
23306 LIBS="-lm  $LIBS"
23307 if test x$gcc_no_link = xyes; then
23308   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23309 fi
23310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23311 /* end confdefs.h.  */
23312
23313 /* Override any GCC internal prototype to avoid an error.
23314    Use char because int might match the return type of a GCC
23315    builtin and then its argument prototype would still apply.  */
23316 #ifdef __cplusplus
23317 extern "C"
23318 #endif
23319 char cacosf ();
23320 int
23321 main ()
23322 {
23323 return cacosf ();
23324   ;
23325   return 0;
23326 }
23327 _ACEOF
23328 if ac_fn_c_try_link "$LINENO"; then :
23329   ac_cv_lib_m_cacosf=yes
23330 else
23331   ac_cv_lib_m_cacosf=no
23332 fi
23333 rm -f core conftest.err conftest.$ac_objext \
23334     conftest$ac_exeext conftest.$ac_ext
23335 LIBS=$ac_check_lib_save_LIBS
23336 fi
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23338 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23339 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23340
23341 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23342
23343 fi
23344
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23346 $as_echo_n "checking for cacosh in -lm... " >&6; }
23347 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23348   $as_echo_n "(cached) " >&6
23349 else
23350   ac_check_lib_save_LIBS=$LIBS
23351 LIBS="-lm  $LIBS"
23352 if test x$gcc_no_link = xyes; then
23353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23354 fi
23355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23356 /* end confdefs.h.  */
23357
23358 /* Override any GCC internal prototype to avoid an error.
23359    Use char because int might match the return type of a GCC
23360    builtin and then its argument prototype would still apply.  */
23361 #ifdef __cplusplus
23362 extern "C"
23363 #endif
23364 char cacosh ();
23365 int
23366 main ()
23367 {
23368 return cacosh ();
23369   ;
23370   return 0;
23371 }
23372 _ACEOF
23373 if ac_fn_c_try_link "$LINENO"; then :
23374   ac_cv_lib_m_cacosh=yes
23375 else
23376   ac_cv_lib_m_cacosh=no
23377 fi
23378 rm -f core conftest.err conftest.$ac_objext \
23379     conftest$ac_exeext conftest.$ac_ext
23380 LIBS=$ac_check_lib_save_LIBS
23381 fi
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23383 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23384 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23385
23386 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23387
23388 fi
23389
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23391 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23392 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23393   $as_echo_n "(cached) " >&6
23394 else
23395   ac_check_lib_save_LIBS=$LIBS
23396 LIBS="-lm  $LIBS"
23397 if test x$gcc_no_link = xyes; then
23398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23399 fi
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h.  */
23402
23403 /* Override any GCC internal prototype to avoid an error.
23404    Use char because int might match the return type of a GCC
23405    builtin and then its argument prototype would still apply.  */
23406 #ifdef __cplusplus
23407 extern "C"
23408 #endif
23409 char cacoshf ();
23410 int
23411 main ()
23412 {
23413 return cacoshf ();
23414   ;
23415   return 0;
23416 }
23417 _ACEOF
23418 if ac_fn_c_try_link "$LINENO"; then :
23419   ac_cv_lib_m_cacoshf=yes
23420 else
23421   ac_cv_lib_m_cacoshf=no
23422 fi
23423 rm -f core conftest.err conftest.$ac_objext \
23424     conftest$ac_exeext conftest.$ac_ext
23425 LIBS=$ac_check_lib_save_LIBS
23426 fi
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23428 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23429 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23430
23431 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23432
23433 fi
23434
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23436 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23437 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23438   $as_echo_n "(cached) " >&6
23439 else
23440   ac_check_lib_save_LIBS=$LIBS
23441 LIBS="-lm  $LIBS"
23442 if test x$gcc_no_link = xyes; then
23443   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23444 fi
23445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h.  */
23447
23448 /* Override any GCC internal prototype to avoid an error.
23449    Use char because int might match the return type of a GCC
23450    builtin and then its argument prototype would still apply.  */
23451 #ifdef __cplusplus
23452 extern "C"
23453 #endif
23454 char cacoshl ();
23455 int
23456 main ()
23457 {
23458 return cacoshl ();
23459   ;
23460   return 0;
23461 }
23462 _ACEOF
23463 if ac_fn_c_try_link "$LINENO"; then :
23464   ac_cv_lib_m_cacoshl=yes
23465 else
23466   ac_cv_lib_m_cacoshl=no
23467 fi
23468 rm -f core conftest.err conftest.$ac_objext \
23469     conftest$ac_exeext conftest.$ac_ext
23470 LIBS=$ac_check_lib_save_LIBS
23471 fi
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23473 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23474 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23475
23476 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23477
23478 fi
23479
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23481 $as_echo_n "checking for cacosl in -lm... " >&6; }
23482 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23483   $as_echo_n "(cached) " >&6
23484 else
23485   ac_check_lib_save_LIBS=$LIBS
23486 LIBS="-lm  $LIBS"
23487 if test x$gcc_no_link = xyes; then
23488   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23489 fi
23490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23491 /* end confdefs.h.  */
23492
23493 /* Override any GCC internal prototype to avoid an error.
23494    Use char because int might match the return type of a GCC
23495    builtin and then its argument prototype would still apply.  */
23496 #ifdef __cplusplus
23497 extern "C"
23498 #endif
23499 char cacosl ();
23500 int
23501 main ()
23502 {
23503 return cacosl ();
23504   ;
23505   return 0;
23506 }
23507 _ACEOF
23508 if ac_fn_c_try_link "$LINENO"; then :
23509   ac_cv_lib_m_cacosl=yes
23510 else
23511   ac_cv_lib_m_cacosl=no
23512 fi
23513 rm -f core conftest.err conftest.$ac_objext \
23514     conftest$ac_exeext conftest.$ac_ext
23515 LIBS=$ac_check_lib_save_LIBS
23516 fi
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23518 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23519 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23520
23521 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23522
23523 fi
23524
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23526 $as_echo_n "checking for casin in -lm... " >&6; }
23527 if test "${ac_cv_lib_m_casin+set}" = set; then :
23528   $as_echo_n "(cached) " >&6
23529 else
23530   ac_check_lib_save_LIBS=$LIBS
23531 LIBS="-lm  $LIBS"
23532 if test x$gcc_no_link = xyes; then
23533   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23534 fi
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h.  */
23537
23538 /* Override any GCC internal prototype to avoid an error.
23539    Use char because int might match the return type of a GCC
23540    builtin and then its argument prototype would still apply.  */
23541 #ifdef __cplusplus
23542 extern "C"
23543 #endif
23544 char casin ();
23545 int
23546 main ()
23547 {
23548 return casin ();
23549   ;
23550   return 0;
23551 }
23552 _ACEOF
23553 if ac_fn_c_try_link "$LINENO"; then :
23554   ac_cv_lib_m_casin=yes
23555 else
23556   ac_cv_lib_m_casin=no
23557 fi
23558 rm -f core conftest.err conftest.$ac_objext \
23559     conftest$ac_exeext conftest.$ac_ext
23560 LIBS=$ac_check_lib_save_LIBS
23561 fi
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23563 $as_echo "$ac_cv_lib_m_casin" >&6; }
23564 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23565
23566 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23567
23568 fi
23569
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23571 $as_echo_n "checking for casinf in -lm... " >&6; }
23572 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23573   $as_echo_n "(cached) " >&6
23574 else
23575   ac_check_lib_save_LIBS=$LIBS
23576 LIBS="-lm  $LIBS"
23577 if test x$gcc_no_link = xyes; then
23578   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23579 fi
23580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23581 /* end confdefs.h.  */
23582
23583 /* Override any GCC internal prototype to avoid an error.
23584    Use char because int might match the return type of a GCC
23585    builtin and then its argument prototype would still apply.  */
23586 #ifdef __cplusplus
23587 extern "C"
23588 #endif
23589 char casinf ();
23590 int
23591 main ()
23592 {
23593 return casinf ();
23594   ;
23595   return 0;
23596 }
23597 _ACEOF
23598 if ac_fn_c_try_link "$LINENO"; then :
23599   ac_cv_lib_m_casinf=yes
23600 else
23601   ac_cv_lib_m_casinf=no
23602 fi
23603 rm -f core conftest.err conftest.$ac_objext \
23604     conftest$ac_exeext conftest.$ac_ext
23605 LIBS=$ac_check_lib_save_LIBS
23606 fi
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23608 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23609 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23610
23611 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23612
23613 fi
23614
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23616 $as_echo_n "checking for casinh in -lm... " >&6; }
23617 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23618   $as_echo_n "(cached) " >&6
23619 else
23620   ac_check_lib_save_LIBS=$LIBS
23621 LIBS="-lm  $LIBS"
23622 if test x$gcc_no_link = xyes; then
23623   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23624 fi
23625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23626 /* end confdefs.h.  */
23627
23628 /* Override any GCC internal prototype to avoid an error.
23629    Use char because int might match the return type of a GCC
23630    builtin and then its argument prototype would still apply.  */
23631 #ifdef __cplusplus
23632 extern "C"
23633 #endif
23634 char casinh ();
23635 int
23636 main ()
23637 {
23638 return casinh ();
23639   ;
23640   return 0;
23641 }
23642 _ACEOF
23643 if ac_fn_c_try_link "$LINENO"; then :
23644   ac_cv_lib_m_casinh=yes
23645 else
23646   ac_cv_lib_m_casinh=no
23647 fi
23648 rm -f core conftest.err conftest.$ac_objext \
23649     conftest$ac_exeext conftest.$ac_ext
23650 LIBS=$ac_check_lib_save_LIBS
23651 fi
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23653 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23654 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23655
23656 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23657
23658 fi
23659
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23661 $as_echo_n "checking for casinhf in -lm... " >&6; }
23662 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23663   $as_echo_n "(cached) " >&6
23664 else
23665   ac_check_lib_save_LIBS=$LIBS
23666 LIBS="-lm  $LIBS"
23667 if test x$gcc_no_link = xyes; then
23668   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23669 fi
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h.  */
23672
23673 /* Override any GCC internal prototype to avoid an error.
23674    Use char because int might match the return type of a GCC
23675    builtin and then its argument prototype would still apply.  */
23676 #ifdef __cplusplus
23677 extern "C"
23678 #endif
23679 char casinhf ();
23680 int
23681 main ()
23682 {
23683 return casinhf ();
23684   ;
23685   return 0;
23686 }
23687 _ACEOF
23688 if ac_fn_c_try_link "$LINENO"; then :
23689   ac_cv_lib_m_casinhf=yes
23690 else
23691   ac_cv_lib_m_casinhf=no
23692 fi
23693 rm -f core conftest.err conftest.$ac_objext \
23694     conftest$ac_exeext conftest.$ac_ext
23695 LIBS=$ac_check_lib_save_LIBS
23696 fi
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23698 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23699 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23700
23701 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23702
23703 fi
23704
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23706 $as_echo_n "checking for casinhl in -lm... " >&6; }
23707 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23708   $as_echo_n "(cached) " >&6
23709 else
23710   ac_check_lib_save_LIBS=$LIBS
23711 LIBS="-lm  $LIBS"
23712 if test x$gcc_no_link = xyes; then
23713   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23714 fi
23715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h.  */
23717
23718 /* Override any GCC internal prototype to avoid an error.
23719    Use char because int might match the return type of a GCC
23720    builtin and then its argument prototype would still apply.  */
23721 #ifdef __cplusplus
23722 extern "C"
23723 #endif
23724 char casinhl ();
23725 int
23726 main ()
23727 {
23728 return casinhl ();
23729   ;
23730   return 0;
23731 }
23732 _ACEOF
23733 if ac_fn_c_try_link "$LINENO"; then :
23734   ac_cv_lib_m_casinhl=yes
23735 else
23736   ac_cv_lib_m_casinhl=no
23737 fi
23738 rm -f core conftest.err conftest.$ac_objext \
23739     conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23741 fi
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23743 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23744 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23745
23746 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23747
23748 fi
23749
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23751 $as_echo_n "checking for casinl in -lm... " >&6; }
23752 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23753   $as_echo_n "(cached) " >&6
23754 else
23755   ac_check_lib_save_LIBS=$LIBS
23756 LIBS="-lm  $LIBS"
23757 if test x$gcc_no_link = xyes; then
23758   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23759 fi
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h.  */
23762
23763 /* Override any GCC internal prototype to avoid an error.
23764    Use char because int might match the return type of a GCC
23765    builtin and then its argument prototype would still apply.  */
23766 #ifdef __cplusplus
23767 extern "C"
23768 #endif
23769 char casinl ();
23770 int
23771 main ()
23772 {
23773 return casinl ();
23774   ;
23775   return 0;
23776 }
23777 _ACEOF
23778 if ac_fn_c_try_link "$LINENO"; then :
23779   ac_cv_lib_m_casinl=yes
23780 else
23781   ac_cv_lib_m_casinl=no
23782 fi
23783 rm -f core conftest.err conftest.$ac_objext \
23784     conftest$ac_exeext conftest.$ac_ext
23785 LIBS=$ac_check_lib_save_LIBS
23786 fi
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23788 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23789 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23790
23791 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23792
23793 fi
23794
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23796 $as_echo_n "checking for catan in -lm... " >&6; }
23797 if test "${ac_cv_lib_m_catan+set}" = set; then :
23798   $as_echo_n "(cached) " >&6
23799 else
23800   ac_check_lib_save_LIBS=$LIBS
23801 LIBS="-lm  $LIBS"
23802 if test x$gcc_no_link = xyes; then
23803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23804 fi
23805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23806 /* end confdefs.h.  */
23807
23808 /* Override any GCC internal prototype to avoid an error.
23809    Use char because int might match the return type of a GCC
23810    builtin and then its argument prototype would still apply.  */
23811 #ifdef __cplusplus
23812 extern "C"
23813 #endif
23814 char catan ();
23815 int
23816 main ()
23817 {
23818 return catan ();
23819   ;
23820   return 0;
23821 }
23822 _ACEOF
23823 if ac_fn_c_try_link "$LINENO"; then :
23824   ac_cv_lib_m_catan=yes
23825 else
23826   ac_cv_lib_m_catan=no
23827 fi
23828 rm -f core conftest.err conftest.$ac_objext \
23829     conftest$ac_exeext conftest.$ac_ext
23830 LIBS=$ac_check_lib_save_LIBS
23831 fi
23832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23833 $as_echo "$ac_cv_lib_m_catan" >&6; }
23834 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23835
23836 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23837
23838 fi
23839
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23841 $as_echo_n "checking for catanf in -lm... " >&6; }
23842 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23843   $as_echo_n "(cached) " >&6
23844 else
23845   ac_check_lib_save_LIBS=$LIBS
23846 LIBS="-lm  $LIBS"
23847 if test x$gcc_no_link = xyes; then
23848   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23849 fi
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h.  */
23852
23853 /* Override any GCC internal prototype to avoid an error.
23854    Use char because int might match the return type of a GCC
23855    builtin and then its argument prototype would still apply.  */
23856 #ifdef __cplusplus
23857 extern "C"
23858 #endif
23859 char catanf ();
23860 int
23861 main ()
23862 {
23863 return catanf ();
23864   ;
23865   return 0;
23866 }
23867 _ACEOF
23868 if ac_fn_c_try_link "$LINENO"; then :
23869   ac_cv_lib_m_catanf=yes
23870 else
23871   ac_cv_lib_m_catanf=no
23872 fi
23873 rm -f core conftest.err conftest.$ac_objext \
23874     conftest$ac_exeext conftest.$ac_ext
23875 LIBS=$ac_check_lib_save_LIBS
23876 fi
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23878 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23879 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23880
23881 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23882
23883 fi
23884
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23886 $as_echo_n "checking for catanh in -lm... " >&6; }
23887 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23888   $as_echo_n "(cached) " >&6
23889 else
23890   ac_check_lib_save_LIBS=$LIBS
23891 LIBS="-lm  $LIBS"
23892 if test x$gcc_no_link = xyes; then
23893   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23894 fi
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h.  */
23897
23898 /* Override any GCC internal prototype to avoid an error.
23899    Use char because int might match the return type of a GCC
23900    builtin and then its argument prototype would still apply.  */
23901 #ifdef __cplusplus
23902 extern "C"
23903 #endif
23904 char catanh ();
23905 int
23906 main ()
23907 {
23908 return catanh ();
23909   ;
23910   return 0;
23911 }
23912 _ACEOF
23913 if ac_fn_c_try_link "$LINENO"; then :
23914   ac_cv_lib_m_catanh=yes
23915 else
23916   ac_cv_lib_m_catanh=no
23917 fi
23918 rm -f core conftest.err conftest.$ac_objext \
23919     conftest$ac_exeext conftest.$ac_ext
23920 LIBS=$ac_check_lib_save_LIBS
23921 fi
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23923 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23924 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23925
23926 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23927
23928 fi
23929
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23931 $as_echo_n "checking for catanhf in -lm... " >&6; }
23932 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23933   $as_echo_n "(cached) " >&6
23934 else
23935   ac_check_lib_save_LIBS=$LIBS
23936 LIBS="-lm  $LIBS"
23937 if test x$gcc_no_link = xyes; then
23938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23939 fi
23940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23941 /* end confdefs.h.  */
23942
23943 /* Override any GCC internal prototype to avoid an error.
23944    Use char because int might match the return type of a GCC
23945    builtin and then its argument prototype would still apply.  */
23946 #ifdef __cplusplus
23947 extern "C"
23948 #endif
23949 char catanhf ();
23950 int
23951 main ()
23952 {
23953 return catanhf ();
23954   ;
23955   return 0;
23956 }
23957 _ACEOF
23958 if ac_fn_c_try_link "$LINENO"; then :
23959   ac_cv_lib_m_catanhf=yes
23960 else
23961   ac_cv_lib_m_catanhf=no
23962 fi
23963 rm -f core conftest.err conftest.$ac_objext \
23964     conftest$ac_exeext conftest.$ac_ext
23965 LIBS=$ac_check_lib_save_LIBS
23966 fi
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
23968 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
23969 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
23970
23971 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
23972
23973 fi
23974
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
23976 $as_echo_n "checking for catanhl in -lm... " >&6; }
23977 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
23978   $as_echo_n "(cached) " >&6
23979 else
23980   ac_check_lib_save_LIBS=$LIBS
23981 LIBS="-lm  $LIBS"
23982 if test x$gcc_no_link = xyes; then
23983   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23984 fi
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h.  */
23987
23988 /* Override any GCC internal prototype to avoid an error.
23989    Use char because int might match the return type of a GCC
23990    builtin and then its argument prototype would still apply.  */
23991 #ifdef __cplusplus
23992 extern "C"
23993 #endif
23994 char catanhl ();
23995 int
23996 main ()
23997 {
23998 return catanhl ();
23999   ;
24000   return 0;
24001 }
24002 _ACEOF
24003 if ac_fn_c_try_link "$LINENO"; then :
24004   ac_cv_lib_m_catanhl=yes
24005 else
24006   ac_cv_lib_m_catanhl=no
24007 fi
24008 rm -f core conftest.err conftest.$ac_objext \
24009     conftest$ac_exeext conftest.$ac_ext
24010 LIBS=$ac_check_lib_save_LIBS
24011 fi
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24013 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24014 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24015
24016 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24017
24018 fi
24019
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24021 $as_echo_n "checking for catanl in -lm... " >&6; }
24022 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24023   $as_echo_n "(cached) " >&6
24024 else
24025   ac_check_lib_save_LIBS=$LIBS
24026 LIBS="-lm  $LIBS"
24027 if test x$gcc_no_link = xyes; then
24028   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24029 fi
24030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h.  */
24032
24033 /* Override any GCC internal prototype to avoid an error.
24034    Use char because int might match the return type of a GCC
24035    builtin and then its argument prototype would still apply.  */
24036 #ifdef __cplusplus
24037 extern "C"
24038 #endif
24039 char catanl ();
24040 int
24041 main ()
24042 {
24043 return catanl ();
24044   ;
24045   return 0;
24046 }
24047 _ACEOF
24048 if ac_fn_c_try_link "$LINENO"; then :
24049   ac_cv_lib_m_catanl=yes
24050 else
24051   ac_cv_lib_m_catanl=no
24052 fi
24053 rm -f core conftest.err conftest.$ac_objext \
24054     conftest$ac_exeext conftest.$ac_ext
24055 LIBS=$ac_check_lib_save_LIBS
24056 fi
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24058 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24059 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24060
24061 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24062
24063 fi
24064
24065
24066 # On AIX, clog is present in libm as __clog
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24068 $as_echo_n "checking for __clog in -lm... " >&6; }
24069 if test "${ac_cv_lib_m___clog+set}" = set; then :
24070   $as_echo_n "(cached) " >&6
24071 else
24072   ac_check_lib_save_LIBS=$LIBS
24073 LIBS="-lm  $LIBS"
24074 if test x$gcc_no_link = xyes; then
24075   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24076 fi
24077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h.  */
24079
24080 /* Override any GCC internal prototype to avoid an error.
24081    Use char because int might match the return type of a GCC
24082    builtin and then its argument prototype would still apply.  */
24083 #ifdef __cplusplus
24084 extern "C"
24085 #endif
24086 char __clog ();
24087 int
24088 main ()
24089 {
24090 return __clog ();
24091   ;
24092   return 0;
24093 }
24094 _ACEOF
24095 if ac_fn_c_try_link "$LINENO"; then :
24096   ac_cv_lib_m___clog=yes
24097 else
24098   ac_cv_lib_m___clog=no
24099 fi
24100 rm -f core conftest.err conftest.$ac_objext \
24101     conftest$ac_exeext conftest.$ac_ext
24102 LIBS=$ac_check_lib_save_LIBS
24103 fi
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24105 $as_echo "$ac_cv_lib_m___clog" >&6; }
24106 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24107
24108 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24109
24110 fi
24111
24112
24113 # Check for a isfinite macro that works on long doubles.
24114
24115   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isfinite is broken" >&5
24116 $as_echo_n "checking whether isfinite is broken... " >&6; }
24117 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then :
24118   $as_echo_n "(cached) " >&6
24119 else
24120
24121   libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
24122   LIBS="$LIBS -lm"
24123   if test "$cross_compiling" = yes; then :
24124
24125 case "${target}" in
24126   hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
24127   *) libgfor_cv_have_broken_isfinite=no ;;
24128 esac
24129 else
24130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24131 /* end confdefs.h.  */
24132
24133 #include <math.h>
24134 #include <float.h>
24135 int main ()
24136 {
24137 #ifdef isfinite
24138 #ifdef LDBL_MAX
24139   if (!isfinite(LDBL_MAX)) return 1;
24140 #endif
24141 #ifdef DBL_MAX
24142   if (!isfinite(DBL_MAX)) return 1;
24143 #endif
24144 #endif
24145 return 0;
24146 }
24147 _ACEOF
24148 if ac_fn_c_try_run "$LINENO"; then :
24149   libgfor_cv_have_broken_isfinite=no
24150 else
24151   libgfor_cv_have_broken_isfinite=yes
24152 fi
24153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24154   conftest.$ac_objext conftest.beam conftest.$ac_ext
24155 fi
24156
24157   LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
24158 fi
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isfinite" >&5
24160 $as_echo "$libgfor_cv_have_broken_isfinite" >&6; }
24161 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
24162
24163 $as_echo "#define HAVE_BROKEN_ISFINITE 1" >>confdefs.h
24164
24165 fi
24166
24167 # Check for a isnan macro that works on long doubles.
24168
24169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isnan is broken" >&5
24170 $as_echo_n "checking whether isnan is broken... " >&6; }
24171 if test "${libgfor_cv_have_broken_isnan+set}" = set; then :
24172   $as_echo_n "(cached) " >&6
24173 else
24174
24175   libgfor_check_for_broken_isnan_save_LIBS=$LIBS
24176   LIBS="$LIBS -lm"
24177   if test "$cross_compiling" = yes; then :
24178
24179 case "${target}" in
24180   hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
24181   *) libgfor_cv_have_broken_isnan=no ;;
24182 esac
24183 else
24184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24185 /* end confdefs.h.  */
24186
24187 #include <math.h>
24188 #include <float.h>
24189 int main ()
24190 {
24191 #ifdef isnan
24192 #ifdef LDBL_MAX
24193   {
24194     long double x;
24195     x = __builtin_nanl ("");
24196     if (!isnan(x)) return 1;
24197     if (isnan(LDBL_MAX)) return 1;
24198 #ifdef NAN
24199     x = (long double) NAN;
24200     if (!isnan(x)) return 1;
24201 #endif
24202   }
24203 #endif
24204 #ifdef DBL_MAX
24205   {
24206     double y;
24207     y = __builtin_nan ("");
24208     if (!isnan(y)) return 1;
24209     if (isnan(DBL_MAX)) return 1;
24210 #ifdef NAN
24211     y = (double) NAN;
24212     if (!isnan(y)) return 1;
24213 #endif
24214   }
24215 #endif
24216 #endif
24217 return 0;
24218 }
24219 _ACEOF
24220 if ac_fn_c_try_run "$LINENO"; then :
24221   libgfor_cv_have_broken_isnan=no
24222 else
24223   libgfor_cv_have_broken_isnan=yes
24224 fi
24225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24226   conftest.$ac_objext conftest.beam conftest.$ac_ext
24227 fi
24228
24229   LIBS=$libgfor_check_for_broken_isnan_save_LIBS
24230 fi
24231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_isnan" >&5
24232 $as_echo "$libgfor_cv_have_broken_isnan" >&6; }
24233 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
24234
24235 $as_echo "#define HAVE_BROKEN_ISNAN 1" >>confdefs.h
24236
24237 fi
24238
24239 # Check for a fpclassify macro that works on long doubles.
24240
24241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpclassify is broken" >&5
24242 $as_echo_n "checking whether fpclassify is broken... " >&6; }
24243 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then :
24244   $as_echo_n "(cached) " >&6
24245 else
24246
24247   libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
24248   LIBS="$LIBS -lm"
24249   if test "$cross_compiling" = yes; then :
24250
24251 case "${target}" in
24252   hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
24253   *) libgfor_cv_have_broken_fpclassify=no ;;
24254 esac
24255 else
24256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24257 /* end confdefs.h.  */
24258
24259 #include <math.h>
24260 #include <float.h>
24261 int main ()
24262 {
24263 #ifdef fpclassify
24264 #ifdef LDBL_MAX
24265         if (fpclassify(LDBL_MAX) == FP_NAN
24266             || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
24267 #endif
24268 #ifdef DBL_MAX
24269         if (fpclassify(DBL_MAX) == FP_NAN
24270             || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
24271 #endif
24272 #endif
24273 return 0;
24274 }
24275 _ACEOF
24276 if ac_fn_c_try_run "$LINENO"; then :
24277   libgfor_cv_have_broken_fpclassify=no
24278 else
24279   libgfor_cv_have_broken_fpclassify=yes
24280 fi
24281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24282   conftest.$ac_objext conftest.beam conftest.$ac_ext
24283 fi
24284
24285   LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
24286 fi
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_fpclassify" >&5
24288 $as_echo "$libgfor_cv_have_broken_fpclassify" >&6; }
24289 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
24290
24291 $as_echo "#define HAVE_BROKEN_FPCLASSIFY 1" >>confdefs.h
24292
24293 fi
24294
24295 # Check whether the system has a working stat()
24296
24297   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24298 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24299 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24300   $as_echo_n "(cached) " >&6
24301 else
24302
24303   if test "$cross_compiling" = yes; then :
24304
24305 case "${target}" in
24306   *mingw*) libgfor_cv_have_working_stat=no ;;
24307   *) libgfor_cv_have_working_stat=yes;;
24308 esac
24309 else
24310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24311 /* end confdefs.h.  */
24312
24313 #include <stdio.h>
24314 #include <sys/types.h>
24315 #include <sys/stat.h>
24316 #include <unistd.h>
24317
24318 int main ()
24319 {
24320   FILE *f, *g;
24321   struct stat st1, st2;
24322
24323   f = fopen ("foo", "w");
24324   g = fopen ("bar", "w");
24325   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24326     return 1;
24327   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24328     return 1;
24329   fclose(f);
24330   fclose(g);
24331   return 0;
24332 }
24333 _ACEOF
24334 if ac_fn_c_try_run "$LINENO"; then :
24335   libgfor_cv_have_working_stat=yes
24336 else
24337   libgfor_cv_have_working_stat=no
24338 fi
24339 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24340   conftest.$ac_objext conftest.beam conftest.$ac_ext
24341 fi
24342
24343 fi
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24345 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24346 if test x"$libgfor_cv_have_working_stat" = xyes; then
24347
24348 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24349
24350 fi
24351
24352 # Check whether __mingw_snprintf() is present
24353
24354   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24355 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24356 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24357   $as_echo_n "(cached) " >&6
24358 else
24359
24360     if test x$gcc_no_link = xyes; then
24361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24362 fi
24363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24364 /* end confdefs.h.  */
24365
24366 #include <stdio.h>
24367 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24368
24369 int
24370 main ()
24371 {
24372
24373 __mingw_snprintf (NULL, 0, "%d\n", 1);
24374
24375   ;
24376   return 0;
24377 }
24378 _ACEOF
24379 if ac_fn_c_try_link "$LINENO"; then :
24380   eval "libgfor_cv_have_mingw_snprintf=yes"
24381 else
24382   eval "libgfor_cv_have_mingw_snprintf=no"
24383 fi
24384 rm -f core conftest.err conftest.$ac_objext \
24385     conftest$ac_exeext conftest.$ac_ext
24386
24387 fi
24388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24389 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24390   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24391
24392 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24393
24394   fi
24395
24396
24397 # Check for a broken powf implementation
24398
24399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24400 $as_echo_n "checking whether powf is broken... " >&6; }
24401 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24402   $as_echo_n "(cached) " >&6
24403 else
24404
24405 case "${target}" in
24406   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24407   *) libgfor_cv_have_broken_powf=no;;
24408 esac
24409 fi
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24411 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24412   if test x"$libgfor_cv_have_broken_powf" = xyes; then
24413
24414 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24415
24416   fi
24417
24418
24419 # Check for GNU libc feenableexcept
24420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24421 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24422 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24423   $as_echo_n "(cached) " >&6
24424 else
24425   ac_check_lib_save_LIBS=$LIBS
24426 LIBS="-lm  $LIBS"
24427 if test x$gcc_no_link = xyes; then
24428   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24429 fi
24430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24431 /* end confdefs.h.  */
24432
24433 /* Override any GCC internal prototype to avoid an error.
24434    Use char because int might match the return type of a GCC
24435    builtin and then its argument prototype would still apply.  */
24436 #ifdef __cplusplus
24437 extern "C"
24438 #endif
24439 char feenableexcept ();
24440 int
24441 main ()
24442 {
24443 return feenableexcept ();
24444   ;
24445   return 0;
24446 }
24447 _ACEOF
24448 if ac_fn_c_try_link "$LINENO"; then :
24449   ac_cv_lib_m_feenableexcept=yes
24450 else
24451   ac_cv_lib_m_feenableexcept=no
24452 fi
24453 rm -f core conftest.err conftest.$ac_objext \
24454     conftest$ac_exeext conftest.$ac_ext
24455 LIBS=$ac_check_lib_save_LIBS
24456 fi
24457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24458 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24459 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24460   have_feenableexcept=yes
24461 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24462
24463 fi
24464
24465
24466 # Check for SysV fpsetmask
24467
24468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24469 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24470 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24471   $as_echo_n "(cached) " >&6
24472 else
24473
24474     if test x$gcc_no_link = xyes; then
24475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24476 fi
24477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24478 /* end confdefs.h.  */
24479
24480 #if HAVE_FLOATINGPOINT_H
24481 # include <floatingpoint.h>
24482 #endif /* HAVE_FLOATINGPOINT_H */
24483 #if HAVE_IEEEFP_H
24484 # include <ieeefp.h>
24485 #endif /* HAVE_IEEEFP_H */
24486 int
24487 main ()
24488 {
24489 fpsetmask(0);
24490   ;
24491   return 0;
24492 }
24493 _ACEOF
24494 if ac_fn_c_try_link "$LINENO"; then :
24495   eval "libgfor_cv_have_fpsetmask=yes"
24496 else
24497   eval "libgfor_cv_have_fpsetmask=no"
24498 fi
24499 rm -f core conftest.err conftest.$ac_objext \
24500     conftest$ac_exeext conftest.$ac_ext
24501
24502 fi
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24504 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24505   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24506
24507 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24508
24509   fi
24510
24511
24512 # Check for AIX fp_trap and fp_enable
24513 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24514 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24515   have_fp_trap=yes
24516 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24517
24518 fi
24519
24520 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24521 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24522   have_fp_enable=yes
24523 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24524
24525 fi
24526
24527
24528 # Runs configure.host to set up necessary host-dependent shell variables.
24529 # We then display a message about it, and propagate them through the
24530 # build chain.
24531 . ${srcdir}/configure.host
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24533 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24534 FPU_HOST_HEADER=config/${fpu_host}.h
24535
24536
24537 # Some targets require additional compiler options for IEEE compatibility.
24538 IEEE_FLAGS="${ieee_flags}"
24539
24540
24541 # Check out attribute support.
24542
24543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24544 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24545 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24546   $as_echo_n "(cached) " >&6
24547 else
24548
24549   save_CFLAGS="$CFLAGS"
24550   CFLAGS="$CFLAGS -Werror"
24551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24552 /* end confdefs.h.  */
24553 void __attribute__((visibility("hidden"))) foo(void) { }
24554 int
24555 main ()
24556 {
24557
24558   ;
24559   return 0;
24560 }
24561 _ACEOF
24562 if ac_fn_c_try_compile "$LINENO"; then :
24563   libgfor_cv_have_attribute_visibility=yes
24564 else
24565   libgfor_cv_have_attribute_visibility=no
24566 fi
24567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24568   CFLAGS="$save_CFLAGS"
24569 fi
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24571 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24572   if test $libgfor_cv_have_attribute_visibility = yes; then
24573
24574 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24575
24576   fi
24577
24578   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24579 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24580 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24581   $as_echo_n "(cached) " >&6
24582 else
24583
24584   save_CFLAGS="$CFLAGS"
24585   CFLAGS="$CFLAGS -Werror"
24586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24587 /* end confdefs.h.  */
24588 void __attribute__((dllexport)) foo(void) { }
24589 int
24590 main ()
24591 {
24592
24593   ;
24594   return 0;
24595 }
24596 _ACEOF
24597 if ac_fn_c_try_compile "$LINENO"; then :
24598   libgfor_cv_have_attribute_dllexport=yes
24599 else
24600   libgfor_cv_have_attribute_dllexport=no
24601 fi
24602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24603   CFLAGS="$save_CFLAGS"
24604 fi
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24606 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24607   if test $libgfor_cv_have_attribute_dllexport = yes; then
24608
24609 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24610
24611   fi
24612
24613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24614 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24615 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24616   $as_echo_n "(cached) " >&6
24617 else
24618
24619   if test x$gcc_no_link = xyes; then
24620   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24621 fi
24622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24623 /* end confdefs.h.  */
24624
24625 void foo(void) { }
24626 extern void bar(void) __attribute__((alias("foo")));
24627 int
24628 main ()
24629 {
24630 bar();
24631   ;
24632   return 0;
24633 }
24634 _ACEOF
24635 if ac_fn_c_try_link "$LINENO"; then :
24636   libgfor_cv_have_attribute_alias=yes
24637 else
24638   libgfor_cv_have_attribute_alias=no
24639 fi
24640 rm -f core conftest.err conftest.$ac_objext \
24641     conftest$ac_exeext conftest.$ac_ext
24642 fi
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24644 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24645   if test $libgfor_cv_have_attribute_alias = yes; then
24646
24647 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24648
24649   fi
24650
24651 # Check out sync builtins support.
24652
24653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24654 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24655 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24656   $as_echo_n "(cached) " >&6
24657 else
24658
24659   if test x$gcc_no_link = xyes; then
24660   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24661 fi
24662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24663 /* end confdefs.h.  */
24664 int foovar = 0;
24665 int
24666 main ()
24667 {
24668
24669 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24670 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24671   ;
24672   return 0;
24673 }
24674 _ACEOF
24675 if ac_fn_c_try_link "$LINENO"; then :
24676   libgfor_cv_have_sync_fetch_and_add=yes
24677 else
24678   libgfor_cv_have_sync_fetch_and_add=no
24679 fi
24680 rm -f core conftest.err conftest.$ac_objext \
24681     conftest$ac_exeext conftest.$ac_ext
24682 fi
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24684 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24685   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24686
24687 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24688
24689   fi
24690
24691 # Check out thread support.
24692
24693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24694 $as_echo_n "checking configured target thread model... " >&6; }
24695 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24696   $as_echo_n "(cached) " >&6
24697 else
24698
24699 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24700 fi
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24702 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24703
24704   if test $libgfor_cv_target_thread_file != single; then
24705
24706 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24707
24708   fi
24709
24710 # Check out #pragma weak.
24711
24712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24713 $as_echo_n "checking whether pragma weak works... " >&6; }
24714 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24715   $as_echo_n "(cached) " >&6
24716 else
24717
24718   gfor_save_CFLAGS="$CFLAGS"
24719   CFLAGS="$CFLAGS -Wunknown-pragmas"
24720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24721 /* end confdefs.h.  */
24722 void foo (void);
24723 #pragma weak foo
24724 int
24725 main ()
24726 {
24727 if (foo) foo ();
24728   ;
24729   return 0;
24730 }
24731 _ACEOF
24732 if ac_fn_c_try_compile "$LINENO"; then :
24733   libgfor_cv_have_pragma_weak=yes
24734 else
24735   libgfor_cv_have_pragma_weak=no
24736 fi
24737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24738 fi
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24740 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24741   if test $libgfor_cv_have_pragma_weak = yes; then
24742
24743 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24744
24745   fi
24746   case "$host" in
24747     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24748
24749 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24750
24751       ;;
24752   esac
24753
24754 # Various other checks on target
24755
24756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24757 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24758 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24759   $as_echo_n "(cached) " >&6
24760 else
24761
24762   if test "$cross_compiling" = yes; then :
24763
24764 case "${target}" in
24765   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24766   *) libgfor_cv_have_unlink_open_file=yes;;
24767 esac
24768 else
24769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24770 /* end confdefs.h.  */
24771
24772 #include <errno.h>
24773 #include <fcntl.h>
24774 #include <unistd.h>
24775 #include <sys/stat.h>
24776
24777 int main ()
24778 {
24779   int fd;
24780
24781   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24782   if (fd <= 0)
24783     return 0;
24784   if (unlink ("testfile") == -1)
24785     return 1;
24786   write (fd, "This is a test\n", 15);
24787   close (fd);
24788
24789   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24790     return 0;
24791   else
24792     return 1;
24793 }
24794 _ACEOF
24795 if ac_fn_c_try_run "$LINENO"; then :
24796   libgfor_cv_have_unlink_open_file=yes
24797 else
24798   libgfor_cv_have_unlink_open_file=no
24799 fi
24800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24801   conftest.$ac_objext conftest.beam conftest.$ac_ext
24802 fi
24803
24804 fi
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24806 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24807 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24808
24809 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24810
24811 fi
24812
24813 # Check whether line terminator is LF or CRLF
24814
24815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24816 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24817 if test "${libgfor_cv_have_crlf+set}" = set; then :
24818   $as_echo_n "(cached) " >&6
24819 else
24820
24821   if test "$cross_compiling" = yes; then :
24822
24823 case "${target}" in
24824   *mingw*) libgfor_cv_have_crlf=yes ;;
24825   *) libgfor_cv_have_crlf=no;;
24826 esac
24827 else
24828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h.  */
24830
24831 /* This test program should exit with status 0 if system uses a CRLF as
24832    line terminator, and status 1 otherwise.
24833    Since it is used to check for mingw systems, and should return 0 in any
24834    other case, in case of a failure we will not use CRLF.  */
24835 #include <sys/stat.h>
24836 #include <stdlib.h>
24837 #include <fcntl.h>
24838 #include <stdio.h>
24839
24840 int main ()
24841 {
24842 #ifndef O_BINARY
24843   exit(1);
24844 #else
24845   int fd, bytes;
24846   char buff[5];
24847
24848   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24849   if (fd < 0)
24850     exit(1);
24851   if (write (fd, "\n", 1) < 0)
24852     perror ("write");
24853
24854   close (fd);
24855
24856   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24857     exit(1);
24858   bytes = read (fd, buff, 5);
24859   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24860     exit(0);
24861   else
24862     exit(1);
24863 #endif
24864 }
24865 _ACEOF
24866 if ac_fn_c_try_run "$LINENO"; then :
24867   libgfor_cv_have_crlf=yes
24868 else
24869   libgfor_cv_have_crlf=no
24870 fi
24871 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24872   conftest.$ac_objext conftest.beam conftest.$ac_ext
24873 fi
24874
24875 fi
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24877 $as_echo "$libgfor_cv_have_crlf" >&6; }
24878 if test x"$libgfor_cv_have_crlf" = xyes; then
24879
24880 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24881
24882 fi
24883
24884 cat >confcache <<\_ACEOF
24885 # This file is a shell script that caches the results of configure
24886 # tests run on this system so they can be shared between configure
24887 # scripts and configure runs, see configure's option --config-cache.
24888 # It is not useful on other systems.  If it contains results you don't
24889 # want to keep, you may remove or edit it.
24890 #
24891 # config.status only pays attention to the cache file if you give it
24892 # the --recheck option to rerun configure.
24893 #
24894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24896 # following values.
24897
24898 _ACEOF
24899
24900 # The following way of writing the cache mishandles newlines in values,
24901 # but we know of no workaround that is simple, portable, and efficient.
24902 # So, we kill variables containing newlines.
24903 # Ultrix sh set writes to stderr and can't be redirected directly,
24904 # and sets the high bit in the cache file unless we assign to the vars.
24905 (
24906   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24907     eval ac_val=\$$ac_var
24908     case $ac_val in #(
24909     *${as_nl}*)
24910       case $ac_var in #(
24911       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24913       esac
24914       case $ac_var in #(
24915       _ | IFS | as_nl) ;; #(
24916       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24917       *) { eval $ac_var=; unset $ac_var;} ;;
24918       esac ;;
24919     esac
24920   done
24921
24922   (set) 2>&1 |
24923     case $as_nl`(ac_space=' '; set) 2>&1` in #(
24924     *${as_nl}ac_space=\ *)
24925       # `set' does not quote correctly, so add quotes: double-quote
24926       # substitution turns \\\\ into \\, and sed turns \\ into \.
24927       sed -n \
24928         "s/'/'\\\\''/g;
24929           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24930       ;; #(
24931     *)
24932       # `set' quotes correctly as required by POSIX, so do not add quotes.
24933       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24934       ;;
24935     esac |
24936     sort
24937 ) |
24938   sed '
24939      /^ac_cv_env_/b end
24940      t clear
24941      :clear
24942      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24943      t end
24944      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24945      :end' >>confcache
24946 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24947   if test -w "$cache_file"; then
24948     test "x$cache_file" != "x/dev/null" &&
24949       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24950 $as_echo "$as_me: updating cache $cache_file" >&6;}
24951     cat confcache >$cache_file
24952   else
24953     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24954 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24955   fi
24956 fi
24957 rm -f confcache
24958
24959 if test ${multilib} = yes; then
24960   multilib_arg="--enable-multilib"
24961 else
24962   multilib_arg=
24963 fi
24964
24965 # Write our Makefile.
24966 ac_config_files="$ac_config_files Makefile"
24967
24968 cat >confcache <<\_ACEOF
24969 # This file is a shell script that caches the results of configure
24970 # tests run on this system so they can be shared between configure
24971 # scripts and configure runs, see configure's option --config-cache.
24972 # It is not useful on other systems.  If it contains results you don't
24973 # want to keep, you may remove or edit it.
24974 #
24975 # config.status only pays attention to the cache file if you give it
24976 # the --recheck option to rerun configure.
24977 #
24978 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24979 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24980 # following values.
24981
24982 _ACEOF
24983
24984 # The following way of writing the cache mishandles newlines in values,
24985 # but we know of no workaround that is simple, portable, and efficient.
24986 # So, we kill variables containing newlines.
24987 # Ultrix sh set writes to stderr and can't be redirected directly,
24988 # and sets the high bit in the cache file unless we assign to the vars.
24989 (
24990   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24991     eval ac_val=\$$ac_var
24992     case $ac_val in #(
24993     *${as_nl}*)
24994       case $ac_var in #(
24995       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24996 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24997       esac
24998       case $ac_var in #(
24999       _ | IFS | as_nl) ;; #(
25000       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25001       *) { eval $ac_var=; unset $ac_var;} ;;
25002       esac ;;
25003     esac
25004   done
25005
25006   (set) 2>&1 |
25007     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25008     *${as_nl}ac_space=\ *)
25009       # `set' does not quote correctly, so add quotes: double-quote
25010       # substitution turns \\\\ into \\, and sed turns \\ into \.
25011       sed -n \
25012         "s/'/'\\\\''/g;
25013           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25014       ;; #(
25015     *)
25016       # `set' quotes correctly as required by POSIX, so do not add quotes.
25017       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25018       ;;
25019     esac |
25020     sort
25021 ) |
25022   sed '
25023      /^ac_cv_env_/b end
25024      t clear
25025      :clear
25026      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25027      t end
25028      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25029      :end' >>confcache
25030 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25031   if test -w "$cache_file"; then
25032     test "x$cache_file" != "x/dev/null" &&
25033       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25034 $as_echo "$as_me: updating cache $cache_file" >&6;}
25035     cat confcache >$cache_file
25036   else
25037     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25038 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25039   fi
25040 fi
25041 rm -f confcache
25042
25043 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25044 # Let make expand exec_prefix.
25045 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25046
25047 DEFS=-DHAVE_CONFIG_H
25048
25049 ac_libobjs=
25050 ac_ltlibobjs=
25051 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25052   # 1. Remove the extension, and $U if already installed.
25053   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25054   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25055   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25056   #    will be set to the directory where LIBOBJS objects are built.
25057   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25058   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25059 done
25060 LIBOBJS=$ac_libobjs
25061
25062 LTLIBOBJS=$ac_ltlibobjs
25063
25064
25065 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25066   as_fn_error "conditional \"onestep\" was never defined.
25067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25068 fi
25069  if test -n "$EXEEXT"; then
25070   am__EXEEXT_TRUE=
25071   am__EXEEXT_FALSE='#'
25072 else
25073   am__EXEEXT_TRUE='#'
25074   am__EXEEXT_FALSE=
25075 fi
25076
25077 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25078   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25080 fi
25081 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25082   as_fn_error "conditional \"AMDEP\" was never defined.
25083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25084 fi
25085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25086   as_fn_error "conditional \"am__fastdepCC\" was never defined.
25087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25088 fi
25089 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25090   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25092 fi
25093
25094 : ${CONFIG_STATUS=./config.status}
25095 ac_write_fail=0
25096 ac_clean_files_save=$ac_clean_files
25097 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25099 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25100 as_write_fail=0
25101 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25102 #! $SHELL
25103 # Generated by $as_me.
25104 # Run this file to recreate the current configuration.
25105 # Compiler output produced by configure, useful for debugging
25106 # configure, is in config.log if it exists.
25107
25108 debug=false
25109 ac_cs_recheck=false
25110 ac_cs_silent=false
25111
25112 SHELL=\${CONFIG_SHELL-$SHELL}
25113 export SHELL
25114 _ASEOF
25115 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25116 ## -------------------- ##
25117 ## M4sh Initialization. ##
25118 ## -------------------- ##
25119
25120 # Be more Bourne compatible
25121 DUALCASE=1; export DUALCASE # for MKS sh
25122 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25123   emulate sh
25124   NULLCMD=:
25125   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25126   # is contrary to our usage.  Disable this feature.
25127   alias -g '${1+"$@"}'='"$@"'
25128   setopt NO_GLOB_SUBST
25129 else
25130   case `(set -o) 2>/dev/null` in #(
25131   *posix*) :
25132     set -o posix ;; #(
25133   *) :
25134      ;;
25135 esac
25136 fi
25137
25138
25139 as_nl='
25140 '
25141 export as_nl
25142 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25143 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25144 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25145 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25146 # Prefer a ksh shell builtin over an external printf program on Solaris,
25147 # but without wasting forks for bash or zsh.
25148 if test -z "$BASH_VERSION$ZSH_VERSION" \
25149     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25150   as_echo='print -r --'
25151   as_echo_n='print -rn --'
25152 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25153   as_echo='printf %s\n'
25154   as_echo_n='printf %s'
25155 else
25156   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25157     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25158     as_echo_n='/usr/ucb/echo -n'
25159   else
25160     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25161     as_echo_n_body='eval
25162       arg=$1;
25163       case $arg in #(
25164       *"$as_nl"*)
25165         expr "X$arg" : "X\\(.*\\)$as_nl";
25166         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25167       esac;
25168       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25169     '
25170     export as_echo_n_body
25171     as_echo_n='sh -c $as_echo_n_body as_echo'
25172   fi
25173   export as_echo_body
25174   as_echo='sh -c $as_echo_body as_echo'
25175 fi
25176
25177 # The user is always right.
25178 if test "${PATH_SEPARATOR+set}" != set; then
25179   PATH_SEPARATOR=:
25180   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25181     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25182       PATH_SEPARATOR=';'
25183   }
25184 fi
25185
25186
25187 # IFS
25188 # We need space, tab and new line, in precisely that order.  Quoting is
25189 # there to prevent editors from complaining about space-tab.
25190 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25191 # splitting by setting IFS to empty value.)
25192 IFS=" ""        $as_nl"
25193
25194 # Find who we are.  Look in the path if we contain no directory separator.
25195 case $0 in #((
25196   *[\\/]* ) as_myself=$0 ;;
25197   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25198 for as_dir in $PATH
25199 do
25200   IFS=$as_save_IFS
25201   test -z "$as_dir" && as_dir=.
25202     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25203   done
25204 IFS=$as_save_IFS
25205
25206      ;;
25207 esac
25208 # We did not find ourselves, most probably we were run as `sh COMMAND'
25209 # in which case we are not to be found in the path.
25210 if test "x$as_myself" = x; then
25211   as_myself=$0
25212 fi
25213 if test ! -f "$as_myself"; then
25214   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25215   exit 1
25216 fi
25217
25218 # Unset variables that we do not need and which cause bugs (e.g. in
25219 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25220 # suppresses any "Segmentation fault" message there.  '((' could
25221 # trigger a bug in pdksh 5.2.14.
25222 for as_var in BASH_ENV ENV MAIL MAILPATH
25223 do eval test x\${$as_var+set} = xset \
25224   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25225 done
25226 PS1='$ '
25227 PS2='> '
25228 PS4='+ '
25229
25230 # NLS nuisances.
25231 LC_ALL=C
25232 export LC_ALL
25233 LANGUAGE=C
25234 export LANGUAGE
25235
25236 # CDPATH.
25237 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25238
25239
25240 # as_fn_error ERROR [LINENO LOG_FD]
25241 # ---------------------------------
25242 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25243 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25244 # script with status $?, using 1 if that was 0.
25245 as_fn_error ()
25246 {
25247   as_status=$?; test $as_status -eq 0 && as_status=1
25248   if test "$3"; then
25249     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25250     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25251   fi
25252   $as_echo "$as_me: error: $1" >&2
25253   as_fn_exit $as_status
25254 } # as_fn_error
25255
25256
25257 # as_fn_set_status STATUS
25258 # -----------------------
25259 # Set $? to STATUS, without forking.
25260 as_fn_set_status ()
25261 {
25262   return $1
25263 } # as_fn_set_status
25264
25265 # as_fn_exit STATUS
25266 # -----------------
25267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25268 as_fn_exit ()
25269 {
25270   set +e
25271   as_fn_set_status $1
25272   exit $1
25273 } # as_fn_exit
25274
25275 # as_fn_unset VAR
25276 # ---------------
25277 # Portably unset VAR.
25278 as_fn_unset ()
25279 {
25280   { eval $1=; unset $1;}
25281 }
25282 as_unset=as_fn_unset
25283 # as_fn_append VAR VALUE
25284 # ----------------------
25285 # Append the text in VALUE to the end of the definition contained in VAR. Take
25286 # advantage of any shell optimizations that allow amortized linear growth over
25287 # repeated appends, instead of the typical quadratic growth present in naive
25288 # implementations.
25289 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25290   eval 'as_fn_append ()
25291   {
25292     eval $1+=\$2
25293   }'
25294 else
25295   as_fn_append ()
25296   {
25297     eval $1=\$$1\$2
25298   }
25299 fi # as_fn_append
25300
25301 # as_fn_arith ARG...
25302 # ------------------
25303 # Perform arithmetic evaluation on the ARGs, and store the result in the
25304 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25305 # must be portable across $(()) and expr.
25306 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25307   eval 'as_fn_arith ()
25308   {
25309     as_val=$(( $* ))
25310   }'
25311 else
25312   as_fn_arith ()
25313   {
25314     as_val=`expr "$@" || test $? -eq 1`
25315   }
25316 fi # as_fn_arith
25317
25318
25319 if expr a : '\(a\)' >/dev/null 2>&1 &&
25320    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25321   as_expr=expr
25322 else
25323   as_expr=false
25324 fi
25325
25326 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25327   as_basename=basename
25328 else
25329   as_basename=false
25330 fi
25331
25332 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25333   as_dirname=dirname
25334 else
25335   as_dirname=false
25336 fi
25337
25338 as_me=`$as_basename -- "$0" ||
25339 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25340          X"$0" : 'X\(//\)$' \| \
25341          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25342 $as_echo X/"$0" |
25343     sed '/^.*\/\([^/][^/]*\)\/*$/{
25344             s//\1/
25345             q
25346           }
25347           /^X\/\(\/\/\)$/{
25348             s//\1/
25349             q
25350           }
25351           /^X\/\(\/\).*/{
25352             s//\1/
25353             q
25354           }
25355           s/.*/./; q'`
25356
25357 # Avoid depending upon Character Ranges.
25358 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25359 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25360 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25361 as_cr_digits='0123456789'
25362 as_cr_alnum=$as_cr_Letters$as_cr_digits
25363
25364 ECHO_C= ECHO_N= ECHO_T=
25365 case `echo -n x` in #(((((
25366 -n*)
25367   case `echo 'xy\c'` in
25368   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25369   xy)  ECHO_C='\c';;
25370   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25371        ECHO_T=' ';;
25372   esac;;
25373 *)
25374   ECHO_N='-n';;
25375 esac
25376
25377 rm -f conf$$ conf$$.exe conf$$.file
25378 if test -d conf$$.dir; then
25379   rm -f conf$$.dir/conf$$.file
25380 else
25381   rm -f conf$$.dir
25382   mkdir conf$$.dir 2>/dev/null
25383 fi
25384 if (echo >conf$$.file) 2>/dev/null; then
25385   if ln -s conf$$.file conf$$ 2>/dev/null; then
25386     as_ln_s='ln -s'
25387     # ... but there are two gotchas:
25388     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25389     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25390     # In both cases, we have to default to `cp -p'.
25391     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25392       as_ln_s='cp -p'
25393   elif ln conf$$.file conf$$ 2>/dev/null; then
25394     as_ln_s=ln
25395   else
25396     as_ln_s='cp -p'
25397   fi
25398 else
25399   as_ln_s='cp -p'
25400 fi
25401 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25402 rmdir conf$$.dir 2>/dev/null
25403
25404
25405 # as_fn_mkdir_p
25406 # -------------
25407 # Create "$as_dir" as a directory, including parents if necessary.
25408 as_fn_mkdir_p ()
25409 {
25410
25411   case $as_dir in #(
25412   -*) as_dir=./$as_dir;;
25413   esac
25414   test -d "$as_dir" || eval $as_mkdir_p || {
25415     as_dirs=
25416     while :; do
25417       case $as_dir in #(
25418       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25419       *) as_qdir=$as_dir;;
25420       esac
25421       as_dirs="'$as_qdir' $as_dirs"
25422       as_dir=`$as_dirname -- "$as_dir" ||
25423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25424          X"$as_dir" : 'X\(//\)[^/]' \| \
25425          X"$as_dir" : 'X\(//\)$' \| \
25426          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25427 $as_echo X"$as_dir" |
25428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25429             s//\1/
25430             q
25431           }
25432           /^X\(\/\/\)[^/].*/{
25433             s//\1/
25434             q
25435           }
25436           /^X\(\/\/\)$/{
25437             s//\1/
25438             q
25439           }
25440           /^X\(\/\).*/{
25441             s//\1/
25442             q
25443           }
25444           s/.*/./; q'`
25445       test -d "$as_dir" && break
25446     done
25447     test -z "$as_dirs" || eval "mkdir $as_dirs"
25448   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25449
25450
25451 } # as_fn_mkdir_p
25452 if mkdir -p . 2>/dev/null; then
25453   as_mkdir_p='mkdir -p "$as_dir"'
25454 else
25455   test -d ./-p && rmdir ./-p
25456   as_mkdir_p=false
25457 fi
25458
25459 if test -x / >/dev/null 2>&1; then
25460   as_test_x='test -x'
25461 else
25462   if ls -dL / >/dev/null 2>&1; then
25463     as_ls_L_option=L
25464   else
25465     as_ls_L_option=
25466   fi
25467   as_test_x='
25468     eval sh -c '\''
25469       if test -d "$1"; then
25470         test -d "$1/.";
25471       else
25472         case $1 in #(
25473         -*)set "./$1";;
25474         esac;
25475         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25476         ???[sx]*):;;*)false;;esac;fi
25477     '\'' sh
25478   '
25479 fi
25480 as_executable_p=$as_test_x
25481
25482 # Sed expression to map a string onto a valid CPP name.
25483 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25484
25485 # Sed expression to map a string onto a valid variable name.
25486 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25487
25488
25489 exec 6>&1
25490 ## ----------------------------------- ##
25491 ## Main body of $CONFIG_STATUS script. ##
25492 ## ----------------------------------- ##
25493 _ASEOF
25494 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25495
25496 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25497 # Save the log message, to keep $0 and so on meaningful, and to
25498 # report actual input values of CONFIG_FILES etc. instead of their
25499 # values after options handling.
25500 ac_log="
25501 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25502 generated by GNU Autoconf 2.64.  Invocation command line was
25503
25504   CONFIG_FILES    = $CONFIG_FILES
25505   CONFIG_HEADERS  = $CONFIG_HEADERS
25506   CONFIG_LINKS    = $CONFIG_LINKS
25507   CONFIG_COMMANDS = $CONFIG_COMMANDS
25508   $ $0 $@
25509
25510 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25511 "
25512
25513 _ACEOF
25514
25515 case $ac_config_files in *"
25516 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25517 esac
25518
25519 case $ac_config_headers in *"
25520 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25521 esac
25522
25523
25524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25525 # Files that config.status was made for.
25526 config_files="$ac_config_files"
25527 config_headers="$ac_config_headers"
25528 config_commands="$ac_config_commands"
25529
25530 _ACEOF
25531
25532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25533 ac_cs_usage="\
25534 \`$as_me' instantiates files and other configuration actions
25535 from templates according to the current configuration.  Unless the files
25536 and actions are specified as TAGs, all are instantiated by default.
25537
25538 Usage: $0 [OPTION]... [TAG]...
25539
25540   -h, --help       print this help, then exit
25541   -V, --version    print version number and configuration settings, then exit
25542   -q, --quiet, --silent
25543                    do not print progress messages
25544   -d, --debug      don't remove temporary files
25545       --recheck    update $as_me by reconfiguring in the same conditions
25546       --file=FILE[:TEMPLATE]
25547                    instantiate the configuration file FILE
25548       --header=FILE[:TEMPLATE]
25549                    instantiate the configuration header FILE
25550
25551 Configuration files:
25552 $config_files
25553
25554 Configuration headers:
25555 $config_headers
25556
25557 Configuration commands:
25558 $config_commands
25559
25560 Report bugs to the package provider.
25561 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25562 General help using GNU software: <http://www.gnu.org/gethelp/>."
25563
25564 _ACEOF
25565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25566 ac_cs_version="\\
25567 GNU Fortran Runtime Library config.status 0.3
25568 configured by $0, generated by GNU Autoconf 2.64,
25569   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25570
25571 Copyright (C) 2009 Free Software Foundation, Inc.
25572 This config.status script is free software; the Free Software Foundation
25573 gives unlimited permission to copy, distribute and modify it."
25574
25575 ac_pwd='$ac_pwd'
25576 srcdir='$srcdir'
25577 INSTALL='$INSTALL'
25578 MKDIR_P='$MKDIR_P'
25579 AWK='$AWK'
25580 test -n "\$AWK" || AWK=awk
25581 _ACEOF
25582
25583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25584 # The default lists apply if the user does not specify any file.
25585 ac_need_defaults=:
25586 while test $# != 0
25587 do
25588   case $1 in
25589   --*=*)
25590     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25591     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25592     ac_shift=:
25593     ;;
25594   *)
25595     ac_option=$1
25596     ac_optarg=$2
25597     ac_shift=shift
25598     ;;
25599   esac
25600
25601   case $ac_option in
25602   # Handling of the options.
25603   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25604     ac_cs_recheck=: ;;
25605   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25606     $as_echo "$ac_cs_version"; exit ;;
25607   --debug | --debu | --deb | --de | --d | -d )
25608     debug=: ;;
25609   --file | --fil | --fi | --f )
25610     $ac_shift
25611     case $ac_optarg in
25612     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25613     esac
25614     as_fn_append CONFIG_FILES " '$ac_optarg'"
25615     ac_need_defaults=false;;
25616   --header | --heade | --head | --hea )
25617     $ac_shift
25618     case $ac_optarg in
25619     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25620     esac
25621     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25622     ac_need_defaults=false;;
25623   --he | --h)
25624     # Conflict between --help and --header
25625     as_fn_error "ambiguous option: \`$1'
25626 Try \`$0 --help' for more information.";;
25627   --help | --hel | -h )
25628     $as_echo "$ac_cs_usage"; exit ;;
25629   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25630   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25631     ac_cs_silent=: ;;
25632
25633   # This is an error.
25634   -*) as_fn_error "unrecognized option: \`$1'
25635 Try \`$0 --help' for more information." ;;
25636
25637   *) as_fn_append ac_config_targets " $1"
25638      ac_need_defaults=false ;;
25639
25640   esac
25641   shift
25642 done
25643
25644 ac_configure_extra_args=
25645
25646 if $ac_cs_silent; then
25647   exec 6>/dev/null
25648   ac_configure_extra_args="$ac_configure_extra_args --silent"
25649 fi
25650
25651 _ACEOF
25652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25653 if \$ac_cs_recheck; then
25654   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25655   shift
25656   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25657   CONFIG_SHELL='$SHELL'
25658   export CONFIG_SHELL
25659   exec "\$@"
25660 fi
25661
25662 _ACEOF
25663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25664 exec 5>>config.log
25665 {
25666   echo
25667   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25668 ## Running $as_me. ##
25669 _ASBOX
25670   $as_echo "$ac_log"
25671 } >&5
25672
25673 _ACEOF
25674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25675 #
25676 # INIT-COMMANDS
25677 #
25678
25679 srcdir="$srcdir"
25680 host="$host"
25681 target="$target"
25682 with_multisubdir="$with_multisubdir"
25683 with_multisrctop="$with_multisrctop"
25684 with_target_subdir="$with_target_subdir"
25685 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25686 multi_basedir="$multi_basedir"
25687 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25688 CC="$CC"
25689 CXX="$CXX"
25690 GFORTRAN="$GFORTRAN"
25691 GCJ="$GCJ"
25692 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25693
25694
25695 # The HP-UX ksh and POSIX shell print the target directory to stdout
25696 # if CDPATH is set.
25697 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25698
25699 sed_quote_subst='$sed_quote_subst'
25700 double_quote_subst='$double_quote_subst'
25701 delay_variable_subst='$delay_variable_subst'
25702 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25703 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25704 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25705 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25706 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25707 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25708 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25709 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25710 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25711 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25712 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25713 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25714 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25715 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25716 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25717 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25718 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25719 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25720 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25721 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25722 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25723 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25724 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25725 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25726 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25727 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25728 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25729 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25730 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25731 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25732 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25733 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25734 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25735 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25736 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25737 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25738 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25739 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25740 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25741 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25742 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25743 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25744 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25745 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25746 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25747 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25748 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25749 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25750 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"`'
25751 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25752 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25753 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25754 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25755 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25756 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25757 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25758 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25759 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25760 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25761 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25762 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25763 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25764 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25765 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25766 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25767 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25768 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25769 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25770 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25771 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25772 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25773 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25774 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25775 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25776 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25777 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25778 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25779 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25780 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25781 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25782 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25783 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25784 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25785 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25786 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25787 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25788 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25789 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25790 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25791 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25792 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25793 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25794 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25795 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25796 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25797 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25798 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25799 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25800 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25801 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25802 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25803 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25804 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25805 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25806 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25807 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25808 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25809 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25810 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25811 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25812 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25813 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25814 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25815 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25816 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25817 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25818 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25819 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25820 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25821 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25822 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25823 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25824 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25825 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25826 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25827 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25828 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25829 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25830 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25831 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25832 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25833 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25834 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25835 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25836 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25837 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25838 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25839 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25840 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25841 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25842 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25843 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25844 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25845 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25846 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25847 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25848 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25849 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25850 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25851 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25852 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25853 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25854 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25855 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25856 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25857 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25858 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25859 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25860 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25861 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25862 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25863 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25864 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25865 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25866 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25867 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25868 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25869 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25870 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25871 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25872 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25873 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25874 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25875 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25876 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25877
25878 LTCC='$LTCC'
25879 LTCFLAGS='$LTCFLAGS'
25880 compiler='$compiler_DEFAULT'
25881
25882 # A function that is used when there is no print builtin or printf.
25883 func_fallback_echo ()
25884 {
25885   eval 'cat <<_LTECHO_EOF
25886 \$1
25887 _LTECHO_EOF'
25888 }
25889
25890 # Quote evaled strings.
25891 for var in SHELL \
25892 ECHO \
25893 SED \
25894 GREP \
25895 EGREP \
25896 FGREP \
25897 LD \
25898 NM \
25899 LN_S \
25900 lt_SP2NL \
25901 lt_NL2SP \
25902 reload_flag \
25903 OBJDUMP \
25904 deplibs_check_method \
25905 file_magic_cmd \
25906 AR \
25907 AR_FLAGS \
25908 STRIP \
25909 RANLIB \
25910 CC \
25911 CFLAGS \
25912 compiler \
25913 lt_cv_sys_global_symbol_pipe \
25914 lt_cv_sys_global_symbol_to_cdecl \
25915 lt_cv_sys_global_symbol_to_c_name_address \
25916 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25917 lt_prog_compiler_no_builtin_flag \
25918 lt_prog_compiler_wl \
25919 lt_prog_compiler_pic \
25920 lt_prog_compiler_static \
25921 lt_cv_prog_compiler_c_o \
25922 need_locks \
25923 DSYMUTIL \
25924 NMEDIT \
25925 LIPO \
25926 OTOOL \
25927 OTOOL64 \
25928 shrext_cmds \
25929 export_dynamic_flag_spec \
25930 whole_archive_flag_spec \
25931 compiler_needs_object \
25932 with_gnu_ld \
25933 allow_undefined_flag \
25934 no_undefined_flag \
25935 hardcode_libdir_flag_spec \
25936 hardcode_libdir_flag_spec_ld \
25937 hardcode_libdir_separator \
25938 fix_srcfile_path \
25939 exclude_expsyms \
25940 include_expsyms \
25941 file_list_spec \
25942 variables_saved_for_relink \
25943 libname_spec \
25944 library_names_spec \
25945 soname_spec \
25946 install_override_mode \
25947 finish_eval \
25948 old_striplib \
25949 striplib \
25950 compiler_lib_search_dirs \
25951 predep_objects \
25952 postdep_objects \
25953 predeps \
25954 postdeps \
25955 compiler_lib_search_path \
25956 LD_FC \
25957 reload_flag_FC \
25958 compiler_FC \
25959 lt_prog_compiler_no_builtin_flag_FC \
25960 lt_prog_compiler_wl_FC \
25961 lt_prog_compiler_pic_FC \
25962 lt_prog_compiler_static_FC \
25963 lt_cv_prog_compiler_c_o_FC \
25964 export_dynamic_flag_spec_FC \
25965 whole_archive_flag_spec_FC \
25966 compiler_needs_object_FC \
25967 with_gnu_ld_FC \
25968 allow_undefined_flag_FC \
25969 no_undefined_flag_FC \
25970 hardcode_libdir_flag_spec_FC \
25971 hardcode_libdir_flag_spec_ld_FC \
25972 hardcode_libdir_separator_FC \
25973 fix_srcfile_path_FC \
25974 exclude_expsyms_FC \
25975 include_expsyms_FC \
25976 file_list_spec_FC \
25977 compiler_lib_search_dirs_FC \
25978 predep_objects_FC \
25979 postdep_objects_FC \
25980 predeps_FC \
25981 postdeps_FC \
25982 compiler_lib_search_path_FC; do
25983     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
25984     *[\\\\\\\`\\"\\\$]*)
25985       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
25986       ;;
25987     *)
25988       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
25989       ;;
25990     esac
25991 done
25992
25993 # Double-quote double-evaled strings.
25994 for var in reload_cmds \
25995 old_postinstall_cmds \
25996 old_postuninstall_cmds \
25997 old_archive_cmds \
25998 extract_expsyms_cmds \
25999 old_archive_from_new_cmds \
26000 old_archive_from_expsyms_cmds \
26001 archive_cmds \
26002 archive_expsym_cmds \
26003 module_cmds \
26004 module_expsym_cmds \
26005 export_symbols_cmds \
26006 prelink_cmds \
26007 postinstall_cmds \
26008 postuninstall_cmds \
26009 finish_cmds \
26010 sys_lib_search_path_spec \
26011 sys_lib_dlsearch_path_spec \
26012 reload_cmds_FC \
26013 old_archive_cmds_FC \
26014 old_archive_from_new_cmds_FC \
26015 old_archive_from_expsyms_cmds_FC \
26016 archive_cmds_FC \
26017 archive_expsym_cmds_FC \
26018 module_cmds_FC \
26019 module_expsym_cmds_FC \
26020 export_symbols_cmds_FC \
26021 prelink_cmds_FC; do
26022     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26023     *[\\\\\\\`\\"\\\$]*)
26024       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26025       ;;
26026     *)
26027       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26028       ;;
26029     esac
26030 done
26031
26032 ac_aux_dir='$ac_aux_dir'
26033 xsi_shell='$xsi_shell'
26034 lt_shell_append='$lt_shell_append'
26035
26036 # See if we are running on zsh, and set the options which allow our
26037 # commands through without removal of \ escapes INIT.
26038 if test -n "\${ZSH_VERSION+set}" ; then
26039    setopt NO_GLOB_SUBST
26040 fi
26041
26042
26043     PACKAGE='$PACKAGE'
26044     VERSION='$VERSION'
26045     TIMESTAMP='$TIMESTAMP'
26046     RM='$RM'
26047     ofile='$ofile'
26048
26049
26050
26051
26052
26053
26054 GCC="$GCC"
26055 CC="$CC"
26056 acx_cv_header_stdint="$acx_cv_header_stdint"
26057 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26058 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26059 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26060 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26061 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26062 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26063 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26064 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26065 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26066 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26067 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26068 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26069 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26070
26071
26072 _ACEOF
26073
26074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26075
26076 # Handling of arguments.
26077 for ac_config_target in $ac_config_targets
26078 do
26079   case $ac_config_target in
26080     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26081     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26082     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26083     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26084     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26085     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26086
26087   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26088   esac
26089 done
26090
26091
26092 # If the user did not use the arguments to specify the items to instantiate,
26093 # then the envvar interface is used.  Set only those that are not.
26094 # We use the long form for the default assignment because of an extremely
26095 # bizarre bug on SunOS 4.1.3.
26096 if $ac_need_defaults; then
26097   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26098   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26099   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26100 fi
26101
26102 # Have a temporary directory for convenience.  Make it in the build tree
26103 # simply because there is no reason against having it here, and in addition,
26104 # creating and moving files from /tmp can sometimes cause problems.
26105 # Hook for its removal unless debugging.
26106 # Note that there is a small window in which the directory will not be cleaned:
26107 # after its creation but before its name has been assigned to `$tmp'.
26108 $debug ||
26109 {
26110   tmp=
26111   trap 'exit_status=$?
26112   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26113 ' 0
26114   trap 'as_fn_exit 1' 1 2 13 15
26115 }
26116 # Create a (secure) tmp directory for tmp files.
26117
26118 {
26119   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26120   test -n "$tmp" && test -d "$tmp"
26121 }  ||
26122 {
26123   tmp=./conf$$-$RANDOM
26124   (umask 077 && mkdir "$tmp")
26125 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26126
26127 # Set up the scripts for CONFIG_FILES section.
26128 # No need to generate them if there are no CONFIG_FILES.
26129 # This happens for instance with `./config.status config.h'.
26130 if test -n "$CONFIG_FILES"; then
26131
26132
26133 ac_cr=`echo X | tr X '\015'`
26134 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26135 # But we know of no other shell where ac_cr would be empty at this
26136 # point, so we can use a bashism as a fallback.
26137 if test "x$ac_cr" = x; then
26138   eval ac_cr=\$\'\\r\'
26139 fi
26140 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26141 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26142   ac_cs_awk_cr='\r'
26143 else
26144   ac_cs_awk_cr=$ac_cr
26145 fi
26146
26147 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26148 _ACEOF
26149
26150
26151 {
26152   echo "cat >conf$$subs.awk <<_ACEOF" &&
26153   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26154   echo "_ACEOF"
26155 } >conf$$subs.sh ||
26156   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26157 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26158 ac_delim='%!_!# '
26159 for ac_last_try in false false false false false :; do
26160   . ./conf$$subs.sh ||
26161     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26162
26163   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26164   if test $ac_delim_n = $ac_delim_num; then
26165     break
26166   elif $ac_last_try; then
26167     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26168   else
26169     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26170   fi
26171 done
26172 rm -f conf$$subs.sh
26173
26174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26175 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26176 _ACEOF
26177 sed -n '
26178 h
26179 s/^/S["/; s/!.*/"]=/
26180 p
26181 g
26182 s/^[^!]*!//
26183 :repl
26184 t repl
26185 s/'"$ac_delim"'$//
26186 t delim
26187 :nl
26188 h
26189 s/\(.\{148\}\).*/\1/
26190 t more1
26191 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26192 p
26193 n
26194 b repl
26195 :more1
26196 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26197 p
26198 g
26199 s/.\{148\}//
26200 t nl
26201 :delim
26202 h
26203 s/\(.\{148\}\).*/\1/
26204 t more2
26205 s/["\\]/\\&/g; s/^/"/; s/$/"/
26206 p
26207 b
26208 :more2
26209 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26210 p
26211 g
26212 s/.\{148\}//
26213 t delim
26214 ' <conf$$subs.awk | sed '
26215 /^[^""]/{
26216   N
26217   s/\n//
26218 }
26219 ' >>$CONFIG_STATUS || ac_write_fail=1
26220 rm -f conf$$subs.awk
26221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26222 _ACAWK
26223 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26224   for (key in S) S_is_set[key] = 1
26225   FS = "\a"
26226
26227 }
26228 {
26229   line = $ 0
26230   nfields = split(line, field, "@")
26231   substed = 0
26232   len = length(field[1])
26233   for (i = 2; i < nfields; i++) {
26234     key = field[i]
26235     keylen = length(key)
26236     if (S_is_set[key]) {
26237       value = S[key]
26238       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26239       len += length(value) + length(field[++i])
26240       substed = 1
26241     } else
26242       len += 1 + keylen
26243   }
26244
26245   print line
26246 }
26247
26248 _ACAWK
26249 _ACEOF
26250 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26251 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26252   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26253 else
26254   cat
26255 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26256   || as_fn_error "could not setup config files machinery" "$LINENO" 5
26257 _ACEOF
26258
26259 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26260 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26261 # trailing colons and then remove the whole line if VPATH becomes empty
26262 # (actually we leave an empty line to preserve line numbers).
26263 if test "x$srcdir" = x.; then
26264   ac_vpsub='/^[  ]*VPATH[        ]*=/{
26265 s/:*\$(srcdir):*/:/
26266 s/:*\${srcdir}:*/:/
26267 s/:*@srcdir@:*/:/
26268 s/^\([^=]*=[     ]*\):*/\1/
26269 s/:*$//
26270 s/^[^=]*=[       ]*$//
26271 }'
26272 fi
26273
26274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26275 fi # test -n "$CONFIG_FILES"
26276
26277 # Set up the scripts for CONFIG_HEADERS section.
26278 # No need to generate them if there are no CONFIG_HEADERS.
26279 # This happens for instance with `./config.status Makefile'.
26280 if test -n "$CONFIG_HEADERS"; then
26281 cat >"$tmp/defines.awk" <<\_ACAWK ||
26282 BEGIN {
26283 _ACEOF
26284
26285 # Transform confdefs.h into an awk script `defines.awk', embedded as
26286 # here-document in config.status, that substitutes the proper values into
26287 # config.h.in to produce config.h.
26288
26289 # Create a delimiter string that does not exist in confdefs.h, to ease
26290 # handling of long lines.
26291 ac_delim='%!_!# '
26292 for ac_last_try in false false :; do
26293   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26294   if test -z "$ac_t"; then
26295     break
26296   elif $ac_last_try; then
26297     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26298   else
26299     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26300   fi
26301 done
26302
26303 # For the awk script, D is an array of macro values keyed by name,
26304 # likewise P contains macro parameters if any.  Preserve backslash
26305 # newline sequences.
26306
26307 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26308 sed -n '
26309 s/.\{148\}/&'"$ac_delim"'/g
26310 t rset
26311 :rset
26312 s/^[     ]*#[    ]*define[       ][      ]*/ /
26313 t def
26314 d
26315 :def
26316 s/\\$//
26317 t bsnl
26318 s/["\\]/\\&/g
26319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26320 D["\1"]=" \3"/p
26321 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
26322 d
26323 :bsnl
26324 s/["\\]/\\&/g
26325 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26326 D["\1"]=" \3\\\\\\n"\\/p
26327 t cont
26328 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26329 t cont
26330 d
26331 :cont
26332 n
26333 s/.\{148\}/&'"$ac_delim"'/g
26334 t clear
26335 :clear
26336 s/\\$//
26337 t bsnlc
26338 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26339 d
26340 :bsnlc
26341 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26342 b cont
26343 ' <confdefs.h | sed '
26344 s/'"$ac_delim"'/"\\\
26345 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26346
26347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26348   for (key in D) D_is_set[key] = 1
26349   FS = "\a"
26350 }
26351 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26352   line = \$ 0
26353   split(line, arg, " ")
26354   if (arg[1] == "#") {
26355     defundef = arg[2]
26356     mac1 = arg[3]
26357   } else {
26358     defundef = substr(arg[1], 2)
26359     mac1 = arg[2]
26360   }
26361   split(mac1, mac2, "(") #)
26362   macro = mac2[1]
26363   prefix = substr(line, 1, index(line, defundef) - 1)
26364   if (D_is_set[macro]) {
26365     # Preserve the white space surrounding the "#".
26366     print prefix "define", macro P[macro] D[macro]
26367     next
26368   } else {
26369     # Replace #undef with comments.  This is necessary, for example,
26370     # in the case of _POSIX_SOURCE, which is predefined and required
26371     # on some systems where configure will not decide to define it.
26372     if (defundef == "undef") {
26373       print "/*", prefix defundef, macro, "*/"
26374       next
26375     }
26376   }
26377 }
26378 { print }
26379 _ACAWK
26380 _ACEOF
26381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26382   as_fn_error "could not setup config headers machinery" "$LINENO" 5
26383 fi # test -n "$CONFIG_HEADERS"
26384
26385
26386 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26387 shift
26388 for ac_tag
26389 do
26390   case $ac_tag in
26391   :[FHLC]) ac_mode=$ac_tag; continue;;
26392   esac
26393   case $ac_mode$ac_tag in
26394   :[FHL]*:*);;
26395   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26396   :[FH]-) ac_tag=-:-;;
26397   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26398   esac
26399   ac_save_IFS=$IFS
26400   IFS=:
26401   set x $ac_tag
26402   IFS=$ac_save_IFS
26403   shift
26404   ac_file=$1
26405   shift
26406
26407   case $ac_mode in
26408   :L) ac_source=$1;;
26409   :[FH])
26410     ac_file_inputs=
26411     for ac_f
26412     do
26413       case $ac_f in
26414       -) ac_f="$tmp/stdin";;
26415       *) # Look for the file first in the build tree, then in the source tree
26416          # (if the path is not absolute).  The absolute path cannot be DOS-style,
26417          # because $ac_f cannot contain `:'.
26418          test -f "$ac_f" ||
26419            case $ac_f in
26420            [\\/$]*) false;;
26421            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26422            esac ||
26423            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26424       esac
26425       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26426       as_fn_append ac_file_inputs " '$ac_f'"
26427     done
26428
26429     # Let's still pretend it is `configure' which instantiates (i.e., don't
26430     # use $as_me), people would be surprised to read:
26431     #    /* config.h.  Generated by config.status.  */
26432     configure_input='Generated from '`
26433           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26434         `' by configure.'
26435     if test x"$ac_file" != x-; then
26436       configure_input="$ac_file.  $configure_input"
26437       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26438 $as_echo "$as_me: creating $ac_file" >&6;}
26439     fi
26440     # Neutralize special characters interpreted by sed in replacement strings.
26441     case $configure_input in #(
26442     *\&* | *\|* | *\\* )
26443        ac_sed_conf_input=`$as_echo "$configure_input" |
26444        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26445     *) ac_sed_conf_input=$configure_input;;
26446     esac
26447
26448     case $ac_tag in
26449     *:-:* | *:-) cat >"$tmp/stdin" \
26450       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26451     esac
26452     ;;
26453   esac
26454
26455   ac_dir=`$as_dirname -- "$ac_file" ||
26456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26457          X"$ac_file" : 'X\(//\)[^/]' \| \
26458          X"$ac_file" : 'X\(//\)$' \| \
26459          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26460 $as_echo X"$ac_file" |
26461     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26462             s//\1/
26463             q
26464           }
26465           /^X\(\/\/\)[^/].*/{
26466             s//\1/
26467             q
26468           }
26469           /^X\(\/\/\)$/{
26470             s//\1/
26471             q
26472           }
26473           /^X\(\/\).*/{
26474             s//\1/
26475             q
26476           }
26477           s/.*/./; q'`
26478   as_dir="$ac_dir"; as_fn_mkdir_p
26479   ac_builddir=.
26480
26481 case "$ac_dir" in
26482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26483 *)
26484   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26485   # A ".." for each directory in $ac_dir_suffix.
26486   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26487   case $ac_top_builddir_sub in
26488   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26489   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26490   esac ;;
26491 esac
26492 ac_abs_top_builddir=$ac_pwd
26493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26494 # for backward compatibility:
26495 ac_top_builddir=$ac_top_build_prefix
26496
26497 case $srcdir in
26498   .)  # We are building in place.
26499     ac_srcdir=.
26500     ac_top_srcdir=$ac_top_builddir_sub
26501     ac_abs_top_srcdir=$ac_pwd ;;
26502   [\\/]* | ?:[\\/]* )  # Absolute name.
26503     ac_srcdir=$srcdir$ac_dir_suffix;
26504     ac_top_srcdir=$srcdir
26505     ac_abs_top_srcdir=$srcdir ;;
26506   *) # Relative name.
26507     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26508     ac_top_srcdir=$ac_top_build_prefix$srcdir
26509     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26510 esac
26511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26512
26513
26514   case $ac_mode in
26515   :F)
26516   #
26517   # CONFIG_FILE
26518   #
26519
26520   case $INSTALL in
26521   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26522   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26523   esac
26524   ac_MKDIR_P=$MKDIR_P
26525   case $MKDIR_P in
26526   [\\/$]* | ?:[\\/]* ) ;;
26527   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26528   esac
26529 _ACEOF
26530
26531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26532 # If the template does not know about datarootdir, expand it.
26533 # FIXME: This hack should be removed a few years after 2.60.
26534 ac_datarootdir_hack=; ac_datarootdir_seen=
26535 ac_sed_dataroot='
26536 /datarootdir/ {
26537   p
26538   q
26539 }
26540 /@datadir@/p
26541 /@docdir@/p
26542 /@infodir@/p
26543 /@localedir@/p
26544 /@mandir@/p'
26545 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26546 *datarootdir*) ac_datarootdir_seen=yes;;
26547 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26548   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26549 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26550 _ACEOF
26551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26552   ac_datarootdir_hack='
26553   s&@datadir@&$datadir&g
26554   s&@docdir@&$docdir&g
26555   s&@infodir@&$infodir&g
26556   s&@localedir@&$localedir&g
26557   s&@mandir@&$mandir&g
26558   s&\\\${datarootdir}&$datarootdir&g' ;;
26559 esac
26560 _ACEOF
26561
26562 # Neutralize VPATH when `$srcdir' = `.'.
26563 # Shell code in configure.ac might set extrasub.
26564 # FIXME: do we really want to maintain this feature?
26565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26566 ac_sed_extra="$ac_vpsub
26567 $extrasub
26568 _ACEOF
26569 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26570 :t
26571 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26572 s|@configure_input@|$ac_sed_conf_input|;t t
26573 s&@top_builddir@&$ac_top_builddir_sub&;t t
26574 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26575 s&@srcdir@&$ac_srcdir&;t t
26576 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26577 s&@top_srcdir@&$ac_top_srcdir&;t t
26578 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26579 s&@builddir@&$ac_builddir&;t t
26580 s&@abs_builddir@&$ac_abs_builddir&;t t
26581 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26582 s&@INSTALL@&$ac_INSTALL&;t t
26583 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26584 $ac_datarootdir_hack
26585 "
26586 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26587   || as_fn_error "could not create $ac_file" "$LINENO" 5
26588
26589 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26590   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26591   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26592   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26593 which seems to be undefined.  Please make sure it is defined." >&5
26594 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26595 which seems to be undefined.  Please make sure it is defined." >&2;}
26596
26597   rm -f "$tmp/stdin"
26598   case $ac_file in
26599   -) cat "$tmp/out" && rm -f "$tmp/out";;
26600   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26601   esac \
26602   || as_fn_error "could not create $ac_file" "$LINENO" 5
26603  ;;
26604   :H)
26605   #
26606   # CONFIG_HEADER
26607   #
26608   if test x"$ac_file" != x-; then
26609     {
26610       $as_echo "/* $configure_input  */" \
26611       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26612     } >"$tmp/config.h" \
26613       || as_fn_error "could not create $ac_file" "$LINENO" 5
26614     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26615       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26616 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26617     else
26618       rm -f "$ac_file"
26619       mv "$tmp/config.h" "$ac_file" \
26620         || as_fn_error "could not create $ac_file" "$LINENO" 5
26621     fi
26622   else
26623     $as_echo "/* $configure_input  */" \
26624       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26625       || as_fn_error "could not create -" "$LINENO" 5
26626   fi
26627 # Compute "$ac_file"'s index in $config_headers.
26628 _am_arg="$ac_file"
26629 _am_stamp_count=1
26630 for _am_header in $config_headers :; do
26631   case $_am_header in
26632     $_am_arg | $_am_arg:* )
26633       break ;;
26634     * )
26635       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26636   esac
26637 done
26638 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26639 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26640          X"$_am_arg" : 'X\(//\)[^/]' \| \
26641          X"$_am_arg" : 'X\(//\)$' \| \
26642          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26643 $as_echo X"$_am_arg" |
26644     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26645             s//\1/
26646             q
26647           }
26648           /^X\(\/\/\)[^/].*/{
26649             s//\1/
26650             q
26651           }
26652           /^X\(\/\/\)$/{
26653             s//\1/
26654             q
26655           }
26656           /^X\(\/\).*/{
26657             s//\1/
26658             q
26659           }
26660           s/.*/./; q'`/stamp-h$_am_stamp_count
26661  ;;
26662
26663   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26664 $as_echo "$as_me: executing $ac_file commands" >&6;}
26665  ;;
26666   esac
26667
26668
26669   case $ac_file$ac_mode in
26670     "default-1":C)
26671 # Only add multilib support code if we just rebuilt the top-level
26672 # Makefile.
26673 case " $CONFIG_FILES " in
26674  *" Makefile "*)
26675    ac_file=Makefile . ${multi_basedir}/config-ml.in
26676    ;;
26677 esac ;;
26678     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26679   # Autoconf 2.62 quotes --file arguments for eval, but not when files
26680   # are listed without --file.  Let's play safe and only enable the eval
26681   # if we detect the quoting.
26682   case $CONFIG_FILES in
26683   *\'*) eval set x "$CONFIG_FILES" ;;
26684   *)   set x $CONFIG_FILES ;;
26685   esac
26686   shift
26687   for mf
26688   do
26689     # Strip MF so we end up with the name of the file.
26690     mf=`echo "$mf" | sed -e 's/:.*$//'`
26691     # Check whether this is an Automake generated Makefile or not.
26692     # We used to match only the files named `Makefile.in', but
26693     # some people rename them; so instead we look at the file content.
26694     # Grep'ing the first line is not enough: some people post-process
26695     # each Makefile.in and add a new line on top of each file to say so.
26696     # Grep'ing the whole file is not good either: AIX grep has a line
26697     # limit of 2048, but all sed's we know have understand at least 4000.
26698     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26699       dirpart=`$as_dirname -- "$mf" ||
26700 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26701          X"$mf" : 'X\(//\)[^/]' \| \
26702          X"$mf" : 'X\(//\)$' \| \
26703          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26704 $as_echo X"$mf" |
26705     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26706             s//\1/
26707             q
26708           }
26709           /^X\(\/\/\)[^/].*/{
26710             s//\1/
26711             q
26712           }
26713           /^X\(\/\/\)$/{
26714             s//\1/
26715             q
26716           }
26717           /^X\(\/\).*/{
26718             s//\1/
26719             q
26720           }
26721           s/.*/./; q'`
26722     else
26723       continue
26724     fi
26725     # Extract the definition of DEPDIR, am__include, and am__quote
26726     # from the Makefile without running `make'.
26727     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26728     test -z "$DEPDIR" && continue
26729     am__include=`sed -n 's/^am__include = //p' < "$mf"`
26730     test -z "am__include" && continue
26731     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26732     # When using ansi2knr, U may be empty or an underscore; expand it
26733     U=`sed -n 's/^U = //p' < "$mf"`
26734     # Find all dependency output files, they are included files with
26735     # $(DEPDIR) in their names.  We invoke sed twice because it is the
26736     # simplest approach to changing $(DEPDIR) to its actual value in the
26737     # expansion.
26738     for file in `sed -n "
26739       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26740          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26741       # Make sure the directory exists.
26742       test -f "$dirpart/$file" && continue
26743       fdir=`$as_dirname -- "$file" ||
26744 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26745          X"$file" : 'X\(//\)[^/]' \| \
26746          X"$file" : 'X\(//\)$' \| \
26747          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26748 $as_echo X"$file" |
26749     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26750             s//\1/
26751             q
26752           }
26753           /^X\(\/\/\)[^/].*/{
26754             s//\1/
26755             q
26756           }
26757           /^X\(\/\/\)$/{
26758             s//\1/
26759             q
26760           }
26761           /^X\(\/\).*/{
26762             s//\1/
26763             q
26764           }
26765           s/.*/./; q'`
26766       as_dir=$dirpart/$fdir; as_fn_mkdir_p
26767       # echo "creating $dirpart/$file"
26768       echo '# dummy' > "$dirpart/$file"
26769     done
26770   done
26771 }
26772  ;;
26773     "libtool":C)
26774
26775     # See if we are running on zsh, and set the options which allow our
26776     # commands through without removal of \ escapes.
26777     if test -n "${ZSH_VERSION+set}" ; then
26778       setopt NO_GLOB_SUBST
26779     fi
26780
26781     cfgfile="${ofile}T"
26782     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26783     $RM "$cfgfile"
26784
26785     cat <<_LT_EOF >> "$cfgfile"
26786 #! $SHELL
26787
26788 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26789 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26790 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26791 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26792 #
26793 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26794 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26795 #   Written by Gordon Matzigkeit, 1996
26796 #
26797 #   This file is part of GNU Libtool.
26798 #
26799 # GNU Libtool is free software; you can redistribute it and/or
26800 # modify it under the terms of the GNU General Public License as
26801 # published by the Free Software Foundation; either version 2 of
26802 # the License, or (at your option) any later version.
26803 #
26804 # As a special exception to the GNU General Public License,
26805 # if you distribute this file as part of a program or library that
26806 # is built using GNU Libtool, you may include this file under the
26807 # same distribution terms that you use for the rest of that program.
26808 #
26809 # GNU Libtool is distributed in the hope that it will be useful,
26810 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26811 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26812 # GNU General Public License for more details.
26813 #
26814 # You should have received a copy of the GNU General Public License
26815 # along with GNU Libtool; see the file COPYING.  If not, a copy
26816 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26817 # obtained by writing to the Free Software Foundation, Inc.,
26818 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26819
26820
26821 # The names of the tagged configurations supported by this script.
26822 available_tags="FC "
26823
26824 # ### BEGIN LIBTOOL CONFIG
26825
26826 # Which release of libtool.m4 was used?
26827 macro_version=$macro_version
26828 macro_revision=$macro_revision
26829
26830 # Whether or not to build shared libraries.
26831 build_libtool_libs=$enable_shared
26832
26833 # Whether or not to build static libraries.
26834 build_old_libs=$enable_static
26835
26836 # What type of objects to build.
26837 pic_mode=$pic_mode
26838
26839 # Whether or not to optimize for fast installation.
26840 fast_install=$enable_fast_install
26841
26842 # Shell to use when invoking shell scripts.
26843 SHELL=$lt_SHELL
26844
26845 # An echo program that protects backslashes.
26846 ECHO=$lt_ECHO
26847
26848 # The host system.
26849 host_alias=$host_alias
26850 host=$host
26851 host_os=$host_os
26852
26853 # The build system.
26854 build_alias=$build_alias
26855 build=$build
26856 build_os=$build_os
26857
26858 # A sed program that does not truncate output.
26859 SED=$lt_SED
26860
26861 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26862 Xsed="\$SED -e 1s/^X//"
26863
26864 # A grep program that handles long lines.
26865 GREP=$lt_GREP
26866
26867 # An ERE matcher.
26868 EGREP=$lt_EGREP
26869
26870 # A literal string matcher.
26871 FGREP=$lt_FGREP
26872
26873 # A BSD- or MS-compatible name lister.
26874 NM=$lt_NM
26875
26876 # Whether we need soft or hard links.
26877 LN_S=$lt_LN_S
26878
26879 # What is the maximum length of a command?
26880 max_cmd_len=$max_cmd_len
26881
26882 # Object file suffix (normally "o").
26883 objext=$ac_objext
26884
26885 # Executable file suffix (normally "").
26886 exeext=$exeext
26887
26888 # whether the shell understands "unset".
26889 lt_unset=$lt_unset
26890
26891 # turn spaces into newlines.
26892 SP2NL=$lt_lt_SP2NL
26893
26894 # turn newlines into spaces.
26895 NL2SP=$lt_lt_NL2SP
26896
26897 # An object symbol dumper.
26898 OBJDUMP=$lt_OBJDUMP
26899
26900 # Method to check whether dependent libraries are shared objects.
26901 deplibs_check_method=$lt_deplibs_check_method
26902
26903 # Command to use when deplibs_check_method == "file_magic".
26904 file_magic_cmd=$lt_file_magic_cmd
26905
26906 # The archiver.
26907 AR=$lt_AR
26908 AR_FLAGS=$lt_AR_FLAGS
26909
26910 # A symbol stripping program.
26911 STRIP=$lt_STRIP
26912
26913 # Commands used to install an old-style archive.
26914 RANLIB=$lt_RANLIB
26915 old_postinstall_cmds=$lt_old_postinstall_cmds
26916 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26917
26918 # Whether to use a lock for old archive extraction.
26919 lock_old_archive_extraction=$lock_old_archive_extraction
26920
26921 # A C compiler.
26922 LTCC=$lt_CC
26923
26924 # LTCC compiler flags.
26925 LTCFLAGS=$lt_CFLAGS
26926
26927 # Take the output of nm and produce a listing of raw symbols and C names.
26928 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26929
26930 # Transform the output of nm in a proper C declaration.
26931 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26932
26933 # Transform the output of nm in a C name address pair.
26934 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26935
26936 # Transform the output of nm in a C name address pair when lib prefix is needed.
26937 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26938
26939 # The name of the directory that contains temporary libtool files.
26940 objdir=$objdir
26941
26942 # Used to examine libraries when file_magic_cmd begins with "file".
26943 MAGIC_CMD=$MAGIC_CMD
26944
26945 # Must we lock files when doing compilation?
26946 need_locks=$lt_need_locks
26947
26948 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26949 DSYMUTIL=$lt_DSYMUTIL
26950
26951 # Tool to change global to local symbols on Mac OS X.
26952 NMEDIT=$lt_NMEDIT
26953
26954 # Tool to manipulate fat objects and archives on Mac OS X.
26955 LIPO=$lt_LIPO
26956
26957 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26958 OTOOL=$lt_OTOOL
26959
26960 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26961 OTOOL64=$lt_OTOOL64
26962
26963 # Old archive suffix (normally "a").
26964 libext=$libext
26965
26966 # Shared library suffix (normally ".so").
26967 shrext_cmds=$lt_shrext_cmds
26968
26969 # The commands to extract the exported symbol list from a shared archive.
26970 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26971
26972 # Variables whose values should be saved in libtool wrapper scripts and
26973 # restored at link time.
26974 variables_saved_for_relink=$lt_variables_saved_for_relink
26975
26976 # Do we need the "lib" prefix for modules?
26977 need_lib_prefix=$need_lib_prefix
26978
26979 # Do we need a version for libraries?
26980 need_version=$need_version
26981
26982 # Library versioning type.
26983 version_type=$version_type
26984
26985 # Shared library runtime path variable.
26986 runpath_var=$runpath_var
26987
26988 # Shared library path variable.
26989 shlibpath_var=$shlibpath_var
26990
26991 # Is shlibpath searched before the hard-coded library search path?
26992 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
26993
26994 # Format of library name prefix.
26995 libname_spec=$lt_libname_spec
26996
26997 # List of archive names.  First name is the real one, the rest are links.
26998 # The last name is the one that the linker finds with -lNAME
26999 library_names_spec=$lt_library_names_spec
27000
27001 # The coded name of the library, if different from the real name.
27002 soname_spec=$lt_soname_spec
27003
27004 # Permission mode override for installation of shared libraries.
27005 install_override_mode=$lt_install_override_mode
27006
27007 # Command to use after installation of a shared archive.
27008 postinstall_cmds=$lt_postinstall_cmds
27009
27010 # Command to use after uninstallation of a shared archive.
27011 postuninstall_cmds=$lt_postuninstall_cmds
27012
27013 # Commands used to finish a libtool library installation in a directory.
27014 finish_cmds=$lt_finish_cmds
27015
27016 # As "finish_cmds", except a single script fragment to be evaled but
27017 # not shown.
27018 finish_eval=$lt_finish_eval
27019
27020 # Whether we should hardcode library paths into libraries.
27021 hardcode_into_libs=$hardcode_into_libs
27022
27023 # Compile-time system search path for libraries.
27024 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27025
27026 # Run-time system search path for libraries.
27027 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27028
27029 # Whether dlopen is supported.
27030 dlopen_support=$enable_dlopen
27031
27032 # Whether dlopen of programs is supported.
27033 dlopen_self=$enable_dlopen_self
27034
27035 # Whether dlopen of statically linked programs is supported.
27036 dlopen_self_static=$enable_dlopen_self_static
27037
27038 # Commands to strip libraries.
27039 old_striplib=$lt_old_striplib
27040 striplib=$lt_striplib
27041
27042
27043 # The linker used to build libraries.
27044 LD=$lt_LD
27045
27046 # How to create reloadable object files.
27047 reload_flag=$lt_reload_flag
27048 reload_cmds=$lt_reload_cmds
27049
27050 # Commands used to build an old-style archive.
27051 old_archive_cmds=$lt_old_archive_cmds
27052
27053 # A language specific compiler.
27054 CC=$lt_compiler
27055
27056 # Is the compiler the GNU compiler?
27057 with_gcc=$GCC
27058
27059 # Compiler flag to turn off builtin functions.
27060 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27061
27062 # How to pass a linker flag through the compiler.
27063 wl=$lt_lt_prog_compiler_wl
27064
27065 # Additional compiler flags for building library objects.
27066 pic_flag=$lt_lt_prog_compiler_pic
27067
27068 # Compiler flag to prevent dynamic linking.
27069 link_static_flag=$lt_lt_prog_compiler_static
27070
27071 # Does compiler simultaneously support -c and -o options?
27072 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27073
27074 # Whether or not to add -lc for building shared libraries.
27075 build_libtool_need_lc=$archive_cmds_need_lc
27076
27077 # Whether or not to disallow shared libs when runtime libs are static.
27078 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27079
27080 # Compiler flag to allow reflexive dlopens.
27081 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27082
27083 # Compiler flag to generate shared objects directly from archives.
27084 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27085
27086 # Whether the compiler copes with passing no objects directly.
27087 compiler_needs_object=$lt_compiler_needs_object
27088
27089 # Create an old-style archive from a shared archive.
27090 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27091
27092 # Create a temporary old-style archive to link instead of a shared archive.
27093 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27094
27095 # Commands used to build a shared archive.
27096 archive_cmds=$lt_archive_cmds
27097 archive_expsym_cmds=$lt_archive_expsym_cmds
27098
27099 # Commands used to build a loadable module if different from building
27100 # a shared archive.
27101 module_cmds=$lt_module_cmds
27102 module_expsym_cmds=$lt_module_expsym_cmds
27103
27104 # Whether we are building with GNU ld or not.
27105 with_gnu_ld=$lt_with_gnu_ld
27106
27107 # Flag that allows shared libraries with undefined symbols to be built.
27108 allow_undefined_flag=$lt_allow_undefined_flag
27109
27110 # Flag that enforces no undefined symbols.
27111 no_undefined_flag=$lt_no_undefined_flag
27112
27113 # Flag to hardcode \$libdir into a binary during linking.
27114 # This must work even if \$libdir does not exist
27115 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27116
27117 # If ld is used when linking, flag to hardcode \$libdir into a binary
27118 # during linking.  This must work even if \$libdir does not exist.
27119 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27120
27121 # Whether we need a single "-rpath" flag with a separated argument.
27122 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27123
27124 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27125 # DIR into the resulting binary.
27126 hardcode_direct=$hardcode_direct
27127
27128 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27129 # DIR into the resulting binary and the resulting library dependency is
27130 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27131 # library is relocated.
27132 hardcode_direct_absolute=$hardcode_direct_absolute
27133
27134 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27135 # into the resulting binary.
27136 hardcode_minus_L=$hardcode_minus_L
27137
27138 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27139 # into the resulting binary.
27140 hardcode_shlibpath_var=$hardcode_shlibpath_var
27141
27142 # Set to "yes" if building a shared library automatically hardcodes DIR
27143 # into the library and all subsequent libraries and executables linked
27144 # against it.
27145 hardcode_automatic=$hardcode_automatic
27146
27147 # Set to yes if linker adds runtime paths of dependent libraries
27148 # to runtime path list.
27149 inherit_rpath=$inherit_rpath
27150
27151 # Whether libtool must link a program against all its dependency libraries.
27152 link_all_deplibs=$link_all_deplibs
27153
27154 # Fix the shell variable \$srcfile for the compiler.
27155 fix_srcfile_path=$lt_fix_srcfile_path
27156
27157 # Set to "yes" if exported symbols are required.
27158 always_export_symbols=$always_export_symbols
27159
27160 # The commands to list exported symbols.
27161 export_symbols_cmds=$lt_export_symbols_cmds
27162
27163 # Symbols that should not be listed in the preloaded symbols.
27164 exclude_expsyms=$lt_exclude_expsyms
27165
27166 # Symbols that must always be exported.
27167 include_expsyms=$lt_include_expsyms
27168
27169 # Commands necessary for linking programs (against libraries) with templates.
27170 prelink_cmds=$lt_prelink_cmds
27171
27172 # Specify filename containing input files.
27173 file_list_spec=$lt_file_list_spec
27174
27175 # How to hardcode a shared library path into an executable.
27176 hardcode_action=$hardcode_action
27177
27178 # The directories searched by this compiler when creating a shared library.
27179 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27180
27181 # Dependencies to place before and after the objects being linked to
27182 # create a shared library.
27183 predep_objects=$lt_predep_objects
27184 postdep_objects=$lt_postdep_objects
27185 predeps=$lt_predeps
27186 postdeps=$lt_postdeps
27187
27188 # The library search path used internally by the compiler when linking
27189 # a shared library.
27190 compiler_lib_search_path=$lt_compiler_lib_search_path
27191
27192 # ### END LIBTOOL CONFIG
27193
27194 _LT_EOF
27195
27196   case $host_os in
27197   aix3*)
27198     cat <<\_LT_EOF >> "$cfgfile"
27199 # AIX sometimes has problems with the GCC collect2 program.  For some
27200 # reason, if we set the COLLECT_NAMES environment variable, the problems
27201 # vanish in a puff of smoke.
27202 if test "X${COLLECT_NAMES+set}" != Xset; then
27203   COLLECT_NAMES=
27204   export COLLECT_NAMES
27205 fi
27206 _LT_EOF
27207     ;;
27208   esac
27209
27210
27211 ltmain="$ac_aux_dir/ltmain.sh"
27212
27213
27214   # We use sed instead of cat because bash on DJGPP gets confused if
27215   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27216   # text mode, it properly converts lines to CR/LF.  This bash problem
27217   # is reportedly fixed, but why not run on old versions too?
27218   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27219     || (rm -f "$cfgfile"; exit 1)
27220
27221   case $xsi_shell in
27222   yes)
27223     cat << \_LT_EOF >> "$cfgfile"
27224
27225 # func_dirname file append nondir_replacement
27226 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27227 # otherwise set result to NONDIR_REPLACEMENT.
27228 func_dirname ()
27229 {
27230   case ${1} in
27231     */*) func_dirname_result="${1%/*}${2}" ;;
27232     *  ) func_dirname_result="${3}" ;;
27233   esac
27234 }
27235
27236 # func_basename file
27237 func_basename ()
27238 {
27239   func_basename_result="${1##*/}"
27240 }
27241
27242 # func_dirname_and_basename file append nondir_replacement
27243 # perform func_basename and func_dirname in a single function
27244 # call:
27245 #   dirname:  Compute the dirname of FILE.  If nonempty,
27246 #             add APPEND to the result, otherwise set result
27247 #             to NONDIR_REPLACEMENT.
27248 #             value returned in "$func_dirname_result"
27249 #   basename: Compute filename of FILE.
27250 #             value retuned in "$func_basename_result"
27251 # Implementation must be kept synchronized with func_dirname
27252 # and func_basename. For efficiency, we do not delegate to
27253 # those functions but instead duplicate the functionality here.
27254 func_dirname_and_basename ()
27255 {
27256   case ${1} in
27257     */*) func_dirname_result="${1%/*}${2}" ;;
27258     *  ) func_dirname_result="${3}" ;;
27259   esac
27260   func_basename_result="${1##*/}"
27261 }
27262
27263 # func_stripname prefix suffix name
27264 # strip PREFIX and SUFFIX off of NAME.
27265 # PREFIX and SUFFIX must not contain globbing or regex special
27266 # characters, hashes, percent signs, but SUFFIX may contain a leading
27267 # dot (in which case that matches only a dot).
27268 func_stripname ()
27269 {
27270   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27271   # positional parameters, so assign one to ordinary parameter first.
27272   func_stripname_result=${3}
27273   func_stripname_result=${func_stripname_result#"${1}"}
27274   func_stripname_result=${func_stripname_result%"${2}"}
27275 }
27276
27277 # func_opt_split
27278 func_opt_split ()
27279 {
27280   func_opt_split_opt=${1%%=*}
27281   func_opt_split_arg=${1#*=}
27282 }
27283
27284 # func_lo2o object
27285 func_lo2o ()
27286 {
27287   case ${1} in
27288     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27289     *)    func_lo2o_result=${1} ;;
27290   esac
27291 }
27292
27293 # func_xform libobj-or-source
27294 func_xform ()
27295 {
27296   func_xform_result=${1%.*}.lo
27297 }
27298
27299 # func_arith arithmetic-term...
27300 func_arith ()
27301 {
27302   func_arith_result=$(( $* ))
27303 }
27304
27305 # func_len string
27306 # STRING may not start with a hyphen.
27307 func_len ()
27308 {
27309   func_len_result=${#1}
27310 }
27311
27312 _LT_EOF
27313     ;;
27314   *) # Bourne compatible functions.
27315     cat << \_LT_EOF >> "$cfgfile"
27316
27317 # func_dirname file append nondir_replacement
27318 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27319 # otherwise set result to NONDIR_REPLACEMENT.
27320 func_dirname ()
27321 {
27322   # Extract subdirectory from the argument.
27323   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27324   if test "X$func_dirname_result" = "X${1}"; then
27325     func_dirname_result="${3}"
27326   else
27327     func_dirname_result="$func_dirname_result${2}"
27328   fi
27329 }
27330
27331 # func_basename file
27332 func_basename ()
27333 {
27334   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27335 }
27336
27337
27338 # func_stripname prefix suffix name
27339 # strip PREFIX and SUFFIX off of NAME.
27340 # PREFIX and SUFFIX must not contain globbing or regex special
27341 # characters, hashes, percent signs, but SUFFIX may contain a leading
27342 # dot (in which case that matches only a dot).
27343 # func_strip_suffix prefix name
27344 func_stripname ()
27345 {
27346   case ${2} in
27347     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27348     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27349   esac
27350 }
27351
27352 # sed scripts:
27353 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27354 my_sed_long_arg='1s/^-[^=]*=//'
27355
27356 # func_opt_split
27357 func_opt_split ()
27358 {
27359   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27360   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27361 }
27362
27363 # func_lo2o object
27364 func_lo2o ()
27365 {
27366   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27367 }
27368
27369 # func_xform libobj-or-source
27370 func_xform ()
27371 {
27372   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27373 }
27374
27375 # func_arith arithmetic-term...
27376 func_arith ()
27377 {
27378   func_arith_result=`expr "$@"`
27379 }
27380
27381 # func_len string
27382 # STRING may not start with a hyphen.
27383 func_len ()
27384 {
27385   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27386 }
27387
27388 _LT_EOF
27389 esac
27390
27391 case $lt_shell_append in
27392   yes)
27393     cat << \_LT_EOF >> "$cfgfile"
27394
27395 # func_append var value
27396 # Append VALUE to the end of shell variable VAR.
27397 func_append ()
27398 {
27399   eval "$1+=\$2"
27400 }
27401 _LT_EOF
27402     ;;
27403   *)
27404     cat << \_LT_EOF >> "$cfgfile"
27405
27406 # func_append var value
27407 # Append VALUE to the end of shell variable VAR.
27408 func_append ()
27409 {
27410   eval "$1=\$$1\$2"
27411 }
27412
27413 _LT_EOF
27414     ;;
27415   esac
27416
27417
27418   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27419     || (rm -f "$cfgfile"; exit 1)
27420
27421   mv -f "$cfgfile" "$ofile" ||
27422     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27423   chmod +x "$ofile"
27424
27425
27426     cat <<_LT_EOF >> "$ofile"
27427
27428 # ### BEGIN LIBTOOL TAG CONFIG: FC
27429
27430 # The linker used to build libraries.
27431 LD=$lt_LD_FC
27432
27433 # How to create reloadable object files.
27434 reload_flag=$lt_reload_flag_FC
27435 reload_cmds=$lt_reload_cmds_FC
27436
27437 # Commands used to build an old-style archive.
27438 old_archive_cmds=$lt_old_archive_cmds_FC
27439
27440 # A language specific compiler.
27441 CC=$lt_compiler_FC
27442
27443 # Is the compiler the GNU compiler?
27444 with_gcc=$GCC_FC
27445
27446 # Compiler flag to turn off builtin functions.
27447 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27448
27449 # How to pass a linker flag through the compiler.
27450 wl=$lt_lt_prog_compiler_wl_FC
27451
27452 # Additional compiler flags for building library objects.
27453 pic_flag=$lt_lt_prog_compiler_pic_FC
27454
27455 # Compiler flag to prevent dynamic linking.
27456 link_static_flag=$lt_lt_prog_compiler_static_FC
27457
27458 # Does compiler simultaneously support -c and -o options?
27459 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27460
27461 # Whether or not to add -lc for building shared libraries.
27462 build_libtool_need_lc=$archive_cmds_need_lc_FC
27463
27464 # Whether or not to disallow shared libs when runtime libs are static.
27465 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27466
27467 # Compiler flag to allow reflexive dlopens.
27468 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27469
27470 # Compiler flag to generate shared objects directly from archives.
27471 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27472
27473 # Whether the compiler copes with passing no objects directly.
27474 compiler_needs_object=$lt_compiler_needs_object_FC
27475
27476 # Create an old-style archive from a shared archive.
27477 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27478
27479 # Create a temporary old-style archive to link instead of a shared archive.
27480 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27481
27482 # Commands used to build a shared archive.
27483 archive_cmds=$lt_archive_cmds_FC
27484 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27485
27486 # Commands used to build a loadable module if different from building
27487 # a shared archive.
27488 module_cmds=$lt_module_cmds_FC
27489 module_expsym_cmds=$lt_module_expsym_cmds_FC
27490
27491 # Whether we are building with GNU ld or not.
27492 with_gnu_ld=$lt_with_gnu_ld_FC
27493
27494 # Flag that allows shared libraries with undefined symbols to be built.
27495 allow_undefined_flag=$lt_allow_undefined_flag_FC
27496
27497 # Flag that enforces no undefined symbols.
27498 no_undefined_flag=$lt_no_undefined_flag_FC
27499
27500 # Flag to hardcode \$libdir into a binary during linking.
27501 # This must work even if \$libdir does not exist
27502 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27503
27504 # If ld is used when linking, flag to hardcode \$libdir into a binary
27505 # during linking.  This must work even if \$libdir does not exist.
27506 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27507
27508 # Whether we need a single "-rpath" flag with a separated argument.
27509 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27510
27511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27512 # DIR into the resulting binary.
27513 hardcode_direct=$hardcode_direct_FC
27514
27515 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27516 # DIR into the resulting binary and the resulting library dependency is
27517 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27518 # library is relocated.
27519 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27520
27521 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27522 # into the resulting binary.
27523 hardcode_minus_L=$hardcode_minus_L_FC
27524
27525 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27526 # into the resulting binary.
27527 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27528
27529 # Set to "yes" if building a shared library automatically hardcodes DIR
27530 # into the library and all subsequent libraries and executables linked
27531 # against it.
27532 hardcode_automatic=$hardcode_automatic_FC
27533
27534 # Set to yes if linker adds runtime paths of dependent libraries
27535 # to runtime path list.
27536 inherit_rpath=$inherit_rpath_FC
27537
27538 # Whether libtool must link a program against all its dependency libraries.
27539 link_all_deplibs=$link_all_deplibs_FC
27540
27541 # Fix the shell variable \$srcfile for the compiler.
27542 fix_srcfile_path=$lt_fix_srcfile_path_FC
27543
27544 # Set to "yes" if exported symbols are required.
27545 always_export_symbols=$always_export_symbols_FC
27546
27547 # The commands to list exported symbols.
27548 export_symbols_cmds=$lt_export_symbols_cmds_FC
27549
27550 # Symbols that should not be listed in the preloaded symbols.
27551 exclude_expsyms=$lt_exclude_expsyms_FC
27552
27553 # Symbols that must always be exported.
27554 include_expsyms=$lt_include_expsyms_FC
27555
27556 # Commands necessary for linking programs (against libraries) with templates.
27557 prelink_cmds=$lt_prelink_cmds_FC
27558
27559 # Specify filename containing input files.
27560 file_list_spec=$lt_file_list_spec_FC
27561
27562 # How to hardcode a shared library path into an executable.
27563 hardcode_action=$hardcode_action_FC
27564
27565 # The directories searched by this compiler when creating a shared library.
27566 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27567
27568 # Dependencies to place before and after the objects being linked to
27569 # create a shared library.
27570 predep_objects=$lt_predep_objects_FC
27571 postdep_objects=$lt_postdep_objects_FC
27572 predeps=$lt_predeps_FC
27573 postdeps=$lt_postdeps_FC
27574
27575 # The library search path used internally by the compiler when linking
27576 # a shared library.
27577 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27578
27579 # ### END LIBTOOL TAG CONFIG: FC
27580 _LT_EOF
27581
27582  ;;
27583     "gstdint.h":C)
27584 if test "$GCC" = yes; then
27585   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27586 else
27587   echo "/* generated for $CC */" > tmp-stdint.h
27588 fi
27589
27590 sed 's/^ *//' >> tmp-stdint.h <<EOF
27591
27592   #ifndef GCC_GENERATED_STDINT_H
27593   #define GCC_GENERATED_STDINT_H 1
27594
27595   #include <sys/types.h>
27596 EOF
27597
27598 if test "$acx_cv_header_stdint" != stdint.h; then
27599   echo "#include <stddef.h>" >> tmp-stdint.h
27600 fi
27601 if test "$acx_cv_header_stdint" != stddef.h; then
27602   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27603 fi
27604
27605 sed 's/^ *//' >> tmp-stdint.h <<EOF
27606   /* glibc uses these symbols as guards to prevent redefinitions.  */
27607   #ifdef __int8_t_defined
27608   #define _INT8_T
27609   #define _INT16_T
27610   #define _INT32_T
27611   #endif
27612   #ifdef __uint32_t_defined
27613   #define _UINT32_T
27614   #endif
27615
27616 EOF
27617
27618 # ----------------- done header, emit basic int types -------------
27619 if test "$acx_cv_header_stdint" = stddef.h; then
27620   sed 's/^ *//' >> tmp-stdint.h <<EOF
27621
27622     #ifndef _UINT8_T
27623     #define _UINT8_T
27624     #ifndef __uint8_t_defined
27625     #define __uint8_t_defined
27626     typedef unsigned $acx_cv_type_int8_t uint8_t;
27627     #endif
27628     #endif
27629
27630     #ifndef _UINT16_T
27631     #define _UINT16_T
27632     #ifndef __uint16_t_defined
27633     #define __uint16_t_defined
27634     typedef unsigned $acx_cv_type_int16_t uint16_t;
27635     #endif
27636     #endif
27637
27638     #ifndef _UINT32_T
27639     #define _UINT32_T
27640     #ifndef __uint32_t_defined
27641     #define __uint32_t_defined
27642     typedef unsigned $acx_cv_type_int32_t uint32_t;
27643     #endif
27644     #endif
27645
27646     #ifndef _INT8_T
27647     #define _INT8_T
27648     #ifndef __int8_t_defined
27649     #define __int8_t_defined
27650     typedef $acx_cv_type_int8_t int8_t;
27651     #endif
27652     #endif
27653
27654     #ifndef _INT16_T
27655     #define _INT16_T
27656     #ifndef __int16_t_defined
27657     #define __int16_t_defined
27658     typedef $acx_cv_type_int16_t int16_t;
27659     #endif
27660     #endif
27661
27662     #ifndef _INT32_T
27663     #define _INT32_T
27664     #ifndef __int32_t_defined
27665     #define __int32_t_defined
27666     typedef $acx_cv_type_int32_t int32_t;
27667     #endif
27668     #endif
27669 EOF
27670 elif test "$ac_cv_type_u_int32_t" = yes; then
27671   sed 's/^ *//' >> tmp-stdint.h <<EOF
27672
27673     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27674     #ifndef _INT8_T
27675     #define _INT8_T
27676     #endif
27677     #ifndef _INT16_T
27678     #define _INT16_T
27679     #endif
27680     #ifndef _INT32_T
27681     #define _INT32_T
27682     #endif
27683
27684     #ifndef _UINT8_T
27685     #define _UINT8_T
27686     #ifndef __uint8_t_defined
27687     #define __uint8_t_defined
27688     typedef u_int8_t uint8_t;
27689     #endif
27690     #endif
27691
27692     #ifndef _UINT16_T
27693     #define _UINT16_T
27694     #ifndef __uint16_t_defined
27695     #define __uint16_t_defined
27696     typedef u_int16_t uint16_t;
27697     #endif
27698     #endif
27699
27700     #ifndef _UINT32_T
27701     #define _UINT32_T
27702     #ifndef __uint32_t_defined
27703     #define __uint32_t_defined
27704     typedef u_int32_t uint32_t;
27705     #endif
27706     #endif
27707 EOF
27708 else
27709   sed 's/^ *//' >> tmp-stdint.h <<EOF
27710
27711     /* Some systems have guard macros to prevent redefinitions, define them.  */
27712     #ifndef _INT8_T
27713     #define _INT8_T
27714     #endif
27715     #ifndef _INT16_T
27716     #define _INT16_T
27717     #endif
27718     #ifndef _INT32_T
27719     #define _INT32_T
27720     #endif
27721     #ifndef _UINT8_T
27722     #define _UINT8_T
27723     #endif
27724     #ifndef _UINT16_T
27725     #define _UINT16_T
27726     #endif
27727     #ifndef _UINT32_T
27728     #define _UINT32_T
27729     #endif
27730 EOF
27731 fi
27732
27733 # ------------- done basic int types, emit int64_t types ------------
27734 if test "$ac_cv_type_uint64_t" = yes; then
27735   sed 's/^ *//' >> tmp-stdint.h <<EOF
27736
27737     /* system headers have good uint64_t and int64_t */
27738     #ifndef _INT64_T
27739     #define _INT64_T
27740     #endif
27741     #ifndef _UINT64_T
27742     #define _UINT64_T
27743     #endif
27744 EOF
27745 elif test "$ac_cv_type_u_int64_t" = yes; then
27746   sed 's/^ *//' >> tmp-stdint.h <<EOF
27747
27748     /* system headers have an u_int64_t (and int64_t) */
27749     #ifndef _INT64_T
27750     #define _INT64_T
27751     #endif
27752     #ifndef _UINT64_T
27753     #define _UINT64_T
27754     #ifndef __uint64_t_defined
27755     #define __uint64_t_defined
27756     typedef u_int64_t uint64_t;
27757     #endif
27758     #endif
27759 EOF
27760 elif test -n "$acx_cv_type_int64_t"; then
27761   sed 's/^ *//' >> tmp-stdint.h <<EOF
27762
27763     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27764     #ifndef _INT64_T
27765     #define _INT64_T
27766     typedef $acx_cv_type_int64_t int64_t;
27767     #endif
27768     #ifndef _UINT64_T
27769     #define _UINT64_T
27770     #ifndef __uint64_t_defined
27771     #define __uint64_t_defined
27772     typedef unsigned $acx_cv_type_int64_t uint64_t;
27773     #endif
27774     #endif
27775 EOF
27776 else
27777   sed 's/^ *//' >> tmp-stdint.h <<EOF
27778
27779     /* some common heuristics for int64_t, using compiler-specific tests */
27780     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27781     #ifndef _INT64_T
27782     #define _INT64_T
27783     #ifndef __int64_t_defined
27784     typedef long long int64_t;
27785     #endif
27786     #endif
27787     #ifndef _UINT64_T
27788     #define _UINT64_T
27789     typedef unsigned long long uint64_t;
27790     #endif
27791
27792     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27793     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27794        does not implement __extension__.  But that compiler doesn't define
27795        __GNUC_MINOR__.  */
27796     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27797     # define __extension__
27798     # endif
27799
27800     # ifndef _INT64_T
27801     # define _INT64_T
27802     __extension__ typedef long long int64_t;
27803     # endif
27804     # ifndef _UINT64_T
27805     # define _UINT64_T
27806     __extension__ typedef unsigned long long uint64_t;
27807     # endif
27808
27809     #elif !defined __STRICT_ANSI__
27810     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27811
27812     #  ifndef _INT64_T
27813     #  define _INT64_T
27814     typedef __int64 int64_t;
27815     #  endif
27816     #  ifndef _UINT64_T
27817     #  define _UINT64_T
27818     typedef unsigned __int64 uint64_t;
27819     #  endif
27820     # endif /* compiler */
27821
27822     #endif /* ANSI version */
27823 EOF
27824 fi
27825
27826 # ------------- done int64_t types, emit intptr types ------------
27827 if test "$ac_cv_type_uintptr_t" != yes; then
27828   sed 's/^ *//' >> tmp-stdint.h <<EOF
27829
27830     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27831     #ifndef __uintptr_t_defined
27832     typedef u$acx_cv_type_intptr_t uintptr_t;
27833     #endif
27834     #ifndef __intptr_t_defined
27835     typedef $acx_cv_type_intptr_t  intptr_t;
27836     #endif
27837 EOF
27838 fi
27839
27840 # ------------- done intptr types, emit int_least types ------------
27841 if test "$ac_cv_type_int_least32_t" != yes; then
27842   sed 's/^ *//' >> tmp-stdint.h <<EOF
27843
27844     /* Define int_least types */
27845     typedef int8_t     int_least8_t;
27846     typedef int16_t    int_least16_t;
27847     typedef int32_t    int_least32_t;
27848     #ifdef _INT64_T
27849     typedef int64_t    int_least64_t;
27850     #endif
27851
27852     typedef uint8_t    uint_least8_t;
27853     typedef uint16_t   uint_least16_t;
27854     typedef uint32_t   uint_least32_t;
27855     #ifdef _UINT64_T
27856     typedef uint64_t   uint_least64_t;
27857     #endif
27858 EOF
27859 fi
27860
27861 # ------------- done intptr types, emit int_fast types ------------
27862 if test "$ac_cv_type_int_fast32_t" != yes; then
27863       sed 's/^ *//' >> tmp-stdint.h <<EOF
27864
27865     /* Define int_fast types.  short is often slow */
27866     typedef int8_t       int_fast8_t;
27867     typedef int          int_fast16_t;
27868     typedef int32_t      int_fast32_t;
27869     #ifdef _INT64_T
27870     typedef int64_t      int_fast64_t;
27871     #endif
27872
27873     typedef uint8_t      uint_fast8_t;
27874     typedef unsigned int uint_fast16_t;
27875     typedef uint32_t     uint_fast32_t;
27876     #ifdef _UINT64_T
27877     typedef uint64_t     uint_fast64_t;
27878     #endif
27879 EOF
27880 fi
27881
27882 if test "$ac_cv_type_uintmax_t" != yes; then
27883   sed 's/^ *//' >> tmp-stdint.h <<EOF
27884
27885     /* Define intmax based on what we found */
27886     #ifdef _INT64_T
27887     typedef int64_t       intmax_t;
27888     #else
27889     typedef long          intmax_t;
27890     #endif
27891     #ifdef _UINT64_T
27892     typedef uint64_t      uintmax_t;
27893     #else
27894     typedef unsigned long uintmax_t;
27895     #endif
27896 EOF
27897 fi
27898
27899 sed 's/^ *//' >> tmp-stdint.h <<EOF
27900
27901   #endif /* GCC_GENERATED_STDINT_H */
27902 EOF
27903
27904 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27905   rm -f tmp-stdint.h
27906 else
27907   mv -f tmp-stdint.h gstdint.h
27908 fi
27909
27910  ;;
27911
27912   esac
27913 done # for ac_tag
27914
27915
27916 as_fn_exit 0
27917 _ACEOF
27918 ac_clean_files=$ac_clean_files_save
27919
27920 test $ac_write_fail = 0 ||
27921   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27922
27923
27924 # configure is writing to config.log, and then calls config.status.
27925 # config.status does its own redirection, appending to config.log.
27926 # Unfortunately, on DOS this fails, as config.log is still kept open
27927 # by configure, so config.status won't be able to write to it; its
27928 # output is simply discarded.  So we exec the FD to /dev/null,
27929 # effectively closing config.log, so it can be properly (re)opened and
27930 # appended to by config.status.  When coming back to configure, we
27931 # need to make the FD available again.
27932 if test "$no_create" != yes; then
27933   ac_cs_success=:
27934   ac_config_status_args=
27935   test "$silent" = yes &&
27936     ac_config_status_args="$ac_config_status_args --quiet"
27937   exec 5>/dev/null
27938   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27939   exec 5>>config.log
27940   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27941   # would make configure fail if this is the last instruction.
27942   $ac_cs_success || as_fn_exit $?
27943 fi
27944 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27945   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27946 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27947 fi
27948