OSDN Git Service

PR 46267 strerror thread safety
[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 lt_host_flags
620 CPP
621 OTOOL64
622 OTOOL
623 LIPO
624 NMEDIT
625 DSYMUTIL
626 OBJDUMP
627 LN_S
628 NM
629 ac_ct_DUMPBIN
630 DUMPBIN
631 LD
632 FGREP
633 EGREP
634 GREP
635 SED
636 LIBTOOL
637 RANLIB
638 AR
639 AS
640 SECTION_FLAGS
641 LIBGFOR_USE_SYMVER_SUN_FALSE
642 LIBGFOR_USE_SYMVER_SUN_TRUE
643 LIBGFOR_USE_SYMVER_GNU_FALSE
644 LIBGFOR_USE_SYMVER_GNU_TRUE
645 LIBGFOR_USE_SYMVER_FALSE
646 LIBGFOR_USE_SYMVER_TRUE
647 AM_CFLAGS
648 AM_FCFLAGS
649 am__fastdepCC_FALSE
650 am__fastdepCC_TRUE
651 CCDEPMODE
652 AMDEPBACKSLASH
653 AMDEP_FALSE
654 AMDEP_TRUE
655 am__quote
656 am__include
657 DEPDIR
658 OBJEXT
659 EXEEXT
660 ac_ct_CC
661 CPPFLAGS
662 LDFLAGS
663 CFLAGS
664 CC
665 toolexeclibdir
666 toolexecdir
667 multi_basedir
668 MAINT
669 MAINTAINER_MODE_FALSE
670 MAINTAINER_MODE_TRUE
671 am__untar
672 am__tar
673 AMTAR
674 am__leading_dot
675 SET_MAKE
676 AWK
677 mkdir_p
678 MKDIR_P
679 INSTALL_STRIP_PROGRAM
680 STRIP
681 install_sh
682 MAKEINFO
683 AUTOHEADER
684 AUTOMAKE
685 AUTOCONF
686 ACLOCAL
687 VERSION
688 PACKAGE
689 CYGPATH_W
690 am__isrc
691 INSTALL_DATA
692 INSTALL_SCRIPT
693 INSTALL_PROGRAM
694 target_os
695 target_vendor
696 target_cpu
697 target
698 host_os
699 host_vendor
700 host_cpu
701 host
702 onestep
703 onestep_FALSE
704 onestep_TRUE
705 target_subdir
706 host_subdir
707 build_subdir
708 build_libsubdir
709 build_os
710 build_vendor
711 build_cpu
712 build
713 target_alias
714 host_alias
715 build_alias
716 LIBS
717 ECHO_T
718 ECHO_N
719 ECHO_C
720 DEFS
721 mandir
722 localedir
723 libdir
724 psdir
725 pdfdir
726 dvidir
727 htmldir
728 infodir
729 docdir
730 oldincludedir
731 includedir
732 localstatedir
733 sharedstatedir
734 sysconfdir
735 datadir
736 datarootdir
737 libexecdir
738 sbindir
739 bindir
740 program_transform_name
741 prefix
742 exec_prefix
743 PACKAGE_URL
744 PACKAGE_BUGREPORT
745 PACKAGE_STRING
746 PACKAGE_VERSION
747 PACKAGE_TARNAME
748 PACKAGE_NAME
749 PATH_SEPARATOR
750 SHELL'
751 ac_subst_files=''
752 ac_user_opts='
753 enable_option_checking
754 with_build_libsubdir
755 enable_version_specific_runtime_libs
756 enable_intermodule
757 enable_maintainer_mode
758 enable_multilib
759 enable_dependency_tracking
760 enable_shared
761 enable_static
762 with_pic
763 enable_fast_install
764 with_gnu_ld
765 enable_libtool_lock
766 enable_largefile
767 enable_libquadmath_support
768 '
769       ac_precious_vars='build_alias
770 host_alias
771 target_alias
772 CPP
773 CPPFLAGS
774 FC
775 FCFLAGS
776 LDFLAGS
777 LIBS'
778
779
780 # Initialize some variables set by options.
781 ac_init_help=
782 ac_init_version=false
783 ac_unrecognized_opts=
784 ac_unrecognized_sep=
785 # The variables have the same names as the options, with
786 # dashes changed to underlines.
787 cache_file=/dev/null
788 exec_prefix=NONE
789 no_create=
790 no_recursion=
791 prefix=NONE
792 program_prefix=NONE
793 program_suffix=NONE
794 program_transform_name=s,x,x,
795 silent=
796 site=
797 srcdir=
798 verbose=
799 x_includes=NONE
800 x_libraries=NONE
801
802 # Installation directory options.
803 # These are left unexpanded so users can "make install exec_prefix=/foo"
804 # and all the variables that are supposed to be based on exec_prefix
805 # by default will actually change.
806 # Use braces instead of parens because sh, perl, etc. also accept them.
807 # (The list follows the same order as the GNU Coding Standards.)
808 bindir='${exec_prefix}/bin'
809 sbindir='${exec_prefix}/sbin'
810 libexecdir='${exec_prefix}/libexec'
811 datarootdir='${prefix}/share'
812 datadir='${datarootdir}'
813 sysconfdir='${prefix}/etc'
814 sharedstatedir='${prefix}/com'
815 localstatedir='${prefix}/var'
816 includedir='${prefix}/include'
817 oldincludedir='/usr/include'
818 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
819 infodir='${datarootdir}/info'
820 htmldir='${docdir}'
821 dvidir='${docdir}'
822 pdfdir='${docdir}'
823 psdir='${docdir}'
824 libdir='${exec_prefix}/lib'
825 localedir='${datarootdir}/locale'
826 mandir='${datarootdir}/man'
827
828 ac_prev=
829 ac_dashdash=
830 for ac_option
831 do
832   # If the previous option needs an argument, assign it.
833   if test -n "$ac_prev"; then
834     eval $ac_prev=\$ac_option
835     ac_prev=
836     continue
837   fi
838
839   case $ac_option in
840   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
841   *)    ac_optarg=yes ;;
842   esac
843
844   # Accept the important Cygnus configure options, so we can diagnose typos.
845
846   case $ac_dashdash$ac_option in
847   --)
848     ac_dashdash=yes ;;
849
850   -bindir | --bindir | --bindi | --bind | --bin | --bi)
851     ac_prev=bindir ;;
852   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
853     bindir=$ac_optarg ;;
854
855   -build | --build | --buil | --bui | --bu)
856     ac_prev=build_alias ;;
857   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
858     build_alias=$ac_optarg ;;
859
860   -cache-file | --cache-file | --cache-fil | --cache-fi \
861   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
862     ac_prev=cache_file ;;
863   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
864   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
865     cache_file=$ac_optarg ;;
866
867   --config-cache | -C)
868     cache_file=config.cache ;;
869
870   -datadir | --datadir | --datadi | --datad)
871     ac_prev=datadir ;;
872   -datadir=* | --datadir=* | --datadi=* | --datad=*)
873     datadir=$ac_optarg ;;
874
875   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
876   | --dataroo | --dataro | --datar)
877     ac_prev=datarootdir ;;
878   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
879   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
880     datarootdir=$ac_optarg ;;
881
882   -disable-* | --disable-*)
883     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
884     # Reject names that are not valid shell variable names.
885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
886       as_fn_error "invalid feature name: $ac_useropt"
887     ac_useropt_orig=$ac_useropt
888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
889     case $ac_user_opts in
890       *"
891 "enable_$ac_useropt"
892 "*) ;;
893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
894          ac_unrecognized_sep=', ';;
895     esac
896     eval enable_$ac_useropt=no ;;
897
898   -docdir | --docdir | --docdi | --doc | --do)
899     ac_prev=docdir ;;
900   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
901     docdir=$ac_optarg ;;
902
903   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
904     ac_prev=dvidir ;;
905   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
906     dvidir=$ac_optarg ;;
907
908   -enable-* | --enable-*)
909     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
910     # Reject names that are not valid shell variable names.
911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
912       as_fn_error "invalid feature name: $ac_useropt"
913     ac_useropt_orig=$ac_useropt
914     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
915     case $ac_user_opts in
916       *"
917 "enable_$ac_useropt"
918 "*) ;;
919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
920          ac_unrecognized_sep=', ';;
921     esac
922     eval enable_$ac_useropt=\$ac_optarg ;;
923
924   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926   | --exec | --exe | --ex)
927     ac_prev=exec_prefix ;;
928   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930   | --exec=* | --exe=* | --ex=*)
931     exec_prefix=$ac_optarg ;;
932
933   -gas | --gas | --ga | --g)
934     # Obsolete; use --with-gas.
935     with_gas=yes ;;
936
937   -help | --help | --hel | --he | -h)
938     ac_init_help=long ;;
939   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940     ac_init_help=recursive ;;
941   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942     ac_init_help=short ;;
943
944   -host | --host | --hos | --ho)
945     ac_prev=host_alias ;;
946   -host=* | --host=* | --hos=* | --ho=*)
947     host_alias=$ac_optarg ;;
948
949   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950     ac_prev=htmldir ;;
951   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952   | --ht=*)
953     htmldir=$ac_optarg ;;
954
955   -includedir | --includedir | --includedi | --included | --include \
956   | --includ | --inclu | --incl | --inc)
957     ac_prev=includedir ;;
958   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959   | --includ=* | --inclu=* | --incl=* | --inc=*)
960     includedir=$ac_optarg ;;
961
962   -infodir | --infodir | --infodi | --infod | --info | --inf)
963     ac_prev=infodir ;;
964   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965     infodir=$ac_optarg ;;
966
967   -libdir | --libdir | --libdi | --libd)
968     ac_prev=libdir ;;
969   -libdir=* | --libdir=* | --libdi=* | --libd=*)
970     libdir=$ac_optarg ;;
971
972   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973   | --libexe | --libex | --libe)
974     ac_prev=libexecdir ;;
975   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976   | --libexe=* | --libex=* | --libe=*)
977     libexecdir=$ac_optarg ;;
978
979   -localedir | --localedir | --localedi | --localed | --locale)
980     ac_prev=localedir ;;
981   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982     localedir=$ac_optarg ;;
983
984   -localstatedir | --localstatedir | --localstatedi | --localstated \
985   | --localstate | --localstat | --localsta | --localst | --locals)
986     ac_prev=localstatedir ;;
987   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989     localstatedir=$ac_optarg ;;
990
991   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992     ac_prev=mandir ;;
993   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994     mandir=$ac_optarg ;;
995
996   -nfp | --nfp | --nf)
997     # Obsolete; use --without-fp.
998     with_fp=no ;;
999
1000   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001   | --no-cr | --no-c | -n)
1002     no_create=yes ;;
1003
1004   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006     no_recursion=yes ;;
1007
1008   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010   | --oldin | --oldi | --old | --ol | --o)
1011     ac_prev=oldincludedir ;;
1012   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015     oldincludedir=$ac_optarg ;;
1016
1017   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018     ac_prev=prefix ;;
1019   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020     prefix=$ac_optarg ;;
1021
1022   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023   | --program-pre | --program-pr | --program-p)
1024     ac_prev=program_prefix ;;
1025   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027     program_prefix=$ac_optarg ;;
1028
1029   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030   | --program-suf | --program-su | --program-s)
1031     ac_prev=program_suffix ;;
1032   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034     program_suffix=$ac_optarg ;;
1035
1036   -program-transform-name | --program-transform-name \
1037   | --program-transform-nam | --program-transform-na \
1038   | --program-transform-n | --program-transform- \
1039   | --program-transform | --program-transfor \
1040   | --program-transfo | --program-transf \
1041   | --program-trans | --program-tran \
1042   | --progr-tra | --program-tr | --program-t)
1043     ac_prev=program_transform_name ;;
1044   -program-transform-name=* | --program-transform-name=* \
1045   | --program-transform-nam=* | --program-transform-na=* \
1046   | --program-transform-n=* | --program-transform-=* \
1047   | --program-transform=* | --program-transfor=* \
1048   | --program-transfo=* | --program-transf=* \
1049   | --program-trans=* | --program-tran=* \
1050   | --progr-tra=* | --program-tr=* | --program-t=*)
1051     program_transform_name=$ac_optarg ;;
1052
1053   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054     ac_prev=pdfdir ;;
1055   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056     pdfdir=$ac_optarg ;;
1057
1058   -psdir | --psdir | --psdi | --psd | --ps)
1059     ac_prev=psdir ;;
1060   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061     psdir=$ac_optarg ;;
1062
1063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064   | -silent | --silent | --silen | --sile | --sil)
1065     silent=yes ;;
1066
1067   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068     ac_prev=sbindir ;;
1069   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070   | --sbi=* | --sb=*)
1071     sbindir=$ac_optarg ;;
1072
1073   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075   | --sharedst | --shareds | --shared | --share | --shar \
1076   | --sha | --sh)
1077     ac_prev=sharedstatedir ;;
1078   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081   | --sha=* | --sh=*)
1082     sharedstatedir=$ac_optarg ;;
1083
1084   -site | --site | --sit)
1085     ac_prev=site ;;
1086   -site=* | --site=* | --sit=*)
1087     site=$ac_optarg ;;
1088
1089   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090     ac_prev=srcdir ;;
1091   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092     srcdir=$ac_optarg ;;
1093
1094   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095   | --syscon | --sysco | --sysc | --sys | --sy)
1096     ac_prev=sysconfdir ;;
1097   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099     sysconfdir=$ac_optarg ;;
1100
1101   -target | --target | --targe | --targ | --tar | --ta | --t)
1102     ac_prev=target_alias ;;
1103   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104     target_alias=$ac_optarg ;;
1105
1106   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107     verbose=yes ;;
1108
1109   -version | --version | --versio | --versi | --vers | -V)
1110     ac_init_version=: ;;
1111
1112   -with-* | --with-*)
1113     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114     # Reject names that are not valid shell variable names.
1115     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1116       as_fn_error "invalid package name: $ac_useropt"
1117     ac_useropt_orig=$ac_useropt
1118     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1119     case $ac_user_opts in
1120       *"
1121 "with_$ac_useropt"
1122 "*) ;;
1123       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1124          ac_unrecognized_sep=', ';;
1125     esac
1126     eval with_$ac_useropt=\$ac_optarg ;;
1127
1128   -without-* | --without-*)
1129     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1130     # Reject names that are not valid shell variable names.
1131     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1132       as_fn_error "invalid package name: $ac_useropt"
1133     ac_useropt_orig=$ac_useropt
1134     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1135     case $ac_user_opts in
1136       *"
1137 "with_$ac_useropt"
1138 "*) ;;
1139       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1140          ac_unrecognized_sep=', ';;
1141     esac
1142     eval with_$ac_useropt=no ;;
1143
1144   --x)
1145     # Obsolete; use --with-x.
1146     with_x=yes ;;
1147
1148   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1149   | --x-incl | --x-inc | --x-in | --x-i)
1150     ac_prev=x_includes ;;
1151   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1152   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1153     x_includes=$ac_optarg ;;
1154
1155   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1156   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1157     ac_prev=x_libraries ;;
1158   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1159   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1160     x_libraries=$ac_optarg ;;
1161
1162   -*) as_fn_error "unrecognized option: \`$ac_option'
1163 Try \`$0 --help' for more information."
1164     ;;
1165
1166   *=*)
1167     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1168     # Reject names that are not valid shell variable names.
1169     case $ac_envvar in #(
1170       '' | [0-9]* | *[!_$as_cr_alnum]* )
1171       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1172     esac
1173     eval $ac_envvar=\$ac_optarg
1174     export $ac_envvar ;;
1175
1176   *)
1177     # FIXME: should be removed in autoconf 3.0.
1178     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1179     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1181     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1182     ;;
1183
1184   esac
1185 done
1186
1187 if test -n "$ac_prev"; then
1188   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1189   as_fn_error "missing argument to $ac_option"
1190 fi
1191
1192 if test -n "$ac_unrecognized_opts"; then
1193   case $enable_option_checking in
1194     no) ;;
1195     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1196     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1197   esac
1198 fi
1199
1200 # Check all directory arguments for consistency.
1201 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1202                 datadir sysconfdir sharedstatedir localstatedir includedir \
1203                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1204                 libdir localedir mandir
1205 do
1206   eval ac_val=\$$ac_var
1207   # Remove trailing slashes.
1208   case $ac_val in
1209     */ )
1210       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1211       eval $ac_var=\$ac_val;;
1212   esac
1213   # Be sure to have absolute directory names.
1214   case $ac_val in
1215     [\\/$]* | ?:[\\/]* )  continue;;
1216     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1217   esac
1218   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1219 done
1220
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1224 build=$build_alias
1225 host=$host_alias
1226 target=$target_alias
1227
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x; then
1230   if test "x$build_alias" = x; then
1231     cross_compiling=maybe
1232     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233     If a cross compiler is detected then cross compile mode will be used." >&2
1234   elif test "x$build_alias" != "x$host_alias"; then
1235     cross_compiling=yes
1236   fi
1237 fi
1238
1239 ac_tool_prefix=
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1241
1242 test "$silent" = yes && exec 6>/dev/null
1243
1244
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248   as_fn_error "working directory cannot be determined"
1249 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1250   as_fn_error "pwd does not report name of working directory"
1251
1252
1253 # Find the source files, if location was not specified.
1254 if test -z "$srcdir"; then
1255   ac_srcdir_defaulted=yes
1256   # Try the directory containing this script, then the parent directory.
1257   ac_confdir=`$as_dirname -- "$as_myself" ||
1258 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1259          X"$as_myself" : 'X\(//\)[^/]' \| \
1260          X"$as_myself" : 'X\(//\)$' \| \
1261          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1262 $as_echo X"$as_myself" |
1263     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1264             s//\1/
1265             q
1266           }
1267           /^X\(\/\/\)[^/].*/{
1268             s//\1/
1269             q
1270           }
1271           /^X\(\/\/\)$/{
1272             s//\1/
1273             q
1274           }
1275           /^X\(\/\).*/{
1276             s//\1/
1277             q
1278           }
1279           s/.*/./; q'`
1280   srcdir=$ac_confdir
1281   if test ! -r "$srcdir/$ac_unique_file"; then
1282     srcdir=..
1283   fi
1284 else
1285   ac_srcdir_defaulted=no
1286 fi
1287 if test ! -r "$srcdir/$ac_unique_file"; then
1288   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1289   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1290 fi
1291 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1292 ac_abs_confdir=`(
1293         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1294         pwd)`
1295 # When building in place, set srcdir=.
1296 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297   srcdir=.
1298 fi
1299 # Remove unnecessary trailing slashes from srcdir.
1300 # Double slashes in file names in object file debugging info
1301 # mess up M-x gdb in Emacs.
1302 case $srcdir in
1303 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 esac
1305 for ac_var in $ac_precious_vars; do
1306   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1307   eval ac_env_${ac_var}_value=\$${ac_var}
1308   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1309   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1310 done
1311
1312 #
1313 # Report the --help message.
1314 #
1315 if test "$ac_init_help" = "long"; then
1316   # Omit some internal or obsolete options to make the list less imposing.
1317   # This message is too long to be a string in the A/UX 3.1 sh.
1318   cat <<_ACEOF
1319 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1320
1321 Usage: $0 [OPTION]... [VAR=VALUE]...
1322
1323 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1324 VAR=VALUE.  See below for descriptions of some of the useful variables.
1325
1326 Defaults for the options are specified in brackets.
1327
1328 Configuration:
1329   -h, --help              display this help and exit
1330       --help=short        display options specific to this package
1331       --help=recursive    display the short help of all the included packages
1332   -V, --version           display version information and exit
1333   -q, --quiet, --silent   do not print \`checking...' messages
1334       --cache-file=FILE   cache test results in FILE [disabled]
1335   -C, --config-cache      alias for \`--cache-file=config.cache'
1336   -n, --no-create         do not create output files
1337       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1338
1339 Installation directories:
1340   --prefix=PREFIX         install architecture-independent files in PREFIX
1341                           [$ac_default_prefix]
1342   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1343                           [PREFIX]
1344
1345 By default, \`make install' will install all the files in
1346 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1347 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1348 for instance \`--prefix=\$HOME'.
1349
1350 For better control, use the options below.
1351
1352 Fine tuning of the installation directories:
1353   --bindir=DIR            user executables [EPREFIX/bin]
1354   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1355   --libexecdir=DIR        program executables [EPREFIX/libexec]
1356   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1357   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1358   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1359   --libdir=DIR            object code libraries [EPREFIX/lib]
1360   --includedir=DIR        C header files [PREFIX/include]
1361   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1362   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1363   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1364   --infodir=DIR           info documentation [DATAROOTDIR/info]
1365   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1366   --mandir=DIR            man documentation [DATAROOTDIR/man]
1367   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1368   --htmldir=DIR           html documentation [DOCDIR]
1369   --dvidir=DIR            dvi documentation [DOCDIR]
1370   --pdfdir=DIR            pdf documentation [DOCDIR]
1371   --psdir=DIR             ps documentation [DOCDIR]
1372 _ACEOF
1373
1374   cat <<\_ACEOF
1375
1376 Program names:
1377   --program-prefix=PREFIX            prepend PREFIX to installed program names
1378   --program-suffix=SUFFIX            append SUFFIX to installed program names
1379   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1380
1381 System types:
1382   --build=BUILD     configure for building on BUILD [guessed]
1383   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1384   --target=TARGET   configure for building compilers for TARGET [HOST]
1385 _ACEOF
1386 fi
1387
1388 if test -n "$ac_init_help"; then
1389   case $ac_init_help in
1390      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1391    esac
1392   cat <<\_ACEOF
1393
1394 Optional Features:
1395   --disable-option-checking  ignore unrecognized --enable/--with options
1396   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1397   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1398   --enable-version-specific-runtime-libs
1399                           specify that runtime libraries should be installed
1400                           in a compiler-specific directory
1401   --enable-intermodule    build the library in one step
1402   --enable-maintainer-mode  enable make rules and dependencies not useful
1403                           (and sometimes confusing) to the casual installer
1404   --enable-multilib       build many library versions (default)
1405   --disable-dependency-tracking  speeds up one-time build
1406   --enable-dependency-tracking   do not reject slow dependency extractors
1407   --enable-shared[=PKGS]  build shared libraries [default=yes]
1408   --enable-static[=PKGS]  build static libraries [default=yes]
1409   --enable-fast-install[=PKGS]
1410                           optimize for fast installation [default=yes]
1411   --disable-libtool-lock  avoid locking (might break parallel builds)
1412   --disable-largefile     omit support for large files
1413   --disable-libquadmath-support
1414                           disable libquadmath support for Fortran
1415
1416 Optional Packages:
1417   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1418   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1419   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1420   --with-pic              try to use only PIC/non-PIC objects [default=use
1421                           both]
1422   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1423
1424 Some influential environment variables:
1425   CC          C compiler command
1426   CFLAGS      C compiler flags
1427   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1428               nonstandard directory <lib dir>
1429   LIBS        libraries to pass to the linker, e.g. -l<library>
1430   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1431               you have headers in a nonstandard directory <include dir>
1432   CPP         C preprocessor
1433   FC          Fortran compiler command
1434   FCFLAGS     Fortran compiler flags
1435
1436 Use these variables to override the choices made by `configure' or to help
1437 it to find libraries and programs with nonstandard names/locations.
1438
1439 Report bugs to the package provider.
1440 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1441 General help using GNU software: <http://www.gnu.org/gethelp/>.
1442 _ACEOF
1443 ac_status=$?
1444 fi
1445
1446 if test "$ac_init_help" = "recursive"; then
1447   # If there are subdirs, report their specific --help.
1448   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1449     test -d "$ac_dir" ||
1450       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1451       continue
1452     ac_builddir=.
1453
1454 case "$ac_dir" in
1455 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 *)
1457   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1458   # A ".." for each directory in $ac_dir_suffix.
1459   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1460   case $ac_top_builddir_sub in
1461   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1462   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1463   esac ;;
1464 esac
1465 ac_abs_top_builddir=$ac_pwd
1466 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1467 # for backward compatibility:
1468 ac_top_builddir=$ac_top_build_prefix
1469
1470 case $srcdir in
1471   .)  # We are building in place.
1472     ac_srcdir=.
1473     ac_top_srcdir=$ac_top_builddir_sub
1474     ac_abs_top_srcdir=$ac_pwd ;;
1475   [\\/]* | ?:[\\/]* )  # Absolute name.
1476     ac_srcdir=$srcdir$ac_dir_suffix;
1477     ac_top_srcdir=$srcdir
1478     ac_abs_top_srcdir=$srcdir ;;
1479   *) # Relative name.
1480     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1481     ac_top_srcdir=$ac_top_build_prefix$srcdir
1482     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1483 esac
1484 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1485
1486     cd "$ac_dir" || { ac_status=$?; continue; }
1487     # Check for guested configure.
1488     if test -f "$ac_srcdir/configure.gnu"; then
1489       echo &&
1490       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1491     elif test -f "$ac_srcdir/configure"; then
1492       echo &&
1493       $SHELL "$ac_srcdir/configure" --help=recursive
1494     else
1495       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1496     fi || ac_status=$?
1497     cd "$ac_pwd" || { ac_status=$?; break; }
1498   done
1499 fi
1500
1501 test -n "$ac_init_help" && exit $ac_status
1502 if $ac_init_version; then
1503   cat <<\_ACEOF
1504 GNU Fortran Runtime Library configure 0.3
1505 generated by GNU Autoconf 2.64
1506
1507 Copyright (C) 2009 Free Software Foundation, Inc.
1508 This configure script is free software; the Free Software Foundation
1509 gives unlimited permission to copy, distribute and modify it.
1510 _ACEOF
1511   exit
1512 fi
1513
1514 ## ------------------------ ##
1515 ## Autoconf initialization. ##
1516 ## ------------------------ ##
1517
1518 # ac_fn_c_try_compile LINENO
1519 # --------------------------
1520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1521 ac_fn_c_try_compile ()
1522 {
1523   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1524   rm -f conftest.$ac_objext
1525   if { { ac_try="$ac_compile"
1526 case "(($ac_try" in
1527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1528   *) ac_try_echo=$ac_try;;
1529 esac
1530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1531 $as_echo "$ac_try_echo"; } >&5
1532   (eval "$ac_compile") 2>conftest.err
1533   ac_status=$?
1534   if test -s conftest.err; then
1535     grep -v '^ *+' conftest.err >conftest.er1
1536     cat conftest.er1 >&5
1537     mv -f conftest.er1 conftest.err
1538   fi
1539   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540   test $ac_status = 0; } && {
1541          test -z "$ac_c_werror_flag" ||
1542          test ! -s conftest.err
1543        } && test -s conftest.$ac_objext; then :
1544   ac_retval=0
1545 else
1546   $as_echo "$as_me: failed program was:" >&5
1547 sed 's/^/| /' conftest.$ac_ext >&5
1548
1549         ac_retval=1
1550 fi
1551   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1552   return $ac_retval
1553
1554 } # ac_fn_c_try_compile
1555
1556 # ac_fn_c_try_link LINENO
1557 # -----------------------
1558 # Try to link conftest.$ac_ext, and return whether this succeeded.
1559 ac_fn_c_try_link ()
1560 {
1561   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1562   rm -f conftest.$ac_objext conftest$ac_exeext
1563   if { { ac_try="$ac_link"
1564 case "(($ac_try" in
1565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1566   *) ac_try_echo=$ac_try;;
1567 esac
1568 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1569 $as_echo "$ac_try_echo"; } >&5
1570   (eval "$ac_link") 2>conftest.err
1571   ac_status=$?
1572   if test -s conftest.err; then
1573     grep -v '^ *+' conftest.err >conftest.er1
1574     cat conftest.er1 >&5
1575     mv -f conftest.er1 conftest.err
1576   fi
1577   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1578   test $ac_status = 0; } && {
1579          test -z "$ac_c_werror_flag" ||
1580          test ! -s conftest.err
1581        } && test -s conftest$ac_exeext && {
1582          test "$cross_compiling" = yes ||
1583          $as_test_x conftest$ac_exeext
1584        }; then :
1585   ac_retval=0
1586 else
1587   $as_echo "$as_me: failed program was:" >&5
1588 sed 's/^/| /' conftest.$ac_ext >&5
1589
1590         ac_retval=1
1591 fi
1592   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1593   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1594   # interfere with the next link command; also delete a directory that is
1595   # left behind by Apple's compiler.  We do this before executing the actions.
1596   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1597   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598   return $ac_retval
1599
1600 } # ac_fn_c_try_link
1601
1602 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists and can be compiled using the include files in
1605 # INCLUDES, setting the cache variable VAR accordingly.
1606 ac_fn_c_check_header_compile ()
1607 {
1608   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1610 $as_echo_n "checking for $2... " >&6; }
1611 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1612   $as_echo_n "(cached) " >&6
1613 else
1614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1615 /* end confdefs.h.  */
1616 $4
1617 #include <$2>
1618 _ACEOF
1619 if ac_fn_c_try_compile "$LINENO"; then :
1620   eval "$3=yes"
1621 else
1622   eval "$3=no"
1623 fi
1624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1625 fi
1626 eval ac_res=\$$3
1627                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628 $as_echo "$ac_res" >&6; }
1629   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1630
1631 } # ac_fn_c_check_header_compile
1632
1633 # ac_fn_c_try_cpp LINENO
1634 # ----------------------
1635 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_c_try_cpp ()
1637 {
1638   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639   if { { ac_try="$ac_cpp conftest.$ac_ext"
1640 case "(($ac_try" in
1641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1642   *) ac_try_echo=$ac_try;;
1643 esac
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1647   ac_status=$?
1648   if test -s conftest.err; then
1649     grep -v '^ *+' conftest.err >conftest.er1
1650     cat conftest.er1 >&5
1651     mv -f conftest.er1 conftest.err
1652   fi
1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654   test $ac_status = 0; } >/dev/null && {
1655          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1656          test ! -s conftest.err
1657        }; then :
1658   ac_retval=0
1659 else
1660   $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1662
1663     ac_retval=1
1664 fi
1665   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1666   return $ac_retval
1667
1668 } # ac_fn_c_try_cpp
1669
1670 # ac_fn_c_try_run LINENO
1671 # ----------------------
1672 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1673 # that executables *can* be run.
1674 ac_fn_c_try_run ()
1675 {
1676   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677   if { { ac_try="$ac_link"
1678 case "(($ac_try" in
1679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680   *) ac_try_echo=$ac_try;;
1681 esac
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684   (eval "$ac_link") 2>&5
1685   ac_status=$?
1686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1688   { { case "(($ac_try" in
1689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690   *) ac_try_echo=$ac_try;;
1691 esac
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694   (eval "$ac_try") 2>&5
1695   ac_status=$?
1696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697   test $ac_status = 0; }; }; then :
1698   ac_retval=0
1699 else
1700   $as_echo "$as_me: program exited with status $ac_status" >&5
1701        $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1703
1704        ac_retval=$ac_status
1705 fi
1706   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1707   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708   return $ac_retval
1709
1710 } # ac_fn_c_try_run
1711
1712 # ac_fn_c_check_func LINENO FUNC VAR
1713 # ----------------------------------
1714 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1715 ac_fn_c_check_func ()
1716 {
1717   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1719 $as_echo_n "checking for $2... " >&6; }
1720 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1721   $as_echo_n "(cached) " >&6
1722 else
1723   if test x$gcc_no_link = xyes; then
1724   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1725 fi
1726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727 /* end confdefs.h.  */
1728 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1729    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1730 #define $2 innocuous_$2
1731
1732 /* System header to define __stub macros and hopefully few prototypes,
1733     which can conflict with char $2 (); below.
1734     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1735     <limits.h> exists even on freestanding compilers.  */
1736
1737 #ifdef __STDC__
1738 # include <limits.h>
1739 #else
1740 # include <assert.h>
1741 #endif
1742
1743 #undef $2
1744
1745 /* Override any GCC internal prototype to avoid an error.
1746    Use char because int might match the return type of a GCC
1747    builtin and then its argument prototype would still apply.  */
1748 #ifdef __cplusplus
1749 extern "C"
1750 #endif
1751 char $2 ();
1752 /* The GNU C library defines this for functions which it implements
1753     to always fail with ENOSYS.  Some functions are actually named
1754     something starting with __ and the normal name is an alias.  */
1755 #if defined __stub_$2 || defined __stub___$2
1756 choke me
1757 #endif
1758
1759 int
1760 main ()
1761 {
1762 return $2 ();
1763   ;
1764   return 0;
1765 }
1766 _ACEOF
1767 if ac_fn_c_try_link "$LINENO"; then :
1768   eval "$3=yes"
1769 else
1770   eval "$3=no"
1771 fi
1772 rm -f core conftest.err conftest.$ac_objext \
1773     conftest$ac_exeext conftest.$ac_ext
1774 fi
1775 eval ac_res=\$$3
1776                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1777 $as_echo "$ac_res" >&6; }
1778   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1779
1780 } # ac_fn_c_check_func
1781
1782 # ac_fn_fc_try_compile LINENO
1783 # ---------------------------
1784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1785 ac_fn_fc_try_compile ()
1786 {
1787   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788   rm -f conftest.$ac_objext
1789   if { { ac_try="$ac_compile"
1790 case "(($ac_try" in
1791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792   *) ac_try_echo=$ac_try;;
1793 esac
1794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795 $as_echo "$ac_try_echo"; } >&5
1796   (eval "$ac_compile") 2>conftest.err
1797   ac_status=$?
1798   if test -s conftest.err; then
1799     grep -v '^ *+' conftest.err >conftest.er1
1800     cat conftest.er1 >&5
1801     mv -f conftest.er1 conftest.err
1802   fi
1803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804   test $ac_status = 0; } && {
1805          test -z "$ac_fc_werror_flag" ||
1806          test ! -s conftest.err
1807        } && test -s conftest.$ac_objext; then :
1808   ac_retval=0
1809 else
1810   $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1812
1813         ac_retval=1
1814 fi
1815   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1816   return $ac_retval
1817
1818 } # ac_fn_fc_try_compile
1819
1820 # ac_fn_fc_try_link LINENO
1821 # ------------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 ac_fn_fc_try_link ()
1824 {
1825   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1826   rm -f conftest.$ac_objext conftest$ac_exeext
1827   if { { ac_try="$ac_link"
1828 case "(($ac_try" in
1829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830   *) ac_try_echo=$ac_try;;
1831 esac
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834   (eval "$ac_link") 2>conftest.err
1835   ac_status=$?
1836   if test -s conftest.err; then
1837     grep -v '^ *+' conftest.err >conftest.er1
1838     cat conftest.er1 >&5
1839     mv -f conftest.er1 conftest.err
1840   fi
1841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842   test $ac_status = 0; } && {
1843          test -z "$ac_fc_werror_flag" ||
1844          test ! -s conftest.err
1845        } && test -s conftest$ac_exeext && {
1846          test "$cross_compiling" = yes ||
1847          $as_test_x conftest$ac_exeext
1848        }; then :
1849   ac_retval=0
1850 else
1851   $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1853
1854         ac_retval=1
1855 fi
1856   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1857   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1858   # interfere with the next link command; also delete a directory that is
1859   # left behind by Apple's compiler.  We do this before executing the actions.
1860   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862   return $ac_retval
1863
1864 } # ac_fn_fc_try_link
1865
1866 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1867 # -------------------------------------------
1868 # Tests whether TYPE exists after having included INCLUDES, setting cache
1869 # variable VAR accordingly.
1870 ac_fn_c_check_type ()
1871 {
1872   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1876   $as_echo_n "(cached) " >&6
1877 else
1878   eval "$3=no"
1879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h.  */
1881 $4
1882 int
1883 main ()
1884 {
1885 if (sizeof ($2))
1886          return 0;
1887   ;
1888   return 0;
1889 }
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893 /* end confdefs.h.  */
1894 $4
1895 int
1896 main ()
1897 {
1898 if (sizeof (($2)))
1899             return 0;
1900   ;
1901   return 0;
1902 }
1903 _ACEOF
1904 if ac_fn_c_try_compile "$LINENO"; then :
1905
1906 else
1907   eval "$3=yes"
1908 fi
1909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1910 fi
1911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1912 fi
1913 eval ac_res=\$$3
1914                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915 $as_echo "$ac_res" >&6; }
1916   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917
1918 } # ac_fn_c_check_type
1919
1920 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1921 # -------------------------------------------------------
1922 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1923 # the include files in INCLUDES and setting the cache variable VAR
1924 # accordingly.
1925 ac_fn_c_check_header_mongrel ()
1926 {
1927   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1929   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932   $as_echo_n "(cached) " >&6
1933 fi
1934 eval ac_res=\$$3
1935                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936 $as_echo "$ac_res" >&6; }
1937 else
1938   # Is the header compilable?
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1940 $as_echo_n "checking $2 usability... " >&6; }
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h.  */
1943 $4
1944 #include <$2>
1945 _ACEOF
1946 if ac_fn_c_try_compile "$LINENO"; then :
1947   ac_header_compiler=yes
1948 else
1949   ac_header_compiler=no
1950 fi
1951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1953 $as_echo "$ac_header_compiler" >&6; }
1954
1955 # Is the header present?
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1957 $as_echo_n "checking $2 presence... " >&6; }
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h.  */
1960 #include <$2>
1961 _ACEOF
1962 if ac_fn_c_try_cpp "$LINENO"; then :
1963   ac_header_preproc=yes
1964 else
1965   ac_header_preproc=no
1966 fi
1967 rm -f conftest.err conftest.$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1969 $as_echo "$ac_header_preproc" >&6; }
1970
1971 # So?  What about this header?
1972 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1973   yes:no: )
1974     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1975 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1976     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1977 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1978     ;;
1979   no:yes:* )
1980     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1981 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1982     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1983 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1984     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1985 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1986     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1987 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1988     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1989 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1990     ;;
1991 esac
1992   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1993 $as_echo_n "checking for $2... " >&6; }
1994 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1995   $as_echo_n "(cached) " >&6
1996 else
1997   eval "$3=\$ac_header_compiler"
1998 fi
1999 eval ac_res=\$$3
2000                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2002 fi
2003   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2004
2005 } # ac_fn_c_check_header_mongrel
2006
2007 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2008 # --------------------------------------------
2009 # Tries to find the compile-time value of EXPR in a program that includes
2010 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2011 # computed
2012 ac_fn_c_compute_int ()
2013 {
2014   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2015   if test "$cross_compiling" = yes; then
2016     # Depending upon the size, compute the lo and hi bounds.
2017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h.  */
2019 $4
2020 int
2021 main ()
2022 {
2023 static int test_array [1 - 2 * !(($2) >= 0)];
2024 test_array [0] = 0
2025
2026   ;
2027   return 0;
2028 }
2029 _ACEOF
2030 if ac_fn_c_try_compile "$LINENO"; then :
2031   ac_lo=0 ac_mid=0
2032   while :; do
2033     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h.  */
2035 $4
2036 int
2037 main ()
2038 {
2039 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2040 test_array [0] = 0
2041
2042   ;
2043   return 0;
2044 }
2045 _ACEOF
2046 if ac_fn_c_try_compile "$LINENO"; then :
2047   ac_hi=$ac_mid; break
2048 else
2049   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2050                         if test $ac_lo -le $ac_mid; then
2051                           ac_lo= ac_hi=
2052                           break
2053                         fi
2054                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2055 fi
2056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2057   done
2058 else
2059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h.  */
2061 $4
2062 int
2063 main ()
2064 {
2065 static int test_array [1 - 2 * !(($2) < 0)];
2066 test_array [0] = 0
2067
2068   ;
2069   return 0;
2070 }
2071 _ACEOF
2072 if ac_fn_c_try_compile "$LINENO"; then :
2073   ac_hi=-1 ac_mid=-1
2074   while :; do
2075     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h.  */
2077 $4
2078 int
2079 main ()
2080 {
2081 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2082 test_array [0] = 0
2083
2084   ;
2085   return 0;
2086 }
2087 _ACEOF
2088 if ac_fn_c_try_compile "$LINENO"; then :
2089   ac_lo=$ac_mid; break
2090 else
2091   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2092                         if test $ac_mid -le $ac_hi; then
2093                           ac_lo= ac_hi=
2094                           break
2095                         fi
2096                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2097 fi
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099   done
2100 else
2101   ac_lo= ac_hi=
2102 fi
2103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2104 fi
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2106 # Binary search between lo and hi bounds.
2107 while test "x$ac_lo" != "x$ac_hi"; do
2108   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h.  */
2111 $4
2112 int
2113 main ()
2114 {
2115 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2116 test_array [0] = 0
2117
2118   ;
2119   return 0;
2120 }
2121 _ACEOF
2122 if ac_fn_c_try_compile "$LINENO"; then :
2123   ac_hi=$ac_mid
2124 else
2125   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2126 fi
2127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2128 done
2129 case $ac_lo in #((
2130 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2131 '') ac_retval=1 ;;
2132 esac
2133   else
2134     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h.  */
2136 $4
2137 static long int longval () { return $2; }
2138 static unsigned long int ulongval () { return $2; }
2139 #include <stdio.h>
2140 #include <stdlib.h>
2141 int
2142 main ()
2143 {
2144
2145   FILE *f = fopen ("conftest.val", "w");
2146   if (! f)
2147     return 1;
2148   if (($2) < 0)
2149     {
2150       long int i = longval ();
2151       if (i != ($2))
2152         return 1;
2153       fprintf (f, "%ld", i);
2154     }
2155   else
2156     {
2157       unsigned long int i = ulongval ();
2158       if (i != ($2))
2159         return 1;
2160       fprintf (f, "%lu", i);
2161     }
2162   /* Do not output a trailing newline, as this causes \r\n confusion
2163      on some platforms.  */
2164   return ferror (f) || fclose (f) != 0;
2165
2166   ;
2167   return 0;
2168 }
2169 _ACEOF
2170 if ac_fn_c_try_run "$LINENO"; then :
2171   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2172 else
2173   ac_retval=1
2174 fi
2175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2176   conftest.$ac_objext conftest.beam conftest.$ac_ext
2177 rm -f conftest.val
2178
2179   fi
2180   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181   return $ac_retval
2182
2183 } # ac_fn_c_compute_int
2184
2185 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2186 # ----------------------------------------------------
2187 # Tries to find if the field MEMBER exists in type AGGR, after including
2188 # INCLUDES, setting cache variable VAR accordingly.
2189 ac_fn_c_check_member ()
2190 {
2191   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2193 $as_echo_n "checking for $2.$3... " >&6; }
2194 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2195   $as_echo_n "(cached) " >&6
2196 else
2197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2198 /* end confdefs.h.  */
2199 $5
2200 int
2201 main ()
2202 {
2203 static $2 ac_aggr;
2204 if (ac_aggr.$3)
2205 return 0;
2206   ;
2207   return 0;
2208 }
2209 _ACEOF
2210 if ac_fn_c_try_compile "$LINENO"; then :
2211   eval "$4=yes"
2212 else
2213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h.  */
2215 $5
2216 int
2217 main ()
2218 {
2219 static $2 ac_aggr;
2220 if (sizeof ac_aggr.$3)
2221 return 0;
2222   ;
2223   return 0;
2224 }
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227   eval "$4=yes"
2228 else
2229   eval "$4=no"
2230 fi
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 fi
2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 fi
2235 eval ac_res=\$$4
2236                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2238   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2239
2240 } # ac_fn_c_check_member
2241 cat >config.log <<_ACEOF
2242 This file contains any messages produced by compilers while
2243 running configure, to aid debugging if configure makes a mistake.
2244
2245 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2246 generated by GNU Autoconf 2.64.  Invocation command line was
2247
2248   $ $0 $@
2249
2250 _ACEOF
2251 exec 5>>config.log
2252 {
2253 cat <<_ASUNAME
2254 ## --------- ##
2255 ## Platform. ##
2256 ## --------- ##
2257
2258 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2259 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2260 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2261 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2262 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2263
2264 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2265 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2266
2267 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2268 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2269 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2270 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2271 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2272 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2273 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2274
2275 _ASUNAME
2276
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 for as_dir in $PATH
2279 do
2280   IFS=$as_save_IFS
2281   test -z "$as_dir" && as_dir=.
2282     $as_echo "PATH: $as_dir"
2283   done
2284 IFS=$as_save_IFS
2285
2286 } >&5
2287
2288 cat >&5 <<_ACEOF
2289
2290
2291 ## ----------- ##
2292 ## Core tests. ##
2293 ## ----------- ##
2294
2295 _ACEOF
2296
2297
2298 # Keep a trace of the command line.
2299 # Strip out --no-create and --no-recursion so they do not pile up.
2300 # Strip out --silent because we don't want to record it for future runs.
2301 # Also quote any args containing shell meta-characters.
2302 # Make two passes to allow for proper duplicate-argument suppression.
2303 ac_configure_args=
2304 ac_configure_args0=
2305 ac_configure_args1=
2306 ac_must_keep_next=false
2307 for ac_pass in 1 2
2308 do
2309   for ac_arg
2310   do
2311     case $ac_arg in
2312     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2313     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2314     | -silent | --silent | --silen | --sile | --sil)
2315       continue ;;
2316     *\'*)
2317       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2318     esac
2319     case $ac_pass in
2320     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2321     2)
2322       as_fn_append ac_configure_args1 " '$ac_arg'"
2323       if test $ac_must_keep_next = true; then
2324         ac_must_keep_next=false # Got value, back to normal.
2325       else
2326         case $ac_arg in
2327           *=* | --config-cache | -C | -disable-* | --disable-* \
2328           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2329           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2330           | -with-* | --with-* | -without-* | --without-* | --x)
2331             case "$ac_configure_args0 " in
2332               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2333             esac
2334             ;;
2335           -* ) ac_must_keep_next=true ;;
2336         esac
2337       fi
2338       as_fn_append ac_configure_args " '$ac_arg'"
2339       ;;
2340     esac
2341   done
2342 done
2343 { ac_configure_args0=; unset ac_configure_args0;}
2344 { ac_configure_args1=; unset ac_configure_args1;}
2345
2346 # When interrupted or exit'd, cleanup temporary files, and complete
2347 # config.log.  We remove comments because anyway the quotes in there
2348 # would cause problems or look ugly.
2349 # WARNING: Use '\'' to represent an apostrophe within the trap.
2350 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2351 trap 'exit_status=$?
2352   # Save into config.log some information that might help in debugging.
2353   {
2354     echo
2355
2356     cat <<\_ASBOX
2357 ## ---------------- ##
2358 ## Cache variables. ##
2359 ## ---------------- ##
2360 _ASBOX
2361     echo
2362     # The following way of writing the cache mishandles newlines in values,
2363 (
2364   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2365     eval ac_val=\$$ac_var
2366     case $ac_val in #(
2367     *${as_nl}*)
2368       case $ac_var in #(
2369       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2371       esac
2372       case $ac_var in #(
2373       _ | IFS | as_nl) ;; #(
2374       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2375       *) { eval $ac_var=; unset $ac_var;} ;;
2376       esac ;;
2377     esac
2378   done
2379   (set) 2>&1 |
2380     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2381     *${as_nl}ac_space=\ *)
2382       sed -n \
2383         "s/'\''/'\''\\\\'\'''\''/g;
2384           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2385       ;; #(
2386     *)
2387       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2388       ;;
2389     esac |
2390     sort
2391 )
2392     echo
2393
2394     cat <<\_ASBOX
2395 ## ----------------- ##
2396 ## Output variables. ##
2397 ## ----------------- ##
2398 _ASBOX
2399     echo
2400     for ac_var in $ac_subst_vars
2401     do
2402       eval ac_val=\$$ac_var
2403       case $ac_val in
2404       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2405       esac
2406       $as_echo "$ac_var='\''$ac_val'\''"
2407     done | sort
2408     echo
2409
2410     if test -n "$ac_subst_files"; then
2411       cat <<\_ASBOX
2412 ## ------------------- ##
2413 ## File substitutions. ##
2414 ## ------------------- ##
2415 _ASBOX
2416       echo
2417       for ac_var in $ac_subst_files
2418       do
2419         eval ac_val=\$$ac_var
2420         case $ac_val in
2421         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2422         esac
2423         $as_echo "$ac_var='\''$ac_val'\''"
2424       done | sort
2425       echo
2426     fi
2427
2428     if test -s confdefs.h; then
2429       cat <<\_ASBOX
2430 ## ----------- ##
2431 ## confdefs.h. ##
2432 ## ----------- ##
2433 _ASBOX
2434       echo
2435       cat confdefs.h
2436       echo
2437     fi
2438     test "$ac_signal" != 0 &&
2439       $as_echo "$as_me: caught signal $ac_signal"
2440     $as_echo "$as_me: exit $exit_status"
2441   } >&5
2442   rm -f core *.core core.conftest.* &&
2443     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2444     exit $exit_status
2445 ' 0
2446 for ac_signal in 1 2 13 15; do
2447   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2448 done
2449 ac_signal=0
2450
2451 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2452 rm -f -r conftest* confdefs.h
2453
2454 $as_echo "/* confdefs.h */" > confdefs.h
2455
2456 # Predefined preprocessor variables.
2457
2458 cat >>confdefs.h <<_ACEOF
2459 #define PACKAGE_NAME "$PACKAGE_NAME"
2460 _ACEOF
2461
2462 cat >>confdefs.h <<_ACEOF
2463 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2464 _ACEOF
2465
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2468 _ACEOF
2469
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_STRING "$PACKAGE_STRING"
2472 _ACEOF
2473
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2476 _ACEOF
2477
2478 cat >>confdefs.h <<_ACEOF
2479 #define PACKAGE_URL "$PACKAGE_URL"
2480 _ACEOF
2481
2482
2483 # Let the site file select an alternate cache file if it wants to.
2484 # Prefer an explicitly selected file to automatically selected ones.
2485 ac_site_file1=NONE
2486 ac_site_file2=NONE
2487 if test -n "$CONFIG_SITE"; then
2488   ac_site_file1=$CONFIG_SITE
2489 elif test "x$prefix" != xNONE; then
2490   ac_site_file1=$prefix/share/config.site
2491   ac_site_file2=$prefix/etc/config.site
2492 else
2493   ac_site_file1=$ac_default_prefix/share/config.site
2494   ac_site_file2=$ac_default_prefix/etc/config.site
2495 fi
2496 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2497 do
2498   test "x$ac_site_file" = xNONE && continue
2499   if test -r "$ac_site_file"; then
2500     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2501 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2502     sed 's/^/| /' "$ac_site_file" >&5
2503     . "$ac_site_file"
2504   fi
2505 done
2506
2507 if test -r "$cache_file"; then
2508   # Some versions of bash will fail to source /dev/null (special
2509   # files actually), so we avoid doing that.
2510   if test -f "$cache_file"; then
2511     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2512 $as_echo "$as_me: loading cache $cache_file" >&6;}
2513     case $cache_file in
2514       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2515       *)                      . "./$cache_file";;
2516     esac
2517   fi
2518 else
2519   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2520 $as_echo "$as_me: creating cache $cache_file" >&6;}
2521   >$cache_file
2522 fi
2523
2524 # Check that the precious variables saved in the cache have kept the same
2525 # value.
2526 ac_cache_corrupted=false
2527 for ac_var in $ac_precious_vars; do
2528   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2529   eval ac_new_set=\$ac_env_${ac_var}_set
2530   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2531   eval ac_new_val=\$ac_env_${ac_var}_value
2532   case $ac_old_set,$ac_new_set in
2533     set,)
2534       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2535 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2536       ac_cache_corrupted=: ;;
2537     ,set)
2538       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2539 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2540       ac_cache_corrupted=: ;;
2541     ,);;
2542     *)
2543       if test "x$ac_old_val" != "x$ac_new_val"; then
2544         # differences in whitespace do not lead to failure.
2545         ac_old_val_w=`echo x $ac_old_val`
2546         ac_new_val_w=`echo x $ac_new_val`
2547         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2548           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2549 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2550           ac_cache_corrupted=:
2551         else
2552           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2553 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2554           eval $ac_var=\$ac_old_val
2555         fi
2556         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2557 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2558         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2559 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2560       fi;;
2561   esac
2562   # Pass precious variables to config.status.
2563   if test "$ac_new_set" = set; then
2564     case $ac_new_val in
2565     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2566     *) ac_arg=$ac_var=$ac_new_val ;;
2567     esac
2568     case " $ac_configure_args " in
2569       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2570       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2571     esac
2572   fi
2573 done
2574 if $ac_cache_corrupted; then
2575   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2578 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2579   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2580 fi
2581 ## -------------------- ##
2582 ## Main body of script. ##
2583 ## -------------------- ##
2584
2585 ac_ext=c
2586 ac_cpp='$CPP $CPPFLAGS'
2587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2590
2591
2592
2593
2594
2595 ac_config_headers="$ac_config_headers config.h"
2596
2597 ac_aux_dir=
2598 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2599   for ac_t in install-sh install.sh shtool; do
2600     if test -f "$ac_dir/$ac_t"; then
2601       ac_aux_dir=$ac_dir
2602       ac_install_sh="$ac_aux_dir/$ac_t -c"
2603       break 2
2604     fi
2605   done
2606 done
2607 if test -z "$ac_aux_dir"; then
2608   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2609 fi
2610
2611 # These three variables are undocumented and unsupported,
2612 # and are intended to be withdrawn in a future Autoconf release.
2613 # They can cause serious problems if a builder's source tree is in a directory
2614 # whose full name contains unusual characters.
2615 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2616 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2617 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2618
2619
2620 # Make sure we can run config.sub.
2621 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2622   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2623
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2625 $as_echo_n "checking build system type... " >&6; }
2626 if test "${ac_cv_build+set}" = set; then :
2627   $as_echo_n "(cached) " >&6
2628 else
2629   ac_build_alias=$build_alias
2630 test "x$ac_build_alias" = x &&
2631   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2632 test "x$ac_build_alias" = x &&
2633   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2634 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2635   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2636
2637 fi
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2639 $as_echo "$ac_cv_build" >&6; }
2640 case $ac_cv_build in
2641 *-*-*) ;;
2642 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2643 esac
2644 build=$ac_cv_build
2645 ac_save_IFS=$IFS; IFS='-'
2646 set x $ac_cv_build
2647 shift
2648 build_cpu=$1
2649 build_vendor=$2
2650 shift; shift
2651 # Remember, the first character of IFS is used to create $*,
2652 # except with old shells:
2653 build_os=$*
2654 IFS=$ac_save_IFS
2655 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2656
2657
2658  case ${build_alias} in
2659   "") build_noncanonical=${build} ;;
2660   *) build_noncanonical=${build_alias} ;;
2661 esac
2662
2663  case ${host_alias} in
2664   "") host_noncanonical=${build_noncanonical} ;;
2665   *) host_noncanonical=${host_alias} ;;
2666 esac
2667
2668  case ${target_alias} in
2669   "") target_noncanonical=${host_noncanonical} ;;
2670   *) target_noncanonical=${target_alias} ;;
2671 esac
2672
2673
2674 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2675 # have matching libraries, they should use host libraries: Makefile.tpl
2676 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2677 # However, they still use the build modules, because the corresponding
2678 # host modules (e.g. bison) are only built for the host when bootstrap
2679 # finishes. So:
2680 # - build_subdir is where we find build modules, and never changes.
2681 # - build_libsubdir is where we find build libraries, and can be overridden.
2682
2683 # Prefix 'build-' so this never conflicts with target_subdir.
2684 build_subdir="build-${build_noncanonical}"
2685
2686 # Check whether --with-build-libsubdir was given.
2687 if test "${with_build_libsubdir+set}" = set; then :
2688   withval=$with_build_libsubdir; build_libsubdir="$withval"
2689 else
2690   build_libsubdir="$build_subdir"
2691 fi
2692
2693 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2694 if ( test $srcdir = . && test -d gcc ) \
2695    || test -d $srcdir/../host-${host_noncanonical}; then
2696   host_subdir="host-${host_noncanonical}"
2697 else
2698   host_subdir=.
2699 fi
2700 # No prefix.
2701 target_subdir=${target_noncanonical}
2702
2703
2704 # -------
2705 # Options
2706 # -------
2707
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2709 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2710 # Check whether --enable-version-specific-runtime-libs was given.
2711 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2712   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2713  yes) version_specific_libs=yes ;;
2714  no)  version_specific_libs=no ;;
2715  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2716  esac
2717 else
2718   version_specific_libs=no
2719 fi
2720
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2722 $as_echo "$version_specific_libs" >&6; }
2723
2724 # Build with intermodule optimisations
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2726 $as_echo_n "checking for --enable-intermodule... " >&6; }
2727 # Check whether --enable-intermodule was given.
2728 if test "${enable_intermodule+set}" = set; then :
2729   enableval=$enable_intermodule; case "$enable_intermodule" in
2730   yes) onestep="-onestep";;
2731     *) onestep="";;
2732 esac
2733 else
2734   onestep=""
2735 fi
2736
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2738 $as_echo "$enable_intermodule" >&6; }
2739  if test x$onestep = x-onestep; then
2740   onestep_TRUE=
2741   onestep_FALSE='#'
2742 else
2743   onestep_TRUE='#'
2744   onestep_FALSE=
2745 fi
2746
2747
2748
2749 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2750 #
2751 # You will slowly go insane if you do not grok the following fact:  when
2752 # building this library, the top-level /target/ becomes the library's /host/.
2753 #
2754 # configure then causes --target to default to --host, exactly like any
2755 # other package using autoconf.  Therefore, 'target' and 'host' will
2756 # always be the same.  This makes sense both for native and cross compilers
2757 # just think about it for a little while.  :-)
2758 #
2759 # Also, if this library is being configured as part of a cross compiler, the
2760 # top-level configure script will pass the "real" host as $with_cross_host.
2761 #
2762 # Do not delete or change the following two lines.  For why, see
2763 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2765 $as_echo_n "checking host system type... " >&6; }
2766 if test "${ac_cv_host+set}" = set; then :
2767   $as_echo_n "(cached) " >&6
2768 else
2769   if test "x$host_alias" = x; then
2770   ac_cv_host=$ac_cv_build
2771 else
2772   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2773     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2774 fi
2775
2776 fi
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2778 $as_echo "$ac_cv_host" >&6; }
2779 case $ac_cv_host in
2780 *-*-*) ;;
2781 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2782 esac
2783 host=$ac_cv_host
2784 ac_save_IFS=$IFS; IFS='-'
2785 set x $ac_cv_host
2786 shift
2787 host_cpu=$1
2788 host_vendor=$2
2789 shift; shift
2790 # Remember, the first character of IFS is used to create $*,
2791 # except with old shells:
2792 host_os=$*
2793 IFS=$ac_save_IFS
2794 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2795
2796
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2798 $as_echo_n "checking target system type... " >&6; }
2799 if test "${ac_cv_target+set}" = set; then :
2800   $as_echo_n "(cached) " >&6
2801 else
2802   if test "x$target_alias" = x; then
2803   ac_cv_target=$ac_cv_host
2804 else
2805   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2806     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2807 fi
2808
2809 fi
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2811 $as_echo "$ac_cv_target" >&6; }
2812 case $ac_cv_target in
2813 *-*-*) ;;
2814 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2815 esac
2816 target=$ac_cv_target
2817 ac_save_IFS=$IFS; IFS='-'
2818 set x $ac_cv_target
2819 shift
2820 target_cpu=$1
2821 target_vendor=$2
2822 shift; shift
2823 # Remember, the first character of IFS is used to create $*,
2824 # except with old shells:
2825 target_os=$*
2826 IFS=$ac_save_IFS
2827 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2828
2829
2830 # The aliases save the names the user supplied, while $host etc.
2831 # will get canonicalized.
2832 test -n "$target_alias" &&
2833   test "$program_prefix$program_suffix$program_transform_name" = \
2834     NONENONEs,x,x, &&
2835   program_prefix=${target_alias}-
2836
2837 target_alias=${target_alias-$host_alias}
2838
2839 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2840 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2841 #  1.9.6:  minimum required version
2842 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2843 #              of other PACKAGE_* variables will, however, and there's nothing
2844 #              we can do about that; they come from AC_INIT).
2845 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2846 #            file in the top srcdir, etc, etc), so stop complaining.
2847 #  no-dist:  we don't want 'dist' and related rules.
2848 #  -Wall:  turns on all automake warnings...
2849 #  -Wno-portability:  ...except this one, since GNU make is required.
2850 am__api_version='1.11'
2851
2852 # Find a good install program.  We prefer a C program (faster),
2853 # so one script is as good as another.  But avoid the broken or
2854 # incompatible versions:
2855 # SysV /etc/install, /usr/sbin/install
2856 # SunOS /usr/etc/install
2857 # IRIX /sbin/install
2858 # AIX /bin/install
2859 # AmigaOS /C/install, which installs bootblocks on floppy discs
2860 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2861 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2862 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2863 # OS/2's system install, which has a completely different semantic
2864 # ./install, which can be erroneously created by make from ./install.sh.
2865 # Reject install programs that cannot install multiple files.
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2867 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2868 if test -z "$INSTALL"; then
2869 if test "${ac_cv_path_install+set}" = set; then :
2870   $as_echo_n "(cached) " >&6
2871 else
2872   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2873 for as_dir in $PATH
2874 do
2875   IFS=$as_save_IFS
2876   test -z "$as_dir" && as_dir=.
2877     # Account for people who put trailing slashes in PATH elements.
2878 case $as_dir/ in #((
2879   ./ | .// | /[cC]/* | \
2880   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2881   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2882   /usr/ucb/* ) ;;
2883   *)
2884     # OSF1 and SCO ODT 3.0 have their own names for install.
2885     # Don't use installbsd from OSF since it installs stuff as root
2886     # by default.
2887     for ac_prog in ginstall scoinst install; do
2888       for ac_exec_ext in '' $ac_executable_extensions; do
2889         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2890           if test $ac_prog = install &&
2891             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2892             # AIX install.  It has an incompatible calling convention.
2893             :
2894           elif test $ac_prog = install &&
2895             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2896             # program-specific install script used by HP pwplus--don't use.
2897             :
2898           else
2899             rm -rf conftest.one conftest.two conftest.dir
2900             echo one > conftest.one
2901             echo two > conftest.two
2902             mkdir conftest.dir
2903             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2904               test -s conftest.one && test -s conftest.two &&
2905               test -s conftest.dir/conftest.one &&
2906               test -s conftest.dir/conftest.two
2907             then
2908               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2909               break 3
2910             fi
2911           fi
2912         fi
2913       done
2914     done
2915     ;;
2916 esac
2917
2918   done
2919 IFS=$as_save_IFS
2920
2921 rm -rf conftest.one conftest.two conftest.dir
2922
2923 fi
2924   if test "${ac_cv_path_install+set}" = set; then
2925     INSTALL=$ac_cv_path_install
2926   else
2927     # As a last resort, use the slow shell script.  Don't cache a
2928     # value for INSTALL within a source directory, because that will
2929     # break other packages using the cache if that directory is
2930     # removed, or if the value is a relative name.
2931     INSTALL=$ac_install_sh
2932   fi
2933 fi
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2935 $as_echo "$INSTALL" >&6; }
2936
2937 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2938 # It thinks the first close brace ends the variable substitution.
2939 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2940
2941 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2942
2943 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2944
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2946 $as_echo_n "checking whether build environment is sane... " >&6; }
2947 # Just in case
2948 sleep 1
2949 echo timestamp > conftest.file
2950 # Reject unsafe characters in $srcdir or the absolute working directory
2951 # name.  Accept space and tab only in the latter.
2952 am_lf='
2953 '
2954 case `pwd` in
2955   *[\\\"\#\$\&\'\`$am_lf]*)
2956     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2957 esac
2958 case $srcdir in
2959   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2960     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2961 esac
2962
2963 # Do `set' in a subshell so we don't clobber the current shell's
2964 # arguments.  Must try -L first in case configure is actually a
2965 # symlink; some systems play weird games with the mod time of symlinks
2966 # (eg FreeBSD returns the mod time of the symlink's containing
2967 # directory).
2968 if (
2969    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2970    if test "$*" = "X"; then
2971       # -L didn't work.
2972       set X `ls -t "$srcdir/configure" conftest.file`
2973    fi
2974    rm -f conftest.file
2975    if test "$*" != "X $srcdir/configure conftest.file" \
2976       && test "$*" != "X conftest.file $srcdir/configure"; then
2977
2978       # If neither matched, then we have a broken ls.  This can happen
2979       # if, for instance, CONFIG_SHELL is bash and it inherits a
2980       # broken ls alias from the environment.  This has actually
2981       # happened.  Such a system could not be considered "sane".
2982       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2983 alias in your environment" "$LINENO" 5
2984    fi
2985
2986    test "$2" = conftest.file
2987    )
2988 then
2989    # Ok.
2990    :
2991 else
2992    as_fn_error "newly created file is older than distributed files!
2993 Check your system clock" "$LINENO" 5
2994 fi
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2996 $as_echo "yes" >&6; }
2997 test "$program_prefix" != NONE &&
2998   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2999 # Use a double $ so make ignores it.
3000 test "$program_suffix" != NONE &&
3001   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3002 # Double any \ or $.
3003 # By default was `s,x,x', remove it if useless.
3004 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3005 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3006
3007 # expand $ac_aux_dir to an absolute path
3008 am_aux_dir=`cd $ac_aux_dir && pwd`
3009
3010 if test x"${MISSING+set}" != xset; then
3011   case $am_aux_dir in
3012   *\ * | *\     *)
3013     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3014   *)
3015     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3016   esac
3017 fi
3018 # Use eval to expand $SHELL
3019 if eval "$MISSING --run true"; then
3020   am_missing_run="$MISSING --run "
3021 else
3022   am_missing_run=
3023   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3024 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3025 fi
3026
3027 if test x"${install_sh}" != xset; then
3028   case $am_aux_dir in
3029   *\ * | *\     *)
3030     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3031   *)
3032     install_sh="\${SHELL} $am_aux_dir/install-sh"
3033   esac
3034 fi
3035
3036 # Installed binaries are usually stripped using `strip' when the user
3037 # run `make install-strip'.  However `strip' might not be the right
3038 # tool to use in cross-compilation environments, therefore Automake
3039 # will honor the `STRIP' environment variable to overrule this program.
3040 if test "$cross_compiling" != no; then
3041   if test -n "$ac_tool_prefix"; then
3042   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3043 set dummy ${ac_tool_prefix}strip; ac_word=$2
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if test "${ac_cv_prog_STRIP+set}" = set; then :
3047   $as_echo_n "(cached) " >&6
3048 else
3049   if test -n "$STRIP"; then
3050   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3051 else
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 for as_dir in $PATH
3054 do
3055   IFS=$as_save_IFS
3056   test -z "$as_dir" && as_dir=.
3057     for ac_exec_ext in '' $ac_executable_extensions; do
3058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3061     break 2
3062   fi
3063 done
3064   done
3065 IFS=$as_save_IFS
3066
3067 fi
3068 fi
3069 STRIP=$ac_cv_prog_STRIP
3070 if test -n "$STRIP"; then
3071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3072 $as_echo "$STRIP" >&6; }
3073 else
3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3076 fi
3077
3078
3079 fi
3080 if test -z "$ac_cv_prog_STRIP"; then
3081   ac_ct_STRIP=$STRIP
3082   # Extract the first word of "strip", so it can be a program name with args.
3083 set dummy strip; ac_word=$2
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085 $as_echo_n "checking for $ac_word... " >&6; }
3086 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3087   $as_echo_n "(cached) " >&6
3088 else
3089   if test -n "$ac_ct_STRIP"; then
3090   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3091 else
3092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 for as_dir in $PATH
3094 do
3095   IFS=$as_save_IFS
3096   test -z "$as_dir" && as_dir=.
3097     for ac_exec_ext in '' $ac_executable_extensions; do
3098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099     ac_cv_prog_ac_ct_STRIP="strip"
3100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3101     break 2
3102   fi
3103 done
3104   done
3105 IFS=$as_save_IFS
3106
3107 fi
3108 fi
3109 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3110 if test -n "$ac_ct_STRIP"; then
3111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3112 $as_echo "$ac_ct_STRIP" >&6; }
3113 else
3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115 $as_echo "no" >&6; }
3116 fi
3117
3118   if test "x$ac_ct_STRIP" = x; then
3119     STRIP=":"
3120   else
3121     case $cross_compiling:$ac_tool_warned in
3122 yes:)
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3124 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3125 ac_tool_warned=yes ;;
3126 esac
3127     STRIP=$ac_ct_STRIP
3128   fi
3129 else
3130   STRIP="$ac_cv_prog_STRIP"
3131 fi
3132
3133 fi
3134 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3135
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3137 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3138 if test -z "$MKDIR_P"; then
3139   if test "${ac_cv_path_mkdir+set}" = set; then :
3140   $as_echo_n "(cached) " >&6
3141 else
3142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3144 do
3145   IFS=$as_save_IFS
3146   test -z "$as_dir" && as_dir=.
3147     for ac_prog in mkdir gmkdir; do
3148          for ac_exec_ext in '' $ac_executable_extensions; do
3149            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3150            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3151              'mkdir (GNU coreutils) '* | \
3152              'mkdir (coreutils) '* | \
3153              'mkdir (fileutils) '4.1*)
3154                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3155                break 3;;
3156            esac
3157          done
3158        done
3159   done
3160 IFS=$as_save_IFS
3161
3162 fi
3163
3164   if test "${ac_cv_path_mkdir+set}" = set; then
3165     MKDIR_P="$ac_cv_path_mkdir -p"
3166   else
3167     # As a last resort, use the slow shell script.  Don't cache a
3168     # value for MKDIR_P within a source directory, because that will
3169     # break other packages using the cache if that directory is
3170     # removed, or if the value is a relative name.
3171     test -d ./--version && rmdir ./--version
3172     MKDIR_P="$ac_install_sh -d"
3173   fi
3174 fi
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3176 $as_echo "$MKDIR_P" >&6; }
3177
3178 mkdir_p="$MKDIR_P"
3179 case $mkdir_p in
3180   [\\/$]* | ?:[\\/]*) ;;
3181   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3182 esac
3183
3184 for ac_prog in gawk mawk nawk awk
3185 do
3186   # Extract the first word of "$ac_prog", so it can be a program name with args.
3187 set dummy $ac_prog; ac_word=$2
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189 $as_echo_n "checking for $ac_word... " >&6; }
3190 if test "${ac_cv_prog_AWK+set}" = set; then :
3191   $as_echo_n "(cached) " >&6
3192 else
3193   if test -n "$AWK"; then
3194   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3195 else
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH
3198 do
3199   IFS=$as_save_IFS
3200   test -z "$as_dir" && as_dir=.
3201     for ac_exec_ext in '' $ac_executable_extensions; do
3202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203     ac_cv_prog_AWK="$ac_prog"
3204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205     break 2
3206   fi
3207 done
3208   done
3209 IFS=$as_save_IFS
3210
3211 fi
3212 fi
3213 AWK=$ac_cv_prog_AWK
3214 if test -n "$AWK"; then
3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3216 $as_echo "$AWK" >&6; }
3217 else
3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219 $as_echo "no" >&6; }
3220 fi
3221
3222
3223   test -n "$AWK" && break
3224 done
3225
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3227 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3228 set x ${MAKE-make}
3229 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3230 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3231   $as_echo_n "(cached) " >&6
3232 else
3233   cat >conftest.make <<\_ACEOF
3234 SHELL = /bin/sh
3235 all:
3236         @echo '@@@%%%=$(MAKE)=@@@%%%'
3237 _ACEOF
3238 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3239 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3240   *@@@%%%=?*=@@@%%%*)
3241     eval ac_cv_prog_make_${ac_make}_set=yes;;
3242   *)
3243     eval ac_cv_prog_make_${ac_make}_set=no;;
3244 esac
3245 rm -f conftest.make
3246 fi
3247 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3249 $as_echo "yes" >&6; }
3250   SET_MAKE=
3251 else
3252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254   SET_MAKE="MAKE=${MAKE-make}"
3255 fi
3256
3257 rm -rf .tst 2>/dev/null
3258 mkdir .tst 2>/dev/null
3259 if test -d .tst; then
3260   am__leading_dot=.
3261 else
3262   am__leading_dot=_
3263 fi
3264 rmdir .tst 2>/dev/null
3265
3266 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3267   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3268   # is not polluted with repeated "-I."
3269   am__isrc=' -I$(srcdir)'
3270   # test to see if srcdir already configured
3271   if test -f $srcdir/config.status; then
3272     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3273   fi
3274 fi
3275
3276 # test whether we have cygpath
3277 if test -z "$CYGPATH_W"; then
3278   if (cygpath --version) >/dev/null 2>/dev/null; then
3279     CYGPATH_W='cygpath -w'
3280   else
3281     CYGPATH_W=echo
3282   fi
3283 fi
3284
3285
3286 # Define the identity of the package.
3287  PACKAGE='libgfortran'
3288  VERSION='0.3'
3289
3290
3291 # Some tools Automake needs.
3292
3293 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3294
3295
3296 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3297
3298
3299 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3300
3301
3302 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3303
3304
3305 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3306
3307 # We need awk for the "check" target.  The system "awk" is bad on
3308 # some platforms.
3309 # Always define AMTAR for backward compatibility.
3310
3311 AMTAR=${AMTAR-"${am_missing_run}tar"}
3312
3313 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3314
3315
3316
3317
3318
3319
3320
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3322 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3323     # Check whether --enable-maintainer-mode was given.
3324 if test "${enable_maintainer_mode+set}" = set; then :
3325   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3326 else
3327   USE_MAINTAINER_MODE=no
3328 fi
3329
3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3331 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3332    if test $USE_MAINTAINER_MODE = yes; then
3333   MAINTAINER_MODE_TRUE=
3334   MAINTAINER_MODE_FALSE='#'
3335 else
3336   MAINTAINER_MODE_TRUE='#'
3337   MAINTAINER_MODE_FALSE=
3338 fi
3339
3340   MAINT=$MAINTAINER_MODE_TRUE
3341
3342
3343 # Default to --enable-multilib
3344 # Check whether --enable-multilib was given.
3345 if test "${enable_multilib+set}" = set; then :
3346   enableval=$enable_multilib; case "$enableval" in
3347   yes) multilib=yes ;;
3348   no)  multilib=no ;;
3349   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3350  esac
3351 else
3352   multilib=yes
3353 fi
3354
3355
3356 # We may get other options which we leave undocumented:
3357 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3358 # See config-ml.in if you want the gory details.
3359
3360 if test "$srcdir" = "."; then
3361   if test "$with_target_subdir" != "."; then
3362     multi_basedir="$srcdir/$with_multisrctop../.."
3363   else
3364     multi_basedir="$srcdir/$with_multisrctop.."
3365   fi
3366 else
3367   multi_basedir="$srcdir/.."
3368 fi
3369
3370
3371 # Even if the default multilib is not a cross compilation,
3372 # it may be that some of the other multilibs are.
3373 if test $cross_compiling = no && test $multilib = yes \
3374    && test "x${with_multisubdir}" != x ; then
3375    cross_compiling=maybe
3376 fi
3377
3378 ac_config_commands="$ac_config_commands default-1"
3379
3380
3381 # Handy for debugging:
3382 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3383
3384 # Are we being configured with some form of cross compiler?
3385 # NB: We don't actually need to know this just now, but when, say, a test
3386 #     suite is included, we'll have to know.
3387 if test "$build" != "$host"; then
3388   LIBGFOR_IS_NATIVE=false
3389
3390 else
3391   LIBGFOR_IS_NATIVE=true
3392 fi
3393
3394 # Calculate toolexeclibdir
3395 # Also toolexecdir, though it's only used in toolexeclibdir
3396 case ${version_specific_libs} in
3397   yes)
3398     # Need the gcc compiler version to know where to install libraries
3399     # and header files if --enable-version-specific-runtime-libs option
3400     # is selected.
3401     toolexecdir='$(libdir)/gcc/$(target_alias)'
3402     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3403     ;;
3404   no)
3405     if test -n "$with_cross_host" &&
3406        test x"$with_cross_host" != x"no"; then
3407       # Install a library built with a cross compiler in tooldir, not libdir.
3408       toolexecdir='$(exec_prefix)/$(target_alias)'
3409       toolexeclibdir='$(toolexecdir)/lib'
3410     else
3411       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3412       toolexeclibdir='$(libdir)'
3413     fi
3414     multi_os_directory=`$CC -print-multi-os-directory`
3415     case $multi_os_directory in
3416       .) ;; # Avoid trailing /.
3417       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3418     esac
3419     ;;
3420 esac
3421
3422
3423
3424 # Create a spec file, so that compile/link tests don't fail
3425 test -f libgfortran.spec || touch libgfortran.spec
3426
3427 # Check the compiler.
3428 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3429 # We must force CC to /not/ be precious variables; otherwise
3430 # the wrong, non-multilib-adjusted value will be used in multilibs.
3431 # As a side effect, we have to subst CFLAGS ourselves.
3432
3433
3434
3435 ac_ext=c
3436 ac_cpp='$CPP $CPPFLAGS'
3437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3440 if test -n "$ac_tool_prefix"; then
3441   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3442 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3444 $as_echo_n "checking for $ac_word... " >&6; }
3445 if test "${ac_cv_prog_CC+set}" = set; then :
3446   $as_echo_n "(cached) " >&6
3447 else
3448   if test -n "$CC"; then
3449   ac_cv_prog_CC="$CC" # Let the user override the test.
3450 else
3451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3452 for as_dir in $PATH
3453 do
3454   IFS=$as_save_IFS
3455   test -z "$as_dir" && as_dir=.
3456     for ac_exec_ext in '' $ac_executable_extensions; do
3457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3458     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460     break 2
3461   fi
3462 done
3463   done
3464 IFS=$as_save_IFS
3465
3466 fi
3467 fi
3468 CC=$ac_cv_prog_CC
3469 if test -n "$CC"; then
3470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3471 $as_echo "$CC" >&6; }
3472 else
3473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3474 $as_echo "no" >&6; }
3475 fi
3476
3477
3478 fi
3479 if test -z "$ac_cv_prog_CC"; then
3480   ac_ct_CC=$CC
3481   # Extract the first word of "gcc", so it can be a program name with args.
3482 set dummy gcc; ac_word=$2
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 $as_echo_n "checking for $ac_word... " >&6; }
3485 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3486   $as_echo_n "(cached) " >&6
3487 else
3488   if test -n "$ac_ct_CC"; then
3489   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3490 else
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 for as_dir in $PATH
3493 do
3494   IFS=$as_save_IFS
3495   test -z "$as_dir" && as_dir=.
3496     for ac_exec_ext in '' $ac_executable_extensions; do
3497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3498     ac_cv_prog_ac_ct_CC="gcc"
3499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500     break 2
3501   fi
3502 done
3503   done
3504 IFS=$as_save_IFS
3505
3506 fi
3507 fi
3508 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3509 if test -n "$ac_ct_CC"; then
3510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3511 $as_echo "$ac_ct_CC" >&6; }
3512 else
3513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514 $as_echo "no" >&6; }
3515 fi
3516
3517   if test "x$ac_ct_CC" = x; then
3518     CC=""
3519   else
3520     case $cross_compiling:$ac_tool_warned in
3521 yes:)
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3524 ac_tool_warned=yes ;;
3525 esac
3526     CC=$ac_ct_CC
3527   fi
3528 else
3529   CC="$ac_cv_prog_CC"
3530 fi
3531
3532 if test -z "$CC"; then
3533           if test -n "$ac_tool_prefix"; then
3534     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3535 set dummy ${ac_tool_prefix}cc; ac_word=$2
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537 $as_echo_n "checking for $ac_word... " >&6; }
3538 if test "${ac_cv_prog_CC+set}" = set; then :
3539   $as_echo_n "(cached) " >&6
3540 else
3541   if test -n "$CC"; then
3542   ac_cv_prog_CC="$CC" # Let the user override the test.
3543 else
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3545 for as_dir in $PATH
3546 do
3547   IFS=$as_save_IFS
3548   test -z "$as_dir" && as_dir=.
3549     for ac_exec_ext in '' $ac_executable_extensions; do
3550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3551     ac_cv_prog_CC="${ac_tool_prefix}cc"
3552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3553     break 2
3554   fi
3555 done
3556   done
3557 IFS=$as_save_IFS
3558
3559 fi
3560 fi
3561 CC=$ac_cv_prog_CC
3562 if test -n "$CC"; then
3563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3564 $as_echo "$CC" >&6; }
3565 else
3566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3568 fi
3569
3570
3571   fi
3572 fi
3573 if test -z "$CC"; then
3574   # Extract the first word of "cc", so it can be a program name with args.
3575 set dummy cc; ac_word=$2
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577 $as_echo_n "checking for $ac_word... " >&6; }
3578 if test "${ac_cv_prog_CC+set}" = set; then :
3579   $as_echo_n "(cached) " >&6
3580 else
3581   if test -n "$CC"; then
3582   ac_cv_prog_CC="$CC" # Let the user override the test.
3583 else
3584   ac_prog_rejected=no
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3587 do
3588   IFS=$as_save_IFS
3589   test -z "$as_dir" && as_dir=.
3590     for ac_exec_ext in '' $ac_executable_extensions; do
3591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3593        ac_prog_rejected=yes
3594        continue
3595      fi
3596     ac_cv_prog_CC="cc"
3597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598     break 2
3599   fi
3600 done
3601   done
3602 IFS=$as_save_IFS
3603
3604 if test $ac_prog_rejected = yes; then
3605   # We found a bogon in the path, so make sure we never use it.
3606   set dummy $ac_cv_prog_CC
3607   shift
3608   if test $# != 0; then
3609     # We chose a different compiler from the bogus one.
3610     # However, it has the same basename, so the bogon will be chosen
3611     # first if we set CC to just the basename; use the full file name.
3612     shift
3613     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3614   fi
3615 fi
3616 fi
3617 fi
3618 CC=$ac_cv_prog_CC
3619 if test -n "$CC"; then
3620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3621 $as_echo "$CC" >&6; }
3622 else
3623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3624 $as_echo "no" >&6; }
3625 fi
3626
3627
3628 fi
3629 if test -z "$CC"; then
3630   if test -n "$ac_tool_prefix"; then
3631   for ac_prog in cl.exe
3632   do
3633     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638   $as_echo_n "(cached) " >&6
3639 else
3640   if test -n "$CC"; then
3641   ac_cv_prog_CC="$CC" # Let the user override the test.
3642 else
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3645 do
3646   IFS=$as_save_IFS
3647   test -z "$as_dir" && as_dir=.
3648     for ac_exec_ext in '' $ac_executable_extensions; do
3649   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652     break 2
3653   fi
3654 done
3655   done
3656 IFS=$as_save_IFS
3657
3658 fi
3659 fi
3660 CC=$ac_cv_prog_CC
3661 if test -n "$CC"; then
3662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3664 else
3665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3667 fi
3668
3669
3670     test -n "$CC" && break
3671   done
3672 fi
3673 if test -z "$CC"; then
3674   ac_ct_CC=$CC
3675   for ac_prog in cl.exe
3676 do
3677   # Extract the first word of "$ac_prog", so it can be a program name with args.
3678 set dummy $ac_prog; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3682   $as_echo_n "(cached) " >&6
3683 else
3684   if test -n "$ac_ct_CC"; then
3685   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3686 else
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3688 for as_dir in $PATH
3689 do
3690   IFS=$as_save_IFS
3691   test -z "$as_dir" && as_dir=.
3692     for ac_exec_ext in '' $ac_executable_extensions; do
3693   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3694     ac_cv_prog_ac_ct_CC="$ac_prog"
3695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696     break 2
3697   fi
3698 done
3699   done
3700 IFS=$as_save_IFS
3701
3702 fi
3703 fi
3704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3705 if test -n "$ac_ct_CC"; then
3706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3707 $as_echo "$ac_ct_CC" >&6; }
3708 else
3709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3711 fi
3712
3713
3714   test -n "$ac_ct_CC" && break
3715 done
3716
3717   if test "x$ac_ct_CC" = x; then
3718     CC=""
3719   else
3720     case $cross_compiling:$ac_tool_warned in
3721 yes:)
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3724 ac_tool_warned=yes ;;
3725 esac
3726     CC=$ac_ct_CC
3727   fi
3728 fi
3729
3730 fi
3731
3732
3733 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3735 as_fn_error "no acceptable C compiler found in \$PATH
3736 See \`config.log' for more details." "$LINENO" 5; }
3737
3738 # Provide some information about the compiler.
3739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3740 set X $ac_compile
3741 ac_compiler=$2
3742 for ac_option in --version -v -V -qversion; do
3743   { { ac_try="$ac_compiler $ac_option >&5"
3744 case "(($ac_try" in
3745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3746   *) ac_try_echo=$ac_try;;
3747 esac
3748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3749 $as_echo "$ac_try_echo"; } >&5
3750   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3751   ac_status=$?
3752   if test -s conftest.err; then
3753     sed '10a\
3754 ... rest of stderr output deleted ...
3755          10q' conftest.err >conftest.er1
3756     cat conftest.er1 >&5
3757     rm -f conftest.er1 conftest.err
3758   fi
3759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760   test $ac_status = 0; }
3761 done
3762
3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3764 /* end confdefs.h.  */
3765
3766 int
3767 main ()
3768 {
3769
3770   ;
3771   return 0;
3772 }
3773 _ACEOF
3774 # FIXME: Cleanup?
3775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3776   (eval $ac_link) 2>&5
3777   ac_status=$?
3778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779   test $ac_status = 0; }; then :
3780   gcc_no_link=no
3781 else
3782   gcc_no_link=yes
3783 fi
3784 if test x$gcc_no_link = xyes; then
3785   # Setting cross_compile will disable run tests; it will
3786   # also disable AC_CHECK_FILE but that's generally
3787   # correct if we can't link.
3788   cross_compiling=yes
3789   EXEEXT=
3790 else
3791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h.  */
3793
3794 int
3795 main ()
3796 {
3797
3798   ;
3799   return 0;
3800 }
3801 _ACEOF
3802 ac_clean_files_save=$ac_clean_files
3803 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3804 # Try to create an executable without -o first, disregard a.out.
3805 # It will help us diagnose broken compilers, and finding out an intuition
3806 # of exeext.
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3808 $as_echo_n "checking for C compiler default output file name... " >&6; }
3809 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3810
3811 # The possible output files:
3812 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3813
3814 ac_rmfiles=
3815 for ac_file in $ac_files
3816 do
3817   case $ac_file in
3818     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3819     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3820   esac
3821 done
3822 rm -f $ac_rmfiles
3823
3824 if { { ac_try="$ac_link_default"
3825 case "(($ac_try" in
3826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827   *) ac_try_echo=$ac_try;;
3828 esac
3829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3830 $as_echo "$ac_try_echo"; } >&5
3831   (eval "$ac_link_default") 2>&5
3832   ac_status=$?
3833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834   test $ac_status = 0; }; then :
3835   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3836 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3837 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3838 # so that the user can short-circuit this test for compilers unknown to
3839 # Autoconf.
3840 for ac_file in $ac_files ''
3841 do
3842   test -f "$ac_file" || continue
3843   case $ac_file in
3844     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3845         ;;
3846     [ab].out )
3847         # We found the default executable, but exeext='' is most
3848         # certainly right.
3849         break;;
3850     *.* )
3851         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3852         then :; else
3853            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3854         fi
3855         # We set ac_cv_exeext here because the later test for it is not
3856         # safe: cross compilers may not add the suffix if given an `-o'
3857         # argument, so we may need to know it at that point already.
3858         # Even if this section looks crufty: it has the advantage of
3859         # actually working.
3860         break;;
3861     * )
3862         break;;
3863   esac
3864 done
3865 test "$ac_cv_exeext" = no && ac_cv_exeext=
3866
3867 else
3868   ac_file=''
3869 fi
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3871 $as_echo "$ac_file" >&6; }
3872 if test -z "$ac_file"; then :
3873   $as_echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.$ac_ext >&5
3875
3876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3878 { as_fn_set_status 77
3879 as_fn_error "C compiler cannot create executables
3880 See \`config.log' for more details." "$LINENO" 5; }; }
3881 fi
3882 ac_exeext=$ac_cv_exeext
3883
3884 # Check that the compiler produces executables we can run.  If not, either
3885 # the compiler is broken, or we cross compile.
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3887 $as_echo_n "checking whether the C compiler works... " >&6; }
3888 # If not cross compiling, check that we can run a simple program.
3889 if test "$cross_compiling" != yes; then
3890   if { ac_try='./$ac_file'
3891   { { case "(($ac_try" in
3892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893   *) ac_try_echo=$ac_try;;
3894 esac
3895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3896 $as_echo "$ac_try_echo"; } >&5
3897   (eval "$ac_try") 2>&5
3898   ac_status=$?
3899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900   test $ac_status = 0; }; }; then
3901     cross_compiling=no
3902   else
3903     if test "$cross_compiling" = maybe; then
3904         cross_compiling=yes
3905     else
3906         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3908 as_fn_error "cannot run C compiled programs.
3909 If you meant to cross compile, use \`--host'.
3910 See \`config.log' for more details." "$LINENO" 5; }
3911     fi
3912   fi
3913 fi
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3915 $as_echo "yes" >&6; }
3916
3917 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3918 ac_clean_files=$ac_clean_files_save
3919 # Check that the compiler produces executables we can run.  If not, either
3920 # the compiler is broken, or we cross compile.
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3922 $as_echo_n "checking whether we are cross compiling... " >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3924 $as_echo "$cross_compiling" >&6; }
3925
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3927 $as_echo_n "checking for suffix of executables... " >&6; }
3928 if { { ac_try="$ac_link"
3929 case "(($ac_try" in
3930   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3931   *) ac_try_echo=$ac_try;;
3932 esac
3933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3934 $as_echo "$ac_try_echo"; } >&5
3935   (eval "$ac_link") 2>&5
3936   ac_status=$?
3937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3938   test $ac_status = 0; }; then :
3939   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3940 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3941 # work properly (i.e., refer to `conftest.exe'), while it won't with
3942 # `rm'.
3943 for ac_file in conftest.exe conftest conftest.*; do
3944   test -f "$ac_file" || continue
3945   case $ac_file in
3946     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3948           break;;
3949     * ) break;;
3950   esac
3951 done
3952 else
3953   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955 as_fn_error "cannot compute suffix of executables: cannot compile and link
3956 See \`config.log' for more details." "$LINENO" 5; }
3957 fi
3958 rm -f conftest$ac_cv_exeext
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3960 $as_echo "$ac_cv_exeext" >&6; }
3961
3962 rm -f conftest.$ac_ext
3963 EXEEXT=$ac_cv_exeext
3964 ac_exeext=$EXEEXT
3965 fi
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3967 $as_echo_n "checking for suffix of object files... " >&6; }
3968 if test "${ac_cv_objext+set}" = set; then :
3969   $as_echo_n "(cached) " >&6
3970 else
3971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h.  */
3973
3974 int
3975 main ()
3976 {
3977
3978   ;
3979   return 0;
3980 }
3981 _ACEOF
3982 rm -f conftest.o conftest.obj
3983 if { { ac_try="$ac_compile"
3984 case "(($ac_try" in
3985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3986   *) ac_try_echo=$ac_try;;
3987 esac
3988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3989 $as_echo "$ac_try_echo"; } >&5
3990   (eval "$ac_compile") 2>&5
3991   ac_status=$?
3992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3993   test $ac_status = 0; }; then :
3994   for ac_file in conftest.o conftest.obj conftest.*; do
3995   test -f "$ac_file" || continue;
3996   case $ac_file in
3997     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3998     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3999        break;;
4000   esac
4001 done
4002 else
4003   $as_echo "$as_me: failed program was:" >&5
4004 sed 's/^/| /' conftest.$ac_ext >&5
4005
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error "cannot compute suffix of object files: cannot compile
4009 See \`config.log' for more details." "$LINENO" 5; }
4010 fi
4011 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4012 fi
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4014 $as_echo "$ac_cv_objext" >&6; }
4015 OBJEXT=$ac_cv_objext
4016 ac_objext=$OBJEXT
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4018 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4019 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4020   $as_echo_n "(cached) " >&6
4021 else
4022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4023 /* end confdefs.h.  */
4024
4025 int
4026 main ()
4027 {
4028 #ifndef __GNUC__
4029        choke me
4030 #endif
4031
4032   ;
4033   return 0;
4034 }
4035 _ACEOF
4036 if ac_fn_c_try_compile "$LINENO"; then :
4037   ac_compiler_gnu=yes
4038 else
4039   ac_compiler_gnu=no
4040 fi
4041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4042 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4043
4044 fi
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4046 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4047 if test $ac_compiler_gnu = yes; then
4048   GCC=yes
4049 else
4050   GCC=
4051 fi
4052 ac_test_CFLAGS=${CFLAGS+set}
4053 ac_save_CFLAGS=$CFLAGS
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4055 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4056 if test "${ac_cv_prog_cc_g+set}" = set; then :
4057   $as_echo_n "(cached) " >&6
4058 else
4059   ac_save_c_werror_flag=$ac_c_werror_flag
4060    ac_c_werror_flag=yes
4061    ac_cv_prog_cc_g=no
4062    CFLAGS="-g"
4063    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h.  */
4065
4066 int
4067 main ()
4068 {
4069
4070   ;
4071   return 0;
4072 }
4073 _ACEOF
4074 if ac_fn_c_try_compile "$LINENO"; then :
4075   ac_cv_prog_cc_g=yes
4076 else
4077   CFLAGS=""
4078       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h.  */
4080
4081 int
4082 main ()
4083 {
4084
4085   ;
4086   return 0;
4087 }
4088 _ACEOF
4089 if ac_fn_c_try_compile "$LINENO"; then :
4090
4091 else
4092   ac_c_werror_flag=$ac_save_c_werror_flag
4093          CFLAGS="-g"
4094          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h.  */
4096
4097 int
4098 main ()
4099 {
4100
4101   ;
4102   return 0;
4103 }
4104 _ACEOF
4105 if ac_fn_c_try_compile "$LINENO"; then :
4106   ac_cv_prog_cc_g=yes
4107 fi
4108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4109 fi
4110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4111 fi
4112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113    ac_c_werror_flag=$ac_save_c_werror_flag
4114 fi
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4116 $as_echo "$ac_cv_prog_cc_g" >&6; }
4117 if test "$ac_test_CFLAGS" = set; then
4118   CFLAGS=$ac_save_CFLAGS
4119 elif test $ac_cv_prog_cc_g = yes; then
4120   if test "$GCC" = yes; then
4121     CFLAGS="-g -O2"
4122   else
4123     CFLAGS="-g"
4124   fi
4125 else
4126   if test "$GCC" = yes; then
4127     CFLAGS="-O2"
4128   else
4129     CFLAGS=
4130   fi
4131 fi
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4133 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4134 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4135   $as_echo_n "(cached) " >&6
4136 else
4137   ac_cv_prog_cc_c89=no
4138 ac_save_CC=$CC
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h.  */
4141 #include <stdarg.h>
4142 #include <stdio.h>
4143 #include <sys/types.h>
4144 #include <sys/stat.h>
4145 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4146 struct buf { int x; };
4147 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4148 static char *e (p, i)
4149      char **p;
4150      int i;
4151 {
4152   return p[i];
4153 }
4154 static char *f (char * (*g) (char **, int), char **p, ...)
4155 {
4156   char *s;
4157   va_list v;
4158   va_start (v,p);
4159   s = g (p, va_arg (v,int));
4160   va_end (v);
4161   return s;
4162 }
4163
4164 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4165    function prototypes and stuff, but not '\xHH' hex character constants.
4166    These don't provoke an error unfortunately, instead are silently treated
4167    as 'x'.  The following induces an error, until -std is added to get
4168    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4169    array size at least.  It's necessary to write '\x00'==0 to get something
4170    that's true only with -std.  */
4171 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4172
4173 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4174    inside strings and character constants.  */
4175 #define FOO(x) 'x'
4176 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4177
4178 int test (int i, double x);
4179 struct s1 {int (*f) (int a);};
4180 struct s2 {int (*f) (double a);};
4181 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4182 int argc;
4183 char **argv;
4184 int
4185 main ()
4186 {
4187 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4188   ;
4189   return 0;
4190 }
4191 _ACEOF
4192 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4193         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4194 do
4195   CC="$ac_save_CC $ac_arg"
4196   if ac_fn_c_try_compile "$LINENO"; then :
4197   ac_cv_prog_cc_c89=$ac_arg
4198 fi
4199 rm -f core conftest.err conftest.$ac_objext
4200   test "x$ac_cv_prog_cc_c89" != "xno" && break
4201 done
4202 rm -f conftest.$ac_ext
4203 CC=$ac_save_CC
4204
4205 fi
4206 # AC_CACHE_VAL
4207 case "x$ac_cv_prog_cc_c89" in
4208   x)
4209     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4210 $as_echo "none needed" >&6; } ;;
4211   xno)
4212     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4213 $as_echo "unsupported" >&6; } ;;
4214   *)
4215     CC="$CC $ac_cv_prog_cc_c89"
4216     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4217 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4218 esac
4219 if test "x$ac_cv_prog_cc_c89" != xno; then :
4220
4221 fi
4222
4223 ac_ext=c
4224 ac_cpp='$CPP $CPPFLAGS'
4225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228 DEPDIR="${am__leading_dot}deps"
4229
4230 ac_config_commands="$ac_config_commands depfiles"
4231
4232
4233 am_make=${MAKE-make}
4234 cat > confinc << 'END'
4235 am__doit:
4236         @echo this is the am__doit target
4237 .PHONY: am__doit
4238 END
4239 # If we don't find an include directive, just comment out the code.
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4241 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4242 am__include="#"
4243 am__quote=
4244 _am_result=none
4245 # First try GNU make style include.
4246 echo "include confinc" > confmf
4247 # Ignore all kinds of additional output from `make'.
4248 case `$am_make -s -f confmf 2> /dev/null` in #(
4249 *the\ am__doit\ target*)
4250   am__include=include
4251   am__quote=
4252   _am_result=GNU
4253   ;;
4254 esac
4255 # Now try BSD make style include.
4256 if test "$am__include" = "#"; then
4257    echo '.include "confinc"' > confmf
4258    case `$am_make -s -f confmf 2> /dev/null` in #(
4259    *the\ am__doit\ target*)
4260      am__include=.include
4261      am__quote="\""
4262      _am_result=BSD
4263      ;;
4264    esac
4265 fi
4266
4267
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4269 $as_echo "$_am_result" >&6; }
4270 rm -f confinc confmf
4271
4272 # Check whether --enable-dependency-tracking was given.
4273 if test "${enable_dependency_tracking+set}" = set; then :
4274   enableval=$enable_dependency_tracking;
4275 fi
4276
4277 if test "x$enable_dependency_tracking" != xno; then
4278   am_depcomp="$ac_aux_dir/depcomp"
4279   AMDEPBACKSLASH='\'
4280 fi
4281  if test "x$enable_dependency_tracking" != xno; then
4282   AMDEP_TRUE=
4283   AMDEP_FALSE='#'
4284 else
4285   AMDEP_TRUE='#'
4286   AMDEP_FALSE=
4287 fi
4288
4289
4290
4291 depcc="$CC"   am_compiler_list=
4292
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4294 $as_echo_n "checking dependency style of $depcc... " >&6; }
4295 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4296   $as_echo_n "(cached) " >&6
4297 else
4298   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4299   # We make a subdir and do the tests there.  Otherwise we can end up
4300   # making bogus files that we don't know about and never remove.  For
4301   # instance it was reported that on HP-UX the gcc test will end up
4302   # making a dummy file named `D' -- because `-MD' means `put the output
4303   # in D'.
4304   mkdir conftest.dir
4305   # Copy depcomp to subdir because otherwise we won't find it if we're
4306   # using a relative directory.
4307   cp "$am_depcomp" conftest.dir
4308   cd conftest.dir
4309   # We will build objects and dependencies in a subdirectory because
4310   # it helps to detect inapplicable dependency modes.  For instance
4311   # both Tru64's cc and ICC support -MD to output dependencies as a
4312   # side effect of compilation, but ICC will put the dependencies in
4313   # the current directory while Tru64 will put them in the object
4314   # directory.
4315   mkdir sub
4316
4317   am_cv_CC_dependencies_compiler_type=none
4318   if test "$am_compiler_list" = ""; then
4319      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4320   fi
4321   am__universal=false
4322   case " $depcc " in #(
4323      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4324      esac
4325
4326   for depmode in $am_compiler_list; do
4327     # Setup a source with many dependencies, because some compilers
4328     # like to wrap large dependency lists on column 80 (with \), and
4329     # we should not choose a depcomp mode which is confused by this.
4330     #
4331     # We need to recreate these files for each test, as the compiler may
4332     # overwrite some of them when testing with obscure command lines.
4333     # This happens at least with the AIX C compiler.
4334     : > sub/conftest.c
4335     for i in 1 2 3 4 5 6; do
4336       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4337       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4338       # Solaris 8's {/usr,}/bin/sh.
4339       touch sub/conftst$i.h
4340     done
4341     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4342
4343     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4344     # mode.  It turns out that the SunPro C++ compiler does not properly
4345     # handle `-M -o', and we need to detect this.  Also, some Intel
4346     # versions had trouble with output in subdirs
4347     am__obj=sub/conftest.${OBJEXT-o}
4348     am__minus_obj="-o $am__obj"
4349     case $depmode in
4350     gcc)
4351       # This depmode causes a compiler race in universal mode.
4352       test "$am__universal" = false || continue
4353       ;;
4354     nosideeffect)
4355       # after this tag, mechanisms are not by side-effect, so they'll
4356       # only be used when explicitly requested
4357       if test "x$enable_dependency_tracking" = xyes; then
4358         continue
4359       else
4360         break
4361       fi
4362       ;;
4363     msvisualcpp | msvcmsys)
4364       # This compiler won't grok `-c -o', but also, the minuso test has
4365       # not run yet.  These depmodes are late enough in the game, and
4366       # so weak that their functioning should not be impacted.
4367       am__obj=conftest.${OBJEXT-o}
4368       am__minus_obj=
4369       ;;
4370     none) break ;;
4371     esac
4372     if depmode=$depmode \
4373        source=sub/conftest.c object=$am__obj \
4374        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4375        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4376          >/dev/null 2>conftest.err &&
4377        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4378        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4379        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4380        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4381       # icc doesn't choke on unknown options, it will just issue warnings
4382       # or remarks (even with -Werror).  So we grep stderr for any message
4383       # that says an option was ignored or not supported.
4384       # When given -MP, icc 7.0 and 7.1 complain thusly:
4385       #   icc: Command line warning: ignoring option '-M'; no argument required
4386       # The diagnosis changed in icc 8.0:
4387       #   icc: Command line remark: option '-MP' not supported
4388       if (grep 'ignoring option' conftest.err ||
4389           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4390         am_cv_CC_dependencies_compiler_type=$depmode
4391         break
4392       fi
4393     fi
4394   done
4395
4396   cd ..
4397   rm -rf conftest.dir
4398 else
4399   am_cv_CC_dependencies_compiler_type=none
4400 fi
4401
4402 fi
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4404 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4405 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4406
4407  if
4408   test "x$enable_dependency_tracking" != xno \
4409   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4410   am__fastdepCC_TRUE=
4411   am__fastdepCC_FALSE='#'
4412 else
4413   am__fastdepCC_TRUE='#'
4414   am__fastdepCC_FALSE=
4415 fi
4416
4417
4418
4419
4420 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4421 if test "x$GCC" = "xyes"; then
4422   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4423   ## We like to use C99 routines when available.  This makes sure that
4424   ## __STDC_VERSION__ is set such that libc includes make them available.
4425   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4426   ## Compile the following tests with the same system header contents
4427   ## that we'll encounter when compiling our own source files.
4428   CFLAGS="-std=gnu99 $CFLAGS"
4429 fi
4430
4431
4432
4433
4434 # Check for symbol versioning (copied from libssp).
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4436 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4437 save_LDFLAGS="$LDFLAGS"
4438 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4439 cat > conftest.map <<EOF
4440 FOO_1.0 {
4441   global: *foo*; bar; local: *;
4442 };
4443 EOF
4444
4445 if test x$gcc_no_link = xyes; then
4446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4447 fi
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h.  */
4450 int foo;
4451 int
4452 main ()
4453 {
4454
4455   ;
4456   return 0;
4457 }
4458 _ACEOF
4459 if ac_fn_c_try_link "$LINENO"; then :
4460   gfortran_use_symver=gnu
4461 else
4462   gfortran_use_symver=no
4463 fi
4464 rm -f core conftest.err conftest.$ac_objext \
4465     conftest$ac_exeext conftest.$ac_ext
4466 if test x$gfortran_use_symver = xno; then
4467   case "$target_os" in
4468     solaris2*)
4469       LDFLAGS="$save_LDFLAGS"
4470       LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4471       # Sun ld cannot handle wildcards and treats all entries as undefined.
4472       cat > conftest.map <<EOF
4473 FOO_1.0 {
4474   global: foo; local: *;
4475 };
4476 EOF
4477       if test x$gcc_no_link = xyes; then
4478   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4479 fi
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h.  */
4482 int foo;
4483 int
4484 main ()
4485 {
4486
4487   ;
4488   return 0;
4489 }
4490 _ACEOF
4491 if ac_fn_c_try_link "$LINENO"; then :
4492   gfortran_use_symver=sun
4493 else
4494   gfortran_use_symver=no
4495 fi
4496 rm -f core conftest.err conftest.$ac_objext \
4497     conftest$ac_exeext conftest.$ac_ext
4498       ;;
4499   esac
4500 fi
4501 LDFLAGS="$save_LDFLAGS"
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4503 $as_echo "$gfortran_use_symver" >&6; }
4504  if test "x$gfortran_use_symver" != xno; then
4505   LIBGFOR_USE_SYMVER_TRUE=
4506   LIBGFOR_USE_SYMVER_FALSE='#'
4507 else
4508   LIBGFOR_USE_SYMVER_TRUE='#'
4509   LIBGFOR_USE_SYMVER_FALSE=
4510 fi
4511
4512  if test "x$gfortran_use_symver" = xgnu; then
4513   LIBGFOR_USE_SYMVER_GNU_TRUE=
4514   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
4515 else
4516   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
4517   LIBGFOR_USE_SYMVER_GNU_FALSE=
4518 fi
4519
4520  if test "x$gfortran_use_symver" = xsun; then
4521   LIBGFOR_USE_SYMVER_SUN_TRUE=
4522   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
4523 else
4524   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
4525   LIBGFOR_USE_SYMVER_SUN_FALSE=
4526 fi
4527
4528
4529 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4530 # similarly to how libstdc++ does it
4531 ac_test_CFLAGS="${CFLAGS+set}"
4532 ac_save_CFLAGS="$CFLAGS"
4533
4534 # Check for -ffunction-sections -fdata-sections
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4536 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4537 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h.  */
4540
4541 int
4542 main ()
4543 {
4544 int foo;
4545   ;
4546   return 0;
4547 }
4548 _ACEOF
4549 if ac_fn_c_try_compile "$LINENO"; then :
4550   ac_fdsections=yes
4551 else
4552   ac_fdsections=no
4553 fi
4554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 if test "$ac_test_CFLAGS" = set; then
4556   CFLAGS="$ac_save_CFLAGS"
4557 else
4558   # this is the suspicious part
4559   CFLAGS=""
4560 fi
4561 if test x"$ac_fdsections" = x"yes"; then
4562   SECTION_FLAGS='-ffunction-sections -fdata-sections'
4563 fi
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4565 $as_echo "$ac_fdsections" >&6; }
4566
4567
4568 # Find other programs we need.
4569 if test -n "$ac_tool_prefix"; then
4570   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4571 set dummy ${ac_tool_prefix}as; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if test "${ac_cv_prog_AS+set}" = set; then :
4575   $as_echo_n "(cached) " >&6
4576 else
4577   if test -n "$AS"; then
4578   ac_cv_prog_AS="$AS" # Let the user override the test.
4579 else
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4581 for as_dir in $PATH
4582 do
4583   IFS=$as_save_IFS
4584   test -z "$as_dir" && as_dir=.
4585     for ac_exec_ext in '' $ac_executable_extensions; do
4586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587     ac_cv_prog_AS="${ac_tool_prefix}as"
4588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4589     break 2
4590   fi
4591 done
4592   done
4593 IFS=$as_save_IFS
4594
4595 fi
4596 fi
4597 AS=$ac_cv_prog_AS
4598 if test -n "$AS"; then
4599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4600 $as_echo "$AS" >&6; }
4601 else
4602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4604 fi
4605
4606
4607 fi
4608 if test -z "$ac_cv_prog_AS"; then
4609   ac_ct_AS=$AS
4610   # Extract the first word of "as", so it can be a program name with args.
4611 set dummy as; ac_word=$2
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4615   $as_echo_n "(cached) " >&6
4616 else
4617   if test -n "$ac_ct_AS"; then
4618   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4619 else
4620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4621 for as_dir in $PATH
4622 do
4623   IFS=$as_save_IFS
4624   test -z "$as_dir" && as_dir=.
4625     for ac_exec_ext in '' $ac_executable_extensions; do
4626   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627     ac_cv_prog_ac_ct_AS="as"
4628     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4629     break 2
4630   fi
4631 done
4632   done
4633 IFS=$as_save_IFS
4634
4635 fi
4636 fi
4637 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4638 if test -n "$ac_ct_AS"; then
4639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4640 $as_echo "$ac_ct_AS" >&6; }
4641 else
4642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4644 fi
4645
4646   if test "x$ac_ct_AS" = x; then
4647     AS=""
4648   else
4649     case $cross_compiling:$ac_tool_warned in
4650 yes:)
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4653 ac_tool_warned=yes ;;
4654 esac
4655     AS=$ac_ct_AS
4656   fi
4657 else
4658   AS="$ac_cv_prog_AS"
4659 fi
4660
4661 if test -n "$ac_tool_prefix"; then
4662   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4663 set dummy ${ac_tool_prefix}ar; ac_word=$2
4664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 $as_echo_n "checking for $ac_word... " >&6; }
4666 if test "${ac_cv_prog_AR+set}" = set; then :
4667   $as_echo_n "(cached) " >&6
4668 else
4669   if test -n "$AR"; then
4670   ac_cv_prog_AR="$AR" # Let the user override the test.
4671 else
4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 for as_dir in $PATH
4674 do
4675   IFS=$as_save_IFS
4676   test -z "$as_dir" && as_dir=.
4677     for ac_exec_ext in '' $ac_executable_extensions; do
4678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4679     ac_cv_prog_AR="${ac_tool_prefix}ar"
4680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4681     break 2
4682   fi
4683 done
4684   done
4685 IFS=$as_save_IFS
4686
4687 fi
4688 fi
4689 AR=$ac_cv_prog_AR
4690 if test -n "$AR"; then
4691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4692 $as_echo "$AR" >&6; }
4693 else
4694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4695 $as_echo "no" >&6; }
4696 fi
4697
4698
4699 fi
4700 if test -z "$ac_cv_prog_AR"; then
4701   ac_ct_AR=$AR
4702   # Extract the first word of "ar", so it can be a program name with args.
4703 set dummy ar; ac_word=$2
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 $as_echo_n "checking for $ac_word... " >&6; }
4706 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4707   $as_echo_n "(cached) " >&6
4708 else
4709   if test -n "$ac_ct_AR"; then
4710   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4711 else
4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713 for as_dir in $PATH
4714 do
4715   IFS=$as_save_IFS
4716   test -z "$as_dir" && as_dir=.
4717     for ac_exec_ext in '' $ac_executable_extensions; do
4718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4719     ac_cv_prog_ac_ct_AR="ar"
4720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4721     break 2
4722   fi
4723 done
4724   done
4725 IFS=$as_save_IFS
4726
4727 fi
4728 fi
4729 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4730 if test -n "$ac_ct_AR"; then
4731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4732 $as_echo "$ac_ct_AR" >&6; }
4733 else
4734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4736 fi
4737
4738   if test "x$ac_ct_AR" = x; then
4739     AR=""
4740   else
4741     case $cross_compiling:$ac_tool_warned in
4742 yes:)
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4745 ac_tool_warned=yes ;;
4746 esac
4747     AR=$ac_ct_AR
4748   fi
4749 else
4750   AR="$ac_cv_prog_AR"
4751 fi
4752
4753 if test -n "$ac_tool_prefix"; then
4754   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4755 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757 $as_echo_n "checking for $ac_word... " >&6; }
4758 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4759   $as_echo_n "(cached) " >&6
4760 else
4761   if test -n "$RANLIB"; then
4762   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4763 else
4764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765 for as_dir in $PATH
4766 do
4767   IFS=$as_save_IFS
4768   test -z "$as_dir" && as_dir=.
4769     for ac_exec_ext in '' $ac_executable_extensions; do
4770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4771     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773     break 2
4774   fi
4775 done
4776   done
4777 IFS=$as_save_IFS
4778
4779 fi
4780 fi
4781 RANLIB=$ac_cv_prog_RANLIB
4782 if test -n "$RANLIB"; then
4783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4784 $as_echo "$RANLIB" >&6; }
4785 else
4786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 $as_echo "no" >&6; }
4788 fi
4789
4790
4791 fi
4792 if test -z "$ac_cv_prog_RANLIB"; then
4793   ac_ct_RANLIB=$RANLIB
4794   # Extract the first word of "ranlib", so it can be a program name with args.
4795 set dummy ranlib; ac_word=$2
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4799   $as_echo_n "(cached) " >&6
4800 else
4801   if test -n "$ac_ct_RANLIB"; then
4802   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4803 else
4804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805 for as_dir in $PATH
4806 do
4807   IFS=$as_save_IFS
4808   test -z "$as_dir" && as_dir=.
4809     for ac_exec_ext in '' $ac_executable_extensions; do
4810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4811     ac_cv_prog_ac_ct_RANLIB="ranlib"
4812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813     break 2
4814   fi
4815 done
4816   done
4817 IFS=$as_save_IFS
4818
4819 fi
4820 fi
4821 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4822 if test -n "$ac_ct_RANLIB"; then
4823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4824 $as_echo "$ac_ct_RANLIB" >&6; }
4825 else
4826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827 $as_echo "no" >&6; }
4828 fi
4829
4830   if test "x$ac_ct_RANLIB" = x; then
4831     RANLIB="ranlib-not-found-in-path-error"
4832   else
4833     case $cross_compiling:$ac_tool_warned in
4834 yes:)
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837 ac_tool_warned=yes ;;
4838 esac
4839     RANLIB=$ac_ct_RANLIB
4840   fi
4841 else
4842   RANLIB="$ac_cv_prog_RANLIB"
4843 fi
4844
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4847 set x ${MAKE-make}
4848 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4849 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4850   $as_echo_n "(cached) " >&6
4851 else
4852   cat >conftest.make <<\_ACEOF
4853 SHELL = /bin/sh
4854 all:
4855         @echo '@@@%%%=$(MAKE)=@@@%%%'
4856 _ACEOF
4857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4859   *@@@%%%=?*=@@@%%%*)
4860     eval ac_cv_prog_make_${ac_make}_set=yes;;
4861   *)
4862     eval ac_cv_prog_make_${ac_make}_set=no;;
4863 esac
4864 rm -f conftest.make
4865 fi
4866 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4868 $as_echo "yes" >&6; }
4869   SET_MAKE=
4870 else
4871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 $as_echo "no" >&6; }
4873   SET_MAKE="MAKE=${MAKE-make}"
4874 fi
4875
4876
4877
4878 # Configure libtool
4879 #AC_MSG_NOTICE([====== Starting libtool configuration])
4880 enable_dlopen=yes
4881
4882
4883
4884 case `pwd` in
4885   *\ * | *\     *)
4886     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4887 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4888 esac
4889
4890
4891
4892 macro_version='2.2.7a'
4893 macro_revision='1.3134'
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907 ltmain="$ac_aux_dir/ltmain.sh"
4908
4909 # Backslashify metacharacters that are still active within
4910 # double-quoted strings.
4911 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4912
4913 # Same as above, but do not quote variable references.
4914 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4915
4916 # Sed substitution to delay expansion of an escaped shell variable in a
4917 # double_quote_subst'ed string.
4918 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4919
4920 # Sed substitution to delay expansion of an escaped single quote.
4921 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4922
4923 # Sed substitution to avoid accidental globbing in evaled expressions
4924 no_glob_subst='s/\*/\\\*/g'
4925
4926 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4927 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4928 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4929
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4931 $as_echo_n "checking how to print strings... " >&6; }
4932 # Test print first, because it will be a builtin if present.
4933 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4934    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4935   ECHO='print -r --'
4936 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4937   ECHO='printf %s\n'
4938 else
4939   # Use this function as a fallback that always works.
4940   func_fallback_echo ()
4941   {
4942     eval 'cat <<_LTECHO_EOF
4943 $1
4944 _LTECHO_EOF'
4945   }
4946   ECHO='func_fallback_echo'
4947 fi
4948
4949 # func_echo_all arg...
4950 # Invoke $ECHO with all args, space-separated.
4951 func_echo_all ()
4952 {
4953     $ECHO ""
4954 }
4955
4956 case "$ECHO" in
4957   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4958 $as_echo "printf" >&6; } ;;
4959   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4960 $as_echo "print -r" >&6; } ;;
4961   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4962 $as_echo "cat" >&6; } ;;
4963 esac
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4979 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4980 if test "${ac_cv_path_SED+set}" = set; then :
4981   $as_echo_n "(cached) " >&6
4982 else
4983             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4984      for ac_i in 1 2 3 4 5 6 7; do
4985        ac_script="$ac_script$as_nl$ac_script"
4986      done
4987      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4988      { ac_script=; unset ac_script;}
4989      if test -z "$SED"; then
4990   ac_path_SED_found=false
4991   # Loop through the user's path and test for each of PROGNAME-LIST
4992   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4993 for as_dir in $PATH
4994 do
4995   IFS=$as_save_IFS
4996   test -z "$as_dir" && as_dir=.
4997     for ac_prog in sed gsed; do
4998     for ac_exec_ext in '' $ac_executable_extensions; do
4999       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5000       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5001 # Check for GNU ac_path_SED and select it if it is found.
5002   # Check for GNU $ac_path_SED
5003 case `"$ac_path_SED" --version 2>&1` in
5004 *GNU*)
5005   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5006 *)
5007   ac_count=0
5008   $as_echo_n 0123456789 >"conftest.in"
5009   while :
5010   do
5011     cat "conftest.in" "conftest.in" >"conftest.tmp"
5012     mv "conftest.tmp" "conftest.in"
5013     cp "conftest.in" "conftest.nl"
5014     $as_echo '' >> "conftest.nl"
5015     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5016     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5017     as_fn_arith $ac_count + 1 && ac_count=$as_val
5018     if test $ac_count -gt ${ac_path_SED_max-0}; then
5019       # Best one so far, save it but keep looking for a better one
5020       ac_cv_path_SED="$ac_path_SED"
5021       ac_path_SED_max=$ac_count
5022     fi
5023     # 10*(2^10) chars as input seems more than enough
5024     test $ac_count -gt 10 && break
5025   done
5026   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5027 esac
5028
5029       $ac_path_SED_found && break 3
5030     done
5031   done
5032   done
5033 IFS=$as_save_IFS
5034   if test -z "$ac_cv_path_SED"; then
5035     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5036   fi
5037 else
5038   ac_cv_path_SED=$SED
5039 fi
5040
5041 fi
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5043 $as_echo "$ac_cv_path_SED" >&6; }
5044  SED="$ac_cv_path_SED"
5045   rm -f conftest.sed
5046
5047 test -z "$SED" && SED=sed
5048 Xsed="$SED -e 1s/^X//"
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5061 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5062 if test "${ac_cv_path_GREP+set}" = set; then :
5063   $as_echo_n "(cached) " >&6
5064 else
5065   if test -z "$GREP"; then
5066   ac_path_GREP_found=false
5067   # Loop through the user's path and test for each of PROGNAME-LIST
5068   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5070 do
5071   IFS=$as_save_IFS
5072   test -z "$as_dir" && as_dir=.
5073     for ac_prog in grep ggrep; do
5074     for ac_exec_ext in '' $ac_executable_extensions; do
5075       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5076       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5077 # Check for GNU ac_path_GREP and select it if it is found.
5078   # Check for GNU $ac_path_GREP
5079 case `"$ac_path_GREP" --version 2>&1` in
5080 *GNU*)
5081   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5082 *)
5083   ac_count=0
5084   $as_echo_n 0123456789 >"conftest.in"
5085   while :
5086   do
5087     cat "conftest.in" "conftest.in" >"conftest.tmp"
5088     mv "conftest.tmp" "conftest.in"
5089     cp "conftest.in" "conftest.nl"
5090     $as_echo 'GREP' >> "conftest.nl"
5091     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5092     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5093     as_fn_arith $ac_count + 1 && ac_count=$as_val
5094     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5095       # Best one so far, save it but keep looking for a better one
5096       ac_cv_path_GREP="$ac_path_GREP"
5097       ac_path_GREP_max=$ac_count
5098     fi
5099     # 10*(2^10) chars as input seems more than enough
5100     test $ac_count -gt 10 && break
5101   done
5102   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5103 esac
5104
5105       $ac_path_GREP_found && break 3
5106     done
5107   done
5108   done
5109 IFS=$as_save_IFS
5110   if test -z "$ac_cv_path_GREP"; then
5111     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5112   fi
5113 else
5114   ac_cv_path_GREP=$GREP
5115 fi
5116
5117 fi
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5119 $as_echo "$ac_cv_path_GREP" >&6; }
5120  GREP="$ac_cv_path_GREP"
5121
5122
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5124 $as_echo_n "checking for egrep... " >&6; }
5125 if test "${ac_cv_path_EGREP+set}" = set; then :
5126   $as_echo_n "(cached) " >&6
5127 else
5128   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5129    then ac_cv_path_EGREP="$GREP -E"
5130    else
5131      if test -z "$EGREP"; then
5132   ac_path_EGREP_found=false
5133   # Loop through the user's path and test for each of PROGNAME-LIST
5134   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5136 do
5137   IFS=$as_save_IFS
5138   test -z "$as_dir" && as_dir=.
5139     for ac_prog in egrep; do
5140     for ac_exec_ext in '' $ac_executable_extensions; do
5141       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5142       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5143 # Check for GNU ac_path_EGREP and select it if it is found.
5144   # Check for GNU $ac_path_EGREP
5145 case `"$ac_path_EGREP" --version 2>&1` in
5146 *GNU*)
5147   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5148 *)
5149   ac_count=0
5150   $as_echo_n 0123456789 >"conftest.in"
5151   while :
5152   do
5153     cat "conftest.in" "conftest.in" >"conftest.tmp"
5154     mv "conftest.tmp" "conftest.in"
5155     cp "conftest.in" "conftest.nl"
5156     $as_echo 'EGREP' >> "conftest.nl"
5157     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5158     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5159     as_fn_arith $ac_count + 1 && ac_count=$as_val
5160     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5161       # Best one so far, save it but keep looking for a better one
5162       ac_cv_path_EGREP="$ac_path_EGREP"
5163       ac_path_EGREP_max=$ac_count
5164     fi
5165     # 10*(2^10) chars as input seems more than enough
5166     test $ac_count -gt 10 && break
5167   done
5168   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5169 esac
5170
5171       $ac_path_EGREP_found && break 3
5172     done
5173   done
5174   done
5175 IFS=$as_save_IFS
5176   if test -z "$ac_cv_path_EGREP"; then
5177     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5178   fi
5179 else
5180   ac_cv_path_EGREP=$EGREP
5181 fi
5182
5183    fi
5184 fi
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5186 $as_echo "$ac_cv_path_EGREP" >&6; }
5187  EGREP="$ac_cv_path_EGREP"
5188
5189
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5191 $as_echo_n "checking for fgrep... " >&6; }
5192 if test "${ac_cv_path_FGREP+set}" = set; then :
5193   $as_echo_n "(cached) " >&6
5194 else
5195   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5196    then ac_cv_path_FGREP="$GREP -F"
5197    else
5198      if test -z "$FGREP"; then
5199   ac_path_FGREP_found=false
5200   # Loop through the user's path and test for each of PROGNAME-LIST
5201   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5203 do
5204   IFS=$as_save_IFS
5205   test -z "$as_dir" && as_dir=.
5206     for ac_prog in fgrep; do
5207     for ac_exec_ext in '' $ac_executable_extensions; do
5208       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5209       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5210 # Check for GNU ac_path_FGREP and select it if it is found.
5211   # Check for GNU $ac_path_FGREP
5212 case `"$ac_path_FGREP" --version 2>&1` in
5213 *GNU*)
5214   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5215 *)
5216   ac_count=0
5217   $as_echo_n 0123456789 >"conftest.in"
5218   while :
5219   do
5220     cat "conftest.in" "conftest.in" >"conftest.tmp"
5221     mv "conftest.tmp" "conftest.in"
5222     cp "conftest.in" "conftest.nl"
5223     $as_echo 'FGREP' >> "conftest.nl"
5224     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5225     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5226     as_fn_arith $ac_count + 1 && ac_count=$as_val
5227     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5228       # Best one so far, save it but keep looking for a better one
5229       ac_cv_path_FGREP="$ac_path_FGREP"
5230       ac_path_FGREP_max=$ac_count
5231     fi
5232     # 10*(2^10) chars as input seems more than enough
5233     test $ac_count -gt 10 && break
5234   done
5235   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5236 esac
5237
5238       $ac_path_FGREP_found && break 3
5239     done
5240   done
5241   done
5242 IFS=$as_save_IFS
5243   if test -z "$ac_cv_path_FGREP"; then
5244     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5245   fi
5246 else
5247   ac_cv_path_FGREP=$FGREP
5248 fi
5249
5250    fi
5251 fi
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5253 $as_echo "$ac_cv_path_FGREP" >&6; }
5254  FGREP="$ac_cv_path_FGREP"
5255
5256
5257 test -z "$GREP" && GREP=grep
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277 # Check whether --with-gnu-ld was given.
5278 if test "${with_gnu_ld+set}" = set; then :
5279   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5280 else
5281   with_gnu_ld=no
5282 fi
5283
5284 ac_prog=ld
5285 if test "$GCC" = yes; then
5286   # Check if gcc -print-prog-name=ld gives a path.
5287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5288 $as_echo_n "checking for ld used by $CC... " >&6; }
5289   case $host in
5290   *-*-mingw*)
5291     # gcc leaves a trailing carriage return which upsets mingw
5292     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5293   *)
5294     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5295   esac
5296   case $ac_prog in
5297     # Accept absolute paths.
5298     [\\/]* | ?:[\\/]*)
5299       re_direlt='/[^/][^/]*/\.\./'
5300       # Canonicalize the pathname of ld
5301       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5302       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5303         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5304       done
5305       test -z "$LD" && LD="$ac_prog"
5306       ;;
5307   "")
5308     # If it fails, then pretend we aren't using GCC.
5309     ac_prog=ld
5310     ;;
5311   *)
5312     # If it is relative, then search for the first ld in PATH.
5313     with_gnu_ld=unknown
5314     ;;
5315   esac
5316 elif test "$with_gnu_ld" = yes; then
5317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5318 $as_echo_n "checking for GNU ld... " >&6; }
5319 else
5320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5321 $as_echo_n "checking for non-GNU ld... " >&6; }
5322 fi
5323 if test "${lt_cv_path_LD+set}" = set; then :
5324   $as_echo_n "(cached) " >&6
5325 else
5326   if test -z "$LD"; then
5327   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5328   for ac_dir in $PATH; do
5329     IFS="$lt_save_ifs"
5330     test -z "$ac_dir" && ac_dir=.
5331     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5332       lt_cv_path_LD="$ac_dir/$ac_prog"
5333       # Check to see if the program is GNU ld.  I'd rather use --version,
5334       # but apparently some variants of GNU ld only accept -v.
5335       # Break only if it was the GNU/non-GNU ld that we prefer.
5336       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5337       *GNU* | *'with BFD'*)
5338         test "$with_gnu_ld" != no && break
5339         ;;
5340       *)
5341         test "$with_gnu_ld" != yes && break
5342         ;;
5343       esac
5344     fi
5345   done
5346   IFS="$lt_save_ifs"
5347 else
5348   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5349 fi
5350 fi
5351
5352 LD="$lt_cv_path_LD"
5353 if test -n "$LD"; then
5354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5355 $as_echo "$LD" >&6; }
5356 else
5357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5358 $as_echo "no" >&6; }
5359 fi
5360 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5362 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5363 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5364   $as_echo_n "(cached) " >&6
5365 else
5366   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5367 case `$LD -v 2>&1 </dev/null` in
5368 *GNU* | *'with BFD'*)
5369   lt_cv_prog_gnu_ld=yes
5370   ;;
5371 *)
5372   lt_cv_prog_gnu_ld=no
5373   ;;
5374 esac
5375 fi
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5377 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5378 with_gnu_ld=$lt_cv_prog_gnu_ld
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5389 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5390 if test "${lt_cv_path_NM+set}" = set; then :
5391   $as_echo_n "(cached) " >&6
5392 else
5393   if test -n "$NM"; then
5394   # Let the user override the test.
5395   lt_cv_path_NM="$NM"
5396 else
5397   lt_nm_to_check="${ac_tool_prefix}nm"
5398   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5399     lt_nm_to_check="$lt_nm_to_check nm"
5400   fi
5401   for lt_tmp_nm in $lt_nm_to_check; do
5402     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5403     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5404       IFS="$lt_save_ifs"
5405       test -z "$ac_dir" && ac_dir=.
5406       tmp_nm="$ac_dir/$lt_tmp_nm"
5407       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5408         # Check to see if the nm accepts a BSD-compat flag.
5409         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5410         #   nm: unknown option "B" ignored
5411         # Tru64's nm complains that /dev/null is an invalid object file
5412         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5413         */dev/null* | *'Invalid file or object type'*)
5414           lt_cv_path_NM="$tmp_nm -B"
5415           break
5416           ;;
5417         *)
5418           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5419           */dev/null*)
5420             lt_cv_path_NM="$tmp_nm -p"
5421             break
5422             ;;
5423           *)
5424             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5425             continue # so that we can try to find one that supports BSD flags
5426             ;;
5427           esac
5428           ;;
5429         esac
5430       fi
5431     done
5432     IFS="$lt_save_ifs"
5433   done
5434   : ${lt_cv_path_NM=no}
5435 fi
5436 fi
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5438 $as_echo "$lt_cv_path_NM" >&6; }
5439 if test "$lt_cv_path_NM" != "no"; then
5440   NM="$lt_cv_path_NM"
5441 else
5442   # Didn't find any BSD compatible name lister, look for dumpbin.
5443   if test -n "$DUMPBIN"; then :
5444     # Let the user override the test.
5445   else
5446     if test -n "$ac_tool_prefix"; then
5447   for ac_prog in dumpbin "link -dump"
5448   do
5449     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5450 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5452 $as_echo_n "checking for $ac_word... " >&6; }
5453 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5454   $as_echo_n "(cached) " >&6
5455 else
5456   if test -n "$DUMPBIN"; then
5457   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5458 else
5459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 for as_dir in $PATH
5461 do
5462   IFS=$as_save_IFS
5463   test -z "$as_dir" && as_dir=.
5464     for ac_exec_ext in '' $ac_executable_extensions; do
5465   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5466     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5468     break 2
5469   fi
5470 done
5471   done
5472 IFS=$as_save_IFS
5473
5474 fi
5475 fi
5476 DUMPBIN=$ac_cv_prog_DUMPBIN
5477 if test -n "$DUMPBIN"; then
5478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5479 $as_echo "$DUMPBIN" >&6; }
5480 else
5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5482 $as_echo "no" >&6; }
5483 fi
5484
5485
5486     test -n "$DUMPBIN" && break
5487   done
5488 fi
5489 if test -z "$DUMPBIN"; then
5490   ac_ct_DUMPBIN=$DUMPBIN
5491   for ac_prog in dumpbin "link -dump"
5492 do
5493   # Extract the first word of "$ac_prog", so it can be a program name with args.
5494 set dummy $ac_prog; ac_word=$2
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5496 $as_echo_n "checking for $ac_word... " >&6; }
5497 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5498   $as_echo_n "(cached) " >&6
5499 else
5500   if test -n "$ac_ct_DUMPBIN"; then
5501   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5505 do
5506   IFS=$as_save_IFS
5507   test -z "$as_dir" && as_dir=.
5508     for ac_exec_ext in '' $ac_executable_extensions; do
5509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5512     break 2
5513   fi
5514 done
5515   done
5516 IFS=$as_save_IFS
5517
5518 fi
5519 fi
5520 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5521 if test -n "$ac_ct_DUMPBIN"; then
5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5523 $as_echo "$ac_ct_DUMPBIN" >&6; }
5524 else
5525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }
5527 fi
5528
5529
5530   test -n "$ac_ct_DUMPBIN" && break
5531 done
5532
5533   if test "x$ac_ct_DUMPBIN" = x; then
5534     DUMPBIN=":"
5535   else
5536     case $cross_compiling:$ac_tool_warned in
5537 yes:)
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5540 ac_tool_warned=yes ;;
5541 esac
5542     DUMPBIN=$ac_ct_DUMPBIN
5543   fi
5544 fi
5545
5546     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5547     *COFF*)
5548       DUMPBIN="$DUMPBIN -symbols"
5549       ;;
5550     *)
5551       DUMPBIN=:
5552       ;;
5553     esac
5554   fi
5555
5556   if test "$DUMPBIN" != ":"; then
5557     NM="$DUMPBIN"
5558   fi
5559 fi
5560 test -z "$NM" && NM=nm
5561
5562
5563
5564
5565
5566
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5568 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5569 if test "${lt_cv_nm_interface+set}" = set; then :
5570   $as_echo_n "(cached) " >&6
5571 else
5572   lt_cv_nm_interface="BSD nm"
5573   echo "int some_variable = 0;" > conftest.$ac_ext
5574   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5575   (eval "$ac_compile" 2>conftest.err)
5576   cat conftest.err >&5
5577   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5578   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5579   cat conftest.err >&5
5580   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5581   cat conftest.out >&5
5582   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5583     lt_cv_nm_interface="MS dumpbin"
5584   fi
5585   rm -f conftest*
5586 fi
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5588 $as_echo "$lt_cv_nm_interface" >&6; }
5589
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5591 $as_echo_n "checking whether ln -s works... " >&6; }
5592 LN_S=$as_ln_s
5593 if test "$LN_S" = "ln -s"; then
5594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5595 $as_echo "yes" >&6; }
5596 else
5597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5598 $as_echo "no, using $LN_S" >&6; }
5599 fi
5600
5601 # find the maximum length of command line arguments
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5603 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5604 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5605   $as_echo_n "(cached) " >&6
5606 else
5607     i=0
5608   teststring="ABCD"
5609
5610   case $build_os in
5611   msdosdjgpp*)
5612     # On DJGPP, this test can blow up pretty badly due to problems in libc
5613     # (any single argument exceeding 2000 bytes causes a buffer overrun
5614     # during glob expansion).  Even if it were fixed, the result of this
5615     # check would be larger than it should be.
5616     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5617     ;;
5618
5619   gnu*)
5620     # Under GNU Hurd, this test is not required because there is
5621     # no limit to the length of command line arguments.
5622     # Libtool will interpret -1 as no limit whatsoever
5623     lt_cv_sys_max_cmd_len=-1;
5624     ;;
5625
5626   cygwin* | mingw* | cegcc*)
5627     # On Win9x/ME, this test blows up -- it succeeds, but takes
5628     # about 5 minutes as the teststring grows exponentially.
5629     # Worse, since 9x/ME are not pre-emptively multitasking,
5630     # you end up with a "frozen" computer, even though with patience
5631     # the test eventually succeeds (with a max line length of 256k).
5632     # Instead, let's just punt: use the minimum linelength reported by
5633     # all of the supported platforms: 8192 (on NT/2K/XP).
5634     lt_cv_sys_max_cmd_len=8192;
5635     ;;
5636
5637   mint*)
5638     # On MiNT this can take a long time and run out of memory.
5639     lt_cv_sys_max_cmd_len=8192;
5640     ;;
5641
5642   amigaos*)
5643     # On AmigaOS with pdksh, this test takes hours, literally.
5644     # So we just punt and use a minimum line length of 8192.
5645     lt_cv_sys_max_cmd_len=8192;
5646     ;;
5647
5648   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5649     # This has been around since 386BSD, at least.  Likely further.
5650     if test -x /sbin/sysctl; then
5651       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5652     elif test -x /usr/sbin/sysctl; then
5653       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5654     else
5655       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5656     fi
5657     # And add a safety zone
5658     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5659     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5660     ;;
5661
5662   interix*)
5663     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5664     lt_cv_sys_max_cmd_len=196608
5665     ;;
5666
5667   osf*)
5668     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5669     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5670     # nice to cause kernel panics so lets avoid the loop below.
5671     # First set a reasonable default.
5672     lt_cv_sys_max_cmd_len=16384
5673     #
5674     if test -x /sbin/sysconfig; then
5675       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5676         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5677       esac
5678     fi
5679     ;;
5680   sco3.2v5*)
5681     lt_cv_sys_max_cmd_len=102400
5682     ;;
5683   sysv5* | sco5v6* | sysv4.2uw2*)
5684     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5685     if test -n "$kargmax"; then
5686       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5687     else
5688       lt_cv_sys_max_cmd_len=32768
5689     fi
5690     ;;
5691   *)
5692     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5693     if test -n "$lt_cv_sys_max_cmd_len"; then
5694       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5695       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5696     else
5697       # Make teststring a little bigger before we do anything with it.
5698       # a 1K string should be a reasonable start.
5699       for i in 1 2 3 4 5 6 7 8 ; do
5700         teststring=$teststring$teststring
5701       done
5702       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5703       # If test is not a shell built-in, we'll probably end up computing a
5704       # maximum length that is only half of the actual maximum length, but
5705       # we can't tell.
5706       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5707                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5708               test $i != 17 # 1/2 MB should be enough
5709       do
5710         i=`expr $i + 1`
5711         teststring=$teststring$teststring
5712       done
5713       # Only check the string length outside the loop.
5714       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5715       teststring=
5716       # Add a significant safety factor because C++ compilers can tack on
5717       # massive amounts of additional arguments before passing them to the
5718       # linker.  It appears as though 1/2 is a usable value.
5719       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5720     fi
5721     ;;
5722   esac
5723
5724 fi
5725
5726 if test -n $lt_cv_sys_max_cmd_len ; then
5727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5728 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5729 else
5730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5731 $as_echo "none" >&6; }
5732 fi
5733 max_cmd_len=$lt_cv_sys_max_cmd_len
5734
5735
5736
5737
5738
5739
5740 : ${CP="cp -f"}
5741 : ${MV="mv -f"}
5742 : ${RM="rm -f"}
5743
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5745 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5746 # Try some XSI features
5747 xsi_shell=no
5748 ( _lt_dummy="a/b/c"
5749   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5750       = c,a/b,, \
5751     && eval 'test $(( 1 + 1 )) -eq 2 \
5752     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5753   && xsi_shell=yes
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5755 $as_echo "$xsi_shell" >&6; }
5756
5757
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5759 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5760 lt_shell_append=no
5761 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5762     >/dev/null 2>&1 \
5763   && lt_shell_append=yes
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5765 $as_echo "$lt_shell_append" >&6; }
5766
5767
5768 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5769   lt_unset=unset
5770 else
5771   lt_unset=false
5772 fi
5773
5774
5775
5776
5777
5778 # test EBCDIC or ASCII
5779 case `echo X|tr X '\101'` in
5780  A) # ASCII based system
5781     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5782   lt_SP2NL='tr \040 \012'
5783   lt_NL2SP='tr \015\012 \040\040'
5784   ;;
5785  *) # EBCDIC based system
5786   lt_SP2NL='tr \100 \n'
5787   lt_NL2SP='tr \r\n \100\100'
5788   ;;
5789 esac
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5800 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5801 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5802   $as_echo_n "(cached) " >&6
5803 else
5804   lt_cv_ld_reload_flag='-r'
5805 fi
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5807 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5808 reload_flag=$lt_cv_ld_reload_flag
5809 case $reload_flag in
5810 "" | " "*) ;;
5811 *) reload_flag=" $reload_flag" ;;
5812 esac
5813 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5814 case $host_os in
5815   darwin*)
5816     if test "$GCC" = yes; then
5817       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5818     else
5819       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5820     fi
5821     ;;
5822 esac
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832 if test -n "$ac_tool_prefix"; then
5833   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836 $as_echo_n "checking for $ac_word... " >&6; }
5837 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5838   $as_echo_n "(cached) " >&6
5839 else
5840   if test -n "$OBJDUMP"; then
5841   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5842 else
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5844 for as_dir in $PATH
5845 do
5846   IFS=$as_save_IFS
5847   test -z "$as_dir" && as_dir=.
5848     for ac_exec_ext in '' $ac_executable_extensions; do
5849   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852     break 2
5853   fi
5854 done
5855   done
5856 IFS=$as_save_IFS
5857
5858 fi
5859 fi
5860 OBJDUMP=$ac_cv_prog_OBJDUMP
5861 if test -n "$OBJDUMP"; then
5862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5863 $as_echo "$OBJDUMP" >&6; }
5864 else
5865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866 $as_echo "no" >&6; }
5867 fi
5868
5869
5870 fi
5871 if test -z "$ac_cv_prog_OBJDUMP"; then
5872   ac_ct_OBJDUMP=$OBJDUMP
5873   # Extract the first word of "objdump", so it can be a program name with args.
5874 set dummy objdump; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5878   $as_echo_n "(cached) " >&6
5879 else
5880   if test -n "$ac_ct_OBJDUMP"; then
5881   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5882 else
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in $PATH
5885 do
5886   IFS=$as_save_IFS
5887   test -z "$as_dir" && as_dir=.
5888     for ac_exec_ext in '' $ac_executable_extensions; do
5889   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5891     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892     break 2
5893   fi
5894 done
5895   done
5896 IFS=$as_save_IFS
5897
5898 fi
5899 fi
5900 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5901 if test -n "$ac_ct_OBJDUMP"; then
5902   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5903 $as_echo "$ac_ct_OBJDUMP" >&6; }
5904 else
5905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5907 fi
5908
5909   if test "x$ac_ct_OBJDUMP" = x; then
5910     OBJDUMP="false"
5911   else
5912     case $cross_compiling:$ac_tool_warned in
5913 yes:)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5916 ac_tool_warned=yes ;;
5917 esac
5918     OBJDUMP=$ac_ct_OBJDUMP
5919   fi
5920 else
5921   OBJDUMP="$ac_cv_prog_OBJDUMP"
5922 fi
5923
5924 test -z "$OBJDUMP" && OBJDUMP=objdump
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5935 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5936 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5937   $as_echo_n "(cached) " >&6
5938 else
5939   lt_cv_file_magic_cmd='$MAGIC_CMD'
5940 lt_cv_file_magic_test_file=
5941 lt_cv_deplibs_check_method='unknown'
5942 # Need to set the preceding variable on all platforms that support
5943 # interlibrary dependencies.
5944 # 'none' -- dependencies not supported.
5945 # `unknown' -- same as none, but documents that we really don't know.
5946 # 'pass_all' -- all dependencies passed with no checks.
5947 # 'test_compile' -- check by making test program.
5948 # 'file_magic [[regex]]' -- check by looking for files in library path
5949 # which responds to the $file_magic_cmd with a given extended regex.
5950 # If you have `file' or equivalent on your system and you're not sure
5951 # whether `pass_all' will *always* work, you probably want this one.
5952
5953 case $host_os in
5954 aix[4-9]*)
5955   lt_cv_deplibs_check_method=pass_all
5956   ;;
5957
5958 beos*)
5959   lt_cv_deplibs_check_method=pass_all
5960   ;;
5961
5962 bsdi[45]*)
5963   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5964   lt_cv_file_magic_cmd='/usr/bin/file -L'
5965   lt_cv_file_magic_test_file=/shlib/libc.so
5966   ;;
5967
5968 cygwin*)
5969   # func_win32_libid is a shell function defined in ltmain.sh
5970   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5971   lt_cv_file_magic_cmd='func_win32_libid'
5972   ;;
5973
5974 mingw* | pw32*)
5975   # Base MSYS/MinGW do not provide the 'file' command needed by
5976   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5977   # unless we find 'file', for example because we are cross-compiling.
5978   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5979   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5980     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5981     lt_cv_file_magic_cmd='func_win32_libid'
5982   else
5983     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5984     lt_cv_file_magic_cmd='$OBJDUMP -f'
5985   fi
5986   ;;
5987
5988 cegcc*)
5989   # use the weaker test based on 'objdump'. See mingw*.
5990   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5991   lt_cv_file_magic_cmd='$OBJDUMP -f'
5992   ;;
5993
5994 darwin* | rhapsody*)
5995   lt_cv_deplibs_check_method=pass_all
5996   ;;
5997
5998 freebsd* | dragonfly*)
5999   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6000     case $host_cpu in
6001     i*86 )
6002       # Not sure whether the presence of OpenBSD here was a mistake.
6003       # Let's accept both of them until this is cleared up.
6004       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6005       lt_cv_file_magic_cmd=/usr/bin/file
6006       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6007       ;;
6008     esac
6009   else
6010     lt_cv_deplibs_check_method=pass_all
6011   fi
6012   ;;
6013
6014 gnu*)
6015   lt_cv_deplibs_check_method=pass_all
6016   ;;
6017
6018 haiku*)
6019   lt_cv_deplibs_check_method=pass_all
6020   ;;
6021
6022 hpux10.20* | hpux11*)
6023   lt_cv_file_magic_cmd=/usr/bin/file
6024   case $host_cpu in
6025   ia64*)
6026     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6027     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6028     ;;
6029   hppa*64*)
6030     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]'
6031     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6032     ;;
6033   *)
6034     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6035     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6036     ;;
6037   esac
6038   ;;
6039
6040 interix[3-9]*)
6041   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6042   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6043   ;;
6044
6045 irix5* | irix6* | nonstopux*)
6046   case $LD in
6047   *-32|*"-32 ") libmagic=32-bit;;
6048   *-n32|*"-n32 ") libmagic=N32;;
6049   *-64|*"-64 ") libmagic=64-bit;;
6050   *) libmagic=never-match;;
6051   esac
6052   lt_cv_deplibs_check_method=pass_all
6053   ;;
6054
6055 # This must be Linux ELF.
6056 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6057   lt_cv_deplibs_check_method=pass_all
6058   ;;
6059
6060 netbsd*)
6061   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6062     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6063   else
6064     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6065   fi
6066   ;;
6067
6068 newos6*)
6069   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6070   lt_cv_file_magic_cmd=/usr/bin/file
6071   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6072   ;;
6073
6074 *nto* | *qnx*)
6075   lt_cv_deplibs_check_method=pass_all
6076   ;;
6077
6078 openbsd*)
6079   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6080     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6081   else
6082     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6083   fi
6084   ;;
6085
6086 osf3* | osf4* | osf5*)
6087   lt_cv_deplibs_check_method=pass_all
6088   ;;
6089
6090 rdos*)
6091   lt_cv_deplibs_check_method=pass_all
6092   ;;
6093
6094 solaris*)
6095   lt_cv_deplibs_check_method=pass_all
6096   ;;
6097
6098 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6099   lt_cv_deplibs_check_method=pass_all
6100   ;;
6101
6102 sysv4 | sysv4.3*)
6103   case $host_vendor in
6104   motorola)
6105     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]'
6106     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6107     ;;
6108   ncr)
6109     lt_cv_deplibs_check_method=pass_all
6110     ;;
6111   sequent)
6112     lt_cv_file_magic_cmd='/bin/file'
6113     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6114     ;;
6115   sni)
6116     lt_cv_file_magic_cmd='/bin/file'
6117     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6118     lt_cv_file_magic_test_file=/lib/libc.so
6119     ;;
6120   siemens)
6121     lt_cv_deplibs_check_method=pass_all
6122     ;;
6123   pc)
6124     lt_cv_deplibs_check_method=pass_all
6125     ;;
6126   esac
6127   ;;
6128
6129 tpf*)
6130   lt_cv_deplibs_check_method=pass_all
6131   ;;
6132 esac
6133
6134 fi
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6136 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6137 file_magic_cmd=$lt_cv_file_magic_cmd
6138 deplibs_check_method=$lt_cv_deplibs_check_method
6139 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152 if test -n "$ac_tool_prefix"; then
6153   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6154 set dummy ${ac_tool_prefix}ar; ac_word=$2
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6156 $as_echo_n "checking for $ac_word... " >&6; }
6157 if test "${ac_cv_prog_AR+set}" = set; then :
6158   $as_echo_n "(cached) " >&6
6159 else
6160   if test -n "$AR"; then
6161   ac_cv_prog_AR="$AR" # Let the user override the test.
6162 else
6163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6164 for as_dir in $PATH
6165 do
6166   IFS=$as_save_IFS
6167   test -z "$as_dir" && as_dir=.
6168     for ac_exec_ext in '' $ac_executable_extensions; do
6169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6170     ac_cv_prog_AR="${ac_tool_prefix}ar"
6171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6172     break 2
6173   fi
6174 done
6175   done
6176 IFS=$as_save_IFS
6177
6178 fi
6179 fi
6180 AR=$ac_cv_prog_AR
6181 if test -n "$AR"; then
6182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6183 $as_echo "$AR" >&6; }
6184 else
6185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6186 $as_echo "no" >&6; }
6187 fi
6188
6189
6190 fi
6191 if test -z "$ac_cv_prog_AR"; then
6192   ac_ct_AR=$AR
6193   # Extract the first word of "ar", so it can be a program name with args.
6194 set dummy ar; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6198   $as_echo_n "(cached) " >&6
6199 else
6200   if test -n "$ac_ct_AR"; then
6201   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6205 do
6206   IFS=$as_save_IFS
6207   test -z "$as_dir" && as_dir=.
6208     for ac_exec_ext in '' $ac_executable_extensions; do
6209   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210     ac_cv_prog_ac_ct_AR="ar"
6211     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212     break 2
6213   fi
6214 done
6215   done
6216 IFS=$as_save_IFS
6217
6218 fi
6219 fi
6220 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6221 if test -n "$ac_ct_AR"; then
6222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6223 $as_echo "$ac_ct_AR" >&6; }
6224 else
6225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6227 fi
6228
6229   if test "x$ac_ct_AR" = x; then
6230     AR="false"
6231   else
6232     case $cross_compiling:$ac_tool_warned in
6233 yes:)
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6235 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6236 ac_tool_warned=yes ;;
6237 esac
6238     AR=$ac_ct_AR
6239   fi
6240 else
6241   AR="$ac_cv_prog_AR"
6242 fi
6243
6244 test -z "$AR" && AR=ar
6245 test -z "$AR_FLAGS" && AR_FLAGS=cru
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257 if test -n "$ac_tool_prefix"; then
6258   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6259 set dummy ${ac_tool_prefix}strip; ac_word=$2
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6261 $as_echo_n "checking for $ac_word... " >&6; }
6262 if test "${ac_cv_prog_STRIP+set}" = set; then :
6263   $as_echo_n "(cached) " >&6
6264 else
6265   if test -n "$STRIP"; then
6266   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6267 else
6268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 for as_dir in $PATH
6270 do
6271   IFS=$as_save_IFS
6272   test -z "$as_dir" && as_dir=.
6273     for ac_exec_ext in '' $ac_executable_extensions; do
6274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6275     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277     break 2
6278   fi
6279 done
6280   done
6281 IFS=$as_save_IFS
6282
6283 fi
6284 fi
6285 STRIP=$ac_cv_prog_STRIP
6286 if test -n "$STRIP"; then
6287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6288 $as_echo "$STRIP" >&6; }
6289 else
6290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6291 $as_echo "no" >&6; }
6292 fi
6293
6294
6295 fi
6296 if test -z "$ac_cv_prog_STRIP"; then
6297   ac_ct_STRIP=$STRIP
6298   # Extract the first word of "strip", so it can be a program name with args.
6299 set dummy strip; ac_word=$2
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301 $as_echo_n "checking for $ac_word... " >&6; }
6302 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6303   $as_echo_n "(cached) " >&6
6304 else
6305   if test -n "$ac_ct_STRIP"; then
6306   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6307 else
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 for as_dir in $PATH
6310 do
6311   IFS=$as_save_IFS
6312   test -z "$as_dir" && as_dir=.
6313     for ac_exec_ext in '' $ac_executable_extensions; do
6314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315     ac_cv_prog_ac_ct_STRIP="strip"
6316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317     break 2
6318   fi
6319 done
6320   done
6321 IFS=$as_save_IFS
6322
6323 fi
6324 fi
6325 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6326 if test -n "$ac_ct_STRIP"; then
6327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6328 $as_echo "$ac_ct_STRIP" >&6; }
6329 else
6330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6332 fi
6333
6334   if test "x$ac_ct_STRIP" = x; then
6335     STRIP=":"
6336   else
6337     case $cross_compiling:$ac_tool_warned in
6338 yes:)
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6341 ac_tool_warned=yes ;;
6342 esac
6343     STRIP=$ac_ct_STRIP
6344   fi
6345 else
6346   STRIP="$ac_cv_prog_STRIP"
6347 fi
6348
6349 test -z "$STRIP" && STRIP=:
6350
6351
6352
6353
6354
6355
6356 if test -n "$ac_tool_prefix"; then
6357   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6358 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360 $as_echo_n "checking for $ac_word... " >&6; }
6361 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6362   $as_echo_n "(cached) " >&6
6363 else
6364   if test -n "$RANLIB"; then
6365   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6366 else
6367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368 for as_dir in $PATH
6369 do
6370   IFS=$as_save_IFS
6371   test -z "$as_dir" && as_dir=.
6372     for ac_exec_ext in '' $ac_executable_extensions; do
6373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6374     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6375     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376     break 2
6377   fi
6378 done
6379   done
6380 IFS=$as_save_IFS
6381
6382 fi
6383 fi
6384 RANLIB=$ac_cv_prog_RANLIB
6385 if test -n "$RANLIB"; then
6386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6387 $as_echo "$RANLIB" >&6; }
6388 else
6389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390 $as_echo "no" >&6; }
6391 fi
6392
6393
6394 fi
6395 if test -z "$ac_cv_prog_RANLIB"; then
6396   ac_ct_RANLIB=$RANLIB
6397   # Extract the first word of "ranlib", so it can be a program name with args.
6398 set dummy ranlib; ac_word=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6402   $as_echo_n "(cached) " >&6
6403 else
6404   if test -n "$ac_ct_RANLIB"; then
6405   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6406 else
6407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6408 for as_dir in $PATH
6409 do
6410   IFS=$as_save_IFS
6411   test -z "$as_dir" && as_dir=.
6412     for ac_exec_ext in '' $ac_executable_extensions; do
6413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6414     ac_cv_prog_ac_ct_RANLIB="ranlib"
6415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416     break 2
6417   fi
6418 done
6419   done
6420 IFS=$as_save_IFS
6421
6422 fi
6423 fi
6424 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6425 if test -n "$ac_ct_RANLIB"; then
6426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6427 $as_echo "$ac_ct_RANLIB" >&6; }
6428 else
6429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6431 fi
6432
6433   if test "x$ac_ct_RANLIB" = x; then
6434     RANLIB=":"
6435   else
6436     case $cross_compiling:$ac_tool_warned in
6437 yes:)
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6440 ac_tool_warned=yes ;;
6441 esac
6442     RANLIB=$ac_ct_RANLIB
6443   fi
6444 else
6445   RANLIB="$ac_cv_prog_RANLIB"
6446 fi
6447
6448 test -z "$RANLIB" && RANLIB=:
6449
6450
6451
6452
6453
6454
6455 # Determine commands to create old-style static archives.
6456 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6457 old_postinstall_cmds='chmod 644 $oldlib'
6458 old_postuninstall_cmds=
6459
6460 if test -n "$RANLIB"; then
6461   case $host_os in
6462   openbsd*)
6463     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6464     ;;
6465   *)
6466     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6467     ;;
6468   esac
6469   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6470 fi
6471
6472 case $host_os in
6473   darwin*)
6474     lock_old_archive_extraction=yes ;;
6475   *)
6476     lock_old_archive_extraction=no ;;
6477 esac
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
6512
6513
6514
6515
6516
6517 # If no C compiler was specified, use CC.
6518 LTCC=${LTCC-"$CC"}
6519
6520 # If no C compiler flags were specified, use CFLAGS.
6521 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6522
6523 # Allow CC to be a program name with arguments.
6524 compiler=$CC
6525
6526
6527 # Check for command to grab the raw symbol name followed by C symbol from nm.
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6529 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6530 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6531   $as_echo_n "(cached) " >&6
6532 else
6533
6534 # These are sane defaults that work on at least a few old systems.
6535 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6536
6537 # Character class describing NM global symbol codes.
6538 symcode='[BCDEGRST]'
6539
6540 # Regexp to match symbols that can be accessed directly from C.
6541 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6542
6543 # Define system-specific variables.
6544 case $host_os in
6545 aix*)
6546   symcode='[BCDT]'
6547   ;;
6548 cygwin* | mingw* | pw32* | cegcc*)
6549   symcode='[ABCDGISTW]'
6550   ;;
6551 hpux*)
6552   if test "$host_cpu" = ia64; then
6553     symcode='[ABCDEGRST]'
6554   fi
6555   ;;
6556 irix* | nonstopux*)
6557   symcode='[BCDEGRST]'
6558   ;;
6559 osf*)
6560   symcode='[BCDEGQRST]'
6561   ;;
6562 solaris*)
6563   symcode='[BDRT]'
6564   ;;
6565 sco3.2v5*)
6566   symcode='[DT]'
6567   ;;
6568 sysv4.2uw2*)
6569   symcode='[DT]'
6570   ;;
6571 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6572   symcode='[ABDT]'
6573   ;;
6574 sysv4)
6575   symcode='[DFNSTU]'
6576   ;;
6577 esac
6578
6579 # If we're using GNU nm, then use its standard symbol codes.
6580 case `$NM -V 2>&1` in
6581 *GNU* | *'with BFD'*)
6582   symcode='[ABCDGIRSTW]' ;;
6583 esac
6584
6585 # Transform an extracted symbol line into a proper C declaration.
6586 # Some systems (esp. on ia64) link data and code symbols differently,
6587 # so use this general approach.
6588 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6589
6590 # Transform an extracted symbol line into symbol name and symbol address
6591 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6592 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'"
6593
6594 # Handle CRLF in mingw tool chain
6595 opt_cr=
6596 case $build_os in
6597 mingw*)
6598   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6599   ;;
6600 esac
6601
6602 # Try without a prefix underscore, then with it.
6603 for ac_symprfx in "" "_"; do
6604
6605   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6606   symxfrm="\\1 $ac_symprfx\\2 \\2"
6607
6608   # Write the raw and C identifiers.
6609   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6610     # Fake it for dumpbin and say T for any non-static function
6611     # and D for any global variable.
6612     # Also find C++ and __fastcall symbols from MSVC++,
6613     # which start with @ or ?.
6614     lt_cv_sys_global_symbol_pipe="$AWK '"\
6615 "     {last_section=section; section=\$ 3};"\
6616 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6617 "     \$ 0!~/External *\|/{next};"\
6618 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6619 "     {if(hide[section]) next};"\
6620 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6621 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6622 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6623 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6624 "     ' prfx=^$ac_symprfx"
6625   else
6626     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6627   fi
6628
6629   # Check to see that the pipe works correctly.
6630   pipe_works=no
6631
6632   rm -f conftest*
6633   cat > conftest.$ac_ext <<_LT_EOF
6634 #ifdef __cplusplus
6635 extern "C" {
6636 #endif
6637 char nm_test_var;
6638 void nm_test_func(void);
6639 void nm_test_func(void){}
6640 #ifdef __cplusplus
6641 }
6642 #endif
6643 int main(){nm_test_var='a';nm_test_func();return(0);}
6644 _LT_EOF
6645
6646   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6647   (eval $ac_compile) 2>&5
6648   ac_status=$?
6649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6650   test $ac_status = 0; }; then
6651     # Now try to grab the symbols.
6652     nlist=conftest.nm
6653     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6654   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6655   ac_status=$?
6656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6657   test $ac_status = 0; } && test -s "$nlist"; then
6658       # Try sorting and uniquifying the output.
6659       if sort "$nlist" | uniq > "$nlist"T; then
6660         mv -f "$nlist"T "$nlist"
6661       else
6662         rm -f "$nlist"T
6663       fi
6664
6665       # Make sure that we snagged all the symbols we need.
6666       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6667         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6668           cat <<_LT_EOF > conftest.$ac_ext
6669 #ifdef __cplusplus
6670 extern "C" {
6671 #endif
6672
6673 _LT_EOF
6674           # Now generate the symbol file.
6675           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6676
6677           cat <<_LT_EOF >> conftest.$ac_ext
6678
6679 /* The mapping between symbol names and symbols.  */
6680 const struct {
6681   const char *name;
6682   void       *address;
6683 }
6684 lt__PROGRAM__LTX_preloaded_symbols[] =
6685 {
6686   { "@PROGRAM@", (void *) 0 },
6687 _LT_EOF
6688           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6689           cat <<\_LT_EOF >> conftest.$ac_ext
6690   {0, (void *) 0}
6691 };
6692
6693 /* This works around a problem in FreeBSD linker */
6694 #ifdef FREEBSD_WORKAROUND
6695 static const void *lt_preloaded_setup() {
6696   return lt__PROGRAM__LTX_preloaded_symbols;
6697 }
6698 #endif
6699
6700 #ifdef __cplusplus
6701 }
6702 #endif
6703 _LT_EOF
6704           # Now try linking the two files.
6705           mv conftest.$ac_objext conftstm.$ac_objext
6706           lt_save_LIBS="$LIBS"
6707           lt_save_CFLAGS="$CFLAGS"
6708           LIBS="conftstm.$ac_objext"
6709           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6710           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6711   (eval $ac_link) 2>&5
6712   ac_status=$?
6713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6714   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6715             pipe_works=yes
6716           fi
6717           LIBS="$lt_save_LIBS"
6718           CFLAGS="$lt_save_CFLAGS"
6719         else
6720           echo "cannot find nm_test_func in $nlist" >&5
6721         fi
6722       else
6723         echo "cannot find nm_test_var in $nlist" >&5
6724       fi
6725     else
6726       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6727     fi
6728   else
6729     echo "$progname: failed program was:" >&5
6730     cat conftest.$ac_ext >&5
6731   fi
6732   rm -rf conftest* conftst*
6733
6734   # Do not use the global_symbol_pipe unless it works.
6735   if test "$pipe_works" = yes; then
6736     break
6737   else
6738     lt_cv_sys_global_symbol_pipe=
6739   fi
6740 done
6741
6742 fi
6743
6744 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6745   lt_cv_sys_global_symbol_to_cdecl=
6746 fi
6747 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6749 $as_echo "failed" >&6; }
6750 else
6751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6752 $as_echo "ok" >&6; }
6753 fi
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776 # Check whether --enable-libtool-lock was given.
6777 if test "${enable_libtool_lock+set}" = set; then :
6778   enableval=$enable_libtool_lock;
6779 fi
6780
6781 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6782
6783 # Some flags need to be propagated to the compiler or linker for good
6784 # libtool support.
6785 case $host in
6786 ia64-*-hpux*)
6787   # Find out which ABI we are using.
6788   echo 'int i;' > conftest.$ac_ext
6789   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6790   (eval $ac_compile) 2>&5
6791   ac_status=$?
6792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6793   test $ac_status = 0; }; then
6794     case `/usr/bin/file conftest.$ac_objext` in
6795       *ELF-32*)
6796         HPUX_IA64_MODE="32"
6797         ;;
6798       *ELF-64*)
6799         HPUX_IA64_MODE="64"
6800         ;;
6801     esac
6802   fi
6803   rm -rf conftest*
6804   ;;
6805 *-*-irix6*)
6806   # Find out which ABI we are using.
6807   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6808   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6809   (eval $ac_compile) 2>&5
6810   ac_status=$?
6811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812   test $ac_status = 0; }; then
6813     if test "$lt_cv_prog_gnu_ld" = yes; then
6814       case `/usr/bin/file conftest.$ac_objext` in
6815         *32-bit*)
6816           LD="${LD-ld} -melf32bsmip"
6817           ;;
6818         *N32*)
6819           LD="${LD-ld} -melf32bmipn32"
6820           ;;
6821         *64-bit*)
6822           LD="${LD-ld} -melf64bmip"
6823         ;;
6824       esac
6825     else
6826       case `/usr/bin/file conftest.$ac_objext` in
6827         *32-bit*)
6828           LD="${LD-ld} -32"
6829           ;;
6830         *N32*)
6831           LD="${LD-ld} -n32"
6832           ;;
6833         *64-bit*)
6834           LD="${LD-ld} -64"
6835           ;;
6836       esac
6837     fi
6838   fi
6839   rm -rf conftest*
6840   ;;
6841
6842 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6843 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6844   # Find out which ABI we are using.
6845   echo 'int i;' > conftest.$ac_ext
6846   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6847   (eval $ac_compile) 2>&5
6848   ac_status=$?
6849   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6850   test $ac_status = 0; }; then
6851     case `/usr/bin/file conftest.o` in
6852       *32-bit*)
6853         case $host in
6854           x86_64-*kfreebsd*-gnu)
6855             LD="${LD-ld} -m elf_i386_fbsd"
6856             ;;
6857           x86_64-*linux*)
6858             LD="${LD-ld} -m elf_i386"
6859             ;;
6860           ppc64-*linux*|powerpc64-*linux*)
6861             LD="${LD-ld} -m elf32ppclinux"
6862             ;;
6863           s390x-*linux*)
6864             LD="${LD-ld} -m elf_s390"
6865             ;;
6866           sparc64-*linux*)
6867             LD="${LD-ld} -m elf32_sparc"
6868             ;;
6869         esac
6870         ;;
6871       *64-bit*)
6872         case $host in
6873           x86_64-*kfreebsd*-gnu)
6874             LD="${LD-ld} -m elf_x86_64_fbsd"
6875             ;;
6876           x86_64-*linux*)
6877             LD="${LD-ld} -m elf_x86_64"
6878             ;;
6879           ppc*-*linux*|powerpc*-*linux*)
6880             LD="${LD-ld} -m elf64ppc"
6881             ;;
6882           s390*-*linux*|s390*-*tpf*)
6883             LD="${LD-ld} -m elf64_s390"
6884             ;;
6885           sparc*-*linux*)
6886             LD="${LD-ld} -m elf64_sparc"
6887             ;;
6888         esac
6889         ;;
6890     esac
6891   fi
6892   rm -rf conftest*
6893   ;;
6894
6895 *-*-sco3.2v5*)
6896   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6897   SAVE_CFLAGS="$CFLAGS"
6898   CFLAGS="$CFLAGS -belf"
6899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6900 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6901 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6902   $as_echo_n "(cached) " >&6
6903 else
6904   ac_ext=c
6905 ac_cpp='$CPP $CPPFLAGS'
6906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6909
6910      if test x$gcc_no_link = xyes; then
6911   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6912 fi
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h.  */
6915
6916 int
6917 main ()
6918 {
6919
6920   ;
6921   return 0;
6922 }
6923 _ACEOF
6924 if ac_fn_c_try_link "$LINENO"; then :
6925   lt_cv_cc_needs_belf=yes
6926 else
6927   lt_cv_cc_needs_belf=no
6928 fi
6929 rm -f core conftest.err conftest.$ac_objext \
6930     conftest$ac_exeext conftest.$ac_ext
6931      ac_ext=c
6932 ac_cpp='$CPP $CPPFLAGS'
6933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6936
6937 fi
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6939 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6940   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6941     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6942     CFLAGS="$SAVE_CFLAGS"
6943   fi
6944   ;;
6945 sparc*-*solaris*)
6946   # Find out which ABI we are using.
6947   echo 'int i;' > conftest.$ac_ext
6948   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6949   (eval $ac_compile) 2>&5
6950   ac_status=$?
6951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6952   test $ac_status = 0; }; then
6953     case `/usr/bin/file conftest.o` in
6954     *64-bit*)
6955       case $lt_cv_prog_gnu_ld in
6956       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6957       *)
6958         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6959           LD="${LD-ld} -64"
6960         fi
6961         ;;
6962       esac
6963       ;;
6964     esac
6965   fi
6966   rm -rf conftest*
6967   ;;
6968 esac
6969
6970 need_locks="$enable_libtool_lock"
6971
6972
6973   case $host_os in
6974     rhapsody* | darwin*)
6975     if test -n "$ac_tool_prefix"; then
6976   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6977 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6981   $as_echo_n "(cached) " >&6
6982 else
6983   if test -n "$DSYMUTIL"; then
6984   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6985 else
6986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6987 for as_dir in $PATH
6988 do
6989   IFS=$as_save_IFS
6990   test -z "$as_dir" && as_dir=.
6991     for ac_exec_ext in '' $ac_executable_extensions; do
6992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6995     break 2
6996   fi
6997 done
6998   done
6999 IFS=$as_save_IFS
7000
7001 fi
7002 fi
7003 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7004 if test -n "$DSYMUTIL"; then
7005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7006 $as_echo "$DSYMUTIL" >&6; }
7007 else
7008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7010 fi
7011
7012
7013 fi
7014 if test -z "$ac_cv_prog_DSYMUTIL"; then
7015   ac_ct_DSYMUTIL=$DSYMUTIL
7016   # Extract the first word of "dsymutil", so it can be a program name with args.
7017 set dummy dsymutil; ac_word=$2
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7021   $as_echo_n "(cached) " >&6
7022 else
7023   if test -n "$ac_ct_DSYMUTIL"; then
7024   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7025 else
7026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027 for as_dir in $PATH
7028 do
7029   IFS=$as_save_IFS
7030   test -z "$as_dir" && as_dir=.
7031     for ac_exec_ext in '' $ac_executable_extensions; do
7032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7033     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035     break 2
7036   fi
7037 done
7038   done
7039 IFS=$as_save_IFS
7040
7041 fi
7042 fi
7043 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7044 if test -n "$ac_ct_DSYMUTIL"; then
7045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7046 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7047 else
7048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049 $as_echo "no" >&6; }
7050 fi
7051
7052   if test "x$ac_ct_DSYMUTIL" = x; then
7053     DSYMUTIL=":"
7054   else
7055     case $cross_compiling:$ac_tool_warned in
7056 yes:)
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7059 ac_tool_warned=yes ;;
7060 esac
7061     DSYMUTIL=$ac_ct_DSYMUTIL
7062   fi
7063 else
7064   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7065 fi
7066
7067     if test -n "$ac_tool_prefix"; then
7068   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7069 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7071 $as_echo_n "checking for $ac_word... " >&6; }
7072 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7073   $as_echo_n "(cached) " >&6
7074 else
7075   if test -n "$NMEDIT"; then
7076   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7077 else
7078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7079 for as_dir in $PATH
7080 do
7081   IFS=$as_save_IFS
7082   test -z "$as_dir" && as_dir=.
7083     for ac_exec_ext in '' $ac_executable_extensions; do
7084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7085     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7087     break 2
7088   fi
7089 done
7090   done
7091 IFS=$as_save_IFS
7092
7093 fi
7094 fi
7095 NMEDIT=$ac_cv_prog_NMEDIT
7096 if test -n "$NMEDIT"; then
7097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7098 $as_echo "$NMEDIT" >&6; }
7099 else
7100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7101 $as_echo "no" >&6; }
7102 fi
7103
7104
7105 fi
7106 if test -z "$ac_cv_prog_NMEDIT"; then
7107   ac_ct_NMEDIT=$NMEDIT
7108   # Extract the first word of "nmedit", so it can be a program name with args.
7109 set dummy nmedit; ac_word=$2
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111 $as_echo_n "checking for $ac_word... " >&6; }
7112 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7113   $as_echo_n "(cached) " >&6
7114 else
7115   if test -n "$ac_ct_NMEDIT"; then
7116   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7117 else
7118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119 for as_dir in $PATH
7120 do
7121   IFS=$as_save_IFS
7122   test -z "$as_dir" && as_dir=.
7123     for ac_exec_ext in '' $ac_executable_extensions; do
7124   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7125     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7126     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127     break 2
7128   fi
7129 done
7130   done
7131 IFS=$as_save_IFS
7132
7133 fi
7134 fi
7135 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7136 if test -n "$ac_ct_NMEDIT"; then
7137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7138 $as_echo "$ac_ct_NMEDIT" >&6; }
7139 else
7140   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141 $as_echo "no" >&6; }
7142 fi
7143
7144   if test "x$ac_ct_NMEDIT" = x; then
7145     NMEDIT=":"
7146   else
7147     case $cross_compiling:$ac_tool_warned in
7148 yes:)
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7151 ac_tool_warned=yes ;;
7152 esac
7153     NMEDIT=$ac_ct_NMEDIT
7154   fi
7155 else
7156   NMEDIT="$ac_cv_prog_NMEDIT"
7157 fi
7158
7159     if test -n "$ac_tool_prefix"; then
7160   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7161 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7163 $as_echo_n "checking for $ac_word... " >&6; }
7164 if test "${ac_cv_prog_LIPO+set}" = set; then :
7165   $as_echo_n "(cached) " >&6
7166 else
7167   if test -n "$LIPO"; then
7168   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7172 do
7173   IFS=$as_save_IFS
7174   test -z "$as_dir" && as_dir=.
7175     for ac_exec_ext in '' $ac_executable_extensions; do
7176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7179     break 2
7180   fi
7181 done
7182   done
7183 IFS=$as_save_IFS
7184
7185 fi
7186 fi
7187 LIPO=$ac_cv_prog_LIPO
7188 if test -n "$LIPO"; then
7189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7190 $as_echo "$LIPO" >&6; }
7191 else
7192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7193 $as_echo "no" >&6; }
7194 fi
7195
7196
7197 fi
7198 if test -z "$ac_cv_prog_LIPO"; then
7199   ac_ct_LIPO=$LIPO
7200   # Extract the first word of "lipo", so it can be a program name with args.
7201 set dummy lipo; ac_word=$2
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7205   $as_echo_n "(cached) " >&6
7206 else
7207   if test -n "$ac_ct_LIPO"; then
7208   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7209 else
7210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211 for as_dir in $PATH
7212 do
7213   IFS=$as_save_IFS
7214   test -z "$as_dir" && as_dir=.
7215     for ac_exec_ext in '' $ac_executable_extensions; do
7216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217     ac_cv_prog_ac_ct_LIPO="lipo"
7218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219     break 2
7220   fi
7221 done
7222   done
7223 IFS=$as_save_IFS
7224
7225 fi
7226 fi
7227 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7228 if test -n "$ac_ct_LIPO"; then
7229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7230 $as_echo "$ac_ct_LIPO" >&6; }
7231 else
7232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233 $as_echo "no" >&6; }
7234 fi
7235
7236   if test "x$ac_ct_LIPO" = x; then
7237     LIPO=":"
7238   else
7239     case $cross_compiling:$ac_tool_warned in
7240 yes:)
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7242 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7243 ac_tool_warned=yes ;;
7244 esac
7245     LIPO=$ac_ct_LIPO
7246   fi
7247 else
7248   LIPO="$ac_cv_prog_LIPO"
7249 fi
7250
7251     if test -n "$ac_tool_prefix"; then
7252   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7253 set dummy ${ac_tool_prefix}otool; ac_word=$2
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7255 $as_echo_n "checking for $ac_word... " >&6; }
7256 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7257   $as_echo_n "(cached) " >&6
7258 else
7259   if test -n "$OTOOL"; then
7260   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7261 else
7262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7263 for as_dir in $PATH
7264 do
7265   IFS=$as_save_IFS
7266   test -z "$as_dir" && as_dir=.
7267     for ac_exec_ext in '' $ac_executable_extensions; do
7268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7269     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7270     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7271     break 2
7272   fi
7273 done
7274   done
7275 IFS=$as_save_IFS
7276
7277 fi
7278 fi
7279 OTOOL=$ac_cv_prog_OTOOL
7280 if test -n "$OTOOL"; then
7281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7282 $as_echo "$OTOOL" >&6; }
7283 else
7284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7285 $as_echo "no" >&6; }
7286 fi
7287
7288
7289 fi
7290 if test -z "$ac_cv_prog_OTOOL"; then
7291   ac_ct_OTOOL=$OTOOL
7292   # Extract the first word of "otool", so it can be a program name with args.
7293 set dummy otool; ac_word=$2
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295 $as_echo_n "checking for $ac_word... " >&6; }
7296 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7297   $as_echo_n "(cached) " >&6
7298 else
7299   if test -n "$ac_ct_OTOOL"; then
7300   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7301 else
7302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303 for as_dir in $PATH
7304 do
7305   IFS=$as_save_IFS
7306   test -z "$as_dir" && as_dir=.
7307     for ac_exec_ext in '' $ac_executable_extensions; do
7308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7309     ac_cv_prog_ac_ct_OTOOL="otool"
7310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7311     break 2
7312   fi
7313 done
7314   done
7315 IFS=$as_save_IFS
7316
7317 fi
7318 fi
7319 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7320 if test -n "$ac_ct_OTOOL"; then
7321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7322 $as_echo "$ac_ct_OTOOL" >&6; }
7323 else
7324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325 $as_echo "no" >&6; }
7326 fi
7327
7328   if test "x$ac_ct_OTOOL" = x; then
7329     OTOOL=":"
7330   else
7331     case $cross_compiling:$ac_tool_warned in
7332 yes:)
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7335 ac_tool_warned=yes ;;
7336 esac
7337     OTOOL=$ac_ct_OTOOL
7338   fi
7339 else
7340   OTOOL="$ac_cv_prog_OTOOL"
7341 fi
7342
7343     if test -n "$ac_tool_prefix"; then
7344   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7345 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7347 $as_echo_n "checking for $ac_word... " >&6; }
7348 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7349   $as_echo_n "(cached) " >&6
7350 else
7351   if test -n "$OTOOL64"; then
7352   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7353 else
7354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7355 for as_dir in $PATH
7356 do
7357   IFS=$as_save_IFS
7358   test -z "$as_dir" && as_dir=.
7359     for ac_exec_ext in '' $ac_executable_extensions; do
7360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7361     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7363     break 2
7364   fi
7365 done
7366   done
7367 IFS=$as_save_IFS
7368
7369 fi
7370 fi
7371 OTOOL64=$ac_cv_prog_OTOOL64
7372 if test -n "$OTOOL64"; then
7373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7374 $as_echo "$OTOOL64" >&6; }
7375 else
7376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7377 $as_echo "no" >&6; }
7378 fi
7379
7380
7381 fi
7382 if test -z "$ac_cv_prog_OTOOL64"; then
7383   ac_ct_OTOOL64=$OTOOL64
7384   # Extract the first word of "otool64", so it can be a program name with args.
7385 set dummy otool64; ac_word=$2
7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7387 $as_echo_n "checking for $ac_word... " >&6; }
7388 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7389   $as_echo_n "(cached) " >&6
7390 else
7391   if test -n "$ac_ct_OTOOL64"; then
7392   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7393 else
7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7395 for as_dir in $PATH
7396 do
7397   IFS=$as_save_IFS
7398   test -z "$as_dir" && as_dir=.
7399     for ac_exec_ext in '' $ac_executable_extensions; do
7400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7401     ac_cv_prog_ac_ct_OTOOL64="otool64"
7402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403     break 2
7404   fi
7405 done
7406   done
7407 IFS=$as_save_IFS
7408
7409 fi
7410 fi
7411 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7412 if test -n "$ac_ct_OTOOL64"; then
7413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7414 $as_echo "$ac_ct_OTOOL64" >&6; }
7415 else
7416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7417 $as_echo "no" >&6; }
7418 fi
7419
7420   if test "x$ac_ct_OTOOL64" = x; then
7421     OTOOL64=":"
7422   else
7423     case $cross_compiling:$ac_tool_warned in
7424 yes:)
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7427 ac_tool_warned=yes ;;
7428 esac
7429     OTOOL64=$ac_ct_OTOOL64
7430   fi
7431 else
7432   OTOOL64="$ac_cv_prog_OTOOL64"
7433 fi
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7462 $as_echo_n "checking for -single_module linker flag... " >&6; }
7463 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7464   $as_echo_n "(cached) " >&6
7465 else
7466   lt_cv_apple_cc_single_mod=no
7467       if test -z "${LT_MULTI_MODULE}"; then
7468         # By default we will add the -single_module flag. You can override
7469         # by either setting the environment variable LT_MULTI_MODULE
7470         # non-empty at configure time, or by adding -multi_module to the
7471         # link flags.
7472         rm -rf libconftest.dylib*
7473         echo "int foo(void){return 1;}" > conftest.c
7474         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7475 -dynamiclib -Wl,-single_module conftest.c" >&5
7476         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7477           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7478         _lt_result=$?
7479         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7480           lt_cv_apple_cc_single_mod=yes
7481         else
7482           cat conftest.err >&5
7483         fi
7484         rm -rf libconftest.dylib*
7485         rm -f conftest.*
7486       fi
7487 fi
7488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7489 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7490     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7491 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7492 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7493   $as_echo_n "(cached) " >&6
7494 else
7495   lt_cv_ld_exported_symbols_list=no
7496       save_LDFLAGS=$LDFLAGS
7497       echo "_main" > conftest.sym
7498       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7499       if test x$gcc_no_link = xyes; then
7500   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7501 fi
7502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h.  */
7504
7505 int
7506 main ()
7507 {
7508
7509   ;
7510   return 0;
7511 }
7512 _ACEOF
7513 if ac_fn_c_try_link "$LINENO"; then :
7514   lt_cv_ld_exported_symbols_list=yes
7515 else
7516   lt_cv_ld_exported_symbols_list=no
7517 fi
7518 rm -f core conftest.err conftest.$ac_objext \
7519     conftest$ac_exeext conftest.$ac_ext
7520         LDFLAGS="$save_LDFLAGS"
7521
7522 fi
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7524 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7525     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7526 $as_echo_n "checking for -force_load linker flag... " >&6; }
7527 if test "${lt_cv_ld_force_load+set}" = set; then :
7528   $as_echo_n "(cached) " >&6
7529 else
7530   lt_cv_ld_force_load=no
7531       cat > conftest.c << _LT_EOF
7532 int forced_loaded() { return 2;}
7533 _LT_EOF
7534       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7535       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7536       echo "$AR cru libconftest.a conftest.o" >&5
7537       $AR cru libconftest.a conftest.o 2>&5
7538       cat > conftest.c << _LT_EOF
7539 int main() { return 0;}
7540 _LT_EOF
7541       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7542       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7543       _lt_result=$?
7544       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7545         lt_cv_ld_force_load=yes
7546       else
7547         cat conftest.err >&5
7548       fi
7549         rm -f conftest.err libconftest.a conftest conftest.c
7550         rm -rf conftest.dSYM
7551
7552 fi
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7554 $as_echo "$lt_cv_ld_force_load" >&6; }
7555     case $host_os in
7556     rhapsody* | darwin1.[012])
7557       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7558     darwin1.*)
7559       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7560     darwin*) # darwin 5.x on
7561       # if running on 10.5 or later, the deployment target defaults
7562       # to the OS version, if on x86, and 10.4, the deployment
7563       # target defaults to 10.4. Don't you love it?
7564       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7565         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7566           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7567         10.[012]*)
7568           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7569         10.*)
7570           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7571       esac
7572     ;;
7573   esac
7574     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7575       _lt_dar_single_mod='$single_module'
7576     fi
7577     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7578       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7579     else
7580       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7581     fi
7582     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7583       _lt_dsymutil='~$DSYMUTIL $lib || :'
7584     else
7585       _lt_dsymutil=
7586     fi
7587     ;;
7588   esac
7589
7590 ac_ext=c
7591 ac_cpp='$CPP $CPPFLAGS'
7592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7597 # On Suns, sometimes $CPP names a directory.
7598 if test -n "$CPP" && test -d "$CPP"; then
7599   CPP=
7600 fi
7601 if test -z "$CPP"; then
7602   if test "${ac_cv_prog_CPP+set}" = set; then :
7603   $as_echo_n "(cached) " >&6
7604 else
7605       # Double quotes because CPP needs to be expanded
7606     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7607     do
7608       ac_preproc_ok=false
7609 for ac_c_preproc_warn_flag in '' yes
7610 do
7611   # Use a header file that comes with gcc, so configuring glibc
7612   # with a fresh cross-compiler works.
7613   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7614   # <limits.h> exists even on freestanding compilers.
7615   # On the NeXT, cc -E runs the code through the compiler's parser,
7616   # not just through cpp. "Syntax error" is here to catch this case.
7617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7618 /* end confdefs.h.  */
7619 #ifdef __STDC__
7620 # include <limits.h>
7621 #else
7622 # include <assert.h>
7623 #endif
7624                      Syntax error
7625 _ACEOF
7626 if ac_fn_c_try_cpp "$LINENO"; then :
7627
7628 else
7629   # Broken: fails on valid input.
7630 continue
7631 fi
7632 rm -f conftest.err conftest.$ac_ext
7633
7634   # OK, works on sane cases.  Now check whether nonexistent headers
7635   # can be detected and how.
7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h.  */
7638 #include <ac_nonexistent.h>
7639 _ACEOF
7640 if ac_fn_c_try_cpp "$LINENO"; then :
7641   # Broken: success on invalid input.
7642 continue
7643 else
7644   # Passes both tests.
7645 ac_preproc_ok=:
7646 break
7647 fi
7648 rm -f conftest.err conftest.$ac_ext
7649
7650 done
7651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7652 rm -f conftest.err conftest.$ac_ext
7653 if $ac_preproc_ok; then :
7654   break
7655 fi
7656
7657     done
7658     ac_cv_prog_CPP=$CPP
7659
7660 fi
7661   CPP=$ac_cv_prog_CPP
7662 else
7663   ac_cv_prog_CPP=$CPP
7664 fi
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7666 $as_echo "$CPP" >&6; }
7667 ac_preproc_ok=false
7668 for ac_c_preproc_warn_flag in '' yes
7669 do
7670   # Use a header file that comes with gcc, so configuring glibc
7671   # with a fresh cross-compiler works.
7672   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7673   # <limits.h> exists even on freestanding compilers.
7674   # On the NeXT, cc -E runs the code through the compiler's parser,
7675   # not just through cpp. "Syntax error" is here to catch this case.
7676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677 /* end confdefs.h.  */
7678 #ifdef __STDC__
7679 # include <limits.h>
7680 #else
7681 # include <assert.h>
7682 #endif
7683                      Syntax error
7684 _ACEOF
7685 if ac_fn_c_try_cpp "$LINENO"; then :
7686
7687 else
7688   # Broken: fails on valid input.
7689 continue
7690 fi
7691 rm -f conftest.err conftest.$ac_ext
7692
7693   # OK, works on sane cases.  Now check whether nonexistent headers
7694   # can be detected and how.
7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7696 /* end confdefs.h.  */
7697 #include <ac_nonexistent.h>
7698 _ACEOF
7699 if ac_fn_c_try_cpp "$LINENO"; then :
7700   # Broken: success on invalid input.
7701 continue
7702 else
7703   # Passes both tests.
7704 ac_preproc_ok=:
7705 break
7706 fi
7707 rm -f conftest.err conftest.$ac_ext
7708
7709 done
7710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7711 rm -f conftest.err conftest.$ac_ext
7712 if $ac_preproc_ok; then :
7713
7714 else
7715   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7717 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7718 See \`config.log' for more details." "$LINENO" 5; }
7719 fi
7720
7721 ac_ext=c
7722 ac_cpp='$CPP $CPPFLAGS'
7723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7726
7727
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7729 $as_echo_n "checking for ANSI C header files... " >&6; }
7730 if test "${ac_cv_header_stdc+set}" = set; then :
7731   $as_echo_n "(cached) " >&6
7732 else
7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734 /* end confdefs.h.  */
7735 #include <stdlib.h>
7736 #include <stdarg.h>
7737 #include <string.h>
7738 #include <float.h>
7739
7740 int
7741 main ()
7742 {
7743
7744   ;
7745   return 0;
7746 }
7747 _ACEOF
7748 if ac_fn_c_try_compile "$LINENO"; then :
7749   ac_cv_header_stdc=yes
7750 else
7751   ac_cv_header_stdc=no
7752 fi
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754
7755 if test $ac_cv_header_stdc = yes; then
7756   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h.  */
7759 #include <string.h>
7760
7761 _ACEOF
7762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7763   $EGREP "memchr" >/dev/null 2>&1; then :
7764
7765 else
7766   ac_cv_header_stdc=no
7767 fi
7768 rm -f conftest*
7769
7770 fi
7771
7772 if test $ac_cv_header_stdc = yes; then
7773   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775 /* end confdefs.h.  */
7776 #include <stdlib.h>
7777
7778 _ACEOF
7779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7780   $EGREP "free" >/dev/null 2>&1; then :
7781
7782 else
7783   ac_cv_header_stdc=no
7784 fi
7785 rm -f conftest*
7786
7787 fi
7788
7789 if test $ac_cv_header_stdc = yes; then
7790   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7791   if test "$cross_compiling" = yes; then :
7792   :
7793 else
7794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h.  */
7796 #include <ctype.h>
7797 #include <stdlib.h>
7798 #if ((' ' & 0x0FF) == 0x020)
7799 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7800 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7801 #else
7802 # define ISLOWER(c) \
7803                    (('a' <= (c) && (c) <= 'i') \
7804                      || ('j' <= (c) && (c) <= 'r') \
7805                      || ('s' <= (c) && (c) <= 'z'))
7806 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7807 #endif
7808
7809 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7810 int
7811 main ()
7812 {
7813   int i;
7814   for (i = 0; i < 256; i++)
7815     if (XOR (islower (i), ISLOWER (i))
7816         || toupper (i) != TOUPPER (i))
7817       return 2;
7818   return 0;
7819 }
7820 _ACEOF
7821 if ac_fn_c_try_run "$LINENO"; then :
7822
7823 else
7824   ac_cv_header_stdc=no
7825 fi
7826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7827   conftest.$ac_objext conftest.beam conftest.$ac_ext
7828 fi
7829
7830 fi
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7833 $as_echo "$ac_cv_header_stdc" >&6; }
7834 if test $ac_cv_header_stdc = yes; then
7835
7836 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7837
7838 fi
7839
7840 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7841 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7842                   inttypes.h stdint.h unistd.h
7843 do :
7844   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7845 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7846 "
7847 eval as_val=\$$as_ac_Header
7848    if test "x$as_val" = x""yes; then :
7849   cat >>confdefs.h <<_ACEOF
7850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7851 _ACEOF
7852
7853 fi
7854
7855 done
7856
7857
7858 for ac_header in dlfcn.h
7859 do :
7860   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7861 "
7862 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7863   cat >>confdefs.h <<_ACEOF
7864 #define HAVE_DLFCN_H 1
7865 _ACEOF
7866
7867 fi
7868
7869 done
7870
7871
7872
7873
7874
7875 # Set options
7876
7877
7878
7879
7880   enable_win32_dll=no
7881
7882
7883             # Check whether --enable-shared was given.
7884 if test "${enable_shared+set}" = set; then :
7885   enableval=$enable_shared; p=${PACKAGE-default}
7886     case $enableval in
7887     yes) enable_shared=yes ;;
7888     no) enable_shared=no ;;
7889     *)
7890       enable_shared=no
7891       # Look at the argument we got.  We use all the common list separators.
7892       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7893       for pkg in $enableval; do
7894         IFS="$lt_save_ifs"
7895         if test "X$pkg" = "X$p"; then
7896           enable_shared=yes
7897         fi
7898       done
7899       IFS="$lt_save_ifs"
7900       ;;
7901     esac
7902 else
7903   enable_shared=yes
7904 fi
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914   # Check whether --enable-static was given.
7915 if test "${enable_static+set}" = set; then :
7916   enableval=$enable_static; p=${PACKAGE-default}
7917     case $enableval in
7918     yes) enable_static=yes ;;
7919     no) enable_static=no ;;
7920     *)
7921      enable_static=no
7922       # Look at the argument we got.  We use all the common list separators.
7923       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7924       for pkg in $enableval; do
7925         IFS="$lt_save_ifs"
7926         if test "X$pkg" = "X$p"; then
7927           enable_static=yes
7928         fi
7929       done
7930       IFS="$lt_save_ifs"
7931       ;;
7932     esac
7933 else
7934   enable_static=yes
7935 fi
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946 # Check whether --with-pic was given.
7947 if test "${with_pic+set}" = set; then :
7948   withval=$with_pic; pic_mode="$withval"
7949 else
7950   pic_mode=default
7951 fi
7952
7953
7954 test -z "$pic_mode" && pic_mode=default
7955
7956
7957
7958
7959
7960
7961
7962   # Check whether --enable-fast-install was given.
7963 if test "${enable_fast_install+set}" = set; then :
7964   enableval=$enable_fast_install; p=${PACKAGE-default}
7965     case $enableval in
7966     yes) enable_fast_install=yes ;;
7967     no) enable_fast_install=no ;;
7968     *)
7969       enable_fast_install=no
7970       # Look at the argument we got.  We use all the common list separators.
7971       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7972       for pkg in $enableval; do
7973         IFS="$lt_save_ifs"
7974         if test "X$pkg" = "X$p"; then
7975           enable_fast_install=yes
7976         fi
7977       done
7978       IFS="$lt_save_ifs"
7979       ;;
7980     esac
7981 else
7982   enable_fast_install=yes
7983 fi
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995 # This can be used to rebuild libtool when needed
7996 LIBTOOL_DEPS="$ltmain"
7997
7998 # Always use our own libtool.
7999 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026 test -z "$LN_S" && LN_S="ln -s"
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041 if test -n "${ZSH_VERSION+set}" ; then
8042    setopt NO_GLOB_SUBST
8043 fi
8044
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8046 $as_echo_n "checking for objdir... " >&6; }
8047 if test "${lt_cv_objdir+set}" = set; then :
8048   $as_echo_n "(cached) " >&6
8049 else
8050   rm -f .libs 2>/dev/null
8051 mkdir .libs 2>/dev/null
8052 if test -d .libs; then
8053   lt_cv_objdir=.libs
8054 else
8055   # MS-DOS does not allow filenames that begin with a dot.
8056   lt_cv_objdir=_libs
8057 fi
8058 rmdir .libs 2>/dev/null
8059 fi
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8061 $as_echo "$lt_cv_objdir" >&6; }
8062 objdir=$lt_cv_objdir
8063
8064
8065
8066
8067
8068 cat >>confdefs.h <<_ACEOF
8069 #define LT_OBJDIR "$lt_cv_objdir/"
8070 _ACEOF
8071
8072
8073
8074
8075 case $host_os in
8076 aix3*)
8077   # AIX sometimes has problems with the GCC collect2 program.  For some
8078   # reason, if we set the COLLECT_NAMES environment variable, the problems
8079   # vanish in a puff of smoke.
8080   if test "X${COLLECT_NAMES+set}" != Xset; then
8081     COLLECT_NAMES=
8082     export COLLECT_NAMES
8083   fi
8084   ;;
8085 esac
8086
8087 # Global variables:
8088 ofile=libtool
8089 can_build_shared=yes
8090
8091 # All known linkers require a `.a' archive for static linking (except MSVC,
8092 # which needs '.lib').
8093 libext=a
8094
8095 with_gnu_ld="$lt_cv_prog_gnu_ld"
8096
8097 old_CC="$CC"
8098 old_CFLAGS="$CFLAGS"
8099
8100 # Set sane defaults for various variables
8101 test -z "$CC" && CC=cc
8102 test -z "$LTCC" && LTCC=$CC
8103 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8104 test -z "$LD" && LD=ld
8105 test -z "$ac_objext" && ac_objext=o
8106
8107 for cc_temp in $compiler""; do
8108   case $cc_temp in
8109     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8110     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8111     \-*) ;;
8112     *) break;;
8113   esac
8114 done
8115 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8116
8117
8118 # Only perform the check for file, if the check method requires it
8119 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8120 case $deplibs_check_method in
8121 file_magic*)
8122   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8123     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8124 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8125 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8126   $as_echo_n "(cached) " >&6
8127 else
8128   case $MAGIC_CMD in
8129 [\\/*] |  ?:[\\/]*)
8130   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8131   ;;
8132 *)
8133   lt_save_MAGIC_CMD="$MAGIC_CMD"
8134   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8135   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8136   for ac_dir in $ac_dummy; do
8137     IFS="$lt_save_ifs"
8138     test -z "$ac_dir" && ac_dir=.
8139     if test -f $ac_dir/${ac_tool_prefix}file; then
8140       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8141       if test -n "$file_magic_test_file"; then
8142         case $deplibs_check_method in
8143         "file_magic "*)
8144           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8145           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8146           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8147             $EGREP "$file_magic_regex" > /dev/null; then
8148             :
8149           else
8150             cat <<_LT_EOF 1>&2
8151
8152 *** Warning: the command libtool uses to detect shared libraries,
8153 *** $file_magic_cmd, produces output that libtool cannot recognize.
8154 *** The result is that libtool may fail to recognize shared libraries
8155 *** as such.  This will affect the creation of libtool libraries that
8156 *** depend on shared libraries, but programs linked with such libtool
8157 *** libraries will work regardless of this problem.  Nevertheless, you
8158 *** may want to report the problem to your system manager and/or to
8159 *** bug-libtool@gnu.org
8160
8161 _LT_EOF
8162           fi ;;
8163         esac
8164       fi
8165       break
8166     fi
8167   done
8168   IFS="$lt_save_ifs"
8169   MAGIC_CMD="$lt_save_MAGIC_CMD"
8170   ;;
8171 esac
8172 fi
8173
8174 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8175 if test -n "$MAGIC_CMD"; then
8176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8177 $as_echo "$MAGIC_CMD" >&6; }
8178 else
8179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8181 fi
8182
8183
8184
8185
8186
8187 if test -z "$lt_cv_path_MAGIC_CMD"; then
8188   if test -n "$ac_tool_prefix"; then
8189     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8190 $as_echo_n "checking for file... " >&6; }
8191 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8192   $as_echo_n "(cached) " >&6
8193 else
8194   case $MAGIC_CMD in
8195 [\\/*] |  ?:[\\/]*)
8196   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8197   ;;
8198 *)
8199   lt_save_MAGIC_CMD="$MAGIC_CMD"
8200   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8201   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8202   for ac_dir in $ac_dummy; do
8203     IFS="$lt_save_ifs"
8204     test -z "$ac_dir" && ac_dir=.
8205     if test -f $ac_dir/file; then
8206       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8207       if test -n "$file_magic_test_file"; then
8208         case $deplibs_check_method in
8209         "file_magic "*)
8210           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8211           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8212           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8213             $EGREP "$file_magic_regex" > /dev/null; then
8214             :
8215           else
8216             cat <<_LT_EOF 1>&2
8217
8218 *** Warning: the command libtool uses to detect shared libraries,
8219 *** $file_magic_cmd, produces output that libtool cannot recognize.
8220 *** The result is that libtool may fail to recognize shared libraries
8221 *** as such.  This will affect the creation of libtool libraries that
8222 *** depend on shared libraries, but programs linked with such libtool
8223 *** libraries will work regardless of this problem.  Nevertheless, you
8224 *** may want to report the problem to your system manager and/or to
8225 *** bug-libtool@gnu.org
8226
8227 _LT_EOF
8228           fi ;;
8229         esac
8230       fi
8231       break
8232     fi
8233   done
8234   IFS="$lt_save_ifs"
8235   MAGIC_CMD="$lt_save_MAGIC_CMD"
8236   ;;
8237 esac
8238 fi
8239
8240 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8241 if test -n "$MAGIC_CMD"; then
8242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8243 $as_echo "$MAGIC_CMD" >&6; }
8244 else
8245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8246 $as_echo "no" >&6; }
8247 fi
8248
8249
8250   else
8251     MAGIC_CMD=:
8252   fi
8253 fi
8254
8255   fi
8256   ;;
8257 esac
8258
8259 # Use C for the default configuration in the libtool script
8260
8261 lt_save_CC="$CC"
8262 ac_ext=c
8263 ac_cpp='$CPP $CPPFLAGS'
8264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8267
8268
8269 # Source file extension for C test sources.
8270 ac_ext=c
8271
8272 # Object file extension for compiled C test sources.
8273 objext=o
8274 objext=$objext
8275
8276 # Code to be used in simple compile tests
8277 lt_simple_compile_test_code="int some_variable = 0;"
8278
8279 # Code to be used in simple link tests
8280 lt_simple_link_test_code='int main(){return(0);}'
8281
8282
8283
8284
8285
8286
8287
8288 # If no C compiler was specified, use CC.
8289 LTCC=${LTCC-"$CC"}
8290
8291 # If no C compiler flags were specified, use CFLAGS.
8292 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8293
8294 # Allow CC to be a program name with arguments.
8295 compiler=$CC
8296
8297 # Save the default compiler, since it gets overwritten when the other
8298 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8299 compiler_DEFAULT=$CC
8300
8301 # save warnings/boilerplate of simple test code
8302 ac_outfile=conftest.$ac_objext
8303 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8304 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8305 _lt_compiler_boilerplate=`cat conftest.err`
8306 $RM conftest*
8307
8308 ac_outfile=conftest.$ac_objext
8309 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8310 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8311 _lt_linker_boilerplate=`cat conftest.err`
8312 $RM -r conftest*
8313
8314
8315 ## CAVEAT EMPTOR:
8316 ## There is no encapsulation within the following macros, do not change
8317 ## the running order or otherwise move them around unless you know exactly
8318 ## what you are doing...
8319 if test -n "$compiler"; then
8320
8321 lt_prog_compiler_no_builtin_flag=
8322
8323 if test "$GCC" = yes; then
8324   case $cc_basename in
8325   nvcc*)
8326     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8327   *)
8328     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8329   esac
8330
8331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8332 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8333 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8334   $as_echo_n "(cached) " >&6
8335 else
8336   lt_cv_prog_compiler_rtti_exceptions=no
8337    ac_outfile=conftest.$ac_objext
8338    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8339    lt_compiler_flag="-fno-rtti -fno-exceptions"
8340    # Insert the option either (1) after the last *FLAGS variable, or
8341    # (2) before a word containing "conftest.", or (3) at the end.
8342    # Note that $ac_compile itself does not contain backslashes and begins
8343    # with a dollar sign (not a hyphen), so the echo should work correctly.
8344    # The option is referenced via a variable to avoid confusing sed.
8345    lt_compile=`echo "$ac_compile" | $SED \
8346    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8347    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8348    -e 's:$: $lt_compiler_flag:'`
8349    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8350    (eval "$lt_compile" 2>conftest.err)
8351    ac_status=$?
8352    cat conftest.err >&5
8353    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354    if (exit $ac_status) && test -s "$ac_outfile"; then
8355      # The compiler can only warn and ignore the option if not recognized
8356      # So say no if there are warnings other than the usual output.
8357      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8358      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8359      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8360        lt_cv_prog_compiler_rtti_exceptions=yes
8361      fi
8362    fi
8363    $RM conftest*
8364
8365 fi
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8367 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8368
8369 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8370     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8371 else
8372     :
8373 fi
8374
8375 fi
8376
8377
8378
8379
8380
8381
8382   lt_prog_compiler_wl=
8383 lt_prog_compiler_pic=
8384 lt_prog_compiler_static=
8385
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8387 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8388
8389   if test "$GCC" = yes; then
8390     lt_prog_compiler_wl='-Wl,'
8391     lt_prog_compiler_static='-static'
8392
8393     case $host_os in
8394       aix*)
8395       # All AIX code is PIC.
8396       if test "$host_cpu" = ia64; then
8397         # AIX 5 now supports IA64 processor
8398         lt_prog_compiler_static='-Bstatic'
8399       fi
8400       ;;
8401
8402     amigaos*)
8403       case $host_cpu in
8404       powerpc)
8405             # see comment about AmigaOS4 .so support
8406             lt_prog_compiler_pic='-fPIC'
8407         ;;
8408       m68k)
8409             # FIXME: we need at least 68020 code to build shared libraries, but
8410             # adding the `-m68020' flag to GCC prevents building anything better,
8411             # like `-m68040'.
8412             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8413         ;;
8414       esac
8415       ;;
8416
8417     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8418       # PIC is the default for these OSes.
8419       ;;
8420
8421     mingw* | cygwin* | pw32* | os2* | cegcc*)
8422       # This hack is so that the source file can tell whether it is being
8423       # built for inclusion in a dll (and should export symbols for example).
8424       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8425       # (--disable-auto-import) libraries
8426       lt_prog_compiler_pic='-DDLL_EXPORT'
8427       ;;
8428
8429     darwin* | rhapsody*)
8430       # PIC is the default on this platform
8431       # Common symbols not allowed in MH_DYLIB files
8432       lt_prog_compiler_pic='-fno-common'
8433       ;;
8434
8435     haiku*)
8436       # PIC is the default for Haiku.
8437       # The "-static" flag exists, but is broken.
8438       lt_prog_compiler_static=
8439       ;;
8440
8441     hpux*)
8442       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8443       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8444       # sets the default TLS model and affects inlining.
8445       case $host_cpu in
8446       hppa*64*)
8447         # +Z the default
8448         ;;
8449       *)
8450         lt_prog_compiler_pic='-fPIC'
8451         ;;
8452       esac
8453       ;;
8454
8455     interix[3-9]*)
8456       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8457       # Instead, we relocate shared libraries at runtime.
8458       ;;
8459
8460     msdosdjgpp*)
8461       # Just because we use GCC doesn't mean we suddenly get shared libraries
8462       # on systems that don't support them.
8463       lt_prog_compiler_can_build_shared=no
8464       enable_shared=no
8465       ;;
8466
8467     *nto* | *qnx*)
8468       # QNX uses GNU C++, but need to define -shared option too, otherwise
8469       # it will coredump.
8470       lt_prog_compiler_pic='-fPIC -shared'
8471       ;;
8472
8473     sysv4*MP*)
8474       if test -d /usr/nec; then
8475         lt_prog_compiler_pic=-Kconform_pic
8476       fi
8477       ;;
8478
8479     *)
8480       lt_prog_compiler_pic='-fPIC'
8481       ;;
8482     esac
8483
8484     case $cc_basename in
8485     nvcc*) # Cuda Compiler Driver 2.2
8486       lt_prog_compiler_wl='-Xlinker '
8487       lt_prog_compiler_pic='-Xcompiler -fPIC'
8488       ;;
8489     esac
8490   else
8491     # PORTME Check for flag to pass linker flags through the system compiler.
8492     case $host_os in
8493     aix*)
8494       lt_prog_compiler_wl='-Wl,'
8495       if test "$host_cpu" = ia64; then
8496         # AIX 5 now supports IA64 processor
8497         lt_prog_compiler_static='-Bstatic'
8498       else
8499         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8500       fi
8501       ;;
8502
8503     mingw* | cygwin* | pw32* | os2* | cegcc*)
8504       # This hack is so that the source file can tell whether it is being
8505       # built for inclusion in a dll (and should export symbols for example).
8506       lt_prog_compiler_pic='-DDLL_EXPORT'
8507       ;;
8508
8509     hpux9* | hpux10* | hpux11*)
8510       lt_prog_compiler_wl='-Wl,'
8511       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8512       # not for PA HP-UX.
8513       case $host_cpu in
8514       hppa*64*|ia64*)
8515         # +Z the default
8516         ;;
8517       *)
8518         lt_prog_compiler_pic='+Z'
8519         ;;
8520       esac
8521       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8522       lt_prog_compiler_static='${wl}-a ${wl}archive'
8523       ;;
8524
8525     irix5* | irix6* | nonstopux*)
8526       lt_prog_compiler_wl='-Wl,'
8527       # PIC (with -KPIC) is the default.
8528       lt_prog_compiler_static='-non_shared'
8529       ;;
8530
8531     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8532       case $cc_basename in
8533       # old Intel for x86_64 which still supported -KPIC.
8534       ecc*)
8535         lt_prog_compiler_wl='-Wl,'
8536         lt_prog_compiler_pic='-KPIC'
8537         lt_prog_compiler_static='-static'
8538         ;;
8539       # icc used to be incompatible with GCC.
8540       # ICC 10 doesn't accept -KPIC any more.
8541       icc* | ifort*)
8542         lt_prog_compiler_wl='-Wl,'
8543         lt_prog_compiler_pic='-fPIC'
8544         lt_prog_compiler_static='-static'
8545         ;;
8546       # Lahey Fortran 8.1.
8547       lf95*)
8548         lt_prog_compiler_wl='-Wl,'
8549         lt_prog_compiler_pic='--shared'
8550         lt_prog_compiler_static='--static'
8551         ;;
8552       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8553         # Portland Group compilers (*not* the Pentium gcc compiler,
8554         # which looks to be a dead project)
8555         lt_prog_compiler_wl='-Wl,'
8556         lt_prog_compiler_pic='-fpic'
8557         lt_prog_compiler_static='-Bstatic'
8558         ;;
8559       ccc*)
8560         lt_prog_compiler_wl='-Wl,'
8561         # All Alpha code is PIC.
8562         lt_prog_compiler_static='-non_shared'
8563         ;;
8564       xl* | bgxl* | bgf* | mpixl*)
8565         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8566         lt_prog_compiler_wl='-Wl,'
8567         lt_prog_compiler_pic='-qpic'
8568         lt_prog_compiler_static='-qstaticlink'
8569         ;;
8570       *)
8571         case `$CC -V 2>&1 | sed 5q` in
8572         *Sun\ F* | *Sun*Fortran*)
8573           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8574           lt_prog_compiler_pic='-KPIC'
8575           lt_prog_compiler_static='-Bstatic'
8576           lt_prog_compiler_wl=''
8577           ;;
8578         *Sun\ C*)
8579           # Sun C 5.9
8580           lt_prog_compiler_pic='-KPIC'
8581           lt_prog_compiler_static='-Bstatic'
8582           lt_prog_compiler_wl='-Wl,'
8583           ;;
8584         esac
8585         ;;
8586       esac
8587       ;;
8588
8589     newsos6)
8590       lt_prog_compiler_pic='-KPIC'
8591       lt_prog_compiler_static='-Bstatic'
8592       ;;
8593
8594     *nto* | *qnx*)
8595       # QNX uses GNU C++, but need to define -shared option too, otherwise
8596       # it will coredump.
8597       lt_prog_compiler_pic='-fPIC -shared'
8598       ;;
8599
8600     osf3* | osf4* | osf5*)
8601       lt_prog_compiler_wl='-Wl,'
8602       # All OSF/1 code is PIC.
8603       lt_prog_compiler_static='-non_shared'
8604       ;;
8605
8606     rdos*)
8607       lt_prog_compiler_static='-non_shared'
8608       ;;
8609
8610     solaris*)
8611       lt_prog_compiler_pic='-KPIC'
8612       lt_prog_compiler_static='-Bstatic'
8613       case $cc_basename in
8614       f77* | f90* | f95*)
8615         lt_prog_compiler_wl='-Qoption ld ';;
8616       *)
8617         lt_prog_compiler_wl='-Wl,';;
8618       esac
8619       ;;
8620
8621     sunos4*)
8622       lt_prog_compiler_wl='-Qoption ld '
8623       lt_prog_compiler_pic='-PIC'
8624       lt_prog_compiler_static='-Bstatic'
8625       ;;
8626
8627     sysv4 | sysv4.2uw2* | sysv4.3*)
8628       lt_prog_compiler_wl='-Wl,'
8629       lt_prog_compiler_pic='-KPIC'
8630       lt_prog_compiler_static='-Bstatic'
8631       ;;
8632
8633     sysv4*MP*)
8634       if test -d /usr/nec ;then
8635         lt_prog_compiler_pic='-Kconform_pic'
8636         lt_prog_compiler_static='-Bstatic'
8637       fi
8638       ;;
8639
8640     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8641       lt_prog_compiler_wl='-Wl,'
8642       lt_prog_compiler_pic='-KPIC'
8643       lt_prog_compiler_static='-Bstatic'
8644       ;;
8645
8646     unicos*)
8647       lt_prog_compiler_wl='-Wl,'
8648       lt_prog_compiler_can_build_shared=no
8649       ;;
8650
8651     uts4*)
8652       lt_prog_compiler_pic='-pic'
8653       lt_prog_compiler_static='-Bstatic'
8654       ;;
8655
8656     *)
8657       lt_prog_compiler_can_build_shared=no
8658       ;;
8659     esac
8660   fi
8661
8662 case $host_os in
8663   # For platforms which do not support PIC, -DPIC is meaningless:
8664   *djgpp*)
8665     lt_prog_compiler_pic=
8666     ;;
8667   *)
8668     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8669     ;;
8670 esac
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8672 $as_echo "$lt_prog_compiler_pic" >&6; }
8673
8674
8675
8676
8677
8678
8679 #
8680 # Check to make sure the PIC flag actually works.
8681 #
8682 if test -n "$lt_prog_compiler_pic"; then
8683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8684 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8685 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8686   $as_echo_n "(cached) " >&6
8687 else
8688   lt_cv_prog_compiler_pic_works=no
8689    ac_outfile=conftest.$ac_objext
8690    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8691    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8692    # Insert the option either (1) after the last *FLAGS variable, or
8693    # (2) before a word containing "conftest.", or (3) at the end.
8694    # Note that $ac_compile itself does not contain backslashes and begins
8695    # with a dollar sign (not a hyphen), so the echo should work correctly.
8696    # The option is referenced via a variable to avoid confusing sed.
8697    lt_compile=`echo "$ac_compile" | $SED \
8698    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8699    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8700    -e 's:$: $lt_compiler_flag:'`
8701    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8702    (eval "$lt_compile" 2>conftest.err)
8703    ac_status=$?
8704    cat conftest.err >&5
8705    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706    if (exit $ac_status) && test -s "$ac_outfile"; then
8707      # The compiler can only warn and ignore the option if not recognized
8708      # So say no if there are warnings other than the usual output.
8709      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8710      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8711      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8712        lt_cv_prog_compiler_pic_works=yes
8713      fi
8714    fi
8715    $RM conftest*
8716
8717 fi
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8719 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8720
8721 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8722     case $lt_prog_compiler_pic in
8723      "" | " "*) ;;
8724      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8725      esac
8726 else
8727     lt_prog_compiler_pic=
8728      lt_prog_compiler_can_build_shared=no
8729 fi
8730
8731 fi
8732
8733
8734
8735
8736
8737
8738 #
8739 # Check to make sure the static flag actually works.
8740 #
8741 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8743 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8744 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8745   $as_echo_n "(cached) " >&6
8746 else
8747   lt_cv_prog_compiler_static_works=no
8748    save_LDFLAGS="$LDFLAGS"
8749    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8750    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8751    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8752      # The linker can only warn and ignore the option if not recognized
8753      # So say no if there are warnings
8754      if test -s conftest.err; then
8755        # Append any errors to the config.log.
8756        cat conftest.err 1>&5
8757        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8758        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8759        if diff conftest.exp conftest.er2 >/dev/null; then
8760          lt_cv_prog_compiler_static_works=yes
8761        fi
8762      else
8763        lt_cv_prog_compiler_static_works=yes
8764      fi
8765    fi
8766    $RM -r conftest*
8767    LDFLAGS="$save_LDFLAGS"
8768
8769 fi
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8771 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8772
8773 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8774     :
8775 else
8776     lt_prog_compiler_static=
8777 fi
8778
8779
8780
8781
8782
8783
8784
8785   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8786 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8787 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8788   $as_echo_n "(cached) " >&6
8789 else
8790   lt_cv_prog_compiler_c_o=no
8791    $RM -r conftest 2>/dev/null
8792    mkdir conftest
8793    cd conftest
8794    mkdir out
8795    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8796
8797    lt_compiler_flag="-o out/conftest2.$ac_objext"
8798    # Insert the option either (1) after the last *FLAGS variable, or
8799    # (2) before a word containing "conftest.", or (3) at the end.
8800    # Note that $ac_compile itself does not contain backslashes and begins
8801    # with a dollar sign (not a hyphen), so the echo should work correctly.
8802    lt_compile=`echo "$ac_compile" | $SED \
8803    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8804    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8805    -e 's:$: $lt_compiler_flag:'`
8806    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8807    (eval "$lt_compile" 2>out/conftest.err)
8808    ac_status=$?
8809    cat out/conftest.err >&5
8810    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8812    then
8813      # The compiler can only warn and ignore the option if not recognized
8814      # So say no if there are warnings
8815      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8816      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8817      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8818        lt_cv_prog_compiler_c_o=yes
8819      fi
8820    fi
8821    chmod u+w . 2>&5
8822    $RM conftest*
8823    # SGI C++ compiler will create directory out/ii_files/ for
8824    # template instantiation
8825    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8826    $RM out/* && rmdir out
8827    cd ..
8828    $RM -r conftest
8829    $RM conftest*
8830
8831 fi
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8833 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8834
8835
8836
8837
8838
8839
8840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8841 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8842 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8843   $as_echo_n "(cached) " >&6
8844 else
8845   lt_cv_prog_compiler_c_o=no
8846    $RM -r conftest 2>/dev/null
8847    mkdir conftest
8848    cd conftest
8849    mkdir out
8850    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8851
8852    lt_compiler_flag="-o out/conftest2.$ac_objext"
8853    # Insert the option either (1) after the last *FLAGS variable, or
8854    # (2) before a word containing "conftest.", or (3) at the end.
8855    # Note that $ac_compile itself does not contain backslashes and begins
8856    # with a dollar sign (not a hyphen), so the echo should work correctly.
8857    lt_compile=`echo "$ac_compile" | $SED \
8858    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8859    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8860    -e 's:$: $lt_compiler_flag:'`
8861    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8862    (eval "$lt_compile" 2>out/conftest.err)
8863    ac_status=$?
8864    cat out/conftest.err >&5
8865    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8867    then
8868      # The compiler can only warn and ignore the option if not recognized
8869      # So say no if there are warnings
8870      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8871      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8872      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8873        lt_cv_prog_compiler_c_o=yes
8874      fi
8875    fi
8876    chmod u+w . 2>&5
8877    $RM conftest*
8878    # SGI C++ compiler will create directory out/ii_files/ for
8879    # template instantiation
8880    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8881    $RM out/* && rmdir out
8882    cd ..
8883    $RM -r conftest
8884    $RM conftest*
8885
8886 fi
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8888 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8889
8890
8891
8892
8893 hard_links="nottested"
8894 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8895   # do not overwrite the value of need_locks provided by the user
8896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8897 $as_echo_n "checking if we can lock with hard links... " >&6; }
8898   hard_links=yes
8899   $RM conftest*
8900   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8901   touch conftest.a
8902   ln conftest.a conftest.b 2>&5 || hard_links=no
8903   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8905 $as_echo "$hard_links" >&6; }
8906   if test "$hard_links" = no; then
8907     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8908 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8909     need_locks=warn
8910   fi
8911 else
8912   need_locks=no
8913 fi
8914
8915
8916
8917
8918
8919
8920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8921 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8922
8923   runpath_var=
8924   allow_undefined_flag=
8925   always_export_symbols=no
8926   archive_cmds=
8927   archive_expsym_cmds=
8928   compiler_needs_object=no
8929   enable_shared_with_static_runtimes=no
8930   export_dynamic_flag_spec=
8931   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8932   hardcode_automatic=no
8933   hardcode_direct=no
8934   hardcode_direct_absolute=no
8935   hardcode_libdir_flag_spec=
8936   hardcode_libdir_flag_spec_ld=
8937   hardcode_libdir_separator=
8938   hardcode_minus_L=no
8939   hardcode_shlibpath_var=unsupported
8940   inherit_rpath=no
8941   link_all_deplibs=unknown
8942   module_cmds=
8943   module_expsym_cmds=
8944   old_archive_from_new_cmds=
8945   old_archive_from_expsyms_cmds=
8946   thread_safe_flag_spec=
8947   whole_archive_flag_spec=
8948   # include_expsyms should be a list of space-separated symbols to be *always*
8949   # included in the symbol list
8950   include_expsyms=
8951   # exclude_expsyms can be an extended regexp of symbols to exclude
8952   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8953   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8954   # as well as any symbol that contains `d'.
8955   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8956   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8957   # platforms (ab)use it in PIC code, but their linkers get confused if
8958   # the symbol is explicitly referenced.  Since portable code cannot
8959   # rely on this symbol name, it's probably fine to never include it in
8960   # preloaded symbol tables.
8961   # Exclude shared library initialization/finalization symbols.
8962   extract_expsyms_cmds=
8963
8964   case $host_os in
8965   cygwin* | mingw* | pw32* | cegcc*)
8966     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8967     # When not using gcc, we currently assume that we are using
8968     # Microsoft Visual C++.
8969     if test "$GCC" != yes; then
8970       with_gnu_ld=no
8971     fi
8972     ;;
8973   interix*)
8974     # we just hope/assume this is gcc and not c89 (= MSVC++)
8975     with_gnu_ld=yes
8976     ;;
8977   openbsd*)
8978     with_gnu_ld=no
8979     ;;
8980   esac
8981
8982   ld_shlibs=yes
8983
8984   # On some targets, GNU ld is compatible enough with the native linker
8985   # that we're better off using the native interface for both.
8986   lt_use_gnu_ld_interface=no
8987   if test "$with_gnu_ld" = yes; then
8988     case $host_os in
8989       aix*)
8990         # The AIX port of GNU ld has always aspired to compatibility
8991         # with the native linker.  However, as the warning in the GNU ld
8992         # block says, versions before 2.19.5* couldn't really create working
8993         # shared libraries, regardless of the interface used.
8994         case `$LD -v 2>&1` in
8995           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8996           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8997           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8998           *)
8999             lt_use_gnu_ld_interface=yes
9000             ;;
9001         esac
9002         ;;
9003       *)
9004         lt_use_gnu_ld_interface=yes
9005         ;;
9006     esac
9007   fi
9008
9009   if test "$lt_use_gnu_ld_interface" = yes; then
9010     # If archive_cmds runs LD, not CC, wlarc should be empty
9011     wlarc='${wl}'
9012
9013     # Set some defaults for GNU ld with shared library support. These
9014     # are reset later if shared libraries are not supported. Putting them
9015     # here allows them to be overridden if necessary.
9016     runpath_var=LD_RUN_PATH
9017     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9018     export_dynamic_flag_spec='${wl}--export-dynamic'
9019     # ancient GNU ld didn't support --whole-archive et. al.
9020     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9021       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9022     else
9023       whole_archive_flag_spec=
9024     fi
9025     supports_anon_versioning=no
9026     case `$LD -v 2>&1` in
9027       *GNU\ gold*) supports_anon_versioning=yes ;;
9028       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9029       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9030       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9031       *\ 2.11.*) ;; # other 2.11 versions
9032       *) supports_anon_versioning=yes ;;
9033     esac
9034
9035     # See if GNU ld supports shared libraries.
9036     case $host_os in
9037     aix[3-9]*)
9038       # On AIX/PPC, the GNU linker is very broken
9039       if test "$host_cpu" != ia64; then
9040         ld_shlibs=no
9041         cat <<_LT_EOF 1>&2
9042
9043 *** Warning: the GNU linker, at least up to release 2.19, is reported
9044 *** to be unable to reliably create shared libraries on AIX.
9045 *** Therefore, libtool is disabling shared libraries support.  If you
9046 *** really care for shared libraries, you may want to install binutils
9047 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9048 *** You will then need to restart the configuration process.
9049
9050 _LT_EOF
9051       fi
9052       ;;
9053
9054     amigaos*)
9055       case $host_cpu in
9056       powerpc)
9057             # see comment about AmigaOS4 .so support
9058             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9059             archive_expsym_cmds=''
9060         ;;
9061       m68k)
9062             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)'
9063             hardcode_libdir_flag_spec='-L$libdir'
9064             hardcode_minus_L=yes
9065         ;;
9066       esac
9067       ;;
9068
9069     beos*)
9070       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9071         allow_undefined_flag=unsupported
9072         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9073         # support --undefined.  This deserves some investigation.  FIXME
9074         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9075       else
9076         ld_shlibs=no
9077       fi
9078       ;;
9079
9080     cygwin* | mingw* | pw32* | cegcc*)
9081       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9082       # as there is no search path for DLLs.
9083       hardcode_libdir_flag_spec='-L$libdir'
9084       export_dynamic_flag_spec='${wl}--export-all-symbols'
9085       allow_undefined_flag=unsupported
9086       always_export_symbols=no
9087       enable_shared_with_static_runtimes=yes
9088       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9089
9090       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9091         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9092         # If the export-symbols file already is a .def file (1st line
9093         # is EXPORTS), use it as is; otherwise, prepend...
9094         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9095           cp $export_symbols $output_objdir/$soname.def;
9096         else
9097           echo EXPORTS > $output_objdir/$soname.def;
9098           cat $export_symbols >> $output_objdir/$soname.def;
9099         fi~
9100         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9101       else
9102         ld_shlibs=no
9103       fi
9104       ;;
9105
9106     haiku*)
9107       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108       link_all_deplibs=yes
9109       ;;
9110
9111     interix[3-9]*)
9112       hardcode_direct=no
9113       hardcode_shlibpath_var=no
9114       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9115       export_dynamic_flag_spec='${wl}-E'
9116       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9117       # Instead, shared libraries are loaded at an image base (0x10000000 by
9118       # default) and relocated if they conflict, which is a slow very memory
9119       # consuming and fragmenting process.  To avoid this, we pick a random,
9120       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9121       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9122       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9123       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'
9124       ;;
9125
9126     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9127       tmp_diet=no
9128       if test "$host_os" = linux-dietlibc; then
9129         case $cc_basename in
9130           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9131         esac
9132       fi
9133       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9134          && test "$tmp_diet" = no
9135       then
9136         tmp_addflag=
9137         tmp_sharedflag='-shared'
9138         case $cc_basename,$host_cpu in
9139         pgcc*)                          # Portland Group C compiler
9140           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'
9141           tmp_addflag=' $pic_flag'
9142           ;;
9143         pgf77* | pgf90* | pgf95* | pgfortran*)
9144                                         # Portland Group f77 and f90 compilers
9145           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'
9146           tmp_addflag=' $pic_flag -Mnomain' ;;
9147         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9148           tmp_addflag=' -i_dynamic' ;;
9149         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9150           tmp_addflag=' -i_dynamic -nofor_main' ;;
9151         ifc* | ifort*)                  # Intel Fortran compiler
9152           tmp_addflag=' -nofor_main' ;;
9153         lf95*)                          # Lahey Fortran 8.1
9154           whole_archive_flag_spec=
9155           tmp_sharedflag='--shared' ;;
9156         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9157           tmp_sharedflag='-qmkshrobj'
9158           tmp_addflag= ;;
9159         nvcc*)  # Cuda Compiler Driver 2.2
9160           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'
9161           compiler_needs_object=yes
9162           ;;
9163         esac
9164         case `$CC -V 2>&1 | sed 5q` in
9165         *Sun\ C*)                       # Sun C 5.9
9166           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'
9167           compiler_needs_object=yes
9168           tmp_sharedflag='-G' ;;
9169         *Sun\ F*)                       # Sun Fortran 8.3
9170           tmp_sharedflag='-G' ;;
9171         esac
9172         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9173
9174         if test "x$supports_anon_versioning" = xyes; then
9175           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9176             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9177             echo "local: *; };" >> $output_objdir/$libname.ver~
9178             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9179         fi
9180
9181         case $cc_basename in
9182         xlf* | bgf* | bgxlf* | mpixlf*)
9183           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9184           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9185           hardcode_libdir_flag_spec=
9186           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9187           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9188           if test "x$supports_anon_versioning" = xyes; then
9189             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9190               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9191               echo "local: *; };" >> $output_objdir/$libname.ver~
9192               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9193           fi
9194           ;;
9195         esac
9196       else
9197         ld_shlibs=no
9198       fi
9199       ;;
9200
9201     netbsd*)
9202       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9203         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9204         wlarc=
9205       else
9206         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9207         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9208       fi
9209       ;;
9210
9211     solaris*)
9212       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9213         ld_shlibs=no
9214         cat <<_LT_EOF 1>&2
9215
9216 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9217 *** create shared libraries on Solaris systems.  Therefore, libtool
9218 *** is disabling shared libraries support.  We urge you to upgrade GNU
9219 *** binutils to release 2.9.1 or newer.  Another option is to modify
9220 *** your PATH or compiler configuration so that the native linker is
9221 *** used, and then restart.
9222
9223 _LT_EOF
9224       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9225         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9227       else
9228         ld_shlibs=no
9229       fi
9230       ;;
9231
9232     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9233       case `$LD -v 2>&1` in
9234         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9235         ld_shlibs=no
9236         cat <<_LT_EOF 1>&2
9237
9238 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9239 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9240 *** is disabling shared libraries support.  We urge you to upgrade GNU
9241 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9242 *** your PATH or compiler configuration so that the native linker is
9243 *** used, and then restart.
9244
9245 _LT_EOF
9246         ;;
9247         *)
9248           # For security reasons, it is highly recommended that you always
9249           # use absolute paths for naming shared libraries, and exclude the
9250           # DT_RUNPATH tag from executables and libraries.  But doing so
9251           # requires that you compile everything twice, which is a pain.
9252           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9253             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9254             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9256           else
9257             ld_shlibs=no
9258           fi
9259         ;;
9260       esac
9261       ;;
9262
9263     sunos4*)
9264       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9265       wlarc=
9266       hardcode_direct=yes
9267       hardcode_shlibpath_var=no
9268       ;;
9269
9270     *)
9271       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9272         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9274       else
9275         ld_shlibs=no
9276       fi
9277       ;;
9278     esac
9279
9280     if test "$ld_shlibs" = no; then
9281       runpath_var=
9282       hardcode_libdir_flag_spec=
9283       export_dynamic_flag_spec=
9284       whole_archive_flag_spec=
9285     fi
9286   else
9287     # PORTME fill in a description of your system's linker (not GNU ld)
9288     case $host_os in
9289     aix3*)
9290       allow_undefined_flag=unsupported
9291       always_export_symbols=yes
9292       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'
9293       # Note: this linker hardcodes the directories in LIBPATH if there
9294       # are no directories specified by -L.
9295       hardcode_minus_L=yes
9296       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9297         # Neither direct hardcoding nor static linking is supported with a
9298         # broken collect2.
9299         hardcode_direct=unsupported
9300       fi
9301       ;;
9302
9303     aix[4-9]*)
9304       if test "$host_cpu" = ia64; then
9305         # On IA64, the linker does run time linking by default, so we don't
9306         # have to do anything special.
9307         aix_use_runtimelinking=no
9308         exp_sym_flag='-Bexport'
9309         no_entry_flag=""
9310       else
9311         # If we're using GNU nm, then we don't want the "-C" option.
9312         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9313         # Also, AIX nm treats weak defined symbols like other global
9314         # defined symbols, whereas GNU nm marks them as "W".
9315         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9316           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'
9317         else
9318           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'
9319         fi
9320         aix_use_runtimelinking=no
9321
9322         # Test if we are trying to use run time linking or normal
9323         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9324         # need to do runtime linking.
9325         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9326           for ld_flag in $LDFLAGS; do
9327           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9328             aix_use_runtimelinking=yes
9329             break
9330           fi
9331           done
9332           ;;
9333         esac
9334
9335         exp_sym_flag='-bexport'
9336         no_entry_flag='-bnoentry'
9337       fi
9338
9339       # When large executables or shared objects are built, AIX ld can
9340       # have problems creating the table of contents.  If linking a library
9341       # or program results in "error TOC overflow" add -mminimal-toc to
9342       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9343       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9344
9345       archive_cmds=''
9346       hardcode_direct=yes
9347       hardcode_direct_absolute=yes
9348       hardcode_libdir_separator=':'
9349       link_all_deplibs=yes
9350       file_list_spec='${wl}-f,'
9351
9352       if test "$GCC" = yes; then
9353         case $host_os in aix4.[012]|aix4.[012].*)
9354         # We only want to do this on AIX 4.2 and lower, the check
9355         # below for broken collect2 doesn't work under 4.3+
9356           collect2name=`${CC} -print-prog-name=collect2`
9357           if test -f "$collect2name" &&
9358            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9359           then
9360           # We have reworked collect2
9361           :
9362           else
9363           # We have old collect2
9364           hardcode_direct=unsupported
9365           # It fails to find uninstalled libraries when the uninstalled
9366           # path is not listed in the libpath.  Setting hardcode_minus_L
9367           # to unsupported forces relinking
9368           hardcode_minus_L=yes
9369           hardcode_libdir_flag_spec='-L$libdir'
9370           hardcode_libdir_separator=
9371           fi
9372           ;;
9373         esac
9374         shared_flag='-shared'
9375         if test "$aix_use_runtimelinking" = yes; then
9376           shared_flag="$shared_flag "'${wl}-G'
9377         fi
9378       else
9379         # not using gcc
9380         if test "$host_cpu" = ia64; then
9381         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9382         # chokes on -Wl,-G. The following line is correct:
9383           shared_flag='-G'
9384         else
9385           if test "$aix_use_runtimelinking" = yes; then
9386             shared_flag='${wl}-G'
9387           else
9388             shared_flag='${wl}-bM:SRE'
9389           fi
9390         fi
9391       fi
9392
9393       export_dynamic_flag_spec='${wl}-bexpall'
9394       # It seems that -bexpall does not export symbols beginning with
9395       # underscore (_), so it is better to generate a list of symbols to export.
9396       always_export_symbols=yes
9397       if test "$aix_use_runtimelinking" = yes; then
9398         # Warning - without using the other runtime loading flags (-brtl),
9399         # -berok will link without error, but may produce a broken library.
9400         allow_undefined_flag='-berok'
9401         # Determine the default libpath from the value encoded in an
9402         # empty executable.
9403         if test x$gcc_no_link = xyes; then
9404   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9405 fi
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h.  */
9408
9409 int
9410 main ()
9411 {
9412
9413   ;
9414   return 0;
9415 }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418
9419 lt_aix_libpath_sed='
9420     /Import File Strings/,/^$/ {
9421         /^0/ {
9422             s/^0  *\(.*\)$/\1/
9423             p
9424         }
9425     }'
9426 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9427 # Check for a 64-bit object if we didn't find anything.
9428 if test -z "$aix_libpath"; then
9429   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9430 fi
9431 fi
9432 rm -f core conftest.err conftest.$ac_objext \
9433     conftest$ac_exeext conftest.$ac_ext
9434 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9435
9436         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9437         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"
9438       else
9439         if test "$host_cpu" = ia64; then
9440           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9441           allow_undefined_flag="-z nodefs"
9442           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"
9443         else
9444          # Determine the default libpath from the value encoded in an
9445          # empty executable.
9446          if test x$gcc_no_link = xyes; then
9447   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9448 fi
9449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9450 /* end confdefs.h.  */
9451
9452 int
9453 main ()
9454 {
9455
9456   ;
9457   return 0;
9458 }
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461
9462 lt_aix_libpath_sed='
9463     /Import File Strings/,/^$/ {
9464         /^0/ {
9465             s/^0  *\(.*\)$/\1/
9466             p
9467         }
9468     }'
9469 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9470 # Check for a 64-bit object if we didn't find anything.
9471 if test -z "$aix_libpath"; then
9472   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9473 fi
9474 fi
9475 rm -f core conftest.err conftest.$ac_objext \
9476     conftest$ac_exeext conftest.$ac_ext
9477 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9478
9479          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9480           # Warning - without using the other run time loading flags,
9481           # -berok will link without error, but may produce a broken library.
9482           no_undefined_flag=' ${wl}-bernotok'
9483           allow_undefined_flag=' ${wl}-berok'
9484           if test "$with_gnu_ld" = yes; then
9485             # We only use this code for GNU lds that support --whole-archive.
9486             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9487           else
9488             # Exported symbols can be pulled into shared objects from archives
9489             whole_archive_flag_spec='$convenience'
9490           fi
9491           archive_cmds_need_lc=yes
9492           # This is similar to how AIX traditionally builds its shared libraries.
9493           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'
9494         fi
9495       fi
9496       ;;
9497
9498     amigaos*)
9499       case $host_cpu in
9500       powerpc)
9501             # see comment about AmigaOS4 .so support
9502             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9503             archive_expsym_cmds=''
9504         ;;
9505       m68k)
9506             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)'
9507             hardcode_libdir_flag_spec='-L$libdir'
9508             hardcode_minus_L=yes
9509         ;;
9510       esac
9511       ;;
9512
9513     bsdi[45]*)
9514       export_dynamic_flag_spec=-rdynamic
9515       ;;
9516
9517     cygwin* | mingw* | pw32* | cegcc*)
9518       # When not using gcc, we currently assume that we are using
9519       # Microsoft Visual C++.
9520       # hardcode_libdir_flag_spec is actually meaningless, as there is
9521       # no search path for DLLs.
9522       hardcode_libdir_flag_spec=' '
9523       allow_undefined_flag=unsupported
9524       # Tell ltmain to make .lib files, not .a files.
9525       libext=lib
9526       # Tell ltmain to make .dll files, not .so files.
9527       shrext_cmds=".dll"
9528       # FIXME: Setting linknames here is a bad hack.
9529       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9530       # The linker will automatically build a .lib file if we build a DLL.
9531       old_archive_from_new_cmds='true'
9532       # FIXME: Should let the user specify the lib program.
9533       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9534       fix_srcfile_path='`cygpath -w "$srcfile"`'
9535       enable_shared_with_static_runtimes=yes
9536       ;;
9537
9538     darwin* | rhapsody*)
9539
9540
9541   archive_cmds_need_lc=no
9542   hardcode_direct=no
9543   hardcode_automatic=yes
9544   hardcode_shlibpath_var=unsupported
9545   if test "$lt_cv_ld_force_load" = "yes"; then
9546     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\"`'
9547   else
9548     whole_archive_flag_spec=''
9549   fi
9550   link_all_deplibs=yes
9551   allow_undefined_flag="$_lt_dar_allow_undefined"
9552   case $cc_basename in
9553      ifort*) _lt_dar_can_shared=yes ;;
9554      *) _lt_dar_can_shared=$GCC ;;
9555   esac
9556   if test "$_lt_dar_can_shared" = "yes"; then
9557     output_verbose_link_cmd=func_echo_all
9558     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9559     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9560     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}"
9561     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}"
9562
9563   else
9564   ld_shlibs=no
9565   fi
9566
9567       ;;
9568
9569     dgux*)
9570       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9571       hardcode_libdir_flag_spec='-L$libdir'
9572       hardcode_shlibpath_var=no
9573       ;;
9574
9575     freebsd1*)
9576       ld_shlibs=no
9577       ;;
9578
9579     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9580     # support.  Future versions do this automatically, but an explicit c++rt0.o
9581     # does not break anything, and helps significantly (at the cost of a little
9582     # extra space).
9583     freebsd2.2*)
9584       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9585       hardcode_libdir_flag_spec='-R$libdir'
9586       hardcode_direct=yes
9587       hardcode_shlibpath_var=no
9588       ;;
9589
9590     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9591     freebsd2*)
9592       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9593       hardcode_direct=yes
9594       hardcode_minus_L=yes
9595       hardcode_shlibpath_var=no
9596       ;;
9597
9598     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9599     freebsd* | dragonfly*)
9600       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9601       hardcode_libdir_flag_spec='-R$libdir'
9602       hardcode_direct=yes
9603       hardcode_shlibpath_var=no
9604       ;;
9605
9606     hpux9*)
9607       if test "$GCC" = yes; then
9608         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'
9609       else
9610         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'
9611       fi
9612       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9613       hardcode_libdir_separator=:
9614       hardcode_direct=yes
9615
9616       # hardcode_minus_L: Not really in the search PATH,
9617       # but as the default location of the library.
9618       hardcode_minus_L=yes
9619       export_dynamic_flag_spec='${wl}-E'
9620       ;;
9621
9622     hpux10*)
9623       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9624         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9625       else
9626         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9627       fi
9628       if test "$with_gnu_ld" = no; then
9629         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9630         hardcode_libdir_flag_spec_ld='+b $libdir'
9631         hardcode_libdir_separator=:
9632         hardcode_direct=yes
9633         hardcode_direct_absolute=yes
9634         export_dynamic_flag_spec='${wl}-E'
9635         # hardcode_minus_L: Not really in the search PATH,
9636         # but as the default location of the library.
9637         hardcode_minus_L=yes
9638       fi
9639       ;;
9640
9641     hpux11*)
9642       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9643         case $host_cpu in
9644         hppa*64*)
9645           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9646           ;;
9647         ia64*)
9648           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9649           ;;
9650         *)
9651           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9652           ;;
9653         esac
9654       else
9655         case $host_cpu in
9656         hppa*64*)
9657           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9658           ;;
9659         ia64*)
9660           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9661           ;;
9662         *)
9663
9664           # Older versions of the 11.00 compiler do not understand -b yet
9665           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9666           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9667 $as_echo_n "checking if $CC understands -b... " >&6; }
9668 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9669   $as_echo_n "(cached) " >&6
9670 else
9671   lt_cv_prog_compiler__b=no
9672    save_LDFLAGS="$LDFLAGS"
9673    LDFLAGS="$LDFLAGS -b"
9674    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9675    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9676      # The linker can only warn and ignore the option if not recognized
9677      # So say no if there are warnings
9678      if test -s conftest.err; then
9679        # Append any errors to the config.log.
9680        cat conftest.err 1>&5
9681        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9682        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9683        if diff conftest.exp conftest.er2 >/dev/null; then
9684          lt_cv_prog_compiler__b=yes
9685        fi
9686      else
9687        lt_cv_prog_compiler__b=yes
9688      fi
9689    fi
9690    $RM -r conftest*
9691    LDFLAGS="$save_LDFLAGS"
9692
9693 fi
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9695 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9696
9697 if test x"$lt_cv_prog_compiler__b" = xyes; then
9698     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9699 else
9700     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9701 fi
9702
9703           ;;
9704         esac
9705       fi
9706       if test "$with_gnu_ld" = no; then
9707         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9708         hardcode_libdir_separator=:
9709
9710         case $host_cpu in
9711         hppa*64*|ia64*)
9712           hardcode_direct=no
9713           hardcode_shlibpath_var=no
9714           ;;
9715         *)
9716           hardcode_direct=yes
9717           hardcode_direct_absolute=yes
9718           export_dynamic_flag_spec='${wl}-E'
9719
9720           # hardcode_minus_L: Not really in the search PATH,
9721           # but as the default location of the library.
9722           hardcode_minus_L=yes
9723           ;;
9724         esac
9725       fi
9726       ;;
9727
9728     irix5* | irix6* | nonstopux*)
9729       if test "$GCC" = yes; then
9730         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'
9731         # Try to use the -exported_symbol ld option, if it does not
9732         # work, assume that -exports_file does not work either and
9733         # implicitly export all symbols.
9734         save_LDFLAGS="$LDFLAGS"
9735         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9736         if test x$gcc_no_link = xyes; then
9737   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9738 fi
9739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9740 /* end confdefs.h.  */
9741 int foo(void) {}
9742 _ACEOF
9743 if ac_fn_c_try_link "$LINENO"; then :
9744   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'
9745
9746 fi
9747 rm -f core conftest.err conftest.$ac_objext \
9748     conftest$ac_exeext conftest.$ac_ext
9749         LDFLAGS="$save_LDFLAGS"
9750       else
9751         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'
9752         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'
9753       fi
9754       archive_cmds_need_lc='no'
9755       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9756       hardcode_libdir_separator=:
9757       inherit_rpath=yes
9758       link_all_deplibs=yes
9759       ;;
9760
9761     netbsd*)
9762       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9763         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9764       else
9765         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9766       fi
9767       hardcode_libdir_flag_spec='-R$libdir'
9768       hardcode_direct=yes
9769       hardcode_shlibpath_var=no
9770       ;;
9771
9772     newsos6)
9773       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9774       hardcode_direct=yes
9775       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9776       hardcode_libdir_separator=:
9777       hardcode_shlibpath_var=no
9778       ;;
9779
9780     *nto* | *qnx*)
9781       ;;
9782
9783     openbsd*)
9784       if test -f /usr/libexec/ld.so; then
9785         hardcode_direct=yes
9786         hardcode_shlibpath_var=no
9787         hardcode_direct_absolute=yes
9788         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9789           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9790           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9791           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9792           export_dynamic_flag_spec='${wl}-E'
9793         else
9794           case $host_os in
9795            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9796              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9797              hardcode_libdir_flag_spec='-R$libdir'
9798              ;;
9799            *)
9800              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9801              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9802              ;;
9803           esac
9804         fi
9805       else
9806         ld_shlibs=no
9807       fi
9808       ;;
9809
9810     os2*)
9811       hardcode_libdir_flag_spec='-L$libdir'
9812       hardcode_minus_L=yes
9813       allow_undefined_flag=unsupported
9814       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'
9815       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9816       ;;
9817
9818     osf3*)
9819       if test "$GCC" = yes; then
9820         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9821         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'
9822       else
9823         allow_undefined_flag=' -expect_unresolved \*'
9824         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'
9825       fi
9826       archive_cmds_need_lc='no'
9827       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9828       hardcode_libdir_separator=:
9829       ;;
9830
9831     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9832       if test "$GCC" = yes; then
9833         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9834         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'
9835         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9836       else
9837         allow_undefined_flag=' -expect_unresolved \*'
9838         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'
9839         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~
9840         $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'
9841
9842         # Both c and cxx compiler support -rpath directly
9843         hardcode_libdir_flag_spec='-rpath $libdir'
9844       fi
9845       archive_cmds_need_lc='no'
9846       hardcode_libdir_separator=:
9847       ;;
9848
9849     solaris*)
9850       no_undefined_flag=' -z defs'
9851       if test "$GCC" = yes; then
9852         wlarc='${wl}'
9853         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9854         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9855           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9856       else
9857         case `$CC -V 2>&1` in
9858         *"Compilers 5.0"*)
9859           wlarc=''
9860           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9861           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9862           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9863           ;;
9864         *)
9865           wlarc='${wl}'
9866           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9867           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9868           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9869           ;;
9870         esac
9871       fi
9872       hardcode_libdir_flag_spec='-R$libdir'
9873       hardcode_shlibpath_var=no
9874       case $host_os in
9875       solaris2.[0-5] | solaris2.[0-5].*) ;;
9876       *)
9877         # The compiler driver will combine and reorder linker options,
9878         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9879         # but is careful enough not to reorder.
9880         # Supported since Solaris 2.6 (maybe 2.5.1?)
9881         if test "$GCC" = yes; then
9882           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9883         else
9884           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9885         fi
9886         ;;
9887       esac
9888       link_all_deplibs=yes
9889       ;;
9890
9891     sunos4*)
9892       if test "x$host_vendor" = xsequent; then
9893         # Use $CC to link under sequent, because it throws in some extra .o
9894         # files that make .init and .fini sections work.
9895         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9896       else
9897         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9898       fi
9899       hardcode_libdir_flag_spec='-L$libdir'
9900       hardcode_direct=yes
9901       hardcode_minus_L=yes
9902       hardcode_shlibpath_var=no
9903       ;;
9904
9905     sysv4)
9906       case $host_vendor in
9907         sni)
9908           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9909           hardcode_direct=yes # is this really true???
9910         ;;
9911         siemens)
9912           ## LD is ld it makes a PLAMLIB
9913           ## CC just makes a GrossModule.
9914           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9915           reload_cmds='$CC -r -o $output$reload_objs'
9916           hardcode_direct=no
9917         ;;
9918         motorola)
9919           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9921         ;;
9922       esac
9923       runpath_var='LD_RUN_PATH'
9924       hardcode_shlibpath_var=no
9925       ;;
9926
9927     sysv4.3*)
9928       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9929       hardcode_shlibpath_var=no
9930       export_dynamic_flag_spec='-Bexport'
9931       ;;
9932
9933     sysv4*MP*)
9934       if test -d /usr/nec; then
9935         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9936         hardcode_shlibpath_var=no
9937         runpath_var=LD_RUN_PATH
9938         hardcode_runpath_var=yes
9939         ld_shlibs=yes
9940       fi
9941       ;;
9942
9943     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9944       no_undefined_flag='${wl}-z,text'
9945       archive_cmds_need_lc=no
9946       hardcode_shlibpath_var=no
9947       runpath_var='LD_RUN_PATH'
9948
9949       if test "$GCC" = yes; then
9950         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9952       else
9953         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9954         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9955       fi
9956       ;;
9957
9958     sysv5* | sco3.2v5* | sco5v6*)
9959       # Note: We can NOT use -z defs as we might desire, because we do not
9960       # link with -lc, and that would cause any symbols used from libc to
9961       # always be unresolved, which means just about no library would
9962       # ever link correctly.  If we're not using GNU ld we use -z text
9963       # though, which does catch some bad symbols but isn't as heavy-handed
9964       # as -z defs.
9965       no_undefined_flag='${wl}-z,text'
9966       allow_undefined_flag='${wl}-z,nodefs'
9967       archive_cmds_need_lc=no
9968       hardcode_shlibpath_var=no
9969       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9970       hardcode_libdir_separator=':'
9971       link_all_deplibs=yes
9972       export_dynamic_flag_spec='${wl}-Bexport'
9973       runpath_var='LD_RUN_PATH'
9974
9975       if test "$GCC" = yes; then
9976         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9977         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9978       else
9979         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9980         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9981       fi
9982       ;;
9983
9984     uts4*)
9985       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9986       hardcode_libdir_flag_spec='-L$libdir'
9987       hardcode_shlibpath_var=no
9988       ;;
9989
9990     *)
9991       ld_shlibs=no
9992       ;;
9993     esac
9994
9995     if test x$host_vendor = xsni; then
9996       case $host in
9997       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9998         export_dynamic_flag_spec='${wl}-Blargedynsym'
9999         ;;
10000       esac
10001     fi
10002   fi
10003
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10005 $as_echo "$ld_shlibs" >&6; }
10006 test "$ld_shlibs" = no && can_build_shared=no
10007
10008 with_gnu_ld=$with_gnu_ld
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024 #
10025 # Do we need to explicitly link libc?
10026 #
10027 case "x$archive_cmds_need_lc" in
10028 x|xyes)
10029   # Assume -lc should be added
10030   archive_cmds_need_lc=yes
10031
10032   if test "$enable_shared" = yes && test "$GCC" = yes; then
10033     case $archive_cmds in
10034     *'~'*)
10035       # FIXME: we may have to deal with multi-command sequences.
10036       ;;
10037     '$CC '*)
10038       # Test whether the compiler implicitly links with -lc since on some
10039       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10040       # to ld, don't add -lc before -lgcc.
10041       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10042 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10043 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10044   $as_echo_n "(cached) " >&6
10045 else
10046   $RM conftest*
10047         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10048
10049         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10050   (eval $ac_compile) 2>&5
10051   ac_status=$?
10052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10053   test $ac_status = 0; } 2>conftest.err; then
10054           soname=conftest
10055           lib=conftest
10056           libobjs=conftest.$ac_objext
10057           deplibs=
10058           wl=$lt_prog_compiler_wl
10059           pic_flag=$lt_prog_compiler_pic
10060           compiler_flags=-v
10061           linker_flags=-v
10062           verstring=
10063           output_objdir=.
10064           libname=conftest
10065           lt_save_allow_undefined_flag=$allow_undefined_flag
10066           allow_undefined_flag=
10067           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10068   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10069   ac_status=$?
10070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10071   test $ac_status = 0; }
10072           then
10073             lt_cv_archive_cmds_need_lc=no
10074           else
10075             lt_cv_archive_cmds_need_lc=yes
10076           fi
10077           allow_undefined_flag=$lt_save_allow_undefined_flag
10078         else
10079           cat conftest.err 1>&5
10080         fi
10081         $RM conftest*
10082
10083 fi
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10085 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10086       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10087       ;;
10088     esac
10089   fi
10090   ;;
10091 esac
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
10244
10245
10246
10247
10248
10249   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10250 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10251
10252 if test "$GCC" = yes; then
10253   case $host_os in
10254     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10255     *) lt_awk_arg="/^libraries:/" ;;
10256   esac
10257   case $host_os in
10258     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10259     *) lt_sed_strip_eq="s,=/,/,g" ;;
10260   esac
10261   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10262   case $lt_search_path_spec in
10263   *\;*)
10264     # if the path contains ";" then we assume it to be the separator
10265     # otherwise default to the standard path separator (i.e. ":") - it is
10266     # assumed that no part of a normal pathname contains ";" but that should
10267     # okay in the real world where ";" in dirpaths is itself problematic.
10268     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10269     ;;
10270   *)
10271     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10272     ;;
10273   esac
10274   # Ok, now we have the path, separated by spaces, we can step through it
10275   # and add multilib dir if necessary.
10276   lt_tmp_lt_search_path_spec=
10277   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10278   for lt_sys_path in $lt_search_path_spec; do
10279     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10280       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10281     else
10282       test -d "$lt_sys_path" && \
10283         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10284     fi
10285   done
10286   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10287 BEGIN {RS=" "; FS="/|\n";} {
10288   lt_foo="";
10289   lt_count=0;
10290   for (lt_i = NF; lt_i > 0; lt_i--) {
10291     if ($lt_i != "" && $lt_i != ".") {
10292       if ($lt_i == "..") {
10293         lt_count++;
10294       } else {
10295         if (lt_count == 0) {
10296           lt_foo="/" $lt_i lt_foo;
10297         } else {
10298           lt_count--;
10299         }
10300       }
10301     }
10302   }
10303   if (lt_foo != "") { lt_freq[lt_foo]++; }
10304   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10305 }'`
10306   # AWK program above erroneously prepends '/' to C:/dos/paths
10307   # for these hosts.
10308   case $host_os in
10309     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10310       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10311   esac
10312   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10313 else
10314   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10315 fi
10316 library_names_spec=
10317 libname_spec='lib$name'
10318 soname_spec=
10319 shrext_cmds=".so"
10320 postinstall_cmds=
10321 postuninstall_cmds=
10322 finish_cmds=
10323 finish_eval=
10324 shlibpath_var=
10325 shlibpath_overrides_runpath=unknown
10326 version_type=none
10327 dynamic_linker="$host_os ld.so"
10328 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10329 need_lib_prefix=unknown
10330 hardcode_into_libs=no
10331
10332 # when you set need_version to no, make sure it does not cause -set_version
10333 # flags to be left without arguments
10334 need_version=unknown
10335
10336 case $host_os in
10337 aix3*)
10338   version_type=linux
10339   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10340   shlibpath_var=LIBPATH
10341
10342   # AIX 3 has no versioning support, so we append a major version to the name.
10343   soname_spec='${libname}${release}${shared_ext}$major'
10344   ;;
10345
10346 aix[4-9]*)
10347   version_type=linux
10348   need_lib_prefix=no
10349   need_version=no
10350   hardcode_into_libs=yes
10351   if test "$host_cpu" = ia64; then
10352     # AIX 5 supports IA64
10353     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10354     shlibpath_var=LD_LIBRARY_PATH
10355   else
10356     # With GCC up to 2.95.x, collect2 would create an import file
10357     # for dependence libraries.  The import file would start with
10358     # the line `#! .'.  This would cause the generated library to
10359     # depend on `.', always an invalid library.  This was fixed in
10360     # development snapshots of GCC prior to 3.0.
10361     case $host_os in
10362       aix4 | aix4.[01] | aix4.[01].*)
10363       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10364            echo ' yes '
10365            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10366         :
10367       else
10368         can_build_shared=no
10369       fi
10370       ;;
10371     esac
10372     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10373     # soname into executable. Probably we can add versioning support to
10374     # collect2, so additional links can be useful in future.
10375     if test "$aix_use_runtimelinking" = yes; then
10376       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10377       # instead of lib<name>.a to let people know that these are not
10378       # typical AIX shared libraries.
10379       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380     else
10381       # We preserve .a as extension for shared libraries through AIX4.2
10382       # and later when we are not doing run time linking.
10383       library_names_spec='${libname}${release}.a $libname.a'
10384       soname_spec='${libname}${release}${shared_ext}$major'
10385     fi
10386     shlibpath_var=LIBPATH
10387   fi
10388   ;;
10389
10390 amigaos*)
10391   case $host_cpu in
10392   powerpc)
10393     # Since July 2007 AmigaOS4 officially supports .so libraries.
10394     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10395     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10396     ;;
10397   m68k)
10398     library_names_spec='$libname.ixlibrary $libname.a'
10399     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10400     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'
10401     ;;
10402   esac
10403   ;;
10404
10405 beos*)
10406   library_names_spec='${libname}${shared_ext}'
10407   dynamic_linker="$host_os ld.so"
10408   shlibpath_var=LIBRARY_PATH
10409   ;;
10410
10411 bsdi[45]*)
10412   version_type=linux
10413   need_version=no
10414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10415   soname_spec='${libname}${release}${shared_ext}$major'
10416   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10417   shlibpath_var=LD_LIBRARY_PATH
10418   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10419   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10420   # the default ld.so.conf also contains /usr/contrib/lib and
10421   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10422   # libtool to hard-code these into programs
10423   ;;
10424
10425 cygwin* | mingw* | pw32* | cegcc*)
10426   version_type=windows
10427   shrext_cmds=".dll"
10428   need_version=no
10429   need_lib_prefix=no
10430
10431   case $GCC,$host_os in
10432   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10433     library_names_spec='$libname.dll.a'
10434     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10435     postinstall_cmds='base_file=`basename \${file}`~
10436       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10437       dldir=$destdir/`dirname \$dlpath`~
10438       test -d \$dldir || mkdir -p \$dldir~
10439       $install_prog $dir/$dlname \$dldir/$dlname~
10440       chmod a+x \$dldir/$dlname~
10441       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10442         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10443       fi'
10444     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10445       dlpath=$dir/\$dldll~
10446        $RM \$dlpath'
10447     shlibpath_overrides_runpath=yes
10448
10449     case $host_os in
10450     cygwin*)
10451       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10452       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10453
10454       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10455       ;;
10456     mingw* | cegcc*)
10457       # MinGW DLLs use traditional 'lib' prefix
10458       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10459       ;;
10460     pw32*)
10461       # pw32 DLLs use 'pw' prefix rather than 'lib'
10462       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10463       ;;
10464     esac
10465     ;;
10466
10467   *)
10468     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10469     ;;
10470   esac
10471   dynamic_linker='Win32 ld.exe'
10472   # FIXME: first we should search . and the directory the executable is in
10473   shlibpath_var=PATH
10474   ;;
10475
10476 darwin* | rhapsody*)
10477   dynamic_linker="$host_os dyld"
10478   version_type=darwin
10479   need_lib_prefix=no
10480   need_version=no
10481   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10482   soname_spec='${libname}${release}${major}$shared_ext'
10483   shlibpath_overrides_runpath=yes
10484   shlibpath_var=DYLD_LIBRARY_PATH
10485   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10486
10487   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10488   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10489   ;;
10490
10491 dgux*)
10492   version_type=linux
10493   need_lib_prefix=no
10494   need_version=no
10495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10496   soname_spec='${libname}${release}${shared_ext}$major'
10497   shlibpath_var=LD_LIBRARY_PATH
10498   ;;
10499
10500 freebsd1*)
10501   dynamic_linker=no
10502   ;;
10503
10504 freebsd* | dragonfly*)
10505   # DragonFly does not have aout.  When/if they implement a new
10506   # versioning mechanism, adjust this.
10507   if test -x /usr/bin/objformat; then
10508     objformat=`/usr/bin/objformat`
10509   else
10510     case $host_os in
10511     freebsd[123]*) objformat=aout ;;
10512     *) objformat=elf ;;
10513     esac
10514   fi
10515   version_type=freebsd-$objformat
10516   case $version_type in
10517     freebsd-elf*)
10518       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10519       need_version=no
10520       need_lib_prefix=no
10521       ;;
10522     freebsd-*)
10523       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10524       need_version=yes
10525       ;;
10526   esac
10527   shlibpath_var=LD_LIBRARY_PATH
10528   case $host_os in
10529   freebsd2*)
10530     shlibpath_overrides_runpath=yes
10531     ;;
10532   freebsd3.[01]* | freebsdelf3.[01]*)
10533     shlibpath_overrides_runpath=yes
10534     hardcode_into_libs=yes
10535     ;;
10536   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10537   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10538     shlibpath_overrides_runpath=no
10539     hardcode_into_libs=yes
10540     ;;
10541   *) # from 4.6 on, and DragonFly
10542     shlibpath_overrides_runpath=yes
10543     hardcode_into_libs=yes
10544     ;;
10545   esac
10546   ;;
10547
10548 gnu*)
10549   version_type=linux
10550   need_lib_prefix=no
10551   need_version=no
10552   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10553   soname_spec='${libname}${release}${shared_ext}$major'
10554   shlibpath_var=LD_LIBRARY_PATH
10555   hardcode_into_libs=yes
10556   ;;
10557
10558 haiku*)
10559   version_type=linux
10560   need_lib_prefix=no
10561   need_version=no
10562   dynamic_linker="$host_os runtime_loader"
10563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10564   soname_spec='${libname}${release}${shared_ext}$major'
10565   shlibpath_var=LIBRARY_PATH
10566   shlibpath_overrides_runpath=yes
10567   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10568   hardcode_into_libs=yes
10569   ;;
10570
10571 hpux9* | hpux10* | hpux11*)
10572   # Give a soname corresponding to the major version so that dld.sl refuses to
10573   # link against other versions.
10574   version_type=sunos
10575   need_lib_prefix=no
10576   need_version=no
10577   case $host_cpu in
10578   ia64*)
10579     shrext_cmds='.so'
10580     hardcode_into_libs=yes
10581     dynamic_linker="$host_os dld.so"
10582     shlibpath_var=LD_LIBRARY_PATH
10583     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10584     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10585     soname_spec='${libname}${release}${shared_ext}$major'
10586     if test "X$HPUX_IA64_MODE" = X32; then
10587       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10588     else
10589       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10590     fi
10591     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10592     ;;
10593   hppa*64*)
10594     shrext_cmds='.sl'
10595     hardcode_into_libs=yes
10596     dynamic_linker="$host_os dld.sl"
10597     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10598     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10599     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600     soname_spec='${libname}${release}${shared_ext}$major'
10601     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10602     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10603     ;;
10604   *)
10605     shrext_cmds='.sl'
10606     dynamic_linker="$host_os dld.sl"
10607     shlibpath_var=SHLIB_PATH
10608     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10609     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610     soname_spec='${libname}${release}${shared_ext}$major'
10611     ;;
10612   esac
10613   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10614   postinstall_cmds='chmod 555 $lib'
10615   # or fails outright, so override atomically:
10616   install_override_mode=555
10617   ;;
10618
10619 interix[3-9]*)
10620   version_type=linux
10621   need_lib_prefix=no
10622   need_version=no
10623   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10624   soname_spec='${libname}${release}${shared_ext}$major'
10625   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10626   shlibpath_var=LD_LIBRARY_PATH
10627   shlibpath_overrides_runpath=no
10628   hardcode_into_libs=yes
10629   ;;
10630
10631 irix5* | irix6* | nonstopux*)
10632   case $host_os in
10633     nonstopux*) version_type=nonstopux ;;
10634     *)
10635         if test "$lt_cv_prog_gnu_ld" = yes; then
10636                 version_type=linux
10637         else
10638                 version_type=irix
10639         fi ;;
10640   esac
10641   need_lib_prefix=no
10642   need_version=no
10643   soname_spec='${libname}${release}${shared_ext}$major'
10644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10645   case $host_os in
10646   irix5* | nonstopux*)
10647     libsuff= shlibsuff=
10648     ;;
10649   *)
10650     case $LD in # libtool.m4 will add one of these switches to LD
10651     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10652       libsuff= shlibsuff= libmagic=32-bit;;
10653     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10654       libsuff=32 shlibsuff=N32 libmagic=N32;;
10655     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10656       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10657     *) libsuff= shlibsuff= libmagic=never-match;;
10658     esac
10659     ;;
10660   esac
10661   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10662   shlibpath_overrides_runpath=no
10663   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10664   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10665   hardcode_into_libs=yes
10666   ;;
10667
10668 # No shared lib support for Linux oldld, aout, or coff.
10669 linux*oldld* | linux*aout* | linux*coff*)
10670   dynamic_linker=no
10671   ;;
10672
10673 # This must be Linux ELF.
10674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10675   version_type=linux
10676   need_lib_prefix=no
10677   need_version=no
10678   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10679   soname_spec='${libname}${release}${shared_ext}$major'
10680   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10681   shlibpath_var=LD_LIBRARY_PATH
10682   shlibpath_overrides_runpath=no
10683
10684   # Some binutils ld are patched to set DT_RUNPATH
10685   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10686   $as_echo_n "(cached) " >&6
10687 else
10688   lt_cv_shlibpath_overrides_runpath=no
10689     save_LDFLAGS=$LDFLAGS
10690     save_libdir=$libdir
10691     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10692          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10693     if test x$gcc_no_link = xyes; then
10694   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10695 fi
10696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h.  */
10698
10699 int
10700 main ()
10701 {
10702
10703   ;
10704   return 0;
10705 }
10706 _ACEOF
10707 if ac_fn_c_try_link "$LINENO"; then :
10708   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10709   lt_cv_shlibpath_overrides_runpath=yes
10710 fi
10711 fi
10712 rm -f core conftest.err conftest.$ac_objext \
10713     conftest$ac_exeext conftest.$ac_ext
10714     LDFLAGS=$save_LDFLAGS
10715     libdir=$save_libdir
10716
10717 fi
10718
10719   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10720
10721   # This implies no fast_install, which is unacceptable.
10722   # Some rework will be needed to allow for fast_install
10723   # before this can be enabled.
10724   hardcode_into_libs=yes
10725
10726   # Append ld.so.conf contents to the search path
10727   if test -f /etc/ld.so.conf; then
10728     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' ' '`
10729     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10730   fi
10731
10732   # We used to test for /lib/ld.so.1 and disable shared libraries on
10733   # powerpc, because MkLinux only supported shared libraries with the
10734   # GNU dynamic linker.  Since this was broken with cross compilers,
10735   # most powerpc-linux boxes support dynamic linking these days and
10736   # people can always --disable-shared, the test was removed, and we
10737   # assume the GNU/Linux dynamic linker is in use.
10738   dynamic_linker='GNU/Linux ld.so'
10739   ;;
10740
10741 netbsd*)
10742   version_type=sunos
10743   need_lib_prefix=no
10744   need_version=no
10745   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10746     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10747     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10748     dynamic_linker='NetBSD (a.out) ld.so'
10749   else
10750     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10751     soname_spec='${libname}${release}${shared_ext}$major'
10752     dynamic_linker='NetBSD ld.elf_so'
10753   fi
10754   shlibpath_var=LD_LIBRARY_PATH
10755   shlibpath_overrides_runpath=yes
10756   hardcode_into_libs=yes
10757   ;;
10758
10759 newsos6)
10760   version_type=linux
10761   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10762   shlibpath_var=LD_LIBRARY_PATH
10763   shlibpath_overrides_runpath=yes
10764   ;;
10765
10766 *nto* | *qnx*)
10767   version_type=qnx
10768   need_lib_prefix=no
10769   need_version=no
10770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10771   soname_spec='${libname}${release}${shared_ext}$major'
10772   shlibpath_var=LD_LIBRARY_PATH
10773   shlibpath_overrides_runpath=no
10774   hardcode_into_libs=yes
10775   dynamic_linker='ldqnx.so'
10776   ;;
10777
10778 openbsd*)
10779   version_type=sunos
10780   sys_lib_dlsearch_path_spec="/usr/lib"
10781   need_lib_prefix=no
10782   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10783   case $host_os in
10784     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10785     *)                          need_version=no  ;;
10786   esac
10787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10788   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10789   shlibpath_var=LD_LIBRARY_PATH
10790   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10791     case $host_os in
10792       openbsd2.[89] | openbsd2.[89].*)
10793         shlibpath_overrides_runpath=no
10794         ;;
10795       *)
10796         shlibpath_overrides_runpath=yes
10797         ;;
10798       esac
10799   else
10800     shlibpath_overrides_runpath=yes
10801   fi
10802   ;;
10803
10804 os2*)
10805   libname_spec='$name'
10806   shrext_cmds=".dll"
10807   need_lib_prefix=no
10808   library_names_spec='$libname${shared_ext} $libname.a'
10809   dynamic_linker='OS/2 ld.exe'
10810   shlibpath_var=LIBPATH
10811   ;;
10812
10813 osf3* | osf4* | osf5*)
10814   version_type=osf
10815   need_lib_prefix=no
10816   need_version=no
10817   soname_spec='${libname}${release}${shared_ext}$major'
10818   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819   shlibpath_var=LD_LIBRARY_PATH
10820   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10821   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10822   ;;
10823
10824 rdos*)
10825   dynamic_linker=no
10826   ;;
10827
10828 solaris*)
10829   version_type=linux
10830   need_lib_prefix=no
10831   need_version=no
10832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833   soname_spec='${libname}${release}${shared_ext}$major'
10834   shlibpath_var=LD_LIBRARY_PATH
10835   shlibpath_overrides_runpath=yes
10836   hardcode_into_libs=yes
10837   # ldd complains unless libraries are executable
10838   postinstall_cmds='chmod +x $lib'
10839   ;;
10840
10841 sunos4*)
10842   version_type=sunos
10843   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10844   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10845   shlibpath_var=LD_LIBRARY_PATH
10846   shlibpath_overrides_runpath=yes
10847   if test "$with_gnu_ld" = yes; then
10848     need_lib_prefix=no
10849   fi
10850   need_version=yes
10851   ;;
10852
10853 sysv4 | sysv4.3*)
10854   version_type=linux
10855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856   soname_spec='${libname}${release}${shared_ext}$major'
10857   shlibpath_var=LD_LIBRARY_PATH
10858   case $host_vendor in
10859     sni)
10860       shlibpath_overrides_runpath=no
10861       need_lib_prefix=no
10862       runpath_var=LD_RUN_PATH
10863       ;;
10864     siemens)
10865       need_lib_prefix=no
10866       ;;
10867     motorola)
10868       need_lib_prefix=no
10869       need_version=no
10870       shlibpath_overrides_runpath=no
10871       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10872       ;;
10873   esac
10874   ;;
10875
10876 sysv4*MP*)
10877   if test -d /usr/nec ;then
10878     version_type=linux
10879     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10880     soname_spec='$libname${shared_ext}.$major'
10881     shlibpath_var=LD_LIBRARY_PATH
10882   fi
10883   ;;
10884
10885 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10886   version_type=freebsd-elf
10887   need_lib_prefix=no
10888   need_version=no
10889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10890   soname_spec='${libname}${release}${shared_ext}$major'
10891   shlibpath_var=LD_LIBRARY_PATH
10892   shlibpath_overrides_runpath=yes
10893   hardcode_into_libs=yes
10894   if test "$with_gnu_ld" = yes; then
10895     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10896   else
10897     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10898     case $host_os in
10899       sco3.2v5*)
10900         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10901         ;;
10902     esac
10903   fi
10904   sys_lib_dlsearch_path_spec='/usr/lib'
10905   ;;
10906
10907 tpf*)
10908   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10909   version_type=linux
10910   need_lib_prefix=no
10911   need_version=no
10912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913   shlibpath_var=LD_LIBRARY_PATH
10914   shlibpath_overrides_runpath=no
10915   hardcode_into_libs=yes
10916   ;;
10917
10918 uts4*)
10919   version_type=linux
10920   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921   soname_spec='${libname}${release}${shared_ext}$major'
10922   shlibpath_var=LD_LIBRARY_PATH
10923   ;;
10924
10925 *)
10926   dynamic_linker=no
10927   ;;
10928 esac
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10930 $as_echo "$dynamic_linker" >&6; }
10931 test "$dynamic_linker" = no && can_build_shared=no
10932
10933 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10934 if test "$GCC" = yes; then
10935   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10936 fi
10937
10938 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10939   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10940 fi
10941 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10942   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10943 fi
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
11031
11032
11033
11034
11035
11036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11037 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11038 hardcode_action=
11039 if test -n "$hardcode_libdir_flag_spec" ||
11040    test -n "$runpath_var" ||
11041    test "X$hardcode_automatic" = "Xyes" ; then
11042
11043   # We can hardcode non-existent directories.
11044   if test "$hardcode_direct" != no &&
11045      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11046      # have to relink, otherwise we might link with an installed library
11047      # when we should be linking with a yet-to-be-installed one
11048      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11049      test "$hardcode_minus_L" != no; then
11050     # Linking always hardcodes the temporary library directory.
11051     hardcode_action=relink
11052   else
11053     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11054     hardcode_action=immediate
11055   fi
11056 else
11057   # We cannot hardcode anything, or else we can only hardcode existing
11058   # directories.
11059   hardcode_action=unsupported
11060 fi
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11062 $as_echo "$hardcode_action" >&6; }
11063
11064 if test "$hardcode_action" = relink ||
11065    test "$inherit_rpath" = yes; then
11066   # Fast installation is not supported
11067   enable_fast_install=no
11068 elif test "$shlibpath_overrides_runpath" = yes ||
11069      test "$enable_shared" = no; then
11070   # Fast installation is not necessary
11071   enable_fast_install=needless
11072 fi
11073
11074
11075
11076
11077
11078
11079   if test "x$enable_dlopen" != xyes; then
11080   enable_dlopen=unknown
11081   enable_dlopen_self=unknown
11082   enable_dlopen_self_static=unknown
11083 else
11084   lt_cv_dlopen=no
11085   lt_cv_dlopen_libs=
11086
11087   case $host_os in
11088   beos*)
11089     lt_cv_dlopen="load_add_on"
11090     lt_cv_dlopen_libs=
11091     lt_cv_dlopen_self=yes
11092     ;;
11093
11094   mingw* | pw32* | cegcc*)
11095     lt_cv_dlopen="LoadLibrary"
11096     lt_cv_dlopen_libs=
11097     ;;
11098
11099   cygwin*)
11100     lt_cv_dlopen="dlopen"
11101     lt_cv_dlopen_libs=
11102     ;;
11103
11104   darwin*)
11105   # if libdl is installed we need to link against it
11106     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11107 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11108 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11109   $as_echo_n "(cached) " >&6
11110 else
11111   ac_check_lib_save_LIBS=$LIBS
11112 LIBS="-ldl  $LIBS"
11113 if test x$gcc_no_link = xyes; then
11114   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11115 fi
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h.  */
11118
11119 /* Override any GCC internal prototype to avoid an error.
11120    Use char because int might match the return type of a GCC
11121    builtin and then its argument prototype would still apply.  */
11122 #ifdef __cplusplus
11123 extern "C"
11124 #endif
11125 char dlopen ();
11126 int
11127 main ()
11128 {
11129 return dlopen ();
11130   ;
11131   return 0;
11132 }
11133 _ACEOF
11134 if ac_fn_c_try_link "$LINENO"; then :
11135   ac_cv_lib_dl_dlopen=yes
11136 else
11137   ac_cv_lib_dl_dlopen=no
11138 fi
11139 rm -f core conftest.err conftest.$ac_objext \
11140     conftest$ac_exeext conftest.$ac_ext
11141 LIBS=$ac_check_lib_save_LIBS
11142 fi
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11144 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11145 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11146   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11147 else
11148
11149     lt_cv_dlopen="dyld"
11150     lt_cv_dlopen_libs=
11151     lt_cv_dlopen_self=yes
11152
11153 fi
11154
11155     ;;
11156
11157   *)
11158     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11159 if test "x$ac_cv_func_shl_load" = x""yes; then :
11160   lt_cv_dlopen="shl_load"
11161 else
11162   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11163 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11164 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11165   $as_echo_n "(cached) " >&6
11166 else
11167   ac_check_lib_save_LIBS=$LIBS
11168 LIBS="-ldld  $LIBS"
11169 if test x$gcc_no_link = xyes; then
11170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11171 fi
11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h.  */
11174
11175 /* Override any GCC internal prototype to avoid an error.
11176    Use char because int might match the return type of a GCC
11177    builtin and then its argument prototype would still apply.  */
11178 #ifdef __cplusplus
11179 extern "C"
11180 #endif
11181 char shl_load ();
11182 int
11183 main ()
11184 {
11185 return shl_load ();
11186   ;
11187   return 0;
11188 }
11189 _ACEOF
11190 if ac_fn_c_try_link "$LINENO"; then :
11191   ac_cv_lib_dld_shl_load=yes
11192 else
11193   ac_cv_lib_dld_shl_load=no
11194 fi
11195 rm -f core conftest.err conftest.$ac_objext \
11196     conftest$ac_exeext conftest.$ac_ext
11197 LIBS=$ac_check_lib_save_LIBS
11198 fi
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11200 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11201 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11202   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11203 else
11204   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11205 if test "x$ac_cv_func_dlopen" = x""yes; then :
11206   lt_cv_dlopen="dlopen"
11207 else
11208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11209 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11210 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11211   $as_echo_n "(cached) " >&6
11212 else
11213   ac_check_lib_save_LIBS=$LIBS
11214 LIBS="-ldl  $LIBS"
11215 if test x$gcc_no_link = xyes; then
11216   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11217 fi
11218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h.  */
11220
11221 /* Override any GCC internal prototype to avoid an error.
11222    Use char because int might match the return type of a GCC
11223    builtin and then its argument prototype would still apply.  */
11224 #ifdef __cplusplus
11225 extern "C"
11226 #endif
11227 char dlopen ();
11228 int
11229 main ()
11230 {
11231 return dlopen ();
11232   ;
11233   return 0;
11234 }
11235 _ACEOF
11236 if ac_fn_c_try_link "$LINENO"; then :
11237   ac_cv_lib_dl_dlopen=yes
11238 else
11239   ac_cv_lib_dl_dlopen=no
11240 fi
11241 rm -f core conftest.err conftest.$ac_objext \
11242     conftest$ac_exeext conftest.$ac_ext
11243 LIBS=$ac_check_lib_save_LIBS
11244 fi
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11246 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11247 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11248   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11249 else
11250   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11251 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11252 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11253   $as_echo_n "(cached) " >&6
11254 else
11255   ac_check_lib_save_LIBS=$LIBS
11256 LIBS="-lsvld  $LIBS"
11257 if test x$gcc_no_link = xyes; then
11258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11259 fi
11260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261 /* end confdefs.h.  */
11262
11263 /* Override any GCC internal prototype to avoid an error.
11264    Use char because int might match the return type of a GCC
11265    builtin and then its argument prototype would still apply.  */
11266 #ifdef __cplusplus
11267 extern "C"
11268 #endif
11269 char dlopen ();
11270 int
11271 main ()
11272 {
11273 return dlopen ();
11274   ;
11275   return 0;
11276 }
11277 _ACEOF
11278 if ac_fn_c_try_link "$LINENO"; then :
11279   ac_cv_lib_svld_dlopen=yes
11280 else
11281   ac_cv_lib_svld_dlopen=no
11282 fi
11283 rm -f core conftest.err conftest.$ac_objext \
11284     conftest$ac_exeext conftest.$ac_ext
11285 LIBS=$ac_check_lib_save_LIBS
11286 fi
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11288 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11289 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11290   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11291 else
11292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11293 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11294 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11295   $as_echo_n "(cached) " >&6
11296 else
11297   ac_check_lib_save_LIBS=$LIBS
11298 LIBS="-ldld  $LIBS"
11299 if test x$gcc_no_link = xyes; then
11300   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11301 fi
11302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303 /* end confdefs.h.  */
11304
11305 /* Override any GCC internal prototype to avoid an error.
11306    Use char because int might match the return type of a GCC
11307    builtin and then its argument prototype would still apply.  */
11308 #ifdef __cplusplus
11309 extern "C"
11310 #endif
11311 char dld_link ();
11312 int
11313 main ()
11314 {
11315 return dld_link ();
11316   ;
11317   return 0;
11318 }
11319 _ACEOF
11320 if ac_fn_c_try_link "$LINENO"; then :
11321   ac_cv_lib_dld_dld_link=yes
11322 else
11323   ac_cv_lib_dld_dld_link=no
11324 fi
11325 rm -f core conftest.err conftest.$ac_objext \
11326     conftest$ac_exeext conftest.$ac_ext
11327 LIBS=$ac_check_lib_save_LIBS
11328 fi
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11330 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11331 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11332   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11333 fi
11334
11335
11336 fi
11337
11338
11339 fi
11340
11341
11342 fi
11343
11344
11345 fi
11346
11347
11348 fi
11349
11350     ;;
11351   esac
11352
11353   if test "x$lt_cv_dlopen" != xno; then
11354     enable_dlopen=yes
11355   else
11356     enable_dlopen=no
11357   fi
11358
11359   case $lt_cv_dlopen in
11360   dlopen)
11361     save_CPPFLAGS="$CPPFLAGS"
11362     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11363
11364     save_LDFLAGS="$LDFLAGS"
11365     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11366
11367     save_LIBS="$LIBS"
11368     LIBS="$lt_cv_dlopen_libs $LIBS"
11369
11370     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11371 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11372 if test "${lt_cv_dlopen_self+set}" = set; then :
11373   $as_echo_n "(cached) " >&6
11374 else
11375           if test "$cross_compiling" = yes; then :
11376   lt_cv_dlopen_self=cross
11377 else
11378   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11379   lt_status=$lt_dlunknown
11380   cat > conftest.$ac_ext <<_LT_EOF
11381 #line 11381 "configure"
11382 #include "confdefs.h"
11383
11384 #if HAVE_DLFCN_H
11385 #include <dlfcn.h>
11386 #endif
11387
11388 #include <stdio.h>
11389
11390 #ifdef RTLD_GLOBAL
11391 #  define LT_DLGLOBAL           RTLD_GLOBAL
11392 #else
11393 #  ifdef DL_GLOBAL
11394 #    define LT_DLGLOBAL         DL_GLOBAL
11395 #  else
11396 #    define LT_DLGLOBAL         0
11397 #  endif
11398 #endif
11399
11400 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11401    find out it does not work in some platform. */
11402 #ifndef LT_DLLAZY_OR_NOW
11403 #  ifdef RTLD_LAZY
11404 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11405 #  else
11406 #    ifdef DL_LAZY
11407 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11408 #    else
11409 #      ifdef RTLD_NOW
11410 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11411 #      else
11412 #        ifdef DL_NOW
11413 #          define LT_DLLAZY_OR_NOW      DL_NOW
11414 #        else
11415 #          define LT_DLLAZY_OR_NOW      0
11416 #        endif
11417 #      endif
11418 #    endif
11419 #  endif
11420 #endif
11421
11422 /* When -fvisbility=hidden is used, assume the code has been annotated
11423    correspondingly for the symbols needed.  */
11424 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11425 void fnord () __attribute__((visibility("default")));
11426 #endif
11427
11428 void fnord () { int i=42; }
11429 int main ()
11430 {
11431   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11432   int status = $lt_dlunknown;
11433
11434   if (self)
11435     {
11436       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11437       else
11438         {
11439           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11440           else puts (dlerror ());
11441         }
11442       /* dlclose (self); */
11443     }
11444   else
11445     puts (dlerror ());
11446
11447   return status;
11448 }
11449 _LT_EOF
11450   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11451   (eval $ac_link) 2>&5
11452   ac_status=$?
11453   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11454   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11455     (./conftest; exit; ) >&5 2>/dev/null
11456     lt_status=$?
11457     case x$lt_status in
11458       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11459       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11460       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11461     esac
11462   else :
11463     # compilation failed
11464     lt_cv_dlopen_self=no
11465   fi
11466 fi
11467 rm -fr conftest*
11468
11469
11470 fi
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11472 $as_echo "$lt_cv_dlopen_self" >&6; }
11473
11474     if test "x$lt_cv_dlopen_self" = xyes; then
11475       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11476       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11477 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11478 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11479   $as_echo_n "(cached) " >&6
11480 else
11481           if test "$cross_compiling" = yes; then :
11482   lt_cv_dlopen_self_static=cross
11483 else
11484   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11485   lt_status=$lt_dlunknown
11486   cat > conftest.$ac_ext <<_LT_EOF
11487 #line 11487 "configure"
11488 #include "confdefs.h"
11489
11490 #if HAVE_DLFCN_H
11491 #include <dlfcn.h>
11492 #endif
11493
11494 #include <stdio.h>
11495
11496 #ifdef RTLD_GLOBAL
11497 #  define LT_DLGLOBAL           RTLD_GLOBAL
11498 #else
11499 #  ifdef DL_GLOBAL
11500 #    define LT_DLGLOBAL         DL_GLOBAL
11501 #  else
11502 #    define LT_DLGLOBAL         0
11503 #  endif
11504 #endif
11505
11506 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11507    find out it does not work in some platform. */
11508 #ifndef LT_DLLAZY_OR_NOW
11509 #  ifdef RTLD_LAZY
11510 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11511 #  else
11512 #    ifdef DL_LAZY
11513 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11514 #    else
11515 #      ifdef RTLD_NOW
11516 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11517 #      else
11518 #        ifdef DL_NOW
11519 #          define LT_DLLAZY_OR_NOW      DL_NOW
11520 #        else
11521 #          define LT_DLLAZY_OR_NOW      0
11522 #        endif
11523 #      endif
11524 #    endif
11525 #  endif
11526 #endif
11527
11528 /* When -fvisbility=hidden is used, assume the code has been annotated
11529    correspondingly for the symbols needed.  */
11530 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11531 void fnord () __attribute__((visibility("default")));
11532 #endif
11533
11534 void fnord () { int i=42; }
11535 int main ()
11536 {
11537   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11538   int status = $lt_dlunknown;
11539
11540   if (self)
11541     {
11542       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11543       else
11544         {
11545           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11546           else puts (dlerror ());
11547         }
11548       /* dlclose (self); */
11549     }
11550   else
11551     puts (dlerror ());
11552
11553   return status;
11554 }
11555 _LT_EOF
11556   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11557   (eval $ac_link) 2>&5
11558   ac_status=$?
11559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11560   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11561     (./conftest; exit; ) >&5 2>/dev/null
11562     lt_status=$?
11563     case x$lt_status in
11564       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11565       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11566       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11567     esac
11568   else :
11569     # compilation failed
11570     lt_cv_dlopen_self_static=no
11571   fi
11572 fi
11573 rm -fr conftest*
11574
11575
11576 fi
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11578 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11579     fi
11580
11581     CPPFLAGS="$save_CPPFLAGS"
11582     LDFLAGS="$save_LDFLAGS"
11583     LIBS="$save_LIBS"
11584     ;;
11585   esac
11586
11587   case $lt_cv_dlopen_self in
11588   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11589   *) enable_dlopen_self=unknown ;;
11590   esac
11591
11592   case $lt_cv_dlopen_self_static in
11593   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11594   *) enable_dlopen_self_static=unknown ;;
11595   esac
11596 fi
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614 striplib=
11615 old_striplib=
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11617 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11618 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11619   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11620   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11622 $as_echo "yes" >&6; }
11623 else
11624 # FIXME - insert some real tests, host_os isn't really good enough
11625   case $host_os in
11626   darwin*)
11627     if test -n "$STRIP" ; then
11628       striplib="$STRIP -x"
11629       old_striplib="$STRIP -S"
11630       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11631 $as_echo "yes" >&6; }
11632     else
11633       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11635     fi
11636     ;;
11637   *)
11638     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639 $as_echo "no" >&6; }
11640     ;;
11641   esac
11642 fi
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655   # Report which library types will actually be built
11656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11657 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11659 $as_echo "$can_build_shared" >&6; }
11660
11661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11662 $as_echo_n "checking whether to build shared libraries... " >&6; }
11663   test "$can_build_shared" = "no" && enable_shared=no
11664
11665   # On AIX, shared libraries and static libraries use the same namespace, and
11666   # are all built from PIC.
11667   case $host_os in
11668   aix3*)
11669     test "$enable_shared" = yes && enable_static=no
11670     if test -n "$RANLIB"; then
11671       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11672       postinstall_cmds='$RANLIB $lib'
11673     fi
11674     ;;
11675
11676   aix[4-9]*)
11677     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11678       test "$enable_shared" = yes && enable_static=no
11679     fi
11680     ;;
11681   esac
11682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11683 $as_echo "$enable_shared" >&6; }
11684
11685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11686 $as_echo_n "checking whether to build static libraries... " >&6; }
11687   # Make sure either enable_shared or enable_static is yes.
11688   test "$enable_shared" = yes || enable_static=yes
11689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11690 $as_echo "$enable_static" >&6; }
11691
11692
11693
11694
11695 fi
11696 ac_ext=c
11697 ac_cpp='$CPP $CPPFLAGS'
11698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11701
11702 CC="$lt_save_CC"
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716         ac_config_commands="$ac_config_commands libtool"
11717
11718
11719
11720
11721 # Only expand once:
11722
11723
11724
11725
11726
11727 case $host in
11728   *-cygwin* | *-mingw*)
11729     # 'host' will be top-level target in the case of a target lib,
11730     # we must compare to with_cross_host to decide if this is a native
11731     # or cross-compiler and select where to install dlls appropriately.
11732     if test -n "$with_cross_host" &&
11733         test x"$with_cross_host" != x"no"; then
11734       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
11735     else
11736       lt_host_flags='-no-undefined -bindir "$(bindir)"';
11737     fi
11738     ;;
11739   *)
11740     lt_host_flags=
11741     ;;
11742 esac
11743
11744
11745
11746
11747
11748 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11749
11750 # We need gfortran to compile parts of the library
11751 #AC_PROG_FC(gfortran)
11752 FC="$GFORTRAN"
11753 ac_ext=${ac_fc_srcext-f}
11754 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11755 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11756 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11757 if test -n "$ac_tool_prefix"; then
11758   for ac_prog in gfortran
11759   do
11760     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11761 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11763 $as_echo_n "checking for $ac_word... " >&6; }
11764 if test "${ac_cv_prog_FC+set}" = set; then :
11765   $as_echo_n "(cached) " >&6
11766 else
11767   if test -n "$FC"; then
11768   ac_cv_prog_FC="$FC" # Let the user override the test.
11769 else
11770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11771 for as_dir in $PATH
11772 do
11773   IFS=$as_save_IFS
11774   test -z "$as_dir" && as_dir=.
11775     for ac_exec_ext in '' $ac_executable_extensions; do
11776   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11777     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11779     break 2
11780   fi
11781 done
11782   done
11783 IFS=$as_save_IFS
11784
11785 fi
11786 fi
11787 FC=$ac_cv_prog_FC
11788 if test -n "$FC"; then
11789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11790 $as_echo "$FC" >&6; }
11791 else
11792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11793 $as_echo "no" >&6; }
11794 fi
11795
11796
11797     test -n "$FC" && break
11798   done
11799 fi
11800 if test -z "$FC"; then
11801   ac_ct_FC=$FC
11802   for ac_prog in gfortran
11803 do
11804   # Extract the first word of "$ac_prog", so it can be a program name with args.
11805 set dummy $ac_prog; ac_word=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11807 $as_echo_n "checking for $ac_word... " >&6; }
11808 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11809   $as_echo_n "(cached) " >&6
11810 else
11811   if test -n "$ac_ct_FC"; then
11812   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11813 else
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $PATH
11816 do
11817   IFS=$as_save_IFS
11818   test -z "$as_dir" && as_dir=.
11819     for ac_exec_ext in '' $ac_executable_extensions; do
11820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821     ac_cv_prog_ac_ct_FC="$ac_prog"
11822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11823     break 2
11824   fi
11825 done
11826   done
11827 IFS=$as_save_IFS
11828
11829 fi
11830 fi
11831 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11832 if test -n "$ac_ct_FC"; then
11833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11834 $as_echo "$ac_ct_FC" >&6; }
11835 else
11836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837 $as_echo "no" >&6; }
11838 fi
11839
11840
11841   test -n "$ac_ct_FC" && break
11842 done
11843
11844   if test "x$ac_ct_FC" = x; then
11845     FC=""
11846   else
11847     case $cross_compiling:$ac_tool_warned in
11848 yes:)
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11851 ac_tool_warned=yes ;;
11852 esac
11853     FC=$ac_ct_FC
11854   fi
11855 fi
11856
11857
11858 # Provide some information about the compiler.
11859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11860 set X $ac_compile
11861 ac_compiler=$2
11862 for ac_option in --version -v -V -qversion; do
11863   { { ac_try="$ac_compiler $ac_option >&5"
11864 case "(($ac_try" in
11865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11866   *) ac_try_echo=$ac_try;;
11867 esac
11868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11869 $as_echo "$ac_try_echo"; } >&5
11870   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11871   ac_status=$?
11872   if test -s conftest.err; then
11873     sed '10a\
11874 ... rest of stderr output deleted ...
11875          10q' conftest.err >conftest.er1
11876     cat conftest.er1 >&5
11877     rm -f conftest.er1 conftest.err
11878   fi
11879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11880   test $ac_status = 0; }
11881 done
11882 rm -f a.out
11883
11884 # If we don't use `.F' as extension, the preprocessor is not run on the
11885 # input file.  (Note that this only needs to work for GNU compilers.)
11886 ac_save_ext=$ac_ext
11887 ac_ext=F
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11889 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11890 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11891   $as_echo_n "(cached) " >&6
11892 else
11893   cat > conftest.$ac_ext <<_ACEOF
11894       program main
11895 #ifndef __GNUC__
11896        choke me
11897 #endif
11898
11899       end
11900 _ACEOF
11901 if ac_fn_fc_try_compile "$LINENO"; then :
11902   ac_compiler_gnu=yes
11903 else
11904   ac_compiler_gnu=no
11905 fi
11906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11907 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11908
11909 fi
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11911 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11912 ac_ext=$ac_save_ext
11913 ac_test_FCFLAGS=${FCFLAGS+set}
11914 ac_save_FCFLAGS=$FCFLAGS
11915 FCFLAGS=
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11917 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11918 if test "${ac_cv_prog_fc_g+set}" = set; then :
11919   $as_echo_n "(cached) " >&6
11920 else
11921   FCFLAGS=-g
11922 cat > conftest.$ac_ext <<_ACEOF
11923       program main
11924
11925       end
11926 _ACEOF
11927 if ac_fn_fc_try_compile "$LINENO"; then :
11928   ac_cv_prog_fc_g=yes
11929 else
11930   ac_cv_prog_fc_g=no
11931 fi
11932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11933
11934 fi
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11936 $as_echo "$ac_cv_prog_fc_g" >&6; }
11937 if test "$ac_test_FCFLAGS" = set; then
11938   FCFLAGS=$ac_save_FCFLAGS
11939 elif test $ac_cv_prog_fc_g = yes; then
11940   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11941     FCFLAGS="-g -O2"
11942   else
11943     FCFLAGS="-g"
11944   fi
11945 else
11946   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11947     FCFLAGS="-O2"
11948   else
11949     FCFLAGS=
11950   fi
11951 fi
11952
11953 ac_ext=c
11954 ac_cpp='$CPP $CPPFLAGS'
11955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11958
11959       ac_ext=${ac_fc_srcext-f}
11960 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11961 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11962 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11963
11964
11965 if test -z "$FC" || test "X$FC" = "Xno"; then
11966   _lt_disable_FC=yes
11967 fi
11968
11969 archive_cmds_need_lc_FC=no
11970 allow_undefined_flag_FC=
11971 always_export_symbols_FC=no
11972 archive_expsym_cmds_FC=
11973 export_dynamic_flag_spec_FC=
11974 hardcode_direct_FC=no
11975 hardcode_direct_absolute_FC=no
11976 hardcode_libdir_flag_spec_FC=
11977 hardcode_libdir_flag_spec_ld_FC=
11978 hardcode_libdir_separator_FC=
11979 hardcode_minus_L_FC=no
11980 hardcode_automatic_FC=no
11981 inherit_rpath_FC=no
11982 module_cmds_FC=
11983 module_expsym_cmds_FC=
11984 link_all_deplibs_FC=unknown
11985 old_archive_cmds_FC=$old_archive_cmds
11986 reload_flag_FC=$reload_flag
11987 reload_cmds_FC=$reload_cmds
11988 no_undefined_flag_FC=
11989 whole_archive_flag_spec_FC=
11990 enable_shared_with_static_runtimes_FC=no
11991
11992 # Source file extension for fc test sources.
11993 ac_ext=${ac_fc_srcext-f}
11994
11995 # Object file extension for compiled fc test sources.
11996 objext=o
11997 objext_FC=$objext
11998
11999 # No sense in running all these tests if we already determined that
12000 # the FC compiler isn't working.  Some variables (like enable_shared)
12001 # are currently assumed to apply to all compilers on this platform,
12002 # and will be corrupted by setting them based on a non-working compiler.
12003 if test "$_lt_disable_FC" != yes; then
12004   # Code to be used in simple compile tests
12005   lt_simple_compile_test_code="\
12006       subroutine t
12007       return
12008       end
12009 "
12010
12011   # Code to be used in simple link tests
12012   lt_simple_link_test_code="\
12013       program t
12014       end
12015 "
12016
12017   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12018
12019
12020
12021
12022
12023
12024 # If no C compiler was specified, use CC.
12025 LTCC=${LTCC-"$CC"}
12026
12027 # If no C compiler flags were specified, use CFLAGS.
12028 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12029
12030 # Allow CC to be a program name with arguments.
12031 compiler=$CC
12032
12033
12034   # save warnings/boilerplate of simple test code
12035   ac_outfile=conftest.$ac_objext
12036 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12037 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12038 _lt_compiler_boilerplate=`cat conftest.err`
12039 $RM conftest*
12040
12041   ac_outfile=conftest.$ac_objext
12042 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12043 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12044 _lt_linker_boilerplate=`cat conftest.err`
12045 $RM -r conftest*
12046
12047
12048   # Allow CC to be a program name with arguments.
12049   lt_save_CC="$CC"
12050   lt_save_GCC=$GCC
12051   CC=${FC-"f95"}
12052   compiler=$CC
12053   GCC=$ac_cv_fc_compiler_gnu
12054
12055   compiler_FC=$CC
12056   for cc_temp in $compiler""; do
12057   case $cc_temp in
12058     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12059     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12060     \-*) ;;
12061     *) break;;
12062   esac
12063 done
12064 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12065
12066
12067   if test -n "$compiler"; then
12068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12069 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12070     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12071 $as_echo "$can_build_shared" >&6; }
12072
12073     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12074 $as_echo_n "checking whether to build shared libraries... " >&6; }
12075     test "$can_build_shared" = "no" && enable_shared=no
12076
12077     # On AIX, shared libraries and static libraries use the same namespace, and
12078     # are all built from PIC.
12079     case $host_os in
12080       aix3*)
12081         test "$enable_shared" = yes && enable_static=no
12082         if test -n "$RANLIB"; then
12083           archive_cmds="$archive_cmds~\$RANLIB \$lib"
12084           postinstall_cmds='$RANLIB $lib'
12085         fi
12086         ;;
12087       aix[4-9]*)
12088         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12089           test "$enable_shared" = yes && enable_static=no
12090         fi
12091         ;;
12092     esac
12093     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12094 $as_echo "$enable_shared" >&6; }
12095
12096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12097 $as_echo_n "checking whether to build static libraries... " >&6; }
12098     # Make sure either enable_shared or enable_static is yes.
12099     test "$enable_shared" = yes || enable_static=yes
12100     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12101 $as_echo "$enable_static" >&6; }
12102
12103     GCC_FC="$ac_cv_fc_compiler_gnu"
12104     LD_FC="$LD"
12105
12106     ## CAVEAT EMPTOR:
12107     ## There is no encapsulation within the following macros, do not change
12108     ## the running order or otherwise move them around unless you know exactly
12109     ## what you are doing...
12110     # Dependencies to place before and after the object being linked:
12111 predep_objects_FC=
12112 postdep_objects_FC=
12113 predeps_FC=
12114 postdeps_FC=
12115 compiler_lib_search_path_FC=
12116
12117 cat > conftest.$ac_ext <<_LT_EOF
12118       subroutine foo
12119       implicit none
12120       integer a
12121       a=0
12122       return
12123       end
12124 _LT_EOF
12125
12126 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12127   (eval $ac_compile) 2>&5
12128   ac_status=$?
12129   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12130   test $ac_status = 0; }; then
12131   # Parse the compiler output and extract the necessary
12132   # objects, libraries and library flags.
12133
12134   # Sentinel used to keep track of whether or not we are before
12135   # the conftest object file.
12136   pre_test_object_deps_done=no
12137
12138   for p in `eval "$output_verbose_link_cmd"`; do
12139     case $p in
12140
12141     -L* | -R* | -l*)
12142        # Some compilers place space between "-{L,R}" and the path.
12143        # Remove the space.
12144        if test $p = "-L" ||
12145           test $p = "-R"; then
12146          prev=$p
12147          continue
12148        else
12149          prev=
12150        fi
12151
12152        if test "$pre_test_object_deps_done" = no; then
12153          case $p in
12154          -L* | -R*)
12155            # Internal compiler library paths should come after those
12156            # provided the user.  The postdeps already come after the
12157            # user supplied libs so there is no need to process them.
12158            if test -z "$compiler_lib_search_path_FC"; then
12159              compiler_lib_search_path_FC="${prev}${p}"
12160            else
12161              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12162            fi
12163            ;;
12164          # The "-l" case would never come before the object being
12165          # linked, so don't bother handling this case.
12166          esac
12167        else
12168          if test -z "$postdeps_FC"; then
12169            postdeps_FC="${prev}${p}"
12170          else
12171            postdeps_FC="${postdeps_FC} ${prev}${p}"
12172          fi
12173        fi
12174        ;;
12175
12176     *.$objext)
12177        # This assumes that the test object file only shows up
12178        # once in the compiler output.
12179        if test "$p" = "conftest.$objext"; then
12180          pre_test_object_deps_done=yes
12181          continue
12182        fi
12183
12184        if test "$pre_test_object_deps_done" = no; then
12185          if test -z "$predep_objects_FC"; then
12186            predep_objects_FC="$p"
12187          else
12188            predep_objects_FC="$predep_objects_FC $p"
12189          fi
12190        else
12191          if test -z "$postdep_objects_FC"; then
12192            postdep_objects_FC="$p"
12193          else
12194            postdep_objects_FC="$postdep_objects_FC $p"
12195          fi
12196        fi
12197        ;;
12198
12199     *) ;; # Ignore the rest.
12200
12201     esac
12202   done
12203
12204   # Clean up.
12205   rm -f a.out a.exe
12206 else
12207   echo "libtool.m4: error: problem compiling FC test program"
12208 fi
12209
12210 $RM -f confest.$objext
12211
12212 # PORTME: override above test on systems where it is broken
12213
12214
12215 case " $postdeps_FC " in
12216 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12217 esac
12218  compiler_lib_search_dirs_FC=
12219 if test -n "${compiler_lib_search_path_FC}"; then
12220  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12221 fi
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253     lt_prog_compiler_wl_FC=
12254 lt_prog_compiler_pic_FC=
12255 lt_prog_compiler_static_FC=
12256
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12258 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12259
12260   if test "$GCC" = yes; then
12261     lt_prog_compiler_wl_FC='-Wl,'
12262     lt_prog_compiler_static_FC='-static'
12263
12264     case $host_os in
12265       aix*)
12266       # All AIX code is PIC.
12267       if test "$host_cpu" = ia64; then
12268         # AIX 5 now supports IA64 processor
12269         lt_prog_compiler_static_FC='-Bstatic'
12270       fi
12271       ;;
12272
12273     amigaos*)
12274       case $host_cpu in
12275       powerpc)
12276             # see comment about AmigaOS4 .so support
12277             lt_prog_compiler_pic_FC='-fPIC'
12278         ;;
12279       m68k)
12280             # FIXME: we need at least 68020 code to build shared libraries, but
12281             # adding the `-m68020' flag to GCC prevents building anything better,
12282             # like `-m68040'.
12283             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12284         ;;
12285       esac
12286       ;;
12287
12288     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12289       # PIC is the default for these OSes.
12290       ;;
12291
12292     mingw* | cygwin* | pw32* | os2* | cegcc*)
12293       # This hack is so that the source file can tell whether it is being
12294       # built for inclusion in a dll (and should export symbols for example).
12295       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12296       # (--disable-auto-import) libraries
12297       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12298       ;;
12299
12300     darwin* | rhapsody*)
12301       # PIC is the default on this platform
12302       # Common symbols not allowed in MH_DYLIB files
12303       lt_prog_compiler_pic_FC='-fno-common'
12304       ;;
12305
12306     haiku*)
12307       # PIC is the default for Haiku.
12308       # The "-static" flag exists, but is broken.
12309       lt_prog_compiler_static_FC=
12310       ;;
12311
12312     hpux*)
12313       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12314       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12315       # sets the default TLS model and affects inlining.
12316       case $host_cpu in
12317       hppa*64*)
12318         # +Z the default
12319         ;;
12320       *)
12321         lt_prog_compiler_pic_FC='-fPIC'
12322         ;;
12323       esac
12324       ;;
12325
12326     interix[3-9]*)
12327       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12328       # Instead, we relocate shared libraries at runtime.
12329       ;;
12330
12331     msdosdjgpp*)
12332       # Just because we use GCC doesn't mean we suddenly get shared libraries
12333       # on systems that don't support them.
12334       lt_prog_compiler_can_build_shared_FC=no
12335       enable_shared=no
12336       ;;
12337
12338     *nto* | *qnx*)
12339       # QNX uses GNU C++, but need to define -shared option too, otherwise
12340       # it will coredump.
12341       lt_prog_compiler_pic_FC='-fPIC -shared'
12342       ;;
12343
12344     sysv4*MP*)
12345       if test -d /usr/nec; then
12346         lt_prog_compiler_pic_FC=-Kconform_pic
12347       fi
12348       ;;
12349
12350     *)
12351       lt_prog_compiler_pic_FC='-fPIC'
12352       ;;
12353     esac
12354
12355     case $cc_basename in
12356     nvcc*) # Cuda Compiler Driver 2.2
12357       lt_prog_compiler_wl_FC='-Xlinker '
12358       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12359       ;;
12360     esac
12361   else
12362     # PORTME Check for flag to pass linker flags through the system compiler.
12363     case $host_os in
12364     aix*)
12365       lt_prog_compiler_wl_FC='-Wl,'
12366       if test "$host_cpu" = ia64; then
12367         # AIX 5 now supports IA64 processor
12368         lt_prog_compiler_static_FC='-Bstatic'
12369       else
12370         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12371       fi
12372       ;;
12373
12374     mingw* | cygwin* | pw32* | os2* | cegcc*)
12375       # This hack is so that the source file can tell whether it is being
12376       # built for inclusion in a dll (and should export symbols for example).
12377       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12378       ;;
12379
12380     hpux9* | hpux10* | hpux11*)
12381       lt_prog_compiler_wl_FC='-Wl,'
12382       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12383       # not for PA HP-UX.
12384       case $host_cpu in
12385       hppa*64*|ia64*)
12386         # +Z the default
12387         ;;
12388       *)
12389         lt_prog_compiler_pic_FC='+Z'
12390         ;;
12391       esac
12392       # Is there a better lt_prog_compiler_static that works with the bundled CC?
12393       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12394       ;;
12395
12396     irix5* | irix6* | nonstopux*)
12397       lt_prog_compiler_wl_FC='-Wl,'
12398       # PIC (with -KPIC) is the default.
12399       lt_prog_compiler_static_FC='-non_shared'
12400       ;;
12401
12402     linux* | k*bsd*-gnu | kopensolaris*-gnu)
12403       case $cc_basename in
12404       # old Intel for x86_64 which still supported -KPIC.
12405       ecc*)
12406         lt_prog_compiler_wl_FC='-Wl,'
12407         lt_prog_compiler_pic_FC='-KPIC'
12408         lt_prog_compiler_static_FC='-static'
12409         ;;
12410       # icc used to be incompatible with GCC.
12411       # ICC 10 doesn't accept -KPIC any more.
12412       icc* | ifort*)
12413         lt_prog_compiler_wl_FC='-Wl,'
12414         lt_prog_compiler_pic_FC='-fPIC'
12415         lt_prog_compiler_static_FC='-static'
12416         ;;
12417       # Lahey Fortran 8.1.
12418       lf95*)
12419         lt_prog_compiler_wl_FC='-Wl,'
12420         lt_prog_compiler_pic_FC='--shared'
12421         lt_prog_compiler_static_FC='--static'
12422         ;;
12423       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12424         # Portland Group compilers (*not* the Pentium gcc compiler,
12425         # which looks to be a dead project)
12426         lt_prog_compiler_wl_FC='-Wl,'
12427         lt_prog_compiler_pic_FC='-fpic'
12428         lt_prog_compiler_static_FC='-Bstatic'
12429         ;;
12430       ccc*)
12431         lt_prog_compiler_wl_FC='-Wl,'
12432         # All Alpha code is PIC.
12433         lt_prog_compiler_static_FC='-non_shared'
12434         ;;
12435       xl* | bgxl* | bgf* | mpixl*)
12436         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12437         lt_prog_compiler_wl_FC='-Wl,'
12438         lt_prog_compiler_pic_FC='-qpic'
12439         lt_prog_compiler_static_FC='-qstaticlink'
12440         ;;
12441       *)
12442         case `$CC -V 2>&1 | sed 5q` in
12443         *Sun\ F* | *Sun*Fortran*)
12444           # Sun Fortran 8.3 passes all unrecognized flags to the linker
12445           lt_prog_compiler_pic_FC='-KPIC'
12446           lt_prog_compiler_static_FC='-Bstatic'
12447           lt_prog_compiler_wl_FC=''
12448           ;;
12449         *Sun\ C*)
12450           # Sun C 5.9
12451           lt_prog_compiler_pic_FC='-KPIC'
12452           lt_prog_compiler_static_FC='-Bstatic'
12453           lt_prog_compiler_wl_FC='-Wl,'
12454           ;;
12455         esac
12456         ;;
12457       esac
12458       ;;
12459
12460     newsos6)
12461       lt_prog_compiler_pic_FC='-KPIC'
12462       lt_prog_compiler_static_FC='-Bstatic'
12463       ;;
12464
12465     *nto* | *qnx*)
12466       # QNX uses GNU C++, but need to define -shared option too, otherwise
12467       # it will coredump.
12468       lt_prog_compiler_pic_FC='-fPIC -shared'
12469       ;;
12470
12471     osf3* | osf4* | osf5*)
12472       lt_prog_compiler_wl_FC='-Wl,'
12473       # All OSF/1 code is PIC.
12474       lt_prog_compiler_static_FC='-non_shared'
12475       ;;
12476
12477     rdos*)
12478       lt_prog_compiler_static_FC='-non_shared'
12479       ;;
12480
12481     solaris*)
12482       lt_prog_compiler_pic_FC='-KPIC'
12483       lt_prog_compiler_static_FC='-Bstatic'
12484       case $cc_basename in
12485       f77* | f90* | f95*)
12486         lt_prog_compiler_wl_FC='-Qoption ld ';;
12487       *)
12488         lt_prog_compiler_wl_FC='-Wl,';;
12489       esac
12490       ;;
12491
12492     sunos4*)
12493       lt_prog_compiler_wl_FC='-Qoption ld '
12494       lt_prog_compiler_pic_FC='-PIC'
12495       lt_prog_compiler_static_FC='-Bstatic'
12496       ;;
12497
12498     sysv4 | sysv4.2uw2* | sysv4.3*)
12499       lt_prog_compiler_wl_FC='-Wl,'
12500       lt_prog_compiler_pic_FC='-KPIC'
12501       lt_prog_compiler_static_FC='-Bstatic'
12502       ;;
12503
12504     sysv4*MP*)
12505       if test -d /usr/nec ;then
12506         lt_prog_compiler_pic_FC='-Kconform_pic'
12507         lt_prog_compiler_static_FC='-Bstatic'
12508       fi
12509       ;;
12510
12511     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12512       lt_prog_compiler_wl_FC='-Wl,'
12513       lt_prog_compiler_pic_FC='-KPIC'
12514       lt_prog_compiler_static_FC='-Bstatic'
12515       ;;
12516
12517     unicos*)
12518       lt_prog_compiler_wl_FC='-Wl,'
12519       lt_prog_compiler_can_build_shared_FC=no
12520       ;;
12521
12522     uts4*)
12523       lt_prog_compiler_pic_FC='-pic'
12524       lt_prog_compiler_static_FC='-Bstatic'
12525       ;;
12526
12527     *)
12528       lt_prog_compiler_can_build_shared_FC=no
12529       ;;
12530     esac
12531   fi
12532
12533 case $host_os in
12534   # For platforms which do not support PIC, -DPIC is meaningless:
12535   *djgpp*)
12536     lt_prog_compiler_pic_FC=
12537     ;;
12538   *)
12539     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12540     ;;
12541 esac
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12543 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12544
12545
12546
12547 #
12548 # Check to make sure the PIC flag actually works.
12549 #
12550 if test -n "$lt_prog_compiler_pic_FC"; then
12551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12552 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12553 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12554   $as_echo_n "(cached) " >&6
12555 else
12556   lt_cv_prog_compiler_pic_works_FC=no
12557    ac_outfile=conftest.$ac_objext
12558    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12559    lt_compiler_flag="$lt_prog_compiler_pic_FC"
12560    # Insert the option either (1) after the last *FLAGS variable, or
12561    # (2) before a word containing "conftest.", or (3) at the end.
12562    # Note that $ac_compile itself does not contain backslashes and begins
12563    # with a dollar sign (not a hyphen), so the echo should work correctly.
12564    # The option is referenced via a variable to avoid confusing sed.
12565    lt_compile=`echo "$ac_compile" | $SED \
12566    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12567    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12568    -e 's:$: $lt_compiler_flag:'`
12569    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12570    (eval "$lt_compile" 2>conftest.err)
12571    ac_status=$?
12572    cat conftest.err >&5
12573    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574    if (exit $ac_status) && test -s "$ac_outfile"; then
12575      # The compiler can only warn and ignore the option if not recognized
12576      # So say no if there are warnings other than the usual output.
12577      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12578      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12579      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12580        lt_cv_prog_compiler_pic_works_FC=yes
12581      fi
12582    fi
12583    $RM conftest*
12584
12585 fi
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12587 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12588
12589 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12590     case $lt_prog_compiler_pic_FC in
12591      "" | " "*) ;;
12592      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12593      esac
12594 else
12595     lt_prog_compiler_pic_FC=
12596      lt_prog_compiler_can_build_shared_FC=no
12597 fi
12598
12599 fi
12600
12601
12602
12603 #
12604 # Check to make sure the static flag actually works.
12605 #
12606 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12608 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12609 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12610   $as_echo_n "(cached) " >&6
12611 else
12612   lt_cv_prog_compiler_static_works_FC=no
12613    save_LDFLAGS="$LDFLAGS"
12614    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12615    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12616    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12617      # The linker can only warn and ignore the option if not recognized
12618      # So say no if there are warnings
12619      if test -s conftest.err; then
12620        # Append any errors to the config.log.
12621        cat conftest.err 1>&5
12622        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12623        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12624        if diff conftest.exp conftest.er2 >/dev/null; then
12625          lt_cv_prog_compiler_static_works_FC=yes
12626        fi
12627      else
12628        lt_cv_prog_compiler_static_works_FC=yes
12629      fi
12630    fi
12631    $RM -r conftest*
12632    LDFLAGS="$save_LDFLAGS"
12633
12634 fi
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12636 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12637
12638 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12639     :
12640 else
12641     lt_prog_compiler_static_FC=
12642 fi
12643
12644
12645
12646
12647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12648 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12649 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12650   $as_echo_n "(cached) " >&6
12651 else
12652   lt_cv_prog_compiler_c_o_FC=no
12653    $RM -r conftest 2>/dev/null
12654    mkdir conftest
12655    cd conftest
12656    mkdir out
12657    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12658
12659    lt_compiler_flag="-o out/conftest2.$ac_objext"
12660    # Insert the option either (1) after the last *FLAGS variable, or
12661    # (2) before a word containing "conftest.", or (3) at the end.
12662    # Note that $ac_compile itself does not contain backslashes and begins
12663    # with a dollar sign (not a hyphen), so the echo should work correctly.
12664    lt_compile=`echo "$ac_compile" | $SED \
12665    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12666    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12667    -e 's:$: $lt_compiler_flag:'`
12668    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12669    (eval "$lt_compile" 2>out/conftest.err)
12670    ac_status=$?
12671    cat out/conftest.err >&5
12672    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12674    then
12675      # The compiler can only warn and ignore the option if not recognized
12676      # So say no if there are warnings
12677      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12678      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12679      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12680        lt_cv_prog_compiler_c_o_FC=yes
12681      fi
12682    fi
12683    chmod u+w . 2>&5
12684    $RM conftest*
12685    # SGI C++ compiler will create directory out/ii_files/ for
12686    # template instantiation
12687    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12688    $RM out/* && rmdir out
12689    cd ..
12690    $RM -r conftest
12691    $RM conftest*
12692
12693 fi
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12695 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12696
12697
12698
12699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12700 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12701 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12702   $as_echo_n "(cached) " >&6
12703 else
12704   lt_cv_prog_compiler_c_o_FC=no
12705    $RM -r conftest 2>/dev/null
12706    mkdir conftest
12707    cd conftest
12708    mkdir out
12709    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12710
12711    lt_compiler_flag="-o out/conftest2.$ac_objext"
12712    # Insert the option either (1) after the last *FLAGS variable, or
12713    # (2) before a word containing "conftest.", or (3) at the end.
12714    # Note that $ac_compile itself does not contain backslashes and begins
12715    # with a dollar sign (not a hyphen), so the echo should work correctly.
12716    lt_compile=`echo "$ac_compile" | $SED \
12717    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12718    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12719    -e 's:$: $lt_compiler_flag:'`
12720    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12721    (eval "$lt_compile" 2>out/conftest.err)
12722    ac_status=$?
12723    cat out/conftest.err >&5
12724    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12726    then
12727      # The compiler can only warn and ignore the option if not recognized
12728      # So say no if there are warnings
12729      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12730      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12731      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12732        lt_cv_prog_compiler_c_o_FC=yes
12733      fi
12734    fi
12735    chmod u+w . 2>&5
12736    $RM conftest*
12737    # SGI C++ compiler will create directory out/ii_files/ for
12738    # template instantiation
12739    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12740    $RM out/* && rmdir out
12741    cd ..
12742    $RM -r conftest
12743    $RM conftest*
12744
12745 fi
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12747 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12748
12749
12750
12751
12752 hard_links="nottested"
12753 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12754   # do not overwrite the value of need_locks provided by the user
12755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12756 $as_echo_n "checking if we can lock with hard links... " >&6; }
12757   hard_links=yes
12758   $RM conftest*
12759   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12760   touch conftest.a
12761   ln conftest.a conftest.b 2>&5 || hard_links=no
12762   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12764 $as_echo "$hard_links" >&6; }
12765   if test "$hard_links" = no; then
12766     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12767 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12768     need_locks=warn
12769   fi
12770 else
12771   need_locks=no
12772 fi
12773
12774
12775
12776     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12777 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12778
12779   runpath_var=
12780   allow_undefined_flag_FC=
12781   always_export_symbols_FC=no
12782   archive_cmds_FC=
12783   archive_expsym_cmds_FC=
12784   compiler_needs_object_FC=no
12785   enable_shared_with_static_runtimes_FC=no
12786   export_dynamic_flag_spec_FC=
12787   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12788   hardcode_automatic_FC=no
12789   hardcode_direct_FC=no
12790   hardcode_direct_absolute_FC=no
12791   hardcode_libdir_flag_spec_FC=
12792   hardcode_libdir_flag_spec_ld_FC=
12793   hardcode_libdir_separator_FC=
12794   hardcode_minus_L_FC=no
12795   hardcode_shlibpath_var_FC=unsupported
12796   inherit_rpath_FC=no
12797   link_all_deplibs_FC=unknown
12798   module_cmds_FC=
12799   module_expsym_cmds_FC=
12800   old_archive_from_new_cmds_FC=
12801   old_archive_from_expsyms_cmds_FC=
12802   thread_safe_flag_spec_FC=
12803   whole_archive_flag_spec_FC=
12804   # include_expsyms should be a list of space-separated symbols to be *always*
12805   # included in the symbol list
12806   include_expsyms_FC=
12807   # exclude_expsyms can be an extended regexp of symbols to exclude
12808   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12809   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12810   # as well as any symbol that contains `d'.
12811   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12812   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12813   # platforms (ab)use it in PIC code, but their linkers get confused if
12814   # the symbol is explicitly referenced.  Since portable code cannot
12815   # rely on this symbol name, it's probably fine to never include it in
12816   # preloaded symbol tables.
12817   # Exclude shared library initialization/finalization symbols.
12818   extract_expsyms_cmds=
12819
12820   case $host_os in
12821   cygwin* | mingw* | pw32* | cegcc*)
12822     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12823     # When not using gcc, we currently assume that we are using
12824     # Microsoft Visual C++.
12825     if test "$GCC" != yes; then
12826       with_gnu_ld=no
12827     fi
12828     ;;
12829   interix*)
12830     # we just hope/assume this is gcc and not c89 (= MSVC++)
12831     with_gnu_ld=yes
12832     ;;
12833   openbsd*)
12834     with_gnu_ld=no
12835     ;;
12836   esac
12837
12838   ld_shlibs_FC=yes
12839
12840   # On some targets, GNU ld is compatible enough with the native linker
12841   # that we're better off using the native interface for both.
12842   lt_use_gnu_ld_interface=no
12843   if test "$with_gnu_ld" = yes; then
12844     case $host_os in
12845       aix*)
12846         # The AIX port of GNU ld has always aspired to compatibility
12847         # with the native linker.  However, as the warning in the GNU ld
12848         # block says, versions before 2.19.5* couldn't really create working
12849         # shared libraries, regardless of the interface used.
12850         case `$LD -v 2>&1` in
12851           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12852           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12853           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12854           *)
12855             lt_use_gnu_ld_interface=yes
12856             ;;
12857         esac
12858         ;;
12859       *)
12860         lt_use_gnu_ld_interface=yes
12861         ;;
12862     esac
12863   fi
12864
12865   if test "$lt_use_gnu_ld_interface" = yes; then
12866     # If archive_cmds runs LD, not CC, wlarc should be empty
12867     wlarc='${wl}'
12868
12869     # Set some defaults for GNU ld with shared library support. These
12870     # are reset later if shared libraries are not supported. Putting them
12871     # here allows them to be overridden if necessary.
12872     runpath_var=LD_RUN_PATH
12873     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12874     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12875     # ancient GNU ld didn't support --whole-archive et. al.
12876     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12877       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12878     else
12879       whole_archive_flag_spec_FC=
12880     fi
12881     supports_anon_versioning=no
12882     case `$LD -v 2>&1` in
12883       *GNU\ gold*) supports_anon_versioning=yes ;;
12884       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12885       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12886       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12887       *\ 2.11.*) ;; # other 2.11 versions
12888       *) supports_anon_versioning=yes ;;
12889     esac
12890
12891     # See if GNU ld supports shared libraries.
12892     case $host_os in
12893     aix[3-9]*)
12894       # On AIX/PPC, the GNU linker is very broken
12895       if test "$host_cpu" != ia64; then
12896         ld_shlibs_FC=no
12897         cat <<_LT_EOF 1>&2
12898
12899 *** Warning: the GNU linker, at least up to release 2.19, is reported
12900 *** to be unable to reliably create shared libraries on AIX.
12901 *** Therefore, libtool is disabling shared libraries support.  If you
12902 *** really care for shared libraries, you may want to install binutils
12903 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12904 *** You will then need to restart the configuration process.
12905
12906 _LT_EOF
12907       fi
12908       ;;
12909
12910     amigaos*)
12911       case $host_cpu in
12912       powerpc)
12913             # see comment about AmigaOS4 .so support
12914             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12915             archive_expsym_cmds_FC=''
12916         ;;
12917       m68k)
12918             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)'
12919             hardcode_libdir_flag_spec_FC='-L$libdir'
12920             hardcode_minus_L_FC=yes
12921         ;;
12922       esac
12923       ;;
12924
12925     beos*)
12926       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12927         allow_undefined_flag_FC=unsupported
12928         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12929         # support --undefined.  This deserves some investigation.  FIXME
12930         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12931       else
12932         ld_shlibs_FC=no
12933       fi
12934       ;;
12935
12936     cygwin* | mingw* | pw32* | cegcc*)
12937       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12938       # as there is no search path for DLLs.
12939       hardcode_libdir_flag_spec_FC='-L$libdir'
12940       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12941       allow_undefined_flag_FC=unsupported
12942       always_export_symbols_FC=no
12943       enable_shared_with_static_runtimes_FC=yes
12944       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12945
12946       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12947         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12948         # If the export-symbols file already is a .def file (1st line
12949         # is EXPORTS), use it as is; otherwise, prepend...
12950         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12951           cp $export_symbols $output_objdir/$soname.def;
12952         else
12953           echo EXPORTS > $output_objdir/$soname.def;
12954           cat $export_symbols >> $output_objdir/$soname.def;
12955         fi~
12956         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12957       else
12958         ld_shlibs_FC=no
12959       fi
12960       ;;
12961
12962     haiku*)
12963       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12964       link_all_deplibs_FC=yes
12965       ;;
12966
12967     interix[3-9]*)
12968       hardcode_direct_FC=no
12969       hardcode_shlibpath_var_FC=no
12970       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12971       export_dynamic_flag_spec_FC='${wl}-E'
12972       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12973       # Instead, shared libraries are loaded at an image base (0x10000000 by
12974       # default) and relocated if they conflict, which is a slow very memory
12975       # consuming and fragmenting process.  To avoid this, we pick a random,
12976       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12977       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12978       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'
12979       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'
12980       ;;
12981
12982     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12983       tmp_diet=no
12984       if test "$host_os" = linux-dietlibc; then
12985         case $cc_basename in
12986           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12987         esac
12988       fi
12989       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12990          && test "$tmp_diet" = no
12991       then
12992         tmp_addflag=
12993         tmp_sharedflag='-shared'
12994         case $cc_basename,$host_cpu in
12995         pgcc*)                          # Portland Group C compiler
12996           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'
12997           tmp_addflag=' $pic_flag'
12998           ;;
12999         pgf77* | pgf90* | pgf95* | pgfortran*)
13000                                         # Portland Group f77 and f90 compilers
13001           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'
13002           tmp_addflag=' $pic_flag -Mnomain' ;;
13003         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
13004           tmp_addflag=' -i_dynamic' ;;
13005         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13006           tmp_addflag=' -i_dynamic -nofor_main' ;;
13007         ifc* | ifort*)                  # Intel Fortran compiler
13008           tmp_addflag=' -nofor_main' ;;
13009         lf95*)                          # Lahey Fortran 8.1
13010           whole_archive_flag_spec_FC=
13011           tmp_sharedflag='--shared' ;;
13012         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13013           tmp_sharedflag='-qmkshrobj'
13014           tmp_addflag= ;;
13015         nvcc*)  # Cuda Compiler Driver 2.2
13016           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'
13017           compiler_needs_object_FC=yes
13018           ;;
13019         esac
13020         case `$CC -V 2>&1 | sed 5q` in
13021         *Sun\ C*)                       # Sun C 5.9
13022           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'
13023           compiler_needs_object_FC=yes
13024           tmp_sharedflag='-G' ;;
13025         *Sun\ F*)                       # Sun Fortran 8.3
13026           tmp_sharedflag='-G' ;;
13027         esac
13028         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13029
13030         if test "x$supports_anon_versioning" = xyes; then
13031           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13032             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13033             echo "local: *; };" >> $output_objdir/$libname.ver~
13034             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13035         fi
13036
13037         case $cc_basename in
13038         xlf* | bgf* | bgxlf* | mpixlf*)
13039           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13040           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13041           hardcode_libdir_flag_spec_FC=
13042           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13043           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13044           if test "x$supports_anon_versioning" = xyes; then
13045             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13046               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13047               echo "local: *; };" >> $output_objdir/$libname.ver~
13048               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13049           fi
13050           ;;
13051         esac
13052       else
13053         ld_shlibs_FC=no
13054       fi
13055       ;;
13056
13057     netbsd*)
13058       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13059         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13060         wlarc=
13061       else
13062         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13063         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13064       fi
13065       ;;
13066
13067     solaris*)
13068       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13069         ld_shlibs_FC=no
13070         cat <<_LT_EOF 1>&2
13071
13072 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13073 *** create shared libraries on Solaris systems.  Therefore, libtool
13074 *** is disabling shared libraries support.  We urge you to upgrade GNU
13075 *** binutils to release 2.9.1 or newer.  Another option is to modify
13076 *** your PATH or compiler configuration so that the native linker is
13077 *** used, and then restart.
13078
13079 _LT_EOF
13080       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13081         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13082         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13083       else
13084         ld_shlibs_FC=no
13085       fi
13086       ;;
13087
13088     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13089       case `$LD -v 2>&1` in
13090         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13091         ld_shlibs_FC=no
13092         cat <<_LT_EOF 1>&2
13093
13094 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13095 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13096 *** is disabling shared libraries support.  We urge you to upgrade GNU
13097 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13098 *** your PATH or compiler configuration so that the native linker is
13099 *** used, and then restart.
13100
13101 _LT_EOF
13102         ;;
13103         *)
13104           # For security reasons, it is highly recommended that you always
13105           # use absolute paths for naming shared libraries, and exclude the
13106           # DT_RUNPATH tag from executables and libraries.  But doing so
13107           # requires that you compile everything twice, which is a pain.
13108           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13109             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13110             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13111             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13112           else
13113             ld_shlibs_FC=no
13114           fi
13115         ;;
13116       esac
13117       ;;
13118
13119     sunos4*)
13120       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13121       wlarc=
13122       hardcode_direct_FC=yes
13123       hardcode_shlibpath_var_FC=no
13124       ;;
13125
13126     *)
13127       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13128         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13129         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13130       else
13131         ld_shlibs_FC=no
13132       fi
13133       ;;
13134     esac
13135
13136     if test "$ld_shlibs_FC" = no; then
13137       runpath_var=
13138       hardcode_libdir_flag_spec_FC=
13139       export_dynamic_flag_spec_FC=
13140       whole_archive_flag_spec_FC=
13141     fi
13142   else
13143     # PORTME fill in a description of your system's linker (not GNU ld)
13144     case $host_os in
13145     aix3*)
13146       allow_undefined_flag_FC=unsupported
13147       always_export_symbols_FC=yes
13148       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'
13149       # Note: this linker hardcodes the directories in LIBPATH if there
13150       # are no directories specified by -L.
13151       hardcode_minus_L_FC=yes
13152       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13153         # Neither direct hardcoding nor static linking is supported with a
13154         # broken collect2.
13155         hardcode_direct_FC=unsupported
13156       fi
13157       ;;
13158
13159     aix[4-9]*)
13160       if test "$host_cpu" = ia64; then
13161         # On IA64, the linker does run time linking by default, so we don't
13162         # have to do anything special.
13163         aix_use_runtimelinking=no
13164         exp_sym_flag='-Bexport'
13165         no_entry_flag=""
13166       else
13167         # If we're using GNU nm, then we don't want the "-C" option.
13168         # -C means demangle to AIX nm, but means don't demangle with GNU nm
13169         # Also, AIX nm treats weak defined symbols like other global
13170         # defined symbols, whereas GNU nm marks them as "W".
13171         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13172           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'
13173         else
13174           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'
13175         fi
13176         aix_use_runtimelinking=no
13177
13178         # Test if we are trying to use run time linking or normal
13179         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13180         # need to do runtime linking.
13181         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13182           for ld_flag in $LDFLAGS; do
13183           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13184             aix_use_runtimelinking=yes
13185             break
13186           fi
13187           done
13188           ;;
13189         esac
13190
13191         exp_sym_flag='-bexport'
13192         no_entry_flag='-bnoentry'
13193       fi
13194
13195       # When large executables or shared objects are built, AIX ld can
13196       # have problems creating the table of contents.  If linking a library
13197       # or program results in "error TOC overflow" add -mminimal-toc to
13198       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13199       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13200
13201       archive_cmds_FC=''
13202       hardcode_direct_FC=yes
13203       hardcode_direct_absolute_FC=yes
13204       hardcode_libdir_separator_FC=':'
13205       link_all_deplibs_FC=yes
13206       file_list_spec_FC='${wl}-f,'
13207
13208       if test "$GCC" = yes; then
13209         case $host_os in aix4.[012]|aix4.[012].*)
13210         # We only want to do this on AIX 4.2 and lower, the check
13211         # below for broken collect2 doesn't work under 4.3+
13212           collect2name=`${CC} -print-prog-name=collect2`
13213           if test -f "$collect2name" &&
13214            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13215           then
13216           # We have reworked collect2
13217           :
13218           else
13219           # We have old collect2
13220           hardcode_direct_FC=unsupported
13221           # It fails to find uninstalled libraries when the uninstalled
13222           # path is not listed in the libpath.  Setting hardcode_minus_L
13223           # to unsupported forces relinking
13224           hardcode_minus_L_FC=yes
13225           hardcode_libdir_flag_spec_FC='-L$libdir'
13226           hardcode_libdir_separator_FC=
13227           fi
13228           ;;
13229         esac
13230         shared_flag='-shared'
13231         if test "$aix_use_runtimelinking" = yes; then
13232           shared_flag="$shared_flag "'${wl}-G'
13233         fi
13234       else
13235         # not using gcc
13236         if test "$host_cpu" = ia64; then
13237         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13238         # chokes on -Wl,-G. The following line is correct:
13239           shared_flag='-G'
13240         else
13241           if test "$aix_use_runtimelinking" = yes; then
13242             shared_flag='${wl}-G'
13243           else
13244             shared_flag='${wl}-bM:SRE'
13245           fi
13246         fi
13247       fi
13248
13249       export_dynamic_flag_spec_FC='${wl}-bexpall'
13250       # It seems that -bexpall does not export symbols beginning with
13251       # underscore (_), so it is better to generate a list of symbols to export.
13252       always_export_symbols_FC=yes
13253       if test "$aix_use_runtimelinking" = yes; then
13254         # Warning - without using the other runtime loading flags (-brtl),
13255         # -berok will link without error, but may produce a broken library.
13256         allow_undefined_flag_FC='-berok'
13257         # Determine the default libpath from the value encoded in an
13258         # empty executable.
13259         if test x$gcc_no_link = xyes; then
13260   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13261 fi
13262 cat > conftest.$ac_ext <<_ACEOF
13263       program main
13264
13265       end
13266 _ACEOF
13267 if ac_fn_fc_try_link "$LINENO"; then :
13268
13269 lt_aix_libpath_sed='
13270     /Import File Strings/,/^$/ {
13271         /^0/ {
13272             s/^0  *\(.*\)$/\1/
13273             p
13274         }
13275     }'
13276 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13277 # Check for a 64-bit object if we didn't find anything.
13278 if test -z "$aix_libpath"; then
13279   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13280 fi
13281 fi
13282 rm -f core conftest.err conftest.$ac_objext \
13283     conftest$ac_exeext conftest.$ac_ext
13284 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13285
13286         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13287         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"
13288       else
13289         if test "$host_cpu" = ia64; then
13290           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13291           allow_undefined_flag_FC="-z nodefs"
13292           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"
13293         else
13294          # Determine the default libpath from the value encoded in an
13295          # empty executable.
13296          if test x$gcc_no_link = xyes; then
13297   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13298 fi
13299 cat > conftest.$ac_ext <<_ACEOF
13300       program main
13301
13302       end
13303 _ACEOF
13304 if ac_fn_fc_try_link "$LINENO"; then :
13305
13306 lt_aix_libpath_sed='
13307     /Import File Strings/,/^$/ {
13308         /^0/ {
13309             s/^0  *\(.*\)$/\1/
13310             p
13311         }
13312     }'
13313 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13314 # Check for a 64-bit object if we didn't find anything.
13315 if test -z "$aix_libpath"; then
13316   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13317 fi
13318 fi
13319 rm -f core conftest.err conftest.$ac_objext \
13320     conftest$ac_exeext conftest.$ac_ext
13321 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13322
13323          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13324           # Warning - without using the other run time loading flags,
13325           # -berok will link without error, but may produce a broken library.
13326           no_undefined_flag_FC=' ${wl}-bernotok'
13327           allow_undefined_flag_FC=' ${wl}-berok'
13328           if test "$with_gnu_ld" = yes; then
13329             # We only use this code for GNU lds that support --whole-archive.
13330             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13331           else
13332             # Exported symbols can be pulled into shared objects from archives
13333             whole_archive_flag_spec_FC='$convenience'
13334           fi
13335           archive_cmds_need_lc_FC=yes
13336           # This is similar to how AIX traditionally builds its shared libraries.
13337           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'
13338         fi
13339       fi
13340       ;;
13341
13342     amigaos*)
13343       case $host_cpu in
13344       powerpc)
13345             # see comment about AmigaOS4 .so support
13346             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13347             archive_expsym_cmds_FC=''
13348         ;;
13349       m68k)
13350             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)'
13351             hardcode_libdir_flag_spec_FC='-L$libdir'
13352             hardcode_minus_L_FC=yes
13353         ;;
13354       esac
13355       ;;
13356
13357     bsdi[45]*)
13358       export_dynamic_flag_spec_FC=-rdynamic
13359       ;;
13360
13361     cygwin* | mingw* | pw32* | cegcc*)
13362       # When not using gcc, we currently assume that we are using
13363       # Microsoft Visual C++.
13364       # hardcode_libdir_flag_spec is actually meaningless, as there is
13365       # no search path for DLLs.
13366       hardcode_libdir_flag_spec_FC=' '
13367       allow_undefined_flag_FC=unsupported
13368       # Tell ltmain to make .lib files, not .a files.
13369       libext=lib
13370       # Tell ltmain to make .dll files, not .so files.
13371       shrext_cmds=".dll"
13372       # FIXME: Setting linknames here is a bad hack.
13373       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13374       # The linker will automatically build a .lib file if we build a DLL.
13375       old_archive_from_new_cmds_FC='true'
13376       # FIXME: Should let the user specify the lib program.
13377       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13378       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13379       enable_shared_with_static_runtimes_FC=yes
13380       ;;
13381
13382     darwin* | rhapsody*)
13383
13384
13385   archive_cmds_need_lc_FC=no
13386   hardcode_direct_FC=no
13387   hardcode_automatic_FC=yes
13388   hardcode_shlibpath_var_FC=unsupported
13389   if test "$lt_cv_ld_force_load" = "yes"; then
13390     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\"`'
13391   else
13392     whole_archive_flag_spec_FC=''
13393   fi
13394   link_all_deplibs_FC=yes
13395   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13396   case $cc_basename in
13397      ifort*) _lt_dar_can_shared=yes ;;
13398      *) _lt_dar_can_shared=$GCC ;;
13399   esac
13400   if test "$_lt_dar_can_shared" = "yes"; then
13401     output_verbose_link_cmd=func_echo_all
13402     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}"
13403     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13404     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}"
13405     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}"
13406
13407   else
13408   ld_shlibs_FC=no
13409   fi
13410
13411       ;;
13412
13413     dgux*)
13414       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13415       hardcode_libdir_flag_spec_FC='-L$libdir'
13416       hardcode_shlibpath_var_FC=no
13417       ;;
13418
13419     freebsd1*)
13420       ld_shlibs_FC=no
13421       ;;
13422
13423     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13424     # support.  Future versions do this automatically, but an explicit c++rt0.o
13425     # does not break anything, and helps significantly (at the cost of a little
13426     # extra space).
13427     freebsd2.2*)
13428       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13429       hardcode_libdir_flag_spec_FC='-R$libdir'
13430       hardcode_direct_FC=yes
13431       hardcode_shlibpath_var_FC=no
13432       ;;
13433
13434     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13435     freebsd2*)
13436       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13437       hardcode_direct_FC=yes
13438       hardcode_minus_L_FC=yes
13439       hardcode_shlibpath_var_FC=no
13440       ;;
13441
13442     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13443     freebsd* | dragonfly*)
13444       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13445       hardcode_libdir_flag_spec_FC='-R$libdir'
13446       hardcode_direct_FC=yes
13447       hardcode_shlibpath_var_FC=no
13448       ;;
13449
13450     hpux9*)
13451       if test "$GCC" = yes; then
13452         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'
13453       else
13454         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'
13455       fi
13456       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13457       hardcode_libdir_separator_FC=:
13458       hardcode_direct_FC=yes
13459
13460       # hardcode_minus_L: Not really in the search PATH,
13461       # but as the default location of the library.
13462       hardcode_minus_L_FC=yes
13463       export_dynamic_flag_spec_FC='${wl}-E'
13464       ;;
13465
13466     hpux10*)
13467       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13468         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13469       else
13470         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13471       fi
13472       if test "$with_gnu_ld" = no; then
13473         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13474         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13475         hardcode_libdir_separator_FC=:
13476         hardcode_direct_FC=yes
13477         hardcode_direct_absolute_FC=yes
13478         export_dynamic_flag_spec_FC='${wl}-E'
13479         # hardcode_minus_L: Not really in the search PATH,
13480         # but as the default location of the library.
13481         hardcode_minus_L_FC=yes
13482       fi
13483       ;;
13484
13485     hpux11*)
13486       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13487         case $host_cpu in
13488         hppa*64*)
13489           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13490           ;;
13491         ia64*)
13492           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13493           ;;
13494         *)
13495           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13496           ;;
13497         esac
13498       else
13499         case $host_cpu in
13500         hppa*64*)
13501           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13502           ;;
13503         ia64*)
13504           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13505           ;;
13506         *)
13507         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13508           ;;
13509         esac
13510       fi
13511       if test "$with_gnu_ld" = no; then
13512         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13513         hardcode_libdir_separator_FC=:
13514
13515         case $host_cpu in
13516         hppa*64*|ia64*)
13517           hardcode_direct_FC=no
13518           hardcode_shlibpath_var_FC=no
13519           ;;
13520         *)
13521           hardcode_direct_FC=yes
13522           hardcode_direct_absolute_FC=yes
13523           export_dynamic_flag_spec_FC='${wl}-E'
13524
13525           # hardcode_minus_L: Not really in the search PATH,
13526           # but as the default location of the library.
13527           hardcode_minus_L_FC=yes
13528           ;;
13529         esac
13530       fi
13531       ;;
13532
13533     irix5* | irix6* | nonstopux*)
13534       if test "$GCC" = yes; then
13535         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'
13536         # Try to use the -exported_symbol ld option, if it does not
13537         # work, assume that -exports_file does not work either and
13538         # implicitly export all symbols.
13539         save_LDFLAGS="$LDFLAGS"
13540         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13541         if test x$gcc_no_link = xyes; then
13542   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13543 fi
13544 cat > conftest.$ac_ext <<_ACEOF
13545 int foo(void) {}
13546 _ACEOF
13547 if ac_fn_fc_try_link "$LINENO"; then :
13548   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'
13549
13550 fi
13551 rm -f core conftest.err conftest.$ac_objext \
13552     conftest$ac_exeext conftest.$ac_ext
13553         LDFLAGS="$save_LDFLAGS"
13554       else
13555         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'
13556         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'
13557       fi
13558       archive_cmds_need_lc_FC='no'
13559       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13560       hardcode_libdir_separator_FC=:
13561       inherit_rpath_FC=yes
13562       link_all_deplibs_FC=yes
13563       ;;
13564
13565     netbsd*)
13566       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13567         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13568       else
13569         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13570       fi
13571       hardcode_libdir_flag_spec_FC='-R$libdir'
13572       hardcode_direct_FC=yes
13573       hardcode_shlibpath_var_FC=no
13574       ;;
13575
13576     newsos6)
13577       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13578       hardcode_direct_FC=yes
13579       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13580       hardcode_libdir_separator_FC=:
13581       hardcode_shlibpath_var_FC=no
13582       ;;
13583
13584     *nto* | *qnx*)
13585       ;;
13586
13587     openbsd*)
13588       if test -f /usr/libexec/ld.so; then
13589         hardcode_direct_FC=yes
13590         hardcode_shlibpath_var_FC=no
13591         hardcode_direct_absolute_FC=yes
13592         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13593           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13594           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13595           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13596           export_dynamic_flag_spec_FC='${wl}-E'
13597         else
13598           case $host_os in
13599            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13600              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13601              hardcode_libdir_flag_spec_FC='-R$libdir'
13602              ;;
13603            *)
13604              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13605              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13606              ;;
13607           esac
13608         fi
13609       else
13610         ld_shlibs_FC=no
13611       fi
13612       ;;
13613
13614     os2*)
13615       hardcode_libdir_flag_spec_FC='-L$libdir'
13616       hardcode_minus_L_FC=yes
13617       allow_undefined_flag_FC=unsupported
13618       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'
13619       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13620       ;;
13621
13622     osf3*)
13623       if test "$GCC" = yes; then
13624         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13625         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'
13626       else
13627         allow_undefined_flag_FC=' -expect_unresolved \*'
13628         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'
13629       fi
13630       archive_cmds_need_lc_FC='no'
13631       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13632       hardcode_libdir_separator_FC=:
13633       ;;
13634
13635     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13636       if test "$GCC" = yes; then
13637         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13638         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'
13639         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13640       else
13641         allow_undefined_flag_FC=' -expect_unresolved \*'
13642         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'
13643         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~
13644         $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'
13645
13646         # Both c and cxx compiler support -rpath directly
13647         hardcode_libdir_flag_spec_FC='-rpath $libdir'
13648       fi
13649       archive_cmds_need_lc_FC='no'
13650       hardcode_libdir_separator_FC=:
13651       ;;
13652
13653     solaris*)
13654       no_undefined_flag_FC=' -z defs'
13655       if test "$GCC" = yes; then
13656         wlarc='${wl}'
13657         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13658         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13659           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13660       else
13661         case `$CC -V 2>&1` in
13662         *"Compilers 5.0"*)
13663           wlarc=''
13664           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13665           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13666           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13667           ;;
13668         *)
13669           wlarc='${wl}'
13670           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13671           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13672           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13673           ;;
13674         esac
13675       fi
13676       hardcode_libdir_flag_spec_FC='-R$libdir'
13677       hardcode_shlibpath_var_FC=no
13678       case $host_os in
13679       solaris2.[0-5] | solaris2.[0-5].*) ;;
13680       *)
13681         # The compiler driver will combine and reorder linker options,
13682         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13683         # but is careful enough not to reorder.
13684         # Supported since Solaris 2.6 (maybe 2.5.1?)
13685         if test "$GCC" = yes; then
13686           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13687         else
13688           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13689         fi
13690         ;;
13691       esac
13692       link_all_deplibs_FC=yes
13693       ;;
13694
13695     sunos4*)
13696       if test "x$host_vendor" = xsequent; then
13697         # Use $CC to link under sequent, because it throws in some extra .o
13698         # files that make .init and .fini sections work.
13699         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13700       else
13701         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13702       fi
13703       hardcode_libdir_flag_spec_FC='-L$libdir'
13704       hardcode_direct_FC=yes
13705       hardcode_minus_L_FC=yes
13706       hardcode_shlibpath_var_FC=no
13707       ;;
13708
13709     sysv4)
13710       case $host_vendor in
13711         sni)
13712           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13713           hardcode_direct_FC=yes # is this really true???
13714         ;;
13715         siemens)
13716           ## LD is ld it makes a PLAMLIB
13717           ## CC just makes a GrossModule.
13718           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13719           reload_cmds_FC='$CC -r -o $output$reload_objs'
13720           hardcode_direct_FC=no
13721         ;;
13722         motorola)
13723           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13724           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13725         ;;
13726       esac
13727       runpath_var='LD_RUN_PATH'
13728       hardcode_shlibpath_var_FC=no
13729       ;;
13730
13731     sysv4.3*)
13732       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13733       hardcode_shlibpath_var_FC=no
13734       export_dynamic_flag_spec_FC='-Bexport'
13735       ;;
13736
13737     sysv4*MP*)
13738       if test -d /usr/nec; then
13739         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13740         hardcode_shlibpath_var_FC=no
13741         runpath_var=LD_RUN_PATH
13742         hardcode_runpath_var=yes
13743         ld_shlibs_FC=yes
13744       fi
13745       ;;
13746
13747     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13748       no_undefined_flag_FC='${wl}-z,text'
13749       archive_cmds_need_lc_FC=no
13750       hardcode_shlibpath_var_FC=no
13751       runpath_var='LD_RUN_PATH'
13752
13753       if test "$GCC" = yes; then
13754         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13755         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13756       else
13757         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13758         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13759       fi
13760       ;;
13761
13762     sysv5* | sco3.2v5* | sco5v6*)
13763       # Note: We can NOT use -z defs as we might desire, because we do not
13764       # link with -lc, and that would cause any symbols used from libc to
13765       # always be unresolved, which means just about no library would
13766       # ever link correctly.  If we're not using GNU ld we use -z text
13767       # though, which does catch some bad symbols but isn't as heavy-handed
13768       # as -z defs.
13769       no_undefined_flag_FC='${wl}-z,text'
13770       allow_undefined_flag_FC='${wl}-z,nodefs'
13771       archive_cmds_need_lc_FC=no
13772       hardcode_shlibpath_var_FC=no
13773       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13774       hardcode_libdir_separator_FC=':'
13775       link_all_deplibs_FC=yes
13776       export_dynamic_flag_spec_FC='${wl}-Bexport'
13777       runpath_var='LD_RUN_PATH'
13778
13779       if test "$GCC" = yes; then
13780         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13781         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13782       else
13783         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13784         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13785       fi
13786       ;;
13787
13788     uts4*)
13789       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13790       hardcode_libdir_flag_spec_FC='-L$libdir'
13791       hardcode_shlibpath_var_FC=no
13792       ;;
13793
13794     *)
13795       ld_shlibs_FC=no
13796       ;;
13797     esac
13798
13799     if test x$host_vendor = xsni; then
13800       case $host in
13801       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13802         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13803         ;;
13804       esac
13805     fi
13806   fi
13807
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13809 $as_echo "$ld_shlibs_FC" >&6; }
13810 test "$ld_shlibs_FC" = no && can_build_shared=no
13811
13812 with_gnu_ld_FC=$with_gnu_ld
13813
13814
13815
13816
13817
13818
13819 #
13820 # Do we need to explicitly link libc?
13821 #
13822 case "x$archive_cmds_need_lc_FC" in
13823 x|xyes)
13824   # Assume -lc should be added
13825   archive_cmds_need_lc_FC=yes
13826
13827   if test "$enable_shared" = yes && test "$GCC" = yes; then
13828     case $archive_cmds_FC in
13829     *'~'*)
13830       # FIXME: we may have to deal with multi-command sequences.
13831       ;;
13832     '$CC '*)
13833       # Test whether the compiler implicitly links with -lc since on some
13834       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13835       # to ld, don't add -lc before -lgcc.
13836       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13837 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13838 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13839   $as_echo_n "(cached) " >&6
13840 else
13841   $RM conftest*
13842         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13843
13844         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13845   (eval $ac_compile) 2>&5
13846   ac_status=$?
13847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13848   test $ac_status = 0; } 2>conftest.err; then
13849           soname=conftest
13850           lib=conftest
13851           libobjs=conftest.$ac_objext
13852           deplibs=
13853           wl=$lt_prog_compiler_wl_FC
13854           pic_flag=$lt_prog_compiler_pic_FC
13855           compiler_flags=-v
13856           linker_flags=-v
13857           verstring=
13858           output_objdir=.
13859           libname=conftest
13860           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13861           allow_undefined_flag_FC=
13862           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13863   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13864   ac_status=$?
13865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13866   test $ac_status = 0; }
13867           then
13868             lt_cv_archive_cmds_need_lc_FC=no
13869           else
13870             lt_cv_archive_cmds_need_lc_FC=yes
13871           fi
13872           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13873         else
13874           cat conftest.err 1>&5
13875         fi
13876         $RM conftest*
13877
13878 fi
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13880 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13881       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13882       ;;
13883     esac
13884   fi
13885   ;;
13886 esac
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
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13952 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13953
13954 library_names_spec=
13955 libname_spec='lib$name'
13956 soname_spec=
13957 shrext_cmds=".so"
13958 postinstall_cmds=
13959 postuninstall_cmds=
13960 finish_cmds=
13961 finish_eval=
13962 shlibpath_var=
13963 shlibpath_overrides_runpath=unknown
13964 version_type=none
13965 dynamic_linker="$host_os ld.so"
13966 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13967 need_lib_prefix=unknown
13968 hardcode_into_libs=no
13969
13970 # when you set need_version to no, make sure it does not cause -set_version
13971 # flags to be left without arguments
13972 need_version=unknown
13973
13974 case $host_os in
13975 aix3*)
13976   version_type=linux
13977   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13978   shlibpath_var=LIBPATH
13979
13980   # AIX 3 has no versioning support, so we append a major version to the name.
13981   soname_spec='${libname}${release}${shared_ext}$major'
13982   ;;
13983
13984 aix[4-9]*)
13985   version_type=linux
13986   need_lib_prefix=no
13987   need_version=no
13988   hardcode_into_libs=yes
13989   if test "$host_cpu" = ia64; then
13990     # AIX 5 supports IA64
13991     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13992     shlibpath_var=LD_LIBRARY_PATH
13993   else
13994     # With GCC up to 2.95.x, collect2 would create an import file
13995     # for dependence libraries.  The import file would start with
13996     # the line `#! .'.  This would cause the generated library to
13997     # depend on `.', always an invalid library.  This was fixed in
13998     # development snapshots of GCC prior to 3.0.
13999     case $host_os in
14000       aix4 | aix4.[01] | aix4.[01].*)
14001       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14002            echo ' yes '
14003            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14004         :
14005       else
14006         can_build_shared=no
14007       fi
14008       ;;
14009     esac
14010     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14011     # soname into executable. Probably we can add versioning support to
14012     # collect2, so additional links can be useful in future.
14013     if test "$aix_use_runtimelinking" = yes; then
14014       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14015       # instead of lib<name>.a to let people know that these are not
14016       # typical AIX shared libraries.
14017       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14018     else
14019       # We preserve .a as extension for shared libraries through AIX4.2
14020       # and later when we are not doing run time linking.
14021       library_names_spec='${libname}${release}.a $libname.a'
14022       soname_spec='${libname}${release}${shared_ext}$major'
14023     fi
14024     shlibpath_var=LIBPATH
14025   fi
14026   ;;
14027
14028 amigaos*)
14029   case $host_cpu in
14030   powerpc)
14031     # Since July 2007 AmigaOS4 officially supports .so libraries.
14032     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14033     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14034     ;;
14035   m68k)
14036     library_names_spec='$libname.ixlibrary $libname.a'
14037     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14038     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'
14039     ;;
14040   esac
14041   ;;
14042
14043 beos*)
14044   library_names_spec='${libname}${shared_ext}'
14045   dynamic_linker="$host_os ld.so"
14046   shlibpath_var=LIBRARY_PATH
14047   ;;
14048
14049 bsdi[45]*)
14050   version_type=linux
14051   need_version=no
14052   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14053   soname_spec='${libname}${release}${shared_ext}$major'
14054   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14055   shlibpath_var=LD_LIBRARY_PATH
14056   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14057   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14058   # the default ld.so.conf also contains /usr/contrib/lib and
14059   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14060   # libtool to hard-code these into programs
14061   ;;
14062
14063 cygwin* | mingw* | pw32* | cegcc*)
14064   version_type=windows
14065   shrext_cmds=".dll"
14066   need_version=no
14067   need_lib_prefix=no
14068
14069   case $GCC,$host_os in
14070   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14071     library_names_spec='$libname.dll.a'
14072     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14073     postinstall_cmds='base_file=`basename \${file}`~
14074       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14075       dldir=$destdir/`dirname \$dlpath`~
14076       test -d \$dldir || mkdir -p \$dldir~
14077       $install_prog $dir/$dlname \$dldir/$dlname~
14078       chmod a+x \$dldir/$dlname~
14079       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14080         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14081       fi'
14082     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14083       dlpath=$dir/\$dldll~
14084        $RM \$dlpath'
14085     shlibpath_overrides_runpath=yes
14086
14087     case $host_os in
14088     cygwin*)
14089       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14090       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14091
14092       ;;
14093     mingw* | cegcc*)
14094       # MinGW DLLs use traditional 'lib' prefix
14095       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14096       ;;
14097     pw32*)
14098       # pw32 DLLs use 'pw' prefix rather than 'lib'
14099       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14100       ;;
14101     esac
14102     ;;
14103
14104   *)
14105     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14106     ;;
14107   esac
14108   dynamic_linker='Win32 ld.exe'
14109   # FIXME: first we should search . and the directory the executable is in
14110   shlibpath_var=PATH
14111   ;;
14112
14113 darwin* | rhapsody*)
14114   dynamic_linker="$host_os dyld"
14115   version_type=darwin
14116   need_lib_prefix=no
14117   need_version=no
14118   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14119   soname_spec='${libname}${release}${major}$shared_ext'
14120   shlibpath_overrides_runpath=yes
14121   shlibpath_var=DYLD_LIBRARY_PATH
14122   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14123
14124   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14125   ;;
14126
14127 dgux*)
14128   version_type=linux
14129   need_lib_prefix=no
14130   need_version=no
14131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14132   soname_spec='${libname}${release}${shared_ext}$major'
14133   shlibpath_var=LD_LIBRARY_PATH
14134   ;;
14135
14136 freebsd1*)
14137   dynamic_linker=no
14138   ;;
14139
14140 freebsd* | dragonfly*)
14141   # DragonFly does not have aout.  When/if they implement a new
14142   # versioning mechanism, adjust this.
14143   if test -x /usr/bin/objformat; then
14144     objformat=`/usr/bin/objformat`
14145   else
14146     case $host_os in
14147     freebsd[123]*) objformat=aout ;;
14148     *) objformat=elf ;;
14149     esac
14150   fi
14151   version_type=freebsd-$objformat
14152   case $version_type in
14153     freebsd-elf*)
14154       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14155       need_version=no
14156       need_lib_prefix=no
14157       ;;
14158     freebsd-*)
14159       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14160       need_version=yes
14161       ;;
14162   esac
14163   shlibpath_var=LD_LIBRARY_PATH
14164   case $host_os in
14165   freebsd2*)
14166     shlibpath_overrides_runpath=yes
14167     ;;
14168   freebsd3.[01]* | freebsdelf3.[01]*)
14169     shlibpath_overrides_runpath=yes
14170     hardcode_into_libs=yes
14171     ;;
14172   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14173   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14174     shlibpath_overrides_runpath=no
14175     hardcode_into_libs=yes
14176     ;;
14177   *) # from 4.6 on, and DragonFly
14178     shlibpath_overrides_runpath=yes
14179     hardcode_into_libs=yes
14180     ;;
14181   esac
14182   ;;
14183
14184 gnu*)
14185   version_type=linux
14186   need_lib_prefix=no
14187   need_version=no
14188   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14189   soname_spec='${libname}${release}${shared_ext}$major'
14190   shlibpath_var=LD_LIBRARY_PATH
14191   hardcode_into_libs=yes
14192   ;;
14193
14194 haiku*)
14195   version_type=linux
14196   need_lib_prefix=no
14197   need_version=no
14198   dynamic_linker="$host_os runtime_loader"
14199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14200   soname_spec='${libname}${release}${shared_ext}$major'
14201   shlibpath_var=LIBRARY_PATH
14202   shlibpath_overrides_runpath=yes
14203   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14204   hardcode_into_libs=yes
14205   ;;
14206
14207 hpux9* | hpux10* | hpux11*)
14208   # Give a soname corresponding to the major version so that dld.sl refuses to
14209   # link against other versions.
14210   version_type=sunos
14211   need_lib_prefix=no
14212   need_version=no
14213   case $host_cpu in
14214   ia64*)
14215     shrext_cmds='.so'
14216     hardcode_into_libs=yes
14217     dynamic_linker="$host_os dld.so"
14218     shlibpath_var=LD_LIBRARY_PATH
14219     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14220     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221     soname_spec='${libname}${release}${shared_ext}$major'
14222     if test "X$HPUX_IA64_MODE" = X32; then
14223       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14224     else
14225       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14226     fi
14227     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14228     ;;
14229   hppa*64*)
14230     shrext_cmds='.sl'
14231     hardcode_into_libs=yes
14232     dynamic_linker="$host_os dld.sl"
14233     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14234     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14235     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14236     soname_spec='${libname}${release}${shared_ext}$major'
14237     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14238     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14239     ;;
14240   *)
14241     shrext_cmds='.sl'
14242     dynamic_linker="$host_os dld.sl"
14243     shlibpath_var=SHLIB_PATH
14244     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14245     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246     soname_spec='${libname}${release}${shared_ext}$major'
14247     ;;
14248   esac
14249   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14250   postinstall_cmds='chmod 555 $lib'
14251   # or fails outright, so override atomically:
14252   install_override_mode=555
14253   ;;
14254
14255 interix[3-9]*)
14256   version_type=linux
14257   need_lib_prefix=no
14258   need_version=no
14259   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14260   soname_spec='${libname}${release}${shared_ext}$major'
14261   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14262   shlibpath_var=LD_LIBRARY_PATH
14263   shlibpath_overrides_runpath=no
14264   hardcode_into_libs=yes
14265   ;;
14266
14267 irix5* | irix6* | nonstopux*)
14268   case $host_os in
14269     nonstopux*) version_type=nonstopux ;;
14270     *)
14271         if test "$lt_cv_prog_gnu_ld" = yes; then
14272                 version_type=linux
14273         else
14274                 version_type=irix
14275         fi ;;
14276   esac
14277   need_lib_prefix=no
14278   need_version=no
14279   soname_spec='${libname}${release}${shared_ext}$major'
14280   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14281   case $host_os in
14282   irix5* | nonstopux*)
14283     libsuff= shlibsuff=
14284     ;;
14285   *)
14286     case $LD in # libtool.m4 will add one of these switches to LD
14287     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14288       libsuff= shlibsuff= libmagic=32-bit;;
14289     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14290       libsuff=32 shlibsuff=N32 libmagic=N32;;
14291     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14292       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14293     *) libsuff= shlibsuff= libmagic=never-match;;
14294     esac
14295     ;;
14296   esac
14297   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14298   shlibpath_overrides_runpath=no
14299   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14300   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14301   hardcode_into_libs=yes
14302   ;;
14303
14304 # No shared lib support for Linux oldld, aout, or coff.
14305 linux*oldld* | linux*aout* | linux*coff*)
14306   dynamic_linker=no
14307   ;;
14308
14309 # This must be Linux ELF.
14310 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14311   version_type=linux
14312   need_lib_prefix=no
14313   need_version=no
14314   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14315   soname_spec='${libname}${release}${shared_ext}$major'
14316   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14317   shlibpath_var=LD_LIBRARY_PATH
14318   shlibpath_overrides_runpath=no
14319
14320   # Some binutils ld are patched to set DT_RUNPATH
14321   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14322   $as_echo_n "(cached) " >&6
14323 else
14324   lt_cv_shlibpath_overrides_runpath=no
14325     save_LDFLAGS=$LDFLAGS
14326     save_libdir=$libdir
14327     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14328          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14329     if test x$gcc_no_link = xyes; then
14330   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14331 fi
14332 cat > conftest.$ac_ext <<_ACEOF
14333       program main
14334
14335       end
14336 _ACEOF
14337 if ac_fn_fc_try_link "$LINENO"; then :
14338   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14339   lt_cv_shlibpath_overrides_runpath=yes
14340 fi
14341 fi
14342 rm -f core conftest.err conftest.$ac_objext \
14343     conftest$ac_exeext conftest.$ac_ext
14344     LDFLAGS=$save_LDFLAGS
14345     libdir=$save_libdir
14346
14347 fi
14348
14349   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14350
14351   # This implies no fast_install, which is unacceptable.
14352   # Some rework will be needed to allow for fast_install
14353   # before this can be enabled.
14354   hardcode_into_libs=yes
14355
14356   # Append ld.so.conf contents to the search path
14357   if test -f /etc/ld.so.conf; then
14358     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' ' '`
14359     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14360   fi
14361
14362   # We used to test for /lib/ld.so.1 and disable shared libraries on
14363   # powerpc, because MkLinux only supported shared libraries with the
14364   # GNU dynamic linker.  Since this was broken with cross compilers,
14365   # most powerpc-linux boxes support dynamic linking these days and
14366   # people can always --disable-shared, the test was removed, and we
14367   # assume the GNU/Linux dynamic linker is in use.
14368   dynamic_linker='GNU/Linux ld.so'
14369   ;;
14370
14371 netbsd*)
14372   version_type=sunos
14373   need_lib_prefix=no
14374   need_version=no
14375   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14376     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14377     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14378     dynamic_linker='NetBSD (a.out) ld.so'
14379   else
14380     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14381     soname_spec='${libname}${release}${shared_ext}$major'
14382     dynamic_linker='NetBSD ld.elf_so'
14383   fi
14384   shlibpath_var=LD_LIBRARY_PATH
14385   shlibpath_overrides_runpath=yes
14386   hardcode_into_libs=yes
14387   ;;
14388
14389 newsos6)
14390   version_type=linux
14391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14392   shlibpath_var=LD_LIBRARY_PATH
14393   shlibpath_overrides_runpath=yes
14394   ;;
14395
14396 *nto* | *qnx*)
14397   version_type=qnx
14398   need_lib_prefix=no
14399   need_version=no
14400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14401   soname_spec='${libname}${release}${shared_ext}$major'
14402   shlibpath_var=LD_LIBRARY_PATH
14403   shlibpath_overrides_runpath=no
14404   hardcode_into_libs=yes
14405   dynamic_linker='ldqnx.so'
14406   ;;
14407
14408 openbsd*)
14409   version_type=sunos
14410   sys_lib_dlsearch_path_spec="/usr/lib"
14411   need_lib_prefix=no
14412   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14413   case $host_os in
14414     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14415     *)                          need_version=no  ;;
14416   esac
14417   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14418   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14419   shlibpath_var=LD_LIBRARY_PATH
14420   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14421     case $host_os in
14422       openbsd2.[89] | openbsd2.[89].*)
14423         shlibpath_overrides_runpath=no
14424         ;;
14425       *)
14426         shlibpath_overrides_runpath=yes
14427         ;;
14428       esac
14429   else
14430     shlibpath_overrides_runpath=yes
14431   fi
14432   ;;
14433
14434 os2*)
14435   libname_spec='$name'
14436   shrext_cmds=".dll"
14437   need_lib_prefix=no
14438   library_names_spec='$libname${shared_ext} $libname.a'
14439   dynamic_linker='OS/2 ld.exe'
14440   shlibpath_var=LIBPATH
14441   ;;
14442
14443 osf3* | osf4* | osf5*)
14444   version_type=osf
14445   need_lib_prefix=no
14446   need_version=no
14447   soname_spec='${libname}${release}${shared_ext}$major'
14448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14449   shlibpath_var=LD_LIBRARY_PATH
14450   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14451   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14452   ;;
14453
14454 rdos*)
14455   dynamic_linker=no
14456   ;;
14457
14458 solaris*)
14459   version_type=linux
14460   need_lib_prefix=no
14461   need_version=no
14462   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14463   soname_spec='${libname}${release}${shared_ext}$major'
14464   shlibpath_var=LD_LIBRARY_PATH
14465   shlibpath_overrides_runpath=yes
14466   hardcode_into_libs=yes
14467   # ldd complains unless libraries are executable
14468   postinstall_cmds='chmod +x $lib'
14469   ;;
14470
14471 sunos4*)
14472   version_type=sunos
14473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14474   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14475   shlibpath_var=LD_LIBRARY_PATH
14476   shlibpath_overrides_runpath=yes
14477   if test "$with_gnu_ld" = yes; then
14478     need_lib_prefix=no
14479   fi
14480   need_version=yes
14481   ;;
14482
14483 sysv4 | sysv4.3*)
14484   version_type=linux
14485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14486   soname_spec='${libname}${release}${shared_ext}$major'
14487   shlibpath_var=LD_LIBRARY_PATH
14488   case $host_vendor in
14489     sni)
14490       shlibpath_overrides_runpath=no
14491       need_lib_prefix=no
14492       runpath_var=LD_RUN_PATH
14493       ;;
14494     siemens)
14495       need_lib_prefix=no
14496       ;;
14497     motorola)
14498       need_lib_prefix=no
14499       need_version=no
14500       shlibpath_overrides_runpath=no
14501       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14502       ;;
14503   esac
14504   ;;
14505
14506 sysv4*MP*)
14507   if test -d /usr/nec ;then
14508     version_type=linux
14509     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14510     soname_spec='$libname${shared_ext}.$major'
14511     shlibpath_var=LD_LIBRARY_PATH
14512   fi
14513   ;;
14514
14515 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14516   version_type=freebsd-elf
14517   need_lib_prefix=no
14518   need_version=no
14519   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14520   soname_spec='${libname}${release}${shared_ext}$major'
14521   shlibpath_var=LD_LIBRARY_PATH
14522   shlibpath_overrides_runpath=yes
14523   hardcode_into_libs=yes
14524   if test "$with_gnu_ld" = yes; then
14525     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14526   else
14527     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14528     case $host_os in
14529       sco3.2v5*)
14530         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14531         ;;
14532     esac
14533   fi
14534   sys_lib_dlsearch_path_spec='/usr/lib'
14535   ;;
14536
14537 tpf*)
14538   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14539   version_type=linux
14540   need_lib_prefix=no
14541   need_version=no
14542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14543   shlibpath_var=LD_LIBRARY_PATH
14544   shlibpath_overrides_runpath=no
14545   hardcode_into_libs=yes
14546   ;;
14547
14548 uts4*)
14549   version_type=linux
14550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14551   soname_spec='${libname}${release}${shared_ext}$major'
14552   shlibpath_var=LD_LIBRARY_PATH
14553   ;;
14554
14555 *)
14556   dynamic_linker=no
14557   ;;
14558 esac
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14560 $as_echo "$dynamic_linker" >&6; }
14561 test "$dynamic_linker" = no && can_build_shared=no
14562
14563 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14564 if test "$GCC" = yes; then
14565   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14566 fi
14567
14568 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14569   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14570 fi
14571 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14572   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14573 fi
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14613 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14614 hardcode_action_FC=
14615 if test -n "$hardcode_libdir_flag_spec_FC" ||
14616    test -n "$runpath_var_FC" ||
14617    test "X$hardcode_automatic_FC" = "Xyes" ; then
14618
14619   # We can hardcode non-existent directories.
14620   if test "$hardcode_direct_FC" != no &&
14621      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14622      # have to relink, otherwise we might link with an installed library
14623      # when we should be linking with a yet-to-be-installed one
14624      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14625      test "$hardcode_minus_L_FC" != no; then
14626     # Linking always hardcodes the temporary library directory.
14627     hardcode_action_FC=relink
14628   else
14629     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14630     hardcode_action_FC=immediate
14631   fi
14632 else
14633   # We cannot hardcode anything, or else we can only hardcode existing
14634   # directories.
14635   hardcode_action_FC=unsupported
14636 fi
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14638 $as_echo "$hardcode_action_FC" >&6; }
14639
14640 if test "$hardcode_action_FC" = relink ||
14641    test "$inherit_rpath_FC" = yes; then
14642   # Fast installation is not supported
14643   enable_fast_install=no
14644 elif test "$shlibpath_overrides_runpath" = yes ||
14645      test "$enable_shared" = no; then
14646   # Fast installation is not necessary
14647   enable_fast_install=needless
14648 fi
14649
14650
14651
14652
14653
14654
14655
14656   fi # test -n "$compiler"
14657
14658   GCC=$lt_save_GCC
14659   CC="$lt_save_CC"
14660 fi # test "$_lt_disable_FC" != yes
14661
14662 ac_ext=c
14663 ac_cpp='$CPP $CPPFLAGS'
14664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14667
14668
14669
14670 # extra LD Flags which are required for targets
14671 case "${host}" in
14672   *-darwin*)
14673     # Darwin needs -single_module when linking libgfortran
14674     extra_ldflags_libgfortran=-Wl,-single_module
14675     ;;
14676 esac
14677
14678
14679 # We need a working compiler at that point, otherwise give a clear
14680 # error message and bail out.
14681
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14683 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14684 ac_ext=${ac_fc_srcext-f}
14685 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14686 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14687 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14688
14689 cat > conftest.$ac_ext <<_ACEOF
14690
14691       program foo
14692       real, parameter :: bar = sin (12.34 / 2.5)
14693       end program foo
14694 _ACEOF
14695 if ac_fn_fc_try_compile "$LINENO"; then :
14696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14697 $as_echo "yes" >&6; }
14698 else
14699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14700 $as_echo "no" >&6; }
14701      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14702
14703 fi
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 ac_ext=c
14706 ac_cpp='$CPP $CPPFLAGS'
14707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14710
14711
14712
14713 # Check whether --enable-largefile was given.
14714 if test "${enable_largefile+set}" = set; then :
14715   enableval=$enable_largefile;
14716 fi
14717
14718 if test "$enable_largefile" != no; then
14719
14720   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14721 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14722 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14723   $as_echo_n "(cached) " >&6
14724 else
14725   ac_cv_sys_largefile_CC=no
14726      if test "$GCC" != yes; then
14727        ac_save_CC=$CC
14728        while :; do
14729          # IRIX 6.2 and later do not support large files by default,
14730          # so use the C compiler's -n32 option if that helps.
14731          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h.  */
14733 #include <sys/types.h>
14734  /* Check that off_t can represent 2**63 - 1 correctly.
14735     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14736     since some C++ compilers masquerading as C compilers
14737     incorrectly reject 9223372036854775807.  */
14738 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14739   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14740                        && LARGE_OFF_T % 2147483647 == 1)
14741                       ? 1 : -1];
14742 int
14743 main ()
14744 {
14745
14746   ;
14747   return 0;
14748 }
14749 _ACEOF
14750          if ac_fn_c_try_compile "$LINENO"; then :
14751   break
14752 fi
14753 rm -f core conftest.err conftest.$ac_objext
14754          CC="$CC -n32"
14755          if ac_fn_c_try_compile "$LINENO"; then :
14756   ac_cv_sys_largefile_CC=' -n32'; break
14757 fi
14758 rm -f core conftest.err conftest.$ac_objext
14759          break
14760        done
14761        CC=$ac_save_CC
14762        rm -f conftest.$ac_ext
14763     fi
14764 fi
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14766 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14767   if test "$ac_cv_sys_largefile_CC" != no; then
14768     CC=$CC$ac_cv_sys_largefile_CC
14769   fi
14770
14771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14772 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14773 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14774   $as_echo_n "(cached) " >&6
14775 else
14776   while :; do
14777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14778 /* end confdefs.h.  */
14779 #include <sys/types.h>
14780  /* Check that off_t can represent 2**63 - 1 correctly.
14781     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14782     since some C++ compilers masquerading as C compilers
14783     incorrectly reject 9223372036854775807.  */
14784 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14785   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14786                        && LARGE_OFF_T % 2147483647 == 1)
14787                       ? 1 : -1];
14788 int
14789 main ()
14790 {
14791
14792   ;
14793   return 0;
14794 }
14795 _ACEOF
14796 if ac_fn_c_try_compile "$LINENO"; then :
14797   ac_cv_sys_file_offset_bits=no; break
14798 fi
14799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h.  */
14802 #define _FILE_OFFSET_BITS 64
14803 #include <sys/types.h>
14804  /* Check that off_t can represent 2**63 - 1 correctly.
14805     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14806     since some C++ compilers masquerading as C compilers
14807     incorrectly reject 9223372036854775807.  */
14808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14809   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14810                        && LARGE_OFF_T % 2147483647 == 1)
14811                       ? 1 : -1];
14812 int
14813 main ()
14814 {
14815
14816   ;
14817   return 0;
14818 }
14819 _ACEOF
14820 if ac_fn_c_try_compile "$LINENO"; then :
14821   ac_cv_sys_file_offset_bits=64; break
14822 fi
14823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14824   ac_cv_sys_file_offset_bits=unknown
14825   break
14826 done
14827 fi
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14829 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14830 case $ac_cv_sys_file_offset_bits in #(
14831   no | unknown) ;;
14832   *)
14833 cat >>confdefs.h <<_ACEOF
14834 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14835 _ACEOF
14836 ;;
14837 esac
14838 rm -rf conftest*
14839   if test $ac_cv_sys_file_offset_bits = unknown; then
14840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14841 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14842 if test "${ac_cv_sys_large_files+set}" = set; then :
14843   $as_echo_n "(cached) " >&6
14844 else
14845   while :; do
14846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h.  */
14848 #include <sys/types.h>
14849  /* Check that off_t can represent 2**63 - 1 correctly.
14850     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14851     since some C++ compilers masquerading as C compilers
14852     incorrectly reject 9223372036854775807.  */
14853 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14854   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14855                        && LARGE_OFF_T % 2147483647 == 1)
14856                       ? 1 : -1];
14857 int
14858 main ()
14859 {
14860
14861   ;
14862   return 0;
14863 }
14864 _ACEOF
14865 if ac_fn_c_try_compile "$LINENO"; then :
14866   ac_cv_sys_large_files=no; break
14867 fi
14868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14870 /* end confdefs.h.  */
14871 #define _LARGE_FILES 1
14872 #include <sys/types.h>
14873  /* Check that off_t can represent 2**63 - 1 correctly.
14874     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14875     since some C++ compilers masquerading as C compilers
14876     incorrectly reject 9223372036854775807.  */
14877 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14878   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14879                        && LARGE_OFF_T % 2147483647 == 1)
14880                       ? 1 : -1];
14881 int
14882 main ()
14883 {
14884
14885   ;
14886   return 0;
14887 }
14888 _ACEOF
14889 if ac_fn_c_try_compile "$LINENO"; then :
14890   ac_cv_sys_large_files=1; break
14891 fi
14892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14893   ac_cv_sys_large_files=unknown
14894   break
14895 done
14896 fi
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14898 $as_echo "$ac_cv_sys_large_files" >&6; }
14899 case $ac_cv_sys_large_files in #(
14900   no | unknown) ;;
14901   *)
14902 cat >>confdefs.h <<_ACEOF
14903 #define _LARGE_FILES $ac_cv_sys_large_files
14904 _ACEOF
14905 ;;
14906 esac
14907 rm -rf conftest*
14908   fi
14909 fi
14910
14911 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14912 if test "x$ac_cv_type_off_t" = x""yes; then :
14913
14914 else
14915
14916 cat >>confdefs.h <<_ACEOF
14917 #define off_t long int
14918 _ACEOF
14919
14920 fi
14921
14922
14923 # check header files
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14925 $as_echo_n "checking for ANSI C header files... " >&6; }
14926 if test "${ac_cv_header_stdc+set}" = set; then :
14927   $as_echo_n "(cached) " >&6
14928 else
14929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h.  */
14931 #include <stdlib.h>
14932 #include <stdarg.h>
14933 #include <string.h>
14934 #include <float.h>
14935
14936 int
14937 main ()
14938 {
14939
14940   ;
14941   return 0;
14942 }
14943 _ACEOF
14944 if ac_fn_c_try_compile "$LINENO"; then :
14945   ac_cv_header_stdc=yes
14946 else
14947   ac_cv_header_stdc=no
14948 fi
14949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14950
14951 if test $ac_cv_header_stdc = yes; then
14952   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14954 /* end confdefs.h.  */
14955 #include <string.h>
14956
14957 _ACEOF
14958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14959   $EGREP "memchr" >/dev/null 2>&1; then :
14960
14961 else
14962   ac_cv_header_stdc=no
14963 fi
14964 rm -f conftest*
14965
14966 fi
14967
14968 if test $ac_cv_header_stdc = yes; then
14969   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14971 /* end confdefs.h.  */
14972 #include <stdlib.h>
14973
14974 _ACEOF
14975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14976   $EGREP "free" >/dev/null 2>&1; then :
14977
14978 else
14979   ac_cv_header_stdc=no
14980 fi
14981 rm -f conftest*
14982
14983 fi
14984
14985 if test $ac_cv_header_stdc = yes; then
14986   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14987   if test "$cross_compiling" = yes; then :
14988   :
14989 else
14990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h.  */
14992 #include <ctype.h>
14993 #include <stdlib.h>
14994 #if ((' ' & 0x0FF) == 0x020)
14995 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14996 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14997 #else
14998 # define ISLOWER(c) \
14999                    (('a' <= (c) && (c) <= 'i') \
15000                      || ('j' <= (c) && (c) <= 'r') \
15001                      || ('s' <= (c) && (c) <= 'z'))
15002 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15003 #endif
15004
15005 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15006 int
15007 main ()
15008 {
15009   int i;
15010   for (i = 0; i < 256; i++)
15011     if (XOR (islower (i), ISLOWER (i))
15012         || toupper (i) != TOUPPER (i))
15013       return 2;
15014   return 0;
15015 }
15016 _ACEOF
15017 if ac_fn_c_try_run "$LINENO"; then :
15018
15019 else
15020   ac_cv_header_stdc=no
15021 fi
15022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15023   conftest.$ac_objext conftest.beam conftest.$ac_ext
15024 fi
15025
15026 fi
15027 fi
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15029 $as_echo "$ac_cv_header_stdc" >&6; }
15030 if test $ac_cv_header_stdc = yes; then
15031
15032 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15033
15034 fi
15035
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15037 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15038 if test "${ac_cv_header_time+set}" = set; then :
15039   $as_echo_n "(cached) " >&6
15040 else
15041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15042 /* end confdefs.h.  */
15043 #include <sys/types.h>
15044 #include <sys/time.h>
15045 #include <time.h>
15046
15047 int
15048 main ()
15049 {
15050 if ((struct tm *) 0)
15051 return 0;
15052   ;
15053   return 0;
15054 }
15055 _ACEOF
15056 if ac_fn_c_try_compile "$LINENO"; then :
15057   ac_cv_header_time=yes
15058 else
15059   ac_cv_header_time=no
15060 fi
15061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15062 fi
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15064 $as_echo "$ac_cv_header_time" >&6; }
15065 if test $ac_cv_header_time = yes; then
15066
15067 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15068
15069 fi
15070
15071 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.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 time.h sys/time.h sys/times.h sys/resource.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 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15100 do :
15101   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15102 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15103 eval as_val=\$$as_ac_Header
15104    if test "x$as_val" = x""yes; then :
15105   cat >>confdefs.h <<_ACEOF
15106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15107 _ACEOF
15108
15109 fi
15110
15111 done
15112
15113 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15114 do :
15115   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15116 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15117 eval as_val=\$$as_ac_Header
15118    if test "x$as_val" = x""yes; then :
15119   cat >>confdefs.h <<_ACEOF
15120 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15121 _ACEOF
15122
15123 fi
15124
15125 done
15126
15127 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15128 if test "x$ac_cv_header_complex_h" = x""yes; then :
15129
15130 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15131
15132 fi
15133
15134
15135
15136
15137 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15138
15139 acx_cv_header_stdint=stddef.h
15140 acx_cv_header_stdint_kind="(already complete)"
15141 for i in stdint.h $inttype_headers; do
15142   unset ac_cv_type_uintptr_t
15143   unset ac_cv_type_uintmax_t
15144   unset ac_cv_type_int_least32_t
15145   unset ac_cv_type_int_fast32_t
15146   unset ac_cv_type_uint64_t
15147   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15148   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15149 #include <$i>
15150 "
15151 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15152   acx_cv_header_stdint=$i
15153 else
15154   continue
15155 fi
15156
15157   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15158 #include <$i>
15159 "
15160 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15161
15162 else
15163   acx_cv_header_stdint_kind="(mostly complete)"
15164 fi
15165
15166   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15167 #include <$i>
15168 "
15169 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15170
15171 else
15172   acx_cv_header_stdint_kind="(mostly complete)"
15173 fi
15174
15175   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15176 #include <$i>
15177 "
15178 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15179
15180 else
15181   acx_cv_header_stdint_kind="(mostly complete)"
15182 fi
15183
15184   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15185 #include <$i>
15186 "
15187 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15188
15189 else
15190   acx_cv_header_stdint_kind="(lacks uint64_t)"
15191 fi
15192
15193   break
15194 done
15195 if test "$acx_cv_header_stdint" = stddef.h; then
15196   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15197   for i in stdint.h $inttype_headers; do
15198     unset ac_cv_type_uintptr_t
15199     unset ac_cv_type_uint32_t
15200     unset ac_cv_type_uint64_t
15201     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15202     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15203 #include <$i>
15204 "
15205 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15206   acx_cv_header_stdint=$i
15207 else
15208   continue
15209 fi
15210
15211     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15212 #include <$i>
15213 "
15214 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15215
15216 fi
15217
15218     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15219 #include <$i>
15220 "
15221 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15222
15223 fi
15224
15225     break
15226   done
15227 fi
15228 if test "$acx_cv_header_stdint" = stddef.h; then
15229   acx_cv_header_stdint_kind="(u_intXX_t style)"
15230   for i in sys/types.h $inttype_headers; do
15231     unset ac_cv_type_u_int32_t
15232     unset ac_cv_type_u_int64_t
15233     $as_echo_n "looking for u_intXX_t types in $i, " >&6
15234     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15235 #include <$i>
15236 "
15237 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15238   acx_cv_header_stdint=$i
15239 else
15240   continue
15241 fi
15242
15243     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15244 #include <$i>
15245 "
15246 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15247
15248 fi
15249
15250     break
15251   done
15252 fi
15253 if test "$acx_cv_header_stdint" = stddef.h; then
15254   acx_cv_header_stdint_kind="(using manual detection)"
15255 fi
15256
15257 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15258 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15259 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15260 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15261 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15262
15263 # ----------------- Summarize what we found so far
15264
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15266 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15267
15268 case `$as_basename -- gstdint.h ||
15269 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15270          Xgstdint.h : 'X\(//\)$' \| \
15271          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15272 $as_echo X/gstdint.h |
15273     sed '/^.*\/\([^/][^/]*\)\/*$/{
15274             s//\1/
15275             q
15276           }
15277           /^X\/\(\/\/\)$/{
15278             s//\1/
15279             q
15280           }
15281           /^X\/\(\/\).*/{
15282             s//\1/
15283             q
15284           }
15285           s/.*/./; q'` in
15286   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15287 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15288   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15289 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15290   *) ;;
15291 esac
15292
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15294 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15295
15296 # ----------------- done included file, check C basic types --------
15297
15298 # Lacking an uintptr_t?  Test size of void *
15299 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15300   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15301 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15302 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15303 # This bug is HP SR number 8606223364.
15304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15305 $as_echo_n "checking size of void *... " >&6; }
15306 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15307   $as_echo_n "(cached) " >&6
15308 else
15309   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
15310
15311 else
15312   if test "$ac_cv_type_void_p" = yes; then
15313      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15314 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15315 { as_fn_set_status 77
15316 as_fn_error "cannot compute sizeof (void *)
15317 See \`config.log' for more details." "$LINENO" 5; }; }
15318    else
15319      ac_cv_sizeof_void_p=0
15320    fi
15321 fi
15322
15323 fi
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15325 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15326
15327
15328
15329 cat >>confdefs.h <<_ACEOF
15330 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15331 _ACEOF
15332
15333  ;;
15334 esac
15335
15336 # Lacking an uint64_t?  Test size of long
15337 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15338   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15341 # This bug is HP SR number 8606223364.
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15343 $as_echo_n "checking size of long... " >&6; }
15344 if test "${ac_cv_sizeof_long+set}" = set; then :
15345   $as_echo_n "(cached) " >&6
15346 else
15347   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
15348
15349 else
15350   if test "$ac_cv_type_long" = yes; then
15351      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15353 { as_fn_set_status 77
15354 as_fn_error "cannot compute sizeof (long)
15355 See \`config.log' for more details." "$LINENO" 5; }; }
15356    else
15357      ac_cv_sizeof_long=0
15358    fi
15359 fi
15360
15361 fi
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15363 $as_echo "$ac_cv_sizeof_long" >&6; }
15364
15365
15366
15367 cat >>confdefs.h <<_ACEOF
15368 #define SIZEOF_LONG $ac_cv_sizeof_long
15369 _ACEOF
15370
15371  ;;
15372 esac
15373
15374 if test $acx_cv_header_stdint = stddef.h; then
15375   # Lacking a good header?  Test size of everything and deduce all types.
15376   # The cast to long int works around a bug in the HP C Compiler
15377 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15378 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15379 # This bug is HP SR number 8606223364.
15380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15381 $as_echo_n "checking size of int... " >&6; }
15382 if test "${ac_cv_sizeof_int+set}" = set; then :
15383   $as_echo_n "(cached) " >&6
15384 else
15385   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
15386
15387 else
15388   if test "$ac_cv_type_int" = yes; then
15389      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15391 { as_fn_set_status 77
15392 as_fn_error "cannot compute sizeof (int)
15393 See \`config.log' for more details." "$LINENO" 5; }; }
15394    else
15395      ac_cv_sizeof_int=0
15396    fi
15397 fi
15398
15399 fi
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15401 $as_echo "$ac_cv_sizeof_int" >&6; }
15402
15403
15404
15405 cat >>confdefs.h <<_ACEOF
15406 #define SIZEOF_INT $ac_cv_sizeof_int
15407 _ACEOF
15408
15409
15410   # The cast to long int works around a bug in the HP C Compiler
15411 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15412 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15413 # This bug is HP SR number 8606223364.
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15415 $as_echo_n "checking size of short... " >&6; }
15416 if test "${ac_cv_sizeof_short+set}" = set; then :
15417   $as_echo_n "(cached) " >&6
15418 else
15419   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
15420
15421 else
15422   if test "$ac_cv_type_short" = yes; then
15423      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15425 { as_fn_set_status 77
15426 as_fn_error "cannot compute sizeof (short)
15427 See \`config.log' for more details." "$LINENO" 5; }; }
15428    else
15429      ac_cv_sizeof_short=0
15430    fi
15431 fi
15432
15433 fi
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15435 $as_echo "$ac_cv_sizeof_short" >&6; }
15436
15437
15438
15439 cat >>confdefs.h <<_ACEOF
15440 #define SIZEOF_SHORT $ac_cv_sizeof_short
15441 _ACEOF
15442
15443
15444   # The cast to long int works around a bug in the HP C Compiler
15445 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15446 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15447 # This bug is HP SR number 8606223364.
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15449 $as_echo_n "checking size of char... " >&6; }
15450 if test "${ac_cv_sizeof_char+set}" = set; then :
15451   $as_echo_n "(cached) " >&6
15452 else
15453   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
15454
15455 else
15456   if test "$ac_cv_type_char" = yes; then
15457      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15459 { as_fn_set_status 77
15460 as_fn_error "cannot compute sizeof (char)
15461 See \`config.log' for more details." "$LINENO" 5; }; }
15462    else
15463      ac_cv_sizeof_char=0
15464    fi
15465 fi
15466
15467 fi
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15469 $as_echo "$ac_cv_sizeof_char" >&6; }
15470
15471
15472
15473 cat >>confdefs.h <<_ACEOF
15474 #define SIZEOF_CHAR $ac_cv_sizeof_char
15475 _ACEOF
15476
15477
15478
15479   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15480 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15481   case "$ac_cv_sizeof_char" in
15482     1) acx_cv_type_int8_t=char ;;
15483     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
15484   esac
15485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15486 $as_echo "$acx_cv_type_int8_t" >&6; }
15487
15488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15489 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15490   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15491     2:*) acx_cv_type_int16_t=int ;;
15492     *:2) acx_cv_type_int16_t=short ;;
15493     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
15494   esac
15495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15496 $as_echo "$acx_cv_type_int16_t" >&6; }
15497
15498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15499 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15500   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15501     4:*) acx_cv_type_int32_t=int ;;
15502     *:4) acx_cv_type_int32_t=long ;;
15503     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
15504   esac
15505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15506 $as_echo "$acx_cv_type_int32_t" >&6; }
15507 fi
15508
15509 # These tests are here to make the output prettier
15510
15511 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15512   case "$ac_cv_sizeof_long" in
15513     8) acx_cv_type_int64_t=long ;;
15514   esac
15515   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15516 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15518 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15519 fi
15520
15521 # Now we can use the above types
15522
15523 if test "$ac_cv_type_uintptr_t" != yes; then
15524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15525 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15526   case $ac_cv_sizeof_void_p in
15527     2) acx_cv_type_intptr_t=int16_t ;;
15528     4) acx_cv_type_intptr_t=int32_t ;;
15529     8) acx_cv_type_intptr_t=int64_t ;;
15530     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
15531   esac
15532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15533 $as_echo "$acx_cv_type_intptr_t" >&6; }
15534 fi
15535
15536 # ----------------- done all checks, emit header -------------
15537 ac_config_commands="$ac_config_commands gstdint.h"
15538
15539
15540
15541
15542 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15543 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15544
15545 cat >>confdefs.h <<_ACEOF
15546 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15547 _ACEOF
15548
15549
15550 fi
15551
15552 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15553 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15554
15555 cat >>confdefs.h <<_ACEOF
15556 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15557 _ACEOF
15558
15559
15560 fi
15561
15562 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15563 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15564
15565 cat >>confdefs.h <<_ACEOF
15566 #define HAVE_STRUCT_STAT_ST_RDEV 1
15567 _ACEOF
15568
15569
15570 fi
15571
15572
15573 # Check for library functions.
15574 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15575 do :
15576   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15577 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15578 eval as_val=\$$as_ac_var
15579    if test "x$as_val" = x""yes; then :
15580   cat >>confdefs.h <<_ACEOF
15581 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15582 _ACEOF
15583
15584 fi
15585 done
15586
15587 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15588 do :
15589   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15590 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15591 eval as_val=\$$as_ac_var
15592    if test "x$as_val" = x""yes; then :
15593   cat >>confdefs.h <<_ACEOF
15594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15595 _ACEOF
15596
15597 fi
15598 done
15599
15600 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15601 do :
15602   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15604 eval as_val=\$$as_ac_var
15605    if test "x$as_val" = x""yes; then :
15606   cat >>confdefs.h <<_ACEOF
15607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15608 _ACEOF
15609
15610 fi
15611 done
15612
15613 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15614 do :
15615   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15617 eval as_val=\$$as_ac_var
15618    if test "x$as_val" = x""yes; then :
15619   cat >>confdefs.h <<_ACEOF
15620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15621 _ACEOF
15622
15623 fi
15624 done
15625
15626 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
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 for ac_func in localtime_r gmtime_r strerror_r
15640 do :
15641   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15643 eval as_val=\$$as_ac_var
15644    if test "x$as_val" = x""yes; then :
15645   cat >>confdefs.h <<_ACEOF
15646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15647 _ACEOF
15648
15649 fi
15650 done
15651
15652
15653 # Check for glibc backtrace functions
15654 for ac_func in backtrace backtrace_symbols
15655 do :
15656   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15658 eval as_val=\$$as_ac_var
15659    if test "x$as_val" = x""yes; then :
15660   cat >>confdefs.h <<_ACEOF
15661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15662 _ACEOF
15663
15664 fi
15665 done
15666
15667
15668 # Check for types
15669 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15670 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15671
15672 cat >>confdefs.h <<_ACEOF
15673 #define HAVE_INTPTR_T 1
15674 _ACEOF
15675
15676
15677 fi
15678
15679 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15680 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15681
15682 cat >>confdefs.h <<_ACEOF
15683 #define HAVE_UINTPTR_T 1
15684 _ACEOF
15685
15686
15687 fi
15688
15689
15690 # Check libc for getgid, getpid, getuid
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15692 $as_echo_n "checking for getgid in -lc... " >&6; }
15693 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15694   $as_echo_n "(cached) " >&6
15695 else
15696   ac_check_lib_save_LIBS=$LIBS
15697 LIBS="-lc  $LIBS"
15698 if test x$gcc_no_link = xyes; then
15699   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15700 fi
15701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15702 /* end confdefs.h.  */
15703
15704 /* Override any GCC internal prototype to avoid an error.
15705    Use char because int might match the return type of a GCC
15706    builtin and then its argument prototype would still apply.  */
15707 #ifdef __cplusplus
15708 extern "C"
15709 #endif
15710 char getgid ();
15711 int
15712 main ()
15713 {
15714 return getgid ();
15715   ;
15716   return 0;
15717 }
15718 _ACEOF
15719 if ac_fn_c_try_link "$LINENO"; then :
15720   ac_cv_lib_c_getgid=yes
15721 else
15722   ac_cv_lib_c_getgid=no
15723 fi
15724 rm -f core conftest.err conftest.$ac_objext \
15725     conftest$ac_exeext conftest.$ac_ext
15726 LIBS=$ac_check_lib_save_LIBS
15727 fi
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15729 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15730 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15731
15732 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15733
15734 fi
15735
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15737 $as_echo_n "checking for getpid in -lc... " >&6; }
15738 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15739   $as_echo_n "(cached) " >&6
15740 else
15741   ac_check_lib_save_LIBS=$LIBS
15742 LIBS="-lc  $LIBS"
15743 if test x$gcc_no_link = xyes; then
15744   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15745 fi
15746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15747 /* end confdefs.h.  */
15748
15749 /* Override any GCC internal prototype to avoid an error.
15750    Use char because int might match the return type of a GCC
15751    builtin and then its argument prototype would still apply.  */
15752 #ifdef __cplusplus
15753 extern "C"
15754 #endif
15755 char getpid ();
15756 int
15757 main ()
15758 {
15759 return getpid ();
15760   ;
15761   return 0;
15762 }
15763 _ACEOF
15764 if ac_fn_c_try_link "$LINENO"; then :
15765   ac_cv_lib_c_getpid=yes
15766 else
15767   ac_cv_lib_c_getpid=no
15768 fi
15769 rm -f core conftest.err conftest.$ac_objext \
15770     conftest$ac_exeext conftest.$ac_ext
15771 LIBS=$ac_check_lib_save_LIBS
15772 fi
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15774 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15775 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15776
15777 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15778
15779 fi
15780
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15782 $as_echo_n "checking for getppid in -lc... " >&6; }
15783 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15784   $as_echo_n "(cached) " >&6
15785 else
15786   ac_check_lib_save_LIBS=$LIBS
15787 LIBS="-lc  $LIBS"
15788 if test x$gcc_no_link = xyes; then
15789   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15790 fi
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h.  */
15793
15794 /* Override any GCC internal prototype to avoid an error.
15795    Use char because int might match the return type of a GCC
15796    builtin and then its argument prototype would still apply.  */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char getppid ();
15801 int
15802 main ()
15803 {
15804 return getppid ();
15805   ;
15806   return 0;
15807 }
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810   ac_cv_lib_c_getppid=yes
15811 else
15812   ac_cv_lib_c_getppid=no
15813 fi
15814 rm -f core conftest.err conftest.$ac_objext \
15815     conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_lib_save_LIBS
15817 fi
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15819 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15820 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15821
15822 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15823
15824 fi
15825
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15827 $as_echo_n "checking for getuid in -lc... " >&6; }
15828 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15829   $as_echo_n "(cached) " >&6
15830 else
15831   ac_check_lib_save_LIBS=$LIBS
15832 LIBS="-lc  $LIBS"
15833 if test x$gcc_no_link = xyes; then
15834   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15835 fi
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h.  */
15838
15839 /* Override any GCC internal prototype to avoid an error.
15840    Use char because int might match the return type of a GCC
15841    builtin and then its argument prototype would still apply.  */
15842 #ifdef __cplusplus
15843 extern "C"
15844 #endif
15845 char getuid ();
15846 int
15847 main ()
15848 {
15849 return getuid ();
15850   ;
15851   return 0;
15852 }
15853 _ACEOF
15854 if ac_fn_c_try_link "$LINENO"; then :
15855   ac_cv_lib_c_getuid=yes
15856 else
15857   ac_cv_lib_c_getuid=no
15858 fi
15859 rm -f core conftest.err conftest.$ac_objext \
15860     conftest$ac_exeext conftest.$ac_ext
15861 LIBS=$ac_check_lib_save_LIBS
15862 fi
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15864 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15865 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15866
15867 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15868
15869 fi
15870
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15872 $as_echo_n "checking for geteuid in -lc... " >&6; }
15873 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15874   $as_echo_n "(cached) " >&6
15875 else
15876   ac_check_lib_save_LIBS=$LIBS
15877 LIBS="-lc  $LIBS"
15878 if test x$gcc_no_link = xyes; then
15879   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15880 fi
15881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15882 /* end confdefs.h.  */
15883
15884 /* Override any GCC internal prototype to avoid an error.
15885    Use char because int might match the return type of a GCC
15886    builtin and then its argument prototype would still apply.  */
15887 #ifdef __cplusplus
15888 extern "C"
15889 #endif
15890 char geteuid ();
15891 int
15892 main ()
15893 {
15894 return geteuid ();
15895   ;
15896   return 0;
15897 }
15898 _ACEOF
15899 if ac_fn_c_try_link "$LINENO"; then :
15900   ac_cv_lib_c_geteuid=yes
15901 else
15902   ac_cv_lib_c_geteuid=no
15903 fi
15904 rm -f core conftest.err conftest.$ac_objext \
15905     conftest$ac_exeext conftest.$ac_ext
15906 LIBS=$ac_check_lib_save_LIBS
15907 fi
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15909 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15910 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15911
15912 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15913
15914 fi
15915
15916
15917 # Check for C99 (and other IEEE) math functions
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15919 $as_echo_n "checking for acosf in -lm... " >&6; }
15920 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15921   $as_echo_n "(cached) " >&6
15922 else
15923   ac_check_lib_save_LIBS=$LIBS
15924 LIBS="-lm  $LIBS"
15925 if test x$gcc_no_link = xyes; then
15926   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15927 fi
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h.  */
15930
15931 /* Override any GCC internal prototype to avoid an error.
15932    Use char because int might match the return type of a GCC
15933    builtin and then its argument prototype would still apply.  */
15934 #ifdef __cplusplus
15935 extern "C"
15936 #endif
15937 char acosf ();
15938 int
15939 main ()
15940 {
15941 return acosf ();
15942   ;
15943   return 0;
15944 }
15945 _ACEOF
15946 if ac_fn_c_try_link "$LINENO"; then :
15947   ac_cv_lib_m_acosf=yes
15948 else
15949   ac_cv_lib_m_acosf=no
15950 fi
15951 rm -f core conftest.err conftest.$ac_objext \
15952     conftest$ac_exeext conftest.$ac_ext
15953 LIBS=$ac_check_lib_save_LIBS
15954 fi
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15956 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15957 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15958
15959 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15960
15961 fi
15962
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15964 $as_echo_n "checking for acos in -lm... " >&6; }
15965 if test "${ac_cv_lib_m_acos+set}" = set; then :
15966   $as_echo_n "(cached) " >&6
15967 else
15968   ac_check_lib_save_LIBS=$LIBS
15969 LIBS="-lm  $LIBS"
15970 if test x$gcc_no_link = xyes; then
15971   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15972 fi
15973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15974 /* end confdefs.h.  */
15975
15976 /* Override any GCC internal prototype to avoid an error.
15977    Use char because int might match the return type of a GCC
15978    builtin and then its argument prototype would still apply.  */
15979 #ifdef __cplusplus
15980 extern "C"
15981 #endif
15982 char acos ();
15983 int
15984 main ()
15985 {
15986 return acos ();
15987   ;
15988   return 0;
15989 }
15990 _ACEOF
15991 if ac_fn_c_try_link "$LINENO"; then :
15992   ac_cv_lib_m_acos=yes
15993 else
15994   ac_cv_lib_m_acos=no
15995 fi
15996 rm -f core conftest.err conftest.$ac_objext \
15997     conftest$ac_exeext conftest.$ac_ext
15998 LIBS=$ac_check_lib_save_LIBS
15999 fi
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16001 $as_echo "$ac_cv_lib_m_acos" >&6; }
16002 if test "x$ac_cv_lib_m_acos" = x""yes; then :
16003
16004 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16005
16006 fi
16007
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16009 $as_echo_n "checking for acosl in -lm... " >&6; }
16010 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16011   $as_echo_n "(cached) " >&6
16012 else
16013   ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-lm  $LIBS"
16015 if test x$gcc_no_link = xyes; then
16016   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16017 fi
16018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16019 /* end confdefs.h.  */
16020
16021 /* Override any GCC internal prototype to avoid an error.
16022    Use char because int might match the return type of a GCC
16023    builtin and then its argument prototype would still apply.  */
16024 #ifdef __cplusplus
16025 extern "C"
16026 #endif
16027 char acosl ();
16028 int
16029 main ()
16030 {
16031 return acosl ();
16032   ;
16033   return 0;
16034 }
16035 _ACEOF
16036 if ac_fn_c_try_link "$LINENO"; then :
16037   ac_cv_lib_m_acosl=yes
16038 else
16039   ac_cv_lib_m_acosl=no
16040 fi
16041 rm -f core conftest.err conftest.$ac_objext \
16042     conftest$ac_exeext conftest.$ac_ext
16043 LIBS=$ac_check_lib_save_LIBS
16044 fi
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16046 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16047 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16048
16049 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16050
16051 fi
16052
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16054 $as_echo_n "checking for acoshf in -lm... " >&6; }
16055 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16056   $as_echo_n "(cached) " >&6
16057 else
16058   ac_check_lib_save_LIBS=$LIBS
16059 LIBS="-lm  $LIBS"
16060 if test x$gcc_no_link = xyes; then
16061   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16062 fi
16063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16064 /* end confdefs.h.  */
16065
16066 /* Override any GCC internal prototype to avoid an error.
16067    Use char because int might match the return type of a GCC
16068    builtin and then its argument prototype would still apply.  */
16069 #ifdef __cplusplus
16070 extern "C"
16071 #endif
16072 char acoshf ();
16073 int
16074 main ()
16075 {
16076 return acoshf ();
16077   ;
16078   return 0;
16079 }
16080 _ACEOF
16081 if ac_fn_c_try_link "$LINENO"; then :
16082   ac_cv_lib_m_acoshf=yes
16083 else
16084   ac_cv_lib_m_acoshf=no
16085 fi
16086 rm -f core conftest.err conftest.$ac_objext \
16087     conftest$ac_exeext conftest.$ac_ext
16088 LIBS=$ac_check_lib_save_LIBS
16089 fi
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16091 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16092 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16093
16094 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16095
16096 fi
16097
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16099 $as_echo_n "checking for acosh in -lm... " >&6; }
16100 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16101   $as_echo_n "(cached) " >&6
16102 else
16103   ac_check_lib_save_LIBS=$LIBS
16104 LIBS="-lm  $LIBS"
16105 if test x$gcc_no_link = xyes; then
16106   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16107 fi
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h.  */
16110
16111 /* Override any GCC internal prototype to avoid an error.
16112    Use char because int might match the return type of a GCC
16113    builtin and then its argument prototype would still apply.  */
16114 #ifdef __cplusplus
16115 extern "C"
16116 #endif
16117 char acosh ();
16118 int
16119 main ()
16120 {
16121 return acosh ();
16122   ;
16123   return 0;
16124 }
16125 _ACEOF
16126 if ac_fn_c_try_link "$LINENO"; then :
16127   ac_cv_lib_m_acosh=yes
16128 else
16129   ac_cv_lib_m_acosh=no
16130 fi
16131 rm -f core conftest.err conftest.$ac_objext \
16132     conftest$ac_exeext conftest.$ac_ext
16133 LIBS=$ac_check_lib_save_LIBS
16134 fi
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16136 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16137 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16138
16139 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16140
16141 fi
16142
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16144 $as_echo_n "checking for acoshl in -lm... " >&6; }
16145 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16146   $as_echo_n "(cached) " >&6
16147 else
16148   ac_check_lib_save_LIBS=$LIBS
16149 LIBS="-lm  $LIBS"
16150 if test x$gcc_no_link = xyes; then
16151   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16152 fi
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h.  */
16155
16156 /* Override any GCC internal prototype to avoid an error.
16157    Use char because int might match the return type of a GCC
16158    builtin and then its argument prototype would still apply.  */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char acoshl ();
16163 int
16164 main ()
16165 {
16166 return acoshl ();
16167   ;
16168   return 0;
16169 }
16170 _ACEOF
16171 if ac_fn_c_try_link "$LINENO"; then :
16172   ac_cv_lib_m_acoshl=yes
16173 else
16174   ac_cv_lib_m_acoshl=no
16175 fi
16176 rm -f core conftest.err conftest.$ac_objext \
16177     conftest$ac_exeext conftest.$ac_ext
16178 LIBS=$ac_check_lib_save_LIBS
16179 fi
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16181 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16182 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16183
16184 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16185
16186 fi
16187
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16189 $as_echo_n "checking for asinf in -lm... " >&6; }
16190 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16191   $as_echo_n "(cached) " >&6
16192 else
16193   ac_check_lib_save_LIBS=$LIBS
16194 LIBS="-lm  $LIBS"
16195 if test x$gcc_no_link = xyes; then
16196   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16197 fi
16198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16199 /* end confdefs.h.  */
16200
16201 /* Override any GCC internal prototype to avoid an error.
16202    Use char because int might match the return type of a GCC
16203    builtin and then its argument prototype would still apply.  */
16204 #ifdef __cplusplus
16205 extern "C"
16206 #endif
16207 char asinf ();
16208 int
16209 main ()
16210 {
16211 return asinf ();
16212   ;
16213   return 0;
16214 }
16215 _ACEOF
16216 if ac_fn_c_try_link "$LINENO"; then :
16217   ac_cv_lib_m_asinf=yes
16218 else
16219   ac_cv_lib_m_asinf=no
16220 fi
16221 rm -f core conftest.err conftest.$ac_objext \
16222     conftest$ac_exeext conftest.$ac_ext
16223 LIBS=$ac_check_lib_save_LIBS
16224 fi
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16226 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16227 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16228
16229 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16230
16231 fi
16232
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16234 $as_echo_n "checking for asin in -lm... " >&6; }
16235 if test "${ac_cv_lib_m_asin+set}" = set; then :
16236   $as_echo_n "(cached) " >&6
16237 else
16238   ac_check_lib_save_LIBS=$LIBS
16239 LIBS="-lm  $LIBS"
16240 if test x$gcc_no_link = xyes; then
16241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16242 fi
16243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16244 /* end confdefs.h.  */
16245
16246 /* Override any GCC internal prototype to avoid an error.
16247    Use char because int might match the return type of a GCC
16248    builtin and then its argument prototype would still apply.  */
16249 #ifdef __cplusplus
16250 extern "C"
16251 #endif
16252 char asin ();
16253 int
16254 main ()
16255 {
16256 return asin ();
16257   ;
16258   return 0;
16259 }
16260 _ACEOF
16261 if ac_fn_c_try_link "$LINENO"; then :
16262   ac_cv_lib_m_asin=yes
16263 else
16264   ac_cv_lib_m_asin=no
16265 fi
16266 rm -f core conftest.err conftest.$ac_objext \
16267     conftest$ac_exeext conftest.$ac_ext
16268 LIBS=$ac_check_lib_save_LIBS
16269 fi
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16271 $as_echo "$ac_cv_lib_m_asin" >&6; }
16272 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16273
16274 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16275
16276 fi
16277
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16279 $as_echo_n "checking for asinl in -lm... " >&6; }
16280 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16281   $as_echo_n "(cached) " >&6
16282 else
16283   ac_check_lib_save_LIBS=$LIBS
16284 LIBS="-lm  $LIBS"
16285 if test x$gcc_no_link = xyes; then
16286   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16287 fi
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h.  */
16290
16291 /* Override any GCC internal prototype to avoid an error.
16292    Use char because int might match the return type of a GCC
16293    builtin and then its argument prototype would still apply.  */
16294 #ifdef __cplusplus
16295 extern "C"
16296 #endif
16297 char asinl ();
16298 int
16299 main ()
16300 {
16301 return asinl ();
16302   ;
16303   return 0;
16304 }
16305 _ACEOF
16306 if ac_fn_c_try_link "$LINENO"; then :
16307   ac_cv_lib_m_asinl=yes
16308 else
16309   ac_cv_lib_m_asinl=no
16310 fi
16311 rm -f core conftest.err conftest.$ac_objext \
16312     conftest$ac_exeext conftest.$ac_ext
16313 LIBS=$ac_check_lib_save_LIBS
16314 fi
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16316 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16317 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16318
16319 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16320
16321 fi
16322
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16324 $as_echo_n "checking for asinhf in -lm... " >&6; }
16325 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16326   $as_echo_n "(cached) " >&6
16327 else
16328   ac_check_lib_save_LIBS=$LIBS
16329 LIBS="-lm  $LIBS"
16330 if test x$gcc_no_link = xyes; then
16331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16332 fi
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h.  */
16335
16336 /* Override any GCC internal prototype to avoid an error.
16337    Use char because int might match the return type of a GCC
16338    builtin and then its argument prototype would still apply.  */
16339 #ifdef __cplusplus
16340 extern "C"
16341 #endif
16342 char asinhf ();
16343 int
16344 main ()
16345 {
16346 return asinhf ();
16347   ;
16348   return 0;
16349 }
16350 _ACEOF
16351 if ac_fn_c_try_link "$LINENO"; then :
16352   ac_cv_lib_m_asinhf=yes
16353 else
16354   ac_cv_lib_m_asinhf=no
16355 fi
16356 rm -f core conftest.err conftest.$ac_objext \
16357     conftest$ac_exeext conftest.$ac_ext
16358 LIBS=$ac_check_lib_save_LIBS
16359 fi
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16361 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16362 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16363
16364 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16365
16366 fi
16367
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16369 $as_echo_n "checking for asinh in -lm... " >&6; }
16370 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16371   $as_echo_n "(cached) " >&6
16372 else
16373   ac_check_lib_save_LIBS=$LIBS
16374 LIBS="-lm  $LIBS"
16375 if test x$gcc_no_link = xyes; then
16376   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16377 fi
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h.  */
16380
16381 /* Override any GCC internal prototype to avoid an error.
16382    Use char because int might match the return type of a GCC
16383    builtin and then its argument prototype would still apply.  */
16384 #ifdef __cplusplus
16385 extern "C"
16386 #endif
16387 char asinh ();
16388 int
16389 main ()
16390 {
16391 return asinh ();
16392   ;
16393   return 0;
16394 }
16395 _ACEOF
16396 if ac_fn_c_try_link "$LINENO"; then :
16397   ac_cv_lib_m_asinh=yes
16398 else
16399   ac_cv_lib_m_asinh=no
16400 fi
16401 rm -f core conftest.err conftest.$ac_objext \
16402     conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16404 fi
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16406 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16407 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16408
16409 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16410
16411 fi
16412
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16414 $as_echo_n "checking for asinhl in -lm... " >&6; }
16415 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16416   $as_echo_n "(cached) " >&6
16417 else
16418   ac_check_lib_save_LIBS=$LIBS
16419 LIBS="-lm  $LIBS"
16420 if test x$gcc_no_link = xyes; then
16421   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16422 fi
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h.  */
16425
16426 /* Override any GCC internal prototype to avoid an error.
16427    Use char because int might match the return type of a GCC
16428    builtin and then its argument prototype would still apply.  */
16429 #ifdef __cplusplus
16430 extern "C"
16431 #endif
16432 char asinhl ();
16433 int
16434 main ()
16435 {
16436 return asinhl ();
16437   ;
16438   return 0;
16439 }
16440 _ACEOF
16441 if ac_fn_c_try_link "$LINENO"; then :
16442   ac_cv_lib_m_asinhl=yes
16443 else
16444   ac_cv_lib_m_asinhl=no
16445 fi
16446 rm -f core conftest.err conftest.$ac_objext \
16447     conftest$ac_exeext conftest.$ac_ext
16448 LIBS=$ac_check_lib_save_LIBS
16449 fi
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16451 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16452 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16453
16454 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16455
16456 fi
16457
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16459 $as_echo_n "checking for atan2f in -lm... " >&6; }
16460 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16461   $as_echo_n "(cached) " >&6
16462 else
16463   ac_check_lib_save_LIBS=$LIBS
16464 LIBS="-lm  $LIBS"
16465 if test x$gcc_no_link = xyes; then
16466   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16467 fi
16468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16469 /* end confdefs.h.  */
16470
16471 /* Override any GCC internal prototype to avoid an error.
16472    Use char because int might match the return type of a GCC
16473    builtin and then its argument prototype would still apply.  */
16474 #ifdef __cplusplus
16475 extern "C"
16476 #endif
16477 char atan2f ();
16478 int
16479 main ()
16480 {
16481 return atan2f ();
16482   ;
16483   return 0;
16484 }
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"; then :
16487   ac_cv_lib_m_atan2f=yes
16488 else
16489   ac_cv_lib_m_atan2f=no
16490 fi
16491 rm -f core conftest.err conftest.$ac_objext \
16492     conftest$ac_exeext conftest.$ac_ext
16493 LIBS=$ac_check_lib_save_LIBS
16494 fi
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16496 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16497 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16498
16499 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16500
16501 fi
16502
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16504 $as_echo_n "checking for atan2 in -lm... " >&6; }
16505 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16506   $as_echo_n "(cached) " >&6
16507 else
16508   ac_check_lib_save_LIBS=$LIBS
16509 LIBS="-lm  $LIBS"
16510 if test x$gcc_no_link = xyes; then
16511   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16512 fi
16513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16514 /* end confdefs.h.  */
16515
16516 /* Override any GCC internal prototype to avoid an error.
16517    Use char because int might match the return type of a GCC
16518    builtin and then its argument prototype would still apply.  */
16519 #ifdef __cplusplus
16520 extern "C"
16521 #endif
16522 char atan2 ();
16523 int
16524 main ()
16525 {
16526 return atan2 ();
16527   ;
16528   return 0;
16529 }
16530 _ACEOF
16531 if ac_fn_c_try_link "$LINENO"; then :
16532   ac_cv_lib_m_atan2=yes
16533 else
16534   ac_cv_lib_m_atan2=no
16535 fi
16536 rm -f core conftest.err conftest.$ac_objext \
16537     conftest$ac_exeext conftest.$ac_ext
16538 LIBS=$ac_check_lib_save_LIBS
16539 fi
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16541 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16542 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16543
16544 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16545
16546 fi
16547
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16549 $as_echo_n "checking for atan2l in -lm... " >&6; }
16550 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16551   $as_echo_n "(cached) " >&6
16552 else
16553   ac_check_lib_save_LIBS=$LIBS
16554 LIBS="-lm  $LIBS"
16555 if test x$gcc_no_link = xyes; then
16556   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16557 fi
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h.  */
16560
16561 /* Override any GCC internal prototype to avoid an error.
16562    Use char because int might match the return type of a GCC
16563    builtin and then its argument prototype would still apply.  */
16564 #ifdef __cplusplus
16565 extern "C"
16566 #endif
16567 char atan2l ();
16568 int
16569 main ()
16570 {
16571 return atan2l ();
16572   ;
16573   return 0;
16574 }
16575 _ACEOF
16576 if ac_fn_c_try_link "$LINENO"; then :
16577   ac_cv_lib_m_atan2l=yes
16578 else
16579   ac_cv_lib_m_atan2l=no
16580 fi
16581 rm -f core conftest.err conftest.$ac_objext \
16582     conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_lib_save_LIBS
16584 fi
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16586 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16587 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16588
16589 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16590
16591 fi
16592
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16594 $as_echo_n "checking for atanf in -lm... " >&6; }
16595 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16596   $as_echo_n "(cached) " >&6
16597 else
16598   ac_check_lib_save_LIBS=$LIBS
16599 LIBS="-lm  $LIBS"
16600 if test x$gcc_no_link = xyes; then
16601   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16602 fi
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h.  */
16605
16606 /* Override any GCC internal prototype to avoid an error.
16607    Use char because int might match the return type of a GCC
16608    builtin and then its argument prototype would still apply.  */
16609 #ifdef __cplusplus
16610 extern "C"
16611 #endif
16612 char atanf ();
16613 int
16614 main ()
16615 {
16616 return atanf ();
16617   ;
16618   return 0;
16619 }
16620 _ACEOF
16621 if ac_fn_c_try_link "$LINENO"; then :
16622   ac_cv_lib_m_atanf=yes
16623 else
16624   ac_cv_lib_m_atanf=no
16625 fi
16626 rm -f core conftest.err conftest.$ac_objext \
16627     conftest$ac_exeext conftest.$ac_ext
16628 LIBS=$ac_check_lib_save_LIBS
16629 fi
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16631 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16632 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16633
16634 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16635
16636 fi
16637
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16639 $as_echo_n "checking for atan in -lm... " >&6; }
16640 if test "${ac_cv_lib_m_atan+set}" = set; then :
16641   $as_echo_n "(cached) " >&6
16642 else
16643   ac_check_lib_save_LIBS=$LIBS
16644 LIBS="-lm  $LIBS"
16645 if test x$gcc_no_link = xyes; then
16646   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16647 fi
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h.  */
16650
16651 /* Override any GCC internal prototype to avoid an error.
16652    Use char because int might match the return type of a GCC
16653    builtin and then its argument prototype would still apply.  */
16654 #ifdef __cplusplus
16655 extern "C"
16656 #endif
16657 char atan ();
16658 int
16659 main ()
16660 {
16661 return atan ();
16662   ;
16663   return 0;
16664 }
16665 _ACEOF
16666 if ac_fn_c_try_link "$LINENO"; then :
16667   ac_cv_lib_m_atan=yes
16668 else
16669   ac_cv_lib_m_atan=no
16670 fi
16671 rm -f core conftest.err conftest.$ac_objext \
16672     conftest$ac_exeext conftest.$ac_ext
16673 LIBS=$ac_check_lib_save_LIBS
16674 fi
16675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16676 $as_echo "$ac_cv_lib_m_atan" >&6; }
16677 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16678
16679 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16680
16681 fi
16682
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16684 $as_echo_n "checking for atanl in -lm... " >&6; }
16685 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16686   $as_echo_n "(cached) " >&6
16687 else
16688   ac_check_lib_save_LIBS=$LIBS
16689 LIBS="-lm  $LIBS"
16690 if test x$gcc_no_link = xyes; then
16691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16692 fi
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h.  */
16695
16696 /* Override any GCC internal prototype to avoid an error.
16697    Use char because int might match the return type of a GCC
16698    builtin and then its argument prototype would still apply.  */
16699 #ifdef __cplusplus
16700 extern "C"
16701 #endif
16702 char atanl ();
16703 int
16704 main ()
16705 {
16706 return atanl ();
16707   ;
16708   return 0;
16709 }
16710 _ACEOF
16711 if ac_fn_c_try_link "$LINENO"; then :
16712   ac_cv_lib_m_atanl=yes
16713 else
16714   ac_cv_lib_m_atanl=no
16715 fi
16716 rm -f core conftest.err conftest.$ac_objext \
16717     conftest$ac_exeext conftest.$ac_ext
16718 LIBS=$ac_check_lib_save_LIBS
16719 fi
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16721 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16722 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16723
16724 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16725
16726 fi
16727
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16729 $as_echo_n "checking for atanhf in -lm... " >&6; }
16730 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16731   $as_echo_n "(cached) " >&6
16732 else
16733   ac_check_lib_save_LIBS=$LIBS
16734 LIBS="-lm  $LIBS"
16735 if test x$gcc_no_link = xyes; then
16736   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16737 fi
16738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16739 /* end confdefs.h.  */
16740
16741 /* Override any GCC internal prototype to avoid an error.
16742    Use char because int might match the return type of a GCC
16743    builtin and then its argument prototype would still apply.  */
16744 #ifdef __cplusplus
16745 extern "C"
16746 #endif
16747 char atanhf ();
16748 int
16749 main ()
16750 {
16751 return atanhf ();
16752   ;
16753   return 0;
16754 }
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757   ac_cv_lib_m_atanhf=yes
16758 else
16759   ac_cv_lib_m_atanhf=no
16760 fi
16761 rm -f core conftest.err conftest.$ac_objext \
16762     conftest$ac_exeext conftest.$ac_ext
16763 LIBS=$ac_check_lib_save_LIBS
16764 fi
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16766 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16767 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16768
16769 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16770
16771 fi
16772
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16774 $as_echo_n "checking for atanh in -lm... " >&6; }
16775 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16776   $as_echo_n "(cached) " >&6
16777 else
16778   ac_check_lib_save_LIBS=$LIBS
16779 LIBS="-lm  $LIBS"
16780 if test x$gcc_no_link = xyes; then
16781   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16782 fi
16783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16784 /* end confdefs.h.  */
16785
16786 /* Override any GCC internal prototype to avoid an error.
16787    Use char because int might match the return type of a GCC
16788    builtin and then its argument prototype would still apply.  */
16789 #ifdef __cplusplus
16790 extern "C"
16791 #endif
16792 char atanh ();
16793 int
16794 main ()
16795 {
16796 return atanh ();
16797   ;
16798   return 0;
16799 }
16800 _ACEOF
16801 if ac_fn_c_try_link "$LINENO"; then :
16802   ac_cv_lib_m_atanh=yes
16803 else
16804   ac_cv_lib_m_atanh=no
16805 fi
16806 rm -f core conftest.err conftest.$ac_objext \
16807     conftest$ac_exeext conftest.$ac_ext
16808 LIBS=$ac_check_lib_save_LIBS
16809 fi
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16811 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16812 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16813
16814 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16815
16816 fi
16817
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16819 $as_echo_n "checking for atanhl in -lm... " >&6; }
16820 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16821   $as_echo_n "(cached) " >&6
16822 else
16823   ac_check_lib_save_LIBS=$LIBS
16824 LIBS="-lm  $LIBS"
16825 if test x$gcc_no_link = xyes; then
16826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 fi
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h.  */
16830
16831 /* Override any GCC internal prototype to avoid an error.
16832    Use char because int might match the return type of a GCC
16833    builtin and then its argument prototype would still apply.  */
16834 #ifdef __cplusplus
16835 extern "C"
16836 #endif
16837 char atanhl ();
16838 int
16839 main ()
16840 {
16841 return atanhl ();
16842   ;
16843   return 0;
16844 }
16845 _ACEOF
16846 if ac_fn_c_try_link "$LINENO"; then :
16847   ac_cv_lib_m_atanhl=yes
16848 else
16849   ac_cv_lib_m_atanhl=no
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext \
16852     conftest$ac_exeext conftest.$ac_ext
16853 LIBS=$ac_check_lib_save_LIBS
16854 fi
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16856 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16857 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16858
16859 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16860
16861 fi
16862
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16864 $as_echo_n "checking for cargf in -lm... " >&6; }
16865 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16866   $as_echo_n "(cached) " >&6
16867 else
16868   ac_check_lib_save_LIBS=$LIBS
16869 LIBS="-lm  $LIBS"
16870 if test x$gcc_no_link = xyes; then
16871   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16872 fi
16873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16874 /* end confdefs.h.  */
16875
16876 /* Override any GCC internal prototype to avoid an error.
16877    Use char because int might match the return type of a GCC
16878    builtin and then its argument prototype would still apply.  */
16879 #ifdef __cplusplus
16880 extern "C"
16881 #endif
16882 char cargf ();
16883 int
16884 main ()
16885 {
16886 return cargf ();
16887   ;
16888   return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_c_try_link "$LINENO"; then :
16892   ac_cv_lib_m_cargf=yes
16893 else
16894   ac_cv_lib_m_cargf=no
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext \
16897     conftest$ac_exeext conftest.$ac_ext
16898 LIBS=$ac_check_lib_save_LIBS
16899 fi
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16901 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16902 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16903
16904 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16905
16906 fi
16907
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16909 $as_echo_n "checking for carg in -lm... " >&6; }
16910 if test "${ac_cv_lib_m_carg+set}" = set; then :
16911   $as_echo_n "(cached) " >&6
16912 else
16913   ac_check_lib_save_LIBS=$LIBS
16914 LIBS="-lm  $LIBS"
16915 if test x$gcc_no_link = xyes; then
16916   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16917 fi
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h.  */
16920
16921 /* Override any GCC internal prototype to avoid an error.
16922    Use char because int might match the return type of a GCC
16923    builtin and then its argument prototype would still apply.  */
16924 #ifdef __cplusplus
16925 extern "C"
16926 #endif
16927 char carg ();
16928 int
16929 main ()
16930 {
16931 return carg ();
16932   ;
16933   return 0;
16934 }
16935 _ACEOF
16936 if ac_fn_c_try_link "$LINENO"; then :
16937   ac_cv_lib_m_carg=yes
16938 else
16939   ac_cv_lib_m_carg=no
16940 fi
16941 rm -f core conftest.err conftest.$ac_objext \
16942     conftest$ac_exeext conftest.$ac_ext
16943 LIBS=$ac_check_lib_save_LIBS
16944 fi
16945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16946 $as_echo "$ac_cv_lib_m_carg" >&6; }
16947 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16948
16949 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16950
16951 fi
16952
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16954 $as_echo_n "checking for cargl in -lm... " >&6; }
16955 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16956   $as_echo_n "(cached) " >&6
16957 else
16958   ac_check_lib_save_LIBS=$LIBS
16959 LIBS="-lm  $LIBS"
16960 if test x$gcc_no_link = xyes; then
16961   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16962 fi
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964 /* end confdefs.h.  */
16965
16966 /* Override any GCC internal prototype to avoid an error.
16967    Use char because int might match the return type of a GCC
16968    builtin and then its argument prototype would still apply.  */
16969 #ifdef __cplusplus
16970 extern "C"
16971 #endif
16972 char cargl ();
16973 int
16974 main ()
16975 {
16976 return cargl ();
16977   ;
16978   return 0;
16979 }
16980 _ACEOF
16981 if ac_fn_c_try_link "$LINENO"; then :
16982   ac_cv_lib_m_cargl=yes
16983 else
16984   ac_cv_lib_m_cargl=no
16985 fi
16986 rm -f core conftest.err conftest.$ac_objext \
16987     conftest$ac_exeext conftest.$ac_ext
16988 LIBS=$ac_check_lib_save_LIBS
16989 fi
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16991 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16992 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16993
16994 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16995
16996 fi
16997
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16999 $as_echo_n "checking for ceilf in -lm... " >&6; }
17000 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17001   $as_echo_n "(cached) " >&6
17002 else
17003   ac_check_lib_save_LIBS=$LIBS
17004 LIBS="-lm  $LIBS"
17005 if test x$gcc_no_link = xyes; then
17006   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 fi
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h.  */
17010
17011 /* Override any GCC internal prototype to avoid an error.
17012    Use char because int might match the return type of a GCC
17013    builtin and then its argument prototype would still apply.  */
17014 #ifdef __cplusplus
17015 extern "C"
17016 #endif
17017 char ceilf ();
17018 int
17019 main ()
17020 {
17021 return ceilf ();
17022   ;
17023   return 0;
17024 }
17025 _ACEOF
17026 if ac_fn_c_try_link "$LINENO"; then :
17027   ac_cv_lib_m_ceilf=yes
17028 else
17029   ac_cv_lib_m_ceilf=no
17030 fi
17031 rm -f core conftest.err conftest.$ac_objext \
17032     conftest$ac_exeext conftest.$ac_ext
17033 LIBS=$ac_check_lib_save_LIBS
17034 fi
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17036 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17037 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17038
17039 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17040
17041 fi
17042
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17044 $as_echo_n "checking for ceil in -lm... " >&6; }
17045 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17046   $as_echo_n "(cached) " >&6
17047 else
17048   ac_check_lib_save_LIBS=$LIBS
17049 LIBS="-lm  $LIBS"
17050 if test x$gcc_no_link = xyes; then
17051   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17052 fi
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h.  */
17055
17056 /* Override any GCC internal prototype to avoid an error.
17057    Use char because int might match the return type of a GCC
17058    builtin and then its argument prototype would still apply.  */
17059 #ifdef __cplusplus
17060 extern "C"
17061 #endif
17062 char ceil ();
17063 int
17064 main ()
17065 {
17066 return ceil ();
17067   ;
17068   return 0;
17069 }
17070 _ACEOF
17071 if ac_fn_c_try_link "$LINENO"; then :
17072   ac_cv_lib_m_ceil=yes
17073 else
17074   ac_cv_lib_m_ceil=no
17075 fi
17076 rm -f core conftest.err conftest.$ac_objext \
17077     conftest$ac_exeext conftest.$ac_ext
17078 LIBS=$ac_check_lib_save_LIBS
17079 fi
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17081 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17082 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17083
17084 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17085
17086 fi
17087
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17089 $as_echo_n "checking for ceill in -lm... " >&6; }
17090 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17091   $as_echo_n "(cached) " >&6
17092 else
17093   ac_check_lib_save_LIBS=$LIBS
17094 LIBS="-lm  $LIBS"
17095 if test x$gcc_no_link = xyes; then
17096   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17097 fi
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h.  */
17100
17101 /* Override any GCC internal prototype to avoid an error.
17102    Use char because int might match the return type of a GCC
17103    builtin and then its argument prototype would still apply.  */
17104 #ifdef __cplusplus
17105 extern "C"
17106 #endif
17107 char ceill ();
17108 int
17109 main ()
17110 {
17111 return ceill ();
17112   ;
17113   return 0;
17114 }
17115 _ACEOF
17116 if ac_fn_c_try_link "$LINENO"; then :
17117   ac_cv_lib_m_ceill=yes
17118 else
17119   ac_cv_lib_m_ceill=no
17120 fi
17121 rm -f core conftest.err conftest.$ac_objext \
17122     conftest$ac_exeext conftest.$ac_ext
17123 LIBS=$ac_check_lib_save_LIBS
17124 fi
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17126 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17127 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17128
17129 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17130
17131 fi
17132
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17134 $as_echo_n "checking for copysignf in -lm... " >&6; }
17135 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17136   $as_echo_n "(cached) " >&6
17137 else
17138   ac_check_lib_save_LIBS=$LIBS
17139 LIBS="-lm  $LIBS"
17140 if test x$gcc_no_link = xyes; then
17141   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17142 fi
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h.  */
17145
17146 /* Override any GCC internal prototype to avoid an error.
17147    Use char because int might match the return type of a GCC
17148    builtin and then its argument prototype would still apply.  */
17149 #ifdef __cplusplus
17150 extern "C"
17151 #endif
17152 char copysignf ();
17153 int
17154 main ()
17155 {
17156 return copysignf ();
17157   ;
17158   return 0;
17159 }
17160 _ACEOF
17161 if ac_fn_c_try_link "$LINENO"; then :
17162   ac_cv_lib_m_copysignf=yes
17163 else
17164   ac_cv_lib_m_copysignf=no
17165 fi
17166 rm -f core conftest.err conftest.$ac_objext \
17167     conftest$ac_exeext conftest.$ac_ext
17168 LIBS=$ac_check_lib_save_LIBS
17169 fi
17170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17171 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17172 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17173
17174 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17175
17176 fi
17177
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17179 $as_echo_n "checking for copysign in -lm... " >&6; }
17180 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17181   $as_echo_n "(cached) " >&6
17182 else
17183   ac_check_lib_save_LIBS=$LIBS
17184 LIBS="-lm  $LIBS"
17185 if test x$gcc_no_link = xyes; then
17186   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17187 fi
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h.  */
17190
17191 /* Override any GCC internal prototype to avoid an error.
17192    Use char because int might match the return type of a GCC
17193    builtin and then its argument prototype would still apply.  */
17194 #ifdef __cplusplus
17195 extern "C"
17196 #endif
17197 char copysign ();
17198 int
17199 main ()
17200 {
17201 return copysign ();
17202   ;
17203   return 0;
17204 }
17205 _ACEOF
17206 if ac_fn_c_try_link "$LINENO"; then :
17207   ac_cv_lib_m_copysign=yes
17208 else
17209   ac_cv_lib_m_copysign=no
17210 fi
17211 rm -f core conftest.err conftest.$ac_objext \
17212     conftest$ac_exeext conftest.$ac_ext
17213 LIBS=$ac_check_lib_save_LIBS
17214 fi
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17216 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17217 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17218
17219 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17220
17221 fi
17222
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17224 $as_echo_n "checking for copysignl in -lm... " >&6; }
17225 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17226   $as_echo_n "(cached) " >&6
17227 else
17228   ac_check_lib_save_LIBS=$LIBS
17229 LIBS="-lm  $LIBS"
17230 if test x$gcc_no_link = xyes; then
17231   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17232 fi
17233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17234 /* end confdefs.h.  */
17235
17236 /* Override any GCC internal prototype to avoid an error.
17237    Use char because int might match the return type of a GCC
17238    builtin and then its argument prototype would still apply.  */
17239 #ifdef __cplusplus
17240 extern "C"
17241 #endif
17242 char copysignl ();
17243 int
17244 main ()
17245 {
17246 return copysignl ();
17247   ;
17248   return 0;
17249 }
17250 _ACEOF
17251 if ac_fn_c_try_link "$LINENO"; then :
17252   ac_cv_lib_m_copysignl=yes
17253 else
17254   ac_cv_lib_m_copysignl=no
17255 fi
17256 rm -f core conftest.err conftest.$ac_objext \
17257     conftest$ac_exeext conftest.$ac_ext
17258 LIBS=$ac_check_lib_save_LIBS
17259 fi
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17261 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17262 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17263
17264 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17265
17266 fi
17267
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17269 $as_echo_n "checking for cosf in -lm... " >&6; }
17270 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17271   $as_echo_n "(cached) " >&6
17272 else
17273   ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-lm  $LIBS"
17275 if test x$gcc_no_link = xyes; then
17276   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17277 fi
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h.  */
17280
17281 /* Override any GCC internal prototype to avoid an error.
17282    Use char because int might match the return type of a GCC
17283    builtin and then its argument prototype would still apply.  */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char cosf ();
17288 int
17289 main ()
17290 {
17291 return cosf ();
17292   ;
17293   return 0;
17294 }
17295 _ACEOF
17296 if ac_fn_c_try_link "$LINENO"; then :
17297   ac_cv_lib_m_cosf=yes
17298 else
17299   ac_cv_lib_m_cosf=no
17300 fi
17301 rm -f core conftest.err conftest.$ac_objext \
17302     conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17304 fi
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17306 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17307 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17308
17309 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17310
17311 fi
17312
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17314 $as_echo_n "checking for cos in -lm... " >&6; }
17315 if test "${ac_cv_lib_m_cos+set}" = set; then :
17316   $as_echo_n "(cached) " >&6
17317 else
17318   ac_check_lib_save_LIBS=$LIBS
17319 LIBS="-lm  $LIBS"
17320 if test x$gcc_no_link = xyes; then
17321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17322 fi
17323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17324 /* end confdefs.h.  */
17325
17326 /* Override any GCC internal prototype to avoid an error.
17327    Use char because int might match the return type of a GCC
17328    builtin and then its argument prototype would still apply.  */
17329 #ifdef __cplusplus
17330 extern "C"
17331 #endif
17332 char cos ();
17333 int
17334 main ()
17335 {
17336 return cos ();
17337   ;
17338   return 0;
17339 }
17340 _ACEOF
17341 if ac_fn_c_try_link "$LINENO"; then :
17342   ac_cv_lib_m_cos=yes
17343 else
17344   ac_cv_lib_m_cos=no
17345 fi
17346 rm -f core conftest.err conftest.$ac_objext \
17347     conftest$ac_exeext conftest.$ac_ext
17348 LIBS=$ac_check_lib_save_LIBS
17349 fi
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17351 $as_echo "$ac_cv_lib_m_cos" >&6; }
17352 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17353
17354 $as_echo "#define HAVE_COS 1" >>confdefs.h
17355
17356 fi
17357
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17359 $as_echo_n "checking for cosl in -lm... " >&6; }
17360 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17361   $as_echo_n "(cached) " >&6
17362 else
17363   ac_check_lib_save_LIBS=$LIBS
17364 LIBS="-lm  $LIBS"
17365 if test x$gcc_no_link = xyes; then
17366   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17367 fi
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h.  */
17370
17371 /* Override any GCC internal prototype to avoid an error.
17372    Use char because int might match the return type of a GCC
17373    builtin and then its argument prototype would still apply.  */
17374 #ifdef __cplusplus
17375 extern "C"
17376 #endif
17377 char cosl ();
17378 int
17379 main ()
17380 {
17381 return cosl ();
17382   ;
17383   return 0;
17384 }
17385 _ACEOF
17386 if ac_fn_c_try_link "$LINENO"; then :
17387   ac_cv_lib_m_cosl=yes
17388 else
17389   ac_cv_lib_m_cosl=no
17390 fi
17391 rm -f core conftest.err conftest.$ac_objext \
17392     conftest$ac_exeext conftest.$ac_ext
17393 LIBS=$ac_check_lib_save_LIBS
17394 fi
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17396 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17397 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17398
17399 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17400
17401 fi
17402
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17404 $as_echo_n "checking for ccosf in -lm... " >&6; }
17405 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17406   $as_echo_n "(cached) " >&6
17407 else
17408   ac_check_lib_save_LIBS=$LIBS
17409 LIBS="-lm  $LIBS"
17410 if test x$gcc_no_link = xyes; then
17411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17412 fi
17413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17414 /* end confdefs.h.  */
17415
17416 /* Override any GCC internal prototype to avoid an error.
17417    Use char because int might match the return type of a GCC
17418    builtin and then its argument prototype would still apply.  */
17419 #ifdef __cplusplus
17420 extern "C"
17421 #endif
17422 char ccosf ();
17423 int
17424 main ()
17425 {
17426 return ccosf ();
17427   ;
17428   return 0;
17429 }
17430 _ACEOF
17431 if ac_fn_c_try_link "$LINENO"; then :
17432   ac_cv_lib_m_ccosf=yes
17433 else
17434   ac_cv_lib_m_ccosf=no
17435 fi
17436 rm -f core conftest.err conftest.$ac_objext \
17437     conftest$ac_exeext conftest.$ac_ext
17438 LIBS=$ac_check_lib_save_LIBS
17439 fi
17440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17441 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17442 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17443
17444 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17445
17446 fi
17447
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17449 $as_echo_n "checking for ccos in -lm... " >&6; }
17450 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17451   $as_echo_n "(cached) " >&6
17452 else
17453   ac_check_lib_save_LIBS=$LIBS
17454 LIBS="-lm  $LIBS"
17455 if test x$gcc_no_link = xyes; then
17456   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17457 fi
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h.  */
17460
17461 /* Override any GCC internal prototype to avoid an error.
17462    Use char because int might match the return type of a GCC
17463    builtin and then its argument prototype would still apply.  */
17464 #ifdef __cplusplus
17465 extern "C"
17466 #endif
17467 char ccos ();
17468 int
17469 main ()
17470 {
17471 return ccos ();
17472   ;
17473   return 0;
17474 }
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"; then :
17477   ac_cv_lib_m_ccos=yes
17478 else
17479   ac_cv_lib_m_ccos=no
17480 fi
17481 rm -f core conftest.err conftest.$ac_objext \
17482     conftest$ac_exeext conftest.$ac_ext
17483 LIBS=$ac_check_lib_save_LIBS
17484 fi
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17486 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17487 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17488
17489 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17490
17491 fi
17492
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17494 $as_echo_n "checking for ccosl in -lm... " >&6; }
17495 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17496   $as_echo_n "(cached) " >&6
17497 else
17498   ac_check_lib_save_LIBS=$LIBS
17499 LIBS="-lm  $LIBS"
17500 if test x$gcc_no_link = xyes; then
17501   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17502 fi
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h.  */
17505
17506 /* Override any GCC internal prototype to avoid an error.
17507    Use char because int might match the return type of a GCC
17508    builtin and then its argument prototype would still apply.  */
17509 #ifdef __cplusplus
17510 extern "C"
17511 #endif
17512 char ccosl ();
17513 int
17514 main ()
17515 {
17516 return ccosl ();
17517   ;
17518   return 0;
17519 }
17520 _ACEOF
17521 if ac_fn_c_try_link "$LINENO"; then :
17522   ac_cv_lib_m_ccosl=yes
17523 else
17524   ac_cv_lib_m_ccosl=no
17525 fi
17526 rm -f core conftest.err conftest.$ac_objext \
17527     conftest$ac_exeext conftest.$ac_ext
17528 LIBS=$ac_check_lib_save_LIBS
17529 fi
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17531 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17532 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17533
17534 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17535
17536 fi
17537
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17539 $as_echo_n "checking for coshf in -lm... " >&6; }
17540 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17541   $as_echo_n "(cached) " >&6
17542 else
17543   ac_check_lib_save_LIBS=$LIBS
17544 LIBS="-lm  $LIBS"
17545 if test x$gcc_no_link = xyes; then
17546   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17547 fi
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h.  */
17550
17551 /* Override any GCC internal prototype to avoid an error.
17552    Use char because int might match the return type of a GCC
17553    builtin and then its argument prototype would still apply.  */
17554 #ifdef __cplusplus
17555 extern "C"
17556 #endif
17557 char coshf ();
17558 int
17559 main ()
17560 {
17561 return coshf ();
17562   ;
17563   return 0;
17564 }
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567   ac_cv_lib_m_coshf=yes
17568 else
17569   ac_cv_lib_m_coshf=no
17570 fi
17571 rm -f core conftest.err conftest.$ac_objext \
17572     conftest$ac_exeext conftest.$ac_ext
17573 LIBS=$ac_check_lib_save_LIBS
17574 fi
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17576 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17577 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17578
17579 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17580
17581 fi
17582
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17584 $as_echo_n "checking for cosh in -lm... " >&6; }
17585 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17586   $as_echo_n "(cached) " >&6
17587 else
17588   ac_check_lib_save_LIBS=$LIBS
17589 LIBS="-lm  $LIBS"
17590 if test x$gcc_no_link = xyes; then
17591   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17592 fi
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h.  */
17595
17596 /* Override any GCC internal prototype to avoid an error.
17597    Use char because int might match the return type of a GCC
17598    builtin and then its argument prototype would still apply.  */
17599 #ifdef __cplusplus
17600 extern "C"
17601 #endif
17602 char cosh ();
17603 int
17604 main ()
17605 {
17606 return cosh ();
17607   ;
17608   return 0;
17609 }
17610 _ACEOF
17611 if ac_fn_c_try_link "$LINENO"; then :
17612   ac_cv_lib_m_cosh=yes
17613 else
17614   ac_cv_lib_m_cosh=no
17615 fi
17616 rm -f core conftest.err conftest.$ac_objext \
17617     conftest$ac_exeext conftest.$ac_ext
17618 LIBS=$ac_check_lib_save_LIBS
17619 fi
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17621 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17622 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17623
17624 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17625
17626 fi
17627
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17629 $as_echo_n "checking for coshl in -lm... " >&6; }
17630 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17631   $as_echo_n "(cached) " >&6
17632 else
17633   ac_check_lib_save_LIBS=$LIBS
17634 LIBS="-lm  $LIBS"
17635 if test x$gcc_no_link = xyes; then
17636   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17637 fi
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h.  */
17640
17641 /* Override any GCC internal prototype to avoid an error.
17642    Use char because int might match the return type of a GCC
17643    builtin and then its argument prototype would still apply.  */
17644 #ifdef __cplusplus
17645 extern "C"
17646 #endif
17647 char coshl ();
17648 int
17649 main ()
17650 {
17651 return coshl ();
17652   ;
17653   return 0;
17654 }
17655 _ACEOF
17656 if ac_fn_c_try_link "$LINENO"; then :
17657   ac_cv_lib_m_coshl=yes
17658 else
17659   ac_cv_lib_m_coshl=no
17660 fi
17661 rm -f core conftest.err conftest.$ac_objext \
17662     conftest$ac_exeext conftest.$ac_ext
17663 LIBS=$ac_check_lib_save_LIBS
17664 fi
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17666 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17667 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17668
17669 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17670
17671 fi
17672
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17674 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17675 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17676   $as_echo_n "(cached) " >&6
17677 else
17678   ac_check_lib_save_LIBS=$LIBS
17679 LIBS="-lm  $LIBS"
17680 if test x$gcc_no_link = xyes; then
17681   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17682 fi
17683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h.  */
17685
17686 /* Override any GCC internal prototype to avoid an error.
17687    Use char because int might match the return type of a GCC
17688    builtin and then its argument prototype would still apply.  */
17689 #ifdef __cplusplus
17690 extern "C"
17691 #endif
17692 char ccoshf ();
17693 int
17694 main ()
17695 {
17696 return ccoshf ();
17697   ;
17698   return 0;
17699 }
17700 _ACEOF
17701 if ac_fn_c_try_link "$LINENO"; then :
17702   ac_cv_lib_m_ccoshf=yes
17703 else
17704   ac_cv_lib_m_ccoshf=no
17705 fi
17706 rm -f core conftest.err conftest.$ac_objext \
17707     conftest$ac_exeext conftest.$ac_ext
17708 LIBS=$ac_check_lib_save_LIBS
17709 fi
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17711 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17712 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17713
17714 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17715
17716 fi
17717
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17719 $as_echo_n "checking for ccosh in -lm... " >&6; }
17720 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17721   $as_echo_n "(cached) " >&6
17722 else
17723   ac_check_lib_save_LIBS=$LIBS
17724 LIBS="-lm  $LIBS"
17725 if test x$gcc_no_link = xyes; then
17726   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17727 fi
17728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17729 /* end confdefs.h.  */
17730
17731 /* Override any GCC internal prototype to avoid an error.
17732    Use char because int might match the return type of a GCC
17733    builtin and then its argument prototype would still apply.  */
17734 #ifdef __cplusplus
17735 extern "C"
17736 #endif
17737 char ccosh ();
17738 int
17739 main ()
17740 {
17741 return ccosh ();
17742   ;
17743   return 0;
17744 }
17745 _ACEOF
17746 if ac_fn_c_try_link "$LINENO"; then :
17747   ac_cv_lib_m_ccosh=yes
17748 else
17749   ac_cv_lib_m_ccosh=no
17750 fi
17751 rm -f core conftest.err conftest.$ac_objext \
17752     conftest$ac_exeext conftest.$ac_ext
17753 LIBS=$ac_check_lib_save_LIBS
17754 fi
17755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17756 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17757 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17758
17759 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17760
17761 fi
17762
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17764 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17765 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17766   $as_echo_n "(cached) " >&6
17767 else
17768   ac_check_lib_save_LIBS=$LIBS
17769 LIBS="-lm  $LIBS"
17770 if test x$gcc_no_link = xyes; then
17771   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17772 fi
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h.  */
17775
17776 /* Override any GCC internal prototype to avoid an error.
17777    Use char because int might match the return type of a GCC
17778    builtin and then its argument prototype would still apply.  */
17779 #ifdef __cplusplus
17780 extern "C"
17781 #endif
17782 char ccoshl ();
17783 int
17784 main ()
17785 {
17786 return ccoshl ();
17787   ;
17788   return 0;
17789 }
17790 _ACEOF
17791 if ac_fn_c_try_link "$LINENO"; then :
17792   ac_cv_lib_m_ccoshl=yes
17793 else
17794   ac_cv_lib_m_ccoshl=no
17795 fi
17796 rm -f core conftest.err conftest.$ac_objext \
17797     conftest$ac_exeext conftest.$ac_ext
17798 LIBS=$ac_check_lib_save_LIBS
17799 fi
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17801 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17802 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17803
17804 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17805
17806 fi
17807
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17809 $as_echo_n "checking for expf in -lm... " >&6; }
17810 if test "${ac_cv_lib_m_expf+set}" = set; then :
17811   $as_echo_n "(cached) " >&6
17812 else
17813   ac_check_lib_save_LIBS=$LIBS
17814 LIBS="-lm  $LIBS"
17815 if test x$gcc_no_link = xyes; then
17816   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17817 fi
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h.  */
17820
17821 /* Override any GCC internal prototype to avoid an error.
17822    Use char because int might match the return type of a GCC
17823    builtin and then its argument prototype would still apply.  */
17824 #ifdef __cplusplus
17825 extern "C"
17826 #endif
17827 char expf ();
17828 int
17829 main ()
17830 {
17831 return expf ();
17832   ;
17833   return 0;
17834 }
17835 _ACEOF
17836 if ac_fn_c_try_link "$LINENO"; then :
17837   ac_cv_lib_m_expf=yes
17838 else
17839   ac_cv_lib_m_expf=no
17840 fi
17841 rm -f core conftest.err conftest.$ac_objext \
17842     conftest$ac_exeext conftest.$ac_ext
17843 LIBS=$ac_check_lib_save_LIBS
17844 fi
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17846 $as_echo "$ac_cv_lib_m_expf" >&6; }
17847 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17848
17849 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17850
17851 fi
17852
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17854 $as_echo_n "checking for exp in -lm... " >&6; }
17855 if test "${ac_cv_lib_m_exp+set}" = set; then :
17856   $as_echo_n "(cached) " >&6
17857 else
17858   ac_check_lib_save_LIBS=$LIBS
17859 LIBS="-lm  $LIBS"
17860 if test x$gcc_no_link = xyes; then
17861   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17862 fi
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h.  */
17865
17866 /* Override any GCC internal prototype to avoid an error.
17867    Use char because int might match the return type of a GCC
17868    builtin and then its argument prototype would still apply.  */
17869 #ifdef __cplusplus
17870 extern "C"
17871 #endif
17872 char exp ();
17873 int
17874 main ()
17875 {
17876 return exp ();
17877   ;
17878   return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_link "$LINENO"; then :
17882   ac_cv_lib_m_exp=yes
17883 else
17884   ac_cv_lib_m_exp=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext \
17887     conftest$ac_exeext conftest.$ac_ext
17888 LIBS=$ac_check_lib_save_LIBS
17889 fi
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17891 $as_echo "$ac_cv_lib_m_exp" >&6; }
17892 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17893
17894 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17895
17896 fi
17897
17898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17899 $as_echo_n "checking for expl in -lm... " >&6; }
17900 if test "${ac_cv_lib_m_expl+set}" = set; then :
17901   $as_echo_n "(cached) " >&6
17902 else
17903   ac_check_lib_save_LIBS=$LIBS
17904 LIBS="-lm  $LIBS"
17905 if test x$gcc_no_link = xyes; then
17906   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17907 fi
17908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17909 /* end confdefs.h.  */
17910
17911 /* Override any GCC internal prototype to avoid an error.
17912    Use char because int might match the return type of a GCC
17913    builtin and then its argument prototype would still apply.  */
17914 #ifdef __cplusplus
17915 extern "C"
17916 #endif
17917 char expl ();
17918 int
17919 main ()
17920 {
17921 return expl ();
17922   ;
17923   return 0;
17924 }
17925 _ACEOF
17926 if ac_fn_c_try_link "$LINENO"; then :
17927   ac_cv_lib_m_expl=yes
17928 else
17929   ac_cv_lib_m_expl=no
17930 fi
17931 rm -f core conftest.err conftest.$ac_objext \
17932     conftest$ac_exeext conftest.$ac_ext
17933 LIBS=$ac_check_lib_save_LIBS
17934 fi
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17936 $as_echo "$ac_cv_lib_m_expl" >&6; }
17937 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17938
17939 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17940
17941 fi
17942
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17944 $as_echo_n "checking for cexpf in -lm... " >&6; }
17945 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17946   $as_echo_n "(cached) " >&6
17947 else
17948   ac_check_lib_save_LIBS=$LIBS
17949 LIBS="-lm  $LIBS"
17950 if test x$gcc_no_link = xyes; then
17951   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17952 fi
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h.  */
17955
17956 /* Override any GCC internal prototype to avoid an error.
17957    Use char because int might match the return type of a GCC
17958    builtin and then its argument prototype would still apply.  */
17959 #ifdef __cplusplus
17960 extern "C"
17961 #endif
17962 char cexpf ();
17963 int
17964 main ()
17965 {
17966 return cexpf ();
17967   ;
17968   return 0;
17969 }
17970 _ACEOF
17971 if ac_fn_c_try_link "$LINENO"; then :
17972   ac_cv_lib_m_cexpf=yes
17973 else
17974   ac_cv_lib_m_cexpf=no
17975 fi
17976 rm -f core conftest.err conftest.$ac_objext \
17977     conftest$ac_exeext conftest.$ac_ext
17978 LIBS=$ac_check_lib_save_LIBS
17979 fi
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17981 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17982 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17983
17984 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17985
17986 fi
17987
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17989 $as_echo_n "checking for cexp in -lm... " >&6; }
17990 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17991   $as_echo_n "(cached) " >&6
17992 else
17993   ac_check_lib_save_LIBS=$LIBS
17994 LIBS="-lm  $LIBS"
17995 if test x$gcc_no_link = xyes; then
17996   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17997 fi
17998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999 /* end confdefs.h.  */
18000
18001 /* Override any GCC internal prototype to avoid an error.
18002    Use char because int might match the return type of a GCC
18003    builtin and then its argument prototype would still apply.  */
18004 #ifdef __cplusplus
18005 extern "C"
18006 #endif
18007 char cexp ();
18008 int
18009 main ()
18010 {
18011 return cexp ();
18012   ;
18013   return 0;
18014 }
18015 _ACEOF
18016 if ac_fn_c_try_link "$LINENO"; then :
18017   ac_cv_lib_m_cexp=yes
18018 else
18019   ac_cv_lib_m_cexp=no
18020 fi
18021 rm -f core conftest.err conftest.$ac_objext \
18022     conftest$ac_exeext conftest.$ac_ext
18023 LIBS=$ac_check_lib_save_LIBS
18024 fi
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18026 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18027 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18028
18029 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18030
18031 fi
18032
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18034 $as_echo_n "checking for cexpl in -lm... " >&6; }
18035 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18036   $as_echo_n "(cached) " >&6
18037 else
18038   ac_check_lib_save_LIBS=$LIBS
18039 LIBS="-lm  $LIBS"
18040 if test x$gcc_no_link = xyes; then
18041   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18042 fi
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h.  */
18045
18046 /* Override any GCC internal prototype to avoid an error.
18047    Use char because int might match the return type of a GCC
18048    builtin and then its argument prototype would still apply.  */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 char cexpl ();
18053 int
18054 main ()
18055 {
18056 return cexpl ();
18057   ;
18058   return 0;
18059 }
18060 _ACEOF
18061 if ac_fn_c_try_link "$LINENO"; then :
18062   ac_cv_lib_m_cexpl=yes
18063 else
18064   ac_cv_lib_m_cexpl=no
18065 fi
18066 rm -f core conftest.err conftest.$ac_objext \
18067     conftest$ac_exeext conftest.$ac_ext
18068 LIBS=$ac_check_lib_save_LIBS
18069 fi
18070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18071 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18072 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18073
18074 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18075
18076 fi
18077
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18079 $as_echo_n "checking for fabsf in -lm... " >&6; }
18080 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18081   $as_echo_n "(cached) " >&6
18082 else
18083   ac_check_lib_save_LIBS=$LIBS
18084 LIBS="-lm  $LIBS"
18085 if test x$gcc_no_link = xyes; then
18086   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18087 fi
18088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18089 /* end confdefs.h.  */
18090
18091 /* Override any GCC internal prototype to avoid an error.
18092    Use char because int might match the return type of a GCC
18093    builtin and then its argument prototype would still apply.  */
18094 #ifdef __cplusplus
18095 extern "C"
18096 #endif
18097 char fabsf ();
18098 int
18099 main ()
18100 {
18101 return fabsf ();
18102   ;
18103   return 0;
18104 }
18105 _ACEOF
18106 if ac_fn_c_try_link "$LINENO"; then :
18107   ac_cv_lib_m_fabsf=yes
18108 else
18109   ac_cv_lib_m_fabsf=no
18110 fi
18111 rm -f core conftest.err conftest.$ac_objext \
18112     conftest$ac_exeext conftest.$ac_ext
18113 LIBS=$ac_check_lib_save_LIBS
18114 fi
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18116 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18117 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18118
18119 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18120
18121 fi
18122
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18124 $as_echo_n "checking for fabs in -lm... " >&6; }
18125 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18126   $as_echo_n "(cached) " >&6
18127 else
18128   ac_check_lib_save_LIBS=$LIBS
18129 LIBS="-lm  $LIBS"
18130 if test x$gcc_no_link = xyes; then
18131   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18132 fi
18133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18134 /* end confdefs.h.  */
18135
18136 /* Override any GCC internal prototype to avoid an error.
18137    Use char because int might match the return type of a GCC
18138    builtin and then its argument prototype would still apply.  */
18139 #ifdef __cplusplus
18140 extern "C"
18141 #endif
18142 char fabs ();
18143 int
18144 main ()
18145 {
18146 return fabs ();
18147   ;
18148   return 0;
18149 }
18150 _ACEOF
18151 if ac_fn_c_try_link "$LINENO"; then :
18152   ac_cv_lib_m_fabs=yes
18153 else
18154   ac_cv_lib_m_fabs=no
18155 fi
18156 rm -f core conftest.err conftest.$ac_objext \
18157     conftest$ac_exeext conftest.$ac_ext
18158 LIBS=$ac_check_lib_save_LIBS
18159 fi
18160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18161 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18162 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18163
18164 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18165
18166 fi
18167
18168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18169 $as_echo_n "checking for fabsl in -lm... " >&6; }
18170 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18171   $as_echo_n "(cached) " >&6
18172 else
18173   ac_check_lib_save_LIBS=$LIBS
18174 LIBS="-lm  $LIBS"
18175 if test x$gcc_no_link = xyes; then
18176   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18177 fi
18178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18179 /* end confdefs.h.  */
18180
18181 /* Override any GCC internal prototype to avoid an error.
18182    Use char because int might match the return type of a GCC
18183    builtin and then its argument prototype would still apply.  */
18184 #ifdef __cplusplus
18185 extern "C"
18186 #endif
18187 char fabsl ();
18188 int
18189 main ()
18190 {
18191 return fabsl ();
18192   ;
18193   return 0;
18194 }
18195 _ACEOF
18196 if ac_fn_c_try_link "$LINENO"; then :
18197   ac_cv_lib_m_fabsl=yes
18198 else
18199   ac_cv_lib_m_fabsl=no
18200 fi
18201 rm -f core conftest.err conftest.$ac_objext \
18202     conftest$ac_exeext conftest.$ac_ext
18203 LIBS=$ac_check_lib_save_LIBS
18204 fi
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18206 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18207 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18208
18209 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18210
18211 fi
18212
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18214 $as_echo_n "checking for cabsf in -lm... " >&6; }
18215 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18216   $as_echo_n "(cached) " >&6
18217 else
18218   ac_check_lib_save_LIBS=$LIBS
18219 LIBS="-lm  $LIBS"
18220 if test x$gcc_no_link = xyes; then
18221   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18222 fi
18223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18224 /* end confdefs.h.  */
18225
18226 /* Override any GCC internal prototype to avoid an error.
18227    Use char because int might match the return type of a GCC
18228    builtin and then its argument prototype would still apply.  */
18229 #ifdef __cplusplus
18230 extern "C"
18231 #endif
18232 char cabsf ();
18233 int
18234 main ()
18235 {
18236 return cabsf ();
18237   ;
18238   return 0;
18239 }
18240 _ACEOF
18241 if ac_fn_c_try_link "$LINENO"; then :
18242   ac_cv_lib_m_cabsf=yes
18243 else
18244   ac_cv_lib_m_cabsf=no
18245 fi
18246 rm -f core conftest.err conftest.$ac_objext \
18247     conftest$ac_exeext conftest.$ac_ext
18248 LIBS=$ac_check_lib_save_LIBS
18249 fi
18250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18251 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18252 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18253
18254 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18255
18256 fi
18257
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18259 $as_echo_n "checking for cabs in -lm... " >&6; }
18260 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18261   $as_echo_n "(cached) " >&6
18262 else
18263   ac_check_lib_save_LIBS=$LIBS
18264 LIBS="-lm  $LIBS"
18265 if test x$gcc_no_link = xyes; then
18266   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18267 fi
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h.  */
18270
18271 /* Override any GCC internal prototype to avoid an error.
18272    Use char because int might match the return type of a GCC
18273    builtin and then its argument prototype would still apply.  */
18274 #ifdef __cplusplus
18275 extern "C"
18276 #endif
18277 char cabs ();
18278 int
18279 main ()
18280 {
18281 return cabs ();
18282   ;
18283   return 0;
18284 }
18285 _ACEOF
18286 if ac_fn_c_try_link "$LINENO"; then :
18287   ac_cv_lib_m_cabs=yes
18288 else
18289   ac_cv_lib_m_cabs=no
18290 fi
18291 rm -f core conftest.err conftest.$ac_objext \
18292     conftest$ac_exeext conftest.$ac_ext
18293 LIBS=$ac_check_lib_save_LIBS
18294 fi
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18296 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18297 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18298
18299 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18300
18301 fi
18302
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18304 $as_echo_n "checking for cabsl in -lm... " >&6; }
18305 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18306   $as_echo_n "(cached) " >&6
18307 else
18308   ac_check_lib_save_LIBS=$LIBS
18309 LIBS="-lm  $LIBS"
18310 if test x$gcc_no_link = xyes; then
18311   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18312 fi
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h.  */
18315
18316 /* Override any GCC internal prototype to avoid an error.
18317    Use char because int might match the return type of a GCC
18318    builtin and then its argument prototype would still apply.  */
18319 #ifdef __cplusplus
18320 extern "C"
18321 #endif
18322 char cabsl ();
18323 int
18324 main ()
18325 {
18326 return cabsl ();
18327   ;
18328   return 0;
18329 }
18330 _ACEOF
18331 if ac_fn_c_try_link "$LINENO"; then :
18332   ac_cv_lib_m_cabsl=yes
18333 else
18334   ac_cv_lib_m_cabsl=no
18335 fi
18336 rm -f core conftest.err conftest.$ac_objext \
18337     conftest$ac_exeext conftest.$ac_ext
18338 LIBS=$ac_check_lib_save_LIBS
18339 fi
18340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18341 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18342 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18343
18344 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18345
18346 fi
18347
18348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18349 $as_echo_n "checking for floorf in -lm... " >&6; }
18350 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18351   $as_echo_n "(cached) " >&6
18352 else
18353   ac_check_lib_save_LIBS=$LIBS
18354 LIBS="-lm  $LIBS"
18355 if test x$gcc_no_link = xyes; then
18356   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18357 fi
18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18359 /* end confdefs.h.  */
18360
18361 /* Override any GCC internal prototype to avoid an error.
18362    Use char because int might match the return type of a GCC
18363    builtin and then its argument prototype would still apply.  */
18364 #ifdef __cplusplus
18365 extern "C"
18366 #endif
18367 char floorf ();
18368 int
18369 main ()
18370 {
18371 return floorf ();
18372   ;
18373   return 0;
18374 }
18375 _ACEOF
18376 if ac_fn_c_try_link "$LINENO"; then :
18377   ac_cv_lib_m_floorf=yes
18378 else
18379   ac_cv_lib_m_floorf=no
18380 fi
18381 rm -f core conftest.err conftest.$ac_objext \
18382     conftest$ac_exeext conftest.$ac_ext
18383 LIBS=$ac_check_lib_save_LIBS
18384 fi
18385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18386 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18387 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18388
18389 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18390
18391 fi
18392
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18394 $as_echo_n "checking for floor in -lm... " >&6; }
18395 if test "${ac_cv_lib_m_floor+set}" = set; then :
18396   $as_echo_n "(cached) " >&6
18397 else
18398   ac_check_lib_save_LIBS=$LIBS
18399 LIBS="-lm  $LIBS"
18400 if test x$gcc_no_link = xyes; then
18401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18402 fi
18403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18404 /* end confdefs.h.  */
18405
18406 /* Override any GCC internal prototype to avoid an error.
18407    Use char because int might match the return type of a GCC
18408    builtin and then its argument prototype would still apply.  */
18409 #ifdef __cplusplus
18410 extern "C"
18411 #endif
18412 char floor ();
18413 int
18414 main ()
18415 {
18416 return floor ();
18417   ;
18418   return 0;
18419 }
18420 _ACEOF
18421 if ac_fn_c_try_link "$LINENO"; then :
18422   ac_cv_lib_m_floor=yes
18423 else
18424   ac_cv_lib_m_floor=no
18425 fi
18426 rm -f core conftest.err conftest.$ac_objext \
18427     conftest$ac_exeext conftest.$ac_ext
18428 LIBS=$ac_check_lib_save_LIBS
18429 fi
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18431 $as_echo "$ac_cv_lib_m_floor" >&6; }
18432 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18433
18434 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18435
18436 fi
18437
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18439 $as_echo_n "checking for floorl in -lm... " >&6; }
18440 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18441   $as_echo_n "(cached) " >&6
18442 else
18443   ac_check_lib_save_LIBS=$LIBS
18444 LIBS="-lm  $LIBS"
18445 if test x$gcc_no_link = xyes; then
18446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18447 fi
18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18449 /* end confdefs.h.  */
18450
18451 /* Override any GCC internal prototype to avoid an error.
18452    Use char because int might match the return type of a GCC
18453    builtin and then its argument prototype would still apply.  */
18454 #ifdef __cplusplus
18455 extern "C"
18456 #endif
18457 char floorl ();
18458 int
18459 main ()
18460 {
18461 return floorl ();
18462   ;
18463   return 0;
18464 }
18465 _ACEOF
18466 if ac_fn_c_try_link "$LINENO"; then :
18467   ac_cv_lib_m_floorl=yes
18468 else
18469   ac_cv_lib_m_floorl=no
18470 fi
18471 rm -f core conftest.err conftest.$ac_objext \
18472     conftest$ac_exeext conftest.$ac_ext
18473 LIBS=$ac_check_lib_save_LIBS
18474 fi
18475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18476 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18477 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18478
18479 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18480
18481 fi
18482
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18484 $as_echo_n "checking for fmodf in -lm... " >&6; }
18485 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18486   $as_echo_n "(cached) " >&6
18487 else
18488   ac_check_lib_save_LIBS=$LIBS
18489 LIBS="-lm  $LIBS"
18490 if test x$gcc_no_link = xyes; then
18491   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18492 fi
18493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18494 /* end confdefs.h.  */
18495
18496 /* Override any GCC internal prototype to avoid an error.
18497    Use char because int might match the return type of a GCC
18498    builtin and then its argument prototype would still apply.  */
18499 #ifdef __cplusplus
18500 extern "C"
18501 #endif
18502 char fmodf ();
18503 int
18504 main ()
18505 {
18506 return fmodf ();
18507   ;
18508   return 0;
18509 }
18510 _ACEOF
18511 if ac_fn_c_try_link "$LINENO"; then :
18512   ac_cv_lib_m_fmodf=yes
18513 else
18514   ac_cv_lib_m_fmodf=no
18515 fi
18516 rm -f core conftest.err conftest.$ac_objext \
18517     conftest$ac_exeext conftest.$ac_ext
18518 LIBS=$ac_check_lib_save_LIBS
18519 fi
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18521 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18522 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18523
18524 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18525
18526 fi
18527
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18529 $as_echo_n "checking for fmod in -lm... " >&6; }
18530 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18531   $as_echo_n "(cached) " >&6
18532 else
18533   ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-lm  $LIBS"
18535 if test x$gcc_no_link = xyes; then
18536   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18537 fi
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h.  */
18540
18541 /* Override any GCC internal prototype to avoid an error.
18542    Use char because int might match the return type of a GCC
18543    builtin and then its argument prototype would still apply.  */
18544 #ifdef __cplusplus
18545 extern "C"
18546 #endif
18547 char fmod ();
18548 int
18549 main ()
18550 {
18551 return fmod ();
18552   ;
18553   return 0;
18554 }
18555 _ACEOF
18556 if ac_fn_c_try_link "$LINENO"; then :
18557   ac_cv_lib_m_fmod=yes
18558 else
18559   ac_cv_lib_m_fmod=no
18560 fi
18561 rm -f core conftest.err conftest.$ac_objext \
18562     conftest$ac_exeext conftest.$ac_ext
18563 LIBS=$ac_check_lib_save_LIBS
18564 fi
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18566 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18567 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18568
18569 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18570
18571 fi
18572
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18574 $as_echo_n "checking for fmodl in -lm... " >&6; }
18575 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18576   $as_echo_n "(cached) " >&6
18577 else
18578   ac_check_lib_save_LIBS=$LIBS
18579 LIBS="-lm  $LIBS"
18580 if test x$gcc_no_link = xyes; then
18581   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h.  */
18585
18586 /* Override any GCC internal prototype to avoid an error.
18587    Use char because int might match the return type of a GCC
18588    builtin and then its argument prototype would still apply.  */
18589 #ifdef __cplusplus
18590 extern "C"
18591 #endif
18592 char fmodl ();
18593 int
18594 main ()
18595 {
18596 return fmodl ();
18597   ;
18598   return 0;
18599 }
18600 _ACEOF
18601 if ac_fn_c_try_link "$LINENO"; then :
18602   ac_cv_lib_m_fmodl=yes
18603 else
18604   ac_cv_lib_m_fmodl=no
18605 fi
18606 rm -f core conftest.err conftest.$ac_objext \
18607     conftest$ac_exeext conftest.$ac_ext
18608 LIBS=$ac_check_lib_save_LIBS
18609 fi
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18611 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18612 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18613
18614 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18615
18616 fi
18617
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18619 $as_echo_n "checking for frexpf in -lm... " >&6; }
18620 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18621   $as_echo_n "(cached) " >&6
18622 else
18623   ac_check_lib_save_LIBS=$LIBS
18624 LIBS="-lm  $LIBS"
18625 if test x$gcc_no_link = xyes; then
18626   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18627 fi
18628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18629 /* end confdefs.h.  */
18630
18631 /* Override any GCC internal prototype to avoid an error.
18632    Use char because int might match the return type of a GCC
18633    builtin and then its argument prototype would still apply.  */
18634 #ifdef __cplusplus
18635 extern "C"
18636 #endif
18637 char frexpf ();
18638 int
18639 main ()
18640 {
18641 return frexpf ();
18642   ;
18643   return 0;
18644 }
18645 _ACEOF
18646 if ac_fn_c_try_link "$LINENO"; then :
18647   ac_cv_lib_m_frexpf=yes
18648 else
18649   ac_cv_lib_m_frexpf=no
18650 fi
18651 rm -f core conftest.err conftest.$ac_objext \
18652     conftest$ac_exeext conftest.$ac_ext
18653 LIBS=$ac_check_lib_save_LIBS
18654 fi
18655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18656 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18657 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18658
18659 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18660
18661 fi
18662
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18664 $as_echo_n "checking for frexp in -lm... " >&6; }
18665 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18666   $as_echo_n "(cached) " >&6
18667 else
18668   ac_check_lib_save_LIBS=$LIBS
18669 LIBS="-lm  $LIBS"
18670 if test x$gcc_no_link = xyes; then
18671   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18672 fi
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h.  */
18675
18676 /* Override any GCC internal prototype to avoid an error.
18677    Use char because int might match the return type of a GCC
18678    builtin and then its argument prototype would still apply.  */
18679 #ifdef __cplusplus
18680 extern "C"
18681 #endif
18682 char frexp ();
18683 int
18684 main ()
18685 {
18686 return frexp ();
18687   ;
18688   return 0;
18689 }
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"; then :
18692   ac_cv_lib_m_frexp=yes
18693 else
18694   ac_cv_lib_m_frexp=no
18695 fi
18696 rm -f core conftest.err conftest.$ac_objext \
18697     conftest$ac_exeext conftest.$ac_ext
18698 LIBS=$ac_check_lib_save_LIBS
18699 fi
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18701 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18702 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18703
18704 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18705
18706 fi
18707
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18709 $as_echo_n "checking for frexpl in -lm... " >&6; }
18710 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18711   $as_echo_n "(cached) " >&6
18712 else
18713   ac_check_lib_save_LIBS=$LIBS
18714 LIBS="-lm  $LIBS"
18715 if test x$gcc_no_link = xyes; then
18716   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18717 fi
18718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18719 /* end confdefs.h.  */
18720
18721 /* Override any GCC internal prototype to avoid an error.
18722    Use char because int might match the return type of a GCC
18723    builtin and then its argument prototype would still apply.  */
18724 #ifdef __cplusplus
18725 extern "C"
18726 #endif
18727 char frexpl ();
18728 int
18729 main ()
18730 {
18731 return frexpl ();
18732   ;
18733   return 0;
18734 }
18735 _ACEOF
18736 if ac_fn_c_try_link "$LINENO"; then :
18737   ac_cv_lib_m_frexpl=yes
18738 else
18739   ac_cv_lib_m_frexpl=no
18740 fi
18741 rm -f core conftest.err conftest.$ac_objext \
18742     conftest$ac_exeext conftest.$ac_ext
18743 LIBS=$ac_check_lib_save_LIBS
18744 fi
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18746 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18747 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18748
18749 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18750
18751 fi
18752
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18754 $as_echo_n "checking for hypotf in -lm... " >&6; }
18755 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18756   $as_echo_n "(cached) " >&6
18757 else
18758   ac_check_lib_save_LIBS=$LIBS
18759 LIBS="-lm  $LIBS"
18760 if test x$gcc_no_link = xyes; then
18761   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18762 fi
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h.  */
18765
18766 /* Override any GCC internal prototype to avoid an error.
18767    Use char because int might match the return type of a GCC
18768    builtin and then its argument prototype would still apply.  */
18769 #ifdef __cplusplus
18770 extern "C"
18771 #endif
18772 char hypotf ();
18773 int
18774 main ()
18775 {
18776 return hypotf ();
18777   ;
18778   return 0;
18779 }
18780 _ACEOF
18781 if ac_fn_c_try_link "$LINENO"; then :
18782   ac_cv_lib_m_hypotf=yes
18783 else
18784   ac_cv_lib_m_hypotf=no
18785 fi
18786 rm -f core conftest.err conftest.$ac_objext \
18787     conftest$ac_exeext conftest.$ac_ext
18788 LIBS=$ac_check_lib_save_LIBS
18789 fi
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18791 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18792 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18793
18794 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18795
18796 fi
18797
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18799 $as_echo_n "checking for hypot in -lm... " >&6; }
18800 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18801   $as_echo_n "(cached) " >&6
18802 else
18803   ac_check_lib_save_LIBS=$LIBS
18804 LIBS="-lm  $LIBS"
18805 if test x$gcc_no_link = xyes; then
18806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18807 fi
18808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18809 /* end confdefs.h.  */
18810
18811 /* Override any GCC internal prototype to avoid an error.
18812    Use char because int might match the return type of a GCC
18813    builtin and then its argument prototype would still apply.  */
18814 #ifdef __cplusplus
18815 extern "C"
18816 #endif
18817 char hypot ();
18818 int
18819 main ()
18820 {
18821 return hypot ();
18822   ;
18823   return 0;
18824 }
18825 _ACEOF
18826 if ac_fn_c_try_link "$LINENO"; then :
18827   ac_cv_lib_m_hypot=yes
18828 else
18829   ac_cv_lib_m_hypot=no
18830 fi
18831 rm -f core conftest.err conftest.$ac_objext \
18832     conftest$ac_exeext conftest.$ac_ext
18833 LIBS=$ac_check_lib_save_LIBS
18834 fi
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18836 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18837 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18838
18839 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18840
18841 fi
18842
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18844 $as_echo_n "checking for hypotl in -lm... " >&6; }
18845 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18846   $as_echo_n "(cached) " >&6
18847 else
18848   ac_check_lib_save_LIBS=$LIBS
18849 LIBS="-lm  $LIBS"
18850 if test x$gcc_no_link = xyes; then
18851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18852 fi
18853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18854 /* end confdefs.h.  */
18855
18856 /* Override any GCC internal prototype to avoid an error.
18857    Use char because int might match the return type of a GCC
18858    builtin and then its argument prototype would still apply.  */
18859 #ifdef __cplusplus
18860 extern "C"
18861 #endif
18862 char hypotl ();
18863 int
18864 main ()
18865 {
18866 return hypotl ();
18867   ;
18868   return 0;
18869 }
18870 _ACEOF
18871 if ac_fn_c_try_link "$LINENO"; then :
18872   ac_cv_lib_m_hypotl=yes
18873 else
18874   ac_cv_lib_m_hypotl=no
18875 fi
18876 rm -f core conftest.err conftest.$ac_objext \
18877     conftest$ac_exeext conftest.$ac_ext
18878 LIBS=$ac_check_lib_save_LIBS
18879 fi
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18881 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18882 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18883
18884 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18885
18886 fi
18887
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18889 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18890 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18891   $as_echo_n "(cached) " >&6
18892 else
18893   ac_check_lib_save_LIBS=$LIBS
18894 LIBS="-lm  $LIBS"
18895 if test x$gcc_no_link = xyes; then
18896   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18897 fi
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h.  */
18900
18901 /* Override any GCC internal prototype to avoid an error.
18902    Use char because int might match the return type of a GCC
18903    builtin and then its argument prototype would still apply.  */
18904 #ifdef __cplusplus
18905 extern "C"
18906 #endif
18907 char ldexpf ();
18908 int
18909 main ()
18910 {
18911 return ldexpf ();
18912   ;
18913   return 0;
18914 }
18915 _ACEOF
18916 if ac_fn_c_try_link "$LINENO"; then :
18917   ac_cv_lib_m_ldexpf=yes
18918 else
18919   ac_cv_lib_m_ldexpf=no
18920 fi
18921 rm -f core conftest.err conftest.$ac_objext \
18922     conftest$ac_exeext conftest.$ac_ext
18923 LIBS=$ac_check_lib_save_LIBS
18924 fi
18925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18926 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18927 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18928
18929 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18930
18931 fi
18932
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18934 $as_echo_n "checking for ldexp in -lm... " >&6; }
18935 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18936   $as_echo_n "(cached) " >&6
18937 else
18938   ac_check_lib_save_LIBS=$LIBS
18939 LIBS="-lm  $LIBS"
18940 if test x$gcc_no_link = xyes; then
18941   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18942 fi
18943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18944 /* end confdefs.h.  */
18945
18946 /* Override any GCC internal prototype to avoid an error.
18947    Use char because int might match the return type of a GCC
18948    builtin and then its argument prototype would still apply.  */
18949 #ifdef __cplusplus
18950 extern "C"
18951 #endif
18952 char ldexp ();
18953 int
18954 main ()
18955 {
18956 return ldexp ();
18957   ;
18958   return 0;
18959 }
18960 _ACEOF
18961 if ac_fn_c_try_link "$LINENO"; then :
18962   ac_cv_lib_m_ldexp=yes
18963 else
18964   ac_cv_lib_m_ldexp=no
18965 fi
18966 rm -f core conftest.err conftest.$ac_objext \
18967     conftest$ac_exeext conftest.$ac_ext
18968 LIBS=$ac_check_lib_save_LIBS
18969 fi
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18971 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18972 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18973
18974 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18975
18976 fi
18977
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18979 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18980 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18981   $as_echo_n "(cached) " >&6
18982 else
18983   ac_check_lib_save_LIBS=$LIBS
18984 LIBS="-lm  $LIBS"
18985 if test x$gcc_no_link = xyes; then
18986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18987 fi
18988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h.  */
18990
18991 /* Override any GCC internal prototype to avoid an error.
18992    Use char because int might match the return type of a GCC
18993    builtin and then its argument prototype would still apply.  */
18994 #ifdef __cplusplus
18995 extern "C"
18996 #endif
18997 char ldexpl ();
18998 int
18999 main ()
19000 {
19001 return ldexpl ();
19002   ;
19003   return 0;
19004 }
19005 _ACEOF
19006 if ac_fn_c_try_link "$LINENO"; then :
19007   ac_cv_lib_m_ldexpl=yes
19008 else
19009   ac_cv_lib_m_ldexpl=no
19010 fi
19011 rm -f core conftest.err conftest.$ac_objext \
19012     conftest$ac_exeext conftest.$ac_ext
19013 LIBS=$ac_check_lib_save_LIBS
19014 fi
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19016 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19017 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19018
19019 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19020
19021 fi
19022
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19024 $as_echo_n "checking for logf in -lm... " >&6; }
19025 if test "${ac_cv_lib_m_logf+set}" = set; then :
19026   $as_echo_n "(cached) " >&6
19027 else
19028   ac_check_lib_save_LIBS=$LIBS
19029 LIBS="-lm  $LIBS"
19030 if test x$gcc_no_link = xyes; then
19031   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19032 fi
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h.  */
19035
19036 /* Override any GCC internal prototype to avoid an error.
19037    Use char because int might match the return type of a GCC
19038    builtin and then its argument prototype would still apply.  */
19039 #ifdef __cplusplus
19040 extern "C"
19041 #endif
19042 char logf ();
19043 int
19044 main ()
19045 {
19046 return logf ();
19047   ;
19048   return 0;
19049 }
19050 _ACEOF
19051 if ac_fn_c_try_link "$LINENO"; then :
19052   ac_cv_lib_m_logf=yes
19053 else
19054   ac_cv_lib_m_logf=no
19055 fi
19056 rm -f core conftest.err conftest.$ac_objext \
19057     conftest$ac_exeext conftest.$ac_ext
19058 LIBS=$ac_check_lib_save_LIBS
19059 fi
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19061 $as_echo "$ac_cv_lib_m_logf" >&6; }
19062 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19063
19064 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19065
19066 fi
19067
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19069 $as_echo_n "checking for log in -lm... " >&6; }
19070 if test "${ac_cv_lib_m_log+set}" = set; then :
19071   $as_echo_n "(cached) " >&6
19072 else
19073   ac_check_lib_save_LIBS=$LIBS
19074 LIBS="-lm  $LIBS"
19075 if test x$gcc_no_link = xyes; then
19076   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19077 fi
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h.  */
19080
19081 /* Override any GCC internal prototype to avoid an error.
19082    Use char because int might match the return type of a GCC
19083    builtin and then its argument prototype would still apply.  */
19084 #ifdef __cplusplus
19085 extern "C"
19086 #endif
19087 char log ();
19088 int
19089 main ()
19090 {
19091 return log ();
19092   ;
19093   return 0;
19094 }
19095 _ACEOF
19096 if ac_fn_c_try_link "$LINENO"; then :
19097   ac_cv_lib_m_log=yes
19098 else
19099   ac_cv_lib_m_log=no
19100 fi
19101 rm -f core conftest.err conftest.$ac_objext \
19102     conftest$ac_exeext conftest.$ac_ext
19103 LIBS=$ac_check_lib_save_LIBS
19104 fi
19105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19106 $as_echo "$ac_cv_lib_m_log" >&6; }
19107 if test "x$ac_cv_lib_m_log" = x""yes; then :
19108
19109 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19110
19111 fi
19112
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19114 $as_echo_n "checking for logl in -lm... " >&6; }
19115 if test "${ac_cv_lib_m_logl+set}" = set; then :
19116   $as_echo_n "(cached) " >&6
19117 else
19118   ac_check_lib_save_LIBS=$LIBS
19119 LIBS="-lm  $LIBS"
19120 if test x$gcc_no_link = xyes; then
19121   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19122 fi
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h.  */
19125
19126 /* Override any GCC internal prototype to avoid an error.
19127    Use char because int might match the return type of a GCC
19128    builtin and then its argument prototype would still apply.  */
19129 #ifdef __cplusplus
19130 extern "C"
19131 #endif
19132 char logl ();
19133 int
19134 main ()
19135 {
19136 return logl ();
19137   ;
19138   return 0;
19139 }
19140 _ACEOF
19141 if ac_fn_c_try_link "$LINENO"; then :
19142   ac_cv_lib_m_logl=yes
19143 else
19144   ac_cv_lib_m_logl=no
19145 fi
19146 rm -f core conftest.err conftest.$ac_objext \
19147     conftest$ac_exeext conftest.$ac_ext
19148 LIBS=$ac_check_lib_save_LIBS
19149 fi
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19151 $as_echo "$ac_cv_lib_m_logl" >&6; }
19152 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19153
19154 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19155
19156 fi
19157
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19159 $as_echo_n "checking for clogf in -lm... " >&6; }
19160 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19161   $as_echo_n "(cached) " >&6
19162 else
19163   ac_check_lib_save_LIBS=$LIBS
19164 LIBS="-lm  $LIBS"
19165 if test x$gcc_no_link = xyes; then
19166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19167 fi
19168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19169 /* end confdefs.h.  */
19170
19171 /* Override any GCC internal prototype to avoid an error.
19172    Use char because int might match the return type of a GCC
19173    builtin and then its argument prototype would still apply.  */
19174 #ifdef __cplusplus
19175 extern "C"
19176 #endif
19177 char clogf ();
19178 int
19179 main ()
19180 {
19181 return clogf ();
19182   ;
19183   return 0;
19184 }
19185 _ACEOF
19186 if ac_fn_c_try_link "$LINENO"; then :
19187   ac_cv_lib_m_clogf=yes
19188 else
19189   ac_cv_lib_m_clogf=no
19190 fi
19191 rm -f core conftest.err conftest.$ac_objext \
19192     conftest$ac_exeext conftest.$ac_ext
19193 LIBS=$ac_check_lib_save_LIBS
19194 fi
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19196 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19197 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19198
19199 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19200
19201 fi
19202
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19204 $as_echo_n "checking for clog in -lm... " >&6; }
19205 if test "${ac_cv_lib_m_clog+set}" = set; then :
19206   $as_echo_n "(cached) " >&6
19207 else
19208   ac_check_lib_save_LIBS=$LIBS
19209 LIBS="-lm  $LIBS"
19210 if test x$gcc_no_link = xyes; then
19211   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19212 fi
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h.  */
19215
19216 /* Override any GCC internal prototype to avoid an error.
19217    Use char because int might match the return type of a GCC
19218    builtin and then its argument prototype would still apply.  */
19219 #ifdef __cplusplus
19220 extern "C"
19221 #endif
19222 char clog ();
19223 int
19224 main ()
19225 {
19226 return clog ();
19227   ;
19228   return 0;
19229 }
19230 _ACEOF
19231 if ac_fn_c_try_link "$LINENO"; then :
19232   ac_cv_lib_m_clog=yes
19233 else
19234   ac_cv_lib_m_clog=no
19235 fi
19236 rm -f core conftest.err conftest.$ac_objext \
19237     conftest$ac_exeext conftest.$ac_ext
19238 LIBS=$ac_check_lib_save_LIBS
19239 fi
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19241 $as_echo "$ac_cv_lib_m_clog" >&6; }
19242 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19243
19244 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19245
19246 fi
19247
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19249 $as_echo_n "checking for clogl in -lm... " >&6; }
19250 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19251   $as_echo_n "(cached) " >&6
19252 else
19253   ac_check_lib_save_LIBS=$LIBS
19254 LIBS="-lm  $LIBS"
19255 if test x$gcc_no_link = xyes; then
19256   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19257 fi
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h.  */
19260
19261 /* Override any GCC internal prototype to avoid an error.
19262    Use char because int might match the return type of a GCC
19263    builtin and then its argument prototype would still apply.  */
19264 #ifdef __cplusplus
19265 extern "C"
19266 #endif
19267 char clogl ();
19268 int
19269 main ()
19270 {
19271 return clogl ();
19272   ;
19273   return 0;
19274 }
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"; then :
19277   ac_cv_lib_m_clogl=yes
19278 else
19279   ac_cv_lib_m_clogl=no
19280 fi
19281 rm -f core conftest.err conftest.$ac_objext \
19282     conftest$ac_exeext conftest.$ac_ext
19283 LIBS=$ac_check_lib_save_LIBS
19284 fi
19285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19286 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19287 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19288
19289 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19290
19291 fi
19292
19293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19294 $as_echo_n "checking for log10f in -lm... " >&6; }
19295 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19296   $as_echo_n "(cached) " >&6
19297 else
19298   ac_check_lib_save_LIBS=$LIBS
19299 LIBS="-lm  $LIBS"
19300 if test x$gcc_no_link = xyes; then
19301   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19302 fi
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h.  */
19305
19306 /* Override any GCC internal prototype to avoid an error.
19307    Use char because int might match the return type of a GCC
19308    builtin and then its argument prototype would still apply.  */
19309 #ifdef __cplusplus
19310 extern "C"
19311 #endif
19312 char log10f ();
19313 int
19314 main ()
19315 {
19316 return log10f ();
19317   ;
19318   return 0;
19319 }
19320 _ACEOF
19321 if ac_fn_c_try_link "$LINENO"; then :
19322   ac_cv_lib_m_log10f=yes
19323 else
19324   ac_cv_lib_m_log10f=no
19325 fi
19326 rm -f core conftest.err conftest.$ac_objext \
19327     conftest$ac_exeext conftest.$ac_ext
19328 LIBS=$ac_check_lib_save_LIBS
19329 fi
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19331 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19332 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19333
19334 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19335
19336 fi
19337
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19339 $as_echo_n "checking for log10 in -lm... " >&6; }
19340 if test "${ac_cv_lib_m_log10+set}" = set; then :
19341   $as_echo_n "(cached) " >&6
19342 else
19343   ac_check_lib_save_LIBS=$LIBS
19344 LIBS="-lm  $LIBS"
19345 if test x$gcc_no_link = xyes; then
19346   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19347 fi
19348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19349 /* end confdefs.h.  */
19350
19351 /* Override any GCC internal prototype to avoid an error.
19352    Use char because int might match the return type of a GCC
19353    builtin and then its argument prototype would still apply.  */
19354 #ifdef __cplusplus
19355 extern "C"
19356 #endif
19357 char log10 ();
19358 int
19359 main ()
19360 {
19361 return log10 ();
19362   ;
19363   return 0;
19364 }
19365 _ACEOF
19366 if ac_fn_c_try_link "$LINENO"; then :
19367   ac_cv_lib_m_log10=yes
19368 else
19369   ac_cv_lib_m_log10=no
19370 fi
19371 rm -f core conftest.err conftest.$ac_objext \
19372     conftest$ac_exeext conftest.$ac_ext
19373 LIBS=$ac_check_lib_save_LIBS
19374 fi
19375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19376 $as_echo "$ac_cv_lib_m_log10" >&6; }
19377 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19378
19379 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19380
19381 fi
19382
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19384 $as_echo_n "checking for log10l in -lm... " >&6; }
19385 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19386   $as_echo_n "(cached) " >&6
19387 else
19388   ac_check_lib_save_LIBS=$LIBS
19389 LIBS="-lm  $LIBS"
19390 if test x$gcc_no_link = xyes; then
19391   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19392 fi
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h.  */
19395
19396 /* Override any GCC internal prototype to avoid an error.
19397    Use char because int might match the return type of a GCC
19398    builtin and then its argument prototype would still apply.  */
19399 #ifdef __cplusplus
19400 extern "C"
19401 #endif
19402 char log10l ();
19403 int
19404 main ()
19405 {
19406 return log10l ();
19407   ;
19408   return 0;
19409 }
19410 _ACEOF
19411 if ac_fn_c_try_link "$LINENO"; then :
19412   ac_cv_lib_m_log10l=yes
19413 else
19414   ac_cv_lib_m_log10l=no
19415 fi
19416 rm -f core conftest.err conftest.$ac_objext \
19417     conftest$ac_exeext conftest.$ac_ext
19418 LIBS=$ac_check_lib_save_LIBS
19419 fi
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19421 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19422 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19423
19424 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19425
19426 fi
19427
19428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19429 $as_echo_n "checking for clog10f in -lm... " >&6; }
19430 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19431   $as_echo_n "(cached) " >&6
19432 else
19433   ac_check_lib_save_LIBS=$LIBS
19434 LIBS="-lm  $LIBS"
19435 if test x$gcc_no_link = xyes; then
19436   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19437 fi
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h.  */
19440
19441 /* Override any GCC internal prototype to avoid an error.
19442    Use char because int might match the return type of a GCC
19443    builtin and then its argument prototype would still apply.  */
19444 #ifdef __cplusplus
19445 extern "C"
19446 #endif
19447 char clog10f ();
19448 int
19449 main ()
19450 {
19451 return clog10f ();
19452   ;
19453   return 0;
19454 }
19455 _ACEOF
19456 if ac_fn_c_try_link "$LINENO"; then :
19457   ac_cv_lib_m_clog10f=yes
19458 else
19459   ac_cv_lib_m_clog10f=no
19460 fi
19461 rm -f core conftest.err conftest.$ac_objext \
19462     conftest$ac_exeext conftest.$ac_ext
19463 LIBS=$ac_check_lib_save_LIBS
19464 fi
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19466 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19467 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19468
19469 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19470
19471 fi
19472
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19474 $as_echo_n "checking for clog10 in -lm... " >&6; }
19475 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19476   $as_echo_n "(cached) " >&6
19477 else
19478   ac_check_lib_save_LIBS=$LIBS
19479 LIBS="-lm  $LIBS"
19480 if test x$gcc_no_link = xyes; then
19481   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19482 fi
19483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19484 /* end confdefs.h.  */
19485
19486 /* Override any GCC internal prototype to avoid an error.
19487    Use char because int might match the return type of a GCC
19488    builtin and then its argument prototype would still apply.  */
19489 #ifdef __cplusplus
19490 extern "C"
19491 #endif
19492 char clog10 ();
19493 int
19494 main ()
19495 {
19496 return clog10 ();
19497   ;
19498   return 0;
19499 }
19500 _ACEOF
19501 if ac_fn_c_try_link "$LINENO"; then :
19502   ac_cv_lib_m_clog10=yes
19503 else
19504   ac_cv_lib_m_clog10=no
19505 fi
19506 rm -f core conftest.err conftest.$ac_objext \
19507     conftest$ac_exeext conftest.$ac_ext
19508 LIBS=$ac_check_lib_save_LIBS
19509 fi
19510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19511 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19512 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19513
19514 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19515
19516 fi
19517
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19519 $as_echo_n "checking for clog10l in -lm... " >&6; }
19520 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19521   $as_echo_n "(cached) " >&6
19522 else
19523   ac_check_lib_save_LIBS=$LIBS
19524 LIBS="-lm  $LIBS"
19525 if test x$gcc_no_link = xyes; then
19526   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19527 fi
19528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19529 /* end confdefs.h.  */
19530
19531 /* Override any GCC internal prototype to avoid an error.
19532    Use char because int might match the return type of a GCC
19533    builtin and then its argument prototype would still apply.  */
19534 #ifdef __cplusplus
19535 extern "C"
19536 #endif
19537 char clog10l ();
19538 int
19539 main ()
19540 {
19541 return clog10l ();
19542   ;
19543   return 0;
19544 }
19545 _ACEOF
19546 if ac_fn_c_try_link "$LINENO"; then :
19547   ac_cv_lib_m_clog10l=yes
19548 else
19549   ac_cv_lib_m_clog10l=no
19550 fi
19551 rm -f core conftest.err conftest.$ac_objext \
19552     conftest$ac_exeext conftest.$ac_ext
19553 LIBS=$ac_check_lib_save_LIBS
19554 fi
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19556 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19557 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19558
19559 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19560
19561 fi
19562
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19564 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19565 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19566   $as_echo_n "(cached) " >&6
19567 else
19568   ac_check_lib_save_LIBS=$LIBS
19569 LIBS="-lm  $LIBS"
19570 if test x$gcc_no_link = xyes; then
19571   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19572 fi
19573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h.  */
19575
19576 /* Override any GCC internal prototype to avoid an error.
19577    Use char because int might match the return type of a GCC
19578    builtin and then its argument prototype would still apply.  */
19579 #ifdef __cplusplus
19580 extern "C"
19581 #endif
19582 char nextafterf ();
19583 int
19584 main ()
19585 {
19586 return nextafterf ();
19587   ;
19588   return 0;
19589 }
19590 _ACEOF
19591 if ac_fn_c_try_link "$LINENO"; then :
19592   ac_cv_lib_m_nextafterf=yes
19593 else
19594   ac_cv_lib_m_nextafterf=no
19595 fi
19596 rm -f core conftest.err conftest.$ac_objext \
19597     conftest$ac_exeext conftest.$ac_ext
19598 LIBS=$ac_check_lib_save_LIBS
19599 fi
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19601 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19602 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19603
19604 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19605
19606 fi
19607
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19609 $as_echo_n "checking for nextafter in -lm... " >&6; }
19610 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19611   $as_echo_n "(cached) " >&6
19612 else
19613   ac_check_lib_save_LIBS=$LIBS
19614 LIBS="-lm  $LIBS"
19615 if test x$gcc_no_link = xyes; then
19616   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 fi
19618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19619 /* end confdefs.h.  */
19620
19621 /* Override any GCC internal prototype to avoid an error.
19622    Use char because int might match the return type of a GCC
19623    builtin and then its argument prototype would still apply.  */
19624 #ifdef __cplusplus
19625 extern "C"
19626 #endif
19627 char nextafter ();
19628 int
19629 main ()
19630 {
19631 return nextafter ();
19632   ;
19633   return 0;
19634 }
19635 _ACEOF
19636 if ac_fn_c_try_link "$LINENO"; then :
19637   ac_cv_lib_m_nextafter=yes
19638 else
19639   ac_cv_lib_m_nextafter=no
19640 fi
19641 rm -f core conftest.err conftest.$ac_objext \
19642     conftest$ac_exeext conftest.$ac_ext
19643 LIBS=$ac_check_lib_save_LIBS
19644 fi
19645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19646 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19647 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19648
19649 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19650
19651 fi
19652
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19654 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19655 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19656   $as_echo_n "(cached) " >&6
19657 else
19658   ac_check_lib_save_LIBS=$LIBS
19659 LIBS="-lm  $LIBS"
19660 if test x$gcc_no_link = xyes; then
19661   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19662 fi
19663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19664 /* end confdefs.h.  */
19665
19666 /* Override any GCC internal prototype to avoid an error.
19667    Use char because int might match the return type of a GCC
19668    builtin and then its argument prototype would still apply.  */
19669 #ifdef __cplusplus
19670 extern "C"
19671 #endif
19672 char nextafterl ();
19673 int
19674 main ()
19675 {
19676 return nextafterl ();
19677   ;
19678   return 0;
19679 }
19680 _ACEOF
19681 if ac_fn_c_try_link "$LINENO"; then :
19682   ac_cv_lib_m_nextafterl=yes
19683 else
19684   ac_cv_lib_m_nextafterl=no
19685 fi
19686 rm -f core conftest.err conftest.$ac_objext \
19687     conftest$ac_exeext conftest.$ac_ext
19688 LIBS=$ac_check_lib_save_LIBS
19689 fi
19690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19691 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19692 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19693
19694 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19695
19696 fi
19697
19698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19699 $as_echo_n "checking for powf in -lm... " >&6; }
19700 if test "${ac_cv_lib_m_powf+set}" = set; then :
19701   $as_echo_n "(cached) " >&6
19702 else
19703   ac_check_lib_save_LIBS=$LIBS
19704 LIBS="-lm  $LIBS"
19705 if test x$gcc_no_link = xyes; then
19706   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19707 fi
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h.  */
19710
19711 /* Override any GCC internal prototype to avoid an error.
19712    Use char because int might match the return type of a GCC
19713    builtin and then its argument prototype would still apply.  */
19714 #ifdef __cplusplus
19715 extern "C"
19716 #endif
19717 char powf ();
19718 int
19719 main ()
19720 {
19721 return powf ();
19722   ;
19723   return 0;
19724 }
19725 _ACEOF
19726 if ac_fn_c_try_link "$LINENO"; then :
19727   ac_cv_lib_m_powf=yes
19728 else
19729   ac_cv_lib_m_powf=no
19730 fi
19731 rm -f core conftest.err conftest.$ac_objext \
19732     conftest$ac_exeext conftest.$ac_ext
19733 LIBS=$ac_check_lib_save_LIBS
19734 fi
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19736 $as_echo "$ac_cv_lib_m_powf" >&6; }
19737 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19738
19739 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19740
19741 fi
19742
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19744 $as_echo_n "checking for pow in -lm... " >&6; }
19745 if test "${ac_cv_lib_m_pow+set}" = set; then :
19746   $as_echo_n "(cached) " >&6
19747 else
19748   ac_check_lib_save_LIBS=$LIBS
19749 LIBS="-lm  $LIBS"
19750 if test x$gcc_no_link = xyes; then
19751   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 fi
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h.  */
19755
19756 /* Override any GCC internal prototype to avoid an error.
19757    Use char because int might match the return type of a GCC
19758    builtin and then its argument prototype would still apply.  */
19759 #ifdef __cplusplus
19760 extern "C"
19761 #endif
19762 char pow ();
19763 int
19764 main ()
19765 {
19766 return pow ();
19767   ;
19768   return 0;
19769 }
19770 _ACEOF
19771 if ac_fn_c_try_link "$LINENO"; then :
19772   ac_cv_lib_m_pow=yes
19773 else
19774   ac_cv_lib_m_pow=no
19775 fi
19776 rm -f core conftest.err conftest.$ac_objext \
19777     conftest$ac_exeext conftest.$ac_ext
19778 LIBS=$ac_check_lib_save_LIBS
19779 fi
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19781 $as_echo "$ac_cv_lib_m_pow" >&6; }
19782 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19783
19784 $as_echo "#define HAVE_POW 1" >>confdefs.h
19785
19786 fi
19787
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19789 $as_echo_n "checking for powl in -lm... " >&6; }
19790 if test "${ac_cv_lib_m_powl+set}" = set; then :
19791   $as_echo_n "(cached) " >&6
19792 else
19793   ac_check_lib_save_LIBS=$LIBS
19794 LIBS="-lm  $LIBS"
19795 if test x$gcc_no_link = xyes; then
19796   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19797 fi
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h.  */
19800
19801 /* Override any GCC internal prototype to avoid an error.
19802    Use char because int might match the return type of a GCC
19803    builtin and then its argument prototype would still apply.  */
19804 #ifdef __cplusplus
19805 extern "C"
19806 #endif
19807 char powl ();
19808 int
19809 main ()
19810 {
19811 return powl ();
19812   ;
19813   return 0;
19814 }
19815 _ACEOF
19816 if ac_fn_c_try_link "$LINENO"; then :
19817   ac_cv_lib_m_powl=yes
19818 else
19819   ac_cv_lib_m_powl=no
19820 fi
19821 rm -f core conftest.err conftest.$ac_objext \
19822     conftest$ac_exeext conftest.$ac_ext
19823 LIBS=$ac_check_lib_save_LIBS
19824 fi
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19826 $as_echo "$ac_cv_lib_m_powl" >&6; }
19827 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19828
19829 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19830
19831 fi
19832
19833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19834 $as_echo_n "checking for cpowf in -lm... " >&6; }
19835 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19836   $as_echo_n "(cached) " >&6
19837 else
19838   ac_check_lib_save_LIBS=$LIBS
19839 LIBS="-lm  $LIBS"
19840 if test x$gcc_no_link = xyes; then
19841   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19842 fi
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h.  */
19845
19846 /* Override any GCC internal prototype to avoid an error.
19847    Use char because int might match the return type of a GCC
19848    builtin and then its argument prototype would still apply.  */
19849 #ifdef __cplusplus
19850 extern "C"
19851 #endif
19852 char cpowf ();
19853 int
19854 main ()
19855 {
19856 return cpowf ();
19857   ;
19858   return 0;
19859 }
19860 _ACEOF
19861 if ac_fn_c_try_link "$LINENO"; then :
19862   ac_cv_lib_m_cpowf=yes
19863 else
19864   ac_cv_lib_m_cpowf=no
19865 fi
19866 rm -f core conftest.err conftest.$ac_objext \
19867     conftest$ac_exeext conftest.$ac_ext
19868 LIBS=$ac_check_lib_save_LIBS
19869 fi
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19871 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19872 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19873
19874 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19875
19876 fi
19877
19878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19879 $as_echo_n "checking for cpow in -lm... " >&6; }
19880 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19881   $as_echo_n "(cached) " >&6
19882 else
19883   ac_check_lib_save_LIBS=$LIBS
19884 LIBS="-lm  $LIBS"
19885 if test x$gcc_no_link = xyes; then
19886   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19887 fi
19888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19889 /* end confdefs.h.  */
19890
19891 /* Override any GCC internal prototype to avoid an error.
19892    Use char because int might match the return type of a GCC
19893    builtin and then its argument prototype would still apply.  */
19894 #ifdef __cplusplus
19895 extern "C"
19896 #endif
19897 char cpow ();
19898 int
19899 main ()
19900 {
19901 return cpow ();
19902   ;
19903   return 0;
19904 }
19905 _ACEOF
19906 if ac_fn_c_try_link "$LINENO"; then :
19907   ac_cv_lib_m_cpow=yes
19908 else
19909   ac_cv_lib_m_cpow=no
19910 fi
19911 rm -f core conftest.err conftest.$ac_objext \
19912     conftest$ac_exeext conftest.$ac_ext
19913 LIBS=$ac_check_lib_save_LIBS
19914 fi
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19916 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19917 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19918
19919 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19920
19921 fi
19922
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19924 $as_echo_n "checking for cpowl in -lm... " >&6; }
19925 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19926   $as_echo_n "(cached) " >&6
19927 else
19928   ac_check_lib_save_LIBS=$LIBS
19929 LIBS="-lm  $LIBS"
19930 if test x$gcc_no_link = xyes; then
19931   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19932 fi
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h.  */
19935
19936 /* Override any GCC internal prototype to avoid an error.
19937    Use char because int might match the return type of a GCC
19938    builtin and then its argument prototype would still apply.  */
19939 #ifdef __cplusplus
19940 extern "C"
19941 #endif
19942 char cpowl ();
19943 int
19944 main ()
19945 {
19946 return cpowl ();
19947   ;
19948   return 0;
19949 }
19950 _ACEOF
19951 if ac_fn_c_try_link "$LINENO"; then :
19952   ac_cv_lib_m_cpowl=yes
19953 else
19954   ac_cv_lib_m_cpowl=no
19955 fi
19956 rm -f core conftest.err conftest.$ac_objext \
19957     conftest$ac_exeext conftest.$ac_ext
19958 LIBS=$ac_check_lib_save_LIBS
19959 fi
19960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19961 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19962 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19963
19964 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19965
19966 fi
19967
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19969 $as_echo_n "checking for roundf in -lm... " >&6; }
19970 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19971   $as_echo_n "(cached) " >&6
19972 else
19973   ac_check_lib_save_LIBS=$LIBS
19974 LIBS="-lm  $LIBS"
19975 if test x$gcc_no_link = xyes; then
19976   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19977 fi
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h.  */
19980
19981 /* Override any GCC internal prototype to avoid an error.
19982    Use char because int might match the return type of a GCC
19983    builtin and then its argument prototype would still apply.  */
19984 #ifdef __cplusplus
19985 extern "C"
19986 #endif
19987 char roundf ();
19988 int
19989 main ()
19990 {
19991 return roundf ();
19992   ;
19993   return 0;
19994 }
19995 _ACEOF
19996 if ac_fn_c_try_link "$LINENO"; then :
19997   ac_cv_lib_m_roundf=yes
19998 else
19999   ac_cv_lib_m_roundf=no
20000 fi
20001 rm -f core conftest.err conftest.$ac_objext \
20002     conftest$ac_exeext conftest.$ac_ext
20003 LIBS=$ac_check_lib_save_LIBS
20004 fi
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20006 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20007 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20008
20009 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20010
20011 fi
20012
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20014 $as_echo_n "checking for round in -lm... " >&6; }
20015 if test "${ac_cv_lib_m_round+set}" = set; then :
20016   $as_echo_n "(cached) " >&6
20017 else
20018   ac_check_lib_save_LIBS=$LIBS
20019 LIBS="-lm  $LIBS"
20020 if test x$gcc_no_link = xyes; then
20021   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20022 fi
20023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20024 /* end confdefs.h.  */
20025
20026 /* Override any GCC internal prototype to avoid an error.
20027    Use char because int might match the return type of a GCC
20028    builtin and then its argument prototype would still apply.  */
20029 #ifdef __cplusplus
20030 extern "C"
20031 #endif
20032 char round ();
20033 int
20034 main ()
20035 {
20036 return round ();
20037   ;
20038   return 0;
20039 }
20040 _ACEOF
20041 if ac_fn_c_try_link "$LINENO"; then :
20042   ac_cv_lib_m_round=yes
20043 else
20044   ac_cv_lib_m_round=no
20045 fi
20046 rm -f core conftest.err conftest.$ac_objext \
20047     conftest$ac_exeext conftest.$ac_ext
20048 LIBS=$ac_check_lib_save_LIBS
20049 fi
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20051 $as_echo "$ac_cv_lib_m_round" >&6; }
20052 if test "x$ac_cv_lib_m_round" = x""yes; then :
20053
20054 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20055
20056 fi
20057
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20059 $as_echo_n "checking for roundl in -lm... " >&6; }
20060 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20061   $as_echo_n "(cached) " >&6
20062 else
20063   ac_check_lib_save_LIBS=$LIBS
20064 LIBS="-lm  $LIBS"
20065 if test x$gcc_no_link = xyes; then
20066   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20067 fi
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h.  */
20070
20071 /* Override any GCC internal prototype to avoid an error.
20072    Use char because int might match the return type of a GCC
20073    builtin and then its argument prototype would still apply.  */
20074 #ifdef __cplusplus
20075 extern "C"
20076 #endif
20077 char roundl ();
20078 int
20079 main ()
20080 {
20081 return roundl ();
20082   ;
20083   return 0;
20084 }
20085 _ACEOF
20086 if ac_fn_c_try_link "$LINENO"; then :
20087   ac_cv_lib_m_roundl=yes
20088 else
20089   ac_cv_lib_m_roundl=no
20090 fi
20091 rm -f core conftest.err conftest.$ac_objext \
20092     conftest$ac_exeext conftest.$ac_ext
20093 LIBS=$ac_check_lib_save_LIBS
20094 fi
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20096 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20097 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20098
20099 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20100
20101 fi
20102
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20104 $as_echo_n "checking for lroundf in -lm... " >&6; }
20105 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20106   $as_echo_n "(cached) " >&6
20107 else
20108   ac_check_lib_save_LIBS=$LIBS
20109 LIBS="-lm  $LIBS"
20110 if test x$gcc_no_link = xyes; then
20111   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20112 fi
20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h.  */
20115
20116 /* Override any GCC internal prototype to avoid an error.
20117    Use char because int might match the return type of a GCC
20118    builtin and then its argument prototype would still apply.  */
20119 #ifdef __cplusplus
20120 extern "C"
20121 #endif
20122 char lroundf ();
20123 int
20124 main ()
20125 {
20126 return lroundf ();
20127   ;
20128   return 0;
20129 }
20130 _ACEOF
20131 if ac_fn_c_try_link "$LINENO"; then :
20132   ac_cv_lib_m_lroundf=yes
20133 else
20134   ac_cv_lib_m_lroundf=no
20135 fi
20136 rm -f core conftest.err conftest.$ac_objext \
20137     conftest$ac_exeext conftest.$ac_ext
20138 LIBS=$ac_check_lib_save_LIBS
20139 fi
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20141 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20142 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20143
20144 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20145
20146 fi
20147
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20149 $as_echo_n "checking for lround in -lm... " >&6; }
20150 if test "${ac_cv_lib_m_lround+set}" = set; then :
20151   $as_echo_n "(cached) " >&6
20152 else
20153   ac_check_lib_save_LIBS=$LIBS
20154 LIBS="-lm  $LIBS"
20155 if test x$gcc_no_link = xyes; then
20156   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20157 fi
20158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20159 /* end confdefs.h.  */
20160
20161 /* Override any GCC internal prototype to avoid an error.
20162    Use char because int might match the return type of a GCC
20163    builtin and then its argument prototype would still apply.  */
20164 #ifdef __cplusplus
20165 extern "C"
20166 #endif
20167 char lround ();
20168 int
20169 main ()
20170 {
20171 return lround ();
20172   ;
20173   return 0;
20174 }
20175 _ACEOF
20176 if ac_fn_c_try_link "$LINENO"; then :
20177   ac_cv_lib_m_lround=yes
20178 else
20179   ac_cv_lib_m_lround=no
20180 fi
20181 rm -f core conftest.err conftest.$ac_objext \
20182     conftest$ac_exeext conftest.$ac_ext
20183 LIBS=$ac_check_lib_save_LIBS
20184 fi
20185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20186 $as_echo "$ac_cv_lib_m_lround" >&6; }
20187 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20188
20189 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20190
20191 fi
20192
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20194 $as_echo_n "checking for lroundl in -lm... " >&6; }
20195 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20196   $as_echo_n "(cached) " >&6
20197 else
20198   ac_check_lib_save_LIBS=$LIBS
20199 LIBS="-lm  $LIBS"
20200 if test x$gcc_no_link = xyes; then
20201   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20202 fi
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h.  */
20205
20206 /* Override any GCC internal prototype to avoid an error.
20207    Use char because int might match the return type of a GCC
20208    builtin and then its argument prototype would still apply.  */
20209 #ifdef __cplusplus
20210 extern "C"
20211 #endif
20212 char lroundl ();
20213 int
20214 main ()
20215 {
20216 return lroundl ();
20217   ;
20218   return 0;
20219 }
20220 _ACEOF
20221 if ac_fn_c_try_link "$LINENO"; then :
20222   ac_cv_lib_m_lroundl=yes
20223 else
20224   ac_cv_lib_m_lroundl=no
20225 fi
20226 rm -f core conftest.err conftest.$ac_objext \
20227     conftest$ac_exeext conftest.$ac_ext
20228 LIBS=$ac_check_lib_save_LIBS
20229 fi
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20231 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20232 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20233
20234 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20235
20236 fi
20237
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20239 $as_echo_n "checking for llroundf in -lm... " >&6; }
20240 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20241   $as_echo_n "(cached) " >&6
20242 else
20243   ac_check_lib_save_LIBS=$LIBS
20244 LIBS="-lm  $LIBS"
20245 if test x$gcc_no_link = xyes; then
20246   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20247 fi
20248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20249 /* end confdefs.h.  */
20250
20251 /* Override any GCC internal prototype to avoid an error.
20252    Use char because int might match the return type of a GCC
20253    builtin and then its argument prototype would still apply.  */
20254 #ifdef __cplusplus
20255 extern "C"
20256 #endif
20257 char llroundf ();
20258 int
20259 main ()
20260 {
20261 return llroundf ();
20262   ;
20263   return 0;
20264 }
20265 _ACEOF
20266 if ac_fn_c_try_link "$LINENO"; then :
20267   ac_cv_lib_m_llroundf=yes
20268 else
20269   ac_cv_lib_m_llroundf=no
20270 fi
20271 rm -f core conftest.err conftest.$ac_objext \
20272     conftest$ac_exeext conftest.$ac_ext
20273 LIBS=$ac_check_lib_save_LIBS
20274 fi
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20276 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20277 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20278
20279 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20280
20281 fi
20282
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20284 $as_echo_n "checking for llround in -lm... " >&6; }
20285 if test "${ac_cv_lib_m_llround+set}" = set; then :
20286   $as_echo_n "(cached) " >&6
20287 else
20288   ac_check_lib_save_LIBS=$LIBS
20289 LIBS="-lm  $LIBS"
20290 if test x$gcc_no_link = xyes; then
20291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20292 fi
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h.  */
20295
20296 /* Override any GCC internal prototype to avoid an error.
20297    Use char because int might match the return type of a GCC
20298    builtin and then its argument prototype would still apply.  */
20299 #ifdef __cplusplus
20300 extern "C"
20301 #endif
20302 char llround ();
20303 int
20304 main ()
20305 {
20306 return llround ();
20307   ;
20308   return 0;
20309 }
20310 _ACEOF
20311 if ac_fn_c_try_link "$LINENO"; then :
20312   ac_cv_lib_m_llround=yes
20313 else
20314   ac_cv_lib_m_llround=no
20315 fi
20316 rm -f core conftest.err conftest.$ac_objext \
20317     conftest$ac_exeext conftest.$ac_ext
20318 LIBS=$ac_check_lib_save_LIBS
20319 fi
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20321 $as_echo "$ac_cv_lib_m_llround" >&6; }
20322 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20323
20324 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20325
20326 fi
20327
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20329 $as_echo_n "checking for llroundl in -lm... " >&6; }
20330 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20331   $as_echo_n "(cached) " >&6
20332 else
20333   ac_check_lib_save_LIBS=$LIBS
20334 LIBS="-lm  $LIBS"
20335 if test x$gcc_no_link = xyes; then
20336   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20337 fi
20338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h.  */
20340
20341 /* Override any GCC internal prototype to avoid an error.
20342    Use char because int might match the return type of a GCC
20343    builtin and then its argument prototype would still apply.  */
20344 #ifdef __cplusplus
20345 extern "C"
20346 #endif
20347 char llroundl ();
20348 int
20349 main ()
20350 {
20351 return llroundl ();
20352   ;
20353   return 0;
20354 }
20355 _ACEOF
20356 if ac_fn_c_try_link "$LINENO"; then :
20357   ac_cv_lib_m_llroundl=yes
20358 else
20359   ac_cv_lib_m_llroundl=no
20360 fi
20361 rm -f core conftest.err conftest.$ac_objext \
20362     conftest$ac_exeext conftest.$ac_ext
20363 LIBS=$ac_check_lib_save_LIBS
20364 fi
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20366 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20367 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20368
20369 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20370
20371 fi
20372
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20374 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20375 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20376   $as_echo_n "(cached) " >&6
20377 else
20378   ac_check_lib_save_LIBS=$LIBS
20379 LIBS="-lm  $LIBS"
20380 if test x$gcc_no_link = xyes; then
20381   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20382 fi
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h.  */
20385
20386 /* Override any GCC internal prototype to avoid an error.
20387    Use char because int might match the return type of a GCC
20388    builtin and then its argument prototype would still apply.  */
20389 #ifdef __cplusplus
20390 extern "C"
20391 #endif
20392 char scalbnf ();
20393 int
20394 main ()
20395 {
20396 return scalbnf ();
20397   ;
20398   return 0;
20399 }
20400 _ACEOF
20401 if ac_fn_c_try_link "$LINENO"; then :
20402   ac_cv_lib_m_scalbnf=yes
20403 else
20404   ac_cv_lib_m_scalbnf=no
20405 fi
20406 rm -f core conftest.err conftest.$ac_objext \
20407     conftest$ac_exeext conftest.$ac_ext
20408 LIBS=$ac_check_lib_save_LIBS
20409 fi
20410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20411 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20412 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20413
20414 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20415
20416 fi
20417
20418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20419 $as_echo_n "checking for scalbn in -lm... " >&6; }
20420 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20421   $as_echo_n "(cached) " >&6
20422 else
20423   ac_check_lib_save_LIBS=$LIBS
20424 LIBS="-lm  $LIBS"
20425 if test x$gcc_no_link = xyes; then
20426   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20427 fi
20428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h.  */
20430
20431 /* Override any GCC internal prototype to avoid an error.
20432    Use char because int might match the return type of a GCC
20433    builtin and then its argument prototype would still apply.  */
20434 #ifdef __cplusplus
20435 extern "C"
20436 #endif
20437 char scalbn ();
20438 int
20439 main ()
20440 {
20441 return scalbn ();
20442   ;
20443   return 0;
20444 }
20445 _ACEOF
20446 if ac_fn_c_try_link "$LINENO"; then :
20447   ac_cv_lib_m_scalbn=yes
20448 else
20449   ac_cv_lib_m_scalbn=no
20450 fi
20451 rm -f core conftest.err conftest.$ac_objext \
20452     conftest$ac_exeext conftest.$ac_ext
20453 LIBS=$ac_check_lib_save_LIBS
20454 fi
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20456 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20457 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20458
20459 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20460
20461 fi
20462
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20464 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20465 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20466   $as_echo_n "(cached) " >&6
20467 else
20468   ac_check_lib_save_LIBS=$LIBS
20469 LIBS="-lm  $LIBS"
20470 if test x$gcc_no_link = xyes; then
20471   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20472 fi
20473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20474 /* end confdefs.h.  */
20475
20476 /* Override any GCC internal prototype to avoid an error.
20477    Use char because int might match the return type of a GCC
20478    builtin and then its argument prototype would still apply.  */
20479 #ifdef __cplusplus
20480 extern "C"
20481 #endif
20482 char scalbnl ();
20483 int
20484 main ()
20485 {
20486 return scalbnl ();
20487   ;
20488   return 0;
20489 }
20490 _ACEOF
20491 if ac_fn_c_try_link "$LINENO"; then :
20492   ac_cv_lib_m_scalbnl=yes
20493 else
20494   ac_cv_lib_m_scalbnl=no
20495 fi
20496 rm -f core conftest.err conftest.$ac_objext \
20497     conftest$ac_exeext conftest.$ac_ext
20498 LIBS=$ac_check_lib_save_LIBS
20499 fi
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20501 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20502 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20503
20504 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20505
20506 fi
20507
20508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20509 $as_echo_n "checking for sinf in -lm... " >&6; }
20510 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20511   $as_echo_n "(cached) " >&6
20512 else
20513   ac_check_lib_save_LIBS=$LIBS
20514 LIBS="-lm  $LIBS"
20515 if test x$gcc_no_link = xyes; then
20516   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20517 fi
20518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20519 /* end confdefs.h.  */
20520
20521 /* Override any GCC internal prototype to avoid an error.
20522    Use char because int might match the return type of a GCC
20523    builtin and then its argument prototype would still apply.  */
20524 #ifdef __cplusplus
20525 extern "C"
20526 #endif
20527 char sinf ();
20528 int
20529 main ()
20530 {
20531 return sinf ();
20532   ;
20533   return 0;
20534 }
20535 _ACEOF
20536 if ac_fn_c_try_link "$LINENO"; then :
20537   ac_cv_lib_m_sinf=yes
20538 else
20539   ac_cv_lib_m_sinf=no
20540 fi
20541 rm -f core conftest.err conftest.$ac_objext \
20542     conftest$ac_exeext conftest.$ac_ext
20543 LIBS=$ac_check_lib_save_LIBS
20544 fi
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20546 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20547 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20548
20549 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20550
20551 fi
20552
20553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20554 $as_echo_n "checking for sin in -lm... " >&6; }
20555 if test "${ac_cv_lib_m_sin+set}" = set; then :
20556   $as_echo_n "(cached) " >&6
20557 else
20558   ac_check_lib_save_LIBS=$LIBS
20559 LIBS="-lm  $LIBS"
20560 if test x$gcc_no_link = xyes; then
20561   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20562 fi
20563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20564 /* end confdefs.h.  */
20565
20566 /* Override any GCC internal prototype to avoid an error.
20567    Use char because int might match the return type of a GCC
20568    builtin and then its argument prototype would still apply.  */
20569 #ifdef __cplusplus
20570 extern "C"
20571 #endif
20572 char sin ();
20573 int
20574 main ()
20575 {
20576 return sin ();
20577   ;
20578   return 0;
20579 }
20580 _ACEOF
20581 if ac_fn_c_try_link "$LINENO"; then :
20582   ac_cv_lib_m_sin=yes
20583 else
20584   ac_cv_lib_m_sin=no
20585 fi
20586 rm -f core conftest.err conftest.$ac_objext \
20587     conftest$ac_exeext conftest.$ac_ext
20588 LIBS=$ac_check_lib_save_LIBS
20589 fi
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20591 $as_echo "$ac_cv_lib_m_sin" >&6; }
20592 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20593
20594 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20595
20596 fi
20597
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20599 $as_echo_n "checking for sinl in -lm... " >&6; }
20600 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20601   $as_echo_n "(cached) " >&6
20602 else
20603   ac_check_lib_save_LIBS=$LIBS
20604 LIBS="-lm  $LIBS"
20605 if test x$gcc_no_link = xyes; then
20606   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20607 fi
20608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20609 /* end confdefs.h.  */
20610
20611 /* Override any GCC internal prototype to avoid an error.
20612    Use char because int might match the return type of a GCC
20613    builtin and then its argument prototype would still apply.  */
20614 #ifdef __cplusplus
20615 extern "C"
20616 #endif
20617 char sinl ();
20618 int
20619 main ()
20620 {
20621 return sinl ();
20622   ;
20623   return 0;
20624 }
20625 _ACEOF
20626 if ac_fn_c_try_link "$LINENO"; then :
20627   ac_cv_lib_m_sinl=yes
20628 else
20629   ac_cv_lib_m_sinl=no
20630 fi
20631 rm -f core conftest.err conftest.$ac_objext \
20632     conftest$ac_exeext conftest.$ac_ext
20633 LIBS=$ac_check_lib_save_LIBS
20634 fi
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20636 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20637 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20638
20639 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20640
20641 fi
20642
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20644 $as_echo_n "checking for csinf in -lm... " >&6; }
20645 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20646   $as_echo_n "(cached) " >&6
20647 else
20648   ac_check_lib_save_LIBS=$LIBS
20649 LIBS="-lm  $LIBS"
20650 if test x$gcc_no_link = xyes; then
20651   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20652 fi
20653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20654 /* end confdefs.h.  */
20655
20656 /* Override any GCC internal prototype to avoid an error.
20657    Use char because int might match the return type of a GCC
20658    builtin and then its argument prototype would still apply.  */
20659 #ifdef __cplusplus
20660 extern "C"
20661 #endif
20662 char csinf ();
20663 int
20664 main ()
20665 {
20666 return csinf ();
20667   ;
20668   return 0;
20669 }
20670 _ACEOF
20671 if ac_fn_c_try_link "$LINENO"; then :
20672   ac_cv_lib_m_csinf=yes
20673 else
20674   ac_cv_lib_m_csinf=no
20675 fi
20676 rm -f core conftest.err conftest.$ac_objext \
20677     conftest$ac_exeext conftest.$ac_ext
20678 LIBS=$ac_check_lib_save_LIBS
20679 fi
20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20681 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20682 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20683
20684 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20685
20686 fi
20687
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20689 $as_echo_n "checking for csin in -lm... " >&6; }
20690 if test "${ac_cv_lib_m_csin+set}" = set; then :
20691   $as_echo_n "(cached) " >&6
20692 else
20693   ac_check_lib_save_LIBS=$LIBS
20694 LIBS="-lm  $LIBS"
20695 if test x$gcc_no_link = xyes; then
20696   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20697 fi
20698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20699 /* end confdefs.h.  */
20700
20701 /* Override any GCC internal prototype to avoid an error.
20702    Use char because int might match the return type of a GCC
20703    builtin and then its argument prototype would still apply.  */
20704 #ifdef __cplusplus
20705 extern "C"
20706 #endif
20707 char csin ();
20708 int
20709 main ()
20710 {
20711 return csin ();
20712   ;
20713   return 0;
20714 }
20715 _ACEOF
20716 if ac_fn_c_try_link "$LINENO"; then :
20717   ac_cv_lib_m_csin=yes
20718 else
20719   ac_cv_lib_m_csin=no
20720 fi
20721 rm -f core conftest.err conftest.$ac_objext \
20722     conftest$ac_exeext conftest.$ac_ext
20723 LIBS=$ac_check_lib_save_LIBS
20724 fi
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20726 $as_echo "$ac_cv_lib_m_csin" >&6; }
20727 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20728
20729 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20730
20731 fi
20732
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20734 $as_echo_n "checking for csinl in -lm... " >&6; }
20735 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20736   $as_echo_n "(cached) " >&6
20737 else
20738   ac_check_lib_save_LIBS=$LIBS
20739 LIBS="-lm  $LIBS"
20740 if test x$gcc_no_link = xyes; then
20741   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20742 fi
20743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h.  */
20745
20746 /* Override any GCC internal prototype to avoid an error.
20747    Use char because int might match the return type of a GCC
20748    builtin and then its argument prototype would still apply.  */
20749 #ifdef __cplusplus
20750 extern "C"
20751 #endif
20752 char csinl ();
20753 int
20754 main ()
20755 {
20756 return csinl ();
20757   ;
20758   return 0;
20759 }
20760 _ACEOF
20761 if ac_fn_c_try_link "$LINENO"; then :
20762   ac_cv_lib_m_csinl=yes
20763 else
20764   ac_cv_lib_m_csinl=no
20765 fi
20766 rm -f core conftest.err conftest.$ac_objext \
20767     conftest$ac_exeext conftest.$ac_ext
20768 LIBS=$ac_check_lib_save_LIBS
20769 fi
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20771 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20772 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20773
20774 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20775
20776 fi
20777
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20779 $as_echo_n "checking for sinhf in -lm... " >&6; }
20780 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20781   $as_echo_n "(cached) " >&6
20782 else
20783   ac_check_lib_save_LIBS=$LIBS
20784 LIBS="-lm  $LIBS"
20785 if test x$gcc_no_link = xyes; then
20786   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20787 fi
20788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h.  */
20790
20791 /* Override any GCC internal prototype to avoid an error.
20792    Use char because int might match the return type of a GCC
20793    builtin and then its argument prototype would still apply.  */
20794 #ifdef __cplusplus
20795 extern "C"
20796 #endif
20797 char sinhf ();
20798 int
20799 main ()
20800 {
20801 return sinhf ();
20802   ;
20803   return 0;
20804 }
20805 _ACEOF
20806 if ac_fn_c_try_link "$LINENO"; then :
20807   ac_cv_lib_m_sinhf=yes
20808 else
20809   ac_cv_lib_m_sinhf=no
20810 fi
20811 rm -f core conftest.err conftest.$ac_objext \
20812     conftest$ac_exeext conftest.$ac_ext
20813 LIBS=$ac_check_lib_save_LIBS
20814 fi
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20816 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20817 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20818
20819 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20820
20821 fi
20822
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20824 $as_echo_n "checking for sinh in -lm... " >&6; }
20825 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20826   $as_echo_n "(cached) " >&6
20827 else
20828   ac_check_lib_save_LIBS=$LIBS
20829 LIBS="-lm  $LIBS"
20830 if test x$gcc_no_link = xyes; then
20831   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20832 fi
20833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h.  */
20835
20836 /* Override any GCC internal prototype to avoid an error.
20837    Use char because int might match the return type of a GCC
20838    builtin and then its argument prototype would still apply.  */
20839 #ifdef __cplusplus
20840 extern "C"
20841 #endif
20842 char sinh ();
20843 int
20844 main ()
20845 {
20846 return sinh ();
20847   ;
20848   return 0;
20849 }
20850 _ACEOF
20851 if ac_fn_c_try_link "$LINENO"; then :
20852   ac_cv_lib_m_sinh=yes
20853 else
20854   ac_cv_lib_m_sinh=no
20855 fi
20856 rm -f core conftest.err conftest.$ac_objext \
20857     conftest$ac_exeext conftest.$ac_ext
20858 LIBS=$ac_check_lib_save_LIBS
20859 fi
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20861 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20862 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20863
20864 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20865
20866 fi
20867
20868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20869 $as_echo_n "checking for sinhl in -lm... " >&6; }
20870 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20871   $as_echo_n "(cached) " >&6
20872 else
20873   ac_check_lib_save_LIBS=$LIBS
20874 LIBS="-lm  $LIBS"
20875 if test x$gcc_no_link = xyes; then
20876   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20877 fi
20878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20879 /* end confdefs.h.  */
20880
20881 /* Override any GCC internal prototype to avoid an error.
20882    Use char because int might match the return type of a GCC
20883    builtin and then its argument prototype would still apply.  */
20884 #ifdef __cplusplus
20885 extern "C"
20886 #endif
20887 char sinhl ();
20888 int
20889 main ()
20890 {
20891 return sinhl ();
20892   ;
20893   return 0;
20894 }
20895 _ACEOF
20896 if ac_fn_c_try_link "$LINENO"; then :
20897   ac_cv_lib_m_sinhl=yes
20898 else
20899   ac_cv_lib_m_sinhl=no
20900 fi
20901 rm -f core conftest.err conftest.$ac_objext \
20902     conftest$ac_exeext conftest.$ac_ext
20903 LIBS=$ac_check_lib_save_LIBS
20904 fi
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20906 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20907 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20908
20909 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20910
20911 fi
20912
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20914 $as_echo_n "checking for csinhf in -lm... " >&6; }
20915 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20916   $as_echo_n "(cached) " >&6
20917 else
20918   ac_check_lib_save_LIBS=$LIBS
20919 LIBS="-lm  $LIBS"
20920 if test x$gcc_no_link = xyes; then
20921   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20922 fi
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h.  */
20925
20926 /* Override any GCC internal prototype to avoid an error.
20927    Use char because int might match the return type of a GCC
20928    builtin and then its argument prototype would still apply.  */
20929 #ifdef __cplusplus
20930 extern "C"
20931 #endif
20932 char csinhf ();
20933 int
20934 main ()
20935 {
20936 return csinhf ();
20937   ;
20938   return 0;
20939 }
20940 _ACEOF
20941 if ac_fn_c_try_link "$LINENO"; then :
20942   ac_cv_lib_m_csinhf=yes
20943 else
20944   ac_cv_lib_m_csinhf=no
20945 fi
20946 rm -f core conftest.err conftest.$ac_objext \
20947     conftest$ac_exeext conftest.$ac_ext
20948 LIBS=$ac_check_lib_save_LIBS
20949 fi
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20951 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20952 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20953
20954 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20955
20956 fi
20957
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20959 $as_echo_n "checking for csinh in -lm... " >&6; }
20960 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20961   $as_echo_n "(cached) " >&6
20962 else
20963   ac_check_lib_save_LIBS=$LIBS
20964 LIBS="-lm  $LIBS"
20965 if test x$gcc_no_link = xyes; then
20966   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20967 fi
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h.  */
20970
20971 /* Override any GCC internal prototype to avoid an error.
20972    Use char because int might match the return type of a GCC
20973    builtin and then its argument prototype would still apply.  */
20974 #ifdef __cplusplus
20975 extern "C"
20976 #endif
20977 char csinh ();
20978 int
20979 main ()
20980 {
20981 return csinh ();
20982   ;
20983   return 0;
20984 }
20985 _ACEOF
20986 if ac_fn_c_try_link "$LINENO"; then :
20987   ac_cv_lib_m_csinh=yes
20988 else
20989   ac_cv_lib_m_csinh=no
20990 fi
20991 rm -f core conftest.err conftest.$ac_objext \
20992     conftest$ac_exeext conftest.$ac_ext
20993 LIBS=$ac_check_lib_save_LIBS
20994 fi
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20996 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20997 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20998
20999 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21000
21001 fi
21002
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21004 $as_echo_n "checking for csinhl in -lm... " >&6; }
21005 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21006   $as_echo_n "(cached) " >&6
21007 else
21008   ac_check_lib_save_LIBS=$LIBS
21009 LIBS="-lm  $LIBS"
21010 if test x$gcc_no_link = xyes; then
21011   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21012 fi
21013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21014 /* end confdefs.h.  */
21015
21016 /* Override any GCC internal prototype to avoid an error.
21017    Use char because int might match the return type of a GCC
21018    builtin and then its argument prototype would still apply.  */
21019 #ifdef __cplusplus
21020 extern "C"
21021 #endif
21022 char csinhl ();
21023 int
21024 main ()
21025 {
21026 return csinhl ();
21027   ;
21028   return 0;
21029 }
21030 _ACEOF
21031 if ac_fn_c_try_link "$LINENO"; then :
21032   ac_cv_lib_m_csinhl=yes
21033 else
21034   ac_cv_lib_m_csinhl=no
21035 fi
21036 rm -f core conftest.err conftest.$ac_objext \
21037     conftest$ac_exeext conftest.$ac_ext
21038 LIBS=$ac_check_lib_save_LIBS
21039 fi
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21041 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21042 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21043
21044 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21045
21046 fi
21047
21048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21049 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21050 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21051   $as_echo_n "(cached) " >&6
21052 else
21053   ac_check_lib_save_LIBS=$LIBS
21054 LIBS="-lm  $LIBS"
21055 if test x$gcc_no_link = xyes; then
21056   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21057 fi
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h.  */
21060
21061 /* Override any GCC internal prototype to avoid an error.
21062    Use char because int might match the return type of a GCC
21063    builtin and then its argument prototype would still apply.  */
21064 #ifdef __cplusplus
21065 extern "C"
21066 #endif
21067 char sqrtf ();
21068 int
21069 main ()
21070 {
21071 return sqrtf ();
21072   ;
21073   return 0;
21074 }
21075 _ACEOF
21076 if ac_fn_c_try_link "$LINENO"; then :
21077   ac_cv_lib_m_sqrtf=yes
21078 else
21079   ac_cv_lib_m_sqrtf=no
21080 fi
21081 rm -f core conftest.err conftest.$ac_objext \
21082     conftest$ac_exeext conftest.$ac_ext
21083 LIBS=$ac_check_lib_save_LIBS
21084 fi
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21086 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21087 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21088
21089 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21090
21091 fi
21092
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21094 $as_echo_n "checking for sqrt in -lm... " >&6; }
21095 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21096   $as_echo_n "(cached) " >&6
21097 else
21098   ac_check_lib_save_LIBS=$LIBS
21099 LIBS="-lm  $LIBS"
21100 if test x$gcc_no_link = xyes; then
21101   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21102 fi
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h.  */
21105
21106 /* Override any GCC internal prototype to avoid an error.
21107    Use char because int might match the return type of a GCC
21108    builtin and then its argument prototype would still apply.  */
21109 #ifdef __cplusplus
21110 extern "C"
21111 #endif
21112 char sqrt ();
21113 int
21114 main ()
21115 {
21116 return sqrt ();
21117   ;
21118   return 0;
21119 }
21120 _ACEOF
21121 if ac_fn_c_try_link "$LINENO"; then :
21122   ac_cv_lib_m_sqrt=yes
21123 else
21124   ac_cv_lib_m_sqrt=no
21125 fi
21126 rm -f core conftest.err conftest.$ac_objext \
21127     conftest$ac_exeext conftest.$ac_ext
21128 LIBS=$ac_check_lib_save_LIBS
21129 fi
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21131 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21132 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21133
21134 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21135
21136 fi
21137
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21139 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21140 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21141   $as_echo_n "(cached) " >&6
21142 else
21143   ac_check_lib_save_LIBS=$LIBS
21144 LIBS="-lm  $LIBS"
21145 if test x$gcc_no_link = xyes; then
21146   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21147 fi
21148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h.  */
21150
21151 /* Override any GCC internal prototype to avoid an error.
21152    Use char because int might match the return type of a GCC
21153    builtin and then its argument prototype would still apply.  */
21154 #ifdef __cplusplus
21155 extern "C"
21156 #endif
21157 char sqrtl ();
21158 int
21159 main ()
21160 {
21161 return sqrtl ();
21162   ;
21163   return 0;
21164 }
21165 _ACEOF
21166 if ac_fn_c_try_link "$LINENO"; then :
21167   ac_cv_lib_m_sqrtl=yes
21168 else
21169   ac_cv_lib_m_sqrtl=no
21170 fi
21171 rm -f core conftest.err conftest.$ac_objext \
21172     conftest$ac_exeext conftest.$ac_ext
21173 LIBS=$ac_check_lib_save_LIBS
21174 fi
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21176 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21177 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21178
21179 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21180
21181 fi
21182
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21184 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21185 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21186   $as_echo_n "(cached) " >&6
21187 else
21188   ac_check_lib_save_LIBS=$LIBS
21189 LIBS="-lm  $LIBS"
21190 if test x$gcc_no_link = xyes; then
21191   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21192 fi
21193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21194 /* end confdefs.h.  */
21195
21196 /* Override any GCC internal prototype to avoid an error.
21197    Use char because int might match the return type of a GCC
21198    builtin and then its argument prototype would still apply.  */
21199 #ifdef __cplusplus
21200 extern "C"
21201 #endif
21202 char csqrtf ();
21203 int
21204 main ()
21205 {
21206 return csqrtf ();
21207   ;
21208   return 0;
21209 }
21210 _ACEOF
21211 if ac_fn_c_try_link "$LINENO"; then :
21212   ac_cv_lib_m_csqrtf=yes
21213 else
21214   ac_cv_lib_m_csqrtf=no
21215 fi
21216 rm -f core conftest.err conftest.$ac_objext \
21217     conftest$ac_exeext conftest.$ac_ext
21218 LIBS=$ac_check_lib_save_LIBS
21219 fi
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21221 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21222 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21223
21224 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21225
21226 fi
21227
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21229 $as_echo_n "checking for csqrt in -lm... " >&6; }
21230 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21231   $as_echo_n "(cached) " >&6
21232 else
21233   ac_check_lib_save_LIBS=$LIBS
21234 LIBS="-lm  $LIBS"
21235 if test x$gcc_no_link = xyes; then
21236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21237 fi
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h.  */
21240
21241 /* Override any GCC internal prototype to avoid an error.
21242    Use char because int might match the return type of a GCC
21243    builtin and then its argument prototype would still apply.  */
21244 #ifdef __cplusplus
21245 extern "C"
21246 #endif
21247 char csqrt ();
21248 int
21249 main ()
21250 {
21251 return csqrt ();
21252   ;
21253   return 0;
21254 }
21255 _ACEOF
21256 if ac_fn_c_try_link "$LINENO"; then :
21257   ac_cv_lib_m_csqrt=yes
21258 else
21259   ac_cv_lib_m_csqrt=no
21260 fi
21261 rm -f core conftest.err conftest.$ac_objext \
21262     conftest$ac_exeext conftest.$ac_ext
21263 LIBS=$ac_check_lib_save_LIBS
21264 fi
21265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21266 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21267 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21268
21269 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21270
21271 fi
21272
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21274 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21275 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21276   $as_echo_n "(cached) " >&6
21277 else
21278   ac_check_lib_save_LIBS=$LIBS
21279 LIBS="-lm  $LIBS"
21280 if test x$gcc_no_link = xyes; then
21281   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21282 fi
21283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21284 /* end confdefs.h.  */
21285
21286 /* Override any GCC internal prototype to avoid an error.
21287    Use char because int might match the return type of a GCC
21288    builtin and then its argument prototype would still apply.  */
21289 #ifdef __cplusplus
21290 extern "C"
21291 #endif
21292 char csqrtl ();
21293 int
21294 main ()
21295 {
21296 return csqrtl ();
21297   ;
21298   return 0;
21299 }
21300 _ACEOF
21301 if ac_fn_c_try_link "$LINENO"; then :
21302   ac_cv_lib_m_csqrtl=yes
21303 else
21304   ac_cv_lib_m_csqrtl=no
21305 fi
21306 rm -f core conftest.err conftest.$ac_objext \
21307     conftest$ac_exeext conftest.$ac_ext
21308 LIBS=$ac_check_lib_save_LIBS
21309 fi
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21311 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21312 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21313
21314 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21315
21316 fi
21317
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21319 $as_echo_n "checking for tanf in -lm... " >&6; }
21320 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21321   $as_echo_n "(cached) " >&6
21322 else
21323   ac_check_lib_save_LIBS=$LIBS
21324 LIBS="-lm  $LIBS"
21325 if test x$gcc_no_link = xyes; then
21326   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21327 fi
21328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h.  */
21330
21331 /* Override any GCC internal prototype to avoid an error.
21332    Use char because int might match the return type of a GCC
21333    builtin and then its argument prototype would still apply.  */
21334 #ifdef __cplusplus
21335 extern "C"
21336 #endif
21337 char tanf ();
21338 int
21339 main ()
21340 {
21341 return tanf ();
21342   ;
21343   return 0;
21344 }
21345 _ACEOF
21346 if ac_fn_c_try_link "$LINENO"; then :
21347   ac_cv_lib_m_tanf=yes
21348 else
21349   ac_cv_lib_m_tanf=no
21350 fi
21351 rm -f core conftest.err conftest.$ac_objext \
21352     conftest$ac_exeext conftest.$ac_ext
21353 LIBS=$ac_check_lib_save_LIBS
21354 fi
21355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21356 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21357 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21358
21359 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21360
21361 fi
21362
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21364 $as_echo_n "checking for tan in -lm... " >&6; }
21365 if test "${ac_cv_lib_m_tan+set}" = set; then :
21366   $as_echo_n "(cached) " >&6
21367 else
21368   ac_check_lib_save_LIBS=$LIBS
21369 LIBS="-lm  $LIBS"
21370 if test x$gcc_no_link = xyes; then
21371   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21372 fi
21373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21374 /* end confdefs.h.  */
21375
21376 /* Override any GCC internal prototype to avoid an error.
21377    Use char because int might match the return type of a GCC
21378    builtin and then its argument prototype would still apply.  */
21379 #ifdef __cplusplus
21380 extern "C"
21381 #endif
21382 char tan ();
21383 int
21384 main ()
21385 {
21386 return tan ();
21387   ;
21388   return 0;
21389 }
21390 _ACEOF
21391 if ac_fn_c_try_link "$LINENO"; then :
21392   ac_cv_lib_m_tan=yes
21393 else
21394   ac_cv_lib_m_tan=no
21395 fi
21396 rm -f core conftest.err conftest.$ac_objext \
21397     conftest$ac_exeext conftest.$ac_ext
21398 LIBS=$ac_check_lib_save_LIBS
21399 fi
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21401 $as_echo "$ac_cv_lib_m_tan" >&6; }
21402 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21403
21404 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21405
21406 fi
21407
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21409 $as_echo_n "checking for tanl in -lm... " >&6; }
21410 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21411   $as_echo_n "(cached) " >&6
21412 else
21413   ac_check_lib_save_LIBS=$LIBS
21414 LIBS="-lm  $LIBS"
21415 if test x$gcc_no_link = xyes; then
21416   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21417 fi
21418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21419 /* end confdefs.h.  */
21420
21421 /* Override any GCC internal prototype to avoid an error.
21422    Use char because int might match the return type of a GCC
21423    builtin and then its argument prototype would still apply.  */
21424 #ifdef __cplusplus
21425 extern "C"
21426 #endif
21427 char tanl ();
21428 int
21429 main ()
21430 {
21431 return tanl ();
21432   ;
21433   return 0;
21434 }
21435 _ACEOF
21436 if ac_fn_c_try_link "$LINENO"; then :
21437   ac_cv_lib_m_tanl=yes
21438 else
21439   ac_cv_lib_m_tanl=no
21440 fi
21441 rm -f core conftest.err conftest.$ac_objext \
21442     conftest$ac_exeext conftest.$ac_ext
21443 LIBS=$ac_check_lib_save_LIBS
21444 fi
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21446 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21447 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21448
21449 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21450
21451 fi
21452
21453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21454 $as_echo_n "checking for ctanf in -lm... " >&6; }
21455 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21456   $as_echo_n "(cached) " >&6
21457 else
21458   ac_check_lib_save_LIBS=$LIBS
21459 LIBS="-lm  $LIBS"
21460 if test x$gcc_no_link = xyes; then
21461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21462 fi
21463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21464 /* end confdefs.h.  */
21465
21466 /* Override any GCC internal prototype to avoid an error.
21467    Use char because int might match the return type of a GCC
21468    builtin and then its argument prototype would still apply.  */
21469 #ifdef __cplusplus
21470 extern "C"
21471 #endif
21472 char ctanf ();
21473 int
21474 main ()
21475 {
21476 return ctanf ();
21477   ;
21478   return 0;
21479 }
21480 _ACEOF
21481 if ac_fn_c_try_link "$LINENO"; then :
21482   ac_cv_lib_m_ctanf=yes
21483 else
21484   ac_cv_lib_m_ctanf=no
21485 fi
21486 rm -f core conftest.err conftest.$ac_objext \
21487     conftest$ac_exeext conftest.$ac_ext
21488 LIBS=$ac_check_lib_save_LIBS
21489 fi
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21491 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21492 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21493
21494 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21495
21496 fi
21497
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21499 $as_echo_n "checking for ctan in -lm... " >&6; }
21500 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21501   $as_echo_n "(cached) " >&6
21502 else
21503   ac_check_lib_save_LIBS=$LIBS
21504 LIBS="-lm  $LIBS"
21505 if test x$gcc_no_link = xyes; then
21506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21507 fi
21508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21509 /* end confdefs.h.  */
21510
21511 /* Override any GCC internal prototype to avoid an error.
21512    Use char because int might match the return type of a GCC
21513    builtin and then its argument prototype would still apply.  */
21514 #ifdef __cplusplus
21515 extern "C"
21516 #endif
21517 char ctan ();
21518 int
21519 main ()
21520 {
21521 return ctan ();
21522   ;
21523   return 0;
21524 }
21525 _ACEOF
21526 if ac_fn_c_try_link "$LINENO"; then :
21527   ac_cv_lib_m_ctan=yes
21528 else
21529   ac_cv_lib_m_ctan=no
21530 fi
21531 rm -f core conftest.err conftest.$ac_objext \
21532     conftest$ac_exeext conftest.$ac_ext
21533 LIBS=$ac_check_lib_save_LIBS
21534 fi
21535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21536 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21537 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21538
21539 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21540
21541 fi
21542
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21544 $as_echo_n "checking for ctanl in -lm... " >&6; }
21545 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21546   $as_echo_n "(cached) " >&6
21547 else
21548   ac_check_lib_save_LIBS=$LIBS
21549 LIBS="-lm  $LIBS"
21550 if test x$gcc_no_link = xyes; then
21551   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21552 fi
21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h.  */
21555
21556 /* Override any GCC internal prototype to avoid an error.
21557    Use char because int might match the return type of a GCC
21558    builtin and then its argument prototype would still apply.  */
21559 #ifdef __cplusplus
21560 extern "C"
21561 #endif
21562 char ctanl ();
21563 int
21564 main ()
21565 {
21566 return ctanl ();
21567   ;
21568   return 0;
21569 }
21570 _ACEOF
21571 if ac_fn_c_try_link "$LINENO"; then :
21572   ac_cv_lib_m_ctanl=yes
21573 else
21574   ac_cv_lib_m_ctanl=no
21575 fi
21576 rm -f core conftest.err conftest.$ac_objext \
21577     conftest$ac_exeext conftest.$ac_ext
21578 LIBS=$ac_check_lib_save_LIBS
21579 fi
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21581 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21582 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21583
21584 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21585
21586 fi
21587
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21589 $as_echo_n "checking for tanhf in -lm... " >&6; }
21590 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21591   $as_echo_n "(cached) " >&6
21592 else
21593   ac_check_lib_save_LIBS=$LIBS
21594 LIBS="-lm  $LIBS"
21595 if test x$gcc_no_link = xyes; then
21596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21597 fi
21598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h.  */
21600
21601 /* Override any GCC internal prototype to avoid an error.
21602    Use char because int might match the return type of a GCC
21603    builtin and then its argument prototype would still apply.  */
21604 #ifdef __cplusplus
21605 extern "C"
21606 #endif
21607 char tanhf ();
21608 int
21609 main ()
21610 {
21611 return tanhf ();
21612   ;
21613   return 0;
21614 }
21615 _ACEOF
21616 if ac_fn_c_try_link "$LINENO"; then :
21617   ac_cv_lib_m_tanhf=yes
21618 else
21619   ac_cv_lib_m_tanhf=no
21620 fi
21621 rm -f core conftest.err conftest.$ac_objext \
21622     conftest$ac_exeext conftest.$ac_ext
21623 LIBS=$ac_check_lib_save_LIBS
21624 fi
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21626 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21627 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21628
21629 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21630
21631 fi
21632
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21634 $as_echo_n "checking for tanh in -lm... " >&6; }
21635 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21636   $as_echo_n "(cached) " >&6
21637 else
21638   ac_check_lib_save_LIBS=$LIBS
21639 LIBS="-lm  $LIBS"
21640 if test x$gcc_no_link = xyes; then
21641   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21642 fi
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h.  */
21645
21646 /* Override any GCC internal prototype to avoid an error.
21647    Use char because int might match the return type of a GCC
21648    builtin and then its argument prototype would still apply.  */
21649 #ifdef __cplusplus
21650 extern "C"
21651 #endif
21652 char tanh ();
21653 int
21654 main ()
21655 {
21656 return tanh ();
21657   ;
21658   return 0;
21659 }
21660 _ACEOF
21661 if ac_fn_c_try_link "$LINENO"; then :
21662   ac_cv_lib_m_tanh=yes
21663 else
21664   ac_cv_lib_m_tanh=no
21665 fi
21666 rm -f core conftest.err conftest.$ac_objext \
21667     conftest$ac_exeext conftest.$ac_ext
21668 LIBS=$ac_check_lib_save_LIBS
21669 fi
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21671 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21672 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21673
21674 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21675
21676 fi
21677
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21679 $as_echo_n "checking for tanhl in -lm... " >&6; }
21680 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21681   $as_echo_n "(cached) " >&6
21682 else
21683   ac_check_lib_save_LIBS=$LIBS
21684 LIBS="-lm  $LIBS"
21685 if test x$gcc_no_link = xyes; then
21686   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21687 fi
21688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21689 /* end confdefs.h.  */
21690
21691 /* Override any GCC internal prototype to avoid an error.
21692    Use char because int might match the return type of a GCC
21693    builtin and then its argument prototype would still apply.  */
21694 #ifdef __cplusplus
21695 extern "C"
21696 #endif
21697 char tanhl ();
21698 int
21699 main ()
21700 {
21701 return tanhl ();
21702   ;
21703   return 0;
21704 }
21705 _ACEOF
21706 if ac_fn_c_try_link "$LINENO"; then :
21707   ac_cv_lib_m_tanhl=yes
21708 else
21709   ac_cv_lib_m_tanhl=no
21710 fi
21711 rm -f core conftest.err conftest.$ac_objext \
21712     conftest$ac_exeext conftest.$ac_ext
21713 LIBS=$ac_check_lib_save_LIBS
21714 fi
21715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21716 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21717 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21718
21719 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21720
21721 fi
21722
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21724 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21725 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21726   $as_echo_n "(cached) " >&6
21727 else
21728   ac_check_lib_save_LIBS=$LIBS
21729 LIBS="-lm  $LIBS"
21730 if test x$gcc_no_link = xyes; then
21731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21732 fi
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h.  */
21735
21736 /* Override any GCC internal prototype to avoid an error.
21737    Use char because int might match the return type of a GCC
21738    builtin and then its argument prototype would still apply.  */
21739 #ifdef __cplusplus
21740 extern "C"
21741 #endif
21742 char ctanhf ();
21743 int
21744 main ()
21745 {
21746 return ctanhf ();
21747   ;
21748   return 0;
21749 }
21750 _ACEOF
21751 if ac_fn_c_try_link "$LINENO"; then :
21752   ac_cv_lib_m_ctanhf=yes
21753 else
21754   ac_cv_lib_m_ctanhf=no
21755 fi
21756 rm -f core conftest.err conftest.$ac_objext \
21757     conftest$ac_exeext conftest.$ac_ext
21758 LIBS=$ac_check_lib_save_LIBS
21759 fi
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21761 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21762 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21763
21764 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21765
21766 fi
21767
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21769 $as_echo_n "checking for ctanh in -lm... " >&6; }
21770 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21771   $as_echo_n "(cached) " >&6
21772 else
21773   ac_check_lib_save_LIBS=$LIBS
21774 LIBS="-lm  $LIBS"
21775 if test x$gcc_no_link = xyes; then
21776   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21777 fi
21778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h.  */
21780
21781 /* Override any GCC internal prototype to avoid an error.
21782    Use char because int might match the return type of a GCC
21783    builtin and then its argument prototype would still apply.  */
21784 #ifdef __cplusplus
21785 extern "C"
21786 #endif
21787 char ctanh ();
21788 int
21789 main ()
21790 {
21791 return ctanh ();
21792   ;
21793   return 0;
21794 }
21795 _ACEOF
21796 if ac_fn_c_try_link "$LINENO"; then :
21797   ac_cv_lib_m_ctanh=yes
21798 else
21799   ac_cv_lib_m_ctanh=no
21800 fi
21801 rm -f core conftest.err conftest.$ac_objext \
21802     conftest$ac_exeext conftest.$ac_ext
21803 LIBS=$ac_check_lib_save_LIBS
21804 fi
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21806 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21807 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21808
21809 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21810
21811 fi
21812
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21814 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21815 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21816   $as_echo_n "(cached) " >&6
21817 else
21818   ac_check_lib_save_LIBS=$LIBS
21819 LIBS="-lm  $LIBS"
21820 if test x$gcc_no_link = xyes; then
21821   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21822 fi
21823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h.  */
21825
21826 /* Override any GCC internal prototype to avoid an error.
21827    Use char because int might match the return type of a GCC
21828    builtin and then its argument prototype would still apply.  */
21829 #ifdef __cplusplus
21830 extern "C"
21831 #endif
21832 char ctanhl ();
21833 int
21834 main ()
21835 {
21836 return ctanhl ();
21837   ;
21838   return 0;
21839 }
21840 _ACEOF
21841 if ac_fn_c_try_link "$LINENO"; then :
21842   ac_cv_lib_m_ctanhl=yes
21843 else
21844   ac_cv_lib_m_ctanhl=no
21845 fi
21846 rm -f core conftest.err conftest.$ac_objext \
21847     conftest$ac_exeext conftest.$ac_ext
21848 LIBS=$ac_check_lib_save_LIBS
21849 fi
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21851 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21852 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21853
21854 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21855
21856 fi
21857
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21859 $as_echo_n "checking for truncf in -lm... " >&6; }
21860 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21861   $as_echo_n "(cached) " >&6
21862 else
21863   ac_check_lib_save_LIBS=$LIBS
21864 LIBS="-lm  $LIBS"
21865 if test x$gcc_no_link = xyes; then
21866   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21867 fi
21868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h.  */
21870
21871 /* Override any GCC internal prototype to avoid an error.
21872    Use char because int might match the return type of a GCC
21873    builtin and then its argument prototype would still apply.  */
21874 #ifdef __cplusplus
21875 extern "C"
21876 #endif
21877 char truncf ();
21878 int
21879 main ()
21880 {
21881 return truncf ();
21882   ;
21883   return 0;
21884 }
21885 _ACEOF
21886 if ac_fn_c_try_link "$LINENO"; then :
21887   ac_cv_lib_m_truncf=yes
21888 else
21889   ac_cv_lib_m_truncf=no
21890 fi
21891 rm -f core conftest.err conftest.$ac_objext \
21892     conftest$ac_exeext conftest.$ac_ext
21893 LIBS=$ac_check_lib_save_LIBS
21894 fi
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21896 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21897 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21898
21899 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21900
21901 fi
21902
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21904 $as_echo_n "checking for trunc in -lm... " >&6; }
21905 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21906   $as_echo_n "(cached) " >&6
21907 else
21908   ac_check_lib_save_LIBS=$LIBS
21909 LIBS="-lm  $LIBS"
21910 if test x$gcc_no_link = xyes; then
21911   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21912 fi
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h.  */
21915
21916 /* Override any GCC internal prototype to avoid an error.
21917    Use char because int might match the return type of a GCC
21918    builtin and then its argument prototype would still apply.  */
21919 #ifdef __cplusplus
21920 extern "C"
21921 #endif
21922 char trunc ();
21923 int
21924 main ()
21925 {
21926 return trunc ();
21927   ;
21928   return 0;
21929 }
21930 _ACEOF
21931 if ac_fn_c_try_link "$LINENO"; then :
21932   ac_cv_lib_m_trunc=yes
21933 else
21934   ac_cv_lib_m_trunc=no
21935 fi
21936 rm -f core conftest.err conftest.$ac_objext \
21937     conftest$ac_exeext conftest.$ac_ext
21938 LIBS=$ac_check_lib_save_LIBS
21939 fi
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21941 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21942 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21943
21944 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21945
21946 fi
21947
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21949 $as_echo_n "checking for truncl in -lm... " >&6; }
21950 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21951   $as_echo_n "(cached) " >&6
21952 else
21953   ac_check_lib_save_LIBS=$LIBS
21954 LIBS="-lm  $LIBS"
21955 if test x$gcc_no_link = xyes; then
21956   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21957 fi
21958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21959 /* end confdefs.h.  */
21960
21961 /* Override any GCC internal prototype to avoid an error.
21962    Use char because int might match the return type of a GCC
21963    builtin and then its argument prototype would still apply.  */
21964 #ifdef __cplusplus
21965 extern "C"
21966 #endif
21967 char truncl ();
21968 int
21969 main ()
21970 {
21971 return truncl ();
21972   ;
21973   return 0;
21974 }
21975 _ACEOF
21976 if ac_fn_c_try_link "$LINENO"; then :
21977   ac_cv_lib_m_truncl=yes
21978 else
21979   ac_cv_lib_m_truncl=no
21980 fi
21981 rm -f core conftest.err conftest.$ac_objext \
21982     conftest$ac_exeext conftest.$ac_ext
21983 LIBS=$ac_check_lib_save_LIBS
21984 fi
21985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21986 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21987 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21988
21989 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21990
21991 fi
21992
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21994 $as_echo_n "checking for erff in -lm... " >&6; }
21995 if test "${ac_cv_lib_m_erff+set}" = set; then :
21996   $as_echo_n "(cached) " >&6
21997 else
21998   ac_check_lib_save_LIBS=$LIBS
21999 LIBS="-lm  $LIBS"
22000 if test x$gcc_no_link = xyes; then
22001   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22002 fi
22003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22004 /* end confdefs.h.  */
22005
22006 /* Override any GCC internal prototype to avoid an error.
22007    Use char because int might match the return type of a GCC
22008    builtin and then its argument prototype would still apply.  */
22009 #ifdef __cplusplus
22010 extern "C"
22011 #endif
22012 char erff ();
22013 int
22014 main ()
22015 {
22016 return erff ();
22017   ;
22018   return 0;
22019 }
22020 _ACEOF
22021 if ac_fn_c_try_link "$LINENO"; then :
22022   ac_cv_lib_m_erff=yes
22023 else
22024   ac_cv_lib_m_erff=no
22025 fi
22026 rm -f core conftest.err conftest.$ac_objext \
22027     conftest$ac_exeext conftest.$ac_ext
22028 LIBS=$ac_check_lib_save_LIBS
22029 fi
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22031 $as_echo "$ac_cv_lib_m_erff" >&6; }
22032 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22033
22034 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22035
22036 fi
22037
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22039 $as_echo_n "checking for erf in -lm... " >&6; }
22040 if test "${ac_cv_lib_m_erf+set}" = set; then :
22041   $as_echo_n "(cached) " >&6
22042 else
22043   ac_check_lib_save_LIBS=$LIBS
22044 LIBS="-lm  $LIBS"
22045 if test x$gcc_no_link = xyes; then
22046   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22047 fi
22048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22049 /* end confdefs.h.  */
22050
22051 /* Override any GCC internal prototype to avoid an error.
22052    Use char because int might match the return type of a GCC
22053    builtin and then its argument prototype would still apply.  */
22054 #ifdef __cplusplus
22055 extern "C"
22056 #endif
22057 char erf ();
22058 int
22059 main ()
22060 {
22061 return erf ();
22062   ;
22063   return 0;
22064 }
22065 _ACEOF
22066 if ac_fn_c_try_link "$LINENO"; then :
22067   ac_cv_lib_m_erf=yes
22068 else
22069   ac_cv_lib_m_erf=no
22070 fi
22071 rm -f core conftest.err conftest.$ac_objext \
22072     conftest$ac_exeext conftest.$ac_ext
22073 LIBS=$ac_check_lib_save_LIBS
22074 fi
22075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22076 $as_echo "$ac_cv_lib_m_erf" >&6; }
22077 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22078
22079 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22080
22081 fi
22082
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22084 $as_echo_n "checking for erfl in -lm... " >&6; }
22085 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22086   $as_echo_n "(cached) " >&6
22087 else
22088   ac_check_lib_save_LIBS=$LIBS
22089 LIBS="-lm  $LIBS"
22090 if test x$gcc_no_link = xyes; then
22091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22092 fi
22093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h.  */
22095
22096 /* Override any GCC internal prototype to avoid an error.
22097    Use char because int might match the return type of a GCC
22098    builtin and then its argument prototype would still apply.  */
22099 #ifdef __cplusplus
22100 extern "C"
22101 #endif
22102 char erfl ();
22103 int
22104 main ()
22105 {
22106 return erfl ();
22107   ;
22108   return 0;
22109 }
22110 _ACEOF
22111 if ac_fn_c_try_link "$LINENO"; then :
22112   ac_cv_lib_m_erfl=yes
22113 else
22114   ac_cv_lib_m_erfl=no
22115 fi
22116 rm -f core conftest.err conftest.$ac_objext \
22117     conftest$ac_exeext conftest.$ac_ext
22118 LIBS=$ac_check_lib_save_LIBS
22119 fi
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22121 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22122 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22123
22124 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22125
22126 fi
22127
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22129 $as_echo_n "checking for erfcf in -lm... " >&6; }
22130 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22131   $as_echo_n "(cached) " >&6
22132 else
22133   ac_check_lib_save_LIBS=$LIBS
22134 LIBS="-lm  $LIBS"
22135 if test x$gcc_no_link = xyes; then
22136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22137 fi
22138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22139 /* end confdefs.h.  */
22140
22141 /* Override any GCC internal prototype to avoid an error.
22142    Use char because int might match the return type of a GCC
22143    builtin and then its argument prototype would still apply.  */
22144 #ifdef __cplusplus
22145 extern "C"
22146 #endif
22147 char erfcf ();
22148 int
22149 main ()
22150 {
22151 return erfcf ();
22152   ;
22153   return 0;
22154 }
22155 _ACEOF
22156 if ac_fn_c_try_link "$LINENO"; then :
22157   ac_cv_lib_m_erfcf=yes
22158 else
22159   ac_cv_lib_m_erfcf=no
22160 fi
22161 rm -f core conftest.err conftest.$ac_objext \
22162     conftest$ac_exeext conftest.$ac_ext
22163 LIBS=$ac_check_lib_save_LIBS
22164 fi
22165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22166 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22167 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22168
22169 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22170
22171 fi
22172
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22174 $as_echo_n "checking for erfc in -lm... " >&6; }
22175 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22176   $as_echo_n "(cached) " >&6
22177 else
22178   ac_check_lib_save_LIBS=$LIBS
22179 LIBS="-lm  $LIBS"
22180 if test x$gcc_no_link = xyes; then
22181   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22182 fi
22183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h.  */
22185
22186 /* Override any GCC internal prototype to avoid an error.
22187    Use char because int might match the return type of a GCC
22188    builtin and then its argument prototype would still apply.  */
22189 #ifdef __cplusplus
22190 extern "C"
22191 #endif
22192 char erfc ();
22193 int
22194 main ()
22195 {
22196 return erfc ();
22197   ;
22198   return 0;
22199 }
22200 _ACEOF
22201 if ac_fn_c_try_link "$LINENO"; then :
22202   ac_cv_lib_m_erfc=yes
22203 else
22204   ac_cv_lib_m_erfc=no
22205 fi
22206 rm -f core conftest.err conftest.$ac_objext \
22207     conftest$ac_exeext conftest.$ac_ext
22208 LIBS=$ac_check_lib_save_LIBS
22209 fi
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22211 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22212 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22213
22214 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22215
22216 fi
22217
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22219 $as_echo_n "checking for erfcl in -lm... " >&6; }
22220 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22221   $as_echo_n "(cached) " >&6
22222 else
22223   ac_check_lib_save_LIBS=$LIBS
22224 LIBS="-lm  $LIBS"
22225 if test x$gcc_no_link = xyes; then
22226   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22227 fi
22228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22229 /* end confdefs.h.  */
22230
22231 /* Override any GCC internal prototype to avoid an error.
22232    Use char because int might match the return type of a GCC
22233    builtin and then its argument prototype would still apply.  */
22234 #ifdef __cplusplus
22235 extern "C"
22236 #endif
22237 char erfcl ();
22238 int
22239 main ()
22240 {
22241 return erfcl ();
22242   ;
22243   return 0;
22244 }
22245 _ACEOF
22246 if ac_fn_c_try_link "$LINENO"; then :
22247   ac_cv_lib_m_erfcl=yes
22248 else
22249   ac_cv_lib_m_erfcl=no
22250 fi
22251 rm -f core conftest.err conftest.$ac_objext \
22252     conftest$ac_exeext conftest.$ac_ext
22253 LIBS=$ac_check_lib_save_LIBS
22254 fi
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22256 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22257 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22258
22259 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22260
22261 fi
22262
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22264 $as_echo_n "checking for j0f in -lm... " >&6; }
22265 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22266   $as_echo_n "(cached) " >&6
22267 else
22268   ac_check_lib_save_LIBS=$LIBS
22269 LIBS="-lm  $LIBS"
22270 if test x$gcc_no_link = xyes; then
22271   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22272 fi
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h.  */
22275
22276 /* Override any GCC internal prototype to avoid an error.
22277    Use char because int might match the return type of a GCC
22278    builtin and then its argument prototype would still apply.  */
22279 #ifdef __cplusplus
22280 extern "C"
22281 #endif
22282 char j0f ();
22283 int
22284 main ()
22285 {
22286 return j0f ();
22287   ;
22288   return 0;
22289 }
22290 _ACEOF
22291 if ac_fn_c_try_link "$LINENO"; then :
22292   ac_cv_lib_m_j0f=yes
22293 else
22294   ac_cv_lib_m_j0f=no
22295 fi
22296 rm -f core conftest.err conftest.$ac_objext \
22297     conftest$ac_exeext conftest.$ac_ext
22298 LIBS=$ac_check_lib_save_LIBS
22299 fi
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22301 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22302 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22303
22304 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22305
22306 fi
22307
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22309 $as_echo_n "checking for j0 in -lm... " >&6; }
22310 if test "${ac_cv_lib_m_j0+set}" = set; then :
22311   $as_echo_n "(cached) " >&6
22312 else
22313   ac_check_lib_save_LIBS=$LIBS
22314 LIBS="-lm  $LIBS"
22315 if test x$gcc_no_link = xyes; then
22316   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22317 fi
22318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22319 /* end confdefs.h.  */
22320
22321 /* Override any GCC internal prototype to avoid an error.
22322    Use char because int might match the return type of a GCC
22323    builtin and then its argument prototype would still apply.  */
22324 #ifdef __cplusplus
22325 extern "C"
22326 #endif
22327 char j0 ();
22328 int
22329 main ()
22330 {
22331 return j0 ();
22332   ;
22333   return 0;
22334 }
22335 _ACEOF
22336 if ac_fn_c_try_link "$LINENO"; then :
22337   ac_cv_lib_m_j0=yes
22338 else
22339   ac_cv_lib_m_j0=no
22340 fi
22341 rm -f core conftest.err conftest.$ac_objext \
22342     conftest$ac_exeext conftest.$ac_ext
22343 LIBS=$ac_check_lib_save_LIBS
22344 fi
22345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22346 $as_echo "$ac_cv_lib_m_j0" >&6; }
22347 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22348
22349 $as_echo "#define HAVE_J0 1" >>confdefs.h
22350
22351 fi
22352
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22354 $as_echo_n "checking for j0l in -lm... " >&6; }
22355 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22356   $as_echo_n "(cached) " >&6
22357 else
22358   ac_check_lib_save_LIBS=$LIBS
22359 LIBS="-lm  $LIBS"
22360 if test x$gcc_no_link = xyes; then
22361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22362 fi
22363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22364 /* end confdefs.h.  */
22365
22366 /* Override any GCC internal prototype to avoid an error.
22367    Use char because int might match the return type of a GCC
22368    builtin and then its argument prototype would still apply.  */
22369 #ifdef __cplusplus
22370 extern "C"
22371 #endif
22372 char j0l ();
22373 int
22374 main ()
22375 {
22376 return j0l ();
22377   ;
22378   return 0;
22379 }
22380 _ACEOF
22381 if ac_fn_c_try_link "$LINENO"; then :
22382   ac_cv_lib_m_j0l=yes
22383 else
22384   ac_cv_lib_m_j0l=no
22385 fi
22386 rm -f core conftest.err conftest.$ac_objext \
22387     conftest$ac_exeext conftest.$ac_ext
22388 LIBS=$ac_check_lib_save_LIBS
22389 fi
22390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22391 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22392 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22393
22394 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22395
22396 fi
22397
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22399 $as_echo_n "checking for j1f in -lm... " >&6; }
22400 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22401   $as_echo_n "(cached) " >&6
22402 else
22403   ac_check_lib_save_LIBS=$LIBS
22404 LIBS="-lm  $LIBS"
22405 if test x$gcc_no_link = xyes; then
22406   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22407 fi
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h.  */
22410
22411 /* Override any GCC internal prototype to avoid an error.
22412    Use char because int might match the return type of a GCC
22413    builtin and then its argument prototype would still apply.  */
22414 #ifdef __cplusplus
22415 extern "C"
22416 #endif
22417 char j1f ();
22418 int
22419 main ()
22420 {
22421 return j1f ();
22422   ;
22423   return 0;
22424 }
22425 _ACEOF
22426 if ac_fn_c_try_link "$LINENO"; then :
22427   ac_cv_lib_m_j1f=yes
22428 else
22429   ac_cv_lib_m_j1f=no
22430 fi
22431 rm -f core conftest.err conftest.$ac_objext \
22432     conftest$ac_exeext conftest.$ac_ext
22433 LIBS=$ac_check_lib_save_LIBS
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22436 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22437 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22438
22439 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22440
22441 fi
22442
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22444 $as_echo_n "checking for j1 in -lm... " >&6; }
22445 if test "${ac_cv_lib_m_j1+set}" = set; then :
22446   $as_echo_n "(cached) " >&6
22447 else
22448   ac_check_lib_save_LIBS=$LIBS
22449 LIBS="-lm  $LIBS"
22450 if test x$gcc_no_link = xyes; then
22451   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22452 fi
22453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22454 /* end confdefs.h.  */
22455
22456 /* Override any GCC internal prototype to avoid an error.
22457    Use char because int might match the return type of a GCC
22458    builtin and then its argument prototype would still apply.  */
22459 #ifdef __cplusplus
22460 extern "C"
22461 #endif
22462 char j1 ();
22463 int
22464 main ()
22465 {
22466 return j1 ();
22467   ;
22468   return 0;
22469 }
22470 _ACEOF
22471 if ac_fn_c_try_link "$LINENO"; then :
22472   ac_cv_lib_m_j1=yes
22473 else
22474   ac_cv_lib_m_j1=no
22475 fi
22476 rm -f core conftest.err conftest.$ac_objext \
22477     conftest$ac_exeext conftest.$ac_ext
22478 LIBS=$ac_check_lib_save_LIBS
22479 fi
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22481 $as_echo "$ac_cv_lib_m_j1" >&6; }
22482 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22483
22484 $as_echo "#define HAVE_J1 1" >>confdefs.h
22485
22486 fi
22487
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22489 $as_echo_n "checking for j1l in -lm... " >&6; }
22490 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22491   $as_echo_n "(cached) " >&6
22492 else
22493   ac_check_lib_save_LIBS=$LIBS
22494 LIBS="-lm  $LIBS"
22495 if test x$gcc_no_link = xyes; then
22496   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22497 fi
22498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22499 /* end confdefs.h.  */
22500
22501 /* Override any GCC internal prototype to avoid an error.
22502    Use char because int might match the return type of a GCC
22503    builtin and then its argument prototype would still apply.  */
22504 #ifdef __cplusplus
22505 extern "C"
22506 #endif
22507 char j1l ();
22508 int
22509 main ()
22510 {
22511 return j1l ();
22512   ;
22513   return 0;
22514 }
22515 _ACEOF
22516 if ac_fn_c_try_link "$LINENO"; then :
22517   ac_cv_lib_m_j1l=yes
22518 else
22519   ac_cv_lib_m_j1l=no
22520 fi
22521 rm -f core conftest.err conftest.$ac_objext \
22522     conftest$ac_exeext conftest.$ac_ext
22523 LIBS=$ac_check_lib_save_LIBS
22524 fi
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22526 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22527 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22528
22529 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22530
22531 fi
22532
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22534 $as_echo_n "checking for jnf in -lm... " >&6; }
22535 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22536   $as_echo_n "(cached) " >&6
22537 else
22538   ac_check_lib_save_LIBS=$LIBS
22539 LIBS="-lm  $LIBS"
22540 if test x$gcc_no_link = xyes; then
22541   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22542 fi
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h.  */
22545
22546 /* Override any GCC internal prototype to avoid an error.
22547    Use char because int might match the return type of a GCC
22548    builtin and then its argument prototype would still apply.  */
22549 #ifdef __cplusplus
22550 extern "C"
22551 #endif
22552 char jnf ();
22553 int
22554 main ()
22555 {
22556 return jnf ();
22557   ;
22558   return 0;
22559 }
22560 _ACEOF
22561 if ac_fn_c_try_link "$LINENO"; then :
22562   ac_cv_lib_m_jnf=yes
22563 else
22564   ac_cv_lib_m_jnf=no
22565 fi
22566 rm -f core conftest.err conftest.$ac_objext \
22567     conftest$ac_exeext conftest.$ac_ext
22568 LIBS=$ac_check_lib_save_LIBS
22569 fi
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22571 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22572 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22573
22574 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22575
22576 fi
22577
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22579 $as_echo_n "checking for jn in -lm... " >&6; }
22580 if test "${ac_cv_lib_m_jn+set}" = set; then :
22581   $as_echo_n "(cached) " >&6
22582 else
22583   ac_check_lib_save_LIBS=$LIBS
22584 LIBS="-lm  $LIBS"
22585 if test x$gcc_no_link = xyes; then
22586   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22587 fi
22588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22589 /* end confdefs.h.  */
22590
22591 /* Override any GCC internal prototype to avoid an error.
22592    Use char because int might match the return type of a GCC
22593    builtin and then its argument prototype would still apply.  */
22594 #ifdef __cplusplus
22595 extern "C"
22596 #endif
22597 char jn ();
22598 int
22599 main ()
22600 {
22601 return jn ();
22602   ;
22603   return 0;
22604 }
22605 _ACEOF
22606 if ac_fn_c_try_link "$LINENO"; then :
22607   ac_cv_lib_m_jn=yes
22608 else
22609   ac_cv_lib_m_jn=no
22610 fi
22611 rm -f core conftest.err conftest.$ac_objext \
22612     conftest$ac_exeext conftest.$ac_ext
22613 LIBS=$ac_check_lib_save_LIBS
22614 fi
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22616 $as_echo "$ac_cv_lib_m_jn" >&6; }
22617 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22618
22619 $as_echo "#define HAVE_JN 1" >>confdefs.h
22620
22621 fi
22622
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22624 $as_echo_n "checking for jnl in -lm... " >&6; }
22625 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22626   $as_echo_n "(cached) " >&6
22627 else
22628   ac_check_lib_save_LIBS=$LIBS
22629 LIBS="-lm  $LIBS"
22630 if test x$gcc_no_link = xyes; then
22631   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22632 fi
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h.  */
22635
22636 /* Override any GCC internal prototype to avoid an error.
22637    Use char because int might match the return type of a GCC
22638    builtin and then its argument prototype would still apply.  */
22639 #ifdef __cplusplus
22640 extern "C"
22641 #endif
22642 char jnl ();
22643 int
22644 main ()
22645 {
22646 return jnl ();
22647   ;
22648   return 0;
22649 }
22650 _ACEOF
22651 if ac_fn_c_try_link "$LINENO"; then :
22652   ac_cv_lib_m_jnl=yes
22653 else
22654   ac_cv_lib_m_jnl=no
22655 fi
22656 rm -f core conftest.err conftest.$ac_objext \
22657     conftest$ac_exeext conftest.$ac_ext
22658 LIBS=$ac_check_lib_save_LIBS
22659 fi
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22661 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22662 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22663
22664 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22665
22666 fi
22667
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22669 $as_echo_n "checking for y0f in -lm... " >&6; }
22670 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22671   $as_echo_n "(cached) " >&6
22672 else
22673   ac_check_lib_save_LIBS=$LIBS
22674 LIBS="-lm  $LIBS"
22675 if test x$gcc_no_link = xyes; then
22676   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22677 fi
22678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22679 /* end confdefs.h.  */
22680
22681 /* Override any GCC internal prototype to avoid an error.
22682    Use char because int might match the return type of a GCC
22683    builtin and then its argument prototype would still apply.  */
22684 #ifdef __cplusplus
22685 extern "C"
22686 #endif
22687 char y0f ();
22688 int
22689 main ()
22690 {
22691 return y0f ();
22692   ;
22693   return 0;
22694 }
22695 _ACEOF
22696 if ac_fn_c_try_link "$LINENO"; then :
22697   ac_cv_lib_m_y0f=yes
22698 else
22699   ac_cv_lib_m_y0f=no
22700 fi
22701 rm -f core conftest.err conftest.$ac_objext \
22702     conftest$ac_exeext conftest.$ac_ext
22703 LIBS=$ac_check_lib_save_LIBS
22704 fi
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22706 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22707 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22708
22709 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22710
22711 fi
22712
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22714 $as_echo_n "checking for y0 in -lm... " >&6; }
22715 if test "${ac_cv_lib_m_y0+set}" = set; then :
22716   $as_echo_n "(cached) " >&6
22717 else
22718   ac_check_lib_save_LIBS=$LIBS
22719 LIBS="-lm  $LIBS"
22720 if test x$gcc_no_link = xyes; then
22721   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22722 fi
22723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22724 /* end confdefs.h.  */
22725
22726 /* Override any GCC internal prototype to avoid an error.
22727    Use char because int might match the return type of a GCC
22728    builtin and then its argument prototype would still apply.  */
22729 #ifdef __cplusplus
22730 extern "C"
22731 #endif
22732 char y0 ();
22733 int
22734 main ()
22735 {
22736 return y0 ();
22737   ;
22738   return 0;
22739 }
22740 _ACEOF
22741 if ac_fn_c_try_link "$LINENO"; then :
22742   ac_cv_lib_m_y0=yes
22743 else
22744   ac_cv_lib_m_y0=no
22745 fi
22746 rm -f core conftest.err conftest.$ac_objext \
22747     conftest$ac_exeext conftest.$ac_ext
22748 LIBS=$ac_check_lib_save_LIBS
22749 fi
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22751 $as_echo "$ac_cv_lib_m_y0" >&6; }
22752 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22753
22754 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22755
22756 fi
22757
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22759 $as_echo_n "checking for y0l in -lm... " >&6; }
22760 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22761   $as_echo_n "(cached) " >&6
22762 else
22763   ac_check_lib_save_LIBS=$LIBS
22764 LIBS="-lm  $LIBS"
22765 if test x$gcc_no_link = xyes; then
22766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22767 fi
22768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22769 /* end confdefs.h.  */
22770
22771 /* Override any GCC internal prototype to avoid an error.
22772    Use char because int might match the return type of a GCC
22773    builtin and then its argument prototype would still apply.  */
22774 #ifdef __cplusplus
22775 extern "C"
22776 #endif
22777 char y0l ();
22778 int
22779 main ()
22780 {
22781 return y0l ();
22782   ;
22783   return 0;
22784 }
22785 _ACEOF
22786 if ac_fn_c_try_link "$LINENO"; then :
22787   ac_cv_lib_m_y0l=yes
22788 else
22789   ac_cv_lib_m_y0l=no
22790 fi
22791 rm -f core conftest.err conftest.$ac_objext \
22792     conftest$ac_exeext conftest.$ac_ext
22793 LIBS=$ac_check_lib_save_LIBS
22794 fi
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22796 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22797 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22798
22799 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22800
22801 fi
22802
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22804 $as_echo_n "checking for y1f in -lm... " >&6; }
22805 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22806   $as_echo_n "(cached) " >&6
22807 else
22808   ac_check_lib_save_LIBS=$LIBS
22809 LIBS="-lm  $LIBS"
22810 if test x$gcc_no_link = xyes; then
22811   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22812 fi
22813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22814 /* end confdefs.h.  */
22815
22816 /* Override any GCC internal prototype to avoid an error.
22817    Use char because int might match the return type of a GCC
22818    builtin and then its argument prototype would still apply.  */
22819 #ifdef __cplusplus
22820 extern "C"
22821 #endif
22822 char y1f ();
22823 int
22824 main ()
22825 {
22826 return y1f ();
22827   ;
22828   return 0;
22829 }
22830 _ACEOF
22831 if ac_fn_c_try_link "$LINENO"; then :
22832   ac_cv_lib_m_y1f=yes
22833 else
22834   ac_cv_lib_m_y1f=no
22835 fi
22836 rm -f core conftest.err conftest.$ac_objext \
22837     conftest$ac_exeext conftest.$ac_ext
22838 LIBS=$ac_check_lib_save_LIBS
22839 fi
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22841 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22842 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22843
22844 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22845
22846 fi
22847
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22849 $as_echo_n "checking for y1 in -lm... " >&6; }
22850 if test "${ac_cv_lib_m_y1+set}" = set; then :
22851   $as_echo_n "(cached) " >&6
22852 else
22853   ac_check_lib_save_LIBS=$LIBS
22854 LIBS="-lm  $LIBS"
22855 if test x$gcc_no_link = xyes; then
22856   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22857 fi
22858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22859 /* end confdefs.h.  */
22860
22861 /* Override any GCC internal prototype to avoid an error.
22862    Use char because int might match the return type of a GCC
22863    builtin and then its argument prototype would still apply.  */
22864 #ifdef __cplusplus
22865 extern "C"
22866 #endif
22867 char y1 ();
22868 int
22869 main ()
22870 {
22871 return y1 ();
22872   ;
22873   return 0;
22874 }
22875 _ACEOF
22876 if ac_fn_c_try_link "$LINENO"; then :
22877   ac_cv_lib_m_y1=yes
22878 else
22879   ac_cv_lib_m_y1=no
22880 fi
22881 rm -f core conftest.err conftest.$ac_objext \
22882     conftest$ac_exeext conftest.$ac_ext
22883 LIBS=$ac_check_lib_save_LIBS
22884 fi
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22886 $as_echo "$ac_cv_lib_m_y1" >&6; }
22887 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22888
22889 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22890
22891 fi
22892
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22894 $as_echo_n "checking for y1l in -lm... " >&6; }
22895 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22896   $as_echo_n "(cached) " >&6
22897 else
22898   ac_check_lib_save_LIBS=$LIBS
22899 LIBS="-lm  $LIBS"
22900 if test x$gcc_no_link = xyes; then
22901   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22902 fi
22903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h.  */
22905
22906 /* Override any GCC internal prototype to avoid an error.
22907    Use char because int might match the return type of a GCC
22908    builtin and then its argument prototype would still apply.  */
22909 #ifdef __cplusplus
22910 extern "C"
22911 #endif
22912 char y1l ();
22913 int
22914 main ()
22915 {
22916 return y1l ();
22917   ;
22918   return 0;
22919 }
22920 _ACEOF
22921 if ac_fn_c_try_link "$LINENO"; then :
22922   ac_cv_lib_m_y1l=yes
22923 else
22924   ac_cv_lib_m_y1l=no
22925 fi
22926 rm -f core conftest.err conftest.$ac_objext \
22927     conftest$ac_exeext conftest.$ac_ext
22928 LIBS=$ac_check_lib_save_LIBS
22929 fi
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22931 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22932 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22933
22934 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22935
22936 fi
22937
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22939 $as_echo_n "checking for ynf in -lm... " >&6; }
22940 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22941   $as_echo_n "(cached) " >&6
22942 else
22943   ac_check_lib_save_LIBS=$LIBS
22944 LIBS="-lm  $LIBS"
22945 if test x$gcc_no_link = xyes; then
22946   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22947 fi
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h.  */
22950
22951 /* Override any GCC internal prototype to avoid an error.
22952    Use char because int might match the return type of a GCC
22953    builtin and then its argument prototype would still apply.  */
22954 #ifdef __cplusplus
22955 extern "C"
22956 #endif
22957 char ynf ();
22958 int
22959 main ()
22960 {
22961 return ynf ();
22962   ;
22963   return 0;
22964 }
22965 _ACEOF
22966 if ac_fn_c_try_link "$LINENO"; then :
22967   ac_cv_lib_m_ynf=yes
22968 else
22969   ac_cv_lib_m_ynf=no
22970 fi
22971 rm -f core conftest.err conftest.$ac_objext \
22972     conftest$ac_exeext conftest.$ac_ext
22973 LIBS=$ac_check_lib_save_LIBS
22974 fi
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22976 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22977 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22978
22979 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22980
22981 fi
22982
22983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22984 $as_echo_n "checking for yn in -lm... " >&6; }
22985 if test "${ac_cv_lib_m_yn+set}" = set; then :
22986   $as_echo_n "(cached) " >&6
22987 else
22988   ac_check_lib_save_LIBS=$LIBS
22989 LIBS="-lm  $LIBS"
22990 if test x$gcc_no_link = xyes; then
22991   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22992 fi
22993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22994 /* end confdefs.h.  */
22995
22996 /* Override any GCC internal prototype to avoid an error.
22997    Use char because int might match the return type of a GCC
22998    builtin and then its argument prototype would still apply.  */
22999 #ifdef __cplusplus
23000 extern "C"
23001 #endif
23002 char yn ();
23003 int
23004 main ()
23005 {
23006 return yn ();
23007   ;
23008   return 0;
23009 }
23010 _ACEOF
23011 if ac_fn_c_try_link "$LINENO"; then :
23012   ac_cv_lib_m_yn=yes
23013 else
23014   ac_cv_lib_m_yn=no
23015 fi
23016 rm -f core conftest.err conftest.$ac_objext \
23017     conftest$ac_exeext conftest.$ac_ext
23018 LIBS=$ac_check_lib_save_LIBS
23019 fi
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23021 $as_echo "$ac_cv_lib_m_yn" >&6; }
23022 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23023
23024 $as_echo "#define HAVE_YN 1" >>confdefs.h
23025
23026 fi
23027
23028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23029 $as_echo_n "checking for ynl in -lm... " >&6; }
23030 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23031   $as_echo_n "(cached) " >&6
23032 else
23033   ac_check_lib_save_LIBS=$LIBS
23034 LIBS="-lm  $LIBS"
23035 if test x$gcc_no_link = xyes; then
23036   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23037 fi
23038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h.  */
23040
23041 /* Override any GCC internal prototype to avoid an error.
23042    Use char because int might match the return type of a GCC
23043    builtin and then its argument prototype would still apply.  */
23044 #ifdef __cplusplus
23045 extern "C"
23046 #endif
23047 char ynl ();
23048 int
23049 main ()
23050 {
23051 return ynl ();
23052   ;
23053   return 0;
23054 }
23055 _ACEOF
23056 if ac_fn_c_try_link "$LINENO"; then :
23057   ac_cv_lib_m_ynl=yes
23058 else
23059   ac_cv_lib_m_ynl=no
23060 fi
23061 rm -f core conftest.err conftest.$ac_objext \
23062     conftest$ac_exeext conftest.$ac_ext
23063 LIBS=$ac_check_lib_save_LIBS
23064 fi
23065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23066 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23067 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23068
23069 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23070
23071 fi
23072
23073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23074 $as_echo_n "checking for tgamma in -lm... " >&6; }
23075 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23076   $as_echo_n "(cached) " >&6
23077 else
23078   ac_check_lib_save_LIBS=$LIBS
23079 LIBS="-lm  $LIBS"
23080 if test x$gcc_no_link = xyes; then
23081   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23082 fi
23083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23084 /* end confdefs.h.  */
23085
23086 /* Override any GCC internal prototype to avoid an error.
23087    Use char because int might match the return type of a GCC
23088    builtin and then its argument prototype would still apply.  */
23089 #ifdef __cplusplus
23090 extern "C"
23091 #endif
23092 char tgamma ();
23093 int
23094 main ()
23095 {
23096 return tgamma ();
23097   ;
23098   return 0;
23099 }
23100 _ACEOF
23101 if ac_fn_c_try_link "$LINENO"; then :
23102   ac_cv_lib_m_tgamma=yes
23103 else
23104   ac_cv_lib_m_tgamma=no
23105 fi
23106 rm -f core conftest.err conftest.$ac_objext \
23107     conftest$ac_exeext conftest.$ac_ext
23108 LIBS=$ac_check_lib_save_LIBS
23109 fi
23110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23111 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23112 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23113
23114 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23115
23116 fi
23117
23118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23119 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23120 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23121   $as_echo_n "(cached) " >&6
23122 else
23123   ac_check_lib_save_LIBS=$LIBS
23124 LIBS="-lm  $LIBS"
23125 if test x$gcc_no_link = xyes; then
23126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23127 fi
23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h.  */
23130
23131 /* Override any GCC internal prototype to avoid an error.
23132    Use char because int might match the return type of a GCC
23133    builtin and then its argument prototype would still apply.  */
23134 #ifdef __cplusplus
23135 extern "C"
23136 #endif
23137 char tgammaf ();
23138 int
23139 main ()
23140 {
23141 return tgammaf ();
23142   ;
23143   return 0;
23144 }
23145 _ACEOF
23146 if ac_fn_c_try_link "$LINENO"; then :
23147   ac_cv_lib_m_tgammaf=yes
23148 else
23149   ac_cv_lib_m_tgammaf=no
23150 fi
23151 rm -f core conftest.err conftest.$ac_objext \
23152     conftest$ac_exeext conftest.$ac_ext
23153 LIBS=$ac_check_lib_save_LIBS
23154 fi
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23156 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23157 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23158
23159 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23160
23161 fi
23162
23163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23164 $as_echo_n "checking for tgammal in -lm... " >&6; }
23165 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23166   $as_echo_n "(cached) " >&6
23167 else
23168   ac_check_lib_save_LIBS=$LIBS
23169 LIBS="-lm  $LIBS"
23170 if test x$gcc_no_link = xyes; then
23171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23172 fi
23173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23174 /* end confdefs.h.  */
23175
23176 /* Override any GCC internal prototype to avoid an error.
23177    Use char because int might match the return type of a GCC
23178    builtin and then its argument prototype would still apply.  */
23179 #ifdef __cplusplus
23180 extern "C"
23181 #endif
23182 char tgammal ();
23183 int
23184 main ()
23185 {
23186 return tgammal ();
23187   ;
23188   return 0;
23189 }
23190 _ACEOF
23191 if ac_fn_c_try_link "$LINENO"; then :
23192   ac_cv_lib_m_tgammal=yes
23193 else
23194   ac_cv_lib_m_tgammal=no
23195 fi
23196 rm -f core conftest.err conftest.$ac_objext \
23197     conftest$ac_exeext conftest.$ac_ext
23198 LIBS=$ac_check_lib_save_LIBS
23199 fi
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23201 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23202 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23203
23204 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23205
23206 fi
23207
23208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23209 $as_echo_n "checking for lgamma in -lm... " >&6; }
23210 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23211   $as_echo_n "(cached) " >&6
23212 else
23213   ac_check_lib_save_LIBS=$LIBS
23214 LIBS="-lm  $LIBS"
23215 if test x$gcc_no_link = xyes; then
23216   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23217 fi
23218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23219 /* end confdefs.h.  */
23220
23221 /* Override any GCC internal prototype to avoid an error.
23222    Use char because int might match the return type of a GCC
23223    builtin and then its argument prototype would still apply.  */
23224 #ifdef __cplusplus
23225 extern "C"
23226 #endif
23227 char lgamma ();
23228 int
23229 main ()
23230 {
23231 return lgamma ();
23232   ;
23233   return 0;
23234 }
23235 _ACEOF
23236 if ac_fn_c_try_link "$LINENO"; then :
23237   ac_cv_lib_m_lgamma=yes
23238 else
23239   ac_cv_lib_m_lgamma=no
23240 fi
23241 rm -f core conftest.err conftest.$ac_objext \
23242     conftest$ac_exeext conftest.$ac_ext
23243 LIBS=$ac_check_lib_save_LIBS
23244 fi
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23246 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23247 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23248
23249 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23250
23251 fi
23252
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23254 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23255 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23256   $as_echo_n "(cached) " >&6
23257 else
23258   ac_check_lib_save_LIBS=$LIBS
23259 LIBS="-lm  $LIBS"
23260 if test x$gcc_no_link = xyes; then
23261   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23262 fi
23263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23264 /* end confdefs.h.  */
23265
23266 /* Override any GCC internal prototype to avoid an error.
23267    Use char because int might match the return type of a GCC
23268    builtin and then its argument prototype would still apply.  */
23269 #ifdef __cplusplus
23270 extern "C"
23271 #endif
23272 char lgammaf ();
23273 int
23274 main ()
23275 {
23276 return lgammaf ();
23277   ;
23278   return 0;
23279 }
23280 _ACEOF
23281 if ac_fn_c_try_link "$LINENO"; then :
23282   ac_cv_lib_m_lgammaf=yes
23283 else
23284   ac_cv_lib_m_lgammaf=no
23285 fi
23286 rm -f core conftest.err conftest.$ac_objext \
23287     conftest$ac_exeext conftest.$ac_ext
23288 LIBS=$ac_check_lib_save_LIBS
23289 fi
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23291 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23292 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23293
23294 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23295
23296 fi
23297
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23299 $as_echo_n "checking for lgammal in -lm... " >&6; }
23300 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23301   $as_echo_n "(cached) " >&6
23302 else
23303   ac_check_lib_save_LIBS=$LIBS
23304 LIBS="-lm  $LIBS"
23305 if test x$gcc_no_link = xyes; then
23306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23307 fi
23308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23309 /* end confdefs.h.  */
23310
23311 /* Override any GCC internal prototype to avoid an error.
23312    Use char because int might match the return type of a GCC
23313    builtin and then its argument prototype would still apply.  */
23314 #ifdef __cplusplus
23315 extern "C"
23316 #endif
23317 char lgammal ();
23318 int
23319 main ()
23320 {
23321 return lgammal ();
23322   ;
23323   return 0;
23324 }
23325 _ACEOF
23326 if ac_fn_c_try_link "$LINENO"; then :
23327   ac_cv_lib_m_lgammal=yes
23328 else
23329   ac_cv_lib_m_lgammal=no
23330 fi
23331 rm -f core conftest.err conftest.$ac_objext \
23332     conftest$ac_exeext conftest.$ac_ext
23333 LIBS=$ac_check_lib_save_LIBS
23334 fi
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23336 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23337 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23338
23339 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23340
23341 fi
23342
23343
23344 # Check for GFORTRAN_C99_1.1 funcs
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23346 $as_echo_n "checking for cacos in -lm... " >&6; }
23347 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23348   $as_echo_n "(cached) " >&6
23349 else
23350   ac_check_lib_save_LIBS=$LIBS
23351 LIBS="-lm  $LIBS"
23352 if test x$gcc_no_link = xyes; then
23353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23354 fi
23355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23356 /* end confdefs.h.  */
23357
23358 /* Override any GCC internal prototype to avoid an error.
23359    Use char because int might match the return type of a GCC
23360    builtin and then its argument prototype would still apply.  */
23361 #ifdef __cplusplus
23362 extern "C"
23363 #endif
23364 char cacos ();
23365 int
23366 main ()
23367 {
23368 return cacos ();
23369   ;
23370   return 0;
23371 }
23372 _ACEOF
23373 if ac_fn_c_try_link "$LINENO"; then :
23374   ac_cv_lib_m_cacos=yes
23375 else
23376   ac_cv_lib_m_cacos=no
23377 fi
23378 rm -f core conftest.err conftest.$ac_objext \
23379     conftest$ac_exeext conftest.$ac_ext
23380 LIBS=$ac_check_lib_save_LIBS
23381 fi
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23383 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23384 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23385
23386 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23387
23388 fi
23389
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23391 $as_echo_n "checking for cacosf in -lm... " >&6; }
23392 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23393   $as_echo_n "(cached) " >&6
23394 else
23395   ac_check_lib_save_LIBS=$LIBS
23396 LIBS="-lm  $LIBS"
23397 if test x$gcc_no_link = xyes; then
23398   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23399 fi
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h.  */
23402
23403 /* Override any GCC internal prototype to avoid an error.
23404    Use char because int might match the return type of a GCC
23405    builtin and then its argument prototype would still apply.  */
23406 #ifdef __cplusplus
23407 extern "C"
23408 #endif
23409 char cacosf ();
23410 int
23411 main ()
23412 {
23413 return cacosf ();
23414   ;
23415   return 0;
23416 }
23417 _ACEOF
23418 if ac_fn_c_try_link "$LINENO"; then :
23419   ac_cv_lib_m_cacosf=yes
23420 else
23421   ac_cv_lib_m_cacosf=no
23422 fi
23423 rm -f core conftest.err conftest.$ac_objext \
23424     conftest$ac_exeext conftest.$ac_ext
23425 LIBS=$ac_check_lib_save_LIBS
23426 fi
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23428 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23429 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23430
23431 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23432
23433 fi
23434
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23436 $as_echo_n "checking for cacosh in -lm... " >&6; }
23437 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23438   $as_echo_n "(cached) " >&6
23439 else
23440   ac_check_lib_save_LIBS=$LIBS
23441 LIBS="-lm  $LIBS"
23442 if test x$gcc_no_link = xyes; then
23443   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23444 fi
23445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23446 /* end confdefs.h.  */
23447
23448 /* Override any GCC internal prototype to avoid an error.
23449    Use char because int might match the return type of a GCC
23450    builtin and then its argument prototype would still apply.  */
23451 #ifdef __cplusplus
23452 extern "C"
23453 #endif
23454 char cacosh ();
23455 int
23456 main ()
23457 {
23458 return cacosh ();
23459   ;
23460   return 0;
23461 }
23462 _ACEOF
23463 if ac_fn_c_try_link "$LINENO"; then :
23464   ac_cv_lib_m_cacosh=yes
23465 else
23466   ac_cv_lib_m_cacosh=no
23467 fi
23468 rm -f core conftest.err conftest.$ac_objext \
23469     conftest$ac_exeext conftest.$ac_ext
23470 LIBS=$ac_check_lib_save_LIBS
23471 fi
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23473 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23474 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23475
23476 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23477
23478 fi
23479
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23481 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23482 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23483   $as_echo_n "(cached) " >&6
23484 else
23485   ac_check_lib_save_LIBS=$LIBS
23486 LIBS="-lm  $LIBS"
23487 if test x$gcc_no_link = xyes; then
23488   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23489 fi
23490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23491 /* end confdefs.h.  */
23492
23493 /* Override any GCC internal prototype to avoid an error.
23494    Use char because int might match the return type of a GCC
23495    builtin and then its argument prototype would still apply.  */
23496 #ifdef __cplusplus
23497 extern "C"
23498 #endif
23499 char cacoshf ();
23500 int
23501 main ()
23502 {
23503 return cacoshf ();
23504   ;
23505   return 0;
23506 }
23507 _ACEOF
23508 if ac_fn_c_try_link "$LINENO"; then :
23509   ac_cv_lib_m_cacoshf=yes
23510 else
23511   ac_cv_lib_m_cacoshf=no
23512 fi
23513 rm -f core conftest.err conftest.$ac_objext \
23514     conftest$ac_exeext conftest.$ac_ext
23515 LIBS=$ac_check_lib_save_LIBS
23516 fi
23517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23518 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23519 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23520
23521 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23522
23523 fi
23524
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23526 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23527 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23528   $as_echo_n "(cached) " >&6
23529 else
23530   ac_check_lib_save_LIBS=$LIBS
23531 LIBS="-lm  $LIBS"
23532 if test x$gcc_no_link = xyes; then
23533   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23534 fi
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h.  */
23537
23538 /* Override any GCC internal prototype to avoid an error.
23539    Use char because int might match the return type of a GCC
23540    builtin and then its argument prototype would still apply.  */
23541 #ifdef __cplusplus
23542 extern "C"
23543 #endif
23544 char cacoshl ();
23545 int
23546 main ()
23547 {
23548 return cacoshl ();
23549   ;
23550   return 0;
23551 }
23552 _ACEOF
23553 if ac_fn_c_try_link "$LINENO"; then :
23554   ac_cv_lib_m_cacoshl=yes
23555 else
23556   ac_cv_lib_m_cacoshl=no
23557 fi
23558 rm -f core conftest.err conftest.$ac_objext \
23559     conftest$ac_exeext conftest.$ac_ext
23560 LIBS=$ac_check_lib_save_LIBS
23561 fi
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23563 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23564 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23565
23566 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23567
23568 fi
23569
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23571 $as_echo_n "checking for cacosl in -lm... " >&6; }
23572 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23573   $as_echo_n "(cached) " >&6
23574 else
23575   ac_check_lib_save_LIBS=$LIBS
23576 LIBS="-lm  $LIBS"
23577 if test x$gcc_no_link = xyes; then
23578   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23579 fi
23580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23581 /* end confdefs.h.  */
23582
23583 /* Override any GCC internal prototype to avoid an error.
23584    Use char because int might match the return type of a GCC
23585    builtin and then its argument prototype would still apply.  */
23586 #ifdef __cplusplus
23587 extern "C"
23588 #endif
23589 char cacosl ();
23590 int
23591 main ()
23592 {
23593 return cacosl ();
23594   ;
23595   return 0;
23596 }
23597 _ACEOF
23598 if ac_fn_c_try_link "$LINENO"; then :
23599   ac_cv_lib_m_cacosl=yes
23600 else
23601   ac_cv_lib_m_cacosl=no
23602 fi
23603 rm -f core conftest.err conftest.$ac_objext \
23604     conftest$ac_exeext conftest.$ac_ext
23605 LIBS=$ac_check_lib_save_LIBS
23606 fi
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23608 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23609 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23610
23611 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23612
23613 fi
23614
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23616 $as_echo_n "checking for casin in -lm... " >&6; }
23617 if test "${ac_cv_lib_m_casin+set}" = set; then :
23618   $as_echo_n "(cached) " >&6
23619 else
23620   ac_check_lib_save_LIBS=$LIBS
23621 LIBS="-lm  $LIBS"
23622 if test x$gcc_no_link = xyes; then
23623   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23624 fi
23625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23626 /* end confdefs.h.  */
23627
23628 /* Override any GCC internal prototype to avoid an error.
23629    Use char because int might match the return type of a GCC
23630    builtin and then its argument prototype would still apply.  */
23631 #ifdef __cplusplus
23632 extern "C"
23633 #endif
23634 char casin ();
23635 int
23636 main ()
23637 {
23638 return casin ();
23639   ;
23640   return 0;
23641 }
23642 _ACEOF
23643 if ac_fn_c_try_link "$LINENO"; then :
23644   ac_cv_lib_m_casin=yes
23645 else
23646   ac_cv_lib_m_casin=no
23647 fi
23648 rm -f core conftest.err conftest.$ac_objext \
23649     conftest$ac_exeext conftest.$ac_ext
23650 LIBS=$ac_check_lib_save_LIBS
23651 fi
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23653 $as_echo "$ac_cv_lib_m_casin" >&6; }
23654 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23655
23656 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23657
23658 fi
23659
23660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23661 $as_echo_n "checking for casinf in -lm... " >&6; }
23662 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23663   $as_echo_n "(cached) " >&6
23664 else
23665   ac_check_lib_save_LIBS=$LIBS
23666 LIBS="-lm  $LIBS"
23667 if test x$gcc_no_link = xyes; then
23668   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23669 fi
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h.  */
23672
23673 /* Override any GCC internal prototype to avoid an error.
23674    Use char because int might match the return type of a GCC
23675    builtin and then its argument prototype would still apply.  */
23676 #ifdef __cplusplus
23677 extern "C"
23678 #endif
23679 char casinf ();
23680 int
23681 main ()
23682 {
23683 return casinf ();
23684   ;
23685   return 0;
23686 }
23687 _ACEOF
23688 if ac_fn_c_try_link "$LINENO"; then :
23689   ac_cv_lib_m_casinf=yes
23690 else
23691   ac_cv_lib_m_casinf=no
23692 fi
23693 rm -f core conftest.err conftest.$ac_objext \
23694     conftest$ac_exeext conftest.$ac_ext
23695 LIBS=$ac_check_lib_save_LIBS
23696 fi
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23698 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23699 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23700
23701 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23702
23703 fi
23704
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23706 $as_echo_n "checking for casinh in -lm... " >&6; }
23707 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23708   $as_echo_n "(cached) " >&6
23709 else
23710   ac_check_lib_save_LIBS=$LIBS
23711 LIBS="-lm  $LIBS"
23712 if test x$gcc_no_link = xyes; then
23713   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23714 fi
23715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h.  */
23717
23718 /* Override any GCC internal prototype to avoid an error.
23719    Use char because int might match the return type of a GCC
23720    builtin and then its argument prototype would still apply.  */
23721 #ifdef __cplusplus
23722 extern "C"
23723 #endif
23724 char casinh ();
23725 int
23726 main ()
23727 {
23728 return casinh ();
23729   ;
23730   return 0;
23731 }
23732 _ACEOF
23733 if ac_fn_c_try_link "$LINENO"; then :
23734   ac_cv_lib_m_casinh=yes
23735 else
23736   ac_cv_lib_m_casinh=no
23737 fi
23738 rm -f core conftest.err conftest.$ac_objext \
23739     conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23741 fi
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23743 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23744 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23745
23746 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23747
23748 fi
23749
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23751 $as_echo_n "checking for casinhf in -lm... " >&6; }
23752 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23753   $as_echo_n "(cached) " >&6
23754 else
23755   ac_check_lib_save_LIBS=$LIBS
23756 LIBS="-lm  $LIBS"
23757 if test x$gcc_no_link = xyes; then
23758   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23759 fi
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h.  */
23762
23763 /* Override any GCC internal prototype to avoid an error.
23764    Use char because int might match the return type of a GCC
23765    builtin and then its argument prototype would still apply.  */
23766 #ifdef __cplusplus
23767 extern "C"
23768 #endif
23769 char casinhf ();
23770 int
23771 main ()
23772 {
23773 return casinhf ();
23774   ;
23775   return 0;
23776 }
23777 _ACEOF
23778 if ac_fn_c_try_link "$LINENO"; then :
23779   ac_cv_lib_m_casinhf=yes
23780 else
23781   ac_cv_lib_m_casinhf=no
23782 fi
23783 rm -f core conftest.err conftest.$ac_objext \
23784     conftest$ac_exeext conftest.$ac_ext
23785 LIBS=$ac_check_lib_save_LIBS
23786 fi
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23788 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23789 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23790
23791 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23792
23793 fi
23794
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23796 $as_echo_n "checking for casinhl in -lm... " >&6; }
23797 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23798   $as_echo_n "(cached) " >&6
23799 else
23800   ac_check_lib_save_LIBS=$LIBS
23801 LIBS="-lm  $LIBS"
23802 if test x$gcc_no_link = xyes; then
23803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23804 fi
23805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23806 /* end confdefs.h.  */
23807
23808 /* Override any GCC internal prototype to avoid an error.
23809    Use char because int might match the return type of a GCC
23810    builtin and then its argument prototype would still apply.  */
23811 #ifdef __cplusplus
23812 extern "C"
23813 #endif
23814 char casinhl ();
23815 int
23816 main ()
23817 {
23818 return casinhl ();
23819   ;
23820   return 0;
23821 }
23822 _ACEOF
23823 if ac_fn_c_try_link "$LINENO"; then :
23824   ac_cv_lib_m_casinhl=yes
23825 else
23826   ac_cv_lib_m_casinhl=no
23827 fi
23828 rm -f core conftest.err conftest.$ac_objext \
23829     conftest$ac_exeext conftest.$ac_ext
23830 LIBS=$ac_check_lib_save_LIBS
23831 fi
23832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23833 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23834 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23835
23836 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23837
23838 fi
23839
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23841 $as_echo_n "checking for casinl in -lm... " >&6; }
23842 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23843   $as_echo_n "(cached) " >&6
23844 else
23845   ac_check_lib_save_LIBS=$LIBS
23846 LIBS="-lm  $LIBS"
23847 if test x$gcc_no_link = xyes; then
23848   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23849 fi
23850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23851 /* end confdefs.h.  */
23852
23853 /* Override any GCC internal prototype to avoid an error.
23854    Use char because int might match the return type of a GCC
23855    builtin and then its argument prototype would still apply.  */
23856 #ifdef __cplusplus
23857 extern "C"
23858 #endif
23859 char casinl ();
23860 int
23861 main ()
23862 {
23863 return casinl ();
23864   ;
23865   return 0;
23866 }
23867 _ACEOF
23868 if ac_fn_c_try_link "$LINENO"; then :
23869   ac_cv_lib_m_casinl=yes
23870 else
23871   ac_cv_lib_m_casinl=no
23872 fi
23873 rm -f core conftest.err conftest.$ac_objext \
23874     conftest$ac_exeext conftest.$ac_ext
23875 LIBS=$ac_check_lib_save_LIBS
23876 fi
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23878 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23879 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23880
23881 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23882
23883 fi
23884
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23886 $as_echo_n "checking for catan in -lm... " >&6; }
23887 if test "${ac_cv_lib_m_catan+set}" = set; then :
23888   $as_echo_n "(cached) " >&6
23889 else
23890   ac_check_lib_save_LIBS=$LIBS
23891 LIBS="-lm  $LIBS"
23892 if test x$gcc_no_link = xyes; then
23893   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23894 fi
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h.  */
23897
23898 /* Override any GCC internal prototype to avoid an error.
23899    Use char because int might match the return type of a GCC
23900    builtin and then its argument prototype would still apply.  */
23901 #ifdef __cplusplus
23902 extern "C"
23903 #endif
23904 char catan ();
23905 int
23906 main ()
23907 {
23908 return catan ();
23909   ;
23910   return 0;
23911 }
23912 _ACEOF
23913 if ac_fn_c_try_link "$LINENO"; then :
23914   ac_cv_lib_m_catan=yes
23915 else
23916   ac_cv_lib_m_catan=no
23917 fi
23918 rm -f core conftest.err conftest.$ac_objext \
23919     conftest$ac_exeext conftest.$ac_ext
23920 LIBS=$ac_check_lib_save_LIBS
23921 fi
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23923 $as_echo "$ac_cv_lib_m_catan" >&6; }
23924 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23925
23926 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23927
23928 fi
23929
23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23931 $as_echo_n "checking for catanf in -lm... " >&6; }
23932 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23933   $as_echo_n "(cached) " >&6
23934 else
23935   ac_check_lib_save_LIBS=$LIBS
23936 LIBS="-lm  $LIBS"
23937 if test x$gcc_no_link = xyes; then
23938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23939 fi
23940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23941 /* end confdefs.h.  */
23942
23943 /* Override any GCC internal prototype to avoid an error.
23944    Use char because int might match the return type of a GCC
23945    builtin and then its argument prototype would still apply.  */
23946 #ifdef __cplusplus
23947 extern "C"
23948 #endif
23949 char catanf ();
23950 int
23951 main ()
23952 {
23953 return catanf ();
23954   ;
23955   return 0;
23956 }
23957 _ACEOF
23958 if ac_fn_c_try_link "$LINENO"; then :
23959   ac_cv_lib_m_catanf=yes
23960 else
23961   ac_cv_lib_m_catanf=no
23962 fi
23963 rm -f core conftest.err conftest.$ac_objext \
23964     conftest$ac_exeext conftest.$ac_ext
23965 LIBS=$ac_check_lib_save_LIBS
23966 fi
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23968 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23969 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23970
23971 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23972
23973 fi
23974
23975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23976 $as_echo_n "checking for catanh in -lm... " >&6; }
23977 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23978   $as_echo_n "(cached) " >&6
23979 else
23980   ac_check_lib_save_LIBS=$LIBS
23981 LIBS="-lm  $LIBS"
23982 if test x$gcc_no_link = xyes; then
23983   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23984 fi
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h.  */
23987
23988 /* Override any GCC internal prototype to avoid an error.
23989    Use char because int might match the return type of a GCC
23990    builtin and then its argument prototype would still apply.  */
23991 #ifdef __cplusplus
23992 extern "C"
23993 #endif
23994 char catanh ();
23995 int
23996 main ()
23997 {
23998 return catanh ();
23999   ;
24000   return 0;
24001 }
24002 _ACEOF
24003 if ac_fn_c_try_link "$LINENO"; then :
24004   ac_cv_lib_m_catanh=yes
24005 else
24006   ac_cv_lib_m_catanh=no
24007 fi
24008 rm -f core conftest.err conftest.$ac_objext \
24009     conftest$ac_exeext conftest.$ac_ext
24010 LIBS=$ac_check_lib_save_LIBS
24011 fi
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24013 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24014 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24015
24016 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24017
24018 fi
24019
24020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24021 $as_echo_n "checking for catanhf in -lm... " >&6; }
24022 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24023   $as_echo_n "(cached) " >&6
24024 else
24025   ac_check_lib_save_LIBS=$LIBS
24026 LIBS="-lm  $LIBS"
24027 if test x$gcc_no_link = xyes; then
24028   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24029 fi
24030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24031 /* end confdefs.h.  */
24032
24033 /* Override any GCC internal prototype to avoid an error.
24034    Use char because int might match the return type of a GCC
24035    builtin and then its argument prototype would still apply.  */
24036 #ifdef __cplusplus
24037 extern "C"
24038 #endif
24039 char catanhf ();
24040 int
24041 main ()
24042 {
24043 return catanhf ();
24044   ;
24045   return 0;
24046 }
24047 _ACEOF
24048 if ac_fn_c_try_link "$LINENO"; then :
24049   ac_cv_lib_m_catanhf=yes
24050 else
24051   ac_cv_lib_m_catanhf=no
24052 fi
24053 rm -f core conftest.err conftest.$ac_objext \
24054     conftest$ac_exeext conftest.$ac_ext
24055 LIBS=$ac_check_lib_save_LIBS
24056 fi
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24058 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24059 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24060
24061 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24062
24063 fi
24064
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24066 $as_echo_n "checking for catanhl in -lm... " >&6; }
24067 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24068   $as_echo_n "(cached) " >&6
24069 else
24070   ac_check_lib_save_LIBS=$LIBS
24071 LIBS="-lm  $LIBS"
24072 if test x$gcc_no_link = xyes; then
24073   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24074 fi
24075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24076 /* end confdefs.h.  */
24077
24078 /* Override any GCC internal prototype to avoid an error.
24079    Use char because int might match the return type of a GCC
24080    builtin and then its argument prototype would still apply.  */
24081 #ifdef __cplusplus
24082 extern "C"
24083 #endif
24084 char catanhl ();
24085 int
24086 main ()
24087 {
24088 return catanhl ();
24089   ;
24090   return 0;
24091 }
24092 _ACEOF
24093 if ac_fn_c_try_link "$LINENO"; then :
24094   ac_cv_lib_m_catanhl=yes
24095 else
24096   ac_cv_lib_m_catanhl=no
24097 fi
24098 rm -f core conftest.err conftest.$ac_objext \
24099     conftest$ac_exeext conftest.$ac_ext
24100 LIBS=$ac_check_lib_save_LIBS
24101 fi
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24103 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24104 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24105
24106 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24107
24108 fi
24109
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24111 $as_echo_n "checking for catanl in -lm... " >&6; }
24112 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24113   $as_echo_n "(cached) " >&6
24114 else
24115   ac_check_lib_save_LIBS=$LIBS
24116 LIBS="-lm  $LIBS"
24117 if test x$gcc_no_link = xyes; then
24118   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24119 fi
24120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24121 /* end confdefs.h.  */
24122
24123 /* Override any GCC internal prototype to avoid an error.
24124    Use char because int might match the return type of a GCC
24125    builtin and then its argument prototype would still apply.  */
24126 #ifdef __cplusplus
24127 extern "C"
24128 #endif
24129 char catanl ();
24130 int
24131 main ()
24132 {
24133 return catanl ();
24134   ;
24135   return 0;
24136 }
24137 _ACEOF
24138 if ac_fn_c_try_link "$LINENO"; then :
24139   ac_cv_lib_m_catanl=yes
24140 else
24141   ac_cv_lib_m_catanl=no
24142 fi
24143 rm -f core conftest.err conftest.$ac_objext \
24144     conftest$ac_exeext conftest.$ac_ext
24145 LIBS=$ac_check_lib_save_LIBS
24146 fi
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24148 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24149 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24150
24151 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24152
24153 fi
24154
24155
24156 # On AIX, clog is present in libm as __clog
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24158 $as_echo_n "checking for __clog in -lm... " >&6; }
24159 if test "${ac_cv_lib_m___clog+set}" = set; then :
24160   $as_echo_n "(cached) " >&6
24161 else
24162   ac_check_lib_save_LIBS=$LIBS
24163 LIBS="-lm  $LIBS"
24164 if test x$gcc_no_link = xyes; then
24165   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24166 fi
24167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24168 /* end confdefs.h.  */
24169
24170 /* Override any GCC internal prototype to avoid an error.
24171    Use char because int might match the return type of a GCC
24172    builtin and then its argument prototype would still apply.  */
24173 #ifdef __cplusplus
24174 extern "C"
24175 #endif
24176 char __clog ();
24177 int
24178 main ()
24179 {
24180 return __clog ();
24181   ;
24182   return 0;
24183 }
24184 _ACEOF
24185 if ac_fn_c_try_link "$LINENO"; then :
24186   ac_cv_lib_m___clog=yes
24187 else
24188   ac_cv_lib_m___clog=no
24189 fi
24190 rm -f core conftest.err conftest.$ac_objext \
24191     conftest$ac_exeext conftest.$ac_ext
24192 LIBS=$ac_check_lib_save_LIBS
24193 fi
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24195 $as_echo "$ac_cv_lib_m___clog" >&6; }
24196 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24197
24198 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24199
24200 fi
24201
24202
24203 # Check whether the system has a working stat()
24204
24205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24206 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24207 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24208   $as_echo_n "(cached) " >&6
24209 else
24210
24211   if test "$cross_compiling" = yes; then :
24212
24213 case "${target}" in
24214   *mingw*) libgfor_cv_have_working_stat=no ;;
24215   *) libgfor_cv_have_working_stat=yes;;
24216 esac
24217 else
24218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24219 /* end confdefs.h.  */
24220
24221 #include <stdio.h>
24222 #include <sys/types.h>
24223 #include <sys/stat.h>
24224 #include <unistd.h>
24225
24226 int main ()
24227 {
24228   FILE *f, *g;
24229   struct stat st1, st2;
24230
24231   f = fopen ("foo", "w");
24232   g = fopen ("bar", "w");
24233   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24234     return 1;
24235   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24236     return 1;
24237   fclose(f);
24238   fclose(g);
24239   return 0;
24240 }
24241 _ACEOF
24242 if ac_fn_c_try_run "$LINENO"; then :
24243   libgfor_cv_have_working_stat=yes
24244 else
24245   libgfor_cv_have_working_stat=no
24246 fi
24247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24248   conftest.$ac_objext conftest.beam conftest.$ac_ext
24249 fi
24250
24251 fi
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24253 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24254 if test x"$libgfor_cv_have_working_stat" = xyes; then
24255
24256 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24257
24258 fi
24259
24260 # Check whether __mingw_snprintf() is present
24261
24262   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24263 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24264 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24265   $as_echo_n "(cached) " >&6
24266 else
24267
24268     if test x$gcc_no_link = xyes; then
24269   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24270 fi
24271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24272 /* end confdefs.h.  */
24273
24274 #include <stdio.h>
24275 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24276
24277 int
24278 main ()
24279 {
24280
24281 __mingw_snprintf (NULL, 0, "%d\n", 1);
24282
24283   ;
24284   return 0;
24285 }
24286 _ACEOF
24287 if ac_fn_c_try_link "$LINENO"; then :
24288   eval "libgfor_cv_have_mingw_snprintf=yes"
24289 else
24290   eval "libgfor_cv_have_mingw_snprintf=no"
24291 fi
24292 rm -f core conftest.err conftest.$ac_objext \
24293     conftest$ac_exeext conftest.$ac_ext
24294
24295 fi
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24297 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24298   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24299
24300 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24301
24302   fi
24303
24304
24305 # Check for a broken powf implementation
24306
24307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24308 $as_echo_n "checking whether powf is broken... " >&6; }
24309 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24310   $as_echo_n "(cached) " >&6
24311 else
24312
24313 case "${target}" in
24314   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24315   *) libgfor_cv_have_broken_powf=no;;
24316 esac
24317 fi
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24319 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24320   if test x"$libgfor_cv_have_broken_powf" = xyes; then
24321
24322 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24323
24324   fi
24325
24326
24327 # Check whether libquadmath should be used
24328 # Check whether --enable-libquadmath-support was given.
24329 if test "${enable_libquadmath_support+set}" = set; then :
24330   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
24331 else
24332   ENABLE_LIBQUADMATH_SUPPORT=yes
24333 fi
24334
24335 enable_libquadmath_support=
24336 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
24337   enable_libquadmath_support=no
24338 fi
24339
24340 # Check whether we have a __float128 type, depends on enable_libquadmath_support
24341
24342   LIBQUADSPEC=
24343
24344   if test "x$enable_libquadmath_support" != xno; then
24345
24346   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24347 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24348 if test "${libgfor_cv_have_float128+set}" = set; then :
24349   $as_echo_n "(cached) " >&6
24350 else
24351
24352     if test x$gcc_no_link = xyes; then
24353   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24354 fi
24355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24356 /* end confdefs.h.  */
24357
24358 /* no header */
24359
24360 int
24361 main ()
24362 {
24363
24364   typedef _Complex float __attribute__((mode(TC))) __complex128;
24365
24366   __float128 x;
24367   x = __builtin_huge_valq() - 2.e1000Q;
24368
24369   __complex128 z1, z2;
24370   z1 = x;
24371   z2 = 2.Q;
24372
24373   z1 /= z2;
24374   z1 /= 7.Q;
24375
24376   ;
24377   return 0;
24378 }
24379 _ACEOF
24380 if ac_fn_c_try_link "$LINENO"; then :
24381   libgfor_cv_have_float128=yes
24382 else
24383   libgfor_cv_have_float128=no
24384 fi
24385 rm -f core conftest.err conftest.$ac_objext \
24386     conftest$ac_exeext conftest.$ac_ext
24387
24388 fi
24389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
24390 $as_echo "$libgfor_cv_have_float128" >&6; }
24391
24392   if test "x$libgfor_cv_have_float128" = xyes; then
24393
24394 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
24395
24396
24397                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
24398     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
24399 $as_echo_n "checking whether --as-needed works... " >&6; }
24400 if test "${libgfor_cv_have_as_needed+set}" = set; then :
24401   $as_echo_n "(cached) " >&6
24402 else
24403
24404       save_LDFLAGS="$LDFLAGS"
24405       LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
24406       libgfor_cv_have_as_needed=no
24407
24408 ac_c_werror_flag=yes
24409       if test x$gcc_no_link = xyes; then
24410   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24411 fi
24412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24413 /* end confdefs.h.  */
24414
24415 int
24416 main ()
24417 {
24418
24419   ;
24420   return 0;
24421 }
24422 _ACEOF
24423 if ac_fn_c_try_link "$LINENO"; then :
24424   libgfor_cv_have_as_needed=yes
24425 else
24426   libgfor_cv_have_as_needed=no
24427 fi
24428 rm -f core conftest.err conftest.$ac_objext \
24429     conftest$ac_exeext conftest.$ac_ext
24430       LDFLAGS="$save_LDFLAGS"
24431       ac_c_werror_flag=$ac_xsave_c_werror_flag
24432
24433 fi
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
24435 $as_echo "$libgfor_cv_have_as_needed" >&6; }
24436
24437         if test "x$libgfor_cv_have_as_needed" = xyes; then
24438       LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
24439     else
24440       LIBQUADSPEC="-lquadmath"
24441     fi
24442     if test -f ../libquadmath/libquadmath.la; then
24443       LIBQUADLIB=../libquadmath/libquadmath.la
24444       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
24445       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
24446     else
24447       LIBQUADLIB="-lquadmath"
24448       LIBQUADLIB_DEP=
24449       LIBQUADINCLUDE=
24450     fi
24451   fi
24452   else
24453     # for --disable-quadmath
24454     LIBQUADLIB=
24455     LIBQUADLIB_DEP=
24456     LIBQUADINCLUDE=
24457   fi
24458
24459
24460
24461
24462
24463
24464      if test "x$libgfor_cv_have_float128" = xyes; then
24465   LIBGFOR_BUILD_QUAD_TRUE=
24466   LIBGFOR_BUILD_QUAD_FALSE='#'
24467 else
24468   LIBGFOR_BUILD_QUAD_TRUE='#'
24469   LIBGFOR_BUILD_QUAD_FALSE=
24470 fi
24471
24472
24473
24474 # Check for GNU libc feenableexcept
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24476 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24477 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24478   $as_echo_n "(cached) " >&6
24479 else
24480   ac_check_lib_save_LIBS=$LIBS
24481 LIBS="-lm  $LIBS"
24482 if test x$gcc_no_link = xyes; then
24483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24484 fi
24485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24486 /* end confdefs.h.  */
24487
24488 /* Override any GCC internal prototype to avoid an error.
24489    Use char because int might match the return type of a GCC
24490    builtin and then its argument prototype would still apply.  */
24491 #ifdef __cplusplus
24492 extern "C"
24493 #endif
24494 char feenableexcept ();
24495 int
24496 main ()
24497 {
24498 return feenableexcept ();
24499   ;
24500   return 0;
24501 }
24502 _ACEOF
24503 if ac_fn_c_try_link "$LINENO"; then :
24504   ac_cv_lib_m_feenableexcept=yes
24505 else
24506   ac_cv_lib_m_feenableexcept=no
24507 fi
24508 rm -f core conftest.err conftest.$ac_objext \
24509     conftest$ac_exeext conftest.$ac_ext
24510 LIBS=$ac_check_lib_save_LIBS
24511 fi
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24513 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24514 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24515   have_feenableexcept=yes
24516 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24517
24518 fi
24519
24520
24521 # Check for SysV fpsetmask
24522
24523   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24524 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24525 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24526   $as_echo_n "(cached) " >&6
24527 else
24528
24529     if test x$gcc_no_link = xyes; then
24530   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24531 fi
24532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24533 /* end confdefs.h.  */
24534
24535 #if HAVE_FLOATINGPOINT_H
24536 # include <floatingpoint.h>
24537 #endif /* HAVE_FLOATINGPOINT_H */
24538 #if HAVE_IEEEFP_H
24539 # include <ieeefp.h>
24540 #endif /* HAVE_IEEEFP_H */
24541 int
24542 main ()
24543 {
24544 fpsetmask(0);
24545   ;
24546   return 0;
24547 }
24548 _ACEOF
24549 if ac_fn_c_try_link "$LINENO"; then :
24550   eval "libgfor_cv_have_fpsetmask=yes"
24551 else
24552   eval "libgfor_cv_have_fpsetmask=no"
24553 fi
24554 rm -f core conftest.err conftest.$ac_objext \
24555     conftest$ac_exeext conftest.$ac_ext
24556
24557 fi
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24559 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24560   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24561
24562 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24563
24564   fi
24565
24566
24567 # Check for AIX fp_trap and fp_enable
24568 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24569 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24570   have_fp_trap=yes
24571 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24572
24573 fi
24574
24575 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24576 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24577   have_fp_enable=yes
24578 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24579
24580 fi
24581
24582
24583 # Runs configure.host to set up necessary host-dependent shell variables.
24584 # We then display a message about it, and propagate them through the
24585 # build chain.
24586 . ${srcdir}/configure.host
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24588 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24589 FPU_HOST_HEADER=config/${fpu_host}.h
24590
24591
24592 # Some targets require additional compiler options for IEEE compatibility.
24593 IEEE_FLAGS="${ieee_flags}"
24594
24595
24596 # Check out attribute support.
24597
24598   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24599 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24600 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24601   $as_echo_n "(cached) " >&6
24602 else
24603
24604   save_CFLAGS="$CFLAGS"
24605   CFLAGS="$CFLAGS -Werror"
24606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24607 /* end confdefs.h.  */
24608 void __attribute__((visibility("hidden"))) foo(void) { }
24609 int
24610 main ()
24611 {
24612
24613   ;
24614   return 0;
24615 }
24616 _ACEOF
24617 if ac_fn_c_try_compile "$LINENO"; then :
24618   libgfor_cv_have_attribute_visibility=yes
24619 else
24620   libgfor_cv_have_attribute_visibility=no
24621 fi
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24623   CFLAGS="$save_CFLAGS"
24624 fi
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24626 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24627   if test $libgfor_cv_have_attribute_visibility = yes; then
24628
24629 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24630
24631   fi
24632
24633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24634 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24635 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24636   $as_echo_n "(cached) " >&6
24637 else
24638
24639   save_CFLAGS="$CFLAGS"
24640   CFLAGS="$CFLAGS -Werror"
24641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h.  */
24643 void __attribute__((dllexport)) foo(void) { }
24644 int
24645 main ()
24646 {
24647
24648   ;
24649   return 0;
24650 }
24651 _ACEOF
24652 if ac_fn_c_try_compile "$LINENO"; then :
24653   libgfor_cv_have_attribute_dllexport=yes
24654 else
24655   libgfor_cv_have_attribute_dllexport=no
24656 fi
24657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658   CFLAGS="$save_CFLAGS"
24659 fi
24660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24661 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24662   if test $libgfor_cv_have_attribute_dllexport = yes; then
24663
24664 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24665
24666   fi
24667
24668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24669 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24670 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24671   $as_echo_n "(cached) " >&6
24672 else
24673
24674   if test x$gcc_no_link = xyes; then
24675   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24676 fi
24677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24678 /* end confdefs.h.  */
24679
24680 void foo(void) { }
24681 extern void bar(void) __attribute__((alias("foo")));
24682 int
24683 main ()
24684 {
24685 bar();
24686   ;
24687   return 0;
24688 }
24689 _ACEOF
24690 if ac_fn_c_try_link "$LINENO"; then :
24691   libgfor_cv_have_attribute_alias=yes
24692 else
24693   libgfor_cv_have_attribute_alias=no
24694 fi
24695 rm -f core conftest.err conftest.$ac_objext \
24696     conftest$ac_exeext conftest.$ac_ext
24697 fi
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24699 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24700   if test $libgfor_cv_have_attribute_alias = yes; then
24701
24702 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24703
24704   fi
24705
24706 # Check out sync builtins support.
24707
24708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24709 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24710 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24711   $as_echo_n "(cached) " >&6
24712 else
24713
24714   if test x$gcc_no_link = xyes; then
24715   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24716 fi
24717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24718 /* end confdefs.h.  */
24719 int foovar = 0;
24720 int
24721 main ()
24722 {
24723
24724 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24725 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24726   ;
24727   return 0;
24728 }
24729 _ACEOF
24730 if ac_fn_c_try_link "$LINENO"; then :
24731   libgfor_cv_have_sync_fetch_and_add=yes
24732 else
24733   libgfor_cv_have_sync_fetch_and_add=no
24734 fi
24735 rm -f core conftest.err conftest.$ac_objext \
24736     conftest$ac_exeext conftest.$ac_ext
24737 fi
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24739 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24740   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24741
24742 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24743
24744   fi
24745
24746 # Check out thread support.
24747
24748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24749 $as_echo_n "checking configured target thread model... " >&6; }
24750 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24751   $as_echo_n "(cached) " >&6
24752 else
24753
24754 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24755 fi
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24757 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24758
24759   if test $libgfor_cv_target_thread_file != single; then
24760
24761 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24762
24763   fi
24764
24765 # Check out #pragma weak.
24766
24767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24768 $as_echo_n "checking whether pragma weak works... " >&6; }
24769 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24770   $as_echo_n "(cached) " >&6
24771 else
24772
24773   gfor_save_CFLAGS="$CFLAGS"
24774   CFLAGS="$CFLAGS -Wunknown-pragmas"
24775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24776 /* end confdefs.h.  */
24777 void foo (void);
24778 #pragma weak foo
24779 int
24780 main ()
24781 {
24782 if (foo) foo ();
24783   ;
24784   return 0;
24785 }
24786 _ACEOF
24787 if ac_fn_c_try_compile "$LINENO"; then :
24788   libgfor_cv_have_pragma_weak=yes
24789 else
24790   libgfor_cv_have_pragma_weak=no
24791 fi
24792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24793 fi
24794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24795 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24796   if test $libgfor_cv_have_pragma_weak = yes; then
24797
24798 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24799
24800   fi
24801   case "$host" in
24802     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24803
24804 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24805
24806       ;;
24807   esac
24808
24809 # Various other checks on target
24810
24811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24812 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24813 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24814   $as_echo_n "(cached) " >&6
24815 else
24816
24817   if test "$cross_compiling" = yes; then :
24818
24819 case "${target}" in
24820   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24821   *) libgfor_cv_have_unlink_open_file=yes;;
24822 esac
24823 else
24824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24825 /* end confdefs.h.  */
24826
24827 #include <errno.h>
24828 #include <fcntl.h>
24829 #include <unistd.h>
24830 #include <sys/stat.h>
24831
24832 int main ()
24833 {
24834   int fd;
24835
24836   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24837   if (fd <= 0)
24838     return 0;
24839   if (unlink ("testfile") == -1)
24840     return 1;
24841   write (fd, "This is a test\n", 15);
24842   close (fd);
24843
24844   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24845     return 0;
24846   else
24847     return 1;
24848 }
24849 _ACEOF
24850 if ac_fn_c_try_run "$LINENO"; then :
24851   libgfor_cv_have_unlink_open_file=yes
24852 else
24853   libgfor_cv_have_unlink_open_file=no
24854 fi
24855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24856   conftest.$ac_objext conftest.beam conftest.$ac_ext
24857 fi
24858
24859 fi
24860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24861 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24862 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24863
24864 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24865
24866 fi
24867
24868 # Check whether line terminator is LF or CRLF
24869
24870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24871 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24872 if test "${libgfor_cv_have_crlf+set}" = set; then :
24873   $as_echo_n "(cached) " >&6
24874 else
24875
24876   if test "$cross_compiling" = yes; then :
24877
24878 case "${target}" in
24879   *mingw*) libgfor_cv_have_crlf=yes ;;
24880   *) libgfor_cv_have_crlf=no;;
24881 esac
24882 else
24883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h.  */
24885
24886 /* This test program should exit with status 0 if system uses a CRLF as
24887    line terminator, and status 1 otherwise.
24888    Since it is used to check for mingw systems, and should return 0 in any
24889    other case, in case of a failure we will not use CRLF.  */
24890 #include <sys/stat.h>
24891 #include <stdlib.h>
24892 #include <fcntl.h>
24893 #include <stdio.h>
24894
24895 int main ()
24896 {
24897 #ifndef O_BINARY
24898   exit(1);
24899 #else
24900   int fd, bytes;
24901   char buff[5];
24902
24903   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24904   if (fd < 0)
24905     exit(1);
24906   if (write (fd, "\n", 1) < 0)
24907     perror ("write");
24908
24909   close (fd);
24910
24911   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24912     exit(1);
24913   bytes = read (fd, buff, 5);
24914   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24915     exit(0);
24916   else
24917     exit(1);
24918 #endif
24919 }
24920 _ACEOF
24921 if ac_fn_c_try_run "$LINENO"; then :
24922   libgfor_cv_have_crlf=yes
24923 else
24924   libgfor_cv_have_crlf=no
24925 fi
24926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24927   conftest.$ac_objext conftest.beam conftest.$ac_ext
24928 fi
24929
24930 fi
24931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24932 $as_echo "$libgfor_cv_have_crlf" >&6; }
24933 if test x"$libgfor_cv_have_crlf" = xyes; then
24934
24935 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24936
24937 fi
24938
24939 cat >confcache <<\_ACEOF
24940 # This file is a shell script that caches the results of configure
24941 # tests run on this system so they can be shared between configure
24942 # scripts and configure runs, see configure's option --config-cache.
24943 # It is not useful on other systems.  If it contains results you don't
24944 # want to keep, you may remove or edit it.
24945 #
24946 # config.status only pays attention to the cache file if you give it
24947 # the --recheck option to rerun configure.
24948 #
24949 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24950 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24951 # following values.
24952
24953 _ACEOF
24954
24955 # The following way of writing the cache mishandles newlines in values,
24956 # but we know of no workaround that is simple, portable, and efficient.
24957 # So, we kill variables containing newlines.
24958 # Ultrix sh set writes to stderr and can't be redirected directly,
24959 # and sets the high bit in the cache file unless we assign to the vars.
24960 (
24961   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24962     eval ac_val=\$$ac_var
24963     case $ac_val in #(
24964     *${as_nl}*)
24965       case $ac_var in #(
24966       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24967 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24968       esac
24969       case $ac_var in #(
24970       _ | IFS | as_nl) ;; #(
24971       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24972       *) { eval $ac_var=; unset $ac_var;} ;;
24973       esac ;;
24974     esac
24975   done
24976
24977   (set) 2>&1 |
24978     case $as_nl`(ac_space=' '; set) 2>&1` in #(
24979     *${as_nl}ac_space=\ *)
24980       # `set' does not quote correctly, so add quotes: double-quote
24981       # substitution turns \\\\ into \\, and sed turns \\ into \.
24982       sed -n \
24983         "s/'/'\\\\''/g;
24984           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24985       ;; #(
24986     *)
24987       # `set' quotes correctly as required by POSIX, so do not add quotes.
24988       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24989       ;;
24990     esac |
24991     sort
24992 ) |
24993   sed '
24994      /^ac_cv_env_/b end
24995      t clear
24996      :clear
24997      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24998      t end
24999      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25000      :end' >>confcache
25001 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25002   if test -w "$cache_file"; then
25003     test "x$cache_file" != "x/dev/null" &&
25004       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25005 $as_echo "$as_me: updating cache $cache_file" >&6;}
25006     cat confcache >$cache_file
25007   else
25008     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25009 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25010   fi
25011 fi
25012 rm -f confcache
25013
25014 if test ${multilib} = yes; then
25015   multilib_arg="--enable-multilib"
25016 else
25017   multilib_arg=
25018 fi
25019
25020 # Write our Makefile and spec file.
25021 ac_config_files="$ac_config_files Makefile libgfortran.spec"
25022
25023 cat >confcache <<\_ACEOF
25024 # This file is a shell script that caches the results of configure
25025 # tests run on this system so they can be shared between configure
25026 # scripts and configure runs, see configure's option --config-cache.
25027 # It is not useful on other systems.  If it contains results you don't
25028 # want to keep, you may remove or edit it.
25029 #
25030 # config.status only pays attention to the cache file if you give it
25031 # the --recheck option to rerun configure.
25032 #
25033 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25034 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25035 # following values.
25036
25037 _ACEOF
25038
25039 # The following way of writing the cache mishandles newlines in values,
25040 # but we know of no workaround that is simple, portable, and efficient.
25041 # So, we kill variables containing newlines.
25042 # Ultrix sh set writes to stderr and can't be redirected directly,
25043 # and sets the high bit in the cache file unless we assign to the vars.
25044 (
25045   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25046     eval ac_val=\$$ac_var
25047     case $ac_val in #(
25048     *${as_nl}*)
25049       case $ac_var in #(
25050       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25051 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25052       esac
25053       case $ac_var in #(
25054       _ | IFS | as_nl) ;; #(
25055       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25056       *) { eval $ac_var=; unset $ac_var;} ;;
25057       esac ;;
25058     esac
25059   done
25060
25061   (set) 2>&1 |
25062     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25063     *${as_nl}ac_space=\ *)
25064       # `set' does not quote correctly, so add quotes: double-quote
25065       # substitution turns \\\\ into \\, and sed turns \\ into \.
25066       sed -n \
25067         "s/'/'\\\\''/g;
25068           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25069       ;; #(
25070     *)
25071       # `set' quotes correctly as required by POSIX, so do not add quotes.
25072       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25073       ;;
25074     esac |
25075     sort
25076 ) |
25077   sed '
25078      /^ac_cv_env_/b end
25079      t clear
25080      :clear
25081      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25082      t end
25083      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25084      :end' >>confcache
25085 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25086   if test -w "$cache_file"; then
25087     test "x$cache_file" != "x/dev/null" &&
25088       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25089 $as_echo "$as_me: updating cache $cache_file" >&6;}
25090     cat confcache >$cache_file
25091   else
25092     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25093 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25094   fi
25095 fi
25096 rm -f confcache
25097
25098 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25099 # Let make expand exec_prefix.
25100 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25101
25102 DEFS=-DHAVE_CONFIG_H
25103
25104 ac_libobjs=
25105 ac_ltlibobjs=
25106 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25107   # 1. Remove the extension, and $U if already installed.
25108   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25109   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25110   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25111   #    will be set to the directory where LIBOBJS objects are built.
25112   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25113   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25114 done
25115 LIBOBJS=$ac_libobjs
25116
25117 LTLIBOBJS=$ac_ltlibobjs
25118
25119
25120 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25121   as_fn_error "conditional \"onestep\" was never defined.
25122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25123 fi
25124  if test -n "$EXEEXT"; then
25125   am__EXEEXT_TRUE=
25126   am__EXEEXT_FALSE='#'
25127 else
25128   am__EXEEXT_TRUE='#'
25129   am__EXEEXT_FALSE=
25130 fi
25131
25132 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25133   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25135 fi
25136 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25137   as_fn_error "conditional \"AMDEP\" was never defined.
25138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25139 fi
25140 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25141   as_fn_error "conditional \"am__fastdepCC\" was never defined.
25142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25143 fi
25144 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25145   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25147 fi
25148 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25149   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25151 fi
25152 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25153   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25155 fi
25156 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25157   as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25159 fi
25160
25161 : ${CONFIG_STATUS=./config.status}
25162 ac_write_fail=0
25163 ac_clean_files_save=$ac_clean_files
25164 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25167 as_write_fail=0
25168 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25169 #! $SHELL
25170 # Generated by $as_me.
25171 # Run this file to recreate the current configuration.
25172 # Compiler output produced by configure, useful for debugging
25173 # configure, is in config.log if it exists.
25174
25175 debug=false
25176 ac_cs_recheck=false
25177 ac_cs_silent=false
25178
25179 SHELL=\${CONFIG_SHELL-$SHELL}
25180 export SHELL
25181 _ASEOF
25182 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25183 ## -------------------- ##
25184 ## M4sh Initialization. ##
25185 ## -------------------- ##
25186
25187 # Be more Bourne compatible
25188 DUALCASE=1; export DUALCASE # for MKS sh
25189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25190   emulate sh
25191   NULLCMD=:
25192   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25193   # is contrary to our usage.  Disable this feature.
25194   alias -g '${1+"$@"}'='"$@"'
25195   setopt NO_GLOB_SUBST
25196 else
25197   case `(set -o) 2>/dev/null` in #(
25198   *posix*) :
25199     set -o posix ;; #(
25200   *) :
25201      ;;
25202 esac
25203 fi
25204
25205
25206 as_nl='
25207 '
25208 export as_nl
25209 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25210 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25211 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25213 # Prefer a ksh shell builtin over an external printf program on Solaris,
25214 # but without wasting forks for bash or zsh.
25215 if test -z "$BASH_VERSION$ZSH_VERSION" \
25216     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25217   as_echo='print -r --'
25218   as_echo_n='print -rn --'
25219 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25220   as_echo='printf %s\n'
25221   as_echo_n='printf %s'
25222 else
25223   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25224     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25225     as_echo_n='/usr/ucb/echo -n'
25226   else
25227     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25228     as_echo_n_body='eval
25229       arg=$1;
25230       case $arg in #(
25231       *"$as_nl"*)
25232         expr "X$arg" : "X\\(.*\\)$as_nl";
25233         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25234       esac;
25235       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25236     '
25237     export as_echo_n_body
25238     as_echo_n='sh -c $as_echo_n_body as_echo'
25239   fi
25240   export as_echo_body
25241   as_echo='sh -c $as_echo_body as_echo'
25242 fi
25243
25244 # The user is always right.
25245 if test "${PATH_SEPARATOR+set}" != set; then
25246   PATH_SEPARATOR=:
25247   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25248     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25249       PATH_SEPARATOR=';'
25250   }
25251 fi
25252
25253
25254 # IFS
25255 # We need space, tab and new line, in precisely that order.  Quoting is
25256 # there to prevent editors from complaining about space-tab.
25257 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25258 # splitting by setting IFS to empty value.)
25259 IFS=" ""        $as_nl"
25260
25261 # Find who we are.  Look in the path if we contain no directory separator.
25262 case $0 in #((
25263   *[\\/]* ) as_myself=$0 ;;
25264   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25265 for as_dir in $PATH
25266 do
25267   IFS=$as_save_IFS
25268   test -z "$as_dir" && as_dir=.
25269     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25270   done
25271 IFS=$as_save_IFS
25272
25273      ;;
25274 esac
25275 # We did not find ourselves, most probably we were run as `sh COMMAND'
25276 # in which case we are not to be found in the path.
25277 if test "x$as_myself" = x; then
25278   as_myself=$0
25279 fi
25280 if test ! -f "$as_myself"; then
25281   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25282   exit 1
25283 fi
25284
25285 # Unset variables that we do not need and which cause bugs (e.g. in
25286 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25287 # suppresses any "Segmentation fault" message there.  '((' could
25288 # trigger a bug in pdksh 5.2.14.
25289 for as_var in BASH_ENV ENV MAIL MAILPATH
25290 do eval test x\${$as_var+set} = xset \
25291   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25292 done
25293 PS1='$ '
25294 PS2='> '
25295 PS4='+ '
25296
25297 # NLS nuisances.
25298 LC_ALL=C
25299 export LC_ALL
25300 LANGUAGE=C
25301 export LANGUAGE
25302
25303 # CDPATH.
25304 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25305
25306
25307 # as_fn_error ERROR [LINENO LOG_FD]
25308 # ---------------------------------
25309 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25310 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25311 # script with status $?, using 1 if that was 0.
25312 as_fn_error ()
25313 {
25314   as_status=$?; test $as_status -eq 0 && as_status=1
25315   if test "$3"; then
25316     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25317     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25318   fi
25319   $as_echo "$as_me: error: $1" >&2
25320   as_fn_exit $as_status
25321 } # as_fn_error
25322
25323
25324 # as_fn_set_status STATUS
25325 # -----------------------
25326 # Set $? to STATUS, without forking.
25327 as_fn_set_status ()
25328 {
25329   return $1
25330 } # as_fn_set_status
25331
25332 # as_fn_exit STATUS
25333 # -----------------
25334 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25335 as_fn_exit ()
25336 {
25337   set +e
25338   as_fn_set_status $1
25339   exit $1
25340 } # as_fn_exit
25341
25342 # as_fn_unset VAR
25343 # ---------------
25344 # Portably unset VAR.
25345 as_fn_unset ()
25346 {
25347   { eval $1=; unset $1;}
25348 }
25349 as_unset=as_fn_unset
25350 # as_fn_append VAR VALUE
25351 # ----------------------
25352 # Append the text in VALUE to the end of the definition contained in VAR. Take
25353 # advantage of any shell optimizations that allow amortized linear growth over
25354 # repeated appends, instead of the typical quadratic growth present in naive
25355 # implementations.
25356 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25357   eval 'as_fn_append ()
25358   {
25359     eval $1+=\$2
25360   }'
25361 else
25362   as_fn_append ()
25363   {
25364     eval $1=\$$1\$2
25365   }
25366 fi # as_fn_append
25367
25368 # as_fn_arith ARG...
25369 # ------------------
25370 # Perform arithmetic evaluation on the ARGs, and store the result in the
25371 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25372 # must be portable across $(()) and expr.
25373 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25374   eval 'as_fn_arith ()
25375   {
25376     as_val=$(( $* ))
25377   }'
25378 else
25379   as_fn_arith ()
25380   {
25381     as_val=`expr "$@" || test $? -eq 1`
25382   }
25383 fi # as_fn_arith
25384
25385
25386 if expr a : '\(a\)' >/dev/null 2>&1 &&
25387    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25388   as_expr=expr
25389 else
25390   as_expr=false
25391 fi
25392
25393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25394   as_basename=basename
25395 else
25396   as_basename=false
25397 fi
25398
25399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25400   as_dirname=dirname
25401 else
25402   as_dirname=false
25403 fi
25404
25405 as_me=`$as_basename -- "$0" ||
25406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25407          X"$0" : 'X\(//\)$' \| \
25408          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25409 $as_echo X/"$0" |
25410     sed '/^.*\/\([^/][^/]*\)\/*$/{
25411             s//\1/
25412             q
25413           }
25414           /^X\/\(\/\/\)$/{
25415             s//\1/
25416             q
25417           }
25418           /^X\/\(\/\).*/{
25419             s//\1/
25420             q
25421           }
25422           s/.*/./; q'`
25423
25424 # Avoid depending upon Character Ranges.
25425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25428 as_cr_digits='0123456789'
25429 as_cr_alnum=$as_cr_Letters$as_cr_digits
25430
25431 ECHO_C= ECHO_N= ECHO_T=
25432 case `echo -n x` in #(((((
25433 -n*)
25434   case `echo 'xy\c'` in
25435   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25436   xy)  ECHO_C='\c';;
25437   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25438        ECHO_T=' ';;
25439   esac;;
25440 *)
25441   ECHO_N='-n';;
25442 esac
25443
25444 rm -f conf$$ conf$$.exe conf$$.file
25445 if test -d conf$$.dir; then
25446   rm -f conf$$.dir/conf$$.file
25447 else
25448   rm -f conf$$.dir
25449   mkdir conf$$.dir 2>/dev/null
25450 fi
25451 if (echo >conf$$.file) 2>/dev/null; then
25452   if ln -s conf$$.file conf$$ 2>/dev/null; then
25453     as_ln_s='ln -s'
25454     # ... but there are two gotchas:
25455     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25456     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25457     # In both cases, we have to default to `cp -p'.
25458     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25459       as_ln_s='cp -p'
25460   elif ln conf$$.file conf$$ 2>/dev/null; then
25461     as_ln_s=ln
25462   else
25463     as_ln_s='cp -p'
25464   fi
25465 else
25466   as_ln_s='cp -p'
25467 fi
25468 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25469 rmdir conf$$.dir 2>/dev/null
25470
25471
25472 # as_fn_mkdir_p
25473 # -------------
25474 # Create "$as_dir" as a directory, including parents if necessary.
25475 as_fn_mkdir_p ()
25476 {
25477
25478   case $as_dir in #(
25479   -*) as_dir=./$as_dir;;
25480   esac
25481   test -d "$as_dir" || eval $as_mkdir_p || {
25482     as_dirs=
25483     while :; do
25484       case $as_dir in #(
25485       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25486       *) as_qdir=$as_dir;;
25487       esac
25488       as_dirs="'$as_qdir' $as_dirs"
25489       as_dir=`$as_dirname -- "$as_dir" ||
25490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25491          X"$as_dir" : 'X\(//\)[^/]' \| \
25492          X"$as_dir" : 'X\(//\)$' \| \
25493          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25494 $as_echo X"$as_dir" |
25495     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25496             s//\1/
25497             q
25498           }
25499           /^X\(\/\/\)[^/].*/{
25500             s//\1/
25501             q
25502           }
25503           /^X\(\/\/\)$/{
25504             s//\1/
25505             q
25506           }
25507           /^X\(\/\).*/{
25508             s//\1/
25509             q
25510           }
25511           s/.*/./; q'`
25512       test -d "$as_dir" && break
25513     done
25514     test -z "$as_dirs" || eval "mkdir $as_dirs"
25515   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25516
25517
25518 } # as_fn_mkdir_p
25519 if mkdir -p . 2>/dev/null; then
25520   as_mkdir_p='mkdir -p "$as_dir"'
25521 else
25522   test -d ./-p && rmdir ./-p
25523   as_mkdir_p=false
25524 fi
25525
25526 if test -x / >/dev/null 2>&1; then
25527   as_test_x='test -x'
25528 else
25529   if ls -dL / >/dev/null 2>&1; then
25530     as_ls_L_option=L
25531   else
25532     as_ls_L_option=
25533   fi
25534   as_test_x='
25535     eval sh -c '\''
25536       if test -d "$1"; then
25537         test -d "$1/.";
25538       else
25539         case $1 in #(
25540         -*)set "./$1";;
25541         esac;
25542         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25543         ???[sx]*):;;*)false;;esac;fi
25544     '\'' sh
25545   '
25546 fi
25547 as_executable_p=$as_test_x
25548
25549 # Sed expression to map a string onto a valid CPP name.
25550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25551
25552 # Sed expression to map a string onto a valid variable name.
25553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25554
25555
25556 exec 6>&1
25557 ## ----------------------------------- ##
25558 ## Main body of $CONFIG_STATUS script. ##
25559 ## ----------------------------------- ##
25560 _ASEOF
25561 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25562
25563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25564 # Save the log message, to keep $0 and so on meaningful, and to
25565 # report actual input values of CONFIG_FILES etc. instead of their
25566 # values after options handling.
25567 ac_log="
25568 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25569 generated by GNU Autoconf 2.64.  Invocation command line was
25570
25571   CONFIG_FILES    = $CONFIG_FILES
25572   CONFIG_HEADERS  = $CONFIG_HEADERS
25573   CONFIG_LINKS    = $CONFIG_LINKS
25574   CONFIG_COMMANDS = $CONFIG_COMMANDS
25575   $ $0 $@
25576
25577 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25578 "
25579
25580 _ACEOF
25581
25582 case $ac_config_files in *"
25583 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25584 esac
25585
25586 case $ac_config_headers in *"
25587 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25588 esac
25589
25590
25591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25592 # Files that config.status was made for.
25593 config_files="$ac_config_files"
25594 config_headers="$ac_config_headers"
25595 config_commands="$ac_config_commands"
25596
25597 _ACEOF
25598
25599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25600 ac_cs_usage="\
25601 \`$as_me' instantiates files and other configuration actions
25602 from templates according to the current configuration.  Unless the files
25603 and actions are specified as TAGs, all are instantiated by default.
25604
25605 Usage: $0 [OPTION]... [TAG]...
25606
25607   -h, --help       print this help, then exit
25608   -V, --version    print version number and configuration settings, then exit
25609   -q, --quiet, --silent
25610                    do not print progress messages
25611   -d, --debug      don't remove temporary files
25612       --recheck    update $as_me by reconfiguring in the same conditions
25613       --file=FILE[:TEMPLATE]
25614                    instantiate the configuration file FILE
25615       --header=FILE[:TEMPLATE]
25616                    instantiate the configuration header FILE
25617
25618 Configuration files:
25619 $config_files
25620
25621 Configuration headers:
25622 $config_headers
25623
25624 Configuration commands:
25625 $config_commands
25626
25627 Report bugs to the package provider.
25628 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25629 General help using GNU software: <http://www.gnu.org/gethelp/>."
25630
25631 _ACEOF
25632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25633 ac_cs_version="\\
25634 GNU Fortran Runtime Library config.status 0.3
25635 configured by $0, generated by GNU Autoconf 2.64,
25636   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25637
25638 Copyright (C) 2009 Free Software Foundation, Inc.
25639 This config.status script is free software; the Free Software Foundation
25640 gives unlimited permission to copy, distribute and modify it."
25641
25642 ac_pwd='$ac_pwd'
25643 srcdir='$srcdir'
25644 INSTALL='$INSTALL'
25645 MKDIR_P='$MKDIR_P'
25646 AWK='$AWK'
25647 test -n "\$AWK" || AWK=awk
25648 _ACEOF
25649
25650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25651 # The default lists apply if the user does not specify any file.
25652 ac_need_defaults=:
25653 while test $# != 0
25654 do
25655   case $1 in
25656   --*=*)
25657     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25658     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25659     ac_shift=:
25660     ;;
25661   *)
25662     ac_option=$1
25663     ac_optarg=$2
25664     ac_shift=shift
25665     ;;
25666   esac
25667
25668   case $ac_option in
25669   # Handling of the options.
25670   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25671     ac_cs_recheck=: ;;
25672   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25673     $as_echo "$ac_cs_version"; exit ;;
25674   --debug | --debu | --deb | --de | --d | -d )
25675     debug=: ;;
25676   --file | --fil | --fi | --f )
25677     $ac_shift
25678     case $ac_optarg in
25679     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25680     esac
25681     as_fn_append CONFIG_FILES " '$ac_optarg'"
25682     ac_need_defaults=false;;
25683   --header | --heade | --head | --hea )
25684     $ac_shift
25685     case $ac_optarg in
25686     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25687     esac
25688     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25689     ac_need_defaults=false;;
25690   --he | --h)
25691     # Conflict between --help and --header
25692     as_fn_error "ambiguous option: \`$1'
25693 Try \`$0 --help' for more information.";;
25694   --help | --hel | -h )
25695     $as_echo "$ac_cs_usage"; exit ;;
25696   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25697   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25698     ac_cs_silent=: ;;
25699
25700   # This is an error.
25701   -*) as_fn_error "unrecognized option: \`$1'
25702 Try \`$0 --help' for more information." ;;
25703
25704   *) as_fn_append ac_config_targets " $1"
25705      ac_need_defaults=false ;;
25706
25707   esac
25708   shift
25709 done
25710
25711 ac_configure_extra_args=
25712
25713 if $ac_cs_silent; then
25714   exec 6>/dev/null
25715   ac_configure_extra_args="$ac_configure_extra_args --silent"
25716 fi
25717
25718 _ACEOF
25719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25720 if \$ac_cs_recheck; then
25721   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25722   shift
25723   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25724   CONFIG_SHELL='$SHELL'
25725   export CONFIG_SHELL
25726   exec "\$@"
25727 fi
25728
25729 _ACEOF
25730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25731 exec 5>>config.log
25732 {
25733   echo
25734   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25735 ## Running $as_me. ##
25736 _ASBOX
25737   $as_echo "$ac_log"
25738 } >&5
25739
25740 _ACEOF
25741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25742 #
25743 # INIT-COMMANDS
25744 #
25745
25746 srcdir="$srcdir"
25747 host="$host"
25748 target="$target"
25749 with_multisubdir="$with_multisubdir"
25750 with_multisrctop="$with_multisrctop"
25751 with_target_subdir="$with_target_subdir"
25752 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25753 multi_basedir="$multi_basedir"
25754 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25755 CC="$CC"
25756 CXX="$CXX"
25757 GFORTRAN="$GFORTRAN"
25758 GCJ="$GCJ"
25759 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25760
25761
25762 # The HP-UX ksh and POSIX shell print the target directory to stdout
25763 # if CDPATH is set.
25764 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25765
25766 sed_quote_subst='$sed_quote_subst'
25767 double_quote_subst='$double_quote_subst'
25768 delay_variable_subst='$delay_variable_subst'
25769 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25770 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25771 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25772 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25773 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25774 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25775 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25776 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25777 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25778 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25779 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25780 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25781 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25782 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25783 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25784 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25785 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25786 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25787 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25788 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25789 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25790 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25791 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25792 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25793 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25794 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25795 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25796 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25797 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25798 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25799 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25800 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25801 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25802 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25803 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25804 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25805 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25806 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25807 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25808 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25809 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25810 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25811 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25812 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25813 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25814 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25815 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25816 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25817 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"`'
25818 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25819 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25820 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25821 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25822 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25823 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25824 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25825 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25826 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25827 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25828 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25829 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25830 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25831 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25832 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25833 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25834 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25835 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25836 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25837 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25838 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25839 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25840 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25841 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25842 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25843 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25844 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25845 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25846 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25847 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25848 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25849 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25850 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25851 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25852 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25853 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25854 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25855 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25856 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25857 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25858 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25859 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25860 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25861 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25862 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25863 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25864 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25865 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25866 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25867 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25868 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25869 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25870 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25871 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25872 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25873 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25874 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25875 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25876 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25877 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25878 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25879 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25880 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25881 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25882 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25883 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25884 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25885 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25886 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25887 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25888 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25889 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25890 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25891 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25892 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25893 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25894 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25895 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25896 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25897 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25898 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25899 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25900 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25901 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25902 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25903 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25904 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25905 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25906 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25907 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25908 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25909 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25910 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25911 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25912 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25913 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25914 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25915 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25916 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25917 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25918 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25919 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25920 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25921 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25922 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25923 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25924 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25925 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25926 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25927 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25928 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25929 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25930 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25931 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25932 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25933 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25934 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25935 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25936 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25937 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25938 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25939 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25940 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25941 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25942 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25943 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25944
25945 LTCC='$LTCC'
25946 LTCFLAGS='$LTCFLAGS'
25947 compiler='$compiler_DEFAULT'
25948
25949 # A function that is used when there is no print builtin or printf.
25950 func_fallback_echo ()
25951 {
25952   eval 'cat <<_LTECHO_EOF
25953 \$1
25954 _LTECHO_EOF'
25955 }
25956
25957 # Quote evaled strings.
25958 for var in SHELL \
25959 ECHO \
25960 SED \
25961 GREP \
25962 EGREP \
25963 FGREP \
25964 LD \
25965 NM \
25966 LN_S \
25967 lt_SP2NL \
25968 lt_NL2SP \
25969 reload_flag \
25970 OBJDUMP \
25971 deplibs_check_method \
25972 file_magic_cmd \
25973 AR \
25974 AR_FLAGS \
25975 STRIP \
25976 RANLIB \
25977 CC \
25978 CFLAGS \
25979 compiler \
25980 lt_cv_sys_global_symbol_pipe \
25981 lt_cv_sys_global_symbol_to_cdecl \
25982 lt_cv_sys_global_symbol_to_c_name_address \
25983 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25984 lt_prog_compiler_no_builtin_flag \
25985 lt_prog_compiler_wl \
25986 lt_prog_compiler_pic \
25987 lt_prog_compiler_static \
25988 lt_cv_prog_compiler_c_o \
25989 need_locks \
25990 DSYMUTIL \
25991 NMEDIT \
25992 LIPO \
25993 OTOOL \
25994 OTOOL64 \
25995 shrext_cmds \
25996 export_dynamic_flag_spec \
25997 whole_archive_flag_spec \
25998 compiler_needs_object \
25999 with_gnu_ld \
26000 allow_undefined_flag \
26001 no_undefined_flag \
26002 hardcode_libdir_flag_spec \
26003 hardcode_libdir_flag_spec_ld \
26004 hardcode_libdir_separator \
26005 fix_srcfile_path \
26006 exclude_expsyms \
26007 include_expsyms \
26008 file_list_spec \
26009 variables_saved_for_relink \
26010 libname_spec \
26011 library_names_spec \
26012 soname_spec \
26013 install_override_mode \
26014 finish_eval \
26015 old_striplib \
26016 striplib \
26017 compiler_lib_search_dirs \
26018 predep_objects \
26019 postdep_objects \
26020 predeps \
26021 postdeps \
26022 compiler_lib_search_path \
26023 LD_FC \
26024 reload_flag_FC \
26025 compiler_FC \
26026 lt_prog_compiler_no_builtin_flag_FC \
26027 lt_prog_compiler_wl_FC \
26028 lt_prog_compiler_pic_FC \
26029 lt_prog_compiler_static_FC \
26030 lt_cv_prog_compiler_c_o_FC \
26031 export_dynamic_flag_spec_FC \
26032 whole_archive_flag_spec_FC \
26033 compiler_needs_object_FC \
26034 with_gnu_ld_FC \
26035 allow_undefined_flag_FC \
26036 no_undefined_flag_FC \
26037 hardcode_libdir_flag_spec_FC \
26038 hardcode_libdir_flag_spec_ld_FC \
26039 hardcode_libdir_separator_FC \
26040 fix_srcfile_path_FC \
26041 exclude_expsyms_FC \
26042 include_expsyms_FC \
26043 file_list_spec_FC \
26044 compiler_lib_search_dirs_FC \
26045 predep_objects_FC \
26046 postdep_objects_FC \
26047 predeps_FC \
26048 postdeps_FC \
26049 compiler_lib_search_path_FC; do
26050     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26051     *[\\\\\\\`\\"\\\$]*)
26052       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26053       ;;
26054     *)
26055       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26056       ;;
26057     esac
26058 done
26059
26060 # Double-quote double-evaled strings.
26061 for var in reload_cmds \
26062 old_postinstall_cmds \
26063 old_postuninstall_cmds \
26064 old_archive_cmds \
26065 extract_expsyms_cmds \
26066 old_archive_from_new_cmds \
26067 old_archive_from_expsyms_cmds \
26068 archive_cmds \
26069 archive_expsym_cmds \
26070 module_cmds \
26071 module_expsym_cmds \
26072 export_symbols_cmds \
26073 prelink_cmds \
26074 postinstall_cmds \
26075 postuninstall_cmds \
26076 finish_cmds \
26077 sys_lib_search_path_spec \
26078 sys_lib_dlsearch_path_spec \
26079 reload_cmds_FC \
26080 old_archive_cmds_FC \
26081 old_archive_from_new_cmds_FC \
26082 old_archive_from_expsyms_cmds_FC \
26083 archive_cmds_FC \
26084 archive_expsym_cmds_FC \
26085 module_cmds_FC \
26086 module_expsym_cmds_FC \
26087 export_symbols_cmds_FC \
26088 prelink_cmds_FC; do
26089     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26090     *[\\\\\\\`\\"\\\$]*)
26091       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26092       ;;
26093     *)
26094       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26095       ;;
26096     esac
26097 done
26098
26099 ac_aux_dir='$ac_aux_dir'
26100 xsi_shell='$xsi_shell'
26101 lt_shell_append='$lt_shell_append'
26102
26103 # See if we are running on zsh, and set the options which allow our
26104 # commands through without removal of \ escapes INIT.
26105 if test -n "\${ZSH_VERSION+set}" ; then
26106    setopt NO_GLOB_SUBST
26107 fi
26108
26109
26110     PACKAGE='$PACKAGE'
26111     VERSION='$VERSION'
26112     TIMESTAMP='$TIMESTAMP'
26113     RM='$RM'
26114     ofile='$ofile'
26115
26116
26117
26118
26119
26120
26121 GCC="$GCC"
26122 CC="$CC"
26123 acx_cv_header_stdint="$acx_cv_header_stdint"
26124 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26125 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26126 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26127 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26128 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26129 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26130 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26131 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26132 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26133 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26134 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26135 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26136 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26137
26138
26139 _ACEOF
26140
26141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26142
26143 # Handling of arguments.
26144 for ac_config_target in $ac_config_targets
26145 do
26146   case $ac_config_target in
26147     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26148     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26149     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26150     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26151     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26152     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26153     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26154
26155   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26156   esac
26157 done
26158
26159
26160 # If the user did not use the arguments to specify the items to instantiate,
26161 # then the envvar interface is used.  Set only those that are not.
26162 # We use the long form for the default assignment because of an extremely
26163 # bizarre bug on SunOS 4.1.3.
26164 if $ac_need_defaults; then
26165   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26166   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26167   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26168 fi
26169
26170 # Have a temporary directory for convenience.  Make it in the build tree
26171 # simply because there is no reason against having it here, and in addition,
26172 # creating and moving files from /tmp can sometimes cause problems.
26173 # Hook for its removal unless debugging.
26174 # Note that there is a small window in which the directory will not be cleaned:
26175 # after its creation but before its name has been assigned to `$tmp'.
26176 $debug ||
26177 {
26178   tmp=
26179   trap 'exit_status=$?
26180   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26181 ' 0
26182   trap 'as_fn_exit 1' 1 2 13 15
26183 }
26184 # Create a (secure) tmp directory for tmp files.
26185
26186 {
26187   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26188   test -n "$tmp" && test -d "$tmp"
26189 }  ||
26190 {
26191   tmp=./conf$$-$RANDOM
26192   (umask 077 && mkdir "$tmp")
26193 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26194
26195 # Set up the scripts for CONFIG_FILES section.
26196 # No need to generate them if there are no CONFIG_FILES.
26197 # This happens for instance with `./config.status config.h'.
26198 if test -n "$CONFIG_FILES"; then
26199
26200
26201 ac_cr=`echo X | tr X '\015'`
26202 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26203 # But we know of no other shell where ac_cr would be empty at this
26204 # point, so we can use a bashism as a fallback.
26205 if test "x$ac_cr" = x; then
26206   eval ac_cr=\$\'\\r\'
26207 fi
26208 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26209 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26210   ac_cs_awk_cr='\r'
26211 else
26212   ac_cs_awk_cr=$ac_cr
26213 fi
26214
26215 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26216 _ACEOF
26217
26218
26219 {
26220   echo "cat >conf$$subs.awk <<_ACEOF" &&
26221   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26222   echo "_ACEOF"
26223 } >conf$$subs.sh ||
26224   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26225 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26226 ac_delim='%!_!# '
26227 for ac_last_try in false false false false false :; do
26228   . ./conf$$subs.sh ||
26229     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26230
26231   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26232   if test $ac_delim_n = $ac_delim_num; then
26233     break
26234   elif $ac_last_try; then
26235     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26236   else
26237     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26238   fi
26239 done
26240 rm -f conf$$subs.sh
26241
26242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26243 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26244 _ACEOF
26245 sed -n '
26246 h
26247 s/^/S["/; s/!.*/"]=/
26248 p
26249 g
26250 s/^[^!]*!//
26251 :repl
26252 t repl
26253 s/'"$ac_delim"'$//
26254 t delim
26255 :nl
26256 h
26257 s/\(.\{148\}\).*/\1/
26258 t more1
26259 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26260 p
26261 n
26262 b repl
26263 :more1
26264 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26265 p
26266 g
26267 s/.\{148\}//
26268 t nl
26269 :delim
26270 h
26271 s/\(.\{148\}\).*/\1/
26272 t more2
26273 s/["\\]/\\&/g; s/^/"/; s/$/"/
26274 p
26275 b
26276 :more2
26277 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26278 p
26279 g
26280 s/.\{148\}//
26281 t delim
26282 ' <conf$$subs.awk | sed '
26283 /^[^""]/{
26284   N
26285   s/\n//
26286 }
26287 ' >>$CONFIG_STATUS || ac_write_fail=1
26288 rm -f conf$$subs.awk
26289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26290 _ACAWK
26291 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26292   for (key in S) S_is_set[key] = 1
26293   FS = "\a"
26294
26295 }
26296 {
26297   line = $ 0
26298   nfields = split(line, field, "@")
26299   substed = 0
26300   len = length(field[1])
26301   for (i = 2; i < nfields; i++) {
26302     key = field[i]
26303     keylen = length(key)
26304     if (S_is_set[key]) {
26305       value = S[key]
26306       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26307       len += length(value) + length(field[++i])
26308       substed = 1
26309     } else
26310       len += 1 + keylen
26311   }
26312
26313   print line
26314 }
26315
26316 _ACAWK
26317 _ACEOF
26318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26319 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26320   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26321 else
26322   cat
26323 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26324   || as_fn_error "could not setup config files machinery" "$LINENO" 5
26325 _ACEOF
26326
26327 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26328 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26329 # trailing colons and then remove the whole line if VPATH becomes empty
26330 # (actually we leave an empty line to preserve line numbers).
26331 if test "x$srcdir" = x.; then
26332   ac_vpsub='/^[  ]*VPATH[        ]*=/{
26333 s/:*\$(srcdir):*/:/
26334 s/:*\${srcdir}:*/:/
26335 s/:*@srcdir@:*/:/
26336 s/^\([^=]*=[     ]*\):*/\1/
26337 s/:*$//
26338 s/^[^=]*=[       ]*$//
26339 }'
26340 fi
26341
26342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26343 fi # test -n "$CONFIG_FILES"
26344
26345 # Set up the scripts for CONFIG_HEADERS section.
26346 # No need to generate them if there are no CONFIG_HEADERS.
26347 # This happens for instance with `./config.status Makefile'.
26348 if test -n "$CONFIG_HEADERS"; then
26349 cat >"$tmp/defines.awk" <<\_ACAWK ||
26350 BEGIN {
26351 _ACEOF
26352
26353 # Transform confdefs.h into an awk script `defines.awk', embedded as
26354 # here-document in config.status, that substitutes the proper values into
26355 # config.h.in to produce config.h.
26356
26357 # Create a delimiter string that does not exist in confdefs.h, to ease
26358 # handling of long lines.
26359 ac_delim='%!_!# '
26360 for ac_last_try in false false :; do
26361   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26362   if test -z "$ac_t"; then
26363     break
26364   elif $ac_last_try; then
26365     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26366   else
26367     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26368   fi
26369 done
26370
26371 # For the awk script, D is an array of macro values keyed by name,
26372 # likewise P contains macro parameters if any.  Preserve backslash
26373 # newline sequences.
26374
26375 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26376 sed -n '
26377 s/.\{148\}/&'"$ac_delim"'/g
26378 t rset
26379 :rset
26380 s/^[     ]*#[    ]*define[       ][      ]*/ /
26381 t def
26382 d
26383 :def
26384 s/\\$//
26385 t bsnl
26386 s/["\\]/\\&/g
26387 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26388 D["\1"]=" \3"/p
26389 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
26390 d
26391 :bsnl
26392 s/["\\]/\\&/g
26393 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26394 D["\1"]=" \3\\\\\\n"\\/p
26395 t cont
26396 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26397 t cont
26398 d
26399 :cont
26400 n
26401 s/.\{148\}/&'"$ac_delim"'/g
26402 t clear
26403 :clear
26404 s/\\$//
26405 t bsnlc
26406 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26407 d
26408 :bsnlc
26409 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26410 b cont
26411 ' <confdefs.h | sed '
26412 s/'"$ac_delim"'/"\\\
26413 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26414
26415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26416   for (key in D) D_is_set[key] = 1
26417   FS = "\a"
26418 }
26419 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26420   line = \$ 0
26421   split(line, arg, " ")
26422   if (arg[1] == "#") {
26423     defundef = arg[2]
26424     mac1 = arg[3]
26425   } else {
26426     defundef = substr(arg[1], 2)
26427     mac1 = arg[2]
26428   }
26429   split(mac1, mac2, "(") #)
26430   macro = mac2[1]
26431   prefix = substr(line, 1, index(line, defundef) - 1)
26432   if (D_is_set[macro]) {
26433     # Preserve the white space surrounding the "#".
26434     print prefix "define", macro P[macro] D[macro]
26435     next
26436   } else {
26437     # Replace #undef with comments.  This is necessary, for example,
26438     # in the case of _POSIX_SOURCE, which is predefined and required
26439     # on some systems where configure will not decide to define it.
26440     if (defundef == "undef") {
26441       print "/*", prefix defundef, macro, "*/"
26442       next
26443     }
26444   }
26445 }
26446 { print }
26447 _ACAWK
26448 _ACEOF
26449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26450   as_fn_error "could not setup config headers machinery" "$LINENO" 5
26451 fi # test -n "$CONFIG_HEADERS"
26452
26453
26454 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26455 shift
26456 for ac_tag
26457 do
26458   case $ac_tag in
26459   :[FHLC]) ac_mode=$ac_tag; continue;;
26460   esac
26461   case $ac_mode$ac_tag in
26462   :[FHL]*:*);;
26463   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26464   :[FH]-) ac_tag=-:-;;
26465   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26466   esac
26467   ac_save_IFS=$IFS
26468   IFS=:
26469   set x $ac_tag
26470   IFS=$ac_save_IFS
26471   shift
26472   ac_file=$1
26473   shift
26474
26475   case $ac_mode in
26476   :L) ac_source=$1;;
26477   :[FH])
26478     ac_file_inputs=
26479     for ac_f
26480     do
26481       case $ac_f in
26482       -) ac_f="$tmp/stdin";;
26483       *) # Look for the file first in the build tree, then in the source tree
26484          # (if the path is not absolute).  The absolute path cannot be DOS-style,
26485          # because $ac_f cannot contain `:'.
26486          test -f "$ac_f" ||
26487            case $ac_f in
26488            [\\/$]*) false;;
26489            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26490            esac ||
26491            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26492       esac
26493       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26494       as_fn_append ac_file_inputs " '$ac_f'"
26495     done
26496
26497     # Let's still pretend it is `configure' which instantiates (i.e., don't
26498     # use $as_me), people would be surprised to read:
26499     #    /* config.h.  Generated by config.status.  */
26500     configure_input='Generated from '`
26501           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26502         `' by configure.'
26503     if test x"$ac_file" != x-; then
26504       configure_input="$ac_file.  $configure_input"
26505       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26506 $as_echo "$as_me: creating $ac_file" >&6;}
26507     fi
26508     # Neutralize special characters interpreted by sed in replacement strings.
26509     case $configure_input in #(
26510     *\&* | *\|* | *\\* )
26511        ac_sed_conf_input=`$as_echo "$configure_input" |
26512        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26513     *) ac_sed_conf_input=$configure_input;;
26514     esac
26515
26516     case $ac_tag in
26517     *:-:* | *:-) cat >"$tmp/stdin" \
26518       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26519     esac
26520     ;;
26521   esac
26522
26523   ac_dir=`$as_dirname -- "$ac_file" ||
26524 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26525          X"$ac_file" : 'X\(//\)[^/]' \| \
26526          X"$ac_file" : 'X\(//\)$' \| \
26527          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26528 $as_echo X"$ac_file" |
26529     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26530             s//\1/
26531             q
26532           }
26533           /^X\(\/\/\)[^/].*/{
26534             s//\1/
26535             q
26536           }
26537           /^X\(\/\/\)$/{
26538             s//\1/
26539             q
26540           }
26541           /^X\(\/\).*/{
26542             s//\1/
26543             q
26544           }
26545           s/.*/./; q'`
26546   as_dir="$ac_dir"; as_fn_mkdir_p
26547   ac_builddir=.
26548
26549 case "$ac_dir" in
26550 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26551 *)
26552   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26553   # A ".." for each directory in $ac_dir_suffix.
26554   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26555   case $ac_top_builddir_sub in
26556   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26557   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26558   esac ;;
26559 esac
26560 ac_abs_top_builddir=$ac_pwd
26561 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26562 # for backward compatibility:
26563 ac_top_builddir=$ac_top_build_prefix
26564
26565 case $srcdir in
26566   .)  # We are building in place.
26567     ac_srcdir=.
26568     ac_top_srcdir=$ac_top_builddir_sub
26569     ac_abs_top_srcdir=$ac_pwd ;;
26570   [\\/]* | ?:[\\/]* )  # Absolute name.
26571     ac_srcdir=$srcdir$ac_dir_suffix;
26572     ac_top_srcdir=$srcdir
26573     ac_abs_top_srcdir=$srcdir ;;
26574   *) # Relative name.
26575     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26576     ac_top_srcdir=$ac_top_build_prefix$srcdir
26577     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26578 esac
26579 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26580
26581
26582   case $ac_mode in
26583   :F)
26584   #
26585   # CONFIG_FILE
26586   #
26587
26588   case $INSTALL in
26589   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26590   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26591   esac
26592   ac_MKDIR_P=$MKDIR_P
26593   case $MKDIR_P in
26594   [\\/$]* | ?:[\\/]* ) ;;
26595   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26596   esac
26597 _ACEOF
26598
26599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26600 # If the template does not know about datarootdir, expand it.
26601 # FIXME: This hack should be removed a few years after 2.60.
26602 ac_datarootdir_hack=; ac_datarootdir_seen=
26603 ac_sed_dataroot='
26604 /datarootdir/ {
26605   p
26606   q
26607 }
26608 /@datadir@/p
26609 /@docdir@/p
26610 /@infodir@/p
26611 /@localedir@/p
26612 /@mandir@/p'
26613 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26614 *datarootdir*) ac_datarootdir_seen=yes;;
26615 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26616   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26617 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26618 _ACEOF
26619 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26620   ac_datarootdir_hack='
26621   s&@datadir@&$datadir&g
26622   s&@docdir@&$docdir&g
26623   s&@infodir@&$infodir&g
26624   s&@localedir@&$localedir&g
26625   s&@mandir@&$mandir&g
26626   s&\\\${datarootdir}&$datarootdir&g' ;;
26627 esac
26628 _ACEOF
26629
26630 # Neutralize VPATH when `$srcdir' = `.'.
26631 # Shell code in configure.ac might set extrasub.
26632 # FIXME: do we really want to maintain this feature?
26633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26634 ac_sed_extra="$ac_vpsub
26635 $extrasub
26636 _ACEOF
26637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26638 :t
26639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26640 s|@configure_input@|$ac_sed_conf_input|;t t
26641 s&@top_builddir@&$ac_top_builddir_sub&;t t
26642 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26643 s&@srcdir@&$ac_srcdir&;t t
26644 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26645 s&@top_srcdir@&$ac_top_srcdir&;t t
26646 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26647 s&@builddir@&$ac_builddir&;t t
26648 s&@abs_builddir@&$ac_abs_builddir&;t t
26649 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26650 s&@INSTALL@&$ac_INSTALL&;t t
26651 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26652 $ac_datarootdir_hack
26653 "
26654 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26655   || as_fn_error "could not create $ac_file" "$LINENO" 5
26656
26657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26658   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26659   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26660   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26661 which seems to be undefined.  Please make sure it is defined." >&5
26662 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26663 which seems to be undefined.  Please make sure it is defined." >&2;}
26664
26665   rm -f "$tmp/stdin"
26666   case $ac_file in
26667   -) cat "$tmp/out" && rm -f "$tmp/out";;
26668   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26669   esac \
26670   || as_fn_error "could not create $ac_file" "$LINENO" 5
26671  ;;
26672   :H)
26673   #
26674   # CONFIG_HEADER
26675   #
26676   if test x"$ac_file" != x-; then
26677     {
26678       $as_echo "/* $configure_input  */" \
26679       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26680     } >"$tmp/config.h" \
26681       || as_fn_error "could not create $ac_file" "$LINENO" 5
26682     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26683       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26684 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26685     else
26686       rm -f "$ac_file"
26687       mv "$tmp/config.h" "$ac_file" \
26688         || as_fn_error "could not create $ac_file" "$LINENO" 5
26689     fi
26690   else
26691     $as_echo "/* $configure_input  */" \
26692       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26693       || as_fn_error "could not create -" "$LINENO" 5
26694   fi
26695 # Compute "$ac_file"'s index in $config_headers.
26696 _am_arg="$ac_file"
26697 _am_stamp_count=1
26698 for _am_header in $config_headers :; do
26699   case $_am_header in
26700     $_am_arg | $_am_arg:* )
26701       break ;;
26702     * )
26703       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26704   esac
26705 done
26706 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26707 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26708          X"$_am_arg" : 'X\(//\)[^/]' \| \
26709          X"$_am_arg" : 'X\(//\)$' \| \
26710          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26711 $as_echo X"$_am_arg" |
26712     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26713             s//\1/
26714             q
26715           }
26716           /^X\(\/\/\)[^/].*/{
26717             s//\1/
26718             q
26719           }
26720           /^X\(\/\/\)$/{
26721             s//\1/
26722             q
26723           }
26724           /^X\(\/\).*/{
26725             s//\1/
26726             q
26727           }
26728           s/.*/./; q'`/stamp-h$_am_stamp_count
26729  ;;
26730
26731   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26732 $as_echo "$as_me: executing $ac_file commands" >&6;}
26733  ;;
26734   esac
26735
26736
26737   case $ac_file$ac_mode in
26738     "default-1":C)
26739 # Only add multilib support code if we just rebuilt the top-level
26740 # Makefile.
26741 case " $CONFIG_FILES " in
26742  *" Makefile "*)
26743    ac_file=Makefile . ${multi_basedir}/config-ml.in
26744    ;;
26745 esac ;;
26746     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26747   # Autoconf 2.62 quotes --file arguments for eval, but not when files
26748   # are listed without --file.  Let's play safe and only enable the eval
26749   # if we detect the quoting.
26750   case $CONFIG_FILES in
26751   *\'*) eval set x "$CONFIG_FILES" ;;
26752   *)   set x $CONFIG_FILES ;;
26753   esac
26754   shift
26755   for mf
26756   do
26757     # Strip MF so we end up with the name of the file.
26758     mf=`echo "$mf" | sed -e 's/:.*$//'`
26759     # Check whether this is an Automake generated Makefile or not.
26760     # We used to match only the files named `Makefile.in', but
26761     # some people rename them; so instead we look at the file content.
26762     # Grep'ing the first line is not enough: some people post-process
26763     # each Makefile.in and add a new line on top of each file to say so.
26764     # Grep'ing the whole file is not good either: AIX grep has a line
26765     # limit of 2048, but all sed's we know have understand at least 4000.
26766     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26767       dirpart=`$as_dirname -- "$mf" ||
26768 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26769          X"$mf" : 'X\(//\)[^/]' \| \
26770          X"$mf" : 'X\(//\)$' \| \
26771          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26772 $as_echo X"$mf" |
26773     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26774             s//\1/
26775             q
26776           }
26777           /^X\(\/\/\)[^/].*/{
26778             s//\1/
26779             q
26780           }
26781           /^X\(\/\/\)$/{
26782             s//\1/
26783             q
26784           }
26785           /^X\(\/\).*/{
26786             s//\1/
26787             q
26788           }
26789           s/.*/./; q'`
26790     else
26791       continue
26792     fi
26793     # Extract the definition of DEPDIR, am__include, and am__quote
26794     # from the Makefile without running `make'.
26795     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26796     test -z "$DEPDIR" && continue
26797     am__include=`sed -n 's/^am__include = //p' < "$mf"`
26798     test -z "am__include" && continue
26799     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26800     # When using ansi2knr, U may be empty or an underscore; expand it
26801     U=`sed -n 's/^U = //p' < "$mf"`
26802     # Find all dependency output files, they are included files with
26803     # $(DEPDIR) in their names.  We invoke sed twice because it is the
26804     # simplest approach to changing $(DEPDIR) to its actual value in the
26805     # expansion.
26806     for file in `sed -n "
26807       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26808          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26809       # Make sure the directory exists.
26810       test -f "$dirpart/$file" && continue
26811       fdir=`$as_dirname -- "$file" ||
26812 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26813          X"$file" : 'X\(//\)[^/]' \| \
26814          X"$file" : 'X\(//\)$' \| \
26815          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26816 $as_echo X"$file" |
26817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26818             s//\1/
26819             q
26820           }
26821           /^X\(\/\/\)[^/].*/{
26822             s//\1/
26823             q
26824           }
26825           /^X\(\/\/\)$/{
26826             s//\1/
26827             q
26828           }
26829           /^X\(\/\).*/{
26830             s//\1/
26831             q
26832           }
26833           s/.*/./; q'`
26834       as_dir=$dirpart/$fdir; as_fn_mkdir_p
26835       # echo "creating $dirpart/$file"
26836       echo '# dummy' > "$dirpart/$file"
26837     done
26838   done
26839 }
26840  ;;
26841     "libtool":C)
26842
26843     # See if we are running on zsh, and set the options which allow our
26844     # commands through without removal of \ escapes.
26845     if test -n "${ZSH_VERSION+set}" ; then
26846       setopt NO_GLOB_SUBST
26847     fi
26848
26849     cfgfile="${ofile}T"
26850     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26851     $RM "$cfgfile"
26852
26853     cat <<_LT_EOF >> "$cfgfile"
26854 #! $SHELL
26855
26856 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26857 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26858 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26859 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26860 #
26861 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26862 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26863 #   Written by Gordon Matzigkeit, 1996
26864 #
26865 #   This file is part of GNU Libtool.
26866 #
26867 # GNU Libtool is free software; you can redistribute it and/or
26868 # modify it under the terms of the GNU General Public License as
26869 # published by the Free Software Foundation; either version 2 of
26870 # the License, or (at your option) any later version.
26871 #
26872 # As a special exception to the GNU General Public License,
26873 # if you distribute this file as part of a program or library that
26874 # is built using GNU Libtool, you may include this file under the
26875 # same distribution terms that you use for the rest of that program.
26876 #
26877 # GNU Libtool is distributed in the hope that it will be useful,
26878 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26879 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26880 # GNU General Public License for more details.
26881 #
26882 # You should have received a copy of the GNU General Public License
26883 # along with GNU Libtool; see the file COPYING.  If not, a copy
26884 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26885 # obtained by writing to the Free Software Foundation, Inc.,
26886 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26887
26888
26889 # The names of the tagged configurations supported by this script.
26890 available_tags="FC "
26891
26892 # ### BEGIN LIBTOOL CONFIG
26893
26894 # Which release of libtool.m4 was used?
26895 macro_version=$macro_version
26896 macro_revision=$macro_revision
26897
26898 # Whether or not to build shared libraries.
26899 build_libtool_libs=$enable_shared
26900
26901 # Whether or not to build static libraries.
26902 build_old_libs=$enable_static
26903
26904 # What type of objects to build.
26905 pic_mode=$pic_mode
26906
26907 # Whether or not to optimize for fast installation.
26908 fast_install=$enable_fast_install
26909
26910 # Shell to use when invoking shell scripts.
26911 SHELL=$lt_SHELL
26912
26913 # An echo program that protects backslashes.
26914 ECHO=$lt_ECHO
26915
26916 # The host system.
26917 host_alias=$host_alias
26918 host=$host
26919 host_os=$host_os
26920
26921 # The build system.
26922 build_alias=$build_alias
26923 build=$build
26924 build_os=$build_os
26925
26926 # A sed program that does not truncate output.
26927 SED=$lt_SED
26928
26929 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26930 Xsed="\$SED -e 1s/^X//"
26931
26932 # A grep program that handles long lines.
26933 GREP=$lt_GREP
26934
26935 # An ERE matcher.
26936 EGREP=$lt_EGREP
26937
26938 # A literal string matcher.
26939 FGREP=$lt_FGREP
26940
26941 # A BSD- or MS-compatible name lister.
26942 NM=$lt_NM
26943
26944 # Whether we need soft or hard links.
26945 LN_S=$lt_LN_S
26946
26947 # What is the maximum length of a command?
26948 max_cmd_len=$max_cmd_len
26949
26950 # Object file suffix (normally "o").
26951 objext=$ac_objext
26952
26953 # Executable file suffix (normally "").
26954 exeext=$exeext
26955
26956 # whether the shell understands "unset".
26957 lt_unset=$lt_unset
26958
26959 # turn spaces into newlines.
26960 SP2NL=$lt_lt_SP2NL
26961
26962 # turn newlines into spaces.
26963 NL2SP=$lt_lt_NL2SP
26964
26965 # An object symbol dumper.
26966 OBJDUMP=$lt_OBJDUMP
26967
26968 # Method to check whether dependent libraries are shared objects.
26969 deplibs_check_method=$lt_deplibs_check_method
26970
26971 # Command to use when deplibs_check_method == "file_magic".
26972 file_magic_cmd=$lt_file_magic_cmd
26973
26974 # The archiver.
26975 AR=$lt_AR
26976 AR_FLAGS=$lt_AR_FLAGS
26977
26978 # A symbol stripping program.
26979 STRIP=$lt_STRIP
26980
26981 # Commands used to install an old-style archive.
26982 RANLIB=$lt_RANLIB
26983 old_postinstall_cmds=$lt_old_postinstall_cmds
26984 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26985
26986 # Whether to use a lock for old archive extraction.
26987 lock_old_archive_extraction=$lock_old_archive_extraction
26988
26989 # A C compiler.
26990 LTCC=$lt_CC
26991
26992 # LTCC compiler flags.
26993 LTCFLAGS=$lt_CFLAGS
26994
26995 # Take the output of nm and produce a listing of raw symbols and C names.
26996 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26997
26998 # Transform the output of nm in a proper C declaration.
26999 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27000
27001 # Transform the output of nm in a C name address pair.
27002 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27003
27004 # Transform the output of nm in a C name address pair when lib prefix is needed.
27005 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27006
27007 # The name of the directory that contains temporary libtool files.
27008 objdir=$objdir
27009
27010 # Used to examine libraries when file_magic_cmd begins with "file".
27011 MAGIC_CMD=$MAGIC_CMD
27012
27013 # Must we lock files when doing compilation?
27014 need_locks=$lt_need_locks
27015
27016 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27017 DSYMUTIL=$lt_DSYMUTIL
27018
27019 # Tool to change global to local symbols on Mac OS X.
27020 NMEDIT=$lt_NMEDIT
27021
27022 # Tool to manipulate fat objects and archives on Mac OS X.
27023 LIPO=$lt_LIPO
27024
27025 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27026 OTOOL=$lt_OTOOL
27027
27028 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27029 OTOOL64=$lt_OTOOL64
27030
27031 # Old archive suffix (normally "a").
27032 libext=$libext
27033
27034 # Shared library suffix (normally ".so").
27035 shrext_cmds=$lt_shrext_cmds
27036
27037 # The commands to extract the exported symbol list from a shared archive.
27038 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27039
27040 # Variables whose values should be saved in libtool wrapper scripts and
27041 # restored at link time.
27042 variables_saved_for_relink=$lt_variables_saved_for_relink
27043
27044 # Do we need the "lib" prefix for modules?
27045 need_lib_prefix=$need_lib_prefix
27046
27047 # Do we need a version for libraries?
27048 need_version=$need_version
27049
27050 # Library versioning type.
27051 version_type=$version_type
27052
27053 # Shared library runtime path variable.
27054 runpath_var=$runpath_var
27055
27056 # Shared library path variable.
27057 shlibpath_var=$shlibpath_var
27058
27059 # Is shlibpath searched before the hard-coded library search path?
27060 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27061
27062 # Format of library name prefix.
27063 libname_spec=$lt_libname_spec
27064
27065 # List of archive names.  First name is the real one, the rest are links.
27066 # The last name is the one that the linker finds with -lNAME
27067 library_names_spec=$lt_library_names_spec
27068
27069 # The coded name of the library, if different from the real name.
27070 soname_spec=$lt_soname_spec
27071
27072 # Permission mode override for installation of shared libraries.
27073 install_override_mode=$lt_install_override_mode
27074
27075 # Command to use after installation of a shared archive.
27076 postinstall_cmds=$lt_postinstall_cmds
27077
27078 # Command to use after uninstallation of a shared archive.
27079 postuninstall_cmds=$lt_postuninstall_cmds
27080
27081 # Commands used to finish a libtool library installation in a directory.
27082 finish_cmds=$lt_finish_cmds
27083
27084 # As "finish_cmds", except a single script fragment to be evaled but
27085 # not shown.
27086 finish_eval=$lt_finish_eval
27087
27088 # Whether we should hardcode library paths into libraries.
27089 hardcode_into_libs=$hardcode_into_libs
27090
27091 # Compile-time system search path for libraries.
27092 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27093
27094 # Run-time system search path for libraries.
27095 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27096
27097 # Whether dlopen is supported.
27098 dlopen_support=$enable_dlopen
27099
27100 # Whether dlopen of programs is supported.
27101 dlopen_self=$enable_dlopen_self
27102
27103 # Whether dlopen of statically linked programs is supported.
27104 dlopen_self_static=$enable_dlopen_self_static
27105
27106 # Commands to strip libraries.
27107 old_striplib=$lt_old_striplib
27108 striplib=$lt_striplib
27109
27110
27111 # The linker used to build libraries.
27112 LD=$lt_LD
27113
27114 # How to create reloadable object files.
27115 reload_flag=$lt_reload_flag
27116 reload_cmds=$lt_reload_cmds
27117
27118 # Commands used to build an old-style archive.
27119 old_archive_cmds=$lt_old_archive_cmds
27120
27121 # A language specific compiler.
27122 CC=$lt_compiler
27123
27124 # Is the compiler the GNU compiler?
27125 with_gcc=$GCC
27126
27127 # Compiler flag to turn off builtin functions.
27128 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27129
27130 # How to pass a linker flag through the compiler.
27131 wl=$lt_lt_prog_compiler_wl
27132
27133 # Additional compiler flags for building library objects.
27134 pic_flag=$lt_lt_prog_compiler_pic
27135
27136 # Compiler flag to prevent dynamic linking.
27137 link_static_flag=$lt_lt_prog_compiler_static
27138
27139 # Does compiler simultaneously support -c and -o options?
27140 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27141
27142 # Whether or not to add -lc for building shared libraries.
27143 build_libtool_need_lc=$archive_cmds_need_lc
27144
27145 # Whether or not to disallow shared libs when runtime libs are static.
27146 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27147
27148 # Compiler flag to allow reflexive dlopens.
27149 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27150
27151 # Compiler flag to generate shared objects directly from archives.
27152 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27153
27154 # Whether the compiler copes with passing no objects directly.
27155 compiler_needs_object=$lt_compiler_needs_object
27156
27157 # Create an old-style archive from a shared archive.
27158 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27159
27160 # Create a temporary old-style archive to link instead of a shared archive.
27161 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27162
27163 # Commands used to build a shared archive.
27164 archive_cmds=$lt_archive_cmds
27165 archive_expsym_cmds=$lt_archive_expsym_cmds
27166
27167 # Commands used to build a loadable module if different from building
27168 # a shared archive.
27169 module_cmds=$lt_module_cmds
27170 module_expsym_cmds=$lt_module_expsym_cmds
27171
27172 # Whether we are building with GNU ld or not.
27173 with_gnu_ld=$lt_with_gnu_ld
27174
27175 # Flag that allows shared libraries with undefined symbols to be built.
27176 allow_undefined_flag=$lt_allow_undefined_flag
27177
27178 # Flag that enforces no undefined symbols.
27179 no_undefined_flag=$lt_no_undefined_flag
27180
27181 # Flag to hardcode \$libdir into a binary during linking.
27182 # This must work even if \$libdir does not exist
27183 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27184
27185 # If ld is used when linking, flag to hardcode \$libdir into a binary
27186 # during linking.  This must work even if \$libdir does not exist.
27187 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27188
27189 # Whether we need a single "-rpath" flag with a separated argument.
27190 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27191
27192 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27193 # DIR into the resulting binary.
27194 hardcode_direct=$hardcode_direct
27195
27196 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27197 # DIR into the resulting binary and the resulting library dependency is
27198 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27199 # library is relocated.
27200 hardcode_direct_absolute=$hardcode_direct_absolute
27201
27202 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27203 # into the resulting binary.
27204 hardcode_minus_L=$hardcode_minus_L
27205
27206 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27207 # into the resulting binary.
27208 hardcode_shlibpath_var=$hardcode_shlibpath_var
27209
27210 # Set to "yes" if building a shared library automatically hardcodes DIR
27211 # into the library and all subsequent libraries and executables linked
27212 # against it.
27213 hardcode_automatic=$hardcode_automatic
27214
27215 # Set to yes if linker adds runtime paths of dependent libraries
27216 # to runtime path list.
27217 inherit_rpath=$inherit_rpath
27218
27219 # Whether libtool must link a program against all its dependency libraries.
27220 link_all_deplibs=$link_all_deplibs
27221
27222 # Fix the shell variable \$srcfile for the compiler.
27223 fix_srcfile_path=$lt_fix_srcfile_path
27224
27225 # Set to "yes" if exported symbols are required.
27226 always_export_symbols=$always_export_symbols
27227
27228 # The commands to list exported symbols.
27229 export_symbols_cmds=$lt_export_symbols_cmds
27230
27231 # Symbols that should not be listed in the preloaded symbols.
27232 exclude_expsyms=$lt_exclude_expsyms
27233
27234 # Symbols that must always be exported.
27235 include_expsyms=$lt_include_expsyms
27236
27237 # Commands necessary for linking programs (against libraries) with templates.
27238 prelink_cmds=$lt_prelink_cmds
27239
27240 # Specify filename containing input files.
27241 file_list_spec=$lt_file_list_spec
27242
27243 # How to hardcode a shared library path into an executable.
27244 hardcode_action=$hardcode_action
27245
27246 # The directories searched by this compiler when creating a shared library.
27247 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27248
27249 # Dependencies to place before and after the objects being linked to
27250 # create a shared library.
27251 predep_objects=$lt_predep_objects
27252 postdep_objects=$lt_postdep_objects
27253 predeps=$lt_predeps
27254 postdeps=$lt_postdeps
27255
27256 # The library search path used internally by the compiler when linking
27257 # a shared library.
27258 compiler_lib_search_path=$lt_compiler_lib_search_path
27259
27260 # ### END LIBTOOL CONFIG
27261
27262 _LT_EOF
27263
27264   case $host_os in
27265   aix3*)
27266     cat <<\_LT_EOF >> "$cfgfile"
27267 # AIX sometimes has problems with the GCC collect2 program.  For some
27268 # reason, if we set the COLLECT_NAMES environment variable, the problems
27269 # vanish in a puff of smoke.
27270 if test "X${COLLECT_NAMES+set}" != Xset; then
27271   COLLECT_NAMES=
27272   export COLLECT_NAMES
27273 fi
27274 _LT_EOF
27275     ;;
27276   esac
27277
27278
27279 ltmain="$ac_aux_dir/ltmain.sh"
27280
27281
27282   # We use sed instead of cat because bash on DJGPP gets confused if
27283   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27284   # text mode, it properly converts lines to CR/LF.  This bash problem
27285   # is reportedly fixed, but why not run on old versions too?
27286   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27287     || (rm -f "$cfgfile"; exit 1)
27288
27289   case $xsi_shell in
27290   yes)
27291     cat << \_LT_EOF >> "$cfgfile"
27292
27293 # func_dirname file append nondir_replacement
27294 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27295 # otherwise set result to NONDIR_REPLACEMENT.
27296 func_dirname ()
27297 {
27298   case ${1} in
27299     */*) func_dirname_result="${1%/*}${2}" ;;
27300     *  ) func_dirname_result="${3}" ;;
27301   esac
27302 }
27303
27304 # func_basename file
27305 func_basename ()
27306 {
27307   func_basename_result="${1##*/}"
27308 }
27309
27310 # func_dirname_and_basename file append nondir_replacement
27311 # perform func_basename and func_dirname in a single function
27312 # call:
27313 #   dirname:  Compute the dirname of FILE.  If nonempty,
27314 #             add APPEND to the result, otherwise set result
27315 #             to NONDIR_REPLACEMENT.
27316 #             value returned in "$func_dirname_result"
27317 #   basename: Compute filename of FILE.
27318 #             value retuned in "$func_basename_result"
27319 # Implementation must be kept synchronized with func_dirname
27320 # and func_basename. For efficiency, we do not delegate to
27321 # those functions but instead duplicate the functionality here.
27322 func_dirname_and_basename ()
27323 {
27324   case ${1} in
27325     */*) func_dirname_result="${1%/*}${2}" ;;
27326     *  ) func_dirname_result="${3}" ;;
27327   esac
27328   func_basename_result="${1##*/}"
27329 }
27330
27331 # func_stripname prefix suffix name
27332 # strip PREFIX and SUFFIX off of NAME.
27333 # PREFIX and SUFFIX must not contain globbing or regex special
27334 # characters, hashes, percent signs, but SUFFIX may contain a leading
27335 # dot (in which case that matches only a dot).
27336 func_stripname ()
27337 {
27338   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27339   # positional parameters, so assign one to ordinary parameter first.
27340   func_stripname_result=${3}
27341   func_stripname_result=${func_stripname_result#"${1}"}
27342   func_stripname_result=${func_stripname_result%"${2}"}
27343 }
27344
27345 # func_opt_split
27346 func_opt_split ()
27347 {
27348   func_opt_split_opt=${1%%=*}
27349   func_opt_split_arg=${1#*=}
27350 }
27351
27352 # func_lo2o object
27353 func_lo2o ()
27354 {
27355   case ${1} in
27356     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27357     *)    func_lo2o_result=${1} ;;
27358   esac
27359 }
27360
27361 # func_xform libobj-or-source
27362 func_xform ()
27363 {
27364   func_xform_result=${1%.*}.lo
27365 }
27366
27367 # func_arith arithmetic-term...
27368 func_arith ()
27369 {
27370   func_arith_result=$(( $* ))
27371 }
27372
27373 # func_len string
27374 # STRING may not start with a hyphen.
27375 func_len ()
27376 {
27377   func_len_result=${#1}
27378 }
27379
27380 _LT_EOF
27381     ;;
27382   *) # Bourne compatible functions.
27383     cat << \_LT_EOF >> "$cfgfile"
27384
27385 # func_dirname file append nondir_replacement
27386 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27387 # otherwise set result to NONDIR_REPLACEMENT.
27388 func_dirname ()
27389 {
27390   # Extract subdirectory from the argument.
27391   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27392   if test "X$func_dirname_result" = "X${1}"; then
27393     func_dirname_result="${3}"
27394   else
27395     func_dirname_result="$func_dirname_result${2}"
27396   fi
27397 }
27398
27399 # func_basename file
27400 func_basename ()
27401 {
27402   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27403 }
27404
27405
27406 # func_stripname prefix suffix name
27407 # strip PREFIX and SUFFIX off of NAME.
27408 # PREFIX and SUFFIX must not contain globbing or regex special
27409 # characters, hashes, percent signs, but SUFFIX may contain a leading
27410 # dot (in which case that matches only a dot).
27411 # func_strip_suffix prefix name
27412 func_stripname ()
27413 {
27414   case ${2} in
27415     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27416     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27417   esac
27418 }
27419
27420 # sed scripts:
27421 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27422 my_sed_long_arg='1s/^-[^=]*=//'
27423
27424 # func_opt_split
27425 func_opt_split ()
27426 {
27427   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27428   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27429 }
27430
27431 # func_lo2o object
27432 func_lo2o ()
27433 {
27434   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27435 }
27436
27437 # func_xform libobj-or-source
27438 func_xform ()
27439 {
27440   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27441 }
27442
27443 # func_arith arithmetic-term...
27444 func_arith ()
27445 {
27446   func_arith_result=`expr "$@"`
27447 }
27448
27449 # func_len string
27450 # STRING may not start with a hyphen.
27451 func_len ()
27452 {
27453   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27454 }
27455
27456 _LT_EOF
27457 esac
27458
27459 case $lt_shell_append in
27460   yes)
27461     cat << \_LT_EOF >> "$cfgfile"
27462
27463 # func_append var value
27464 # Append VALUE to the end of shell variable VAR.
27465 func_append ()
27466 {
27467   eval "$1+=\$2"
27468 }
27469 _LT_EOF
27470     ;;
27471   *)
27472     cat << \_LT_EOF >> "$cfgfile"
27473
27474 # func_append var value
27475 # Append VALUE to the end of shell variable VAR.
27476 func_append ()
27477 {
27478   eval "$1=\$$1\$2"
27479 }
27480
27481 _LT_EOF
27482     ;;
27483   esac
27484
27485
27486   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27487     || (rm -f "$cfgfile"; exit 1)
27488
27489   mv -f "$cfgfile" "$ofile" ||
27490     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27491   chmod +x "$ofile"
27492
27493
27494     cat <<_LT_EOF >> "$ofile"
27495
27496 # ### BEGIN LIBTOOL TAG CONFIG: FC
27497
27498 # The linker used to build libraries.
27499 LD=$lt_LD_FC
27500
27501 # How to create reloadable object files.
27502 reload_flag=$lt_reload_flag_FC
27503 reload_cmds=$lt_reload_cmds_FC
27504
27505 # Commands used to build an old-style archive.
27506 old_archive_cmds=$lt_old_archive_cmds_FC
27507
27508 # A language specific compiler.
27509 CC=$lt_compiler_FC
27510
27511 # Is the compiler the GNU compiler?
27512 with_gcc=$GCC_FC
27513
27514 # Compiler flag to turn off builtin functions.
27515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27516
27517 # How to pass a linker flag through the compiler.
27518 wl=$lt_lt_prog_compiler_wl_FC
27519
27520 # Additional compiler flags for building library objects.
27521 pic_flag=$lt_lt_prog_compiler_pic_FC
27522
27523 # Compiler flag to prevent dynamic linking.
27524 link_static_flag=$lt_lt_prog_compiler_static_FC
27525
27526 # Does compiler simultaneously support -c and -o options?
27527 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27528
27529 # Whether or not to add -lc for building shared libraries.
27530 build_libtool_need_lc=$archive_cmds_need_lc_FC
27531
27532 # Whether or not to disallow shared libs when runtime libs are static.
27533 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27534
27535 # Compiler flag to allow reflexive dlopens.
27536 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27537
27538 # Compiler flag to generate shared objects directly from archives.
27539 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27540
27541 # Whether the compiler copes with passing no objects directly.
27542 compiler_needs_object=$lt_compiler_needs_object_FC
27543
27544 # Create an old-style archive from a shared archive.
27545 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27546
27547 # Create a temporary old-style archive to link instead of a shared archive.
27548 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27549
27550 # Commands used to build a shared archive.
27551 archive_cmds=$lt_archive_cmds_FC
27552 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27553
27554 # Commands used to build a loadable module if different from building
27555 # a shared archive.
27556 module_cmds=$lt_module_cmds_FC
27557 module_expsym_cmds=$lt_module_expsym_cmds_FC
27558
27559 # Whether we are building with GNU ld or not.
27560 with_gnu_ld=$lt_with_gnu_ld_FC
27561
27562 # Flag that allows shared libraries with undefined symbols to be built.
27563 allow_undefined_flag=$lt_allow_undefined_flag_FC
27564
27565 # Flag that enforces no undefined symbols.
27566 no_undefined_flag=$lt_no_undefined_flag_FC
27567
27568 # Flag to hardcode \$libdir into a binary during linking.
27569 # This must work even if \$libdir does not exist
27570 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27571
27572 # If ld is used when linking, flag to hardcode \$libdir into a binary
27573 # during linking.  This must work even if \$libdir does not exist.
27574 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27575
27576 # Whether we need a single "-rpath" flag with a separated argument.
27577 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27578
27579 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27580 # DIR into the resulting binary.
27581 hardcode_direct=$hardcode_direct_FC
27582
27583 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27584 # DIR into the resulting binary and the resulting library dependency is
27585 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27586 # library is relocated.
27587 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27588
27589 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27590 # into the resulting binary.
27591 hardcode_minus_L=$hardcode_minus_L_FC
27592
27593 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27594 # into the resulting binary.
27595 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27596
27597 # Set to "yes" if building a shared library automatically hardcodes DIR
27598 # into the library and all subsequent libraries and executables linked
27599 # against it.
27600 hardcode_automatic=$hardcode_automatic_FC
27601
27602 # Set to yes if linker adds runtime paths of dependent libraries
27603 # to runtime path list.
27604 inherit_rpath=$inherit_rpath_FC
27605
27606 # Whether libtool must link a program against all its dependency libraries.
27607 link_all_deplibs=$link_all_deplibs_FC
27608
27609 # Fix the shell variable \$srcfile for the compiler.
27610 fix_srcfile_path=$lt_fix_srcfile_path_FC
27611
27612 # Set to "yes" if exported symbols are required.
27613 always_export_symbols=$always_export_symbols_FC
27614
27615 # The commands to list exported symbols.
27616 export_symbols_cmds=$lt_export_symbols_cmds_FC
27617
27618 # Symbols that should not be listed in the preloaded symbols.
27619 exclude_expsyms=$lt_exclude_expsyms_FC
27620
27621 # Symbols that must always be exported.
27622 include_expsyms=$lt_include_expsyms_FC
27623
27624 # Commands necessary for linking programs (against libraries) with templates.
27625 prelink_cmds=$lt_prelink_cmds_FC
27626
27627 # Specify filename containing input files.
27628 file_list_spec=$lt_file_list_spec_FC
27629
27630 # How to hardcode a shared library path into an executable.
27631 hardcode_action=$hardcode_action_FC
27632
27633 # The directories searched by this compiler when creating a shared library.
27634 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27635
27636 # Dependencies to place before and after the objects being linked to
27637 # create a shared library.
27638 predep_objects=$lt_predep_objects_FC
27639 postdep_objects=$lt_postdep_objects_FC
27640 predeps=$lt_predeps_FC
27641 postdeps=$lt_postdeps_FC
27642
27643 # The library search path used internally by the compiler when linking
27644 # a shared library.
27645 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27646
27647 # ### END LIBTOOL TAG CONFIG: FC
27648 _LT_EOF
27649
27650  ;;
27651     "gstdint.h":C)
27652 if test "$GCC" = yes; then
27653   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27654 else
27655   echo "/* generated for $CC */" > tmp-stdint.h
27656 fi
27657
27658 sed 's/^ *//' >> tmp-stdint.h <<EOF
27659
27660   #ifndef GCC_GENERATED_STDINT_H
27661   #define GCC_GENERATED_STDINT_H 1
27662
27663   #include <sys/types.h>
27664 EOF
27665
27666 if test "$acx_cv_header_stdint" != stdint.h; then
27667   echo "#include <stddef.h>" >> tmp-stdint.h
27668 fi
27669 if test "$acx_cv_header_stdint" != stddef.h; then
27670   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27671 fi
27672
27673 sed 's/^ *//' >> tmp-stdint.h <<EOF
27674   /* glibc uses these symbols as guards to prevent redefinitions.  */
27675   #ifdef __int8_t_defined
27676   #define _INT8_T
27677   #define _INT16_T
27678   #define _INT32_T
27679   #endif
27680   #ifdef __uint32_t_defined
27681   #define _UINT32_T
27682   #endif
27683
27684 EOF
27685
27686 # ----------------- done header, emit basic int types -------------
27687 if test "$acx_cv_header_stdint" = stddef.h; then
27688   sed 's/^ *//' >> tmp-stdint.h <<EOF
27689
27690     #ifndef _UINT8_T
27691     #define _UINT8_T
27692     #ifndef __uint8_t_defined
27693     #define __uint8_t_defined
27694     #ifndef uint8_t
27695     typedef unsigned $acx_cv_type_int8_t uint8_t;
27696     #endif
27697     #endif
27698     #endif
27699
27700     #ifndef _UINT16_T
27701     #define _UINT16_T
27702     #ifndef __uint16_t_defined
27703     #define __uint16_t_defined
27704     #ifndef uint16_t
27705     typedef unsigned $acx_cv_type_int16_t uint16_t;
27706     #endif
27707     #endif
27708     #endif
27709
27710     #ifndef _UINT32_T
27711     #define _UINT32_T
27712     #ifndef __uint32_t_defined
27713     #define __uint32_t_defined
27714     #ifndef uint32_t
27715     typedef unsigned $acx_cv_type_int32_t uint32_t;
27716     #endif
27717     #endif
27718     #endif
27719
27720     #ifndef _INT8_T
27721     #define _INT8_T
27722     #ifndef __int8_t_defined
27723     #define __int8_t_defined
27724     #ifndef int8_t
27725     typedef $acx_cv_type_int8_t int8_t;
27726     #endif
27727     #endif
27728     #endif
27729
27730     #ifndef _INT16_T
27731     #define _INT16_T
27732     #ifndef __int16_t_defined
27733     #define __int16_t_defined
27734     #ifndef int16_t
27735     typedef $acx_cv_type_int16_t int16_t;
27736     #endif
27737     #endif
27738     #endif
27739
27740     #ifndef _INT32_T
27741     #define _INT32_T
27742     #ifndef __int32_t_defined
27743     #define __int32_t_defined
27744     #ifndef int32_t
27745     typedef $acx_cv_type_int32_t int32_t;
27746     #endif
27747     #endif
27748     #endif
27749 EOF
27750 elif test "$ac_cv_type_u_int32_t" = yes; then
27751   sed 's/^ *//' >> tmp-stdint.h <<EOF
27752
27753     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27754     #ifndef _INT8_T
27755     #define _INT8_T
27756     #endif
27757     #ifndef _INT16_T
27758     #define _INT16_T
27759     #endif
27760     #ifndef _INT32_T
27761     #define _INT32_T
27762     #endif
27763
27764     #ifndef _UINT8_T
27765     #define _UINT8_T
27766     #ifndef __uint8_t_defined
27767     #define __uint8_t_defined
27768     #ifndef uint8_t
27769     typedef u_int8_t uint8_t;
27770     #endif
27771     #endif
27772     #endif
27773
27774     #ifndef _UINT16_T
27775     #define _UINT16_T
27776     #ifndef __uint16_t_defined
27777     #define __uint16_t_defined
27778     #ifndef uint16_t
27779     typedef u_int16_t uint16_t;
27780     #endif
27781     #endif
27782     #endif
27783
27784     #ifndef _UINT32_T
27785     #define _UINT32_T
27786     #ifndef __uint32_t_defined
27787     #define __uint32_t_defined
27788     #ifndef uint32_t
27789     typedef u_int32_t uint32_t;
27790     #endif
27791     #endif
27792     #endif
27793 EOF
27794 else
27795   sed 's/^ *//' >> tmp-stdint.h <<EOF
27796
27797     /* Some systems have guard macros to prevent redefinitions, define them.  */
27798     #ifndef _INT8_T
27799     #define _INT8_T
27800     #endif
27801     #ifndef _INT16_T
27802     #define _INT16_T
27803     #endif
27804     #ifndef _INT32_T
27805     #define _INT32_T
27806     #endif
27807     #ifndef _UINT8_T
27808     #define _UINT8_T
27809     #endif
27810     #ifndef _UINT16_T
27811     #define _UINT16_T
27812     #endif
27813     #ifndef _UINT32_T
27814     #define _UINT32_T
27815     #endif
27816 EOF
27817 fi
27818
27819 # ------------- done basic int types, emit int64_t types ------------
27820 if test "$ac_cv_type_uint64_t" = yes; then
27821   sed 's/^ *//' >> tmp-stdint.h <<EOF
27822
27823     /* system headers have good uint64_t and int64_t */
27824     #ifndef _INT64_T
27825     #define _INT64_T
27826     #endif
27827     #ifndef _UINT64_T
27828     #define _UINT64_T
27829     #endif
27830 EOF
27831 elif test "$ac_cv_type_u_int64_t" = yes; then
27832   sed 's/^ *//' >> tmp-stdint.h <<EOF
27833
27834     /* system headers have an u_int64_t (and int64_t) */
27835     #ifndef _INT64_T
27836     #define _INT64_T
27837     #endif
27838     #ifndef _UINT64_T
27839     #define _UINT64_T
27840     #ifndef __uint64_t_defined
27841     #define __uint64_t_defined
27842     #ifndef uint64_t
27843     typedef u_int64_t uint64_t;
27844     #endif
27845     #endif
27846     #endif
27847 EOF
27848 elif test -n "$acx_cv_type_int64_t"; then
27849   sed 's/^ *//' >> tmp-stdint.h <<EOF
27850
27851     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27852     #ifndef _INT64_T
27853     #define _INT64_T
27854     #ifndef int64_t
27855     typedef $acx_cv_type_int64_t int64_t;
27856     #endif
27857     #endif
27858     #ifndef _UINT64_T
27859     #define _UINT64_T
27860     #ifndef __uint64_t_defined
27861     #define __uint64_t_defined
27862     #ifndef uint64_t
27863     typedef unsigned $acx_cv_type_int64_t uint64_t;
27864     #endif
27865     #endif
27866     #endif
27867 EOF
27868 else
27869   sed 's/^ *//' >> tmp-stdint.h <<EOF
27870
27871     /* some common heuristics for int64_t, using compiler-specific tests */
27872     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27873     #ifndef _INT64_T
27874     #define _INT64_T
27875     #ifndef __int64_t_defined
27876     #ifndef int64_t
27877     typedef long long int64_t;
27878     #endif
27879     #endif
27880     #endif
27881     #ifndef _UINT64_T
27882     #define _UINT64_T
27883     #ifndef uint64_t
27884     typedef unsigned long long uint64_t;
27885     #endif
27886     #endif
27887
27888     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27889     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27890        does not implement __extension__.  But that compiler doesn't define
27891        __GNUC_MINOR__.  */
27892     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27893     # define __extension__
27894     # endif
27895
27896     # ifndef _INT64_T
27897     # define _INT64_T
27898     # ifndef int64_t
27899     __extension__ typedef long long int64_t;
27900     # endif
27901     # endif
27902     # ifndef _UINT64_T
27903     # define _UINT64_T
27904     # ifndef uint64_t
27905     __extension__ typedef unsigned long long uint64_t;
27906     # endif
27907     # endif
27908
27909     #elif !defined __STRICT_ANSI__
27910     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27911
27912     #  ifndef _INT64_T
27913     #  define _INT64_T
27914     #  ifndef int64_t
27915     typedef __int64 int64_t;
27916     #  endif
27917     #  endif
27918     #  ifndef _UINT64_T
27919     #  define _UINT64_T
27920     #  ifndef uint64_t
27921     typedef unsigned __int64 uint64_t;
27922     #  endif
27923     #  endif
27924     # endif /* compiler */
27925
27926     #endif /* ANSI version */
27927 EOF
27928 fi
27929
27930 # ------------- done int64_t types, emit intptr types ------------
27931 if test "$ac_cv_type_uintptr_t" != yes; then
27932   sed 's/^ *//' >> tmp-stdint.h <<EOF
27933
27934     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27935     #ifndef __uintptr_t_defined
27936     #ifndef uintptr_t
27937     typedef u$acx_cv_type_intptr_t uintptr_t;
27938     #endif
27939     #endif
27940     #ifndef __intptr_t_defined
27941     #ifndef intptr_t
27942     typedef $acx_cv_type_intptr_t  intptr_t;
27943     #endif
27944     #endif
27945 EOF
27946 fi
27947
27948 # ------------- done intptr types, emit int_least types ------------
27949 if test "$ac_cv_type_int_least32_t" != yes; then
27950   sed 's/^ *//' >> tmp-stdint.h <<EOF
27951
27952     /* Define int_least types */
27953     typedef int8_t     int_least8_t;
27954     typedef int16_t    int_least16_t;
27955     typedef int32_t    int_least32_t;
27956     #ifdef _INT64_T
27957     typedef int64_t    int_least64_t;
27958     #endif
27959
27960     typedef uint8_t    uint_least8_t;
27961     typedef uint16_t   uint_least16_t;
27962     typedef uint32_t   uint_least32_t;
27963     #ifdef _UINT64_T
27964     typedef uint64_t   uint_least64_t;
27965     #endif
27966 EOF
27967 fi
27968
27969 # ------------- done intptr types, emit int_fast types ------------
27970 if test "$ac_cv_type_int_fast32_t" != yes; then
27971       sed 's/^ *//' >> tmp-stdint.h <<EOF
27972
27973     /* Define int_fast types.  short is often slow */
27974     typedef int8_t       int_fast8_t;
27975     typedef int          int_fast16_t;
27976     typedef int32_t      int_fast32_t;
27977     #ifdef _INT64_T
27978     typedef int64_t      int_fast64_t;
27979     #endif
27980
27981     typedef uint8_t      uint_fast8_t;
27982     typedef unsigned int uint_fast16_t;
27983     typedef uint32_t     uint_fast32_t;
27984     #ifdef _UINT64_T
27985     typedef uint64_t     uint_fast64_t;
27986     #endif
27987 EOF
27988 fi
27989
27990 if test "$ac_cv_type_uintmax_t" != yes; then
27991   sed 's/^ *//' >> tmp-stdint.h <<EOF
27992
27993     /* Define intmax based on what we found */
27994     #ifndef intmax_t
27995     #ifdef _INT64_T
27996     typedef int64_t       intmax_t;
27997     #else
27998     typedef long          intmax_t;
27999     #endif
28000     #endif
28001     #ifndef uintmax_t
28002     #ifdef _UINT64_T
28003     typedef uint64_t      uintmax_t;
28004     #else
28005     typedef unsigned long uintmax_t;
28006     #endif
28007     #endif
28008 EOF
28009 fi
28010
28011 sed 's/^ *//' >> tmp-stdint.h <<EOF
28012
28013   #endif /* GCC_GENERATED_STDINT_H */
28014 EOF
28015
28016 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28017   rm -f tmp-stdint.h
28018 else
28019   mv -f tmp-stdint.h gstdint.h
28020 fi
28021
28022  ;;
28023
28024   esac
28025 done # for ac_tag
28026
28027
28028 as_fn_exit 0
28029 _ACEOF
28030 ac_clean_files=$ac_clean_files_save
28031
28032 test $ac_write_fail = 0 ||
28033   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28034
28035
28036 # configure is writing to config.log, and then calls config.status.
28037 # config.status does its own redirection, appending to config.log.
28038 # Unfortunately, on DOS this fails, as config.log is still kept open
28039 # by configure, so config.status won't be able to write to it; its
28040 # output is simply discarded.  So we exec the FD to /dev/null,
28041 # effectively closing config.log, so it can be properly (re)opened and
28042 # appended to by config.status.  When coming back to configure, we
28043 # need to make the FD available again.
28044 if test "$no_create" != yes; then
28045   ac_cs_success=:
28046   ac_config_status_args=
28047   test "$silent" = yes &&
28048     ac_config_status_args="$ac_config_status_args --quiet"
28049   exec 5>/dev/null
28050   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28051   exec 5>>config.log
28052   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28053   # would make configure fail if this is the last instruction.
28054   $ac_cs_success || as_fn_exit $?
28055 fi
28056 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28057   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28058 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28059 fi
28060