OSDN Git Service

2010-11-30 Tobias Burnus <burnus@net-b.de>
[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_c_werror_flag=
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 IEEE_FLAGS
606 FPU_HOST_HEADER
607 LIBGFOR_BUILD_QUAD_FALSE
608 LIBGFOR_BUILD_QUAD_TRUE
609 LIBQUADINCLUDE
610 LIBQUADLIB_DEP
611 LIBQUADLIB
612 LIBQUADSPEC
613 extra_ldflags_libgfortran
614 ac_ct_FC
615 FCFLAGS
616 FC
617 enable_static
618 enable_shared
619 CPP
620 OTOOL64
621 OTOOL
622 LIPO
623 NMEDIT
624 DSYMUTIL
625 OBJDUMP
626 LN_S
627 NM
628 ac_ct_DUMPBIN
629 DUMPBIN
630 LD
631 FGREP
632 EGREP
633 GREP
634 SED
635 LIBTOOL
636 RANLIB
637 AR
638 AS
639 SECTION_FLAGS
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 LIBGFOR_USE_SYMVER_TRUE
646 AM_CFLAGS
647 AM_FCFLAGS
648 am__fastdepCC_FALSE
649 am__fastdepCC_TRUE
650 CCDEPMODE
651 AMDEPBACKSLASH
652 AMDEP_FALSE
653 AMDEP_TRUE
654 am__quote
655 am__include
656 DEPDIR
657 OBJEXT
658 EXEEXT
659 ac_ct_CC
660 CPPFLAGS
661 LDFLAGS
662 CFLAGS
663 CC
664 toolexeclibdir
665 toolexecdir
666 multi_basedir
667 MAINT
668 MAINTAINER_MODE_FALSE
669 MAINTAINER_MODE_TRUE
670 am__untar
671 am__tar
672 AMTAR
673 am__leading_dot
674 SET_MAKE
675 AWK
676 mkdir_p
677 MKDIR_P
678 INSTALL_STRIP_PROGRAM
679 STRIP
680 install_sh
681 MAKEINFO
682 AUTOHEADER
683 AUTOMAKE
684 AUTOCONF
685 ACLOCAL
686 VERSION
687 PACKAGE
688 CYGPATH_W
689 am__isrc
690 INSTALL_DATA
691 INSTALL_SCRIPT
692 INSTALL_PROGRAM
693 target_os
694 target_vendor
695 target_cpu
696 target
697 host_os
698 host_vendor
699 host_cpu
700 host
701 onestep
702 onestep_FALSE
703 onestep_TRUE
704 target_subdir
705 host_subdir
706 build_subdir
707 build_libsubdir
708 build_os
709 build_vendor
710 build_cpu
711 build
712 target_alias
713 host_alias
714 build_alias
715 LIBS
716 ECHO_T
717 ECHO_N
718 ECHO_C
719 DEFS
720 mandir
721 localedir
722 libdir
723 psdir
724 pdfdir
725 dvidir
726 htmldir
727 infodir
728 docdir
729 oldincludedir
730 includedir
731 localstatedir
732 sharedstatedir
733 sysconfdir
734 datadir
735 datarootdir
736 libexecdir
737 sbindir
738 bindir
739 program_transform_name
740 prefix
741 exec_prefix
742 PACKAGE_URL
743 PACKAGE_BUGREPORT
744 PACKAGE_STRING
745 PACKAGE_VERSION
746 PACKAGE_TARNAME
747 PACKAGE_NAME
748 PATH_SEPARATOR
749 SHELL'
750 ac_subst_files=''
751 ac_user_opts='
752 enable_option_checking
753 with_build_libsubdir
754 enable_version_specific_runtime_libs
755 enable_intermodule
756 enable_maintainer_mode
757 enable_multilib
758 enable_dependency_tracking
759 enable_shared
760 enable_static
761 with_pic
762 enable_fast_install
763 with_gnu_ld
764 enable_libtool_lock
765 enable_largefile
766 '
767       ac_precious_vars='build_alias
768 host_alias
769 target_alias
770 CPP
771 CPPFLAGS
772 FC
773 FCFLAGS
774 LDFLAGS
775 LIBS'
776
777
778 # Initialize some variables set by options.
779 ac_init_help=
780 ac_init_version=false
781 ac_unrecognized_opts=
782 ac_unrecognized_sep=
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
785 cache_file=/dev/null
786 exec_prefix=NONE
787 no_create=
788 no_recursion=
789 prefix=NONE
790 program_prefix=NONE
791 program_suffix=NONE
792 program_transform_name=s,x,x,
793 silent=
794 site=
795 srcdir=
796 verbose=
797 x_includes=NONE
798 x_libraries=NONE
799
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
825
826 ac_prev=
827 ac_dashdash=
828 for ac_option
829 do
830   # If the previous option needs an argument, assign it.
831   if test -n "$ac_prev"; then
832     eval $ac_prev=\$ac_option
833     ac_prev=
834     continue
835   fi
836
837   case $ac_option in
838   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839   *)    ac_optarg=yes ;;
840   esac
841
842   # Accept the important Cygnus configure options, so we can diagnose typos.
843
844   case $ac_dashdash$ac_option in
845   --)
846     ac_dashdash=yes ;;
847
848   -bindir | --bindir | --bindi | --bind | --bin | --bi)
849     ac_prev=bindir ;;
850   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
851     bindir=$ac_optarg ;;
852
853   -build | --build | --buil | --bui | --bu)
854     ac_prev=build_alias ;;
855   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
856     build_alias=$ac_optarg ;;
857
858   -cache-file | --cache-file | --cache-fil | --cache-fi \
859   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
860     ac_prev=cache_file ;;
861   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
862   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
863     cache_file=$ac_optarg ;;
864
865   --config-cache | -C)
866     cache_file=config.cache ;;
867
868   -datadir | --datadir | --datadi | --datad)
869     ac_prev=datadir ;;
870   -datadir=* | --datadir=* | --datadi=* | --datad=*)
871     datadir=$ac_optarg ;;
872
873   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
874   | --dataroo | --dataro | --datar)
875     ac_prev=datarootdir ;;
876   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
877   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
878     datarootdir=$ac_optarg ;;
879
880   -disable-* | --disable-*)
881     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882     # Reject names that are not valid shell variable names.
883     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
884       as_fn_error "invalid feature name: $ac_useropt"
885     ac_useropt_orig=$ac_useropt
886     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
887     case $ac_user_opts in
888       *"
889 "enable_$ac_useropt"
890 "*) ;;
891       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
892          ac_unrecognized_sep=', ';;
893     esac
894     eval enable_$ac_useropt=no ;;
895
896   -docdir | --docdir | --docdi | --doc | --do)
897     ac_prev=docdir ;;
898   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
899     docdir=$ac_optarg ;;
900
901   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
902     ac_prev=dvidir ;;
903   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
904     dvidir=$ac_optarg ;;
905
906   -enable-* | --enable-*)
907     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
908     # Reject names that are not valid shell variable names.
909     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
910       as_fn_error "invalid feature name: $ac_useropt"
911     ac_useropt_orig=$ac_useropt
912     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
913     case $ac_user_opts in
914       *"
915 "enable_$ac_useropt"
916 "*) ;;
917       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
918          ac_unrecognized_sep=', ';;
919     esac
920     eval enable_$ac_useropt=\$ac_optarg ;;
921
922   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924   | --exec | --exe | --ex)
925     ac_prev=exec_prefix ;;
926   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928   | --exec=* | --exe=* | --ex=*)
929     exec_prefix=$ac_optarg ;;
930
931   -gas | --gas | --ga | --g)
932     # Obsolete; use --with-gas.
933     with_gas=yes ;;
934
935   -help | --help | --hel | --he | -h)
936     ac_init_help=long ;;
937   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938     ac_init_help=recursive ;;
939   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940     ac_init_help=short ;;
941
942   -host | --host | --hos | --ho)
943     ac_prev=host_alias ;;
944   -host=* | --host=* | --hos=* | --ho=*)
945     host_alias=$ac_optarg ;;
946
947   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948     ac_prev=htmldir ;;
949   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950   | --ht=*)
951     htmldir=$ac_optarg ;;
952
953   -includedir | --includedir | --includedi | --included | --include \
954   | --includ | --inclu | --incl | --inc)
955     ac_prev=includedir ;;
956   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957   | --includ=* | --inclu=* | --incl=* | --inc=*)
958     includedir=$ac_optarg ;;
959
960   -infodir | --infodir | --infodi | --infod | --info | --inf)
961     ac_prev=infodir ;;
962   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963     infodir=$ac_optarg ;;
964
965   -libdir | --libdir | --libdi | --libd)
966     ac_prev=libdir ;;
967   -libdir=* | --libdir=* | --libdi=* | --libd=*)
968     libdir=$ac_optarg ;;
969
970   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971   | --libexe | --libex | --libe)
972     ac_prev=libexecdir ;;
973   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974   | --libexe=* | --libex=* | --libe=*)
975     libexecdir=$ac_optarg ;;
976
977   -localedir | --localedir | --localedi | --localed | --locale)
978     ac_prev=localedir ;;
979   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980     localedir=$ac_optarg ;;
981
982   -localstatedir | --localstatedir | --localstatedi | --localstated \
983   | --localstate | --localstat | --localsta | --localst | --locals)
984     ac_prev=localstatedir ;;
985   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987     localstatedir=$ac_optarg ;;
988
989   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990     ac_prev=mandir ;;
991   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992     mandir=$ac_optarg ;;
993
994   -nfp | --nfp | --nf)
995     # Obsolete; use --without-fp.
996     with_fp=no ;;
997
998   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999   | --no-cr | --no-c | -n)
1000     no_create=yes ;;
1001
1002   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004     no_recursion=yes ;;
1005
1006   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008   | --oldin | --oldi | --old | --ol | --o)
1009     ac_prev=oldincludedir ;;
1010   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013     oldincludedir=$ac_optarg ;;
1014
1015   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016     ac_prev=prefix ;;
1017   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018     prefix=$ac_optarg ;;
1019
1020   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021   | --program-pre | --program-pr | --program-p)
1022     ac_prev=program_prefix ;;
1023   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025     program_prefix=$ac_optarg ;;
1026
1027   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028   | --program-suf | --program-su | --program-s)
1029     ac_prev=program_suffix ;;
1030   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032     program_suffix=$ac_optarg ;;
1033
1034   -program-transform-name | --program-transform-name \
1035   | --program-transform-nam | --program-transform-na \
1036   | --program-transform-n | --program-transform- \
1037   | --program-transform | --program-transfor \
1038   | --program-transfo | --program-transf \
1039   | --program-trans | --program-tran \
1040   | --progr-tra | --program-tr | --program-t)
1041     ac_prev=program_transform_name ;;
1042   -program-transform-name=* | --program-transform-name=* \
1043   | --program-transform-nam=* | --program-transform-na=* \
1044   | --program-transform-n=* | --program-transform-=* \
1045   | --program-transform=* | --program-transfor=* \
1046   | --program-transfo=* | --program-transf=* \
1047   | --program-trans=* | --program-tran=* \
1048   | --progr-tra=* | --program-tr=* | --program-t=*)
1049     program_transform_name=$ac_optarg ;;
1050
1051   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052     ac_prev=pdfdir ;;
1053   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054     pdfdir=$ac_optarg ;;
1055
1056   -psdir | --psdir | --psdi | --psd | --ps)
1057     ac_prev=psdir ;;
1058   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059     psdir=$ac_optarg ;;
1060
1061   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062   | -silent | --silent | --silen | --sile | --sil)
1063     silent=yes ;;
1064
1065   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066     ac_prev=sbindir ;;
1067   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068   | --sbi=* | --sb=*)
1069     sbindir=$ac_optarg ;;
1070
1071   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073   | --sharedst | --shareds | --shared | --share | --shar \
1074   | --sha | --sh)
1075     ac_prev=sharedstatedir ;;
1076   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079   | --sha=* | --sh=*)
1080     sharedstatedir=$ac_optarg ;;
1081
1082   -site | --site | --sit)
1083     ac_prev=site ;;
1084   -site=* | --site=* | --sit=*)
1085     site=$ac_optarg ;;
1086
1087   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088     ac_prev=srcdir ;;
1089   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090     srcdir=$ac_optarg ;;
1091
1092   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093   | --syscon | --sysco | --sysc | --sys | --sy)
1094     ac_prev=sysconfdir ;;
1095   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097     sysconfdir=$ac_optarg ;;
1098
1099   -target | --target | --targe | --targ | --tar | --ta | --t)
1100     ac_prev=target_alias ;;
1101   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102     target_alias=$ac_optarg ;;
1103
1104   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105     verbose=yes ;;
1106
1107   -version | --version | --versio | --versi | --vers | -V)
1108     ac_init_version=: ;;
1109
1110   -with-* | --with-*)
1111     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112     # Reject names that are not valid shell variable names.
1113     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114       as_fn_error "invalid package name: $ac_useropt"
1115     ac_useropt_orig=$ac_useropt
1116     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117     case $ac_user_opts in
1118       *"
1119 "with_$ac_useropt"
1120 "*) ;;
1121       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1122          ac_unrecognized_sep=', ';;
1123     esac
1124     eval with_$ac_useropt=\$ac_optarg ;;
1125
1126   -without-* | --without-*)
1127     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1128     # Reject names that are not valid shell variable names.
1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130       as_fn_error "invalid package name: $ac_useropt"
1131     ac_useropt_orig=$ac_useropt
1132     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133     case $ac_user_opts in
1134       *"
1135 "with_$ac_useropt"
1136 "*) ;;
1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1138          ac_unrecognized_sep=', ';;
1139     esac
1140     eval with_$ac_useropt=no ;;
1141
1142   --x)
1143     # Obsolete; use --with-x.
1144     with_x=yes ;;
1145
1146   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1147   | --x-incl | --x-inc | --x-in | --x-i)
1148     ac_prev=x_includes ;;
1149   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1150   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1151     x_includes=$ac_optarg ;;
1152
1153   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1154   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1155     ac_prev=x_libraries ;;
1156   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1157   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1158     x_libraries=$ac_optarg ;;
1159
1160   -*) as_fn_error "unrecognized option: \`$ac_option'
1161 Try \`$0 --help' for more information."
1162     ;;
1163
1164   *=*)
1165     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166     # Reject names that are not valid shell variable names.
1167     case $ac_envvar in #(
1168       '' | [0-9]* | *[!_$as_cr_alnum]* )
1169       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1170     esac
1171     eval $ac_envvar=\$ac_optarg
1172     export $ac_envvar ;;
1173
1174   *)
1175     # FIXME: should be removed in autoconf 3.0.
1176     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1177     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1179     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1180     ;;
1181
1182   esac
1183 done
1184
1185 if test -n "$ac_prev"; then
1186   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1187   as_fn_error "missing argument to $ac_option"
1188 fi
1189
1190 if test -n "$ac_unrecognized_opts"; then
1191   case $enable_option_checking in
1192     no) ;;
1193     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1194     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1195   esac
1196 fi
1197
1198 # Check all directory arguments for consistency.
1199 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1200                 datadir sysconfdir sharedstatedir localstatedir includedir \
1201                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1202                 libdir localedir mandir
1203 do
1204   eval ac_val=\$$ac_var
1205   # Remove trailing slashes.
1206   case $ac_val in
1207     */ )
1208       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1209       eval $ac_var=\$ac_val;;
1210   esac
1211   # Be sure to have absolute directory names.
1212   case $ac_val in
1213     [\\/$]* | ?:[\\/]* )  continue;;
1214     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1215   esac
1216   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1217 done
1218
1219 # There might be people who depend on the old broken behavior: `$host'
1220 # used to hold the argument of --host etc.
1221 # FIXME: To remove some day.
1222 build=$build_alias
1223 host=$host_alias
1224 target=$target_alias
1225
1226 # FIXME: To remove some day.
1227 if test "x$host_alias" != x; then
1228   if test "x$build_alias" = x; then
1229     cross_compiling=maybe
1230     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1231     If a cross compiler is detected then cross compile mode will be used." >&2
1232   elif test "x$build_alias" != "x$host_alias"; then
1233     cross_compiling=yes
1234   fi
1235 fi
1236
1237 ac_tool_prefix=
1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1239
1240 test "$silent" = yes && exec 6>/dev/null
1241
1242
1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1244 ac_ls_di=`ls -di .` &&
1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1246   as_fn_error "working directory cannot be determined"
1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1248   as_fn_error "pwd does not report name of working directory"
1249
1250
1251 # Find the source files, if location was not specified.
1252 if test -z "$srcdir"; then
1253   ac_srcdir_defaulted=yes
1254   # Try the directory containing this script, then the parent directory.
1255   ac_confdir=`$as_dirname -- "$as_myself" ||
1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1257          X"$as_myself" : 'X\(//\)[^/]' \| \
1258          X"$as_myself" : 'X\(//\)$' \| \
1259          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1260 $as_echo X"$as_myself" |
1261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1262             s//\1/
1263             q
1264           }
1265           /^X\(\/\/\)[^/].*/{
1266             s//\1/
1267             q
1268           }
1269           /^X\(\/\/\)$/{
1270             s//\1/
1271             q
1272           }
1273           /^X\(\/\).*/{
1274             s//\1/
1275             q
1276           }
1277           s/.*/./; q'`
1278   srcdir=$ac_confdir
1279   if test ! -r "$srcdir/$ac_unique_file"; then
1280     srcdir=..
1281   fi
1282 else
1283   ac_srcdir_defaulted=no
1284 fi
1285 if test ! -r "$srcdir/$ac_unique_file"; then
1286   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1287   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1288 fi
1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1290 ac_abs_confdir=`(
1291         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1292         pwd)`
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1295   srcdir=.
1296 fi
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1300 case $srcdir in
1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1302 esac
1303 for ac_var in $ac_precious_vars; do
1304   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1305   eval ac_env_${ac_var}_value=\$${ac_var}
1306   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1307   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1308 done
1309
1310 #
1311 # Report the --help message.
1312 #
1313 if test "$ac_init_help" = "long"; then
1314   # Omit some internal or obsolete options to make the list less imposing.
1315   # This message is too long to be a string in the A/UX 3.1 sh.
1316   cat <<_ACEOF
1317 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1318
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1320
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE.  See below for descriptions of some of the useful variables.
1323
1324 Defaults for the options are specified in brackets.
1325
1326 Configuration:
1327   -h, --help              display this help and exit
1328       --help=short        display options specific to this package
1329       --help=recursive    display the short help of all the included packages
1330   -V, --version           display version information and exit
1331   -q, --quiet, --silent   do not print \`checking...' messages
1332       --cache-file=FILE   cache test results in FILE [disabled]
1333   -C, --config-cache      alias for \`--cache-file=config.cache'
1334   -n, --no-create         do not create output files
1335       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1336
1337 Installation directories:
1338   --prefix=PREFIX         install architecture-independent files in PREFIX
1339                           [$ac_default_prefix]
1340   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1341                           [PREFIX]
1342
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1347
1348 For better control, use the options below.
1349
1350 Fine tuning of the installation directories:
1351   --bindir=DIR            user executables [EPREFIX/bin]
1352   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1353   --libexecdir=DIR        program executables [EPREFIX/libexec]
1354   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1355   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1356   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1357   --libdir=DIR            object code libraries [EPREFIX/lib]
1358   --includedir=DIR        C header files [PREFIX/include]
1359   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1360   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1361   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1362   --infodir=DIR           info documentation [DATAROOTDIR/info]
1363   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1364   --mandir=DIR            man documentation [DATAROOTDIR/man]
1365   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1366   --htmldir=DIR           html documentation [DOCDIR]
1367   --dvidir=DIR            dvi documentation [DOCDIR]
1368   --pdfdir=DIR            pdf documentation [DOCDIR]
1369   --psdir=DIR             ps documentation [DOCDIR]
1370 _ACEOF
1371
1372   cat <<\_ACEOF
1373
1374 Program names:
1375   --program-prefix=PREFIX            prepend PREFIX to installed program names
1376   --program-suffix=SUFFIX            append SUFFIX to installed program names
1377   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1378
1379 System types:
1380   --build=BUILD     configure for building on BUILD [guessed]
1381   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1382   --target=TARGET   configure for building compilers for TARGET [HOST]
1383 _ACEOF
1384 fi
1385
1386 if test -n "$ac_init_help"; then
1387   case $ac_init_help in
1388      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1389    esac
1390   cat <<\_ACEOF
1391
1392 Optional Features:
1393   --disable-option-checking  ignore unrecognized --enable/--with options
1394   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1395   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1396   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1397   --enable-intermodule    build the library in one step
1398   --enable-maintainer-mode  enable make rules and dependencies not useful
1399                           (and sometimes confusing) to the casual installer
1400   --enable-multilib       build many library versions (default)
1401   --disable-dependency-tracking  speeds up one-time build
1402   --enable-dependency-tracking   do not reject slow dependency extractors
1403   --enable-shared[=PKGS]  build shared libraries [default=yes]
1404   --enable-static[=PKGS]  build static libraries [default=yes]
1405   --enable-fast-install[=PKGS]
1406                           optimize for fast installation [default=yes]
1407   --disable-libtool-lock  avoid locking (might break parallel builds)
1408   --disable-largefile     omit support for large files
1409
1410 Optional Packages:
1411   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1412   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1413   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1414   --with-pic              try to use only PIC/non-PIC objects [default=use
1415                           both]
1416   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1417
1418 Some influential environment variables:
1419   CC          C compiler command
1420   CFLAGS      C compiler flags
1421   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1422               nonstandard directory <lib dir>
1423   LIBS        libraries to pass to the linker, e.g. -l<library>
1424   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1425               you have headers in a nonstandard directory <include dir>
1426   CPP         C preprocessor
1427   FC          Fortran compiler command
1428   FCFLAGS     Fortran compiler flags
1429
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1432
1433 Report bugs to the package provider.
1434 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1435 General help using GNU software: <http://www.gnu.org/gethelp/>.
1436 _ACEOF
1437 ac_status=$?
1438 fi
1439
1440 if test "$ac_init_help" = "recursive"; then
1441   # If there are subdirs, report their specific --help.
1442   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1443     test -d "$ac_dir" ||
1444       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1445       continue
1446     ac_builddir=.
1447
1448 case "$ac_dir" in
1449 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *)
1451   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1452   # A ".." for each directory in $ac_dir_suffix.
1453   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1454   case $ac_top_builddir_sub in
1455   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1457   esac ;;
1458 esac
1459 ac_abs_top_builddir=$ac_pwd
1460 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1461 # for backward compatibility:
1462 ac_top_builddir=$ac_top_build_prefix
1463
1464 case $srcdir in
1465   .)  # We are building in place.
1466     ac_srcdir=.
1467     ac_top_srcdir=$ac_top_builddir_sub
1468     ac_abs_top_srcdir=$ac_pwd ;;
1469   [\\/]* | ?:[\\/]* )  # Absolute name.
1470     ac_srcdir=$srcdir$ac_dir_suffix;
1471     ac_top_srcdir=$srcdir
1472     ac_abs_top_srcdir=$srcdir ;;
1473   *) # Relative name.
1474     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1475     ac_top_srcdir=$ac_top_build_prefix$srcdir
1476     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1477 esac
1478 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1479
1480     cd "$ac_dir" || { ac_status=$?; continue; }
1481     # Check for guested configure.
1482     if test -f "$ac_srcdir/configure.gnu"; then
1483       echo &&
1484       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1485     elif test -f "$ac_srcdir/configure"; then
1486       echo &&
1487       $SHELL "$ac_srcdir/configure" --help=recursive
1488     else
1489       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1490     fi || ac_status=$?
1491     cd "$ac_pwd" || { ac_status=$?; break; }
1492   done
1493 fi
1494
1495 test -n "$ac_init_help" && exit $ac_status
1496 if $ac_init_version; then
1497   cat <<\_ACEOF
1498 GNU Fortran Runtime Library configure 0.3
1499 generated by GNU Autoconf 2.64
1500
1501 Copyright (C) 2009 Free Software Foundation, Inc.
1502 This configure script is free software; the Free Software Foundation
1503 gives unlimited permission to copy, distribute and modify it.
1504 _ACEOF
1505   exit
1506 fi
1507
1508 ## ------------------------ ##
1509 ## Autoconf initialization. ##
1510 ## ------------------------ ##
1511
1512 # ac_fn_c_try_compile LINENO
1513 # --------------------------
1514 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1515 ac_fn_c_try_compile ()
1516 {
1517   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518   rm -f conftest.$ac_objext
1519   if { { ac_try="$ac_compile"
1520 case "(($ac_try" in
1521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522   *) ac_try_echo=$ac_try;;
1523 esac
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526   (eval "$ac_compile") 2>conftest.err
1527   ac_status=$?
1528   if test -s conftest.err; then
1529     grep -v '^ *+' conftest.err >conftest.er1
1530     cat conftest.er1 >&5
1531     mv -f conftest.er1 conftest.err
1532   fi
1533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534   test $ac_status = 0; } && {
1535          test -z "$ac_c_werror_flag" ||
1536          test ! -s conftest.err
1537        } && test -s conftest.$ac_objext; then :
1538   ac_retval=0
1539 else
1540   $as_echo "$as_me: failed program was:" >&5
1541 sed 's/^/| /' conftest.$ac_ext >&5
1542
1543         ac_retval=1
1544 fi
1545   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1546   return $ac_retval
1547
1548 } # ac_fn_c_try_compile
1549
1550 # ac_fn_c_try_link LINENO
1551 # -----------------------
1552 # Try to link conftest.$ac_ext, and return whether this succeeded.
1553 ac_fn_c_try_link ()
1554 {
1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1556   rm -f conftest.$ac_objext conftest$ac_exeext
1557   if { { ac_try="$ac_link"
1558 case "(($ac_try" in
1559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560   *) ac_try_echo=$ac_try;;
1561 esac
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564   (eval "$ac_link") 2>conftest.err
1565   ac_status=$?
1566   if test -s conftest.err; then
1567     grep -v '^ *+' conftest.err >conftest.er1
1568     cat conftest.er1 >&5
1569     mv -f conftest.er1 conftest.err
1570   fi
1571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1572   test $ac_status = 0; } && {
1573          test -z "$ac_c_werror_flag" ||
1574          test ! -s conftest.err
1575        } && test -s conftest$ac_exeext && {
1576          test "$cross_compiling" = yes ||
1577          $as_test_x conftest$ac_exeext
1578        }; then :
1579   ac_retval=0
1580 else
1581   $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1583
1584         ac_retval=1
1585 fi
1586   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1587   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1588   # interfere with the next link command; also delete a directory that is
1589   # left behind by Apple's compiler.  We do this before executing the actions.
1590   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1591   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1592   return $ac_retval
1593
1594 } # ac_fn_c_try_link
1595
1596 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1597 # -------------------------------------------------------
1598 # Tests whether HEADER exists and can be compiled using the include files in
1599 # INCLUDES, setting the cache variable VAR accordingly.
1600 ac_fn_c_check_header_compile ()
1601 {
1602   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1604 $as_echo_n "checking for $2... " >&6; }
1605 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1606   $as_echo_n "(cached) " >&6
1607 else
1608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h.  */
1610 $4
1611 #include <$2>
1612 _ACEOF
1613 if ac_fn_c_try_compile "$LINENO"; then :
1614   eval "$3=yes"
1615 else
1616   eval "$3=no"
1617 fi
1618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1619 fi
1620 eval ac_res=\$$3
1621                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1622 $as_echo "$ac_res" >&6; }
1623   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1624
1625 } # ac_fn_c_check_header_compile
1626
1627 # ac_fn_c_try_cpp LINENO
1628 # ----------------------
1629 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1630 ac_fn_c_try_cpp ()
1631 {
1632   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1633   if { { ac_try="$ac_cpp conftest.$ac_ext"
1634 case "(($ac_try" in
1635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1636   *) ac_try_echo=$ac_try;;
1637 esac
1638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1639 $as_echo "$ac_try_echo"; } >&5
1640   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1641   ac_status=$?
1642   if test -s conftest.err; then
1643     grep -v '^ *+' conftest.err >conftest.er1
1644     cat conftest.er1 >&5
1645     mv -f conftest.er1 conftest.err
1646   fi
1647   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1648   test $ac_status = 0; } >/dev/null && {
1649          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1650          test ! -s conftest.err
1651        }; then :
1652   ac_retval=0
1653 else
1654   $as_echo "$as_me: failed program was:" >&5
1655 sed 's/^/| /' conftest.$ac_ext >&5
1656
1657     ac_retval=1
1658 fi
1659   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1660   return $ac_retval
1661
1662 } # ac_fn_c_try_cpp
1663
1664 # ac_fn_c_try_run LINENO
1665 # ----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1667 # that executables *can* be run.
1668 ac_fn_c_try_run ()
1669 {
1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671   if { { ac_try="$ac_link"
1672 case "(($ac_try" in
1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674   *) ac_try_echo=$ac_try;;
1675 esac
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678   (eval "$ac_link") 2>&5
1679   ac_status=$?
1680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1682   { { case "(($ac_try" in
1683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684   *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688   (eval "$ac_try") 2>&5
1689   ac_status=$?
1690   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691   test $ac_status = 0; }; }; then :
1692   ac_retval=0
1693 else
1694   $as_echo "$as_me: program exited with status $ac_status" >&5
1695        $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1697
1698        ac_retval=$ac_status
1699 fi
1700   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1701   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702   return $ac_retval
1703
1704 } # ac_fn_c_try_run
1705
1706 # ac_fn_c_check_func LINENO FUNC VAR
1707 # ----------------------------------
1708 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1709 ac_fn_c_check_func ()
1710 {
1711   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1713 $as_echo_n "checking for $2... " >&6; }
1714 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1715   $as_echo_n "(cached) " >&6
1716 else
1717   if test x$gcc_no_link = xyes; then
1718   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1719 fi
1720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721 /* end confdefs.h.  */
1722 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1724 #define $2 innocuous_$2
1725
1726 /* System header to define __stub macros and hopefully few prototypes,
1727     which can conflict with char $2 (); below.
1728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1729     <limits.h> exists even on freestanding compilers.  */
1730
1731 #ifdef __STDC__
1732 # include <limits.h>
1733 #else
1734 # include <assert.h>
1735 #endif
1736
1737 #undef $2
1738
1739 /* Override any GCC internal prototype to avoid an error.
1740    Use char because int might match the return type of a GCC
1741    builtin and then its argument prototype would still apply.  */
1742 #ifdef __cplusplus
1743 extern "C"
1744 #endif
1745 char $2 ();
1746 /* The GNU C library defines this for functions which it implements
1747     to always fail with ENOSYS.  Some functions are actually named
1748     something starting with __ and the normal name is an alias.  */
1749 #if defined __stub_$2 || defined __stub___$2
1750 choke me
1751 #endif
1752
1753 int
1754 main ()
1755 {
1756 return $2 ();
1757   ;
1758   return 0;
1759 }
1760 _ACEOF
1761 if ac_fn_c_try_link "$LINENO"; then :
1762   eval "$3=yes"
1763 else
1764   eval "$3=no"
1765 fi
1766 rm -f core conftest.err conftest.$ac_objext \
1767     conftest$ac_exeext conftest.$ac_ext
1768 fi
1769 eval ac_res=\$$3
1770                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1773
1774 } # ac_fn_c_check_func
1775
1776 # ac_fn_fc_try_compile LINENO
1777 # ---------------------------
1778 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_fc_try_compile ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   rm -f conftest.$ac_objext
1783   if { { ac_try="$ac_compile"
1784 case "(($ac_try" in
1785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786   *) ac_try_echo=$ac_try;;
1787 esac
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790   (eval "$ac_compile") 2>conftest.err
1791   ac_status=$?
1792   if test -s conftest.err; then
1793     grep -v '^ *+' conftest.err >conftest.er1
1794     cat conftest.er1 >&5
1795     mv -f conftest.er1 conftest.err
1796   fi
1797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798   test $ac_status = 0; } && {
1799          test -z "$ac_fc_werror_flag" ||
1800          test ! -s conftest.err
1801        } && test -s conftest.$ac_objext; then :
1802   ac_retval=0
1803 else
1804   $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1806
1807         ac_retval=1
1808 fi
1809   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810   return $ac_retval
1811
1812 } # ac_fn_fc_try_compile
1813
1814 # ac_fn_fc_try_link LINENO
1815 # ------------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded.
1817 ac_fn_fc_try_link ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   rm -f conftest.$ac_objext conftest$ac_exeext
1821   if { { ac_try="$ac_link"
1822 case "(($ac_try" in
1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824   *) ac_try_echo=$ac_try;;
1825 esac
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828   (eval "$ac_link") 2>conftest.err
1829   ac_status=$?
1830   if test -s conftest.err; then
1831     grep -v '^ *+' conftest.err >conftest.er1
1832     cat conftest.er1 >&5
1833     mv -f conftest.er1 conftest.err
1834   fi
1835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836   test $ac_status = 0; } && {
1837          test -z "$ac_fc_werror_flag" ||
1838          test ! -s conftest.err
1839        } && test -s conftest$ac_exeext && {
1840          test "$cross_compiling" = yes ||
1841          $as_test_x conftest$ac_exeext
1842        }; then :
1843   ac_retval=0
1844 else
1845   $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1847
1848         ac_retval=1
1849 fi
1850   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1851   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1852   # interfere with the next link command; also delete a directory that is
1853   # left behind by Apple's compiler.  We do this before executing the actions.
1854   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1855   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856   return $ac_retval
1857
1858 } # ac_fn_fc_try_link
1859
1860 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1861 # -------------------------------------------
1862 # Tests whether TYPE exists after having included INCLUDES, setting cache
1863 # variable VAR accordingly.
1864 ac_fn_c_check_type ()
1865 {
1866   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1870   $as_echo_n "(cached) " >&6
1871 else
1872   eval "$3=no"
1873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1874 /* end confdefs.h.  */
1875 $4
1876 int
1877 main ()
1878 {
1879 if (sizeof ($2))
1880          return 0;
1881   ;
1882   return 0;
1883 }
1884 _ACEOF
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h.  */
1888 $4
1889 int
1890 main ()
1891 {
1892 if (sizeof (($2)))
1893             return 0;
1894   ;
1895   return 0;
1896 }
1897 _ACEOF
1898 if ac_fn_c_try_compile "$LINENO"; then :
1899
1900 else
1901   eval "$3=yes"
1902 fi
1903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904 fi
1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1906 fi
1907 eval ac_res=\$$3
1908                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1909 $as_echo "$ac_res" >&6; }
1910   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1911
1912 } # ac_fn_c_check_type
1913
1914 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1915 # -------------------------------------------------------
1916 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1917 # the include files in INCLUDES and setting the cache variable VAR
1918 # accordingly.
1919 ac_fn_c_check_header_mongrel ()
1920 {
1921   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1923   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1924 $as_echo_n "checking for $2... " >&6; }
1925 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1926   $as_echo_n "(cached) " >&6
1927 fi
1928 eval ac_res=\$$3
1929                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930 $as_echo "$ac_res" >&6; }
1931 else
1932   # Is the header compilable?
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1934 $as_echo_n "checking $2 usability... " >&6; }
1935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h.  */
1937 $4
1938 #include <$2>
1939 _ACEOF
1940 if ac_fn_c_try_compile "$LINENO"; then :
1941   ac_header_compiler=yes
1942 else
1943   ac_header_compiler=no
1944 fi
1945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1947 $as_echo "$ac_header_compiler" >&6; }
1948
1949 # Is the header present?
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1951 $as_echo_n "checking $2 presence... " >&6; }
1952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h.  */
1954 #include <$2>
1955 _ACEOF
1956 if ac_fn_c_try_cpp "$LINENO"; then :
1957   ac_header_preproc=yes
1958 else
1959   ac_header_preproc=no
1960 fi
1961 rm -f conftest.err conftest.$ac_ext
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1963 $as_echo "$ac_header_preproc" >&6; }
1964
1965 # So?  What about this header?
1966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1967   yes:no: )
1968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1969 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1970     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1971 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1972     ;;
1973   no:yes:* )
1974     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1975 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1977 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1978     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1979 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1980     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1981 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1982     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1983 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1984     ;;
1985 esac
1986   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1987 $as_echo_n "checking for $2... " >&6; }
1988 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1989   $as_echo_n "(cached) " >&6
1990 else
1991   eval "$3=\$ac_header_compiler"
1992 fi
1993 eval ac_res=\$$3
1994                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 fi
1997   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998
1999 } # ac_fn_c_check_header_mongrel
2000
2001 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2002 # --------------------------------------------
2003 # Tries to find the compile-time value of EXPR in a program that includes
2004 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2005 # computed
2006 ac_fn_c_compute_int ()
2007 {
2008   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2009   if test "$cross_compiling" = yes; then
2010     # Depending upon the size, compute the lo and hi bounds.
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h.  */
2013 $4
2014 int
2015 main ()
2016 {
2017 static int test_array [1 - 2 * !(($2) >= 0)];
2018 test_array [0] = 0
2019
2020   ;
2021   return 0;
2022 }
2023 _ACEOF
2024 if ac_fn_c_try_compile "$LINENO"; then :
2025   ac_lo=0 ac_mid=0
2026   while :; do
2027     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h.  */
2029 $4
2030 int
2031 main ()
2032 {
2033 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2034 test_array [0] = 0
2035
2036   ;
2037   return 0;
2038 }
2039 _ACEOF
2040 if ac_fn_c_try_compile "$LINENO"; then :
2041   ac_hi=$ac_mid; break
2042 else
2043   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2044                         if test $ac_lo -le $ac_mid; then
2045                           ac_lo= ac_hi=
2046                           break
2047                         fi
2048                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2049 fi
2050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2051   done
2052 else
2053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h.  */
2055 $4
2056 int
2057 main ()
2058 {
2059 static int test_array [1 - 2 * !(($2) < 0)];
2060 test_array [0] = 0
2061
2062   ;
2063   return 0;
2064 }
2065 _ACEOF
2066 if ac_fn_c_try_compile "$LINENO"; then :
2067   ac_hi=-1 ac_mid=-1
2068   while :; do
2069     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h.  */
2071 $4
2072 int
2073 main ()
2074 {
2075 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2076 test_array [0] = 0
2077
2078   ;
2079   return 0;
2080 }
2081 _ACEOF
2082 if ac_fn_c_try_compile "$LINENO"; then :
2083   ac_lo=$ac_mid; break
2084 else
2085   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2086                         if test $ac_mid -le $ac_hi; then
2087                           ac_lo= ac_hi=
2088                           break
2089                         fi
2090                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2091 fi
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093   done
2094 else
2095   ac_lo= ac_hi=
2096 fi
2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098 fi
2099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 # Binary search between lo and hi bounds.
2101 while test "x$ac_lo" != "x$ac_hi"; do
2102   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h.  */
2105 $4
2106 int
2107 main ()
2108 {
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2110 test_array [0] = 0
2111
2112   ;
2113   return 0;
2114 }
2115 _ACEOF
2116 if ac_fn_c_try_compile "$LINENO"; then :
2117   ac_hi=$ac_mid
2118 else
2119   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2120 fi
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2122 done
2123 case $ac_lo in #((
2124 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2125 '') ac_retval=1 ;;
2126 esac
2127   else
2128     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2129 /* end confdefs.h.  */
2130 $4
2131 static long int longval () { return $2; }
2132 static unsigned long int ulongval () { return $2; }
2133 #include <stdio.h>
2134 #include <stdlib.h>
2135 int
2136 main ()
2137 {
2138
2139   FILE *f = fopen ("conftest.val", "w");
2140   if (! f)
2141     return 1;
2142   if (($2) < 0)
2143     {
2144       long int i = longval ();
2145       if (i != ($2))
2146         return 1;
2147       fprintf (f, "%ld", i);
2148     }
2149   else
2150     {
2151       unsigned long int i = ulongval ();
2152       if (i != ($2))
2153         return 1;
2154       fprintf (f, "%lu", i);
2155     }
2156   /* Do not output a trailing newline, as this causes \r\n confusion
2157      on some platforms.  */
2158   return ferror (f) || fclose (f) != 0;
2159
2160   ;
2161   return 0;
2162 }
2163 _ACEOF
2164 if ac_fn_c_try_run "$LINENO"; then :
2165   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2166 else
2167   ac_retval=1
2168 fi
2169 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2170   conftest.$ac_objext conftest.beam conftest.$ac_ext
2171 rm -f conftest.val
2172
2173   fi
2174   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2175   return $ac_retval
2176
2177 } # ac_fn_c_compute_int
2178
2179 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2180 # ----------------------------------------------------
2181 # Tries to find if the field MEMBER exists in type AGGR, after including
2182 # INCLUDES, setting cache variable VAR accordingly.
2183 ac_fn_c_check_member ()
2184 {
2185   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2186   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2187 $as_echo_n "checking for $2.$3... " >&6; }
2188 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2189   $as_echo_n "(cached) " >&6
2190 else
2191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h.  */
2193 $5
2194 int
2195 main ()
2196 {
2197 static $2 ac_aggr;
2198 if (ac_aggr.$3)
2199 return 0;
2200   ;
2201   return 0;
2202 }
2203 _ACEOF
2204 if ac_fn_c_try_compile "$LINENO"; then :
2205   eval "$4=yes"
2206 else
2207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h.  */
2209 $5
2210 int
2211 main ()
2212 {
2213 static $2 ac_aggr;
2214 if (sizeof ac_aggr.$3)
2215 return 0;
2216   ;
2217   return 0;
2218 }
2219 _ACEOF
2220 if ac_fn_c_try_compile "$LINENO"; then :
2221   eval "$4=yes"
2222 else
2223   eval "$4=no"
2224 fi
2225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2226 fi
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2228 fi
2229 eval ac_res=\$$4
2230                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2231 $as_echo "$ac_res" >&6; }
2232   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2233
2234 } # ac_fn_c_check_member
2235 cat >config.log <<_ACEOF
2236 This file contains any messages produced by compilers while
2237 running configure, to aid debugging if configure makes a mistake.
2238
2239 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2240 generated by GNU Autoconf 2.64.  Invocation command line was
2241
2242   $ $0 $@
2243
2244 _ACEOF
2245 exec 5>>config.log
2246 {
2247 cat <<_ASUNAME
2248 ## --------- ##
2249 ## Platform. ##
2250 ## --------- ##
2251
2252 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2253 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2254 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2255 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2256 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2257
2258 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2259 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2260
2261 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2262 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2263 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2264 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2265 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2266 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2267 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2268
2269 _ASUNAME
2270
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2273 do
2274   IFS=$as_save_IFS
2275   test -z "$as_dir" && as_dir=.
2276     $as_echo "PATH: $as_dir"
2277   done
2278 IFS=$as_save_IFS
2279
2280 } >&5
2281
2282 cat >&5 <<_ACEOF
2283
2284
2285 ## ----------- ##
2286 ## Core tests. ##
2287 ## ----------- ##
2288
2289 _ACEOF
2290
2291
2292 # Keep a trace of the command line.
2293 # Strip out --no-create and --no-recursion so they do not pile up.
2294 # Strip out --silent because we don't want to record it for future runs.
2295 # Also quote any args containing shell meta-characters.
2296 # Make two passes to allow for proper duplicate-argument suppression.
2297 ac_configure_args=
2298 ac_configure_args0=
2299 ac_configure_args1=
2300 ac_must_keep_next=false
2301 for ac_pass in 1 2
2302 do
2303   for ac_arg
2304   do
2305     case $ac_arg in
2306     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2307     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2308     | -silent | --silent | --silen | --sile | --sil)
2309       continue ;;
2310     *\'*)
2311       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2312     esac
2313     case $ac_pass in
2314     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2315     2)
2316       as_fn_append ac_configure_args1 " '$ac_arg'"
2317       if test $ac_must_keep_next = true; then
2318         ac_must_keep_next=false # Got value, back to normal.
2319       else
2320         case $ac_arg in
2321           *=* | --config-cache | -C | -disable-* | --disable-* \
2322           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2323           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2324           | -with-* | --with-* | -without-* | --without-* | --x)
2325             case "$ac_configure_args0 " in
2326               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2327             esac
2328             ;;
2329           -* ) ac_must_keep_next=true ;;
2330         esac
2331       fi
2332       as_fn_append ac_configure_args " '$ac_arg'"
2333       ;;
2334     esac
2335   done
2336 done
2337 { ac_configure_args0=; unset ac_configure_args0;}
2338 { ac_configure_args1=; unset ac_configure_args1;}
2339
2340 # When interrupted or exit'd, cleanup temporary files, and complete
2341 # config.log.  We remove comments because anyway the quotes in there
2342 # would cause problems or look ugly.
2343 # WARNING: Use '\'' to represent an apostrophe within the trap.
2344 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2345 trap 'exit_status=$?
2346   # Save into config.log some information that might help in debugging.
2347   {
2348     echo
2349
2350     cat <<\_ASBOX
2351 ## ---------------- ##
2352 ## Cache variables. ##
2353 ## ---------------- ##
2354 _ASBOX
2355     echo
2356     # The following way of writing the cache mishandles newlines in values,
2357 (
2358   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2359     eval ac_val=\$$ac_var
2360     case $ac_val in #(
2361     *${as_nl}*)
2362       case $ac_var in #(
2363       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2364 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2365       esac
2366       case $ac_var in #(
2367       _ | IFS | as_nl) ;; #(
2368       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2369       *) { eval $ac_var=; unset $ac_var;} ;;
2370       esac ;;
2371     esac
2372   done
2373   (set) 2>&1 |
2374     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2375     *${as_nl}ac_space=\ *)
2376       sed -n \
2377         "s/'\''/'\''\\\\'\'''\''/g;
2378           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2379       ;; #(
2380     *)
2381       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2382       ;;
2383     esac |
2384     sort
2385 )
2386     echo
2387
2388     cat <<\_ASBOX
2389 ## ----------------- ##
2390 ## Output variables. ##
2391 ## ----------------- ##
2392 _ASBOX
2393     echo
2394     for ac_var in $ac_subst_vars
2395     do
2396       eval ac_val=\$$ac_var
2397       case $ac_val in
2398       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2399       esac
2400       $as_echo "$ac_var='\''$ac_val'\''"
2401     done | sort
2402     echo
2403
2404     if test -n "$ac_subst_files"; then
2405       cat <<\_ASBOX
2406 ## ------------------- ##
2407 ## File substitutions. ##
2408 ## ------------------- ##
2409 _ASBOX
2410       echo
2411       for ac_var in $ac_subst_files
2412       do
2413         eval ac_val=\$$ac_var
2414         case $ac_val in
2415         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416         esac
2417         $as_echo "$ac_var='\''$ac_val'\''"
2418       done | sort
2419       echo
2420     fi
2421
2422     if test -s confdefs.h; then
2423       cat <<\_ASBOX
2424 ## ----------- ##
2425 ## confdefs.h. ##
2426 ## ----------- ##
2427 _ASBOX
2428       echo
2429       cat confdefs.h
2430       echo
2431     fi
2432     test "$ac_signal" != 0 &&
2433       $as_echo "$as_me: caught signal $ac_signal"
2434     $as_echo "$as_me: exit $exit_status"
2435   } >&5
2436   rm -f core *.core core.conftest.* &&
2437     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2438     exit $exit_status
2439 ' 0
2440 for ac_signal in 1 2 13 15; do
2441   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2442 done
2443 ac_signal=0
2444
2445 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2446 rm -f -r conftest* confdefs.h
2447
2448 $as_echo "/* confdefs.h */" > confdefs.h
2449
2450 # Predefined preprocessor variables.
2451
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_NAME "$PACKAGE_NAME"
2454 _ACEOF
2455
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2458 _ACEOF
2459
2460 cat >>confdefs.h <<_ACEOF
2461 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2462 _ACEOF
2463
2464 cat >>confdefs.h <<_ACEOF
2465 #define PACKAGE_STRING "$PACKAGE_STRING"
2466 _ACEOF
2467
2468 cat >>confdefs.h <<_ACEOF
2469 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2470 _ACEOF
2471
2472 cat >>confdefs.h <<_ACEOF
2473 #define PACKAGE_URL "$PACKAGE_URL"
2474 _ACEOF
2475
2476
2477 # Let the site file select an alternate cache file if it wants to.
2478 # Prefer an explicitly selected file to automatically selected ones.
2479 ac_site_file1=NONE
2480 ac_site_file2=NONE
2481 if test -n "$CONFIG_SITE"; then
2482   ac_site_file1=$CONFIG_SITE
2483 elif test "x$prefix" != xNONE; then
2484   ac_site_file1=$prefix/share/config.site
2485   ac_site_file2=$prefix/etc/config.site
2486 else
2487   ac_site_file1=$ac_default_prefix/share/config.site
2488   ac_site_file2=$ac_default_prefix/etc/config.site
2489 fi
2490 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2491 do
2492   test "x$ac_site_file" = xNONE && continue
2493   if test -r "$ac_site_file"; then
2494     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2495 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2496     sed 's/^/| /' "$ac_site_file" >&5
2497     . "$ac_site_file"
2498   fi
2499 done
2500
2501 if test -r "$cache_file"; then
2502   # Some versions of bash will fail to source /dev/null (special
2503   # files actually), so we avoid doing that.
2504   if test -f "$cache_file"; then
2505     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2506 $as_echo "$as_me: loading cache $cache_file" >&6;}
2507     case $cache_file in
2508       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2509       *)                      . "./$cache_file";;
2510     esac
2511   fi
2512 else
2513   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2514 $as_echo "$as_me: creating cache $cache_file" >&6;}
2515   >$cache_file
2516 fi
2517
2518 # Check that the precious variables saved in the cache have kept the same
2519 # value.
2520 ac_cache_corrupted=false
2521 for ac_var in $ac_precious_vars; do
2522   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2523   eval ac_new_set=\$ac_env_${ac_var}_set
2524   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2525   eval ac_new_val=\$ac_env_${ac_var}_value
2526   case $ac_old_set,$ac_new_set in
2527     set,)
2528       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2529 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2530       ac_cache_corrupted=: ;;
2531     ,set)
2532       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2533 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2534       ac_cache_corrupted=: ;;
2535     ,);;
2536     *)
2537       if test "x$ac_old_val" != "x$ac_new_val"; then
2538         # differences in whitespace do not lead to failure.
2539         ac_old_val_w=`echo x $ac_old_val`
2540         ac_new_val_w=`echo x $ac_new_val`
2541         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2542           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2543 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2544           ac_cache_corrupted=:
2545         else
2546           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2547 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2548           eval $ac_var=\$ac_old_val
2549         fi
2550         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2551 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2552         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2553 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2554       fi;;
2555   esac
2556   # Pass precious variables to config.status.
2557   if test "$ac_new_set" = set; then
2558     case $ac_new_val in
2559     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2560     *) ac_arg=$ac_var=$ac_new_val ;;
2561     esac
2562     case " $ac_configure_args " in
2563       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2564       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2565     esac
2566   fi
2567 done
2568 if $ac_cache_corrupted; then
2569   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2572 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2573   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2574 fi
2575 ## -------------------- ##
2576 ## Main body of script. ##
2577 ## -------------------- ##
2578
2579 ac_ext=c
2580 ac_cpp='$CPP $CPPFLAGS'
2581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2584
2585
2586
2587
2588
2589 ac_config_headers="$ac_config_headers config.h"
2590
2591 ac_aux_dir=
2592 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2593   for ac_t in install-sh install.sh shtool; do
2594     if test -f "$ac_dir/$ac_t"; then
2595       ac_aux_dir=$ac_dir
2596       ac_install_sh="$ac_aux_dir/$ac_t -c"
2597       break 2
2598     fi
2599   done
2600 done
2601 if test -z "$ac_aux_dir"; then
2602   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2603 fi
2604
2605 # These three variables are undocumented and unsupported,
2606 # and are intended to be withdrawn in a future Autoconf release.
2607 # They can cause serious problems if a builder's source tree is in a directory
2608 # whose full name contains unusual characters.
2609 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2610 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2611 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2612
2613
2614 # Make sure we can run config.sub.
2615 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2616   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2617
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2619 $as_echo_n "checking build system type... " >&6; }
2620 if test "${ac_cv_build+set}" = set; then :
2621   $as_echo_n "(cached) " >&6
2622 else
2623   ac_build_alias=$build_alias
2624 test "x$ac_build_alias" = x &&
2625   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2626 test "x$ac_build_alias" = x &&
2627   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2628 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2629   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2630
2631 fi
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2633 $as_echo "$ac_cv_build" >&6; }
2634 case $ac_cv_build in
2635 *-*-*) ;;
2636 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2637 esac
2638 build=$ac_cv_build
2639 ac_save_IFS=$IFS; IFS='-'
2640 set x $ac_cv_build
2641 shift
2642 build_cpu=$1
2643 build_vendor=$2
2644 shift; shift
2645 # Remember, the first character of IFS is used to create $*,
2646 # except with old shells:
2647 build_os=$*
2648 IFS=$ac_save_IFS
2649 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2650
2651
2652  case ${build_alias} in
2653   "") build_noncanonical=${build} ;;
2654   *) build_noncanonical=${build_alias} ;;
2655 esac
2656
2657  case ${host_alias} in
2658   "") host_noncanonical=${build_noncanonical} ;;
2659   *) host_noncanonical=${host_alias} ;;
2660 esac
2661
2662  case ${target_alias} in
2663   "") target_noncanonical=${host_noncanonical} ;;
2664   *) target_noncanonical=${target_alias} ;;
2665 esac
2666
2667
2668 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2669 # have matching libraries, they should use host libraries: Makefile.tpl
2670 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2671 # However, they still use the build modules, because the corresponding
2672 # host modules (e.g. bison) are only built for the host when bootstrap
2673 # finishes. So:
2674 # - build_subdir is where we find build modules, and never changes.
2675 # - build_libsubdir is where we find build libraries, and can be overridden.
2676
2677 # Prefix 'build-' so this never conflicts with target_subdir.
2678 build_subdir="build-${build_noncanonical}"
2679
2680 # Check whether --with-build-libsubdir was given.
2681 if test "${with_build_libsubdir+set}" = set; then :
2682   withval=$with_build_libsubdir; build_libsubdir="$withval"
2683 else
2684   build_libsubdir="$build_subdir"
2685 fi
2686
2687 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2688 if ( test $srcdir = . && test -d gcc ) \
2689    || test -d $srcdir/../host-${host_noncanonical}; then
2690   host_subdir="host-${host_noncanonical}"
2691 else
2692   host_subdir=.
2693 fi
2694 # No prefix.
2695 target_subdir=${target_noncanonical}
2696
2697
2698 # -------
2699 # Options
2700 # -------
2701
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2703 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2704 # Check whether --enable-version-specific-runtime-libs was given.
2705 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2706   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2707  yes) version_specific_libs=yes ;;
2708  no)  version_specific_libs=no ;;
2709  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2710  esac
2711 else
2712   version_specific_libs=no
2713 fi
2714
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2716 $as_echo "$version_specific_libs" >&6; }
2717
2718 # Build with intermodule optimisations
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2720 $as_echo_n "checking for --enable-intermodule... " >&6; }
2721 # Check whether --enable-intermodule was given.
2722 if test "${enable_intermodule+set}" = set; then :
2723   enableval=$enable_intermodule; case "$enable_intermodule" in
2724   yes) onestep="-onestep";;
2725     *) onestep="";;
2726 esac
2727 else
2728   onestep=""
2729 fi
2730
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2732 $as_echo "$enable_intermodule" >&6; }
2733  if test x$onestep = x-onestep; then
2734   onestep_TRUE=
2735   onestep_FALSE='#'
2736 else
2737   onestep_TRUE='#'
2738   onestep_FALSE=
2739 fi
2740
2741
2742
2743 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2744 #
2745 # You will slowly go insane if you do not grok the following fact:  when
2746 # building this library, the top-level /target/ becomes the library's /host/.
2747 #
2748 # configure then causes --target to default to --host, exactly like any
2749 # other package using autoconf.  Therefore, 'target' and 'host' will
2750 # always be the same.  This makes sense both for native and cross compilers
2751 # just think about it for a little while.  :-)
2752 #
2753 # Also, if this library is being configured as part of a cross compiler, the
2754 # top-level configure script will pass the "real" host as $with_cross_host.
2755 #
2756 # Do not delete or change the following two lines.  For why, see
2757 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2759 $as_echo_n "checking host system type... " >&6; }
2760 if test "${ac_cv_host+set}" = set; then :
2761   $as_echo_n "(cached) " >&6
2762 else
2763   if test "x$host_alias" = x; then
2764   ac_cv_host=$ac_cv_build
2765 else
2766   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2767     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2768 fi
2769
2770 fi
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2772 $as_echo "$ac_cv_host" >&6; }
2773 case $ac_cv_host in
2774 *-*-*) ;;
2775 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2776 esac
2777 host=$ac_cv_host
2778 ac_save_IFS=$IFS; IFS='-'
2779 set x $ac_cv_host
2780 shift
2781 host_cpu=$1
2782 host_vendor=$2
2783 shift; shift
2784 # Remember, the first character of IFS is used to create $*,
2785 # except with old shells:
2786 host_os=$*
2787 IFS=$ac_save_IFS
2788 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2789
2790
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2792 $as_echo_n "checking target system type... " >&6; }
2793 if test "${ac_cv_target+set}" = set; then :
2794   $as_echo_n "(cached) " >&6
2795 else
2796   if test "x$target_alias" = x; then
2797   ac_cv_target=$ac_cv_host
2798 else
2799   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2800     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2801 fi
2802
2803 fi
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2805 $as_echo "$ac_cv_target" >&6; }
2806 case $ac_cv_target in
2807 *-*-*) ;;
2808 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2809 esac
2810 target=$ac_cv_target
2811 ac_save_IFS=$IFS; IFS='-'
2812 set x $ac_cv_target
2813 shift
2814 target_cpu=$1
2815 target_vendor=$2
2816 shift; shift
2817 # Remember, the first character of IFS is used to create $*,
2818 # except with old shells:
2819 target_os=$*
2820 IFS=$ac_save_IFS
2821 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2822
2823
2824 # The aliases save the names the user supplied, while $host etc.
2825 # will get canonicalized.
2826 test -n "$target_alias" &&
2827   test "$program_prefix$program_suffix$program_transform_name" = \
2828     NONENONEs,x,x, &&
2829   program_prefix=${target_alias}-
2830
2831 target_alias=${target_alias-$host_alias}
2832
2833 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2834 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2835 #  1.9.6:  minimum required version
2836 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2837 #              of other PACKAGE_* variables will, however, and there's nothing
2838 #              we can do about that; they come from AC_INIT).
2839 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2840 #            file in the top srcdir, etc, etc), so stop complaining.
2841 #  no-dist:  we don't want 'dist' and related rules.
2842 #  -Wall:  turns on all automake warnings...
2843 #  -Wno-portability:  ...except this one, since GNU make is required.
2844 am__api_version='1.11'
2845
2846 # Find a good install program.  We prefer a C program (faster),
2847 # so one script is as good as another.  But avoid the broken or
2848 # incompatible versions:
2849 # SysV /etc/install, /usr/sbin/install
2850 # SunOS /usr/etc/install
2851 # IRIX /sbin/install
2852 # AIX /bin/install
2853 # AmigaOS /C/install, which installs bootblocks on floppy discs
2854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2857 # OS/2's system install, which has a completely different semantic
2858 # ./install, which can be erroneously created by make from ./install.sh.
2859 # Reject install programs that cannot install multiple files.
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2861 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2862 if test -z "$INSTALL"; then
2863 if test "${ac_cv_path_install+set}" = set; then :
2864   $as_echo_n "(cached) " >&6
2865 else
2866   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867 for as_dir in $PATH
2868 do
2869   IFS=$as_save_IFS
2870   test -z "$as_dir" && as_dir=.
2871     # Account for people who put trailing slashes in PATH elements.
2872 case $as_dir/ in #((
2873   ./ | .// | /[cC]/* | \
2874   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2875   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2876   /usr/ucb/* ) ;;
2877   *)
2878     # OSF1 and SCO ODT 3.0 have their own names for install.
2879     # Don't use installbsd from OSF since it installs stuff as root
2880     # by default.
2881     for ac_prog in ginstall scoinst install; do
2882       for ac_exec_ext in '' $ac_executable_extensions; do
2883         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2884           if test $ac_prog = install &&
2885             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2886             # AIX install.  It has an incompatible calling convention.
2887             :
2888           elif test $ac_prog = install &&
2889             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2890             # program-specific install script used by HP pwplus--don't use.
2891             :
2892           else
2893             rm -rf conftest.one conftest.two conftest.dir
2894             echo one > conftest.one
2895             echo two > conftest.two
2896             mkdir conftest.dir
2897             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2898               test -s conftest.one && test -s conftest.two &&
2899               test -s conftest.dir/conftest.one &&
2900               test -s conftest.dir/conftest.two
2901             then
2902               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2903               break 3
2904             fi
2905           fi
2906         fi
2907       done
2908     done
2909     ;;
2910 esac
2911
2912   done
2913 IFS=$as_save_IFS
2914
2915 rm -rf conftest.one conftest.two conftest.dir
2916
2917 fi
2918   if test "${ac_cv_path_install+set}" = set; then
2919     INSTALL=$ac_cv_path_install
2920   else
2921     # As a last resort, use the slow shell script.  Don't cache a
2922     # value for INSTALL within a source directory, because that will
2923     # break other packages using the cache if that directory is
2924     # removed, or if the value is a relative name.
2925     INSTALL=$ac_install_sh
2926   fi
2927 fi
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2929 $as_echo "$INSTALL" >&6; }
2930
2931 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2932 # It thinks the first close brace ends the variable substitution.
2933 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2934
2935 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2936
2937 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2938
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2940 $as_echo_n "checking whether build environment is sane... " >&6; }
2941 # Just in case
2942 sleep 1
2943 echo timestamp > conftest.file
2944 # Reject unsafe characters in $srcdir or the absolute working directory
2945 # name.  Accept space and tab only in the latter.
2946 am_lf='
2947 '
2948 case `pwd` in
2949   *[\\\"\#\$\&\'\`$am_lf]*)
2950     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2951 esac
2952 case $srcdir in
2953   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2954     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2955 esac
2956
2957 # Do `set' in a subshell so we don't clobber the current shell's
2958 # arguments.  Must try -L first in case configure is actually a
2959 # symlink; some systems play weird games with the mod time of symlinks
2960 # (eg FreeBSD returns the mod time of the symlink's containing
2961 # directory).
2962 if (
2963    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2964    if test "$*" = "X"; then
2965       # -L didn't work.
2966       set X `ls -t "$srcdir/configure" conftest.file`
2967    fi
2968    rm -f conftest.file
2969    if test "$*" != "X $srcdir/configure conftest.file" \
2970       && test "$*" != "X conftest.file $srcdir/configure"; then
2971
2972       # If neither matched, then we have a broken ls.  This can happen
2973       # if, for instance, CONFIG_SHELL is bash and it inherits a
2974       # broken ls alias from the environment.  This has actually
2975       # happened.  Such a system could not be considered "sane".
2976       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2977 alias in your environment" "$LINENO" 5
2978    fi
2979
2980    test "$2" = conftest.file
2981    )
2982 then
2983    # Ok.
2984    :
2985 else
2986    as_fn_error "newly created file is older than distributed files!
2987 Check your system clock" "$LINENO" 5
2988 fi
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2990 $as_echo "yes" >&6; }
2991 test "$program_prefix" != NONE &&
2992   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2993 # Use a double $ so make ignores it.
2994 test "$program_suffix" != NONE &&
2995   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2996 # Double any \ or $.
2997 # By default was `s,x,x', remove it if useless.
2998 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2999 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3000
3001 # expand $ac_aux_dir to an absolute path
3002 am_aux_dir=`cd $ac_aux_dir && pwd`
3003
3004 if test x"${MISSING+set}" != xset; then
3005   case $am_aux_dir in
3006   *\ * | *\     *)
3007     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3008   *)
3009     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3010   esac
3011 fi
3012 # Use eval to expand $SHELL
3013 if eval "$MISSING --run true"; then
3014   am_missing_run="$MISSING --run "
3015 else
3016   am_missing_run=
3017   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3018 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3019 fi
3020
3021 if test x"${install_sh}" != xset; then
3022   case $am_aux_dir in
3023   *\ * | *\     *)
3024     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3025   *)
3026     install_sh="\${SHELL} $am_aux_dir/install-sh"
3027   esac
3028 fi
3029
3030 # Installed binaries are usually stripped using `strip' when the user
3031 # run `make install-strip'.  However `strip' might not be the right
3032 # tool to use in cross-compilation environments, therefore Automake
3033 # will honor the `STRIP' environment variable to overrule this program.
3034 if test "$cross_compiling" != no; then
3035   if test -n "$ac_tool_prefix"; then
3036   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3037 set dummy ${ac_tool_prefix}strip; ac_word=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if test "${ac_cv_prog_STRIP+set}" = set; then :
3041   $as_echo_n "(cached) " >&6
3042 else
3043   if test -n "$STRIP"; then
3044   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3045 else
3046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 for as_dir in $PATH
3048 do
3049   IFS=$as_save_IFS
3050   test -z "$as_dir" && as_dir=.
3051     for ac_exec_ext in '' $ac_executable_extensions; do
3052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055     break 2
3056   fi
3057 done
3058   done
3059 IFS=$as_save_IFS
3060
3061 fi
3062 fi
3063 STRIP=$ac_cv_prog_STRIP
3064 if test -n "$STRIP"; then
3065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3066 $as_echo "$STRIP" >&6; }
3067 else
3068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069 $as_echo "no" >&6; }
3070 fi
3071
3072
3073 fi
3074 if test -z "$ac_cv_prog_STRIP"; then
3075   ac_ct_STRIP=$STRIP
3076   # Extract the first word of "strip", so it can be a program name with args.
3077 set dummy strip; ac_word=$2
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3079 $as_echo_n "checking for $ac_word... " >&6; }
3080 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3081   $as_echo_n "(cached) " >&6
3082 else
3083   if test -n "$ac_ct_STRIP"; then
3084   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3085 else
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 for as_dir in $PATH
3088 do
3089   IFS=$as_save_IFS
3090   test -z "$as_dir" && as_dir=.
3091     for ac_exec_ext in '' $ac_executable_extensions; do
3092   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3093     ac_cv_prog_ac_ct_STRIP="strip"
3094     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095     break 2
3096   fi
3097 done
3098   done
3099 IFS=$as_save_IFS
3100
3101 fi
3102 fi
3103 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3104 if test -n "$ac_ct_STRIP"; then
3105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3106 $as_echo "$ac_ct_STRIP" >&6; }
3107 else
3108   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3109 $as_echo "no" >&6; }
3110 fi
3111
3112   if test "x$ac_ct_STRIP" = x; then
3113     STRIP=":"
3114   else
3115     case $cross_compiling:$ac_tool_warned in
3116 yes:)
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3119 ac_tool_warned=yes ;;
3120 esac
3121     STRIP=$ac_ct_STRIP
3122   fi
3123 else
3124   STRIP="$ac_cv_prog_STRIP"
3125 fi
3126
3127 fi
3128 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3129
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3131 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3132 if test -z "$MKDIR_P"; then
3133   if test "${ac_cv_path_mkdir+set}" = set; then :
3134   $as_echo_n "(cached) " >&6
3135 else
3136   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3138 do
3139   IFS=$as_save_IFS
3140   test -z "$as_dir" && as_dir=.
3141     for ac_prog in mkdir gmkdir; do
3142          for ac_exec_ext in '' $ac_executable_extensions; do
3143            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3144            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3145              'mkdir (GNU coreutils) '* | \
3146              'mkdir (coreutils) '* | \
3147              'mkdir (fileutils) '4.1*)
3148                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3149                break 3;;
3150            esac
3151          done
3152        done
3153   done
3154 IFS=$as_save_IFS
3155
3156 fi
3157
3158   if test "${ac_cv_path_mkdir+set}" = set; then
3159     MKDIR_P="$ac_cv_path_mkdir -p"
3160   else
3161     # As a last resort, use the slow shell script.  Don't cache a
3162     # value for MKDIR_P within a source directory, because that will
3163     # break other packages using the cache if that directory is
3164     # removed, or if the value is a relative name.
3165     test -d ./--version && rmdir ./--version
3166     MKDIR_P="$ac_install_sh -d"
3167   fi
3168 fi
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3170 $as_echo "$MKDIR_P" >&6; }
3171
3172 mkdir_p="$MKDIR_P"
3173 case $mkdir_p in
3174   [\\/$]* | ?:[\\/]*) ;;
3175   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3176 esac
3177
3178 for ac_prog in gawk mawk nawk awk
3179 do
3180   # Extract the first word of "$ac_prog", so it can be a program name with args.
3181 set dummy $ac_prog; ac_word=$2
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3183 $as_echo_n "checking for $ac_word... " >&6; }
3184 if test "${ac_cv_prog_AWK+set}" = set; then :
3185   $as_echo_n "(cached) " >&6
3186 else
3187   if test -n "$AWK"; then
3188   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3189 else
3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 for as_dir in $PATH
3192 do
3193   IFS=$as_save_IFS
3194   test -z "$as_dir" && as_dir=.
3195     for ac_exec_ext in '' $ac_executable_extensions; do
3196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3197     ac_cv_prog_AWK="$ac_prog"
3198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3199     break 2
3200   fi
3201 done
3202   done
3203 IFS=$as_save_IFS
3204
3205 fi
3206 fi
3207 AWK=$ac_cv_prog_AWK
3208 if test -n "$AWK"; then
3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3210 $as_echo "$AWK" >&6; }
3211 else
3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3214 fi
3215
3216
3217   test -n "$AWK" && break
3218 done
3219
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3221 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3222 set x ${MAKE-make}
3223 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3224 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3225   $as_echo_n "(cached) " >&6
3226 else
3227   cat >conftest.make <<\_ACEOF
3228 SHELL = /bin/sh
3229 all:
3230         @echo '@@@%%%=$(MAKE)=@@@%%%'
3231 _ACEOF
3232 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3233 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3234   *@@@%%%=?*=@@@%%%*)
3235     eval ac_cv_prog_make_${ac_make}_set=yes;;
3236   *)
3237     eval ac_cv_prog_make_${ac_make}_set=no;;
3238 esac
3239 rm -f conftest.make
3240 fi
3241 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3243 $as_echo "yes" >&6; }
3244   SET_MAKE=
3245 else
3246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3247 $as_echo "no" >&6; }
3248   SET_MAKE="MAKE=${MAKE-make}"
3249 fi
3250
3251 rm -rf .tst 2>/dev/null
3252 mkdir .tst 2>/dev/null
3253 if test -d .tst; then
3254   am__leading_dot=.
3255 else
3256   am__leading_dot=_
3257 fi
3258 rmdir .tst 2>/dev/null
3259
3260 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3261   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3262   # is not polluted with repeated "-I."
3263   am__isrc=' -I$(srcdir)'
3264   # test to see if srcdir already configured
3265   if test -f $srcdir/config.status; then
3266     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3267   fi
3268 fi
3269
3270 # test whether we have cygpath
3271 if test -z "$CYGPATH_W"; then
3272   if (cygpath --version) >/dev/null 2>/dev/null; then
3273     CYGPATH_W='cygpath -w'
3274   else
3275     CYGPATH_W=echo
3276   fi
3277 fi
3278
3279
3280 # Define the identity of the package.
3281  PACKAGE='libgfortran'
3282  VERSION='0.3'
3283
3284
3285 # Some tools Automake needs.
3286
3287 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3288
3289
3290 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3291
3292
3293 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3294
3295
3296 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3297
3298
3299 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3300
3301 # We need awk for the "check" target.  The system "awk" is bad on
3302 # some platforms.
3303 # Always define AMTAR for backward compatibility.
3304
3305 AMTAR=${AMTAR-"${am_missing_run}tar"}
3306
3307 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3308
3309
3310
3311
3312
3313
3314
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3316 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3317     # Check whether --enable-maintainer-mode was given.
3318 if test "${enable_maintainer_mode+set}" = set; then :
3319   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3320 else
3321   USE_MAINTAINER_MODE=no
3322 fi
3323
3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3325 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3326    if test $USE_MAINTAINER_MODE = yes; then
3327   MAINTAINER_MODE_TRUE=
3328   MAINTAINER_MODE_FALSE='#'
3329 else
3330   MAINTAINER_MODE_TRUE='#'
3331   MAINTAINER_MODE_FALSE=
3332 fi
3333
3334   MAINT=$MAINTAINER_MODE_TRUE
3335
3336
3337 # Default to --enable-multilib
3338 # Check whether --enable-multilib was given.
3339 if test "${enable_multilib+set}" = set; then :
3340   enableval=$enable_multilib; case "$enableval" in
3341   yes) multilib=yes ;;
3342   no)  multilib=no ;;
3343   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3344  esac
3345 else
3346   multilib=yes
3347 fi
3348
3349
3350 # We may get other options which we leave undocumented:
3351 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3352 # See config-ml.in if you want the gory details.
3353
3354 if test "$srcdir" = "."; then
3355   if test "$with_target_subdir" != "."; then
3356     multi_basedir="$srcdir/$with_multisrctop../.."
3357   else
3358     multi_basedir="$srcdir/$with_multisrctop.."
3359   fi
3360 else
3361   multi_basedir="$srcdir/.."
3362 fi
3363
3364
3365 # Even if the default multilib is not a cross compilation,
3366 # it may be that some of the other multilibs are.
3367 if test $cross_compiling = no && test $multilib = yes \
3368    && test "x${with_multisubdir}" != x ; then
3369    cross_compiling=maybe
3370 fi
3371
3372 ac_config_commands="$ac_config_commands default-1"
3373
3374
3375 # Handy for debugging:
3376 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3377
3378 # Are we being configured with some form of cross compiler?
3379 # NB: We don't actually need to know this just now, but when, say, a test
3380 #     suite is included, we'll have to know.
3381 if test "$build" != "$host"; then
3382   LIBGFOR_IS_NATIVE=false
3383
3384 else
3385   LIBGFOR_IS_NATIVE=true
3386 fi
3387
3388 # Calculate toolexeclibdir
3389 # Also toolexecdir, though it's only used in toolexeclibdir
3390 case ${version_specific_libs} in
3391   yes)
3392     # Need the gcc compiler version to know where to install libraries
3393     # and header files if --enable-version-specific-runtime-libs option
3394     # is selected.
3395     toolexecdir='$(libdir)/gcc/$(target_alias)'
3396     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3397     ;;
3398   no)
3399     if test -n "$with_cross_host" &&
3400        test x"$with_cross_host" != x"no"; then
3401       # Install a library built with a cross compiler in tooldir, not libdir.
3402       toolexecdir='$(exec_prefix)/$(target_alias)'
3403       toolexeclibdir='$(toolexecdir)/lib'
3404     else
3405       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3406       toolexeclibdir='$(libdir)'
3407     fi
3408     multi_os_directory=`$CC -print-multi-os-directory`
3409     case $multi_os_directory in
3410       .) ;; # Avoid trailing /.
3411       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3412     esac
3413     ;;
3414 esac
3415
3416
3417
3418 # Create a spec file, so that compile/link tests don't fail
3419 test -f libgfortran.spec || touch libgfortran.spec
3420
3421 # Check the compiler.
3422 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3423 # We must force CC to /not/ be precious variables; otherwise
3424 # the wrong, non-multilib-adjusted value will be used in multilibs.
3425 # As a side effect, we have to subst CFLAGS ourselves.
3426
3427
3428
3429 ac_ext=c
3430 ac_cpp='$CPP $CPPFLAGS'
3431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 if test -n "$ac_tool_prefix"; then
3435   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3436 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3438 $as_echo_n "checking for $ac_word... " >&6; }
3439 if test "${ac_cv_prog_CC+set}" = set; then :
3440   $as_echo_n "(cached) " >&6
3441 else
3442   if test -n "$CC"; then
3443   ac_cv_prog_CC="$CC" # Let the user override the test.
3444 else
3445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3446 for as_dir in $PATH
3447 do
3448   IFS=$as_save_IFS
3449   test -z "$as_dir" && as_dir=.
3450     for ac_exec_ext in '' $ac_executable_extensions; do
3451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3452     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3453     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3454     break 2
3455   fi
3456 done
3457   done
3458 IFS=$as_save_IFS
3459
3460 fi
3461 fi
3462 CC=$ac_cv_prog_CC
3463 if test -n "$CC"; then
3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3466 else
3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3469 fi
3470
3471
3472 fi
3473 if test -z "$ac_cv_prog_CC"; then
3474   ac_ct_CC=$CC
3475   # Extract the first word of "gcc", so it can be a program name with args.
3476 set dummy gcc; ac_word=$2
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478 $as_echo_n "checking for $ac_word... " >&6; }
3479 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3480   $as_echo_n "(cached) " >&6
3481 else
3482   if test -n "$ac_ct_CC"; then
3483   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3484 else
3485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486 for as_dir in $PATH
3487 do
3488   IFS=$as_save_IFS
3489   test -z "$as_dir" && as_dir=.
3490     for ac_exec_ext in '' $ac_executable_extensions; do
3491   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492     ac_cv_prog_ac_ct_CC="gcc"
3493     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494     break 2
3495   fi
3496 done
3497   done
3498 IFS=$as_save_IFS
3499
3500 fi
3501 fi
3502 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3503 if test -n "$ac_ct_CC"; then
3504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3505 $as_echo "$ac_ct_CC" >&6; }
3506 else
3507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508 $as_echo "no" >&6; }
3509 fi
3510
3511   if test "x$ac_ct_CC" = x; then
3512     CC=""
3513   else
3514     case $cross_compiling:$ac_tool_warned in
3515 yes:)
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3518 ac_tool_warned=yes ;;
3519 esac
3520     CC=$ac_ct_CC
3521   fi
3522 else
3523   CC="$ac_cv_prog_CC"
3524 fi
3525
3526 if test -z "$CC"; then
3527           if test -n "$ac_tool_prefix"; then
3528     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3529 set dummy ${ac_tool_prefix}cc; ac_word=$2
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3531 $as_echo_n "checking for $ac_word... " >&6; }
3532 if test "${ac_cv_prog_CC+set}" = set; then :
3533   $as_echo_n "(cached) " >&6
3534 else
3535   if test -n "$CC"; then
3536   ac_cv_prog_CC="$CC" # Let the user override the test.
3537 else
3538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3539 for as_dir in $PATH
3540 do
3541   IFS=$as_save_IFS
3542   test -z "$as_dir" && as_dir=.
3543     for ac_exec_ext in '' $ac_executable_extensions; do
3544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3545     ac_cv_prog_CC="${ac_tool_prefix}cc"
3546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3547     break 2
3548   fi
3549 done
3550   done
3551 IFS=$as_save_IFS
3552
3553 fi
3554 fi
3555 CC=$ac_cv_prog_CC
3556 if test -n "$CC"; then
3557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3558 $as_echo "$CC" >&6; }
3559 else
3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3561 $as_echo "no" >&6; }
3562 fi
3563
3564
3565   fi
3566 fi
3567 if test -z "$CC"; then
3568   # Extract the first word of "cc", so it can be a program name with args.
3569 set dummy cc; ac_word=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if test "${ac_cv_prog_CC+set}" = set; then :
3573   $as_echo_n "(cached) " >&6
3574 else
3575   if test -n "$CC"; then
3576   ac_cv_prog_CC="$CC" # Let the user override the test.
3577 else
3578   ac_prog_rejected=no
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3581 do
3582   IFS=$as_save_IFS
3583   test -z "$as_dir" && as_dir=.
3584     for ac_exec_ext in '' $ac_executable_extensions; do
3585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3587        ac_prog_rejected=yes
3588        continue
3589      fi
3590     ac_cv_prog_CC="cc"
3591     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592     break 2
3593   fi
3594 done
3595   done
3596 IFS=$as_save_IFS
3597
3598 if test $ac_prog_rejected = yes; then
3599   # We found a bogon in the path, so make sure we never use it.
3600   set dummy $ac_cv_prog_CC
3601   shift
3602   if test $# != 0; then
3603     # We chose a different compiler from the bogus one.
3604     # However, it has the same basename, so the bogon will be chosen
3605     # first if we set CC to just the basename; use the full file name.
3606     shift
3607     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3608   fi
3609 fi
3610 fi
3611 fi
3612 CC=$ac_cv_prog_CC
3613 if test -n "$CC"; then
3614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3615 $as_echo "$CC" >&6; }
3616 else
3617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3618 $as_echo "no" >&6; }
3619 fi
3620
3621
3622 fi
3623 if test -z "$CC"; then
3624   if test -n "$ac_tool_prefix"; then
3625   for ac_prog in cl.exe
3626   do
3627     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3630 $as_echo_n "checking for $ac_word... " >&6; }
3631 if test "${ac_cv_prog_CC+set}" = set; then :
3632   $as_echo_n "(cached) " >&6
3633 else
3634   if test -n "$CC"; then
3635   ac_cv_prog_CC="$CC" # Let the user override the test.
3636 else
3637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3638 for as_dir in $PATH
3639 do
3640   IFS=$as_save_IFS
3641   test -z "$as_dir" && as_dir=.
3642     for ac_exec_ext in '' $ac_executable_extensions; do
3643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3644     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3645     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3646     break 2
3647   fi
3648 done
3649   done
3650 IFS=$as_save_IFS
3651
3652 fi
3653 fi
3654 CC=$ac_cv_prog_CC
3655 if test -n "$CC"; then
3656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3657 $as_echo "$CC" >&6; }
3658 else
3659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3660 $as_echo "no" >&6; }
3661 fi
3662
3663
3664     test -n "$CC" && break
3665   done
3666 fi
3667 if test -z "$CC"; then
3668   ac_ct_CC=$CC
3669   for ac_prog in cl.exe
3670 do
3671   # Extract the first word of "$ac_prog", so it can be a program name with args.
3672 set dummy $ac_prog; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3676   $as_echo_n "(cached) " >&6
3677 else
3678   if test -n "$ac_ct_CC"; then
3679   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3680 else
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 for as_dir in $PATH
3683 do
3684   IFS=$as_save_IFS
3685   test -z "$as_dir" && as_dir=.
3686     for ac_exec_ext in '' $ac_executable_extensions; do
3687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688     ac_cv_prog_ac_ct_CC="$ac_prog"
3689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3690     break 2
3691   fi
3692 done
3693   done
3694 IFS=$as_save_IFS
3695
3696 fi
3697 fi
3698 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3699 if test -n "$ac_ct_CC"; then
3700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3701 $as_echo "$ac_ct_CC" >&6; }
3702 else
3703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3705 fi
3706
3707
3708   test -n "$ac_ct_CC" && break
3709 done
3710
3711   if test "x$ac_ct_CC" = x; then
3712     CC=""
3713   else
3714     case $cross_compiling:$ac_tool_warned in
3715 yes:)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3719 esac
3720     CC=$ac_ct_CC
3721   fi
3722 fi
3723
3724 fi
3725
3726
3727 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3729 as_fn_error "no acceptable C compiler found in \$PATH
3730 See \`config.log' for more details." "$LINENO" 5; }
3731
3732 # Provide some information about the compiler.
3733 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3734 set X $ac_compile
3735 ac_compiler=$2
3736 for ac_option in --version -v -V -qversion; do
3737   { { ac_try="$ac_compiler $ac_option >&5"
3738 case "(($ac_try" in
3739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740   *) ac_try_echo=$ac_try;;
3741 esac
3742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743 $as_echo "$ac_try_echo"; } >&5
3744   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3745   ac_status=$?
3746   if test -s conftest.err; then
3747     sed '10a\
3748 ... rest of stderr output deleted ...
3749          10q' conftest.err >conftest.er1
3750     cat conftest.er1 >&5
3751     rm -f conftest.er1 conftest.err
3752   fi
3753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3754   test $ac_status = 0; }
3755 done
3756
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h.  */
3759
3760 int
3761 main ()
3762 {
3763
3764   ;
3765   return 0;
3766 }
3767 _ACEOF
3768 # FIXME: Cleanup?
3769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3770   (eval $ac_link) 2>&5
3771   ac_status=$?
3772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3773   test $ac_status = 0; }; then :
3774   gcc_no_link=no
3775 else
3776   gcc_no_link=yes
3777 fi
3778 if test x$gcc_no_link = xyes; then
3779   # Setting cross_compile will disable run tests; it will
3780   # also disable AC_CHECK_FILE but that's generally
3781   # correct if we can't link.
3782   cross_compiling=yes
3783   EXEEXT=
3784 else
3785   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h.  */
3787
3788 int
3789 main ()
3790 {
3791
3792   ;
3793   return 0;
3794 }
3795 _ACEOF
3796 ac_clean_files_save=$ac_clean_files
3797 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3798 # Try to create an executable without -o first, disregard a.out.
3799 # It will help us diagnose broken compilers, and finding out an intuition
3800 # of exeext.
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3802 $as_echo_n "checking for C compiler default output file name... " >&6; }
3803 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3804
3805 # The possible output files:
3806 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3807
3808 ac_rmfiles=
3809 for ac_file in $ac_files
3810 do
3811   case $ac_file in
3812     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3813     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3814   esac
3815 done
3816 rm -f $ac_rmfiles
3817
3818 if { { ac_try="$ac_link_default"
3819 case "(($ac_try" in
3820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821   *) ac_try_echo=$ac_try;;
3822 esac
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825   (eval "$ac_link_default") 2>&5
3826   ac_status=$?
3827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828   test $ac_status = 0; }; then :
3829   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3830 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3831 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3832 # so that the user can short-circuit this test for compilers unknown to
3833 # Autoconf.
3834 for ac_file in $ac_files ''
3835 do
3836   test -f "$ac_file" || continue
3837   case $ac_file in
3838     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3839         ;;
3840     [ab].out )
3841         # We found the default executable, but exeext='' is most
3842         # certainly right.
3843         break;;
3844     *.* )
3845         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3846         then :; else
3847            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3848         fi
3849         # We set ac_cv_exeext here because the later test for it is not
3850         # safe: cross compilers may not add the suffix if given an `-o'
3851         # argument, so we may need to know it at that point already.
3852         # Even if this section looks crufty: it has the advantage of
3853         # actually working.
3854         break;;
3855     * )
3856         break;;
3857   esac
3858 done
3859 test "$ac_cv_exeext" = no && ac_cv_exeext=
3860
3861 else
3862   ac_file=''
3863 fi
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3865 $as_echo "$ac_file" >&6; }
3866 if test -z "$ac_file"; then :
3867   $as_echo "$as_me: failed program was:" >&5
3868 sed 's/^/| /' conftest.$ac_ext >&5
3869
3870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3872 { as_fn_set_status 77
3873 as_fn_error "C compiler cannot create executables
3874 See \`config.log' for more details." "$LINENO" 5; }; }
3875 fi
3876 ac_exeext=$ac_cv_exeext
3877
3878 # Check that the compiler produces executables we can run.  If not, either
3879 # the compiler is broken, or we cross compile.
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3881 $as_echo_n "checking whether the C compiler works... " >&6; }
3882 # If not cross compiling, check that we can run a simple program.
3883 if test "$cross_compiling" != yes; then
3884   if { ac_try='./$ac_file'
3885   { { case "(($ac_try" in
3886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3887   *) ac_try_echo=$ac_try;;
3888 esac
3889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3890 $as_echo "$ac_try_echo"; } >&5
3891   (eval "$ac_try") 2>&5
3892   ac_status=$?
3893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894   test $ac_status = 0; }; }; then
3895     cross_compiling=no
3896   else
3897     if test "$cross_compiling" = maybe; then
3898         cross_compiling=yes
3899     else
3900         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3901 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3902 as_fn_error "cannot run C compiled programs.
3903 If you meant to cross compile, use \`--host'.
3904 See \`config.log' for more details." "$LINENO" 5; }
3905     fi
3906   fi
3907 fi
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3909 $as_echo "yes" >&6; }
3910
3911 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3912 ac_clean_files=$ac_clean_files_save
3913 # Check that the compiler produces executables we can run.  If not, either
3914 # the compiler is broken, or we cross compile.
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3916 $as_echo_n "checking whether we are cross compiling... " >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3918 $as_echo "$cross_compiling" >&6; }
3919
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3921 $as_echo_n "checking for suffix of executables... " >&6; }
3922 if { { ac_try="$ac_link"
3923 case "(($ac_try" in
3924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925   *) ac_try_echo=$ac_try;;
3926 esac
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929   (eval "$ac_link") 2>&5
3930   ac_status=$?
3931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932   test $ac_status = 0; }; then :
3933   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3934 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3935 # work properly (i.e., refer to `conftest.exe'), while it won't with
3936 # `rm'.
3937 for ac_file in conftest.exe conftest conftest.*; do
3938   test -f "$ac_file" || continue
3939   case $ac_file in
3940     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3941     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3942           break;;
3943     * ) break;;
3944   esac
3945 done
3946 else
3947   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3949 as_fn_error "cannot compute suffix of executables: cannot compile and link
3950 See \`config.log' for more details." "$LINENO" 5; }
3951 fi
3952 rm -f conftest$ac_cv_exeext
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3954 $as_echo "$ac_cv_exeext" >&6; }
3955
3956 rm -f conftest.$ac_ext
3957 EXEEXT=$ac_cv_exeext
3958 ac_exeext=$EXEEXT
3959 fi
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3961 $as_echo_n "checking for suffix of object files... " >&6; }
3962 if test "${ac_cv_objext+set}" = set; then :
3963   $as_echo_n "(cached) " >&6
3964 else
3965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h.  */
3967
3968 int
3969 main ()
3970 {
3971
3972   ;
3973   return 0;
3974 }
3975 _ACEOF
3976 rm -f conftest.o conftest.obj
3977 if { { ac_try="$ac_compile"
3978 case "(($ac_try" in
3979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3980   *) ac_try_echo=$ac_try;;
3981 esac
3982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3983 $as_echo "$ac_try_echo"; } >&5
3984   (eval "$ac_compile") 2>&5
3985   ac_status=$?
3986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3987   test $ac_status = 0; }; then :
3988   for ac_file in conftest.o conftest.obj conftest.*; do
3989   test -f "$ac_file" || continue;
3990   case $ac_file in
3991     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3992     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3993        break;;
3994   esac
3995 done
3996 else
3997   $as_echo "$as_me: failed program was:" >&5
3998 sed 's/^/| /' conftest.$ac_ext >&5
3999
4000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4002 as_fn_error "cannot compute suffix of object files: cannot compile
4003 See \`config.log' for more details." "$LINENO" 5; }
4004 fi
4005 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4006 fi
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4008 $as_echo "$ac_cv_objext" >&6; }
4009 OBJEXT=$ac_cv_objext
4010 ac_objext=$OBJEXT
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4012 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4013 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4014   $as_echo_n "(cached) " >&6
4015 else
4016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017 /* end confdefs.h.  */
4018
4019 int
4020 main ()
4021 {
4022 #ifndef __GNUC__
4023        choke me
4024 #endif
4025
4026   ;
4027   return 0;
4028 }
4029 _ACEOF
4030 if ac_fn_c_try_compile "$LINENO"; then :
4031   ac_compiler_gnu=yes
4032 else
4033   ac_compiler_gnu=no
4034 fi
4035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4036 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4037
4038 fi
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4040 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4041 if test $ac_compiler_gnu = yes; then
4042   GCC=yes
4043 else
4044   GCC=
4045 fi
4046 ac_test_CFLAGS=${CFLAGS+set}
4047 ac_save_CFLAGS=$CFLAGS
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4049 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4050 if test "${ac_cv_prog_cc_g+set}" = set; then :
4051   $as_echo_n "(cached) " >&6
4052 else
4053   ac_save_c_werror_flag=$ac_c_werror_flag
4054    ac_c_werror_flag=yes
4055    ac_cv_prog_cc_g=no
4056    CFLAGS="-g"
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   ac_cv_prog_cc_g=yes
4070 else
4071   CFLAGS=""
4072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h.  */
4074
4075 int
4076 main ()
4077 {
4078
4079   ;
4080   return 0;
4081 }
4082 _ACEOF
4083 if ac_fn_c_try_compile "$LINENO"; then :
4084
4085 else
4086   ac_c_werror_flag=$ac_save_c_werror_flag
4087          CFLAGS="-g"
4088          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h.  */
4090
4091 int
4092 main ()
4093 {
4094
4095   ;
4096   return 0;
4097 }
4098 _ACEOF
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100   ac_cv_prog_cc_g=yes
4101 fi
4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103 fi
4104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105 fi
4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4107    ac_c_werror_flag=$ac_save_c_werror_flag
4108 fi
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4110 $as_echo "$ac_cv_prog_cc_g" >&6; }
4111 if test "$ac_test_CFLAGS" = set; then
4112   CFLAGS=$ac_save_CFLAGS
4113 elif test $ac_cv_prog_cc_g = yes; then
4114   if test "$GCC" = yes; then
4115     CFLAGS="-g -O2"
4116   else
4117     CFLAGS="-g"
4118   fi
4119 else
4120   if test "$GCC" = yes; then
4121     CFLAGS="-O2"
4122   else
4123     CFLAGS=
4124   fi
4125 fi
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4127 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4128 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4129   $as_echo_n "(cached) " >&6
4130 else
4131   ac_cv_prog_cc_c89=no
4132 ac_save_CC=$CC
4133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4134 /* end confdefs.h.  */
4135 #include <stdarg.h>
4136 #include <stdio.h>
4137 #include <sys/types.h>
4138 #include <sys/stat.h>
4139 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4140 struct buf { int x; };
4141 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4142 static char *e (p, i)
4143      char **p;
4144      int i;
4145 {
4146   return p[i];
4147 }
4148 static char *f (char * (*g) (char **, int), char **p, ...)
4149 {
4150   char *s;
4151   va_list v;
4152   va_start (v,p);
4153   s = g (p, va_arg (v,int));
4154   va_end (v);
4155   return s;
4156 }
4157
4158 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4159    function prototypes and stuff, but not '\xHH' hex character constants.
4160    These don't provoke an error unfortunately, instead are silently treated
4161    as 'x'.  The following induces an error, until -std is added to get
4162    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4163    array size at least.  It's necessary to write '\x00'==0 to get something
4164    that's true only with -std.  */
4165 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4166
4167 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4168    inside strings and character constants.  */
4169 #define FOO(x) 'x'
4170 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4171
4172 int test (int i, double x);
4173 struct s1 {int (*f) (int a);};
4174 struct s2 {int (*f) (double a);};
4175 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4176 int argc;
4177 char **argv;
4178 int
4179 main ()
4180 {
4181 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4182   ;
4183   return 0;
4184 }
4185 _ACEOF
4186 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4187         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4188 do
4189   CC="$ac_save_CC $ac_arg"
4190   if ac_fn_c_try_compile "$LINENO"; then :
4191   ac_cv_prog_cc_c89=$ac_arg
4192 fi
4193 rm -f core conftest.err conftest.$ac_objext
4194   test "x$ac_cv_prog_cc_c89" != "xno" && break
4195 done
4196 rm -f conftest.$ac_ext
4197 CC=$ac_save_CC
4198
4199 fi
4200 # AC_CACHE_VAL
4201 case "x$ac_cv_prog_cc_c89" in
4202   x)
4203     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4204 $as_echo "none needed" >&6; } ;;
4205   xno)
4206     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4207 $as_echo "unsupported" >&6; } ;;
4208   *)
4209     CC="$CC $ac_cv_prog_cc_c89"
4210     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4211 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4212 esac
4213 if test "x$ac_cv_prog_cc_c89" != xno; then :
4214
4215 fi
4216
4217 ac_ext=c
4218 ac_cpp='$CPP $CPPFLAGS'
4219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4222 DEPDIR="${am__leading_dot}deps"
4223
4224 ac_config_commands="$ac_config_commands depfiles"
4225
4226
4227 am_make=${MAKE-make}
4228 cat > confinc << 'END'
4229 am__doit:
4230         @echo this is the am__doit target
4231 .PHONY: am__doit
4232 END
4233 # If we don't find an include directive, just comment out the code.
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4235 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4236 am__include="#"
4237 am__quote=
4238 _am_result=none
4239 # First try GNU make style include.
4240 echo "include confinc" > confmf
4241 # Ignore all kinds of additional output from `make'.
4242 case `$am_make -s -f confmf 2> /dev/null` in #(
4243 *the\ am__doit\ target*)
4244   am__include=include
4245   am__quote=
4246   _am_result=GNU
4247   ;;
4248 esac
4249 # Now try BSD make style include.
4250 if test "$am__include" = "#"; then
4251    echo '.include "confinc"' > confmf
4252    case `$am_make -s -f confmf 2> /dev/null` in #(
4253    *the\ am__doit\ target*)
4254      am__include=.include
4255      am__quote="\""
4256      _am_result=BSD
4257      ;;
4258    esac
4259 fi
4260
4261
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4263 $as_echo "$_am_result" >&6; }
4264 rm -f confinc confmf
4265
4266 # Check whether --enable-dependency-tracking was given.
4267 if test "${enable_dependency_tracking+set}" = set; then :
4268   enableval=$enable_dependency_tracking;
4269 fi
4270
4271 if test "x$enable_dependency_tracking" != xno; then
4272   am_depcomp="$ac_aux_dir/depcomp"
4273   AMDEPBACKSLASH='\'
4274 fi
4275  if test "x$enable_dependency_tracking" != xno; then
4276   AMDEP_TRUE=
4277   AMDEP_FALSE='#'
4278 else
4279   AMDEP_TRUE='#'
4280   AMDEP_FALSE=
4281 fi
4282
4283
4284
4285 depcc="$CC"   am_compiler_list=
4286
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4288 $as_echo_n "checking dependency style of $depcc... " >&6; }
4289 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4290   $as_echo_n "(cached) " >&6
4291 else
4292   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4293   # We make a subdir and do the tests there.  Otherwise we can end up
4294   # making bogus files that we don't know about and never remove.  For
4295   # instance it was reported that on HP-UX the gcc test will end up
4296   # making a dummy file named `D' -- because `-MD' means `put the output
4297   # in D'.
4298   mkdir conftest.dir
4299   # Copy depcomp to subdir because otherwise we won't find it if we're
4300   # using a relative directory.
4301   cp "$am_depcomp" conftest.dir
4302   cd conftest.dir
4303   # We will build objects and dependencies in a subdirectory because
4304   # it helps to detect inapplicable dependency modes.  For instance
4305   # both Tru64's cc and ICC support -MD to output dependencies as a
4306   # side effect of compilation, but ICC will put the dependencies in
4307   # the current directory while Tru64 will put them in the object
4308   # directory.
4309   mkdir sub
4310
4311   am_cv_CC_dependencies_compiler_type=none
4312   if test "$am_compiler_list" = ""; then
4313      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4314   fi
4315   am__universal=false
4316   case " $depcc " in #(
4317      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4318      esac
4319
4320   for depmode in $am_compiler_list; do
4321     # Setup a source with many dependencies, because some compilers
4322     # like to wrap large dependency lists on column 80 (with \), and
4323     # we should not choose a depcomp mode which is confused by this.
4324     #
4325     # We need to recreate these files for each test, as the compiler may
4326     # overwrite some of them when testing with obscure command lines.
4327     # This happens at least with the AIX C compiler.
4328     : > sub/conftest.c
4329     for i in 1 2 3 4 5 6; do
4330       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4331       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4332       # Solaris 8's {/usr,}/bin/sh.
4333       touch sub/conftst$i.h
4334     done
4335     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4336
4337     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4338     # mode.  It turns out that the SunPro C++ compiler does not properly
4339     # handle `-M -o', and we need to detect this.  Also, some Intel
4340     # versions had trouble with output in subdirs
4341     am__obj=sub/conftest.${OBJEXT-o}
4342     am__minus_obj="-o $am__obj"
4343     case $depmode in
4344     gcc)
4345       # This depmode causes a compiler race in universal mode.
4346       test "$am__universal" = false || continue
4347       ;;
4348     nosideeffect)
4349       # after this tag, mechanisms are not by side-effect, so they'll
4350       # only be used when explicitly requested
4351       if test "x$enable_dependency_tracking" = xyes; then
4352         continue
4353       else
4354         break
4355       fi
4356       ;;
4357     msvisualcpp | msvcmsys)
4358       # This compiler won't grok `-c -o', but also, the minuso test has
4359       # not run yet.  These depmodes are late enough in the game, and
4360       # so weak that their functioning should not be impacted.
4361       am__obj=conftest.${OBJEXT-o}
4362       am__minus_obj=
4363       ;;
4364     none) break ;;
4365     esac
4366     if depmode=$depmode \
4367        source=sub/conftest.c object=$am__obj \
4368        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4369        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4370          >/dev/null 2>conftest.err &&
4371        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4372        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4373        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4374        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4375       # icc doesn't choke on unknown options, it will just issue warnings
4376       # or remarks (even with -Werror).  So we grep stderr for any message
4377       # that says an option was ignored or not supported.
4378       # When given -MP, icc 7.0 and 7.1 complain thusly:
4379       #   icc: Command line warning: ignoring option '-M'; no argument required
4380       # The diagnosis changed in icc 8.0:
4381       #   icc: Command line remark: option '-MP' not supported
4382       if (grep 'ignoring option' conftest.err ||
4383           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4384         am_cv_CC_dependencies_compiler_type=$depmode
4385         break
4386       fi
4387     fi
4388   done
4389
4390   cd ..
4391   rm -rf conftest.dir
4392 else
4393   am_cv_CC_dependencies_compiler_type=none
4394 fi
4395
4396 fi
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4398 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4399 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4400
4401  if
4402   test "x$enable_dependency_tracking" != xno \
4403   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4404   am__fastdepCC_TRUE=
4405   am__fastdepCC_FALSE='#'
4406 else
4407   am__fastdepCC_TRUE='#'
4408   am__fastdepCC_FALSE=
4409 fi
4410
4411
4412
4413
4414 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4415 if test "x$GCC" = "xyes"; then
4416   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4417   ## We like to use C99 routines when available.  This makes sure that
4418   ## __STDC_VERSION__ is set such that libc includes make them available.
4419   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4420   ## Compile the following tests with the same system header contents
4421   ## that we'll encounter when compiling our own source files.
4422   CFLAGS="-std=gnu99 $CFLAGS"
4423 fi
4424
4425
4426
4427
4428 # Check for symbol versioning (copied from libssp).
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4430 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4431 save_LDFLAGS="$LDFLAGS"
4432 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4433 cat > conftest.map <<EOF
4434 FOO_1.0 {
4435   global: *foo*; bar; local: *;
4436 };
4437 EOF
4438
4439 if test x$gcc_no_link = xyes; then
4440   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4441 fi
4442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h.  */
4444 int foo;
4445 int
4446 main ()
4447 {
4448
4449   ;
4450   return 0;
4451 }
4452 _ACEOF
4453 if ac_fn_c_try_link "$LINENO"; then :
4454   gfortran_use_symver=gnu
4455 else
4456   gfortran_use_symver=no
4457 fi
4458 rm -f core conftest.err conftest.$ac_objext \
4459     conftest$ac_exeext conftest.$ac_ext
4460 if test x$gfortran_use_symver = xno; then
4461   case "$target_os" in
4462     solaris2*)
4463       LDFLAGS="$save_LDFLAGS"
4464       LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4465       # Sun ld cannot handle wildcards and treats all entries as undefined.
4466       cat > conftest.map <<EOF
4467 FOO_1.0 {
4468   global: foo; local: *;
4469 };
4470 EOF
4471       if test x$gcc_no_link = xyes; then
4472   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4473 fi
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h.  */
4476 int foo;
4477 int
4478 main ()
4479 {
4480
4481   ;
4482   return 0;
4483 }
4484 _ACEOF
4485 if ac_fn_c_try_link "$LINENO"; then :
4486   gfortran_use_symver=sun
4487 else
4488   gfortran_use_symver=no
4489 fi
4490 rm -f core conftest.err conftest.$ac_objext \
4491     conftest$ac_exeext conftest.$ac_ext
4492       ;;
4493   esac
4494 fi
4495 LDFLAGS="$save_LDFLAGS"
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4497 $as_echo "$gfortran_use_symver" >&6; }
4498  if test "x$gfortran_use_symver" != xno; then
4499   LIBGFOR_USE_SYMVER_TRUE=
4500   LIBGFOR_USE_SYMVER_FALSE='#'
4501 else
4502   LIBGFOR_USE_SYMVER_TRUE='#'
4503   LIBGFOR_USE_SYMVER_FALSE=
4504 fi
4505
4506  if test "x$gfortran_use_symver" = xgnu; then
4507   LIBGFOR_USE_SYMVER_GNU_TRUE=
4508   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
4509 else
4510   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
4511   LIBGFOR_USE_SYMVER_GNU_FALSE=
4512 fi
4513
4514  if test "x$gfortran_use_symver" = xsun; then
4515   LIBGFOR_USE_SYMVER_SUN_TRUE=
4516   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
4517 else
4518   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
4519   LIBGFOR_USE_SYMVER_SUN_FALSE=
4520 fi
4521
4522
4523 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4524 # similarly to how libstdc++ does it
4525 ac_test_CFLAGS="${CFLAGS+set}"
4526 ac_save_CFLAGS="$CFLAGS"
4527
4528 # Check for -ffunction-sections -fdata-sections
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4530 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4531 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h.  */
4534
4535 int
4536 main ()
4537 {
4538 int foo;
4539   ;
4540   return 0;
4541 }
4542 _ACEOF
4543 if ac_fn_c_try_compile "$LINENO"; then :
4544   ac_fdsections=yes
4545 else
4546   ac_fdsections=no
4547 fi
4548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549 if test "$ac_test_CFLAGS" = set; then
4550   CFLAGS="$ac_save_CFLAGS"
4551 else
4552   # this is the suspicious part
4553   CFLAGS=""
4554 fi
4555 if test x"$ac_fdsections" = x"yes"; then
4556   SECTION_FLAGS='-ffunction-sections -fdata-sections'
4557 fi
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4559 $as_echo "$ac_fdsections" >&6; }
4560
4561
4562 # Find other programs we need.
4563 if test -n "$ac_tool_prefix"; then
4564   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4565 set dummy ${ac_tool_prefix}as; ac_word=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if test "${ac_cv_prog_AS+set}" = set; then :
4569   $as_echo_n "(cached) " >&6
4570 else
4571   if test -n "$AS"; then
4572   ac_cv_prog_AS="$AS" # Let the user override the test.
4573 else
4574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575 for as_dir in $PATH
4576 do
4577   IFS=$as_save_IFS
4578   test -z "$as_dir" && as_dir=.
4579     for ac_exec_ext in '' $ac_executable_extensions; do
4580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4581     ac_cv_prog_AS="${ac_tool_prefix}as"
4582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583     break 2
4584   fi
4585 done
4586   done
4587 IFS=$as_save_IFS
4588
4589 fi
4590 fi
4591 AS=$ac_cv_prog_AS
4592 if test -n "$AS"; then
4593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4594 $as_echo "$AS" >&6; }
4595 else
4596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4598 fi
4599
4600
4601 fi
4602 if test -z "$ac_cv_prog_AS"; then
4603   ac_ct_AS=$AS
4604   # Extract the first word of "as", so it can be a program name with args.
4605 set dummy as; ac_word=$2
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4607 $as_echo_n "checking for $ac_word... " >&6; }
4608 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4609   $as_echo_n "(cached) " >&6
4610 else
4611   if test -n "$ac_ct_AS"; then
4612   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4613 else
4614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4615 for as_dir in $PATH
4616 do
4617   IFS=$as_save_IFS
4618   test -z "$as_dir" && as_dir=.
4619     for ac_exec_ext in '' $ac_executable_extensions; do
4620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4621     ac_cv_prog_ac_ct_AS="as"
4622     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623     break 2
4624   fi
4625 done
4626   done
4627 IFS=$as_save_IFS
4628
4629 fi
4630 fi
4631 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4632 if test -n "$ac_ct_AS"; then
4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4634 $as_echo "$ac_ct_AS" >&6; }
4635 else
4636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 $as_echo "no" >&6; }
4638 fi
4639
4640   if test "x$ac_ct_AS" = x; then
4641     AS=""
4642   else
4643     case $cross_compiling:$ac_tool_warned in
4644 yes:)
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4647 ac_tool_warned=yes ;;
4648 esac
4649     AS=$ac_ct_AS
4650   fi
4651 else
4652   AS="$ac_cv_prog_AS"
4653 fi
4654
4655 if test -n "$ac_tool_prefix"; then
4656   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4657 set dummy ${ac_tool_prefix}ar; ac_word=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_AR+set}" = set; then :
4661   $as_echo_n "(cached) " >&6
4662 else
4663   if test -n "$AR"; then
4664   ac_cv_prog_AR="$AR" # Let the user override the test.
4665 else
4666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4667 for as_dir in $PATH
4668 do
4669   IFS=$as_save_IFS
4670   test -z "$as_dir" && as_dir=.
4671     for ac_exec_ext in '' $ac_executable_extensions; do
4672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4673     ac_cv_prog_AR="${ac_tool_prefix}ar"
4674     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675     break 2
4676   fi
4677 done
4678   done
4679 IFS=$as_save_IFS
4680
4681 fi
4682 fi
4683 AR=$ac_cv_prog_AR
4684 if test -n "$AR"; then
4685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4686 $as_echo "$AR" >&6; }
4687 else
4688   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4690 fi
4691
4692
4693 fi
4694 if test -z "$ac_cv_prog_AR"; then
4695   ac_ct_AR=$AR
4696   # Extract the first word of "ar", so it can be a program name with args.
4697 set dummy ar; ac_word=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4701   $as_echo_n "(cached) " >&6
4702 else
4703   if test -n "$ac_ct_AR"; then
4704   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4705 else
4706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 for as_dir in $PATH
4708 do
4709   IFS=$as_save_IFS
4710   test -z "$as_dir" && as_dir=.
4711     for ac_exec_ext in '' $ac_executable_extensions; do
4712   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713     ac_cv_prog_ac_ct_AR="ar"
4714     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715     break 2
4716   fi
4717 done
4718   done
4719 IFS=$as_save_IFS
4720
4721 fi
4722 fi
4723 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4724 if test -n "$ac_ct_AR"; then
4725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4726 $as_echo "$ac_ct_AR" >&6; }
4727 else
4728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4730 fi
4731
4732   if test "x$ac_ct_AR" = x; then
4733     AR=""
4734   else
4735     case $cross_compiling:$ac_tool_warned in
4736 yes:)
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4739 ac_tool_warned=yes ;;
4740 esac
4741     AR=$ac_ct_AR
4742   fi
4743 else
4744   AR="$ac_cv_prog_AR"
4745 fi
4746
4747 if test -n "$ac_tool_prefix"; then
4748   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4749 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4753   $as_echo_n "(cached) " >&6
4754 else
4755   if test -n "$RANLIB"; then
4756   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4757 else
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 for as_dir in $PATH
4760 do
4761   IFS=$as_save_IFS
4762   test -z "$as_dir" && as_dir=.
4763     for ac_exec_ext in '' $ac_executable_extensions; do
4764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4766     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767     break 2
4768   fi
4769 done
4770   done
4771 IFS=$as_save_IFS
4772
4773 fi
4774 fi
4775 RANLIB=$ac_cv_prog_RANLIB
4776 if test -n "$RANLIB"; then
4777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4778 $as_echo "$RANLIB" >&6; }
4779 else
4780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 fi
4783
4784
4785 fi
4786 if test -z "$ac_cv_prog_RANLIB"; then
4787   ac_ct_RANLIB=$RANLIB
4788   # Extract the first word of "ranlib", so it can be a program name with args.
4789 set dummy ranlib; ac_word=$2
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4791 $as_echo_n "checking for $ac_word... " >&6; }
4792 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4793   $as_echo_n "(cached) " >&6
4794 else
4795   if test -n "$ac_ct_RANLIB"; then
4796   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4797 else
4798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 for as_dir in $PATH
4800 do
4801   IFS=$as_save_IFS
4802   test -z "$as_dir" && as_dir=.
4803     for ac_exec_ext in '' $ac_executable_extensions; do
4804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4805     ac_cv_prog_ac_ct_RANLIB="ranlib"
4806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807     break 2
4808   fi
4809 done
4810   done
4811 IFS=$as_save_IFS
4812
4813 fi
4814 fi
4815 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4816 if test -n "$ac_ct_RANLIB"; then
4817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4818 $as_echo "$ac_ct_RANLIB" >&6; }
4819 else
4820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4821 $as_echo "no" >&6; }
4822 fi
4823
4824   if test "x$ac_ct_RANLIB" = x; then
4825     RANLIB="ranlib-not-found-in-path-error"
4826   else
4827     case $cross_compiling:$ac_tool_warned in
4828 yes:)
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4831 ac_tool_warned=yes ;;
4832 esac
4833     RANLIB=$ac_ct_RANLIB
4834   fi
4835 else
4836   RANLIB="$ac_cv_prog_RANLIB"
4837 fi
4838
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4840 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4841 set x ${MAKE-make}
4842 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4843 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4844   $as_echo_n "(cached) " >&6
4845 else
4846   cat >conftest.make <<\_ACEOF
4847 SHELL = /bin/sh
4848 all:
4849         @echo '@@@%%%=$(MAKE)=@@@%%%'
4850 _ACEOF
4851 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4852 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4853   *@@@%%%=?*=@@@%%%*)
4854     eval ac_cv_prog_make_${ac_make}_set=yes;;
4855   *)
4856     eval ac_cv_prog_make_${ac_make}_set=no;;
4857 esac
4858 rm -f conftest.make
4859 fi
4860 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4862 $as_echo "yes" >&6; }
4863   SET_MAKE=
4864 else
4865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4867   SET_MAKE="MAKE=${MAKE-make}"
4868 fi
4869
4870
4871
4872 # Configure libtool
4873 #AC_MSG_NOTICE([====== Starting libtool configuration])
4874 enable_dlopen=yes
4875
4876
4877
4878 case `pwd` in
4879   *\ * | *\     *)
4880     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4881 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4882 esac
4883
4884
4885
4886 macro_version='2.2.7a'
4887 macro_revision='1.3134'
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901 ltmain="$ac_aux_dir/ltmain.sh"
4902
4903 # Backslashify metacharacters that are still active within
4904 # double-quoted strings.
4905 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4906
4907 # Same as above, but do not quote variable references.
4908 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4909
4910 # Sed substitution to delay expansion of an escaped shell variable in a
4911 # double_quote_subst'ed string.
4912 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4913
4914 # Sed substitution to delay expansion of an escaped single quote.
4915 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4916
4917 # Sed substitution to avoid accidental globbing in evaled expressions
4918 no_glob_subst='s/\*/\\\*/g'
4919
4920 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4921 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4922 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4923
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4925 $as_echo_n "checking how to print strings... " >&6; }
4926 # Test print first, because it will be a builtin if present.
4927 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4928    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4929   ECHO='print -r --'
4930 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4931   ECHO='printf %s\n'
4932 else
4933   # Use this function as a fallback that always works.
4934   func_fallback_echo ()
4935   {
4936     eval 'cat <<_LTECHO_EOF
4937 $1
4938 _LTECHO_EOF'
4939   }
4940   ECHO='func_fallback_echo'
4941 fi
4942
4943 # func_echo_all arg...
4944 # Invoke $ECHO with all args, space-separated.
4945 func_echo_all ()
4946 {
4947     $ECHO ""
4948 }
4949
4950 case "$ECHO" in
4951   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4952 $as_echo "printf" >&6; } ;;
4953   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4954 $as_echo "print -r" >&6; } ;;
4955   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4956 $as_echo "cat" >&6; } ;;
4957 esac
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4973 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4974 if test "${ac_cv_path_SED+set}" = set; then :
4975   $as_echo_n "(cached) " >&6
4976 else
4977             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4978      for ac_i in 1 2 3 4 5 6 7; do
4979        ac_script="$ac_script$as_nl$ac_script"
4980      done
4981      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4982      { ac_script=; unset ac_script;}
4983      if test -z "$SED"; then
4984   ac_path_SED_found=false
4985   # Loop through the user's path and test for each of PROGNAME-LIST
4986   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989   IFS=$as_save_IFS
4990   test -z "$as_dir" && as_dir=.
4991     for ac_prog in sed gsed; do
4992     for ac_exec_ext in '' $ac_executable_extensions; do
4993       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4994       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4995 # Check for GNU ac_path_SED and select it if it is found.
4996   # Check for GNU $ac_path_SED
4997 case `"$ac_path_SED" --version 2>&1` in
4998 *GNU*)
4999   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5000 *)
5001   ac_count=0
5002   $as_echo_n 0123456789 >"conftest.in"
5003   while :
5004   do
5005     cat "conftest.in" "conftest.in" >"conftest.tmp"
5006     mv "conftest.tmp" "conftest.in"
5007     cp "conftest.in" "conftest.nl"
5008     $as_echo '' >> "conftest.nl"
5009     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5010     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5011     as_fn_arith $ac_count + 1 && ac_count=$as_val
5012     if test $ac_count -gt ${ac_path_SED_max-0}; then
5013       # Best one so far, save it but keep looking for a better one
5014       ac_cv_path_SED="$ac_path_SED"
5015       ac_path_SED_max=$ac_count
5016     fi
5017     # 10*(2^10) chars as input seems more than enough
5018     test $ac_count -gt 10 && break
5019   done
5020   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5021 esac
5022
5023       $ac_path_SED_found && break 3
5024     done
5025   done
5026   done
5027 IFS=$as_save_IFS
5028   if test -z "$ac_cv_path_SED"; then
5029     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5030   fi
5031 else
5032   ac_cv_path_SED=$SED
5033 fi
5034
5035 fi
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5037 $as_echo "$ac_cv_path_SED" >&6; }
5038  SED="$ac_cv_path_SED"
5039   rm -f conftest.sed
5040
5041 test -z "$SED" && SED=sed
5042 Xsed="$SED -e 1s/^X//"
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5055 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5056 if test "${ac_cv_path_GREP+set}" = set; then :
5057   $as_echo_n "(cached) " >&6
5058 else
5059   if test -z "$GREP"; then
5060   ac_path_GREP_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 grep ggrep; do
5068     for ac_exec_ext in '' $ac_executable_extensions; do
5069       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5070       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5071 # Check for GNU ac_path_GREP and select it if it is found.
5072   # Check for GNU $ac_path_GREP
5073 case `"$ac_path_GREP" --version 2>&1` in
5074 *GNU*)
5075   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_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 'GREP' >> "conftest.nl"
5085     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "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_GREP_max-0}; then
5089       # Best one so far, save it but keep looking for a better one
5090       ac_cv_path_GREP="$ac_path_GREP"
5091       ac_path_GREP_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_GREP_found && break 3
5100     done
5101   done
5102   done
5103 IFS=$as_save_IFS
5104   if test -z "$ac_cv_path_GREP"; then
5105     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5106   fi
5107 else
5108   ac_cv_path_GREP=$GREP
5109 fi
5110
5111 fi
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5113 $as_echo "$ac_cv_path_GREP" >&6; }
5114  GREP="$ac_cv_path_GREP"
5115
5116
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5118 $as_echo_n "checking for egrep... " >&6; }
5119 if test "${ac_cv_path_EGREP+set}" = set; then :
5120   $as_echo_n "(cached) " >&6
5121 else
5122   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5123    then ac_cv_path_EGREP="$GREP -E"
5124    else
5125      if test -z "$EGREP"; then
5126   ac_path_EGREP_found=false
5127   # Loop through the user's path and test for each of PROGNAME-LIST
5128   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5129 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5130 do
5131   IFS=$as_save_IFS
5132   test -z "$as_dir" && as_dir=.
5133     for ac_prog in egrep; do
5134     for ac_exec_ext in '' $ac_executable_extensions; do
5135       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5136       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5137 # Check for GNU ac_path_EGREP and select it if it is found.
5138   # Check for GNU $ac_path_EGREP
5139 case `"$ac_path_EGREP" --version 2>&1` in
5140 *GNU*)
5141   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5142 *)
5143   ac_count=0
5144   $as_echo_n 0123456789 >"conftest.in"
5145   while :
5146   do
5147     cat "conftest.in" "conftest.in" >"conftest.tmp"
5148     mv "conftest.tmp" "conftest.in"
5149     cp "conftest.in" "conftest.nl"
5150     $as_echo 'EGREP' >> "conftest.nl"
5151     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5152     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5153     as_fn_arith $ac_count + 1 && ac_count=$as_val
5154     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5155       # Best one so far, save it but keep looking for a better one
5156       ac_cv_path_EGREP="$ac_path_EGREP"
5157       ac_path_EGREP_max=$ac_count
5158     fi
5159     # 10*(2^10) chars as input seems more than enough
5160     test $ac_count -gt 10 && break
5161   done
5162   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5163 esac
5164
5165       $ac_path_EGREP_found && break 3
5166     done
5167   done
5168   done
5169 IFS=$as_save_IFS
5170   if test -z "$ac_cv_path_EGREP"; then
5171     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5172   fi
5173 else
5174   ac_cv_path_EGREP=$EGREP
5175 fi
5176
5177    fi
5178 fi
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5180 $as_echo "$ac_cv_path_EGREP" >&6; }
5181  EGREP="$ac_cv_path_EGREP"
5182
5183
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5185 $as_echo_n "checking for fgrep... " >&6; }
5186 if test "${ac_cv_path_FGREP+set}" = set; then :
5187   $as_echo_n "(cached) " >&6
5188 else
5189   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5190    then ac_cv_path_FGREP="$GREP -F"
5191    else
5192      if test -z "$FGREP"; then
5193   ac_path_FGREP_found=false
5194   # Loop through the user's path and test for each of PROGNAME-LIST
5195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5197 do
5198   IFS=$as_save_IFS
5199   test -z "$as_dir" && as_dir=.
5200     for ac_prog in fgrep; do
5201     for ac_exec_ext in '' $ac_executable_extensions; do
5202       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5203       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5204 # Check for GNU ac_path_FGREP and select it if it is found.
5205   # Check for GNU $ac_path_FGREP
5206 case `"$ac_path_FGREP" --version 2>&1` in
5207 *GNU*)
5208   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5209 *)
5210   ac_count=0
5211   $as_echo_n 0123456789 >"conftest.in"
5212   while :
5213   do
5214     cat "conftest.in" "conftest.in" >"conftest.tmp"
5215     mv "conftest.tmp" "conftest.in"
5216     cp "conftest.in" "conftest.nl"
5217     $as_echo 'FGREP' >> "conftest.nl"
5218     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5219     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5220     as_fn_arith $ac_count + 1 && ac_count=$as_val
5221     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5222       # Best one so far, save it but keep looking for a better one
5223       ac_cv_path_FGREP="$ac_path_FGREP"
5224       ac_path_FGREP_max=$ac_count
5225     fi
5226     # 10*(2^10) chars as input seems more than enough
5227     test $ac_count -gt 10 && break
5228   done
5229   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5230 esac
5231
5232       $ac_path_FGREP_found && break 3
5233     done
5234   done
5235   done
5236 IFS=$as_save_IFS
5237   if test -z "$ac_cv_path_FGREP"; then
5238     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5239   fi
5240 else
5241   ac_cv_path_FGREP=$FGREP
5242 fi
5243
5244    fi
5245 fi
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5247 $as_echo "$ac_cv_path_FGREP" >&6; }
5248  FGREP="$ac_cv_path_FGREP"
5249
5250
5251 test -z "$GREP" && GREP=grep
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271 # Check whether --with-gnu-ld was given.
5272 if test "${with_gnu_ld+set}" = set; then :
5273   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5274 else
5275   with_gnu_ld=no
5276 fi
5277
5278 ac_prog=ld
5279 if test "$GCC" = yes; then
5280   # Check if gcc -print-prog-name=ld gives a path.
5281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5282 $as_echo_n "checking for ld used by $CC... " >&6; }
5283   case $host in
5284   *-*-mingw*)
5285     # gcc leaves a trailing carriage return which upsets mingw
5286     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5287   *)
5288     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5289   esac
5290   case $ac_prog in
5291     # Accept absolute paths.
5292     [\\/]* | ?:[\\/]*)
5293       re_direlt='/[^/][^/]*/\.\./'
5294       # Canonicalize the pathname of ld
5295       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5296       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5297         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5298       done
5299       test -z "$LD" && LD="$ac_prog"
5300       ;;
5301   "")
5302     # If it fails, then pretend we aren't using GCC.
5303     ac_prog=ld
5304     ;;
5305   *)
5306     # If it is relative, then search for the first ld in PATH.
5307     with_gnu_ld=unknown
5308     ;;
5309   esac
5310 elif test "$with_gnu_ld" = yes; then
5311   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5312 $as_echo_n "checking for GNU ld... " >&6; }
5313 else
5314   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5315 $as_echo_n "checking for non-GNU ld... " >&6; }
5316 fi
5317 if test "${lt_cv_path_LD+set}" = set; then :
5318   $as_echo_n "(cached) " >&6
5319 else
5320   if test -z "$LD"; then
5321   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5322   for ac_dir in $PATH; do
5323     IFS="$lt_save_ifs"
5324     test -z "$ac_dir" && ac_dir=.
5325     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5326       lt_cv_path_LD="$ac_dir/$ac_prog"
5327       # Check to see if the program is GNU ld.  I'd rather use --version,
5328       # but apparently some variants of GNU ld only accept -v.
5329       # Break only if it was the GNU/non-GNU ld that we prefer.
5330       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5331       *GNU* | *'with BFD'*)
5332         test "$with_gnu_ld" != no && break
5333         ;;
5334       *)
5335         test "$with_gnu_ld" != yes && break
5336         ;;
5337       esac
5338     fi
5339   done
5340   IFS="$lt_save_ifs"
5341 else
5342   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5343 fi
5344 fi
5345
5346 LD="$lt_cv_path_LD"
5347 if test -n "$LD"; then
5348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5349 $as_echo "$LD" >&6; }
5350 else
5351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5353 fi
5354 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5356 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5357 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5358   $as_echo_n "(cached) " >&6
5359 else
5360   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5361 case `$LD -v 2>&1 </dev/null` in
5362 *GNU* | *'with BFD'*)
5363   lt_cv_prog_gnu_ld=yes
5364   ;;
5365 *)
5366   lt_cv_prog_gnu_ld=no
5367   ;;
5368 esac
5369 fi
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5371 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5372 with_gnu_ld=$lt_cv_prog_gnu_ld
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5383 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5384 if test "${lt_cv_path_NM+set}" = set; then :
5385   $as_echo_n "(cached) " >&6
5386 else
5387   if test -n "$NM"; then
5388   # Let the user override the test.
5389   lt_cv_path_NM="$NM"
5390 else
5391   lt_nm_to_check="${ac_tool_prefix}nm"
5392   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5393     lt_nm_to_check="$lt_nm_to_check nm"
5394   fi
5395   for lt_tmp_nm in $lt_nm_to_check; do
5396     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5397     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5398       IFS="$lt_save_ifs"
5399       test -z "$ac_dir" && ac_dir=.
5400       tmp_nm="$ac_dir/$lt_tmp_nm"
5401       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5402         # Check to see if the nm accepts a BSD-compat flag.
5403         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5404         #   nm: unknown option "B" ignored
5405         # Tru64's nm complains that /dev/null is an invalid object file
5406         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5407         */dev/null* | *'Invalid file or object type'*)
5408           lt_cv_path_NM="$tmp_nm -B"
5409           break
5410           ;;
5411         *)
5412           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5413           */dev/null*)
5414             lt_cv_path_NM="$tmp_nm -p"
5415             break
5416             ;;
5417           *)
5418             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5419             continue # so that we can try to find one that supports BSD flags
5420             ;;
5421           esac
5422           ;;
5423         esac
5424       fi
5425     done
5426     IFS="$lt_save_ifs"
5427   done
5428   : ${lt_cv_path_NM=no}
5429 fi
5430 fi
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5432 $as_echo "$lt_cv_path_NM" >&6; }
5433 if test "$lt_cv_path_NM" != "no"; then
5434   NM="$lt_cv_path_NM"
5435 else
5436   # Didn't find any BSD compatible name lister, look for dumpbin.
5437   if test -n "$DUMPBIN"; then :
5438     # Let the user override the test.
5439   else
5440     if test -n "$ac_tool_prefix"; then
5441   for ac_prog in dumpbin "link -dump"
5442   do
5443     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5444 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446 $as_echo_n "checking for $ac_word... " >&6; }
5447 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5448   $as_echo_n "(cached) " >&6
5449 else
5450   if test -n "$DUMPBIN"; then
5451   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5452 else
5453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5454 for as_dir in $PATH
5455 do
5456   IFS=$as_save_IFS
5457   test -z "$as_dir" && as_dir=.
5458     for ac_exec_ext in '' $ac_executable_extensions; do
5459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5460     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5462     break 2
5463   fi
5464 done
5465   done
5466 IFS=$as_save_IFS
5467
5468 fi
5469 fi
5470 DUMPBIN=$ac_cv_prog_DUMPBIN
5471 if test -n "$DUMPBIN"; then
5472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5473 $as_echo "$DUMPBIN" >&6; }
5474 else
5475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5476 $as_echo "no" >&6; }
5477 fi
5478
5479
5480     test -n "$DUMPBIN" && break
5481   done
5482 fi
5483 if test -z "$DUMPBIN"; then
5484   ac_ct_DUMPBIN=$DUMPBIN
5485   for ac_prog in dumpbin "link -dump"
5486 do
5487   # Extract the first word of "$ac_prog", so it can be a program name with args.
5488 set dummy $ac_prog; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5492   $as_echo_n "(cached) " >&6
5493 else
5494   if test -n "$ac_ct_DUMPBIN"; then
5495   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5499 do
5500   IFS=$as_save_IFS
5501   test -z "$as_dir" && as_dir=.
5502     for ac_exec_ext in '' $ac_executable_extensions; do
5503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506     break 2
5507   fi
5508 done
5509   done
5510 IFS=$as_save_IFS
5511
5512 fi
5513 fi
5514 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5515 if test -n "$ac_ct_DUMPBIN"; then
5516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5517 $as_echo "$ac_ct_DUMPBIN" >&6; }
5518 else
5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5521 fi
5522
5523
5524   test -n "$ac_ct_DUMPBIN" && break
5525 done
5526
5527   if test "x$ac_ct_DUMPBIN" = x; then
5528     DUMPBIN=":"
5529   else
5530     case $cross_compiling:$ac_tool_warned in
5531 yes:)
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5533 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5534 ac_tool_warned=yes ;;
5535 esac
5536     DUMPBIN=$ac_ct_DUMPBIN
5537   fi
5538 fi
5539
5540     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5541     *COFF*)
5542       DUMPBIN="$DUMPBIN -symbols"
5543       ;;
5544     *)
5545       DUMPBIN=:
5546       ;;
5547     esac
5548   fi
5549
5550   if test "$DUMPBIN" != ":"; then
5551     NM="$DUMPBIN"
5552   fi
5553 fi
5554 test -z "$NM" && NM=nm
5555
5556
5557
5558
5559
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5562 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5563 if test "${lt_cv_nm_interface+set}" = set; then :
5564   $as_echo_n "(cached) " >&6
5565 else
5566   lt_cv_nm_interface="BSD nm"
5567   echo "int some_variable = 0;" > conftest.$ac_ext
5568   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5569   (eval "$ac_compile" 2>conftest.err)
5570   cat conftest.err >&5
5571   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5572   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5573   cat conftest.err >&5
5574   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5575   cat conftest.out >&5
5576   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5577     lt_cv_nm_interface="MS dumpbin"
5578   fi
5579   rm -f conftest*
5580 fi
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5582 $as_echo "$lt_cv_nm_interface" >&6; }
5583
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5585 $as_echo_n "checking whether ln -s works... " >&6; }
5586 LN_S=$as_ln_s
5587 if test "$LN_S" = "ln -s"; then
5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5589 $as_echo "yes" >&6; }
5590 else
5591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5592 $as_echo "no, using $LN_S" >&6; }
5593 fi
5594
5595 # find the maximum length of command line arguments
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5597 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5598 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5599   $as_echo_n "(cached) " >&6
5600 else
5601     i=0
5602   teststring="ABCD"
5603
5604   case $build_os in
5605   msdosdjgpp*)
5606     # On DJGPP, this test can blow up pretty badly due to problems in libc
5607     # (any single argument exceeding 2000 bytes causes a buffer overrun
5608     # during glob expansion).  Even if it were fixed, the result of this
5609     # check would be larger than it should be.
5610     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5611     ;;
5612
5613   gnu*)
5614     # Under GNU Hurd, this test is not required because there is
5615     # no limit to the length of command line arguments.
5616     # Libtool will interpret -1 as no limit whatsoever
5617     lt_cv_sys_max_cmd_len=-1;
5618     ;;
5619
5620   cygwin* | mingw* | cegcc*)
5621     # On Win9x/ME, this test blows up -- it succeeds, but takes
5622     # about 5 minutes as the teststring grows exponentially.
5623     # Worse, since 9x/ME are not pre-emptively multitasking,
5624     # you end up with a "frozen" computer, even though with patience
5625     # the test eventually succeeds (with a max line length of 256k).
5626     # Instead, let's just punt: use the minimum linelength reported by
5627     # all of the supported platforms: 8192 (on NT/2K/XP).
5628     lt_cv_sys_max_cmd_len=8192;
5629     ;;
5630
5631   mint*)
5632     # On MiNT this can take a long time and run out of memory.
5633     lt_cv_sys_max_cmd_len=8192;
5634     ;;
5635
5636   amigaos*)
5637     # On AmigaOS with pdksh, this test takes hours, literally.
5638     # So we just punt and use a minimum line length of 8192.
5639     lt_cv_sys_max_cmd_len=8192;
5640     ;;
5641
5642   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5643     # This has been around since 386BSD, at least.  Likely further.
5644     if test -x /sbin/sysctl; then
5645       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5646     elif test -x /usr/sbin/sysctl; then
5647       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5648     else
5649       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5650     fi
5651     # And add a safety zone
5652     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5653     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5654     ;;
5655
5656   interix*)
5657     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5658     lt_cv_sys_max_cmd_len=196608
5659     ;;
5660
5661   osf*)
5662     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5663     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5664     # nice to cause kernel panics so lets avoid the loop below.
5665     # First set a reasonable default.
5666     lt_cv_sys_max_cmd_len=16384
5667     #
5668     if test -x /sbin/sysconfig; then
5669       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5670         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5671       esac
5672     fi
5673     ;;
5674   sco3.2v5*)
5675     lt_cv_sys_max_cmd_len=102400
5676     ;;
5677   sysv5* | sco5v6* | sysv4.2uw2*)
5678     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5679     if test -n "$kargmax"; then
5680       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5681     else
5682       lt_cv_sys_max_cmd_len=32768
5683     fi
5684     ;;
5685   *)
5686     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5687     if test -n "$lt_cv_sys_max_cmd_len"; then
5688       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5689       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5690     else
5691       # Make teststring a little bigger before we do anything with it.
5692       # a 1K string should be a reasonable start.
5693       for i in 1 2 3 4 5 6 7 8 ; do
5694         teststring=$teststring$teststring
5695       done
5696       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5697       # If test is not a shell built-in, we'll probably end up computing a
5698       # maximum length that is only half of the actual maximum length, but
5699       # we can't tell.
5700       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5701                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5702               test $i != 17 # 1/2 MB should be enough
5703       do
5704         i=`expr $i + 1`
5705         teststring=$teststring$teststring
5706       done
5707       # Only check the string length outside the loop.
5708       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5709       teststring=
5710       # Add a significant safety factor because C++ compilers can tack on
5711       # massive amounts of additional arguments before passing them to the
5712       # linker.  It appears as though 1/2 is a usable value.
5713       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5714     fi
5715     ;;
5716   esac
5717
5718 fi
5719
5720 if test -n $lt_cv_sys_max_cmd_len ; then
5721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5722 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5723 else
5724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5725 $as_echo "none" >&6; }
5726 fi
5727 max_cmd_len=$lt_cv_sys_max_cmd_len
5728
5729
5730
5731
5732
5733
5734 : ${CP="cp -f"}
5735 : ${MV="mv -f"}
5736 : ${RM="rm -f"}
5737
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5739 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5740 # Try some XSI features
5741 xsi_shell=no
5742 ( _lt_dummy="a/b/c"
5743   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5744       = c,a/b,, \
5745     && eval 'test $(( 1 + 1 )) -eq 2 \
5746     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5747   && xsi_shell=yes
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5749 $as_echo "$xsi_shell" >&6; }
5750
5751
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5753 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5754 lt_shell_append=no
5755 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5756     >/dev/null 2>&1 \
5757   && lt_shell_append=yes
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5759 $as_echo "$lt_shell_append" >&6; }
5760
5761
5762 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5763   lt_unset=unset
5764 else
5765   lt_unset=false
5766 fi
5767
5768
5769
5770
5771
5772 # test EBCDIC or ASCII
5773 case `echo X|tr X '\101'` in
5774  A) # ASCII based system
5775     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5776   lt_SP2NL='tr \040 \012'
5777   lt_NL2SP='tr \015\012 \040\040'
5778   ;;
5779  *) # EBCDIC based system
5780   lt_SP2NL='tr \100 \n'
5781   lt_NL2SP='tr \r\n \100\100'
5782   ;;
5783 esac
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5794 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5795 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5796   $as_echo_n "(cached) " >&6
5797 else
5798   lt_cv_ld_reload_flag='-r'
5799 fi
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5801 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5802 reload_flag=$lt_cv_ld_reload_flag
5803 case $reload_flag in
5804 "" | " "*) ;;
5805 *) reload_flag=" $reload_flag" ;;
5806 esac
5807 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5808 case $host_os in
5809   darwin*)
5810     if test "$GCC" = yes; then
5811       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5812     else
5813       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5814     fi
5815     ;;
5816 esac
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826 if test -n "$ac_tool_prefix"; then
5827   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5828 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830 $as_echo_n "checking for $ac_word... " >&6; }
5831 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5832   $as_echo_n "(cached) " >&6
5833 else
5834   if test -n "$OBJDUMP"; then
5835   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5836 else
5837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838 for as_dir in $PATH
5839 do
5840   IFS=$as_save_IFS
5841   test -z "$as_dir" && as_dir=.
5842     for ac_exec_ext in '' $ac_executable_extensions; do
5843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5844     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846     break 2
5847   fi
5848 done
5849   done
5850 IFS=$as_save_IFS
5851
5852 fi
5853 fi
5854 OBJDUMP=$ac_cv_prog_OBJDUMP
5855 if test -n "$OBJDUMP"; then
5856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5857 $as_echo "$OBJDUMP" >&6; }
5858 else
5859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860 $as_echo "no" >&6; }
5861 fi
5862
5863
5864 fi
5865 if test -z "$ac_cv_prog_OBJDUMP"; then
5866   ac_ct_OBJDUMP=$OBJDUMP
5867   # Extract the first word of "objdump", so it can be a program name with args.
5868 set dummy objdump; ac_word=$2
5869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5870 $as_echo_n "checking for $ac_word... " >&6; }
5871 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5872   $as_echo_n "(cached) " >&6
5873 else
5874   if test -n "$ac_ct_OBJDUMP"; then
5875   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5876 else
5877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 for as_dir in $PATH
5879 do
5880   IFS=$as_save_IFS
5881   test -z "$as_dir" && as_dir=.
5882     for ac_exec_ext in '' $ac_executable_extensions; do
5883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5884     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5886     break 2
5887   fi
5888 done
5889   done
5890 IFS=$as_save_IFS
5891
5892 fi
5893 fi
5894 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5895 if test -n "$ac_ct_OBJDUMP"; then
5896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5897 $as_echo "$ac_ct_OBJDUMP" >&6; }
5898 else
5899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5900 $as_echo "no" >&6; }
5901 fi
5902
5903   if test "x$ac_ct_OBJDUMP" = x; then
5904     OBJDUMP="false"
5905   else
5906     case $cross_compiling:$ac_tool_warned in
5907 yes:)
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5910 ac_tool_warned=yes ;;
5911 esac
5912     OBJDUMP=$ac_ct_OBJDUMP
5913   fi
5914 else
5915   OBJDUMP="$ac_cv_prog_OBJDUMP"
5916 fi
5917
5918 test -z "$OBJDUMP" && OBJDUMP=objdump
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5929 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5930 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5931   $as_echo_n "(cached) " >&6
5932 else
5933   lt_cv_file_magic_cmd='$MAGIC_CMD'
5934 lt_cv_file_magic_test_file=
5935 lt_cv_deplibs_check_method='unknown'
5936 # Need to set the preceding variable on all platforms that support
5937 # interlibrary dependencies.
5938 # 'none' -- dependencies not supported.
5939 # `unknown' -- same as none, but documents that we really don't know.
5940 # 'pass_all' -- all dependencies passed with no checks.
5941 # 'test_compile' -- check by making test program.
5942 # 'file_magic [[regex]]' -- check by looking for files in library path
5943 # which responds to the $file_magic_cmd with a given extended regex.
5944 # If you have `file' or equivalent on your system and you're not sure
5945 # whether `pass_all' will *always* work, you probably want this one.
5946
5947 case $host_os in
5948 aix[4-9]*)
5949   lt_cv_deplibs_check_method=pass_all
5950   ;;
5951
5952 beos*)
5953   lt_cv_deplibs_check_method=pass_all
5954   ;;
5955
5956 bsdi[45]*)
5957   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5958   lt_cv_file_magic_cmd='/usr/bin/file -L'
5959   lt_cv_file_magic_test_file=/shlib/libc.so
5960   ;;
5961
5962 cygwin*)
5963   # func_win32_libid is a shell function defined in ltmain.sh
5964   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5965   lt_cv_file_magic_cmd='func_win32_libid'
5966   ;;
5967
5968 mingw* | pw32*)
5969   # Base MSYS/MinGW do not provide the 'file' command needed by
5970   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5971   # unless we find 'file', for example because we are cross-compiling.
5972   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5973   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5974     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5975     lt_cv_file_magic_cmd='func_win32_libid'
5976   else
5977     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5978     lt_cv_file_magic_cmd='$OBJDUMP -f'
5979   fi
5980   ;;
5981
5982 cegcc*)
5983   # use the weaker test based on 'objdump'. See mingw*.
5984   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5985   lt_cv_file_magic_cmd='$OBJDUMP -f'
5986   ;;
5987
5988 darwin* | rhapsody*)
5989   lt_cv_deplibs_check_method=pass_all
5990   ;;
5991
5992 freebsd* | dragonfly*)
5993   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5994     case $host_cpu in
5995     i*86 )
5996       # Not sure whether the presence of OpenBSD here was a mistake.
5997       # Let's accept both of them until this is cleared up.
5998       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5999       lt_cv_file_magic_cmd=/usr/bin/file
6000       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6001       ;;
6002     esac
6003   else
6004     lt_cv_deplibs_check_method=pass_all
6005   fi
6006   ;;
6007
6008 gnu*)
6009   lt_cv_deplibs_check_method=pass_all
6010   ;;
6011
6012 haiku*)
6013   lt_cv_deplibs_check_method=pass_all
6014   ;;
6015
6016 hpux10.20* | hpux11*)
6017   lt_cv_file_magic_cmd=/usr/bin/file
6018   case $host_cpu in
6019   ia64*)
6020     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6021     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6022     ;;
6023   hppa*64*)
6024     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]'
6025     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6026     ;;
6027   *)
6028     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6029     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6030     ;;
6031   esac
6032   ;;
6033
6034 interix[3-9]*)
6035   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6036   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6037   ;;
6038
6039 irix5* | irix6* | nonstopux*)
6040   case $LD in
6041   *-32|*"-32 ") libmagic=32-bit;;
6042   *-n32|*"-n32 ") libmagic=N32;;
6043   *-64|*"-64 ") libmagic=64-bit;;
6044   *) libmagic=never-match;;
6045   esac
6046   lt_cv_deplibs_check_method=pass_all
6047   ;;
6048
6049 # This must be Linux ELF.
6050 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6051   lt_cv_deplibs_check_method=pass_all
6052   ;;
6053
6054 netbsd*)
6055   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6056     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6057   else
6058     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6059   fi
6060   ;;
6061
6062 newos6*)
6063   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6064   lt_cv_file_magic_cmd=/usr/bin/file
6065   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6066   ;;
6067
6068 *nto* | *qnx*)
6069   lt_cv_deplibs_check_method=pass_all
6070   ;;
6071
6072 openbsd*)
6073   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6074     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6075   else
6076     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6077   fi
6078   ;;
6079
6080 osf3* | osf4* | osf5*)
6081   lt_cv_deplibs_check_method=pass_all
6082   ;;
6083
6084 rdos*)
6085   lt_cv_deplibs_check_method=pass_all
6086   ;;
6087
6088 solaris*)
6089   lt_cv_deplibs_check_method=pass_all
6090   ;;
6091
6092 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6093   lt_cv_deplibs_check_method=pass_all
6094   ;;
6095
6096 sysv4 | sysv4.3*)
6097   case $host_vendor in
6098   motorola)
6099     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]'
6100     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6101     ;;
6102   ncr)
6103     lt_cv_deplibs_check_method=pass_all
6104     ;;
6105   sequent)
6106     lt_cv_file_magic_cmd='/bin/file'
6107     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6108     ;;
6109   sni)
6110     lt_cv_file_magic_cmd='/bin/file'
6111     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6112     lt_cv_file_magic_test_file=/lib/libc.so
6113     ;;
6114   siemens)
6115     lt_cv_deplibs_check_method=pass_all
6116     ;;
6117   pc)
6118     lt_cv_deplibs_check_method=pass_all
6119     ;;
6120   esac
6121   ;;
6122
6123 tpf*)
6124   lt_cv_deplibs_check_method=pass_all
6125   ;;
6126 esac
6127
6128 fi
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6130 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6131 file_magic_cmd=$lt_cv_file_magic_cmd
6132 deplibs_check_method=$lt_cv_deplibs_check_method
6133 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146 if test -n "$ac_tool_prefix"; then
6147   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6148 set dummy ${ac_tool_prefix}ar; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if test "${ac_cv_prog_AR+set}" = set; then :
6152   $as_echo_n "(cached) " >&6
6153 else
6154   if test -n "$AR"; then
6155   ac_cv_prog_AR="$AR" # Let the user override the test.
6156 else
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 for as_dir in $PATH
6159 do
6160   IFS=$as_save_IFS
6161   test -z "$as_dir" && as_dir=.
6162     for ac_exec_ext in '' $ac_executable_extensions; do
6163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6164     ac_cv_prog_AR="${ac_tool_prefix}ar"
6165     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6166     break 2
6167   fi
6168 done
6169   done
6170 IFS=$as_save_IFS
6171
6172 fi
6173 fi
6174 AR=$ac_cv_prog_AR
6175 if test -n "$AR"; then
6176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6177 $as_echo "$AR" >&6; }
6178 else
6179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6181 fi
6182
6183
6184 fi
6185 if test -z "$ac_cv_prog_AR"; then
6186   ac_ct_AR=$AR
6187   # Extract the first word of "ar", so it can be a program name with args.
6188 set dummy ar; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6192   $as_echo_n "(cached) " >&6
6193 else
6194   if test -n "$ac_ct_AR"; then
6195   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6199 do
6200   IFS=$as_save_IFS
6201   test -z "$as_dir" && as_dir=.
6202     for ac_exec_ext in '' $ac_executable_extensions; do
6203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6204     ac_cv_prog_ac_ct_AR="ar"
6205     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206     break 2
6207   fi
6208 done
6209   done
6210 IFS=$as_save_IFS
6211
6212 fi
6213 fi
6214 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6215 if test -n "$ac_ct_AR"; then
6216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6217 $as_echo "$ac_ct_AR" >&6; }
6218 else
6219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6221 fi
6222
6223   if test "x$ac_ct_AR" = x; then
6224     AR="false"
6225   else
6226     case $cross_compiling:$ac_tool_warned in
6227 yes:)
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6230 ac_tool_warned=yes ;;
6231 esac
6232     AR=$ac_ct_AR
6233   fi
6234 else
6235   AR="$ac_cv_prog_AR"
6236 fi
6237
6238 test -z "$AR" && AR=ar
6239 test -z "$AR_FLAGS" && AR_FLAGS=cru
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251 if test -n "$ac_tool_prefix"; then
6252   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}strip; ac_word=$2
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6255 $as_echo_n "checking for $ac_word... " >&6; }
6256 if test "${ac_cv_prog_STRIP+set}" = set; then :
6257   $as_echo_n "(cached) " >&6
6258 else
6259   if test -n "$STRIP"; then
6260   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6264 do
6265   IFS=$as_save_IFS
6266   test -z "$as_dir" && as_dir=.
6267     for ac_exec_ext in '' $ac_executable_extensions; do
6268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6269     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271     break 2
6272   fi
6273 done
6274   done
6275 IFS=$as_save_IFS
6276
6277 fi
6278 fi
6279 STRIP=$ac_cv_prog_STRIP
6280 if test -n "$STRIP"; then
6281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6282 $as_echo "$STRIP" >&6; }
6283 else
6284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6285 $as_echo "no" >&6; }
6286 fi
6287
6288
6289 fi
6290 if test -z "$ac_cv_prog_STRIP"; then
6291   ac_ct_STRIP=$STRIP
6292   # Extract the first word of "strip", so it can be a program name with args.
6293 set dummy strip; ac_word=$2
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6295 $as_echo_n "checking for $ac_word... " >&6; }
6296 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6297   $as_echo_n "(cached) " >&6
6298 else
6299   if test -n "$ac_ct_STRIP"; then
6300   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6301 else
6302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6303 for as_dir in $PATH
6304 do
6305   IFS=$as_save_IFS
6306   test -z "$as_dir" && as_dir=.
6307     for ac_exec_ext in '' $ac_executable_extensions; do
6308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6309     ac_cv_prog_ac_ct_STRIP="strip"
6310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6311     break 2
6312   fi
6313 done
6314   done
6315 IFS=$as_save_IFS
6316
6317 fi
6318 fi
6319 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6320 if test -n "$ac_ct_STRIP"; then
6321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6322 $as_echo "$ac_ct_STRIP" >&6; }
6323 else
6324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6325 $as_echo "no" >&6; }
6326 fi
6327
6328   if test "x$ac_ct_STRIP" = x; then
6329     STRIP=":"
6330   else
6331     case $cross_compiling:$ac_tool_warned in
6332 yes:)
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6335 ac_tool_warned=yes ;;
6336 esac
6337     STRIP=$ac_ct_STRIP
6338   fi
6339 else
6340   STRIP="$ac_cv_prog_STRIP"
6341 fi
6342
6343 test -z "$STRIP" && STRIP=:
6344
6345
6346
6347
6348
6349
6350 if test -n "$ac_tool_prefix"; then
6351   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6352 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6356   $as_echo_n "(cached) " >&6
6357 else
6358   if test -n "$RANLIB"; then
6359   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6360 else
6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6362 for as_dir in $PATH
6363 do
6364   IFS=$as_save_IFS
6365   test -z "$as_dir" && as_dir=.
6366     for ac_exec_ext in '' $ac_executable_extensions; do
6367   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370     break 2
6371   fi
6372 done
6373   done
6374 IFS=$as_save_IFS
6375
6376 fi
6377 fi
6378 RANLIB=$ac_cv_prog_RANLIB
6379 if test -n "$RANLIB"; then
6380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6381 $as_echo "$RANLIB" >&6; }
6382 else
6383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6384 $as_echo "no" >&6; }
6385 fi
6386
6387
6388 fi
6389 if test -z "$ac_cv_prog_RANLIB"; then
6390   ac_ct_RANLIB=$RANLIB
6391   # Extract the first word of "ranlib", so it can be a program name with args.
6392 set dummy ranlib; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6396   $as_echo_n "(cached) " >&6
6397 else
6398   if test -n "$ac_ct_RANLIB"; then
6399   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6403 do
6404   IFS=$as_save_IFS
6405   test -z "$as_dir" && as_dir=.
6406     for ac_exec_ext in '' $ac_executable_extensions; do
6407   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408     ac_cv_prog_ac_ct_RANLIB="ranlib"
6409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410     break 2
6411   fi
6412 done
6413   done
6414 IFS=$as_save_IFS
6415
6416 fi
6417 fi
6418 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6419 if test -n "$ac_ct_RANLIB"; then
6420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6421 $as_echo "$ac_ct_RANLIB" >&6; }
6422 else
6423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6425 fi
6426
6427   if test "x$ac_ct_RANLIB" = x; then
6428     RANLIB=":"
6429   else
6430     case $cross_compiling:$ac_tool_warned in
6431 yes:)
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6434 ac_tool_warned=yes ;;
6435 esac
6436     RANLIB=$ac_ct_RANLIB
6437   fi
6438 else
6439   RANLIB="$ac_cv_prog_RANLIB"
6440 fi
6441
6442 test -z "$RANLIB" && RANLIB=:
6443
6444
6445
6446
6447
6448
6449 # Determine commands to create old-style static archives.
6450 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6451 old_postinstall_cmds='chmod 644 $oldlib'
6452 old_postuninstall_cmds=
6453
6454 if test -n "$RANLIB"; then
6455   case $host_os in
6456   openbsd*)
6457     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6458     ;;
6459   *)
6460     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6461     ;;
6462   esac
6463   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6464 fi
6465
6466 case $host_os in
6467   darwin*)
6468     lock_old_archive_extraction=yes ;;
6469   *)
6470     lock_old_archive_extraction=no ;;
6471 esac
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511 # If no C compiler was specified, use CC.
6512 LTCC=${LTCC-"$CC"}
6513
6514 # If no C compiler flags were specified, use CFLAGS.
6515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6516
6517 # Allow CC to be a program name with arguments.
6518 compiler=$CC
6519
6520
6521 # Check for command to grab the raw symbol name followed by C symbol from nm.
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6523 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6524 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6525   $as_echo_n "(cached) " >&6
6526 else
6527
6528 # These are sane defaults that work on at least a few old systems.
6529 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6530
6531 # Character class describing NM global symbol codes.
6532 symcode='[BCDEGRST]'
6533
6534 # Regexp to match symbols that can be accessed directly from C.
6535 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6536
6537 # Define system-specific variables.
6538 case $host_os in
6539 aix*)
6540   symcode='[BCDT]'
6541   ;;
6542 cygwin* | mingw* | pw32* | cegcc*)
6543   symcode='[ABCDGISTW]'
6544   ;;
6545 hpux*)
6546   if test "$host_cpu" = ia64; then
6547     symcode='[ABCDEGRST]'
6548   fi
6549   ;;
6550 irix* | nonstopux*)
6551   symcode='[BCDEGRST]'
6552   ;;
6553 osf*)
6554   symcode='[BCDEGQRST]'
6555   ;;
6556 solaris*)
6557   symcode='[BDRT]'
6558   ;;
6559 sco3.2v5*)
6560   symcode='[DT]'
6561   ;;
6562 sysv4.2uw2*)
6563   symcode='[DT]'
6564   ;;
6565 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6566   symcode='[ABDT]'
6567   ;;
6568 sysv4)
6569   symcode='[DFNSTU]'
6570   ;;
6571 esac
6572
6573 # If we're using GNU nm, then use its standard symbol codes.
6574 case `$NM -V 2>&1` in
6575 *GNU* | *'with BFD'*)
6576   symcode='[ABCDGIRSTW]' ;;
6577 esac
6578
6579 # Transform an extracted symbol line into a proper C declaration.
6580 # Some systems (esp. on ia64) link data and code symbols differently,
6581 # so use this general approach.
6582 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6583
6584 # Transform an extracted symbol line into symbol name and symbol address
6585 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6586 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'"
6587
6588 # Handle CRLF in mingw tool chain
6589 opt_cr=
6590 case $build_os in
6591 mingw*)
6592   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6593   ;;
6594 esac
6595
6596 # Try without a prefix underscore, then with it.
6597 for ac_symprfx in "" "_"; do
6598
6599   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6600   symxfrm="\\1 $ac_symprfx\\2 \\2"
6601
6602   # Write the raw and C identifiers.
6603   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6604     # Fake it for dumpbin and say T for any non-static function
6605     # and D for any global variable.
6606     # Also find C++ and __fastcall symbols from MSVC++,
6607     # which start with @ or ?.
6608     lt_cv_sys_global_symbol_pipe="$AWK '"\
6609 "     {last_section=section; section=\$ 3};"\
6610 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6611 "     \$ 0!~/External *\|/{next};"\
6612 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6613 "     {if(hide[section]) next};"\
6614 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6615 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6616 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6617 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6618 "     ' prfx=^$ac_symprfx"
6619   else
6620     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6621   fi
6622
6623   # Check to see that the pipe works correctly.
6624   pipe_works=no
6625
6626   rm -f conftest*
6627   cat > conftest.$ac_ext <<_LT_EOF
6628 #ifdef __cplusplus
6629 extern "C" {
6630 #endif
6631 char nm_test_var;
6632 void nm_test_func(void);
6633 void nm_test_func(void){}
6634 #ifdef __cplusplus
6635 }
6636 #endif
6637 int main(){nm_test_var='a';nm_test_func();return(0);}
6638 _LT_EOF
6639
6640   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6641   (eval $ac_compile) 2>&5
6642   ac_status=$?
6643   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6644   test $ac_status = 0; }; then
6645     # Now try to grab the symbols.
6646     nlist=conftest.nm
6647     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6648   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6649   ac_status=$?
6650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6651   test $ac_status = 0; } && test -s "$nlist"; then
6652       # Try sorting and uniquifying the output.
6653       if sort "$nlist" | uniq > "$nlist"T; then
6654         mv -f "$nlist"T "$nlist"
6655       else
6656         rm -f "$nlist"T
6657       fi
6658
6659       # Make sure that we snagged all the symbols we need.
6660       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6661         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6662           cat <<_LT_EOF > conftest.$ac_ext
6663 #ifdef __cplusplus
6664 extern "C" {
6665 #endif
6666
6667 _LT_EOF
6668           # Now generate the symbol file.
6669           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6670
6671           cat <<_LT_EOF >> conftest.$ac_ext
6672
6673 /* The mapping between symbol names and symbols.  */
6674 const struct {
6675   const char *name;
6676   void       *address;
6677 }
6678 lt__PROGRAM__LTX_preloaded_symbols[] =
6679 {
6680   { "@PROGRAM@", (void *) 0 },
6681 _LT_EOF
6682           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6683           cat <<\_LT_EOF >> conftest.$ac_ext
6684   {0, (void *) 0}
6685 };
6686
6687 /* This works around a problem in FreeBSD linker */
6688 #ifdef FREEBSD_WORKAROUND
6689 static const void *lt_preloaded_setup() {
6690   return lt__PROGRAM__LTX_preloaded_symbols;
6691 }
6692 #endif
6693
6694 #ifdef __cplusplus
6695 }
6696 #endif
6697 _LT_EOF
6698           # Now try linking the two files.
6699           mv conftest.$ac_objext conftstm.$ac_objext
6700           lt_save_LIBS="$LIBS"
6701           lt_save_CFLAGS="$CFLAGS"
6702           LIBS="conftstm.$ac_objext"
6703           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6704           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6705   (eval $ac_link) 2>&5
6706   ac_status=$?
6707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6708   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6709             pipe_works=yes
6710           fi
6711           LIBS="$lt_save_LIBS"
6712           CFLAGS="$lt_save_CFLAGS"
6713         else
6714           echo "cannot find nm_test_func in $nlist" >&5
6715         fi
6716       else
6717         echo "cannot find nm_test_var in $nlist" >&5
6718       fi
6719     else
6720       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6721     fi
6722   else
6723     echo "$progname: failed program was:" >&5
6724     cat conftest.$ac_ext >&5
6725   fi
6726   rm -rf conftest* conftst*
6727
6728   # Do not use the global_symbol_pipe unless it works.
6729   if test "$pipe_works" = yes; then
6730     break
6731   else
6732     lt_cv_sys_global_symbol_pipe=
6733   fi
6734 done
6735
6736 fi
6737
6738 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6739   lt_cv_sys_global_symbol_to_cdecl=
6740 fi
6741 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6743 $as_echo "failed" >&6; }
6744 else
6745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6746 $as_echo "ok" >&6; }
6747 fi
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770 # Check whether --enable-libtool-lock was given.
6771 if test "${enable_libtool_lock+set}" = set; then :
6772   enableval=$enable_libtool_lock;
6773 fi
6774
6775 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6776
6777 # Some flags need to be propagated to the compiler or linker for good
6778 # libtool support.
6779 case $host in
6780 ia64-*-hpux*)
6781   # Find out which ABI we are using.
6782   echo 'int i;' > conftest.$ac_ext
6783   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6784   (eval $ac_compile) 2>&5
6785   ac_status=$?
6786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6787   test $ac_status = 0; }; then
6788     case `/usr/bin/file conftest.$ac_objext` in
6789       *ELF-32*)
6790         HPUX_IA64_MODE="32"
6791         ;;
6792       *ELF-64*)
6793         HPUX_IA64_MODE="64"
6794         ;;
6795     esac
6796   fi
6797   rm -rf conftest*
6798   ;;
6799 *-*-irix6*)
6800   # Find out which ABI we are using.
6801   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6802   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6803   (eval $ac_compile) 2>&5
6804   ac_status=$?
6805   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6806   test $ac_status = 0; }; then
6807     if test "$lt_cv_prog_gnu_ld" = yes; then
6808       case `/usr/bin/file conftest.$ac_objext` in
6809         *32-bit*)
6810           LD="${LD-ld} -melf32bsmip"
6811           ;;
6812         *N32*)
6813           LD="${LD-ld} -melf32bmipn32"
6814           ;;
6815         *64-bit*)
6816           LD="${LD-ld} -melf64bmip"
6817         ;;
6818       esac
6819     else
6820       case `/usr/bin/file conftest.$ac_objext` in
6821         *32-bit*)
6822           LD="${LD-ld} -32"
6823           ;;
6824         *N32*)
6825           LD="${LD-ld} -n32"
6826           ;;
6827         *64-bit*)
6828           LD="${LD-ld} -64"
6829           ;;
6830       esac
6831     fi
6832   fi
6833   rm -rf conftest*
6834   ;;
6835
6836 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6837 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6838   # Find out which ABI we are using.
6839   echo 'int i;' > conftest.$ac_ext
6840   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6841   (eval $ac_compile) 2>&5
6842   ac_status=$?
6843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6844   test $ac_status = 0; }; then
6845     case `/usr/bin/file conftest.o` in
6846       *32-bit*)
6847         case $host in
6848           x86_64-*kfreebsd*-gnu)
6849             LD="${LD-ld} -m elf_i386_fbsd"
6850             ;;
6851           x86_64-*linux*)
6852             LD="${LD-ld} -m elf_i386"
6853             ;;
6854           ppc64-*linux*|powerpc64-*linux*)
6855             LD="${LD-ld} -m elf32ppclinux"
6856             ;;
6857           s390x-*linux*)
6858             LD="${LD-ld} -m elf_s390"
6859             ;;
6860           sparc64-*linux*)
6861             LD="${LD-ld} -m elf32_sparc"
6862             ;;
6863         esac
6864         ;;
6865       *64-bit*)
6866         case $host in
6867           x86_64-*kfreebsd*-gnu)
6868             LD="${LD-ld} -m elf_x86_64_fbsd"
6869             ;;
6870           x86_64-*linux*)
6871             LD="${LD-ld} -m elf_x86_64"
6872             ;;
6873           ppc*-*linux*|powerpc*-*linux*)
6874             LD="${LD-ld} -m elf64ppc"
6875             ;;
6876           s390*-*linux*|s390*-*tpf*)
6877             LD="${LD-ld} -m elf64_s390"
6878             ;;
6879           sparc*-*linux*)
6880             LD="${LD-ld} -m elf64_sparc"
6881             ;;
6882         esac
6883         ;;
6884     esac
6885   fi
6886   rm -rf conftest*
6887   ;;
6888
6889 *-*-sco3.2v5*)
6890   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6891   SAVE_CFLAGS="$CFLAGS"
6892   CFLAGS="$CFLAGS -belf"
6893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6894 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6895 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6896   $as_echo_n "(cached) " >&6
6897 else
6898   ac_ext=c
6899 ac_cpp='$CPP $CPPFLAGS'
6900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6903
6904      if test x$gcc_no_link = xyes; then
6905   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6906 fi
6907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h.  */
6909
6910 int
6911 main ()
6912 {
6913
6914   ;
6915   return 0;
6916 }
6917 _ACEOF
6918 if ac_fn_c_try_link "$LINENO"; then :
6919   lt_cv_cc_needs_belf=yes
6920 else
6921   lt_cv_cc_needs_belf=no
6922 fi
6923 rm -f core conftest.err conftest.$ac_objext \
6924     conftest$ac_exeext conftest.$ac_ext
6925      ac_ext=c
6926 ac_cpp='$CPP $CPPFLAGS'
6927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6930
6931 fi
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6933 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6934   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6935     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6936     CFLAGS="$SAVE_CFLAGS"
6937   fi
6938   ;;
6939 sparc*-*solaris*)
6940   # Find out which ABI we are using.
6941   echo 'int i;' > conftest.$ac_ext
6942   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6943   (eval $ac_compile) 2>&5
6944   ac_status=$?
6945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6946   test $ac_status = 0; }; then
6947     case `/usr/bin/file conftest.o` in
6948     *64-bit*)
6949       case $lt_cv_prog_gnu_ld in
6950       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6951       *)
6952         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6953           LD="${LD-ld} -64"
6954         fi
6955         ;;
6956       esac
6957       ;;
6958     esac
6959   fi
6960   rm -rf conftest*
6961   ;;
6962 esac
6963
6964 need_locks="$enable_libtool_lock"
6965
6966
6967   case $host_os in
6968     rhapsody* | darwin*)
6969     if test -n "$ac_tool_prefix"; then
6970   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6971 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973 $as_echo_n "checking for $ac_word... " >&6; }
6974 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6975   $as_echo_n "(cached) " >&6
6976 else
6977   if test -n "$DSYMUTIL"; then
6978   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6979 else
6980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 for as_dir in $PATH
6982 do
6983   IFS=$as_save_IFS
6984   test -z "$as_dir" && as_dir=.
6985     for ac_exec_ext in '' $ac_executable_extensions; do
6986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6987     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6988     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989     break 2
6990   fi
6991 done
6992   done
6993 IFS=$as_save_IFS
6994
6995 fi
6996 fi
6997 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6998 if test -n "$DSYMUTIL"; then
6999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7000 $as_echo "$DSYMUTIL" >&6; }
7001 else
7002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003 $as_echo "no" >&6; }
7004 fi
7005
7006
7007 fi
7008 if test -z "$ac_cv_prog_DSYMUTIL"; then
7009   ac_ct_DSYMUTIL=$DSYMUTIL
7010   # Extract the first word of "dsymutil", so it can be a program name with args.
7011 set dummy dsymutil; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7015   $as_echo_n "(cached) " >&6
7016 else
7017   if test -n "$ac_ct_DSYMUTIL"; then
7018   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7019 else
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021 for as_dir in $PATH
7022 do
7023   IFS=$as_save_IFS
7024   test -z "$as_dir" && as_dir=.
7025     for ac_exec_ext in '' $ac_executable_extensions; do
7026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029     break 2
7030   fi
7031 done
7032   done
7033 IFS=$as_save_IFS
7034
7035 fi
7036 fi
7037 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7038 if test -n "$ac_ct_DSYMUTIL"; then
7039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7040 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7041 else
7042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7044 fi
7045
7046   if test "x$ac_ct_DSYMUTIL" = x; then
7047     DSYMUTIL=":"
7048   else
7049     case $cross_compiling:$ac_tool_warned in
7050 yes:)
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7053 ac_tool_warned=yes ;;
7054 esac
7055     DSYMUTIL=$ac_ct_DSYMUTIL
7056   fi
7057 else
7058   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7059 fi
7060
7061     if test -n "$ac_tool_prefix"; then
7062   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7063 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065 $as_echo_n "checking for $ac_word... " >&6; }
7066 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7067   $as_echo_n "(cached) " >&6
7068 else
7069   if test -n "$NMEDIT"; then
7070   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7071 else
7072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7073 for as_dir in $PATH
7074 do
7075   IFS=$as_save_IFS
7076   test -z "$as_dir" && as_dir=.
7077     for ac_exec_ext in '' $ac_executable_extensions; do
7078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7081     break 2
7082   fi
7083 done
7084   done
7085 IFS=$as_save_IFS
7086
7087 fi
7088 fi
7089 NMEDIT=$ac_cv_prog_NMEDIT
7090 if test -n "$NMEDIT"; then
7091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7092 $as_echo "$NMEDIT" >&6; }
7093 else
7094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095 $as_echo "no" >&6; }
7096 fi
7097
7098
7099 fi
7100 if test -z "$ac_cv_prog_NMEDIT"; then
7101   ac_ct_NMEDIT=$NMEDIT
7102   # Extract the first word of "nmedit", so it can be a program name with args.
7103 set dummy nmedit; ac_word=$2
7104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105 $as_echo_n "checking for $ac_word... " >&6; }
7106 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7107   $as_echo_n "(cached) " >&6
7108 else
7109   if test -n "$ac_ct_NMEDIT"; then
7110   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7111 else
7112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113 for as_dir in $PATH
7114 do
7115   IFS=$as_save_IFS
7116   test -z "$as_dir" && as_dir=.
7117     for ac_exec_ext in '' $ac_executable_extensions; do
7118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7119     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121     break 2
7122   fi
7123 done
7124   done
7125 IFS=$as_save_IFS
7126
7127 fi
7128 fi
7129 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7130 if test -n "$ac_ct_NMEDIT"; then
7131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7132 $as_echo "$ac_ct_NMEDIT" >&6; }
7133 else
7134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135 $as_echo "no" >&6; }
7136 fi
7137
7138   if test "x$ac_ct_NMEDIT" = x; then
7139     NMEDIT=":"
7140   else
7141     case $cross_compiling:$ac_tool_warned in
7142 yes:)
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7145 ac_tool_warned=yes ;;
7146 esac
7147     NMEDIT=$ac_ct_NMEDIT
7148   fi
7149 else
7150   NMEDIT="$ac_cv_prog_NMEDIT"
7151 fi
7152
7153     if test -n "$ac_tool_prefix"; then
7154   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7155 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157 $as_echo_n "checking for $ac_word... " >&6; }
7158 if test "${ac_cv_prog_LIPO+set}" = set; then :
7159   $as_echo_n "(cached) " >&6
7160 else
7161   if test -n "$LIPO"; then
7162   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7163 else
7164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7165 for as_dir in $PATH
7166 do
7167   IFS=$as_save_IFS
7168   test -z "$as_dir" && as_dir=.
7169     for ac_exec_ext in '' $ac_executable_extensions; do
7170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7171     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7173     break 2
7174   fi
7175 done
7176   done
7177 IFS=$as_save_IFS
7178
7179 fi
7180 fi
7181 LIPO=$ac_cv_prog_LIPO
7182 if test -n "$LIPO"; then
7183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7184 $as_echo "$LIPO" >&6; }
7185 else
7186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187 $as_echo "no" >&6; }
7188 fi
7189
7190
7191 fi
7192 if test -z "$ac_cv_prog_LIPO"; then
7193   ac_ct_LIPO=$LIPO
7194   # Extract the first word of "lipo", so it can be a program name with args.
7195 set dummy lipo; ac_word=$2
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197 $as_echo_n "checking for $ac_word... " >&6; }
7198 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7199   $as_echo_n "(cached) " >&6
7200 else
7201   if test -n "$ac_ct_LIPO"; then
7202   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7203 else
7204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205 for as_dir in $PATH
7206 do
7207   IFS=$as_save_IFS
7208   test -z "$as_dir" && as_dir=.
7209     for ac_exec_ext in '' $ac_executable_extensions; do
7210   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211     ac_cv_prog_ac_ct_LIPO="lipo"
7212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213     break 2
7214   fi
7215 done
7216   done
7217 IFS=$as_save_IFS
7218
7219 fi
7220 fi
7221 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7222 if test -n "$ac_ct_LIPO"; then
7223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7224 $as_echo "$ac_ct_LIPO" >&6; }
7225 else
7226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227 $as_echo "no" >&6; }
7228 fi
7229
7230   if test "x$ac_ct_LIPO" = x; then
7231     LIPO=":"
7232   else
7233     case $cross_compiling:$ac_tool_warned in
7234 yes:)
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7237 ac_tool_warned=yes ;;
7238 esac
7239     LIPO=$ac_ct_LIPO
7240   fi
7241 else
7242   LIPO="$ac_cv_prog_LIPO"
7243 fi
7244
7245     if test -n "$ac_tool_prefix"; then
7246   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7247 set dummy ${ac_tool_prefix}otool; ac_word=$2
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7249 $as_echo_n "checking for $ac_word... " >&6; }
7250 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7251   $as_echo_n "(cached) " >&6
7252 else
7253   if test -n "$OTOOL"; then
7254   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7255 else
7256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7257 for as_dir in $PATH
7258 do
7259   IFS=$as_save_IFS
7260   test -z "$as_dir" && as_dir=.
7261     for ac_exec_ext in '' $ac_executable_extensions; do
7262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7263     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7265     break 2
7266   fi
7267 done
7268   done
7269 IFS=$as_save_IFS
7270
7271 fi
7272 fi
7273 OTOOL=$ac_cv_prog_OTOOL
7274 if test -n "$OTOOL"; then
7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7276 $as_echo "$OTOOL" >&6; }
7277 else
7278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7279 $as_echo "no" >&6; }
7280 fi
7281
7282
7283 fi
7284 if test -z "$ac_cv_prog_OTOOL"; then
7285   ac_ct_OTOOL=$OTOOL
7286   # Extract the first word of "otool", so it can be a program name with args.
7287 set dummy otool; ac_word=$2
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7289 $as_echo_n "checking for $ac_word... " >&6; }
7290 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7291   $as_echo_n "(cached) " >&6
7292 else
7293   if test -n "$ac_ct_OTOOL"; then
7294   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7295 else
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 for as_dir in $PATH
7298 do
7299   IFS=$as_save_IFS
7300   test -z "$as_dir" && as_dir=.
7301     for ac_exec_ext in '' $ac_executable_extensions; do
7302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7303     ac_cv_prog_ac_ct_OTOOL="otool"
7304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305     break 2
7306   fi
7307 done
7308   done
7309 IFS=$as_save_IFS
7310
7311 fi
7312 fi
7313 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7314 if test -n "$ac_ct_OTOOL"; then
7315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7316 $as_echo "$ac_ct_OTOOL" >&6; }
7317 else
7318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7319 $as_echo "no" >&6; }
7320 fi
7321
7322   if test "x$ac_ct_OTOOL" = x; then
7323     OTOOL=":"
7324   else
7325     case $cross_compiling:$ac_tool_warned in
7326 yes:)
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7329 ac_tool_warned=yes ;;
7330 esac
7331     OTOOL=$ac_ct_OTOOL
7332   fi
7333 else
7334   OTOOL="$ac_cv_prog_OTOOL"
7335 fi
7336
7337     if test -n "$ac_tool_prefix"; then
7338   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7343   $as_echo_n "(cached) " >&6
7344 else
7345   if test -n "$OTOOL64"; then
7346   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7350 do
7351   IFS=$as_save_IFS
7352   test -z "$as_dir" && as_dir=.
7353     for ac_exec_ext in '' $ac_executable_extensions; do
7354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357     break 2
7358   fi
7359 done
7360   done
7361 IFS=$as_save_IFS
7362
7363 fi
7364 fi
7365 OTOOL64=$ac_cv_prog_OTOOL64
7366 if test -n "$OTOOL64"; then
7367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7368 $as_echo "$OTOOL64" >&6; }
7369 else
7370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7372 fi
7373
7374
7375 fi
7376 if test -z "$ac_cv_prog_OTOOL64"; then
7377   ac_ct_OTOOL64=$OTOOL64
7378   # Extract the first word of "otool64", so it can be a program name with args.
7379 set dummy otool64; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7383   $as_echo_n "(cached) " >&6
7384 else
7385   if test -n "$ac_ct_OTOOL64"; then
7386   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7390 do
7391   IFS=$as_save_IFS
7392   test -z "$as_dir" && as_dir=.
7393     for ac_exec_ext in '' $ac_executable_extensions; do
7394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395     ac_cv_prog_ac_ct_OTOOL64="otool64"
7396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397     break 2
7398   fi
7399 done
7400   done
7401 IFS=$as_save_IFS
7402
7403 fi
7404 fi
7405 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7406 if test -n "$ac_ct_OTOOL64"; then
7407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7408 $as_echo "$ac_ct_OTOOL64" >&6; }
7409 else
7410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7412 fi
7413
7414   if test "x$ac_ct_OTOOL64" = x; then
7415     OTOOL64=":"
7416   else
7417     case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423     OTOOL64=$ac_ct_OTOOL64
7424   fi
7425 else
7426   OTOOL64="$ac_cv_prog_OTOOL64"
7427 fi
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7456 $as_echo_n "checking for -single_module linker flag... " >&6; }
7457 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7458   $as_echo_n "(cached) " >&6
7459 else
7460   lt_cv_apple_cc_single_mod=no
7461       if test -z "${LT_MULTI_MODULE}"; then
7462         # By default we will add the -single_module flag. You can override
7463         # by either setting the environment variable LT_MULTI_MODULE
7464         # non-empty at configure time, or by adding -multi_module to the
7465         # link flags.
7466         rm -rf libconftest.dylib*
7467         echo "int foo(void){return 1;}" > conftest.c
7468         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7469 -dynamiclib -Wl,-single_module conftest.c" >&5
7470         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7471           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7472         _lt_result=$?
7473         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7474           lt_cv_apple_cc_single_mod=yes
7475         else
7476           cat conftest.err >&5
7477         fi
7478         rm -rf libconftest.dylib*
7479         rm -f conftest.*
7480       fi
7481 fi
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7483 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7484     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7485 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7486 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7487   $as_echo_n "(cached) " >&6
7488 else
7489   lt_cv_ld_exported_symbols_list=no
7490       save_LDFLAGS=$LDFLAGS
7491       echo "_main" > conftest.sym
7492       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7493       if test x$gcc_no_link = xyes; then
7494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7495 fi
7496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7497 /* end confdefs.h.  */
7498
7499 int
7500 main ()
7501 {
7502
7503   ;
7504   return 0;
7505 }
7506 _ACEOF
7507 if ac_fn_c_try_link "$LINENO"; then :
7508   lt_cv_ld_exported_symbols_list=yes
7509 else
7510   lt_cv_ld_exported_symbols_list=no
7511 fi
7512 rm -f core conftest.err conftest.$ac_objext \
7513     conftest$ac_exeext conftest.$ac_ext
7514         LDFLAGS="$save_LDFLAGS"
7515
7516 fi
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7518 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7519     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7520 $as_echo_n "checking for -force_load linker flag... " >&6; }
7521 if test "${lt_cv_ld_force_load+set}" = set; then :
7522   $as_echo_n "(cached) " >&6
7523 else
7524   lt_cv_ld_force_load=no
7525       cat > conftest.c << _LT_EOF
7526 int forced_loaded() { return 2;}
7527 _LT_EOF
7528       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7529       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7530       echo "$AR cru libconftest.a conftest.o" >&5
7531       $AR cru libconftest.a conftest.o 2>&5
7532       cat > conftest.c << _LT_EOF
7533 int main() { return 0;}
7534 _LT_EOF
7535       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7536       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7537       _lt_result=$?
7538       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7539         lt_cv_ld_force_load=yes
7540       else
7541         cat conftest.err >&5
7542       fi
7543         rm -f conftest.err libconftest.a conftest conftest.c
7544         rm -rf conftest.dSYM
7545
7546 fi
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7548 $as_echo "$lt_cv_ld_force_load" >&6; }
7549     case $host_os in
7550     rhapsody* | darwin1.[012])
7551       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7552     darwin1.*)
7553       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7554     darwin*) # darwin 5.x on
7555       # if running on 10.5 or later, the deployment target defaults
7556       # to the OS version, if on x86, and 10.4, the deployment
7557       # target defaults to 10.4. Don't you love it?
7558       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7559         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7560           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7561         10.[012]*)
7562           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7563         10.*)
7564           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7565       esac
7566     ;;
7567   esac
7568     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7569       _lt_dar_single_mod='$single_module'
7570     fi
7571     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7572       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7573     else
7574       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7575     fi
7576     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7577       _lt_dsymutil='~$DSYMUTIL $lib || :'
7578     else
7579       _lt_dsymutil=
7580     fi
7581     ;;
7582   esac
7583
7584 ac_ext=c
7585 ac_cpp='$CPP $CPPFLAGS'
7586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7590 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7591 # On Suns, sometimes $CPP names a directory.
7592 if test -n "$CPP" && test -d "$CPP"; then
7593   CPP=
7594 fi
7595 if test -z "$CPP"; then
7596   if test "${ac_cv_prog_CPP+set}" = set; then :
7597   $as_echo_n "(cached) " >&6
7598 else
7599       # Double quotes because CPP needs to be expanded
7600     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7601     do
7602       ac_preproc_ok=false
7603 for ac_c_preproc_warn_flag in '' yes
7604 do
7605   # Use a header file that comes with gcc, so configuring glibc
7606   # with a fresh cross-compiler works.
7607   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7608   # <limits.h> exists even on freestanding compilers.
7609   # On the NeXT, cc -E runs the code through the compiler's parser,
7610   # not just through cpp. "Syntax error" is here to catch this case.
7611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h.  */
7613 #ifdef __STDC__
7614 # include <limits.h>
7615 #else
7616 # include <assert.h>
7617 #endif
7618                      Syntax error
7619 _ACEOF
7620 if ac_fn_c_try_cpp "$LINENO"; then :
7621
7622 else
7623   # Broken: fails on valid input.
7624 continue
7625 fi
7626 rm -f conftest.err conftest.$ac_ext
7627
7628   # OK, works on sane cases.  Now check whether nonexistent headers
7629   # can be detected and how.
7630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7631 /* end confdefs.h.  */
7632 #include <ac_nonexistent.h>
7633 _ACEOF
7634 if ac_fn_c_try_cpp "$LINENO"; then :
7635   # Broken: success on invalid input.
7636 continue
7637 else
7638   # Passes both tests.
7639 ac_preproc_ok=:
7640 break
7641 fi
7642 rm -f conftest.err conftest.$ac_ext
7643
7644 done
7645 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7646 rm -f conftest.err conftest.$ac_ext
7647 if $ac_preproc_ok; then :
7648   break
7649 fi
7650
7651     done
7652     ac_cv_prog_CPP=$CPP
7653
7654 fi
7655   CPP=$ac_cv_prog_CPP
7656 else
7657   ac_cv_prog_CPP=$CPP
7658 fi
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7660 $as_echo "$CPP" >&6; }
7661 ac_preproc_ok=false
7662 for ac_c_preproc_warn_flag in '' yes
7663 do
7664   # Use a header file that comes with gcc, so configuring glibc
7665   # with a fresh cross-compiler works.
7666   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7667   # <limits.h> exists even on freestanding compilers.
7668   # On the NeXT, cc -E runs the code through the compiler's parser,
7669   # not just through cpp. "Syntax error" is here to catch this case.
7670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7671 /* end confdefs.h.  */
7672 #ifdef __STDC__
7673 # include <limits.h>
7674 #else
7675 # include <assert.h>
7676 #endif
7677                      Syntax error
7678 _ACEOF
7679 if ac_fn_c_try_cpp "$LINENO"; then :
7680
7681 else
7682   # Broken: fails on valid input.
7683 continue
7684 fi
7685 rm -f conftest.err conftest.$ac_ext
7686
7687   # OK, works on sane cases.  Now check whether nonexistent headers
7688   # can be detected and how.
7689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7690 /* end confdefs.h.  */
7691 #include <ac_nonexistent.h>
7692 _ACEOF
7693 if ac_fn_c_try_cpp "$LINENO"; then :
7694   # Broken: success on invalid input.
7695 continue
7696 else
7697   # Passes both tests.
7698 ac_preproc_ok=:
7699 break
7700 fi
7701 rm -f conftest.err conftest.$ac_ext
7702
7703 done
7704 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7705 rm -f conftest.err conftest.$ac_ext
7706 if $ac_preproc_ok; then :
7707
7708 else
7709   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7711 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7712 See \`config.log' for more details." "$LINENO" 5; }
7713 fi
7714
7715 ac_ext=c
7716 ac_cpp='$CPP $CPPFLAGS'
7717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7720
7721
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7723 $as_echo_n "checking for ANSI C header files... " >&6; }
7724 if test "${ac_cv_header_stdc+set}" = set; then :
7725   $as_echo_n "(cached) " >&6
7726 else
7727   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h.  */
7729 #include <stdlib.h>
7730 #include <stdarg.h>
7731 #include <string.h>
7732 #include <float.h>
7733
7734 int
7735 main ()
7736 {
7737
7738   ;
7739   return 0;
7740 }
7741 _ACEOF
7742 if ac_fn_c_try_compile "$LINENO"; then :
7743   ac_cv_header_stdc=yes
7744 else
7745   ac_cv_header_stdc=no
7746 fi
7747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7748
7749 if test $ac_cv_header_stdc = yes; then
7750   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752 /* end confdefs.h.  */
7753 #include <string.h>
7754
7755 _ACEOF
7756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7757   $EGREP "memchr" >/dev/null 2>&1; then :
7758
7759 else
7760   ac_cv_header_stdc=no
7761 fi
7762 rm -f conftest*
7763
7764 fi
7765
7766 if test $ac_cv_header_stdc = yes; then
7767   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7769 /* end confdefs.h.  */
7770 #include <stdlib.h>
7771
7772 _ACEOF
7773 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7774   $EGREP "free" >/dev/null 2>&1; then :
7775
7776 else
7777   ac_cv_header_stdc=no
7778 fi
7779 rm -f conftest*
7780
7781 fi
7782
7783 if test $ac_cv_header_stdc = yes; then
7784   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7785   if test "$cross_compiling" = yes; then :
7786   :
7787 else
7788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h.  */
7790 #include <ctype.h>
7791 #include <stdlib.h>
7792 #if ((' ' & 0x0FF) == 0x020)
7793 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7794 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7795 #else
7796 # define ISLOWER(c) \
7797                    (('a' <= (c) && (c) <= 'i') \
7798                      || ('j' <= (c) && (c) <= 'r') \
7799                      || ('s' <= (c) && (c) <= 'z'))
7800 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7801 #endif
7802
7803 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7804 int
7805 main ()
7806 {
7807   int i;
7808   for (i = 0; i < 256; i++)
7809     if (XOR (islower (i), ISLOWER (i))
7810         || toupper (i) != TOUPPER (i))
7811       return 2;
7812   return 0;
7813 }
7814 _ACEOF
7815 if ac_fn_c_try_run "$LINENO"; then :
7816
7817 else
7818   ac_cv_header_stdc=no
7819 fi
7820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7821   conftest.$ac_objext conftest.beam conftest.$ac_ext
7822 fi
7823
7824 fi
7825 fi
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7827 $as_echo "$ac_cv_header_stdc" >&6; }
7828 if test $ac_cv_header_stdc = yes; then
7829
7830 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7831
7832 fi
7833
7834 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7835 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7836                   inttypes.h stdint.h unistd.h
7837 do :
7838   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7839 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7840 "
7841 eval as_val=\$$as_ac_Header
7842    if test "x$as_val" = x""yes; then :
7843   cat >>confdefs.h <<_ACEOF
7844 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7845 _ACEOF
7846
7847 fi
7848
7849 done
7850
7851
7852 for ac_header in dlfcn.h
7853 do :
7854   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7855 "
7856 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7857   cat >>confdefs.h <<_ACEOF
7858 #define HAVE_DLFCN_H 1
7859 _ACEOF
7860
7861 fi
7862
7863 done
7864
7865
7866
7867
7868
7869 # Set options
7870
7871
7872
7873
7874   enable_win32_dll=no
7875
7876
7877             # Check whether --enable-shared was given.
7878 if test "${enable_shared+set}" = set; then :
7879   enableval=$enable_shared; p=${PACKAGE-default}
7880     case $enableval in
7881     yes) enable_shared=yes ;;
7882     no) enable_shared=no ;;
7883     *)
7884       enable_shared=no
7885       # Look at the argument we got.  We use all the common list separators.
7886       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7887       for pkg in $enableval; do
7888         IFS="$lt_save_ifs"
7889         if test "X$pkg" = "X$p"; then
7890           enable_shared=yes
7891         fi
7892       done
7893       IFS="$lt_save_ifs"
7894       ;;
7895     esac
7896 else
7897   enable_shared=yes
7898 fi
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908   # Check whether --enable-static was given.
7909 if test "${enable_static+set}" = set; then :
7910   enableval=$enable_static; p=${PACKAGE-default}
7911     case $enableval in
7912     yes) enable_static=yes ;;
7913     no) enable_static=no ;;
7914     *)
7915      enable_static=no
7916       # Look at the argument we got.  We use all the common list separators.
7917       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7918       for pkg in $enableval; do
7919         IFS="$lt_save_ifs"
7920         if test "X$pkg" = "X$p"; then
7921           enable_static=yes
7922         fi
7923       done
7924       IFS="$lt_save_ifs"
7925       ;;
7926     esac
7927 else
7928   enable_static=yes
7929 fi
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940 # Check whether --with-pic was given.
7941 if test "${with_pic+set}" = set; then :
7942   withval=$with_pic; pic_mode="$withval"
7943 else
7944   pic_mode=default
7945 fi
7946
7947
7948 test -z "$pic_mode" && pic_mode=default
7949
7950
7951
7952
7953
7954
7955
7956   # Check whether --enable-fast-install was given.
7957 if test "${enable_fast_install+set}" = set; then :
7958   enableval=$enable_fast_install; p=${PACKAGE-default}
7959     case $enableval in
7960     yes) enable_fast_install=yes ;;
7961     no) enable_fast_install=no ;;
7962     *)
7963       enable_fast_install=no
7964       # Look at the argument we got.  We use all the common list separators.
7965       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7966       for pkg in $enableval; do
7967         IFS="$lt_save_ifs"
7968         if test "X$pkg" = "X$p"; then
7969           enable_fast_install=yes
7970         fi
7971       done
7972       IFS="$lt_save_ifs"
7973       ;;
7974     esac
7975 else
7976   enable_fast_install=yes
7977 fi
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989 # This can be used to rebuild libtool when needed
7990 LIBTOOL_DEPS="$ltmain"
7991
7992 # Always use our own libtool.
7993 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020 test -z "$LN_S" && LN_S="ln -s"
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035 if test -n "${ZSH_VERSION+set}" ; then
8036    setopt NO_GLOB_SUBST
8037 fi
8038
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8040 $as_echo_n "checking for objdir... " >&6; }
8041 if test "${lt_cv_objdir+set}" = set; then :
8042   $as_echo_n "(cached) " >&6
8043 else
8044   rm -f .libs 2>/dev/null
8045 mkdir .libs 2>/dev/null
8046 if test -d .libs; then
8047   lt_cv_objdir=.libs
8048 else
8049   # MS-DOS does not allow filenames that begin with a dot.
8050   lt_cv_objdir=_libs
8051 fi
8052 rmdir .libs 2>/dev/null
8053 fi
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8055 $as_echo "$lt_cv_objdir" >&6; }
8056 objdir=$lt_cv_objdir
8057
8058
8059
8060
8061
8062 cat >>confdefs.h <<_ACEOF
8063 #define LT_OBJDIR "$lt_cv_objdir/"
8064 _ACEOF
8065
8066
8067
8068
8069 case $host_os in
8070 aix3*)
8071   # AIX sometimes has problems with the GCC collect2 program.  For some
8072   # reason, if we set the COLLECT_NAMES environment variable, the problems
8073   # vanish in a puff of smoke.
8074   if test "X${COLLECT_NAMES+set}" != Xset; then
8075     COLLECT_NAMES=
8076     export COLLECT_NAMES
8077   fi
8078   ;;
8079 esac
8080
8081 # Global variables:
8082 ofile=libtool
8083 can_build_shared=yes
8084
8085 # All known linkers require a `.a' archive for static linking (except MSVC,
8086 # which needs '.lib').
8087 libext=a
8088
8089 with_gnu_ld="$lt_cv_prog_gnu_ld"
8090
8091 old_CC="$CC"
8092 old_CFLAGS="$CFLAGS"
8093
8094 # Set sane defaults for various variables
8095 test -z "$CC" && CC=cc
8096 test -z "$LTCC" && LTCC=$CC
8097 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8098 test -z "$LD" && LD=ld
8099 test -z "$ac_objext" && ac_objext=o
8100
8101 for cc_temp in $compiler""; do
8102   case $cc_temp in
8103     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8104     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8105     \-*) ;;
8106     *) break;;
8107   esac
8108 done
8109 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8110
8111
8112 # Only perform the check for file, if the check method requires it
8113 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8114 case $deplibs_check_method in
8115 file_magic*)
8116   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8117     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8118 $as_echo_n "checking for ${ac_tool_prefix}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/${ac_tool_prefix}file; then
8134       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}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
8179
8180
8181 if test -z "$lt_cv_path_MAGIC_CMD"; then
8182   if test -n "$ac_tool_prefix"; then
8183     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8184 $as_echo_n "checking for file... " >&6; }
8185 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8186   $as_echo_n "(cached) " >&6
8187 else
8188   case $MAGIC_CMD in
8189 [\\/*] |  ?:[\\/]*)
8190   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8191   ;;
8192 *)
8193   lt_save_MAGIC_CMD="$MAGIC_CMD"
8194   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8195   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8196   for ac_dir in $ac_dummy; do
8197     IFS="$lt_save_ifs"
8198     test -z "$ac_dir" && ac_dir=.
8199     if test -f $ac_dir/file; then
8200       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8201       if test -n "$file_magic_test_file"; then
8202         case $deplibs_check_method in
8203         "file_magic "*)
8204           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8205           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8206           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8207             $EGREP "$file_magic_regex" > /dev/null; then
8208             :
8209           else
8210             cat <<_LT_EOF 1>&2
8211
8212 *** Warning: the command libtool uses to detect shared libraries,
8213 *** $file_magic_cmd, produces output that libtool cannot recognize.
8214 *** The result is that libtool may fail to recognize shared libraries
8215 *** as such.  This will affect the creation of libtool libraries that
8216 *** depend on shared libraries, but programs linked with such libtool
8217 *** libraries will work regardless of this problem.  Nevertheless, you
8218 *** may want to report the problem to your system manager and/or to
8219 *** bug-libtool@gnu.org
8220
8221 _LT_EOF
8222           fi ;;
8223         esac
8224       fi
8225       break
8226     fi
8227   done
8228   IFS="$lt_save_ifs"
8229   MAGIC_CMD="$lt_save_MAGIC_CMD"
8230   ;;
8231 esac
8232 fi
8233
8234 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8235 if test -n "$MAGIC_CMD"; then
8236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8237 $as_echo "$MAGIC_CMD" >&6; }
8238 else
8239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8240 $as_echo "no" >&6; }
8241 fi
8242
8243
8244   else
8245     MAGIC_CMD=:
8246   fi
8247 fi
8248
8249   fi
8250   ;;
8251 esac
8252
8253 # Use C for the default configuration in the libtool script
8254
8255 lt_save_CC="$CC"
8256 ac_ext=c
8257 ac_cpp='$CPP $CPPFLAGS'
8258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8261
8262
8263 # Source file extension for C test sources.
8264 ac_ext=c
8265
8266 # Object file extension for compiled C test sources.
8267 objext=o
8268 objext=$objext
8269
8270 # Code to be used in simple compile tests
8271 lt_simple_compile_test_code="int some_variable = 0;"
8272
8273 # Code to be used in simple link tests
8274 lt_simple_link_test_code='int main(){return(0);}'
8275
8276
8277
8278
8279
8280
8281
8282 # If no C compiler was specified, use CC.
8283 LTCC=${LTCC-"$CC"}
8284
8285 # If no C compiler flags were specified, use CFLAGS.
8286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8287
8288 # Allow CC to be a program name with arguments.
8289 compiler=$CC
8290
8291 # Save the default compiler, since it gets overwritten when the other
8292 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8293 compiler_DEFAULT=$CC
8294
8295 # save warnings/boilerplate of simple test code
8296 ac_outfile=conftest.$ac_objext
8297 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8298 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8299 _lt_compiler_boilerplate=`cat conftest.err`
8300 $RM conftest*
8301
8302 ac_outfile=conftest.$ac_objext
8303 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8304 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8305 _lt_linker_boilerplate=`cat conftest.err`
8306 $RM -r conftest*
8307
8308
8309 ## CAVEAT EMPTOR:
8310 ## There is no encapsulation within the following macros, do not change
8311 ## the running order or otherwise move them around unless you know exactly
8312 ## what you are doing...
8313 if test -n "$compiler"; then
8314
8315 lt_prog_compiler_no_builtin_flag=
8316
8317 if test "$GCC" = yes; then
8318   case $cc_basename in
8319   nvcc*)
8320     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8321   *)
8322     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8323   esac
8324
8325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8326 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8327 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8328   $as_echo_n "(cached) " >&6
8329 else
8330   lt_cv_prog_compiler_rtti_exceptions=no
8331    ac_outfile=conftest.$ac_objext
8332    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8333    lt_compiler_flag="-fno-rtti -fno-exceptions"
8334    # Insert the option either (1) after the last *FLAGS variable, or
8335    # (2) before a word containing "conftest.", or (3) at the end.
8336    # Note that $ac_compile itself does not contain backslashes and begins
8337    # with a dollar sign (not a hyphen), so the echo should work correctly.
8338    # The option is referenced via a variable to avoid confusing sed.
8339    lt_compile=`echo "$ac_compile" | $SED \
8340    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8341    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8342    -e 's:$: $lt_compiler_flag:'`
8343    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8344    (eval "$lt_compile" 2>conftest.err)
8345    ac_status=$?
8346    cat conftest.err >&5
8347    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348    if (exit $ac_status) && test -s "$ac_outfile"; then
8349      # The compiler can only warn and ignore the option if not recognized
8350      # So say no if there are warnings other than the usual output.
8351      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8352      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8353      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8354        lt_cv_prog_compiler_rtti_exceptions=yes
8355      fi
8356    fi
8357    $RM conftest*
8358
8359 fi
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8361 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8362
8363 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8364     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8365 else
8366     :
8367 fi
8368
8369 fi
8370
8371
8372
8373
8374
8375
8376   lt_prog_compiler_wl=
8377 lt_prog_compiler_pic=
8378 lt_prog_compiler_static=
8379
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8381 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8382
8383   if test "$GCC" = yes; then
8384     lt_prog_compiler_wl='-Wl,'
8385     lt_prog_compiler_static='-static'
8386
8387     case $host_os in
8388       aix*)
8389       # All AIX code is PIC.
8390       if test "$host_cpu" = ia64; then
8391         # AIX 5 now supports IA64 processor
8392         lt_prog_compiler_static='-Bstatic'
8393       fi
8394       ;;
8395
8396     amigaos*)
8397       case $host_cpu in
8398       powerpc)
8399             # see comment about AmigaOS4 .so support
8400             lt_prog_compiler_pic='-fPIC'
8401         ;;
8402       m68k)
8403             # FIXME: we need at least 68020 code to build shared libraries, but
8404             # adding the `-m68020' flag to GCC prevents building anything better,
8405             # like `-m68040'.
8406             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8407         ;;
8408       esac
8409       ;;
8410
8411     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8412       # PIC is the default for these OSes.
8413       ;;
8414
8415     mingw* | cygwin* | pw32* | os2* | cegcc*)
8416       # This hack is so that the source file can tell whether it is being
8417       # built for inclusion in a dll (and should export symbols for example).
8418       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8419       # (--disable-auto-import) libraries
8420       lt_prog_compiler_pic='-DDLL_EXPORT'
8421       ;;
8422
8423     darwin* | rhapsody*)
8424       # PIC is the default on this platform
8425       # Common symbols not allowed in MH_DYLIB files
8426       lt_prog_compiler_pic='-fno-common'
8427       ;;
8428
8429     haiku*)
8430       # PIC is the default for Haiku.
8431       # The "-static" flag exists, but is broken.
8432       lt_prog_compiler_static=
8433       ;;
8434
8435     hpux*)
8436       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8437       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8438       # sets the default TLS model and affects inlining.
8439       case $host_cpu in
8440       hppa*64*)
8441         # +Z the default
8442         ;;
8443       *)
8444         lt_prog_compiler_pic='-fPIC'
8445         ;;
8446       esac
8447       ;;
8448
8449     interix[3-9]*)
8450       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8451       # Instead, we relocate shared libraries at runtime.
8452       ;;
8453
8454     msdosdjgpp*)
8455       # Just because we use GCC doesn't mean we suddenly get shared libraries
8456       # on systems that don't support them.
8457       lt_prog_compiler_can_build_shared=no
8458       enable_shared=no
8459       ;;
8460
8461     *nto* | *qnx*)
8462       # QNX uses GNU C++, but need to define -shared option too, otherwise
8463       # it will coredump.
8464       lt_prog_compiler_pic='-fPIC -shared'
8465       ;;
8466
8467     sysv4*MP*)
8468       if test -d /usr/nec; then
8469         lt_prog_compiler_pic=-Kconform_pic
8470       fi
8471       ;;
8472
8473     *)
8474       lt_prog_compiler_pic='-fPIC'
8475       ;;
8476     esac
8477
8478     case $cc_basename in
8479     nvcc*) # Cuda Compiler Driver 2.2
8480       lt_prog_compiler_wl='-Xlinker '
8481       lt_prog_compiler_pic='-Xcompiler -fPIC'
8482       ;;
8483     esac
8484   else
8485     # PORTME Check for flag to pass linker flags through the system compiler.
8486     case $host_os in
8487     aix*)
8488       lt_prog_compiler_wl='-Wl,'
8489       if test "$host_cpu" = ia64; then
8490         # AIX 5 now supports IA64 processor
8491         lt_prog_compiler_static='-Bstatic'
8492       else
8493         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8494       fi
8495       ;;
8496
8497     mingw* | cygwin* | pw32* | os2* | cegcc*)
8498       # This hack is so that the source file can tell whether it is being
8499       # built for inclusion in a dll (and should export symbols for example).
8500       lt_prog_compiler_pic='-DDLL_EXPORT'
8501       ;;
8502
8503     hpux9* | hpux10* | hpux11*)
8504       lt_prog_compiler_wl='-Wl,'
8505       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8506       # not for PA HP-UX.
8507       case $host_cpu in
8508       hppa*64*|ia64*)
8509         # +Z the default
8510         ;;
8511       *)
8512         lt_prog_compiler_pic='+Z'
8513         ;;
8514       esac
8515       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8516       lt_prog_compiler_static='${wl}-a ${wl}archive'
8517       ;;
8518
8519     irix5* | irix6* | nonstopux*)
8520       lt_prog_compiler_wl='-Wl,'
8521       # PIC (with -KPIC) is the default.
8522       lt_prog_compiler_static='-non_shared'
8523       ;;
8524
8525     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8526       case $cc_basename in
8527       # old Intel for x86_64 which still supported -KPIC.
8528       ecc*)
8529         lt_prog_compiler_wl='-Wl,'
8530         lt_prog_compiler_pic='-KPIC'
8531         lt_prog_compiler_static='-static'
8532         ;;
8533       # icc used to be incompatible with GCC.
8534       # ICC 10 doesn't accept -KPIC any more.
8535       icc* | ifort*)
8536         lt_prog_compiler_wl='-Wl,'
8537         lt_prog_compiler_pic='-fPIC'
8538         lt_prog_compiler_static='-static'
8539         ;;
8540       # Lahey Fortran 8.1.
8541       lf95*)
8542         lt_prog_compiler_wl='-Wl,'
8543         lt_prog_compiler_pic='--shared'
8544         lt_prog_compiler_static='--static'
8545         ;;
8546       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8547         # Portland Group compilers (*not* the Pentium gcc compiler,
8548         # which looks to be a dead project)
8549         lt_prog_compiler_wl='-Wl,'
8550         lt_prog_compiler_pic='-fpic'
8551         lt_prog_compiler_static='-Bstatic'
8552         ;;
8553       ccc*)
8554         lt_prog_compiler_wl='-Wl,'
8555         # All Alpha code is PIC.
8556         lt_prog_compiler_static='-non_shared'
8557         ;;
8558       xl* | bgxl* | bgf* | mpixl*)
8559         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8560         lt_prog_compiler_wl='-Wl,'
8561         lt_prog_compiler_pic='-qpic'
8562         lt_prog_compiler_static='-qstaticlink'
8563         ;;
8564       *)
8565         case `$CC -V 2>&1 | sed 5q` in
8566         *Sun\ F* | *Sun*Fortran*)
8567           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8568           lt_prog_compiler_pic='-KPIC'
8569           lt_prog_compiler_static='-Bstatic'
8570           lt_prog_compiler_wl=''
8571           ;;
8572         *Sun\ C*)
8573           # Sun C 5.9
8574           lt_prog_compiler_pic='-KPIC'
8575           lt_prog_compiler_static='-Bstatic'
8576           lt_prog_compiler_wl='-Wl,'
8577           ;;
8578         esac
8579         ;;
8580       esac
8581       ;;
8582
8583     newsos6)
8584       lt_prog_compiler_pic='-KPIC'
8585       lt_prog_compiler_static='-Bstatic'
8586       ;;
8587
8588     *nto* | *qnx*)
8589       # QNX uses GNU C++, but need to define -shared option too, otherwise
8590       # it will coredump.
8591       lt_prog_compiler_pic='-fPIC -shared'
8592       ;;
8593
8594     osf3* | osf4* | osf5*)
8595       lt_prog_compiler_wl='-Wl,'
8596       # All OSF/1 code is PIC.
8597       lt_prog_compiler_static='-non_shared'
8598       ;;
8599
8600     rdos*)
8601       lt_prog_compiler_static='-non_shared'
8602       ;;
8603
8604     solaris*)
8605       lt_prog_compiler_pic='-KPIC'
8606       lt_prog_compiler_static='-Bstatic'
8607       case $cc_basename in
8608       f77* | f90* | f95*)
8609         lt_prog_compiler_wl='-Qoption ld ';;
8610       *)
8611         lt_prog_compiler_wl='-Wl,';;
8612       esac
8613       ;;
8614
8615     sunos4*)
8616       lt_prog_compiler_wl='-Qoption ld '
8617       lt_prog_compiler_pic='-PIC'
8618       lt_prog_compiler_static='-Bstatic'
8619       ;;
8620
8621     sysv4 | sysv4.2uw2* | sysv4.3*)
8622       lt_prog_compiler_wl='-Wl,'
8623       lt_prog_compiler_pic='-KPIC'
8624       lt_prog_compiler_static='-Bstatic'
8625       ;;
8626
8627     sysv4*MP*)
8628       if test -d /usr/nec ;then
8629         lt_prog_compiler_pic='-Kconform_pic'
8630         lt_prog_compiler_static='-Bstatic'
8631       fi
8632       ;;
8633
8634     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8635       lt_prog_compiler_wl='-Wl,'
8636       lt_prog_compiler_pic='-KPIC'
8637       lt_prog_compiler_static='-Bstatic'
8638       ;;
8639
8640     unicos*)
8641       lt_prog_compiler_wl='-Wl,'
8642       lt_prog_compiler_can_build_shared=no
8643       ;;
8644
8645     uts4*)
8646       lt_prog_compiler_pic='-pic'
8647       lt_prog_compiler_static='-Bstatic'
8648       ;;
8649
8650     *)
8651       lt_prog_compiler_can_build_shared=no
8652       ;;
8653     esac
8654   fi
8655
8656 case $host_os in
8657   # For platforms which do not support PIC, -DPIC is meaningless:
8658   *djgpp*)
8659     lt_prog_compiler_pic=
8660     ;;
8661   *)
8662     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8663     ;;
8664 esac
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8666 $as_echo "$lt_prog_compiler_pic" >&6; }
8667
8668
8669
8670
8671
8672
8673 #
8674 # Check to make sure the PIC flag actually works.
8675 #
8676 if test -n "$lt_prog_compiler_pic"; then
8677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8678 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8679 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8680   $as_echo_n "(cached) " >&6
8681 else
8682   lt_cv_prog_compiler_pic_works=no
8683    ac_outfile=conftest.$ac_objext
8684    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8685    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8686    # Insert the option either (1) after the last *FLAGS variable, or
8687    # (2) before a word containing "conftest.", or (3) at the end.
8688    # Note that $ac_compile itself does not contain backslashes and begins
8689    # with a dollar sign (not a hyphen), so the echo should work correctly.
8690    # The option is referenced via a variable to avoid confusing sed.
8691    lt_compile=`echo "$ac_compile" | $SED \
8692    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8693    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8694    -e 's:$: $lt_compiler_flag:'`
8695    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8696    (eval "$lt_compile" 2>conftest.err)
8697    ac_status=$?
8698    cat conftest.err >&5
8699    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700    if (exit $ac_status) && test -s "$ac_outfile"; then
8701      # The compiler can only warn and ignore the option if not recognized
8702      # So say no if there are warnings other than the usual output.
8703      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8704      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8705      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8706        lt_cv_prog_compiler_pic_works=yes
8707      fi
8708    fi
8709    $RM conftest*
8710
8711 fi
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8713 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8714
8715 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8716     case $lt_prog_compiler_pic in
8717      "" | " "*) ;;
8718      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8719      esac
8720 else
8721     lt_prog_compiler_pic=
8722      lt_prog_compiler_can_build_shared=no
8723 fi
8724
8725 fi
8726
8727
8728
8729
8730
8731
8732 #
8733 # Check to make sure the static flag actually works.
8734 #
8735 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8737 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8738 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8739   $as_echo_n "(cached) " >&6
8740 else
8741   lt_cv_prog_compiler_static_works=no
8742    save_LDFLAGS="$LDFLAGS"
8743    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8744    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8745    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8746      # The linker can only warn and ignore the option if not recognized
8747      # So say no if there are warnings
8748      if test -s conftest.err; then
8749        # Append any errors to the config.log.
8750        cat conftest.err 1>&5
8751        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8752        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8753        if diff conftest.exp conftest.er2 >/dev/null; then
8754          lt_cv_prog_compiler_static_works=yes
8755        fi
8756      else
8757        lt_cv_prog_compiler_static_works=yes
8758      fi
8759    fi
8760    $RM -r conftest*
8761    LDFLAGS="$save_LDFLAGS"
8762
8763 fi
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8765 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8766
8767 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8768     :
8769 else
8770     lt_prog_compiler_static=
8771 fi
8772
8773
8774
8775
8776
8777
8778
8779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8780 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8781 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8782   $as_echo_n "(cached) " >&6
8783 else
8784   lt_cv_prog_compiler_c_o=no
8785    $RM -r conftest 2>/dev/null
8786    mkdir conftest
8787    cd conftest
8788    mkdir out
8789    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8790
8791    lt_compiler_flag="-o out/conftest2.$ac_objext"
8792    # Insert the option either (1) after the last *FLAGS variable, or
8793    # (2) before a word containing "conftest.", or (3) at the end.
8794    # Note that $ac_compile itself does not contain backslashes and begins
8795    # with a dollar sign (not a hyphen), so the echo should work correctly.
8796    lt_compile=`echo "$ac_compile" | $SED \
8797    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8798    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8799    -e 's:$: $lt_compiler_flag:'`
8800    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8801    (eval "$lt_compile" 2>out/conftest.err)
8802    ac_status=$?
8803    cat out/conftest.err >&5
8804    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8806    then
8807      # The compiler can only warn and ignore the option if not recognized
8808      # So say no if there are warnings
8809      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8810      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8811      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8812        lt_cv_prog_compiler_c_o=yes
8813      fi
8814    fi
8815    chmod u+w . 2>&5
8816    $RM conftest*
8817    # SGI C++ compiler will create directory out/ii_files/ for
8818    # template instantiation
8819    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8820    $RM out/* && rmdir out
8821    cd ..
8822    $RM -r conftest
8823    $RM conftest*
8824
8825 fi
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8827 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8828
8829
8830
8831
8832
8833
8834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8835 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8836 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8837   $as_echo_n "(cached) " >&6
8838 else
8839   lt_cv_prog_compiler_c_o=no
8840    $RM -r conftest 2>/dev/null
8841    mkdir conftest
8842    cd conftest
8843    mkdir out
8844    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8845
8846    lt_compiler_flag="-o out/conftest2.$ac_objext"
8847    # Insert the option either (1) after the last *FLAGS variable, or
8848    # (2) before a word containing "conftest.", or (3) at the end.
8849    # Note that $ac_compile itself does not contain backslashes and begins
8850    # with a dollar sign (not a hyphen), so the echo should work correctly.
8851    lt_compile=`echo "$ac_compile" | $SED \
8852    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8853    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8854    -e 's:$: $lt_compiler_flag:'`
8855    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8856    (eval "$lt_compile" 2>out/conftest.err)
8857    ac_status=$?
8858    cat out/conftest.err >&5
8859    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8861    then
8862      # The compiler can only warn and ignore the option if not recognized
8863      # So say no if there are warnings
8864      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8865      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8866      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8867        lt_cv_prog_compiler_c_o=yes
8868      fi
8869    fi
8870    chmod u+w . 2>&5
8871    $RM conftest*
8872    # SGI C++ compiler will create directory out/ii_files/ for
8873    # template instantiation
8874    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8875    $RM out/* && rmdir out
8876    cd ..
8877    $RM -r conftest
8878    $RM conftest*
8879
8880 fi
8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8882 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8883
8884
8885
8886
8887 hard_links="nottested"
8888 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8889   # do not overwrite the value of need_locks provided by the user
8890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8891 $as_echo_n "checking if we can lock with hard links... " >&6; }
8892   hard_links=yes
8893   $RM conftest*
8894   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8895   touch conftest.a
8896   ln conftest.a conftest.b 2>&5 || hard_links=no
8897   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8898   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8899 $as_echo "$hard_links" >&6; }
8900   if test "$hard_links" = no; then
8901     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8902 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8903     need_locks=warn
8904   fi
8905 else
8906   need_locks=no
8907 fi
8908
8909
8910
8911
8912
8913
8914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8915 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8916
8917   runpath_var=
8918   allow_undefined_flag=
8919   always_export_symbols=no
8920   archive_cmds=
8921   archive_expsym_cmds=
8922   compiler_needs_object=no
8923   enable_shared_with_static_runtimes=no
8924   export_dynamic_flag_spec=
8925   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8926   hardcode_automatic=no
8927   hardcode_direct=no
8928   hardcode_direct_absolute=no
8929   hardcode_libdir_flag_spec=
8930   hardcode_libdir_flag_spec_ld=
8931   hardcode_libdir_separator=
8932   hardcode_minus_L=no
8933   hardcode_shlibpath_var=unsupported
8934   inherit_rpath=no
8935   link_all_deplibs=unknown
8936   module_cmds=
8937   module_expsym_cmds=
8938   old_archive_from_new_cmds=
8939   old_archive_from_expsyms_cmds=
8940   thread_safe_flag_spec=
8941   whole_archive_flag_spec=
8942   # include_expsyms should be a list of space-separated symbols to be *always*
8943   # included in the symbol list
8944   include_expsyms=
8945   # exclude_expsyms can be an extended regexp of symbols to exclude
8946   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8947   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8948   # as well as any symbol that contains `d'.
8949   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8950   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8951   # platforms (ab)use it in PIC code, but their linkers get confused if
8952   # the symbol is explicitly referenced.  Since portable code cannot
8953   # rely on this symbol name, it's probably fine to never include it in
8954   # preloaded symbol tables.
8955   # Exclude shared library initialization/finalization symbols.
8956   extract_expsyms_cmds=
8957
8958   case $host_os in
8959   cygwin* | mingw* | pw32* | cegcc*)
8960     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8961     # When not using gcc, we currently assume that we are using
8962     # Microsoft Visual C++.
8963     if test "$GCC" != yes; then
8964       with_gnu_ld=no
8965     fi
8966     ;;
8967   interix*)
8968     # we just hope/assume this is gcc and not c89 (= MSVC++)
8969     with_gnu_ld=yes
8970     ;;
8971   openbsd*)
8972     with_gnu_ld=no
8973     ;;
8974   esac
8975
8976   ld_shlibs=yes
8977
8978   # On some targets, GNU ld is compatible enough with the native linker
8979   # that we're better off using the native interface for both.
8980   lt_use_gnu_ld_interface=no
8981   if test "$with_gnu_ld" = yes; then
8982     case $host_os in
8983       aix*)
8984         # The AIX port of GNU ld has always aspired to compatibility
8985         # with the native linker.  However, as the warning in the GNU ld
8986         # block says, versions before 2.19.5* couldn't really create working
8987         # shared libraries, regardless of the interface used.
8988         case `$LD -v 2>&1` in
8989           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8990           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8991           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8992           *)
8993             lt_use_gnu_ld_interface=yes
8994             ;;
8995         esac
8996         ;;
8997       *)
8998         lt_use_gnu_ld_interface=yes
8999         ;;
9000     esac
9001   fi
9002
9003   if test "$lt_use_gnu_ld_interface" = yes; then
9004     # If archive_cmds runs LD, not CC, wlarc should be empty
9005     wlarc='${wl}'
9006
9007     # Set some defaults for GNU ld with shared library support. These
9008     # are reset later if shared libraries are not supported. Putting them
9009     # here allows them to be overridden if necessary.
9010     runpath_var=LD_RUN_PATH
9011     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9012     export_dynamic_flag_spec='${wl}--export-dynamic'
9013     # ancient GNU ld didn't support --whole-archive et. al.
9014     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9015       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9016     else
9017       whole_archive_flag_spec=
9018     fi
9019     supports_anon_versioning=no
9020     case `$LD -v 2>&1` in
9021       *GNU\ gold*) supports_anon_versioning=yes ;;
9022       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9023       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9024       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9025       *\ 2.11.*) ;; # other 2.11 versions
9026       *) supports_anon_versioning=yes ;;
9027     esac
9028
9029     # See if GNU ld supports shared libraries.
9030     case $host_os in
9031     aix[3-9]*)
9032       # On AIX/PPC, the GNU linker is very broken
9033       if test "$host_cpu" != ia64; then
9034         ld_shlibs=no
9035         cat <<_LT_EOF 1>&2
9036
9037 *** Warning: the GNU linker, at least up to release 2.19, is reported
9038 *** to be unable to reliably create shared libraries on AIX.
9039 *** Therefore, libtool is disabling shared libraries support.  If you
9040 *** really care for shared libraries, you may want to install binutils
9041 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9042 *** You will then need to restart the configuration process.
9043
9044 _LT_EOF
9045       fi
9046       ;;
9047
9048     amigaos*)
9049       case $host_cpu in
9050       powerpc)
9051             # see comment about AmigaOS4 .so support
9052             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053             archive_expsym_cmds=''
9054         ;;
9055       m68k)
9056             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)'
9057             hardcode_libdir_flag_spec='-L$libdir'
9058             hardcode_minus_L=yes
9059         ;;
9060       esac
9061       ;;
9062
9063     beos*)
9064       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9065         allow_undefined_flag=unsupported
9066         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9067         # support --undefined.  This deserves some investigation.  FIXME
9068         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9069       else
9070         ld_shlibs=no
9071       fi
9072       ;;
9073
9074     cygwin* | mingw* | pw32* | cegcc*)
9075       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9076       # as there is no search path for DLLs.
9077       hardcode_libdir_flag_spec='-L$libdir'
9078       export_dynamic_flag_spec='${wl}--export-all-symbols'
9079       allow_undefined_flag=unsupported
9080       always_export_symbols=no
9081       enable_shared_with_static_runtimes=yes
9082       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9083
9084       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9085         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9086         # If the export-symbols file already is a .def file (1st line
9087         # is EXPORTS), use it as is; otherwise, prepend...
9088         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9089           cp $export_symbols $output_objdir/$soname.def;
9090         else
9091           echo EXPORTS > $output_objdir/$soname.def;
9092           cat $export_symbols >> $output_objdir/$soname.def;
9093         fi~
9094         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9095       else
9096         ld_shlibs=no
9097       fi
9098       ;;
9099
9100     haiku*)
9101       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9102       link_all_deplibs=yes
9103       ;;
9104
9105     interix[3-9]*)
9106       hardcode_direct=no
9107       hardcode_shlibpath_var=no
9108       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9109       export_dynamic_flag_spec='${wl}-E'
9110       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9111       # Instead, shared libraries are loaded at an image base (0x10000000 by
9112       # default) and relocated if they conflict, which is a slow very memory
9113       # consuming and fragmenting process.  To avoid this, we pick a random,
9114       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9115       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9116       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9117       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'
9118       ;;
9119
9120     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9121       tmp_diet=no
9122       if test "$host_os" = linux-dietlibc; then
9123         case $cc_basename in
9124           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9125         esac
9126       fi
9127       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9128          && test "$tmp_diet" = no
9129       then
9130         tmp_addflag=
9131         tmp_sharedflag='-shared'
9132         case $cc_basename,$host_cpu in
9133         pgcc*)                          # Portland Group C compiler
9134           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'
9135           tmp_addflag=' $pic_flag'
9136           ;;
9137         pgf77* | pgf90* | pgf95* | pgfortran*)
9138                                         # Portland Group f77 and f90 compilers
9139           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'
9140           tmp_addflag=' $pic_flag -Mnomain' ;;
9141         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9142           tmp_addflag=' -i_dynamic' ;;
9143         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9144           tmp_addflag=' -i_dynamic -nofor_main' ;;
9145         ifc* | ifort*)                  # Intel Fortran compiler
9146           tmp_addflag=' -nofor_main' ;;
9147         lf95*)                          # Lahey Fortran 8.1
9148           whole_archive_flag_spec=
9149           tmp_sharedflag='--shared' ;;
9150         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9151           tmp_sharedflag='-qmkshrobj'
9152           tmp_addflag= ;;
9153         nvcc*)  # Cuda Compiler Driver 2.2
9154           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'
9155           compiler_needs_object=yes
9156           ;;
9157         esac
9158         case `$CC -V 2>&1 | sed 5q` in
9159         *Sun\ C*)                       # Sun C 5.9
9160           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'
9161           compiler_needs_object=yes
9162           tmp_sharedflag='-G' ;;
9163         *Sun\ F*)                       # Sun Fortran 8.3
9164           tmp_sharedflag='-G' ;;
9165         esac
9166         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9167
9168         if test "x$supports_anon_versioning" = xyes; then
9169           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9170             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9171             echo "local: *; };" >> $output_objdir/$libname.ver~
9172             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9173         fi
9174
9175         case $cc_basename in
9176         xlf* | bgf* | bgxlf* | mpixlf*)
9177           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9178           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9179           hardcode_libdir_flag_spec=
9180           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9181           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9182           if test "x$supports_anon_versioning" = xyes; then
9183             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9184               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9185               echo "local: *; };" >> $output_objdir/$libname.ver~
9186               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9187           fi
9188           ;;
9189         esac
9190       else
9191         ld_shlibs=no
9192       fi
9193       ;;
9194
9195     netbsd*)
9196       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9197         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9198         wlarc=
9199       else
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       fi
9203       ;;
9204
9205     solaris*)
9206       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9207         ld_shlibs=no
9208         cat <<_LT_EOF 1>&2
9209
9210 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9211 *** create shared libraries on Solaris systems.  Therefore, libtool
9212 *** is disabling shared libraries support.  We urge you to upgrade GNU
9213 *** binutils to release 2.9.1 or newer.  Another option is to modify
9214 *** your PATH or compiler configuration so that the native linker is
9215 *** used, and then restart.
9216
9217 _LT_EOF
9218       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9219         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9221       else
9222         ld_shlibs=no
9223       fi
9224       ;;
9225
9226     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9227       case `$LD -v 2>&1` in
9228         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9229         ld_shlibs=no
9230         cat <<_LT_EOF 1>&2
9231
9232 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9233 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9234 *** is disabling shared libraries support.  We urge you to upgrade GNU
9235 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9236 *** your PATH or compiler configuration so that the native linker is
9237 *** used, and then restart.
9238
9239 _LT_EOF
9240         ;;
9241         *)
9242           # For security reasons, it is highly recommended that you always
9243           # use absolute paths for naming shared libraries, and exclude the
9244           # DT_RUNPATH tag from executables and libraries.  But doing so
9245           # requires that you compile everything twice, which is a pain.
9246           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9247             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9248             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9249             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9250           else
9251             ld_shlibs=no
9252           fi
9253         ;;
9254       esac
9255       ;;
9256
9257     sunos4*)
9258       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9259       wlarc=
9260       hardcode_direct=yes
9261       hardcode_shlibpath_var=no
9262       ;;
9263
9264     *)
9265       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9266         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9267         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9268       else
9269         ld_shlibs=no
9270       fi
9271       ;;
9272     esac
9273
9274     if test "$ld_shlibs" = no; then
9275       runpath_var=
9276       hardcode_libdir_flag_spec=
9277       export_dynamic_flag_spec=
9278       whole_archive_flag_spec=
9279     fi
9280   else
9281     # PORTME fill in a description of your system's linker (not GNU ld)
9282     case $host_os in
9283     aix3*)
9284       allow_undefined_flag=unsupported
9285       always_export_symbols=yes
9286       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'
9287       # Note: this linker hardcodes the directories in LIBPATH if there
9288       # are no directories specified by -L.
9289       hardcode_minus_L=yes
9290       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9291         # Neither direct hardcoding nor static linking is supported with a
9292         # broken collect2.
9293         hardcode_direct=unsupported
9294       fi
9295       ;;
9296
9297     aix[4-9]*)
9298       if test "$host_cpu" = ia64; then
9299         # On IA64, the linker does run time linking by default, so we don't
9300         # have to do anything special.
9301         aix_use_runtimelinking=no
9302         exp_sym_flag='-Bexport'
9303         no_entry_flag=""
9304       else
9305         # If we're using GNU nm, then we don't want the "-C" option.
9306         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9307         # Also, AIX nm treats weak defined symbols like other global
9308         # defined symbols, whereas GNU nm marks them as "W".
9309         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9310           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'
9311         else
9312           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'
9313         fi
9314         aix_use_runtimelinking=no
9315
9316         # Test if we are trying to use run time linking or normal
9317         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9318         # need to do runtime linking.
9319         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9320           for ld_flag in $LDFLAGS; do
9321           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9322             aix_use_runtimelinking=yes
9323             break
9324           fi
9325           done
9326           ;;
9327         esac
9328
9329         exp_sym_flag='-bexport'
9330         no_entry_flag='-bnoentry'
9331       fi
9332
9333       # When large executables or shared objects are built, AIX ld can
9334       # have problems creating the table of contents.  If linking a library
9335       # or program results in "error TOC overflow" add -mminimal-toc to
9336       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9337       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9338
9339       archive_cmds=''
9340       hardcode_direct=yes
9341       hardcode_direct_absolute=yes
9342       hardcode_libdir_separator=':'
9343       link_all_deplibs=yes
9344       file_list_spec='${wl}-f,'
9345
9346       if test "$GCC" = yes; then
9347         case $host_os in aix4.[012]|aix4.[012].*)
9348         # We only want to do this on AIX 4.2 and lower, the check
9349         # below for broken collect2 doesn't work under 4.3+
9350           collect2name=`${CC} -print-prog-name=collect2`
9351           if test -f "$collect2name" &&
9352            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9353           then
9354           # We have reworked collect2
9355           :
9356           else
9357           # We have old collect2
9358           hardcode_direct=unsupported
9359           # It fails to find uninstalled libraries when the uninstalled
9360           # path is not listed in the libpath.  Setting hardcode_minus_L
9361           # to unsupported forces relinking
9362           hardcode_minus_L=yes
9363           hardcode_libdir_flag_spec='-L$libdir'
9364           hardcode_libdir_separator=
9365           fi
9366           ;;
9367         esac
9368         shared_flag='-shared'
9369         if test "$aix_use_runtimelinking" = yes; then
9370           shared_flag="$shared_flag "'${wl}-G'
9371         fi
9372       else
9373         # not using gcc
9374         if test "$host_cpu" = ia64; then
9375         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9376         # chokes on -Wl,-G. The following line is correct:
9377           shared_flag='-G'
9378         else
9379           if test "$aix_use_runtimelinking" = yes; then
9380             shared_flag='${wl}-G'
9381           else
9382             shared_flag='${wl}-bM:SRE'
9383           fi
9384         fi
9385       fi
9386
9387       export_dynamic_flag_spec='${wl}-bexpall'
9388       # It seems that -bexpall does not export symbols beginning with
9389       # underscore (_), so it is better to generate a list of symbols to export.
9390       always_export_symbols=yes
9391       if test "$aix_use_runtimelinking" = yes; then
9392         # Warning - without using the other runtime loading flags (-brtl),
9393         # -berok will link without error, but may produce a broken library.
9394         allow_undefined_flag='-berok'
9395         # Determine the default libpath from the value encoded in an
9396         # empty executable.
9397         if test x$gcc_no_link = xyes; then
9398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9399 fi
9400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9401 /* end confdefs.h.  */
9402
9403 int
9404 main ()
9405 {
9406
9407   ;
9408   return 0;
9409 }
9410 _ACEOF
9411 if ac_fn_c_try_link "$LINENO"; then :
9412
9413 lt_aix_libpath_sed='
9414     /Import File Strings/,/^$/ {
9415         /^0/ {
9416             s/^0  *\(.*\)$/\1/
9417             p
9418         }
9419     }'
9420 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9421 # Check for a 64-bit object if we didn't find anything.
9422 if test -z "$aix_libpath"; then
9423   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9424 fi
9425 fi
9426 rm -f core conftest.err conftest.$ac_objext \
9427     conftest$ac_exeext conftest.$ac_ext
9428 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9429
9430         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9431         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"
9432       else
9433         if test "$host_cpu" = ia64; then
9434           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9435           allow_undefined_flag="-z nodefs"
9436           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"
9437         else
9438          # Determine the default libpath from the value encoded in an
9439          # empty executable.
9440          if test x$gcc_no_link = xyes; then
9441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9442 fi
9443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9444 /* end confdefs.h.  */
9445
9446 int
9447 main ()
9448 {
9449
9450   ;
9451   return 0;
9452 }
9453 _ACEOF
9454 if ac_fn_c_try_link "$LINENO"; then :
9455
9456 lt_aix_libpath_sed='
9457     /Import File Strings/,/^$/ {
9458         /^0/ {
9459             s/^0  *\(.*\)$/\1/
9460             p
9461         }
9462     }'
9463 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9464 # Check for a 64-bit object if we didn't find anything.
9465 if test -z "$aix_libpath"; then
9466   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9467 fi
9468 fi
9469 rm -f core conftest.err conftest.$ac_objext \
9470     conftest$ac_exeext conftest.$ac_ext
9471 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9472
9473          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9474           # Warning - without using the other run time loading flags,
9475           # -berok will link without error, but may produce a broken library.
9476           no_undefined_flag=' ${wl}-bernotok'
9477           allow_undefined_flag=' ${wl}-berok'
9478           if test "$with_gnu_ld" = yes; then
9479             # We only use this code for GNU lds that support --whole-archive.
9480             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9481           else
9482             # Exported symbols can be pulled into shared objects from archives
9483             whole_archive_flag_spec='$convenience'
9484           fi
9485           archive_cmds_need_lc=yes
9486           # This is similar to how AIX traditionally builds its shared libraries.
9487           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'
9488         fi
9489       fi
9490       ;;
9491
9492     amigaos*)
9493       case $host_cpu in
9494       powerpc)
9495             # see comment about AmigaOS4 .so support
9496             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497             archive_expsym_cmds=''
9498         ;;
9499       m68k)
9500             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)'
9501             hardcode_libdir_flag_spec='-L$libdir'
9502             hardcode_minus_L=yes
9503         ;;
9504       esac
9505       ;;
9506
9507     bsdi[45]*)
9508       export_dynamic_flag_spec=-rdynamic
9509       ;;
9510
9511     cygwin* | mingw* | pw32* | cegcc*)
9512       # When not using gcc, we currently assume that we are using
9513       # Microsoft Visual C++.
9514       # hardcode_libdir_flag_spec is actually meaningless, as there is
9515       # no search path for DLLs.
9516       hardcode_libdir_flag_spec=' '
9517       allow_undefined_flag=unsupported
9518       # Tell ltmain to make .lib files, not .a files.
9519       libext=lib
9520       # Tell ltmain to make .dll files, not .so files.
9521       shrext_cmds=".dll"
9522       # FIXME: Setting linknames here is a bad hack.
9523       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9524       # The linker will automatically build a .lib file if we build a DLL.
9525       old_archive_from_new_cmds='true'
9526       # FIXME: Should let the user specify the lib program.
9527       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9528       fix_srcfile_path='`cygpath -w "$srcfile"`'
9529       enable_shared_with_static_runtimes=yes
9530       ;;
9531
9532     darwin* | rhapsody*)
9533
9534
9535   archive_cmds_need_lc=no
9536   hardcode_direct=no
9537   hardcode_automatic=yes
9538   hardcode_shlibpath_var=unsupported
9539   if test "$lt_cv_ld_force_load" = "yes"; then
9540     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\"`'
9541   else
9542     whole_archive_flag_spec=''
9543   fi
9544   link_all_deplibs=yes
9545   allow_undefined_flag="$_lt_dar_allow_undefined"
9546   case $cc_basename in
9547      ifort*) _lt_dar_can_shared=yes ;;
9548      *) _lt_dar_can_shared=$GCC ;;
9549   esac
9550   if test "$_lt_dar_can_shared" = "yes"; then
9551     output_verbose_link_cmd=func_echo_all
9552     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9553     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9554     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}"
9555     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}"
9556
9557   else
9558   ld_shlibs=no
9559   fi
9560
9561       ;;
9562
9563     dgux*)
9564       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565       hardcode_libdir_flag_spec='-L$libdir'
9566       hardcode_shlibpath_var=no
9567       ;;
9568
9569     freebsd1*)
9570       ld_shlibs=no
9571       ;;
9572
9573     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9574     # support.  Future versions do this automatically, but an explicit c++rt0.o
9575     # does not break anything, and helps significantly (at the cost of a little
9576     # extra space).
9577     freebsd2.2*)
9578       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9579       hardcode_libdir_flag_spec='-R$libdir'
9580       hardcode_direct=yes
9581       hardcode_shlibpath_var=no
9582       ;;
9583
9584     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9585     freebsd2*)
9586       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9587       hardcode_direct=yes
9588       hardcode_minus_L=yes
9589       hardcode_shlibpath_var=no
9590       ;;
9591
9592     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9593     freebsd* | dragonfly*)
9594       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9595       hardcode_libdir_flag_spec='-R$libdir'
9596       hardcode_direct=yes
9597       hardcode_shlibpath_var=no
9598       ;;
9599
9600     hpux9*)
9601       if test "$GCC" = yes; then
9602         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'
9603       else
9604         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'
9605       fi
9606       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9607       hardcode_libdir_separator=:
9608       hardcode_direct=yes
9609
9610       # hardcode_minus_L: Not really in the search PATH,
9611       # but as the default location of the library.
9612       hardcode_minus_L=yes
9613       export_dynamic_flag_spec='${wl}-E'
9614       ;;
9615
9616     hpux10*)
9617       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9618         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9619       else
9620         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9621       fi
9622       if test "$with_gnu_ld" = no; then
9623         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9624         hardcode_libdir_flag_spec_ld='+b $libdir'
9625         hardcode_libdir_separator=:
9626         hardcode_direct=yes
9627         hardcode_direct_absolute=yes
9628         export_dynamic_flag_spec='${wl}-E'
9629         # hardcode_minus_L: Not really in the search PATH,
9630         # but as the default location of the library.
9631         hardcode_minus_L=yes
9632       fi
9633       ;;
9634
9635     hpux11*)
9636       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9637         case $host_cpu in
9638         hppa*64*)
9639           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9640           ;;
9641         ia64*)
9642           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9643           ;;
9644         *)
9645           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9646           ;;
9647         esac
9648       else
9649         case $host_cpu in
9650         hppa*64*)
9651           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9652           ;;
9653         ia64*)
9654           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9655           ;;
9656         *)
9657
9658           # Older versions of the 11.00 compiler do not understand -b yet
9659           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9660           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9661 $as_echo_n "checking if $CC understands -b... " >&6; }
9662 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9663   $as_echo_n "(cached) " >&6
9664 else
9665   lt_cv_prog_compiler__b=no
9666    save_LDFLAGS="$LDFLAGS"
9667    LDFLAGS="$LDFLAGS -b"
9668    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9669    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9670      # The linker can only warn and ignore the option if not recognized
9671      # So say no if there are warnings
9672      if test -s conftest.err; then
9673        # Append any errors to the config.log.
9674        cat conftest.err 1>&5
9675        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9676        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9677        if diff conftest.exp conftest.er2 >/dev/null; then
9678          lt_cv_prog_compiler__b=yes
9679        fi
9680      else
9681        lt_cv_prog_compiler__b=yes
9682      fi
9683    fi
9684    $RM -r conftest*
9685    LDFLAGS="$save_LDFLAGS"
9686
9687 fi
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9689 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9690
9691 if test x"$lt_cv_prog_compiler__b" = xyes; then
9692     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9693 else
9694     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9695 fi
9696
9697           ;;
9698         esac
9699       fi
9700       if test "$with_gnu_ld" = no; then
9701         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9702         hardcode_libdir_separator=:
9703
9704         case $host_cpu in
9705         hppa*64*|ia64*)
9706           hardcode_direct=no
9707           hardcode_shlibpath_var=no
9708           ;;
9709         *)
9710           hardcode_direct=yes
9711           hardcode_direct_absolute=yes
9712           export_dynamic_flag_spec='${wl}-E'
9713
9714           # hardcode_minus_L: Not really in the search PATH,
9715           # but as the default location of the library.
9716           hardcode_minus_L=yes
9717           ;;
9718         esac
9719       fi
9720       ;;
9721
9722     irix5* | irix6* | nonstopux*)
9723       if test "$GCC" = yes; then
9724         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'
9725         # Try to use the -exported_symbol ld option, if it does not
9726         # work, assume that -exports_file does not work either and
9727         # implicitly export all symbols.
9728         save_LDFLAGS="$LDFLAGS"
9729         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9730         if test x$gcc_no_link = xyes; then
9731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9732 fi
9733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9734 /* end confdefs.h.  */
9735 int foo(void) {}
9736 _ACEOF
9737 if ac_fn_c_try_link "$LINENO"; then :
9738   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'
9739
9740 fi
9741 rm -f core conftest.err conftest.$ac_objext \
9742     conftest$ac_exeext conftest.$ac_ext
9743         LDFLAGS="$save_LDFLAGS"
9744       else
9745         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'
9746         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'
9747       fi
9748       archive_cmds_need_lc='no'
9749       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9750       hardcode_libdir_separator=:
9751       inherit_rpath=yes
9752       link_all_deplibs=yes
9753       ;;
9754
9755     netbsd*)
9756       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9757         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9758       else
9759         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9760       fi
9761       hardcode_libdir_flag_spec='-R$libdir'
9762       hardcode_direct=yes
9763       hardcode_shlibpath_var=no
9764       ;;
9765
9766     newsos6)
9767       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9768       hardcode_direct=yes
9769       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9770       hardcode_libdir_separator=:
9771       hardcode_shlibpath_var=no
9772       ;;
9773
9774     *nto* | *qnx*)
9775       ;;
9776
9777     openbsd*)
9778       if test -f /usr/libexec/ld.so; then
9779         hardcode_direct=yes
9780         hardcode_shlibpath_var=no
9781         hardcode_direct_absolute=yes
9782         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9783           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9784           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9785           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9786           export_dynamic_flag_spec='${wl}-E'
9787         else
9788           case $host_os in
9789            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9790              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9791              hardcode_libdir_flag_spec='-R$libdir'
9792              ;;
9793            *)
9794              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9795              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9796              ;;
9797           esac
9798         fi
9799       else
9800         ld_shlibs=no
9801       fi
9802       ;;
9803
9804     os2*)
9805       hardcode_libdir_flag_spec='-L$libdir'
9806       hardcode_minus_L=yes
9807       allow_undefined_flag=unsupported
9808       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'
9809       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9810       ;;
9811
9812     osf3*)
9813       if test "$GCC" = yes; then
9814         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9815         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'
9816       else
9817         allow_undefined_flag=' -expect_unresolved \*'
9818         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'
9819       fi
9820       archive_cmds_need_lc='no'
9821       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9822       hardcode_libdir_separator=:
9823       ;;
9824
9825     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9826       if test "$GCC" = yes; then
9827         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9828         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'
9829         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9830       else
9831         allow_undefined_flag=' -expect_unresolved \*'
9832         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'
9833         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~
9834         $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'
9835
9836         # Both c and cxx compiler support -rpath directly
9837         hardcode_libdir_flag_spec='-rpath $libdir'
9838       fi
9839       archive_cmds_need_lc='no'
9840       hardcode_libdir_separator=:
9841       ;;
9842
9843     solaris*)
9844       no_undefined_flag=' -z defs'
9845       if test "$GCC" = yes; then
9846         wlarc='${wl}'
9847         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9848         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9849           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9850       else
9851         case `$CC -V 2>&1` in
9852         *"Compilers 5.0"*)
9853           wlarc=''
9854           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9855           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9856           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9857           ;;
9858         *)
9859           wlarc='${wl}'
9860           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9861           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9862           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9863           ;;
9864         esac
9865       fi
9866       hardcode_libdir_flag_spec='-R$libdir'
9867       hardcode_shlibpath_var=no
9868       case $host_os in
9869       solaris2.[0-5] | solaris2.[0-5].*) ;;
9870       *)
9871         # The compiler driver will combine and reorder linker options,
9872         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9873         # but is careful enough not to reorder.
9874         # Supported since Solaris 2.6 (maybe 2.5.1?)
9875         if test "$GCC" = yes; then
9876           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9877         else
9878           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9879         fi
9880         ;;
9881       esac
9882       link_all_deplibs=yes
9883       ;;
9884
9885     sunos4*)
9886       if test "x$host_vendor" = xsequent; then
9887         # Use $CC to link under sequent, because it throws in some extra .o
9888         # files that make .init and .fini sections work.
9889         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9890       else
9891         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9892       fi
9893       hardcode_libdir_flag_spec='-L$libdir'
9894       hardcode_direct=yes
9895       hardcode_minus_L=yes
9896       hardcode_shlibpath_var=no
9897       ;;
9898
9899     sysv4)
9900       case $host_vendor in
9901         sni)
9902           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903           hardcode_direct=yes # is this really true???
9904         ;;
9905         siemens)
9906           ## LD is ld it makes a PLAMLIB
9907           ## CC just makes a GrossModule.
9908           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9909           reload_cmds='$CC -r -o $output$reload_objs'
9910           hardcode_direct=no
9911         ;;
9912         motorola)
9913           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9915         ;;
9916       esac
9917       runpath_var='LD_RUN_PATH'
9918       hardcode_shlibpath_var=no
9919       ;;
9920
9921     sysv4.3*)
9922       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9923       hardcode_shlibpath_var=no
9924       export_dynamic_flag_spec='-Bexport'
9925       ;;
9926
9927     sysv4*MP*)
9928       if test -d /usr/nec; then
9929         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9930         hardcode_shlibpath_var=no
9931         runpath_var=LD_RUN_PATH
9932         hardcode_runpath_var=yes
9933         ld_shlibs=yes
9934       fi
9935       ;;
9936
9937     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9938       no_undefined_flag='${wl}-z,text'
9939       archive_cmds_need_lc=no
9940       hardcode_shlibpath_var=no
9941       runpath_var='LD_RUN_PATH'
9942
9943       if test "$GCC" = yes; then
9944         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946       else
9947         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9948         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9949       fi
9950       ;;
9951
9952     sysv5* | sco3.2v5* | sco5v6*)
9953       # Note: We can NOT use -z defs as we might desire, because we do not
9954       # link with -lc, and that would cause any symbols used from libc to
9955       # always be unresolved, which means just about no library would
9956       # ever link correctly.  If we're not using GNU ld we use -z text
9957       # though, which does catch some bad symbols but isn't as heavy-handed
9958       # as -z defs.
9959       no_undefined_flag='${wl}-z,text'
9960       allow_undefined_flag='${wl}-z,nodefs'
9961       archive_cmds_need_lc=no
9962       hardcode_shlibpath_var=no
9963       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9964       hardcode_libdir_separator=':'
9965       link_all_deplibs=yes
9966       export_dynamic_flag_spec='${wl}-Bexport'
9967       runpath_var='LD_RUN_PATH'
9968
9969       if test "$GCC" = yes; then
9970         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9971         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9972       else
9973         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9974         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975       fi
9976       ;;
9977
9978     uts4*)
9979       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9980       hardcode_libdir_flag_spec='-L$libdir'
9981       hardcode_shlibpath_var=no
9982       ;;
9983
9984     *)
9985       ld_shlibs=no
9986       ;;
9987     esac
9988
9989     if test x$host_vendor = xsni; then
9990       case $host in
9991       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9992         export_dynamic_flag_spec='${wl}-Blargedynsym'
9993         ;;
9994       esac
9995     fi
9996   fi
9997
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9999 $as_echo "$ld_shlibs" >&6; }
10000 test "$ld_shlibs" = no && can_build_shared=no
10001
10002 with_gnu_ld=$with_gnu_ld
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018 #
10019 # Do we need to explicitly link libc?
10020 #
10021 case "x$archive_cmds_need_lc" in
10022 x|xyes)
10023   # Assume -lc should be added
10024   archive_cmds_need_lc=yes
10025
10026   if test "$enable_shared" = yes && test "$GCC" = yes; then
10027     case $archive_cmds in
10028     *'~'*)
10029       # FIXME: we may have to deal with multi-command sequences.
10030       ;;
10031     '$CC '*)
10032       # Test whether the compiler implicitly links with -lc since on some
10033       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10034       # to ld, don't add -lc before -lgcc.
10035       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10036 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10037 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10038   $as_echo_n "(cached) " >&6
10039 else
10040   $RM conftest*
10041         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10042
10043         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10044   (eval $ac_compile) 2>&5
10045   ac_status=$?
10046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10047   test $ac_status = 0; } 2>conftest.err; then
10048           soname=conftest
10049           lib=conftest
10050           libobjs=conftest.$ac_objext
10051           deplibs=
10052           wl=$lt_prog_compiler_wl
10053           pic_flag=$lt_prog_compiler_pic
10054           compiler_flags=-v
10055           linker_flags=-v
10056           verstring=
10057           output_objdir=.
10058           libname=conftest
10059           lt_save_allow_undefined_flag=$allow_undefined_flag
10060           allow_undefined_flag=
10061           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10062   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10063   ac_status=$?
10064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10065   test $ac_status = 0; }
10066           then
10067             lt_cv_archive_cmds_need_lc=no
10068           else
10069             lt_cv_archive_cmds_need_lc=yes
10070           fi
10071           allow_undefined_flag=$lt_save_allow_undefined_flag
10072         else
10073           cat conftest.err 1>&5
10074         fi
10075         $RM conftest*
10076
10077 fi
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10079 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10080       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10081       ;;
10082     esac
10083   fi
10084   ;;
10085 esac
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
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10244 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10245
10246 if test "$GCC" = yes; then
10247   case $host_os in
10248     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10249     *) lt_awk_arg="/^libraries:/" ;;
10250   esac
10251   case $host_os in
10252     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10253     *) lt_sed_strip_eq="s,=/,/,g" ;;
10254   esac
10255   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10256   case $lt_search_path_spec in
10257   *\;*)
10258     # if the path contains ";" then we assume it to be the separator
10259     # otherwise default to the standard path separator (i.e. ":") - it is
10260     # assumed that no part of a normal pathname contains ";" but that should
10261     # okay in the real world where ";" in dirpaths is itself problematic.
10262     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10263     ;;
10264   *)
10265     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10266     ;;
10267   esac
10268   # Ok, now we have the path, separated by spaces, we can step through it
10269   # and add multilib dir if necessary.
10270   lt_tmp_lt_search_path_spec=
10271   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10272   for lt_sys_path in $lt_search_path_spec; do
10273     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10274       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10275     else
10276       test -d "$lt_sys_path" && \
10277         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10278     fi
10279   done
10280   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10281 BEGIN {RS=" "; FS="/|\n";} {
10282   lt_foo="";
10283   lt_count=0;
10284   for (lt_i = NF; lt_i > 0; lt_i--) {
10285     if ($lt_i != "" && $lt_i != ".") {
10286       if ($lt_i == "..") {
10287         lt_count++;
10288       } else {
10289         if (lt_count == 0) {
10290           lt_foo="/" $lt_i lt_foo;
10291         } else {
10292           lt_count--;
10293         }
10294       }
10295     }
10296   }
10297   if (lt_foo != "") { lt_freq[lt_foo]++; }
10298   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10299 }'`
10300   # AWK program above erroneously prepends '/' to C:/dos/paths
10301   # for these hosts.
10302   case $host_os in
10303     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10304       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10305   esac
10306   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10307 else
10308   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10309 fi
10310 library_names_spec=
10311 libname_spec='lib$name'
10312 soname_spec=
10313 shrext_cmds=".so"
10314 postinstall_cmds=
10315 postuninstall_cmds=
10316 finish_cmds=
10317 finish_eval=
10318 shlibpath_var=
10319 shlibpath_overrides_runpath=unknown
10320 version_type=none
10321 dynamic_linker="$host_os ld.so"
10322 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10323 need_lib_prefix=unknown
10324 hardcode_into_libs=no
10325
10326 # when you set need_version to no, make sure it does not cause -set_version
10327 # flags to be left without arguments
10328 need_version=unknown
10329
10330 case $host_os in
10331 aix3*)
10332   version_type=linux
10333   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10334   shlibpath_var=LIBPATH
10335
10336   # AIX 3 has no versioning support, so we append a major version to the name.
10337   soname_spec='${libname}${release}${shared_ext}$major'
10338   ;;
10339
10340 aix[4-9]*)
10341   version_type=linux
10342   need_lib_prefix=no
10343   need_version=no
10344   hardcode_into_libs=yes
10345   if test "$host_cpu" = ia64; then
10346     # AIX 5 supports IA64
10347     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10348     shlibpath_var=LD_LIBRARY_PATH
10349   else
10350     # With GCC up to 2.95.x, collect2 would create an import file
10351     # for dependence libraries.  The import file would start with
10352     # the line `#! .'.  This would cause the generated library to
10353     # depend on `.', always an invalid library.  This was fixed in
10354     # development snapshots of GCC prior to 3.0.
10355     case $host_os in
10356       aix4 | aix4.[01] | aix4.[01].*)
10357       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10358            echo ' yes '
10359            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10360         :
10361       else
10362         can_build_shared=no
10363       fi
10364       ;;
10365     esac
10366     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10367     # soname into executable. Probably we can add versioning support to
10368     # collect2, so additional links can be useful in future.
10369     if test "$aix_use_runtimelinking" = yes; then
10370       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10371       # instead of lib<name>.a to let people know that these are not
10372       # typical AIX shared libraries.
10373       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10374     else
10375       # We preserve .a as extension for shared libraries through AIX4.2
10376       # and later when we are not doing run time linking.
10377       library_names_spec='${libname}${release}.a $libname.a'
10378       soname_spec='${libname}${release}${shared_ext}$major'
10379     fi
10380     shlibpath_var=LIBPATH
10381   fi
10382   ;;
10383
10384 amigaos*)
10385   case $host_cpu in
10386   powerpc)
10387     # Since July 2007 AmigaOS4 officially supports .so libraries.
10388     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10389     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10390     ;;
10391   m68k)
10392     library_names_spec='$libname.ixlibrary $libname.a'
10393     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10394     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'
10395     ;;
10396   esac
10397   ;;
10398
10399 beos*)
10400   library_names_spec='${libname}${shared_ext}'
10401   dynamic_linker="$host_os ld.so"
10402   shlibpath_var=LIBRARY_PATH
10403   ;;
10404
10405 bsdi[45]*)
10406   version_type=linux
10407   need_version=no
10408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409   soname_spec='${libname}${release}${shared_ext}$major'
10410   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10411   shlibpath_var=LD_LIBRARY_PATH
10412   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10413   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10414   # the default ld.so.conf also contains /usr/contrib/lib and
10415   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10416   # libtool to hard-code these into programs
10417   ;;
10418
10419 cygwin* | mingw* | pw32* | cegcc*)
10420   version_type=windows
10421   shrext_cmds=".dll"
10422   need_version=no
10423   need_lib_prefix=no
10424
10425   case $GCC,$host_os in
10426   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10427     library_names_spec='$libname.dll.a'
10428     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10429     postinstall_cmds='base_file=`basename \${file}`~
10430       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10431       dldir=$destdir/`dirname \$dlpath`~
10432       test -d \$dldir || mkdir -p \$dldir~
10433       $install_prog $dir/$dlname \$dldir/$dlname~
10434       chmod a+x \$dldir/$dlname~
10435       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10436         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10437       fi'
10438     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10439       dlpath=$dir/\$dldll~
10440        $RM \$dlpath'
10441     shlibpath_overrides_runpath=yes
10442
10443     case $host_os in
10444     cygwin*)
10445       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10446       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10447
10448       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10449       ;;
10450     mingw* | cegcc*)
10451       # MinGW DLLs use traditional 'lib' prefix
10452       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10453       ;;
10454     pw32*)
10455       # pw32 DLLs use 'pw' prefix rather than 'lib'
10456       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10457       ;;
10458     esac
10459     ;;
10460
10461   *)
10462     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10463     ;;
10464   esac
10465   dynamic_linker='Win32 ld.exe'
10466   # FIXME: first we should search . and the directory the executable is in
10467   shlibpath_var=PATH
10468   ;;
10469
10470 darwin* | rhapsody*)
10471   dynamic_linker="$host_os dyld"
10472   version_type=darwin
10473   need_lib_prefix=no
10474   need_version=no
10475   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10476   soname_spec='${libname}${release}${major}$shared_ext'
10477   shlibpath_overrides_runpath=yes
10478   shlibpath_var=DYLD_LIBRARY_PATH
10479   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10480
10481   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10482   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10483   ;;
10484
10485 dgux*)
10486   version_type=linux
10487   need_lib_prefix=no
10488   need_version=no
10489   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10490   soname_spec='${libname}${release}${shared_ext}$major'
10491   shlibpath_var=LD_LIBRARY_PATH
10492   ;;
10493
10494 freebsd1*)
10495   dynamic_linker=no
10496   ;;
10497
10498 freebsd* | dragonfly*)
10499   # DragonFly does not have aout.  When/if they implement a new
10500   # versioning mechanism, adjust this.
10501   if test -x /usr/bin/objformat; then
10502     objformat=`/usr/bin/objformat`
10503   else
10504     case $host_os in
10505     freebsd[123]*) objformat=aout ;;
10506     *) objformat=elf ;;
10507     esac
10508   fi
10509   version_type=freebsd-$objformat
10510   case $version_type in
10511     freebsd-elf*)
10512       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10513       need_version=no
10514       need_lib_prefix=no
10515       ;;
10516     freebsd-*)
10517       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10518       need_version=yes
10519       ;;
10520   esac
10521   shlibpath_var=LD_LIBRARY_PATH
10522   case $host_os in
10523   freebsd2*)
10524     shlibpath_overrides_runpath=yes
10525     ;;
10526   freebsd3.[01]* | freebsdelf3.[01]*)
10527     shlibpath_overrides_runpath=yes
10528     hardcode_into_libs=yes
10529     ;;
10530   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10531   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10532     shlibpath_overrides_runpath=no
10533     hardcode_into_libs=yes
10534     ;;
10535   *) # from 4.6 on, and DragonFly
10536     shlibpath_overrides_runpath=yes
10537     hardcode_into_libs=yes
10538     ;;
10539   esac
10540   ;;
10541
10542 gnu*)
10543   version_type=linux
10544   need_lib_prefix=no
10545   need_version=no
10546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10547   soname_spec='${libname}${release}${shared_ext}$major'
10548   shlibpath_var=LD_LIBRARY_PATH
10549   hardcode_into_libs=yes
10550   ;;
10551
10552 haiku*)
10553   version_type=linux
10554   need_lib_prefix=no
10555   need_version=no
10556   dynamic_linker="$host_os runtime_loader"
10557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10558   soname_spec='${libname}${release}${shared_ext}$major'
10559   shlibpath_var=LIBRARY_PATH
10560   shlibpath_overrides_runpath=yes
10561   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10562   hardcode_into_libs=yes
10563   ;;
10564
10565 hpux9* | hpux10* | hpux11*)
10566   # Give a soname corresponding to the major version so that dld.sl refuses to
10567   # link against other versions.
10568   version_type=sunos
10569   need_lib_prefix=no
10570   need_version=no
10571   case $host_cpu in
10572   ia64*)
10573     shrext_cmds='.so'
10574     hardcode_into_libs=yes
10575     dynamic_linker="$host_os dld.so"
10576     shlibpath_var=LD_LIBRARY_PATH
10577     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10578     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10579     soname_spec='${libname}${release}${shared_ext}$major'
10580     if test "X$HPUX_IA64_MODE" = X32; then
10581       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10582     else
10583       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10584     fi
10585     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10586     ;;
10587   hppa*64*)
10588     shrext_cmds='.sl'
10589     hardcode_into_libs=yes
10590     dynamic_linker="$host_os dld.sl"
10591     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10592     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594     soname_spec='${libname}${release}${shared_ext}$major'
10595     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10596     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10597     ;;
10598   *)
10599     shrext_cmds='.sl'
10600     dynamic_linker="$host_os dld.sl"
10601     shlibpath_var=SHLIB_PATH
10602     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10603     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10604     soname_spec='${libname}${release}${shared_ext}$major'
10605     ;;
10606   esac
10607   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10608   postinstall_cmds='chmod 555 $lib'
10609   # or fails outright, so override atomically:
10610   install_override_mode=555
10611   ;;
10612
10613 interix[3-9]*)
10614   version_type=linux
10615   need_lib_prefix=no
10616   need_version=no
10617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10618   soname_spec='${libname}${release}${shared_ext}$major'
10619   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10620   shlibpath_var=LD_LIBRARY_PATH
10621   shlibpath_overrides_runpath=no
10622   hardcode_into_libs=yes
10623   ;;
10624
10625 irix5* | irix6* | nonstopux*)
10626   case $host_os in
10627     nonstopux*) version_type=nonstopux ;;
10628     *)
10629         if test "$lt_cv_prog_gnu_ld" = yes; then
10630                 version_type=linux
10631         else
10632                 version_type=irix
10633         fi ;;
10634   esac
10635   need_lib_prefix=no
10636   need_version=no
10637   soname_spec='${libname}${release}${shared_ext}$major'
10638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10639   case $host_os in
10640   irix5* | nonstopux*)
10641     libsuff= shlibsuff=
10642     ;;
10643   *)
10644     case $LD in # libtool.m4 will add one of these switches to LD
10645     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10646       libsuff= shlibsuff= libmagic=32-bit;;
10647     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10648       libsuff=32 shlibsuff=N32 libmagic=N32;;
10649     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10650       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10651     *) libsuff= shlibsuff= libmagic=never-match;;
10652     esac
10653     ;;
10654   esac
10655   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10656   shlibpath_overrides_runpath=no
10657   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10658   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10659   hardcode_into_libs=yes
10660   ;;
10661
10662 # No shared lib support for Linux oldld, aout, or coff.
10663 linux*oldld* | linux*aout* | linux*coff*)
10664   dynamic_linker=no
10665   ;;
10666
10667 # This must be Linux ELF.
10668 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10669   version_type=linux
10670   need_lib_prefix=no
10671   need_version=no
10672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10673   soname_spec='${libname}${release}${shared_ext}$major'
10674   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10675   shlibpath_var=LD_LIBRARY_PATH
10676   shlibpath_overrides_runpath=no
10677
10678   # Some binutils ld are patched to set DT_RUNPATH
10679   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10680   $as_echo_n "(cached) " >&6
10681 else
10682   lt_cv_shlibpath_overrides_runpath=no
10683     save_LDFLAGS=$LDFLAGS
10684     save_libdir=$libdir
10685     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10686          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10687     if test x$gcc_no_link = xyes; then
10688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10689 fi
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h.  */
10692
10693 int
10694 main ()
10695 {
10696
10697   ;
10698   return 0;
10699 }
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10703   lt_cv_shlibpath_overrides_runpath=yes
10704 fi
10705 fi
10706 rm -f core conftest.err conftest.$ac_objext \
10707     conftest$ac_exeext conftest.$ac_ext
10708     LDFLAGS=$save_LDFLAGS
10709     libdir=$save_libdir
10710
10711 fi
10712
10713   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10714
10715   # This implies no fast_install, which is unacceptable.
10716   # Some rework will be needed to allow for fast_install
10717   # before this can be enabled.
10718   hardcode_into_libs=yes
10719
10720   # Append ld.so.conf contents to the search path
10721   if test -f /etc/ld.so.conf; then
10722     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' ' '`
10723     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10724   fi
10725
10726   # We used to test for /lib/ld.so.1 and disable shared libraries on
10727   # powerpc, because MkLinux only supported shared libraries with the
10728   # GNU dynamic linker.  Since this was broken with cross compilers,
10729   # most powerpc-linux boxes support dynamic linking these days and
10730   # people can always --disable-shared, the test was removed, and we
10731   # assume the GNU/Linux dynamic linker is in use.
10732   dynamic_linker='GNU/Linux ld.so'
10733   ;;
10734
10735 netbsd*)
10736   version_type=sunos
10737   need_lib_prefix=no
10738   need_version=no
10739   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10740     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10741     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10742     dynamic_linker='NetBSD (a.out) ld.so'
10743   else
10744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10745     soname_spec='${libname}${release}${shared_ext}$major'
10746     dynamic_linker='NetBSD ld.elf_so'
10747   fi
10748   shlibpath_var=LD_LIBRARY_PATH
10749   shlibpath_overrides_runpath=yes
10750   hardcode_into_libs=yes
10751   ;;
10752
10753 newsos6)
10754   version_type=linux
10755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10756   shlibpath_var=LD_LIBRARY_PATH
10757   shlibpath_overrides_runpath=yes
10758   ;;
10759
10760 *nto* | *qnx*)
10761   version_type=qnx
10762   need_lib_prefix=no
10763   need_version=no
10764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10765   soname_spec='${libname}${release}${shared_ext}$major'
10766   shlibpath_var=LD_LIBRARY_PATH
10767   shlibpath_overrides_runpath=no
10768   hardcode_into_libs=yes
10769   dynamic_linker='ldqnx.so'
10770   ;;
10771
10772 openbsd*)
10773   version_type=sunos
10774   sys_lib_dlsearch_path_spec="/usr/lib"
10775   need_lib_prefix=no
10776   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10777   case $host_os in
10778     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10779     *)                          need_version=no  ;;
10780   esac
10781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10782   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10783   shlibpath_var=LD_LIBRARY_PATH
10784   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10785     case $host_os in
10786       openbsd2.[89] | openbsd2.[89].*)
10787         shlibpath_overrides_runpath=no
10788         ;;
10789       *)
10790         shlibpath_overrides_runpath=yes
10791         ;;
10792       esac
10793   else
10794     shlibpath_overrides_runpath=yes
10795   fi
10796   ;;
10797
10798 os2*)
10799   libname_spec='$name'
10800   shrext_cmds=".dll"
10801   need_lib_prefix=no
10802   library_names_spec='$libname${shared_ext} $libname.a'
10803   dynamic_linker='OS/2 ld.exe'
10804   shlibpath_var=LIBPATH
10805   ;;
10806
10807 osf3* | osf4* | osf5*)
10808   version_type=osf
10809   need_lib_prefix=no
10810   need_version=no
10811   soname_spec='${libname}${release}${shared_ext}$major'
10812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10813   shlibpath_var=LD_LIBRARY_PATH
10814   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10815   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10816   ;;
10817
10818 rdos*)
10819   dynamic_linker=no
10820   ;;
10821
10822 solaris*)
10823   version_type=linux
10824   need_lib_prefix=no
10825   need_version=no
10826   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827   soname_spec='${libname}${release}${shared_ext}$major'
10828   shlibpath_var=LD_LIBRARY_PATH
10829   shlibpath_overrides_runpath=yes
10830   hardcode_into_libs=yes
10831   # ldd complains unless libraries are executable
10832   postinstall_cmds='chmod +x $lib'
10833   ;;
10834
10835 sunos4*)
10836   version_type=sunos
10837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10838   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10839   shlibpath_var=LD_LIBRARY_PATH
10840   shlibpath_overrides_runpath=yes
10841   if test "$with_gnu_ld" = yes; then
10842     need_lib_prefix=no
10843   fi
10844   need_version=yes
10845   ;;
10846
10847 sysv4 | sysv4.3*)
10848   version_type=linux
10849   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850   soname_spec='${libname}${release}${shared_ext}$major'
10851   shlibpath_var=LD_LIBRARY_PATH
10852   case $host_vendor in
10853     sni)
10854       shlibpath_overrides_runpath=no
10855       need_lib_prefix=no
10856       runpath_var=LD_RUN_PATH
10857       ;;
10858     siemens)
10859       need_lib_prefix=no
10860       ;;
10861     motorola)
10862       need_lib_prefix=no
10863       need_version=no
10864       shlibpath_overrides_runpath=no
10865       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10866       ;;
10867   esac
10868   ;;
10869
10870 sysv4*MP*)
10871   if test -d /usr/nec ;then
10872     version_type=linux
10873     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10874     soname_spec='$libname${shared_ext}.$major'
10875     shlibpath_var=LD_LIBRARY_PATH
10876   fi
10877   ;;
10878
10879 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10880   version_type=freebsd-elf
10881   need_lib_prefix=no
10882   need_version=no
10883   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10884   soname_spec='${libname}${release}${shared_ext}$major'
10885   shlibpath_var=LD_LIBRARY_PATH
10886   shlibpath_overrides_runpath=yes
10887   hardcode_into_libs=yes
10888   if test "$with_gnu_ld" = yes; then
10889     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10890   else
10891     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10892     case $host_os in
10893       sco3.2v5*)
10894         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10895         ;;
10896     esac
10897   fi
10898   sys_lib_dlsearch_path_spec='/usr/lib'
10899   ;;
10900
10901 tpf*)
10902   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10903   version_type=linux
10904   need_lib_prefix=no
10905   need_version=no
10906   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907   shlibpath_var=LD_LIBRARY_PATH
10908   shlibpath_overrides_runpath=no
10909   hardcode_into_libs=yes
10910   ;;
10911
10912 uts4*)
10913   version_type=linux
10914   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915   soname_spec='${libname}${release}${shared_ext}$major'
10916   shlibpath_var=LD_LIBRARY_PATH
10917   ;;
10918
10919 *)
10920   dynamic_linker=no
10921   ;;
10922 esac
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10924 $as_echo "$dynamic_linker" >&6; }
10925 test "$dynamic_linker" = no && can_build_shared=no
10926
10927 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10928 if test "$GCC" = yes; then
10929   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10930 fi
10931
10932 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10933   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10934 fi
10935 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10936   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10937 fi
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
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11031 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11032 hardcode_action=
11033 if test -n "$hardcode_libdir_flag_spec" ||
11034    test -n "$runpath_var" ||
11035    test "X$hardcode_automatic" = "Xyes" ; then
11036
11037   # We can hardcode non-existent directories.
11038   if test "$hardcode_direct" != no &&
11039      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11040      # have to relink, otherwise we might link with an installed library
11041      # when we should be linking with a yet-to-be-installed one
11042      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11043      test "$hardcode_minus_L" != no; then
11044     # Linking always hardcodes the temporary library directory.
11045     hardcode_action=relink
11046   else
11047     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11048     hardcode_action=immediate
11049   fi
11050 else
11051   # We cannot hardcode anything, or else we can only hardcode existing
11052   # directories.
11053   hardcode_action=unsupported
11054 fi
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11056 $as_echo "$hardcode_action" >&6; }
11057
11058 if test "$hardcode_action" = relink ||
11059    test "$inherit_rpath" = yes; then
11060   # Fast installation is not supported
11061   enable_fast_install=no
11062 elif test "$shlibpath_overrides_runpath" = yes ||
11063      test "$enable_shared" = no; then
11064   # Fast installation is not necessary
11065   enable_fast_install=needless
11066 fi
11067
11068
11069
11070
11071
11072
11073   if test "x$enable_dlopen" != xyes; then
11074   enable_dlopen=unknown
11075   enable_dlopen_self=unknown
11076   enable_dlopen_self_static=unknown
11077 else
11078   lt_cv_dlopen=no
11079   lt_cv_dlopen_libs=
11080
11081   case $host_os in
11082   beos*)
11083     lt_cv_dlopen="load_add_on"
11084     lt_cv_dlopen_libs=
11085     lt_cv_dlopen_self=yes
11086     ;;
11087
11088   mingw* | pw32* | cegcc*)
11089     lt_cv_dlopen="LoadLibrary"
11090     lt_cv_dlopen_libs=
11091     ;;
11092
11093   cygwin*)
11094     lt_cv_dlopen="dlopen"
11095     lt_cv_dlopen_libs=
11096     ;;
11097
11098   darwin*)
11099   # if libdl is installed we need to link against it
11100     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11101 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11102 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11103   $as_echo_n "(cached) " >&6
11104 else
11105   ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-ldl  $LIBS"
11107 if test x$gcc_no_link = xyes; then
11108   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11109 fi
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h.  */
11112
11113 /* Override any GCC internal prototype to avoid an error.
11114    Use char because int might match the return type of a GCC
11115    builtin and then its argument prototype would still apply.  */
11116 #ifdef __cplusplus
11117 extern "C"
11118 #endif
11119 char dlopen ();
11120 int
11121 main ()
11122 {
11123 return dlopen ();
11124   ;
11125   return 0;
11126 }
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"; then :
11129   ac_cv_lib_dl_dlopen=yes
11130 else
11131   ac_cv_lib_dl_dlopen=no
11132 fi
11133 rm -f core conftest.err conftest.$ac_objext \
11134     conftest$ac_exeext conftest.$ac_ext
11135 LIBS=$ac_check_lib_save_LIBS
11136 fi
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11138 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11139 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11140   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11141 else
11142
11143     lt_cv_dlopen="dyld"
11144     lt_cv_dlopen_libs=
11145     lt_cv_dlopen_self=yes
11146
11147 fi
11148
11149     ;;
11150
11151   *)
11152     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11153 if test "x$ac_cv_func_shl_load" = x""yes; then :
11154   lt_cv_dlopen="shl_load"
11155 else
11156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11157 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11158 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11159   $as_echo_n "(cached) " >&6
11160 else
11161   ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-ldld  $LIBS"
11163 if test x$gcc_no_link = xyes; then
11164   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11165 fi
11166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h.  */
11168
11169 /* Override any GCC internal prototype to avoid an error.
11170    Use char because int might match the return type of a GCC
11171    builtin and then its argument prototype would still apply.  */
11172 #ifdef __cplusplus
11173 extern "C"
11174 #endif
11175 char shl_load ();
11176 int
11177 main ()
11178 {
11179 return shl_load ();
11180   ;
11181   return 0;
11182 }
11183 _ACEOF
11184 if ac_fn_c_try_link "$LINENO"; then :
11185   ac_cv_lib_dld_shl_load=yes
11186 else
11187   ac_cv_lib_dld_shl_load=no
11188 fi
11189 rm -f core conftest.err conftest.$ac_objext \
11190     conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11192 fi
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11194 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11195 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11196   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11197 else
11198   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11199 if test "x$ac_cv_func_dlopen" = x""yes; then :
11200   lt_cv_dlopen="dlopen"
11201 else
11202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11203 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11204 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11205   $as_echo_n "(cached) " >&6
11206 else
11207   ac_check_lib_save_LIBS=$LIBS
11208 LIBS="-ldl  $LIBS"
11209 if test x$gcc_no_link = xyes; then
11210   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11211 fi
11212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11213 /* end confdefs.h.  */
11214
11215 /* Override any GCC internal prototype to avoid an error.
11216    Use char because int might match the return type of a GCC
11217    builtin and then its argument prototype would still apply.  */
11218 #ifdef __cplusplus
11219 extern "C"
11220 #endif
11221 char dlopen ();
11222 int
11223 main ()
11224 {
11225 return dlopen ();
11226   ;
11227   return 0;
11228 }
11229 _ACEOF
11230 if ac_fn_c_try_link "$LINENO"; then :
11231   ac_cv_lib_dl_dlopen=yes
11232 else
11233   ac_cv_lib_dl_dlopen=no
11234 fi
11235 rm -f core conftest.err conftest.$ac_objext \
11236     conftest$ac_exeext conftest.$ac_ext
11237 LIBS=$ac_check_lib_save_LIBS
11238 fi
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11240 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11241 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11242   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11243 else
11244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11245 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11246 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11247   $as_echo_n "(cached) " >&6
11248 else
11249   ac_check_lib_save_LIBS=$LIBS
11250 LIBS="-lsvld  $LIBS"
11251 if test x$gcc_no_link = xyes; then
11252   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11253 fi
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h.  */
11256
11257 /* Override any GCC internal prototype to avoid an error.
11258    Use char because int might match the return type of a GCC
11259    builtin and then its argument prototype would still apply.  */
11260 #ifdef __cplusplus
11261 extern "C"
11262 #endif
11263 char dlopen ();
11264 int
11265 main ()
11266 {
11267 return dlopen ();
11268   ;
11269   return 0;
11270 }
11271 _ACEOF
11272 if ac_fn_c_try_link "$LINENO"; then :
11273   ac_cv_lib_svld_dlopen=yes
11274 else
11275   ac_cv_lib_svld_dlopen=no
11276 fi
11277 rm -f core conftest.err conftest.$ac_objext \
11278     conftest$ac_exeext conftest.$ac_ext
11279 LIBS=$ac_check_lib_save_LIBS
11280 fi
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11282 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11283 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11284   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11285 else
11286   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11287 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11288 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11289   $as_echo_n "(cached) " >&6
11290 else
11291   ac_check_lib_save_LIBS=$LIBS
11292 LIBS="-ldld  $LIBS"
11293 if test x$gcc_no_link = xyes; then
11294   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11295 fi
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h.  */
11298
11299 /* Override any GCC internal prototype to avoid an error.
11300    Use char because int might match the return type of a GCC
11301    builtin and then its argument prototype would still apply.  */
11302 #ifdef __cplusplus
11303 extern "C"
11304 #endif
11305 char dld_link ();
11306 int
11307 main ()
11308 {
11309 return dld_link ();
11310   ;
11311   return 0;
11312 }
11313 _ACEOF
11314 if ac_fn_c_try_link "$LINENO"; then :
11315   ac_cv_lib_dld_dld_link=yes
11316 else
11317   ac_cv_lib_dld_dld_link=no
11318 fi
11319 rm -f core conftest.err conftest.$ac_objext \
11320     conftest$ac_exeext conftest.$ac_ext
11321 LIBS=$ac_check_lib_save_LIBS
11322 fi
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11324 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11325 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11326   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11327 fi
11328
11329
11330 fi
11331
11332
11333 fi
11334
11335
11336 fi
11337
11338
11339 fi
11340
11341
11342 fi
11343
11344     ;;
11345   esac
11346
11347   if test "x$lt_cv_dlopen" != xno; then
11348     enable_dlopen=yes
11349   else
11350     enable_dlopen=no
11351   fi
11352
11353   case $lt_cv_dlopen in
11354   dlopen)
11355     save_CPPFLAGS="$CPPFLAGS"
11356     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11357
11358     save_LDFLAGS="$LDFLAGS"
11359     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11360
11361     save_LIBS="$LIBS"
11362     LIBS="$lt_cv_dlopen_libs $LIBS"
11363
11364     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11365 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11366 if test "${lt_cv_dlopen_self+set}" = set; then :
11367   $as_echo_n "(cached) " >&6
11368 else
11369           if test "$cross_compiling" = yes; then :
11370   lt_cv_dlopen_self=cross
11371 else
11372   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11373   lt_status=$lt_dlunknown
11374   cat > conftest.$ac_ext <<_LT_EOF
11375 #line 11375 "configure"
11376 #include "confdefs.h"
11377
11378 #if HAVE_DLFCN_H
11379 #include <dlfcn.h>
11380 #endif
11381
11382 #include <stdio.h>
11383
11384 #ifdef RTLD_GLOBAL
11385 #  define LT_DLGLOBAL           RTLD_GLOBAL
11386 #else
11387 #  ifdef DL_GLOBAL
11388 #    define LT_DLGLOBAL         DL_GLOBAL
11389 #  else
11390 #    define LT_DLGLOBAL         0
11391 #  endif
11392 #endif
11393
11394 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11395    find out it does not work in some platform. */
11396 #ifndef LT_DLLAZY_OR_NOW
11397 #  ifdef RTLD_LAZY
11398 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11399 #  else
11400 #    ifdef DL_LAZY
11401 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11402 #    else
11403 #      ifdef RTLD_NOW
11404 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11405 #      else
11406 #        ifdef DL_NOW
11407 #          define LT_DLLAZY_OR_NOW      DL_NOW
11408 #        else
11409 #          define LT_DLLAZY_OR_NOW      0
11410 #        endif
11411 #      endif
11412 #    endif
11413 #  endif
11414 #endif
11415
11416 /* When -fvisbility=hidden is used, assume the code has been annotated
11417    correspondingly for the symbols needed.  */
11418 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11419 void fnord () __attribute__((visibility("default")));
11420 #endif
11421
11422 void fnord () { int i=42; }
11423 int main ()
11424 {
11425   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11426   int status = $lt_dlunknown;
11427
11428   if (self)
11429     {
11430       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11431       else
11432         {
11433           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11434           else puts (dlerror ());
11435         }
11436       /* dlclose (self); */
11437     }
11438   else
11439     puts (dlerror ());
11440
11441   return status;
11442 }
11443 _LT_EOF
11444   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11445   (eval $ac_link) 2>&5
11446   ac_status=$?
11447   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11448   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11449     (./conftest; exit; ) >&5 2>/dev/null
11450     lt_status=$?
11451     case x$lt_status in
11452       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11453       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11454       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11455     esac
11456   else :
11457     # compilation failed
11458     lt_cv_dlopen_self=no
11459   fi
11460 fi
11461 rm -fr conftest*
11462
11463
11464 fi
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11466 $as_echo "$lt_cv_dlopen_self" >&6; }
11467
11468     if test "x$lt_cv_dlopen_self" = xyes; then
11469       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11470       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11471 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11472 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11473   $as_echo_n "(cached) " >&6
11474 else
11475           if test "$cross_compiling" = yes; then :
11476   lt_cv_dlopen_self_static=cross
11477 else
11478   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11479   lt_status=$lt_dlunknown
11480   cat > conftest.$ac_ext <<_LT_EOF
11481 #line 11481 "configure"
11482 #include "confdefs.h"
11483
11484 #if HAVE_DLFCN_H
11485 #include <dlfcn.h>
11486 #endif
11487
11488 #include <stdio.h>
11489
11490 #ifdef RTLD_GLOBAL
11491 #  define LT_DLGLOBAL           RTLD_GLOBAL
11492 #else
11493 #  ifdef DL_GLOBAL
11494 #    define LT_DLGLOBAL         DL_GLOBAL
11495 #  else
11496 #    define LT_DLGLOBAL         0
11497 #  endif
11498 #endif
11499
11500 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11501    find out it does not work in some platform. */
11502 #ifndef LT_DLLAZY_OR_NOW
11503 #  ifdef RTLD_LAZY
11504 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11505 #  else
11506 #    ifdef DL_LAZY
11507 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11508 #    else
11509 #      ifdef RTLD_NOW
11510 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11511 #      else
11512 #        ifdef DL_NOW
11513 #          define LT_DLLAZY_OR_NOW      DL_NOW
11514 #        else
11515 #          define LT_DLLAZY_OR_NOW      0
11516 #        endif
11517 #      endif
11518 #    endif
11519 #  endif
11520 #endif
11521
11522 /* When -fvisbility=hidden is used, assume the code has been annotated
11523    correspondingly for the symbols needed.  */
11524 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11525 void fnord () __attribute__((visibility("default")));
11526 #endif
11527
11528 void fnord () { int i=42; }
11529 int main ()
11530 {
11531   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11532   int status = $lt_dlunknown;
11533
11534   if (self)
11535     {
11536       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11537       else
11538         {
11539           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11540           else puts (dlerror ());
11541         }
11542       /* dlclose (self); */
11543     }
11544   else
11545     puts (dlerror ());
11546
11547   return status;
11548 }
11549 _LT_EOF
11550   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11551   (eval $ac_link) 2>&5
11552   ac_status=$?
11553   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11554   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11555     (./conftest; exit; ) >&5 2>/dev/null
11556     lt_status=$?
11557     case x$lt_status in
11558       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11559       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11560       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11561     esac
11562   else :
11563     # compilation failed
11564     lt_cv_dlopen_self_static=no
11565   fi
11566 fi
11567 rm -fr conftest*
11568
11569
11570 fi
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11572 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11573     fi
11574
11575     CPPFLAGS="$save_CPPFLAGS"
11576     LDFLAGS="$save_LDFLAGS"
11577     LIBS="$save_LIBS"
11578     ;;
11579   esac
11580
11581   case $lt_cv_dlopen_self in
11582   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11583   *) enable_dlopen_self=unknown ;;
11584   esac
11585
11586   case $lt_cv_dlopen_self_static in
11587   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11588   *) enable_dlopen_self_static=unknown ;;
11589   esac
11590 fi
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608 striplib=
11609 old_striplib=
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11611 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11612 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11613   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11614   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11616 $as_echo "yes" >&6; }
11617 else
11618 # FIXME - insert some real tests, host_os isn't really good enough
11619   case $host_os in
11620   darwin*)
11621     if test -n "$STRIP" ; then
11622       striplib="$STRIP -x"
11623       old_striplib="$STRIP -S"
11624       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11625 $as_echo "yes" >&6; }
11626     else
11627       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11628 $as_echo "no" >&6; }
11629     fi
11630     ;;
11631   *)
11632     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11633 $as_echo "no" >&6; }
11634     ;;
11635   esac
11636 fi
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649   # Report which library types will actually be built
11650   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11651 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11653 $as_echo "$can_build_shared" >&6; }
11654
11655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11656 $as_echo_n "checking whether to build shared libraries... " >&6; }
11657   test "$can_build_shared" = "no" && enable_shared=no
11658
11659   # On AIX, shared libraries and static libraries use the same namespace, and
11660   # are all built from PIC.
11661   case $host_os in
11662   aix3*)
11663     test "$enable_shared" = yes && enable_static=no
11664     if test -n "$RANLIB"; then
11665       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11666       postinstall_cmds='$RANLIB $lib'
11667     fi
11668     ;;
11669
11670   aix[4-9]*)
11671     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11672       test "$enable_shared" = yes && enable_static=no
11673     fi
11674     ;;
11675   esac
11676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11677 $as_echo "$enable_shared" >&6; }
11678
11679   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11680 $as_echo_n "checking whether to build static libraries... " >&6; }
11681   # Make sure either enable_shared or enable_static is yes.
11682   test "$enable_shared" = yes || enable_static=yes
11683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11684 $as_echo "$enable_static" >&6; }
11685
11686
11687
11688
11689 fi
11690 ac_ext=c
11691 ac_cpp='$CPP $CPPFLAGS'
11692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11695
11696 CC="$lt_save_CC"
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710         ac_config_commands="$ac_config_commands libtool"
11711
11712
11713
11714
11715 # Only expand once:
11716
11717
11718
11719
11720 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11721
11722 # We need gfortran to compile parts of the library
11723 #AC_PROG_FC(gfortran)
11724 FC="$GFORTRAN"
11725 ac_ext=${ac_fc_srcext-f}
11726 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11727 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11728 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11729 if test -n "$ac_tool_prefix"; then
11730   for ac_prog in gfortran
11731   do
11732     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11735 $as_echo_n "checking for $ac_word... " >&6; }
11736 if test "${ac_cv_prog_FC+set}" = set; then :
11737   $as_echo_n "(cached) " >&6
11738 else
11739   if test -n "$FC"; then
11740   ac_cv_prog_FC="$FC" # Let the user override the test.
11741 else
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $PATH
11744 do
11745   IFS=$as_save_IFS
11746   test -z "$as_dir" && as_dir=.
11747     for ac_exec_ext in '' $ac_executable_extensions; do
11748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11749     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11751     break 2
11752   fi
11753 done
11754   done
11755 IFS=$as_save_IFS
11756
11757 fi
11758 fi
11759 FC=$ac_cv_prog_FC
11760 if test -n "$FC"; then
11761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11762 $as_echo "$FC" >&6; }
11763 else
11764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11766 fi
11767
11768
11769     test -n "$FC" && break
11770   done
11771 fi
11772 if test -z "$FC"; then
11773   ac_ct_FC=$FC
11774   for ac_prog in gfortran
11775 do
11776   # Extract the first word of "$ac_prog", so it can be a program name with args.
11777 set dummy $ac_prog; ac_word=$2
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11779 $as_echo_n "checking for $ac_word... " >&6; }
11780 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11781   $as_echo_n "(cached) " >&6
11782 else
11783   if test -n "$ac_ct_FC"; then
11784   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11785 else
11786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11787 for as_dir in $PATH
11788 do
11789   IFS=$as_save_IFS
11790   test -z "$as_dir" && as_dir=.
11791     for ac_exec_ext in '' $ac_executable_extensions; do
11792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11793     ac_cv_prog_ac_ct_FC="$ac_prog"
11794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11795     break 2
11796   fi
11797 done
11798   done
11799 IFS=$as_save_IFS
11800
11801 fi
11802 fi
11803 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11804 if test -n "$ac_ct_FC"; then
11805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11806 $as_echo "$ac_ct_FC" >&6; }
11807 else
11808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11809 $as_echo "no" >&6; }
11810 fi
11811
11812
11813   test -n "$ac_ct_FC" && break
11814 done
11815
11816   if test "x$ac_ct_FC" = x; then
11817     FC=""
11818   else
11819     case $cross_compiling:$ac_tool_warned in
11820 yes:)
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11823 ac_tool_warned=yes ;;
11824 esac
11825     FC=$ac_ct_FC
11826   fi
11827 fi
11828
11829
11830 # Provide some information about the compiler.
11831 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11832 set X $ac_compile
11833 ac_compiler=$2
11834 for ac_option in --version -v -V -qversion; do
11835   { { ac_try="$ac_compiler $ac_option >&5"
11836 case "(($ac_try" in
11837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11838   *) ac_try_echo=$ac_try;;
11839 esac
11840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11841 $as_echo "$ac_try_echo"; } >&5
11842   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11843   ac_status=$?
11844   if test -s conftest.err; then
11845     sed '10a\
11846 ... rest of stderr output deleted ...
11847          10q' conftest.err >conftest.er1
11848     cat conftest.er1 >&5
11849     rm -f conftest.er1 conftest.err
11850   fi
11851   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11852   test $ac_status = 0; }
11853 done
11854 rm -f a.out
11855
11856 # If we don't use `.F' as extension, the preprocessor is not run on the
11857 # input file.  (Note that this only needs to work for GNU compilers.)
11858 ac_save_ext=$ac_ext
11859 ac_ext=F
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11861 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11862 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11863   $as_echo_n "(cached) " >&6
11864 else
11865   cat > conftest.$ac_ext <<_ACEOF
11866       program main
11867 #ifndef __GNUC__
11868        choke me
11869 #endif
11870
11871       end
11872 _ACEOF
11873 if ac_fn_fc_try_compile "$LINENO"; then :
11874   ac_compiler_gnu=yes
11875 else
11876   ac_compiler_gnu=no
11877 fi
11878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11879 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11880
11881 fi
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11883 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11884 ac_ext=$ac_save_ext
11885 ac_test_FCFLAGS=${FCFLAGS+set}
11886 ac_save_FCFLAGS=$FCFLAGS
11887 FCFLAGS=
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11889 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11890 if test "${ac_cv_prog_fc_g+set}" = set; then :
11891   $as_echo_n "(cached) " >&6
11892 else
11893   FCFLAGS=-g
11894 cat > conftest.$ac_ext <<_ACEOF
11895       program main
11896
11897       end
11898 _ACEOF
11899 if ac_fn_fc_try_compile "$LINENO"; then :
11900   ac_cv_prog_fc_g=yes
11901 else
11902   ac_cv_prog_fc_g=no
11903 fi
11904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11905
11906 fi
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11908 $as_echo "$ac_cv_prog_fc_g" >&6; }
11909 if test "$ac_test_FCFLAGS" = set; then
11910   FCFLAGS=$ac_save_FCFLAGS
11911 elif test $ac_cv_prog_fc_g = yes; then
11912   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11913     FCFLAGS="-g -O2"
11914   else
11915     FCFLAGS="-g"
11916   fi
11917 else
11918   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11919     FCFLAGS="-O2"
11920   else
11921     FCFLAGS=
11922   fi
11923 fi
11924
11925 ac_ext=c
11926 ac_cpp='$CPP $CPPFLAGS'
11927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11930
11931       ac_ext=${ac_fc_srcext-f}
11932 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11933 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11934 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11935
11936
11937 if test -z "$FC" || test "X$FC" = "Xno"; then
11938   _lt_disable_FC=yes
11939 fi
11940
11941 archive_cmds_need_lc_FC=no
11942 allow_undefined_flag_FC=
11943 always_export_symbols_FC=no
11944 archive_expsym_cmds_FC=
11945 export_dynamic_flag_spec_FC=
11946 hardcode_direct_FC=no
11947 hardcode_direct_absolute_FC=no
11948 hardcode_libdir_flag_spec_FC=
11949 hardcode_libdir_flag_spec_ld_FC=
11950 hardcode_libdir_separator_FC=
11951 hardcode_minus_L_FC=no
11952 hardcode_automatic_FC=no
11953 inherit_rpath_FC=no
11954 module_cmds_FC=
11955 module_expsym_cmds_FC=
11956 link_all_deplibs_FC=unknown
11957 old_archive_cmds_FC=$old_archive_cmds
11958 reload_flag_FC=$reload_flag
11959 reload_cmds_FC=$reload_cmds
11960 no_undefined_flag_FC=
11961 whole_archive_flag_spec_FC=
11962 enable_shared_with_static_runtimes_FC=no
11963
11964 # Source file extension for fc test sources.
11965 ac_ext=${ac_fc_srcext-f}
11966
11967 # Object file extension for compiled fc test sources.
11968 objext=o
11969 objext_FC=$objext
11970
11971 # No sense in running all these tests if we already determined that
11972 # the FC compiler isn't working.  Some variables (like enable_shared)
11973 # are currently assumed to apply to all compilers on this platform,
11974 # and will be corrupted by setting them based on a non-working compiler.
11975 if test "$_lt_disable_FC" != yes; then
11976   # Code to be used in simple compile tests
11977   lt_simple_compile_test_code="\
11978       subroutine t
11979       return
11980       end
11981 "
11982
11983   # Code to be used in simple link tests
11984   lt_simple_link_test_code="\
11985       program t
11986       end
11987 "
11988
11989   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11990
11991
11992
11993
11994
11995
11996 # If no C compiler was specified, use CC.
11997 LTCC=${LTCC-"$CC"}
11998
11999 # If no C compiler flags were specified, use CFLAGS.
12000 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12001
12002 # Allow CC to be a program name with arguments.
12003 compiler=$CC
12004
12005
12006   # save warnings/boilerplate of simple test code
12007   ac_outfile=conftest.$ac_objext
12008 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12009 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12010 _lt_compiler_boilerplate=`cat conftest.err`
12011 $RM conftest*
12012
12013   ac_outfile=conftest.$ac_objext
12014 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12015 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12016 _lt_linker_boilerplate=`cat conftest.err`
12017 $RM -r conftest*
12018
12019
12020   # Allow CC to be a program name with arguments.
12021   lt_save_CC="$CC"
12022   lt_save_GCC=$GCC
12023   CC=${FC-"f95"}
12024   compiler=$CC
12025   GCC=$ac_cv_fc_compiler_gnu
12026
12027   compiler_FC=$CC
12028   for cc_temp in $compiler""; do
12029   case $cc_temp in
12030     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12031     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12032     \-*) ;;
12033     *) break;;
12034   esac
12035 done
12036 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12037
12038
12039   if test -n "$compiler"; then
12040     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12041 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12043 $as_echo "$can_build_shared" >&6; }
12044
12045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12046 $as_echo_n "checking whether to build shared libraries... " >&6; }
12047     test "$can_build_shared" = "no" && enable_shared=no
12048
12049     # On AIX, shared libraries and static libraries use the same namespace, and
12050     # are all built from PIC.
12051     case $host_os in
12052       aix3*)
12053         test "$enable_shared" = yes && enable_static=no
12054         if test -n "$RANLIB"; then
12055           archive_cmds="$archive_cmds~\$RANLIB \$lib"
12056           postinstall_cmds='$RANLIB $lib'
12057         fi
12058         ;;
12059       aix[4-9]*)
12060         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12061           test "$enable_shared" = yes && enable_static=no
12062         fi
12063         ;;
12064     esac
12065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12066 $as_echo "$enable_shared" >&6; }
12067
12068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12069 $as_echo_n "checking whether to build static libraries... " >&6; }
12070     # Make sure either enable_shared or enable_static is yes.
12071     test "$enable_shared" = yes || enable_static=yes
12072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12073 $as_echo "$enable_static" >&6; }
12074
12075     GCC_FC="$ac_cv_fc_compiler_gnu"
12076     LD_FC="$LD"
12077
12078     ## CAVEAT EMPTOR:
12079     ## There is no encapsulation within the following macros, do not change
12080     ## the running order or otherwise move them around unless you know exactly
12081     ## what you are doing...
12082     # Dependencies to place before and after the object being linked:
12083 predep_objects_FC=
12084 postdep_objects_FC=
12085 predeps_FC=
12086 postdeps_FC=
12087 compiler_lib_search_path_FC=
12088
12089 cat > conftest.$ac_ext <<_LT_EOF
12090       subroutine foo
12091       implicit none
12092       integer a
12093       a=0
12094       return
12095       end
12096 _LT_EOF
12097
12098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12099   (eval $ac_compile) 2>&5
12100   ac_status=$?
12101   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12102   test $ac_status = 0; }; then
12103   # Parse the compiler output and extract the necessary
12104   # objects, libraries and library flags.
12105
12106   # Sentinel used to keep track of whether or not we are before
12107   # the conftest object file.
12108   pre_test_object_deps_done=no
12109
12110   for p in `eval "$output_verbose_link_cmd"`; do
12111     case $p in
12112
12113     -L* | -R* | -l*)
12114        # Some compilers place space between "-{L,R}" and the path.
12115        # Remove the space.
12116        if test $p = "-L" ||
12117           test $p = "-R"; then
12118          prev=$p
12119          continue
12120        else
12121          prev=
12122        fi
12123
12124        if test "$pre_test_object_deps_done" = no; then
12125          case $p in
12126          -L* | -R*)
12127            # Internal compiler library paths should come after those
12128            # provided the user.  The postdeps already come after the
12129            # user supplied libs so there is no need to process them.
12130            if test -z "$compiler_lib_search_path_FC"; then
12131              compiler_lib_search_path_FC="${prev}${p}"
12132            else
12133              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12134            fi
12135            ;;
12136          # The "-l" case would never come before the object being
12137          # linked, so don't bother handling this case.
12138          esac
12139        else
12140          if test -z "$postdeps_FC"; then
12141            postdeps_FC="${prev}${p}"
12142          else
12143            postdeps_FC="${postdeps_FC} ${prev}${p}"
12144          fi
12145        fi
12146        ;;
12147
12148     *.$objext)
12149        # This assumes that the test object file only shows up
12150        # once in the compiler output.
12151        if test "$p" = "conftest.$objext"; then
12152          pre_test_object_deps_done=yes
12153          continue
12154        fi
12155
12156        if test "$pre_test_object_deps_done" = no; then
12157          if test -z "$predep_objects_FC"; then
12158            predep_objects_FC="$p"
12159          else
12160            predep_objects_FC="$predep_objects_FC $p"
12161          fi
12162        else
12163          if test -z "$postdep_objects_FC"; then
12164            postdep_objects_FC="$p"
12165          else
12166            postdep_objects_FC="$postdep_objects_FC $p"
12167          fi
12168        fi
12169        ;;
12170
12171     *) ;; # Ignore the rest.
12172
12173     esac
12174   done
12175
12176   # Clean up.
12177   rm -f a.out a.exe
12178 else
12179   echo "libtool.m4: error: problem compiling FC test program"
12180 fi
12181
12182 $RM -f confest.$objext
12183
12184 # PORTME: override above test on systems where it is broken
12185
12186
12187 case " $postdeps_FC " in
12188 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12189 esac
12190  compiler_lib_search_dirs_FC=
12191 if test -n "${compiler_lib_search_path_FC}"; then
12192  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12193 fi
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225     lt_prog_compiler_wl_FC=
12226 lt_prog_compiler_pic_FC=
12227 lt_prog_compiler_static_FC=
12228
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12230 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12231
12232   if test "$GCC" = yes; then
12233     lt_prog_compiler_wl_FC='-Wl,'
12234     lt_prog_compiler_static_FC='-static'
12235
12236     case $host_os in
12237       aix*)
12238       # All AIX code is PIC.
12239       if test "$host_cpu" = ia64; then
12240         # AIX 5 now supports IA64 processor
12241         lt_prog_compiler_static_FC='-Bstatic'
12242       fi
12243       ;;
12244
12245     amigaos*)
12246       case $host_cpu in
12247       powerpc)
12248             # see comment about AmigaOS4 .so support
12249             lt_prog_compiler_pic_FC='-fPIC'
12250         ;;
12251       m68k)
12252             # FIXME: we need at least 68020 code to build shared libraries, but
12253             # adding the `-m68020' flag to GCC prevents building anything better,
12254             # like `-m68040'.
12255             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12256         ;;
12257       esac
12258       ;;
12259
12260     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12261       # PIC is the default for these OSes.
12262       ;;
12263
12264     mingw* | cygwin* | pw32* | os2* | cegcc*)
12265       # This hack is so that the source file can tell whether it is being
12266       # built for inclusion in a dll (and should export symbols for example).
12267       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12268       # (--disable-auto-import) libraries
12269       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12270       ;;
12271
12272     darwin* | rhapsody*)
12273       # PIC is the default on this platform
12274       # Common symbols not allowed in MH_DYLIB files
12275       lt_prog_compiler_pic_FC='-fno-common'
12276       ;;
12277
12278     haiku*)
12279       # PIC is the default for Haiku.
12280       # The "-static" flag exists, but is broken.
12281       lt_prog_compiler_static_FC=
12282       ;;
12283
12284     hpux*)
12285       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12286       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12287       # sets the default TLS model and affects inlining.
12288       case $host_cpu in
12289       hppa*64*)
12290         # +Z the default
12291         ;;
12292       *)
12293         lt_prog_compiler_pic_FC='-fPIC'
12294         ;;
12295       esac
12296       ;;
12297
12298     interix[3-9]*)
12299       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12300       # Instead, we relocate shared libraries at runtime.
12301       ;;
12302
12303     msdosdjgpp*)
12304       # Just because we use GCC doesn't mean we suddenly get shared libraries
12305       # on systems that don't support them.
12306       lt_prog_compiler_can_build_shared_FC=no
12307       enable_shared=no
12308       ;;
12309
12310     *nto* | *qnx*)
12311       # QNX uses GNU C++, but need to define -shared option too, otherwise
12312       # it will coredump.
12313       lt_prog_compiler_pic_FC='-fPIC -shared'
12314       ;;
12315
12316     sysv4*MP*)
12317       if test -d /usr/nec; then
12318         lt_prog_compiler_pic_FC=-Kconform_pic
12319       fi
12320       ;;
12321
12322     *)
12323       lt_prog_compiler_pic_FC='-fPIC'
12324       ;;
12325     esac
12326
12327     case $cc_basename in
12328     nvcc*) # Cuda Compiler Driver 2.2
12329       lt_prog_compiler_wl_FC='-Xlinker '
12330       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12331       ;;
12332     esac
12333   else
12334     # PORTME Check for flag to pass linker flags through the system compiler.
12335     case $host_os in
12336     aix*)
12337       lt_prog_compiler_wl_FC='-Wl,'
12338       if test "$host_cpu" = ia64; then
12339         # AIX 5 now supports IA64 processor
12340         lt_prog_compiler_static_FC='-Bstatic'
12341       else
12342         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12343       fi
12344       ;;
12345
12346     mingw* | cygwin* | pw32* | os2* | cegcc*)
12347       # This hack is so that the source file can tell whether it is being
12348       # built for inclusion in a dll (and should export symbols for example).
12349       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12350       ;;
12351
12352     hpux9* | hpux10* | hpux11*)
12353       lt_prog_compiler_wl_FC='-Wl,'
12354       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12355       # not for PA HP-UX.
12356       case $host_cpu in
12357       hppa*64*|ia64*)
12358         # +Z the default
12359         ;;
12360       *)
12361         lt_prog_compiler_pic_FC='+Z'
12362         ;;
12363       esac
12364       # Is there a better lt_prog_compiler_static that works with the bundled CC?
12365       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12366       ;;
12367
12368     irix5* | irix6* | nonstopux*)
12369       lt_prog_compiler_wl_FC='-Wl,'
12370       # PIC (with -KPIC) is the default.
12371       lt_prog_compiler_static_FC='-non_shared'
12372       ;;
12373
12374     linux* | k*bsd*-gnu | kopensolaris*-gnu)
12375       case $cc_basename in
12376       # old Intel for x86_64 which still supported -KPIC.
12377       ecc*)
12378         lt_prog_compiler_wl_FC='-Wl,'
12379         lt_prog_compiler_pic_FC='-KPIC'
12380         lt_prog_compiler_static_FC='-static'
12381         ;;
12382       # icc used to be incompatible with GCC.
12383       # ICC 10 doesn't accept -KPIC any more.
12384       icc* | ifort*)
12385         lt_prog_compiler_wl_FC='-Wl,'
12386         lt_prog_compiler_pic_FC='-fPIC'
12387         lt_prog_compiler_static_FC='-static'
12388         ;;
12389       # Lahey Fortran 8.1.
12390       lf95*)
12391         lt_prog_compiler_wl_FC='-Wl,'
12392         lt_prog_compiler_pic_FC='--shared'
12393         lt_prog_compiler_static_FC='--static'
12394         ;;
12395       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12396         # Portland Group compilers (*not* the Pentium gcc compiler,
12397         # which looks to be a dead project)
12398         lt_prog_compiler_wl_FC='-Wl,'
12399         lt_prog_compiler_pic_FC='-fpic'
12400         lt_prog_compiler_static_FC='-Bstatic'
12401         ;;
12402       ccc*)
12403         lt_prog_compiler_wl_FC='-Wl,'
12404         # All Alpha code is PIC.
12405         lt_prog_compiler_static_FC='-non_shared'
12406         ;;
12407       xl* | bgxl* | bgf* | mpixl*)
12408         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12409         lt_prog_compiler_wl_FC='-Wl,'
12410         lt_prog_compiler_pic_FC='-qpic'
12411         lt_prog_compiler_static_FC='-qstaticlink'
12412         ;;
12413       *)
12414         case `$CC -V 2>&1 | sed 5q` in
12415         *Sun\ F* | *Sun*Fortran*)
12416           # Sun Fortran 8.3 passes all unrecognized flags to the linker
12417           lt_prog_compiler_pic_FC='-KPIC'
12418           lt_prog_compiler_static_FC='-Bstatic'
12419           lt_prog_compiler_wl_FC=''
12420           ;;
12421         *Sun\ C*)
12422           # Sun C 5.9
12423           lt_prog_compiler_pic_FC='-KPIC'
12424           lt_prog_compiler_static_FC='-Bstatic'
12425           lt_prog_compiler_wl_FC='-Wl,'
12426           ;;
12427         esac
12428         ;;
12429       esac
12430       ;;
12431
12432     newsos6)
12433       lt_prog_compiler_pic_FC='-KPIC'
12434       lt_prog_compiler_static_FC='-Bstatic'
12435       ;;
12436
12437     *nto* | *qnx*)
12438       # QNX uses GNU C++, but need to define -shared option too, otherwise
12439       # it will coredump.
12440       lt_prog_compiler_pic_FC='-fPIC -shared'
12441       ;;
12442
12443     osf3* | osf4* | osf5*)
12444       lt_prog_compiler_wl_FC='-Wl,'
12445       # All OSF/1 code is PIC.
12446       lt_prog_compiler_static_FC='-non_shared'
12447       ;;
12448
12449     rdos*)
12450       lt_prog_compiler_static_FC='-non_shared'
12451       ;;
12452
12453     solaris*)
12454       lt_prog_compiler_pic_FC='-KPIC'
12455       lt_prog_compiler_static_FC='-Bstatic'
12456       case $cc_basename in
12457       f77* | f90* | f95*)
12458         lt_prog_compiler_wl_FC='-Qoption ld ';;
12459       *)
12460         lt_prog_compiler_wl_FC='-Wl,';;
12461       esac
12462       ;;
12463
12464     sunos4*)
12465       lt_prog_compiler_wl_FC='-Qoption ld '
12466       lt_prog_compiler_pic_FC='-PIC'
12467       lt_prog_compiler_static_FC='-Bstatic'
12468       ;;
12469
12470     sysv4 | sysv4.2uw2* | sysv4.3*)
12471       lt_prog_compiler_wl_FC='-Wl,'
12472       lt_prog_compiler_pic_FC='-KPIC'
12473       lt_prog_compiler_static_FC='-Bstatic'
12474       ;;
12475
12476     sysv4*MP*)
12477       if test -d /usr/nec ;then
12478         lt_prog_compiler_pic_FC='-Kconform_pic'
12479         lt_prog_compiler_static_FC='-Bstatic'
12480       fi
12481       ;;
12482
12483     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12484       lt_prog_compiler_wl_FC='-Wl,'
12485       lt_prog_compiler_pic_FC='-KPIC'
12486       lt_prog_compiler_static_FC='-Bstatic'
12487       ;;
12488
12489     unicos*)
12490       lt_prog_compiler_wl_FC='-Wl,'
12491       lt_prog_compiler_can_build_shared_FC=no
12492       ;;
12493
12494     uts4*)
12495       lt_prog_compiler_pic_FC='-pic'
12496       lt_prog_compiler_static_FC='-Bstatic'
12497       ;;
12498
12499     *)
12500       lt_prog_compiler_can_build_shared_FC=no
12501       ;;
12502     esac
12503   fi
12504
12505 case $host_os in
12506   # For platforms which do not support PIC, -DPIC is meaningless:
12507   *djgpp*)
12508     lt_prog_compiler_pic_FC=
12509     ;;
12510   *)
12511     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12512     ;;
12513 esac
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12515 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12516
12517
12518
12519 #
12520 # Check to make sure the PIC flag actually works.
12521 #
12522 if test -n "$lt_prog_compiler_pic_FC"; then
12523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12524 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12525 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12526   $as_echo_n "(cached) " >&6
12527 else
12528   lt_cv_prog_compiler_pic_works_FC=no
12529    ac_outfile=conftest.$ac_objext
12530    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12531    lt_compiler_flag="$lt_prog_compiler_pic_FC"
12532    # Insert the option either (1) after the last *FLAGS variable, or
12533    # (2) before a word containing "conftest.", or (3) at the end.
12534    # Note that $ac_compile itself does not contain backslashes and begins
12535    # with a dollar sign (not a hyphen), so the echo should work correctly.
12536    # The option is referenced via a variable to avoid confusing sed.
12537    lt_compile=`echo "$ac_compile" | $SED \
12538    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12539    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12540    -e 's:$: $lt_compiler_flag:'`
12541    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12542    (eval "$lt_compile" 2>conftest.err)
12543    ac_status=$?
12544    cat conftest.err >&5
12545    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546    if (exit $ac_status) && test -s "$ac_outfile"; then
12547      # The compiler can only warn and ignore the option if not recognized
12548      # So say no if there are warnings other than the usual output.
12549      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12550      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12551      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12552        lt_cv_prog_compiler_pic_works_FC=yes
12553      fi
12554    fi
12555    $RM conftest*
12556
12557 fi
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12559 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12560
12561 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12562     case $lt_prog_compiler_pic_FC in
12563      "" | " "*) ;;
12564      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12565      esac
12566 else
12567     lt_prog_compiler_pic_FC=
12568      lt_prog_compiler_can_build_shared_FC=no
12569 fi
12570
12571 fi
12572
12573
12574
12575 #
12576 # Check to make sure the static flag actually works.
12577 #
12578 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12581 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12582   $as_echo_n "(cached) " >&6
12583 else
12584   lt_cv_prog_compiler_static_works_FC=no
12585    save_LDFLAGS="$LDFLAGS"
12586    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12587    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12588    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12589      # The linker can only warn and ignore the option if not recognized
12590      # So say no if there are warnings
12591      if test -s conftest.err; then
12592        # Append any errors to the config.log.
12593        cat conftest.err 1>&5
12594        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12595        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12596        if diff conftest.exp conftest.er2 >/dev/null; then
12597          lt_cv_prog_compiler_static_works_FC=yes
12598        fi
12599      else
12600        lt_cv_prog_compiler_static_works_FC=yes
12601      fi
12602    fi
12603    $RM -r conftest*
12604    LDFLAGS="$save_LDFLAGS"
12605
12606 fi
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12608 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12609
12610 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12611     :
12612 else
12613     lt_prog_compiler_static_FC=
12614 fi
12615
12616
12617
12618
12619     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12620 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12621 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12622   $as_echo_n "(cached) " >&6
12623 else
12624   lt_cv_prog_compiler_c_o_FC=no
12625    $RM -r conftest 2>/dev/null
12626    mkdir conftest
12627    cd conftest
12628    mkdir out
12629    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12630
12631    lt_compiler_flag="-o out/conftest2.$ac_objext"
12632    # Insert the option either (1) after the last *FLAGS variable, or
12633    # (2) before a word containing "conftest.", or (3) at the end.
12634    # Note that $ac_compile itself does not contain backslashes and begins
12635    # with a dollar sign (not a hyphen), so the echo should work correctly.
12636    lt_compile=`echo "$ac_compile" | $SED \
12637    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12638    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12639    -e 's:$: $lt_compiler_flag:'`
12640    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12641    (eval "$lt_compile" 2>out/conftest.err)
12642    ac_status=$?
12643    cat out/conftest.err >&5
12644    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12646    then
12647      # The compiler can only warn and ignore the option if not recognized
12648      # So say no if there are warnings
12649      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12650      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12651      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12652        lt_cv_prog_compiler_c_o_FC=yes
12653      fi
12654    fi
12655    chmod u+w . 2>&5
12656    $RM conftest*
12657    # SGI C++ compiler will create directory out/ii_files/ for
12658    # template instantiation
12659    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12660    $RM out/* && rmdir out
12661    cd ..
12662    $RM -r conftest
12663    $RM conftest*
12664
12665 fi
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12667 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12668
12669
12670
12671     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12672 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12673 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12674   $as_echo_n "(cached) " >&6
12675 else
12676   lt_cv_prog_compiler_c_o_FC=no
12677    $RM -r conftest 2>/dev/null
12678    mkdir conftest
12679    cd conftest
12680    mkdir out
12681    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12682
12683    lt_compiler_flag="-o out/conftest2.$ac_objext"
12684    # Insert the option either (1) after the last *FLAGS variable, or
12685    # (2) before a word containing "conftest.", or (3) at the end.
12686    # Note that $ac_compile itself does not contain backslashes and begins
12687    # with a dollar sign (not a hyphen), so the echo should work correctly.
12688    lt_compile=`echo "$ac_compile" | $SED \
12689    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12690    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12691    -e 's:$: $lt_compiler_flag:'`
12692    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12693    (eval "$lt_compile" 2>out/conftest.err)
12694    ac_status=$?
12695    cat out/conftest.err >&5
12696    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12698    then
12699      # The compiler can only warn and ignore the option if not recognized
12700      # So say no if there are warnings
12701      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12702      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12703      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12704        lt_cv_prog_compiler_c_o_FC=yes
12705      fi
12706    fi
12707    chmod u+w . 2>&5
12708    $RM conftest*
12709    # SGI C++ compiler will create directory out/ii_files/ for
12710    # template instantiation
12711    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12712    $RM out/* && rmdir out
12713    cd ..
12714    $RM -r conftest
12715    $RM conftest*
12716
12717 fi
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12719 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12720
12721
12722
12723
12724 hard_links="nottested"
12725 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12726   # do not overwrite the value of need_locks provided by the user
12727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12728 $as_echo_n "checking if we can lock with hard links... " >&6; }
12729   hard_links=yes
12730   $RM conftest*
12731   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12732   touch conftest.a
12733   ln conftest.a conftest.b 2>&5 || hard_links=no
12734   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12736 $as_echo "$hard_links" >&6; }
12737   if test "$hard_links" = no; then
12738     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12739 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12740     need_locks=warn
12741   fi
12742 else
12743   need_locks=no
12744 fi
12745
12746
12747
12748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12749 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12750
12751   runpath_var=
12752   allow_undefined_flag_FC=
12753   always_export_symbols_FC=no
12754   archive_cmds_FC=
12755   archive_expsym_cmds_FC=
12756   compiler_needs_object_FC=no
12757   enable_shared_with_static_runtimes_FC=no
12758   export_dynamic_flag_spec_FC=
12759   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12760   hardcode_automatic_FC=no
12761   hardcode_direct_FC=no
12762   hardcode_direct_absolute_FC=no
12763   hardcode_libdir_flag_spec_FC=
12764   hardcode_libdir_flag_spec_ld_FC=
12765   hardcode_libdir_separator_FC=
12766   hardcode_minus_L_FC=no
12767   hardcode_shlibpath_var_FC=unsupported
12768   inherit_rpath_FC=no
12769   link_all_deplibs_FC=unknown
12770   module_cmds_FC=
12771   module_expsym_cmds_FC=
12772   old_archive_from_new_cmds_FC=
12773   old_archive_from_expsyms_cmds_FC=
12774   thread_safe_flag_spec_FC=
12775   whole_archive_flag_spec_FC=
12776   # include_expsyms should be a list of space-separated symbols to be *always*
12777   # included in the symbol list
12778   include_expsyms_FC=
12779   # exclude_expsyms can be an extended regexp of symbols to exclude
12780   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12781   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12782   # as well as any symbol that contains `d'.
12783   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12784   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12785   # platforms (ab)use it in PIC code, but their linkers get confused if
12786   # the symbol is explicitly referenced.  Since portable code cannot
12787   # rely on this symbol name, it's probably fine to never include it in
12788   # preloaded symbol tables.
12789   # Exclude shared library initialization/finalization symbols.
12790   extract_expsyms_cmds=
12791
12792   case $host_os in
12793   cygwin* | mingw* | pw32* | cegcc*)
12794     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12795     # When not using gcc, we currently assume that we are using
12796     # Microsoft Visual C++.
12797     if test "$GCC" != yes; then
12798       with_gnu_ld=no
12799     fi
12800     ;;
12801   interix*)
12802     # we just hope/assume this is gcc and not c89 (= MSVC++)
12803     with_gnu_ld=yes
12804     ;;
12805   openbsd*)
12806     with_gnu_ld=no
12807     ;;
12808   esac
12809
12810   ld_shlibs_FC=yes
12811
12812   # On some targets, GNU ld is compatible enough with the native linker
12813   # that we're better off using the native interface for both.
12814   lt_use_gnu_ld_interface=no
12815   if test "$with_gnu_ld" = yes; then
12816     case $host_os in
12817       aix*)
12818         # The AIX port of GNU ld has always aspired to compatibility
12819         # with the native linker.  However, as the warning in the GNU ld
12820         # block says, versions before 2.19.5* couldn't really create working
12821         # shared libraries, regardless of the interface used.
12822         case `$LD -v 2>&1` in
12823           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12824           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12825           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12826           *)
12827             lt_use_gnu_ld_interface=yes
12828             ;;
12829         esac
12830         ;;
12831       *)
12832         lt_use_gnu_ld_interface=yes
12833         ;;
12834     esac
12835   fi
12836
12837   if test "$lt_use_gnu_ld_interface" = yes; then
12838     # If archive_cmds runs LD, not CC, wlarc should be empty
12839     wlarc='${wl}'
12840
12841     # Set some defaults for GNU ld with shared library support. These
12842     # are reset later if shared libraries are not supported. Putting them
12843     # here allows them to be overridden if necessary.
12844     runpath_var=LD_RUN_PATH
12845     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12846     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12847     # ancient GNU ld didn't support --whole-archive et. al.
12848     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12849       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12850     else
12851       whole_archive_flag_spec_FC=
12852     fi
12853     supports_anon_versioning=no
12854     case `$LD -v 2>&1` in
12855       *GNU\ gold*) supports_anon_versioning=yes ;;
12856       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12857       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12858       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12859       *\ 2.11.*) ;; # other 2.11 versions
12860       *) supports_anon_versioning=yes ;;
12861     esac
12862
12863     # See if GNU ld supports shared libraries.
12864     case $host_os in
12865     aix[3-9]*)
12866       # On AIX/PPC, the GNU linker is very broken
12867       if test "$host_cpu" != ia64; then
12868         ld_shlibs_FC=no
12869         cat <<_LT_EOF 1>&2
12870
12871 *** Warning: the GNU linker, at least up to release 2.19, is reported
12872 *** to be unable to reliably create shared libraries on AIX.
12873 *** Therefore, libtool is disabling shared libraries support.  If you
12874 *** really care for shared libraries, you may want to install binutils
12875 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12876 *** You will then need to restart the configuration process.
12877
12878 _LT_EOF
12879       fi
12880       ;;
12881
12882     amigaos*)
12883       case $host_cpu in
12884       powerpc)
12885             # see comment about AmigaOS4 .so support
12886             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12887             archive_expsym_cmds_FC=''
12888         ;;
12889       m68k)
12890             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)'
12891             hardcode_libdir_flag_spec_FC='-L$libdir'
12892             hardcode_minus_L_FC=yes
12893         ;;
12894       esac
12895       ;;
12896
12897     beos*)
12898       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12899         allow_undefined_flag_FC=unsupported
12900         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12901         # support --undefined.  This deserves some investigation.  FIXME
12902         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12903       else
12904         ld_shlibs_FC=no
12905       fi
12906       ;;
12907
12908     cygwin* | mingw* | pw32* | cegcc*)
12909       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12910       # as there is no search path for DLLs.
12911       hardcode_libdir_flag_spec_FC='-L$libdir'
12912       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12913       allow_undefined_flag_FC=unsupported
12914       always_export_symbols_FC=no
12915       enable_shared_with_static_runtimes_FC=yes
12916       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12917
12918       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12919         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12920         # If the export-symbols file already is a .def file (1st line
12921         # is EXPORTS), use it as is; otherwise, prepend...
12922         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12923           cp $export_symbols $output_objdir/$soname.def;
12924         else
12925           echo EXPORTS > $output_objdir/$soname.def;
12926           cat $export_symbols >> $output_objdir/$soname.def;
12927         fi~
12928         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12929       else
12930         ld_shlibs_FC=no
12931       fi
12932       ;;
12933
12934     haiku*)
12935       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12936       link_all_deplibs_FC=yes
12937       ;;
12938
12939     interix[3-9]*)
12940       hardcode_direct_FC=no
12941       hardcode_shlibpath_var_FC=no
12942       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12943       export_dynamic_flag_spec_FC='${wl}-E'
12944       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12945       # Instead, shared libraries are loaded at an image base (0x10000000 by
12946       # default) and relocated if they conflict, which is a slow very memory
12947       # consuming and fragmenting process.  To avoid this, we pick a random,
12948       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12949       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12950       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'
12951       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'
12952       ;;
12953
12954     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12955       tmp_diet=no
12956       if test "$host_os" = linux-dietlibc; then
12957         case $cc_basename in
12958           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12959         esac
12960       fi
12961       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12962          && test "$tmp_diet" = no
12963       then
12964         tmp_addflag=
12965         tmp_sharedflag='-shared'
12966         case $cc_basename,$host_cpu in
12967         pgcc*)                          # Portland Group C compiler
12968           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'
12969           tmp_addflag=' $pic_flag'
12970           ;;
12971         pgf77* | pgf90* | pgf95* | pgfortran*)
12972                                         # Portland Group f77 and f90 compilers
12973           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'
12974           tmp_addflag=' $pic_flag -Mnomain' ;;
12975         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12976           tmp_addflag=' -i_dynamic' ;;
12977         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
12978           tmp_addflag=' -i_dynamic -nofor_main' ;;
12979         ifc* | ifort*)                  # Intel Fortran compiler
12980           tmp_addflag=' -nofor_main' ;;
12981         lf95*)                          # Lahey Fortran 8.1
12982           whole_archive_flag_spec_FC=
12983           tmp_sharedflag='--shared' ;;
12984         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12985           tmp_sharedflag='-qmkshrobj'
12986           tmp_addflag= ;;
12987         nvcc*)  # Cuda Compiler Driver 2.2
12988           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'
12989           compiler_needs_object_FC=yes
12990           ;;
12991         esac
12992         case `$CC -V 2>&1 | sed 5q` in
12993         *Sun\ C*)                       # Sun C 5.9
12994           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'
12995           compiler_needs_object_FC=yes
12996           tmp_sharedflag='-G' ;;
12997         *Sun\ F*)                       # Sun Fortran 8.3
12998           tmp_sharedflag='-G' ;;
12999         esac
13000         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13001
13002         if test "x$supports_anon_versioning" = xyes; then
13003           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13004             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13005             echo "local: *; };" >> $output_objdir/$libname.ver~
13006             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13007         fi
13008
13009         case $cc_basename in
13010         xlf* | bgf* | bgxlf* | mpixlf*)
13011           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13012           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13013           hardcode_libdir_flag_spec_FC=
13014           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13015           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13016           if test "x$supports_anon_versioning" = xyes; then
13017             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13018               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13019               echo "local: *; };" >> $output_objdir/$libname.ver~
13020               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13021           fi
13022           ;;
13023         esac
13024       else
13025         ld_shlibs_FC=no
13026       fi
13027       ;;
13028
13029     netbsd*)
13030       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13031         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13032         wlarc=
13033       else
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       fi
13037       ;;
13038
13039     solaris*)
13040       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13041         ld_shlibs_FC=no
13042         cat <<_LT_EOF 1>&2
13043
13044 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13045 *** create shared libraries on Solaris systems.  Therefore, libtool
13046 *** is disabling shared libraries support.  We urge you to upgrade GNU
13047 *** binutils to release 2.9.1 or newer.  Another option is to modify
13048 *** your PATH or compiler configuration so that the native linker is
13049 *** used, and then restart.
13050
13051 _LT_EOF
13052       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13053         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13054         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13055       else
13056         ld_shlibs_FC=no
13057       fi
13058       ;;
13059
13060     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13061       case `$LD -v 2>&1` in
13062         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13063         ld_shlibs_FC=no
13064         cat <<_LT_EOF 1>&2
13065
13066 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13067 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13068 *** is disabling shared libraries support.  We urge you to upgrade GNU
13069 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13070 *** your PATH or compiler configuration so that the native linker is
13071 *** used, and then restart.
13072
13073 _LT_EOF
13074         ;;
13075         *)
13076           # For security reasons, it is highly recommended that you always
13077           # use absolute paths for naming shared libraries, and exclude the
13078           # DT_RUNPATH tag from executables and libraries.  But doing so
13079           # requires that you compile everything twice, which is a pain.
13080           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13081             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13082             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13083             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13084           else
13085             ld_shlibs_FC=no
13086           fi
13087         ;;
13088       esac
13089       ;;
13090
13091     sunos4*)
13092       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13093       wlarc=
13094       hardcode_direct_FC=yes
13095       hardcode_shlibpath_var_FC=no
13096       ;;
13097
13098     *)
13099       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13100         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13101         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13102       else
13103         ld_shlibs_FC=no
13104       fi
13105       ;;
13106     esac
13107
13108     if test "$ld_shlibs_FC" = no; then
13109       runpath_var=
13110       hardcode_libdir_flag_spec_FC=
13111       export_dynamic_flag_spec_FC=
13112       whole_archive_flag_spec_FC=
13113     fi
13114   else
13115     # PORTME fill in a description of your system's linker (not GNU ld)
13116     case $host_os in
13117     aix3*)
13118       allow_undefined_flag_FC=unsupported
13119       always_export_symbols_FC=yes
13120       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'
13121       # Note: this linker hardcodes the directories in LIBPATH if there
13122       # are no directories specified by -L.
13123       hardcode_minus_L_FC=yes
13124       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13125         # Neither direct hardcoding nor static linking is supported with a
13126         # broken collect2.
13127         hardcode_direct_FC=unsupported
13128       fi
13129       ;;
13130
13131     aix[4-9]*)
13132       if test "$host_cpu" = ia64; then
13133         # On IA64, the linker does run time linking by default, so we don't
13134         # have to do anything special.
13135         aix_use_runtimelinking=no
13136         exp_sym_flag='-Bexport'
13137         no_entry_flag=""
13138       else
13139         # If we're using GNU nm, then we don't want the "-C" option.
13140         # -C means demangle to AIX nm, but means don't demangle with GNU nm
13141         # Also, AIX nm treats weak defined symbols like other global
13142         # defined symbols, whereas GNU nm marks them as "W".
13143         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13144           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'
13145         else
13146           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'
13147         fi
13148         aix_use_runtimelinking=no
13149
13150         # Test if we are trying to use run time linking or normal
13151         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13152         # need to do runtime linking.
13153         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13154           for ld_flag in $LDFLAGS; do
13155           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13156             aix_use_runtimelinking=yes
13157             break
13158           fi
13159           done
13160           ;;
13161         esac
13162
13163         exp_sym_flag='-bexport'
13164         no_entry_flag='-bnoentry'
13165       fi
13166
13167       # When large executables or shared objects are built, AIX ld can
13168       # have problems creating the table of contents.  If linking a library
13169       # or program results in "error TOC overflow" add -mminimal-toc to
13170       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13171       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13172
13173       archive_cmds_FC=''
13174       hardcode_direct_FC=yes
13175       hardcode_direct_absolute_FC=yes
13176       hardcode_libdir_separator_FC=':'
13177       link_all_deplibs_FC=yes
13178       file_list_spec_FC='${wl}-f,'
13179
13180       if test "$GCC" = yes; then
13181         case $host_os in aix4.[012]|aix4.[012].*)
13182         # We only want to do this on AIX 4.2 and lower, the check
13183         # below for broken collect2 doesn't work under 4.3+
13184           collect2name=`${CC} -print-prog-name=collect2`
13185           if test -f "$collect2name" &&
13186            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13187           then
13188           # We have reworked collect2
13189           :
13190           else
13191           # We have old collect2
13192           hardcode_direct_FC=unsupported
13193           # It fails to find uninstalled libraries when the uninstalled
13194           # path is not listed in the libpath.  Setting hardcode_minus_L
13195           # to unsupported forces relinking
13196           hardcode_minus_L_FC=yes
13197           hardcode_libdir_flag_spec_FC='-L$libdir'
13198           hardcode_libdir_separator_FC=
13199           fi
13200           ;;
13201         esac
13202         shared_flag='-shared'
13203         if test "$aix_use_runtimelinking" = yes; then
13204           shared_flag="$shared_flag "'${wl}-G'
13205         fi
13206       else
13207         # not using gcc
13208         if test "$host_cpu" = ia64; then
13209         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13210         # chokes on -Wl,-G. The following line is correct:
13211           shared_flag='-G'
13212         else
13213           if test "$aix_use_runtimelinking" = yes; then
13214             shared_flag='${wl}-G'
13215           else
13216             shared_flag='${wl}-bM:SRE'
13217           fi
13218         fi
13219       fi
13220
13221       export_dynamic_flag_spec_FC='${wl}-bexpall'
13222       # It seems that -bexpall does not export symbols beginning with
13223       # underscore (_), so it is better to generate a list of symbols to export.
13224       always_export_symbols_FC=yes
13225       if test "$aix_use_runtimelinking" = yes; then
13226         # Warning - without using the other runtime loading flags (-brtl),
13227         # -berok will link without error, but may produce a broken library.
13228         allow_undefined_flag_FC='-berok'
13229         # Determine the default libpath from the value encoded in an
13230         # empty executable.
13231         if test x$gcc_no_link = xyes; then
13232   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13233 fi
13234 cat > conftest.$ac_ext <<_ACEOF
13235       program main
13236
13237       end
13238 _ACEOF
13239 if ac_fn_fc_try_link "$LINENO"; then :
13240
13241 lt_aix_libpath_sed='
13242     /Import File Strings/,/^$/ {
13243         /^0/ {
13244             s/^0  *\(.*\)$/\1/
13245             p
13246         }
13247     }'
13248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13249 # Check for a 64-bit object if we didn't find anything.
13250 if test -z "$aix_libpath"; then
13251   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13252 fi
13253 fi
13254 rm -f core conftest.err conftest.$ac_objext \
13255     conftest$ac_exeext conftest.$ac_ext
13256 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13257
13258         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13259         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"
13260       else
13261         if test "$host_cpu" = ia64; then
13262           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13263           allow_undefined_flag_FC="-z nodefs"
13264           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"
13265         else
13266          # Determine the default libpath from the value encoded in an
13267          # empty executable.
13268          if test x$gcc_no_link = xyes; then
13269   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13270 fi
13271 cat > conftest.$ac_ext <<_ACEOF
13272       program main
13273
13274       end
13275 _ACEOF
13276 if ac_fn_fc_try_link "$LINENO"; then :
13277
13278 lt_aix_libpath_sed='
13279     /Import File Strings/,/^$/ {
13280         /^0/ {
13281             s/^0  *\(.*\)$/\1/
13282             p
13283         }
13284     }'
13285 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13286 # Check for a 64-bit object if we didn't find anything.
13287 if test -z "$aix_libpath"; then
13288   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13289 fi
13290 fi
13291 rm -f core conftest.err conftest.$ac_objext \
13292     conftest$ac_exeext conftest.$ac_ext
13293 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13294
13295          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13296           # Warning - without using the other run time loading flags,
13297           # -berok will link without error, but may produce a broken library.
13298           no_undefined_flag_FC=' ${wl}-bernotok'
13299           allow_undefined_flag_FC=' ${wl}-berok'
13300           if test "$with_gnu_ld" = yes; then
13301             # We only use this code for GNU lds that support --whole-archive.
13302             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13303           else
13304             # Exported symbols can be pulled into shared objects from archives
13305             whole_archive_flag_spec_FC='$convenience'
13306           fi
13307           archive_cmds_need_lc_FC=yes
13308           # This is similar to how AIX traditionally builds its shared libraries.
13309           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'
13310         fi
13311       fi
13312       ;;
13313
13314     amigaos*)
13315       case $host_cpu in
13316       powerpc)
13317             # see comment about AmigaOS4 .so support
13318             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13319             archive_expsym_cmds_FC=''
13320         ;;
13321       m68k)
13322             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)'
13323             hardcode_libdir_flag_spec_FC='-L$libdir'
13324             hardcode_minus_L_FC=yes
13325         ;;
13326       esac
13327       ;;
13328
13329     bsdi[45]*)
13330       export_dynamic_flag_spec_FC=-rdynamic
13331       ;;
13332
13333     cygwin* | mingw* | pw32* | cegcc*)
13334       # When not using gcc, we currently assume that we are using
13335       # Microsoft Visual C++.
13336       # hardcode_libdir_flag_spec is actually meaningless, as there is
13337       # no search path for DLLs.
13338       hardcode_libdir_flag_spec_FC=' '
13339       allow_undefined_flag_FC=unsupported
13340       # Tell ltmain to make .lib files, not .a files.
13341       libext=lib
13342       # Tell ltmain to make .dll files, not .so files.
13343       shrext_cmds=".dll"
13344       # FIXME: Setting linknames here is a bad hack.
13345       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13346       # The linker will automatically build a .lib file if we build a DLL.
13347       old_archive_from_new_cmds_FC='true'
13348       # FIXME: Should let the user specify the lib program.
13349       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13350       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13351       enable_shared_with_static_runtimes_FC=yes
13352       ;;
13353
13354     darwin* | rhapsody*)
13355
13356
13357   archive_cmds_need_lc_FC=no
13358   hardcode_direct_FC=no
13359   hardcode_automatic_FC=yes
13360   hardcode_shlibpath_var_FC=unsupported
13361   if test "$lt_cv_ld_force_load" = "yes"; then
13362     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\"`'
13363   else
13364     whole_archive_flag_spec_FC=''
13365   fi
13366   link_all_deplibs_FC=yes
13367   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13368   case $cc_basename in
13369      ifort*) _lt_dar_can_shared=yes ;;
13370      *) _lt_dar_can_shared=$GCC ;;
13371   esac
13372   if test "$_lt_dar_can_shared" = "yes"; then
13373     output_verbose_link_cmd=func_echo_all
13374     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}"
13375     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13376     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}"
13377     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}"
13378
13379   else
13380   ld_shlibs_FC=no
13381   fi
13382
13383       ;;
13384
13385     dgux*)
13386       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13387       hardcode_libdir_flag_spec_FC='-L$libdir'
13388       hardcode_shlibpath_var_FC=no
13389       ;;
13390
13391     freebsd1*)
13392       ld_shlibs_FC=no
13393       ;;
13394
13395     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13396     # support.  Future versions do this automatically, but an explicit c++rt0.o
13397     # does not break anything, and helps significantly (at the cost of a little
13398     # extra space).
13399     freebsd2.2*)
13400       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13401       hardcode_libdir_flag_spec_FC='-R$libdir'
13402       hardcode_direct_FC=yes
13403       hardcode_shlibpath_var_FC=no
13404       ;;
13405
13406     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13407     freebsd2*)
13408       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13409       hardcode_direct_FC=yes
13410       hardcode_minus_L_FC=yes
13411       hardcode_shlibpath_var_FC=no
13412       ;;
13413
13414     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13415     freebsd* | dragonfly*)
13416       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13417       hardcode_libdir_flag_spec_FC='-R$libdir'
13418       hardcode_direct_FC=yes
13419       hardcode_shlibpath_var_FC=no
13420       ;;
13421
13422     hpux9*)
13423       if test "$GCC" = yes; then
13424         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'
13425       else
13426         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'
13427       fi
13428       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13429       hardcode_libdir_separator_FC=:
13430       hardcode_direct_FC=yes
13431
13432       # hardcode_minus_L: Not really in the search PATH,
13433       # but as the default location of the library.
13434       hardcode_minus_L_FC=yes
13435       export_dynamic_flag_spec_FC='${wl}-E'
13436       ;;
13437
13438     hpux10*)
13439       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13440         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13441       else
13442         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13443       fi
13444       if test "$with_gnu_ld" = no; then
13445         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13446         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13447         hardcode_libdir_separator_FC=:
13448         hardcode_direct_FC=yes
13449         hardcode_direct_absolute_FC=yes
13450         export_dynamic_flag_spec_FC='${wl}-E'
13451         # hardcode_minus_L: Not really in the search PATH,
13452         # but as the default location of the library.
13453         hardcode_minus_L_FC=yes
13454       fi
13455       ;;
13456
13457     hpux11*)
13458       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13459         case $host_cpu in
13460         hppa*64*)
13461           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13462           ;;
13463         ia64*)
13464           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13465           ;;
13466         *)
13467           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13468           ;;
13469         esac
13470       else
13471         case $host_cpu in
13472         hppa*64*)
13473           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13474           ;;
13475         ia64*)
13476           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13477           ;;
13478         *)
13479         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13480           ;;
13481         esac
13482       fi
13483       if test "$with_gnu_ld" = no; then
13484         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13485         hardcode_libdir_separator_FC=:
13486
13487         case $host_cpu in
13488         hppa*64*|ia64*)
13489           hardcode_direct_FC=no
13490           hardcode_shlibpath_var_FC=no
13491           ;;
13492         *)
13493           hardcode_direct_FC=yes
13494           hardcode_direct_absolute_FC=yes
13495           export_dynamic_flag_spec_FC='${wl}-E'
13496
13497           # hardcode_minus_L: Not really in the search PATH,
13498           # but as the default location of the library.
13499           hardcode_minus_L_FC=yes
13500           ;;
13501         esac
13502       fi
13503       ;;
13504
13505     irix5* | irix6* | nonstopux*)
13506       if test "$GCC" = yes; then
13507         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'
13508         # Try to use the -exported_symbol ld option, if it does not
13509         # work, assume that -exports_file does not work either and
13510         # implicitly export all symbols.
13511         save_LDFLAGS="$LDFLAGS"
13512         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13513         if test x$gcc_no_link = xyes; then
13514   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13515 fi
13516 cat > conftest.$ac_ext <<_ACEOF
13517 int foo(void) {}
13518 _ACEOF
13519 if ac_fn_fc_try_link "$LINENO"; then :
13520   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'
13521
13522 fi
13523 rm -f core conftest.err conftest.$ac_objext \
13524     conftest$ac_exeext conftest.$ac_ext
13525         LDFLAGS="$save_LDFLAGS"
13526       else
13527         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'
13528         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'
13529       fi
13530       archive_cmds_need_lc_FC='no'
13531       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13532       hardcode_libdir_separator_FC=:
13533       inherit_rpath_FC=yes
13534       link_all_deplibs_FC=yes
13535       ;;
13536
13537     netbsd*)
13538       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13539         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13540       else
13541         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13542       fi
13543       hardcode_libdir_flag_spec_FC='-R$libdir'
13544       hardcode_direct_FC=yes
13545       hardcode_shlibpath_var_FC=no
13546       ;;
13547
13548     newsos6)
13549       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13550       hardcode_direct_FC=yes
13551       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13552       hardcode_libdir_separator_FC=:
13553       hardcode_shlibpath_var_FC=no
13554       ;;
13555
13556     *nto* | *qnx*)
13557       ;;
13558
13559     openbsd*)
13560       if test -f /usr/libexec/ld.so; then
13561         hardcode_direct_FC=yes
13562         hardcode_shlibpath_var_FC=no
13563         hardcode_direct_absolute_FC=yes
13564         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13565           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13566           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13567           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13568           export_dynamic_flag_spec_FC='${wl}-E'
13569         else
13570           case $host_os in
13571            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13572              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13573              hardcode_libdir_flag_spec_FC='-R$libdir'
13574              ;;
13575            *)
13576              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13577              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13578              ;;
13579           esac
13580         fi
13581       else
13582         ld_shlibs_FC=no
13583       fi
13584       ;;
13585
13586     os2*)
13587       hardcode_libdir_flag_spec_FC='-L$libdir'
13588       hardcode_minus_L_FC=yes
13589       allow_undefined_flag_FC=unsupported
13590       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'
13591       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13592       ;;
13593
13594     osf3*)
13595       if test "$GCC" = yes; then
13596         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13597         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'
13598       else
13599         allow_undefined_flag_FC=' -expect_unresolved \*'
13600         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'
13601       fi
13602       archive_cmds_need_lc_FC='no'
13603       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13604       hardcode_libdir_separator_FC=:
13605       ;;
13606
13607     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13608       if test "$GCC" = yes; then
13609         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13610         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'
13611         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13612       else
13613         allow_undefined_flag_FC=' -expect_unresolved \*'
13614         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'
13615         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~
13616         $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'
13617
13618         # Both c and cxx compiler support -rpath directly
13619         hardcode_libdir_flag_spec_FC='-rpath $libdir'
13620       fi
13621       archive_cmds_need_lc_FC='no'
13622       hardcode_libdir_separator_FC=:
13623       ;;
13624
13625     solaris*)
13626       no_undefined_flag_FC=' -z defs'
13627       if test "$GCC" = yes; then
13628         wlarc='${wl}'
13629         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13630         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13631           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13632       else
13633         case `$CC -V 2>&1` in
13634         *"Compilers 5.0"*)
13635           wlarc=''
13636           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13637           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13638           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13639           ;;
13640         *)
13641           wlarc='${wl}'
13642           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13643           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13644           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13645           ;;
13646         esac
13647       fi
13648       hardcode_libdir_flag_spec_FC='-R$libdir'
13649       hardcode_shlibpath_var_FC=no
13650       case $host_os in
13651       solaris2.[0-5] | solaris2.[0-5].*) ;;
13652       *)
13653         # The compiler driver will combine and reorder linker options,
13654         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13655         # but is careful enough not to reorder.
13656         # Supported since Solaris 2.6 (maybe 2.5.1?)
13657         if test "$GCC" = yes; then
13658           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13659         else
13660           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13661         fi
13662         ;;
13663       esac
13664       link_all_deplibs_FC=yes
13665       ;;
13666
13667     sunos4*)
13668       if test "x$host_vendor" = xsequent; then
13669         # Use $CC to link under sequent, because it throws in some extra .o
13670         # files that make .init and .fini sections work.
13671         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13672       else
13673         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13674       fi
13675       hardcode_libdir_flag_spec_FC='-L$libdir'
13676       hardcode_direct_FC=yes
13677       hardcode_minus_L_FC=yes
13678       hardcode_shlibpath_var_FC=no
13679       ;;
13680
13681     sysv4)
13682       case $host_vendor in
13683         sni)
13684           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13685           hardcode_direct_FC=yes # is this really true???
13686         ;;
13687         siemens)
13688           ## LD is ld it makes a PLAMLIB
13689           ## CC just makes a GrossModule.
13690           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13691           reload_cmds_FC='$CC -r -o $output$reload_objs'
13692           hardcode_direct_FC=no
13693         ;;
13694         motorola)
13695           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13696           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13697         ;;
13698       esac
13699       runpath_var='LD_RUN_PATH'
13700       hardcode_shlibpath_var_FC=no
13701       ;;
13702
13703     sysv4.3*)
13704       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13705       hardcode_shlibpath_var_FC=no
13706       export_dynamic_flag_spec_FC='-Bexport'
13707       ;;
13708
13709     sysv4*MP*)
13710       if test -d /usr/nec; then
13711         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13712         hardcode_shlibpath_var_FC=no
13713         runpath_var=LD_RUN_PATH
13714         hardcode_runpath_var=yes
13715         ld_shlibs_FC=yes
13716       fi
13717       ;;
13718
13719     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13720       no_undefined_flag_FC='${wl}-z,text'
13721       archive_cmds_need_lc_FC=no
13722       hardcode_shlibpath_var_FC=no
13723       runpath_var='LD_RUN_PATH'
13724
13725       if test "$GCC" = yes; then
13726         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13727         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13728       else
13729         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13730         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13731       fi
13732       ;;
13733
13734     sysv5* | sco3.2v5* | sco5v6*)
13735       # Note: We can NOT use -z defs as we might desire, because we do not
13736       # link with -lc, and that would cause any symbols used from libc to
13737       # always be unresolved, which means just about no library would
13738       # ever link correctly.  If we're not using GNU ld we use -z text
13739       # though, which does catch some bad symbols but isn't as heavy-handed
13740       # as -z defs.
13741       no_undefined_flag_FC='${wl}-z,text'
13742       allow_undefined_flag_FC='${wl}-z,nodefs'
13743       archive_cmds_need_lc_FC=no
13744       hardcode_shlibpath_var_FC=no
13745       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13746       hardcode_libdir_separator_FC=':'
13747       link_all_deplibs_FC=yes
13748       export_dynamic_flag_spec_FC='${wl}-Bexport'
13749       runpath_var='LD_RUN_PATH'
13750
13751       if test "$GCC" = yes; then
13752         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13754       else
13755         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13756         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13757       fi
13758       ;;
13759
13760     uts4*)
13761       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13762       hardcode_libdir_flag_spec_FC='-L$libdir'
13763       hardcode_shlibpath_var_FC=no
13764       ;;
13765
13766     *)
13767       ld_shlibs_FC=no
13768       ;;
13769     esac
13770
13771     if test x$host_vendor = xsni; then
13772       case $host in
13773       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13774         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13775         ;;
13776       esac
13777     fi
13778   fi
13779
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13781 $as_echo "$ld_shlibs_FC" >&6; }
13782 test "$ld_shlibs_FC" = no && can_build_shared=no
13783
13784 with_gnu_ld_FC=$with_gnu_ld
13785
13786
13787
13788
13789
13790
13791 #
13792 # Do we need to explicitly link libc?
13793 #
13794 case "x$archive_cmds_need_lc_FC" in
13795 x|xyes)
13796   # Assume -lc should be added
13797   archive_cmds_need_lc_FC=yes
13798
13799   if test "$enable_shared" = yes && test "$GCC" = yes; then
13800     case $archive_cmds_FC in
13801     *'~'*)
13802       # FIXME: we may have to deal with multi-command sequences.
13803       ;;
13804     '$CC '*)
13805       # Test whether the compiler implicitly links with -lc since on some
13806       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13807       # to ld, don't add -lc before -lgcc.
13808       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13809 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13810 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13811   $as_echo_n "(cached) " >&6
13812 else
13813   $RM conftest*
13814         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13815
13816         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13817   (eval $ac_compile) 2>&5
13818   ac_status=$?
13819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13820   test $ac_status = 0; } 2>conftest.err; then
13821           soname=conftest
13822           lib=conftest
13823           libobjs=conftest.$ac_objext
13824           deplibs=
13825           wl=$lt_prog_compiler_wl_FC
13826           pic_flag=$lt_prog_compiler_pic_FC
13827           compiler_flags=-v
13828           linker_flags=-v
13829           verstring=
13830           output_objdir=.
13831           libname=conftest
13832           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13833           allow_undefined_flag_FC=
13834           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13835   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13836   ac_status=$?
13837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13838   test $ac_status = 0; }
13839           then
13840             lt_cv_archive_cmds_need_lc_FC=no
13841           else
13842             lt_cv_archive_cmds_need_lc_FC=yes
13843           fi
13844           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13845         else
13846           cat conftest.err 1>&5
13847         fi
13848         $RM conftest*
13849
13850 fi
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13852 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13853       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13854       ;;
13855     esac
13856   fi
13857   ;;
13858 esac
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13924 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13925
13926 library_names_spec=
13927 libname_spec='lib$name'
13928 soname_spec=
13929 shrext_cmds=".so"
13930 postinstall_cmds=
13931 postuninstall_cmds=
13932 finish_cmds=
13933 finish_eval=
13934 shlibpath_var=
13935 shlibpath_overrides_runpath=unknown
13936 version_type=none
13937 dynamic_linker="$host_os ld.so"
13938 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13939 need_lib_prefix=unknown
13940 hardcode_into_libs=no
13941
13942 # when you set need_version to no, make sure it does not cause -set_version
13943 # flags to be left without arguments
13944 need_version=unknown
13945
13946 case $host_os in
13947 aix3*)
13948   version_type=linux
13949   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13950   shlibpath_var=LIBPATH
13951
13952   # AIX 3 has no versioning support, so we append a major version to the name.
13953   soname_spec='${libname}${release}${shared_ext}$major'
13954   ;;
13955
13956 aix[4-9]*)
13957   version_type=linux
13958   need_lib_prefix=no
13959   need_version=no
13960   hardcode_into_libs=yes
13961   if test "$host_cpu" = ia64; then
13962     # AIX 5 supports IA64
13963     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13964     shlibpath_var=LD_LIBRARY_PATH
13965   else
13966     # With GCC up to 2.95.x, collect2 would create an import file
13967     # for dependence libraries.  The import file would start with
13968     # the line `#! .'.  This would cause the generated library to
13969     # depend on `.', always an invalid library.  This was fixed in
13970     # development snapshots of GCC prior to 3.0.
13971     case $host_os in
13972       aix4 | aix4.[01] | aix4.[01].*)
13973       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13974            echo ' yes '
13975            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13976         :
13977       else
13978         can_build_shared=no
13979       fi
13980       ;;
13981     esac
13982     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13983     # soname into executable. Probably we can add versioning support to
13984     # collect2, so additional links can be useful in future.
13985     if test "$aix_use_runtimelinking" = yes; then
13986       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13987       # instead of lib<name>.a to let people know that these are not
13988       # typical AIX shared libraries.
13989       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13990     else
13991       # We preserve .a as extension for shared libraries through AIX4.2
13992       # and later when we are not doing run time linking.
13993       library_names_spec='${libname}${release}.a $libname.a'
13994       soname_spec='${libname}${release}${shared_ext}$major'
13995     fi
13996     shlibpath_var=LIBPATH
13997   fi
13998   ;;
13999
14000 amigaos*)
14001   case $host_cpu in
14002   powerpc)
14003     # Since July 2007 AmigaOS4 officially supports .so libraries.
14004     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14005     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14006     ;;
14007   m68k)
14008     library_names_spec='$libname.ixlibrary $libname.a'
14009     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14010     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'
14011     ;;
14012   esac
14013   ;;
14014
14015 beos*)
14016   library_names_spec='${libname}${shared_ext}'
14017   dynamic_linker="$host_os ld.so"
14018   shlibpath_var=LIBRARY_PATH
14019   ;;
14020
14021 bsdi[45]*)
14022   version_type=linux
14023   need_version=no
14024   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14025   soname_spec='${libname}${release}${shared_ext}$major'
14026   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14027   shlibpath_var=LD_LIBRARY_PATH
14028   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14029   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14030   # the default ld.so.conf also contains /usr/contrib/lib and
14031   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14032   # libtool to hard-code these into programs
14033   ;;
14034
14035 cygwin* | mingw* | pw32* | cegcc*)
14036   version_type=windows
14037   shrext_cmds=".dll"
14038   need_version=no
14039   need_lib_prefix=no
14040
14041   case $GCC,$host_os in
14042   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14043     library_names_spec='$libname.dll.a'
14044     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14045     postinstall_cmds='base_file=`basename \${file}`~
14046       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14047       dldir=$destdir/`dirname \$dlpath`~
14048       test -d \$dldir || mkdir -p \$dldir~
14049       $install_prog $dir/$dlname \$dldir/$dlname~
14050       chmod a+x \$dldir/$dlname~
14051       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14052         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14053       fi'
14054     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14055       dlpath=$dir/\$dldll~
14056        $RM \$dlpath'
14057     shlibpath_overrides_runpath=yes
14058
14059     case $host_os in
14060     cygwin*)
14061       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14062       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14063
14064       ;;
14065     mingw* | cegcc*)
14066       # MinGW DLLs use traditional 'lib' prefix
14067       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14068       ;;
14069     pw32*)
14070       # pw32 DLLs use 'pw' prefix rather than 'lib'
14071       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14072       ;;
14073     esac
14074     ;;
14075
14076   *)
14077     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14078     ;;
14079   esac
14080   dynamic_linker='Win32 ld.exe'
14081   # FIXME: first we should search . and the directory the executable is in
14082   shlibpath_var=PATH
14083   ;;
14084
14085 darwin* | rhapsody*)
14086   dynamic_linker="$host_os dyld"
14087   version_type=darwin
14088   need_lib_prefix=no
14089   need_version=no
14090   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14091   soname_spec='${libname}${release}${major}$shared_ext'
14092   shlibpath_overrides_runpath=yes
14093   shlibpath_var=DYLD_LIBRARY_PATH
14094   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14095
14096   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14097   ;;
14098
14099 dgux*)
14100   version_type=linux
14101   need_lib_prefix=no
14102   need_version=no
14103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14104   soname_spec='${libname}${release}${shared_ext}$major'
14105   shlibpath_var=LD_LIBRARY_PATH
14106   ;;
14107
14108 freebsd1*)
14109   dynamic_linker=no
14110   ;;
14111
14112 freebsd* | dragonfly*)
14113   # DragonFly does not have aout.  When/if they implement a new
14114   # versioning mechanism, adjust this.
14115   if test -x /usr/bin/objformat; then
14116     objformat=`/usr/bin/objformat`
14117   else
14118     case $host_os in
14119     freebsd[123]*) objformat=aout ;;
14120     *) objformat=elf ;;
14121     esac
14122   fi
14123   version_type=freebsd-$objformat
14124   case $version_type in
14125     freebsd-elf*)
14126       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14127       need_version=no
14128       need_lib_prefix=no
14129       ;;
14130     freebsd-*)
14131       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14132       need_version=yes
14133       ;;
14134   esac
14135   shlibpath_var=LD_LIBRARY_PATH
14136   case $host_os in
14137   freebsd2*)
14138     shlibpath_overrides_runpath=yes
14139     ;;
14140   freebsd3.[01]* | freebsdelf3.[01]*)
14141     shlibpath_overrides_runpath=yes
14142     hardcode_into_libs=yes
14143     ;;
14144   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14145   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14146     shlibpath_overrides_runpath=no
14147     hardcode_into_libs=yes
14148     ;;
14149   *) # from 4.6 on, and DragonFly
14150     shlibpath_overrides_runpath=yes
14151     hardcode_into_libs=yes
14152     ;;
14153   esac
14154   ;;
14155
14156 gnu*)
14157   version_type=linux
14158   need_lib_prefix=no
14159   need_version=no
14160   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14161   soname_spec='${libname}${release}${shared_ext}$major'
14162   shlibpath_var=LD_LIBRARY_PATH
14163   hardcode_into_libs=yes
14164   ;;
14165
14166 haiku*)
14167   version_type=linux
14168   need_lib_prefix=no
14169   need_version=no
14170   dynamic_linker="$host_os runtime_loader"
14171   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14172   soname_spec='${libname}${release}${shared_ext}$major'
14173   shlibpath_var=LIBRARY_PATH
14174   shlibpath_overrides_runpath=yes
14175   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14176   hardcode_into_libs=yes
14177   ;;
14178
14179 hpux9* | hpux10* | hpux11*)
14180   # Give a soname corresponding to the major version so that dld.sl refuses to
14181   # link against other versions.
14182   version_type=sunos
14183   need_lib_prefix=no
14184   need_version=no
14185   case $host_cpu in
14186   ia64*)
14187     shrext_cmds='.so'
14188     hardcode_into_libs=yes
14189     dynamic_linker="$host_os dld.so"
14190     shlibpath_var=LD_LIBRARY_PATH
14191     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14192     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14193     soname_spec='${libname}${release}${shared_ext}$major'
14194     if test "X$HPUX_IA64_MODE" = X32; then
14195       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14196     else
14197       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14198     fi
14199     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14200     ;;
14201   hppa*64*)
14202     shrext_cmds='.sl'
14203     hardcode_into_libs=yes
14204     dynamic_linker="$host_os dld.sl"
14205     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14206     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14207     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14208     soname_spec='${libname}${release}${shared_ext}$major'
14209     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14210     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14211     ;;
14212   *)
14213     shrext_cmds='.sl'
14214     dynamic_linker="$host_os dld.sl"
14215     shlibpath_var=SHLIB_PATH
14216     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14217     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218     soname_spec='${libname}${release}${shared_ext}$major'
14219     ;;
14220   esac
14221   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14222   postinstall_cmds='chmod 555 $lib'
14223   # or fails outright, so override atomically:
14224   install_override_mode=555
14225   ;;
14226
14227 interix[3-9]*)
14228   version_type=linux
14229   need_lib_prefix=no
14230   need_version=no
14231   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14232   soname_spec='${libname}${release}${shared_ext}$major'
14233   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14234   shlibpath_var=LD_LIBRARY_PATH
14235   shlibpath_overrides_runpath=no
14236   hardcode_into_libs=yes
14237   ;;
14238
14239 irix5* | irix6* | nonstopux*)
14240   case $host_os in
14241     nonstopux*) version_type=nonstopux ;;
14242     *)
14243         if test "$lt_cv_prog_gnu_ld" = yes; then
14244                 version_type=linux
14245         else
14246                 version_type=irix
14247         fi ;;
14248   esac
14249   need_lib_prefix=no
14250   need_version=no
14251   soname_spec='${libname}${release}${shared_ext}$major'
14252   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14253   case $host_os in
14254   irix5* | nonstopux*)
14255     libsuff= shlibsuff=
14256     ;;
14257   *)
14258     case $LD in # libtool.m4 will add one of these switches to LD
14259     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14260       libsuff= shlibsuff= libmagic=32-bit;;
14261     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14262       libsuff=32 shlibsuff=N32 libmagic=N32;;
14263     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14264       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14265     *) libsuff= shlibsuff= libmagic=never-match;;
14266     esac
14267     ;;
14268   esac
14269   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14270   shlibpath_overrides_runpath=no
14271   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14272   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14273   hardcode_into_libs=yes
14274   ;;
14275
14276 # No shared lib support for Linux oldld, aout, or coff.
14277 linux*oldld* | linux*aout* | linux*coff*)
14278   dynamic_linker=no
14279   ;;
14280
14281 # This must be Linux ELF.
14282 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14283   version_type=linux
14284   need_lib_prefix=no
14285   need_version=no
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   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14289   shlibpath_var=LD_LIBRARY_PATH
14290   shlibpath_overrides_runpath=no
14291
14292   # Some binutils ld are patched to set DT_RUNPATH
14293   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14294   $as_echo_n "(cached) " >&6
14295 else
14296   lt_cv_shlibpath_overrides_runpath=no
14297     save_LDFLAGS=$LDFLAGS
14298     save_libdir=$libdir
14299     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14300          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14301     if test x$gcc_no_link = xyes; then
14302   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14303 fi
14304 cat > conftest.$ac_ext <<_ACEOF
14305       program main
14306
14307       end
14308 _ACEOF
14309 if ac_fn_fc_try_link "$LINENO"; then :
14310   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14311   lt_cv_shlibpath_overrides_runpath=yes
14312 fi
14313 fi
14314 rm -f core conftest.err conftest.$ac_objext \
14315     conftest$ac_exeext conftest.$ac_ext
14316     LDFLAGS=$save_LDFLAGS
14317     libdir=$save_libdir
14318
14319 fi
14320
14321   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14322
14323   # This implies no fast_install, which is unacceptable.
14324   # Some rework will be needed to allow for fast_install
14325   # before this can be enabled.
14326   hardcode_into_libs=yes
14327
14328   # Append ld.so.conf contents to the search path
14329   if test -f /etc/ld.so.conf; then
14330     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' ' '`
14331     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14332   fi
14333
14334   # We used to test for /lib/ld.so.1 and disable shared libraries on
14335   # powerpc, because MkLinux only supported shared libraries with the
14336   # GNU dynamic linker.  Since this was broken with cross compilers,
14337   # most powerpc-linux boxes support dynamic linking these days and
14338   # people can always --disable-shared, the test was removed, and we
14339   # assume the GNU/Linux dynamic linker is in use.
14340   dynamic_linker='GNU/Linux ld.so'
14341   ;;
14342
14343 netbsd*)
14344   version_type=sunos
14345   need_lib_prefix=no
14346   need_version=no
14347   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14348     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14349     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14350     dynamic_linker='NetBSD (a.out) ld.so'
14351   else
14352     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14353     soname_spec='${libname}${release}${shared_ext}$major'
14354     dynamic_linker='NetBSD ld.elf_so'
14355   fi
14356   shlibpath_var=LD_LIBRARY_PATH
14357   shlibpath_overrides_runpath=yes
14358   hardcode_into_libs=yes
14359   ;;
14360
14361 newsos6)
14362   version_type=linux
14363   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14364   shlibpath_var=LD_LIBRARY_PATH
14365   shlibpath_overrides_runpath=yes
14366   ;;
14367
14368 *nto* | *qnx*)
14369   version_type=qnx
14370   need_lib_prefix=no
14371   need_version=no
14372   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14373   soname_spec='${libname}${release}${shared_ext}$major'
14374   shlibpath_var=LD_LIBRARY_PATH
14375   shlibpath_overrides_runpath=no
14376   hardcode_into_libs=yes
14377   dynamic_linker='ldqnx.so'
14378   ;;
14379
14380 openbsd*)
14381   version_type=sunos
14382   sys_lib_dlsearch_path_spec="/usr/lib"
14383   need_lib_prefix=no
14384   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14385   case $host_os in
14386     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14387     *)                          need_version=no  ;;
14388   esac
14389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14390   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14391   shlibpath_var=LD_LIBRARY_PATH
14392   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14393     case $host_os in
14394       openbsd2.[89] | openbsd2.[89].*)
14395         shlibpath_overrides_runpath=no
14396         ;;
14397       *)
14398         shlibpath_overrides_runpath=yes
14399         ;;
14400       esac
14401   else
14402     shlibpath_overrides_runpath=yes
14403   fi
14404   ;;
14405
14406 os2*)
14407   libname_spec='$name'
14408   shrext_cmds=".dll"
14409   need_lib_prefix=no
14410   library_names_spec='$libname${shared_ext} $libname.a'
14411   dynamic_linker='OS/2 ld.exe'
14412   shlibpath_var=LIBPATH
14413   ;;
14414
14415 osf3* | osf4* | osf5*)
14416   version_type=osf
14417   need_lib_prefix=no
14418   need_version=no
14419   soname_spec='${libname}${release}${shared_ext}$major'
14420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14421   shlibpath_var=LD_LIBRARY_PATH
14422   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14423   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14424   ;;
14425
14426 rdos*)
14427   dynamic_linker=no
14428   ;;
14429
14430 solaris*)
14431   version_type=linux
14432   need_lib_prefix=no
14433   need_version=no
14434   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14435   soname_spec='${libname}${release}${shared_ext}$major'
14436   shlibpath_var=LD_LIBRARY_PATH
14437   shlibpath_overrides_runpath=yes
14438   hardcode_into_libs=yes
14439   # ldd complains unless libraries are executable
14440   postinstall_cmds='chmod +x $lib'
14441   ;;
14442
14443 sunos4*)
14444   version_type=sunos
14445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14446   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14447   shlibpath_var=LD_LIBRARY_PATH
14448   shlibpath_overrides_runpath=yes
14449   if test "$with_gnu_ld" = yes; then
14450     need_lib_prefix=no
14451   fi
14452   need_version=yes
14453   ;;
14454
14455 sysv4 | sysv4.3*)
14456   version_type=linux
14457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458   soname_spec='${libname}${release}${shared_ext}$major'
14459   shlibpath_var=LD_LIBRARY_PATH
14460   case $host_vendor in
14461     sni)
14462       shlibpath_overrides_runpath=no
14463       need_lib_prefix=no
14464       runpath_var=LD_RUN_PATH
14465       ;;
14466     siemens)
14467       need_lib_prefix=no
14468       ;;
14469     motorola)
14470       need_lib_prefix=no
14471       need_version=no
14472       shlibpath_overrides_runpath=no
14473       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14474       ;;
14475   esac
14476   ;;
14477
14478 sysv4*MP*)
14479   if test -d /usr/nec ;then
14480     version_type=linux
14481     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14482     soname_spec='$libname${shared_ext}.$major'
14483     shlibpath_var=LD_LIBRARY_PATH
14484   fi
14485   ;;
14486
14487 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14488   version_type=freebsd-elf
14489   need_lib_prefix=no
14490   need_version=no
14491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14492   soname_spec='${libname}${release}${shared_ext}$major'
14493   shlibpath_var=LD_LIBRARY_PATH
14494   shlibpath_overrides_runpath=yes
14495   hardcode_into_libs=yes
14496   if test "$with_gnu_ld" = yes; then
14497     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14498   else
14499     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14500     case $host_os in
14501       sco3.2v5*)
14502         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14503         ;;
14504     esac
14505   fi
14506   sys_lib_dlsearch_path_spec='/usr/lib'
14507   ;;
14508
14509 tpf*)
14510   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14511   version_type=linux
14512   need_lib_prefix=no
14513   need_version=no
14514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515   shlibpath_var=LD_LIBRARY_PATH
14516   shlibpath_overrides_runpath=no
14517   hardcode_into_libs=yes
14518   ;;
14519
14520 uts4*)
14521   version_type=linux
14522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14523   soname_spec='${libname}${release}${shared_ext}$major'
14524   shlibpath_var=LD_LIBRARY_PATH
14525   ;;
14526
14527 *)
14528   dynamic_linker=no
14529   ;;
14530 esac
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14532 $as_echo "$dynamic_linker" >&6; }
14533 test "$dynamic_linker" = no && can_build_shared=no
14534
14535 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14536 if test "$GCC" = yes; then
14537   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14538 fi
14539
14540 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14541   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14542 fi
14543 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14544   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14545 fi
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14585 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14586 hardcode_action_FC=
14587 if test -n "$hardcode_libdir_flag_spec_FC" ||
14588    test -n "$runpath_var_FC" ||
14589    test "X$hardcode_automatic_FC" = "Xyes" ; then
14590
14591   # We can hardcode non-existent directories.
14592   if test "$hardcode_direct_FC" != no &&
14593      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14594      # have to relink, otherwise we might link with an installed library
14595      # when we should be linking with a yet-to-be-installed one
14596      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14597      test "$hardcode_minus_L_FC" != no; then
14598     # Linking always hardcodes the temporary library directory.
14599     hardcode_action_FC=relink
14600   else
14601     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14602     hardcode_action_FC=immediate
14603   fi
14604 else
14605   # We cannot hardcode anything, or else we can only hardcode existing
14606   # directories.
14607   hardcode_action_FC=unsupported
14608 fi
14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14610 $as_echo "$hardcode_action_FC" >&6; }
14611
14612 if test "$hardcode_action_FC" = relink ||
14613    test "$inherit_rpath_FC" = yes; then
14614   # Fast installation is not supported
14615   enable_fast_install=no
14616 elif test "$shlibpath_overrides_runpath" = yes ||
14617      test "$enable_shared" = no; then
14618   # Fast installation is not necessary
14619   enable_fast_install=needless
14620 fi
14621
14622
14623
14624
14625
14626
14627
14628   fi # test -n "$compiler"
14629
14630   GCC=$lt_save_GCC
14631   CC="$lt_save_CC"
14632 fi # test "$_lt_disable_FC" != yes
14633
14634 ac_ext=c
14635 ac_cpp='$CPP $CPPFLAGS'
14636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14639
14640
14641
14642 # extra LD Flags which are required for targets
14643 case "${host}" in
14644   *-darwin*)
14645     # Darwin needs -single_module when linking libgfortran
14646     extra_ldflags_libgfortran=-Wl,-single_module
14647     ;;
14648 esac
14649
14650
14651 # We need a working compiler at that point, otherwise give a clear
14652 # error message and bail out.
14653
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14655 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14656 ac_ext=${ac_fc_srcext-f}
14657 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14658 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14659 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14660
14661 cat > conftest.$ac_ext <<_ACEOF
14662
14663       program foo
14664       real, parameter :: bar = sin (12.34 / 2.5)
14665       end program foo
14666 _ACEOF
14667 if ac_fn_fc_try_compile "$LINENO"; then :
14668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14669 $as_echo "yes" >&6; }
14670 else
14671   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14672 $as_echo "no" >&6; }
14673      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14674
14675 fi
14676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14677 ac_ext=c
14678 ac_cpp='$CPP $CPPFLAGS'
14679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14682
14683
14684
14685 # Check whether --enable-largefile was given.
14686 if test "${enable_largefile+set}" = set; then :
14687   enableval=$enable_largefile;
14688 fi
14689
14690 if test "$enable_largefile" != no; then
14691
14692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14693 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14694 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14695   $as_echo_n "(cached) " >&6
14696 else
14697   ac_cv_sys_largefile_CC=no
14698      if test "$GCC" != yes; then
14699        ac_save_CC=$CC
14700        while :; do
14701          # IRIX 6.2 and later do not support large files by default,
14702          # so use the C compiler's -n32 option if that helps.
14703          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14704 /* end confdefs.h.  */
14705 #include <sys/types.h>
14706  /* Check that off_t can represent 2**63 - 1 correctly.
14707     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14708     since some C++ compilers masquerading as C compilers
14709     incorrectly reject 9223372036854775807.  */
14710 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14711   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14712                        && LARGE_OFF_T % 2147483647 == 1)
14713                       ? 1 : -1];
14714 int
14715 main ()
14716 {
14717
14718   ;
14719   return 0;
14720 }
14721 _ACEOF
14722          if ac_fn_c_try_compile "$LINENO"; then :
14723   break
14724 fi
14725 rm -f core conftest.err conftest.$ac_objext
14726          CC="$CC -n32"
14727          if ac_fn_c_try_compile "$LINENO"; then :
14728   ac_cv_sys_largefile_CC=' -n32'; break
14729 fi
14730 rm -f core conftest.err conftest.$ac_objext
14731          break
14732        done
14733        CC=$ac_save_CC
14734        rm -f conftest.$ac_ext
14735     fi
14736 fi
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14738 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14739   if test "$ac_cv_sys_largefile_CC" != no; then
14740     CC=$CC$ac_cv_sys_largefile_CC
14741   fi
14742
14743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14744 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14745 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14746   $as_echo_n "(cached) " >&6
14747 else
14748   while :; do
14749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14750 /* end confdefs.h.  */
14751 #include <sys/types.h>
14752  /* Check that off_t can represent 2**63 - 1 correctly.
14753     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14754     since some C++ compilers masquerading as C compilers
14755     incorrectly reject 9223372036854775807.  */
14756 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14757   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14758                        && LARGE_OFF_T % 2147483647 == 1)
14759                       ? 1 : -1];
14760 int
14761 main ()
14762 {
14763
14764   ;
14765   return 0;
14766 }
14767 _ACEOF
14768 if ac_fn_c_try_compile "$LINENO"; then :
14769   ac_cv_sys_file_offset_bits=no; break
14770 fi
14771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h.  */
14774 #define _FILE_OFFSET_BITS 64
14775 #include <sys/types.h>
14776  /* Check that off_t can represent 2**63 - 1 correctly.
14777     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14778     since some C++ compilers masquerading as C compilers
14779     incorrectly reject 9223372036854775807.  */
14780 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14781   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14782                        && LARGE_OFF_T % 2147483647 == 1)
14783                       ? 1 : -1];
14784 int
14785 main ()
14786 {
14787
14788   ;
14789   return 0;
14790 }
14791 _ACEOF
14792 if ac_fn_c_try_compile "$LINENO"; then :
14793   ac_cv_sys_file_offset_bits=64; break
14794 fi
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796   ac_cv_sys_file_offset_bits=unknown
14797   break
14798 done
14799 fi
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14801 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14802 case $ac_cv_sys_file_offset_bits in #(
14803   no | unknown) ;;
14804   *)
14805 cat >>confdefs.h <<_ACEOF
14806 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14807 _ACEOF
14808 ;;
14809 esac
14810 rm -rf conftest*
14811   if test $ac_cv_sys_file_offset_bits = unknown; then
14812     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14813 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14814 if test "${ac_cv_sys_large_files+set}" = set; then :
14815   $as_echo_n "(cached) " >&6
14816 else
14817   while :; do
14818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14819 /* end confdefs.h.  */
14820 #include <sys/types.h>
14821  /* Check that off_t can represent 2**63 - 1 correctly.
14822     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14823     since some C++ compilers masquerading as C compilers
14824     incorrectly reject 9223372036854775807.  */
14825 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14826   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14827                        && LARGE_OFF_T % 2147483647 == 1)
14828                       ? 1 : -1];
14829 int
14830 main ()
14831 {
14832
14833   ;
14834   return 0;
14835 }
14836 _ACEOF
14837 if ac_fn_c_try_compile "$LINENO"; then :
14838   ac_cv_sys_large_files=no; break
14839 fi
14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h.  */
14843 #define _LARGE_FILES 1
14844 #include <sys/types.h>
14845  /* Check that off_t can represent 2**63 - 1 correctly.
14846     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14847     since some C++ compilers masquerading as C compilers
14848     incorrectly reject 9223372036854775807.  */
14849 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14850   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14851                        && LARGE_OFF_T % 2147483647 == 1)
14852                       ? 1 : -1];
14853 int
14854 main ()
14855 {
14856
14857   ;
14858   return 0;
14859 }
14860 _ACEOF
14861 if ac_fn_c_try_compile "$LINENO"; then :
14862   ac_cv_sys_large_files=1; break
14863 fi
14864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14865   ac_cv_sys_large_files=unknown
14866   break
14867 done
14868 fi
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14870 $as_echo "$ac_cv_sys_large_files" >&6; }
14871 case $ac_cv_sys_large_files in #(
14872   no | unknown) ;;
14873   *)
14874 cat >>confdefs.h <<_ACEOF
14875 #define _LARGE_FILES $ac_cv_sys_large_files
14876 _ACEOF
14877 ;;
14878 esac
14879 rm -rf conftest*
14880   fi
14881 fi
14882
14883 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14884 if test "x$ac_cv_type_off_t" = x""yes; then :
14885
14886 else
14887
14888 cat >>confdefs.h <<_ACEOF
14889 #define off_t long int
14890 _ACEOF
14891
14892 fi
14893
14894
14895 # check header files
14896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14897 $as_echo_n "checking for ANSI C header files... " >&6; }
14898 if test "${ac_cv_header_stdc+set}" = set; then :
14899   $as_echo_n "(cached) " >&6
14900 else
14901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14902 /* end confdefs.h.  */
14903 #include <stdlib.h>
14904 #include <stdarg.h>
14905 #include <string.h>
14906 #include <float.h>
14907
14908 int
14909 main ()
14910 {
14911
14912   ;
14913   return 0;
14914 }
14915 _ACEOF
14916 if ac_fn_c_try_compile "$LINENO"; then :
14917   ac_cv_header_stdc=yes
14918 else
14919   ac_cv_header_stdc=no
14920 fi
14921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14922
14923 if test $ac_cv_header_stdc = yes; then
14924   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14926 /* end confdefs.h.  */
14927 #include <string.h>
14928
14929 _ACEOF
14930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14931   $EGREP "memchr" >/dev/null 2>&1; then :
14932
14933 else
14934   ac_cv_header_stdc=no
14935 fi
14936 rm -f conftest*
14937
14938 fi
14939
14940 if test $ac_cv_header_stdc = yes; then
14941   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14943 /* end confdefs.h.  */
14944 #include <stdlib.h>
14945
14946 _ACEOF
14947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14948   $EGREP "free" >/dev/null 2>&1; then :
14949
14950 else
14951   ac_cv_header_stdc=no
14952 fi
14953 rm -f conftest*
14954
14955 fi
14956
14957 if test $ac_cv_header_stdc = yes; then
14958   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14959   if test "$cross_compiling" = yes; then :
14960   :
14961 else
14962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h.  */
14964 #include <ctype.h>
14965 #include <stdlib.h>
14966 #if ((' ' & 0x0FF) == 0x020)
14967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14969 #else
14970 # define ISLOWER(c) \
14971                    (('a' <= (c) && (c) <= 'i') \
14972                      || ('j' <= (c) && (c) <= 'r') \
14973                      || ('s' <= (c) && (c) <= 'z'))
14974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14975 #endif
14976
14977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14978 int
14979 main ()
14980 {
14981   int i;
14982   for (i = 0; i < 256; i++)
14983     if (XOR (islower (i), ISLOWER (i))
14984         || toupper (i) != TOUPPER (i))
14985       return 2;
14986   return 0;
14987 }
14988 _ACEOF
14989 if ac_fn_c_try_run "$LINENO"; then :
14990
14991 else
14992   ac_cv_header_stdc=no
14993 fi
14994 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14995   conftest.$ac_objext conftest.beam conftest.$ac_ext
14996 fi
14997
14998 fi
14999 fi
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15001 $as_echo "$ac_cv_header_stdc" >&6; }
15002 if test $ac_cv_header_stdc = yes; then
15003
15004 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15005
15006 fi
15007
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15009 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15010 if test "${ac_cv_header_time+set}" = set; then :
15011   $as_echo_n "(cached) " >&6
15012 else
15013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h.  */
15015 #include <sys/types.h>
15016 #include <sys/time.h>
15017 #include <time.h>
15018
15019 int
15020 main ()
15021 {
15022 if ((struct tm *) 0)
15023 return 0;
15024   ;
15025   return 0;
15026 }
15027 _ACEOF
15028 if ac_fn_c_try_compile "$LINENO"; then :
15029   ac_cv_header_time=yes
15030 else
15031   ac_cv_header_time=no
15032 fi
15033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15034 fi
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15036 $as_echo "$ac_cv_header_time" >&6; }
15037 if test $ac_cv_header_time = yes; then
15038
15039 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15040
15041 fi
15042
15043 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15044 do :
15045   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15046 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15047 eval as_val=\$$as_ac_Header
15048    if test "x$as_val" = x""yes; then :
15049   cat >>confdefs.h <<_ACEOF
15050 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15051 _ACEOF
15052
15053 fi
15054
15055 done
15056
15057 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15058 do :
15059   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15060 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15061 eval as_val=\$$as_ac_Header
15062    if test "x$as_val" = x""yes; then :
15063   cat >>confdefs.h <<_ACEOF
15064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15065 _ACEOF
15066
15067 fi
15068
15069 done
15070
15071 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15072 do :
15073   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15074 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15075 eval as_val=\$$as_ac_Header
15076    if test "x$as_val" = x""yes; then :
15077   cat >>confdefs.h <<_ACEOF
15078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15079 _ACEOF
15080
15081 fi
15082
15083 done
15084
15085 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15086 do :
15087   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15088 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15089 eval as_val=\$$as_ac_Header
15090    if test "x$as_val" = x""yes; then :
15091   cat >>confdefs.h <<_ACEOF
15092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15093 _ACEOF
15094
15095 fi
15096
15097 done
15098
15099 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15100 if test "x$ac_cv_header_complex_h" = x""yes; then :
15101
15102 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15103
15104 fi
15105
15106
15107
15108
15109 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15110
15111 acx_cv_header_stdint=stddef.h
15112 acx_cv_header_stdint_kind="(already complete)"
15113 for i in stdint.h $inttype_headers; do
15114   unset ac_cv_type_uintptr_t
15115   unset ac_cv_type_uintmax_t
15116   unset ac_cv_type_int_least32_t
15117   unset ac_cv_type_int_fast32_t
15118   unset ac_cv_type_uint64_t
15119   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15120   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15121 #include <$i>
15122 "
15123 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15124   acx_cv_header_stdint=$i
15125 else
15126   continue
15127 fi
15128
15129   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15130 #include <$i>
15131 "
15132 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15133
15134 else
15135   acx_cv_header_stdint_kind="(mostly complete)"
15136 fi
15137
15138   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15139 #include <$i>
15140 "
15141 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15142
15143 else
15144   acx_cv_header_stdint_kind="(mostly complete)"
15145 fi
15146
15147   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15148 #include <$i>
15149 "
15150 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15151
15152 else
15153   acx_cv_header_stdint_kind="(mostly complete)"
15154 fi
15155
15156   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15157 #include <$i>
15158 "
15159 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15160
15161 else
15162   acx_cv_header_stdint_kind="(lacks uint64_t)"
15163 fi
15164
15165   break
15166 done
15167 if test "$acx_cv_header_stdint" = stddef.h; then
15168   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15169   for i in stdint.h $inttype_headers; do
15170     unset ac_cv_type_uintptr_t
15171     unset ac_cv_type_uint32_t
15172     unset ac_cv_type_uint64_t
15173     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15174     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15175 #include <$i>
15176 "
15177 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15178   acx_cv_header_stdint=$i
15179 else
15180   continue
15181 fi
15182
15183     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15184 #include <$i>
15185 "
15186 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15187
15188 fi
15189
15190     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15191 #include <$i>
15192 "
15193 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15194
15195 fi
15196
15197     break
15198   done
15199 fi
15200 if test "$acx_cv_header_stdint" = stddef.h; then
15201   acx_cv_header_stdint_kind="(u_intXX_t style)"
15202   for i in sys/types.h $inttype_headers; do
15203     unset ac_cv_type_u_int32_t
15204     unset ac_cv_type_u_int64_t
15205     $as_echo_n "looking for u_intXX_t types in $i, " >&6
15206     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15207 #include <$i>
15208 "
15209 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15210   acx_cv_header_stdint=$i
15211 else
15212   continue
15213 fi
15214
15215     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15216 #include <$i>
15217 "
15218 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15219
15220 fi
15221
15222     break
15223   done
15224 fi
15225 if test "$acx_cv_header_stdint" = stddef.h; then
15226   acx_cv_header_stdint_kind="(using manual detection)"
15227 fi
15228
15229 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15230 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15231 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15232 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15233 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15234
15235 # ----------------- Summarize what we found so far
15236
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15238 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15239
15240 case `$as_basename -- gstdint.h ||
15241 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15242          Xgstdint.h : 'X\(//\)$' \| \
15243          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15244 $as_echo X/gstdint.h |
15245     sed '/^.*\/\([^/][^/]*\)\/*$/{
15246             s//\1/
15247             q
15248           }
15249           /^X\/\(\/\/\)$/{
15250             s//\1/
15251             q
15252           }
15253           /^X\/\(\/\).*/{
15254             s//\1/
15255             q
15256           }
15257           s/.*/./; q'` in
15258   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15259 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15260   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15261 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15262   *) ;;
15263 esac
15264
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15266 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15267
15268 # ----------------- done included file, check C basic types --------
15269
15270 # Lacking an uintptr_t?  Test size of void *
15271 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15272   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15275 # This bug is HP SR number 8606223364.
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15277 $as_echo_n "checking size of void *... " >&6; }
15278 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15279   $as_echo_n "(cached) " >&6
15280 else
15281   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
15282
15283 else
15284   if test "$ac_cv_type_void_p" = yes; then
15285      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15287 { as_fn_set_status 77
15288 as_fn_error "cannot compute sizeof (void *)
15289 See \`config.log' for more details." "$LINENO" 5; }; }
15290    else
15291      ac_cv_sizeof_void_p=0
15292    fi
15293 fi
15294
15295 fi
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15297 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15298
15299
15300
15301 cat >>confdefs.h <<_ACEOF
15302 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15303 _ACEOF
15304
15305  ;;
15306 esac
15307
15308 # Lacking an uint64_t?  Test size of long
15309 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15310   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15313 # This bug is HP SR number 8606223364.
15314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15315 $as_echo_n "checking size of long... " >&6; }
15316 if test "${ac_cv_sizeof_long+set}" = set; then :
15317   $as_echo_n "(cached) " >&6
15318 else
15319   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
15320
15321 else
15322   if test "$ac_cv_type_long" = yes; then
15323      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15325 { as_fn_set_status 77
15326 as_fn_error "cannot compute sizeof (long)
15327 See \`config.log' for more details." "$LINENO" 5; }; }
15328    else
15329      ac_cv_sizeof_long=0
15330    fi
15331 fi
15332
15333 fi
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15335 $as_echo "$ac_cv_sizeof_long" >&6; }
15336
15337
15338
15339 cat >>confdefs.h <<_ACEOF
15340 #define SIZEOF_LONG $ac_cv_sizeof_long
15341 _ACEOF
15342
15343  ;;
15344 esac
15345
15346 if test $acx_cv_header_stdint = stddef.h; then
15347   # Lacking a good header?  Test size of everything and deduce all types.
15348   # The cast to long int works around a bug in the HP C Compiler
15349 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15350 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15351 # This bug is HP SR number 8606223364.
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15353 $as_echo_n "checking size of int... " >&6; }
15354 if test "${ac_cv_sizeof_int+set}" = set; then :
15355   $as_echo_n "(cached) " >&6
15356 else
15357   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
15358
15359 else
15360   if test "$ac_cv_type_int" = yes; then
15361      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15363 { as_fn_set_status 77
15364 as_fn_error "cannot compute sizeof (int)
15365 See \`config.log' for more details." "$LINENO" 5; }; }
15366    else
15367      ac_cv_sizeof_int=0
15368    fi
15369 fi
15370
15371 fi
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15373 $as_echo "$ac_cv_sizeof_int" >&6; }
15374
15375
15376
15377 cat >>confdefs.h <<_ACEOF
15378 #define SIZEOF_INT $ac_cv_sizeof_int
15379 _ACEOF
15380
15381
15382   # The cast to long int works around a bug in the HP C Compiler
15383 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15384 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15385 # This bug is HP SR number 8606223364.
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15387 $as_echo_n "checking size of short... " >&6; }
15388 if test "${ac_cv_sizeof_short+set}" = set; then :
15389   $as_echo_n "(cached) " >&6
15390 else
15391   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
15392
15393 else
15394   if test "$ac_cv_type_short" = yes; then
15395      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15397 { as_fn_set_status 77
15398 as_fn_error "cannot compute sizeof (short)
15399 See \`config.log' for more details." "$LINENO" 5; }; }
15400    else
15401      ac_cv_sizeof_short=0
15402    fi
15403 fi
15404
15405 fi
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15407 $as_echo "$ac_cv_sizeof_short" >&6; }
15408
15409
15410
15411 cat >>confdefs.h <<_ACEOF
15412 #define SIZEOF_SHORT $ac_cv_sizeof_short
15413 _ACEOF
15414
15415
15416   # The cast to long int works around a bug in the HP C Compiler
15417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15419 # This bug is HP SR number 8606223364.
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15421 $as_echo_n "checking size of char... " >&6; }
15422 if test "${ac_cv_sizeof_char+set}" = set; then :
15423   $as_echo_n "(cached) " >&6
15424 else
15425   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
15426
15427 else
15428   if test "$ac_cv_type_char" = yes; then
15429      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15431 { as_fn_set_status 77
15432 as_fn_error "cannot compute sizeof (char)
15433 See \`config.log' for more details." "$LINENO" 5; }; }
15434    else
15435      ac_cv_sizeof_char=0
15436    fi
15437 fi
15438
15439 fi
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15441 $as_echo "$ac_cv_sizeof_char" >&6; }
15442
15443
15444
15445 cat >>confdefs.h <<_ACEOF
15446 #define SIZEOF_CHAR $ac_cv_sizeof_char
15447 _ACEOF
15448
15449
15450
15451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15452 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15453   case "$ac_cv_sizeof_char" in
15454     1) acx_cv_type_int8_t=char ;;
15455     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
15456   esac
15457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15458 $as_echo "$acx_cv_type_int8_t" >&6; }
15459
15460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15461 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15462   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15463     2:*) acx_cv_type_int16_t=int ;;
15464     *:2) acx_cv_type_int16_t=short ;;
15465     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
15466   esac
15467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15468 $as_echo "$acx_cv_type_int16_t" >&6; }
15469
15470   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15471 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15472   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15473     4:*) acx_cv_type_int32_t=int ;;
15474     *:4) acx_cv_type_int32_t=long ;;
15475     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
15476   esac
15477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15478 $as_echo "$acx_cv_type_int32_t" >&6; }
15479 fi
15480
15481 # These tests are here to make the output prettier
15482
15483 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15484   case "$ac_cv_sizeof_long" in
15485     8) acx_cv_type_int64_t=long ;;
15486   esac
15487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15488 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15490 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15491 fi
15492
15493 # Now we can use the above types
15494
15495 if test "$ac_cv_type_uintptr_t" != yes; then
15496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15497 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15498   case $ac_cv_sizeof_void_p in
15499     2) acx_cv_type_intptr_t=int16_t ;;
15500     4) acx_cv_type_intptr_t=int32_t ;;
15501     8) acx_cv_type_intptr_t=int64_t ;;
15502     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
15503   esac
15504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15505 $as_echo "$acx_cv_type_intptr_t" >&6; }
15506 fi
15507
15508 # ----------------- done all checks, emit header -------------
15509 ac_config_commands="$ac_config_commands gstdint.h"
15510
15511
15512
15513
15514 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15515 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15516
15517 cat >>confdefs.h <<_ACEOF
15518 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15519 _ACEOF
15520
15521
15522 fi
15523
15524 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15525 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15526
15527 cat >>confdefs.h <<_ACEOF
15528 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15529 _ACEOF
15530
15531
15532 fi
15533
15534 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15535 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15536
15537 cat >>confdefs.h <<_ACEOF
15538 #define HAVE_STRUCT_STAT_ST_RDEV 1
15539 _ACEOF
15540
15541
15542 fi
15543
15544
15545 # Check for library functions.
15546 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15547 do :
15548   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15550 eval as_val=\$$as_ac_var
15551    if test "x$as_val" = x""yes; then :
15552   cat >>confdefs.h <<_ACEOF
15553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15554 _ACEOF
15555
15556 fi
15557 done
15558
15559 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15560 do :
15561   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15562 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15563 eval as_val=\$$as_ac_var
15564    if test "x$as_val" = x""yes; then :
15565   cat >>confdefs.h <<_ACEOF
15566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15567 _ACEOF
15568
15569 fi
15570 done
15571
15572 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15573 do :
15574   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15576 eval as_val=\$$as_ac_var
15577    if test "x$as_val" = x""yes; then :
15578   cat >>confdefs.h <<_ACEOF
15579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15580 _ACEOF
15581
15582 fi
15583 done
15584
15585 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15586 do :
15587   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15589 eval as_val=\$$as_ac_var
15590    if test "x$as_val" = x""yes; then :
15591   cat >>confdefs.h <<_ACEOF
15592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15593 _ACEOF
15594
15595 fi
15596 done
15597
15598 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15599 do :
15600   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15602 eval as_val=\$$as_ac_var
15603    if test "x$as_val" = x""yes; then :
15604   cat >>confdefs.h <<_ACEOF
15605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15606 _ACEOF
15607
15608 fi
15609 done
15610
15611 for ac_func in localtime_r gmtime_r
15612 do :
15613   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15615 eval as_val=\$$as_ac_var
15616    if test "x$as_val" = x""yes; then :
15617   cat >>confdefs.h <<_ACEOF
15618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15619 _ACEOF
15620
15621 fi
15622 done
15623
15624
15625 # Check for glibc backtrace functions
15626 for ac_func in backtrace backtrace_symbols
15627 do :
15628   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15630 eval as_val=\$$as_ac_var
15631    if test "x$as_val" = x""yes; then :
15632   cat >>confdefs.h <<_ACEOF
15633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15634 _ACEOF
15635
15636 fi
15637 done
15638
15639
15640 # Check for types
15641 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15642 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15643
15644 cat >>confdefs.h <<_ACEOF
15645 #define HAVE_INTPTR_T 1
15646 _ACEOF
15647
15648
15649 fi
15650
15651 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15652 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15653
15654 cat >>confdefs.h <<_ACEOF
15655 #define HAVE_UINTPTR_T 1
15656 _ACEOF
15657
15658
15659 fi
15660
15661
15662 # Check libc for getgid, getpid, getuid
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15664 $as_echo_n "checking for getgid in -lc... " >&6; }
15665 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15666   $as_echo_n "(cached) " >&6
15667 else
15668   ac_check_lib_save_LIBS=$LIBS
15669 LIBS="-lc  $LIBS"
15670 if test x$gcc_no_link = xyes; then
15671   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15672 fi
15673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15674 /* end confdefs.h.  */
15675
15676 /* Override any GCC internal prototype to avoid an error.
15677    Use char because int might match the return type of a GCC
15678    builtin and then its argument prototype would still apply.  */
15679 #ifdef __cplusplus
15680 extern "C"
15681 #endif
15682 char getgid ();
15683 int
15684 main ()
15685 {
15686 return getgid ();
15687   ;
15688   return 0;
15689 }
15690 _ACEOF
15691 if ac_fn_c_try_link "$LINENO"; then :
15692   ac_cv_lib_c_getgid=yes
15693 else
15694   ac_cv_lib_c_getgid=no
15695 fi
15696 rm -f core conftest.err conftest.$ac_objext \
15697     conftest$ac_exeext conftest.$ac_ext
15698 LIBS=$ac_check_lib_save_LIBS
15699 fi
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15701 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15702 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15703
15704 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15705
15706 fi
15707
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15709 $as_echo_n "checking for getpid in -lc... " >&6; }
15710 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15711   $as_echo_n "(cached) " >&6
15712 else
15713   ac_check_lib_save_LIBS=$LIBS
15714 LIBS="-lc  $LIBS"
15715 if test x$gcc_no_link = xyes; then
15716   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15717 fi
15718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h.  */
15720
15721 /* Override any GCC internal prototype to avoid an error.
15722    Use char because int might match the return type of a GCC
15723    builtin and then its argument prototype would still apply.  */
15724 #ifdef __cplusplus
15725 extern "C"
15726 #endif
15727 char getpid ();
15728 int
15729 main ()
15730 {
15731 return getpid ();
15732   ;
15733   return 0;
15734 }
15735 _ACEOF
15736 if ac_fn_c_try_link "$LINENO"; then :
15737   ac_cv_lib_c_getpid=yes
15738 else
15739   ac_cv_lib_c_getpid=no
15740 fi
15741 rm -f core conftest.err conftest.$ac_objext \
15742     conftest$ac_exeext conftest.$ac_ext
15743 LIBS=$ac_check_lib_save_LIBS
15744 fi
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15746 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15747 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15748
15749 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15750
15751 fi
15752
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15754 $as_echo_n "checking for getppid in -lc... " >&6; }
15755 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15756   $as_echo_n "(cached) " >&6
15757 else
15758   ac_check_lib_save_LIBS=$LIBS
15759 LIBS="-lc  $LIBS"
15760 if test x$gcc_no_link = xyes; then
15761   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15762 fi
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h.  */
15765
15766 /* Override any GCC internal prototype to avoid an error.
15767    Use char because int might match the return type of a GCC
15768    builtin and then its argument prototype would still apply.  */
15769 #ifdef __cplusplus
15770 extern "C"
15771 #endif
15772 char getppid ();
15773 int
15774 main ()
15775 {
15776 return getppid ();
15777   ;
15778   return 0;
15779 }
15780 _ACEOF
15781 if ac_fn_c_try_link "$LINENO"; then :
15782   ac_cv_lib_c_getppid=yes
15783 else
15784   ac_cv_lib_c_getppid=no
15785 fi
15786 rm -f core conftest.err conftest.$ac_objext \
15787     conftest$ac_exeext conftest.$ac_ext
15788 LIBS=$ac_check_lib_save_LIBS
15789 fi
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15791 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15792 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15793
15794 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15795
15796 fi
15797
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15799 $as_echo_n "checking for getuid in -lc... " >&6; }
15800 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15801   $as_echo_n "(cached) " >&6
15802 else
15803   ac_check_lib_save_LIBS=$LIBS
15804 LIBS="-lc  $LIBS"
15805 if test x$gcc_no_link = xyes; then
15806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15807 fi
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h.  */
15810
15811 /* Override any GCC internal prototype to avoid an error.
15812    Use char because int might match the return type of a GCC
15813    builtin and then its argument prototype would still apply.  */
15814 #ifdef __cplusplus
15815 extern "C"
15816 #endif
15817 char getuid ();
15818 int
15819 main ()
15820 {
15821 return getuid ();
15822   ;
15823   return 0;
15824 }
15825 _ACEOF
15826 if ac_fn_c_try_link "$LINENO"; then :
15827   ac_cv_lib_c_getuid=yes
15828 else
15829   ac_cv_lib_c_getuid=no
15830 fi
15831 rm -f core conftest.err conftest.$ac_objext \
15832     conftest$ac_exeext conftest.$ac_ext
15833 LIBS=$ac_check_lib_save_LIBS
15834 fi
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15836 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15837 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15838
15839 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15840
15841 fi
15842
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15844 $as_echo_n "checking for geteuid in -lc... " >&6; }
15845 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15846   $as_echo_n "(cached) " >&6
15847 else
15848   ac_check_lib_save_LIBS=$LIBS
15849 LIBS="-lc  $LIBS"
15850 if test x$gcc_no_link = xyes; then
15851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15852 fi
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h.  */
15855
15856 /* Override any GCC internal prototype to avoid an error.
15857    Use char because int might match the return type of a GCC
15858    builtin and then its argument prototype would still apply.  */
15859 #ifdef __cplusplus
15860 extern "C"
15861 #endif
15862 char geteuid ();
15863 int
15864 main ()
15865 {
15866 return geteuid ();
15867   ;
15868   return 0;
15869 }
15870 _ACEOF
15871 if ac_fn_c_try_link "$LINENO"; then :
15872   ac_cv_lib_c_geteuid=yes
15873 else
15874   ac_cv_lib_c_geteuid=no
15875 fi
15876 rm -f core conftest.err conftest.$ac_objext \
15877     conftest$ac_exeext conftest.$ac_ext
15878 LIBS=$ac_check_lib_save_LIBS
15879 fi
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15881 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15882 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15883
15884 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15885
15886 fi
15887
15888
15889 # Check for C99 (and other IEEE) math functions
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15891 $as_echo_n "checking for acosf in -lm... " >&6; }
15892 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15893   $as_echo_n "(cached) " >&6
15894 else
15895   ac_check_lib_save_LIBS=$LIBS
15896 LIBS="-lm  $LIBS"
15897 if test x$gcc_no_link = xyes; then
15898   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15899 fi
15900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901 /* end confdefs.h.  */
15902
15903 /* Override any GCC internal prototype to avoid an error.
15904    Use char because int might match the return type of a GCC
15905    builtin and then its argument prototype would still apply.  */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char acosf ();
15910 int
15911 main ()
15912 {
15913 return acosf ();
15914   ;
15915   return 0;
15916 }
15917 _ACEOF
15918 if ac_fn_c_try_link "$LINENO"; then :
15919   ac_cv_lib_m_acosf=yes
15920 else
15921   ac_cv_lib_m_acosf=no
15922 fi
15923 rm -f core conftest.err conftest.$ac_objext \
15924     conftest$ac_exeext conftest.$ac_ext
15925 LIBS=$ac_check_lib_save_LIBS
15926 fi
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15928 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15929 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15930
15931 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15932
15933 fi
15934
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15936 $as_echo_n "checking for acos in -lm... " >&6; }
15937 if test "${ac_cv_lib_m_acos+set}" = set; then :
15938   $as_echo_n "(cached) " >&6
15939 else
15940   ac_check_lib_save_LIBS=$LIBS
15941 LIBS="-lm  $LIBS"
15942 if test x$gcc_no_link = xyes; then
15943   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15944 fi
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h.  */
15947
15948 /* Override any GCC internal prototype to avoid an error.
15949    Use char because int might match the return type of a GCC
15950    builtin and then its argument prototype would still apply.  */
15951 #ifdef __cplusplus
15952 extern "C"
15953 #endif
15954 char acos ();
15955 int
15956 main ()
15957 {
15958 return acos ();
15959   ;
15960   return 0;
15961 }
15962 _ACEOF
15963 if ac_fn_c_try_link "$LINENO"; then :
15964   ac_cv_lib_m_acos=yes
15965 else
15966   ac_cv_lib_m_acos=no
15967 fi
15968 rm -f core conftest.err conftest.$ac_objext \
15969     conftest$ac_exeext conftest.$ac_ext
15970 LIBS=$ac_check_lib_save_LIBS
15971 fi
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15973 $as_echo "$ac_cv_lib_m_acos" >&6; }
15974 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15975
15976 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
15977
15978 fi
15979
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
15981 $as_echo_n "checking for acosl in -lm... " >&6; }
15982 if test "${ac_cv_lib_m_acosl+set}" = set; then :
15983   $as_echo_n "(cached) " >&6
15984 else
15985   ac_check_lib_save_LIBS=$LIBS
15986 LIBS="-lm  $LIBS"
15987 if test x$gcc_no_link = xyes; then
15988   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15989 fi
15990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15991 /* end confdefs.h.  */
15992
15993 /* Override any GCC internal prototype to avoid an error.
15994    Use char because int might match the return type of a GCC
15995    builtin and then its argument prototype would still apply.  */
15996 #ifdef __cplusplus
15997 extern "C"
15998 #endif
15999 char acosl ();
16000 int
16001 main ()
16002 {
16003 return acosl ();
16004   ;
16005   return 0;
16006 }
16007 _ACEOF
16008 if ac_fn_c_try_link "$LINENO"; then :
16009   ac_cv_lib_m_acosl=yes
16010 else
16011   ac_cv_lib_m_acosl=no
16012 fi
16013 rm -f core conftest.err conftest.$ac_objext \
16014     conftest$ac_exeext conftest.$ac_ext
16015 LIBS=$ac_check_lib_save_LIBS
16016 fi
16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16018 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16019 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16020
16021 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16022
16023 fi
16024
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16026 $as_echo_n "checking for acoshf in -lm... " >&6; }
16027 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16028   $as_echo_n "(cached) " >&6
16029 else
16030   ac_check_lib_save_LIBS=$LIBS
16031 LIBS="-lm  $LIBS"
16032 if test x$gcc_no_link = xyes; then
16033   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16034 fi
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h.  */
16037
16038 /* Override any GCC internal prototype to avoid an error.
16039    Use char because int might match the return type of a GCC
16040    builtin and then its argument prototype would still apply.  */
16041 #ifdef __cplusplus
16042 extern "C"
16043 #endif
16044 char acoshf ();
16045 int
16046 main ()
16047 {
16048 return acoshf ();
16049   ;
16050   return 0;
16051 }
16052 _ACEOF
16053 if ac_fn_c_try_link "$LINENO"; then :
16054   ac_cv_lib_m_acoshf=yes
16055 else
16056   ac_cv_lib_m_acoshf=no
16057 fi
16058 rm -f core conftest.err conftest.$ac_objext \
16059     conftest$ac_exeext conftest.$ac_ext
16060 LIBS=$ac_check_lib_save_LIBS
16061 fi
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16063 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16064 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16065
16066 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16067
16068 fi
16069
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16071 $as_echo_n "checking for acosh in -lm... " >&6; }
16072 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16073   $as_echo_n "(cached) " >&6
16074 else
16075   ac_check_lib_save_LIBS=$LIBS
16076 LIBS="-lm  $LIBS"
16077 if test x$gcc_no_link = xyes; then
16078   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16079 fi
16080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16081 /* end confdefs.h.  */
16082
16083 /* Override any GCC internal prototype to avoid an error.
16084    Use char because int might match the return type of a GCC
16085    builtin and then its argument prototype would still apply.  */
16086 #ifdef __cplusplus
16087 extern "C"
16088 #endif
16089 char acosh ();
16090 int
16091 main ()
16092 {
16093 return acosh ();
16094   ;
16095   return 0;
16096 }
16097 _ACEOF
16098 if ac_fn_c_try_link "$LINENO"; then :
16099   ac_cv_lib_m_acosh=yes
16100 else
16101   ac_cv_lib_m_acosh=no
16102 fi
16103 rm -f core conftest.err conftest.$ac_objext \
16104     conftest$ac_exeext conftest.$ac_ext
16105 LIBS=$ac_check_lib_save_LIBS
16106 fi
16107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16108 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16109 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16110
16111 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16112
16113 fi
16114
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16116 $as_echo_n "checking for acoshl in -lm... " >&6; }
16117 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16118   $as_echo_n "(cached) " >&6
16119 else
16120   ac_check_lib_save_LIBS=$LIBS
16121 LIBS="-lm  $LIBS"
16122 if test x$gcc_no_link = xyes; then
16123   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16124 fi
16125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16126 /* end confdefs.h.  */
16127
16128 /* Override any GCC internal prototype to avoid an error.
16129    Use char because int might match the return type of a GCC
16130    builtin and then its argument prototype would still apply.  */
16131 #ifdef __cplusplus
16132 extern "C"
16133 #endif
16134 char acoshl ();
16135 int
16136 main ()
16137 {
16138 return acoshl ();
16139   ;
16140   return 0;
16141 }
16142 _ACEOF
16143 if ac_fn_c_try_link "$LINENO"; then :
16144   ac_cv_lib_m_acoshl=yes
16145 else
16146   ac_cv_lib_m_acoshl=no
16147 fi
16148 rm -f core conftest.err conftest.$ac_objext \
16149     conftest$ac_exeext conftest.$ac_ext
16150 LIBS=$ac_check_lib_save_LIBS
16151 fi
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16153 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16154 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16155
16156 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16157
16158 fi
16159
16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16161 $as_echo_n "checking for asinf in -lm... " >&6; }
16162 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16163   $as_echo_n "(cached) " >&6
16164 else
16165   ac_check_lib_save_LIBS=$LIBS
16166 LIBS="-lm  $LIBS"
16167 if test x$gcc_no_link = xyes; then
16168   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16169 fi
16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h.  */
16172
16173 /* Override any GCC internal prototype to avoid an error.
16174    Use char because int might match the return type of a GCC
16175    builtin and then its argument prototype would still apply.  */
16176 #ifdef __cplusplus
16177 extern "C"
16178 #endif
16179 char asinf ();
16180 int
16181 main ()
16182 {
16183 return asinf ();
16184   ;
16185   return 0;
16186 }
16187 _ACEOF
16188 if ac_fn_c_try_link "$LINENO"; then :
16189   ac_cv_lib_m_asinf=yes
16190 else
16191   ac_cv_lib_m_asinf=no
16192 fi
16193 rm -f core conftest.err conftest.$ac_objext \
16194     conftest$ac_exeext conftest.$ac_ext
16195 LIBS=$ac_check_lib_save_LIBS
16196 fi
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16198 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16199 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16200
16201 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16202
16203 fi
16204
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16206 $as_echo_n "checking for asin in -lm... " >&6; }
16207 if test "${ac_cv_lib_m_asin+set}" = set; then :
16208   $as_echo_n "(cached) " >&6
16209 else
16210   ac_check_lib_save_LIBS=$LIBS
16211 LIBS="-lm  $LIBS"
16212 if test x$gcc_no_link = xyes; then
16213   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16214 fi
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h.  */
16217
16218 /* Override any GCC internal prototype to avoid an error.
16219    Use char because int might match the return type of a GCC
16220    builtin and then its argument prototype would still apply.  */
16221 #ifdef __cplusplus
16222 extern "C"
16223 #endif
16224 char asin ();
16225 int
16226 main ()
16227 {
16228 return asin ();
16229   ;
16230   return 0;
16231 }
16232 _ACEOF
16233 if ac_fn_c_try_link "$LINENO"; then :
16234   ac_cv_lib_m_asin=yes
16235 else
16236   ac_cv_lib_m_asin=no
16237 fi
16238 rm -f core conftest.err conftest.$ac_objext \
16239     conftest$ac_exeext conftest.$ac_ext
16240 LIBS=$ac_check_lib_save_LIBS
16241 fi
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16243 $as_echo "$ac_cv_lib_m_asin" >&6; }
16244 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16245
16246 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16247
16248 fi
16249
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16251 $as_echo_n "checking for asinl in -lm... " >&6; }
16252 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16253   $as_echo_n "(cached) " >&6
16254 else
16255   ac_check_lib_save_LIBS=$LIBS
16256 LIBS="-lm  $LIBS"
16257 if test x$gcc_no_link = xyes; then
16258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16259 fi
16260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16261 /* end confdefs.h.  */
16262
16263 /* Override any GCC internal prototype to avoid an error.
16264    Use char because int might match the return type of a GCC
16265    builtin and then its argument prototype would still apply.  */
16266 #ifdef __cplusplus
16267 extern "C"
16268 #endif
16269 char asinl ();
16270 int
16271 main ()
16272 {
16273 return asinl ();
16274   ;
16275   return 0;
16276 }
16277 _ACEOF
16278 if ac_fn_c_try_link "$LINENO"; then :
16279   ac_cv_lib_m_asinl=yes
16280 else
16281   ac_cv_lib_m_asinl=no
16282 fi
16283 rm -f core conftest.err conftest.$ac_objext \
16284     conftest$ac_exeext conftest.$ac_ext
16285 LIBS=$ac_check_lib_save_LIBS
16286 fi
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16288 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16289 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16290
16291 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16292
16293 fi
16294
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16296 $as_echo_n "checking for asinhf in -lm... " >&6; }
16297 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16298   $as_echo_n "(cached) " >&6
16299 else
16300   ac_check_lib_save_LIBS=$LIBS
16301 LIBS="-lm  $LIBS"
16302 if test x$gcc_no_link = xyes; then
16303   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16304 fi
16305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h.  */
16307
16308 /* Override any GCC internal prototype to avoid an error.
16309    Use char because int might match the return type of a GCC
16310    builtin and then its argument prototype would still apply.  */
16311 #ifdef __cplusplus
16312 extern "C"
16313 #endif
16314 char asinhf ();
16315 int
16316 main ()
16317 {
16318 return asinhf ();
16319   ;
16320   return 0;
16321 }
16322 _ACEOF
16323 if ac_fn_c_try_link "$LINENO"; then :
16324   ac_cv_lib_m_asinhf=yes
16325 else
16326   ac_cv_lib_m_asinhf=no
16327 fi
16328 rm -f core conftest.err conftest.$ac_objext \
16329     conftest$ac_exeext conftest.$ac_ext
16330 LIBS=$ac_check_lib_save_LIBS
16331 fi
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16333 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16334 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16335
16336 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16337
16338 fi
16339
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16341 $as_echo_n "checking for asinh in -lm... " >&6; }
16342 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16343   $as_echo_n "(cached) " >&6
16344 else
16345   ac_check_lib_save_LIBS=$LIBS
16346 LIBS="-lm  $LIBS"
16347 if test x$gcc_no_link = xyes; then
16348   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16349 fi
16350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16351 /* end confdefs.h.  */
16352
16353 /* Override any GCC internal prototype to avoid an error.
16354    Use char because int might match the return type of a GCC
16355    builtin and then its argument prototype would still apply.  */
16356 #ifdef __cplusplus
16357 extern "C"
16358 #endif
16359 char asinh ();
16360 int
16361 main ()
16362 {
16363 return asinh ();
16364   ;
16365   return 0;
16366 }
16367 _ACEOF
16368 if ac_fn_c_try_link "$LINENO"; then :
16369   ac_cv_lib_m_asinh=yes
16370 else
16371   ac_cv_lib_m_asinh=no
16372 fi
16373 rm -f core conftest.err conftest.$ac_objext \
16374     conftest$ac_exeext conftest.$ac_ext
16375 LIBS=$ac_check_lib_save_LIBS
16376 fi
16377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16378 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16379 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16380
16381 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16382
16383 fi
16384
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16386 $as_echo_n "checking for asinhl in -lm... " >&6; }
16387 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16388   $as_echo_n "(cached) " >&6
16389 else
16390   ac_check_lib_save_LIBS=$LIBS
16391 LIBS="-lm  $LIBS"
16392 if test x$gcc_no_link = xyes; then
16393   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16394 fi
16395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16396 /* end confdefs.h.  */
16397
16398 /* Override any GCC internal prototype to avoid an error.
16399    Use char because int might match the return type of a GCC
16400    builtin and then its argument prototype would still apply.  */
16401 #ifdef __cplusplus
16402 extern "C"
16403 #endif
16404 char asinhl ();
16405 int
16406 main ()
16407 {
16408 return asinhl ();
16409   ;
16410   return 0;
16411 }
16412 _ACEOF
16413 if ac_fn_c_try_link "$LINENO"; then :
16414   ac_cv_lib_m_asinhl=yes
16415 else
16416   ac_cv_lib_m_asinhl=no
16417 fi
16418 rm -f core conftest.err conftest.$ac_objext \
16419     conftest$ac_exeext conftest.$ac_ext
16420 LIBS=$ac_check_lib_save_LIBS
16421 fi
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16423 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16424 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16425
16426 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16427
16428 fi
16429
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16431 $as_echo_n "checking for atan2f in -lm... " >&6; }
16432 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16433   $as_echo_n "(cached) " >&6
16434 else
16435   ac_check_lib_save_LIBS=$LIBS
16436 LIBS="-lm  $LIBS"
16437 if test x$gcc_no_link = xyes; then
16438   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16439 fi
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h.  */
16442
16443 /* Override any GCC internal prototype to avoid an error.
16444    Use char because int might match the return type of a GCC
16445    builtin and then its argument prototype would still apply.  */
16446 #ifdef __cplusplus
16447 extern "C"
16448 #endif
16449 char atan2f ();
16450 int
16451 main ()
16452 {
16453 return atan2f ();
16454   ;
16455   return 0;
16456 }
16457 _ACEOF
16458 if ac_fn_c_try_link "$LINENO"; then :
16459   ac_cv_lib_m_atan2f=yes
16460 else
16461   ac_cv_lib_m_atan2f=no
16462 fi
16463 rm -f core conftest.err conftest.$ac_objext \
16464     conftest$ac_exeext conftest.$ac_ext
16465 LIBS=$ac_check_lib_save_LIBS
16466 fi
16467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16468 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16469 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16470
16471 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16472
16473 fi
16474
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16476 $as_echo_n "checking for atan2 in -lm... " >&6; }
16477 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16478   $as_echo_n "(cached) " >&6
16479 else
16480   ac_check_lib_save_LIBS=$LIBS
16481 LIBS="-lm  $LIBS"
16482 if test x$gcc_no_link = xyes; then
16483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16484 fi
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h.  */
16487
16488 /* Override any GCC internal prototype to avoid an error.
16489    Use char because int might match the return type of a GCC
16490    builtin and then its argument prototype would still apply.  */
16491 #ifdef __cplusplus
16492 extern "C"
16493 #endif
16494 char atan2 ();
16495 int
16496 main ()
16497 {
16498 return atan2 ();
16499   ;
16500   return 0;
16501 }
16502 _ACEOF
16503 if ac_fn_c_try_link "$LINENO"; then :
16504   ac_cv_lib_m_atan2=yes
16505 else
16506   ac_cv_lib_m_atan2=no
16507 fi
16508 rm -f core conftest.err conftest.$ac_objext \
16509     conftest$ac_exeext conftest.$ac_ext
16510 LIBS=$ac_check_lib_save_LIBS
16511 fi
16512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16513 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16514 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16515
16516 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16517
16518 fi
16519
16520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16521 $as_echo_n "checking for atan2l in -lm... " >&6; }
16522 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16523   $as_echo_n "(cached) " >&6
16524 else
16525   ac_check_lib_save_LIBS=$LIBS
16526 LIBS="-lm  $LIBS"
16527 if test x$gcc_no_link = xyes; then
16528   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16529 fi
16530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16531 /* end confdefs.h.  */
16532
16533 /* Override any GCC internal prototype to avoid an error.
16534    Use char because int might match the return type of a GCC
16535    builtin and then its argument prototype would still apply.  */
16536 #ifdef __cplusplus
16537 extern "C"
16538 #endif
16539 char atan2l ();
16540 int
16541 main ()
16542 {
16543 return atan2l ();
16544   ;
16545   return 0;
16546 }
16547 _ACEOF
16548 if ac_fn_c_try_link "$LINENO"; then :
16549   ac_cv_lib_m_atan2l=yes
16550 else
16551   ac_cv_lib_m_atan2l=no
16552 fi
16553 rm -f core conftest.err conftest.$ac_objext \
16554     conftest$ac_exeext conftest.$ac_ext
16555 LIBS=$ac_check_lib_save_LIBS
16556 fi
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16558 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16559 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16560
16561 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16562
16563 fi
16564
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16566 $as_echo_n "checking for atanf in -lm... " >&6; }
16567 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16568   $as_echo_n "(cached) " >&6
16569 else
16570   ac_check_lib_save_LIBS=$LIBS
16571 LIBS="-lm  $LIBS"
16572 if test x$gcc_no_link = xyes; then
16573   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16574 fi
16575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16576 /* end confdefs.h.  */
16577
16578 /* Override any GCC internal prototype to avoid an error.
16579    Use char because int might match the return type of a GCC
16580    builtin and then its argument prototype would still apply.  */
16581 #ifdef __cplusplus
16582 extern "C"
16583 #endif
16584 char atanf ();
16585 int
16586 main ()
16587 {
16588 return atanf ();
16589   ;
16590   return 0;
16591 }
16592 _ACEOF
16593 if ac_fn_c_try_link "$LINENO"; then :
16594   ac_cv_lib_m_atanf=yes
16595 else
16596   ac_cv_lib_m_atanf=no
16597 fi
16598 rm -f core conftest.err conftest.$ac_objext \
16599     conftest$ac_exeext conftest.$ac_ext
16600 LIBS=$ac_check_lib_save_LIBS
16601 fi
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16603 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16604 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16605
16606 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16607
16608 fi
16609
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16611 $as_echo_n "checking for atan in -lm... " >&6; }
16612 if test "${ac_cv_lib_m_atan+set}" = set; then :
16613   $as_echo_n "(cached) " >&6
16614 else
16615   ac_check_lib_save_LIBS=$LIBS
16616 LIBS="-lm  $LIBS"
16617 if test x$gcc_no_link = xyes; then
16618   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16619 fi
16620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16621 /* end confdefs.h.  */
16622
16623 /* Override any GCC internal prototype to avoid an error.
16624    Use char because int might match the return type of a GCC
16625    builtin and then its argument prototype would still apply.  */
16626 #ifdef __cplusplus
16627 extern "C"
16628 #endif
16629 char atan ();
16630 int
16631 main ()
16632 {
16633 return atan ();
16634   ;
16635   return 0;
16636 }
16637 _ACEOF
16638 if ac_fn_c_try_link "$LINENO"; then :
16639   ac_cv_lib_m_atan=yes
16640 else
16641   ac_cv_lib_m_atan=no
16642 fi
16643 rm -f core conftest.err conftest.$ac_objext \
16644     conftest$ac_exeext conftest.$ac_ext
16645 LIBS=$ac_check_lib_save_LIBS
16646 fi
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16648 $as_echo "$ac_cv_lib_m_atan" >&6; }
16649 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16650
16651 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16652
16653 fi
16654
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16656 $as_echo_n "checking for atanl in -lm... " >&6; }
16657 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16658   $as_echo_n "(cached) " >&6
16659 else
16660   ac_check_lib_save_LIBS=$LIBS
16661 LIBS="-lm  $LIBS"
16662 if test x$gcc_no_link = xyes; then
16663   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16664 fi
16665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16666 /* end confdefs.h.  */
16667
16668 /* Override any GCC internal prototype to avoid an error.
16669    Use char because int might match the return type of a GCC
16670    builtin and then its argument prototype would still apply.  */
16671 #ifdef __cplusplus
16672 extern "C"
16673 #endif
16674 char atanl ();
16675 int
16676 main ()
16677 {
16678 return atanl ();
16679   ;
16680   return 0;
16681 }
16682 _ACEOF
16683 if ac_fn_c_try_link "$LINENO"; then :
16684   ac_cv_lib_m_atanl=yes
16685 else
16686   ac_cv_lib_m_atanl=no
16687 fi
16688 rm -f core conftest.err conftest.$ac_objext \
16689     conftest$ac_exeext conftest.$ac_ext
16690 LIBS=$ac_check_lib_save_LIBS
16691 fi
16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16693 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16694 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16695
16696 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16697
16698 fi
16699
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16701 $as_echo_n "checking for atanhf in -lm... " >&6; }
16702 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16703   $as_echo_n "(cached) " >&6
16704 else
16705   ac_check_lib_save_LIBS=$LIBS
16706 LIBS="-lm  $LIBS"
16707 if test x$gcc_no_link = xyes; then
16708   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16709 fi
16710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16711 /* end confdefs.h.  */
16712
16713 /* Override any GCC internal prototype to avoid an error.
16714    Use char because int might match the return type of a GCC
16715    builtin and then its argument prototype would still apply.  */
16716 #ifdef __cplusplus
16717 extern "C"
16718 #endif
16719 char atanhf ();
16720 int
16721 main ()
16722 {
16723 return atanhf ();
16724   ;
16725   return 0;
16726 }
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"; then :
16729   ac_cv_lib_m_atanhf=yes
16730 else
16731   ac_cv_lib_m_atanhf=no
16732 fi
16733 rm -f core conftest.err conftest.$ac_objext \
16734     conftest$ac_exeext conftest.$ac_ext
16735 LIBS=$ac_check_lib_save_LIBS
16736 fi
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16738 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16739 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16740
16741 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16742
16743 fi
16744
16745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16746 $as_echo_n "checking for atanh in -lm... " >&6; }
16747 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16748   $as_echo_n "(cached) " >&6
16749 else
16750   ac_check_lib_save_LIBS=$LIBS
16751 LIBS="-lm  $LIBS"
16752 if test x$gcc_no_link = xyes; then
16753   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16754 fi
16755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16756 /* end confdefs.h.  */
16757
16758 /* Override any GCC internal prototype to avoid an error.
16759    Use char because int might match the return type of a GCC
16760    builtin and then its argument prototype would still apply.  */
16761 #ifdef __cplusplus
16762 extern "C"
16763 #endif
16764 char atanh ();
16765 int
16766 main ()
16767 {
16768 return atanh ();
16769   ;
16770   return 0;
16771 }
16772 _ACEOF
16773 if ac_fn_c_try_link "$LINENO"; then :
16774   ac_cv_lib_m_atanh=yes
16775 else
16776   ac_cv_lib_m_atanh=no
16777 fi
16778 rm -f core conftest.err conftest.$ac_objext \
16779     conftest$ac_exeext conftest.$ac_ext
16780 LIBS=$ac_check_lib_save_LIBS
16781 fi
16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16783 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16784 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16785
16786 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16787
16788 fi
16789
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16791 $as_echo_n "checking for atanhl in -lm... " >&6; }
16792 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16793   $as_echo_n "(cached) " >&6
16794 else
16795   ac_check_lib_save_LIBS=$LIBS
16796 LIBS="-lm  $LIBS"
16797 if test x$gcc_no_link = xyes; then
16798   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16799 fi
16800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16801 /* end confdefs.h.  */
16802
16803 /* Override any GCC internal prototype to avoid an error.
16804    Use char because int might match the return type of a GCC
16805    builtin and then its argument prototype would still apply.  */
16806 #ifdef __cplusplus
16807 extern "C"
16808 #endif
16809 char atanhl ();
16810 int
16811 main ()
16812 {
16813 return atanhl ();
16814   ;
16815   return 0;
16816 }
16817 _ACEOF
16818 if ac_fn_c_try_link "$LINENO"; then :
16819   ac_cv_lib_m_atanhl=yes
16820 else
16821   ac_cv_lib_m_atanhl=no
16822 fi
16823 rm -f core conftest.err conftest.$ac_objext \
16824     conftest$ac_exeext conftest.$ac_ext
16825 LIBS=$ac_check_lib_save_LIBS
16826 fi
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16828 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16829 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16830
16831 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16832
16833 fi
16834
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16836 $as_echo_n "checking for cargf in -lm... " >&6; }
16837 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16838   $as_echo_n "(cached) " >&6
16839 else
16840   ac_check_lib_save_LIBS=$LIBS
16841 LIBS="-lm  $LIBS"
16842 if test x$gcc_no_link = xyes; then
16843   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16844 fi
16845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846 /* end confdefs.h.  */
16847
16848 /* Override any GCC internal prototype to avoid an error.
16849    Use char because int might match the return type of a GCC
16850    builtin and then its argument prototype would still apply.  */
16851 #ifdef __cplusplus
16852 extern "C"
16853 #endif
16854 char cargf ();
16855 int
16856 main ()
16857 {
16858 return cargf ();
16859   ;
16860   return 0;
16861 }
16862 _ACEOF
16863 if ac_fn_c_try_link "$LINENO"; then :
16864   ac_cv_lib_m_cargf=yes
16865 else
16866   ac_cv_lib_m_cargf=no
16867 fi
16868 rm -f core conftest.err conftest.$ac_objext \
16869     conftest$ac_exeext conftest.$ac_ext
16870 LIBS=$ac_check_lib_save_LIBS
16871 fi
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16873 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16874 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16875
16876 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16877
16878 fi
16879
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16881 $as_echo_n "checking for carg in -lm... " >&6; }
16882 if test "${ac_cv_lib_m_carg+set}" = set; then :
16883   $as_echo_n "(cached) " >&6
16884 else
16885   ac_check_lib_save_LIBS=$LIBS
16886 LIBS="-lm  $LIBS"
16887 if test x$gcc_no_link = xyes; then
16888   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 fi
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h.  */
16892
16893 /* Override any GCC internal prototype to avoid an error.
16894    Use char because int might match the return type of a GCC
16895    builtin and then its argument prototype would still apply.  */
16896 #ifdef __cplusplus
16897 extern "C"
16898 #endif
16899 char carg ();
16900 int
16901 main ()
16902 {
16903 return carg ();
16904   ;
16905   return 0;
16906 }
16907 _ACEOF
16908 if ac_fn_c_try_link "$LINENO"; then :
16909   ac_cv_lib_m_carg=yes
16910 else
16911   ac_cv_lib_m_carg=no
16912 fi
16913 rm -f core conftest.err conftest.$ac_objext \
16914     conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_lib_save_LIBS
16916 fi
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16918 $as_echo "$ac_cv_lib_m_carg" >&6; }
16919 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16920
16921 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16922
16923 fi
16924
16925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16926 $as_echo_n "checking for cargl in -lm... " >&6; }
16927 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16928   $as_echo_n "(cached) " >&6
16929 else
16930   ac_check_lib_save_LIBS=$LIBS
16931 LIBS="-lm  $LIBS"
16932 if test x$gcc_no_link = xyes; then
16933   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16934 fi
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h.  */
16937
16938 /* Override any GCC internal prototype to avoid an error.
16939    Use char because int might match the return type of a GCC
16940    builtin and then its argument prototype would still apply.  */
16941 #ifdef __cplusplus
16942 extern "C"
16943 #endif
16944 char cargl ();
16945 int
16946 main ()
16947 {
16948 return cargl ();
16949   ;
16950   return 0;
16951 }
16952 _ACEOF
16953 if ac_fn_c_try_link "$LINENO"; then :
16954   ac_cv_lib_m_cargl=yes
16955 else
16956   ac_cv_lib_m_cargl=no
16957 fi
16958 rm -f core conftest.err conftest.$ac_objext \
16959     conftest$ac_exeext conftest.$ac_ext
16960 LIBS=$ac_check_lib_save_LIBS
16961 fi
16962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16963 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16964 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16965
16966 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16967
16968 fi
16969
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16971 $as_echo_n "checking for ceilf in -lm... " >&6; }
16972 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16973   $as_echo_n "(cached) " >&6
16974 else
16975   ac_check_lib_save_LIBS=$LIBS
16976 LIBS="-lm  $LIBS"
16977 if test x$gcc_no_link = xyes; then
16978   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16979 fi
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h.  */
16982
16983 /* Override any GCC internal prototype to avoid an error.
16984    Use char because int might match the return type of a GCC
16985    builtin and then its argument prototype would still apply.  */
16986 #ifdef __cplusplus
16987 extern "C"
16988 #endif
16989 char ceilf ();
16990 int
16991 main ()
16992 {
16993 return ceilf ();
16994   ;
16995   return 0;
16996 }
16997 _ACEOF
16998 if ac_fn_c_try_link "$LINENO"; then :
16999   ac_cv_lib_m_ceilf=yes
17000 else
17001   ac_cv_lib_m_ceilf=no
17002 fi
17003 rm -f core conftest.err conftest.$ac_objext \
17004     conftest$ac_exeext conftest.$ac_ext
17005 LIBS=$ac_check_lib_save_LIBS
17006 fi
17007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17008 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17009 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17010
17011 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17012
17013 fi
17014
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17016 $as_echo_n "checking for ceil in -lm... " >&6; }
17017 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17018   $as_echo_n "(cached) " >&6
17019 else
17020   ac_check_lib_save_LIBS=$LIBS
17021 LIBS="-lm  $LIBS"
17022 if test x$gcc_no_link = xyes; then
17023   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17024 fi
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h.  */
17027
17028 /* Override any GCC internal prototype to avoid an error.
17029    Use char because int might match the return type of a GCC
17030    builtin and then its argument prototype would still apply.  */
17031 #ifdef __cplusplus
17032 extern "C"
17033 #endif
17034 char ceil ();
17035 int
17036 main ()
17037 {
17038 return ceil ();
17039   ;
17040   return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_c_try_link "$LINENO"; then :
17044   ac_cv_lib_m_ceil=yes
17045 else
17046   ac_cv_lib_m_ceil=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext \
17049     conftest$ac_exeext conftest.$ac_ext
17050 LIBS=$ac_check_lib_save_LIBS
17051 fi
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17053 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17054 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17055
17056 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17057
17058 fi
17059
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17061 $as_echo_n "checking for ceill in -lm... " >&6; }
17062 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17063   $as_echo_n "(cached) " >&6
17064 else
17065   ac_check_lib_save_LIBS=$LIBS
17066 LIBS="-lm  $LIBS"
17067 if test x$gcc_no_link = xyes; then
17068   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17069 fi
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h.  */
17072
17073 /* Override any GCC internal prototype to avoid an error.
17074    Use char because int might match the return type of a GCC
17075    builtin and then its argument prototype would still apply.  */
17076 #ifdef __cplusplus
17077 extern "C"
17078 #endif
17079 char ceill ();
17080 int
17081 main ()
17082 {
17083 return ceill ();
17084   ;
17085   return 0;
17086 }
17087 _ACEOF
17088 if ac_fn_c_try_link "$LINENO"; then :
17089   ac_cv_lib_m_ceill=yes
17090 else
17091   ac_cv_lib_m_ceill=no
17092 fi
17093 rm -f core conftest.err conftest.$ac_objext \
17094     conftest$ac_exeext conftest.$ac_ext
17095 LIBS=$ac_check_lib_save_LIBS
17096 fi
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17098 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17099 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17100
17101 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17102
17103 fi
17104
17105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17106 $as_echo_n "checking for copysignf in -lm... " >&6; }
17107 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17108   $as_echo_n "(cached) " >&6
17109 else
17110   ac_check_lib_save_LIBS=$LIBS
17111 LIBS="-lm  $LIBS"
17112 if test x$gcc_no_link = xyes; then
17113   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17114 fi
17115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17116 /* end confdefs.h.  */
17117
17118 /* Override any GCC internal prototype to avoid an error.
17119    Use char because int might match the return type of a GCC
17120    builtin and then its argument prototype would still apply.  */
17121 #ifdef __cplusplus
17122 extern "C"
17123 #endif
17124 char copysignf ();
17125 int
17126 main ()
17127 {
17128 return copysignf ();
17129   ;
17130   return 0;
17131 }
17132 _ACEOF
17133 if ac_fn_c_try_link "$LINENO"; then :
17134   ac_cv_lib_m_copysignf=yes
17135 else
17136   ac_cv_lib_m_copysignf=no
17137 fi
17138 rm -f core conftest.err conftest.$ac_objext \
17139     conftest$ac_exeext conftest.$ac_ext
17140 LIBS=$ac_check_lib_save_LIBS
17141 fi
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17143 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17144 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17145
17146 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17147
17148 fi
17149
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17151 $as_echo_n "checking for copysign in -lm... " >&6; }
17152 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17153   $as_echo_n "(cached) " >&6
17154 else
17155   ac_check_lib_save_LIBS=$LIBS
17156 LIBS="-lm  $LIBS"
17157 if test x$gcc_no_link = xyes; then
17158   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17159 fi
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h.  */
17162
17163 /* Override any GCC internal prototype to avoid an error.
17164    Use char because int might match the return type of a GCC
17165    builtin and then its argument prototype would still apply.  */
17166 #ifdef __cplusplus
17167 extern "C"
17168 #endif
17169 char copysign ();
17170 int
17171 main ()
17172 {
17173 return copysign ();
17174   ;
17175   return 0;
17176 }
17177 _ACEOF
17178 if ac_fn_c_try_link "$LINENO"; then :
17179   ac_cv_lib_m_copysign=yes
17180 else
17181   ac_cv_lib_m_copysign=no
17182 fi
17183 rm -f core conftest.err conftest.$ac_objext \
17184     conftest$ac_exeext conftest.$ac_ext
17185 LIBS=$ac_check_lib_save_LIBS
17186 fi
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17188 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17189 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17190
17191 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17192
17193 fi
17194
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17196 $as_echo_n "checking for copysignl in -lm... " >&6; }
17197 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17198   $as_echo_n "(cached) " >&6
17199 else
17200   ac_check_lib_save_LIBS=$LIBS
17201 LIBS="-lm  $LIBS"
17202 if test x$gcc_no_link = xyes; then
17203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17204 fi
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h.  */
17207
17208 /* Override any GCC internal prototype to avoid an error.
17209    Use char because int might match the return type of a GCC
17210    builtin and then its argument prototype would still apply.  */
17211 #ifdef __cplusplus
17212 extern "C"
17213 #endif
17214 char copysignl ();
17215 int
17216 main ()
17217 {
17218 return copysignl ();
17219   ;
17220   return 0;
17221 }
17222 _ACEOF
17223 if ac_fn_c_try_link "$LINENO"; then :
17224   ac_cv_lib_m_copysignl=yes
17225 else
17226   ac_cv_lib_m_copysignl=no
17227 fi
17228 rm -f core conftest.err conftest.$ac_objext \
17229     conftest$ac_exeext conftest.$ac_ext
17230 LIBS=$ac_check_lib_save_LIBS
17231 fi
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17233 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17234 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17235
17236 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17237
17238 fi
17239
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17241 $as_echo_n "checking for cosf in -lm... " >&6; }
17242 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17243   $as_echo_n "(cached) " >&6
17244 else
17245   ac_check_lib_save_LIBS=$LIBS
17246 LIBS="-lm  $LIBS"
17247 if test x$gcc_no_link = xyes; then
17248   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17249 fi
17250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17251 /* end confdefs.h.  */
17252
17253 /* Override any GCC internal prototype to avoid an error.
17254    Use char because int might match the return type of a GCC
17255    builtin and then its argument prototype would still apply.  */
17256 #ifdef __cplusplus
17257 extern "C"
17258 #endif
17259 char cosf ();
17260 int
17261 main ()
17262 {
17263 return cosf ();
17264   ;
17265   return 0;
17266 }
17267 _ACEOF
17268 if ac_fn_c_try_link "$LINENO"; then :
17269   ac_cv_lib_m_cosf=yes
17270 else
17271   ac_cv_lib_m_cosf=no
17272 fi
17273 rm -f core conftest.err conftest.$ac_objext \
17274     conftest$ac_exeext conftest.$ac_ext
17275 LIBS=$ac_check_lib_save_LIBS
17276 fi
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17278 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17279 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17280
17281 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17282
17283 fi
17284
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17286 $as_echo_n "checking for cos in -lm... " >&6; }
17287 if test "${ac_cv_lib_m_cos+set}" = set; then :
17288   $as_echo_n "(cached) " >&6
17289 else
17290   ac_check_lib_save_LIBS=$LIBS
17291 LIBS="-lm  $LIBS"
17292 if test x$gcc_no_link = xyes; then
17293   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17294 fi
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h.  */
17297
17298 /* Override any GCC internal prototype to avoid an error.
17299    Use char because int might match the return type of a GCC
17300    builtin and then its argument prototype would still apply.  */
17301 #ifdef __cplusplus
17302 extern "C"
17303 #endif
17304 char cos ();
17305 int
17306 main ()
17307 {
17308 return cos ();
17309   ;
17310   return 0;
17311 }
17312 _ACEOF
17313 if ac_fn_c_try_link "$LINENO"; then :
17314   ac_cv_lib_m_cos=yes
17315 else
17316   ac_cv_lib_m_cos=no
17317 fi
17318 rm -f core conftest.err conftest.$ac_objext \
17319     conftest$ac_exeext conftest.$ac_ext
17320 LIBS=$ac_check_lib_save_LIBS
17321 fi
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17323 $as_echo "$ac_cv_lib_m_cos" >&6; }
17324 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17325
17326 $as_echo "#define HAVE_COS 1" >>confdefs.h
17327
17328 fi
17329
17330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17331 $as_echo_n "checking for cosl in -lm... " >&6; }
17332 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17333   $as_echo_n "(cached) " >&6
17334 else
17335   ac_check_lib_save_LIBS=$LIBS
17336 LIBS="-lm  $LIBS"
17337 if test x$gcc_no_link = xyes; then
17338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17339 fi
17340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17341 /* end confdefs.h.  */
17342
17343 /* Override any GCC internal prototype to avoid an error.
17344    Use char because int might match the return type of a GCC
17345    builtin and then its argument prototype would still apply.  */
17346 #ifdef __cplusplus
17347 extern "C"
17348 #endif
17349 char cosl ();
17350 int
17351 main ()
17352 {
17353 return cosl ();
17354   ;
17355   return 0;
17356 }
17357 _ACEOF
17358 if ac_fn_c_try_link "$LINENO"; then :
17359   ac_cv_lib_m_cosl=yes
17360 else
17361   ac_cv_lib_m_cosl=no
17362 fi
17363 rm -f core conftest.err conftest.$ac_objext \
17364     conftest$ac_exeext conftest.$ac_ext
17365 LIBS=$ac_check_lib_save_LIBS
17366 fi
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17368 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17369 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17370
17371 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17372
17373 fi
17374
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17376 $as_echo_n "checking for ccosf in -lm... " >&6; }
17377 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17378   $as_echo_n "(cached) " >&6
17379 else
17380   ac_check_lib_save_LIBS=$LIBS
17381 LIBS="-lm  $LIBS"
17382 if test x$gcc_no_link = xyes; then
17383   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17384 fi
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h.  */
17387
17388 /* Override any GCC internal prototype to avoid an error.
17389    Use char because int might match the return type of a GCC
17390    builtin and then its argument prototype would still apply.  */
17391 #ifdef __cplusplus
17392 extern "C"
17393 #endif
17394 char ccosf ();
17395 int
17396 main ()
17397 {
17398 return ccosf ();
17399   ;
17400   return 0;
17401 }
17402 _ACEOF
17403 if ac_fn_c_try_link "$LINENO"; then :
17404   ac_cv_lib_m_ccosf=yes
17405 else
17406   ac_cv_lib_m_ccosf=no
17407 fi
17408 rm -f core conftest.err conftest.$ac_objext \
17409     conftest$ac_exeext conftest.$ac_ext
17410 LIBS=$ac_check_lib_save_LIBS
17411 fi
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17413 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17414 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17415
17416 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17417
17418 fi
17419
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17421 $as_echo_n "checking for ccos in -lm... " >&6; }
17422 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17423   $as_echo_n "(cached) " >&6
17424 else
17425   ac_check_lib_save_LIBS=$LIBS
17426 LIBS="-lm  $LIBS"
17427 if test x$gcc_no_link = xyes; then
17428   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17429 fi
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h.  */
17432
17433 /* Override any GCC internal prototype to avoid an error.
17434    Use char because int might match the return type of a GCC
17435    builtin and then its argument prototype would still apply.  */
17436 #ifdef __cplusplus
17437 extern "C"
17438 #endif
17439 char ccos ();
17440 int
17441 main ()
17442 {
17443 return ccos ();
17444   ;
17445   return 0;
17446 }
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"; then :
17449   ac_cv_lib_m_ccos=yes
17450 else
17451   ac_cv_lib_m_ccos=no
17452 fi
17453 rm -f core conftest.err conftest.$ac_objext \
17454     conftest$ac_exeext conftest.$ac_ext
17455 LIBS=$ac_check_lib_save_LIBS
17456 fi
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17458 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17459 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17460
17461 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17462
17463 fi
17464
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17466 $as_echo_n "checking for ccosl in -lm... " >&6; }
17467 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17468   $as_echo_n "(cached) " >&6
17469 else
17470   ac_check_lib_save_LIBS=$LIBS
17471 LIBS="-lm  $LIBS"
17472 if test x$gcc_no_link = xyes; then
17473   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17474 fi
17475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476 /* end confdefs.h.  */
17477
17478 /* Override any GCC internal prototype to avoid an error.
17479    Use char because int might match the return type of a GCC
17480    builtin and then its argument prototype would still apply.  */
17481 #ifdef __cplusplus
17482 extern "C"
17483 #endif
17484 char ccosl ();
17485 int
17486 main ()
17487 {
17488 return ccosl ();
17489   ;
17490   return 0;
17491 }
17492 _ACEOF
17493 if ac_fn_c_try_link "$LINENO"; then :
17494   ac_cv_lib_m_ccosl=yes
17495 else
17496   ac_cv_lib_m_ccosl=no
17497 fi
17498 rm -f core conftest.err conftest.$ac_objext \
17499     conftest$ac_exeext conftest.$ac_ext
17500 LIBS=$ac_check_lib_save_LIBS
17501 fi
17502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17503 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17504 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17505
17506 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17507
17508 fi
17509
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17511 $as_echo_n "checking for coshf in -lm... " >&6; }
17512 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17513   $as_echo_n "(cached) " >&6
17514 else
17515   ac_check_lib_save_LIBS=$LIBS
17516 LIBS="-lm  $LIBS"
17517 if test x$gcc_no_link = xyes; then
17518   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17519 fi
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h.  */
17522
17523 /* Override any GCC internal prototype to avoid an error.
17524    Use char because int might match the return type of a GCC
17525    builtin and then its argument prototype would still apply.  */
17526 #ifdef __cplusplus
17527 extern "C"
17528 #endif
17529 char coshf ();
17530 int
17531 main ()
17532 {
17533 return coshf ();
17534   ;
17535   return 0;
17536 }
17537 _ACEOF
17538 if ac_fn_c_try_link "$LINENO"; then :
17539   ac_cv_lib_m_coshf=yes
17540 else
17541   ac_cv_lib_m_coshf=no
17542 fi
17543 rm -f core conftest.err conftest.$ac_objext \
17544     conftest$ac_exeext conftest.$ac_ext
17545 LIBS=$ac_check_lib_save_LIBS
17546 fi
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17548 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17549 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17550
17551 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17552
17553 fi
17554
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17556 $as_echo_n "checking for cosh in -lm... " >&6; }
17557 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17558   $as_echo_n "(cached) " >&6
17559 else
17560   ac_check_lib_save_LIBS=$LIBS
17561 LIBS="-lm  $LIBS"
17562 if test x$gcc_no_link = xyes; then
17563   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17564 fi
17565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17566 /* end confdefs.h.  */
17567
17568 /* Override any GCC internal prototype to avoid an error.
17569    Use char because int might match the return type of a GCC
17570    builtin and then its argument prototype would still apply.  */
17571 #ifdef __cplusplus
17572 extern "C"
17573 #endif
17574 char cosh ();
17575 int
17576 main ()
17577 {
17578 return cosh ();
17579   ;
17580   return 0;
17581 }
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"; then :
17584   ac_cv_lib_m_cosh=yes
17585 else
17586   ac_cv_lib_m_cosh=no
17587 fi
17588 rm -f core conftest.err conftest.$ac_objext \
17589     conftest$ac_exeext conftest.$ac_ext
17590 LIBS=$ac_check_lib_save_LIBS
17591 fi
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17593 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17594 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17595
17596 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17597
17598 fi
17599
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17601 $as_echo_n "checking for coshl in -lm... " >&6; }
17602 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17603   $as_echo_n "(cached) " >&6
17604 else
17605   ac_check_lib_save_LIBS=$LIBS
17606 LIBS="-lm  $LIBS"
17607 if test x$gcc_no_link = xyes; then
17608   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17609 fi
17610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17611 /* end confdefs.h.  */
17612
17613 /* Override any GCC internal prototype to avoid an error.
17614    Use char because int might match the return type of a GCC
17615    builtin and then its argument prototype would still apply.  */
17616 #ifdef __cplusplus
17617 extern "C"
17618 #endif
17619 char coshl ();
17620 int
17621 main ()
17622 {
17623 return coshl ();
17624   ;
17625   return 0;
17626 }
17627 _ACEOF
17628 if ac_fn_c_try_link "$LINENO"; then :
17629   ac_cv_lib_m_coshl=yes
17630 else
17631   ac_cv_lib_m_coshl=no
17632 fi
17633 rm -f core conftest.err conftest.$ac_objext \
17634     conftest$ac_exeext conftest.$ac_ext
17635 LIBS=$ac_check_lib_save_LIBS
17636 fi
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17638 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17639 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17640
17641 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17642
17643 fi
17644
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17646 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17647 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17648   $as_echo_n "(cached) " >&6
17649 else
17650   ac_check_lib_save_LIBS=$LIBS
17651 LIBS="-lm  $LIBS"
17652 if test x$gcc_no_link = xyes; then
17653   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17654 fi
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h.  */
17657
17658 /* Override any GCC internal prototype to avoid an error.
17659    Use char because int might match the return type of a GCC
17660    builtin and then its argument prototype would still apply.  */
17661 #ifdef __cplusplus
17662 extern "C"
17663 #endif
17664 char ccoshf ();
17665 int
17666 main ()
17667 {
17668 return ccoshf ();
17669   ;
17670   return 0;
17671 }
17672 _ACEOF
17673 if ac_fn_c_try_link "$LINENO"; then :
17674   ac_cv_lib_m_ccoshf=yes
17675 else
17676   ac_cv_lib_m_ccoshf=no
17677 fi
17678 rm -f core conftest.err conftest.$ac_objext \
17679     conftest$ac_exeext conftest.$ac_ext
17680 LIBS=$ac_check_lib_save_LIBS
17681 fi
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17683 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17684 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17685
17686 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17687
17688 fi
17689
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17691 $as_echo_n "checking for ccosh in -lm... " >&6; }
17692 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17693   $as_echo_n "(cached) " >&6
17694 else
17695   ac_check_lib_save_LIBS=$LIBS
17696 LIBS="-lm  $LIBS"
17697 if test x$gcc_no_link = xyes; then
17698   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17699 fi
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h.  */
17702
17703 /* Override any GCC internal prototype to avoid an error.
17704    Use char because int might match the return type of a GCC
17705    builtin and then its argument prototype would still apply.  */
17706 #ifdef __cplusplus
17707 extern "C"
17708 #endif
17709 char ccosh ();
17710 int
17711 main ()
17712 {
17713 return ccosh ();
17714   ;
17715   return 0;
17716 }
17717 _ACEOF
17718 if ac_fn_c_try_link "$LINENO"; then :
17719   ac_cv_lib_m_ccosh=yes
17720 else
17721   ac_cv_lib_m_ccosh=no
17722 fi
17723 rm -f core conftest.err conftest.$ac_objext \
17724     conftest$ac_exeext conftest.$ac_ext
17725 LIBS=$ac_check_lib_save_LIBS
17726 fi
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17728 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17729 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17730
17731 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17732
17733 fi
17734
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17736 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17737 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17738   $as_echo_n "(cached) " >&6
17739 else
17740   ac_check_lib_save_LIBS=$LIBS
17741 LIBS="-lm  $LIBS"
17742 if test x$gcc_no_link = xyes; then
17743   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17744 fi
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h.  */
17747
17748 /* Override any GCC internal prototype to avoid an error.
17749    Use char because int might match the return type of a GCC
17750    builtin and then its argument prototype would still apply.  */
17751 #ifdef __cplusplus
17752 extern "C"
17753 #endif
17754 char ccoshl ();
17755 int
17756 main ()
17757 {
17758 return ccoshl ();
17759   ;
17760   return 0;
17761 }
17762 _ACEOF
17763 if ac_fn_c_try_link "$LINENO"; then :
17764   ac_cv_lib_m_ccoshl=yes
17765 else
17766   ac_cv_lib_m_ccoshl=no
17767 fi
17768 rm -f core conftest.err conftest.$ac_objext \
17769     conftest$ac_exeext conftest.$ac_ext
17770 LIBS=$ac_check_lib_save_LIBS
17771 fi
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17773 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17774 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17775
17776 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17777
17778 fi
17779
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17781 $as_echo_n "checking for expf in -lm... " >&6; }
17782 if test "${ac_cv_lib_m_expf+set}" = set; then :
17783   $as_echo_n "(cached) " >&6
17784 else
17785   ac_check_lib_save_LIBS=$LIBS
17786 LIBS="-lm  $LIBS"
17787 if test x$gcc_no_link = xyes; then
17788   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17789 fi
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h.  */
17792
17793 /* Override any GCC internal prototype to avoid an error.
17794    Use char because int might match the return type of a GCC
17795    builtin and then its argument prototype would still apply.  */
17796 #ifdef __cplusplus
17797 extern "C"
17798 #endif
17799 char expf ();
17800 int
17801 main ()
17802 {
17803 return expf ();
17804   ;
17805   return 0;
17806 }
17807 _ACEOF
17808 if ac_fn_c_try_link "$LINENO"; then :
17809   ac_cv_lib_m_expf=yes
17810 else
17811   ac_cv_lib_m_expf=no
17812 fi
17813 rm -f core conftest.err conftest.$ac_objext \
17814     conftest$ac_exeext conftest.$ac_ext
17815 LIBS=$ac_check_lib_save_LIBS
17816 fi
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17818 $as_echo "$ac_cv_lib_m_expf" >&6; }
17819 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17820
17821 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17822
17823 fi
17824
17825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17826 $as_echo_n "checking for exp in -lm... " >&6; }
17827 if test "${ac_cv_lib_m_exp+set}" = set; then :
17828   $as_echo_n "(cached) " >&6
17829 else
17830   ac_check_lib_save_LIBS=$LIBS
17831 LIBS="-lm  $LIBS"
17832 if test x$gcc_no_link = xyes; then
17833   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17834 fi
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h.  */
17837
17838 /* Override any GCC internal prototype to avoid an error.
17839    Use char because int might match the return type of a GCC
17840    builtin and then its argument prototype would still apply.  */
17841 #ifdef __cplusplus
17842 extern "C"
17843 #endif
17844 char exp ();
17845 int
17846 main ()
17847 {
17848 return exp ();
17849   ;
17850   return 0;
17851 }
17852 _ACEOF
17853 if ac_fn_c_try_link "$LINENO"; then :
17854   ac_cv_lib_m_exp=yes
17855 else
17856   ac_cv_lib_m_exp=no
17857 fi
17858 rm -f core conftest.err conftest.$ac_objext \
17859     conftest$ac_exeext conftest.$ac_ext
17860 LIBS=$ac_check_lib_save_LIBS
17861 fi
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17863 $as_echo "$ac_cv_lib_m_exp" >&6; }
17864 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17865
17866 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17867
17868 fi
17869
17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17871 $as_echo_n "checking for expl in -lm... " >&6; }
17872 if test "${ac_cv_lib_m_expl+set}" = set; then :
17873   $as_echo_n "(cached) " >&6
17874 else
17875   ac_check_lib_save_LIBS=$LIBS
17876 LIBS="-lm  $LIBS"
17877 if test x$gcc_no_link = xyes; then
17878   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17879 fi
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h.  */
17882
17883 /* Override any GCC internal prototype to avoid an error.
17884    Use char because int might match the return type of a GCC
17885    builtin and then its argument prototype would still apply.  */
17886 #ifdef __cplusplus
17887 extern "C"
17888 #endif
17889 char expl ();
17890 int
17891 main ()
17892 {
17893 return expl ();
17894   ;
17895   return 0;
17896 }
17897 _ACEOF
17898 if ac_fn_c_try_link "$LINENO"; then :
17899   ac_cv_lib_m_expl=yes
17900 else
17901   ac_cv_lib_m_expl=no
17902 fi
17903 rm -f core conftest.err conftest.$ac_objext \
17904     conftest$ac_exeext conftest.$ac_ext
17905 LIBS=$ac_check_lib_save_LIBS
17906 fi
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17908 $as_echo "$ac_cv_lib_m_expl" >&6; }
17909 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17910
17911 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17912
17913 fi
17914
17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17916 $as_echo_n "checking for cexpf in -lm... " >&6; }
17917 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17918   $as_echo_n "(cached) " >&6
17919 else
17920   ac_check_lib_save_LIBS=$LIBS
17921 LIBS="-lm  $LIBS"
17922 if test x$gcc_no_link = xyes; then
17923   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17924 fi
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h.  */
17927
17928 /* Override any GCC internal prototype to avoid an error.
17929    Use char because int might match the return type of a GCC
17930    builtin and then its argument prototype would still apply.  */
17931 #ifdef __cplusplus
17932 extern "C"
17933 #endif
17934 char cexpf ();
17935 int
17936 main ()
17937 {
17938 return cexpf ();
17939   ;
17940   return 0;
17941 }
17942 _ACEOF
17943 if ac_fn_c_try_link "$LINENO"; then :
17944   ac_cv_lib_m_cexpf=yes
17945 else
17946   ac_cv_lib_m_cexpf=no
17947 fi
17948 rm -f core conftest.err conftest.$ac_objext \
17949     conftest$ac_exeext conftest.$ac_ext
17950 LIBS=$ac_check_lib_save_LIBS
17951 fi
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17953 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17954 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17955
17956 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17957
17958 fi
17959
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17961 $as_echo_n "checking for cexp in -lm... " >&6; }
17962 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17963   $as_echo_n "(cached) " >&6
17964 else
17965   ac_check_lib_save_LIBS=$LIBS
17966 LIBS="-lm  $LIBS"
17967 if test x$gcc_no_link = xyes; then
17968   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17969 fi
17970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h.  */
17972
17973 /* Override any GCC internal prototype to avoid an error.
17974    Use char because int might match the return type of a GCC
17975    builtin and then its argument prototype would still apply.  */
17976 #ifdef __cplusplus
17977 extern "C"
17978 #endif
17979 char cexp ();
17980 int
17981 main ()
17982 {
17983 return cexp ();
17984   ;
17985   return 0;
17986 }
17987 _ACEOF
17988 if ac_fn_c_try_link "$LINENO"; then :
17989   ac_cv_lib_m_cexp=yes
17990 else
17991   ac_cv_lib_m_cexp=no
17992 fi
17993 rm -f core conftest.err conftest.$ac_objext \
17994     conftest$ac_exeext conftest.$ac_ext
17995 LIBS=$ac_check_lib_save_LIBS
17996 fi
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
17998 $as_echo "$ac_cv_lib_m_cexp" >&6; }
17999 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18000
18001 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18002
18003 fi
18004
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18006 $as_echo_n "checking for cexpl in -lm... " >&6; }
18007 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18008   $as_echo_n "(cached) " >&6
18009 else
18010   ac_check_lib_save_LIBS=$LIBS
18011 LIBS="-lm  $LIBS"
18012 if test x$gcc_no_link = xyes; then
18013   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18014 fi
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h.  */
18017
18018 /* Override any GCC internal prototype to avoid an error.
18019    Use char because int might match the return type of a GCC
18020    builtin and then its argument prototype would still apply.  */
18021 #ifdef __cplusplus
18022 extern "C"
18023 #endif
18024 char cexpl ();
18025 int
18026 main ()
18027 {
18028 return cexpl ();
18029   ;
18030   return 0;
18031 }
18032 _ACEOF
18033 if ac_fn_c_try_link "$LINENO"; then :
18034   ac_cv_lib_m_cexpl=yes
18035 else
18036   ac_cv_lib_m_cexpl=no
18037 fi
18038 rm -f core conftest.err conftest.$ac_objext \
18039     conftest$ac_exeext conftest.$ac_ext
18040 LIBS=$ac_check_lib_save_LIBS
18041 fi
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18043 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18044 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18045
18046 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18047
18048 fi
18049
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18051 $as_echo_n "checking for fabsf in -lm... " >&6; }
18052 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18053   $as_echo_n "(cached) " >&6
18054 else
18055   ac_check_lib_save_LIBS=$LIBS
18056 LIBS="-lm  $LIBS"
18057 if test x$gcc_no_link = xyes; then
18058   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18059 fi
18060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18061 /* end confdefs.h.  */
18062
18063 /* Override any GCC internal prototype to avoid an error.
18064    Use char because int might match the return type of a GCC
18065    builtin and then its argument prototype would still apply.  */
18066 #ifdef __cplusplus
18067 extern "C"
18068 #endif
18069 char fabsf ();
18070 int
18071 main ()
18072 {
18073 return fabsf ();
18074   ;
18075   return 0;
18076 }
18077 _ACEOF
18078 if ac_fn_c_try_link "$LINENO"; then :
18079   ac_cv_lib_m_fabsf=yes
18080 else
18081   ac_cv_lib_m_fabsf=no
18082 fi
18083 rm -f core conftest.err conftest.$ac_objext \
18084     conftest$ac_exeext conftest.$ac_ext
18085 LIBS=$ac_check_lib_save_LIBS
18086 fi
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18088 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18089 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18090
18091 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18092
18093 fi
18094
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18096 $as_echo_n "checking for fabs in -lm... " >&6; }
18097 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18098   $as_echo_n "(cached) " >&6
18099 else
18100   ac_check_lib_save_LIBS=$LIBS
18101 LIBS="-lm  $LIBS"
18102 if test x$gcc_no_link = xyes; then
18103   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18104 fi
18105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18106 /* end confdefs.h.  */
18107
18108 /* Override any GCC internal prototype to avoid an error.
18109    Use char because int might match the return type of a GCC
18110    builtin and then its argument prototype would still apply.  */
18111 #ifdef __cplusplus
18112 extern "C"
18113 #endif
18114 char fabs ();
18115 int
18116 main ()
18117 {
18118 return fabs ();
18119   ;
18120   return 0;
18121 }
18122 _ACEOF
18123 if ac_fn_c_try_link "$LINENO"; then :
18124   ac_cv_lib_m_fabs=yes
18125 else
18126   ac_cv_lib_m_fabs=no
18127 fi
18128 rm -f core conftest.err conftest.$ac_objext \
18129     conftest$ac_exeext conftest.$ac_ext
18130 LIBS=$ac_check_lib_save_LIBS
18131 fi
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18133 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18134 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18135
18136 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18137
18138 fi
18139
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18141 $as_echo_n "checking for fabsl in -lm... " >&6; }
18142 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18143   $as_echo_n "(cached) " >&6
18144 else
18145   ac_check_lib_save_LIBS=$LIBS
18146 LIBS="-lm  $LIBS"
18147 if test x$gcc_no_link = xyes; then
18148   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18149 fi
18150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151 /* end confdefs.h.  */
18152
18153 /* Override any GCC internal prototype to avoid an error.
18154    Use char because int might match the return type of a GCC
18155    builtin and then its argument prototype would still apply.  */
18156 #ifdef __cplusplus
18157 extern "C"
18158 #endif
18159 char fabsl ();
18160 int
18161 main ()
18162 {
18163 return fabsl ();
18164   ;
18165   return 0;
18166 }
18167 _ACEOF
18168 if ac_fn_c_try_link "$LINENO"; then :
18169   ac_cv_lib_m_fabsl=yes
18170 else
18171   ac_cv_lib_m_fabsl=no
18172 fi
18173 rm -f core conftest.err conftest.$ac_objext \
18174     conftest$ac_exeext conftest.$ac_ext
18175 LIBS=$ac_check_lib_save_LIBS
18176 fi
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18178 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18179 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18180
18181 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18182
18183 fi
18184
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18186 $as_echo_n "checking for cabsf in -lm... " >&6; }
18187 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18188   $as_echo_n "(cached) " >&6
18189 else
18190   ac_check_lib_save_LIBS=$LIBS
18191 LIBS="-lm  $LIBS"
18192 if test x$gcc_no_link = xyes; then
18193   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18194 fi
18195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18196 /* end confdefs.h.  */
18197
18198 /* Override any GCC internal prototype to avoid an error.
18199    Use char because int might match the return type of a GCC
18200    builtin and then its argument prototype would still apply.  */
18201 #ifdef __cplusplus
18202 extern "C"
18203 #endif
18204 char cabsf ();
18205 int
18206 main ()
18207 {
18208 return cabsf ();
18209   ;
18210   return 0;
18211 }
18212 _ACEOF
18213 if ac_fn_c_try_link "$LINENO"; then :
18214   ac_cv_lib_m_cabsf=yes
18215 else
18216   ac_cv_lib_m_cabsf=no
18217 fi
18218 rm -f core conftest.err conftest.$ac_objext \
18219     conftest$ac_exeext conftest.$ac_ext
18220 LIBS=$ac_check_lib_save_LIBS
18221 fi
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18223 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18224 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18225
18226 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18227
18228 fi
18229
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18231 $as_echo_n "checking for cabs in -lm... " >&6; }
18232 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18233   $as_echo_n "(cached) " >&6
18234 else
18235   ac_check_lib_save_LIBS=$LIBS
18236 LIBS="-lm  $LIBS"
18237 if test x$gcc_no_link = xyes; then
18238   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18239 fi
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h.  */
18242
18243 /* Override any GCC internal prototype to avoid an error.
18244    Use char because int might match the return type of a GCC
18245    builtin and then its argument prototype would still apply.  */
18246 #ifdef __cplusplus
18247 extern "C"
18248 #endif
18249 char cabs ();
18250 int
18251 main ()
18252 {
18253 return cabs ();
18254   ;
18255   return 0;
18256 }
18257 _ACEOF
18258 if ac_fn_c_try_link "$LINENO"; then :
18259   ac_cv_lib_m_cabs=yes
18260 else
18261   ac_cv_lib_m_cabs=no
18262 fi
18263 rm -f core conftest.err conftest.$ac_objext \
18264     conftest$ac_exeext conftest.$ac_ext
18265 LIBS=$ac_check_lib_save_LIBS
18266 fi
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18268 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18269 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18270
18271 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18272
18273 fi
18274
18275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18276 $as_echo_n "checking for cabsl in -lm... " >&6; }
18277 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18278   $as_echo_n "(cached) " >&6
18279 else
18280   ac_check_lib_save_LIBS=$LIBS
18281 LIBS="-lm  $LIBS"
18282 if test x$gcc_no_link = xyes; then
18283   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18284 fi
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h.  */
18287
18288 /* Override any GCC internal prototype to avoid an error.
18289    Use char because int might match the return type of a GCC
18290    builtin and then its argument prototype would still apply.  */
18291 #ifdef __cplusplus
18292 extern "C"
18293 #endif
18294 char cabsl ();
18295 int
18296 main ()
18297 {
18298 return cabsl ();
18299   ;
18300   return 0;
18301 }
18302 _ACEOF
18303 if ac_fn_c_try_link "$LINENO"; then :
18304   ac_cv_lib_m_cabsl=yes
18305 else
18306   ac_cv_lib_m_cabsl=no
18307 fi
18308 rm -f core conftest.err conftest.$ac_objext \
18309     conftest$ac_exeext conftest.$ac_ext
18310 LIBS=$ac_check_lib_save_LIBS
18311 fi
18312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18313 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18314 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18315
18316 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18317
18318 fi
18319
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18321 $as_echo_n "checking for floorf in -lm... " >&6; }
18322 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18323   $as_echo_n "(cached) " >&6
18324 else
18325   ac_check_lib_save_LIBS=$LIBS
18326 LIBS="-lm  $LIBS"
18327 if test x$gcc_no_link = xyes; then
18328   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18329 fi
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h.  */
18332
18333 /* Override any GCC internal prototype to avoid an error.
18334    Use char because int might match the return type of a GCC
18335    builtin and then its argument prototype would still apply.  */
18336 #ifdef __cplusplus
18337 extern "C"
18338 #endif
18339 char floorf ();
18340 int
18341 main ()
18342 {
18343 return floorf ();
18344   ;
18345   return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_c_try_link "$LINENO"; then :
18349   ac_cv_lib_m_floorf=yes
18350 else
18351   ac_cv_lib_m_floorf=no
18352 fi
18353 rm -f core conftest.err conftest.$ac_objext \
18354     conftest$ac_exeext conftest.$ac_ext
18355 LIBS=$ac_check_lib_save_LIBS
18356 fi
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18358 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18359 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18360
18361 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18362
18363 fi
18364
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18366 $as_echo_n "checking for floor in -lm... " >&6; }
18367 if test "${ac_cv_lib_m_floor+set}" = set; then :
18368   $as_echo_n "(cached) " >&6
18369 else
18370   ac_check_lib_save_LIBS=$LIBS
18371 LIBS="-lm  $LIBS"
18372 if test x$gcc_no_link = xyes; then
18373   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18374 fi
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h.  */
18377
18378 /* Override any GCC internal prototype to avoid an error.
18379    Use char because int might match the return type of a GCC
18380    builtin and then its argument prototype would still apply.  */
18381 #ifdef __cplusplus
18382 extern "C"
18383 #endif
18384 char floor ();
18385 int
18386 main ()
18387 {
18388 return floor ();
18389   ;
18390   return 0;
18391 }
18392 _ACEOF
18393 if ac_fn_c_try_link "$LINENO"; then :
18394   ac_cv_lib_m_floor=yes
18395 else
18396   ac_cv_lib_m_floor=no
18397 fi
18398 rm -f core conftest.err conftest.$ac_objext \
18399     conftest$ac_exeext conftest.$ac_ext
18400 LIBS=$ac_check_lib_save_LIBS
18401 fi
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18403 $as_echo "$ac_cv_lib_m_floor" >&6; }
18404 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18405
18406 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18407
18408 fi
18409
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18411 $as_echo_n "checking for floorl in -lm... " >&6; }
18412 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18413   $as_echo_n "(cached) " >&6
18414 else
18415   ac_check_lib_save_LIBS=$LIBS
18416 LIBS="-lm  $LIBS"
18417 if test x$gcc_no_link = xyes; then
18418   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18419 fi
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h.  */
18422
18423 /* Override any GCC internal prototype to avoid an error.
18424    Use char because int might match the return type of a GCC
18425    builtin and then its argument prototype would still apply.  */
18426 #ifdef __cplusplus
18427 extern "C"
18428 #endif
18429 char floorl ();
18430 int
18431 main ()
18432 {
18433 return floorl ();
18434   ;
18435   return 0;
18436 }
18437 _ACEOF
18438 if ac_fn_c_try_link "$LINENO"; then :
18439   ac_cv_lib_m_floorl=yes
18440 else
18441   ac_cv_lib_m_floorl=no
18442 fi
18443 rm -f core conftest.err conftest.$ac_objext \
18444     conftest$ac_exeext conftest.$ac_ext
18445 LIBS=$ac_check_lib_save_LIBS
18446 fi
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18448 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18449 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18450
18451 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18452
18453 fi
18454
18455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18456 $as_echo_n "checking for fmodf in -lm... " >&6; }
18457 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18458   $as_echo_n "(cached) " >&6
18459 else
18460   ac_check_lib_save_LIBS=$LIBS
18461 LIBS="-lm  $LIBS"
18462 if test x$gcc_no_link = xyes; then
18463   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18464 fi
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h.  */
18467
18468 /* Override any GCC internal prototype to avoid an error.
18469    Use char because int might match the return type of a GCC
18470    builtin and then its argument prototype would still apply.  */
18471 #ifdef __cplusplus
18472 extern "C"
18473 #endif
18474 char fmodf ();
18475 int
18476 main ()
18477 {
18478 return fmodf ();
18479   ;
18480   return 0;
18481 }
18482 _ACEOF
18483 if ac_fn_c_try_link "$LINENO"; then :
18484   ac_cv_lib_m_fmodf=yes
18485 else
18486   ac_cv_lib_m_fmodf=no
18487 fi
18488 rm -f core conftest.err conftest.$ac_objext \
18489     conftest$ac_exeext conftest.$ac_ext
18490 LIBS=$ac_check_lib_save_LIBS
18491 fi
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18493 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18494 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18495
18496 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18497
18498 fi
18499
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18501 $as_echo_n "checking for fmod in -lm... " >&6; }
18502 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18503   $as_echo_n "(cached) " >&6
18504 else
18505   ac_check_lib_save_LIBS=$LIBS
18506 LIBS="-lm  $LIBS"
18507 if test x$gcc_no_link = xyes; then
18508   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18509 fi
18510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18511 /* end confdefs.h.  */
18512
18513 /* Override any GCC internal prototype to avoid an error.
18514    Use char because int might match the return type of a GCC
18515    builtin and then its argument prototype would still apply.  */
18516 #ifdef __cplusplus
18517 extern "C"
18518 #endif
18519 char fmod ();
18520 int
18521 main ()
18522 {
18523 return fmod ();
18524   ;
18525   return 0;
18526 }
18527 _ACEOF
18528 if ac_fn_c_try_link "$LINENO"; then :
18529   ac_cv_lib_m_fmod=yes
18530 else
18531   ac_cv_lib_m_fmod=no
18532 fi
18533 rm -f core conftest.err conftest.$ac_objext \
18534     conftest$ac_exeext conftest.$ac_ext
18535 LIBS=$ac_check_lib_save_LIBS
18536 fi
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18538 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18539 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18540
18541 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18542
18543 fi
18544
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18546 $as_echo_n "checking for fmodl in -lm... " >&6; }
18547 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18548   $as_echo_n "(cached) " >&6
18549 else
18550   ac_check_lib_save_LIBS=$LIBS
18551 LIBS="-lm  $LIBS"
18552 if test x$gcc_no_link = xyes; then
18553   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18554 fi
18555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18556 /* end confdefs.h.  */
18557
18558 /* Override any GCC internal prototype to avoid an error.
18559    Use char because int might match the return type of a GCC
18560    builtin and then its argument prototype would still apply.  */
18561 #ifdef __cplusplus
18562 extern "C"
18563 #endif
18564 char fmodl ();
18565 int
18566 main ()
18567 {
18568 return fmodl ();
18569   ;
18570   return 0;
18571 }
18572 _ACEOF
18573 if ac_fn_c_try_link "$LINENO"; then :
18574   ac_cv_lib_m_fmodl=yes
18575 else
18576   ac_cv_lib_m_fmodl=no
18577 fi
18578 rm -f core conftest.err conftest.$ac_objext \
18579     conftest$ac_exeext conftest.$ac_ext
18580 LIBS=$ac_check_lib_save_LIBS
18581 fi
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18583 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18584 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18585
18586 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18587
18588 fi
18589
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18591 $as_echo_n "checking for frexpf in -lm... " >&6; }
18592 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18593   $as_echo_n "(cached) " >&6
18594 else
18595   ac_check_lib_save_LIBS=$LIBS
18596 LIBS="-lm  $LIBS"
18597 if test x$gcc_no_link = xyes; then
18598   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18599 fi
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h.  */
18602
18603 /* Override any GCC internal prototype to avoid an error.
18604    Use char because int might match the return type of a GCC
18605    builtin and then its argument prototype would still apply.  */
18606 #ifdef __cplusplus
18607 extern "C"
18608 #endif
18609 char frexpf ();
18610 int
18611 main ()
18612 {
18613 return frexpf ();
18614   ;
18615   return 0;
18616 }
18617 _ACEOF
18618 if ac_fn_c_try_link "$LINENO"; then :
18619   ac_cv_lib_m_frexpf=yes
18620 else
18621   ac_cv_lib_m_frexpf=no
18622 fi
18623 rm -f core conftest.err conftest.$ac_objext \
18624     conftest$ac_exeext conftest.$ac_ext
18625 LIBS=$ac_check_lib_save_LIBS
18626 fi
18627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18628 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18629 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18630
18631 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18632
18633 fi
18634
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18636 $as_echo_n "checking for frexp in -lm... " >&6; }
18637 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18638   $as_echo_n "(cached) " >&6
18639 else
18640   ac_check_lib_save_LIBS=$LIBS
18641 LIBS="-lm  $LIBS"
18642 if test x$gcc_no_link = xyes; then
18643   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18644 fi
18645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18646 /* end confdefs.h.  */
18647
18648 /* Override any GCC internal prototype to avoid an error.
18649    Use char because int might match the return type of a GCC
18650    builtin and then its argument prototype would still apply.  */
18651 #ifdef __cplusplus
18652 extern "C"
18653 #endif
18654 char frexp ();
18655 int
18656 main ()
18657 {
18658 return frexp ();
18659   ;
18660   return 0;
18661 }
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"; then :
18664   ac_cv_lib_m_frexp=yes
18665 else
18666   ac_cv_lib_m_frexp=no
18667 fi
18668 rm -f core conftest.err conftest.$ac_objext \
18669     conftest$ac_exeext conftest.$ac_ext
18670 LIBS=$ac_check_lib_save_LIBS
18671 fi
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18673 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18674 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18675
18676 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18677
18678 fi
18679
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18681 $as_echo_n "checking for frexpl in -lm... " >&6; }
18682 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18683   $as_echo_n "(cached) " >&6
18684 else
18685   ac_check_lib_save_LIBS=$LIBS
18686 LIBS="-lm  $LIBS"
18687 if test x$gcc_no_link = xyes; then
18688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18689 fi
18690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18691 /* end confdefs.h.  */
18692
18693 /* Override any GCC internal prototype to avoid an error.
18694    Use char because int might match the return type of a GCC
18695    builtin and then its argument prototype would still apply.  */
18696 #ifdef __cplusplus
18697 extern "C"
18698 #endif
18699 char frexpl ();
18700 int
18701 main ()
18702 {
18703 return frexpl ();
18704   ;
18705   return 0;
18706 }
18707 _ACEOF
18708 if ac_fn_c_try_link "$LINENO"; then :
18709   ac_cv_lib_m_frexpl=yes
18710 else
18711   ac_cv_lib_m_frexpl=no
18712 fi
18713 rm -f core conftest.err conftest.$ac_objext \
18714     conftest$ac_exeext conftest.$ac_ext
18715 LIBS=$ac_check_lib_save_LIBS
18716 fi
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18718 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18719 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18720
18721 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18722
18723 fi
18724
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18726 $as_echo_n "checking for hypotf in -lm... " >&6; }
18727 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18728   $as_echo_n "(cached) " >&6
18729 else
18730   ac_check_lib_save_LIBS=$LIBS
18731 LIBS="-lm  $LIBS"
18732 if test x$gcc_no_link = xyes; then
18733   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18734 fi
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h.  */
18737
18738 /* Override any GCC internal prototype to avoid an error.
18739    Use char because int might match the return type of a GCC
18740    builtin and then its argument prototype would still apply.  */
18741 #ifdef __cplusplus
18742 extern "C"
18743 #endif
18744 char hypotf ();
18745 int
18746 main ()
18747 {
18748 return hypotf ();
18749   ;
18750   return 0;
18751 }
18752 _ACEOF
18753 if ac_fn_c_try_link "$LINENO"; then :
18754   ac_cv_lib_m_hypotf=yes
18755 else
18756   ac_cv_lib_m_hypotf=no
18757 fi
18758 rm -f core conftest.err conftest.$ac_objext \
18759     conftest$ac_exeext conftest.$ac_ext
18760 LIBS=$ac_check_lib_save_LIBS
18761 fi
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18763 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18764 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18765
18766 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18767
18768 fi
18769
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18771 $as_echo_n "checking for hypot in -lm... " >&6; }
18772 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18773   $as_echo_n "(cached) " >&6
18774 else
18775   ac_check_lib_save_LIBS=$LIBS
18776 LIBS="-lm  $LIBS"
18777 if test x$gcc_no_link = xyes; then
18778   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18779 fi
18780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781 /* end confdefs.h.  */
18782
18783 /* Override any GCC internal prototype to avoid an error.
18784    Use char because int might match the return type of a GCC
18785    builtin and then its argument prototype would still apply.  */
18786 #ifdef __cplusplus
18787 extern "C"
18788 #endif
18789 char hypot ();
18790 int
18791 main ()
18792 {
18793 return hypot ();
18794   ;
18795   return 0;
18796 }
18797 _ACEOF
18798 if ac_fn_c_try_link "$LINENO"; then :
18799   ac_cv_lib_m_hypot=yes
18800 else
18801   ac_cv_lib_m_hypot=no
18802 fi
18803 rm -f core conftest.err conftest.$ac_objext \
18804     conftest$ac_exeext conftest.$ac_ext
18805 LIBS=$ac_check_lib_save_LIBS
18806 fi
18807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18808 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18809 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18810
18811 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18812
18813 fi
18814
18815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18816 $as_echo_n "checking for hypotl in -lm... " >&6; }
18817 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18818   $as_echo_n "(cached) " >&6
18819 else
18820   ac_check_lib_save_LIBS=$LIBS
18821 LIBS="-lm  $LIBS"
18822 if test x$gcc_no_link = xyes; then
18823   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18824 fi
18825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 /* end confdefs.h.  */
18827
18828 /* Override any GCC internal prototype to avoid an error.
18829    Use char because int might match the return type of a GCC
18830    builtin and then its argument prototype would still apply.  */
18831 #ifdef __cplusplus
18832 extern "C"
18833 #endif
18834 char hypotl ();
18835 int
18836 main ()
18837 {
18838 return hypotl ();
18839   ;
18840   return 0;
18841 }
18842 _ACEOF
18843 if ac_fn_c_try_link "$LINENO"; then :
18844   ac_cv_lib_m_hypotl=yes
18845 else
18846   ac_cv_lib_m_hypotl=no
18847 fi
18848 rm -f core conftest.err conftest.$ac_objext \
18849     conftest$ac_exeext conftest.$ac_ext
18850 LIBS=$ac_check_lib_save_LIBS
18851 fi
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18853 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18854 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18855
18856 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18857
18858 fi
18859
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18861 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18862 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18863   $as_echo_n "(cached) " >&6
18864 else
18865   ac_check_lib_save_LIBS=$LIBS
18866 LIBS="-lm  $LIBS"
18867 if test x$gcc_no_link = xyes; then
18868   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18869 fi
18870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18871 /* end confdefs.h.  */
18872
18873 /* Override any GCC internal prototype to avoid an error.
18874    Use char because int might match the return type of a GCC
18875    builtin and then its argument prototype would still apply.  */
18876 #ifdef __cplusplus
18877 extern "C"
18878 #endif
18879 char ldexpf ();
18880 int
18881 main ()
18882 {
18883 return ldexpf ();
18884   ;
18885   return 0;
18886 }
18887 _ACEOF
18888 if ac_fn_c_try_link "$LINENO"; then :
18889   ac_cv_lib_m_ldexpf=yes
18890 else
18891   ac_cv_lib_m_ldexpf=no
18892 fi
18893 rm -f core conftest.err conftest.$ac_objext \
18894     conftest$ac_exeext conftest.$ac_ext
18895 LIBS=$ac_check_lib_save_LIBS
18896 fi
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18898 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18899 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18900
18901 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18902
18903 fi
18904
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18906 $as_echo_n "checking for ldexp in -lm... " >&6; }
18907 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18908   $as_echo_n "(cached) " >&6
18909 else
18910   ac_check_lib_save_LIBS=$LIBS
18911 LIBS="-lm  $LIBS"
18912 if test x$gcc_no_link = xyes; then
18913   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18914 fi
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h.  */
18917
18918 /* Override any GCC internal prototype to avoid an error.
18919    Use char because int might match the return type of a GCC
18920    builtin and then its argument prototype would still apply.  */
18921 #ifdef __cplusplus
18922 extern "C"
18923 #endif
18924 char ldexp ();
18925 int
18926 main ()
18927 {
18928 return ldexp ();
18929   ;
18930   return 0;
18931 }
18932 _ACEOF
18933 if ac_fn_c_try_link "$LINENO"; then :
18934   ac_cv_lib_m_ldexp=yes
18935 else
18936   ac_cv_lib_m_ldexp=no
18937 fi
18938 rm -f core conftest.err conftest.$ac_objext \
18939     conftest$ac_exeext conftest.$ac_ext
18940 LIBS=$ac_check_lib_save_LIBS
18941 fi
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18943 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18944 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18945
18946 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18947
18948 fi
18949
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18951 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18952 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18953   $as_echo_n "(cached) " >&6
18954 else
18955   ac_check_lib_save_LIBS=$LIBS
18956 LIBS="-lm  $LIBS"
18957 if test x$gcc_no_link = xyes; then
18958   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18959 fi
18960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18961 /* end confdefs.h.  */
18962
18963 /* Override any GCC internal prototype to avoid an error.
18964    Use char because int might match the return type of a GCC
18965    builtin and then its argument prototype would still apply.  */
18966 #ifdef __cplusplus
18967 extern "C"
18968 #endif
18969 char ldexpl ();
18970 int
18971 main ()
18972 {
18973 return ldexpl ();
18974   ;
18975   return 0;
18976 }
18977 _ACEOF
18978 if ac_fn_c_try_link "$LINENO"; then :
18979   ac_cv_lib_m_ldexpl=yes
18980 else
18981   ac_cv_lib_m_ldexpl=no
18982 fi
18983 rm -f core conftest.err conftest.$ac_objext \
18984     conftest$ac_exeext conftest.$ac_ext
18985 LIBS=$ac_check_lib_save_LIBS
18986 fi
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
18988 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
18989 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
18990
18991 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
18992
18993 fi
18994
18995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
18996 $as_echo_n "checking for logf in -lm... " >&6; }
18997 if test "${ac_cv_lib_m_logf+set}" = set; then :
18998   $as_echo_n "(cached) " >&6
18999 else
19000   ac_check_lib_save_LIBS=$LIBS
19001 LIBS="-lm  $LIBS"
19002 if test x$gcc_no_link = xyes; then
19003   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19004 fi
19005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19006 /* end confdefs.h.  */
19007
19008 /* Override any GCC internal prototype to avoid an error.
19009    Use char because int might match the return type of a GCC
19010    builtin and then its argument prototype would still apply.  */
19011 #ifdef __cplusplus
19012 extern "C"
19013 #endif
19014 char logf ();
19015 int
19016 main ()
19017 {
19018 return logf ();
19019   ;
19020   return 0;
19021 }
19022 _ACEOF
19023 if ac_fn_c_try_link "$LINENO"; then :
19024   ac_cv_lib_m_logf=yes
19025 else
19026   ac_cv_lib_m_logf=no
19027 fi
19028 rm -f core conftest.err conftest.$ac_objext \
19029     conftest$ac_exeext conftest.$ac_ext
19030 LIBS=$ac_check_lib_save_LIBS
19031 fi
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19033 $as_echo "$ac_cv_lib_m_logf" >&6; }
19034 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19035
19036 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19037
19038 fi
19039
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19041 $as_echo_n "checking for log in -lm... " >&6; }
19042 if test "${ac_cv_lib_m_log+set}" = set; then :
19043   $as_echo_n "(cached) " >&6
19044 else
19045   ac_check_lib_save_LIBS=$LIBS
19046 LIBS="-lm  $LIBS"
19047 if test x$gcc_no_link = xyes; then
19048   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19049 fi
19050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19051 /* end confdefs.h.  */
19052
19053 /* Override any GCC internal prototype to avoid an error.
19054    Use char because int might match the return type of a GCC
19055    builtin and then its argument prototype would still apply.  */
19056 #ifdef __cplusplus
19057 extern "C"
19058 #endif
19059 char log ();
19060 int
19061 main ()
19062 {
19063 return log ();
19064   ;
19065   return 0;
19066 }
19067 _ACEOF
19068 if ac_fn_c_try_link "$LINENO"; then :
19069   ac_cv_lib_m_log=yes
19070 else
19071   ac_cv_lib_m_log=no
19072 fi
19073 rm -f core conftest.err conftest.$ac_objext \
19074     conftest$ac_exeext conftest.$ac_ext
19075 LIBS=$ac_check_lib_save_LIBS
19076 fi
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19078 $as_echo "$ac_cv_lib_m_log" >&6; }
19079 if test "x$ac_cv_lib_m_log" = x""yes; then :
19080
19081 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19082
19083 fi
19084
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19086 $as_echo_n "checking for logl in -lm... " >&6; }
19087 if test "${ac_cv_lib_m_logl+set}" = set; then :
19088   $as_echo_n "(cached) " >&6
19089 else
19090   ac_check_lib_save_LIBS=$LIBS
19091 LIBS="-lm  $LIBS"
19092 if test x$gcc_no_link = xyes; then
19093   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19094 fi
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h.  */
19097
19098 /* Override any GCC internal prototype to avoid an error.
19099    Use char because int might match the return type of a GCC
19100    builtin and then its argument prototype would still apply.  */
19101 #ifdef __cplusplus
19102 extern "C"
19103 #endif
19104 char logl ();
19105 int
19106 main ()
19107 {
19108 return logl ();
19109   ;
19110   return 0;
19111 }
19112 _ACEOF
19113 if ac_fn_c_try_link "$LINENO"; then :
19114   ac_cv_lib_m_logl=yes
19115 else
19116   ac_cv_lib_m_logl=no
19117 fi
19118 rm -f core conftest.err conftest.$ac_objext \
19119     conftest$ac_exeext conftest.$ac_ext
19120 LIBS=$ac_check_lib_save_LIBS
19121 fi
19122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19123 $as_echo "$ac_cv_lib_m_logl" >&6; }
19124 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19125
19126 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19127
19128 fi
19129
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19131 $as_echo_n "checking for clogf in -lm... " >&6; }
19132 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19133   $as_echo_n "(cached) " >&6
19134 else
19135   ac_check_lib_save_LIBS=$LIBS
19136 LIBS="-lm  $LIBS"
19137 if test x$gcc_no_link = xyes; then
19138   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19139 fi
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h.  */
19142
19143 /* Override any GCC internal prototype to avoid an error.
19144    Use char because int might match the return type of a GCC
19145    builtin and then its argument prototype would still apply.  */
19146 #ifdef __cplusplus
19147 extern "C"
19148 #endif
19149 char clogf ();
19150 int
19151 main ()
19152 {
19153 return clogf ();
19154   ;
19155   return 0;
19156 }
19157 _ACEOF
19158 if ac_fn_c_try_link "$LINENO"; then :
19159   ac_cv_lib_m_clogf=yes
19160 else
19161   ac_cv_lib_m_clogf=no
19162 fi
19163 rm -f core conftest.err conftest.$ac_objext \
19164     conftest$ac_exeext conftest.$ac_ext
19165 LIBS=$ac_check_lib_save_LIBS
19166 fi
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19168 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19169 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19170
19171 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19172
19173 fi
19174
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19176 $as_echo_n "checking for clog in -lm... " >&6; }
19177 if test "${ac_cv_lib_m_clog+set}" = set; then :
19178   $as_echo_n "(cached) " >&6
19179 else
19180   ac_check_lib_save_LIBS=$LIBS
19181 LIBS="-lm  $LIBS"
19182 if test x$gcc_no_link = xyes; then
19183   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19184 fi
19185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19186 /* end confdefs.h.  */
19187
19188 /* Override any GCC internal prototype to avoid an error.
19189    Use char because int might match the return type of a GCC
19190    builtin and then its argument prototype would still apply.  */
19191 #ifdef __cplusplus
19192 extern "C"
19193 #endif
19194 char clog ();
19195 int
19196 main ()
19197 {
19198 return clog ();
19199   ;
19200   return 0;
19201 }
19202 _ACEOF
19203 if ac_fn_c_try_link "$LINENO"; then :
19204   ac_cv_lib_m_clog=yes
19205 else
19206   ac_cv_lib_m_clog=no
19207 fi
19208 rm -f core conftest.err conftest.$ac_objext \
19209     conftest$ac_exeext conftest.$ac_ext
19210 LIBS=$ac_check_lib_save_LIBS
19211 fi
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19213 $as_echo "$ac_cv_lib_m_clog" >&6; }
19214 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19215
19216 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19217
19218 fi
19219
19220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19221 $as_echo_n "checking for clogl in -lm... " >&6; }
19222 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19223   $as_echo_n "(cached) " >&6
19224 else
19225   ac_check_lib_save_LIBS=$LIBS
19226 LIBS="-lm  $LIBS"
19227 if test x$gcc_no_link = xyes; then
19228   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19229 fi
19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19231 /* end confdefs.h.  */
19232
19233 /* Override any GCC internal prototype to avoid an error.
19234    Use char because int might match the return type of a GCC
19235    builtin and then its argument prototype would still apply.  */
19236 #ifdef __cplusplus
19237 extern "C"
19238 #endif
19239 char clogl ();
19240 int
19241 main ()
19242 {
19243 return clogl ();
19244   ;
19245   return 0;
19246 }
19247 _ACEOF
19248 if ac_fn_c_try_link "$LINENO"; then :
19249   ac_cv_lib_m_clogl=yes
19250 else
19251   ac_cv_lib_m_clogl=no
19252 fi
19253 rm -f core conftest.err conftest.$ac_objext \
19254     conftest$ac_exeext conftest.$ac_ext
19255 LIBS=$ac_check_lib_save_LIBS
19256 fi
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19258 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19259 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19260
19261 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19262
19263 fi
19264
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19266 $as_echo_n "checking for log10f in -lm... " >&6; }
19267 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19268   $as_echo_n "(cached) " >&6
19269 else
19270   ac_check_lib_save_LIBS=$LIBS
19271 LIBS="-lm  $LIBS"
19272 if test x$gcc_no_link = xyes; then
19273   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19274 fi
19275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19276 /* end confdefs.h.  */
19277
19278 /* Override any GCC internal prototype to avoid an error.
19279    Use char because int might match the return type of a GCC
19280    builtin and then its argument prototype would still apply.  */
19281 #ifdef __cplusplus
19282 extern "C"
19283 #endif
19284 char log10f ();
19285 int
19286 main ()
19287 {
19288 return log10f ();
19289   ;
19290   return 0;
19291 }
19292 _ACEOF
19293 if ac_fn_c_try_link "$LINENO"; then :
19294   ac_cv_lib_m_log10f=yes
19295 else
19296   ac_cv_lib_m_log10f=no
19297 fi
19298 rm -f core conftest.err conftest.$ac_objext \
19299     conftest$ac_exeext conftest.$ac_ext
19300 LIBS=$ac_check_lib_save_LIBS
19301 fi
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19303 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19304 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19305
19306 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19307
19308 fi
19309
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19311 $as_echo_n "checking for log10 in -lm... " >&6; }
19312 if test "${ac_cv_lib_m_log10+set}" = set; then :
19313   $as_echo_n "(cached) " >&6
19314 else
19315   ac_check_lib_save_LIBS=$LIBS
19316 LIBS="-lm  $LIBS"
19317 if test x$gcc_no_link = xyes; then
19318   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19319 fi
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h.  */
19322
19323 /* Override any GCC internal prototype to avoid an error.
19324    Use char because int might match the return type of a GCC
19325    builtin and then its argument prototype would still apply.  */
19326 #ifdef __cplusplus
19327 extern "C"
19328 #endif
19329 char log10 ();
19330 int
19331 main ()
19332 {
19333 return log10 ();
19334   ;
19335   return 0;
19336 }
19337 _ACEOF
19338 if ac_fn_c_try_link "$LINENO"; then :
19339   ac_cv_lib_m_log10=yes
19340 else
19341   ac_cv_lib_m_log10=no
19342 fi
19343 rm -f core conftest.err conftest.$ac_objext \
19344     conftest$ac_exeext conftest.$ac_ext
19345 LIBS=$ac_check_lib_save_LIBS
19346 fi
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19348 $as_echo "$ac_cv_lib_m_log10" >&6; }
19349 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19350
19351 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19352
19353 fi
19354
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19356 $as_echo_n "checking for log10l in -lm... " >&6; }
19357 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19358   $as_echo_n "(cached) " >&6
19359 else
19360   ac_check_lib_save_LIBS=$LIBS
19361 LIBS="-lm  $LIBS"
19362 if test x$gcc_no_link = xyes; then
19363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19364 fi
19365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19366 /* end confdefs.h.  */
19367
19368 /* Override any GCC internal prototype to avoid an error.
19369    Use char because int might match the return type of a GCC
19370    builtin and then its argument prototype would still apply.  */
19371 #ifdef __cplusplus
19372 extern "C"
19373 #endif
19374 char log10l ();
19375 int
19376 main ()
19377 {
19378 return log10l ();
19379   ;
19380   return 0;
19381 }
19382 _ACEOF
19383 if ac_fn_c_try_link "$LINENO"; then :
19384   ac_cv_lib_m_log10l=yes
19385 else
19386   ac_cv_lib_m_log10l=no
19387 fi
19388 rm -f core conftest.err conftest.$ac_objext \
19389     conftest$ac_exeext conftest.$ac_ext
19390 LIBS=$ac_check_lib_save_LIBS
19391 fi
19392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19393 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19394 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19395
19396 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19397
19398 fi
19399
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19401 $as_echo_n "checking for clog10f in -lm... " >&6; }
19402 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19403   $as_echo_n "(cached) " >&6
19404 else
19405   ac_check_lib_save_LIBS=$LIBS
19406 LIBS="-lm  $LIBS"
19407 if test x$gcc_no_link = xyes; then
19408   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19409 fi
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h.  */
19412
19413 /* Override any GCC internal prototype to avoid an error.
19414    Use char because int might match the return type of a GCC
19415    builtin and then its argument prototype would still apply.  */
19416 #ifdef __cplusplus
19417 extern "C"
19418 #endif
19419 char clog10f ();
19420 int
19421 main ()
19422 {
19423 return clog10f ();
19424   ;
19425   return 0;
19426 }
19427 _ACEOF
19428 if ac_fn_c_try_link "$LINENO"; then :
19429   ac_cv_lib_m_clog10f=yes
19430 else
19431   ac_cv_lib_m_clog10f=no
19432 fi
19433 rm -f core conftest.err conftest.$ac_objext \
19434     conftest$ac_exeext conftest.$ac_ext
19435 LIBS=$ac_check_lib_save_LIBS
19436 fi
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19438 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19439 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19440
19441 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19442
19443 fi
19444
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19446 $as_echo_n "checking for clog10 in -lm... " >&6; }
19447 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19448   $as_echo_n "(cached) " >&6
19449 else
19450   ac_check_lib_save_LIBS=$LIBS
19451 LIBS="-lm  $LIBS"
19452 if test x$gcc_no_link = xyes; then
19453   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19454 fi
19455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19456 /* end confdefs.h.  */
19457
19458 /* Override any GCC internal prototype to avoid an error.
19459    Use char because int might match the return type of a GCC
19460    builtin and then its argument prototype would still apply.  */
19461 #ifdef __cplusplus
19462 extern "C"
19463 #endif
19464 char clog10 ();
19465 int
19466 main ()
19467 {
19468 return clog10 ();
19469   ;
19470   return 0;
19471 }
19472 _ACEOF
19473 if ac_fn_c_try_link "$LINENO"; then :
19474   ac_cv_lib_m_clog10=yes
19475 else
19476   ac_cv_lib_m_clog10=no
19477 fi
19478 rm -f core conftest.err conftest.$ac_objext \
19479     conftest$ac_exeext conftest.$ac_ext
19480 LIBS=$ac_check_lib_save_LIBS
19481 fi
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19483 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19484 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19485
19486 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19487
19488 fi
19489
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19491 $as_echo_n "checking for clog10l in -lm... " >&6; }
19492 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19493   $as_echo_n "(cached) " >&6
19494 else
19495   ac_check_lib_save_LIBS=$LIBS
19496 LIBS="-lm  $LIBS"
19497 if test x$gcc_no_link = xyes; then
19498   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19499 fi
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h.  */
19502
19503 /* Override any GCC internal prototype to avoid an error.
19504    Use char because int might match the return type of a GCC
19505    builtin and then its argument prototype would still apply.  */
19506 #ifdef __cplusplus
19507 extern "C"
19508 #endif
19509 char clog10l ();
19510 int
19511 main ()
19512 {
19513 return clog10l ();
19514   ;
19515   return 0;
19516 }
19517 _ACEOF
19518 if ac_fn_c_try_link "$LINENO"; then :
19519   ac_cv_lib_m_clog10l=yes
19520 else
19521   ac_cv_lib_m_clog10l=no
19522 fi
19523 rm -f core conftest.err conftest.$ac_objext \
19524     conftest$ac_exeext conftest.$ac_ext
19525 LIBS=$ac_check_lib_save_LIBS
19526 fi
19527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19528 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19529 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19530
19531 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19532
19533 fi
19534
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19536 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19537 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19538   $as_echo_n "(cached) " >&6
19539 else
19540   ac_check_lib_save_LIBS=$LIBS
19541 LIBS="-lm  $LIBS"
19542 if test x$gcc_no_link = xyes; then
19543   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19544 fi
19545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19546 /* end confdefs.h.  */
19547
19548 /* Override any GCC internal prototype to avoid an error.
19549    Use char because int might match the return type of a GCC
19550    builtin and then its argument prototype would still apply.  */
19551 #ifdef __cplusplus
19552 extern "C"
19553 #endif
19554 char nextafterf ();
19555 int
19556 main ()
19557 {
19558 return nextafterf ();
19559   ;
19560   return 0;
19561 }
19562 _ACEOF
19563 if ac_fn_c_try_link "$LINENO"; then :
19564   ac_cv_lib_m_nextafterf=yes
19565 else
19566   ac_cv_lib_m_nextafterf=no
19567 fi
19568 rm -f core conftest.err conftest.$ac_objext \
19569     conftest$ac_exeext conftest.$ac_ext
19570 LIBS=$ac_check_lib_save_LIBS
19571 fi
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19573 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19574 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19575
19576 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19577
19578 fi
19579
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19581 $as_echo_n "checking for nextafter in -lm... " >&6; }
19582 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19583   $as_echo_n "(cached) " >&6
19584 else
19585   ac_check_lib_save_LIBS=$LIBS
19586 LIBS="-lm  $LIBS"
19587 if test x$gcc_no_link = xyes; then
19588   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19589 fi
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h.  */
19592
19593 /* Override any GCC internal prototype to avoid an error.
19594    Use char because int might match the return type of a GCC
19595    builtin and then its argument prototype would still apply.  */
19596 #ifdef __cplusplus
19597 extern "C"
19598 #endif
19599 char nextafter ();
19600 int
19601 main ()
19602 {
19603 return nextafter ();
19604   ;
19605   return 0;
19606 }
19607 _ACEOF
19608 if ac_fn_c_try_link "$LINENO"; then :
19609   ac_cv_lib_m_nextafter=yes
19610 else
19611   ac_cv_lib_m_nextafter=no
19612 fi
19613 rm -f core conftest.err conftest.$ac_objext \
19614     conftest$ac_exeext conftest.$ac_ext
19615 LIBS=$ac_check_lib_save_LIBS
19616 fi
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19618 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19619 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19620
19621 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19622
19623 fi
19624
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19626 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19627 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19628   $as_echo_n "(cached) " >&6
19629 else
19630   ac_check_lib_save_LIBS=$LIBS
19631 LIBS="-lm  $LIBS"
19632 if test x$gcc_no_link = xyes; then
19633   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19634 fi
19635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19636 /* end confdefs.h.  */
19637
19638 /* Override any GCC internal prototype to avoid an error.
19639    Use char because int might match the return type of a GCC
19640    builtin and then its argument prototype would still apply.  */
19641 #ifdef __cplusplus
19642 extern "C"
19643 #endif
19644 char nextafterl ();
19645 int
19646 main ()
19647 {
19648 return nextafterl ();
19649   ;
19650   return 0;
19651 }
19652 _ACEOF
19653 if ac_fn_c_try_link "$LINENO"; then :
19654   ac_cv_lib_m_nextafterl=yes
19655 else
19656   ac_cv_lib_m_nextafterl=no
19657 fi
19658 rm -f core conftest.err conftest.$ac_objext \
19659     conftest$ac_exeext conftest.$ac_ext
19660 LIBS=$ac_check_lib_save_LIBS
19661 fi
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19663 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19664 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19665
19666 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19667
19668 fi
19669
19670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19671 $as_echo_n "checking for powf in -lm... " >&6; }
19672 if test "${ac_cv_lib_m_powf+set}" = set; then :
19673   $as_echo_n "(cached) " >&6
19674 else
19675   ac_check_lib_save_LIBS=$LIBS
19676 LIBS="-lm  $LIBS"
19677 if test x$gcc_no_link = xyes; then
19678   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19679 fi
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h.  */
19682
19683 /* Override any GCC internal prototype to avoid an error.
19684    Use char because int might match the return type of a GCC
19685    builtin and then its argument prototype would still apply.  */
19686 #ifdef __cplusplus
19687 extern "C"
19688 #endif
19689 char powf ();
19690 int
19691 main ()
19692 {
19693 return powf ();
19694   ;
19695   return 0;
19696 }
19697 _ACEOF
19698 if ac_fn_c_try_link "$LINENO"; then :
19699   ac_cv_lib_m_powf=yes
19700 else
19701   ac_cv_lib_m_powf=no
19702 fi
19703 rm -f core conftest.err conftest.$ac_objext \
19704     conftest$ac_exeext conftest.$ac_ext
19705 LIBS=$ac_check_lib_save_LIBS
19706 fi
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19708 $as_echo "$ac_cv_lib_m_powf" >&6; }
19709 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19710
19711 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19712
19713 fi
19714
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19716 $as_echo_n "checking for pow in -lm... " >&6; }
19717 if test "${ac_cv_lib_m_pow+set}" = set; then :
19718   $as_echo_n "(cached) " >&6
19719 else
19720   ac_check_lib_save_LIBS=$LIBS
19721 LIBS="-lm  $LIBS"
19722 if test x$gcc_no_link = xyes; then
19723   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19724 fi
19725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19726 /* end confdefs.h.  */
19727
19728 /* Override any GCC internal prototype to avoid an error.
19729    Use char because int might match the return type of a GCC
19730    builtin and then its argument prototype would still apply.  */
19731 #ifdef __cplusplus
19732 extern "C"
19733 #endif
19734 char pow ();
19735 int
19736 main ()
19737 {
19738 return pow ();
19739   ;
19740   return 0;
19741 }
19742 _ACEOF
19743 if ac_fn_c_try_link "$LINENO"; then :
19744   ac_cv_lib_m_pow=yes
19745 else
19746   ac_cv_lib_m_pow=no
19747 fi
19748 rm -f core conftest.err conftest.$ac_objext \
19749     conftest$ac_exeext conftest.$ac_ext
19750 LIBS=$ac_check_lib_save_LIBS
19751 fi
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19753 $as_echo "$ac_cv_lib_m_pow" >&6; }
19754 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19755
19756 $as_echo "#define HAVE_POW 1" >>confdefs.h
19757
19758 fi
19759
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19761 $as_echo_n "checking for powl in -lm... " >&6; }
19762 if test "${ac_cv_lib_m_powl+set}" = set; then :
19763   $as_echo_n "(cached) " >&6
19764 else
19765   ac_check_lib_save_LIBS=$LIBS
19766 LIBS="-lm  $LIBS"
19767 if test x$gcc_no_link = xyes; then
19768   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19769 fi
19770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19771 /* end confdefs.h.  */
19772
19773 /* Override any GCC internal prototype to avoid an error.
19774    Use char because int might match the return type of a GCC
19775    builtin and then its argument prototype would still apply.  */
19776 #ifdef __cplusplus
19777 extern "C"
19778 #endif
19779 char powl ();
19780 int
19781 main ()
19782 {
19783 return powl ();
19784   ;
19785   return 0;
19786 }
19787 _ACEOF
19788 if ac_fn_c_try_link "$LINENO"; then :
19789   ac_cv_lib_m_powl=yes
19790 else
19791   ac_cv_lib_m_powl=no
19792 fi
19793 rm -f core conftest.err conftest.$ac_objext \
19794     conftest$ac_exeext conftest.$ac_ext
19795 LIBS=$ac_check_lib_save_LIBS
19796 fi
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19798 $as_echo "$ac_cv_lib_m_powl" >&6; }
19799 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19800
19801 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19802
19803 fi
19804
19805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19806 $as_echo_n "checking for cpowf in -lm... " >&6; }
19807 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19808   $as_echo_n "(cached) " >&6
19809 else
19810   ac_check_lib_save_LIBS=$LIBS
19811 LIBS="-lm  $LIBS"
19812 if test x$gcc_no_link = xyes; then
19813   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19814 fi
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h.  */
19817
19818 /* Override any GCC internal prototype to avoid an error.
19819    Use char because int might match the return type of a GCC
19820    builtin and then its argument prototype would still apply.  */
19821 #ifdef __cplusplus
19822 extern "C"
19823 #endif
19824 char cpowf ();
19825 int
19826 main ()
19827 {
19828 return cpowf ();
19829   ;
19830   return 0;
19831 }
19832 _ACEOF
19833 if ac_fn_c_try_link "$LINENO"; then :
19834   ac_cv_lib_m_cpowf=yes
19835 else
19836   ac_cv_lib_m_cpowf=no
19837 fi
19838 rm -f core conftest.err conftest.$ac_objext \
19839     conftest$ac_exeext conftest.$ac_ext
19840 LIBS=$ac_check_lib_save_LIBS
19841 fi
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19843 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19844 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19845
19846 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19847
19848 fi
19849
19850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19851 $as_echo_n "checking for cpow in -lm... " >&6; }
19852 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19853   $as_echo_n "(cached) " >&6
19854 else
19855   ac_check_lib_save_LIBS=$LIBS
19856 LIBS="-lm  $LIBS"
19857 if test x$gcc_no_link = xyes; then
19858   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19859 fi
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h.  */
19862
19863 /* Override any GCC internal prototype to avoid an error.
19864    Use char because int might match the return type of a GCC
19865    builtin and then its argument prototype would still apply.  */
19866 #ifdef __cplusplus
19867 extern "C"
19868 #endif
19869 char cpow ();
19870 int
19871 main ()
19872 {
19873 return cpow ();
19874   ;
19875   return 0;
19876 }
19877 _ACEOF
19878 if ac_fn_c_try_link "$LINENO"; then :
19879   ac_cv_lib_m_cpow=yes
19880 else
19881   ac_cv_lib_m_cpow=no
19882 fi
19883 rm -f core conftest.err conftest.$ac_objext \
19884     conftest$ac_exeext conftest.$ac_ext
19885 LIBS=$ac_check_lib_save_LIBS
19886 fi
19887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19888 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19889 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19890
19891 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19892
19893 fi
19894
19895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19896 $as_echo_n "checking for cpowl in -lm... " >&6; }
19897 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19898   $as_echo_n "(cached) " >&6
19899 else
19900   ac_check_lib_save_LIBS=$LIBS
19901 LIBS="-lm  $LIBS"
19902 if test x$gcc_no_link = xyes; then
19903   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19904 fi
19905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19906 /* end confdefs.h.  */
19907
19908 /* Override any GCC internal prototype to avoid an error.
19909    Use char because int might match the return type of a GCC
19910    builtin and then its argument prototype would still apply.  */
19911 #ifdef __cplusplus
19912 extern "C"
19913 #endif
19914 char cpowl ();
19915 int
19916 main ()
19917 {
19918 return cpowl ();
19919   ;
19920   return 0;
19921 }
19922 _ACEOF
19923 if ac_fn_c_try_link "$LINENO"; then :
19924   ac_cv_lib_m_cpowl=yes
19925 else
19926   ac_cv_lib_m_cpowl=no
19927 fi
19928 rm -f core conftest.err conftest.$ac_objext \
19929     conftest$ac_exeext conftest.$ac_ext
19930 LIBS=$ac_check_lib_save_LIBS
19931 fi
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19933 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19934 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19935
19936 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19937
19938 fi
19939
19940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19941 $as_echo_n "checking for roundf in -lm... " >&6; }
19942 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19943   $as_echo_n "(cached) " >&6
19944 else
19945   ac_check_lib_save_LIBS=$LIBS
19946 LIBS="-lm  $LIBS"
19947 if test x$gcc_no_link = xyes; then
19948   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19949 fi
19950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19951 /* end confdefs.h.  */
19952
19953 /* Override any GCC internal prototype to avoid an error.
19954    Use char because int might match the return type of a GCC
19955    builtin and then its argument prototype would still apply.  */
19956 #ifdef __cplusplus
19957 extern "C"
19958 #endif
19959 char roundf ();
19960 int
19961 main ()
19962 {
19963 return roundf ();
19964   ;
19965   return 0;
19966 }
19967 _ACEOF
19968 if ac_fn_c_try_link "$LINENO"; then :
19969   ac_cv_lib_m_roundf=yes
19970 else
19971   ac_cv_lib_m_roundf=no
19972 fi
19973 rm -f core conftest.err conftest.$ac_objext \
19974     conftest$ac_exeext conftest.$ac_ext
19975 LIBS=$ac_check_lib_save_LIBS
19976 fi
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
19978 $as_echo "$ac_cv_lib_m_roundf" >&6; }
19979 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
19980
19981 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
19982
19983 fi
19984
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
19986 $as_echo_n "checking for round in -lm... " >&6; }
19987 if test "${ac_cv_lib_m_round+set}" = set; then :
19988   $as_echo_n "(cached) " >&6
19989 else
19990   ac_check_lib_save_LIBS=$LIBS
19991 LIBS="-lm  $LIBS"
19992 if test x$gcc_no_link = xyes; then
19993   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19994 fi
19995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996 /* end confdefs.h.  */
19997
19998 /* Override any GCC internal prototype to avoid an error.
19999    Use char because int might match the return type of a GCC
20000    builtin and then its argument prototype would still apply.  */
20001 #ifdef __cplusplus
20002 extern "C"
20003 #endif
20004 char round ();
20005 int
20006 main ()
20007 {
20008 return round ();
20009   ;
20010   return 0;
20011 }
20012 _ACEOF
20013 if ac_fn_c_try_link "$LINENO"; then :
20014   ac_cv_lib_m_round=yes
20015 else
20016   ac_cv_lib_m_round=no
20017 fi
20018 rm -f core conftest.err conftest.$ac_objext \
20019     conftest$ac_exeext conftest.$ac_ext
20020 LIBS=$ac_check_lib_save_LIBS
20021 fi
20022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20023 $as_echo "$ac_cv_lib_m_round" >&6; }
20024 if test "x$ac_cv_lib_m_round" = x""yes; then :
20025
20026 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20027
20028 fi
20029
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20031 $as_echo_n "checking for roundl in -lm... " >&6; }
20032 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20033   $as_echo_n "(cached) " >&6
20034 else
20035   ac_check_lib_save_LIBS=$LIBS
20036 LIBS="-lm  $LIBS"
20037 if test x$gcc_no_link = xyes; then
20038   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20039 fi
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h.  */
20042
20043 /* Override any GCC internal prototype to avoid an error.
20044    Use char because int might match the return type of a GCC
20045    builtin and then its argument prototype would still apply.  */
20046 #ifdef __cplusplus
20047 extern "C"
20048 #endif
20049 char roundl ();
20050 int
20051 main ()
20052 {
20053 return roundl ();
20054   ;
20055   return 0;
20056 }
20057 _ACEOF
20058 if ac_fn_c_try_link "$LINENO"; then :
20059   ac_cv_lib_m_roundl=yes
20060 else
20061   ac_cv_lib_m_roundl=no
20062 fi
20063 rm -f core conftest.err conftest.$ac_objext \
20064     conftest$ac_exeext conftest.$ac_ext
20065 LIBS=$ac_check_lib_save_LIBS
20066 fi
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20068 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20069 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20070
20071 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20072
20073 fi
20074
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20076 $as_echo_n "checking for lroundf in -lm... " >&6; }
20077 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20078   $as_echo_n "(cached) " >&6
20079 else
20080   ac_check_lib_save_LIBS=$LIBS
20081 LIBS="-lm  $LIBS"
20082 if test x$gcc_no_link = xyes; then
20083   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20084 fi
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h.  */
20087
20088 /* Override any GCC internal prototype to avoid an error.
20089    Use char because int might match the return type of a GCC
20090    builtin and then its argument prototype would still apply.  */
20091 #ifdef __cplusplus
20092 extern "C"
20093 #endif
20094 char lroundf ();
20095 int
20096 main ()
20097 {
20098 return lroundf ();
20099   ;
20100   return 0;
20101 }
20102 _ACEOF
20103 if ac_fn_c_try_link "$LINENO"; then :
20104   ac_cv_lib_m_lroundf=yes
20105 else
20106   ac_cv_lib_m_lroundf=no
20107 fi
20108 rm -f core conftest.err conftest.$ac_objext \
20109     conftest$ac_exeext conftest.$ac_ext
20110 LIBS=$ac_check_lib_save_LIBS
20111 fi
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20113 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20114 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20115
20116 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20117
20118 fi
20119
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20121 $as_echo_n "checking for lround in -lm... " >&6; }
20122 if test "${ac_cv_lib_m_lround+set}" = set; then :
20123   $as_echo_n "(cached) " >&6
20124 else
20125   ac_check_lib_save_LIBS=$LIBS
20126 LIBS="-lm  $LIBS"
20127 if test x$gcc_no_link = xyes; then
20128   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20129 fi
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h.  */
20132
20133 /* Override any GCC internal prototype to avoid an error.
20134    Use char because int might match the return type of a GCC
20135    builtin and then its argument prototype would still apply.  */
20136 #ifdef __cplusplus
20137 extern "C"
20138 #endif
20139 char lround ();
20140 int
20141 main ()
20142 {
20143 return lround ();
20144   ;
20145   return 0;
20146 }
20147 _ACEOF
20148 if ac_fn_c_try_link "$LINENO"; then :
20149   ac_cv_lib_m_lround=yes
20150 else
20151   ac_cv_lib_m_lround=no
20152 fi
20153 rm -f core conftest.err conftest.$ac_objext \
20154     conftest$ac_exeext conftest.$ac_ext
20155 LIBS=$ac_check_lib_save_LIBS
20156 fi
20157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20158 $as_echo "$ac_cv_lib_m_lround" >&6; }
20159 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20160
20161 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20162
20163 fi
20164
20165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20166 $as_echo_n "checking for lroundl in -lm... " >&6; }
20167 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20168   $as_echo_n "(cached) " >&6
20169 else
20170   ac_check_lib_save_LIBS=$LIBS
20171 LIBS="-lm  $LIBS"
20172 if test x$gcc_no_link = xyes; then
20173   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20174 fi
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h.  */
20177
20178 /* Override any GCC internal prototype to avoid an error.
20179    Use char because int might match the return type of a GCC
20180    builtin and then its argument prototype would still apply.  */
20181 #ifdef __cplusplus
20182 extern "C"
20183 #endif
20184 char lroundl ();
20185 int
20186 main ()
20187 {
20188 return lroundl ();
20189   ;
20190   return 0;
20191 }
20192 _ACEOF
20193 if ac_fn_c_try_link "$LINENO"; then :
20194   ac_cv_lib_m_lroundl=yes
20195 else
20196   ac_cv_lib_m_lroundl=no
20197 fi
20198 rm -f core conftest.err conftest.$ac_objext \
20199     conftest$ac_exeext conftest.$ac_ext
20200 LIBS=$ac_check_lib_save_LIBS
20201 fi
20202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20203 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20204 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20205
20206 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20207
20208 fi
20209
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20211 $as_echo_n "checking for llroundf in -lm... " >&6; }
20212 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20213   $as_echo_n "(cached) " >&6
20214 else
20215   ac_check_lib_save_LIBS=$LIBS
20216 LIBS="-lm  $LIBS"
20217 if test x$gcc_no_link = xyes; then
20218   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20219 fi
20220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20221 /* end confdefs.h.  */
20222
20223 /* Override any GCC internal prototype to avoid an error.
20224    Use char because int might match the return type of a GCC
20225    builtin and then its argument prototype would still apply.  */
20226 #ifdef __cplusplus
20227 extern "C"
20228 #endif
20229 char llroundf ();
20230 int
20231 main ()
20232 {
20233 return llroundf ();
20234   ;
20235   return 0;
20236 }
20237 _ACEOF
20238 if ac_fn_c_try_link "$LINENO"; then :
20239   ac_cv_lib_m_llroundf=yes
20240 else
20241   ac_cv_lib_m_llroundf=no
20242 fi
20243 rm -f core conftest.err conftest.$ac_objext \
20244     conftest$ac_exeext conftest.$ac_ext
20245 LIBS=$ac_check_lib_save_LIBS
20246 fi
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20248 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20249 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20250
20251 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20252
20253 fi
20254
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20256 $as_echo_n "checking for llround in -lm... " >&6; }
20257 if test "${ac_cv_lib_m_llround+set}" = set; then :
20258   $as_echo_n "(cached) " >&6
20259 else
20260   ac_check_lib_save_LIBS=$LIBS
20261 LIBS="-lm  $LIBS"
20262 if test x$gcc_no_link = xyes; then
20263   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20264 fi
20265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20266 /* end confdefs.h.  */
20267
20268 /* Override any GCC internal prototype to avoid an error.
20269    Use char because int might match the return type of a GCC
20270    builtin and then its argument prototype would still apply.  */
20271 #ifdef __cplusplus
20272 extern "C"
20273 #endif
20274 char llround ();
20275 int
20276 main ()
20277 {
20278 return llround ();
20279   ;
20280   return 0;
20281 }
20282 _ACEOF
20283 if ac_fn_c_try_link "$LINENO"; then :
20284   ac_cv_lib_m_llround=yes
20285 else
20286   ac_cv_lib_m_llround=no
20287 fi
20288 rm -f core conftest.err conftest.$ac_objext \
20289     conftest$ac_exeext conftest.$ac_ext
20290 LIBS=$ac_check_lib_save_LIBS
20291 fi
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20293 $as_echo "$ac_cv_lib_m_llround" >&6; }
20294 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20295
20296 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20297
20298 fi
20299
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20301 $as_echo_n "checking for llroundl in -lm... " >&6; }
20302 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20303   $as_echo_n "(cached) " >&6
20304 else
20305   ac_check_lib_save_LIBS=$LIBS
20306 LIBS="-lm  $LIBS"
20307 if test x$gcc_no_link = xyes; then
20308   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20309 fi
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h.  */
20312
20313 /* Override any GCC internal prototype to avoid an error.
20314    Use char because int might match the return type of a GCC
20315    builtin and then its argument prototype would still apply.  */
20316 #ifdef __cplusplus
20317 extern "C"
20318 #endif
20319 char llroundl ();
20320 int
20321 main ()
20322 {
20323 return llroundl ();
20324   ;
20325   return 0;
20326 }
20327 _ACEOF
20328 if ac_fn_c_try_link "$LINENO"; then :
20329   ac_cv_lib_m_llroundl=yes
20330 else
20331   ac_cv_lib_m_llroundl=no
20332 fi
20333 rm -f core conftest.err conftest.$ac_objext \
20334     conftest$ac_exeext conftest.$ac_ext
20335 LIBS=$ac_check_lib_save_LIBS
20336 fi
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20338 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20339 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20340
20341 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20342
20343 fi
20344
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20346 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20347 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20348   $as_echo_n "(cached) " >&6
20349 else
20350   ac_check_lib_save_LIBS=$LIBS
20351 LIBS="-lm  $LIBS"
20352 if test x$gcc_no_link = xyes; then
20353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20354 fi
20355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20356 /* end confdefs.h.  */
20357
20358 /* Override any GCC internal prototype to avoid an error.
20359    Use char because int might match the return type of a GCC
20360    builtin and then its argument prototype would still apply.  */
20361 #ifdef __cplusplus
20362 extern "C"
20363 #endif
20364 char scalbnf ();
20365 int
20366 main ()
20367 {
20368 return scalbnf ();
20369   ;
20370   return 0;
20371 }
20372 _ACEOF
20373 if ac_fn_c_try_link "$LINENO"; then :
20374   ac_cv_lib_m_scalbnf=yes
20375 else
20376   ac_cv_lib_m_scalbnf=no
20377 fi
20378 rm -f core conftest.err conftest.$ac_objext \
20379     conftest$ac_exeext conftest.$ac_ext
20380 LIBS=$ac_check_lib_save_LIBS
20381 fi
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20383 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20384 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20385
20386 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20387
20388 fi
20389
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20391 $as_echo_n "checking for scalbn in -lm... " >&6; }
20392 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20393   $as_echo_n "(cached) " >&6
20394 else
20395   ac_check_lib_save_LIBS=$LIBS
20396 LIBS="-lm  $LIBS"
20397 if test x$gcc_no_link = xyes; then
20398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20399 fi
20400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20401 /* end confdefs.h.  */
20402
20403 /* Override any GCC internal prototype to avoid an error.
20404    Use char because int might match the return type of a GCC
20405    builtin and then its argument prototype would still apply.  */
20406 #ifdef __cplusplus
20407 extern "C"
20408 #endif
20409 char scalbn ();
20410 int
20411 main ()
20412 {
20413 return scalbn ();
20414   ;
20415   return 0;
20416 }
20417 _ACEOF
20418 if ac_fn_c_try_link "$LINENO"; then :
20419   ac_cv_lib_m_scalbn=yes
20420 else
20421   ac_cv_lib_m_scalbn=no
20422 fi
20423 rm -f core conftest.err conftest.$ac_objext \
20424     conftest$ac_exeext conftest.$ac_ext
20425 LIBS=$ac_check_lib_save_LIBS
20426 fi
20427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20428 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20429 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20430
20431 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20432
20433 fi
20434
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20436 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20437 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20438   $as_echo_n "(cached) " >&6
20439 else
20440   ac_check_lib_save_LIBS=$LIBS
20441 LIBS="-lm  $LIBS"
20442 if test x$gcc_no_link = xyes; then
20443   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20444 fi
20445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20446 /* end confdefs.h.  */
20447
20448 /* Override any GCC internal prototype to avoid an error.
20449    Use char because int might match the return type of a GCC
20450    builtin and then its argument prototype would still apply.  */
20451 #ifdef __cplusplus
20452 extern "C"
20453 #endif
20454 char scalbnl ();
20455 int
20456 main ()
20457 {
20458 return scalbnl ();
20459   ;
20460   return 0;
20461 }
20462 _ACEOF
20463 if ac_fn_c_try_link "$LINENO"; then :
20464   ac_cv_lib_m_scalbnl=yes
20465 else
20466   ac_cv_lib_m_scalbnl=no
20467 fi
20468 rm -f core conftest.err conftest.$ac_objext \
20469     conftest$ac_exeext conftest.$ac_ext
20470 LIBS=$ac_check_lib_save_LIBS
20471 fi
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20473 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20474 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20475
20476 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20477
20478 fi
20479
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20481 $as_echo_n "checking for sinf in -lm... " >&6; }
20482 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20483   $as_echo_n "(cached) " >&6
20484 else
20485   ac_check_lib_save_LIBS=$LIBS
20486 LIBS="-lm  $LIBS"
20487 if test x$gcc_no_link = xyes; then
20488   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20489 fi
20490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20491 /* end confdefs.h.  */
20492
20493 /* Override any GCC internal prototype to avoid an error.
20494    Use char because int might match the return type of a GCC
20495    builtin and then its argument prototype would still apply.  */
20496 #ifdef __cplusplus
20497 extern "C"
20498 #endif
20499 char sinf ();
20500 int
20501 main ()
20502 {
20503 return sinf ();
20504   ;
20505   return 0;
20506 }
20507 _ACEOF
20508 if ac_fn_c_try_link "$LINENO"; then :
20509   ac_cv_lib_m_sinf=yes
20510 else
20511   ac_cv_lib_m_sinf=no
20512 fi
20513 rm -f core conftest.err conftest.$ac_objext \
20514     conftest$ac_exeext conftest.$ac_ext
20515 LIBS=$ac_check_lib_save_LIBS
20516 fi
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20518 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20519 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20520
20521 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20522
20523 fi
20524
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20526 $as_echo_n "checking for sin in -lm... " >&6; }
20527 if test "${ac_cv_lib_m_sin+set}" = set; then :
20528   $as_echo_n "(cached) " >&6
20529 else
20530   ac_check_lib_save_LIBS=$LIBS
20531 LIBS="-lm  $LIBS"
20532 if test x$gcc_no_link = xyes; then
20533   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20534 fi
20535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h.  */
20537
20538 /* Override any GCC internal prototype to avoid an error.
20539    Use char because int might match the return type of a GCC
20540    builtin and then its argument prototype would still apply.  */
20541 #ifdef __cplusplus
20542 extern "C"
20543 #endif
20544 char sin ();
20545 int
20546 main ()
20547 {
20548 return sin ();
20549   ;
20550   return 0;
20551 }
20552 _ACEOF
20553 if ac_fn_c_try_link "$LINENO"; then :
20554   ac_cv_lib_m_sin=yes
20555 else
20556   ac_cv_lib_m_sin=no
20557 fi
20558 rm -f core conftest.err conftest.$ac_objext \
20559     conftest$ac_exeext conftest.$ac_ext
20560 LIBS=$ac_check_lib_save_LIBS
20561 fi
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20563 $as_echo "$ac_cv_lib_m_sin" >&6; }
20564 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20565
20566 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20567
20568 fi
20569
20570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20571 $as_echo_n "checking for sinl in -lm... " >&6; }
20572 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20573   $as_echo_n "(cached) " >&6
20574 else
20575   ac_check_lib_save_LIBS=$LIBS
20576 LIBS="-lm  $LIBS"
20577 if test x$gcc_no_link = xyes; then
20578   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20579 fi
20580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20581 /* end confdefs.h.  */
20582
20583 /* Override any GCC internal prototype to avoid an error.
20584    Use char because int might match the return type of a GCC
20585    builtin and then its argument prototype would still apply.  */
20586 #ifdef __cplusplus
20587 extern "C"
20588 #endif
20589 char sinl ();
20590 int
20591 main ()
20592 {
20593 return sinl ();
20594   ;
20595   return 0;
20596 }
20597 _ACEOF
20598 if ac_fn_c_try_link "$LINENO"; then :
20599   ac_cv_lib_m_sinl=yes
20600 else
20601   ac_cv_lib_m_sinl=no
20602 fi
20603 rm -f core conftest.err conftest.$ac_objext \
20604     conftest$ac_exeext conftest.$ac_ext
20605 LIBS=$ac_check_lib_save_LIBS
20606 fi
20607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20608 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20609 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20610
20611 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20612
20613 fi
20614
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20616 $as_echo_n "checking for csinf in -lm... " >&6; }
20617 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20618   $as_echo_n "(cached) " >&6
20619 else
20620   ac_check_lib_save_LIBS=$LIBS
20621 LIBS="-lm  $LIBS"
20622 if test x$gcc_no_link = xyes; then
20623   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20624 fi
20625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20626 /* end confdefs.h.  */
20627
20628 /* Override any GCC internal prototype to avoid an error.
20629    Use char because int might match the return type of a GCC
20630    builtin and then its argument prototype would still apply.  */
20631 #ifdef __cplusplus
20632 extern "C"
20633 #endif
20634 char csinf ();
20635 int
20636 main ()
20637 {
20638 return csinf ();
20639   ;
20640   return 0;
20641 }
20642 _ACEOF
20643 if ac_fn_c_try_link "$LINENO"; then :
20644   ac_cv_lib_m_csinf=yes
20645 else
20646   ac_cv_lib_m_csinf=no
20647 fi
20648 rm -f core conftest.err conftest.$ac_objext \
20649     conftest$ac_exeext conftest.$ac_ext
20650 LIBS=$ac_check_lib_save_LIBS
20651 fi
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20653 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20654 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20655
20656 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20657
20658 fi
20659
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20661 $as_echo_n "checking for csin in -lm... " >&6; }
20662 if test "${ac_cv_lib_m_csin+set}" = set; then :
20663   $as_echo_n "(cached) " >&6
20664 else
20665   ac_check_lib_save_LIBS=$LIBS
20666 LIBS="-lm  $LIBS"
20667 if test x$gcc_no_link = xyes; then
20668   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20669 fi
20670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20671 /* end confdefs.h.  */
20672
20673 /* Override any GCC internal prototype to avoid an error.
20674    Use char because int might match the return type of a GCC
20675    builtin and then its argument prototype would still apply.  */
20676 #ifdef __cplusplus
20677 extern "C"
20678 #endif
20679 char csin ();
20680 int
20681 main ()
20682 {
20683 return csin ();
20684   ;
20685   return 0;
20686 }
20687 _ACEOF
20688 if ac_fn_c_try_link "$LINENO"; then :
20689   ac_cv_lib_m_csin=yes
20690 else
20691   ac_cv_lib_m_csin=no
20692 fi
20693 rm -f core conftest.err conftest.$ac_objext \
20694     conftest$ac_exeext conftest.$ac_ext
20695 LIBS=$ac_check_lib_save_LIBS
20696 fi
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20698 $as_echo "$ac_cv_lib_m_csin" >&6; }
20699 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20700
20701 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20702
20703 fi
20704
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20706 $as_echo_n "checking for csinl in -lm... " >&6; }
20707 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20708   $as_echo_n "(cached) " >&6
20709 else
20710   ac_check_lib_save_LIBS=$LIBS
20711 LIBS="-lm  $LIBS"
20712 if test x$gcc_no_link = xyes; then
20713   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20714 fi
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h.  */
20717
20718 /* Override any GCC internal prototype to avoid an error.
20719    Use char because int might match the return type of a GCC
20720    builtin and then its argument prototype would still apply.  */
20721 #ifdef __cplusplus
20722 extern "C"
20723 #endif
20724 char csinl ();
20725 int
20726 main ()
20727 {
20728 return csinl ();
20729   ;
20730   return 0;
20731 }
20732 _ACEOF
20733 if ac_fn_c_try_link "$LINENO"; then :
20734   ac_cv_lib_m_csinl=yes
20735 else
20736   ac_cv_lib_m_csinl=no
20737 fi
20738 rm -f core conftest.err conftest.$ac_objext \
20739     conftest$ac_exeext conftest.$ac_ext
20740 LIBS=$ac_check_lib_save_LIBS
20741 fi
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20743 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20744 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20745
20746 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20747
20748 fi
20749
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20751 $as_echo_n "checking for sinhf in -lm... " >&6; }
20752 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20753   $as_echo_n "(cached) " >&6
20754 else
20755   ac_check_lib_save_LIBS=$LIBS
20756 LIBS="-lm  $LIBS"
20757 if test x$gcc_no_link = xyes; then
20758   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20759 fi
20760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h.  */
20762
20763 /* Override any GCC internal prototype to avoid an error.
20764    Use char because int might match the return type of a GCC
20765    builtin and then its argument prototype would still apply.  */
20766 #ifdef __cplusplus
20767 extern "C"
20768 #endif
20769 char sinhf ();
20770 int
20771 main ()
20772 {
20773 return sinhf ();
20774   ;
20775   return 0;
20776 }
20777 _ACEOF
20778 if ac_fn_c_try_link "$LINENO"; then :
20779   ac_cv_lib_m_sinhf=yes
20780 else
20781   ac_cv_lib_m_sinhf=no
20782 fi
20783 rm -f core conftest.err conftest.$ac_objext \
20784     conftest$ac_exeext conftest.$ac_ext
20785 LIBS=$ac_check_lib_save_LIBS
20786 fi
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20788 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20789 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20790
20791 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20792
20793 fi
20794
20795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20796 $as_echo_n "checking for sinh in -lm... " >&6; }
20797 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20798   $as_echo_n "(cached) " >&6
20799 else
20800   ac_check_lib_save_LIBS=$LIBS
20801 LIBS="-lm  $LIBS"
20802 if test x$gcc_no_link = xyes; then
20803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20804 fi
20805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20806 /* end confdefs.h.  */
20807
20808 /* Override any GCC internal prototype to avoid an error.
20809    Use char because int might match the return type of a GCC
20810    builtin and then its argument prototype would still apply.  */
20811 #ifdef __cplusplus
20812 extern "C"
20813 #endif
20814 char sinh ();
20815 int
20816 main ()
20817 {
20818 return sinh ();
20819   ;
20820   return 0;
20821 }
20822 _ACEOF
20823 if ac_fn_c_try_link "$LINENO"; then :
20824   ac_cv_lib_m_sinh=yes
20825 else
20826   ac_cv_lib_m_sinh=no
20827 fi
20828 rm -f core conftest.err conftest.$ac_objext \
20829     conftest$ac_exeext conftest.$ac_ext
20830 LIBS=$ac_check_lib_save_LIBS
20831 fi
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20833 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20834 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20835
20836 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20837
20838 fi
20839
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20841 $as_echo_n "checking for sinhl in -lm... " >&6; }
20842 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20843   $as_echo_n "(cached) " >&6
20844 else
20845   ac_check_lib_save_LIBS=$LIBS
20846 LIBS="-lm  $LIBS"
20847 if test x$gcc_no_link = xyes; then
20848   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20849 fi
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h.  */
20852
20853 /* Override any GCC internal prototype to avoid an error.
20854    Use char because int might match the return type of a GCC
20855    builtin and then its argument prototype would still apply.  */
20856 #ifdef __cplusplus
20857 extern "C"
20858 #endif
20859 char sinhl ();
20860 int
20861 main ()
20862 {
20863 return sinhl ();
20864   ;
20865   return 0;
20866 }
20867 _ACEOF
20868 if ac_fn_c_try_link "$LINENO"; then :
20869   ac_cv_lib_m_sinhl=yes
20870 else
20871   ac_cv_lib_m_sinhl=no
20872 fi
20873 rm -f core conftest.err conftest.$ac_objext \
20874     conftest$ac_exeext conftest.$ac_ext
20875 LIBS=$ac_check_lib_save_LIBS
20876 fi
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20878 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20879 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20880
20881 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20882
20883 fi
20884
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20886 $as_echo_n "checking for csinhf in -lm... " >&6; }
20887 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20888   $as_echo_n "(cached) " >&6
20889 else
20890   ac_check_lib_save_LIBS=$LIBS
20891 LIBS="-lm  $LIBS"
20892 if test x$gcc_no_link = xyes; then
20893   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20894 fi
20895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20896 /* end confdefs.h.  */
20897
20898 /* Override any GCC internal prototype to avoid an error.
20899    Use char because int might match the return type of a GCC
20900    builtin and then its argument prototype would still apply.  */
20901 #ifdef __cplusplus
20902 extern "C"
20903 #endif
20904 char csinhf ();
20905 int
20906 main ()
20907 {
20908 return csinhf ();
20909   ;
20910   return 0;
20911 }
20912 _ACEOF
20913 if ac_fn_c_try_link "$LINENO"; then :
20914   ac_cv_lib_m_csinhf=yes
20915 else
20916   ac_cv_lib_m_csinhf=no
20917 fi
20918 rm -f core conftest.err conftest.$ac_objext \
20919     conftest$ac_exeext conftest.$ac_ext
20920 LIBS=$ac_check_lib_save_LIBS
20921 fi
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20923 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20924 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20925
20926 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20927
20928 fi
20929
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20931 $as_echo_n "checking for csinh in -lm... " >&6; }
20932 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20933   $as_echo_n "(cached) " >&6
20934 else
20935   ac_check_lib_save_LIBS=$LIBS
20936 LIBS="-lm  $LIBS"
20937 if test x$gcc_no_link = xyes; then
20938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20939 fi
20940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20941 /* end confdefs.h.  */
20942
20943 /* Override any GCC internal prototype to avoid an error.
20944    Use char because int might match the return type of a GCC
20945    builtin and then its argument prototype would still apply.  */
20946 #ifdef __cplusplus
20947 extern "C"
20948 #endif
20949 char csinh ();
20950 int
20951 main ()
20952 {
20953 return csinh ();
20954   ;
20955   return 0;
20956 }
20957 _ACEOF
20958 if ac_fn_c_try_link "$LINENO"; then :
20959   ac_cv_lib_m_csinh=yes
20960 else
20961   ac_cv_lib_m_csinh=no
20962 fi
20963 rm -f core conftest.err conftest.$ac_objext \
20964     conftest$ac_exeext conftest.$ac_ext
20965 LIBS=$ac_check_lib_save_LIBS
20966 fi
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20968 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20969 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20970
20971 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20972
20973 fi
20974
20975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20976 $as_echo_n "checking for csinhl in -lm... " >&6; }
20977 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
20978   $as_echo_n "(cached) " >&6
20979 else
20980   ac_check_lib_save_LIBS=$LIBS
20981 LIBS="-lm  $LIBS"
20982 if test x$gcc_no_link = xyes; then
20983   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20984 fi
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h.  */
20987
20988 /* Override any GCC internal prototype to avoid an error.
20989    Use char because int might match the return type of a GCC
20990    builtin and then its argument prototype would still apply.  */
20991 #ifdef __cplusplus
20992 extern "C"
20993 #endif
20994 char csinhl ();
20995 int
20996 main ()
20997 {
20998 return csinhl ();
20999   ;
21000   return 0;
21001 }
21002 _ACEOF
21003 if ac_fn_c_try_link "$LINENO"; then :
21004   ac_cv_lib_m_csinhl=yes
21005 else
21006   ac_cv_lib_m_csinhl=no
21007 fi
21008 rm -f core conftest.err conftest.$ac_objext \
21009     conftest$ac_exeext conftest.$ac_ext
21010 LIBS=$ac_check_lib_save_LIBS
21011 fi
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21013 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21014 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21015
21016 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21017
21018 fi
21019
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21021 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21022 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21023   $as_echo_n "(cached) " >&6
21024 else
21025   ac_check_lib_save_LIBS=$LIBS
21026 LIBS="-lm  $LIBS"
21027 if test x$gcc_no_link = xyes; then
21028   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21029 fi
21030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21031 /* end confdefs.h.  */
21032
21033 /* Override any GCC internal prototype to avoid an error.
21034    Use char because int might match the return type of a GCC
21035    builtin and then its argument prototype would still apply.  */
21036 #ifdef __cplusplus
21037 extern "C"
21038 #endif
21039 char sqrtf ();
21040 int
21041 main ()
21042 {
21043 return sqrtf ();
21044   ;
21045   return 0;
21046 }
21047 _ACEOF
21048 if ac_fn_c_try_link "$LINENO"; then :
21049   ac_cv_lib_m_sqrtf=yes
21050 else
21051   ac_cv_lib_m_sqrtf=no
21052 fi
21053 rm -f core conftest.err conftest.$ac_objext \
21054     conftest$ac_exeext conftest.$ac_ext
21055 LIBS=$ac_check_lib_save_LIBS
21056 fi
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21058 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21059 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21060
21061 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21062
21063 fi
21064
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21066 $as_echo_n "checking for sqrt in -lm... " >&6; }
21067 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21068   $as_echo_n "(cached) " >&6
21069 else
21070   ac_check_lib_save_LIBS=$LIBS
21071 LIBS="-lm  $LIBS"
21072 if test x$gcc_no_link = xyes; then
21073   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21074 fi
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h.  */
21077
21078 /* Override any GCC internal prototype to avoid an error.
21079    Use char because int might match the return type of a GCC
21080    builtin and then its argument prototype would still apply.  */
21081 #ifdef __cplusplus
21082 extern "C"
21083 #endif
21084 char sqrt ();
21085 int
21086 main ()
21087 {
21088 return sqrt ();
21089   ;
21090   return 0;
21091 }
21092 _ACEOF
21093 if ac_fn_c_try_link "$LINENO"; then :
21094   ac_cv_lib_m_sqrt=yes
21095 else
21096   ac_cv_lib_m_sqrt=no
21097 fi
21098 rm -f core conftest.err conftest.$ac_objext \
21099     conftest$ac_exeext conftest.$ac_ext
21100 LIBS=$ac_check_lib_save_LIBS
21101 fi
21102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21103 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21104 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21105
21106 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21107
21108 fi
21109
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21111 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21112 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21113   $as_echo_n "(cached) " >&6
21114 else
21115   ac_check_lib_save_LIBS=$LIBS
21116 LIBS="-lm  $LIBS"
21117 if test x$gcc_no_link = xyes; then
21118   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21119 fi
21120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21121 /* end confdefs.h.  */
21122
21123 /* Override any GCC internal prototype to avoid an error.
21124    Use char because int might match the return type of a GCC
21125    builtin and then its argument prototype would still apply.  */
21126 #ifdef __cplusplus
21127 extern "C"
21128 #endif
21129 char sqrtl ();
21130 int
21131 main ()
21132 {
21133 return sqrtl ();
21134   ;
21135   return 0;
21136 }
21137 _ACEOF
21138 if ac_fn_c_try_link "$LINENO"; then :
21139   ac_cv_lib_m_sqrtl=yes
21140 else
21141   ac_cv_lib_m_sqrtl=no
21142 fi
21143 rm -f core conftest.err conftest.$ac_objext \
21144     conftest$ac_exeext conftest.$ac_ext
21145 LIBS=$ac_check_lib_save_LIBS
21146 fi
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21148 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21149 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21150
21151 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21152
21153 fi
21154
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21156 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21157 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21158   $as_echo_n "(cached) " >&6
21159 else
21160   ac_check_lib_save_LIBS=$LIBS
21161 LIBS="-lm  $LIBS"
21162 if test x$gcc_no_link = xyes; then
21163   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21164 fi
21165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21166 /* end confdefs.h.  */
21167
21168 /* Override any GCC internal prototype to avoid an error.
21169    Use char because int might match the return type of a GCC
21170    builtin and then its argument prototype would still apply.  */
21171 #ifdef __cplusplus
21172 extern "C"
21173 #endif
21174 char csqrtf ();
21175 int
21176 main ()
21177 {
21178 return csqrtf ();
21179   ;
21180   return 0;
21181 }
21182 _ACEOF
21183 if ac_fn_c_try_link "$LINENO"; then :
21184   ac_cv_lib_m_csqrtf=yes
21185 else
21186   ac_cv_lib_m_csqrtf=no
21187 fi
21188 rm -f core conftest.err conftest.$ac_objext \
21189     conftest$ac_exeext conftest.$ac_ext
21190 LIBS=$ac_check_lib_save_LIBS
21191 fi
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21193 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21194 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21195
21196 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21197
21198 fi
21199
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21201 $as_echo_n "checking for csqrt in -lm... " >&6; }
21202 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21203   $as_echo_n "(cached) " >&6
21204 else
21205   ac_check_lib_save_LIBS=$LIBS
21206 LIBS="-lm  $LIBS"
21207 if test x$gcc_no_link = xyes; then
21208   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21209 fi
21210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21211 /* end confdefs.h.  */
21212
21213 /* Override any GCC internal prototype to avoid an error.
21214    Use char because int might match the return type of a GCC
21215    builtin and then its argument prototype would still apply.  */
21216 #ifdef __cplusplus
21217 extern "C"
21218 #endif
21219 char csqrt ();
21220 int
21221 main ()
21222 {
21223 return csqrt ();
21224   ;
21225   return 0;
21226 }
21227 _ACEOF
21228 if ac_fn_c_try_link "$LINENO"; then :
21229   ac_cv_lib_m_csqrt=yes
21230 else
21231   ac_cv_lib_m_csqrt=no
21232 fi
21233 rm -f core conftest.err conftest.$ac_objext \
21234     conftest$ac_exeext conftest.$ac_ext
21235 LIBS=$ac_check_lib_save_LIBS
21236 fi
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21238 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21239 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21240
21241 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21242
21243 fi
21244
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21246 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21247 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21248   $as_echo_n "(cached) " >&6
21249 else
21250   ac_check_lib_save_LIBS=$LIBS
21251 LIBS="-lm  $LIBS"
21252 if test x$gcc_no_link = xyes; then
21253   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21254 fi
21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h.  */
21257
21258 /* Override any GCC internal prototype to avoid an error.
21259    Use char because int might match the return type of a GCC
21260    builtin and then its argument prototype would still apply.  */
21261 #ifdef __cplusplus
21262 extern "C"
21263 #endif
21264 char csqrtl ();
21265 int
21266 main ()
21267 {
21268 return csqrtl ();
21269   ;
21270   return 0;
21271 }
21272 _ACEOF
21273 if ac_fn_c_try_link "$LINENO"; then :
21274   ac_cv_lib_m_csqrtl=yes
21275 else
21276   ac_cv_lib_m_csqrtl=no
21277 fi
21278 rm -f core conftest.err conftest.$ac_objext \
21279     conftest$ac_exeext conftest.$ac_ext
21280 LIBS=$ac_check_lib_save_LIBS
21281 fi
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21283 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21284 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21285
21286 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21287
21288 fi
21289
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21291 $as_echo_n "checking for tanf in -lm... " >&6; }
21292 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21293   $as_echo_n "(cached) " >&6
21294 else
21295   ac_check_lib_save_LIBS=$LIBS
21296 LIBS="-lm  $LIBS"
21297 if test x$gcc_no_link = xyes; then
21298   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21299 fi
21300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h.  */
21302
21303 /* Override any GCC internal prototype to avoid an error.
21304    Use char because int might match the return type of a GCC
21305    builtin and then its argument prototype would still apply.  */
21306 #ifdef __cplusplus
21307 extern "C"
21308 #endif
21309 char tanf ();
21310 int
21311 main ()
21312 {
21313 return tanf ();
21314   ;
21315   return 0;
21316 }
21317 _ACEOF
21318 if ac_fn_c_try_link "$LINENO"; then :
21319   ac_cv_lib_m_tanf=yes
21320 else
21321   ac_cv_lib_m_tanf=no
21322 fi
21323 rm -f core conftest.err conftest.$ac_objext \
21324     conftest$ac_exeext conftest.$ac_ext
21325 LIBS=$ac_check_lib_save_LIBS
21326 fi
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21328 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21329 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21330
21331 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21332
21333 fi
21334
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21336 $as_echo_n "checking for tan in -lm... " >&6; }
21337 if test "${ac_cv_lib_m_tan+set}" = set; then :
21338   $as_echo_n "(cached) " >&6
21339 else
21340   ac_check_lib_save_LIBS=$LIBS
21341 LIBS="-lm  $LIBS"
21342 if test x$gcc_no_link = xyes; then
21343   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21344 fi
21345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21346 /* end confdefs.h.  */
21347
21348 /* Override any GCC internal prototype to avoid an error.
21349    Use char because int might match the return type of a GCC
21350    builtin and then its argument prototype would still apply.  */
21351 #ifdef __cplusplus
21352 extern "C"
21353 #endif
21354 char tan ();
21355 int
21356 main ()
21357 {
21358 return tan ();
21359   ;
21360   return 0;
21361 }
21362 _ACEOF
21363 if ac_fn_c_try_link "$LINENO"; then :
21364   ac_cv_lib_m_tan=yes
21365 else
21366   ac_cv_lib_m_tan=no
21367 fi
21368 rm -f core conftest.err conftest.$ac_objext \
21369     conftest$ac_exeext conftest.$ac_ext
21370 LIBS=$ac_check_lib_save_LIBS
21371 fi
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21373 $as_echo "$ac_cv_lib_m_tan" >&6; }
21374 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21375
21376 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21377
21378 fi
21379
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21381 $as_echo_n "checking for tanl in -lm... " >&6; }
21382 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21383   $as_echo_n "(cached) " >&6
21384 else
21385   ac_check_lib_save_LIBS=$LIBS
21386 LIBS="-lm  $LIBS"
21387 if test x$gcc_no_link = xyes; then
21388   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21389 fi
21390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21391 /* end confdefs.h.  */
21392
21393 /* Override any GCC internal prototype to avoid an error.
21394    Use char because int might match the return type of a GCC
21395    builtin and then its argument prototype would still apply.  */
21396 #ifdef __cplusplus
21397 extern "C"
21398 #endif
21399 char tanl ();
21400 int
21401 main ()
21402 {
21403 return tanl ();
21404   ;
21405   return 0;
21406 }
21407 _ACEOF
21408 if ac_fn_c_try_link "$LINENO"; then :
21409   ac_cv_lib_m_tanl=yes
21410 else
21411   ac_cv_lib_m_tanl=no
21412 fi
21413 rm -f core conftest.err conftest.$ac_objext \
21414     conftest$ac_exeext conftest.$ac_ext
21415 LIBS=$ac_check_lib_save_LIBS
21416 fi
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21418 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21419 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21420
21421 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21422
21423 fi
21424
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21426 $as_echo_n "checking for ctanf in -lm... " >&6; }
21427 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21428   $as_echo_n "(cached) " >&6
21429 else
21430   ac_check_lib_save_LIBS=$LIBS
21431 LIBS="-lm  $LIBS"
21432 if test x$gcc_no_link = xyes; then
21433   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21434 fi
21435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21436 /* end confdefs.h.  */
21437
21438 /* Override any GCC internal prototype to avoid an error.
21439    Use char because int might match the return type of a GCC
21440    builtin and then its argument prototype would still apply.  */
21441 #ifdef __cplusplus
21442 extern "C"
21443 #endif
21444 char ctanf ();
21445 int
21446 main ()
21447 {
21448 return ctanf ();
21449   ;
21450   return 0;
21451 }
21452 _ACEOF
21453 if ac_fn_c_try_link "$LINENO"; then :
21454   ac_cv_lib_m_ctanf=yes
21455 else
21456   ac_cv_lib_m_ctanf=no
21457 fi
21458 rm -f core conftest.err conftest.$ac_objext \
21459     conftest$ac_exeext conftest.$ac_ext
21460 LIBS=$ac_check_lib_save_LIBS
21461 fi
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21463 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21464 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21465
21466 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21467
21468 fi
21469
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21471 $as_echo_n "checking for ctan in -lm... " >&6; }
21472 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21473   $as_echo_n "(cached) " >&6
21474 else
21475   ac_check_lib_save_LIBS=$LIBS
21476 LIBS="-lm  $LIBS"
21477 if test x$gcc_no_link = xyes; then
21478   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21479 fi
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h.  */
21482
21483 /* Override any GCC internal prototype to avoid an error.
21484    Use char because int might match the return type of a GCC
21485    builtin and then its argument prototype would still apply.  */
21486 #ifdef __cplusplus
21487 extern "C"
21488 #endif
21489 char ctan ();
21490 int
21491 main ()
21492 {
21493 return ctan ();
21494   ;
21495   return 0;
21496 }
21497 _ACEOF
21498 if ac_fn_c_try_link "$LINENO"; then :
21499   ac_cv_lib_m_ctan=yes
21500 else
21501   ac_cv_lib_m_ctan=no
21502 fi
21503 rm -f core conftest.err conftest.$ac_objext \
21504     conftest$ac_exeext conftest.$ac_ext
21505 LIBS=$ac_check_lib_save_LIBS
21506 fi
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21508 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21509 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21510
21511 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21512
21513 fi
21514
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21516 $as_echo_n "checking for ctanl in -lm... " >&6; }
21517 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21518   $as_echo_n "(cached) " >&6
21519 else
21520   ac_check_lib_save_LIBS=$LIBS
21521 LIBS="-lm  $LIBS"
21522 if test x$gcc_no_link = xyes; then
21523   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21524 fi
21525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21526 /* end confdefs.h.  */
21527
21528 /* Override any GCC internal prototype to avoid an error.
21529    Use char because int might match the return type of a GCC
21530    builtin and then its argument prototype would still apply.  */
21531 #ifdef __cplusplus
21532 extern "C"
21533 #endif
21534 char ctanl ();
21535 int
21536 main ()
21537 {
21538 return ctanl ();
21539   ;
21540   return 0;
21541 }
21542 _ACEOF
21543 if ac_fn_c_try_link "$LINENO"; then :
21544   ac_cv_lib_m_ctanl=yes
21545 else
21546   ac_cv_lib_m_ctanl=no
21547 fi
21548 rm -f core conftest.err conftest.$ac_objext \
21549     conftest$ac_exeext conftest.$ac_ext
21550 LIBS=$ac_check_lib_save_LIBS
21551 fi
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21553 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21554 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21555
21556 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21557
21558 fi
21559
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21561 $as_echo_n "checking for tanhf in -lm... " >&6; }
21562 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21563   $as_echo_n "(cached) " >&6
21564 else
21565   ac_check_lib_save_LIBS=$LIBS
21566 LIBS="-lm  $LIBS"
21567 if test x$gcc_no_link = xyes; then
21568   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21569 fi
21570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21571 /* end confdefs.h.  */
21572
21573 /* Override any GCC internal prototype to avoid an error.
21574    Use char because int might match the return type of a GCC
21575    builtin and then its argument prototype would still apply.  */
21576 #ifdef __cplusplus
21577 extern "C"
21578 #endif
21579 char tanhf ();
21580 int
21581 main ()
21582 {
21583 return tanhf ();
21584   ;
21585   return 0;
21586 }
21587 _ACEOF
21588 if ac_fn_c_try_link "$LINENO"; then :
21589   ac_cv_lib_m_tanhf=yes
21590 else
21591   ac_cv_lib_m_tanhf=no
21592 fi
21593 rm -f core conftest.err conftest.$ac_objext \
21594     conftest$ac_exeext conftest.$ac_ext
21595 LIBS=$ac_check_lib_save_LIBS
21596 fi
21597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21598 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21599 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21600
21601 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21602
21603 fi
21604
21605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21606 $as_echo_n "checking for tanh in -lm... " >&6; }
21607 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21608   $as_echo_n "(cached) " >&6
21609 else
21610   ac_check_lib_save_LIBS=$LIBS
21611 LIBS="-lm  $LIBS"
21612 if test x$gcc_no_link = xyes; then
21613   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21614 fi
21615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21616 /* end confdefs.h.  */
21617
21618 /* Override any GCC internal prototype to avoid an error.
21619    Use char because int might match the return type of a GCC
21620    builtin and then its argument prototype would still apply.  */
21621 #ifdef __cplusplus
21622 extern "C"
21623 #endif
21624 char tanh ();
21625 int
21626 main ()
21627 {
21628 return tanh ();
21629   ;
21630   return 0;
21631 }
21632 _ACEOF
21633 if ac_fn_c_try_link "$LINENO"; then :
21634   ac_cv_lib_m_tanh=yes
21635 else
21636   ac_cv_lib_m_tanh=no
21637 fi
21638 rm -f core conftest.err conftest.$ac_objext \
21639     conftest$ac_exeext conftest.$ac_ext
21640 LIBS=$ac_check_lib_save_LIBS
21641 fi
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21643 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21644 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21645
21646 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21647
21648 fi
21649
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21651 $as_echo_n "checking for tanhl in -lm... " >&6; }
21652 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21653   $as_echo_n "(cached) " >&6
21654 else
21655   ac_check_lib_save_LIBS=$LIBS
21656 LIBS="-lm  $LIBS"
21657 if test x$gcc_no_link = xyes; then
21658   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21659 fi
21660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21661 /* end confdefs.h.  */
21662
21663 /* Override any GCC internal prototype to avoid an error.
21664    Use char because int might match the return type of a GCC
21665    builtin and then its argument prototype would still apply.  */
21666 #ifdef __cplusplus
21667 extern "C"
21668 #endif
21669 char tanhl ();
21670 int
21671 main ()
21672 {
21673 return tanhl ();
21674   ;
21675   return 0;
21676 }
21677 _ACEOF
21678 if ac_fn_c_try_link "$LINENO"; then :
21679   ac_cv_lib_m_tanhl=yes
21680 else
21681   ac_cv_lib_m_tanhl=no
21682 fi
21683 rm -f core conftest.err conftest.$ac_objext \
21684     conftest$ac_exeext conftest.$ac_ext
21685 LIBS=$ac_check_lib_save_LIBS
21686 fi
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21688 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21689 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21690
21691 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21692
21693 fi
21694
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21696 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21697 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21698   $as_echo_n "(cached) " >&6
21699 else
21700   ac_check_lib_save_LIBS=$LIBS
21701 LIBS="-lm  $LIBS"
21702 if test x$gcc_no_link = xyes; then
21703   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21704 fi
21705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21706 /* end confdefs.h.  */
21707
21708 /* Override any GCC internal prototype to avoid an error.
21709    Use char because int might match the return type of a GCC
21710    builtin and then its argument prototype would still apply.  */
21711 #ifdef __cplusplus
21712 extern "C"
21713 #endif
21714 char ctanhf ();
21715 int
21716 main ()
21717 {
21718 return ctanhf ();
21719   ;
21720   return 0;
21721 }
21722 _ACEOF
21723 if ac_fn_c_try_link "$LINENO"; then :
21724   ac_cv_lib_m_ctanhf=yes
21725 else
21726   ac_cv_lib_m_ctanhf=no
21727 fi
21728 rm -f core conftest.err conftest.$ac_objext \
21729     conftest$ac_exeext conftest.$ac_ext
21730 LIBS=$ac_check_lib_save_LIBS
21731 fi
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21733 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21734 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21735
21736 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21737
21738 fi
21739
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21741 $as_echo_n "checking for ctanh in -lm... " >&6; }
21742 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21743   $as_echo_n "(cached) " >&6
21744 else
21745   ac_check_lib_save_LIBS=$LIBS
21746 LIBS="-lm  $LIBS"
21747 if test x$gcc_no_link = xyes; then
21748   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21749 fi
21750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21751 /* end confdefs.h.  */
21752
21753 /* Override any GCC internal prototype to avoid an error.
21754    Use char because int might match the return type of a GCC
21755    builtin and then its argument prototype would still apply.  */
21756 #ifdef __cplusplus
21757 extern "C"
21758 #endif
21759 char ctanh ();
21760 int
21761 main ()
21762 {
21763 return ctanh ();
21764   ;
21765   return 0;
21766 }
21767 _ACEOF
21768 if ac_fn_c_try_link "$LINENO"; then :
21769   ac_cv_lib_m_ctanh=yes
21770 else
21771   ac_cv_lib_m_ctanh=no
21772 fi
21773 rm -f core conftest.err conftest.$ac_objext \
21774     conftest$ac_exeext conftest.$ac_ext
21775 LIBS=$ac_check_lib_save_LIBS
21776 fi
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21778 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21779 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21780
21781 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21782
21783 fi
21784
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21786 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21787 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21788   $as_echo_n "(cached) " >&6
21789 else
21790   ac_check_lib_save_LIBS=$LIBS
21791 LIBS="-lm  $LIBS"
21792 if test x$gcc_no_link = xyes; then
21793   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21794 fi
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h.  */
21797
21798 /* Override any GCC internal prototype to avoid an error.
21799    Use char because int might match the return type of a GCC
21800    builtin and then its argument prototype would still apply.  */
21801 #ifdef __cplusplus
21802 extern "C"
21803 #endif
21804 char ctanhl ();
21805 int
21806 main ()
21807 {
21808 return ctanhl ();
21809   ;
21810   return 0;
21811 }
21812 _ACEOF
21813 if ac_fn_c_try_link "$LINENO"; then :
21814   ac_cv_lib_m_ctanhl=yes
21815 else
21816   ac_cv_lib_m_ctanhl=no
21817 fi
21818 rm -f core conftest.err conftest.$ac_objext \
21819     conftest$ac_exeext conftest.$ac_ext
21820 LIBS=$ac_check_lib_save_LIBS
21821 fi
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21823 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21824 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21825
21826 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21827
21828 fi
21829
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21831 $as_echo_n "checking for truncf in -lm... " >&6; }
21832 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21833   $as_echo_n "(cached) " >&6
21834 else
21835   ac_check_lib_save_LIBS=$LIBS
21836 LIBS="-lm  $LIBS"
21837 if test x$gcc_no_link = xyes; then
21838   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21839 fi
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h.  */
21842
21843 /* Override any GCC internal prototype to avoid an error.
21844    Use char because int might match the return type of a GCC
21845    builtin and then its argument prototype would still apply.  */
21846 #ifdef __cplusplus
21847 extern "C"
21848 #endif
21849 char truncf ();
21850 int
21851 main ()
21852 {
21853 return truncf ();
21854   ;
21855   return 0;
21856 }
21857 _ACEOF
21858 if ac_fn_c_try_link "$LINENO"; then :
21859   ac_cv_lib_m_truncf=yes
21860 else
21861   ac_cv_lib_m_truncf=no
21862 fi
21863 rm -f core conftest.err conftest.$ac_objext \
21864     conftest$ac_exeext conftest.$ac_ext
21865 LIBS=$ac_check_lib_save_LIBS
21866 fi
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21868 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21869 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21870
21871 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21872
21873 fi
21874
21875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21876 $as_echo_n "checking for trunc in -lm... " >&6; }
21877 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21878   $as_echo_n "(cached) " >&6
21879 else
21880   ac_check_lib_save_LIBS=$LIBS
21881 LIBS="-lm  $LIBS"
21882 if test x$gcc_no_link = xyes; then
21883   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21884 fi
21885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h.  */
21887
21888 /* Override any GCC internal prototype to avoid an error.
21889    Use char because int might match the return type of a GCC
21890    builtin and then its argument prototype would still apply.  */
21891 #ifdef __cplusplus
21892 extern "C"
21893 #endif
21894 char trunc ();
21895 int
21896 main ()
21897 {
21898 return trunc ();
21899   ;
21900   return 0;
21901 }
21902 _ACEOF
21903 if ac_fn_c_try_link "$LINENO"; then :
21904   ac_cv_lib_m_trunc=yes
21905 else
21906   ac_cv_lib_m_trunc=no
21907 fi
21908 rm -f core conftest.err conftest.$ac_objext \
21909     conftest$ac_exeext conftest.$ac_ext
21910 LIBS=$ac_check_lib_save_LIBS
21911 fi
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21913 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21914 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21915
21916 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21917
21918 fi
21919
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21921 $as_echo_n "checking for truncl in -lm... " >&6; }
21922 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21923   $as_echo_n "(cached) " >&6
21924 else
21925   ac_check_lib_save_LIBS=$LIBS
21926 LIBS="-lm  $LIBS"
21927 if test x$gcc_no_link = xyes; then
21928   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21929 fi
21930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h.  */
21932
21933 /* Override any GCC internal prototype to avoid an error.
21934    Use char because int might match the return type of a GCC
21935    builtin and then its argument prototype would still apply.  */
21936 #ifdef __cplusplus
21937 extern "C"
21938 #endif
21939 char truncl ();
21940 int
21941 main ()
21942 {
21943 return truncl ();
21944   ;
21945   return 0;
21946 }
21947 _ACEOF
21948 if ac_fn_c_try_link "$LINENO"; then :
21949   ac_cv_lib_m_truncl=yes
21950 else
21951   ac_cv_lib_m_truncl=no
21952 fi
21953 rm -f core conftest.err conftest.$ac_objext \
21954     conftest$ac_exeext conftest.$ac_ext
21955 LIBS=$ac_check_lib_save_LIBS
21956 fi
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21958 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21959 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21960
21961 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21962
21963 fi
21964
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21966 $as_echo_n "checking for erff in -lm... " >&6; }
21967 if test "${ac_cv_lib_m_erff+set}" = set; then :
21968   $as_echo_n "(cached) " >&6
21969 else
21970   ac_check_lib_save_LIBS=$LIBS
21971 LIBS="-lm  $LIBS"
21972 if test x$gcc_no_link = xyes; then
21973   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21974 fi
21975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21976 /* end confdefs.h.  */
21977
21978 /* Override any GCC internal prototype to avoid an error.
21979    Use char because int might match the return type of a GCC
21980    builtin and then its argument prototype would still apply.  */
21981 #ifdef __cplusplus
21982 extern "C"
21983 #endif
21984 char erff ();
21985 int
21986 main ()
21987 {
21988 return erff ();
21989   ;
21990   return 0;
21991 }
21992 _ACEOF
21993 if ac_fn_c_try_link "$LINENO"; then :
21994   ac_cv_lib_m_erff=yes
21995 else
21996   ac_cv_lib_m_erff=no
21997 fi
21998 rm -f core conftest.err conftest.$ac_objext \
21999     conftest$ac_exeext conftest.$ac_ext
22000 LIBS=$ac_check_lib_save_LIBS
22001 fi
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22003 $as_echo "$ac_cv_lib_m_erff" >&6; }
22004 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22005
22006 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22007
22008 fi
22009
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22011 $as_echo_n "checking for erf in -lm... " >&6; }
22012 if test "${ac_cv_lib_m_erf+set}" = set; then :
22013   $as_echo_n "(cached) " >&6
22014 else
22015   ac_check_lib_save_LIBS=$LIBS
22016 LIBS="-lm  $LIBS"
22017 if test x$gcc_no_link = xyes; then
22018   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22019 fi
22020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22021 /* end confdefs.h.  */
22022
22023 /* Override any GCC internal prototype to avoid an error.
22024    Use char because int might match the return type of a GCC
22025    builtin and then its argument prototype would still apply.  */
22026 #ifdef __cplusplus
22027 extern "C"
22028 #endif
22029 char erf ();
22030 int
22031 main ()
22032 {
22033 return erf ();
22034   ;
22035   return 0;
22036 }
22037 _ACEOF
22038 if ac_fn_c_try_link "$LINENO"; then :
22039   ac_cv_lib_m_erf=yes
22040 else
22041   ac_cv_lib_m_erf=no
22042 fi
22043 rm -f core conftest.err conftest.$ac_objext \
22044     conftest$ac_exeext conftest.$ac_ext
22045 LIBS=$ac_check_lib_save_LIBS
22046 fi
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22048 $as_echo "$ac_cv_lib_m_erf" >&6; }
22049 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22050
22051 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22052
22053 fi
22054
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22056 $as_echo_n "checking for erfl in -lm... " >&6; }
22057 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22058   $as_echo_n "(cached) " >&6
22059 else
22060   ac_check_lib_save_LIBS=$LIBS
22061 LIBS="-lm  $LIBS"
22062 if test x$gcc_no_link = xyes; then
22063   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22064 fi
22065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22066 /* end confdefs.h.  */
22067
22068 /* Override any GCC internal prototype to avoid an error.
22069    Use char because int might match the return type of a GCC
22070    builtin and then its argument prototype would still apply.  */
22071 #ifdef __cplusplus
22072 extern "C"
22073 #endif
22074 char erfl ();
22075 int
22076 main ()
22077 {
22078 return erfl ();
22079   ;
22080   return 0;
22081 }
22082 _ACEOF
22083 if ac_fn_c_try_link "$LINENO"; then :
22084   ac_cv_lib_m_erfl=yes
22085 else
22086   ac_cv_lib_m_erfl=no
22087 fi
22088 rm -f core conftest.err conftest.$ac_objext \
22089     conftest$ac_exeext conftest.$ac_ext
22090 LIBS=$ac_check_lib_save_LIBS
22091 fi
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22093 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22094 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22095
22096 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22097
22098 fi
22099
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22101 $as_echo_n "checking for erfcf in -lm... " >&6; }
22102 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22103   $as_echo_n "(cached) " >&6
22104 else
22105   ac_check_lib_save_LIBS=$LIBS
22106 LIBS="-lm  $LIBS"
22107 if test x$gcc_no_link = xyes; then
22108   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22109 fi
22110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22111 /* end confdefs.h.  */
22112
22113 /* Override any GCC internal prototype to avoid an error.
22114    Use char because int might match the return type of a GCC
22115    builtin and then its argument prototype would still apply.  */
22116 #ifdef __cplusplus
22117 extern "C"
22118 #endif
22119 char erfcf ();
22120 int
22121 main ()
22122 {
22123 return erfcf ();
22124   ;
22125   return 0;
22126 }
22127 _ACEOF
22128 if ac_fn_c_try_link "$LINENO"; then :
22129   ac_cv_lib_m_erfcf=yes
22130 else
22131   ac_cv_lib_m_erfcf=no
22132 fi
22133 rm -f core conftest.err conftest.$ac_objext \
22134     conftest$ac_exeext conftest.$ac_ext
22135 LIBS=$ac_check_lib_save_LIBS
22136 fi
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22138 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22139 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22140
22141 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22142
22143 fi
22144
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22146 $as_echo_n "checking for erfc in -lm... " >&6; }
22147 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22148   $as_echo_n "(cached) " >&6
22149 else
22150   ac_check_lib_save_LIBS=$LIBS
22151 LIBS="-lm  $LIBS"
22152 if test x$gcc_no_link = xyes; then
22153   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22154 fi
22155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22156 /* end confdefs.h.  */
22157
22158 /* Override any GCC internal prototype to avoid an error.
22159    Use char because int might match the return type of a GCC
22160    builtin and then its argument prototype would still apply.  */
22161 #ifdef __cplusplus
22162 extern "C"
22163 #endif
22164 char erfc ();
22165 int
22166 main ()
22167 {
22168 return erfc ();
22169   ;
22170   return 0;
22171 }
22172 _ACEOF
22173 if ac_fn_c_try_link "$LINENO"; then :
22174   ac_cv_lib_m_erfc=yes
22175 else
22176   ac_cv_lib_m_erfc=no
22177 fi
22178 rm -f core conftest.err conftest.$ac_objext \
22179     conftest$ac_exeext conftest.$ac_ext
22180 LIBS=$ac_check_lib_save_LIBS
22181 fi
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22183 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22184 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22185
22186 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22187
22188 fi
22189
22190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22191 $as_echo_n "checking for erfcl in -lm... " >&6; }
22192 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22193   $as_echo_n "(cached) " >&6
22194 else
22195   ac_check_lib_save_LIBS=$LIBS
22196 LIBS="-lm  $LIBS"
22197 if test x$gcc_no_link = xyes; then
22198   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22199 fi
22200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22201 /* end confdefs.h.  */
22202
22203 /* Override any GCC internal prototype to avoid an error.
22204    Use char because int might match the return type of a GCC
22205    builtin and then its argument prototype would still apply.  */
22206 #ifdef __cplusplus
22207 extern "C"
22208 #endif
22209 char erfcl ();
22210 int
22211 main ()
22212 {
22213 return erfcl ();
22214   ;
22215   return 0;
22216 }
22217 _ACEOF
22218 if ac_fn_c_try_link "$LINENO"; then :
22219   ac_cv_lib_m_erfcl=yes
22220 else
22221   ac_cv_lib_m_erfcl=no
22222 fi
22223 rm -f core conftest.err conftest.$ac_objext \
22224     conftest$ac_exeext conftest.$ac_ext
22225 LIBS=$ac_check_lib_save_LIBS
22226 fi
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22228 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22229 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22230
22231 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22232
22233 fi
22234
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22236 $as_echo_n "checking for j0f in -lm... " >&6; }
22237 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22238   $as_echo_n "(cached) " >&6
22239 else
22240   ac_check_lib_save_LIBS=$LIBS
22241 LIBS="-lm  $LIBS"
22242 if test x$gcc_no_link = xyes; then
22243   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22244 fi
22245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22246 /* end confdefs.h.  */
22247
22248 /* Override any GCC internal prototype to avoid an error.
22249    Use char because int might match the return type of a GCC
22250    builtin and then its argument prototype would still apply.  */
22251 #ifdef __cplusplus
22252 extern "C"
22253 #endif
22254 char j0f ();
22255 int
22256 main ()
22257 {
22258 return j0f ();
22259   ;
22260   return 0;
22261 }
22262 _ACEOF
22263 if ac_fn_c_try_link "$LINENO"; then :
22264   ac_cv_lib_m_j0f=yes
22265 else
22266   ac_cv_lib_m_j0f=no
22267 fi
22268 rm -f core conftest.err conftest.$ac_objext \
22269     conftest$ac_exeext conftest.$ac_ext
22270 LIBS=$ac_check_lib_save_LIBS
22271 fi
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22273 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22274 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22275
22276 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22277
22278 fi
22279
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22281 $as_echo_n "checking for j0 in -lm... " >&6; }
22282 if test "${ac_cv_lib_m_j0+set}" = set; then :
22283   $as_echo_n "(cached) " >&6
22284 else
22285   ac_check_lib_save_LIBS=$LIBS
22286 LIBS="-lm  $LIBS"
22287 if test x$gcc_no_link = xyes; then
22288   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22289 fi
22290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22291 /* end confdefs.h.  */
22292
22293 /* Override any GCC internal prototype to avoid an error.
22294    Use char because int might match the return type of a GCC
22295    builtin and then its argument prototype would still apply.  */
22296 #ifdef __cplusplus
22297 extern "C"
22298 #endif
22299 char j0 ();
22300 int
22301 main ()
22302 {
22303 return j0 ();
22304   ;
22305   return 0;
22306 }
22307 _ACEOF
22308 if ac_fn_c_try_link "$LINENO"; then :
22309   ac_cv_lib_m_j0=yes
22310 else
22311   ac_cv_lib_m_j0=no
22312 fi
22313 rm -f core conftest.err conftest.$ac_objext \
22314     conftest$ac_exeext conftest.$ac_ext
22315 LIBS=$ac_check_lib_save_LIBS
22316 fi
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22318 $as_echo "$ac_cv_lib_m_j0" >&6; }
22319 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22320
22321 $as_echo "#define HAVE_J0 1" >>confdefs.h
22322
22323 fi
22324
22325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22326 $as_echo_n "checking for j0l in -lm... " >&6; }
22327 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22328   $as_echo_n "(cached) " >&6
22329 else
22330   ac_check_lib_save_LIBS=$LIBS
22331 LIBS="-lm  $LIBS"
22332 if test x$gcc_no_link = xyes; then
22333   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22334 fi
22335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22336 /* end confdefs.h.  */
22337
22338 /* Override any GCC internal prototype to avoid an error.
22339    Use char because int might match the return type of a GCC
22340    builtin and then its argument prototype would still apply.  */
22341 #ifdef __cplusplus
22342 extern "C"
22343 #endif
22344 char j0l ();
22345 int
22346 main ()
22347 {
22348 return j0l ();
22349   ;
22350   return 0;
22351 }
22352 _ACEOF
22353 if ac_fn_c_try_link "$LINENO"; then :
22354   ac_cv_lib_m_j0l=yes
22355 else
22356   ac_cv_lib_m_j0l=no
22357 fi
22358 rm -f core conftest.err conftest.$ac_objext \
22359     conftest$ac_exeext conftest.$ac_ext
22360 LIBS=$ac_check_lib_save_LIBS
22361 fi
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22363 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22364 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22365
22366 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22367
22368 fi
22369
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22371 $as_echo_n "checking for j1f in -lm... " >&6; }
22372 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22373   $as_echo_n "(cached) " >&6
22374 else
22375   ac_check_lib_save_LIBS=$LIBS
22376 LIBS="-lm  $LIBS"
22377 if test x$gcc_no_link = xyes; then
22378   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22379 fi
22380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22381 /* end confdefs.h.  */
22382
22383 /* Override any GCC internal prototype to avoid an error.
22384    Use char because int might match the return type of a GCC
22385    builtin and then its argument prototype would still apply.  */
22386 #ifdef __cplusplus
22387 extern "C"
22388 #endif
22389 char j1f ();
22390 int
22391 main ()
22392 {
22393 return j1f ();
22394   ;
22395   return 0;
22396 }
22397 _ACEOF
22398 if ac_fn_c_try_link "$LINENO"; then :
22399   ac_cv_lib_m_j1f=yes
22400 else
22401   ac_cv_lib_m_j1f=no
22402 fi
22403 rm -f core conftest.err conftest.$ac_objext \
22404     conftest$ac_exeext conftest.$ac_ext
22405 LIBS=$ac_check_lib_save_LIBS
22406 fi
22407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22408 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22409 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22410
22411 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22412
22413 fi
22414
22415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22416 $as_echo_n "checking for j1 in -lm... " >&6; }
22417 if test "${ac_cv_lib_m_j1+set}" = set; then :
22418   $as_echo_n "(cached) " >&6
22419 else
22420   ac_check_lib_save_LIBS=$LIBS
22421 LIBS="-lm  $LIBS"
22422 if test x$gcc_no_link = xyes; then
22423   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22424 fi
22425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22426 /* end confdefs.h.  */
22427
22428 /* Override any GCC internal prototype to avoid an error.
22429    Use char because int might match the return type of a GCC
22430    builtin and then its argument prototype would still apply.  */
22431 #ifdef __cplusplus
22432 extern "C"
22433 #endif
22434 char j1 ();
22435 int
22436 main ()
22437 {
22438 return j1 ();
22439   ;
22440   return 0;
22441 }
22442 _ACEOF
22443 if ac_fn_c_try_link "$LINENO"; then :
22444   ac_cv_lib_m_j1=yes
22445 else
22446   ac_cv_lib_m_j1=no
22447 fi
22448 rm -f core conftest.err conftest.$ac_objext \
22449     conftest$ac_exeext conftest.$ac_ext
22450 LIBS=$ac_check_lib_save_LIBS
22451 fi
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22453 $as_echo "$ac_cv_lib_m_j1" >&6; }
22454 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22455
22456 $as_echo "#define HAVE_J1 1" >>confdefs.h
22457
22458 fi
22459
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22461 $as_echo_n "checking for j1l in -lm... " >&6; }
22462 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22463   $as_echo_n "(cached) " >&6
22464 else
22465   ac_check_lib_save_LIBS=$LIBS
22466 LIBS="-lm  $LIBS"
22467 if test x$gcc_no_link = xyes; then
22468   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22469 fi
22470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22471 /* end confdefs.h.  */
22472
22473 /* Override any GCC internal prototype to avoid an error.
22474    Use char because int might match the return type of a GCC
22475    builtin and then its argument prototype would still apply.  */
22476 #ifdef __cplusplus
22477 extern "C"
22478 #endif
22479 char j1l ();
22480 int
22481 main ()
22482 {
22483 return j1l ();
22484   ;
22485   return 0;
22486 }
22487 _ACEOF
22488 if ac_fn_c_try_link "$LINENO"; then :
22489   ac_cv_lib_m_j1l=yes
22490 else
22491   ac_cv_lib_m_j1l=no
22492 fi
22493 rm -f core conftest.err conftest.$ac_objext \
22494     conftest$ac_exeext conftest.$ac_ext
22495 LIBS=$ac_check_lib_save_LIBS
22496 fi
22497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22498 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22499 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22500
22501 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22502
22503 fi
22504
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22506 $as_echo_n "checking for jnf in -lm... " >&6; }
22507 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22508   $as_echo_n "(cached) " >&6
22509 else
22510   ac_check_lib_save_LIBS=$LIBS
22511 LIBS="-lm  $LIBS"
22512 if test x$gcc_no_link = xyes; then
22513   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22514 fi
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h.  */
22517
22518 /* Override any GCC internal prototype to avoid an error.
22519    Use char because int might match the return type of a GCC
22520    builtin and then its argument prototype would still apply.  */
22521 #ifdef __cplusplus
22522 extern "C"
22523 #endif
22524 char jnf ();
22525 int
22526 main ()
22527 {
22528 return jnf ();
22529   ;
22530   return 0;
22531 }
22532 _ACEOF
22533 if ac_fn_c_try_link "$LINENO"; then :
22534   ac_cv_lib_m_jnf=yes
22535 else
22536   ac_cv_lib_m_jnf=no
22537 fi
22538 rm -f core conftest.err conftest.$ac_objext \
22539     conftest$ac_exeext conftest.$ac_ext
22540 LIBS=$ac_check_lib_save_LIBS
22541 fi
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22543 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22544 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22545
22546 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22547
22548 fi
22549
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22551 $as_echo_n "checking for jn in -lm... " >&6; }
22552 if test "${ac_cv_lib_m_jn+set}" = set; then :
22553   $as_echo_n "(cached) " >&6
22554 else
22555   ac_check_lib_save_LIBS=$LIBS
22556 LIBS="-lm  $LIBS"
22557 if test x$gcc_no_link = xyes; then
22558   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22559 fi
22560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22561 /* end confdefs.h.  */
22562
22563 /* Override any GCC internal prototype to avoid an error.
22564    Use char because int might match the return type of a GCC
22565    builtin and then its argument prototype would still apply.  */
22566 #ifdef __cplusplus
22567 extern "C"
22568 #endif
22569 char jn ();
22570 int
22571 main ()
22572 {
22573 return jn ();
22574   ;
22575   return 0;
22576 }
22577 _ACEOF
22578 if ac_fn_c_try_link "$LINENO"; then :
22579   ac_cv_lib_m_jn=yes
22580 else
22581   ac_cv_lib_m_jn=no
22582 fi
22583 rm -f core conftest.err conftest.$ac_objext \
22584     conftest$ac_exeext conftest.$ac_ext
22585 LIBS=$ac_check_lib_save_LIBS
22586 fi
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22588 $as_echo "$ac_cv_lib_m_jn" >&6; }
22589 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22590
22591 $as_echo "#define HAVE_JN 1" >>confdefs.h
22592
22593 fi
22594
22595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22596 $as_echo_n "checking for jnl in -lm... " >&6; }
22597 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22598   $as_echo_n "(cached) " >&6
22599 else
22600   ac_check_lib_save_LIBS=$LIBS
22601 LIBS="-lm  $LIBS"
22602 if test x$gcc_no_link = xyes; then
22603   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22604 fi
22605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22606 /* end confdefs.h.  */
22607
22608 /* Override any GCC internal prototype to avoid an error.
22609    Use char because int might match the return type of a GCC
22610    builtin and then its argument prototype would still apply.  */
22611 #ifdef __cplusplus
22612 extern "C"
22613 #endif
22614 char jnl ();
22615 int
22616 main ()
22617 {
22618 return jnl ();
22619   ;
22620   return 0;
22621 }
22622 _ACEOF
22623 if ac_fn_c_try_link "$LINENO"; then :
22624   ac_cv_lib_m_jnl=yes
22625 else
22626   ac_cv_lib_m_jnl=no
22627 fi
22628 rm -f core conftest.err conftest.$ac_objext \
22629     conftest$ac_exeext conftest.$ac_ext
22630 LIBS=$ac_check_lib_save_LIBS
22631 fi
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22633 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22634 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22635
22636 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22637
22638 fi
22639
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22641 $as_echo_n "checking for y0f in -lm... " >&6; }
22642 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22643   $as_echo_n "(cached) " >&6
22644 else
22645   ac_check_lib_save_LIBS=$LIBS
22646 LIBS="-lm  $LIBS"
22647 if test x$gcc_no_link = xyes; then
22648   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22649 fi
22650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h.  */
22652
22653 /* Override any GCC internal prototype to avoid an error.
22654    Use char because int might match the return type of a GCC
22655    builtin and then its argument prototype would still apply.  */
22656 #ifdef __cplusplus
22657 extern "C"
22658 #endif
22659 char y0f ();
22660 int
22661 main ()
22662 {
22663 return y0f ();
22664   ;
22665   return 0;
22666 }
22667 _ACEOF
22668 if ac_fn_c_try_link "$LINENO"; then :
22669   ac_cv_lib_m_y0f=yes
22670 else
22671   ac_cv_lib_m_y0f=no
22672 fi
22673 rm -f core conftest.err conftest.$ac_objext \
22674     conftest$ac_exeext conftest.$ac_ext
22675 LIBS=$ac_check_lib_save_LIBS
22676 fi
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22678 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22679 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22680
22681 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22682
22683 fi
22684
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22686 $as_echo_n "checking for y0 in -lm... " >&6; }
22687 if test "${ac_cv_lib_m_y0+set}" = set; then :
22688   $as_echo_n "(cached) " >&6
22689 else
22690   ac_check_lib_save_LIBS=$LIBS
22691 LIBS="-lm  $LIBS"
22692 if test x$gcc_no_link = xyes; then
22693   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22694 fi
22695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22696 /* end confdefs.h.  */
22697
22698 /* Override any GCC internal prototype to avoid an error.
22699    Use char because int might match the return type of a GCC
22700    builtin and then its argument prototype would still apply.  */
22701 #ifdef __cplusplus
22702 extern "C"
22703 #endif
22704 char y0 ();
22705 int
22706 main ()
22707 {
22708 return y0 ();
22709   ;
22710   return 0;
22711 }
22712 _ACEOF
22713 if ac_fn_c_try_link "$LINENO"; then :
22714   ac_cv_lib_m_y0=yes
22715 else
22716   ac_cv_lib_m_y0=no
22717 fi
22718 rm -f core conftest.err conftest.$ac_objext \
22719     conftest$ac_exeext conftest.$ac_ext
22720 LIBS=$ac_check_lib_save_LIBS
22721 fi
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22723 $as_echo "$ac_cv_lib_m_y0" >&6; }
22724 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22725
22726 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22727
22728 fi
22729
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22731 $as_echo_n "checking for y0l in -lm... " >&6; }
22732 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22733   $as_echo_n "(cached) " >&6
22734 else
22735   ac_check_lib_save_LIBS=$LIBS
22736 LIBS="-lm  $LIBS"
22737 if test x$gcc_no_link = xyes; then
22738   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22739 fi
22740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22741 /* end confdefs.h.  */
22742
22743 /* Override any GCC internal prototype to avoid an error.
22744    Use char because int might match the return type of a GCC
22745    builtin and then its argument prototype would still apply.  */
22746 #ifdef __cplusplus
22747 extern "C"
22748 #endif
22749 char y0l ();
22750 int
22751 main ()
22752 {
22753 return y0l ();
22754   ;
22755   return 0;
22756 }
22757 _ACEOF
22758 if ac_fn_c_try_link "$LINENO"; then :
22759   ac_cv_lib_m_y0l=yes
22760 else
22761   ac_cv_lib_m_y0l=no
22762 fi
22763 rm -f core conftest.err conftest.$ac_objext \
22764     conftest$ac_exeext conftest.$ac_ext
22765 LIBS=$ac_check_lib_save_LIBS
22766 fi
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22768 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22769 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22770
22771 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22772
22773 fi
22774
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22776 $as_echo_n "checking for y1f in -lm... " >&6; }
22777 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22778   $as_echo_n "(cached) " >&6
22779 else
22780   ac_check_lib_save_LIBS=$LIBS
22781 LIBS="-lm  $LIBS"
22782 if test x$gcc_no_link = xyes; then
22783   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22784 fi
22785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22786 /* end confdefs.h.  */
22787
22788 /* Override any GCC internal prototype to avoid an error.
22789    Use char because int might match the return type of a GCC
22790    builtin and then its argument prototype would still apply.  */
22791 #ifdef __cplusplus
22792 extern "C"
22793 #endif
22794 char y1f ();
22795 int
22796 main ()
22797 {
22798 return y1f ();
22799   ;
22800   return 0;
22801 }
22802 _ACEOF
22803 if ac_fn_c_try_link "$LINENO"; then :
22804   ac_cv_lib_m_y1f=yes
22805 else
22806   ac_cv_lib_m_y1f=no
22807 fi
22808 rm -f core conftest.err conftest.$ac_objext \
22809     conftest$ac_exeext conftest.$ac_ext
22810 LIBS=$ac_check_lib_save_LIBS
22811 fi
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22813 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22814 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22815
22816 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22817
22818 fi
22819
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22821 $as_echo_n "checking for y1 in -lm... " >&6; }
22822 if test "${ac_cv_lib_m_y1+set}" = set; then :
22823   $as_echo_n "(cached) " >&6
22824 else
22825   ac_check_lib_save_LIBS=$LIBS
22826 LIBS="-lm  $LIBS"
22827 if test x$gcc_no_link = xyes; then
22828   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22829 fi
22830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22831 /* end confdefs.h.  */
22832
22833 /* Override any GCC internal prototype to avoid an error.
22834    Use char because int might match the return type of a GCC
22835    builtin and then its argument prototype would still apply.  */
22836 #ifdef __cplusplus
22837 extern "C"
22838 #endif
22839 char y1 ();
22840 int
22841 main ()
22842 {
22843 return y1 ();
22844   ;
22845   return 0;
22846 }
22847 _ACEOF
22848 if ac_fn_c_try_link "$LINENO"; then :
22849   ac_cv_lib_m_y1=yes
22850 else
22851   ac_cv_lib_m_y1=no
22852 fi
22853 rm -f core conftest.err conftest.$ac_objext \
22854     conftest$ac_exeext conftest.$ac_ext
22855 LIBS=$ac_check_lib_save_LIBS
22856 fi
22857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22858 $as_echo "$ac_cv_lib_m_y1" >&6; }
22859 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22860
22861 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22862
22863 fi
22864
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22866 $as_echo_n "checking for y1l in -lm... " >&6; }
22867 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22868   $as_echo_n "(cached) " >&6
22869 else
22870   ac_check_lib_save_LIBS=$LIBS
22871 LIBS="-lm  $LIBS"
22872 if test x$gcc_no_link = xyes; then
22873   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22874 fi
22875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22876 /* end confdefs.h.  */
22877
22878 /* Override any GCC internal prototype to avoid an error.
22879    Use char because int might match the return type of a GCC
22880    builtin and then its argument prototype would still apply.  */
22881 #ifdef __cplusplus
22882 extern "C"
22883 #endif
22884 char y1l ();
22885 int
22886 main ()
22887 {
22888 return y1l ();
22889   ;
22890   return 0;
22891 }
22892 _ACEOF
22893 if ac_fn_c_try_link "$LINENO"; then :
22894   ac_cv_lib_m_y1l=yes
22895 else
22896   ac_cv_lib_m_y1l=no
22897 fi
22898 rm -f core conftest.err conftest.$ac_objext \
22899     conftest$ac_exeext conftest.$ac_ext
22900 LIBS=$ac_check_lib_save_LIBS
22901 fi
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22903 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22904 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22905
22906 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22907
22908 fi
22909
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22911 $as_echo_n "checking for ynf in -lm... " >&6; }
22912 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22913   $as_echo_n "(cached) " >&6
22914 else
22915   ac_check_lib_save_LIBS=$LIBS
22916 LIBS="-lm  $LIBS"
22917 if test x$gcc_no_link = xyes; then
22918   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22919 fi
22920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22921 /* end confdefs.h.  */
22922
22923 /* Override any GCC internal prototype to avoid an error.
22924    Use char because int might match the return type of a GCC
22925    builtin and then its argument prototype would still apply.  */
22926 #ifdef __cplusplus
22927 extern "C"
22928 #endif
22929 char ynf ();
22930 int
22931 main ()
22932 {
22933 return ynf ();
22934   ;
22935   return 0;
22936 }
22937 _ACEOF
22938 if ac_fn_c_try_link "$LINENO"; then :
22939   ac_cv_lib_m_ynf=yes
22940 else
22941   ac_cv_lib_m_ynf=no
22942 fi
22943 rm -f core conftest.err conftest.$ac_objext \
22944     conftest$ac_exeext conftest.$ac_ext
22945 LIBS=$ac_check_lib_save_LIBS
22946 fi
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22948 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22949 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22950
22951 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22952
22953 fi
22954
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22956 $as_echo_n "checking for yn in -lm... " >&6; }
22957 if test "${ac_cv_lib_m_yn+set}" = set; then :
22958   $as_echo_n "(cached) " >&6
22959 else
22960   ac_check_lib_save_LIBS=$LIBS
22961 LIBS="-lm  $LIBS"
22962 if test x$gcc_no_link = xyes; then
22963   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22964 fi
22965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22966 /* end confdefs.h.  */
22967
22968 /* Override any GCC internal prototype to avoid an error.
22969    Use char because int might match the return type of a GCC
22970    builtin and then its argument prototype would still apply.  */
22971 #ifdef __cplusplus
22972 extern "C"
22973 #endif
22974 char yn ();
22975 int
22976 main ()
22977 {
22978 return yn ();
22979   ;
22980   return 0;
22981 }
22982 _ACEOF
22983 if ac_fn_c_try_link "$LINENO"; then :
22984   ac_cv_lib_m_yn=yes
22985 else
22986   ac_cv_lib_m_yn=no
22987 fi
22988 rm -f core conftest.err conftest.$ac_objext \
22989     conftest$ac_exeext conftest.$ac_ext
22990 LIBS=$ac_check_lib_save_LIBS
22991 fi
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
22993 $as_echo "$ac_cv_lib_m_yn" >&6; }
22994 if test "x$ac_cv_lib_m_yn" = x""yes; then :
22995
22996 $as_echo "#define HAVE_YN 1" >>confdefs.h
22997
22998 fi
22999
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23001 $as_echo_n "checking for ynl in -lm... " >&6; }
23002 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23003   $as_echo_n "(cached) " >&6
23004 else
23005   ac_check_lib_save_LIBS=$LIBS
23006 LIBS="-lm  $LIBS"
23007 if test x$gcc_no_link = xyes; then
23008   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23009 fi
23010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23011 /* end confdefs.h.  */
23012
23013 /* Override any GCC internal prototype to avoid an error.
23014    Use char because int might match the return type of a GCC
23015    builtin and then its argument prototype would still apply.  */
23016 #ifdef __cplusplus
23017 extern "C"
23018 #endif
23019 char ynl ();
23020 int
23021 main ()
23022 {
23023 return ynl ();
23024   ;
23025   return 0;
23026 }
23027 _ACEOF
23028 if ac_fn_c_try_link "$LINENO"; then :
23029   ac_cv_lib_m_ynl=yes
23030 else
23031   ac_cv_lib_m_ynl=no
23032 fi
23033 rm -f core conftest.err conftest.$ac_objext \
23034     conftest$ac_exeext conftest.$ac_ext
23035 LIBS=$ac_check_lib_save_LIBS
23036 fi
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23038 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23039 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23040
23041 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23042
23043 fi
23044
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23046 $as_echo_n "checking for tgamma in -lm... " >&6; }
23047 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23048   $as_echo_n "(cached) " >&6
23049 else
23050   ac_check_lib_save_LIBS=$LIBS
23051 LIBS="-lm  $LIBS"
23052 if test x$gcc_no_link = xyes; then
23053   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23054 fi
23055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23056 /* end confdefs.h.  */
23057
23058 /* Override any GCC internal prototype to avoid an error.
23059    Use char because int might match the return type of a GCC
23060    builtin and then its argument prototype would still apply.  */
23061 #ifdef __cplusplus
23062 extern "C"
23063 #endif
23064 char tgamma ();
23065 int
23066 main ()
23067 {
23068 return tgamma ();
23069   ;
23070   return 0;
23071 }
23072 _ACEOF
23073 if ac_fn_c_try_link "$LINENO"; then :
23074   ac_cv_lib_m_tgamma=yes
23075 else
23076   ac_cv_lib_m_tgamma=no
23077 fi
23078 rm -f core conftest.err conftest.$ac_objext \
23079     conftest$ac_exeext conftest.$ac_ext
23080 LIBS=$ac_check_lib_save_LIBS
23081 fi
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23083 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23084 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23085
23086 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23087
23088 fi
23089
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23091 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23092 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23093   $as_echo_n "(cached) " >&6
23094 else
23095   ac_check_lib_save_LIBS=$LIBS
23096 LIBS="-lm  $LIBS"
23097 if test x$gcc_no_link = xyes; then
23098   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23099 fi
23100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23101 /* end confdefs.h.  */
23102
23103 /* Override any GCC internal prototype to avoid an error.
23104    Use char because int might match the return type of a GCC
23105    builtin and then its argument prototype would still apply.  */
23106 #ifdef __cplusplus
23107 extern "C"
23108 #endif
23109 char tgammaf ();
23110 int
23111 main ()
23112 {
23113 return tgammaf ();
23114   ;
23115   return 0;
23116 }
23117 _ACEOF
23118 if ac_fn_c_try_link "$LINENO"; then :
23119   ac_cv_lib_m_tgammaf=yes
23120 else
23121   ac_cv_lib_m_tgammaf=no
23122 fi
23123 rm -f core conftest.err conftest.$ac_objext \
23124     conftest$ac_exeext conftest.$ac_ext
23125 LIBS=$ac_check_lib_save_LIBS
23126 fi
23127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23128 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23129 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23130
23131 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23132
23133 fi
23134
23135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23136 $as_echo_n "checking for tgammal in -lm... " >&6; }
23137 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23138   $as_echo_n "(cached) " >&6
23139 else
23140   ac_check_lib_save_LIBS=$LIBS
23141 LIBS="-lm  $LIBS"
23142 if test x$gcc_no_link = xyes; then
23143   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23144 fi
23145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23146 /* end confdefs.h.  */
23147
23148 /* Override any GCC internal prototype to avoid an error.
23149    Use char because int might match the return type of a GCC
23150    builtin and then its argument prototype would still apply.  */
23151 #ifdef __cplusplus
23152 extern "C"
23153 #endif
23154 char tgammal ();
23155 int
23156 main ()
23157 {
23158 return tgammal ();
23159   ;
23160   return 0;
23161 }
23162 _ACEOF
23163 if ac_fn_c_try_link "$LINENO"; then :
23164   ac_cv_lib_m_tgammal=yes
23165 else
23166   ac_cv_lib_m_tgammal=no
23167 fi
23168 rm -f core conftest.err conftest.$ac_objext \
23169     conftest$ac_exeext conftest.$ac_ext
23170 LIBS=$ac_check_lib_save_LIBS
23171 fi
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23173 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23174 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23175
23176 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23177
23178 fi
23179
23180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23181 $as_echo_n "checking for lgamma in -lm... " >&6; }
23182 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23183   $as_echo_n "(cached) " >&6
23184 else
23185   ac_check_lib_save_LIBS=$LIBS
23186 LIBS="-lm  $LIBS"
23187 if test x$gcc_no_link = xyes; then
23188   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23189 fi
23190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h.  */
23192
23193 /* Override any GCC internal prototype to avoid an error.
23194    Use char because int might match the return type of a GCC
23195    builtin and then its argument prototype would still apply.  */
23196 #ifdef __cplusplus
23197 extern "C"
23198 #endif
23199 char lgamma ();
23200 int
23201 main ()
23202 {
23203 return lgamma ();
23204   ;
23205   return 0;
23206 }
23207 _ACEOF
23208 if ac_fn_c_try_link "$LINENO"; then :
23209   ac_cv_lib_m_lgamma=yes
23210 else
23211   ac_cv_lib_m_lgamma=no
23212 fi
23213 rm -f core conftest.err conftest.$ac_objext \
23214     conftest$ac_exeext conftest.$ac_ext
23215 LIBS=$ac_check_lib_save_LIBS
23216 fi
23217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23218 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23219 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23220
23221 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23222
23223 fi
23224
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23226 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23227 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23228   $as_echo_n "(cached) " >&6
23229 else
23230   ac_check_lib_save_LIBS=$LIBS
23231 LIBS="-lm  $LIBS"
23232 if test x$gcc_no_link = xyes; then
23233   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23234 fi
23235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23236 /* end confdefs.h.  */
23237
23238 /* Override any GCC internal prototype to avoid an error.
23239    Use char because int might match the return type of a GCC
23240    builtin and then its argument prototype would still apply.  */
23241 #ifdef __cplusplus
23242 extern "C"
23243 #endif
23244 char lgammaf ();
23245 int
23246 main ()
23247 {
23248 return lgammaf ();
23249   ;
23250   return 0;
23251 }
23252 _ACEOF
23253 if ac_fn_c_try_link "$LINENO"; then :
23254   ac_cv_lib_m_lgammaf=yes
23255 else
23256   ac_cv_lib_m_lgammaf=no
23257 fi
23258 rm -f core conftest.err conftest.$ac_objext \
23259     conftest$ac_exeext conftest.$ac_ext
23260 LIBS=$ac_check_lib_save_LIBS
23261 fi
23262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23263 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23264 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23265
23266 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23267
23268 fi
23269
23270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23271 $as_echo_n "checking for lgammal in -lm... " >&6; }
23272 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23273   $as_echo_n "(cached) " >&6
23274 else
23275   ac_check_lib_save_LIBS=$LIBS
23276 LIBS="-lm  $LIBS"
23277 if test x$gcc_no_link = xyes; then
23278   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23279 fi
23280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23281 /* end confdefs.h.  */
23282
23283 /* Override any GCC internal prototype to avoid an error.
23284    Use char because int might match the return type of a GCC
23285    builtin and then its argument prototype would still apply.  */
23286 #ifdef __cplusplus
23287 extern "C"
23288 #endif
23289 char lgammal ();
23290 int
23291 main ()
23292 {
23293 return lgammal ();
23294   ;
23295   return 0;
23296 }
23297 _ACEOF
23298 if ac_fn_c_try_link "$LINENO"; then :
23299   ac_cv_lib_m_lgammal=yes
23300 else
23301   ac_cv_lib_m_lgammal=no
23302 fi
23303 rm -f core conftest.err conftest.$ac_objext \
23304     conftest$ac_exeext conftest.$ac_ext
23305 LIBS=$ac_check_lib_save_LIBS
23306 fi
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23308 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23309 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23310
23311 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23312
23313 fi
23314
23315
23316 # Check for GFORTRAN_C99_1.1 funcs
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23318 $as_echo_n "checking for cacos in -lm... " >&6; }
23319 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23320   $as_echo_n "(cached) " >&6
23321 else
23322   ac_check_lib_save_LIBS=$LIBS
23323 LIBS="-lm  $LIBS"
23324 if test x$gcc_no_link = xyes; then
23325   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23326 fi
23327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23328 /* end confdefs.h.  */
23329
23330 /* Override any GCC internal prototype to avoid an error.
23331    Use char because int might match the return type of a GCC
23332    builtin and then its argument prototype would still apply.  */
23333 #ifdef __cplusplus
23334 extern "C"
23335 #endif
23336 char cacos ();
23337 int
23338 main ()
23339 {
23340 return cacos ();
23341   ;
23342   return 0;
23343 }
23344 _ACEOF
23345 if ac_fn_c_try_link "$LINENO"; then :
23346   ac_cv_lib_m_cacos=yes
23347 else
23348   ac_cv_lib_m_cacos=no
23349 fi
23350 rm -f core conftest.err conftest.$ac_objext \
23351     conftest$ac_exeext conftest.$ac_ext
23352 LIBS=$ac_check_lib_save_LIBS
23353 fi
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23355 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23356 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23357
23358 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23359
23360 fi
23361
23362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23363 $as_echo_n "checking for cacosf in -lm... " >&6; }
23364 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23365   $as_echo_n "(cached) " >&6
23366 else
23367   ac_check_lib_save_LIBS=$LIBS
23368 LIBS="-lm  $LIBS"
23369 if test x$gcc_no_link = xyes; then
23370   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23371 fi
23372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h.  */
23374
23375 /* Override any GCC internal prototype to avoid an error.
23376    Use char because int might match the return type of a GCC
23377    builtin and then its argument prototype would still apply.  */
23378 #ifdef __cplusplus
23379 extern "C"
23380 #endif
23381 char cacosf ();
23382 int
23383 main ()
23384 {
23385 return cacosf ();
23386   ;
23387   return 0;
23388 }
23389 _ACEOF
23390 if ac_fn_c_try_link "$LINENO"; then :
23391   ac_cv_lib_m_cacosf=yes
23392 else
23393   ac_cv_lib_m_cacosf=no
23394 fi
23395 rm -f core conftest.err conftest.$ac_objext \
23396     conftest$ac_exeext conftest.$ac_ext
23397 LIBS=$ac_check_lib_save_LIBS
23398 fi
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23400 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23401 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23402
23403 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23404
23405 fi
23406
23407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23408 $as_echo_n "checking for cacosh in -lm... " >&6; }
23409 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23410   $as_echo_n "(cached) " >&6
23411 else
23412   ac_check_lib_save_LIBS=$LIBS
23413 LIBS="-lm  $LIBS"
23414 if test x$gcc_no_link = xyes; then
23415   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23416 fi
23417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23418 /* end confdefs.h.  */
23419
23420 /* Override any GCC internal prototype to avoid an error.
23421    Use char because int might match the return type of a GCC
23422    builtin and then its argument prototype would still apply.  */
23423 #ifdef __cplusplus
23424 extern "C"
23425 #endif
23426 char cacosh ();
23427 int
23428 main ()
23429 {
23430 return cacosh ();
23431   ;
23432   return 0;
23433 }
23434 _ACEOF
23435 if ac_fn_c_try_link "$LINENO"; then :
23436   ac_cv_lib_m_cacosh=yes
23437 else
23438   ac_cv_lib_m_cacosh=no
23439 fi
23440 rm -f core conftest.err conftest.$ac_objext \
23441     conftest$ac_exeext conftest.$ac_ext
23442 LIBS=$ac_check_lib_save_LIBS
23443 fi
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23445 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23446 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23447
23448 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23449
23450 fi
23451
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23453 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23454 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23455   $as_echo_n "(cached) " >&6
23456 else
23457   ac_check_lib_save_LIBS=$LIBS
23458 LIBS="-lm  $LIBS"
23459 if test x$gcc_no_link = xyes; then
23460   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23461 fi
23462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h.  */
23464
23465 /* Override any GCC internal prototype to avoid an error.
23466    Use char because int might match the return type of a GCC
23467    builtin and then its argument prototype would still apply.  */
23468 #ifdef __cplusplus
23469 extern "C"
23470 #endif
23471 char cacoshf ();
23472 int
23473 main ()
23474 {
23475 return cacoshf ();
23476   ;
23477   return 0;
23478 }
23479 _ACEOF
23480 if ac_fn_c_try_link "$LINENO"; then :
23481   ac_cv_lib_m_cacoshf=yes
23482 else
23483   ac_cv_lib_m_cacoshf=no
23484 fi
23485 rm -f core conftest.err conftest.$ac_objext \
23486     conftest$ac_exeext conftest.$ac_ext
23487 LIBS=$ac_check_lib_save_LIBS
23488 fi
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23490 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23491 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23492
23493 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23494
23495 fi
23496
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23498 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23499 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23500   $as_echo_n "(cached) " >&6
23501 else
23502   ac_check_lib_save_LIBS=$LIBS
23503 LIBS="-lm  $LIBS"
23504 if test x$gcc_no_link = xyes; then
23505   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23506 fi
23507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h.  */
23509
23510 /* Override any GCC internal prototype to avoid an error.
23511    Use char because int might match the return type of a GCC
23512    builtin and then its argument prototype would still apply.  */
23513 #ifdef __cplusplus
23514 extern "C"
23515 #endif
23516 char cacoshl ();
23517 int
23518 main ()
23519 {
23520 return cacoshl ();
23521   ;
23522   return 0;
23523 }
23524 _ACEOF
23525 if ac_fn_c_try_link "$LINENO"; then :
23526   ac_cv_lib_m_cacoshl=yes
23527 else
23528   ac_cv_lib_m_cacoshl=no
23529 fi
23530 rm -f core conftest.err conftest.$ac_objext \
23531     conftest$ac_exeext conftest.$ac_ext
23532 LIBS=$ac_check_lib_save_LIBS
23533 fi
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23535 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23536 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23537
23538 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23539
23540 fi
23541
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23543 $as_echo_n "checking for cacosl in -lm... " >&6; }
23544 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23545   $as_echo_n "(cached) " >&6
23546 else
23547   ac_check_lib_save_LIBS=$LIBS
23548 LIBS="-lm  $LIBS"
23549 if test x$gcc_no_link = xyes; then
23550   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23551 fi
23552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23553 /* end confdefs.h.  */
23554
23555 /* Override any GCC internal prototype to avoid an error.
23556    Use char because int might match the return type of a GCC
23557    builtin and then its argument prototype would still apply.  */
23558 #ifdef __cplusplus
23559 extern "C"
23560 #endif
23561 char cacosl ();
23562 int
23563 main ()
23564 {
23565 return cacosl ();
23566   ;
23567   return 0;
23568 }
23569 _ACEOF
23570 if ac_fn_c_try_link "$LINENO"; then :
23571   ac_cv_lib_m_cacosl=yes
23572 else
23573   ac_cv_lib_m_cacosl=no
23574 fi
23575 rm -f core conftest.err conftest.$ac_objext \
23576     conftest$ac_exeext conftest.$ac_ext
23577 LIBS=$ac_check_lib_save_LIBS
23578 fi
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23580 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23581 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23582
23583 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23584
23585 fi
23586
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23588 $as_echo_n "checking for casin in -lm... " >&6; }
23589 if test "${ac_cv_lib_m_casin+set}" = set; then :
23590   $as_echo_n "(cached) " >&6
23591 else
23592   ac_check_lib_save_LIBS=$LIBS
23593 LIBS="-lm  $LIBS"
23594 if test x$gcc_no_link = xyes; then
23595   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23596 fi
23597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h.  */
23599
23600 /* Override any GCC internal prototype to avoid an error.
23601    Use char because int might match the return type of a GCC
23602    builtin and then its argument prototype would still apply.  */
23603 #ifdef __cplusplus
23604 extern "C"
23605 #endif
23606 char casin ();
23607 int
23608 main ()
23609 {
23610 return casin ();
23611   ;
23612   return 0;
23613 }
23614 _ACEOF
23615 if ac_fn_c_try_link "$LINENO"; then :
23616   ac_cv_lib_m_casin=yes
23617 else
23618   ac_cv_lib_m_casin=no
23619 fi
23620 rm -f core conftest.err conftest.$ac_objext \
23621     conftest$ac_exeext conftest.$ac_ext
23622 LIBS=$ac_check_lib_save_LIBS
23623 fi
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23625 $as_echo "$ac_cv_lib_m_casin" >&6; }
23626 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23627
23628 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23629
23630 fi
23631
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23633 $as_echo_n "checking for casinf in -lm... " >&6; }
23634 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23635   $as_echo_n "(cached) " >&6
23636 else
23637   ac_check_lib_save_LIBS=$LIBS
23638 LIBS="-lm  $LIBS"
23639 if test x$gcc_no_link = xyes; then
23640   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23641 fi
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h.  */
23644
23645 /* Override any GCC internal prototype to avoid an error.
23646    Use char because int might match the return type of a GCC
23647    builtin and then its argument prototype would still apply.  */
23648 #ifdef __cplusplus
23649 extern "C"
23650 #endif
23651 char casinf ();
23652 int
23653 main ()
23654 {
23655 return casinf ();
23656   ;
23657   return 0;
23658 }
23659 _ACEOF
23660 if ac_fn_c_try_link "$LINENO"; then :
23661   ac_cv_lib_m_casinf=yes
23662 else
23663   ac_cv_lib_m_casinf=no
23664 fi
23665 rm -f core conftest.err conftest.$ac_objext \
23666     conftest$ac_exeext conftest.$ac_ext
23667 LIBS=$ac_check_lib_save_LIBS
23668 fi
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23670 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23671 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23672
23673 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23674
23675 fi
23676
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23678 $as_echo_n "checking for casinh in -lm... " >&6; }
23679 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23680   $as_echo_n "(cached) " >&6
23681 else
23682   ac_check_lib_save_LIBS=$LIBS
23683 LIBS="-lm  $LIBS"
23684 if test x$gcc_no_link = xyes; then
23685   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23686 fi
23687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23688 /* end confdefs.h.  */
23689
23690 /* Override any GCC internal prototype to avoid an error.
23691    Use char because int might match the return type of a GCC
23692    builtin and then its argument prototype would still apply.  */
23693 #ifdef __cplusplus
23694 extern "C"
23695 #endif
23696 char casinh ();
23697 int
23698 main ()
23699 {
23700 return casinh ();
23701   ;
23702   return 0;
23703 }
23704 _ACEOF
23705 if ac_fn_c_try_link "$LINENO"; then :
23706   ac_cv_lib_m_casinh=yes
23707 else
23708   ac_cv_lib_m_casinh=no
23709 fi
23710 rm -f core conftest.err conftest.$ac_objext \
23711     conftest$ac_exeext conftest.$ac_ext
23712 LIBS=$ac_check_lib_save_LIBS
23713 fi
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23715 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23716 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23717
23718 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23719
23720 fi
23721
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23723 $as_echo_n "checking for casinhf in -lm... " >&6; }
23724 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23725   $as_echo_n "(cached) " >&6
23726 else
23727   ac_check_lib_save_LIBS=$LIBS
23728 LIBS="-lm  $LIBS"
23729 if test x$gcc_no_link = xyes; then
23730   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23731 fi
23732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23733 /* end confdefs.h.  */
23734
23735 /* Override any GCC internal prototype to avoid an error.
23736    Use char because int might match the return type of a GCC
23737    builtin and then its argument prototype would still apply.  */
23738 #ifdef __cplusplus
23739 extern "C"
23740 #endif
23741 char casinhf ();
23742 int
23743 main ()
23744 {
23745 return casinhf ();
23746   ;
23747   return 0;
23748 }
23749 _ACEOF
23750 if ac_fn_c_try_link "$LINENO"; then :
23751   ac_cv_lib_m_casinhf=yes
23752 else
23753   ac_cv_lib_m_casinhf=no
23754 fi
23755 rm -f core conftest.err conftest.$ac_objext \
23756     conftest$ac_exeext conftest.$ac_ext
23757 LIBS=$ac_check_lib_save_LIBS
23758 fi
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23760 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23761 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23762
23763 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23764
23765 fi
23766
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23768 $as_echo_n "checking for casinhl in -lm... " >&6; }
23769 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23770   $as_echo_n "(cached) " >&6
23771 else
23772   ac_check_lib_save_LIBS=$LIBS
23773 LIBS="-lm  $LIBS"
23774 if test x$gcc_no_link = xyes; then
23775   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23776 fi
23777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23778 /* end confdefs.h.  */
23779
23780 /* Override any GCC internal prototype to avoid an error.
23781    Use char because int might match the return type of a GCC
23782    builtin and then its argument prototype would still apply.  */
23783 #ifdef __cplusplus
23784 extern "C"
23785 #endif
23786 char casinhl ();
23787 int
23788 main ()
23789 {
23790 return casinhl ();
23791   ;
23792   return 0;
23793 }
23794 _ACEOF
23795 if ac_fn_c_try_link "$LINENO"; then :
23796   ac_cv_lib_m_casinhl=yes
23797 else
23798   ac_cv_lib_m_casinhl=no
23799 fi
23800 rm -f core conftest.err conftest.$ac_objext \
23801     conftest$ac_exeext conftest.$ac_ext
23802 LIBS=$ac_check_lib_save_LIBS
23803 fi
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23805 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23806 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23807
23808 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23809
23810 fi
23811
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23813 $as_echo_n "checking for casinl in -lm... " >&6; }
23814 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23815   $as_echo_n "(cached) " >&6
23816 else
23817   ac_check_lib_save_LIBS=$LIBS
23818 LIBS="-lm  $LIBS"
23819 if test x$gcc_no_link = xyes; then
23820   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23821 fi
23822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23823 /* end confdefs.h.  */
23824
23825 /* Override any GCC internal prototype to avoid an error.
23826    Use char because int might match the return type of a GCC
23827    builtin and then its argument prototype would still apply.  */
23828 #ifdef __cplusplus
23829 extern "C"
23830 #endif
23831 char casinl ();
23832 int
23833 main ()
23834 {
23835 return casinl ();
23836   ;
23837   return 0;
23838 }
23839 _ACEOF
23840 if ac_fn_c_try_link "$LINENO"; then :
23841   ac_cv_lib_m_casinl=yes
23842 else
23843   ac_cv_lib_m_casinl=no
23844 fi
23845 rm -f core conftest.err conftest.$ac_objext \
23846     conftest$ac_exeext conftest.$ac_ext
23847 LIBS=$ac_check_lib_save_LIBS
23848 fi
23849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23850 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23851 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23852
23853 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23854
23855 fi
23856
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23858 $as_echo_n "checking for catan in -lm... " >&6; }
23859 if test "${ac_cv_lib_m_catan+set}" = set; then :
23860   $as_echo_n "(cached) " >&6
23861 else
23862   ac_check_lib_save_LIBS=$LIBS
23863 LIBS="-lm  $LIBS"
23864 if test x$gcc_no_link = xyes; then
23865   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23866 fi
23867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h.  */
23869
23870 /* Override any GCC internal prototype to avoid an error.
23871    Use char because int might match the return type of a GCC
23872    builtin and then its argument prototype would still apply.  */
23873 #ifdef __cplusplus
23874 extern "C"
23875 #endif
23876 char catan ();
23877 int
23878 main ()
23879 {
23880 return catan ();
23881   ;
23882   return 0;
23883 }
23884 _ACEOF
23885 if ac_fn_c_try_link "$LINENO"; then :
23886   ac_cv_lib_m_catan=yes
23887 else
23888   ac_cv_lib_m_catan=no
23889 fi
23890 rm -f core conftest.err conftest.$ac_objext \
23891     conftest$ac_exeext conftest.$ac_ext
23892 LIBS=$ac_check_lib_save_LIBS
23893 fi
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23895 $as_echo "$ac_cv_lib_m_catan" >&6; }
23896 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23897
23898 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23899
23900 fi
23901
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23903 $as_echo_n "checking for catanf in -lm... " >&6; }
23904 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23905   $as_echo_n "(cached) " >&6
23906 else
23907   ac_check_lib_save_LIBS=$LIBS
23908 LIBS="-lm  $LIBS"
23909 if test x$gcc_no_link = xyes; then
23910   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23911 fi
23912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23913 /* end confdefs.h.  */
23914
23915 /* Override any GCC internal prototype to avoid an error.
23916    Use char because int might match the return type of a GCC
23917    builtin and then its argument prototype would still apply.  */
23918 #ifdef __cplusplus
23919 extern "C"
23920 #endif
23921 char catanf ();
23922 int
23923 main ()
23924 {
23925 return catanf ();
23926   ;
23927   return 0;
23928 }
23929 _ACEOF
23930 if ac_fn_c_try_link "$LINENO"; then :
23931   ac_cv_lib_m_catanf=yes
23932 else
23933   ac_cv_lib_m_catanf=no
23934 fi
23935 rm -f core conftest.err conftest.$ac_objext \
23936     conftest$ac_exeext conftest.$ac_ext
23937 LIBS=$ac_check_lib_save_LIBS
23938 fi
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23940 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23941 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23942
23943 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23944
23945 fi
23946
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23948 $as_echo_n "checking for catanh in -lm... " >&6; }
23949 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23950   $as_echo_n "(cached) " >&6
23951 else
23952   ac_check_lib_save_LIBS=$LIBS
23953 LIBS="-lm  $LIBS"
23954 if test x$gcc_no_link = xyes; then
23955   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23956 fi
23957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23958 /* end confdefs.h.  */
23959
23960 /* Override any GCC internal prototype to avoid an error.
23961    Use char because int might match the return type of a GCC
23962    builtin and then its argument prototype would still apply.  */
23963 #ifdef __cplusplus
23964 extern "C"
23965 #endif
23966 char catanh ();
23967 int
23968 main ()
23969 {
23970 return catanh ();
23971   ;
23972   return 0;
23973 }
23974 _ACEOF
23975 if ac_fn_c_try_link "$LINENO"; then :
23976   ac_cv_lib_m_catanh=yes
23977 else
23978   ac_cv_lib_m_catanh=no
23979 fi
23980 rm -f core conftest.err conftest.$ac_objext \
23981     conftest$ac_exeext conftest.$ac_ext
23982 LIBS=$ac_check_lib_save_LIBS
23983 fi
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
23985 $as_echo "$ac_cv_lib_m_catanh" >&6; }
23986 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
23987
23988 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
23989
23990 fi
23991
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
23993 $as_echo_n "checking for catanhf in -lm... " >&6; }
23994 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
23995   $as_echo_n "(cached) " >&6
23996 else
23997   ac_check_lib_save_LIBS=$LIBS
23998 LIBS="-lm  $LIBS"
23999 if test x$gcc_no_link = xyes; then
24000   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24001 fi
24002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24003 /* end confdefs.h.  */
24004
24005 /* Override any GCC internal prototype to avoid an error.
24006    Use char because int might match the return type of a GCC
24007    builtin and then its argument prototype would still apply.  */
24008 #ifdef __cplusplus
24009 extern "C"
24010 #endif
24011 char catanhf ();
24012 int
24013 main ()
24014 {
24015 return catanhf ();
24016   ;
24017   return 0;
24018 }
24019 _ACEOF
24020 if ac_fn_c_try_link "$LINENO"; then :
24021   ac_cv_lib_m_catanhf=yes
24022 else
24023   ac_cv_lib_m_catanhf=no
24024 fi
24025 rm -f core conftest.err conftest.$ac_objext \
24026     conftest$ac_exeext conftest.$ac_ext
24027 LIBS=$ac_check_lib_save_LIBS
24028 fi
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24030 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24031 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24032
24033 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24034
24035 fi
24036
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24038 $as_echo_n "checking for catanhl in -lm... " >&6; }
24039 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24040   $as_echo_n "(cached) " >&6
24041 else
24042   ac_check_lib_save_LIBS=$LIBS
24043 LIBS="-lm  $LIBS"
24044 if test x$gcc_no_link = xyes; then
24045   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24046 fi
24047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24048 /* end confdefs.h.  */
24049
24050 /* Override any GCC internal prototype to avoid an error.
24051    Use char because int might match the return type of a GCC
24052    builtin and then its argument prototype would still apply.  */
24053 #ifdef __cplusplus
24054 extern "C"
24055 #endif
24056 char catanhl ();
24057 int
24058 main ()
24059 {
24060 return catanhl ();
24061   ;
24062   return 0;
24063 }
24064 _ACEOF
24065 if ac_fn_c_try_link "$LINENO"; then :
24066   ac_cv_lib_m_catanhl=yes
24067 else
24068   ac_cv_lib_m_catanhl=no
24069 fi
24070 rm -f core conftest.err conftest.$ac_objext \
24071     conftest$ac_exeext conftest.$ac_ext
24072 LIBS=$ac_check_lib_save_LIBS
24073 fi
24074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24075 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24076 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24077
24078 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24079
24080 fi
24081
24082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24083 $as_echo_n "checking for catanl in -lm... " >&6; }
24084 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24085   $as_echo_n "(cached) " >&6
24086 else
24087   ac_check_lib_save_LIBS=$LIBS
24088 LIBS="-lm  $LIBS"
24089 if test x$gcc_no_link = xyes; then
24090   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24091 fi
24092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h.  */
24094
24095 /* Override any GCC internal prototype to avoid an error.
24096    Use char because int might match the return type of a GCC
24097    builtin and then its argument prototype would still apply.  */
24098 #ifdef __cplusplus
24099 extern "C"
24100 #endif
24101 char catanl ();
24102 int
24103 main ()
24104 {
24105 return catanl ();
24106   ;
24107   return 0;
24108 }
24109 _ACEOF
24110 if ac_fn_c_try_link "$LINENO"; then :
24111   ac_cv_lib_m_catanl=yes
24112 else
24113   ac_cv_lib_m_catanl=no
24114 fi
24115 rm -f core conftest.err conftest.$ac_objext \
24116     conftest$ac_exeext conftest.$ac_ext
24117 LIBS=$ac_check_lib_save_LIBS
24118 fi
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24120 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24121 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24122
24123 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24124
24125 fi
24126
24127
24128 # On AIX, clog is present in libm as __clog
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24130 $as_echo_n "checking for __clog in -lm... " >&6; }
24131 if test "${ac_cv_lib_m___clog+set}" = set; then :
24132   $as_echo_n "(cached) " >&6
24133 else
24134   ac_check_lib_save_LIBS=$LIBS
24135 LIBS="-lm  $LIBS"
24136 if test x$gcc_no_link = xyes; then
24137   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24138 fi
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h.  */
24141
24142 /* Override any GCC internal prototype to avoid an error.
24143    Use char because int might match the return type of a GCC
24144    builtin and then its argument prototype would still apply.  */
24145 #ifdef __cplusplus
24146 extern "C"
24147 #endif
24148 char __clog ();
24149 int
24150 main ()
24151 {
24152 return __clog ();
24153   ;
24154   return 0;
24155 }
24156 _ACEOF
24157 if ac_fn_c_try_link "$LINENO"; then :
24158   ac_cv_lib_m___clog=yes
24159 else
24160   ac_cv_lib_m___clog=no
24161 fi
24162 rm -f core conftest.err conftest.$ac_objext \
24163     conftest$ac_exeext conftest.$ac_ext
24164 LIBS=$ac_check_lib_save_LIBS
24165 fi
24166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24167 $as_echo "$ac_cv_lib_m___clog" >&6; }
24168 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24169
24170 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24171
24172 fi
24173
24174
24175 # Check whether the system has a working stat()
24176
24177   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24178 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24179 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24180   $as_echo_n "(cached) " >&6
24181 else
24182
24183   if test "$cross_compiling" = yes; then :
24184
24185 case "${target}" in
24186   *mingw*) libgfor_cv_have_working_stat=no ;;
24187   *) libgfor_cv_have_working_stat=yes;;
24188 esac
24189 else
24190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24191 /* end confdefs.h.  */
24192
24193 #include <stdio.h>
24194 #include <sys/types.h>
24195 #include <sys/stat.h>
24196 #include <unistd.h>
24197
24198 int main ()
24199 {
24200   FILE *f, *g;
24201   struct stat st1, st2;
24202
24203   f = fopen ("foo", "w");
24204   g = fopen ("bar", "w");
24205   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24206     return 1;
24207   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24208     return 1;
24209   fclose(f);
24210   fclose(g);
24211   return 0;
24212 }
24213 _ACEOF
24214 if ac_fn_c_try_run "$LINENO"; then :
24215   libgfor_cv_have_working_stat=yes
24216 else
24217   libgfor_cv_have_working_stat=no
24218 fi
24219 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24220   conftest.$ac_objext conftest.beam conftest.$ac_ext
24221 fi
24222
24223 fi
24224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24225 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24226 if test x"$libgfor_cv_have_working_stat" = xyes; then
24227
24228 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24229
24230 fi
24231
24232 # Check whether __mingw_snprintf() is present
24233
24234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24235 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24236 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24237   $as_echo_n "(cached) " >&6
24238 else
24239
24240     if test x$gcc_no_link = xyes; then
24241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24242 fi
24243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24244 /* end confdefs.h.  */
24245
24246 #include <stdio.h>
24247 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24248
24249 int
24250 main ()
24251 {
24252
24253 __mingw_snprintf (NULL, 0, "%d\n", 1);
24254
24255   ;
24256   return 0;
24257 }
24258 _ACEOF
24259 if ac_fn_c_try_link "$LINENO"; then :
24260   eval "libgfor_cv_have_mingw_snprintf=yes"
24261 else
24262   eval "libgfor_cv_have_mingw_snprintf=no"
24263 fi
24264 rm -f core conftest.err conftest.$ac_objext \
24265     conftest$ac_exeext conftest.$ac_ext
24266
24267 fi
24268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24269 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24270   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24271
24272 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24273
24274   fi
24275
24276
24277 # Check for a broken powf implementation
24278
24279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24280 $as_echo_n "checking whether powf is broken... " >&6; }
24281 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24282   $as_echo_n "(cached) " >&6
24283 else
24284
24285 case "${target}" in
24286   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24287   *) libgfor_cv_have_broken_powf=no;;
24288 esac
24289 fi
24290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24291 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24292   if test x"$libgfor_cv_have_broken_powf" = xyes; then
24293
24294 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24295
24296   fi
24297
24298
24299 # Check whether we have a __float128 type
24300
24301   LIBQUADSPEC=
24302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24303 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24304 if test "${libgfor_cv_have_float128+set}" = set; then :
24305   $as_echo_n "(cached) " >&6
24306 else
24307
24308     if test x$gcc_no_link = xyes; then
24309   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24310 fi
24311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24312 /* end confdefs.h.  */
24313
24314 /* no header */
24315
24316 int
24317 main ()
24318 {
24319
24320   typedef _Complex float __attribute__((mode(TC))) __complex128;
24321
24322   __float128 x;
24323   x = __builtin_huge_valq() - 2.e1000Q;
24324
24325   __complex128 z1, z2;
24326   z1 = x;
24327   z2 = 2.Q;
24328
24329   z1 /= z2;
24330   z1 /= 7.Q;
24331
24332   ;
24333   return 0;
24334 }
24335 _ACEOF
24336 if ac_fn_c_try_link "$LINENO"; then :
24337   libgfor_cv_have_float128=yes
24338 else
24339   libgfor_cv_have_float128=no
24340 fi
24341 rm -f core conftest.err conftest.$ac_objext \
24342     conftest$ac_exeext conftest.$ac_ext
24343
24344 fi
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
24346 $as_echo "$libgfor_cv_have_float128" >&6; }
24347
24348   if test "x$libgfor_cv_have_float128" = xyes; then
24349
24350 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
24351
24352
24353                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
24354     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
24355 $as_echo_n "checking whether --as-needed works... " >&6; }
24356 if test "${libgfor_cv_have_as_needed+set}" = set; then :
24357   $as_echo_n "(cached) " >&6
24358 else
24359
24360       save_LDFLAGS="$LDFLAGS"
24361       LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
24362       libgfor_cv_have_as_needed=no
24363
24364 ac_c_werror_flag=yes
24365       if test x$gcc_no_link = xyes; then
24366   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24367 fi
24368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24369 /* end confdefs.h.  */
24370
24371 int
24372 main ()
24373 {
24374
24375   ;
24376   return 0;
24377 }
24378 _ACEOF
24379 if ac_fn_c_try_link "$LINENO"; then :
24380   libgfor_cv_have_as_needed=yes
24381 else
24382   libgfor_cv_have_as_needed=no
24383 fi
24384 rm -f core conftest.err conftest.$ac_objext \
24385     conftest$ac_exeext conftest.$ac_ext
24386       LDFLAGS="$save_LDFLAGS"
24387       ac_c_werror_flag=$ac_xsave_c_werror_flag
24388
24389 fi
24390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
24391 $as_echo "$libgfor_cv_have_as_needed" >&6; }
24392
24393         if test "x$libgfor_cv_have_as_needed" = xyes; then
24394       LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
24395     else
24396       LIBQUADSPEC="-lquadmath"
24397     fi
24398     if test -f ../libquadmath/libquadmath.la; then
24399       LIBQUADLIB=../libquadmath/libquadmath.la
24400       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
24401       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
24402     else
24403       LIBQUADLIB="-lquadmath"
24404       LIBQUADLIB_DEP=
24405       LIBQUADINCLUDE=
24406     fi
24407   fi
24408
24409
24410
24411
24412
24413
24414      if test "x$libgfor_cv_have_float128" = xyes; then
24415   LIBGFOR_BUILD_QUAD_TRUE=
24416   LIBGFOR_BUILD_QUAD_FALSE='#'
24417 else
24418   LIBGFOR_BUILD_QUAD_TRUE='#'
24419   LIBGFOR_BUILD_QUAD_FALSE=
24420 fi
24421
24422
24423
24424 # Check for GNU libc feenableexcept
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24426 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24427 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24428   $as_echo_n "(cached) " >&6
24429 else
24430   ac_check_lib_save_LIBS=$LIBS
24431 LIBS="-lm  $LIBS"
24432 if test x$gcc_no_link = xyes; then
24433   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24434 fi
24435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24436 /* end confdefs.h.  */
24437
24438 /* Override any GCC internal prototype to avoid an error.
24439    Use char because int might match the return type of a GCC
24440    builtin and then its argument prototype would still apply.  */
24441 #ifdef __cplusplus
24442 extern "C"
24443 #endif
24444 char feenableexcept ();
24445 int
24446 main ()
24447 {
24448 return feenableexcept ();
24449   ;
24450   return 0;
24451 }
24452 _ACEOF
24453 if ac_fn_c_try_link "$LINENO"; then :
24454   ac_cv_lib_m_feenableexcept=yes
24455 else
24456   ac_cv_lib_m_feenableexcept=no
24457 fi
24458 rm -f core conftest.err conftest.$ac_objext \
24459     conftest$ac_exeext conftest.$ac_ext
24460 LIBS=$ac_check_lib_save_LIBS
24461 fi
24462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24463 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24464 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24465   have_feenableexcept=yes
24466 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24467
24468 fi
24469
24470
24471 # Check for SysV fpsetmask
24472
24473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24474 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24475 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24476   $as_echo_n "(cached) " >&6
24477 else
24478
24479     if test x$gcc_no_link = xyes; then
24480   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24481 fi
24482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24483 /* end confdefs.h.  */
24484
24485 #if HAVE_FLOATINGPOINT_H
24486 # include <floatingpoint.h>
24487 #endif /* HAVE_FLOATINGPOINT_H */
24488 #if HAVE_IEEEFP_H
24489 # include <ieeefp.h>
24490 #endif /* HAVE_IEEEFP_H */
24491 int
24492 main ()
24493 {
24494 fpsetmask(0);
24495   ;
24496   return 0;
24497 }
24498 _ACEOF
24499 if ac_fn_c_try_link "$LINENO"; then :
24500   eval "libgfor_cv_have_fpsetmask=yes"
24501 else
24502   eval "libgfor_cv_have_fpsetmask=no"
24503 fi
24504 rm -f core conftest.err conftest.$ac_objext \
24505     conftest$ac_exeext conftest.$ac_ext
24506
24507 fi
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24509 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24510   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24511
24512 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24513
24514   fi
24515
24516
24517 # Check for AIX fp_trap and fp_enable
24518 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24519 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24520   have_fp_trap=yes
24521 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24522
24523 fi
24524
24525 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24526 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24527   have_fp_enable=yes
24528 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24529
24530 fi
24531
24532
24533 # Runs configure.host to set up necessary host-dependent shell variables.
24534 # We then display a message about it, and propagate them through the
24535 # build chain.
24536 . ${srcdir}/configure.host
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24538 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24539 FPU_HOST_HEADER=config/${fpu_host}.h
24540
24541
24542 # Some targets require additional compiler options for IEEE compatibility.
24543 IEEE_FLAGS="${ieee_flags}"
24544
24545
24546 # Check out attribute support.
24547
24548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24549 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24550 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24551   $as_echo_n "(cached) " >&6
24552 else
24553
24554   save_CFLAGS="$CFLAGS"
24555   CFLAGS="$CFLAGS -Werror"
24556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24557 /* end confdefs.h.  */
24558 void __attribute__((visibility("hidden"))) foo(void) { }
24559 int
24560 main ()
24561 {
24562
24563   ;
24564   return 0;
24565 }
24566 _ACEOF
24567 if ac_fn_c_try_compile "$LINENO"; then :
24568   libgfor_cv_have_attribute_visibility=yes
24569 else
24570   libgfor_cv_have_attribute_visibility=no
24571 fi
24572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24573   CFLAGS="$save_CFLAGS"
24574 fi
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24576 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24577   if test $libgfor_cv_have_attribute_visibility = yes; then
24578
24579 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24580
24581   fi
24582
24583   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24584 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24585 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24586   $as_echo_n "(cached) " >&6
24587 else
24588
24589   save_CFLAGS="$CFLAGS"
24590   CFLAGS="$CFLAGS -Werror"
24591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24592 /* end confdefs.h.  */
24593 void __attribute__((dllexport)) foo(void) { }
24594 int
24595 main ()
24596 {
24597
24598   ;
24599   return 0;
24600 }
24601 _ACEOF
24602 if ac_fn_c_try_compile "$LINENO"; then :
24603   libgfor_cv_have_attribute_dllexport=yes
24604 else
24605   libgfor_cv_have_attribute_dllexport=no
24606 fi
24607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24608   CFLAGS="$save_CFLAGS"
24609 fi
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24611 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24612   if test $libgfor_cv_have_attribute_dllexport = yes; then
24613
24614 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24615
24616   fi
24617
24618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24619 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24620 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24621   $as_echo_n "(cached) " >&6
24622 else
24623
24624   if test x$gcc_no_link = xyes; then
24625   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24626 fi
24627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h.  */
24629
24630 void foo(void) { }
24631 extern void bar(void) __attribute__((alias("foo")));
24632 int
24633 main ()
24634 {
24635 bar();
24636   ;
24637   return 0;
24638 }
24639 _ACEOF
24640 if ac_fn_c_try_link "$LINENO"; then :
24641   libgfor_cv_have_attribute_alias=yes
24642 else
24643   libgfor_cv_have_attribute_alias=no
24644 fi
24645 rm -f core conftest.err conftest.$ac_objext \
24646     conftest$ac_exeext conftest.$ac_ext
24647 fi
24648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24649 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24650   if test $libgfor_cv_have_attribute_alias = yes; then
24651
24652 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24653
24654   fi
24655
24656 # Check out sync builtins support.
24657
24658   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24659 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24660 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24661   $as_echo_n "(cached) " >&6
24662 else
24663
24664   if test x$gcc_no_link = xyes; then
24665   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24666 fi
24667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24668 /* end confdefs.h.  */
24669 int foovar = 0;
24670 int
24671 main ()
24672 {
24673
24674 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24675 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24676   ;
24677   return 0;
24678 }
24679 _ACEOF
24680 if ac_fn_c_try_link "$LINENO"; then :
24681   libgfor_cv_have_sync_fetch_and_add=yes
24682 else
24683   libgfor_cv_have_sync_fetch_and_add=no
24684 fi
24685 rm -f core conftest.err conftest.$ac_objext \
24686     conftest$ac_exeext conftest.$ac_ext
24687 fi
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24689 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24690   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24691
24692 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24693
24694   fi
24695
24696 # Check out thread support.
24697
24698   { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24699 $as_echo_n "checking configured target thread model... " >&6; }
24700 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24701   $as_echo_n "(cached) " >&6
24702 else
24703
24704 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24705 fi
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24707 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24708
24709   if test $libgfor_cv_target_thread_file != single; then
24710
24711 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24712
24713   fi
24714
24715 # Check out #pragma weak.
24716
24717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24718 $as_echo_n "checking whether pragma weak works... " >&6; }
24719 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24720   $as_echo_n "(cached) " >&6
24721 else
24722
24723   gfor_save_CFLAGS="$CFLAGS"
24724   CFLAGS="$CFLAGS -Wunknown-pragmas"
24725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24726 /* end confdefs.h.  */
24727 void foo (void);
24728 #pragma weak foo
24729 int
24730 main ()
24731 {
24732 if (foo) foo ();
24733   ;
24734   return 0;
24735 }
24736 _ACEOF
24737 if ac_fn_c_try_compile "$LINENO"; then :
24738   libgfor_cv_have_pragma_weak=yes
24739 else
24740   libgfor_cv_have_pragma_weak=no
24741 fi
24742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24743 fi
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24745 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24746   if test $libgfor_cv_have_pragma_weak = yes; then
24747
24748 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24749
24750   fi
24751   case "$host" in
24752     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24753
24754 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24755
24756       ;;
24757   esac
24758
24759 # Various other checks on target
24760
24761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24762 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24763 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24764   $as_echo_n "(cached) " >&6
24765 else
24766
24767   if test "$cross_compiling" = yes; then :
24768
24769 case "${target}" in
24770   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24771   *) libgfor_cv_have_unlink_open_file=yes;;
24772 esac
24773 else
24774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24775 /* end confdefs.h.  */
24776
24777 #include <errno.h>
24778 #include <fcntl.h>
24779 #include <unistd.h>
24780 #include <sys/stat.h>
24781
24782 int main ()
24783 {
24784   int fd;
24785
24786   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24787   if (fd <= 0)
24788     return 0;
24789   if (unlink ("testfile") == -1)
24790     return 1;
24791   write (fd, "This is a test\n", 15);
24792   close (fd);
24793
24794   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24795     return 0;
24796   else
24797     return 1;
24798 }
24799 _ACEOF
24800 if ac_fn_c_try_run "$LINENO"; then :
24801   libgfor_cv_have_unlink_open_file=yes
24802 else
24803   libgfor_cv_have_unlink_open_file=no
24804 fi
24805 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24806   conftest.$ac_objext conftest.beam conftest.$ac_ext
24807 fi
24808
24809 fi
24810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24811 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24812 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24813
24814 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24815
24816 fi
24817
24818 # Check whether line terminator is LF or CRLF
24819
24820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24821 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24822 if test "${libgfor_cv_have_crlf+set}" = set; then :
24823   $as_echo_n "(cached) " >&6
24824 else
24825
24826   if test "$cross_compiling" = yes; then :
24827
24828 case "${target}" in
24829   *mingw*) libgfor_cv_have_crlf=yes ;;
24830   *) libgfor_cv_have_crlf=no;;
24831 esac
24832 else
24833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24834 /* end confdefs.h.  */
24835
24836 /* This test program should exit with status 0 if system uses a CRLF as
24837    line terminator, and status 1 otherwise.
24838    Since it is used to check for mingw systems, and should return 0 in any
24839    other case, in case of a failure we will not use CRLF.  */
24840 #include <sys/stat.h>
24841 #include <stdlib.h>
24842 #include <fcntl.h>
24843 #include <stdio.h>
24844
24845 int main ()
24846 {
24847 #ifndef O_BINARY
24848   exit(1);
24849 #else
24850   int fd, bytes;
24851   char buff[5];
24852
24853   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24854   if (fd < 0)
24855     exit(1);
24856   if (write (fd, "\n", 1) < 0)
24857     perror ("write");
24858
24859   close (fd);
24860
24861   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24862     exit(1);
24863   bytes = read (fd, buff, 5);
24864   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24865     exit(0);
24866   else
24867     exit(1);
24868 #endif
24869 }
24870 _ACEOF
24871 if ac_fn_c_try_run "$LINENO"; then :
24872   libgfor_cv_have_crlf=yes
24873 else
24874   libgfor_cv_have_crlf=no
24875 fi
24876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24877   conftest.$ac_objext conftest.beam conftest.$ac_ext
24878 fi
24879
24880 fi
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24882 $as_echo "$libgfor_cv_have_crlf" >&6; }
24883 if test x"$libgfor_cv_have_crlf" = xyes; then
24884
24885 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24886
24887 fi
24888
24889 cat >confcache <<\_ACEOF
24890 # This file is a shell script that caches the results of configure
24891 # tests run on this system so they can be shared between configure
24892 # scripts and configure runs, see configure's option --config-cache.
24893 # It is not useful on other systems.  If it contains results you don't
24894 # want to keep, you may remove or edit it.
24895 #
24896 # config.status only pays attention to the cache file if you give it
24897 # the --recheck option to rerun configure.
24898 #
24899 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24900 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24901 # following values.
24902
24903 _ACEOF
24904
24905 # The following way of writing the cache mishandles newlines in values,
24906 # but we know of no workaround that is simple, portable, and efficient.
24907 # So, we kill variables containing newlines.
24908 # Ultrix sh set writes to stderr and can't be redirected directly,
24909 # and sets the high bit in the cache file unless we assign to the vars.
24910 (
24911   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24912     eval ac_val=\$$ac_var
24913     case $ac_val in #(
24914     *${as_nl}*)
24915       case $ac_var in #(
24916       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24917 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24918       esac
24919       case $ac_var in #(
24920       _ | IFS | as_nl) ;; #(
24921       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24922       *) { eval $ac_var=; unset $ac_var;} ;;
24923       esac ;;
24924     esac
24925   done
24926
24927   (set) 2>&1 |
24928     case $as_nl`(ac_space=' '; set) 2>&1` in #(
24929     *${as_nl}ac_space=\ *)
24930       # `set' does not quote correctly, so add quotes: double-quote
24931       # substitution turns \\\\ into \\, and sed turns \\ into \.
24932       sed -n \
24933         "s/'/'\\\\''/g;
24934           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24935       ;; #(
24936     *)
24937       # `set' quotes correctly as required by POSIX, so do not add quotes.
24938       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24939       ;;
24940     esac |
24941     sort
24942 ) |
24943   sed '
24944      /^ac_cv_env_/b end
24945      t clear
24946      :clear
24947      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24948      t end
24949      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24950      :end' >>confcache
24951 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24952   if test -w "$cache_file"; then
24953     test "x$cache_file" != "x/dev/null" &&
24954       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24955 $as_echo "$as_me: updating cache $cache_file" >&6;}
24956     cat confcache >$cache_file
24957   else
24958     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24959 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24960   fi
24961 fi
24962 rm -f confcache
24963
24964 if test ${multilib} = yes; then
24965   multilib_arg="--enable-multilib"
24966 else
24967   multilib_arg=
24968 fi
24969
24970 # Write our Makefile and spec file.
24971 ac_config_files="$ac_config_files Makefile libgfortran.spec"
24972
24973 cat >confcache <<\_ACEOF
24974 # This file is a shell script that caches the results of configure
24975 # tests run on this system so they can be shared between configure
24976 # scripts and configure runs, see configure's option --config-cache.
24977 # It is not useful on other systems.  If it contains results you don't
24978 # want to keep, you may remove or edit it.
24979 #
24980 # config.status only pays attention to the cache file if you give it
24981 # the --recheck option to rerun configure.
24982 #
24983 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24984 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24985 # following values.
24986
24987 _ACEOF
24988
24989 # The following way of writing the cache mishandles newlines in values,
24990 # but we know of no workaround that is simple, portable, and efficient.
24991 # So, we kill variables containing newlines.
24992 # Ultrix sh set writes to stderr and can't be redirected directly,
24993 # and sets the high bit in the cache file unless we assign to the vars.
24994 (
24995   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24996     eval ac_val=\$$ac_var
24997     case $ac_val in #(
24998     *${as_nl}*)
24999       case $ac_var in #(
25000       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25001 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25002       esac
25003       case $ac_var in #(
25004       _ | IFS | as_nl) ;; #(
25005       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25006       *) { eval $ac_var=; unset $ac_var;} ;;
25007       esac ;;
25008     esac
25009   done
25010
25011   (set) 2>&1 |
25012     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25013     *${as_nl}ac_space=\ *)
25014       # `set' does not quote correctly, so add quotes: double-quote
25015       # substitution turns \\\\ into \\, and sed turns \\ into \.
25016       sed -n \
25017         "s/'/'\\\\''/g;
25018           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25019       ;; #(
25020     *)
25021       # `set' quotes correctly as required by POSIX, so do not add quotes.
25022       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25023       ;;
25024     esac |
25025     sort
25026 ) |
25027   sed '
25028      /^ac_cv_env_/b end
25029      t clear
25030      :clear
25031      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25032      t end
25033      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25034      :end' >>confcache
25035 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25036   if test -w "$cache_file"; then
25037     test "x$cache_file" != "x/dev/null" &&
25038       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25039 $as_echo "$as_me: updating cache $cache_file" >&6;}
25040     cat confcache >$cache_file
25041   else
25042     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25043 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25044   fi
25045 fi
25046 rm -f confcache
25047
25048 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25049 # Let make expand exec_prefix.
25050 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25051
25052 DEFS=-DHAVE_CONFIG_H
25053
25054 ac_libobjs=
25055 ac_ltlibobjs=
25056 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25057   # 1. Remove the extension, and $U if already installed.
25058   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25059   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25060   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25061   #    will be set to the directory where LIBOBJS objects are built.
25062   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25063   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25064 done
25065 LIBOBJS=$ac_libobjs
25066
25067 LTLIBOBJS=$ac_ltlibobjs
25068
25069
25070 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25071   as_fn_error "conditional \"onestep\" was never defined.
25072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25073 fi
25074  if test -n "$EXEEXT"; then
25075   am__EXEEXT_TRUE=
25076   am__EXEEXT_FALSE='#'
25077 else
25078   am__EXEEXT_TRUE='#'
25079   am__EXEEXT_FALSE=
25080 fi
25081
25082 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25083   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25085 fi
25086 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25087   as_fn_error "conditional \"AMDEP\" was never defined.
25088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25089 fi
25090 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25091   as_fn_error "conditional \"am__fastdepCC\" was never defined.
25092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25093 fi
25094 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25095   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25097 fi
25098 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25099   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25101 fi
25102 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25103   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25105 fi
25106 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25107   as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25109 fi
25110
25111 : ${CONFIG_STATUS=./config.status}
25112 ac_write_fail=0
25113 ac_clean_files_save=$ac_clean_files
25114 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25116 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25117 as_write_fail=0
25118 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25119 #! $SHELL
25120 # Generated by $as_me.
25121 # Run this file to recreate the current configuration.
25122 # Compiler output produced by configure, useful for debugging
25123 # configure, is in config.log if it exists.
25124
25125 debug=false
25126 ac_cs_recheck=false
25127 ac_cs_silent=false
25128
25129 SHELL=\${CONFIG_SHELL-$SHELL}
25130 export SHELL
25131 _ASEOF
25132 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25133 ## -------------------- ##
25134 ## M4sh Initialization. ##
25135 ## -------------------- ##
25136
25137 # Be more Bourne compatible
25138 DUALCASE=1; export DUALCASE # for MKS sh
25139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25140   emulate sh
25141   NULLCMD=:
25142   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25143   # is contrary to our usage.  Disable this feature.
25144   alias -g '${1+"$@"}'='"$@"'
25145   setopt NO_GLOB_SUBST
25146 else
25147   case `(set -o) 2>/dev/null` in #(
25148   *posix*) :
25149     set -o posix ;; #(
25150   *) :
25151      ;;
25152 esac
25153 fi
25154
25155
25156 as_nl='
25157 '
25158 export as_nl
25159 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25160 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25161 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25162 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25163 # Prefer a ksh shell builtin over an external printf program on Solaris,
25164 # but without wasting forks for bash or zsh.
25165 if test -z "$BASH_VERSION$ZSH_VERSION" \
25166     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25167   as_echo='print -r --'
25168   as_echo_n='print -rn --'
25169 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25170   as_echo='printf %s\n'
25171   as_echo_n='printf %s'
25172 else
25173   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25174     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25175     as_echo_n='/usr/ucb/echo -n'
25176   else
25177     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25178     as_echo_n_body='eval
25179       arg=$1;
25180       case $arg in #(
25181       *"$as_nl"*)
25182         expr "X$arg" : "X\\(.*\\)$as_nl";
25183         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25184       esac;
25185       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25186     '
25187     export as_echo_n_body
25188     as_echo_n='sh -c $as_echo_n_body as_echo'
25189   fi
25190   export as_echo_body
25191   as_echo='sh -c $as_echo_body as_echo'
25192 fi
25193
25194 # The user is always right.
25195 if test "${PATH_SEPARATOR+set}" != set; then
25196   PATH_SEPARATOR=:
25197   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25198     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25199       PATH_SEPARATOR=';'
25200   }
25201 fi
25202
25203
25204 # IFS
25205 # We need space, tab and new line, in precisely that order.  Quoting is
25206 # there to prevent editors from complaining about space-tab.
25207 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25208 # splitting by setting IFS to empty value.)
25209 IFS=" ""        $as_nl"
25210
25211 # Find who we are.  Look in the path if we contain no directory separator.
25212 case $0 in #((
25213   *[\\/]* ) as_myself=$0 ;;
25214   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25215 for as_dir in $PATH
25216 do
25217   IFS=$as_save_IFS
25218   test -z "$as_dir" && as_dir=.
25219     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25220   done
25221 IFS=$as_save_IFS
25222
25223      ;;
25224 esac
25225 # We did not find ourselves, most probably we were run as `sh COMMAND'
25226 # in which case we are not to be found in the path.
25227 if test "x$as_myself" = x; then
25228   as_myself=$0
25229 fi
25230 if test ! -f "$as_myself"; then
25231   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25232   exit 1
25233 fi
25234
25235 # Unset variables that we do not need and which cause bugs (e.g. in
25236 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25237 # suppresses any "Segmentation fault" message there.  '((' could
25238 # trigger a bug in pdksh 5.2.14.
25239 for as_var in BASH_ENV ENV MAIL MAILPATH
25240 do eval test x\${$as_var+set} = xset \
25241   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25242 done
25243 PS1='$ '
25244 PS2='> '
25245 PS4='+ '
25246
25247 # NLS nuisances.
25248 LC_ALL=C
25249 export LC_ALL
25250 LANGUAGE=C
25251 export LANGUAGE
25252
25253 # CDPATH.
25254 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25255
25256
25257 # as_fn_error ERROR [LINENO LOG_FD]
25258 # ---------------------------------
25259 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25260 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25261 # script with status $?, using 1 if that was 0.
25262 as_fn_error ()
25263 {
25264   as_status=$?; test $as_status -eq 0 && as_status=1
25265   if test "$3"; then
25266     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25267     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25268   fi
25269   $as_echo "$as_me: error: $1" >&2
25270   as_fn_exit $as_status
25271 } # as_fn_error
25272
25273
25274 # as_fn_set_status STATUS
25275 # -----------------------
25276 # Set $? to STATUS, without forking.
25277 as_fn_set_status ()
25278 {
25279   return $1
25280 } # as_fn_set_status
25281
25282 # as_fn_exit STATUS
25283 # -----------------
25284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25285 as_fn_exit ()
25286 {
25287   set +e
25288   as_fn_set_status $1
25289   exit $1
25290 } # as_fn_exit
25291
25292 # as_fn_unset VAR
25293 # ---------------
25294 # Portably unset VAR.
25295 as_fn_unset ()
25296 {
25297   { eval $1=; unset $1;}
25298 }
25299 as_unset=as_fn_unset
25300 # as_fn_append VAR VALUE
25301 # ----------------------
25302 # Append the text in VALUE to the end of the definition contained in VAR. Take
25303 # advantage of any shell optimizations that allow amortized linear growth over
25304 # repeated appends, instead of the typical quadratic growth present in naive
25305 # implementations.
25306 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25307   eval 'as_fn_append ()
25308   {
25309     eval $1+=\$2
25310   }'
25311 else
25312   as_fn_append ()
25313   {
25314     eval $1=\$$1\$2
25315   }
25316 fi # as_fn_append
25317
25318 # as_fn_arith ARG...
25319 # ------------------
25320 # Perform arithmetic evaluation on the ARGs, and store the result in the
25321 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25322 # must be portable across $(()) and expr.
25323 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25324   eval 'as_fn_arith ()
25325   {
25326     as_val=$(( $* ))
25327   }'
25328 else
25329   as_fn_arith ()
25330   {
25331     as_val=`expr "$@" || test $? -eq 1`
25332   }
25333 fi # as_fn_arith
25334
25335
25336 if expr a : '\(a\)' >/dev/null 2>&1 &&
25337    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25338   as_expr=expr
25339 else
25340   as_expr=false
25341 fi
25342
25343 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25344   as_basename=basename
25345 else
25346   as_basename=false
25347 fi
25348
25349 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25350   as_dirname=dirname
25351 else
25352   as_dirname=false
25353 fi
25354
25355 as_me=`$as_basename -- "$0" ||
25356 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25357          X"$0" : 'X\(//\)$' \| \
25358          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25359 $as_echo X/"$0" |
25360     sed '/^.*\/\([^/][^/]*\)\/*$/{
25361             s//\1/
25362             q
25363           }
25364           /^X\/\(\/\/\)$/{
25365             s//\1/
25366             q
25367           }
25368           /^X\/\(\/\).*/{
25369             s//\1/
25370             q
25371           }
25372           s/.*/./; q'`
25373
25374 # Avoid depending upon Character Ranges.
25375 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25376 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25377 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25378 as_cr_digits='0123456789'
25379 as_cr_alnum=$as_cr_Letters$as_cr_digits
25380
25381 ECHO_C= ECHO_N= ECHO_T=
25382 case `echo -n x` in #(((((
25383 -n*)
25384   case `echo 'xy\c'` in
25385   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25386   xy)  ECHO_C='\c';;
25387   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25388        ECHO_T=' ';;
25389   esac;;
25390 *)
25391   ECHO_N='-n';;
25392 esac
25393
25394 rm -f conf$$ conf$$.exe conf$$.file
25395 if test -d conf$$.dir; then
25396   rm -f conf$$.dir/conf$$.file
25397 else
25398   rm -f conf$$.dir
25399   mkdir conf$$.dir 2>/dev/null
25400 fi
25401 if (echo >conf$$.file) 2>/dev/null; then
25402   if ln -s conf$$.file conf$$ 2>/dev/null; then
25403     as_ln_s='ln -s'
25404     # ... but there are two gotchas:
25405     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25406     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25407     # In both cases, we have to default to `cp -p'.
25408     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25409       as_ln_s='cp -p'
25410   elif ln conf$$.file conf$$ 2>/dev/null; then
25411     as_ln_s=ln
25412   else
25413     as_ln_s='cp -p'
25414   fi
25415 else
25416   as_ln_s='cp -p'
25417 fi
25418 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25419 rmdir conf$$.dir 2>/dev/null
25420
25421
25422 # as_fn_mkdir_p
25423 # -------------
25424 # Create "$as_dir" as a directory, including parents if necessary.
25425 as_fn_mkdir_p ()
25426 {
25427
25428   case $as_dir in #(
25429   -*) as_dir=./$as_dir;;
25430   esac
25431   test -d "$as_dir" || eval $as_mkdir_p || {
25432     as_dirs=
25433     while :; do
25434       case $as_dir in #(
25435       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25436       *) as_qdir=$as_dir;;
25437       esac
25438       as_dirs="'$as_qdir' $as_dirs"
25439       as_dir=`$as_dirname -- "$as_dir" ||
25440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25441          X"$as_dir" : 'X\(//\)[^/]' \| \
25442          X"$as_dir" : 'X\(//\)$' \| \
25443          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25444 $as_echo X"$as_dir" |
25445     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25446             s//\1/
25447             q
25448           }
25449           /^X\(\/\/\)[^/].*/{
25450             s//\1/
25451             q
25452           }
25453           /^X\(\/\/\)$/{
25454             s//\1/
25455             q
25456           }
25457           /^X\(\/\).*/{
25458             s//\1/
25459             q
25460           }
25461           s/.*/./; q'`
25462       test -d "$as_dir" && break
25463     done
25464     test -z "$as_dirs" || eval "mkdir $as_dirs"
25465   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25466
25467
25468 } # as_fn_mkdir_p
25469 if mkdir -p . 2>/dev/null; then
25470   as_mkdir_p='mkdir -p "$as_dir"'
25471 else
25472   test -d ./-p && rmdir ./-p
25473   as_mkdir_p=false
25474 fi
25475
25476 if test -x / >/dev/null 2>&1; then
25477   as_test_x='test -x'
25478 else
25479   if ls -dL / >/dev/null 2>&1; then
25480     as_ls_L_option=L
25481   else
25482     as_ls_L_option=
25483   fi
25484   as_test_x='
25485     eval sh -c '\''
25486       if test -d "$1"; then
25487         test -d "$1/.";
25488       else
25489         case $1 in #(
25490         -*)set "./$1";;
25491         esac;
25492         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25493         ???[sx]*):;;*)false;;esac;fi
25494     '\'' sh
25495   '
25496 fi
25497 as_executable_p=$as_test_x
25498
25499 # Sed expression to map a string onto a valid CPP name.
25500 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25501
25502 # Sed expression to map a string onto a valid variable name.
25503 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25504
25505
25506 exec 6>&1
25507 ## ----------------------------------- ##
25508 ## Main body of $CONFIG_STATUS script. ##
25509 ## ----------------------------------- ##
25510 _ASEOF
25511 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25512
25513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25514 # Save the log message, to keep $0 and so on meaningful, and to
25515 # report actual input values of CONFIG_FILES etc. instead of their
25516 # values after options handling.
25517 ac_log="
25518 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25519 generated by GNU Autoconf 2.64.  Invocation command line was
25520
25521   CONFIG_FILES    = $CONFIG_FILES
25522   CONFIG_HEADERS  = $CONFIG_HEADERS
25523   CONFIG_LINKS    = $CONFIG_LINKS
25524   CONFIG_COMMANDS = $CONFIG_COMMANDS
25525   $ $0 $@
25526
25527 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25528 "
25529
25530 _ACEOF
25531
25532 case $ac_config_files in *"
25533 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25534 esac
25535
25536 case $ac_config_headers in *"
25537 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25538 esac
25539
25540
25541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25542 # Files that config.status was made for.
25543 config_files="$ac_config_files"
25544 config_headers="$ac_config_headers"
25545 config_commands="$ac_config_commands"
25546
25547 _ACEOF
25548
25549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25550 ac_cs_usage="\
25551 \`$as_me' instantiates files and other configuration actions
25552 from templates according to the current configuration.  Unless the files
25553 and actions are specified as TAGs, all are instantiated by default.
25554
25555 Usage: $0 [OPTION]... [TAG]...
25556
25557   -h, --help       print this help, then exit
25558   -V, --version    print version number and configuration settings, then exit
25559   -q, --quiet, --silent
25560                    do not print progress messages
25561   -d, --debug      don't remove temporary files
25562       --recheck    update $as_me by reconfiguring in the same conditions
25563       --file=FILE[:TEMPLATE]
25564                    instantiate the configuration file FILE
25565       --header=FILE[:TEMPLATE]
25566                    instantiate the configuration header FILE
25567
25568 Configuration files:
25569 $config_files
25570
25571 Configuration headers:
25572 $config_headers
25573
25574 Configuration commands:
25575 $config_commands
25576
25577 Report bugs to the package provider.
25578 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25579 General help using GNU software: <http://www.gnu.org/gethelp/>."
25580
25581 _ACEOF
25582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25583 ac_cs_version="\\
25584 GNU Fortran Runtime Library config.status 0.3
25585 configured by $0, generated by GNU Autoconf 2.64,
25586   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25587
25588 Copyright (C) 2009 Free Software Foundation, Inc.
25589 This config.status script is free software; the Free Software Foundation
25590 gives unlimited permission to copy, distribute and modify it."
25591
25592 ac_pwd='$ac_pwd'
25593 srcdir='$srcdir'
25594 INSTALL='$INSTALL'
25595 MKDIR_P='$MKDIR_P'
25596 AWK='$AWK'
25597 test -n "\$AWK" || AWK=awk
25598 _ACEOF
25599
25600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25601 # The default lists apply if the user does not specify any file.
25602 ac_need_defaults=:
25603 while test $# != 0
25604 do
25605   case $1 in
25606   --*=*)
25607     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25608     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25609     ac_shift=:
25610     ;;
25611   *)
25612     ac_option=$1
25613     ac_optarg=$2
25614     ac_shift=shift
25615     ;;
25616   esac
25617
25618   case $ac_option in
25619   # Handling of the options.
25620   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25621     ac_cs_recheck=: ;;
25622   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25623     $as_echo "$ac_cs_version"; exit ;;
25624   --debug | --debu | --deb | --de | --d | -d )
25625     debug=: ;;
25626   --file | --fil | --fi | --f )
25627     $ac_shift
25628     case $ac_optarg in
25629     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25630     esac
25631     as_fn_append CONFIG_FILES " '$ac_optarg'"
25632     ac_need_defaults=false;;
25633   --header | --heade | --head | --hea )
25634     $ac_shift
25635     case $ac_optarg in
25636     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25637     esac
25638     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25639     ac_need_defaults=false;;
25640   --he | --h)
25641     # Conflict between --help and --header
25642     as_fn_error "ambiguous option: \`$1'
25643 Try \`$0 --help' for more information.";;
25644   --help | --hel | -h )
25645     $as_echo "$ac_cs_usage"; exit ;;
25646   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25647   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25648     ac_cs_silent=: ;;
25649
25650   # This is an error.
25651   -*) as_fn_error "unrecognized option: \`$1'
25652 Try \`$0 --help' for more information." ;;
25653
25654   *) as_fn_append ac_config_targets " $1"
25655      ac_need_defaults=false ;;
25656
25657   esac
25658   shift
25659 done
25660
25661 ac_configure_extra_args=
25662
25663 if $ac_cs_silent; then
25664   exec 6>/dev/null
25665   ac_configure_extra_args="$ac_configure_extra_args --silent"
25666 fi
25667
25668 _ACEOF
25669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25670 if \$ac_cs_recheck; then
25671   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25672   shift
25673   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25674   CONFIG_SHELL='$SHELL'
25675   export CONFIG_SHELL
25676   exec "\$@"
25677 fi
25678
25679 _ACEOF
25680 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25681 exec 5>>config.log
25682 {
25683   echo
25684   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25685 ## Running $as_me. ##
25686 _ASBOX
25687   $as_echo "$ac_log"
25688 } >&5
25689
25690 _ACEOF
25691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25692 #
25693 # INIT-COMMANDS
25694 #
25695
25696 srcdir="$srcdir"
25697 host="$host"
25698 target="$target"
25699 with_multisubdir="$with_multisubdir"
25700 with_multisrctop="$with_multisrctop"
25701 with_target_subdir="$with_target_subdir"
25702 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25703 multi_basedir="$multi_basedir"
25704 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25705 CC="$CC"
25706 CXX="$CXX"
25707 GFORTRAN="$GFORTRAN"
25708 GCJ="$GCJ"
25709 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25710
25711
25712 # The HP-UX ksh and POSIX shell print the target directory to stdout
25713 # if CDPATH is set.
25714 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25715
25716 sed_quote_subst='$sed_quote_subst'
25717 double_quote_subst='$double_quote_subst'
25718 delay_variable_subst='$delay_variable_subst'
25719 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25720 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25721 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25722 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25723 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25724 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25725 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25726 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25727 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25728 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25729 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25730 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25731 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25732 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25733 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25734 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25735 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25736 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25737 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25738 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25739 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25740 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25741 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25742 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25743 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25744 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25745 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25746 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25747 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25748 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25749 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25750 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25751 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25752 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25753 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25754 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25755 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25756 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25757 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25758 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25759 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25760 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25761 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25762 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25763 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25764 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25765 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25766 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25767 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"`'
25768 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25769 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25770 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25771 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25772 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25773 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25774 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25775 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25776 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25777 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25778 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25779 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25780 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25781 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25782 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25783 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25784 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25785 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25786 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25787 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25788 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25789 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25790 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25791 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25792 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25793 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25794 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25795 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25796 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25797 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25798 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25799 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25800 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25801 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25802 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25803 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25804 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25805 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25806 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25807 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25808 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25809 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25810 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25811 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25812 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25813 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25814 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25815 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25816 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25817 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25818 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25819 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25820 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25821 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25822 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25823 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25824 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25825 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25826 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25827 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25828 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25829 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25830 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25831 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25832 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25833 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25834 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25835 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25836 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25837 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25838 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25839 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25840 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25841 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25842 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25843 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25844 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25845 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25846 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25847 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25848 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25849 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25850 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25851 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25852 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25853 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25854 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25855 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25856 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25857 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25858 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25859 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25860 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25861 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25862 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25863 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25864 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25865 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25866 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25867 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25868 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25869 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25870 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25871 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25872 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25873 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25874 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25875 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25876 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25877 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25878 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25879 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25880 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25881 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25882 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25883 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25884 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25885 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25886 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25887 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25888 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25889 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25890 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25891 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25892 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25893 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25894
25895 LTCC='$LTCC'
25896 LTCFLAGS='$LTCFLAGS'
25897 compiler='$compiler_DEFAULT'
25898
25899 # A function that is used when there is no print builtin or printf.
25900 func_fallback_echo ()
25901 {
25902   eval 'cat <<_LTECHO_EOF
25903 \$1
25904 _LTECHO_EOF'
25905 }
25906
25907 # Quote evaled strings.
25908 for var in SHELL \
25909 ECHO \
25910 SED \
25911 GREP \
25912 EGREP \
25913 FGREP \
25914 LD \
25915 NM \
25916 LN_S \
25917 lt_SP2NL \
25918 lt_NL2SP \
25919 reload_flag \
25920 OBJDUMP \
25921 deplibs_check_method \
25922 file_magic_cmd \
25923 AR \
25924 AR_FLAGS \
25925 STRIP \
25926 RANLIB \
25927 CC \
25928 CFLAGS \
25929 compiler \
25930 lt_cv_sys_global_symbol_pipe \
25931 lt_cv_sys_global_symbol_to_cdecl \
25932 lt_cv_sys_global_symbol_to_c_name_address \
25933 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25934 lt_prog_compiler_no_builtin_flag \
25935 lt_prog_compiler_wl \
25936 lt_prog_compiler_pic \
25937 lt_prog_compiler_static \
25938 lt_cv_prog_compiler_c_o \
25939 need_locks \
25940 DSYMUTIL \
25941 NMEDIT \
25942 LIPO \
25943 OTOOL \
25944 OTOOL64 \
25945 shrext_cmds \
25946 export_dynamic_flag_spec \
25947 whole_archive_flag_spec \
25948 compiler_needs_object \
25949 with_gnu_ld \
25950 allow_undefined_flag \
25951 no_undefined_flag \
25952 hardcode_libdir_flag_spec \
25953 hardcode_libdir_flag_spec_ld \
25954 hardcode_libdir_separator \
25955 fix_srcfile_path \
25956 exclude_expsyms \
25957 include_expsyms \
25958 file_list_spec \
25959 variables_saved_for_relink \
25960 libname_spec \
25961 library_names_spec \
25962 soname_spec \
25963 install_override_mode \
25964 finish_eval \
25965 old_striplib \
25966 striplib \
25967 compiler_lib_search_dirs \
25968 predep_objects \
25969 postdep_objects \
25970 predeps \
25971 postdeps \
25972 compiler_lib_search_path \
25973 LD_FC \
25974 reload_flag_FC \
25975 compiler_FC \
25976 lt_prog_compiler_no_builtin_flag_FC \
25977 lt_prog_compiler_wl_FC \
25978 lt_prog_compiler_pic_FC \
25979 lt_prog_compiler_static_FC \
25980 lt_cv_prog_compiler_c_o_FC \
25981 export_dynamic_flag_spec_FC \
25982 whole_archive_flag_spec_FC \
25983 compiler_needs_object_FC \
25984 with_gnu_ld_FC \
25985 allow_undefined_flag_FC \
25986 no_undefined_flag_FC \
25987 hardcode_libdir_flag_spec_FC \
25988 hardcode_libdir_flag_spec_ld_FC \
25989 hardcode_libdir_separator_FC \
25990 fix_srcfile_path_FC \
25991 exclude_expsyms_FC \
25992 include_expsyms_FC \
25993 file_list_spec_FC \
25994 compiler_lib_search_dirs_FC \
25995 predep_objects_FC \
25996 postdep_objects_FC \
25997 predeps_FC \
25998 postdeps_FC \
25999 compiler_lib_search_path_FC; do
26000     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26001     *[\\\\\\\`\\"\\\$]*)
26002       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26003       ;;
26004     *)
26005       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26006       ;;
26007     esac
26008 done
26009
26010 # Double-quote double-evaled strings.
26011 for var in reload_cmds \
26012 old_postinstall_cmds \
26013 old_postuninstall_cmds \
26014 old_archive_cmds \
26015 extract_expsyms_cmds \
26016 old_archive_from_new_cmds \
26017 old_archive_from_expsyms_cmds \
26018 archive_cmds \
26019 archive_expsym_cmds \
26020 module_cmds \
26021 module_expsym_cmds \
26022 export_symbols_cmds \
26023 prelink_cmds \
26024 postinstall_cmds \
26025 postuninstall_cmds \
26026 finish_cmds \
26027 sys_lib_search_path_spec \
26028 sys_lib_dlsearch_path_spec \
26029 reload_cmds_FC \
26030 old_archive_cmds_FC \
26031 old_archive_from_new_cmds_FC \
26032 old_archive_from_expsyms_cmds_FC \
26033 archive_cmds_FC \
26034 archive_expsym_cmds_FC \
26035 module_cmds_FC \
26036 module_expsym_cmds_FC \
26037 export_symbols_cmds_FC \
26038 prelink_cmds_FC; do
26039     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26040     *[\\\\\\\`\\"\\\$]*)
26041       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26042       ;;
26043     *)
26044       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26045       ;;
26046     esac
26047 done
26048
26049 ac_aux_dir='$ac_aux_dir'
26050 xsi_shell='$xsi_shell'
26051 lt_shell_append='$lt_shell_append'
26052
26053 # See if we are running on zsh, and set the options which allow our
26054 # commands through without removal of \ escapes INIT.
26055 if test -n "\${ZSH_VERSION+set}" ; then
26056    setopt NO_GLOB_SUBST
26057 fi
26058
26059
26060     PACKAGE='$PACKAGE'
26061     VERSION='$VERSION'
26062     TIMESTAMP='$TIMESTAMP'
26063     RM='$RM'
26064     ofile='$ofile'
26065
26066
26067
26068
26069
26070
26071 GCC="$GCC"
26072 CC="$CC"
26073 acx_cv_header_stdint="$acx_cv_header_stdint"
26074 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26075 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26076 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26077 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26078 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26079 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26080 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26081 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26082 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26083 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26084 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26085 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26086 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26087
26088
26089 _ACEOF
26090
26091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26092
26093 # Handling of arguments.
26094 for ac_config_target in $ac_config_targets
26095 do
26096   case $ac_config_target in
26097     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26098     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26099     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26100     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26101     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26102     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26103     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26104
26105   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26106   esac
26107 done
26108
26109
26110 # If the user did not use the arguments to specify the items to instantiate,
26111 # then the envvar interface is used.  Set only those that are not.
26112 # We use the long form for the default assignment because of an extremely
26113 # bizarre bug on SunOS 4.1.3.
26114 if $ac_need_defaults; then
26115   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26116   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26117   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26118 fi
26119
26120 # Have a temporary directory for convenience.  Make it in the build tree
26121 # simply because there is no reason against having it here, and in addition,
26122 # creating and moving files from /tmp can sometimes cause problems.
26123 # Hook for its removal unless debugging.
26124 # Note that there is a small window in which the directory will not be cleaned:
26125 # after its creation but before its name has been assigned to `$tmp'.
26126 $debug ||
26127 {
26128   tmp=
26129   trap 'exit_status=$?
26130   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26131 ' 0
26132   trap 'as_fn_exit 1' 1 2 13 15
26133 }
26134 # Create a (secure) tmp directory for tmp files.
26135
26136 {
26137   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26138   test -n "$tmp" && test -d "$tmp"
26139 }  ||
26140 {
26141   tmp=./conf$$-$RANDOM
26142   (umask 077 && mkdir "$tmp")
26143 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26144
26145 # Set up the scripts for CONFIG_FILES section.
26146 # No need to generate them if there are no CONFIG_FILES.
26147 # This happens for instance with `./config.status config.h'.
26148 if test -n "$CONFIG_FILES"; then
26149
26150
26151 ac_cr=`echo X | tr X '\015'`
26152 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26153 # But we know of no other shell where ac_cr would be empty at this
26154 # point, so we can use a bashism as a fallback.
26155 if test "x$ac_cr" = x; then
26156   eval ac_cr=\$\'\\r\'
26157 fi
26158 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26159 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26160   ac_cs_awk_cr='\r'
26161 else
26162   ac_cs_awk_cr=$ac_cr
26163 fi
26164
26165 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26166 _ACEOF
26167
26168
26169 {
26170   echo "cat >conf$$subs.awk <<_ACEOF" &&
26171   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26172   echo "_ACEOF"
26173 } >conf$$subs.sh ||
26174   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26175 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26176 ac_delim='%!_!# '
26177 for ac_last_try in false false false false false :; do
26178   . ./conf$$subs.sh ||
26179     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26180
26181   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26182   if test $ac_delim_n = $ac_delim_num; then
26183     break
26184   elif $ac_last_try; then
26185     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26186   else
26187     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26188   fi
26189 done
26190 rm -f conf$$subs.sh
26191
26192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26193 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26194 _ACEOF
26195 sed -n '
26196 h
26197 s/^/S["/; s/!.*/"]=/
26198 p
26199 g
26200 s/^[^!]*!//
26201 :repl
26202 t repl
26203 s/'"$ac_delim"'$//
26204 t delim
26205 :nl
26206 h
26207 s/\(.\{148\}\).*/\1/
26208 t more1
26209 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26210 p
26211 n
26212 b repl
26213 :more1
26214 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26215 p
26216 g
26217 s/.\{148\}//
26218 t nl
26219 :delim
26220 h
26221 s/\(.\{148\}\).*/\1/
26222 t more2
26223 s/["\\]/\\&/g; s/^/"/; s/$/"/
26224 p
26225 b
26226 :more2
26227 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26228 p
26229 g
26230 s/.\{148\}//
26231 t delim
26232 ' <conf$$subs.awk | sed '
26233 /^[^""]/{
26234   N
26235   s/\n//
26236 }
26237 ' >>$CONFIG_STATUS || ac_write_fail=1
26238 rm -f conf$$subs.awk
26239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26240 _ACAWK
26241 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26242   for (key in S) S_is_set[key] = 1
26243   FS = "\a"
26244
26245 }
26246 {
26247   line = $ 0
26248   nfields = split(line, field, "@")
26249   substed = 0
26250   len = length(field[1])
26251   for (i = 2; i < nfields; i++) {
26252     key = field[i]
26253     keylen = length(key)
26254     if (S_is_set[key]) {
26255       value = S[key]
26256       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26257       len += length(value) + length(field[++i])
26258       substed = 1
26259     } else
26260       len += 1 + keylen
26261   }
26262
26263   print line
26264 }
26265
26266 _ACAWK
26267 _ACEOF
26268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26269 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26270   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26271 else
26272   cat
26273 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26274   || as_fn_error "could not setup config files machinery" "$LINENO" 5
26275 _ACEOF
26276
26277 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26278 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26279 # trailing colons and then remove the whole line if VPATH becomes empty
26280 # (actually we leave an empty line to preserve line numbers).
26281 if test "x$srcdir" = x.; then
26282   ac_vpsub='/^[  ]*VPATH[        ]*=/{
26283 s/:*\$(srcdir):*/:/
26284 s/:*\${srcdir}:*/:/
26285 s/:*@srcdir@:*/:/
26286 s/^\([^=]*=[     ]*\):*/\1/
26287 s/:*$//
26288 s/^[^=]*=[       ]*$//
26289 }'
26290 fi
26291
26292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26293 fi # test -n "$CONFIG_FILES"
26294
26295 # Set up the scripts for CONFIG_HEADERS section.
26296 # No need to generate them if there are no CONFIG_HEADERS.
26297 # This happens for instance with `./config.status Makefile'.
26298 if test -n "$CONFIG_HEADERS"; then
26299 cat >"$tmp/defines.awk" <<\_ACAWK ||
26300 BEGIN {
26301 _ACEOF
26302
26303 # Transform confdefs.h into an awk script `defines.awk', embedded as
26304 # here-document in config.status, that substitutes the proper values into
26305 # config.h.in to produce config.h.
26306
26307 # Create a delimiter string that does not exist in confdefs.h, to ease
26308 # handling of long lines.
26309 ac_delim='%!_!# '
26310 for ac_last_try in false false :; do
26311   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26312   if test -z "$ac_t"; then
26313     break
26314   elif $ac_last_try; then
26315     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26316   else
26317     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26318   fi
26319 done
26320
26321 # For the awk script, D is an array of macro values keyed by name,
26322 # likewise P contains macro parameters if any.  Preserve backslash
26323 # newline sequences.
26324
26325 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26326 sed -n '
26327 s/.\{148\}/&'"$ac_delim"'/g
26328 t rset
26329 :rset
26330 s/^[     ]*#[    ]*define[       ][      ]*/ /
26331 t def
26332 d
26333 :def
26334 s/\\$//
26335 t bsnl
26336 s/["\\]/\\&/g
26337 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26338 D["\1"]=" \3"/p
26339 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
26340 d
26341 :bsnl
26342 s/["\\]/\\&/g
26343 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26344 D["\1"]=" \3\\\\\\n"\\/p
26345 t cont
26346 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26347 t cont
26348 d
26349 :cont
26350 n
26351 s/.\{148\}/&'"$ac_delim"'/g
26352 t clear
26353 :clear
26354 s/\\$//
26355 t bsnlc
26356 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26357 d
26358 :bsnlc
26359 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26360 b cont
26361 ' <confdefs.h | sed '
26362 s/'"$ac_delim"'/"\\\
26363 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26364
26365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26366   for (key in D) D_is_set[key] = 1
26367   FS = "\a"
26368 }
26369 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26370   line = \$ 0
26371   split(line, arg, " ")
26372   if (arg[1] == "#") {
26373     defundef = arg[2]
26374     mac1 = arg[3]
26375   } else {
26376     defundef = substr(arg[1], 2)
26377     mac1 = arg[2]
26378   }
26379   split(mac1, mac2, "(") #)
26380   macro = mac2[1]
26381   prefix = substr(line, 1, index(line, defundef) - 1)
26382   if (D_is_set[macro]) {
26383     # Preserve the white space surrounding the "#".
26384     print prefix "define", macro P[macro] D[macro]
26385     next
26386   } else {
26387     # Replace #undef with comments.  This is necessary, for example,
26388     # in the case of _POSIX_SOURCE, which is predefined and required
26389     # on some systems where configure will not decide to define it.
26390     if (defundef == "undef") {
26391       print "/*", prefix defundef, macro, "*/"
26392       next
26393     }
26394   }
26395 }
26396 { print }
26397 _ACAWK
26398 _ACEOF
26399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26400   as_fn_error "could not setup config headers machinery" "$LINENO" 5
26401 fi # test -n "$CONFIG_HEADERS"
26402
26403
26404 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26405 shift
26406 for ac_tag
26407 do
26408   case $ac_tag in
26409   :[FHLC]) ac_mode=$ac_tag; continue;;
26410   esac
26411   case $ac_mode$ac_tag in
26412   :[FHL]*:*);;
26413   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26414   :[FH]-) ac_tag=-:-;;
26415   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26416   esac
26417   ac_save_IFS=$IFS
26418   IFS=:
26419   set x $ac_tag
26420   IFS=$ac_save_IFS
26421   shift
26422   ac_file=$1
26423   shift
26424
26425   case $ac_mode in
26426   :L) ac_source=$1;;
26427   :[FH])
26428     ac_file_inputs=
26429     for ac_f
26430     do
26431       case $ac_f in
26432       -) ac_f="$tmp/stdin";;
26433       *) # Look for the file first in the build tree, then in the source tree
26434          # (if the path is not absolute).  The absolute path cannot be DOS-style,
26435          # because $ac_f cannot contain `:'.
26436          test -f "$ac_f" ||
26437            case $ac_f in
26438            [\\/$]*) false;;
26439            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26440            esac ||
26441            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26442       esac
26443       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26444       as_fn_append ac_file_inputs " '$ac_f'"
26445     done
26446
26447     # Let's still pretend it is `configure' which instantiates (i.e., don't
26448     # use $as_me), people would be surprised to read:
26449     #    /* config.h.  Generated by config.status.  */
26450     configure_input='Generated from '`
26451           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26452         `' by configure.'
26453     if test x"$ac_file" != x-; then
26454       configure_input="$ac_file.  $configure_input"
26455       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26456 $as_echo "$as_me: creating $ac_file" >&6;}
26457     fi
26458     # Neutralize special characters interpreted by sed in replacement strings.
26459     case $configure_input in #(
26460     *\&* | *\|* | *\\* )
26461        ac_sed_conf_input=`$as_echo "$configure_input" |
26462        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26463     *) ac_sed_conf_input=$configure_input;;
26464     esac
26465
26466     case $ac_tag in
26467     *:-:* | *:-) cat >"$tmp/stdin" \
26468       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26469     esac
26470     ;;
26471   esac
26472
26473   ac_dir=`$as_dirname -- "$ac_file" ||
26474 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26475          X"$ac_file" : 'X\(//\)[^/]' \| \
26476          X"$ac_file" : 'X\(//\)$' \| \
26477          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26478 $as_echo X"$ac_file" |
26479     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26480             s//\1/
26481             q
26482           }
26483           /^X\(\/\/\)[^/].*/{
26484             s//\1/
26485             q
26486           }
26487           /^X\(\/\/\)$/{
26488             s//\1/
26489             q
26490           }
26491           /^X\(\/\).*/{
26492             s//\1/
26493             q
26494           }
26495           s/.*/./; q'`
26496   as_dir="$ac_dir"; as_fn_mkdir_p
26497   ac_builddir=.
26498
26499 case "$ac_dir" in
26500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26501 *)
26502   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26503   # A ".." for each directory in $ac_dir_suffix.
26504   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26505   case $ac_top_builddir_sub in
26506   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26507   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26508   esac ;;
26509 esac
26510 ac_abs_top_builddir=$ac_pwd
26511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26512 # for backward compatibility:
26513 ac_top_builddir=$ac_top_build_prefix
26514
26515 case $srcdir in
26516   .)  # We are building in place.
26517     ac_srcdir=.
26518     ac_top_srcdir=$ac_top_builddir_sub
26519     ac_abs_top_srcdir=$ac_pwd ;;
26520   [\\/]* | ?:[\\/]* )  # Absolute name.
26521     ac_srcdir=$srcdir$ac_dir_suffix;
26522     ac_top_srcdir=$srcdir
26523     ac_abs_top_srcdir=$srcdir ;;
26524   *) # Relative name.
26525     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26526     ac_top_srcdir=$ac_top_build_prefix$srcdir
26527     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26528 esac
26529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26530
26531
26532   case $ac_mode in
26533   :F)
26534   #
26535   # CONFIG_FILE
26536   #
26537
26538   case $INSTALL in
26539   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26540   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26541   esac
26542   ac_MKDIR_P=$MKDIR_P
26543   case $MKDIR_P in
26544   [\\/$]* | ?:[\\/]* ) ;;
26545   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26546   esac
26547 _ACEOF
26548
26549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26550 # If the template does not know about datarootdir, expand it.
26551 # FIXME: This hack should be removed a few years after 2.60.
26552 ac_datarootdir_hack=; ac_datarootdir_seen=
26553 ac_sed_dataroot='
26554 /datarootdir/ {
26555   p
26556   q
26557 }
26558 /@datadir@/p
26559 /@docdir@/p
26560 /@infodir@/p
26561 /@localedir@/p
26562 /@mandir@/p'
26563 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26564 *datarootdir*) ac_datarootdir_seen=yes;;
26565 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26566   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26567 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26568 _ACEOF
26569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26570   ac_datarootdir_hack='
26571   s&@datadir@&$datadir&g
26572   s&@docdir@&$docdir&g
26573   s&@infodir@&$infodir&g
26574   s&@localedir@&$localedir&g
26575   s&@mandir@&$mandir&g
26576   s&\\\${datarootdir}&$datarootdir&g' ;;
26577 esac
26578 _ACEOF
26579
26580 # Neutralize VPATH when `$srcdir' = `.'.
26581 # Shell code in configure.ac might set extrasub.
26582 # FIXME: do we really want to maintain this feature?
26583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26584 ac_sed_extra="$ac_vpsub
26585 $extrasub
26586 _ACEOF
26587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26588 :t
26589 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26590 s|@configure_input@|$ac_sed_conf_input|;t t
26591 s&@top_builddir@&$ac_top_builddir_sub&;t t
26592 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26593 s&@srcdir@&$ac_srcdir&;t t
26594 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26595 s&@top_srcdir@&$ac_top_srcdir&;t t
26596 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26597 s&@builddir@&$ac_builddir&;t t
26598 s&@abs_builddir@&$ac_abs_builddir&;t t
26599 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26600 s&@INSTALL@&$ac_INSTALL&;t t
26601 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26602 $ac_datarootdir_hack
26603 "
26604 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26605   || as_fn_error "could not create $ac_file" "$LINENO" 5
26606
26607 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26608   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26609   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26610   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26611 which seems to be undefined.  Please make sure it is defined." >&5
26612 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26613 which seems to be undefined.  Please make sure it is defined." >&2;}
26614
26615   rm -f "$tmp/stdin"
26616   case $ac_file in
26617   -) cat "$tmp/out" && rm -f "$tmp/out";;
26618   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26619   esac \
26620   || as_fn_error "could not create $ac_file" "$LINENO" 5
26621  ;;
26622   :H)
26623   #
26624   # CONFIG_HEADER
26625   #
26626   if test x"$ac_file" != x-; then
26627     {
26628       $as_echo "/* $configure_input  */" \
26629       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26630     } >"$tmp/config.h" \
26631       || as_fn_error "could not create $ac_file" "$LINENO" 5
26632     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26633       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26634 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26635     else
26636       rm -f "$ac_file"
26637       mv "$tmp/config.h" "$ac_file" \
26638         || as_fn_error "could not create $ac_file" "$LINENO" 5
26639     fi
26640   else
26641     $as_echo "/* $configure_input  */" \
26642       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26643       || as_fn_error "could not create -" "$LINENO" 5
26644   fi
26645 # Compute "$ac_file"'s index in $config_headers.
26646 _am_arg="$ac_file"
26647 _am_stamp_count=1
26648 for _am_header in $config_headers :; do
26649   case $_am_header in
26650     $_am_arg | $_am_arg:* )
26651       break ;;
26652     * )
26653       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26654   esac
26655 done
26656 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26657 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26658          X"$_am_arg" : 'X\(//\)[^/]' \| \
26659          X"$_am_arg" : 'X\(//\)$' \| \
26660          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26661 $as_echo X"$_am_arg" |
26662     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26663             s//\1/
26664             q
26665           }
26666           /^X\(\/\/\)[^/].*/{
26667             s//\1/
26668             q
26669           }
26670           /^X\(\/\/\)$/{
26671             s//\1/
26672             q
26673           }
26674           /^X\(\/\).*/{
26675             s//\1/
26676             q
26677           }
26678           s/.*/./; q'`/stamp-h$_am_stamp_count
26679  ;;
26680
26681   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26682 $as_echo "$as_me: executing $ac_file commands" >&6;}
26683  ;;
26684   esac
26685
26686
26687   case $ac_file$ac_mode in
26688     "default-1":C)
26689 # Only add multilib support code if we just rebuilt the top-level
26690 # Makefile.
26691 case " $CONFIG_FILES " in
26692  *" Makefile "*)
26693    ac_file=Makefile . ${multi_basedir}/config-ml.in
26694    ;;
26695 esac ;;
26696     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26697   # Autoconf 2.62 quotes --file arguments for eval, but not when files
26698   # are listed without --file.  Let's play safe and only enable the eval
26699   # if we detect the quoting.
26700   case $CONFIG_FILES in
26701   *\'*) eval set x "$CONFIG_FILES" ;;
26702   *)   set x $CONFIG_FILES ;;
26703   esac
26704   shift
26705   for mf
26706   do
26707     # Strip MF so we end up with the name of the file.
26708     mf=`echo "$mf" | sed -e 's/:.*$//'`
26709     # Check whether this is an Automake generated Makefile or not.
26710     # We used to match only the files named `Makefile.in', but
26711     # some people rename them; so instead we look at the file content.
26712     # Grep'ing the first line is not enough: some people post-process
26713     # each Makefile.in and add a new line on top of each file to say so.
26714     # Grep'ing the whole file is not good either: AIX grep has a line
26715     # limit of 2048, but all sed's we know have understand at least 4000.
26716     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26717       dirpart=`$as_dirname -- "$mf" ||
26718 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26719          X"$mf" : 'X\(//\)[^/]' \| \
26720          X"$mf" : 'X\(//\)$' \| \
26721          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26722 $as_echo X"$mf" |
26723     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26724             s//\1/
26725             q
26726           }
26727           /^X\(\/\/\)[^/].*/{
26728             s//\1/
26729             q
26730           }
26731           /^X\(\/\/\)$/{
26732             s//\1/
26733             q
26734           }
26735           /^X\(\/\).*/{
26736             s//\1/
26737             q
26738           }
26739           s/.*/./; q'`
26740     else
26741       continue
26742     fi
26743     # Extract the definition of DEPDIR, am__include, and am__quote
26744     # from the Makefile without running `make'.
26745     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26746     test -z "$DEPDIR" && continue
26747     am__include=`sed -n 's/^am__include = //p' < "$mf"`
26748     test -z "am__include" && continue
26749     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26750     # When using ansi2knr, U may be empty or an underscore; expand it
26751     U=`sed -n 's/^U = //p' < "$mf"`
26752     # Find all dependency output files, they are included files with
26753     # $(DEPDIR) in their names.  We invoke sed twice because it is the
26754     # simplest approach to changing $(DEPDIR) to its actual value in the
26755     # expansion.
26756     for file in `sed -n "
26757       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26758          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26759       # Make sure the directory exists.
26760       test -f "$dirpart/$file" && continue
26761       fdir=`$as_dirname -- "$file" ||
26762 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26763          X"$file" : 'X\(//\)[^/]' \| \
26764          X"$file" : 'X\(//\)$' \| \
26765          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26766 $as_echo X"$file" |
26767     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26768             s//\1/
26769             q
26770           }
26771           /^X\(\/\/\)[^/].*/{
26772             s//\1/
26773             q
26774           }
26775           /^X\(\/\/\)$/{
26776             s//\1/
26777             q
26778           }
26779           /^X\(\/\).*/{
26780             s//\1/
26781             q
26782           }
26783           s/.*/./; q'`
26784       as_dir=$dirpart/$fdir; as_fn_mkdir_p
26785       # echo "creating $dirpart/$file"
26786       echo '# dummy' > "$dirpart/$file"
26787     done
26788   done
26789 }
26790  ;;
26791     "libtool":C)
26792
26793     # See if we are running on zsh, and set the options which allow our
26794     # commands through without removal of \ escapes.
26795     if test -n "${ZSH_VERSION+set}" ; then
26796       setopt NO_GLOB_SUBST
26797     fi
26798
26799     cfgfile="${ofile}T"
26800     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26801     $RM "$cfgfile"
26802
26803     cat <<_LT_EOF >> "$cfgfile"
26804 #! $SHELL
26805
26806 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26807 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26808 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26809 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26810 #
26811 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26812 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26813 #   Written by Gordon Matzigkeit, 1996
26814 #
26815 #   This file is part of GNU Libtool.
26816 #
26817 # GNU Libtool is free software; you can redistribute it and/or
26818 # modify it under the terms of the GNU General Public License as
26819 # published by the Free Software Foundation; either version 2 of
26820 # the License, or (at your option) any later version.
26821 #
26822 # As a special exception to the GNU General Public License,
26823 # if you distribute this file as part of a program or library that
26824 # is built using GNU Libtool, you may include this file under the
26825 # same distribution terms that you use for the rest of that program.
26826 #
26827 # GNU Libtool is distributed in the hope that it will be useful,
26828 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26829 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26830 # GNU General Public License for more details.
26831 #
26832 # You should have received a copy of the GNU General Public License
26833 # along with GNU Libtool; see the file COPYING.  If not, a copy
26834 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26835 # obtained by writing to the Free Software Foundation, Inc.,
26836 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26837
26838
26839 # The names of the tagged configurations supported by this script.
26840 available_tags="FC "
26841
26842 # ### BEGIN LIBTOOL CONFIG
26843
26844 # Which release of libtool.m4 was used?
26845 macro_version=$macro_version
26846 macro_revision=$macro_revision
26847
26848 # Whether or not to build shared libraries.
26849 build_libtool_libs=$enable_shared
26850
26851 # Whether or not to build static libraries.
26852 build_old_libs=$enable_static
26853
26854 # What type of objects to build.
26855 pic_mode=$pic_mode
26856
26857 # Whether or not to optimize for fast installation.
26858 fast_install=$enable_fast_install
26859
26860 # Shell to use when invoking shell scripts.
26861 SHELL=$lt_SHELL
26862
26863 # An echo program that protects backslashes.
26864 ECHO=$lt_ECHO
26865
26866 # The host system.
26867 host_alias=$host_alias
26868 host=$host
26869 host_os=$host_os
26870
26871 # The build system.
26872 build_alias=$build_alias
26873 build=$build
26874 build_os=$build_os
26875
26876 # A sed program that does not truncate output.
26877 SED=$lt_SED
26878
26879 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26880 Xsed="\$SED -e 1s/^X//"
26881
26882 # A grep program that handles long lines.
26883 GREP=$lt_GREP
26884
26885 # An ERE matcher.
26886 EGREP=$lt_EGREP
26887
26888 # A literal string matcher.
26889 FGREP=$lt_FGREP
26890
26891 # A BSD- or MS-compatible name lister.
26892 NM=$lt_NM
26893
26894 # Whether we need soft or hard links.
26895 LN_S=$lt_LN_S
26896
26897 # What is the maximum length of a command?
26898 max_cmd_len=$max_cmd_len
26899
26900 # Object file suffix (normally "o").
26901 objext=$ac_objext
26902
26903 # Executable file suffix (normally "").
26904 exeext=$exeext
26905
26906 # whether the shell understands "unset".
26907 lt_unset=$lt_unset
26908
26909 # turn spaces into newlines.
26910 SP2NL=$lt_lt_SP2NL
26911
26912 # turn newlines into spaces.
26913 NL2SP=$lt_lt_NL2SP
26914
26915 # An object symbol dumper.
26916 OBJDUMP=$lt_OBJDUMP
26917
26918 # Method to check whether dependent libraries are shared objects.
26919 deplibs_check_method=$lt_deplibs_check_method
26920
26921 # Command to use when deplibs_check_method == "file_magic".
26922 file_magic_cmd=$lt_file_magic_cmd
26923
26924 # The archiver.
26925 AR=$lt_AR
26926 AR_FLAGS=$lt_AR_FLAGS
26927
26928 # A symbol stripping program.
26929 STRIP=$lt_STRIP
26930
26931 # Commands used to install an old-style archive.
26932 RANLIB=$lt_RANLIB
26933 old_postinstall_cmds=$lt_old_postinstall_cmds
26934 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26935
26936 # Whether to use a lock for old archive extraction.
26937 lock_old_archive_extraction=$lock_old_archive_extraction
26938
26939 # A C compiler.
26940 LTCC=$lt_CC
26941
26942 # LTCC compiler flags.
26943 LTCFLAGS=$lt_CFLAGS
26944
26945 # Take the output of nm and produce a listing of raw symbols and C names.
26946 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26947
26948 # Transform the output of nm in a proper C declaration.
26949 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26950
26951 # Transform the output of nm in a C name address pair.
26952 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26953
26954 # Transform the output of nm in a C name address pair when lib prefix is needed.
26955 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26956
26957 # The name of the directory that contains temporary libtool files.
26958 objdir=$objdir
26959
26960 # Used to examine libraries when file_magic_cmd begins with "file".
26961 MAGIC_CMD=$MAGIC_CMD
26962
26963 # Must we lock files when doing compilation?
26964 need_locks=$lt_need_locks
26965
26966 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26967 DSYMUTIL=$lt_DSYMUTIL
26968
26969 # Tool to change global to local symbols on Mac OS X.
26970 NMEDIT=$lt_NMEDIT
26971
26972 # Tool to manipulate fat objects and archives on Mac OS X.
26973 LIPO=$lt_LIPO
26974
26975 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26976 OTOOL=$lt_OTOOL
26977
26978 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
26979 OTOOL64=$lt_OTOOL64
26980
26981 # Old archive suffix (normally "a").
26982 libext=$libext
26983
26984 # Shared library suffix (normally ".so").
26985 shrext_cmds=$lt_shrext_cmds
26986
26987 # The commands to extract the exported symbol list from a shared archive.
26988 extract_expsyms_cmds=$lt_extract_expsyms_cmds
26989
26990 # Variables whose values should be saved in libtool wrapper scripts and
26991 # restored at link time.
26992 variables_saved_for_relink=$lt_variables_saved_for_relink
26993
26994 # Do we need the "lib" prefix for modules?
26995 need_lib_prefix=$need_lib_prefix
26996
26997 # Do we need a version for libraries?
26998 need_version=$need_version
26999
27000 # Library versioning type.
27001 version_type=$version_type
27002
27003 # Shared library runtime path variable.
27004 runpath_var=$runpath_var
27005
27006 # Shared library path variable.
27007 shlibpath_var=$shlibpath_var
27008
27009 # Is shlibpath searched before the hard-coded library search path?
27010 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27011
27012 # Format of library name prefix.
27013 libname_spec=$lt_libname_spec
27014
27015 # List of archive names.  First name is the real one, the rest are links.
27016 # The last name is the one that the linker finds with -lNAME
27017 library_names_spec=$lt_library_names_spec
27018
27019 # The coded name of the library, if different from the real name.
27020 soname_spec=$lt_soname_spec
27021
27022 # Permission mode override for installation of shared libraries.
27023 install_override_mode=$lt_install_override_mode
27024
27025 # Command to use after installation of a shared archive.
27026 postinstall_cmds=$lt_postinstall_cmds
27027
27028 # Command to use after uninstallation of a shared archive.
27029 postuninstall_cmds=$lt_postuninstall_cmds
27030
27031 # Commands used to finish a libtool library installation in a directory.
27032 finish_cmds=$lt_finish_cmds
27033
27034 # As "finish_cmds", except a single script fragment to be evaled but
27035 # not shown.
27036 finish_eval=$lt_finish_eval
27037
27038 # Whether we should hardcode library paths into libraries.
27039 hardcode_into_libs=$hardcode_into_libs
27040
27041 # Compile-time system search path for libraries.
27042 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27043
27044 # Run-time system search path for libraries.
27045 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27046
27047 # Whether dlopen is supported.
27048 dlopen_support=$enable_dlopen
27049
27050 # Whether dlopen of programs is supported.
27051 dlopen_self=$enable_dlopen_self
27052
27053 # Whether dlopen of statically linked programs is supported.
27054 dlopen_self_static=$enable_dlopen_self_static
27055
27056 # Commands to strip libraries.
27057 old_striplib=$lt_old_striplib
27058 striplib=$lt_striplib
27059
27060
27061 # The linker used to build libraries.
27062 LD=$lt_LD
27063
27064 # How to create reloadable object files.
27065 reload_flag=$lt_reload_flag
27066 reload_cmds=$lt_reload_cmds
27067
27068 # Commands used to build an old-style archive.
27069 old_archive_cmds=$lt_old_archive_cmds
27070
27071 # A language specific compiler.
27072 CC=$lt_compiler
27073
27074 # Is the compiler the GNU compiler?
27075 with_gcc=$GCC
27076
27077 # Compiler flag to turn off builtin functions.
27078 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27079
27080 # How to pass a linker flag through the compiler.
27081 wl=$lt_lt_prog_compiler_wl
27082
27083 # Additional compiler flags for building library objects.
27084 pic_flag=$lt_lt_prog_compiler_pic
27085
27086 # Compiler flag to prevent dynamic linking.
27087 link_static_flag=$lt_lt_prog_compiler_static
27088
27089 # Does compiler simultaneously support -c and -o options?
27090 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27091
27092 # Whether or not to add -lc for building shared libraries.
27093 build_libtool_need_lc=$archive_cmds_need_lc
27094
27095 # Whether or not to disallow shared libs when runtime libs are static.
27096 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27097
27098 # Compiler flag to allow reflexive dlopens.
27099 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27100
27101 # Compiler flag to generate shared objects directly from archives.
27102 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27103
27104 # Whether the compiler copes with passing no objects directly.
27105 compiler_needs_object=$lt_compiler_needs_object
27106
27107 # Create an old-style archive from a shared archive.
27108 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27109
27110 # Create a temporary old-style archive to link instead of a shared archive.
27111 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27112
27113 # Commands used to build a shared archive.
27114 archive_cmds=$lt_archive_cmds
27115 archive_expsym_cmds=$lt_archive_expsym_cmds
27116
27117 # Commands used to build a loadable module if different from building
27118 # a shared archive.
27119 module_cmds=$lt_module_cmds
27120 module_expsym_cmds=$lt_module_expsym_cmds
27121
27122 # Whether we are building with GNU ld or not.
27123 with_gnu_ld=$lt_with_gnu_ld
27124
27125 # Flag that allows shared libraries with undefined symbols to be built.
27126 allow_undefined_flag=$lt_allow_undefined_flag
27127
27128 # Flag that enforces no undefined symbols.
27129 no_undefined_flag=$lt_no_undefined_flag
27130
27131 # Flag to hardcode \$libdir into a binary during linking.
27132 # This must work even if \$libdir does not exist
27133 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27134
27135 # If ld is used when linking, flag to hardcode \$libdir into a binary
27136 # during linking.  This must work even if \$libdir does not exist.
27137 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27138
27139 # Whether we need a single "-rpath" flag with a separated argument.
27140 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27141
27142 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27143 # DIR into the resulting binary.
27144 hardcode_direct=$hardcode_direct
27145
27146 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27147 # DIR into the resulting binary and the resulting library dependency is
27148 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27149 # library is relocated.
27150 hardcode_direct_absolute=$hardcode_direct_absolute
27151
27152 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27153 # into the resulting binary.
27154 hardcode_minus_L=$hardcode_minus_L
27155
27156 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27157 # into the resulting binary.
27158 hardcode_shlibpath_var=$hardcode_shlibpath_var
27159
27160 # Set to "yes" if building a shared library automatically hardcodes DIR
27161 # into the library and all subsequent libraries and executables linked
27162 # against it.
27163 hardcode_automatic=$hardcode_automatic
27164
27165 # Set to yes if linker adds runtime paths of dependent libraries
27166 # to runtime path list.
27167 inherit_rpath=$inherit_rpath
27168
27169 # Whether libtool must link a program against all its dependency libraries.
27170 link_all_deplibs=$link_all_deplibs
27171
27172 # Fix the shell variable \$srcfile for the compiler.
27173 fix_srcfile_path=$lt_fix_srcfile_path
27174
27175 # Set to "yes" if exported symbols are required.
27176 always_export_symbols=$always_export_symbols
27177
27178 # The commands to list exported symbols.
27179 export_symbols_cmds=$lt_export_symbols_cmds
27180
27181 # Symbols that should not be listed in the preloaded symbols.
27182 exclude_expsyms=$lt_exclude_expsyms
27183
27184 # Symbols that must always be exported.
27185 include_expsyms=$lt_include_expsyms
27186
27187 # Commands necessary for linking programs (against libraries) with templates.
27188 prelink_cmds=$lt_prelink_cmds
27189
27190 # Specify filename containing input files.
27191 file_list_spec=$lt_file_list_spec
27192
27193 # How to hardcode a shared library path into an executable.
27194 hardcode_action=$hardcode_action
27195
27196 # The directories searched by this compiler when creating a shared library.
27197 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27198
27199 # Dependencies to place before and after the objects being linked to
27200 # create a shared library.
27201 predep_objects=$lt_predep_objects
27202 postdep_objects=$lt_postdep_objects
27203 predeps=$lt_predeps
27204 postdeps=$lt_postdeps
27205
27206 # The library search path used internally by the compiler when linking
27207 # a shared library.
27208 compiler_lib_search_path=$lt_compiler_lib_search_path
27209
27210 # ### END LIBTOOL CONFIG
27211
27212 _LT_EOF
27213
27214   case $host_os in
27215   aix3*)
27216     cat <<\_LT_EOF >> "$cfgfile"
27217 # AIX sometimes has problems with the GCC collect2 program.  For some
27218 # reason, if we set the COLLECT_NAMES environment variable, the problems
27219 # vanish in a puff of smoke.
27220 if test "X${COLLECT_NAMES+set}" != Xset; then
27221   COLLECT_NAMES=
27222   export COLLECT_NAMES
27223 fi
27224 _LT_EOF
27225     ;;
27226   esac
27227
27228
27229 ltmain="$ac_aux_dir/ltmain.sh"
27230
27231
27232   # We use sed instead of cat because bash on DJGPP gets confused if
27233   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27234   # text mode, it properly converts lines to CR/LF.  This bash problem
27235   # is reportedly fixed, but why not run on old versions too?
27236   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27237     || (rm -f "$cfgfile"; exit 1)
27238
27239   case $xsi_shell in
27240   yes)
27241     cat << \_LT_EOF >> "$cfgfile"
27242
27243 # func_dirname file append nondir_replacement
27244 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27245 # otherwise set result to NONDIR_REPLACEMENT.
27246 func_dirname ()
27247 {
27248   case ${1} in
27249     */*) func_dirname_result="${1%/*}${2}" ;;
27250     *  ) func_dirname_result="${3}" ;;
27251   esac
27252 }
27253
27254 # func_basename file
27255 func_basename ()
27256 {
27257   func_basename_result="${1##*/}"
27258 }
27259
27260 # func_dirname_and_basename file append nondir_replacement
27261 # perform func_basename and func_dirname in a single function
27262 # call:
27263 #   dirname:  Compute the dirname of FILE.  If nonempty,
27264 #             add APPEND to the result, otherwise set result
27265 #             to NONDIR_REPLACEMENT.
27266 #             value returned in "$func_dirname_result"
27267 #   basename: Compute filename of FILE.
27268 #             value retuned in "$func_basename_result"
27269 # Implementation must be kept synchronized with func_dirname
27270 # and func_basename. For efficiency, we do not delegate to
27271 # those functions but instead duplicate the functionality here.
27272 func_dirname_and_basename ()
27273 {
27274   case ${1} in
27275     */*) func_dirname_result="${1%/*}${2}" ;;
27276     *  ) func_dirname_result="${3}" ;;
27277   esac
27278   func_basename_result="${1##*/}"
27279 }
27280
27281 # func_stripname prefix suffix name
27282 # strip PREFIX and SUFFIX off of NAME.
27283 # PREFIX and SUFFIX must not contain globbing or regex special
27284 # characters, hashes, percent signs, but SUFFIX may contain a leading
27285 # dot (in which case that matches only a dot).
27286 func_stripname ()
27287 {
27288   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27289   # positional parameters, so assign one to ordinary parameter first.
27290   func_stripname_result=${3}
27291   func_stripname_result=${func_stripname_result#"${1}"}
27292   func_stripname_result=${func_stripname_result%"${2}"}
27293 }
27294
27295 # func_opt_split
27296 func_opt_split ()
27297 {
27298   func_opt_split_opt=${1%%=*}
27299   func_opt_split_arg=${1#*=}
27300 }
27301
27302 # func_lo2o object
27303 func_lo2o ()
27304 {
27305   case ${1} in
27306     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27307     *)    func_lo2o_result=${1} ;;
27308   esac
27309 }
27310
27311 # func_xform libobj-or-source
27312 func_xform ()
27313 {
27314   func_xform_result=${1%.*}.lo
27315 }
27316
27317 # func_arith arithmetic-term...
27318 func_arith ()
27319 {
27320   func_arith_result=$(( $* ))
27321 }
27322
27323 # func_len string
27324 # STRING may not start with a hyphen.
27325 func_len ()
27326 {
27327   func_len_result=${#1}
27328 }
27329
27330 _LT_EOF
27331     ;;
27332   *) # Bourne compatible functions.
27333     cat << \_LT_EOF >> "$cfgfile"
27334
27335 # func_dirname file append nondir_replacement
27336 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27337 # otherwise set result to NONDIR_REPLACEMENT.
27338 func_dirname ()
27339 {
27340   # Extract subdirectory from the argument.
27341   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27342   if test "X$func_dirname_result" = "X${1}"; then
27343     func_dirname_result="${3}"
27344   else
27345     func_dirname_result="$func_dirname_result${2}"
27346   fi
27347 }
27348
27349 # func_basename file
27350 func_basename ()
27351 {
27352   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27353 }
27354
27355
27356 # func_stripname prefix suffix name
27357 # strip PREFIX and SUFFIX off of NAME.
27358 # PREFIX and SUFFIX must not contain globbing or regex special
27359 # characters, hashes, percent signs, but SUFFIX may contain a leading
27360 # dot (in which case that matches only a dot).
27361 # func_strip_suffix prefix name
27362 func_stripname ()
27363 {
27364   case ${2} in
27365     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27366     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27367   esac
27368 }
27369
27370 # sed scripts:
27371 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27372 my_sed_long_arg='1s/^-[^=]*=//'
27373
27374 # func_opt_split
27375 func_opt_split ()
27376 {
27377   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27378   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27379 }
27380
27381 # func_lo2o object
27382 func_lo2o ()
27383 {
27384   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27385 }
27386
27387 # func_xform libobj-or-source
27388 func_xform ()
27389 {
27390   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27391 }
27392
27393 # func_arith arithmetic-term...
27394 func_arith ()
27395 {
27396   func_arith_result=`expr "$@"`
27397 }
27398
27399 # func_len string
27400 # STRING may not start with a hyphen.
27401 func_len ()
27402 {
27403   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27404 }
27405
27406 _LT_EOF
27407 esac
27408
27409 case $lt_shell_append in
27410   yes)
27411     cat << \_LT_EOF >> "$cfgfile"
27412
27413 # func_append var value
27414 # Append VALUE to the end of shell variable VAR.
27415 func_append ()
27416 {
27417   eval "$1+=\$2"
27418 }
27419 _LT_EOF
27420     ;;
27421   *)
27422     cat << \_LT_EOF >> "$cfgfile"
27423
27424 # func_append var value
27425 # Append VALUE to the end of shell variable VAR.
27426 func_append ()
27427 {
27428   eval "$1=\$$1\$2"
27429 }
27430
27431 _LT_EOF
27432     ;;
27433   esac
27434
27435
27436   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27437     || (rm -f "$cfgfile"; exit 1)
27438
27439   mv -f "$cfgfile" "$ofile" ||
27440     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27441   chmod +x "$ofile"
27442
27443
27444     cat <<_LT_EOF >> "$ofile"
27445
27446 # ### BEGIN LIBTOOL TAG CONFIG: FC
27447
27448 # The linker used to build libraries.
27449 LD=$lt_LD_FC
27450
27451 # How to create reloadable object files.
27452 reload_flag=$lt_reload_flag_FC
27453 reload_cmds=$lt_reload_cmds_FC
27454
27455 # Commands used to build an old-style archive.
27456 old_archive_cmds=$lt_old_archive_cmds_FC
27457
27458 # A language specific compiler.
27459 CC=$lt_compiler_FC
27460
27461 # Is the compiler the GNU compiler?
27462 with_gcc=$GCC_FC
27463
27464 # Compiler flag to turn off builtin functions.
27465 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27466
27467 # How to pass a linker flag through the compiler.
27468 wl=$lt_lt_prog_compiler_wl_FC
27469
27470 # Additional compiler flags for building library objects.
27471 pic_flag=$lt_lt_prog_compiler_pic_FC
27472
27473 # Compiler flag to prevent dynamic linking.
27474 link_static_flag=$lt_lt_prog_compiler_static_FC
27475
27476 # Does compiler simultaneously support -c and -o options?
27477 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27478
27479 # Whether or not to add -lc for building shared libraries.
27480 build_libtool_need_lc=$archive_cmds_need_lc_FC
27481
27482 # Whether or not to disallow shared libs when runtime libs are static.
27483 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27484
27485 # Compiler flag to allow reflexive dlopens.
27486 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27487
27488 # Compiler flag to generate shared objects directly from archives.
27489 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27490
27491 # Whether the compiler copes with passing no objects directly.
27492 compiler_needs_object=$lt_compiler_needs_object_FC
27493
27494 # Create an old-style archive from a shared archive.
27495 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27496
27497 # Create a temporary old-style archive to link instead of a shared archive.
27498 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27499
27500 # Commands used to build a shared archive.
27501 archive_cmds=$lt_archive_cmds_FC
27502 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27503
27504 # Commands used to build a loadable module if different from building
27505 # a shared archive.
27506 module_cmds=$lt_module_cmds_FC
27507 module_expsym_cmds=$lt_module_expsym_cmds_FC
27508
27509 # Whether we are building with GNU ld or not.
27510 with_gnu_ld=$lt_with_gnu_ld_FC
27511
27512 # Flag that allows shared libraries with undefined symbols to be built.
27513 allow_undefined_flag=$lt_allow_undefined_flag_FC
27514
27515 # Flag that enforces no undefined symbols.
27516 no_undefined_flag=$lt_no_undefined_flag_FC
27517
27518 # Flag to hardcode \$libdir into a binary during linking.
27519 # This must work even if \$libdir does not exist
27520 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27521
27522 # If ld is used when linking, flag to hardcode \$libdir into a binary
27523 # during linking.  This must work even if \$libdir does not exist.
27524 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27525
27526 # Whether we need a single "-rpath" flag with a separated argument.
27527 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27528
27529 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27530 # DIR into the resulting binary.
27531 hardcode_direct=$hardcode_direct_FC
27532
27533 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27534 # DIR into the resulting binary and the resulting library dependency is
27535 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27536 # library is relocated.
27537 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27538
27539 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27540 # into the resulting binary.
27541 hardcode_minus_L=$hardcode_minus_L_FC
27542
27543 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27544 # into the resulting binary.
27545 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27546
27547 # Set to "yes" if building a shared library automatically hardcodes DIR
27548 # into the library and all subsequent libraries and executables linked
27549 # against it.
27550 hardcode_automatic=$hardcode_automatic_FC
27551
27552 # Set to yes if linker adds runtime paths of dependent libraries
27553 # to runtime path list.
27554 inherit_rpath=$inherit_rpath_FC
27555
27556 # Whether libtool must link a program against all its dependency libraries.
27557 link_all_deplibs=$link_all_deplibs_FC
27558
27559 # Fix the shell variable \$srcfile for the compiler.
27560 fix_srcfile_path=$lt_fix_srcfile_path_FC
27561
27562 # Set to "yes" if exported symbols are required.
27563 always_export_symbols=$always_export_symbols_FC
27564
27565 # The commands to list exported symbols.
27566 export_symbols_cmds=$lt_export_symbols_cmds_FC
27567
27568 # Symbols that should not be listed in the preloaded symbols.
27569 exclude_expsyms=$lt_exclude_expsyms_FC
27570
27571 # Symbols that must always be exported.
27572 include_expsyms=$lt_include_expsyms_FC
27573
27574 # Commands necessary for linking programs (against libraries) with templates.
27575 prelink_cmds=$lt_prelink_cmds_FC
27576
27577 # Specify filename containing input files.
27578 file_list_spec=$lt_file_list_spec_FC
27579
27580 # How to hardcode a shared library path into an executable.
27581 hardcode_action=$hardcode_action_FC
27582
27583 # The directories searched by this compiler when creating a shared library.
27584 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27585
27586 # Dependencies to place before and after the objects being linked to
27587 # create a shared library.
27588 predep_objects=$lt_predep_objects_FC
27589 postdep_objects=$lt_postdep_objects_FC
27590 predeps=$lt_predeps_FC
27591 postdeps=$lt_postdeps_FC
27592
27593 # The library search path used internally by the compiler when linking
27594 # a shared library.
27595 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27596
27597 # ### END LIBTOOL TAG CONFIG: FC
27598 _LT_EOF
27599
27600  ;;
27601     "gstdint.h":C)
27602 if test "$GCC" = yes; then
27603   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27604 else
27605   echo "/* generated for $CC */" > tmp-stdint.h
27606 fi
27607
27608 sed 's/^ *//' >> tmp-stdint.h <<EOF
27609
27610   #ifndef GCC_GENERATED_STDINT_H
27611   #define GCC_GENERATED_STDINT_H 1
27612
27613   #include <sys/types.h>
27614 EOF
27615
27616 if test "$acx_cv_header_stdint" != stdint.h; then
27617   echo "#include <stddef.h>" >> tmp-stdint.h
27618 fi
27619 if test "$acx_cv_header_stdint" != stddef.h; then
27620   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27621 fi
27622
27623 sed 's/^ *//' >> tmp-stdint.h <<EOF
27624   /* glibc uses these symbols as guards to prevent redefinitions.  */
27625   #ifdef __int8_t_defined
27626   #define _INT8_T
27627   #define _INT16_T
27628   #define _INT32_T
27629   #endif
27630   #ifdef __uint32_t_defined
27631   #define _UINT32_T
27632   #endif
27633
27634 EOF
27635
27636 # ----------------- done header, emit basic int types -------------
27637 if test "$acx_cv_header_stdint" = stddef.h; then
27638   sed 's/^ *//' >> tmp-stdint.h <<EOF
27639
27640     #ifndef _UINT8_T
27641     #define _UINT8_T
27642     #ifndef __uint8_t_defined
27643     #define __uint8_t_defined
27644     #ifndef uint8_t
27645     typedef unsigned $acx_cv_type_int8_t uint8_t;
27646     #endif
27647     #endif
27648     #endif
27649
27650     #ifndef _UINT16_T
27651     #define _UINT16_T
27652     #ifndef __uint16_t_defined
27653     #define __uint16_t_defined
27654     #ifndef uint16_t
27655     typedef unsigned $acx_cv_type_int16_t uint16_t;
27656     #endif
27657     #endif
27658     #endif
27659
27660     #ifndef _UINT32_T
27661     #define _UINT32_T
27662     #ifndef __uint32_t_defined
27663     #define __uint32_t_defined
27664     #ifndef uint32_t
27665     typedef unsigned $acx_cv_type_int32_t uint32_t;
27666     #endif
27667     #endif
27668     #endif
27669
27670     #ifndef _INT8_T
27671     #define _INT8_T
27672     #ifndef __int8_t_defined
27673     #define __int8_t_defined
27674     #ifndef int8_t
27675     typedef $acx_cv_type_int8_t int8_t;
27676     #endif
27677     #endif
27678     #endif
27679
27680     #ifndef _INT16_T
27681     #define _INT16_T
27682     #ifndef __int16_t_defined
27683     #define __int16_t_defined
27684     #ifndef int16_t
27685     typedef $acx_cv_type_int16_t int16_t;
27686     #endif
27687     #endif
27688     #endif
27689
27690     #ifndef _INT32_T
27691     #define _INT32_T
27692     #ifndef __int32_t_defined
27693     #define __int32_t_defined
27694     #ifndef int32_t
27695     typedef $acx_cv_type_int32_t int32_t;
27696     #endif
27697     #endif
27698     #endif
27699 EOF
27700 elif test "$ac_cv_type_u_int32_t" = yes; then
27701   sed 's/^ *//' >> tmp-stdint.h <<EOF
27702
27703     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27704     #ifndef _INT8_T
27705     #define _INT8_T
27706     #endif
27707     #ifndef _INT16_T
27708     #define _INT16_T
27709     #endif
27710     #ifndef _INT32_T
27711     #define _INT32_T
27712     #endif
27713
27714     #ifndef _UINT8_T
27715     #define _UINT8_T
27716     #ifndef __uint8_t_defined
27717     #define __uint8_t_defined
27718     #ifndef uint8_t
27719     typedef u_int8_t uint8_t;
27720     #endif
27721     #endif
27722     #endif
27723
27724     #ifndef _UINT16_T
27725     #define _UINT16_T
27726     #ifndef __uint16_t_defined
27727     #define __uint16_t_defined
27728     #ifndef uint16_t
27729     typedef u_int16_t uint16_t;
27730     #endif
27731     #endif
27732     #endif
27733
27734     #ifndef _UINT32_T
27735     #define _UINT32_T
27736     #ifndef __uint32_t_defined
27737     #define __uint32_t_defined
27738     #ifndef uint32_t
27739     typedef u_int32_t uint32_t;
27740     #endif
27741     #endif
27742     #endif
27743 EOF
27744 else
27745   sed 's/^ *//' >> tmp-stdint.h <<EOF
27746
27747     /* Some systems have guard macros to prevent redefinitions, define them.  */
27748     #ifndef _INT8_T
27749     #define _INT8_T
27750     #endif
27751     #ifndef _INT16_T
27752     #define _INT16_T
27753     #endif
27754     #ifndef _INT32_T
27755     #define _INT32_T
27756     #endif
27757     #ifndef _UINT8_T
27758     #define _UINT8_T
27759     #endif
27760     #ifndef _UINT16_T
27761     #define _UINT16_T
27762     #endif
27763     #ifndef _UINT32_T
27764     #define _UINT32_T
27765     #endif
27766 EOF
27767 fi
27768
27769 # ------------- done basic int types, emit int64_t types ------------
27770 if test "$ac_cv_type_uint64_t" = yes; then
27771   sed 's/^ *//' >> tmp-stdint.h <<EOF
27772
27773     /* system headers have good uint64_t and int64_t */
27774     #ifndef _INT64_T
27775     #define _INT64_T
27776     #endif
27777     #ifndef _UINT64_T
27778     #define _UINT64_T
27779     #endif
27780 EOF
27781 elif test "$ac_cv_type_u_int64_t" = yes; then
27782   sed 's/^ *//' >> tmp-stdint.h <<EOF
27783
27784     /* system headers have an u_int64_t (and int64_t) */
27785     #ifndef _INT64_T
27786     #define _INT64_T
27787     #endif
27788     #ifndef _UINT64_T
27789     #define _UINT64_T
27790     #ifndef __uint64_t_defined
27791     #define __uint64_t_defined
27792     #ifndef uint64_t
27793     typedef u_int64_t uint64_t;
27794     #endif
27795     #endif
27796     #endif
27797 EOF
27798 elif test -n "$acx_cv_type_int64_t"; then
27799   sed 's/^ *//' >> tmp-stdint.h <<EOF
27800
27801     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27802     #ifndef _INT64_T
27803     #define _INT64_T
27804     #ifndef int64_t
27805     typedef $acx_cv_type_int64_t int64_t;
27806     #endif
27807     #endif
27808     #ifndef _UINT64_T
27809     #define _UINT64_T
27810     #ifndef __uint64_t_defined
27811     #define __uint64_t_defined
27812     #ifndef uint64_t
27813     typedef unsigned $acx_cv_type_int64_t uint64_t;
27814     #endif
27815     #endif
27816     #endif
27817 EOF
27818 else
27819   sed 's/^ *//' >> tmp-stdint.h <<EOF
27820
27821     /* some common heuristics for int64_t, using compiler-specific tests */
27822     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27823     #ifndef _INT64_T
27824     #define _INT64_T
27825     #ifndef __int64_t_defined
27826     #ifndef int64_t
27827     typedef long long int64_t;
27828     #endif
27829     #endif
27830     #endif
27831     #ifndef _UINT64_T
27832     #define _UINT64_T
27833     #ifndef uint64_t
27834     typedef unsigned long long uint64_t;
27835     #endif
27836     #endif
27837
27838     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27839     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27840        does not implement __extension__.  But that compiler doesn't define
27841        __GNUC_MINOR__.  */
27842     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27843     # define __extension__
27844     # endif
27845
27846     # ifndef _INT64_T
27847     # define _INT64_T
27848     # ifndef int64_t
27849     __extension__ typedef long long int64_t;
27850     # endif
27851     # endif
27852     # ifndef _UINT64_T
27853     # define _UINT64_T
27854     # ifndef uint64_t
27855     __extension__ typedef unsigned long long uint64_t;
27856     # endif
27857     # endif
27858
27859     #elif !defined __STRICT_ANSI__
27860     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27861
27862     #  ifndef _INT64_T
27863     #  define _INT64_T
27864     #  ifndef int64_t
27865     typedef __int64 int64_t;
27866     #  endif
27867     #  endif
27868     #  ifndef _UINT64_T
27869     #  define _UINT64_T
27870     #  ifndef uint64_t
27871     typedef unsigned __int64 uint64_t;
27872     #  endif
27873     #  endif
27874     # endif /* compiler */
27875
27876     #endif /* ANSI version */
27877 EOF
27878 fi
27879
27880 # ------------- done int64_t types, emit intptr types ------------
27881 if test "$ac_cv_type_uintptr_t" != yes; then
27882   sed 's/^ *//' >> tmp-stdint.h <<EOF
27883
27884     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27885     #ifndef __uintptr_t_defined
27886     #ifndef uintptr_t
27887     typedef u$acx_cv_type_intptr_t uintptr_t;
27888     #endif
27889     #endif
27890     #ifndef __intptr_t_defined
27891     #ifndef intptr_t
27892     typedef $acx_cv_type_intptr_t  intptr_t;
27893     #endif
27894     #endif
27895 EOF
27896 fi
27897
27898 # ------------- done intptr types, emit int_least types ------------
27899 if test "$ac_cv_type_int_least32_t" != yes; then
27900   sed 's/^ *//' >> tmp-stdint.h <<EOF
27901
27902     /* Define int_least types */
27903     typedef int8_t     int_least8_t;
27904     typedef int16_t    int_least16_t;
27905     typedef int32_t    int_least32_t;
27906     #ifdef _INT64_T
27907     typedef int64_t    int_least64_t;
27908     #endif
27909
27910     typedef uint8_t    uint_least8_t;
27911     typedef uint16_t   uint_least16_t;
27912     typedef uint32_t   uint_least32_t;
27913     #ifdef _UINT64_T
27914     typedef uint64_t   uint_least64_t;
27915     #endif
27916 EOF
27917 fi
27918
27919 # ------------- done intptr types, emit int_fast types ------------
27920 if test "$ac_cv_type_int_fast32_t" != yes; then
27921       sed 's/^ *//' >> tmp-stdint.h <<EOF
27922
27923     /* Define int_fast types.  short is often slow */
27924     typedef int8_t       int_fast8_t;
27925     typedef int          int_fast16_t;
27926     typedef int32_t      int_fast32_t;
27927     #ifdef _INT64_T
27928     typedef int64_t      int_fast64_t;
27929     #endif
27930
27931     typedef uint8_t      uint_fast8_t;
27932     typedef unsigned int uint_fast16_t;
27933     typedef uint32_t     uint_fast32_t;
27934     #ifdef _UINT64_T
27935     typedef uint64_t     uint_fast64_t;
27936     #endif
27937 EOF
27938 fi
27939
27940 if test "$ac_cv_type_uintmax_t" != yes; then
27941   sed 's/^ *//' >> tmp-stdint.h <<EOF
27942
27943     /* Define intmax based on what we found */
27944     #ifndef intmax_t
27945     #ifdef _INT64_T
27946     typedef int64_t       intmax_t;
27947     #else
27948     typedef long          intmax_t;
27949     #endif
27950     #endif
27951     #ifndef uintmax_t
27952     #ifdef _UINT64_T
27953     typedef uint64_t      uintmax_t;
27954     #else
27955     typedef unsigned long uintmax_t;
27956     #endif
27957     #endif
27958 EOF
27959 fi
27960
27961 sed 's/^ *//' >> tmp-stdint.h <<EOF
27962
27963   #endif /* GCC_GENERATED_STDINT_H */
27964 EOF
27965
27966 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27967   rm -f tmp-stdint.h
27968 else
27969   mv -f tmp-stdint.h gstdint.h
27970 fi
27971
27972  ;;
27973
27974   esac
27975 done # for ac_tag
27976
27977
27978 as_fn_exit 0
27979 _ACEOF
27980 ac_clean_files=$ac_clean_files_save
27981
27982 test $ac_write_fail = 0 ||
27983   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
27984
27985
27986 # configure is writing to config.log, and then calls config.status.
27987 # config.status does its own redirection, appending to config.log.
27988 # Unfortunately, on DOS this fails, as config.log is still kept open
27989 # by configure, so config.status won't be able to write to it; its
27990 # output is simply discarded.  So we exec the FD to /dev/null,
27991 # effectively closing config.log, so it can be properly (re)opened and
27992 # appended to by config.status.  When coming back to configure, we
27993 # need to make the FD available again.
27994 if test "$no_create" != yes; then
27995   ac_cs_success=:
27996   ac_config_status_args=
27997   test "$silent" = yes &&
27998     ac_config_status_args="$ac_config_status_args --quiet"
27999   exec 5>/dev/null
28000   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28001   exec 5>>config.log
28002   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28003   # would make configure fail if this is the last instruction.
28004   $ac_cs_success || as_fn_exit $?
28005 fi
28006 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28007   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28008 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28009 fi
28010