OSDN Git Service

config/ChangeLog:
[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 '
768       ac_precious_vars='build_alias
769 host_alias
770 target_alias
771 CPP
772 CPPFLAGS
773 FC
774 FCFLAGS
775 LDFLAGS
776 LIBS'
777
778
779 # Initialize some variables set by options.
780 ac_init_help=
781 ac_init_version=false
782 ac_unrecognized_opts=
783 ac_unrecognized_sep=
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
786 cache_file=/dev/null
787 exec_prefix=NONE
788 no_create=
789 no_recursion=
790 prefix=NONE
791 program_prefix=NONE
792 program_suffix=NONE
793 program_transform_name=s,x,x,
794 silent=
795 site=
796 srcdir=
797 verbose=
798 x_includes=NONE
799 x_libraries=NONE
800
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir='${exec_prefix}/bin'
808 sbindir='${exec_prefix}/sbin'
809 libexecdir='${exec_prefix}/libexec'
810 datarootdir='${prefix}/share'
811 datadir='${datarootdir}'
812 sysconfdir='${prefix}/etc'
813 sharedstatedir='${prefix}/com'
814 localstatedir='${prefix}/var'
815 includedir='${prefix}/include'
816 oldincludedir='/usr/include'
817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir='${datarootdir}/info'
819 htmldir='${docdir}'
820 dvidir='${docdir}'
821 pdfdir='${docdir}'
822 psdir='${docdir}'
823 libdir='${exec_prefix}/lib'
824 localedir='${datarootdir}/locale'
825 mandir='${datarootdir}/man'
826
827 ac_prev=
828 ac_dashdash=
829 for ac_option
830 do
831   # If the previous option needs an argument, assign it.
832   if test -n "$ac_prev"; then
833     eval $ac_prev=\$ac_option
834     ac_prev=
835     continue
836   fi
837
838   case $ac_option in
839   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
840   *)    ac_optarg=yes ;;
841   esac
842
843   # Accept the important Cygnus configure options, so we can diagnose typos.
844
845   case $ac_dashdash$ac_option in
846   --)
847     ac_dashdash=yes ;;
848
849   -bindir | --bindir | --bindi | --bind | --bin | --bi)
850     ac_prev=bindir ;;
851   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
852     bindir=$ac_optarg ;;
853
854   -build | --build | --buil | --bui | --bu)
855     ac_prev=build_alias ;;
856   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857     build_alias=$ac_optarg ;;
858
859   -cache-file | --cache-file | --cache-fil | --cache-fi \
860   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861     ac_prev=cache_file ;;
862   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864     cache_file=$ac_optarg ;;
865
866   --config-cache | -C)
867     cache_file=config.cache ;;
868
869   -datadir | --datadir | --datadi | --datad)
870     ac_prev=datadir ;;
871   -datadir=* | --datadir=* | --datadi=* | --datad=*)
872     datadir=$ac_optarg ;;
873
874   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875   | --dataroo | --dataro | --datar)
876     ac_prev=datarootdir ;;
877   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879     datarootdir=$ac_optarg ;;
880
881   -disable-* | --disable-*)
882     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883     # Reject names that are not valid shell variable names.
884     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885       as_fn_error "invalid feature name: $ac_useropt"
886     ac_useropt_orig=$ac_useropt
887     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888     case $ac_user_opts in
889       *"
890 "enable_$ac_useropt"
891 "*) ;;
892       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893          ac_unrecognized_sep=', ';;
894     esac
895     eval enable_$ac_useropt=no ;;
896
897   -docdir | --docdir | --docdi | --doc | --do)
898     ac_prev=docdir ;;
899   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
900     docdir=$ac_optarg ;;
901
902   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903     ac_prev=dvidir ;;
904   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
905     dvidir=$ac_optarg ;;
906
907   -enable-* | --enable-*)
908     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909     # Reject names that are not valid shell variable names.
910     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911       as_fn_error "invalid feature name: $ac_useropt"
912     ac_useropt_orig=$ac_useropt
913     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914     case $ac_user_opts in
915       *"
916 "enable_$ac_useropt"
917 "*) ;;
918       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
919          ac_unrecognized_sep=', ';;
920     esac
921     eval enable_$ac_useropt=\$ac_optarg ;;
922
923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925   | --exec | --exe | --ex)
926     ac_prev=exec_prefix ;;
927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929   | --exec=* | --exe=* | --ex=*)
930     exec_prefix=$ac_optarg ;;
931
932   -gas | --gas | --ga | --g)
933     # Obsolete; use --with-gas.
934     with_gas=yes ;;
935
936   -help | --help | --hel | --he | -h)
937     ac_init_help=long ;;
938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939     ac_init_help=recursive ;;
940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941     ac_init_help=short ;;
942
943   -host | --host | --hos | --ho)
944     ac_prev=host_alias ;;
945   -host=* | --host=* | --hos=* | --ho=*)
946     host_alias=$ac_optarg ;;
947
948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949     ac_prev=htmldir ;;
950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951   | --ht=*)
952     htmldir=$ac_optarg ;;
953
954   -includedir | --includedir | --includedi | --included | --include \
955   | --includ | --inclu | --incl | --inc)
956     ac_prev=includedir ;;
957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958   | --includ=* | --inclu=* | --incl=* | --inc=*)
959     includedir=$ac_optarg ;;
960
961   -infodir | --infodir | --infodi | --infod | --info | --inf)
962     ac_prev=infodir ;;
963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964     infodir=$ac_optarg ;;
965
966   -libdir | --libdir | --libdi | --libd)
967     ac_prev=libdir ;;
968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
969     libdir=$ac_optarg ;;
970
971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972   | --libexe | --libex | --libe)
973     ac_prev=libexecdir ;;
974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975   | --libexe=* | --libex=* | --libe=*)
976     libexecdir=$ac_optarg ;;
977
978   -localedir | --localedir | --localedi | --localed | --locale)
979     ac_prev=localedir ;;
980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981     localedir=$ac_optarg ;;
982
983   -localstatedir | --localstatedir | --localstatedi | --localstated \
984   | --localstate | --localstat | --localsta | --localst | --locals)
985     ac_prev=localstatedir ;;
986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988     localstatedir=$ac_optarg ;;
989
990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991     ac_prev=mandir ;;
992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993     mandir=$ac_optarg ;;
994
995   -nfp | --nfp | --nf)
996     # Obsolete; use --without-fp.
997     with_fp=no ;;
998
999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000   | --no-cr | --no-c | -n)
1001     no_create=yes ;;
1002
1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005     no_recursion=yes ;;
1006
1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009   | --oldin | --oldi | --old | --ol | --o)
1010     ac_prev=oldincludedir ;;
1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014     oldincludedir=$ac_optarg ;;
1015
1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017     ac_prev=prefix ;;
1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019     prefix=$ac_optarg ;;
1020
1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1022   | --program-pre | --program-pr | --program-p)
1023     ac_prev=program_prefix ;;
1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026     program_prefix=$ac_optarg ;;
1027
1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1029   | --program-suf | --program-su | --program-s)
1030     ac_prev=program_suffix ;;
1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033     program_suffix=$ac_optarg ;;
1034
1035   -program-transform-name | --program-transform-name \
1036   | --program-transform-nam | --program-transform-na \
1037   | --program-transform-n | --program-transform- \
1038   | --program-transform | --program-transfor \
1039   | --program-transfo | --program-transf \
1040   | --program-trans | --program-tran \
1041   | --progr-tra | --program-tr | --program-t)
1042     ac_prev=program_transform_name ;;
1043   -program-transform-name=* | --program-transform-name=* \
1044   | --program-transform-nam=* | --program-transform-na=* \
1045   | --program-transform-n=* | --program-transform-=* \
1046   | --program-transform=* | --program-transfor=* \
1047   | --program-transfo=* | --program-transf=* \
1048   | --program-trans=* | --program-tran=* \
1049   | --progr-tra=* | --program-tr=* | --program-t=*)
1050     program_transform_name=$ac_optarg ;;
1051
1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053     ac_prev=pdfdir ;;
1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055     pdfdir=$ac_optarg ;;
1056
1057   -psdir | --psdir | --psdi | --psd | --ps)
1058     ac_prev=psdir ;;
1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060     psdir=$ac_optarg ;;
1061
1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063   | -silent | --silent | --silen | --sile | --sil)
1064     silent=yes ;;
1065
1066   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067     ac_prev=sbindir ;;
1068   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069   | --sbi=* | --sb=*)
1070     sbindir=$ac_optarg ;;
1071
1072   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1073   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074   | --sharedst | --shareds | --shared | --share | --shar \
1075   | --sha | --sh)
1076     ac_prev=sharedstatedir ;;
1077   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080   | --sha=* | --sh=*)
1081     sharedstatedir=$ac_optarg ;;
1082
1083   -site | --site | --sit)
1084     ac_prev=site ;;
1085   -site=* | --site=* | --sit=*)
1086     site=$ac_optarg ;;
1087
1088   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089     ac_prev=srcdir ;;
1090   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091     srcdir=$ac_optarg ;;
1092
1093   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094   | --syscon | --sysco | --sysc | --sys | --sy)
1095     ac_prev=sysconfdir ;;
1096   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098     sysconfdir=$ac_optarg ;;
1099
1100   -target | --target | --targe | --targ | --tar | --ta | --t)
1101     ac_prev=target_alias ;;
1102   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103     target_alias=$ac_optarg ;;
1104
1105   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106     verbose=yes ;;
1107
1108   -version | --version | --versio | --versi | --vers | -V)
1109     ac_init_version=: ;;
1110
1111   -with-* | --with-*)
1112     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115       as_fn_error "invalid package name: $ac_useropt"
1116     ac_useropt_orig=$ac_useropt
1117     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118     case $ac_user_opts in
1119       *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1123          ac_unrecognized_sep=', ';;
1124     esac
1125     eval with_$ac_useropt=\$ac_optarg ;;
1126
1127   -without-* | --without-*)
1128     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129     # Reject names that are not valid shell variable names.
1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131       as_fn_error "invalid package name: $ac_useropt"
1132     ac_useropt_orig=$ac_useropt
1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134     case $ac_user_opts in
1135       *"
1136 "with_$ac_useropt"
1137 "*) ;;
1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139          ac_unrecognized_sep=', ';;
1140     esac
1141     eval with_$ac_useropt=no ;;
1142
1143   --x)
1144     # Obsolete; use --with-x.
1145     with_x=yes ;;
1146
1147   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1148   | --x-incl | --x-inc | --x-in | --x-i)
1149     ac_prev=x_includes ;;
1150   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1151   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1152     x_includes=$ac_optarg ;;
1153
1154   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1155   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1156     ac_prev=x_libraries ;;
1157   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1158   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1159     x_libraries=$ac_optarg ;;
1160
1161   -*) as_fn_error "unrecognized option: \`$ac_option'
1162 Try \`$0 --help' for more information."
1163     ;;
1164
1165   *=*)
1166     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1167     # Reject names that are not valid shell variable names.
1168     case $ac_envvar in #(
1169       '' | [0-9]* | *[!_$as_cr_alnum]* )
1170       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1171     esac
1172     eval $ac_envvar=\$ac_optarg
1173     export $ac_envvar ;;
1174
1175   *)
1176     # FIXME: should be removed in autoconf 3.0.
1177     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1179       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1181     ;;
1182
1183   esac
1184 done
1185
1186 if test -n "$ac_prev"; then
1187   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1188   as_fn_error "missing argument to $ac_option"
1189 fi
1190
1191 if test -n "$ac_unrecognized_opts"; then
1192   case $enable_option_checking in
1193     no) ;;
1194     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1195     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196   esac
1197 fi
1198
1199 # Check all directory arguments for consistency.
1200 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201                 datadir sysconfdir sharedstatedir localstatedir includedir \
1202                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203                 libdir localedir mandir
1204 do
1205   eval ac_val=\$$ac_var
1206   # Remove trailing slashes.
1207   case $ac_val in
1208     */ )
1209       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210       eval $ac_var=\$ac_val;;
1211   esac
1212   # Be sure to have absolute directory names.
1213   case $ac_val in
1214     [\\/$]* | ?:[\\/]* )  continue;;
1215     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216   esac
1217   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1218 done
1219
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1223 build=$build_alias
1224 host=$host_alias
1225 target=$target_alias
1226
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x; then
1229   if test "x$build_alias" = x; then
1230     cross_compiling=maybe
1231     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1232     If a cross compiler is detected then cross compile mode will be used." >&2
1233   elif test "x$build_alias" != "x$host_alias"; then
1234     cross_compiling=yes
1235   fi
1236 fi
1237
1238 ac_tool_prefix=
1239 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1240
1241 test "$silent" = yes && exec 6>/dev/null
1242
1243
1244 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1245 ac_ls_di=`ls -di .` &&
1246 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1247   as_fn_error "working directory cannot be determined"
1248 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1249   as_fn_error "pwd does not report name of working directory"
1250
1251
1252 # Find the source files, if location was not specified.
1253 if test -z "$srcdir"; then
1254   ac_srcdir_defaulted=yes
1255   # Try the directory containing this script, then the parent directory.
1256   ac_confdir=`$as_dirname -- "$as_myself" ||
1257 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1258          X"$as_myself" : 'X\(//\)[^/]' \| \
1259          X"$as_myself" : 'X\(//\)$' \| \
1260          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1261 $as_echo X"$as_myself" |
1262     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263             s//\1/
1264             q
1265           }
1266           /^X\(\/\/\)[^/].*/{
1267             s//\1/
1268             q
1269           }
1270           /^X\(\/\/\)$/{
1271             s//\1/
1272             q
1273           }
1274           /^X\(\/\).*/{
1275             s//\1/
1276             q
1277           }
1278           s/.*/./; q'`
1279   srcdir=$ac_confdir
1280   if test ! -r "$srcdir/$ac_unique_file"; then
1281     srcdir=..
1282   fi
1283 else
1284   ac_srcdir_defaulted=no
1285 fi
1286 if test ! -r "$srcdir/$ac_unique_file"; then
1287   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1288   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1289 fi
1290 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 ac_abs_confdir=`(
1292         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1293         pwd)`
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1296   srcdir=.
1297 fi
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1301 case $srcdir in
1302 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 esac
1304 for ac_var in $ac_precious_vars; do
1305   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1306   eval ac_env_${ac_var}_value=\$${ac_var}
1307   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1308   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1309 done
1310
1311 #
1312 # Report the --help message.
1313 #
1314 if test "$ac_init_help" = "long"; then
1315   # Omit some internal or obsolete options to make the list less imposing.
1316   # This message is too long to be a string in the A/UX 3.1 sh.
1317   cat <<_ACEOF
1318 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1319
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1321
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE.  See below for descriptions of some of the useful variables.
1324
1325 Defaults for the options are specified in brackets.
1326
1327 Configuration:
1328   -h, --help              display this help and exit
1329       --help=short        display options specific to this package
1330       --help=recursive    display the short help of all the included packages
1331   -V, --version           display version information and exit
1332   -q, --quiet, --silent   do not print \`checking...' messages
1333       --cache-file=FILE   cache test results in FILE [disabled]
1334   -C, --config-cache      alias for \`--cache-file=config.cache'
1335   -n, --no-create         do not create output files
1336       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1337
1338 Installation directories:
1339   --prefix=PREFIX         install architecture-independent files in PREFIX
1340                           [$ac_default_prefix]
1341   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1342                           [PREFIX]
1343
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1348
1349 For better control, use the options below.
1350
1351 Fine tuning of the installation directories:
1352   --bindir=DIR            user executables [EPREFIX/bin]
1353   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1354   --libexecdir=DIR        program executables [EPREFIX/libexec]
1355   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1356   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1357   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1358   --libdir=DIR            object code libraries [EPREFIX/lib]
1359   --includedir=DIR        C header files [PREFIX/include]
1360   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1361   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1362   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1363   --infodir=DIR           info documentation [DATAROOTDIR/info]
1364   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1365   --mandir=DIR            man documentation [DATAROOTDIR/man]
1366   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1367   --htmldir=DIR           html documentation [DOCDIR]
1368   --dvidir=DIR            dvi documentation [DOCDIR]
1369   --pdfdir=DIR            pdf documentation [DOCDIR]
1370   --psdir=DIR             ps documentation [DOCDIR]
1371 _ACEOF
1372
1373   cat <<\_ACEOF
1374
1375 Program names:
1376   --program-prefix=PREFIX            prepend PREFIX to installed program names
1377   --program-suffix=SUFFIX            append SUFFIX to installed program names
1378   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1379
1380 System types:
1381   --build=BUILD     configure for building on BUILD [guessed]
1382   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1383   --target=TARGET   configure for building compilers for TARGET [HOST]
1384 _ACEOF
1385 fi
1386
1387 if test -n "$ac_init_help"; then
1388   case $ac_init_help in
1389      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1390    esac
1391   cat <<\_ACEOF
1392
1393 Optional Features:
1394   --disable-option-checking  ignore unrecognized --enable/--with options
1395   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1396   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1397   --enable-version-specific-runtime-libs    Specify that runtime libraries should be installed in a compiler-specific directory
1398   --enable-intermodule    build the library in one step
1399   --enable-maintainer-mode  enable make rules and dependencies not useful
1400                           (and sometimes confusing) to the casual installer
1401   --enable-multilib       build many library versions (default)
1402   --disable-dependency-tracking  speeds up one-time build
1403   --enable-dependency-tracking   do not reject slow dependency extractors
1404   --enable-shared[=PKGS]  build shared libraries [default=yes]
1405   --enable-static[=PKGS]  build static libraries [default=yes]
1406   --enable-fast-install[=PKGS]
1407                           optimize for fast installation [default=yes]
1408   --disable-libtool-lock  avoid locking (might break parallel builds)
1409   --disable-largefile     omit support for large files
1410
1411 Optional Packages:
1412   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1413   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1414   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1415   --with-pic              try to use only PIC/non-PIC objects [default=use
1416                           both]
1417   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1418
1419 Some influential environment variables:
1420   CC          C compiler command
1421   CFLAGS      C compiler flags
1422   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1423               nonstandard directory <lib dir>
1424   LIBS        libraries to pass to the linker, e.g. -l<library>
1425   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1426               you have headers in a nonstandard directory <include dir>
1427   CPP         C preprocessor
1428   FC          Fortran compiler command
1429   FCFLAGS     Fortran compiler flags
1430
1431 Use these variables to override the choices made by `configure' or to help
1432 it to find libraries and programs with nonstandard names/locations.
1433
1434 Report bugs to the package provider.
1435 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1436 General help using GNU software: <http://www.gnu.org/gethelp/>.
1437 _ACEOF
1438 ac_status=$?
1439 fi
1440
1441 if test "$ac_init_help" = "recursive"; then
1442   # If there are subdirs, report their specific --help.
1443   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1444     test -d "$ac_dir" ||
1445       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1446       continue
1447     ac_builddir=.
1448
1449 case "$ac_dir" in
1450 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1451 *)
1452   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1453   # A ".." for each directory in $ac_dir_suffix.
1454   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1455   case $ac_top_builddir_sub in
1456   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1457   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1458   esac ;;
1459 esac
1460 ac_abs_top_builddir=$ac_pwd
1461 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1462 # for backward compatibility:
1463 ac_top_builddir=$ac_top_build_prefix
1464
1465 case $srcdir in
1466   .)  # We are building in place.
1467     ac_srcdir=.
1468     ac_top_srcdir=$ac_top_builddir_sub
1469     ac_abs_top_srcdir=$ac_pwd ;;
1470   [\\/]* | ?:[\\/]* )  # Absolute name.
1471     ac_srcdir=$srcdir$ac_dir_suffix;
1472     ac_top_srcdir=$srcdir
1473     ac_abs_top_srcdir=$srcdir ;;
1474   *) # Relative name.
1475     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1476     ac_top_srcdir=$ac_top_build_prefix$srcdir
1477     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1478 esac
1479 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1480
1481     cd "$ac_dir" || { ac_status=$?; continue; }
1482     # Check for guested configure.
1483     if test -f "$ac_srcdir/configure.gnu"; then
1484       echo &&
1485       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1486     elif test -f "$ac_srcdir/configure"; then
1487       echo &&
1488       $SHELL "$ac_srcdir/configure" --help=recursive
1489     else
1490       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1491     fi || ac_status=$?
1492     cd "$ac_pwd" || { ac_status=$?; break; }
1493   done
1494 fi
1495
1496 test -n "$ac_init_help" && exit $ac_status
1497 if $ac_init_version; then
1498   cat <<\_ACEOF
1499 GNU Fortran Runtime Library configure 0.3
1500 generated by GNU Autoconf 2.64
1501
1502 Copyright (C) 2009 Free Software Foundation, Inc.
1503 This configure script is free software; the Free Software Foundation
1504 gives unlimited permission to copy, distribute and modify it.
1505 _ACEOF
1506   exit
1507 fi
1508
1509 ## ------------------------ ##
1510 ## Autoconf initialization. ##
1511 ## ------------------------ ##
1512
1513 # ac_fn_c_try_compile LINENO
1514 # --------------------------
1515 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1516 ac_fn_c_try_compile ()
1517 {
1518   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1519   rm -f conftest.$ac_objext
1520   if { { ac_try="$ac_compile"
1521 case "(($ac_try" in
1522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523   *) ac_try_echo=$ac_try;;
1524 esac
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527   (eval "$ac_compile") 2>conftest.err
1528   ac_status=$?
1529   if test -s conftest.err; then
1530     grep -v '^ *+' conftest.err >conftest.er1
1531     cat conftest.er1 >&5
1532     mv -f conftest.er1 conftest.err
1533   fi
1534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535   test $ac_status = 0; } && {
1536          test -z "$ac_c_werror_flag" ||
1537          test ! -s conftest.err
1538        } && test -s conftest.$ac_objext; then :
1539   ac_retval=0
1540 else
1541   $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1543
1544         ac_retval=1
1545 fi
1546   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1547   return $ac_retval
1548
1549 } # ac_fn_c_try_compile
1550
1551 # ac_fn_c_try_link LINENO
1552 # -----------------------
1553 # Try to link conftest.$ac_ext, and return whether this succeeded.
1554 ac_fn_c_try_link ()
1555 {
1556   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1557   rm -f conftest.$ac_objext conftest$ac_exeext
1558   if { { ac_try="$ac_link"
1559 case "(($ac_try" in
1560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1561   *) ac_try_echo=$ac_try;;
1562 esac
1563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1564 $as_echo "$ac_try_echo"; } >&5
1565   (eval "$ac_link") 2>conftest.err
1566   ac_status=$?
1567   if test -s conftest.err; then
1568     grep -v '^ *+' conftest.err >conftest.er1
1569     cat conftest.er1 >&5
1570     mv -f conftest.er1 conftest.err
1571   fi
1572   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1573   test $ac_status = 0; } && {
1574          test -z "$ac_c_werror_flag" ||
1575          test ! -s conftest.err
1576        } && test -s conftest$ac_exeext && {
1577          test "$cross_compiling" = yes ||
1578          $as_test_x conftest$ac_exeext
1579        }; then :
1580   ac_retval=0
1581 else
1582   $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1584
1585         ac_retval=1
1586 fi
1587   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1588   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1589   # interfere with the next link command; also delete a directory that is
1590   # left behind by Apple's compiler.  We do this before executing the actions.
1591   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1592   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1593   return $ac_retval
1594
1595 } # ac_fn_c_try_link
1596
1597 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1598 # -------------------------------------------------------
1599 # Tests whether HEADER exists and can be compiled using the include files in
1600 # INCLUDES, setting the cache variable VAR accordingly.
1601 ac_fn_c_check_header_compile ()
1602 {
1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1605 $as_echo_n "checking for $2... " >&6; }
1606 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1607   $as_echo_n "(cached) " >&6
1608 else
1609   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1610 /* end confdefs.h.  */
1611 $4
1612 #include <$2>
1613 _ACEOF
1614 if ac_fn_c_try_compile "$LINENO"; then :
1615   eval "$3=yes"
1616 else
1617   eval "$3=no"
1618 fi
1619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1620 fi
1621 eval ac_res=\$$3
1622                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1623 $as_echo "$ac_res" >&6; }
1624   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1625
1626 } # ac_fn_c_check_header_compile
1627
1628 # ac_fn_c_try_cpp LINENO
1629 # ----------------------
1630 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1631 ac_fn_c_try_cpp ()
1632 {
1633   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634   if { { ac_try="$ac_cpp conftest.$ac_ext"
1635 case "(($ac_try" in
1636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1637   *) ac_try_echo=$ac_try;;
1638 esac
1639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1640 $as_echo "$ac_try_echo"; } >&5
1641   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1642   ac_status=$?
1643   if test -s conftest.err; then
1644     grep -v '^ *+' conftest.err >conftest.er1
1645     cat conftest.er1 >&5
1646     mv -f conftest.er1 conftest.err
1647   fi
1648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1649   test $ac_status = 0; } >/dev/null && {
1650          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1651          test ! -s conftest.err
1652        }; then :
1653   ac_retval=0
1654 else
1655   $as_echo "$as_me: failed program was:" >&5
1656 sed 's/^/| /' conftest.$ac_ext >&5
1657
1658     ac_retval=1
1659 fi
1660   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1661   return $ac_retval
1662
1663 } # ac_fn_c_try_cpp
1664
1665 # ac_fn_c_try_run LINENO
1666 # ----------------------
1667 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1668 # that executables *can* be run.
1669 ac_fn_c_try_run ()
1670 {
1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1672   if { { ac_try="$ac_link"
1673 case "(($ac_try" in
1674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675   *) ac_try_echo=$ac_try;;
1676 esac
1677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678 $as_echo "$ac_try_echo"; } >&5
1679   (eval "$ac_link") 2>&5
1680   ac_status=$?
1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1682   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1683   { { case "(($ac_try" in
1684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685   *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689   (eval "$ac_try") 2>&5
1690   ac_status=$?
1691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692   test $ac_status = 0; }; }; then :
1693   ac_retval=0
1694 else
1695   $as_echo "$as_me: program exited with status $ac_status" >&5
1696        $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1698
1699        ac_retval=$ac_status
1700 fi
1701   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1702   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1703   return $ac_retval
1704
1705 } # ac_fn_c_try_run
1706
1707 # ac_fn_c_check_func LINENO FUNC VAR
1708 # ----------------------------------
1709 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1710 ac_fn_c_check_func ()
1711 {
1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1714 $as_echo_n "checking for $2... " >&6; }
1715 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1716   $as_echo_n "(cached) " >&6
1717 else
1718   if test x$gcc_no_link = xyes; then
1719   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1720 fi
1721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1722 /* end confdefs.h.  */
1723 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1724    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1725 #define $2 innocuous_$2
1726
1727 /* System header to define __stub macros and hopefully few prototypes,
1728     which can conflict with char $2 (); below.
1729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1730     <limits.h> exists even on freestanding compilers.  */
1731
1732 #ifdef __STDC__
1733 # include <limits.h>
1734 #else
1735 # include <assert.h>
1736 #endif
1737
1738 #undef $2
1739
1740 /* Override any GCC internal prototype to avoid an error.
1741    Use char because int might match the return type of a GCC
1742    builtin and then its argument prototype would still apply.  */
1743 #ifdef __cplusplus
1744 extern "C"
1745 #endif
1746 char $2 ();
1747 /* The GNU C library defines this for functions which it implements
1748     to always fail with ENOSYS.  Some functions are actually named
1749     something starting with __ and the normal name is an alias.  */
1750 #if defined __stub_$2 || defined __stub___$2
1751 choke me
1752 #endif
1753
1754 int
1755 main ()
1756 {
1757 return $2 ();
1758   ;
1759   return 0;
1760 }
1761 _ACEOF
1762 if ac_fn_c_try_link "$LINENO"; then :
1763   eval "$3=yes"
1764 else
1765   eval "$3=no"
1766 fi
1767 rm -f core conftest.err conftest.$ac_objext \
1768     conftest$ac_exeext conftest.$ac_ext
1769 fi
1770 eval ac_res=\$$3
1771                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1773   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1774
1775 } # ac_fn_c_check_func
1776
1777 # ac_fn_fc_try_compile LINENO
1778 # ---------------------------
1779 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1780 ac_fn_fc_try_compile ()
1781 {
1782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783   rm -f conftest.$ac_objext
1784   if { { ac_try="$ac_compile"
1785 case "(($ac_try" in
1786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787   *) ac_try_echo=$ac_try;;
1788 esac
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791   (eval "$ac_compile") 2>conftest.err
1792   ac_status=$?
1793   if test -s conftest.err; then
1794     grep -v '^ *+' conftest.err >conftest.er1
1795     cat conftest.er1 >&5
1796     mv -f conftest.er1 conftest.err
1797   fi
1798   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799   test $ac_status = 0; } && {
1800          test -z "$ac_fc_werror_flag" ||
1801          test ! -s conftest.err
1802        } && test -s conftest.$ac_objext; then :
1803   ac_retval=0
1804 else
1805   $as_echo "$as_me: failed program was:" >&5
1806 sed 's/^/| /' conftest.$ac_ext >&5
1807
1808         ac_retval=1
1809 fi
1810   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1811   return $ac_retval
1812
1813 } # ac_fn_fc_try_compile
1814
1815 # ac_fn_fc_try_link LINENO
1816 # ------------------------
1817 # Try to link conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_fc_try_link ()
1819 {
1820   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821   rm -f conftest.$ac_objext conftest$ac_exeext
1822   if { { ac_try="$ac_link"
1823 case "(($ac_try" in
1824   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825   *) ac_try_echo=$ac_try;;
1826 esac
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829   (eval "$ac_link") 2>conftest.err
1830   ac_status=$?
1831   if test -s conftest.err; then
1832     grep -v '^ *+' conftest.err >conftest.er1
1833     cat conftest.er1 >&5
1834     mv -f conftest.er1 conftest.err
1835   fi
1836   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837   test $ac_status = 0; } && {
1838          test -z "$ac_fc_werror_flag" ||
1839          test ! -s conftest.err
1840        } && test -s conftest$ac_exeext && {
1841          test "$cross_compiling" = yes ||
1842          $as_test_x conftest$ac_exeext
1843        }; then :
1844   ac_retval=0
1845 else
1846   $as_echo "$as_me: failed program was:" >&5
1847 sed 's/^/| /' conftest.$ac_ext >&5
1848
1849         ac_retval=1
1850 fi
1851   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1852   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1853   # interfere with the next link command; also delete a directory that is
1854   # left behind by Apple's compiler.  We do this before executing the actions.
1855   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1856   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1857   return $ac_retval
1858
1859 } # ac_fn_fc_try_link
1860
1861 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1862 # -------------------------------------------
1863 # Tests whether TYPE exists after having included INCLUDES, setting cache
1864 # variable VAR accordingly.
1865 ac_fn_c_check_type ()
1866 {
1867   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1871   $as_echo_n "(cached) " >&6
1872 else
1873   eval "$3=no"
1874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h.  */
1876 $4
1877 int
1878 main ()
1879 {
1880 if (sizeof ($2))
1881          return 0;
1882   ;
1883   return 0;
1884 }
1885 _ACEOF
1886 if ac_fn_c_try_compile "$LINENO"; then :
1887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h.  */
1889 $4
1890 int
1891 main ()
1892 {
1893 if (sizeof (($2)))
1894             return 0;
1895   ;
1896   return 0;
1897 }
1898 _ACEOF
1899 if ac_fn_c_try_compile "$LINENO"; then :
1900
1901 else
1902   eval "$3=yes"
1903 fi
1904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1905 fi
1906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907 fi
1908 eval ac_res=\$$3
1909                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912
1913 } # ac_fn_c_check_type
1914
1915 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1916 # -------------------------------------------------------
1917 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1918 # the include files in INCLUDES and setting the cache variable VAR
1919 # accordingly.
1920 ac_fn_c_check_header_mongrel ()
1921 {
1922   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1923   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1925 $as_echo_n "checking for $2... " >&6; }
1926 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1927   $as_echo_n "(cached) " >&6
1928 fi
1929 eval ac_res=\$$3
1930                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931 $as_echo "$ac_res" >&6; }
1932 else
1933   # Is the header compilable?
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1935 $as_echo_n "checking $2 usability... " >&6; }
1936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h.  */
1938 $4
1939 #include <$2>
1940 _ACEOF
1941 if ac_fn_c_try_compile "$LINENO"; then :
1942   ac_header_compiler=yes
1943 else
1944   ac_header_compiler=no
1945 fi
1946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1948 $as_echo "$ac_header_compiler" >&6; }
1949
1950 # Is the header present?
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1952 $as_echo_n "checking $2 presence... " >&6; }
1953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1954 /* end confdefs.h.  */
1955 #include <$2>
1956 _ACEOF
1957 if ac_fn_c_try_cpp "$LINENO"; then :
1958   ac_header_preproc=yes
1959 else
1960   ac_header_preproc=no
1961 fi
1962 rm -f conftest.err conftest.$ac_ext
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1964 $as_echo "$ac_header_preproc" >&6; }
1965
1966 # So?  What about this header?
1967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1968   yes:no: )
1969     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1970 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1972 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1973     ;;
1974   no:yes:* )
1975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1976 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1977     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1978 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1979     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1980 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1981     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1982 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1983     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1984 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1985     ;;
1986 esac
1987   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988 $as_echo_n "checking for $2... " >&6; }
1989 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1990   $as_echo_n "(cached) " >&6
1991 else
1992   eval "$3=\$ac_header_compiler"
1993 fi
1994 eval ac_res=\$$3
1995                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1997 fi
1998   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1999
2000 } # ac_fn_c_check_header_mongrel
2001
2002 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2003 # --------------------------------------------
2004 # Tries to find the compile-time value of EXPR in a program that includes
2005 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2006 # computed
2007 ac_fn_c_compute_int ()
2008 {
2009   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2010   if test "$cross_compiling" = yes; then
2011     # Depending upon the size, compute the lo and hi bounds.
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h.  */
2014 $4
2015 int
2016 main ()
2017 {
2018 static int test_array [1 - 2 * !(($2) >= 0)];
2019 test_array [0] = 0
2020
2021   ;
2022   return 0;
2023 }
2024 _ACEOF
2025 if ac_fn_c_try_compile "$LINENO"; then :
2026   ac_lo=0 ac_mid=0
2027   while :; do
2028     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h.  */
2030 $4
2031 int
2032 main ()
2033 {
2034 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2035 test_array [0] = 0
2036
2037   ;
2038   return 0;
2039 }
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042   ac_hi=$ac_mid; break
2043 else
2044   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2045                         if test $ac_lo -le $ac_mid; then
2046                           ac_lo= ac_hi=
2047                           break
2048                         fi
2049                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2050 fi
2051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2052   done
2053 else
2054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055 /* end confdefs.h.  */
2056 $4
2057 int
2058 main ()
2059 {
2060 static int test_array [1 - 2 * !(($2) < 0)];
2061 test_array [0] = 0
2062
2063   ;
2064   return 0;
2065 }
2066 _ACEOF
2067 if ac_fn_c_try_compile "$LINENO"; then :
2068   ac_hi=-1 ac_mid=-1
2069   while :; do
2070     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h.  */
2072 $4
2073 int
2074 main ()
2075 {
2076 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2077 test_array [0] = 0
2078
2079   ;
2080   return 0;
2081 }
2082 _ACEOF
2083 if ac_fn_c_try_compile "$LINENO"; then :
2084   ac_lo=$ac_mid; break
2085 else
2086   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2087                         if test $ac_mid -le $ac_hi; then
2088                           ac_lo= ac_hi=
2089                           break
2090                         fi
2091                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2092 fi
2093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094   done
2095 else
2096   ac_lo= ac_hi=
2097 fi
2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 # Binary search between lo and hi bounds.
2102 while test "x$ac_lo" != "x$ac_hi"; do
2103   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h.  */
2106 $4
2107 int
2108 main ()
2109 {
2110 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2111 test_array [0] = 0
2112
2113   ;
2114   return 0;
2115 }
2116 _ACEOF
2117 if ac_fn_c_try_compile "$LINENO"; then :
2118   ac_hi=$ac_mid
2119 else
2120   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2121 fi
2122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2123 done
2124 case $ac_lo in #((
2125 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2126 '') ac_retval=1 ;;
2127 esac
2128   else
2129     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2130 /* end confdefs.h.  */
2131 $4
2132 static long int longval () { return $2; }
2133 static unsigned long int ulongval () { return $2; }
2134 #include <stdio.h>
2135 #include <stdlib.h>
2136 int
2137 main ()
2138 {
2139
2140   FILE *f = fopen ("conftest.val", "w");
2141   if (! f)
2142     return 1;
2143   if (($2) < 0)
2144     {
2145       long int i = longval ();
2146       if (i != ($2))
2147         return 1;
2148       fprintf (f, "%ld", i);
2149     }
2150   else
2151     {
2152       unsigned long int i = ulongval ();
2153       if (i != ($2))
2154         return 1;
2155       fprintf (f, "%lu", i);
2156     }
2157   /* Do not output a trailing newline, as this causes \r\n confusion
2158      on some platforms.  */
2159   return ferror (f) || fclose (f) != 0;
2160
2161   ;
2162   return 0;
2163 }
2164 _ACEOF
2165 if ac_fn_c_try_run "$LINENO"; then :
2166   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2167 else
2168   ac_retval=1
2169 fi
2170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2171   conftest.$ac_objext conftest.beam conftest.$ac_ext
2172 rm -f conftest.val
2173
2174   fi
2175   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2176   return $ac_retval
2177
2178 } # ac_fn_c_compute_int
2179
2180 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2181 # ----------------------------------------------------
2182 # Tries to find if the field MEMBER exists in type AGGR, after including
2183 # INCLUDES, setting cache variable VAR accordingly.
2184 ac_fn_c_check_member ()
2185 {
2186   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2188 $as_echo_n "checking for $2.$3... " >&6; }
2189 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2190   $as_echo_n "(cached) " >&6
2191 else
2192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2193 /* end confdefs.h.  */
2194 $5
2195 int
2196 main ()
2197 {
2198 static $2 ac_aggr;
2199 if (ac_aggr.$3)
2200 return 0;
2201   ;
2202   return 0;
2203 }
2204 _ACEOF
2205 if ac_fn_c_try_compile "$LINENO"; then :
2206   eval "$4=yes"
2207 else
2208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h.  */
2210 $5
2211 int
2212 main ()
2213 {
2214 static $2 ac_aggr;
2215 if (sizeof ac_aggr.$3)
2216 return 0;
2217   ;
2218   return 0;
2219 }
2220 _ACEOF
2221 if ac_fn_c_try_compile "$LINENO"; then :
2222   eval "$4=yes"
2223 else
2224   eval "$4=no"
2225 fi
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 fi
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2229 fi
2230 eval ac_res=\$$4
2231                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232 $as_echo "$ac_res" >&6; }
2233   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2234
2235 } # ac_fn_c_check_member
2236 cat >config.log <<_ACEOF
2237 This file contains any messages produced by compilers while
2238 running configure, to aid debugging if configure makes a mistake.
2239
2240 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2241 generated by GNU Autoconf 2.64.  Invocation command line was
2242
2243   $ $0 $@
2244
2245 _ACEOF
2246 exec 5>>config.log
2247 {
2248 cat <<_ASUNAME
2249 ## --------- ##
2250 ## Platform. ##
2251 ## --------- ##
2252
2253 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2254 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2255 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2256 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2257 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2258
2259 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2260 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2261
2262 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2263 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2264 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2265 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2266 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2267 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2268 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2269
2270 _ASUNAME
2271
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 for as_dir in $PATH
2274 do
2275   IFS=$as_save_IFS
2276   test -z "$as_dir" && as_dir=.
2277     $as_echo "PATH: $as_dir"
2278   done
2279 IFS=$as_save_IFS
2280
2281 } >&5
2282
2283 cat >&5 <<_ACEOF
2284
2285
2286 ## ----------- ##
2287 ## Core tests. ##
2288 ## ----------- ##
2289
2290 _ACEOF
2291
2292
2293 # Keep a trace of the command line.
2294 # Strip out --no-create and --no-recursion so they do not pile up.
2295 # Strip out --silent because we don't want to record it for future runs.
2296 # Also quote any args containing shell meta-characters.
2297 # Make two passes to allow for proper duplicate-argument suppression.
2298 ac_configure_args=
2299 ac_configure_args0=
2300 ac_configure_args1=
2301 ac_must_keep_next=false
2302 for ac_pass in 1 2
2303 do
2304   for ac_arg
2305   do
2306     case $ac_arg in
2307     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2308     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2309     | -silent | --silent | --silen | --sile | --sil)
2310       continue ;;
2311     *\'*)
2312       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2313     esac
2314     case $ac_pass in
2315     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2316     2)
2317       as_fn_append ac_configure_args1 " '$ac_arg'"
2318       if test $ac_must_keep_next = true; then
2319         ac_must_keep_next=false # Got value, back to normal.
2320       else
2321         case $ac_arg in
2322           *=* | --config-cache | -C | -disable-* | --disable-* \
2323           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2324           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2325           | -with-* | --with-* | -without-* | --without-* | --x)
2326             case "$ac_configure_args0 " in
2327               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2328             esac
2329             ;;
2330           -* ) ac_must_keep_next=true ;;
2331         esac
2332       fi
2333       as_fn_append ac_configure_args " '$ac_arg'"
2334       ;;
2335     esac
2336   done
2337 done
2338 { ac_configure_args0=; unset ac_configure_args0;}
2339 { ac_configure_args1=; unset ac_configure_args1;}
2340
2341 # When interrupted or exit'd, cleanup temporary files, and complete
2342 # config.log.  We remove comments because anyway the quotes in there
2343 # would cause problems or look ugly.
2344 # WARNING: Use '\'' to represent an apostrophe within the trap.
2345 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2346 trap 'exit_status=$?
2347   # Save into config.log some information that might help in debugging.
2348   {
2349     echo
2350
2351     cat <<\_ASBOX
2352 ## ---------------- ##
2353 ## Cache variables. ##
2354 ## ---------------- ##
2355 _ASBOX
2356     echo
2357     # The following way of writing the cache mishandles newlines in values,
2358 (
2359   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2360     eval ac_val=\$$ac_var
2361     case $ac_val in #(
2362     *${as_nl}*)
2363       case $ac_var in #(
2364       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2365 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2366       esac
2367       case $ac_var in #(
2368       _ | IFS | as_nl) ;; #(
2369       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2370       *) { eval $ac_var=; unset $ac_var;} ;;
2371       esac ;;
2372     esac
2373   done
2374   (set) 2>&1 |
2375     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2376     *${as_nl}ac_space=\ *)
2377       sed -n \
2378         "s/'\''/'\''\\\\'\'''\''/g;
2379           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2380       ;; #(
2381     *)
2382       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2383       ;;
2384     esac |
2385     sort
2386 )
2387     echo
2388
2389     cat <<\_ASBOX
2390 ## ----------------- ##
2391 ## Output variables. ##
2392 ## ----------------- ##
2393 _ASBOX
2394     echo
2395     for ac_var in $ac_subst_vars
2396     do
2397       eval ac_val=\$$ac_var
2398       case $ac_val in
2399       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2400       esac
2401       $as_echo "$ac_var='\''$ac_val'\''"
2402     done | sort
2403     echo
2404
2405     if test -n "$ac_subst_files"; then
2406       cat <<\_ASBOX
2407 ## ------------------- ##
2408 ## File substitutions. ##
2409 ## ------------------- ##
2410 _ASBOX
2411       echo
2412       for ac_var in $ac_subst_files
2413       do
2414         eval ac_val=\$$ac_var
2415         case $ac_val in
2416         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2417         esac
2418         $as_echo "$ac_var='\''$ac_val'\''"
2419       done | sort
2420       echo
2421     fi
2422
2423     if test -s confdefs.h; then
2424       cat <<\_ASBOX
2425 ## ----------- ##
2426 ## confdefs.h. ##
2427 ## ----------- ##
2428 _ASBOX
2429       echo
2430       cat confdefs.h
2431       echo
2432     fi
2433     test "$ac_signal" != 0 &&
2434       $as_echo "$as_me: caught signal $ac_signal"
2435     $as_echo "$as_me: exit $exit_status"
2436   } >&5
2437   rm -f core *.core core.conftest.* &&
2438     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2439     exit $exit_status
2440 ' 0
2441 for ac_signal in 1 2 13 15; do
2442   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2443 done
2444 ac_signal=0
2445
2446 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2447 rm -f -r conftest* confdefs.h
2448
2449 $as_echo "/* confdefs.h */" > confdefs.h
2450
2451 # Predefined preprocessor variables.
2452
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_NAME "$PACKAGE_NAME"
2455 _ACEOF
2456
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2459 _ACEOF
2460
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2463 _ACEOF
2464
2465 cat >>confdefs.h <<_ACEOF
2466 #define PACKAGE_STRING "$PACKAGE_STRING"
2467 _ACEOF
2468
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2471 _ACEOF
2472
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_URL "$PACKAGE_URL"
2475 _ACEOF
2476
2477
2478 # Let the site file select an alternate cache file if it wants to.
2479 # Prefer an explicitly selected file to automatically selected ones.
2480 ac_site_file1=NONE
2481 ac_site_file2=NONE
2482 if test -n "$CONFIG_SITE"; then
2483   ac_site_file1=$CONFIG_SITE
2484 elif test "x$prefix" != xNONE; then
2485   ac_site_file1=$prefix/share/config.site
2486   ac_site_file2=$prefix/etc/config.site
2487 else
2488   ac_site_file1=$ac_default_prefix/share/config.site
2489   ac_site_file2=$ac_default_prefix/etc/config.site
2490 fi
2491 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2492 do
2493   test "x$ac_site_file" = xNONE && continue
2494   if test -r "$ac_site_file"; then
2495     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2496 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2497     sed 's/^/| /' "$ac_site_file" >&5
2498     . "$ac_site_file"
2499   fi
2500 done
2501
2502 if test -r "$cache_file"; then
2503   # Some versions of bash will fail to source /dev/null (special
2504   # files actually), so we avoid doing that.
2505   if test -f "$cache_file"; then
2506     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2507 $as_echo "$as_me: loading cache $cache_file" >&6;}
2508     case $cache_file in
2509       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2510       *)                      . "./$cache_file";;
2511     esac
2512   fi
2513 else
2514   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2515 $as_echo "$as_me: creating cache $cache_file" >&6;}
2516   >$cache_file
2517 fi
2518
2519 # Check that the precious variables saved in the cache have kept the same
2520 # value.
2521 ac_cache_corrupted=false
2522 for ac_var in $ac_precious_vars; do
2523   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2524   eval ac_new_set=\$ac_env_${ac_var}_set
2525   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2526   eval ac_new_val=\$ac_env_${ac_var}_value
2527   case $ac_old_set,$ac_new_set in
2528     set,)
2529       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2530 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2531       ac_cache_corrupted=: ;;
2532     ,set)
2533       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2534 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2535       ac_cache_corrupted=: ;;
2536     ,);;
2537     *)
2538       if test "x$ac_old_val" != "x$ac_new_val"; then
2539         # differences in whitespace do not lead to failure.
2540         ac_old_val_w=`echo x $ac_old_val`
2541         ac_new_val_w=`echo x $ac_new_val`
2542         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2543           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2544 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2545           ac_cache_corrupted=:
2546         else
2547           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2548 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2549           eval $ac_var=\$ac_old_val
2550         fi
2551         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2552 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2553         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2554 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2555       fi;;
2556   esac
2557   # Pass precious variables to config.status.
2558   if test "$ac_new_set" = set; then
2559     case $ac_new_val in
2560     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2561     *) ac_arg=$ac_var=$ac_new_val ;;
2562     esac
2563     case " $ac_configure_args " in
2564       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2565       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2566     esac
2567   fi
2568 done
2569 if $ac_cache_corrupted; then
2570   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2572   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2573 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2574   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2575 fi
2576 ## -------------------- ##
2577 ## Main body of script. ##
2578 ## -------------------- ##
2579
2580 ac_ext=c
2581 ac_cpp='$CPP $CPPFLAGS'
2582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2585
2586
2587
2588
2589
2590 ac_config_headers="$ac_config_headers config.h"
2591
2592 ac_aux_dir=
2593 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2594   for ac_t in install-sh install.sh shtool; do
2595     if test -f "$ac_dir/$ac_t"; then
2596       ac_aux_dir=$ac_dir
2597       ac_install_sh="$ac_aux_dir/$ac_t -c"
2598       break 2
2599     fi
2600   done
2601 done
2602 if test -z "$ac_aux_dir"; then
2603   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2604 fi
2605
2606 # These three variables are undocumented and unsupported,
2607 # and are intended to be withdrawn in a future Autoconf release.
2608 # They can cause serious problems if a builder's source tree is in a directory
2609 # whose full name contains unusual characters.
2610 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2611 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2612 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2613
2614
2615 # Make sure we can run config.sub.
2616 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2617   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2618
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2620 $as_echo_n "checking build system type... " >&6; }
2621 if test "${ac_cv_build+set}" = set; then :
2622   $as_echo_n "(cached) " >&6
2623 else
2624   ac_build_alias=$build_alias
2625 test "x$ac_build_alias" = x &&
2626   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2627 test "x$ac_build_alias" = x &&
2628   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2629 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2630   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2631
2632 fi
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2634 $as_echo "$ac_cv_build" >&6; }
2635 case $ac_cv_build in
2636 *-*-*) ;;
2637 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2638 esac
2639 build=$ac_cv_build
2640 ac_save_IFS=$IFS; IFS='-'
2641 set x $ac_cv_build
2642 shift
2643 build_cpu=$1
2644 build_vendor=$2
2645 shift; shift
2646 # Remember, the first character of IFS is used to create $*,
2647 # except with old shells:
2648 build_os=$*
2649 IFS=$ac_save_IFS
2650 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2651
2652
2653  case ${build_alias} in
2654   "") build_noncanonical=${build} ;;
2655   *) build_noncanonical=${build_alias} ;;
2656 esac
2657
2658  case ${host_alias} in
2659   "") host_noncanonical=${build_noncanonical} ;;
2660   *) host_noncanonical=${host_alias} ;;
2661 esac
2662
2663  case ${target_alias} in
2664   "") target_noncanonical=${host_noncanonical} ;;
2665   *) target_noncanonical=${target_alias} ;;
2666 esac
2667
2668
2669 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2670 # have matching libraries, they should use host libraries: Makefile.tpl
2671 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2672 # However, they still use the build modules, because the corresponding
2673 # host modules (e.g. bison) are only built for the host when bootstrap
2674 # finishes. So:
2675 # - build_subdir is where we find build modules, and never changes.
2676 # - build_libsubdir is where we find build libraries, and can be overridden.
2677
2678 # Prefix 'build-' so this never conflicts with target_subdir.
2679 build_subdir="build-${build_noncanonical}"
2680
2681 # Check whether --with-build-libsubdir was given.
2682 if test "${with_build_libsubdir+set}" = set; then :
2683   withval=$with_build_libsubdir; build_libsubdir="$withval"
2684 else
2685   build_libsubdir="$build_subdir"
2686 fi
2687
2688 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2689 if ( test $srcdir = . && test -d gcc ) \
2690    || test -d $srcdir/../host-${host_noncanonical}; then
2691   host_subdir="host-${host_noncanonical}"
2692 else
2693   host_subdir=.
2694 fi
2695 # No prefix.
2696 target_subdir=${target_noncanonical}
2697
2698
2699 # -------
2700 # Options
2701 # -------
2702
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2704 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2705 # Check whether --enable-version-specific-runtime-libs was given.
2706 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2707   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2708  yes) version_specific_libs=yes ;;
2709  no)  version_specific_libs=no ;;
2710  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2711  esac
2712 else
2713   version_specific_libs=no
2714 fi
2715
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2717 $as_echo "$version_specific_libs" >&6; }
2718
2719 # Build with intermodule optimisations
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2721 $as_echo_n "checking for --enable-intermodule... " >&6; }
2722 # Check whether --enable-intermodule was given.
2723 if test "${enable_intermodule+set}" = set; then :
2724   enableval=$enable_intermodule; case "$enable_intermodule" in
2725   yes) onestep="-onestep";;
2726     *) onestep="";;
2727 esac
2728 else
2729   onestep=""
2730 fi
2731
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2733 $as_echo "$enable_intermodule" >&6; }
2734  if test x$onestep = x-onestep; then
2735   onestep_TRUE=
2736   onestep_FALSE='#'
2737 else
2738   onestep_TRUE='#'
2739   onestep_FALSE=
2740 fi
2741
2742
2743
2744 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2745 #
2746 # You will slowly go insane if you do not grok the following fact:  when
2747 # building this library, the top-level /target/ becomes the library's /host/.
2748 #
2749 # configure then causes --target to default to --host, exactly like any
2750 # other package using autoconf.  Therefore, 'target' and 'host' will
2751 # always be the same.  This makes sense both for native and cross compilers
2752 # just think about it for a little while.  :-)
2753 #
2754 # Also, if this library is being configured as part of a cross compiler, the
2755 # top-level configure script will pass the "real" host as $with_cross_host.
2756 #
2757 # Do not delete or change the following two lines.  For why, see
2758 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2760 $as_echo_n "checking host system type... " >&6; }
2761 if test "${ac_cv_host+set}" = set; then :
2762   $as_echo_n "(cached) " >&6
2763 else
2764   if test "x$host_alias" = x; then
2765   ac_cv_host=$ac_cv_build
2766 else
2767   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2768     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2769 fi
2770
2771 fi
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2773 $as_echo "$ac_cv_host" >&6; }
2774 case $ac_cv_host in
2775 *-*-*) ;;
2776 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2777 esac
2778 host=$ac_cv_host
2779 ac_save_IFS=$IFS; IFS='-'
2780 set x $ac_cv_host
2781 shift
2782 host_cpu=$1
2783 host_vendor=$2
2784 shift; shift
2785 # Remember, the first character of IFS is used to create $*,
2786 # except with old shells:
2787 host_os=$*
2788 IFS=$ac_save_IFS
2789 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2790
2791
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2793 $as_echo_n "checking target system type... " >&6; }
2794 if test "${ac_cv_target+set}" = set; then :
2795   $as_echo_n "(cached) " >&6
2796 else
2797   if test "x$target_alias" = x; then
2798   ac_cv_target=$ac_cv_host
2799 else
2800   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2801     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2802 fi
2803
2804 fi
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2806 $as_echo "$ac_cv_target" >&6; }
2807 case $ac_cv_target in
2808 *-*-*) ;;
2809 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2810 esac
2811 target=$ac_cv_target
2812 ac_save_IFS=$IFS; IFS='-'
2813 set x $ac_cv_target
2814 shift
2815 target_cpu=$1
2816 target_vendor=$2
2817 shift; shift
2818 # Remember, the first character of IFS is used to create $*,
2819 # except with old shells:
2820 target_os=$*
2821 IFS=$ac_save_IFS
2822 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2823
2824
2825 # The aliases save the names the user supplied, while $host etc.
2826 # will get canonicalized.
2827 test -n "$target_alias" &&
2828   test "$program_prefix$program_suffix$program_transform_name" = \
2829     NONENONEs,x,x, &&
2830   program_prefix=${target_alias}-
2831
2832 target_alias=${target_alias-$host_alias}
2833
2834 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2835 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2836 #  1.9.6:  minimum required version
2837 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2838 #              of other PACKAGE_* variables will, however, and there's nothing
2839 #              we can do about that; they come from AC_INIT).
2840 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2841 #            file in the top srcdir, etc, etc), so stop complaining.
2842 #  no-dist:  we don't want 'dist' and related rules.
2843 #  -Wall:  turns on all automake warnings...
2844 #  -Wno-portability:  ...except this one, since GNU make is required.
2845 am__api_version='1.11'
2846
2847 # Find a good install program.  We prefer a C program (faster),
2848 # so one script is as good as another.  But avoid the broken or
2849 # incompatible versions:
2850 # SysV /etc/install, /usr/sbin/install
2851 # SunOS /usr/etc/install
2852 # IRIX /sbin/install
2853 # AIX /bin/install
2854 # AmigaOS /C/install, which installs bootblocks on floppy discs
2855 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2856 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2857 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2858 # OS/2's system install, which has a completely different semantic
2859 # ./install, which can be erroneously created by make from ./install.sh.
2860 # Reject install programs that cannot install multiple files.
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2862 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2863 if test -z "$INSTALL"; then
2864 if test "${ac_cv_path_install+set}" = set; then :
2865   $as_echo_n "(cached) " >&6
2866 else
2867   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2868 for as_dir in $PATH
2869 do
2870   IFS=$as_save_IFS
2871   test -z "$as_dir" && as_dir=.
2872     # Account for people who put trailing slashes in PATH elements.
2873 case $as_dir/ in #((
2874   ./ | .// | /[cC]/* | \
2875   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2876   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2877   /usr/ucb/* ) ;;
2878   *)
2879     # OSF1 and SCO ODT 3.0 have their own names for install.
2880     # Don't use installbsd from OSF since it installs stuff as root
2881     # by default.
2882     for ac_prog in ginstall scoinst install; do
2883       for ac_exec_ext in '' $ac_executable_extensions; do
2884         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2885           if test $ac_prog = install &&
2886             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2887             # AIX install.  It has an incompatible calling convention.
2888             :
2889           elif test $ac_prog = install &&
2890             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2891             # program-specific install script used by HP pwplus--don't use.
2892             :
2893           else
2894             rm -rf conftest.one conftest.two conftest.dir
2895             echo one > conftest.one
2896             echo two > conftest.two
2897             mkdir conftest.dir
2898             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2899               test -s conftest.one && test -s conftest.two &&
2900               test -s conftest.dir/conftest.one &&
2901               test -s conftest.dir/conftest.two
2902             then
2903               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2904               break 3
2905             fi
2906           fi
2907         fi
2908       done
2909     done
2910     ;;
2911 esac
2912
2913   done
2914 IFS=$as_save_IFS
2915
2916 rm -rf conftest.one conftest.two conftest.dir
2917
2918 fi
2919   if test "${ac_cv_path_install+set}" = set; then
2920     INSTALL=$ac_cv_path_install
2921   else
2922     # As a last resort, use the slow shell script.  Don't cache a
2923     # value for INSTALL within a source directory, because that will
2924     # break other packages using the cache if that directory is
2925     # removed, or if the value is a relative name.
2926     INSTALL=$ac_install_sh
2927   fi
2928 fi
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2930 $as_echo "$INSTALL" >&6; }
2931
2932 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2933 # It thinks the first close brace ends the variable substitution.
2934 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2935
2936 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2937
2938 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2939
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2941 $as_echo_n "checking whether build environment is sane... " >&6; }
2942 # Just in case
2943 sleep 1
2944 echo timestamp > conftest.file
2945 # Reject unsafe characters in $srcdir or the absolute working directory
2946 # name.  Accept space and tab only in the latter.
2947 am_lf='
2948 '
2949 case `pwd` in
2950   *[\\\"\#\$\&\'\`$am_lf]*)
2951     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2952 esac
2953 case $srcdir in
2954   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2955     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2956 esac
2957
2958 # Do `set' in a subshell so we don't clobber the current shell's
2959 # arguments.  Must try -L first in case configure is actually a
2960 # symlink; some systems play weird games with the mod time of symlinks
2961 # (eg FreeBSD returns the mod time of the symlink's containing
2962 # directory).
2963 if (
2964    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2965    if test "$*" = "X"; then
2966       # -L didn't work.
2967       set X `ls -t "$srcdir/configure" conftest.file`
2968    fi
2969    rm -f conftest.file
2970    if test "$*" != "X $srcdir/configure conftest.file" \
2971       && test "$*" != "X conftest.file $srcdir/configure"; then
2972
2973       # If neither matched, then we have a broken ls.  This can happen
2974       # if, for instance, CONFIG_SHELL is bash and it inherits a
2975       # broken ls alias from the environment.  This has actually
2976       # happened.  Such a system could not be considered "sane".
2977       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
2978 alias in your environment" "$LINENO" 5
2979    fi
2980
2981    test "$2" = conftest.file
2982    )
2983 then
2984    # Ok.
2985    :
2986 else
2987    as_fn_error "newly created file is older than distributed files!
2988 Check your system clock" "$LINENO" 5
2989 fi
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2991 $as_echo "yes" >&6; }
2992 test "$program_prefix" != NONE &&
2993   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2994 # Use a double $ so make ignores it.
2995 test "$program_suffix" != NONE &&
2996   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2997 # Double any \ or $.
2998 # By default was `s,x,x', remove it if useless.
2999 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3000 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3001
3002 # expand $ac_aux_dir to an absolute path
3003 am_aux_dir=`cd $ac_aux_dir && pwd`
3004
3005 if test x"${MISSING+set}" != xset; then
3006   case $am_aux_dir in
3007   *\ * | *\     *)
3008     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3009   *)
3010     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3011   esac
3012 fi
3013 # Use eval to expand $SHELL
3014 if eval "$MISSING --run true"; then
3015   am_missing_run="$MISSING --run "
3016 else
3017   am_missing_run=
3018   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3019 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3020 fi
3021
3022 if test x"${install_sh}" != xset; then
3023   case $am_aux_dir in
3024   *\ * | *\     *)
3025     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3026   *)
3027     install_sh="\${SHELL} $am_aux_dir/install-sh"
3028   esac
3029 fi
3030
3031 # Installed binaries are usually stripped using `strip' when the user
3032 # run `make install-strip'.  However `strip' might not be the right
3033 # tool to use in cross-compilation environments, therefore Automake
3034 # will honor the `STRIP' environment variable to overrule this program.
3035 if test "$cross_compiling" != no; then
3036   if test -n "$ac_tool_prefix"; then
3037   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3038 set dummy ${ac_tool_prefix}strip; ac_word=$2
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3040 $as_echo_n "checking for $ac_word... " >&6; }
3041 if test "${ac_cv_prog_STRIP+set}" = set; then :
3042   $as_echo_n "(cached) " >&6
3043 else
3044   if test -n "$STRIP"; then
3045   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3046 else
3047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3048 for as_dir in $PATH
3049 do
3050   IFS=$as_save_IFS
3051   test -z "$as_dir" && as_dir=.
3052     for ac_exec_ext in '' $ac_executable_extensions; do
3053   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3054     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056     break 2
3057   fi
3058 done
3059   done
3060 IFS=$as_save_IFS
3061
3062 fi
3063 fi
3064 STRIP=$ac_cv_prog_STRIP
3065 if test -n "$STRIP"; then
3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3067 $as_echo "$STRIP" >&6; }
3068 else
3069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3070 $as_echo "no" >&6; }
3071 fi
3072
3073
3074 fi
3075 if test -z "$ac_cv_prog_STRIP"; then
3076   ac_ct_STRIP=$STRIP
3077   # Extract the first word of "strip", so it can be a program name with args.
3078 set dummy strip; ac_word=$2
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3080 $as_echo_n "checking for $ac_word... " >&6; }
3081 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3082   $as_echo_n "(cached) " >&6
3083 else
3084   if test -n "$ac_ct_STRIP"; then
3085   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3086 else
3087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3088 for as_dir in $PATH
3089 do
3090   IFS=$as_save_IFS
3091   test -z "$as_dir" && as_dir=.
3092     for ac_exec_ext in '' $ac_executable_extensions; do
3093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3094     ac_cv_prog_ac_ct_STRIP="strip"
3095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3096     break 2
3097   fi
3098 done
3099   done
3100 IFS=$as_save_IFS
3101
3102 fi
3103 fi
3104 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3105 if test -n "$ac_ct_STRIP"; then
3106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3107 $as_echo "$ac_ct_STRIP" >&6; }
3108 else
3109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3110 $as_echo "no" >&6; }
3111 fi
3112
3113   if test "x$ac_ct_STRIP" = x; then
3114     STRIP=":"
3115   else
3116     case $cross_compiling:$ac_tool_warned in
3117 yes:)
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3120 ac_tool_warned=yes ;;
3121 esac
3122     STRIP=$ac_ct_STRIP
3123   fi
3124 else
3125   STRIP="$ac_cv_prog_STRIP"
3126 fi
3127
3128 fi
3129 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3130
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3132 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3133 if test -z "$MKDIR_P"; then
3134   if test "${ac_cv_path_mkdir+set}" = set; then :
3135   $as_echo_n "(cached) " >&6
3136 else
3137   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3138 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3139 do
3140   IFS=$as_save_IFS
3141   test -z "$as_dir" && as_dir=.
3142     for ac_prog in mkdir gmkdir; do
3143          for ac_exec_ext in '' $ac_executable_extensions; do
3144            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3145            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3146              'mkdir (GNU coreutils) '* | \
3147              'mkdir (coreutils) '* | \
3148              'mkdir (fileutils) '4.1*)
3149                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3150                break 3;;
3151            esac
3152          done
3153        done
3154   done
3155 IFS=$as_save_IFS
3156
3157 fi
3158
3159   if test "${ac_cv_path_mkdir+set}" = set; then
3160     MKDIR_P="$ac_cv_path_mkdir -p"
3161   else
3162     # As a last resort, use the slow shell script.  Don't cache a
3163     # value for MKDIR_P within a source directory, because that will
3164     # break other packages using the cache if that directory is
3165     # removed, or if the value is a relative name.
3166     test -d ./--version && rmdir ./--version
3167     MKDIR_P="$ac_install_sh -d"
3168   fi
3169 fi
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3171 $as_echo "$MKDIR_P" >&6; }
3172
3173 mkdir_p="$MKDIR_P"
3174 case $mkdir_p in
3175   [\\/$]* | ?:[\\/]*) ;;
3176   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3177 esac
3178
3179 for ac_prog in gawk mawk nawk awk
3180 do
3181   # Extract the first word of "$ac_prog", so it can be a program name with args.
3182 set dummy $ac_prog; ac_word=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if test "${ac_cv_prog_AWK+set}" = set; then :
3186   $as_echo_n "(cached) " >&6
3187 else
3188   if test -n "$AWK"; then
3189   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3190 else
3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3192 for as_dir in $PATH
3193 do
3194   IFS=$as_save_IFS
3195   test -z "$as_dir" && as_dir=.
3196     for ac_exec_ext in '' $ac_executable_extensions; do
3197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198     ac_cv_prog_AWK="$ac_prog"
3199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3200     break 2
3201   fi
3202 done
3203   done
3204 IFS=$as_save_IFS
3205
3206 fi
3207 fi
3208 AWK=$ac_cv_prog_AWK
3209 if test -n "$AWK"; then
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3211 $as_echo "$AWK" >&6; }
3212 else
3213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3215 fi
3216
3217
3218   test -n "$AWK" && break
3219 done
3220
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3222 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3223 set x ${MAKE-make}
3224 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3225 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3226   $as_echo_n "(cached) " >&6
3227 else
3228   cat >conftest.make <<\_ACEOF
3229 SHELL = /bin/sh
3230 all:
3231         @echo '@@@%%%=$(MAKE)=@@@%%%'
3232 _ACEOF
3233 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3234 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3235   *@@@%%%=?*=@@@%%%*)
3236     eval ac_cv_prog_make_${ac_make}_set=yes;;
3237   *)
3238     eval ac_cv_prog_make_${ac_make}_set=no;;
3239 esac
3240 rm -f conftest.make
3241 fi
3242 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3244 $as_echo "yes" >&6; }
3245   SET_MAKE=
3246 else
3247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249   SET_MAKE="MAKE=${MAKE-make}"
3250 fi
3251
3252 rm -rf .tst 2>/dev/null
3253 mkdir .tst 2>/dev/null
3254 if test -d .tst; then
3255   am__leading_dot=.
3256 else
3257   am__leading_dot=_
3258 fi
3259 rmdir .tst 2>/dev/null
3260
3261 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3262   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3263   # is not polluted with repeated "-I."
3264   am__isrc=' -I$(srcdir)'
3265   # test to see if srcdir already configured
3266   if test -f $srcdir/config.status; then
3267     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3268   fi
3269 fi
3270
3271 # test whether we have cygpath
3272 if test -z "$CYGPATH_W"; then
3273   if (cygpath --version) >/dev/null 2>/dev/null; then
3274     CYGPATH_W='cygpath -w'
3275   else
3276     CYGPATH_W=echo
3277   fi
3278 fi
3279
3280
3281 # Define the identity of the package.
3282  PACKAGE='libgfortran'
3283  VERSION='0.3'
3284
3285
3286 # Some tools Automake needs.
3287
3288 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3289
3290
3291 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3292
3293
3294 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3295
3296
3297 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3298
3299
3300 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3301
3302 # We need awk for the "check" target.  The system "awk" is bad on
3303 # some platforms.
3304 # Always define AMTAR for backward compatibility.
3305
3306 AMTAR=${AMTAR-"${am_missing_run}tar"}
3307
3308 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3309
3310
3311
3312
3313
3314
3315
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3317 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3318     # Check whether --enable-maintainer-mode was given.
3319 if test "${enable_maintainer_mode+set}" = set; then :
3320   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3321 else
3322   USE_MAINTAINER_MODE=no
3323 fi
3324
3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3326 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3327    if test $USE_MAINTAINER_MODE = yes; then
3328   MAINTAINER_MODE_TRUE=
3329   MAINTAINER_MODE_FALSE='#'
3330 else
3331   MAINTAINER_MODE_TRUE='#'
3332   MAINTAINER_MODE_FALSE=
3333 fi
3334
3335   MAINT=$MAINTAINER_MODE_TRUE
3336
3337
3338 # Default to --enable-multilib
3339 # Check whether --enable-multilib was given.
3340 if test "${enable_multilib+set}" = set; then :
3341   enableval=$enable_multilib; case "$enableval" in
3342   yes) multilib=yes ;;
3343   no)  multilib=no ;;
3344   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3345  esac
3346 else
3347   multilib=yes
3348 fi
3349
3350
3351 # We may get other options which we leave undocumented:
3352 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3353 # See config-ml.in if you want the gory details.
3354
3355 if test "$srcdir" = "."; then
3356   if test "$with_target_subdir" != "."; then
3357     multi_basedir="$srcdir/$with_multisrctop../.."
3358   else
3359     multi_basedir="$srcdir/$with_multisrctop.."
3360   fi
3361 else
3362   multi_basedir="$srcdir/.."
3363 fi
3364
3365
3366 # Even if the default multilib is not a cross compilation,
3367 # it may be that some of the other multilibs are.
3368 if test $cross_compiling = no && test $multilib = yes \
3369    && test "x${with_multisubdir}" != x ; then
3370    cross_compiling=maybe
3371 fi
3372
3373 ac_config_commands="$ac_config_commands default-1"
3374
3375
3376 # Handy for debugging:
3377 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3378
3379 # Are we being configured with some form of cross compiler?
3380 # NB: We don't actually need to know this just now, but when, say, a test
3381 #     suite is included, we'll have to know.
3382 if test "$build" != "$host"; then
3383   LIBGFOR_IS_NATIVE=false
3384
3385 else
3386   LIBGFOR_IS_NATIVE=true
3387 fi
3388
3389 # Calculate toolexeclibdir
3390 # Also toolexecdir, though it's only used in toolexeclibdir
3391 case ${version_specific_libs} in
3392   yes)
3393     # Need the gcc compiler version to know where to install libraries
3394     # and header files if --enable-version-specific-runtime-libs option
3395     # is selected.
3396     toolexecdir='$(libdir)/gcc/$(target_alias)'
3397     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
3398     ;;
3399   no)
3400     if test -n "$with_cross_host" &&
3401        test x"$with_cross_host" != x"no"; then
3402       # Install a library built with a cross compiler in tooldir, not libdir.
3403       toolexecdir='$(exec_prefix)/$(target_alias)'
3404       toolexeclibdir='$(toolexecdir)/lib'
3405     else
3406       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
3407       toolexeclibdir='$(libdir)'
3408     fi
3409     multi_os_directory=`$CC -print-multi-os-directory`
3410     case $multi_os_directory in
3411       .) ;; # Avoid trailing /.
3412       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
3413     esac
3414     ;;
3415 esac
3416
3417
3418
3419 # Create a spec file, so that compile/link tests don't fail
3420 test -f libgfortran.spec || touch libgfortran.spec
3421
3422 # Check the compiler.
3423 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
3424 # We must force CC to /not/ be precious variables; otherwise
3425 # the wrong, non-multilib-adjusted value will be used in multilibs.
3426 # As a side effect, we have to subst CFLAGS ourselves.
3427
3428
3429
3430 ac_ext=c
3431 ac_cpp='$CPP $CPPFLAGS'
3432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3435 if test -n "$ac_tool_prefix"; then
3436   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3437 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if test "${ac_cv_prog_CC+set}" = set; then :
3441   $as_echo_n "(cached) " >&6
3442 else
3443   if test -n "$CC"; then
3444   ac_cv_prog_CC="$CC" # Let the user override the test.
3445 else
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 for as_dir in $PATH
3448 do
3449   IFS=$as_save_IFS
3450   test -z "$as_dir" && as_dir=.
3451     for ac_exec_ext in '' $ac_executable_extensions; do
3452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3454     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3455     break 2
3456   fi
3457 done
3458   done
3459 IFS=$as_save_IFS
3460
3461 fi
3462 fi
3463 CC=$ac_cv_prog_CC
3464 if test -n "$CC"; then
3465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3466 $as_echo "$CC" >&6; }
3467 else
3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3470 fi
3471
3472
3473 fi
3474 if test -z "$ac_cv_prog_CC"; then
3475   ac_ct_CC=$CC
3476   # Extract the first word of "gcc", so it can be a program name with args.
3477 set dummy gcc; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3481   $as_echo_n "(cached) " >&6
3482 else
3483   if test -n "$ac_ct_CC"; then
3484   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3485 else
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3488 do
3489   IFS=$as_save_IFS
3490   test -z "$as_dir" && as_dir=.
3491     for ac_exec_ext in '' $ac_executable_extensions; do
3492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493     ac_cv_prog_ac_ct_CC="gcc"
3494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3495     break 2
3496   fi
3497 done
3498   done
3499 IFS=$as_save_IFS
3500
3501 fi
3502 fi
3503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3504 if test -n "$ac_ct_CC"; then
3505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3506 $as_echo "$ac_ct_CC" >&6; }
3507 else
3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3510 fi
3511
3512   if test "x$ac_ct_CC" = x; then
3513     CC=""
3514   else
3515     case $cross_compiling:$ac_tool_warned in
3516 yes:)
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3519 ac_tool_warned=yes ;;
3520 esac
3521     CC=$ac_ct_CC
3522   fi
3523 else
3524   CC="$ac_cv_prog_CC"
3525 fi
3526
3527 if test -z "$CC"; then
3528           if test -n "$ac_tool_prefix"; then
3529     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3530 set dummy ${ac_tool_prefix}cc; ac_word=$2
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3532 $as_echo_n "checking for $ac_word... " >&6; }
3533 if test "${ac_cv_prog_CC+set}" = set; then :
3534   $as_echo_n "(cached) " >&6
3535 else
3536   if test -n "$CC"; then
3537   ac_cv_prog_CC="$CC" # Let the user override the test.
3538 else
3539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3540 for as_dir in $PATH
3541 do
3542   IFS=$as_save_IFS
3543   test -z "$as_dir" && as_dir=.
3544     for ac_exec_ext in '' $ac_executable_extensions; do
3545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3546     ac_cv_prog_CC="${ac_tool_prefix}cc"
3547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548     break 2
3549   fi
3550 done
3551   done
3552 IFS=$as_save_IFS
3553
3554 fi
3555 fi
3556 CC=$ac_cv_prog_CC
3557 if test -n "$CC"; then
3558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3559 $as_echo "$CC" >&6; }
3560 else
3561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3562 $as_echo "no" >&6; }
3563 fi
3564
3565
3566   fi
3567 fi
3568 if test -z "$CC"; then
3569   # Extract the first word of "cc", so it can be a program name with args.
3570 set dummy cc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CC+set}" = set; then :
3574   $as_echo_n "(cached) " >&6
3575 else
3576   if test -n "$CC"; then
3577   ac_cv_prog_CC="$CC" # Let the user override the test.
3578 else
3579   ac_prog_rejected=no
3580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 for as_dir in $PATH
3582 do
3583   IFS=$as_save_IFS
3584   test -z "$as_dir" && as_dir=.
3585     for ac_exec_ext in '' $ac_executable_extensions; do
3586   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3588        ac_prog_rejected=yes
3589        continue
3590      fi
3591     ac_cv_prog_CC="cc"
3592     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593     break 2
3594   fi
3595 done
3596   done
3597 IFS=$as_save_IFS
3598
3599 if test $ac_prog_rejected = yes; then
3600   # We found a bogon in the path, so make sure we never use it.
3601   set dummy $ac_cv_prog_CC
3602   shift
3603   if test $# != 0; then
3604     # We chose a different compiler from the bogus one.
3605     # However, it has the same basename, so the bogon will be chosen
3606     # first if we set CC to just the basename; use the full file name.
3607     shift
3608     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3609   fi
3610 fi
3611 fi
3612 fi
3613 CC=$ac_cv_prog_CC
3614 if test -n "$CC"; then
3615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3616 $as_echo "$CC" >&6; }
3617 else
3618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619 $as_echo "no" >&6; }
3620 fi
3621
3622
3623 fi
3624 if test -z "$CC"; then
3625   if test -n "$ac_tool_prefix"; then
3626   for ac_prog in cl.exe
3627   do
3628     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3629 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3631 $as_echo_n "checking for $ac_word... " >&6; }
3632 if test "${ac_cv_prog_CC+set}" = set; then :
3633   $as_echo_n "(cached) " >&6
3634 else
3635   if test -n "$CC"; then
3636   ac_cv_prog_CC="$CC" # Let the user override the test.
3637 else
3638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3639 for as_dir in $PATH
3640 do
3641   IFS=$as_save_IFS
3642   test -z "$as_dir" && as_dir=.
3643     for ac_exec_ext in '' $ac_executable_extensions; do
3644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3645     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647     break 2
3648   fi
3649 done
3650   done
3651 IFS=$as_save_IFS
3652
3653 fi
3654 fi
3655 CC=$ac_cv_prog_CC
3656 if test -n "$CC"; then
3657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3658 $as_echo "$CC" >&6; }
3659 else
3660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3662 fi
3663
3664
3665     test -n "$CC" && break
3666   done
3667 fi
3668 if test -z "$CC"; then
3669   ac_ct_CC=$CC
3670   for ac_prog in cl.exe
3671 do
3672   # Extract the first word of "$ac_prog", so it can be a program name with args.
3673 set dummy $ac_prog; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677   $as_echo_n "(cached) " >&6
3678 else
3679   if test -n "$ac_ct_CC"; then
3680   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3684 do
3685   IFS=$as_save_IFS
3686   test -z "$as_dir" && as_dir=.
3687     for ac_exec_ext in '' $ac_executable_extensions; do
3688   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689     ac_cv_prog_ac_ct_CC="$ac_prog"
3690     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691     break 2
3692   fi
3693 done
3694   done
3695 IFS=$as_save_IFS
3696
3697 fi
3698 fi
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3706 fi
3707
3708
3709   test -n "$ac_ct_CC" && break
3710 done
3711
3712   if test "x$ac_ct_CC" = x; then
3713     CC=""
3714   else
3715     case $cross_compiling:$ac_tool_warned in
3716 yes:)
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3719 ac_tool_warned=yes ;;
3720 esac
3721     CC=$ac_ct_CC
3722   fi
3723 fi
3724
3725 fi
3726
3727
3728 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3730 as_fn_error "no acceptable C compiler found in \$PATH
3731 See \`config.log' for more details." "$LINENO" 5; }
3732
3733 # Provide some information about the compiler.
3734 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3735 set X $ac_compile
3736 ac_compiler=$2
3737 for ac_option in --version -v -V -qversion; do
3738   { { ac_try="$ac_compiler $ac_option >&5"
3739 case "(($ac_try" in
3740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741   *) ac_try_echo=$ac_try;;
3742 esac
3743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3744 $as_echo "$ac_try_echo"; } >&5
3745   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3746   ac_status=$?
3747   if test -s conftest.err; then
3748     sed '10a\
3749 ... rest of stderr output deleted ...
3750          10q' conftest.err >conftest.er1
3751     cat conftest.er1 >&5
3752     rm -f conftest.er1 conftest.err
3753   fi
3754   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3755   test $ac_status = 0; }
3756 done
3757
3758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3759 /* end confdefs.h.  */
3760
3761 int
3762 main ()
3763 {
3764
3765   ;
3766   return 0;
3767 }
3768 _ACEOF
3769 # FIXME: Cleanup?
3770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3771   (eval $ac_link) 2>&5
3772   ac_status=$?
3773   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774   test $ac_status = 0; }; then :
3775   gcc_no_link=no
3776 else
3777   gcc_no_link=yes
3778 fi
3779 if test x$gcc_no_link = xyes; then
3780   # Setting cross_compile will disable run tests; it will
3781   # also disable AC_CHECK_FILE but that's generally
3782   # correct if we can't link.
3783   cross_compiling=yes
3784   EXEEXT=
3785 else
3786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h.  */
3788
3789 int
3790 main ()
3791 {
3792
3793   ;
3794   return 0;
3795 }
3796 _ACEOF
3797 ac_clean_files_save=$ac_clean_files
3798 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3799 # Try to create an executable without -o first, disregard a.out.
3800 # It will help us diagnose broken compilers, and finding out an intuition
3801 # of exeext.
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3803 $as_echo_n "checking for C compiler default output file name... " >&6; }
3804 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3805
3806 # The possible output files:
3807 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3808
3809 ac_rmfiles=
3810 for ac_file in $ac_files
3811 do
3812   case $ac_file in
3813     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3814     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3815   esac
3816 done
3817 rm -f $ac_rmfiles
3818
3819 if { { ac_try="$ac_link_default"
3820 case "(($ac_try" in
3821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3822   *) ac_try_echo=$ac_try;;
3823 esac
3824 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3825 $as_echo "$ac_try_echo"; } >&5
3826   (eval "$ac_link_default") 2>&5
3827   ac_status=$?
3828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3829   test $ac_status = 0; }; then :
3830   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3831 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3832 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3833 # so that the user can short-circuit this test for compilers unknown to
3834 # Autoconf.
3835 for ac_file in $ac_files ''
3836 do
3837   test -f "$ac_file" || continue
3838   case $ac_file in
3839     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3840         ;;
3841     [ab].out )
3842         # We found the default executable, but exeext='' is most
3843         # certainly right.
3844         break;;
3845     *.* )
3846         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3847         then :; else
3848            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3849         fi
3850         # We set ac_cv_exeext here because the later test for it is not
3851         # safe: cross compilers may not add the suffix if given an `-o'
3852         # argument, so we may need to know it at that point already.
3853         # Even if this section looks crufty: it has the advantage of
3854         # actually working.
3855         break;;
3856     * )
3857         break;;
3858   esac
3859 done
3860 test "$ac_cv_exeext" = no && ac_cv_exeext=
3861
3862 else
3863   ac_file=''
3864 fi
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3866 $as_echo "$ac_file" >&6; }
3867 if test -z "$ac_file"; then :
3868   $as_echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3870
3871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 { as_fn_set_status 77
3874 as_fn_error "C compiler cannot create executables
3875 See \`config.log' for more details." "$LINENO" 5; }; }
3876 fi
3877 ac_exeext=$ac_cv_exeext
3878
3879 # Check that the compiler produces executables we can run.  If not, either
3880 # the compiler is broken, or we cross compile.
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3882 $as_echo_n "checking whether the C compiler works... " >&6; }
3883 # If not cross compiling, check that we can run a simple program.
3884 if test "$cross_compiling" != yes; then
3885   if { ac_try='./$ac_file'
3886   { { case "(($ac_try" in
3887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3888   *) ac_try_echo=$ac_try;;
3889 esac
3890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3891 $as_echo "$ac_try_echo"; } >&5
3892   (eval "$ac_try") 2>&5
3893   ac_status=$?
3894   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895   test $ac_status = 0; }; }; then
3896     cross_compiling=no
3897   else
3898     if test "$cross_compiling" = maybe; then
3899         cross_compiling=yes
3900     else
3901         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3903 as_fn_error "cannot run C compiled programs.
3904 If you meant to cross compile, use \`--host'.
3905 See \`config.log' for more details." "$LINENO" 5; }
3906     fi
3907   fi
3908 fi
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3910 $as_echo "yes" >&6; }
3911
3912 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3913 ac_clean_files=$ac_clean_files_save
3914 # Check that the compiler produces executables we can run.  If not, either
3915 # the compiler is broken, or we cross compile.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3917 $as_echo_n "checking whether we are cross compiling... " >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3919 $as_echo "$cross_compiling" >&6; }
3920
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3922 $as_echo_n "checking for suffix of executables... " >&6; }
3923 if { { ac_try="$ac_link"
3924 case "(($ac_try" in
3925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926   *) ac_try_echo=$ac_try;;
3927 esac
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930   (eval "$ac_link") 2>&5
3931   ac_status=$?
3932   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933   test $ac_status = 0; }; then :
3934   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3935 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3936 # work properly (i.e., refer to `conftest.exe'), while it won't with
3937 # `rm'.
3938 for ac_file in conftest.exe conftest conftest.*; do
3939   test -f "$ac_file" || continue
3940   case $ac_file in
3941     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3943           break;;
3944     * ) break;;
3945   esac
3946 done
3947 else
3948   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3950 as_fn_error "cannot compute suffix of executables: cannot compile and link
3951 See \`config.log' for more details." "$LINENO" 5; }
3952 fi
3953 rm -f conftest$ac_cv_exeext
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3955 $as_echo "$ac_cv_exeext" >&6; }
3956
3957 rm -f conftest.$ac_ext
3958 EXEEXT=$ac_cv_exeext
3959 ac_exeext=$EXEEXT
3960 fi
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3962 $as_echo_n "checking for suffix of object files... " >&6; }
3963 if test "${ac_cv_objext+set}" = set; then :
3964   $as_echo_n "(cached) " >&6
3965 else
3966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967 /* end confdefs.h.  */
3968
3969 int
3970 main ()
3971 {
3972
3973   ;
3974   return 0;
3975 }
3976 _ACEOF
3977 rm -f conftest.o conftest.obj
3978 if { { ac_try="$ac_compile"
3979 case "(($ac_try" in
3980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981   *) ac_try_echo=$ac_try;;
3982 esac
3983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984 $as_echo "$ac_try_echo"; } >&5
3985   (eval "$ac_compile") 2>&5
3986   ac_status=$?
3987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988   test $ac_status = 0; }; then :
3989   for ac_file in conftest.o conftest.obj conftest.*; do
3990   test -f "$ac_file" || continue;
3991   case $ac_file in
3992     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3993     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3994        break;;
3995   esac
3996 done
3997 else
3998   $as_echo "$as_me: failed program was:" >&5
3999 sed 's/^/| /' conftest.$ac_ext >&5
4000
4001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003 as_fn_error "cannot compute suffix of object files: cannot compile
4004 See \`config.log' for more details." "$LINENO" 5; }
4005 fi
4006 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4007 fi
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4009 $as_echo "$ac_cv_objext" >&6; }
4010 OBJEXT=$ac_cv_objext
4011 ac_objext=$OBJEXT
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4013 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4014 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4015   $as_echo_n "(cached) " >&6
4016 else
4017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018 /* end confdefs.h.  */
4019
4020 int
4021 main ()
4022 {
4023 #ifndef __GNUC__
4024        choke me
4025 #endif
4026
4027   ;
4028   return 0;
4029 }
4030 _ACEOF
4031 if ac_fn_c_try_compile "$LINENO"; then :
4032   ac_compiler_gnu=yes
4033 else
4034   ac_compiler_gnu=no
4035 fi
4036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4038
4039 fi
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4041 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4042 if test $ac_compiler_gnu = yes; then
4043   GCC=yes
4044 else
4045   GCC=
4046 fi
4047 ac_test_CFLAGS=${CFLAGS+set}
4048 ac_save_CFLAGS=$CFLAGS
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4050 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4051 if test "${ac_cv_prog_cc_g+set}" = set; then :
4052   $as_echo_n "(cached) " >&6
4053 else
4054   ac_save_c_werror_flag=$ac_c_werror_flag
4055    ac_c_werror_flag=yes
4056    ac_cv_prog_cc_g=no
4057    CFLAGS="-g"
4058    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059 /* end confdefs.h.  */
4060
4061 int
4062 main ()
4063 {
4064
4065   ;
4066   return 0;
4067 }
4068 _ACEOF
4069 if ac_fn_c_try_compile "$LINENO"; then :
4070   ac_cv_prog_cc_g=yes
4071 else
4072   CFLAGS=""
4073       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h.  */
4075
4076 int
4077 main ()
4078 {
4079
4080   ;
4081   return 0;
4082 }
4083 _ACEOF
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085
4086 else
4087   ac_c_werror_flag=$ac_save_c_werror_flag
4088          CFLAGS="-g"
4089          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h.  */
4091
4092 int
4093 main ()
4094 {
4095
4096   ;
4097   return 0;
4098 }
4099 _ACEOF
4100 if ac_fn_c_try_compile "$LINENO"; then :
4101   ac_cv_prog_cc_g=yes
4102 fi
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 fi
4105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4106 fi
4107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108    ac_c_werror_flag=$ac_save_c_werror_flag
4109 fi
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4111 $as_echo "$ac_cv_prog_cc_g" >&6; }
4112 if test "$ac_test_CFLAGS" = set; then
4113   CFLAGS=$ac_save_CFLAGS
4114 elif test $ac_cv_prog_cc_g = yes; then
4115   if test "$GCC" = yes; then
4116     CFLAGS="-g -O2"
4117   else
4118     CFLAGS="-g"
4119   fi
4120 else
4121   if test "$GCC" = yes; then
4122     CFLAGS="-O2"
4123   else
4124     CFLAGS=
4125   fi
4126 fi
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4128 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4129 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4130   $as_echo_n "(cached) " >&6
4131 else
4132   ac_cv_prog_cc_c89=no
4133 ac_save_CC=$CC
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h.  */
4136 #include <stdarg.h>
4137 #include <stdio.h>
4138 #include <sys/types.h>
4139 #include <sys/stat.h>
4140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4141 struct buf { int x; };
4142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4143 static char *e (p, i)
4144      char **p;
4145      int i;
4146 {
4147   return p[i];
4148 }
4149 static char *f (char * (*g) (char **, int), char **p, ...)
4150 {
4151   char *s;
4152   va_list v;
4153   va_start (v,p);
4154   s = g (p, va_arg (v,int));
4155   va_end (v);
4156   return s;
4157 }
4158
4159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4160    function prototypes and stuff, but not '\xHH' hex character constants.
4161    These don't provoke an error unfortunately, instead are silently treated
4162    as 'x'.  The following induces an error, until -std is added to get
4163    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4164    array size at least.  It's necessary to write '\x00'==0 to get something
4165    that's true only with -std.  */
4166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4167
4168 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4169    inside strings and character constants.  */
4170 #define FOO(x) 'x'
4171 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4172
4173 int test (int i, double x);
4174 struct s1 {int (*f) (int a);};
4175 struct s2 {int (*f) (double a);};
4176 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4177 int argc;
4178 char **argv;
4179 int
4180 main ()
4181 {
4182 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4183   ;
4184   return 0;
4185 }
4186 _ACEOF
4187 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4188         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4189 do
4190   CC="$ac_save_CC $ac_arg"
4191   if ac_fn_c_try_compile "$LINENO"; then :
4192   ac_cv_prog_cc_c89=$ac_arg
4193 fi
4194 rm -f core conftest.err conftest.$ac_objext
4195   test "x$ac_cv_prog_cc_c89" != "xno" && break
4196 done
4197 rm -f conftest.$ac_ext
4198 CC=$ac_save_CC
4199
4200 fi
4201 # AC_CACHE_VAL
4202 case "x$ac_cv_prog_cc_c89" in
4203   x)
4204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4205 $as_echo "none needed" >&6; } ;;
4206   xno)
4207     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4208 $as_echo "unsupported" >&6; } ;;
4209   *)
4210     CC="$CC $ac_cv_prog_cc_c89"
4211     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4212 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4213 esac
4214 if test "x$ac_cv_prog_cc_c89" != xno; then :
4215
4216 fi
4217
4218 ac_ext=c
4219 ac_cpp='$CPP $CPPFLAGS'
4220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4223 DEPDIR="${am__leading_dot}deps"
4224
4225 ac_config_commands="$ac_config_commands depfiles"
4226
4227
4228 am_make=${MAKE-make}
4229 cat > confinc << 'END'
4230 am__doit:
4231         @echo this is the am__doit target
4232 .PHONY: am__doit
4233 END
4234 # If we don't find an include directive, just comment out the code.
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4236 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4237 am__include="#"
4238 am__quote=
4239 _am_result=none
4240 # First try GNU make style include.
4241 echo "include confinc" > confmf
4242 # Ignore all kinds of additional output from `make'.
4243 case `$am_make -s -f confmf 2> /dev/null` in #(
4244 *the\ am__doit\ target*)
4245   am__include=include
4246   am__quote=
4247   _am_result=GNU
4248   ;;
4249 esac
4250 # Now try BSD make style include.
4251 if test "$am__include" = "#"; then
4252    echo '.include "confinc"' > confmf
4253    case `$am_make -s -f confmf 2> /dev/null` in #(
4254    *the\ am__doit\ target*)
4255      am__include=.include
4256      am__quote="\""
4257      _am_result=BSD
4258      ;;
4259    esac
4260 fi
4261
4262
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4264 $as_echo "$_am_result" >&6; }
4265 rm -f confinc confmf
4266
4267 # Check whether --enable-dependency-tracking was given.
4268 if test "${enable_dependency_tracking+set}" = set; then :
4269   enableval=$enable_dependency_tracking;
4270 fi
4271
4272 if test "x$enable_dependency_tracking" != xno; then
4273   am_depcomp="$ac_aux_dir/depcomp"
4274   AMDEPBACKSLASH='\'
4275 fi
4276  if test "x$enable_dependency_tracking" != xno; then
4277   AMDEP_TRUE=
4278   AMDEP_FALSE='#'
4279 else
4280   AMDEP_TRUE='#'
4281   AMDEP_FALSE=
4282 fi
4283
4284
4285
4286 depcc="$CC"   am_compiler_list=
4287
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4289 $as_echo_n "checking dependency style of $depcc... " >&6; }
4290 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4291   $as_echo_n "(cached) " >&6
4292 else
4293   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4294   # We make a subdir and do the tests there.  Otherwise we can end up
4295   # making bogus files that we don't know about and never remove.  For
4296   # instance it was reported that on HP-UX the gcc test will end up
4297   # making a dummy file named `D' -- because `-MD' means `put the output
4298   # in D'.
4299   mkdir conftest.dir
4300   # Copy depcomp to subdir because otherwise we won't find it if we're
4301   # using a relative directory.
4302   cp "$am_depcomp" conftest.dir
4303   cd conftest.dir
4304   # We will build objects and dependencies in a subdirectory because
4305   # it helps to detect inapplicable dependency modes.  For instance
4306   # both Tru64's cc and ICC support -MD to output dependencies as a
4307   # side effect of compilation, but ICC will put the dependencies in
4308   # the current directory while Tru64 will put them in the object
4309   # directory.
4310   mkdir sub
4311
4312   am_cv_CC_dependencies_compiler_type=none
4313   if test "$am_compiler_list" = ""; then
4314      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4315   fi
4316   am__universal=false
4317   case " $depcc " in #(
4318      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4319      esac
4320
4321   for depmode in $am_compiler_list; do
4322     # Setup a source with many dependencies, because some compilers
4323     # like to wrap large dependency lists on column 80 (with \), and
4324     # we should not choose a depcomp mode which is confused by this.
4325     #
4326     # We need to recreate these files for each test, as the compiler may
4327     # overwrite some of them when testing with obscure command lines.
4328     # This happens at least with the AIX C compiler.
4329     : > sub/conftest.c
4330     for i in 1 2 3 4 5 6; do
4331       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4332       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4333       # Solaris 8's {/usr,}/bin/sh.
4334       touch sub/conftst$i.h
4335     done
4336     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4337
4338     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4339     # mode.  It turns out that the SunPro C++ compiler does not properly
4340     # handle `-M -o', and we need to detect this.  Also, some Intel
4341     # versions had trouble with output in subdirs
4342     am__obj=sub/conftest.${OBJEXT-o}
4343     am__minus_obj="-o $am__obj"
4344     case $depmode in
4345     gcc)
4346       # This depmode causes a compiler race in universal mode.
4347       test "$am__universal" = false || continue
4348       ;;
4349     nosideeffect)
4350       # after this tag, mechanisms are not by side-effect, so they'll
4351       # only be used when explicitly requested
4352       if test "x$enable_dependency_tracking" = xyes; then
4353         continue
4354       else
4355         break
4356       fi
4357       ;;
4358     msvisualcpp | msvcmsys)
4359       # This compiler won't grok `-c -o', but also, the minuso test has
4360       # not run yet.  These depmodes are late enough in the game, and
4361       # so weak that their functioning should not be impacted.
4362       am__obj=conftest.${OBJEXT-o}
4363       am__minus_obj=
4364       ;;
4365     none) break ;;
4366     esac
4367     if depmode=$depmode \
4368        source=sub/conftest.c object=$am__obj \
4369        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4370        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4371          >/dev/null 2>conftest.err &&
4372        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4373        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4374        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4375        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4376       # icc doesn't choke on unknown options, it will just issue warnings
4377       # or remarks (even with -Werror).  So we grep stderr for any message
4378       # that says an option was ignored or not supported.
4379       # When given -MP, icc 7.0 and 7.1 complain thusly:
4380       #   icc: Command line warning: ignoring option '-M'; no argument required
4381       # The diagnosis changed in icc 8.0:
4382       #   icc: Command line remark: option '-MP' not supported
4383       if (grep 'ignoring option' conftest.err ||
4384           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4385         am_cv_CC_dependencies_compiler_type=$depmode
4386         break
4387       fi
4388     fi
4389   done
4390
4391   cd ..
4392   rm -rf conftest.dir
4393 else
4394   am_cv_CC_dependencies_compiler_type=none
4395 fi
4396
4397 fi
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4399 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4400 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4401
4402  if
4403   test "x$enable_dependency_tracking" != xno \
4404   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4405   am__fastdepCC_TRUE=
4406   am__fastdepCC_FALSE='#'
4407 else
4408   am__fastdepCC_TRUE='#'
4409   am__fastdepCC_FALSE=
4410 fi
4411
4412
4413
4414
4415 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
4416 if test "x$GCC" = "xyes"; then
4417   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
4418   ## We like to use C99 routines when available.  This makes sure that
4419   ## __STDC_VERSION__ is set such that libc includes make them available.
4420   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
4421   ## Compile the following tests with the same system header contents
4422   ## that we'll encounter when compiling our own source files.
4423   CFLAGS="-std=gnu99 $CFLAGS"
4424 fi
4425
4426
4427
4428
4429 # Check for symbol versioning (copied from libssp).
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
4431 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
4432 save_LDFLAGS="$LDFLAGS"
4433 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
4434 cat > conftest.map <<EOF
4435 FOO_1.0 {
4436   global: *foo*; bar; local: *;
4437 };
4438 EOF
4439
4440 if test x$gcc_no_link = xyes; then
4441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4442 fi
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h.  */
4445 int foo;
4446 int
4447 main ()
4448 {
4449
4450   ;
4451   return 0;
4452 }
4453 _ACEOF
4454 if ac_fn_c_try_link "$LINENO"; then :
4455   gfortran_use_symver=gnu
4456 else
4457   gfortran_use_symver=no
4458 fi
4459 rm -f core conftest.err conftest.$ac_objext \
4460     conftest$ac_exeext conftest.$ac_ext
4461 if test x$gfortran_use_symver = xno; then
4462   case "$target_os" in
4463     solaris2*)
4464       LDFLAGS="$save_LDFLAGS"
4465       LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
4466       # Sun ld cannot handle wildcards and treats all entries as undefined.
4467       cat > conftest.map <<EOF
4468 FOO_1.0 {
4469   global: foo; local: *;
4470 };
4471 EOF
4472       if test x$gcc_no_link = xyes; then
4473   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
4474 fi
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h.  */
4477 int foo;
4478 int
4479 main ()
4480 {
4481
4482   ;
4483   return 0;
4484 }
4485 _ACEOF
4486 if ac_fn_c_try_link "$LINENO"; then :
4487   gfortran_use_symver=sun
4488 else
4489   gfortran_use_symver=no
4490 fi
4491 rm -f core conftest.err conftest.$ac_objext \
4492     conftest$ac_exeext conftest.$ac_ext
4493       ;;
4494   esac
4495 fi
4496 LDFLAGS="$save_LDFLAGS"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
4498 $as_echo "$gfortran_use_symver" >&6; }
4499  if test "x$gfortran_use_symver" != xno; then
4500   LIBGFOR_USE_SYMVER_TRUE=
4501   LIBGFOR_USE_SYMVER_FALSE='#'
4502 else
4503   LIBGFOR_USE_SYMVER_TRUE='#'
4504   LIBGFOR_USE_SYMVER_FALSE=
4505 fi
4506
4507  if test "x$gfortran_use_symver" = xgnu; then
4508   LIBGFOR_USE_SYMVER_GNU_TRUE=
4509   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
4510 else
4511   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
4512   LIBGFOR_USE_SYMVER_GNU_FALSE=
4513 fi
4514
4515  if test "x$gfortran_use_symver" = xsun; then
4516   LIBGFOR_USE_SYMVER_SUN_TRUE=
4517   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
4518 else
4519   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
4520   LIBGFOR_USE_SYMVER_SUN_FALSE=
4521 fi
4522
4523
4524 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
4525 # similarly to how libstdc++ does it
4526 ac_test_CFLAGS="${CFLAGS+set}"
4527 ac_save_CFLAGS="$CFLAGS"
4528
4529 # Check for -ffunction-sections -fdata-sections
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
4531 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
4532 CFLAGS='-Werror -ffunction-sections -fdata-sections'
4533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h.  */
4535
4536 int
4537 main ()
4538 {
4539 int foo;
4540   ;
4541   return 0;
4542 }
4543 _ACEOF
4544 if ac_fn_c_try_compile "$LINENO"; then :
4545   ac_fdsections=yes
4546 else
4547   ac_fdsections=no
4548 fi
4549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550 if test "$ac_test_CFLAGS" = set; then
4551   CFLAGS="$ac_save_CFLAGS"
4552 else
4553   # this is the suspicious part
4554   CFLAGS=""
4555 fi
4556 if test x"$ac_fdsections" = x"yes"; then
4557   SECTION_FLAGS='-ffunction-sections -fdata-sections'
4558 fi
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
4560 $as_echo "$ac_fdsections" >&6; }
4561
4562
4563 # Find other programs we need.
4564 if test -n "$ac_tool_prefix"; then
4565   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4566 set dummy ${ac_tool_prefix}as; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if test "${ac_cv_prog_AS+set}" = set; then :
4570   $as_echo_n "(cached) " >&6
4571 else
4572   if test -n "$AS"; then
4573   ac_cv_prog_AS="$AS" # Let the user override the test.
4574 else
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4576 for as_dir in $PATH
4577 do
4578   IFS=$as_save_IFS
4579   test -z "$as_dir" && as_dir=.
4580     for ac_exec_ext in '' $ac_executable_extensions; do
4581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582     ac_cv_prog_AS="${ac_tool_prefix}as"
4583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584     break 2
4585   fi
4586 done
4587   done
4588 IFS=$as_save_IFS
4589
4590 fi
4591 fi
4592 AS=$ac_cv_prog_AS
4593 if test -n "$AS"; then
4594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4595 $as_echo "$AS" >&6; }
4596 else
4597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4599 fi
4600
4601
4602 fi
4603 if test -z "$ac_cv_prog_AS"; then
4604   ac_ct_AS=$AS
4605   # Extract the first word of "as", so it can be a program name with args.
4606 set dummy as; ac_word=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4610   $as_echo_n "(cached) " >&6
4611 else
4612   if test -n "$ac_ct_AS"; then
4613   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4614 else
4615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4616 for as_dir in $PATH
4617 do
4618   IFS=$as_save_IFS
4619   test -z "$as_dir" && as_dir=.
4620     for ac_exec_ext in '' $ac_executable_extensions; do
4621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622     ac_cv_prog_ac_ct_AS="as"
4623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624     break 2
4625   fi
4626 done
4627   done
4628 IFS=$as_save_IFS
4629
4630 fi
4631 fi
4632 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4633 if test -n "$ac_ct_AS"; then
4634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4635 $as_echo "$ac_ct_AS" >&6; }
4636 else
4637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4639 fi
4640
4641   if test "x$ac_ct_AS" = x; then
4642     AS=""
4643   else
4644     case $cross_compiling:$ac_tool_warned in
4645 yes:)
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648 ac_tool_warned=yes ;;
4649 esac
4650     AS=$ac_ct_AS
4651   fi
4652 else
4653   AS="$ac_cv_prog_AS"
4654 fi
4655
4656 if test -n "$ac_tool_prefix"; then
4657   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4658 set dummy ${ac_tool_prefix}ar; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if test "${ac_cv_prog_AR+set}" = set; then :
4662   $as_echo_n "(cached) " >&6
4663 else
4664   if test -n "$AR"; then
4665   ac_cv_prog_AR="$AR" # Let the user override the test.
4666 else
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH
4669 do
4670   IFS=$as_save_IFS
4671   test -z "$as_dir" && as_dir=.
4672     for ac_exec_ext in '' $ac_executable_extensions; do
4673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674     ac_cv_prog_AR="${ac_tool_prefix}ar"
4675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676     break 2
4677   fi
4678 done
4679   done
4680 IFS=$as_save_IFS
4681
4682 fi
4683 fi
4684 AR=$ac_cv_prog_AR
4685 if test -n "$AR"; then
4686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4687 $as_echo "$AR" >&6; }
4688 else
4689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4691 fi
4692
4693
4694 fi
4695 if test -z "$ac_cv_prog_AR"; then
4696   ac_ct_AR=$AR
4697   # Extract the first word of "ar", so it can be a program name with args.
4698 set dummy ar; ac_word=$2
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4700 $as_echo_n "checking for $ac_word... " >&6; }
4701 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4702   $as_echo_n "(cached) " >&6
4703 else
4704   if test -n "$ac_ct_AR"; then
4705   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4706 else
4707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4708 for as_dir in $PATH
4709 do
4710   IFS=$as_save_IFS
4711   test -z "$as_dir" && as_dir=.
4712     for ac_exec_ext in '' $ac_executable_extensions; do
4713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4714     ac_cv_prog_ac_ct_AR="ar"
4715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4716     break 2
4717   fi
4718 done
4719   done
4720 IFS=$as_save_IFS
4721
4722 fi
4723 fi
4724 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4725 if test -n "$ac_ct_AR"; then
4726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4727 $as_echo "$ac_ct_AR" >&6; }
4728 else
4729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4730 $as_echo "no" >&6; }
4731 fi
4732
4733   if test "x$ac_ct_AR" = x; then
4734     AR=""
4735   else
4736     case $cross_compiling:$ac_tool_warned in
4737 yes:)
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4740 ac_tool_warned=yes ;;
4741 esac
4742     AR=$ac_ct_AR
4743   fi
4744 else
4745   AR="$ac_cv_prog_AR"
4746 fi
4747
4748 if test -n "$ac_tool_prefix"; then
4749   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4750 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4754   $as_echo_n "(cached) " >&6
4755 else
4756   if test -n "$RANLIB"; then
4757   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4758 else
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4761 do
4762   IFS=$as_save_IFS
4763   test -z "$as_dir" && as_dir=.
4764     for ac_exec_ext in '' $ac_executable_extensions; do
4765   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4766     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4767     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4768     break 2
4769   fi
4770 done
4771   done
4772 IFS=$as_save_IFS
4773
4774 fi
4775 fi
4776 RANLIB=$ac_cv_prog_RANLIB
4777 if test -n "$RANLIB"; then
4778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4779 $as_echo "$RANLIB" >&6; }
4780 else
4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4782 $as_echo "no" >&6; }
4783 fi
4784
4785
4786 fi
4787 if test -z "$ac_cv_prog_RANLIB"; then
4788   ac_ct_RANLIB=$RANLIB
4789   # Extract the first word of "ranlib", so it can be a program name with args.
4790 set dummy ranlib; ac_word=$2
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4792 $as_echo_n "checking for $ac_word... " >&6; }
4793 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4794   $as_echo_n "(cached) " >&6
4795 else
4796   if test -n "$ac_ct_RANLIB"; then
4797   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4798 else
4799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 for as_dir in $PATH
4801 do
4802   IFS=$as_save_IFS
4803   test -z "$as_dir" && as_dir=.
4804     for ac_exec_ext in '' $ac_executable_extensions; do
4805   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806     ac_cv_prog_ac_ct_RANLIB="ranlib"
4807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808     break 2
4809   fi
4810 done
4811   done
4812 IFS=$as_save_IFS
4813
4814 fi
4815 fi
4816 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4817 if test -n "$ac_ct_RANLIB"; then
4818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4819 $as_echo "$ac_ct_RANLIB" >&6; }
4820 else
4821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4822 $as_echo "no" >&6; }
4823 fi
4824
4825   if test "x$ac_ct_RANLIB" = x; then
4826     RANLIB="ranlib-not-found-in-path-error"
4827   else
4828     case $cross_compiling:$ac_tool_warned in
4829 yes:)
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4832 ac_tool_warned=yes ;;
4833 esac
4834     RANLIB=$ac_ct_RANLIB
4835   fi
4836 else
4837   RANLIB="$ac_cv_prog_RANLIB"
4838 fi
4839
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4841 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4842 set x ${MAKE-make}
4843 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4844 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4845   $as_echo_n "(cached) " >&6
4846 else
4847   cat >conftest.make <<\_ACEOF
4848 SHELL = /bin/sh
4849 all:
4850         @echo '@@@%%%=$(MAKE)=@@@%%%'
4851 _ACEOF
4852 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
4853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4854   *@@@%%%=?*=@@@%%%*)
4855     eval ac_cv_prog_make_${ac_make}_set=yes;;
4856   *)
4857     eval ac_cv_prog_make_${ac_make}_set=no;;
4858 esac
4859 rm -f conftest.make
4860 fi
4861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4863 $as_echo "yes" >&6; }
4864   SET_MAKE=
4865 else
4866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4868   SET_MAKE="MAKE=${MAKE-make}"
4869 fi
4870
4871
4872
4873 # Configure libtool
4874 #AC_MSG_NOTICE([====== Starting libtool configuration])
4875 enable_dlopen=yes
4876
4877
4878
4879 case `pwd` in
4880   *\ * | *\     *)
4881     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4882 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4883 esac
4884
4885
4886
4887 macro_version='2.2.7a'
4888 macro_revision='1.3134'
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902 ltmain="$ac_aux_dir/ltmain.sh"
4903
4904 # Backslashify metacharacters that are still active within
4905 # double-quoted strings.
4906 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4907
4908 # Same as above, but do not quote variable references.
4909 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4910
4911 # Sed substitution to delay expansion of an escaped shell variable in a
4912 # double_quote_subst'ed string.
4913 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4914
4915 # Sed substitution to delay expansion of an escaped single quote.
4916 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4917
4918 # Sed substitution to avoid accidental globbing in evaled expressions
4919 no_glob_subst='s/\*/\\\*/g'
4920
4921 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4922 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4923 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4924
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4926 $as_echo_n "checking how to print strings... " >&6; }
4927 # Test print first, because it will be a builtin if present.
4928 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
4929    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4930   ECHO='print -r --'
4931 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4932   ECHO='printf %s\n'
4933 else
4934   # Use this function as a fallback that always works.
4935   func_fallback_echo ()
4936   {
4937     eval 'cat <<_LTECHO_EOF
4938 $1
4939 _LTECHO_EOF'
4940   }
4941   ECHO='func_fallback_echo'
4942 fi
4943
4944 # func_echo_all arg...
4945 # Invoke $ECHO with all args, space-separated.
4946 func_echo_all ()
4947 {
4948     $ECHO ""
4949 }
4950
4951 case "$ECHO" in
4952   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4953 $as_echo "printf" >&6; } ;;
4954   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4955 $as_echo "print -r" >&6; } ;;
4956   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4957 $as_echo "cat" >&6; } ;;
4958 esac
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4974 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4975 if test "${ac_cv_path_SED+set}" = set; then :
4976   $as_echo_n "(cached) " >&6
4977 else
4978             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4979      for ac_i in 1 2 3 4 5 6 7; do
4980        ac_script="$ac_script$as_nl$ac_script"
4981      done
4982      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4983      { ac_script=; unset ac_script;}
4984      if test -z "$SED"; then
4985   ac_path_SED_found=false
4986   # Loop through the user's path and test for each of PROGNAME-LIST
4987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4989 do
4990   IFS=$as_save_IFS
4991   test -z "$as_dir" && as_dir=.
4992     for ac_prog in sed gsed; do
4993     for ac_exec_ext in '' $ac_executable_extensions; do
4994       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4995       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4996 # Check for GNU ac_path_SED and select it if it is found.
4997   # Check for GNU $ac_path_SED
4998 case `"$ac_path_SED" --version 2>&1` in
4999 *GNU*)
5000   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5001 *)
5002   ac_count=0
5003   $as_echo_n 0123456789 >"conftest.in"
5004   while :
5005   do
5006     cat "conftest.in" "conftest.in" >"conftest.tmp"
5007     mv "conftest.tmp" "conftest.in"
5008     cp "conftest.in" "conftest.nl"
5009     $as_echo '' >> "conftest.nl"
5010     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5011     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5012     as_fn_arith $ac_count + 1 && ac_count=$as_val
5013     if test $ac_count -gt ${ac_path_SED_max-0}; then
5014       # Best one so far, save it but keep looking for a better one
5015       ac_cv_path_SED="$ac_path_SED"
5016       ac_path_SED_max=$ac_count
5017     fi
5018     # 10*(2^10) chars as input seems more than enough
5019     test $ac_count -gt 10 && break
5020   done
5021   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5022 esac
5023
5024       $ac_path_SED_found && break 3
5025     done
5026   done
5027   done
5028 IFS=$as_save_IFS
5029   if test -z "$ac_cv_path_SED"; then
5030     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5031   fi
5032 else
5033   ac_cv_path_SED=$SED
5034 fi
5035
5036 fi
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5038 $as_echo "$ac_cv_path_SED" >&6; }
5039  SED="$ac_cv_path_SED"
5040   rm -f conftest.sed
5041
5042 test -z "$SED" && SED=sed
5043 Xsed="$SED -e 1s/^X//"
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5056 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5057 if test "${ac_cv_path_GREP+set}" = set; then :
5058   $as_echo_n "(cached) " >&6
5059 else
5060   if test -z "$GREP"; then
5061   ac_path_GREP_found=false
5062   # Loop through the user's path and test for each of PROGNAME-LIST
5063   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5065 do
5066   IFS=$as_save_IFS
5067   test -z "$as_dir" && as_dir=.
5068     for ac_prog in grep ggrep; do
5069     for ac_exec_ext in '' $ac_executable_extensions; do
5070       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5071       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5072 # Check for GNU ac_path_GREP and select it if it is found.
5073   # Check for GNU $ac_path_GREP
5074 case `"$ac_path_GREP" --version 2>&1` in
5075 *GNU*)
5076   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5077 *)
5078   ac_count=0
5079   $as_echo_n 0123456789 >"conftest.in"
5080   while :
5081   do
5082     cat "conftest.in" "conftest.in" >"conftest.tmp"
5083     mv "conftest.tmp" "conftest.in"
5084     cp "conftest.in" "conftest.nl"
5085     $as_echo 'GREP' >> "conftest.nl"
5086     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5087     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5088     as_fn_arith $ac_count + 1 && ac_count=$as_val
5089     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5090       # Best one so far, save it but keep looking for a better one
5091       ac_cv_path_GREP="$ac_path_GREP"
5092       ac_path_GREP_max=$ac_count
5093     fi
5094     # 10*(2^10) chars as input seems more than enough
5095     test $ac_count -gt 10 && break
5096   done
5097   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5098 esac
5099
5100       $ac_path_GREP_found && break 3
5101     done
5102   done
5103   done
5104 IFS=$as_save_IFS
5105   if test -z "$ac_cv_path_GREP"; then
5106     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5107   fi
5108 else
5109   ac_cv_path_GREP=$GREP
5110 fi
5111
5112 fi
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5114 $as_echo "$ac_cv_path_GREP" >&6; }
5115  GREP="$ac_cv_path_GREP"
5116
5117
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5119 $as_echo_n "checking for egrep... " >&6; }
5120 if test "${ac_cv_path_EGREP+set}" = set; then :
5121   $as_echo_n "(cached) " >&6
5122 else
5123   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5124    then ac_cv_path_EGREP="$GREP -E"
5125    else
5126      if test -z "$EGREP"; then
5127   ac_path_EGREP_found=false
5128   # Loop through the user's path and test for each of PROGNAME-LIST
5129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5131 do
5132   IFS=$as_save_IFS
5133   test -z "$as_dir" && as_dir=.
5134     for ac_prog in egrep; do
5135     for ac_exec_ext in '' $ac_executable_extensions; do
5136       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5137       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5138 # Check for GNU ac_path_EGREP and select it if it is found.
5139   # Check for GNU $ac_path_EGREP
5140 case `"$ac_path_EGREP" --version 2>&1` in
5141 *GNU*)
5142   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5143 *)
5144   ac_count=0
5145   $as_echo_n 0123456789 >"conftest.in"
5146   while :
5147   do
5148     cat "conftest.in" "conftest.in" >"conftest.tmp"
5149     mv "conftest.tmp" "conftest.in"
5150     cp "conftest.in" "conftest.nl"
5151     $as_echo 'EGREP' >> "conftest.nl"
5152     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5154     as_fn_arith $ac_count + 1 && ac_count=$as_val
5155     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5156       # Best one so far, save it but keep looking for a better one
5157       ac_cv_path_EGREP="$ac_path_EGREP"
5158       ac_path_EGREP_max=$ac_count
5159     fi
5160     # 10*(2^10) chars as input seems more than enough
5161     test $ac_count -gt 10 && break
5162   done
5163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5164 esac
5165
5166       $ac_path_EGREP_found && break 3
5167     done
5168   done
5169   done
5170 IFS=$as_save_IFS
5171   if test -z "$ac_cv_path_EGREP"; then
5172     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5173   fi
5174 else
5175   ac_cv_path_EGREP=$EGREP
5176 fi
5177
5178    fi
5179 fi
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5181 $as_echo "$ac_cv_path_EGREP" >&6; }
5182  EGREP="$ac_cv_path_EGREP"
5183
5184
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5186 $as_echo_n "checking for fgrep... " >&6; }
5187 if test "${ac_cv_path_FGREP+set}" = set; then :
5188   $as_echo_n "(cached) " >&6
5189 else
5190   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5191    then ac_cv_path_FGREP="$GREP -F"
5192    else
5193      if test -z "$FGREP"; then
5194   ac_path_FGREP_found=false
5195   # Loop through the user's path and test for each of PROGNAME-LIST
5196   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5198 do
5199   IFS=$as_save_IFS
5200   test -z "$as_dir" && as_dir=.
5201     for ac_prog in fgrep; do
5202     for ac_exec_ext in '' $ac_executable_extensions; do
5203       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5204       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5205 # Check for GNU ac_path_FGREP and select it if it is found.
5206   # Check for GNU $ac_path_FGREP
5207 case `"$ac_path_FGREP" --version 2>&1` in
5208 *GNU*)
5209   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5210 *)
5211   ac_count=0
5212   $as_echo_n 0123456789 >"conftest.in"
5213   while :
5214   do
5215     cat "conftest.in" "conftest.in" >"conftest.tmp"
5216     mv "conftest.tmp" "conftest.in"
5217     cp "conftest.in" "conftest.nl"
5218     $as_echo 'FGREP' >> "conftest.nl"
5219     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5220     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5221     as_fn_arith $ac_count + 1 && ac_count=$as_val
5222     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5223       # Best one so far, save it but keep looking for a better one
5224       ac_cv_path_FGREP="$ac_path_FGREP"
5225       ac_path_FGREP_max=$ac_count
5226     fi
5227     # 10*(2^10) chars as input seems more than enough
5228     test $ac_count -gt 10 && break
5229   done
5230   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5231 esac
5232
5233       $ac_path_FGREP_found && break 3
5234     done
5235   done
5236   done
5237 IFS=$as_save_IFS
5238   if test -z "$ac_cv_path_FGREP"; then
5239     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5240   fi
5241 else
5242   ac_cv_path_FGREP=$FGREP
5243 fi
5244
5245    fi
5246 fi
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5248 $as_echo "$ac_cv_path_FGREP" >&6; }
5249  FGREP="$ac_cv_path_FGREP"
5250
5251
5252 test -z "$GREP" && GREP=grep
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272 # Check whether --with-gnu-ld was given.
5273 if test "${with_gnu_ld+set}" = set; then :
5274   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5275 else
5276   with_gnu_ld=no
5277 fi
5278
5279 ac_prog=ld
5280 if test "$GCC" = yes; then
5281   # Check if gcc -print-prog-name=ld gives a path.
5282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5283 $as_echo_n "checking for ld used by $CC... " >&6; }
5284   case $host in
5285   *-*-mingw*)
5286     # gcc leaves a trailing carriage return which upsets mingw
5287     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5288   *)
5289     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5290   esac
5291   case $ac_prog in
5292     # Accept absolute paths.
5293     [\\/]* | ?:[\\/]*)
5294       re_direlt='/[^/][^/]*/\.\./'
5295       # Canonicalize the pathname of ld
5296       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5297       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5298         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5299       done
5300       test -z "$LD" && LD="$ac_prog"
5301       ;;
5302   "")
5303     # If it fails, then pretend we aren't using GCC.
5304     ac_prog=ld
5305     ;;
5306   *)
5307     # If it is relative, then search for the first ld in PATH.
5308     with_gnu_ld=unknown
5309     ;;
5310   esac
5311 elif test "$with_gnu_ld" = yes; then
5312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5313 $as_echo_n "checking for GNU ld... " >&6; }
5314 else
5315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5316 $as_echo_n "checking for non-GNU ld... " >&6; }
5317 fi
5318 if test "${lt_cv_path_LD+set}" = set; then :
5319   $as_echo_n "(cached) " >&6
5320 else
5321   if test -z "$LD"; then
5322   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5323   for ac_dir in $PATH; do
5324     IFS="$lt_save_ifs"
5325     test -z "$ac_dir" && ac_dir=.
5326     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5327       lt_cv_path_LD="$ac_dir/$ac_prog"
5328       # Check to see if the program is GNU ld.  I'd rather use --version,
5329       # but apparently some variants of GNU ld only accept -v.
5330       # Break only if it was the GNU/non-GNU ld that we prefer.
5331       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5332       *GNU* | *'with BFD'*)
5333         test "$with_gnu_ld" != no && break
5334         ;;
5335       *)
5336         test "$with_gnu_ld" != yes && break
5337         ;;
5338       esac
5339     fi
5340   done
5341   IFS="$lt_save_ifs"
5342 else
5343   lt_cv_path_LD="$LD" # Let the user override the test with a path.
5344 fi
5345 fi
5346
5347 LD="$lt_cv_path_LD"
5348 if test -n "$LD"; then
5349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5350 $as_echo "$LD" >&6; }
5351 else
5352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5354 fi
5355 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5357 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5358 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5359   $as_echo_n "(cached) " >&6
5360 else
5361   # I'd rather use --version here, but apparently some GNU lds only accept -v.
5362 case `$LD -v 2>&1 </dev/null` in
5363 *GNU* | *'with BFD'*)
5364   lt_cv_prog_gnu_ld=yes
5365   ;;
5366 *)
5367   lt_cv_prog_gnu_ld=no
5368   ;;
5369 esac
5370 fi
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5372 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5373 with_gnu_ld=$lt_cv_prog_gnu_ld
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5384 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5385 if test "${lt_cv_path_NM+set}" = set; then :
5386   $as_echo_n "(cached) " >&6
5387 else
5388   if test -n "$NM"; then
5389   # Let the user override the test.
5390   lt_cv_path_NM="$NM"
5391 else
5392   lt_nm_to_check="${ac_tool_prefix}nm"
5393   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5394     lt_nm_to_check="$lt_nm_to_check nm"
5395   fi
5396   for lt_tmp_nm in $lt_nm_to_check; do
5397     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5398     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5399       IFS="$lt_save_ifs"
5400       test -z "$ac_dir" && ac_dir=.
5401       tmp_nm="$ac_dir/$lt_tmp_nm"
5402       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5403         # Check to see if the nm accepts a BSD-compat flag.
5404         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5405         #   nm: unknown option "B" ignored
5406         # Tru64's nm complains that /dev/null is an invalid object file
5407         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5408         */dev/null* | *'Invalid file or object type'*)
5409           lt_cv_path_NM="$tmp_nm -B"
5410           break
5411           ;;
5412         *)
5413           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5414           */dev/null*)
5415             lt_cv_path_NM="$tmp_nm -p"
5416             break
5417             ;;
5418           *)
5419             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5420             continue # so that we can try to find one that supports BSD flags
5421             ;;
5422           esac
5423           ;;
5424         esac
5425       fi
5426     done
5427     IFS="$lt_save_ifs"
5428   done
5429   : ${lt_cv_path_NM=no}
5430 fi
5431 fi
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5433 $as_echo "$lt_cv_path_NM" >&6; }
5434 if test "$lt_cv_path_NM" != "no"; then
5435   NM="$lt_cv_path_NM"
5436 else
5437   # Didn't find any BSD compatible name lister, look for dumpbin.
5438   if test -n "$DUMPBIN"; then :
5439     # Let the user override the test.
5440   else
5441     if test -n "$ac_tool_prefix"; then
5442   for ac_prog in dumpbin "link -dump"
5443   do
5444     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447 $as_echo_n "checking for $ac_word... " >&6; }
5448 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5449   $as_echo_n "(cached) " >&6
5450 else
5451   if test -n "$DUMPBIN"; then
5452   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5453 else
5454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5455 for as_dir in $PATH
5456 do
5457   IFS=$as_save_IFS
5458   test -z "$as_dir" && as_dir=.
5459     for ac_exec_ext in '' $ac_executable_extensions; do
5460   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5461     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5463     break 2
5464   fi
5465 done
5466   done
5467 IFS=$as_save_IFS
5468
5469 fi
5470 fi
5471 DUMPBIN=$ac_cv_prog_DUMPBIN
5472 if test -n "$DUMPBIN"; then
5473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5474 $as_echo "$DUMPBIN" >&6; }
5475 else
5476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5478 fi
5479
5480
5481     test -n "$DUMPBIN" && break
5482   done
5483 fi
5484 if test -z "$DUMPBIN"; then
5485   ac_ct_DUMPBIN=$DUMPBIN
5486   for ac_prog in dumpbin "link -dump"
5487 do
5488   # Extract the first word of "$ac_prog", so it can be a program name with args.
5489 set dummy $ac_prog; ac_word=$2
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491 $as_echo_n "checking for $ac_word... " >&6; }
5492 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5493   $as_echo_n "(cached) " >&6
5494 else
5495   if test -n "$ac_ct_DUMPBIN"; then
5496   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5500 do
5501   IFS=$as_save_IFS
5502   test -z "$as_dir" && as_dir=.
5503     for ac_exec_ext in '' $ac_executable_extensions; do
5504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5507     break 2
5508   fi
5509 done
5510   done
5511 IFS=$as_save_IFS
5512
5513 fi
5514 fi
5515 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5516 if test -n "$ac_ct_DUMPBIN"; then
5517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5518 $as_echo "$ac_ct_DUMPBIN" >&6; }
5519 else
5520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521 $as_echo "no" >&6; }
5522 fi
5523
5524
5525   test -n "$ac_ct_DUMPBIN" && break
5526 done
5527
5528   if test "x$ac_ct_DUMPBIN" = x; then
5529     DUMPBIN=":"
5530   else
5531     case $cross_compiling:$ac_tool_warned in
5532 yes:)
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535 ac_tool_warned=yes ;;
5536 esac
5537     DUMPBIN=$ac_ct_DUMPBIN
5538   fi
5539 fi
5540
5541     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5542     *COFF*)
5543       DUMPBIN="$DUMPBIN -symbols"
5544       ;;
5545     *)
5546       DUMPBIN=:
5547       ;;
5548     esac
5549   fi
5550
5551   if test "$DUMPBIN" != ":"; then
5552     NM="$DUMPBIN"
5553   fi
5554 fi
5555 test -z "$NM" && NM=nm
5556
5557
5558
5559
5560
5561
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5563 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5564 if test "${lt_cv_nm_interface+set}" = set; then :
5565   $as_echo_n "(cached) " >&6
5566 else
5567   lt_cv_nm_interface="BSD nm"
5568   echo "int some_variable = 0;" > conftest.$ac_ext
5569   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5570   (eval "$ac_compile" 2>conftest.err)
5571   cat conftest.err >&5
5572   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5573   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5574   cat conftest.err >&5
5575   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5576   cat conftest.out >&5
5577   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5578     lt_cv_nm_interface="MS dumpbin"
5579   fi
5580   rm -f conftest*
5581 fi
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5583 $as_echo "$lt_cv_nm_interface" >&6; }
5584
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5586 $as_echo_n "checking whether ln -s works... " >&6; }
5587 LN_S=$as_ln_s
5588 if test "$LN_S" = "ln -s"; then
5589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5590 $as_echo "yes" >&6; }
5591 else
5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5593 $as_echo "no, using $LN_S" >&6; }
5594 fi
5595
5596 # find the maximum length of command line arguments
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5598 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5599 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5600   $as_echo_n "(cached) " >&6
5601 else
5602     i=0
5603   teststring="ABCD"
5604
5605   case $build_os in
5606   msdosdjgpp*)
5607     # On DJGPP, this test can blow up pretty badly due to problems in libc
5608     # (any single argument exceeding 2000 bytes causes a buffer overrun
5609     # during glob expansion).  Even if it were fixed, the result of this
5610     # check would be larger than it should be.
5611     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5612     ;;
5613
5614   gnu*)
5615     # Under GNU Hurd, this test is not required because there is
5616     # no limit to the length of command line arguments.
5617     # Libtool will interpret -1 as no limit whatsoever
5618     lt_cv_sys_max_cmd_len=-1;
5619     ;;
5620
5621   cygwin* | mingw* | cegcc*)
5622     # On Win9x/ME, this test blows up -- it succeeds, but takes
5623     # about 5 minutes as the teststring grows exponentially.
5624     # Worse, since 9x/ME are not pre-emptively multitasking,
5625     # you end up with a "frozen" computer, even though with patience
5626     # the test eventually succeeds (with a max line length of 256k).
5627     # Instead, let's just punt: use the minimum linelength reported by
5628     # all of the supported platforms: 8192 (on NT/2K/XP).
5629     lt_cv_sys_max_cmd_len=8192;
5630     ;;
5631
5632   mint*)
5633     # On MiNT this can take a long time and run out of memory.
5634     lt_cv_sys_max_cmd_len=8192;
5635     ;;
5636
5637   amigaos*)
5638     # On AmigaOS with pdksh, this test takes hours, literally.
5639     # So we just punt and use a minimum line length of 8192.
5640     lt_cv_sys_max_cmd_len=8192;
5641     ;;
5642
5643   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5644     # This has been around since 386BSD, at least.  Likely further.
5645     if test -x /sbin/sysctl; then
5646       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5647     elif test -x /usr/sbin/sysctl; then
5648       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5649     else
5650       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5651     fi
5652     # And add a safety zone
5653     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5654     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5655     ;;
5656
5657   interix*)
5658     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5659     lt_cv_sys_max_cmd_len=196608
5660     ;;
5661
5662   osf*)
5663     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5664     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5665     # nice to cause kernel panics so lets avoid the loop below.
5666     # First set a reasonable default.
5667     lt_cv_sys_max_cmd_len=16384
5668     #
5669     if test -x /sbin/sysconfig; then
5670       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5671         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5672       esac
5673     fi
5674     ;;
5675   sco3.2v5*)
5676     lt_cv_sys_max_cmd_len=102400
5677     ;;
5678   sysv5* | sco5v6* | sysv4.2uw2*)
5679     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5680     if test -n "$kargmax"; then
5681       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5682     else
5683       lt_cv_sys_max_cmd_len=32768
5684     fi
5685     ;;
5686   *)
5687     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5688     if test -n "$lt_cv_sys_max_cmd_len"; then
5689       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5690       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5691     else
5692       # Make teststring a little bigger before we do anything with it.
5693       # a 1K string should be a reasonable start.
5694       for i in 1 2 3 4 5 6 7 8 ; do
5695         teststring=$teststring$teststring
5696       done
5697       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5698       # If test is not a shell built-in, we'll probably end up computing a
5699       # maximum length that is only half of the actual maximum length, but
5700       # we can't tell.
5701       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5702                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5703               test $i != 17 # 1/2 MB should be enough
5704       do
5705         i=`expr $i + 1`
5706         teststring=$teststring$teststring
5707       done
5708       # Only check the string length outside the loop.
5709       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5710       teststring=
5711       # Add a significant safety factor because C++ compilers can tack on
5712       # massive amounts of additional arguments before passing them to the
5713       # linker.  It appears as though 1/2 is a usable value.
5714       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5715     fi
5716     ;;
5717   esac
5718
5719 fi
5720
5721 if test -n $lt_cv_sys_max_cmd_len ; then
5722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5723 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5724 else
5725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5726 $as_echo "none" >&6; }
5727 fi
5728 max_cmd_len=$lt_cv_sys_max_cmd_len
5729
5730
5731
5732
5733
5734
5735 : ${CP="cp -f"}
5736 : ${MV="mv -f"}
5737 : ${RM="rm -f"}
5738
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5740 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5741 # Try some XSI features
5742 xsi_shell=no
5743 ( _lt_dummy="a/b/c"
5744   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5745       = c,a/b,, \
5746     && eval 'test $(( 1 + 1 )) -eq 2 \
5747     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5748   && xsi_shell=yes
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5750 $as_echo "$xsi_shell" >&6; }
5751
5752
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5754 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5755 lt_shell_append=no
5756 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5757     >/dev/null 2>&1 \
5758   && lt_shell_append=yes
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5760 $as_echo "$lt_shell_append" >&6; }
5761
5762
5763 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5764   lt_unset=unset
5765 else
5766   lt_unset=false
5767 fi
5768
5769
5770
5771
5772
5773 # test EBCDIC or ASCII
5774 case `echo X|tr X '\101'` in
5775  A) # ASCII based system
5776     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5777   lt_SP2NL='tr \040 \012'
5778   lt_NL2SP='tr \015\012 \040\040'
5779   ;;
5780  *) # EBCDIC based system
5781   lt_SP2NL='tr \100 \n'
5782   lt_NL2SP='tr \r\n \100\100'
5783   ;;
5784 esac
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5795 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5796 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5797   $as_echo_n "(cached) " >&6
5798 else
5799   lt_cv_ld_reload_flag='-r'
5800 fi
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5802 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5803 reload_flag=$lt_cv_ld_reload_flag
5804 case $reload_flag in
5805 "" | " "*) ;;
5806 *) reload_flag=" $reload_flag" ;;
5807 esac
5808 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5809 case $host_os in
5810   darwin*)
5811     if test "$GCC" = yes; then
5812       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5813     else
5814       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5815     fi
5816     ;;
5817 esac
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827 if test -n "$ac_tool_prefix"; then
5828   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5829 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5831 $as_echo_n "checking for $ac_word... " >&6; }
5832 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5833   $as_echo_n "(cached) " >&6
5834 else
5835   if test -n "$OBJDUMP"; then
5836   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5837 else
5838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839 for as_dir in $PATH
5840 do
5841   IFS=$as_save_IFS
5842   test -z "$as_dir" && as_dir=.
5843     for ac_exec_ext in '' $ac_executable_extensions; do
5844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5845     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5847     break 2
5848   fi
5849 done
5850   done
5851 IFS=$as_save_IFS
5852
5853 fi
5854 fi
5855 OBJDUMP=$ac_cv_prog_OBJDUMP
5856 if test -n "$OBJDUMP"; then
5857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5858 $as_echo "$OBJDUMP" >&6; }
5859 else
5860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5861 $as_echo "no" >&6; }
5862 fi
5863
5864
5865 fi
5866 if test -z "$ac_cv_prog_OBJDUMP"; then
5867   ac_ct_OBJDUMP=$OBJDUMP
5868   # Extract the first word of "objdump", so it can be a program name with args.
5869 set dummy objdump; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5873   $as_echo_n "(cached) " >&6
5874 else
5875   if test -n "$ac_ct_OBJDUMP"; then
5876   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5880 do
5881   IFS=$as_save_IFS
5882   test -z "$as_dir" && as_dir=.
5883     for ac_exec_ext in '' $ac_executable_extensions; do
5884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887     break 2
5888   fi
5889 done
5890   done
5891 IFS=$as_save_IFS
5892
5893 fi
5894 fi
5895 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5896 if test -n "$ac_ct_OBJDUMP"; then
5897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5898 $as_echo "$ac_ct_OBJDUMP" >&6; }
5899 else
5900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5902 fi
5903
5904   if test "x$ac_ct_OBJDUMP" = x; then
5905     OBJDUMP="false"
5906   else
5907     case $cross_compiling:$ac_tool_warned in
5908 yes:)
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5911 ac_tool_warned=yes ;;
5912 esac
5913     OBJDUMP=$ac_ct_OBJDUMP
5914   fi
5915 else
5916   OBJDUMP="$ac_cv_prog_OBJDUMP"
5917 fi
5918
5919 test -z "$OBJDUMP" && OBJDUMP=objdump
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5930 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5931 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5932   $as_echo_n "(cached) " >&6
5933 else
5934   lt_cv_file_magic_cmd='$MAGIC_CMD'
5935 lt_cv_file_magic_test_file=
5936 lt_cv_deplibs_check_method='unknown'
5937 # Need to set the preceding variable on all platforms that support
5938 # interlibrary dependencies.
5939 # 'none' -- dependencies not supported.
5940 # `unknown' -- same as none, but documents that we really don't know.
5941 # 'pass_all' -- all dependencies passed with no checks.
5942 # 'test_compile' -- check by making test program.
5943 # 'file_magic [[regex]]' -- check by looking for files in library path
5944 # which responds to the $file_magic_cmd with a given extended regex.
5945 # If you have `file' or equivalent on your system and you're not sure
5946 # whether `pass_all' will *always* work, you probably want this one.
5947
5948 case $host_os in
5949 aix[4-9]*)
5950   lt_cv_deplibs_check_method=pass_all
5951   ;;
5952
5953 beos*)
5954   lt_cv_deplibs_check_method=pass_all
5955   ;;
5956
5957 bsdi[45]*)
5958   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5959   lt_cv_file_magic_cmd='/usr/bin/file -L'
5960   lt_cv_file_magic_test_file=/shlib/libc.so
5961   ;;
5962
5963 cygwin*)
5964   # func_win32_libid is a shell function defined in ltmain.sh
5965   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5966   lt_cv_file_magic_cmd='func_win32_libid'
5967   ;;
5968
5969 mingw* | pw32*)
5970   # Base MSYS/MinGW do not provide the 'file' command needed by
5971   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5972   # unless we find 'file', for example because we are cross-compiling.
5973   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5974   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5975     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5976     lt_cv_file_magic_cmd='func_win32_libid'
5977   else
5978     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5979     lt_cv_file_magic_cmd='$OBJDUMP -f'
5980   fi
5981   ;;
5982
5983 cegcc*)
5984   # use the weaker test based on 'objdump'. See mingw*.
5985   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5986   lt_cv_file_magic_cmd='$OBJDUMP -f'
5987   ;;
5988
5989 darwin* | rhapsody*)
5990   lt_cv_deplibs_check_method=pass_all
5991   ;;
5992
5993 freebsd* | dragonfly*)
5994   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5995     case $host_cpu in
5996     i*86 )
5997       # Not sure whether the presence of OpenBSD here was a mistake.
5998       # Let's accept both of them until this is cleared up.
5999       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6000       lt_cv_file_magic_cmd=/usr/bin/file
6001       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6002       ;;
6003     esac
6004   else
6005     lt_cv_deplibs_check_method=pass_all
6006   fi
6007   ;;
6008
6009 gnu*)
6010   lt_cv_deplibs_check_method=pass_all
6011   ;;
6012
6013 haiku*)
6014   lt_cv_deplibs_check_method=pass_all
6015   ;;
6016
6017 hpux10.20* | hpux11*)
6018   lt_cv_file_magic_cmd=/usr/bin/file
6019   case $host_cpu in
6020   ia64*)
6021     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6022     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6023     ;;
6024   hppa*64*)
6025     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]'
6026     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6027     ;;
6028   *)
6029     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6030     lt_cv_file_magic_test_file=/usr/lib/libc.sl
6031     ;;
6032   esac
6033   ;;
6034
6035 interix[3-9]*)
6036   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6037   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6038   ;;
6039
6040 irix5* | irix6* | nonstopux*)
6041   case $LD in
6042   *-32|*"-32 ") libmagic=32-bit;;
6043   *-n32|*"-n32 ") libmagic=N32;;
6044   *-64|*"-64 ") libmagic=64-bit;;
6045   *) libmagic=never-match;;
6046   esac
6047   lt_cv_deplibs_check_method=pass_all
6048   ;;
6049
6050 # This must be Linux ELF.
6051 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6052   lt_cv_deplibs_check_method=pass_all
6053   ;;
6054
6055 netbsd*)
6056   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6057     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6058   else
6059     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6060   fi
6061   ;;
6062
6063 newos6*)
6064   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6065   lt_cv_file_magic_cmd=/usr/bin/file
6066   lt_cv_file_magic_test_file=/usr/lib/libnls.so
6067   ;;
6068
6069 *nto* | *qnx*)
6070   lt_cv_deplibs_check_method=pass_all
6071   ;;
6072
6073 openbsd*)
6074   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6075     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6076   else
6077     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6078   fi
6079   ;;
6080
6081 osf3* | osf4* | osf5*)
6082   lt_cv_deplibs_check_method=pass_all
6083   ;;
6084
6085 rdos*)
6086   lt_cv_deplibs_check_method=pass_all
6087   ;;
6088
6089 solaris*)
6090   lt_cv_deplibs_check_method=pass_all
6091   ;;
6092
6093 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6094   lt_cv_deplibs_check_method=pass_all
6095   ;;
6096
6097 sysv4 | sysv4.3*)
6098   case $host_vendor in
6099   motorola)
6100     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]'
6101     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6102     ;;
6103   ncr)
6104     lt_cv_deplibs_check_method=pass_all
6105     ;;
6106   sequent)
6107     lt_cv_file_magic_cmd='/bin/file'
6108     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6109     ;;
6110   sni)
6111     lt_cv_file_magic_cmd='/bin/file'
6112     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6113     lt_cv_file_magic_test_file=/lib/libc.so
6114     ;;
6115   siemens)
6116     lt_cv_deplibs_check_method=pass_all
6117     ;;
6118   pc)
6119     lt_cv_deplibs_check_method=pass_all
6120     ;;
6121   esac
6122   ;;
6123
6124 tpf*)
6125   lt_cv_deplibs_check_method=pass_all
6126   ;;
6127 esac
6128
6129 fi
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6131 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6132 file_magic_cmd=$lt_cv_file_magic_cmd
6133 deplibs_check_method=$lt_cv_deplibs_check_method
6134 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147 if test -n "$ac_tool_prefix"; then
6148   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6149 set dummy ${ac_tool_prefix}ar; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151 $as_echo_n "checking for $ac_word... " >&6; }
6152 if test "${ac_cv_prog_AR+set}" = set; then :
6153   $as_echo_n "(cached) " >&6
6154 else
6155   if test -n "$AR"; then
6156   ac_cv_prog_AR="$AR" # Let the user override the test.
6157 else
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in $PATH
6160 do
6161   IFS=$as_save_IFS
6162   test -z "$as_dir" && as_dir=.
6163     for ac_exec_ext in '' $ac_executable_extensions; do
6164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6165     ac_cv_prog_AR="${ac_tool_prefix}ar"
6166     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167     break 2
6168   fi
6169 done
6170   done
6171 IFS=$as_save_IFS
6172
6173 fi
6174 fi
6175 AR=$ac_cv_prog_AR
6176 if test -n "$AR"; then
6177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6178 $as_echo "$AR" >&6; }
6179 else
6180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181 $as_echo "no" >&6; }
6182 fi
6183
6184
6185 fi
6186 if test -z "$ac_cv_prog_AR"; then
6187   ac_ct_AR=$AR
6188   # Extract the first word of "ar", so it can be a program name with args.
6189 set dummy ar; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6191 $as_echo_n "checking for $ac_word... " >&6; }
6192 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6193   $as_echo_n "(cached) " >&6
6194 else
6195   if test -n "$ac_ct_AR"; then
6196   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6197 else
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 for as_dir in $PATH
6200 do
6201   IFS=$as_save_IFS
6202   test -z "$as_dir" && as_dir=.
6203     for ac_exec_ext in '' $ac_executable_extensions; do
6204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6205     ac_cv_prog_ac_ct_AR="ar"
6206     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6207     break 2
6208   fi
6209 done
6210   done
6211 IFS=$as_save_IFS
6212
6213 fi
6214 fi
6215 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6216 if test -n "$ac_ct_AR"; then
6217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6218 $as_echo "$ac_ct_AR" >&6; }
6219 else
6220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6221 $as_echo "no" >&6; }
6222 fi
6223
6224   if test "x$ac_ct_AR" = x; then
6225     AR="false"
6226   else
6227     case $cross_compiling:$ac_tool_warned in
6228 yes:)
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6230 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6231 ac_tool_warned=yes ;;
6232 esac
6233     AR=$ac_ct_AR
6234   fi
6235 else
6236   AR="$ac_cv_prog_AR"
6237 fi
6238
6239 test -z "$AR" && AR=ar
6240 test -z "$AR_FLAGS" && AR_FLAGS=cru
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252 if test -n "$ac_tool_prefix"; then
6253   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}strip; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256 $as_echo_n "checking for $ac_word... " >&6; }
6257 if test "${ac_cv_prog_STRIP+set}" = set; then :
6258   $as_echo_n "(cached) " >&6
6259 else
6260   if test -n "$STRIP"; then
6261   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6262 else
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6264 for as_dir in $PATH
6265 do
6266   IFS=$as_save_IFS
6267   test -z "$as_dir" && as_dir=.
6268     for ac_exec_ext in '' $ac_executable_extensions; do
6269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6272     break 2
6273   fi
6274 done
6275   done
6276 IFS=$as_save_IFS
6277
6278 fi
6279 fi
6280 STRIP=$ac_cv_prog_STRIP
6281 if test -n "$STRIP"; then
6282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6283 $as_echo "$STRIP" >&6; }
6284 else
6285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286 $as_echo "no" >&6; }
6287 fi
6288
6289
6290 fi
6291 if test -z "$ac_cv_prog_STRIP"; then
6292   ac_ct_STRIP=$STRIP
6293   # Extract the first word of "strip", so it can be a program name with args.
6294 set dummy strip; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6298   $as_echo_n "(cached) " >&6
6299 else
6300   if test -n "$ac_ct_STRIP"; then
6301   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6302 else
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 for as_dir in $PATH
6305 do
6306   IFS=$as_save_IFS
6307   test -z "$as_dir" && as_dir=.
6308     for ac_exec_ext in '' $ac_executable_extensions; do
6309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310     ac_cv_prog_ac_ct_STRIP="strip"
6311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6312     break 2
6313   fi
6314 done
6315   done
6316 IFS=$as_save_IFS
6317
6318 fi
6319 fi
6320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6321 if test -n "$ac_ct_STRIP"; then
6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6323 $as_echo "$ac_ct_STRIP" >&6; }
6324 else
6325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326 $as_echo "no" >&6; }
6327 fi
6328
6329   if test "x$ac_ct_STRIP" = x; then
6330     STRIP=":"
6331   else
6332     case $cross_compiling:$ac_tool_warned in
6333 yes:)
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6336 ac_tool_warned=yes ;;
6337 esac
6338     STRIP=$ac_ct_STRIP
6339   fi
6340 else
6341   STRIP="$ac_cv_prog_STRIP"
6342 fi
6343
6344 test -z "$STRIP" && STRIP=:
6345
6346
6347
6348
6349
6350
6351 if test -n "$ac_tool_prefix"; then
6352   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6357   $as_echo_n "(cached) " >&6
6358 else
6359   if test -n "$RANLIB"; then
6360   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6361 else
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363 for as_dir in $PATH
6364 do
6365   IFS=$as_save_IFS
6366   test -z "$as_dir" && as_dir=.
6367     for ac_exec_ext in '' $ac_executable_extensions; do
6368   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6369     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371     break 2
6372   fi
6373 done
6374   done
6375 IFS=$as_save_IFS
6376
6377 fi
6378 fi
6379 RANLIB=$ac_cv_prog_RANLIB
6380 if test -n "$RANLIB"; then
6381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6382 $as_echo "$RANLIB" >&6; }
6383 else
6384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6386 fi
6387
6388
6389 fi
6390 if test -z "$ac_cv_prog_RANLIB"; then
6391   ac_ct_RANLIB=$RANLIB
6392   # Extract the first word of "ranlib", so it can be a program name with args.
6393 set dummy ranlib; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6395 $as_echo_n "checking for $ac_word... " >&6; }
6396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6397   $as_echo_n "(cached) " >&6
6398 else
6399   if test -n "$ac_ct_RANLIB"; then
6400   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6401 else
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 for as_dir in $PATH
6404 do
6405   IFS=$as_save_IFS
6406   test -z "$as_dir" && as_dir=.
6407     for ac_exec_ext in '' $ac_executable_extensions; do
6408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6409     ac_cv_prog_ac_ct_RANLIB="ranlib"
6410     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411     break 2
6412   fi
6413 done
6414   done
6415 IFS=$as_save_IFS
6416
6417 fi
6418 fi
6419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6420 if test -n "$ac_ct_RANLIB"; then
6421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6422 $as_echo "$ac_ct_RANLIB" >&6; }
6423 else
6424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425 $as_echo "no" >&6; }
6426 fi
6427
6428   if test "x$ac_ct_RANLIB" = x; then
6429     RANLIB=":"
6430   else
6431     case $cross_compiling:$ac_tool_warned in
6432 yes:)
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6435 ac_tool_warned=yes ;;
6436 esac
6437     RANLIB=$ac_ct_RANLIB
6438   fi
6439 else
6440   RANLIB="$ac_cv_prog_RANLIB"
6441 fi
6442
6443 test -z "$RANLIB" && RANLIB=:
6444
6445
6446
6447
6448
6449
6450 # Determine commands to create old-style static archives.
6451 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6452 old_postinstall_cmds='chmod 644 $oldlib'
6453 old_postuninstall_cmds=
6454
6455 if test -n "$RANLIB"; then
6456   case $host_os in
6457   openbsd*)
6458     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6459     ;;
6460   *)
6461     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6462     ;;
6463   esac
6464   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6465 fi
6466
6467 case $host_os in
6468   darwin*)
6469     lock_old_archive_extraction=yes ;;
6470   *)
6471     lock_old_archive_extraction=no ;;
6472 esac
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 # If no C compiler was specified, use CC.
6513 LTCC=${LTCC-"$CC"}
6514
6515 # If no C compiler flags were specified, use CFLAGS.
6516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6517
6518 # Allow CC to be a program name with arguments.
6519 compiler=$CC
6520
6521
6522 # Check for command to grab the raw symbol name followed by C symbol from nm.
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6524 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6525 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6526   $as_echo_n "(cached) " >&6
6527 else
6528
6529 # These are sane defaults that work on at least a few old systems.
6530 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6531
6532 # Character class describing NM global symbol codes.
6533 symcode='[BCDEGRST]'
6534
6535 # Regexp to match symbols that can be accessed directly from C.
6536 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6537
6538 # Define system-specific variables.
6539 case $host_os in
6540 aix*)
6541   symcode='[BCDT]'
6542   ;;
6543 cygwin* | mingw* | pw32* | cegcc*)
6544   symcode='[ABCDGISTW]'
6545   ;;
6546 hpux*)
6547   if test "$host_cpu" = ia64; then
6548     symcode='[ABCDEGRST]'
6549   fi
6550   ;;
6551 irix* | nonstopux*)
6552   symcode='[BCDEGRST]'
6553   ;;
6554 osf*)
6555   symcode='[BCDEGQRST]'
6556   ;;
6557 solaris*)
6558   symcode='[BDRT]'
6559   ;;
6560 sco3.2v5*)
6561   symcode='[DT]'
6562   ;;
6563 sysv4.2uw2*)
6564   symcode='[DT]'
6565   ;;
6566 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6567   symcode='[ABDT]'
6568   ;;
6569 sysv4)
6570   symcode='[DFNSTU]'
6571   ;;
6572 esac
6573
6574 # If we're using GNU nm, then use its standard symbol codes.
6575 case `$NM -V 2>&1` in
6576 *GNU* | *'with BFD'*)
6577   symcode='[ABCDGIRSTW]' ;;
6578 esac
6579
6580 # Transform an extracted symbol line into a proper C declaration.
6581 # Some systems (esp. on ia64) link data and code symbols differently,
6582 # so use this general approach.
6583 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6584
6585 # Transform an extracted symbol line into symbol name and symbol address
6586 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6587 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'"
6588
6589 # Handle CRLF in mingw tool chain
6590 opt_cr=
6591 case $build_os in
6592 mingw*)
6593   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6594   ;;
6595 esac
6596
6597 # Try without a prefix underscore, then with it.
6598 for ac_symprfx in "" "_"; do
6599
6600   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6601   symxfrm="\\1 $ac_symprfx\\2 \\2"
6602
6603   # Write the raw and C identifiers.
6604   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6605     # Fake it for dumpbin and say T for any non-static function
6606     # and D for any global variable.
6607     # Also find C++ and __fastcall symbols from MSVC++,
6608     # which start with @ or ?.
6609     lt_cv_sys_global_symbol_pipe="$AWK '"\
6610 "     {last_section=section; section=\$ 3};"\
6611 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6612 "     \$ 0!~/External *\|/{next};"\
6613 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6614 "     {if(hide[section]) next};"\
6615 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6616 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6617 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6618 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6619 "     ' prfx=^$ac_symprfx"
6620   else
6621     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6622   fi
6623
6624   # Check to see that the pipe works correctly.
6625   pipe_works=no
6626
6627   rm -f conftest*
6628   cat > conftest.$ac_ext <<_LT_EOF
6629 #ifdef __cplusplus
6630 extern "C" {
6631 #endif
6632 char nm_test_var;
6633 void nm_test_func(void);
6634 void nm_test_func(void){}
6635 #ifdef __cplusplus
6636 }
6637 #endif
6638 int main(){nm_test_var='a';nm_test_func();return(0);}
6639 _LT_EOF
6640
6641   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6642   (eval $ac_compile) 2>&5
6643   ac_status=$?
6644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6645   test $ac_status = 0; }; then
6646     # Now try to grab the symbols.
6647     nlist=conftest.nm
6648     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6649   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6650   ac_status=$?
6651   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6652   test $ac_status = 0; } && test -s "$nlist"; then
6653       # Try sorting and uniquifying the output.
6654       if sort "$nlist" | uniq > "$nlist"T; then
6655         mv -f "$nlist"T "$nlist"
6656       else
6657         rm -f "$nlist"T
6658       fi
6659
6660       # Make sure that we snagged all the symbols we need.
6661       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6662         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6663           cat <<_LT_EOF > conftest.$ac_ext
6664 #ifdef __cplusplus
6665 extern "C" {
6666 #endif
6667
6668 _LT_EOF
6669           # Now generate the symbol file.
6670           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6671
6672           cat <<_LT_EOF >> conftest.$ac_ext
6673
6674 /* The mapping between symbol names and symbols.  */
6675 const struct {
6676   const char *name;
6677   void       *address;
6678 }
6679 lt__PROGRAM__LTX_preloaded_symbols[] =
6680 {
6681   { "@PROGRAM@", (void *) 0 },
6682 _LT_EOF
6683           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6684           cat <<\_LT_EOF >> conftest.$ac_ext
6685   {0, (void *) 0}
6686 };
6687
6688 /* This works around a problem in FreeBSD linker */
6689 #ifdef FREEBSD_WORKAROUND
6690 static const void *lt_preloaded_setup() {
6691   return lt__PROGRAM__LTX_preloaded_symbols;
6692 }
6693 #endif
6694
6695 #ifdef __cplusplus
6696 }
6697 #endif
6698 _LT_EOF
6699           # Now try linking the two files.
6700           mv conftest.$ac_objext conftstm.$ac_objext
6701           lt_save_LIBS="$LIBS"
6702           lt_save_CFLAGS="$CFLAGS"
6703           LIBS="conftstm.$ac_objext"
6704           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6705           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6706   (eval $ac_link) 2>&5
6707   ac_status=$?
6708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6709   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6710             pipe_works=yes
6711           fi
6712           LIBS="$lt_save_LIBS"
6713           CFLAGS="$lt_save_CFLAGS"
6714         else
6715           echo "cannot find nm_test_func in $nlist" >&5
6716         fi
6717       else
6718         echo "cannot find nm_test_var in $nlist" >&5
6719       fi
6720     else
6721       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6722     fi
6723   else
6724     echo "$progname: failed program was:" >&5
6725     cat conftest.$ac_ext >&5
6726   fi
6727   rm -rf conftest* conftst*
6728
6729   # Do not use the global_symbol_pipe unless it works.
6730   if test "$pipe_works" = yes; then
6731     break
6732   else
6733     lt_cv_sys_global_symbol_pipe=
6734   fi
6735 done
6736
6737 fi
6738
6739 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6740   lt_cv_sys_global_symbol_to_cdecl=
6741 fi
6742 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6744 $as_echo "failed" >&6; }
6745 else
6746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6747 $as_echo "ok" >&6; }
6748 fi
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771 # Check whether --enable-libtool-lock was given.
6772 if test "${enable_libtool_lock+set}" = set; then :
6773   enableval=$enable_libtool_lock;
6774 fi
6775
6776 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6777
6778 # Some flags need to be propagated to the compiler or linker for good
6779 # libtool support.
6780 case $host in
6781 ia64-*-hpux*)
6782   # Find out which ABI we are using.
6783   echo 'int i;' > conftest.$ac_ext
6784   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6785   (eval $ac_compile) 2>&5
6786   ac_status=$?
6787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6788   test $ac_status = 0; }; then
6789     case `/usr/bin/file conftest.$ac_objext` in
6790       *ELF-32*)
6791         HPUX_IA64_MODE="32"
6792         ;;
6793       *ELF-64*)
6794         HPUX_IA64_MODE="64"
6795         ;;
6796     esac
6797   fi
6798   rm -rf conftest*
6799   ;;
6800 *-*-irix6*)
6801   # Find out which ABI we are using.
6802   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6803   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6804   (eval $ac_compile) 2>&5
6805   ac_status=$?
6806   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6807   test $ac_status = 0; }; then
6808     if test "$lt_cv_prog_gnu_ld" = yes; then
6809       case `/usr/bin/file conftest.$ac_objext` in
6810         *32-bit*)
6811           LD="${LD-ld} -melf32bsmip"
6812           ;;
6813         *N32*)
6814           LD="${LD-ld} -melf32bmipn32"
6815           ;;
6816         *64-bit*)
6817           LD="${LD-ld} -melf64bmip"
6818         ;;
6819       esac
6820     else
6821       case `/usr/bin/file conftest.$ac_objext` in
6822         *32-bit*)
6823           LD="${LD-ld} -32"
6824           ;;
6825         *N32*)
6826           LD="${LD-ld} -n32"
6827           ;;
6828         *64-bit*)
6829           LD="${LD-ld} -64"
6830           ;;
6831       esac
6832     fi
6833   fi
6834   rm -rf conftest*
6835   ;;
6836
6837 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6838 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6839   # Find out which ABI we are using.
6840   echo 'int i;' > conftest.$ac_ext
6841   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6842   (eval $ac_compile) 2>&5
6843   ac_status=$?
6844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6845   test $ac_status = 0; }; then
6846     case `/usr/bin/file conftest.o` in
6847       *32-bit*)
6848         case $host in
6849           x86_64-*kfreebsd*-gnu)
6850             LD="${LD-ld} -m elf_i386_fbsd"
6851             ;;
6852           x86_64-*linux*)
6853             LD="${LD-ld} -m elf_i386"
6854             ;;
6855           ppc64-*linux*|powerpc64-*linux*)
6856             LD="${LD-ld} -m elf32ppclinux"
6857             ;;
6858           s390x-*linux*)
6859             LD="${LD-ld} -m elf_s390"
6860             ;;
6861           sparc64-*linux*)
6862             LD="${LD-ld} -m elf32_sparc"
6863             ;;
6864         esac
6865         ;;
6866       *64-bit*)
6867         case $host in
6868           x86_64-*kfreebsd*-gnu)
6869             LD="${LD-ld} -m elf_x86_64_fbsd"
6870             ;;
6871           x86_64-*linux*)
6872             LD="${LD-ld} -m elf_x86_64"
6873             ;;
6874           ppc*-*linux*|powerpc*-*linux*)
6875             LD="${LD-ld} -m elf64ppc"
6876             ;;
6877           s390*-*linux*|s390*-*tpf*)
6878             LD="${LD-ld} -m elf64_s390"
6879             ;;
6880           sparc*-*linux*)
6881             LD="${LD-ld} -m elf64_sparc"
6882             ;;
6883         esac
6884         ;;
6885     esac
6886   fi
6887   rm -rf conftest*
6888   ;;
6889
6890 *-*-sco3.2v5*)
6891   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6892   SAVE_CFLAGS="$CFLAGS"
6893   CFLAGS="$CFLAGS -belf"
6894   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6895 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6896 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6897   $as_echo_n "(cached) " >&6
6898 else
6899   ac_ext=c
6900 ac_cpp='$CPP $CPPFLAGS'
6901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6904
6905      if test x$gcc_no_link = xyes; then
6906   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6907 fi
6908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6909 /* end confdefs.h.  */
6910
6911 int
6912 main ()
6913 {
6914
6915   ;
6916   return 0;
6917 }
6918 _ACEOF
6919 if ac_fn_c_try_link "$LINENO"; then :
6920   lt_cv_cc_needs_belf=yes
6921 else
6922   lt_cv_cc_needs_belf=no
6923 fi
6924 rm -f core conftest.err conftest.$ac_objext \
6925     conftest$ac_exeext conftest.$ac_ext
6926      ac_ext=c
6927 ac_cpp='$CPP $CPPFLAGS'
6928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6931
6932 fi
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6934 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6935   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6936     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6937     CFLAGS="$SAVE_CFLAGS"
6938   fi
6939   ;;
6940 sparc*-*solaris*)
6941   # Find out which ABI we are using.
6942   echo 'int i;' > conftest.$ac_ext
6943   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6944   (eval $ac_compile) 2>&5
6945   ac_status=$?
6946   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6947   test $ac_status = 0; }; then
6948     case `/usr/bin/file conftest.o` in
6949     *64-bit*)
6950       case $lt_cv_prog_gnu_ld in
6951       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6952       *)
6953         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6954           LD="${LD-ld} -64"
6955         fi
6956         ;;
6957       esac
6958       ;;
6959     esac
6960   fi
6961   rm -rf conftest*
6962   ;;
6963 esac
6964
6965 need_locks="$enable_libtool_lock"
6966
6967
6968   case $host_os in
6969     rhapsody* | darwin*)
6970     if test -n "$ac_tool_prefix"; then
6971   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6972 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6974 $as_echo_n "checking for $ac_word... " >&6; }
6975 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6976   $as_echo_n "(cached) " >&6
6977 else
6978   if test -n "$DSYMUTIL"; then
6979   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6980 else
6981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6982 for as_dir in $PATH
6983 do
6984   IFS=$as_save_IFS
6985   test -z "$as_dir" && as_dir=.
6986     for ac_exec_ext in '' $ac_executable_extensions; do
6987   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6989     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6990     break 2
6991   fi
6992 done
6993   done
6994 IFS=$as_save_IFS
6995
6996 fi
6997 fi
6998 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6999 if test -n "$DSYMUTIL"; then
7000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7001 $as_echo "$DSYMUTIL" >&6; }
7002 else
7003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7004 $as_echo "no" >&6; }
7005 fi
7006
7007
7008 fi
7009 if test -z "$ac_cv_prog_DSYMUTIL"; then
7010   ac_ct_DSYMUTIL=$DSYMUTIL
7011   # Extract the first word of "dsymutil", so it can be a program name with args.
7012 set dummy dsymutil; ac_word=$2
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7014 $as_echo_n "checking for $ac_word... " >&6; }
7015 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7016   $as_echo_n "(cached) " >&6
7017 else
7018   if test -n "$ac_ct_DSYMUTIL"; then
7019   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7020 else
7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7022 for as_dir in $PATH
7023 do
7024   IFS=$as_save_IFS
7025   test -z "$as_dir" && as_dir=.
7026     for ac_exec_ext in '' $ac_executable_extensions; do
7027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7028     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7030     break 2
7031   fi
7032 done
7033   done
7034 IFS=$as_save_IFS
7035
7036 fi
7037 fi
7038 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7039 if test -n "$ac_ct_DSYMUTIL"; then
7040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7041 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7042 else
7043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7044 $as_echo "no" >&6; }
7045 fi
7046
7047   if test "x$ac_ct_DSYMUTIL" = x; then
7048     DSYMUTIL=":"
7049   else
7050     case $cross_compiling:$ac_tool_warned in
7051 yes:)
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7054 ac_tool_warned=yes ;;
7055 esac
7056     DSYMUTIL=$ac_ct_DSYMUTIL
7057   fi
7058 else
7059   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7060 fi
7061
7062     if test -n "$ac_tool_prefix"; then
7063   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7064 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7068   $as_echo_n "(cached) " >&6
7069 else
7070   if test -n "$NMEDIT"; then
7071   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7072 else
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7074 for as_dir in $PATH
7075 do
7076   IFS=$as_save_IFS
7077   test -z "$as_dir" && as_dir=.
7078     for ac_exec_ext in '' $ac_executable_extensions; do
7079   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7081     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7082     break 2
7083   fi
7084 done
7085   done
7086 IFS=$as_save_IFS
7087
7088 fi
7089 fi
7090 NMEDIT=$ac_cv_prog_NMEDIT
7091 if test -n "$NMEDIT"; then
7092   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7093 $as_echo "$NMEDIT" >&6; }
7094 else
7095   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7097 fi
7098
7099
7100 fi
7101 if test -z "$ac_cv_prog_NMEDIT"; then
7102   ac_ct_NMEDIT=$NMEDIT
7103   # Extract the first word of "nmedit", so it can be a program name with args.
7104 set dummy nmedit; ac_word=$2
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7106 $as_echo_n "checking for $ac_word... " >&6; }
7107 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7108   $as_echo_n "(cached) " >&6
7109 else
7110   if test -n "$ac_ct_NMEDIT"; then
7111   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7112 else
7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114 for as_dir in $PATH
7115 do
7116   IFS=$as_save_IFS
7117   test -z "$as_dir" && as_dir=.
7118     for ac_exec_ext in '' $ac_executable_extensions; do
7119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7120     ac_cv_prog_ac_ct_NMEDIT="nmedit"
7121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7122     break 2
7123   fi
7124 done
7125   done
7126 IFS=$as_save_IFS
7127
7128 fi
7129 fi
7130 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7131 if test -n "$ac_ct_NMEDIT"; then
7132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7133 $as_echo "$ac_ct_NMEDIT" >&6; }
7134 else
7135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7136 $as_echo "no" >&6; }
7137 fi
7138
7139   if test "x$ac_ct_NMEDIT" = x; then
7140     NMEDIT=":"
7141   else
7142     case $cross_compiling:$ac_tool_warned in
7143 yes:)
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7146 ac_tool_warned=yes ;;
7147 esac
7148     NMEDIT=$ac_ct_NMEDIT
7149   fi
7150 else
7151   NMEDIT="$ac_cv_prog_NMEDIT"
7152 fi
7153
7154     if test -n "$ac_tool_prefix"; then
7155   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7156 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7158 $as_echo_n "checking for $ac_word... " >&6; }
7159 if test "${ac_cv_prog_LIPO+set}" = set; then :
7160   $as_echo_n "(cached) " >&6
7161 else
7162   if test -n "$LIPO"; then
7163   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7164 else
7165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7166 for as_dir in $PATH
7167 do
7168   IFS=$as_save_IFS
7169   test -z "$as_dir" && as_dir=.
7170     for ac_exec_ext in '' $ac_executable_extensions; do
7171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7174     break 2
7175   fi
7176 done
7177   done
7178 IFS=$as_save_IFS
7179
7180 fi
7181 fi
7182 LIPO=$ac_cv_prog_LIPO
7183 if test -n "$LIPO"; then
7184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7185 $as_echo "$LIPO" >&6; }
7186 else
7187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7188 $as_echo "no" >&6; }
7189 fi
7190
7191
7192 fi
7193 if test -z "$ac_cv_prog_LIPO"; then
7194   ac_ct_LIPO=$LIPO
7195   # Extract the first word of "lipo", so it can be a program name with args.
7196 set dummy lipo; ac_word=$2
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7198 $as_echo_n "checking for $ac_word... " >&6; }
7199 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7200   $as_echo_n "(cached) " >&6
7201 else
7202   if test -n "$ac_ct_LIPO"; then
7203   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7204 else
7205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206 for as_dir in $PATH
7207 do
7208   IFS=$as_save_IFS
7209   test -z "$as_dir" && as_dir=.
7210     for ac_exec_ext in '' $ac_executable_extensions; do
7211   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7212     ac_cv_prog_ac_ct_LIPO="lipo"
7213     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7214     break 2
7215   fi
7216 done
7217   done
7218 IFS=$as_save_IFS
7219
7220 fi
7221 fi
7222 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7223 if test -n "$ac_ct_LIPO"; then
7224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7225 $as_echo "$ac_ct_LIPO" >&6; }
7226 else
7227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7228 $as_echo "no" >&6; }
7229 fi
7230
7231   if test "x$ac_ct_LIPO" = x; then
7232     LIPO=":"
7233   else
7234     case $cross_compiling:$ac_tool_warned in
7235 yes:)
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7237 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7238 ac_tool_warned=yes ;;
7239 esac
7240     LIPO=$ac_ct_LIPO
7241   fi
7242 else
7243   LIPO="$ac_cv_prog_LIPO"
7244 fi
7245
7246     if test -n "$ac_tool_prefix"; then
7247   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7248 set dummy ${ac_tool_prefix}otool; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7252   $as_echo_n "(cached) " >&6
7253 else
7254   if test -n "$OTOOL"; then
7255   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7259 do
7260   IFS=$as_save_IFS
7261   test -z "$as_dir" && as_dir=.
7262     for ac_exec_ext in '' $ac_executable_extensions; do
7263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266     break 2
7267   fi
7268 done
7269   done
7270 IFS=$as_save_IFS
7271
7272 fi
7273 fi
7274 OTOOL=$ac_cv_prog_OTOOL
7275 if test -n "$OTOOL"; then
7276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7277 $as_echo "$OTOOL" >&6; }
7278 else
7279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7281 fi
7282
7283
7284 fi
7285 if test -z "$ac_cv_prog_OTOOL"; then
7286   ac_ct_OTOOL=$OTOOL
7287   # Extract the first word of "otool", so it can be a program name with args.
7288 set dummy otool; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7292   $as_echo_n "(cached) " >&6
7293 else
7294   if test -n "$ac_ct_OTOOL"; then
7295   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7299 do
7300   IFS=$as_save_IFS
7301   test -z "$as_dir" && as_dir=.
7302     for ac_exec_ext in '' $ac_executable_extensions; do
7303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304     ac_cv_prog_ac_ct_OTOOL="otool"
7305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306     break 2
7307   fi
7308 done
7309   done
7310 IFS=$as_save_IFS
7311
7312 fi
7313 fi
7314 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7315 if test -n "$ac_ct_OTOOL"; then
7316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7317 $as_echo "$ac_ct_OTOOL" >&6; }
7318 else
7319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7321 fi
7322
7323   if test "x$ac_ct_OTOOL" = x; then
7324     OTOOL=":"
7325   else
7326     case $cross_compiling:$ac_tool_warned in
7327 yes:)
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7330 ac_tool_warned=yes ;;
7331 esac
7332     OTOOL=$ac_ct_OTOOL
7333   fi
7334 else
7335   OTOOL="$ac_cv_prog_OTOOL"
7336 fi
7337
7338     if test -n "$ac_tool_prefix"; then
7339   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7344   $as_echo_n "(cached) " >&6
7345 else
7346   if test -n "$OTOOL64"; then
7347   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7351 do
7352   IFS=$as_save_IFS
7353   test -z "$as_dir" && as_dir=.
7354     for ac_exec_ext in '' $ac_executable_extensions; do
7355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7357     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358     break 2
7359   fi
7360 done
7361   done
7362 IFS=$as_save_IFS
7363
7364 fi
7365 fi
7366 OTOOL64=$ac_cv_prog_OTOOL64
7367 if test -n "$OTOOL64"; then
7368   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7369 $as_echo "$OTOOL64" >&6; }
7370 else
7371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7373 fi
7374
7375
7376 fi
7377 if test -z "$ac_cv_prog_OTOOL64"; then
7378   ac_ct_OTOOL64=$OTOOL64
7379   # Extract the first word of "otool64", so it can be a program name with args.
7380 set dummy otool64; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7384   $as_echo_n "(cached) " >&6
7385 else
7386   if test -n "$ac_ct_OTOOL64"; then
7387   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7391 do
7392   IFS=$as_save_IFS
7393   test -z "$as_dir" && as_dir=.
7394     for ac_exec_ext in '' $ac_executable_extensions; do
7395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396     ac_cv_prog_ac_ct_OTOOL64="otool64"
7397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398     break 2
7399   fi
7400 done
7401   done
7402 IFS=$as_save_IFS
7403
7404 fi
7405 fi
7406 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7407 if test -n "$ac_ct_OTOOL64"; then
7408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7409 $as_echo "$ac_ct_OTOOL64" >&6; }
7410 else
7411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7413 fi
7414
7415   if test "x$ac_ct_OTOOL64" = x; then
7416     OTOOL64=":"
7417   else
7418     case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424     OTOOL64=$ac_ct_OTOOL64
7425   fi
7426 else
7427   OTOOL64="$ac_cv_prog_OTOOL64"
7428 fi
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7457 $as_echo_n "checking for -single_module linker flag... " >&6; }
7458 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7459   $as_echo_n "(cached) " >&6
7460 else
7461   lt_cv_apple_cc_single_mod=no
7462       if test -z "${LT_MULTI_MODULE}"; then
7463         # By default we will add the -single_module flag. You can override
7464         # by either setting the environment variable LT_MULTI_MODULE
7465         # non-empty at configure time, or by adding -multi_module to the
7466         # link flags.
7467         rm -rf libconftest.dylib*
7468         echo "int foo(void){return 1;}" > conftest.c
7469         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7470 -dynamiclib -Wl,-single_module conftest.c" >&5
7471         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7472           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7473         _lt_result=$?
7474         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7475           lt_cv_apple_cc_single_mod=yes
7476         else
7477           cat conftest.err >&5
7478         fi
7479         rm -rf libconftest.dylib*
7480         rm -f conftest.*
7481       fi
7482 fi
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7484 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7485     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7486 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7487 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7488   $as_echo_n "(cached) " >&6
7489 else
7490   lt_cv_ld_exported_symbols_list=no
7491       save_LDFLAGS=$LDFLAGS
7492       echo "_main" > conftest.sym
7493       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7494       if test x$gcc_no_link = xyes; then
7495   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7496 fi
7497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7498 /* end confdefs.h.  */
7499
7500 int
7501 main ()
7502 {
7503
7504   ;
7505   return 0;
7506 }
7507 _ACEOF
7508 if ac_fn_c_try_link "$LINENO"; then :
7509   lt_cv_ld_exported_symbols_list=yes
7510 else
7511   lt_cv_ld_exported_symbols_list=no
7512 fi
7513 rm -f core conftest.err conftest.$ac_objext \
7514     conftest$ac_exeext conftest.$ac_ext
7515         LDFLAGS="$save_LDFLAGS"
7516
7517 fi
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7519 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7520     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7521 $as_echo_n "checking for -force_load linker flag... " >&6; }
7522 if test "${lt_cv_ld_force_load+set}" = set; then :
7523   $as_echo_n "(cached) " >&6
7524 else
7525   lt_cv_ld_force_load=no
7526       cat > conftest.c << _LT_EOF
7527 int forced_loaded() { return 2;}
7528 _LT_EOF
7529       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7530       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7531       echo "$AR cru libconftest.a conftest.o" >&5
7532       $AR cru libconftest.a conftest.o 2>&5
7533       cat > conftest.c << _LT_EOF
7534 int main() { return 0;}
7535 _LT_EOF
7536       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7537       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7538       _lt_result=$?
7539       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7540         lt_cv_ld_force_load=yes
7541       else
7542         cat conftest.err >&5
7543       fi
7544         rm -f conftest.err libconftest.a conftest conftest.c
7545         rm -rf conftest.dSYM
7546
7547 fi
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7549 $as_echo "$lt_cv_ld_force_load" >&6; }
7550     case $host_os in
7551     rhapsody* | darwin1.[012])
7552       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7553     darwin1.*)
7554       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7555     darwin*) # darwin 5.x on
7556       # if running on 10.5 or later, the deployment target defaults
7557       # to the OS version, if on x86, and 10.4, the deployment
7558       # target defaults to 10.4. Don't you love it?
7559       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7560         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7561           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7562         10.[012]*)
7563           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7564         10.*)
7565           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7566       esac
7567     ;;
7568   esac
7569     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7570       _lt_dar_single_mod='$single_module'
7571     fi
7572     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7573       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7574     else
7575       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7576     fi
7577     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7578       _lt_dsymutil='~$DSYMUTIL $lib || :'
7579     else
7580       _lt_dsymutil=
7581     fi
7582     ;;
7583   esac
7584
7585 ac_ext=c
7586 ac_cpp='$CPP $CPPFLAGS'
7587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7591 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7592 # On Suns, sometimes $CPP names a directory.
7593 if test -n "$CPP" && test -d "$CPP"; then
7594   CPP=
7595 fi
7596 if test -z "$CPP"; then
7597   if test "${ac_cv_prog_CPP+set}" = set; then :
7598   $as_echo_n "(cached) " >&6
7599 else
7600       # Double quotes because CPP needs to be expanded
7601     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7602     do
7603       ac_preproc_ok=false
7604 for ac_c_preproc_warn_flag in '' yes
7605 do
7606   # Use a header file that comes with gcc, so configuring glibc
7607   # with a fresh cross-compiler works.
7608   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7609   # <limits.h> exists even on freestanding compilers.
7610   # On the NeXT, cc -E runs the code through the compiler's parser,
7611   # not just through cpp. "Syntax error" is here to catch this case.
7612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h.  */
7614 #ifdef __STDC__
7615 # include <limits.h>
7616 #else
7617 # include <assert.h>
7618 #endif
7619                      Syntax error
7620 _ACEOF
7621 if ac_fn_c_try_cpp "$LINENO"; then :
7622
7623 else
7624   # Broken: fails on valid input.
7625 continue
7626 fi
7627 rm -f conftest.err conftest.$ac_ext
7628
7629   # OK, works on sane cases.  Now check whether nonexistent headers
7630   # can be detected and how.
7631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7632 /* end confdefs.h.  */
7633 #include <ac_nonexistent.h>
7634 _ACEOF
7635 if ac_fn_c_try_cpp "$LINENO"; then :
7636   # Broken: success on invalid input.
7637 continue
7638 else
7639   # Passes both tests.
7640 ac_preproc_ok=:
7641 break
7642 fi
7643 rm -f conftest.err conftest.$ac_ext
7644
7645 done
7646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7647 rm -f conftest.err conftest.$ac_ext
7648 if $ac_preproc_ok; then :
7649   break
7650 fi
7651
7652     done
7653     ac_cv_prog_CPP=$CPP
7654
7655 fi
7656   CPP=$ac_cv_prog_CPP
7657 else
7658   ac_cv_prog_CPP=$CPP
7659 fi
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7661 $as_echo "$CPP" >&6; }
7662 ac_preproc_ok=false
7663 for ac_c_preproc_warn_flag in '' yes
7664 do
7665   # Use a header file that comes with gcc, so configuring glibc
7666   # with a fresh cross-compiler works.
7667   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7668   # <limits.h> exists even on freestanding compilers.
7669   # On the NeXT, cc -E runs the code through the compiler's parser,
7670   # not just through cpp. "Syntax error" is here to catch this case.
7671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672 /* end confdefs.h.  */
7673 #ifdef __STDC__
7674 # include <limits.h>
7675 #else
7676 # include <assert.h>
7677 #endif
7678                      Syntax error
7679 _ACEOF
7680 if ac_fn_c_try_cpp "$LINENO"; then :
7681
7682 else
7683   # Broken: fails on valid input.
7684 continue
7685 fi
7686 rm -f conftest.err conftest.$ac_ext
7687
7688   # OK, works on sane cases.  Now check whether nonexistent headers
7689   # can be detected and how.
7690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h.  */
7692 #include <ac_nonexistent.h>
7693 _ACEOF
7694 if ac_fn_c_try_cpp "$LINENO"; then :
7695   # Broken: success on invalid input.
7696 continue
7697 else
7698   # Passes both tests.
7699 ac_preproc_ok=:
7700 break
7701 fi
7702 rm -f conftest.err conftest.$ac_ext
7703
7704 done
7705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7706 rm -f conftest.err conftest.$ac_ext
7707 if $ac_preproc_ok; then :
7708
7709 else
7710   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7712 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7713 See \`config.log' for more details." "$LINENO" 5; }
7714 fi
7715
7716 ac_ext=c
7717 ac_cpp='$CPP $CPPFLAGS'
7718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7721
7722
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7724 $as_echo_n "checking for ANSI C header files... " >&6; }
7725 if test "${ac_cv_header_stdc+set}" = set; then :
7726   $as_echo_n "(cached) " >&6
7727 else
7728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7729 /* end confdefs.h.  */
7730 #include <stdlib.h>
7731 #include <stdarg.h>
7732 #include <string.h>
7733 #include <float.h>
7734
7735 int
7736 main ()
7737 {
7738
7739   ;
7740   return 0;
7741 }
7742 _ACEOF
7743 if ac_fn_c_try_compile "$LINENO"; then :
7744   ac_cv_header_stdc=yes
7745 else
7746   ac_cv_header_stdc=no
7747 fi
7748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7749
7750 if test $ac_cv_header_stdc = yes; then
7751   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h.  */
7754 #include <string.h>
7755
7756 _ACEOF
7757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7758   $EGREP "memchr" >/dev/null 2>&1; then :
7759
7760 else
7761   ac_cv_header_stdc=no
7762 fi
7763 rm -f conftest*
7764
7765 fi
7766
7767 if test $ac_cv_header_stdc = yes; then
7768   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7770 /* end confdefs.h.  */
7771 #include <stdlib.h>
7772
7773 _ACEOF
7774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7775   $EGREP "free" >/dev/null 2>&1; then :
7776
7777 else
7778   ac_cv_header_stdc=no
7779 fi
7780 rm -f conftest*
7781
7782 fi
7783
7784 if test $ac_cv_header_stdc = yes; then
7785   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7786   if test "$cross_compiling" = yes; then :
7787   :
7788 else
7789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h.  */
7791 #include <ctype.h>
7792 #include <stdlib.h>
7793 #if ((' ' & 0x0FF) == 0x020)
7794 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7795 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7796 #else
7797 # define ISLOWER(c) \
7798                    (('a' <= (c) && (c) <= 'i') \
7799                      || ('j' <= (c) && (c) <= 'r') \
7800                      || ('s' <= (c) && (c) <= 'z'))
7801 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7802 #endif
7803
7804 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7805 int
7806 main ()
7807 {
7808   int i;
7809   for (i = 0; i < 256; i++)
7810     if (XOR (islower (i), ISLOWER (i))
7811         || toupper (i) != TOUPPER (i))
7812       return 2;
7813   return 0;
7814 }
7815 _ACEOF
7816 if ac_fn_c_try_run "$LINENO"; then :
7817
7818 else
7819   ac_cv_header_stdc=no
7820 fi
7821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7822   conftest.$ac_objext conftest.beam conftest.$ac_ext
7823 fi
7824
7825 fi
7826 fi
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7828 $as_echo "$ac_cv_header_stdc" >&6; }
7829 if test $ac_cv_header_stdc = yes; then
7830
7831 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7832
7833 fi
7834
7835 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7836 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7837                   inttypes.h stdint.h unistd.h
7838 do :
7839   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7840 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7841 "
7842 eval as_val=\$$as_ac_Header
7843    if test "x$as_val" = x""yes; then :
7844   cat >>confdefs.h <<_ACEOF
7845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7846 _ACEOF
7847
7848 fi
7849
7850 done
7851
7852
7853 for ac_header in dlfcn.h
7854 do :
7855   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7856 "
7857 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7858   cat >>confdefs.h <<_ACEOF
7859 #define HAVE_DLFCN_H 1
7860 _ACEOF
7861
7862 fi
7863
7864 done
7865
7866
7867
7868
7869
7870 # Set options
7871
7872
7873
7874
7875   enable_win32_dll=no
7876
7877
7878             # Check whether --enable-shared was given.
7879 if test "${enable_shared+set}" = set; then :
7880   enableval=$enable_shared; p=${PACKAGE-default}
7881     case $enableval in
7882     yes) enable_shared=yes ;;
7883     no) enable_shared=no ;;
7884     *)
7885       enable_shared=no
7886       # Look at the argument we got.  We use all the common list separators.
7887       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7888       for pkg in $enableval; do
7889         IFS="$lt_save_ifs"
7890         if test "X$pkg" = "X$p"; then
7891           enable_shared=yes
7892         fi
7893       done
7894       IFS="$lt_save_ifs"
7895       ;;
7896     esac
7897 else
7898   enable_shared=yes
7899 fi
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909   # Check whether --enable-static was given.
7910 if test "${enable_static+set}" = set; then :
7911   enableval=$enable_static; p=${PACKAGE-default}
7912     case $enableval in
7913     yes) enable_static=yes ;;
7914     no) enable_static=no ;;
7915     *)
7916      enable_static=no
7917       # Look at the argument we got.  We use all the common list separators.
7918       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7919       for pkg in $enableval; do
7920         IFS="$lt_save_ifs"
7921         if test "X$pkg" = "X$p"; then
7922           enable_static=yes
7923         fi
7924       done
7925       IFS="$lt_save_ifs"
7926       ;;
7927     esac
7928 else
7929   enable_static=yes
7930 fi
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941 # Check whether --with-pic was given.
7942 if test "${with_pic+set}" = set; then :
7943   withval=$with_pic; pic_mode="$withval"
7944 else
7945   pic_mode=default
7946 fi
7947
7948
7949 test -z "$pic_mode" && pic_mode=default
7950
7951
7952
7953
7954
7955
7956
7957   # Check whether --enable-fast-install was given.
7958 if test "${enable_fast_install+set}" = set; then :
7959   enableval=$enable_fast_install; p=${PACKAGE-default}
7960     case $enableval in
7961     yes) enable_fast_install=yes ;;
7962     no) enable_fast_install=no ;;
7963     *)
7964       enable_fast_install=no
7965       # Look at the argument we got.  We use all the common list separators.
7966       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7967       for pkg in $enableval; do
7968         IFS="$lt_save_ifs"
7969         if test "X$pkg" = "X$p"; then
7970           enable_fast_install=yes
7971         fi
7972       done
7973       IFS="$lt_save_ifs"
7974       ;;
7975     esac
7976 else
7977   enable_fast_install=yes
7978 fi
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990 # This can be used to rebuild libtool when needed
7991 LIBTOOL_DEPS="$ltmain"
7992
7993 # Always use our own libtool.
7994 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021 test -z "$LN_S" && LN_S="ln -s"
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036 if test -n "${ZSH_VERSION+set}" ; then
8037    setopt NO_GLOB_SUBST
8038 fi
8039
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8041 $as_echo_n "checking for objdir... " >&6; }
8042 if test "${lt_cv_objdir+set}" = set; then :
8043   $as_echo_n "(cached) " >&6
8044 else
8045   rm -f .libs 2>/dev/null
8046 mkdir .libs 2>/dev/null
8047 if test -d .libs; then
8048   lt_cv_objdir=.libs
8049 else
8050   # MS-DOS does not allow filenames that begin with a dot.
8051   lt_cv_objdir=_libs
8052 fi
8053 rmdir .libs 2>/dev/null
8054 fi
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8056 $as_echo "$lt_cv_objdir" >&6; }
8057 objdir=$lt_cv_objdir
8058
8059
8060
8061
8062
8063 cat >>confdefs.h <<_ACEOF
8064 #define LT_OBJDIR "$lt_cv_objdir/"
8065 _ACEOF
8066
8067
8068
8069
8070 case $host_os in
8071 aix3*)
8072   # AIX sometimes has problems with the GCC collect2 program.  For some
8073   # reason, if we set the COLLECT_NAMES environment variable, the problems
8074   # vanish in a puff of smoke.
8075   if test "X${COLLECT_NAMES+set}" != Xset; then
8076     COLLECT_NAMES=
8077     export COLLECT_NAMES
8078   fi
8079   ;;
8080 esac
8081
8082 # Global variables:
8083 ofile=libtool
8084 can_build_shared=yes
8085
8086 # All known linkers require a `.a' archive for static linking (except MSVC,
8087 # which needs '.lib').
8088 libext=a
8089
8090 with_gnu_ld="$lt_cv_prog_gnu_ld"
8091
8092 old_CC="$CC"
8093 old_CFLAGS="$CFLAGS"
8094
8095 # Set sane defaults for various variables
8096 test -z "$CC" && CC=cc
8097 test -z "$LTCC" && LTCC=$CC
8098 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8099 test -z "$LD" && LD=ld
8100 test -z "$ac_objext" && ac_objext=o
8101
8102 for cc_temp in $compiler""; do
8103   case $cc_temp in
8104     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8105     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8106     \-*) ;;
8107     *) break;;
8108   esac
8109 done
8110 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8111
8112
8113 # Only perform the check for file, if the check method requires it
8114 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8115 case $deplibs_check_method in
8116 file_magic*)
8117   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8118     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8119 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8120 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8121   $as_echo_n "(cached) " >&6
8122 else
8123   case $MAGIC_CMD in
8124 [\\/*] |  ?:[\\/]*)
8125   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8126   ;;
8127 *)
8128   lt_save_MAGIC_CMD="$MAGIC_CMD"
8129   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8130   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8131   for ac_dir in $ac_dummy; do
8132     IFS="$lt_save_ifs"
8133     test -z "$ac_dir" && ac_dir=.
8134     if test -f $ac_dir/${ac_tool_prefix}file; then
8135       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8136       if test -n "$file_magic_test_file"; then
8137         case $deplibs_check_method in
8138         "file_magic "*)
8139           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8140           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8141           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8142             $EGREP "$file_magic_regex" > /dev/null; then
8143             :
8144           else
8145             cat <<_LT_EOF 1>&2
8146
8147 *** Warning: the command libtool uses to detect shared libraries,
8148 *** $file_magic_cmd, produces output that libtool cannot recognize.
8149 *** The result is that libtool may fail to recognize shared libraries
8150 *** as such.  This will affect the creation of libtool libraries that
8151 *** depend on shared libraries, but programs linked with such libtool
8152 *** libraries will work regardless of this problem.  Nevertheless, you
8153 *** may want to report the problem to your system manager and/or to
8154 *** bug-libtool@gnu.org
8155
8156 _LT_EOF
8157           fi ;;
8158         esac
8159       fi
8160       break
8161     fi
8162   done
8163   IFS="$lt_save_ifs"
8164   MAGIC_CMD="$lt_save_MAGIC_CMD"
8165   ;;
8166 esac
8167 fi
8168
8169 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8170 if test -n "$MAGIC_CMD"; then
8171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8172 $as_echo "$MAGIC_CMD" >&6; }
8173 else
8174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8176 fi
8177
8178
8179
8180
8181
8182 if test -z "$lt_cv_path_MAGIC_CMD"; then
8183   if test -n "$ac_tool_prefix"; then
8184     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8185 $as_echo_n "checking for file... " >&6; }
8186 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8187   $as_echo_n "(cached) " >&6
8188 else
8189   case $MAGIC_CMD in
8190 [\\/*] |  ?:[\\/]*)
8191   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8192   ;;
8193 *)
8194   lt_save_MAGIC_CMD="$MAGIC_CMD"
8195   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8196   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8197   for ac_dir in $ac_dummy; do
8198     IFS="$lt_save_ifs"
8199     test -z "$ac_dir" && ac_dir=.
8200     if test -f $ac_dir/file; then
8201       lt_cv_path_MAGIC_CMD="$ac_dir/file"
8202       if test -n "$file_magic_test_file"; then
8203         case $deplibs_check_method in
8204         "file_magic "*)
8205           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8206           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8207           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8208             $EGREP "$file_magic_regex" > /dev/null; then
8209             :
8210           else
8211             cat <<_LT_EOF 1>&2
8212
8213 *** Warning: the command libtool uses to detect shared libraries,
8214 *** $file_magic_cmd, produces output that libtool cannot recognize.
8215 *** The result is that libtool may fail to recognize shared libraries
8216 *** as such.  This will affect the creation of libtool libraries that
8217 *** depend on shared libraries, but programs linked with such libtool
8218 *** libraries will work regardless of this problem.  Nevertheless, you
8219 *** may want to report the problem to your system manager and/or to
8220 *** bug-libtool@gnu.org
8221
8222 _LT_EOF
8223           fi ;;
8224         esac
8225       fi
8226       break
8227     fi
8228   done
8229   IFS="$lt_save_ifs"
8230   MAGIC_CMD="$lt_save_MAGIC_CMD"
8231   ;;
8232 esac
8233 fi
8234
8235 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8236 if test -n "$MAGIC_CMD"; then
8237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8238 $as_echo "$MAGIC_CMD" >&6; }
8239 else
8240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241 $as_echo "no" >&6; }
8242 fi
8243
8244
8245   else
8246     MAGIC_CMD=:
8247   fi
8248 fi
8249
8250   fi
8251   ;;
8252 esac
8253
8254 # Use C for the default configuration in the libtool script
8255
8256 lt_save_CC="$CC"
8257 ac_ext=c
8258 ac_cpp='$CPP $CPPFLAGS'
8259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8262
8263
8264 # Source file extension for C test sources.
8265 ac_ext=c
8266
8267 # Object file extension for compiled C test sources.
8268 objext=o
8269 objext=$objext
8270
8271 # Code to be used in simple compile tests
8272 lt_simple_compile_test_code="int some_variable = 0;"
8273
8274 # Code to be used in simple link tests
8275 lt_simple_link_test_code='int main(){return(0);}'
8276
8277
8278
8279
8280
8281
8282
8283 # If no C compiler was specified, use CC.
8284 LTCC=${LTCC-"$CC"}
8285
8286 # If no C compiler flags were specified, use CFLAGS.
8287 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8288
8289 # Allow CC to be a program name with arguments.
8290 compiler=$CC
8291
8292 # Save the default compiler, since it gets overwritten when the other
8293 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8294 compiler_DEFAULT=$CC
8295
8296 # save warnings/boilerplate of simple test code
8297 ac_outfile=conftest.$ac_objext
8298 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8299 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8300 _lt_compiler_boilerplate=`cat conftest.err`
8301 $RM conftest*
8302
8303 ac_outfile=conftest.$ac_objext
8304 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8305 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8306 _lt_linker_boilerplate=`cat conftest.err`
8307 $RM -r conftest*
8308
8309
8310 ## CAVEAT EMPTOR:
8311 ## There is no encapsulation within the following macros, do not change
8312 ## the running order or otherwise move them around unless you know exactly
8313 ## what you are doing...
8314 if test -n "$compiler"; then
8315
8316 lt_prog_compiler_no_builtin_flag=
8317
8318 if test "$GCC" = yes; then
8319   case $cc_basename in
8320   nvcc*)
8321     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8322   *)
8323     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8324   esac
8325
8326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8327 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8328 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8329   $as_echo_n "(cached) " >&6
8330 else
8331   lt_cv_prog_compiler_rtti_exceptions=no
8332    ac_outfile=conftest.$ac_objext
8333    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8334    lt_compiler_flag="-fno-rtti -fno-exceptions"
8335    # Insert the option either (1) after the last *FLAGS variable, or
8336    # (2) before a word containing "conftest.", or (3) at the end.
8337    # Note that $ac_compile itself does not contain backslashes and begins
8338    # with a dollar sign (not a hyphen), so the echo should work correctly.
8339    # The option is referenced via a variable to avoid confusing sed.
8340    lt_compile=`echo "$ac_compile" | $SED \
8341    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8342    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8343    -e 's:$: $lt_compiler_flag:'`
8344    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8345    (eval "$lt_compile" 2>conftest.err)
8346    ac_status=$?
8347    cat conftest.err >&5
8348    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349    if (exit $ac_status) && test -s "$ac_outfile"; then
8350      # The compiler can only warn and ignore the option if not recognized
8351      # So say no if there are warnings other than the usual output.
8352      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8353      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8354      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8355        lt_cv_prog_compiler_rtti_exceptions=yes
8356      fi
8357    fi
8358    $RM conftest*
8359
8360 fi
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8362 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8363
8364 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8365     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8366 else
8367     :
8368 fi
8369
8370 fi
8371
8372
8373
8374
8375
8376
8377   lt_prog_compiler_wl=
8378 lt_prog_compiler_pic=
8379 lt_prog_compiler_static=
8380
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8382 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8383
8384   if test "$GCC" = yes; then
8385     lt_prog_compiler_wl='-Wl,'
8386     lt_prog_compiler_static='-static'
8387
8388     case $host_os in
8389       aix*)
8390       # All AIX code is PIC.
8391       if test "$host_cpu" = ia64; then
8392         # AIX 5 now supports IA64 processor
8393         lt_prog_compiler_static='-Bstatic'
8394       fi
8395       ;;
8396
8397     amigaos*)
8398       case $host_cpu in
8399       powerpc)
8400             # see comment about AmigaOS4 .so support
8401             lt_prog_compiler_pic='-fPIC'
8402         ;;
8403       m68k)
8404             # FIXME: we need at least 68020 code to build shared libraries, but
8405             # adding the `-m68020' flag to GCC prevents building anything better,
8406             # like `-m68040'.
8407             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8408         ;;
8409       esac
8410       ;;
8411
8412     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8413       # PIC is the default for these OSes.
8414       ;;
8415
8416     mingw* | cygwin* | pw32* | os2* | cegcc*)
8417       # This hack is so that the source file can tell whether it is being
8418       # built for inclusion in a dll (and should export symbols for example).
8419       # Although the cygwin gcc ignores -fPIC, still need this for old-style
8420       # (--disable-auto-import) libraries
8421       lt_prog_compiler_pic='-DDLL_EXPORT'
8422       ;;
8423
8424     darwin* | rhapsody*)
8425       # PIC is the default on this platform
8426       # Common symbols not allowed in MH_DYLIB files
8427       lt_prog_compiler_pic='-fno-common'
8428       ;;
8429
8430     haiku*)
8431       # PIC is the default for Haiku.
8432       # The "-static" flag exists, but is broken.
8433       lt_prog_compiler_static=
8434       ;;
8435
8436     hpux*)
8437       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8438       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8439       # sets the default TLS model and affects inlining.
8440       case $host_cpu in
8441       hppa*64*)
8442         # +Z the default
8443         ;;
8444       *)
8445         lt_prog_compiler_pic='-fPIC'
8446         ;;
8447       esac
8448       ;;
8449
8450     interix[3-9]*)
8451       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8452       # Instead, we relocate shared libraries at runtime.
8453       ;;
8454
8455     msdosdjgpp*)
8456       # Just because we use GCC doesn't mean we suddenly get shared libraries
8457       # on systems that don't support them.
8458       lt_prog_compiler_can_build_shared=no
8459       enable_shared=no
8460       ;;
8461
8462     *nto* | *qnx*)
8463       # QNX uses GNU C++, but need to define -shared option too, otherwise
8464       # it will coredump.
8465       lt_prog_compiler_pic='-fPIC -shared'
8466       ;;
8467
8468     sysv4*MP*)
8469       if test -d /usr/nec; then
8470         lt_prog_compiler_pic=-Kconform_pic
8471       fi
8472       ;;
8473
8474     *)
8475       lt_prog_compiler_pic='-fPIC'
8476       ;;
8477     esac
8478
8479     case $cc_basename in
8480     nvcc*) # Cuda Compiler Driver 2.2
8481       lt_prog_compiler_wl='-Xlinker '
8482       lt_prog_compiler_pic='-Xcompiler -fPIC'
8483       ;;
8484     esac
8485   else
8486     # PORTME Check for flag to pass linker flags through the system compiler.
8487     case $host_os in
8488     aix*)
8489       lt_prog_compiler_wl='-Wl,'
8490       if test "$host_cpu" = ia64; then
8491         # AIX 5 now supports IA64 processor
8492         lt_prog_compiler_static='-Bstatic'
8493       else
8494         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8495       fi
8496       ;;
8497
8498     mingw* | cygwin* | pw32* | os2* | cegcc*)
8499       # This hack is so that the source file can tell whether it is being
8500       # built for inclusion in a dll (and should export symbols for example).
8501       lt_prog_compiler_pic='-DDLL_EXPORT'
8502       ;;
8503
8504     hpux9* | hpux10* | hpux11*)
8505       lt_prog_compiler_wl='-Wl,'
8506       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8507       # not for PA HP-UX.
8508       case $host_cpu in
8509       hppa*64*|ia64*)
8510         # +Z the default
8511         ;;
8512       *)
8513         lt_prog_compiler_pic='+Z'
8514         ;;
8515       esac
8516       # Is there a better lt_prog_compiler_static that works with the bundled CC?
8517       lt_prog_compiler_static='${wl}-a ${wl}archive'
8518       ;;
8519
8520     irix5* | irix6* | nonstopux*)
8521       lt_prog_compiler_wl='-Wl,'
8522       # PIC (with -KPIC) is the default.
8523       lt_prog_compiler_static='-non_shared'
8524       ;;
8525
8526     linux* | k*bsd*-gnu | kopensolaris*-gnu)
8527       case $cc_basename in
8528       # old Intel for x86_64 which still supported -KPIC.
8529       ecc*)
8530         lt_prog_compiler_wl='-Wl,'
8531         lt_prog_compiler_pic='-KPIC'
8532         lt_prog_compiler_static='-static'
8533         ;;
8534       # icc used to be incompatible with GCC.
8535       # ICC 10 doesn't accept -KPIC any more.
8536       icc* | ifort*)
8537         lt_prog_compiler_wl='-Wl,'
8538         lt_prog_compiler_pic='-fPIC'
8539         lt_prog_compiler_static='-static'
8540         ;;
8541       # Lahey Fortran 8.1.
8542       lf95*)
8543         lt_prog_compiler_wl='-Wl,'
8544         lt_prog_compiler_pic='--shared'
8545         lt_prog_compiler_static='--static'
8546         ;;
8547       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8548         # Portland Group compilers (*not* the Pentium gcc compiler,
8549         # which looks to be a dead project)
8550         lt_prog_compiler_wl='-Wl,'
8551         lt_prog_compiler_pic='-fpic'
8552         lt_prog_compiler_static='-Bstatic'
8553         ;;
8554       ccc*)
8555         lt_prog_compiler_wl='-Wl,'
8556         # All Alpha code is PIC.
8557         lt_prog_compiler_static='-non_shared'
8558         ;;
8559       xl* | bgxl* | bgf* | mpixl*)
8560         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8561         lt_prog_compiler_wl='-Wl,'
8562         lt_prog_compiler_pic='-qpic'
8563         lt_prog_compiler_static='-qstaticlink'
8564         ;;
8565       *)
8566         case `$CC -V 2>&1 | sed 5q` in
8567         *Sun\ F* | *Sun*Fortran*)
8568           # Sun Fortran 8.3 passes all unrecognized flags to the linker
8569           lt_prog_compiler_pic='-KPIC'
8570           lt_prog_compiler_static='-Bstatic'
8571           lt_prog_compiler_wl=''
8572           ;;
8573         *Sun\ C*)
8574           # Sun C 5.9
8575           lt_prog_compiler_pic='-KPIC'
8576           lt_prog_compiler_static='-Bstatic'
8577           lt_prog_compiler_wl='-Wl,'
8578           ;;
8579         esac
8580         ;;
8581       esac
8582       ;;
8583
8584     newsos6)
8585       lt_prog_compiler_pic='-KPIC'
8586       lt_prog_compiler_static='-Bstatic'
8587       ;;
8588
8589     *nto* | *qnx*)
8590       # QNX uses GNU C++, but need to define -shared option too, otherwise
8591       # it will coredump.
8592       lt_prog_compiler_pic='-fPIC -shared'
8593       ;;
8594
8595     osf3* | osf4* | osf5*)
8596       lt_prog_compiler_wl='-Wl,'
8597       # All OSF/1 code is PIC.
8598       lt_prog_compiler_static='-non_shared'
8599       ;;
8600
8601     rdos*)
8602       lt_prog_compiler_static='-non_shared'
8603       ;;
8604
8605     solaris*)
8606       lt_prog_compiler_pic='-KPIC'
8607       lt_prog_compiler_static='-Bstatic'
8608       case $cc_basename in
8609       f77* | f90* | f95*)
8610         lt_prog_compiler_wl='-Qoption ld ';;
8611       *)
8612         lt_prog_compiler_wl='-Wl,';;
8613       esac
8614       ;;
8615
8616     sunos4*)
8617       lt_prog_compiler_wl='-Qoption ld '
8618       lt_prog_compiler_pic='-PIC'
8619       lt_prog_compiler_static='-Bstatic'
8620       ;;
8621
8622     sysv4 | sysv4.2uw2* | sysv4.3*)
8623       lt_prog_compiler_wl='-Wl,'
8624       lt_prog_compiler_pic='-KPIC'
8625       lt_prog_compiler_static='-Bstatic'
8626       ;;
8627
8628     sysv4*MP*)
8629       if test -d /usr/nec ;then
8630         lt_prog_compiler_pic='-Kconform_pic'
8631         lt_prog_compiler_static='-Bstatic'
8632       fi
8633       ;;
8634
8635     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8636       lt_prog_compiler_wl='-Wl,'
8637       lt_prog_compiler_pic='-KPIC'
8638       lt_prog_compiler_static='-Bstatic'
8639       ;;
8640
8641     unicos*)
8642       lt_prog_compiler_wl='-Wl,'
8643       lt_prog_compiler_can_build_shared=no
8644       ;;
8645
8646     uts4*)
8647       lt_prog_compiler_pic='-pic'
8648       lt_prog_compiler_static='-Bstatic'
8649       ;;
8650
8651     *)
8652       lt_prog_compiler_can_build_shared=no
8653       ;;
8654     esac
8655   fi
8656
8657 case $host_os in
8658   # For platforms which do not support PIC, -DPIC is meaningless:
8659   *djgpp*)
8660     lt_prog_compiler_pic=
8661     ;;
8662   *)
8663     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8664     ;;
8665 esac
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8667 $as_echo "$lt_prog_compiler_pic" >&6; }
8668
8669
8670
8671
8672
8673
8674 #
8675 # Check to make sure the PIC flag actually works.
8676 #
8677 if test -n "$lt_prog_compiler_pic"; then
8678   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8679 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8680 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8681   $as_echo_n "(cached) " >&6
8682 else
8683   lt_cv_prog_compiler_pic_works=no
8684    ac_outfile=conftest.$ac_objext
8685    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8686    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8687    # Insert the option either (1) after the last *FLAGS variable, or
8688    # (2) before a word containing "conftest.", or (3) at the end.
8689    # Note that $ac_compile itself does not contain backslashes and begins
8690    # with a dollar sign (not a hyphen), so the echo should work correctly.
8691    # The option is referenced via a variable to avoid confusing sed.
8692    lt_compile=`echo "$ac_compile" | $SED \
8693    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8694    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8695    -e 's:$: $lt_compiler_flag:'`
8696    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8697    (eval "$lt_compile" 2>conftest.err)
8698    ac_status=$?
8699    cat conftest.err >&5
8700    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701    if (exit $ac_status) && test -s "$ac_outfile"; then
8702      # The compiler can only warn and ignore the option if not recognized
8703      # So say no if there are warnings other than the usual output.
8704      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8705      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8706      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8707        lt_cv_prog_compiler_pic_works=yes
8708      fi
8709    fi
8710    $RM conftest*
8711
8712 fi
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8714 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8715
8716 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8717     case $lt_prog_compiler_pic in
8718      "" | " "*) ;;
8719      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8720      esac
8721 else
8722     lt_prog_compiler_pic=
8723      lt_prog_compiler_can_build_shared=no
8724 fi
8725
8726 fi
8727
8728
8729
8730
8731
8732
8733 #
8734 # Check to make sure the static flag actually works.
8735 #
8736 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8738 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8739 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8740   $as_echo_n "(cached) " >&6
8741 else
8742   lt_cv_prog_compiler_static_works=no
8743    save_LDFLAGS="$LDFLAGS"
8744    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8745    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8746    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8747      # The linker can only warn and ignore the option if not recognized
8748      # So say no if there are warnings
8749      if test -s conftest.err; then
8750        # Append any errors to the config.log.
8751        cat conftest.err 1>&5
8752        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8753        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754        if diff conftest.exp conftest.er2 >/dev/null; then
8755          lt_cv_prog_compiler_static_works=yes
8756        fi
8757      else
8758        lt_cv_prog_compiler_static_works=yes
8759      fi
8760    fi
8761    $RM -r conftest*
8762    LDFLAGS="$save_LDFLAGS"
8763
8764 fi
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8766 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8767
8768 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8769     :
8770 else
8771     lt_prog_compiler_static=
8772 fi
8773
8774
8775
8776
8777
8778
8779
8780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8781 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8782 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8783   $as_echo_n "(cached) " >&6
8784 else
8785   lt_cv_prog_compiler_c_o=no
8786    $RM -r conftest 2>/dev/null
8787    mkdir conftest
8788    cd conftest
8789    mkdir out
8790    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8791
8792    lt_compiler_flag="-o out/conftest2.$ac_objext"
8793    # Insert the option either (1) after the last *FLAGS variable, or
8794    # (2) before a word containing "conftest.", or (3) at the end.
8795    # Note that $ac_compile itself does not contain backslashes and begins
8796    # with a dollar sign (not a hyphen), so the echo should work correctly.
8797    lt_compile=`echo "$ac_compile" | $SED \
8798    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8799    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8800    -e 's:$: $lt_compiler_flag:'`
8801    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8802    (eval "$lt_compile" 2>out/conftest.err)
8803    ac_status=$?
8804    cat out/conftest.err >&5
8805    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8807    then
8808      # The compiler can only warn and ignore the option if not recognized
8809      # So say no if there are warnings
8810      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8811      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8812      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8813        lt_cv_prog_compiler_c_o=yes
8814      fi
8815    fi
8816    chmod u+w . 2>&5
8817    $RM conftest*
8818    # SGI C++ compiler will create directory out/ii_files/ for
8819    # template instantiation
8820    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8821    $RM out/* && rmdir out
8822    cd ..
8823    $RM -r conftest
8824    $RM conftest*
8825
8826 fi
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8828 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8829
8830
8831
8832
8833
8834
8835   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8836 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8837 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8838   $as_echo_n "(cached) " >&6
8839 else
8840   lt_cv_prog_compiler_c_o=no
8841    $RM -r conftest 2>/dev/null
8842    mkdir conftest
8843    cd conftest
8844    mkdir out
8845    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8846
8847    lt_compiler_flag="-o out/conftest2.$ac_objext"
8848    # Insert the option either (1) after the last *FLAGS variable, or
8849    # (2) before a word containing "conftest.", or (3) at the end.
8850    # Note that $ac_compile itself does not contain backslashes and begins
8851    # with a dollar sign (not a hyphen), so the echo should work correctly.
8852    lt_compile=`echo "$ac_compile" | $SED \
8853    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8854    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8855    -e 's:$: $lt_compiler_flag:'`
8856    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8857    (eval "$lt_compile" 2>out/conftest.err)
8858    ac_status=$?
8859    cat out/conftest.err >&5
8860    echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8862    then
8863      # The compiler can only warn and ignore the option if not recognized
8864      # So say no if there are warnings
8865      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8866      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8867      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8868        lt_cv_prog_compiler_c_o=yes
8869      fi
8870    fi
8871    chmod u+w . 2>&5
8872    $RM conftest*
8873    # SGI C++ compiler will create directory out/ii_files/ for
8874    # template instantiation
8875    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8876    $RM out/* && rmdir out
8877    cd ..
8878    $RM -r conftest
8879    $RM conftest*
8880
8881 fi
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8883 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8884
8885
8886
8887
8888 hard_links="nottested"
8889 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8890   # do not overwrite the value of need_locks provided by the user
8891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8892 $as_echo_n "checking if we can lock with hard links... " >&6; }
8893   hard_links=yes
8894   $RM conftest*
8895   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8896   touch conftest.a
8897   ln conftest.a conftest.b 2>&5 || hard_links=no
8898   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8900 $as_echo "$hard_links" >&6; }
8901   if test "$hard_links" = no; then
8902     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8903 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8904     need_locks=warn
8905   fi
8906 else
8907   need_locks=no
8908 fi
8909
8910
8911
8912
8913
8914
8915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8916 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8917
8918   runpath_var=
8919   allow_undefined_flag=
8920   always_export_symbols=no
8921   archive_cmds=
8922   archive_expsym_cmds=
8923   compiler_needs_object=no
8924   enable_shared_with_static_runtimes=no
8925   export_dynamic_flag_spec=
8926   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8927   hardcode_automatic=no
8928   hardcode_direct=no
8929   hardcode_direct_absolute=no
8930   hardcode_libdir_flag_spec=
8931   hardcode_libdir_flag_spec_ld=
8932   hardcode_libdir_separator=
8933   hardcode_minus_L=no
8934   hardcode_shlibpath_var=unsupported
8935   inherit_rpath=no
8936   link_all_deplibs=unknown
8937   module_cmds=
8938   module_expsym_cmds=
8939   old_archive_from_new_cmds=
8940   old_archive_from_expsyms_cmds=
8941   thread_safe_flag_spec=
8942   whole_archive_flag_spec=
8943   # include_expsyms should be a list of space-separated symbols to be *always*
8944   # included in the symbol list
8945   include_expsyms=
8946   # exclude_expsyms can be an extended regexp of symbols to exclude
8947   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8948   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8949   # as well as any symbol that contains `d'.
8950   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8951   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8952   # platforms (ab)use it in PIC code, but their linkers get confused if
8953   # the symbol is explicitly referenced.  Since portable code cannot
8954   # rely on this symbol name, it's probably fine to never include it in
8955   # preloaded symbol tables.
8956   # Exclude shared library initialization/finalization symbols.
8957   extract_expsyms_cmds=
8958
8959   case $host_os in
8960   cygwin* | mingw* | pw32* | cegcc*)
8961     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8962     # When not using gcc, we currently assume that we are using
8963     # Microsoft Visual C++.
8964     if test "$GCC" != yes; then
8965       with_gnu_ld=no
8966     fi
8967     ;;
8968   interix*)
8969     # we just hope/assume this is gcc and not c89 (= MSVC++)
8970     with_gnu_ld=yes
8971     ;;
8972   openbsd*)
8973     with_gnu_ld=no
8974     ;;
8975   esac
8976
8977   ld_shlibs=yes
8978
8979   # On some targets, GNU ld is compatible enough with the native linker
8980   # that we're better off using the native interface for both.
8981   lt_use_gnu_ld_interface=no
8982   if test "$with_gnu_ld" = yes; then
8983     case $host_os in
8984       aix*)
8985         # The AIX port of GNU ld has always aspired to compatibility
8986         # with the native linker.  However, as the warning in the GNU ld
8987         # block says, versions before 2.19.5* couldn't really create working
8988         # shared libraries, regardless of the interface used.
8989         case `$LD -v 2>&1` in
8990           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8991           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8992           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8993           *)
8994             lt_use_gnu_ld_interface=yes
8995             ;;
8996         esac
8997         ;;
8998       *)
8999         lt_use_gnu_ld_interface=yes
9000         ;;
9001     esac
9002   fi
9003
9004   if test "$lt_use_gnu_ld_interface" = yes; then
9005     # If archive_cmds runs LD, not CC, wlarc should be empty
9006     wlarc='${wl}'
9007
9008     # Set some defaults for GNU ld with shared library support. These
9009     # are reset later if shared libraries are not supported. Putting them
9010     # here allows them to be overridden if necessary.
9011     runpath_var=LD_RUN_PATH
9012     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9013     export_dynamic_flag_spec='${wl}--export-dynamic'
9014     # ancient GNU ld didn't support --whole-archive et. al.
9015     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9016       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9017     else
9018       whole_archive_flag_spec=
9019     fi
9020     supports_anon_versioning=no
9021     case `$LD -v 2>&1` in
9022       *GNU\ gold*) supports_anon_versioning=yes ;;
9023       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9024       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9025       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9026       *\ 2.11.*) ;; # other 2.11 versions
9027       *) supports_anon_versioning=yes ;;
9028     esac
9029
9030     # See if GNU ld supports shared libraries.
9031     case $host_os in
9032     aix[3-9]*)
9033       # On AIX/PPC, the GNU linker is very broken
9034       if test "$host_cpu" != ia64; then
9035         ld_shlibs=no
9036         cat <<_LT_EOF 1>&2
9037
9038 *** Warning: the GNU linker, at least up to release 2.19, is reported
9039 *** to be unable to reliably create shared libraries on AIX.
9040 *** Therefore, libtool is disabling shared libraries support.  If you
9041 *** really care for shared libraries, you may want to install binutils
9042 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9043 *** You will then need to restart the configuration process.
9044
9045 _LT_EOF
9046       fi
9047       ;;
9048
9049     amigaos*)
9050       case $host_cpu in
9051       powerpc)
9052             # see comment about AmigaOS4 .so support
9053             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9054             archive_expsym_cmds=''
9055         ;;
9056       m68k)
9057             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)'
9058             hardcode_libdir_flag_spec='-L$libdir'
9059             hardcode_minus_L=yes
9060         ;;
9061       esac
9062       ;;
9063
9064     beos*)
9065       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9066         allow_undefined_flag=unsupported
9067         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9068         # support --undefined.  This deserves some investigation.  FIXME
9069         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9070       else
9071         ld_shlibs=no
9072       fi
9073       ;;
9074
9075     cygwin* | mingw* | pw32* | cegcc*)
9076       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9077       # as there is no search path for DLLs.
9078       hardcode_libdir_flag_spec='-L$libdir'
9079       export_dynamic_flag_spec='${wl}--export-all-symbols'
9080       allow_undefined_flag=unsupported
9081       always_export_symbols=no
9082       enable_shared_with_static_runtimes=yes
9083       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9084
9085       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9086         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9087         # If the export-symbols file already is a .def file (1st line
9088         # is EXPORTS), use it as is; otherwise, prepend...
9089         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9090           cp $export_symbols $output_objdir/$soname.def;
9091         else
9092           echo EXPORTS > $output_objdir/$soname.def;
9093           cat $export_symbols >> $output_objdir/$soname.def;
9094         fi~
9095         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9096       else
9097         ld_shlibs=no
9098       fi
9099       ;;
9100
9101     haiku*)
9102       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9103       link_all_deplibs=yes
9104       ;;
9105
9106     interix[3-9]*)
9107       hardcode_direct=no
9108       hardcode_shlibpath_var=no
9109       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9110       export_dynamic_flag_spec='${wl}-E'
9111       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9112       # Instead, shared libraries are loaded at an image base (0x10000000 by
9113       # default) and relocated if they conflict, which is a slow very memory
9114       # consuming and fragmenting process.  To avoid this, we pick a random,
9115       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9116       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9117       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9118       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'
9119       ;;
9120
9121     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9122       tmp_diet=no
9123       if test "$host_os" = linux-dietlibc; then
9124         case $cc_basename in
9125           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
9126         esac
9127       fi
9128       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9129          && test "$tmp_diet" = no
9130       then
9131         tmp_addflag=
9132         tmp_sharedflag='-shared'
9133         case $cc_basename,$host_cpu in
9134         pgcc*)                          # Portland Group C compiler
9135           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'
9136           tmp_addflag=' $pic_flag'
9137           ;;
9138         pgf77* | pgf90* | pgf95* | pgfortran*)
9139                                         # Portland Group f77 and f90 compilers
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 -Mnomain' ;;
9142         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
9143           tmp_addflag=' -i_dynamic' ;;
9144         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
9145           tmp_addflag=' -i_dynamic -nofor_main' ;;
9146         ifc* | ifort*)                  # Intel Fortran compiler
9147           tmp_addflag=' -nofor_main' ;;
9148         lf95*)                          # Lahey Fortran 8.1
9149           whole_archive_flag_spec=
9150           tmp_sharedflag='--shared' ;;
9151         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9152           tmp_sharedflag='-qmkshrobj'
9153           tmp_addflag= ;;
9154         nvcc*)  # Cuda Compiler Driver 2.2
9155           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'
9156           compiler_needs_object=yes
9157           ;;
9158         esac
9159         case `$CC -V 2>&1 | sed 5q` in
9160         *Sun\ C*)                       # Sun C 5.9
9161           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'
9162           compiler_needs_object=yes
9163           tmp_sharedflag='-G' ;;
9164         *Sun\ F*)                       # Sun Fortran 8.3
9165           tmp_sharedflag='-G' ;;
9166         esac
9167         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9168
9169         if test "x$supports_anon_versioning" = xyes; then
9170           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9171             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9172             echo "local: *; };" >> $output_objdir/$libname.ver~
9173             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9174         fi
9175
9176         case $cc_basename in
9177         xlf* | bgf* | bgxlf* | mpixlf*)
9178           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9179           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9180           hardcode_libdir_flag_spec=
9181           hardcode_libdir_flag_spec_ld='-rpath $libdir'
9182           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9183           if test "x$supports_anon_versioning" = xyes; then
9184             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9185               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9186               echo "local: *; };" >> $output_objdir/$libname.ver~
9187               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9188           fi
9189           ;;
9190         esac
9191       else
9192         ld_shlibs=no
9193       fi
9194       ;;
9195
9196     netbsd*)
9197       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9198         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9199         wlarc=
9200       else
9201         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9203       fi
9204       ;;
9205
9206     solaris*)
9207       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9208         ld_shlibs=no
9209         cat <<_LT_EOF 1>&2
9210
9211 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9212 *** create shared libraries on Solaris systems.  Therefore, libtool
9213 *** is disabling shared libraries support.  We urge you to upgrade GNU
9214 *** binutils to release 2.9.1 or newer.  Another option is to modify
9215 *** your PATH or compiler configuration so that the native linker is
9216 *** used, and then restart.
9217
9218 _LT_EOF
9219       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9220         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9221         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9222       else
9223         ld_shlibs=no
9224       fi
9225       ;;
9226
9227     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9228       case `$LD -v 2>&1` in
9229         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9230         ld_shlibs=no
9231         cat <<_LT_EOF 1>&2
9232
9233 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9234 *** reliably create shared libraries on SCO systems.  Therefore, libtool
9235 *** is disabling shared libraries support.  We urge you to upgrade GNU
9236 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9237 *** your PATH or compiler configuration so that the native linker is
9238 *** used, and then restart.
9239
9240 _LT_EOF
9241         ;;
9242         *)
9243           # For security reasons, it is highly recommended that you always
9244           # use absolute paths for naming shared libraries, and exclude the
9245           # DT_RUNPATH tag from executables and libraries.  But doing so
9246           # requires that you compile everything twice, which is a pain.
9247           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9248             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9249             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9251           else
9252             ld_shlibs=no
9253           fi
9254         ;;
9255       esac
9256       ;;
9257
9258     sunos4*)
9259       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9260       wlarc=
9261       hardcode_direct=yes
9262       hardcode_shlibpath_var=no
9263       ;;
9264
9265     *)
9266       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9267         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9268         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269       else
9270         ld_shlibs=no
9271       fi
9272       ;;
9273     esac
9274
9275     if test "$ld_shlibs" = no; then
9276       runpath_var=
9277       hardcode_libdir_flag_spec=
9278       export_dynamic_flag_spec=
9279       whole_archive_flag_spec=
9280     fi
9281   else
9282     # PORTME fill in a description of your system's linker (not GNU ld)
9283     case $host_os in
9284     aix3*)
9285       allow_undefined_flag=unsupported
9286       always_export_symbols=yes
9287       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'
9288       # Note: this linker hardcodes the directories in LIBPATH if there
9289       # are no directories specified by -L.
9290       hardcode_minus_L=yes
9291       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9292         # Neither direct hardcoding nor static linking is supported with a
9293         # broken collect2.
9294         hardcode_direct=unsupported
9295       fi
9296       ;;
9297
9298     aix[4-9]*)
9299       if test "$host_cpu" = ia64; then
9300         # On IA64, the linker does run time linking by default, so we don't
9301         # have to do anything special.
9302         aix_use_runtimelinking=no
9303         exp_sym_flag='-Bexport'
9304         no_entry_flag=""
9305       else
9306         # If we're using GNU nm, then we don't want the "-C" option.
9307         # -C means demangle to AIX nm, but means don't demangle with GNU nm
9308         # Also, AIX nm treats weak defined symbols like other global
9309         # defined symbols, whereas GNU nm marks them as "W".
9310         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9311           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'
9312         else
9313           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'
9314         fi
9315         aix_use_runtimelinking=no
9316
9317         # Test if we are trying to use run time linking or normal
9318         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9319         # need to do runtime linking.
9320         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9321           for ld_flag in $LDFLAGS; do
9322           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9323             aix_use_runtimelinking=yes
9324             break
9325           fi
9326           done
9327           ;;
9328         esac
9329
9330         exp_sym_flag='-bexport'
9331         no_entry_flag='-bnoentry'
9332       fi
9333
9334       # When large executables or shared objects are built, AIX ld can
9335       # have problems creating the table of contents.  If linking a library
9336       # or program results in "error TOC overflow" add -mminimal-toc to
9337       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9338       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9339
9340       archive_cmds=''
9341       hardcode_direct=yes
9342       hardcode_direct_absolute=yes
9343       hardcode_libdir_separator=':'
9344       link_all_deplibs=yes
9345       file_list_spec='${wl}-f,'
9346
9347       if test "$GCC" = yes; then
9348         case $host_os in aix4.[012]|aix4.[012].*)
9349         # We only want to do this on AIX 4.2 and lower, the check
9350         # below for broken collect2 doesn't work under 4.3+
9351           collect2name=`${CC} -print-prog-name=collect2`
9352           if test -f "$collect2name" &&
9353            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9354           then
9355           # We have reworked collect2
9356           :
9357           else
9358           # We have old collect2
9359           hardcode_direct=unsupported
9360           # It fails to find uninstalled libraries when the uninstalled
9361           # path is not listed in the libpath.  Setting hardcode_minus_L
9362           # to unsupported forces relinking
9363           hardcode_minus_L=yes
9364           hardcode_libdir_flag_spec='-L$libdir'
9365           hardcode_libdir_separator=
9366           fi
9367           ;;
9368         esac
9369         shared_flag='-shared'
9370         if test "$aix_use_runtimelinking" = yes; then
9371           shared_flag="$shared_flag "'${wl}-G'
9372         fi
9373       else
9374         # not using gcc
9375         if test "$host_cpu" = ia64; then
9376         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9377         # chokes on -Wl,-G. The following line is correct:
9378           shared_flag='-G'
9379         else
9380           if test "$aix_use_runtimelinking" = yes; then
9381             shared_flag='${wl}-G'
9382           else
9383             shared_flag='${wl}-bM:SRE'
9384           fi
9385         fi
9386       fi
9387
9388       export_dynamic_flag_spec='${wl}-bexpall'
9389       # It seems that -bexpall does not export symbols beginning with
9390       # underscore (_), so it is better to generate a list of symbols to export.
9391       always_export_symbols=yes
9392       if test "$aix_use_runtimelinking" = yes; then
9393         # Warning - without using the other runtime loading flags (-brtl),
9394         # -berok will link without error, but may produce a broken library.
9395         allow_undefined_flag='-berok'
9396         # Determine the default libpath from the value encoded in an
9397         # empty executable.
9398         if test x$gcc_no_link = xyes; then
9399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9400 fi
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h.  */
9403
9404 int
9405 main ()
9406 {
9407
9408   ;
9409   return 0;
9410 }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413
9414 lt_aix_libpath_sed='
9415     /Import File Strings/,/^$/ {
9416         /^0/ {
9417             s/^0  *\(.*\)$/\1/
9418             p
9419         }
9420     }'
9421 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9422 # Check for a 64-bit object if we didn't find anything.
9423 if test -z "$aix_libpath"; then
9424   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9425 fi
9426 fi
9427 rm -f core conftest.err conftest.$ac_objext \
9428     conftest$ac_exeext conftest.$ac_ext
9429 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9430
9431         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9432         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"
9433       else
9434         if test "$host_cpu" = ia64; then
9435           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9436           allow_undefined_flag="-z nodefs"
9437           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"
9438         else
9439          # Determine the default libpath from the value encoded in an
9440          # empty executable.
9441          if test x$gcc_no_link = xyes; then
9442   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9443 fi
9444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9445 /* end confdefs.h.  */
9446
9447 int
9448 main ()
9449 {
9450
9451   ;
9452   return 0;
9453 }
9454 _ACEOF
9455 if ac_fn_c_try_link "$LINENO"; then :
9456
9457 lt_aix_libpath_sed='
9458     /Import File Strings/,/^$/ {
9459         /^0/ {
9460             s/^0  *\(.*\)$/\1/
9461             p
9462         }
9463     }'
9464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9465 # Check for a 64-bit object if we didn't find anything.
9466 if test -z "$aix_libpath"; then
9467   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9468 fi
9469 fi
9470 rm -f core conftest.err conftest.$ac_objext \
9471     conftest$ac_exeext conftest.$ac_ext
9472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9473
9474          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9475           # Warning - without using the other run time loading flags,
9476           # -berok will link without error, but may produce a broken library.
9477           no_undefined_flag=' ${wl}-bernotok'
9478           allow_undefined_flag=' ${wl}-berok'
9479           if test "$with_gnu_ld" = yes; then
9480             # We only use this code for GNU lds that support --whole-archive.
9481             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9482           else
9483             # Exported symbols can be pulled into shared objects from archives
9484             whole_archive_flag_spec='$convenience'
9485           fi
9486           archive_cmds_need_lc=yes
9487           # This is similar to how AIX traditionally builds its shared libraries.
9488           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'
9489         fi
9490       fi
9491       ;;
9492
9493     amigaos*)
9494       case $host_cpu in
9495       powerpc)
9496             # see comment about AmigaOS4 .so support
9497             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9498             archive_expsym_cmds=''
9499         ;;
9500       m68k)
9501             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)'
9502             hardcode_libdir_flag_spec='-L$libdir'
9503             hardcode_minus_L=yes
9504         ;;
9505       esac
9506       ;;
9507
9508     bsdi[45]*)
9509       export_dynamic_flag_spec=-rdynamic
9510       ;;
9511
9512     cygwin* | mingw* | pw32* | cegcc*)
9513       # When not using gcc, we currently assume that we are using
9514       # Microsoft Visual C++.
9515       # hardcode_libdir_flag_spec is actually meaningless, as there is
9516       # no search path for DLLs.
9517       hardcode_libdir_flag_spec=' '
9518       allow_undefined_flag=unsupported
9519       # Tell ltmain to make .lib files, not .a files.
9520       libext=lib
9521       # Tell ltmain to make .dll files, not .so files.
9522       shrext_cmds=".dll"
9523       # FIXME: Setting linknames here is a bad hack.
9524       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9525       # The linker will automatically build a .lib file if we build a DLL.
9526       old_archive_from_new_cmds='true'
9527       # FIXME: Should let the user specify the lib program.
9528       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9529       fix_srcfile_path='`cygpath -w "$srcfile"`'
9530       enable_shared_with_static_runtimes=yes
9531       ;;
9532
9533     darwin* | rhapsody*)
9534
9535
9536   archive_cmds_need_lc=no
9537   hardcode_direct=no
9538   hardcode_automatic=yes
9539   hardcode_shlibpath_var=unsupported
9540   if test "$lt_cv_ld_force_load" = "yes"; then
9541     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\"`'
9542   else
9543     whole_archive_flag_spec=''
9544   fi
9545   link_all_deplibs=yes
9546   allow_undefined_flag="$_lt_dar_allow_undefined"
9547   case $cc_basename in
9548      ifort*) _lt_dar_can_shared=yes ;;
9549      *) _lt_dar_can_shared=$GCC ;;
9550   esac
9551   if test "$_lt_dar_can_shared" = "yes"; then
9552     output_verbose_link_cmd=func_echo_all
9553     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9554     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9555     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}"
9556     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}"
9557
9558   else
9559   ld_shlibs=no
9560   fi
9561
9562       ;;
9563
9564     dgux*)
9565       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9566       hardcode_libdir_flag_spec='-L$libdir'
9567       hardcode_shlibpath_var=no
9568       ;;
9569
9570     freebsd1*)
9571       ld_shlibs=no
9572       ;;
9573
9574     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9575     # support.  Future versions do this automatically, but an explicit c++rt0.o
9576     # does not break anything, and helps significantly (at the cost of a little
9577     # extra space).
9578     freebsd2.2*)
9579       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9580       hardcode_libdir_flag_spec='-R$libdir'
9581       hardcode_direct=yes
9582       hardcode_shlibpath_var=no
9583       ;;
9584
9585     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9586     freebsd2*)
9587       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9588       hardcode_direct=yes
9589       hardcode_minus_L=yes
9590       hardcode_shlibpath_var=no
9591       ;;
9592
9593     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9594     freebsd* | dragonfly*)
9595       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9596       hardcode_libdir_flag_spec='-R$libdir'
9597       hardcode_direct=yes
9598       hardcode_shlibpath_var=no
9599       ;;
9600
9601     hpux9*)
9602       if test "$GCC" = yes; then
9603         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'
9604       else
9605         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'
9606       fi
9607       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9608       hardcode_libdir_separator=:
9609       hardcode_direct=yes
9610
9611       # hardcode_minus_L: Not really in the search PATH,
9612       # but as the default location of the library.
9613       hardcode_minus_L=yes
9614       export_dynamic_flag_spec='${wl}-E'
9615       ;;
9616
9617     hpux10*)
9618       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9619         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9620       else
9621         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9622       fi
9623       if test "$with_gnu_ld" = no; then
9624         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9625         hardcode_libdir_flag_spec_ld='+b $libdir'
9626         hardcode_libdir_separator=:
9627         hardcode_direct=yes
9628         hardcode_direct_absolute=yes
9629         export_dynamic_flag_spec='${wl}-E'
9630         # hardcode_minus_L: Not really in the search PATH,
9631         # but as the default location of the library.
9632         hardcode_minus_L=yes
9633       fi
9634       ;;
9635
9636     hpux11*)
9637       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9638         case $host_cpu in
9639         hppa*64*)
9640           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9641           ;;
9642         ia64*)
9643           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9644           ;;
9645         *)
9646           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9647           ;;
9648         esac
9649       else
9650         case $host_cpu in
9651         hppa*64*)
9652           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9653           ;;
9654         ia64*)
9655           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9656           ;;
9657         *)
9658
9659           # Older versions of the 11.00 compiler do not understand -b yet
9660           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9661           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9662 $as_echo_n "checking if $CC understands -b... " >&6; }
9663 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9664   $as_echo_n "(cached) " >&6
9665 else
9666   lt_cv_prog_compiler__b=no
9667    save_LDFLAGS="$LDFLAGS"
9668    LDFLAGS="$LDFLAGS -b"
9669    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9670    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9671      # The linker can only warn and ignore the option if not recognized
9672      # So say no if there are warnings
9673      if test -s conftest.err; then
9674        # Append any errors to the config.log.
9675        cat conftest.err 1>&5
9676        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9677        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9678        if diff conftest.exp conftest.er2 >/dev/null; then
9679          lt_cv_prog_compiler__b=yes
9680        fi
9681      else
9682        lt_cv_prog_compiler__b=yes
9683      fi
9684    fi
9685    $RM -r conftest*
9686    LDFLAGS="$save_LDFLAGS"
9687
9688 fi
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9690 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9691
9692 if test x"$lt_cv_prog_compiler__b" = xyes; then
9693     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9694 else
9695     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9696 fi
9697
9698           ;;
9699         esac
9700       fi
9701       if test "$with_gnu_ld" = no; then
9702         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9703         hardcode_libdir_separator=:
9704
9705         case $host_cpu in
9706         hppa*64*|ia64*)
9707           hardcode_direct=no
9708           hardcode_shlibpath_var=no
9709           ;;
9710         *)
9711           hardcode_direct=yes
9712           hardcode_direct_absolute=yes
9713           export_dynamic_flag_spec='${wl}-E'
9714
9715           # hardcode_minus_L: Not really in the search PATH,
9716           # but as the default location of the library.
9717           hardcode_minus_L=yes
9718           ;;
9719         esac
9720       fi
9721       ;;
9722
9723     irix5* | irix6* | nonstopux*)
9724       if test "$GCC" = yes; then
9725         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'
9726         # Try to use the -exported_symbol ld option, if it does not
9727         # work, assume that -exports_file does not work either and
9728         # implicitly export all symbols.
9729         save_LDFLAGS="$LDFLAGS"
9730         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9731         if test x$gcc_no_link = xyes; then
9732   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9733 fi
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h.  */
9736 int foo(void) {}
9737 _ACEOF
9738 if ac_fn_c_try_link "$LINENO"; then :
9739   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'
9740
9741 fi
9742 rm -f core conftest.err conftest.$ac_objext \
9743     conftest$ac_exeext conftest.$ac_ext
9744         LDFLAGS="$save_LDFLAGS"
9745       else
9746         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'
9747         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'
9748       fi
9749       archive_cmds_need_lc='no'
9750       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9751       hardcode_libdir_separator=:
9752       inherit_rpath=yes
9753       link_all_deplibs=yes
9754       ;;
9755
9756     netbsd*)
9757       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9758         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9759       else
9760         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9761       fi
9762       hardcode_libdir_flag_spec='-R$libdir'
9763       hardcode_direct=yes
9764       hardcode_shlibpath_var=no
9765       ;;
9766
9767     newsos6)
9768       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9769       hardcode_direct=yes
9770       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9771       hardcode_libdir_separator=:
9772       hardcode_shlibpath_var=no
9773       ;;
9774
9775     *nto* | *qnx*)
9776       ;;
9777
9778     openbsd*)
9779       if test -f /usr/libexec/ld.so; then
9780         hardcode_direct=yes
9781         hardcode_shlibpath_var=no
9782         hardcode_direct_absolute=yes
9783         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9784           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9785           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9786           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9787           export_dynamic_flag_spec='${wl}-E'
9788         else
9789           case $host_os in
9790            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9791              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9792              hardcode_libdir_flag_spec='-R$libdir'
9793              ;;
9794            *)
9795              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9796              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9797              ;;
9798           esac
9799         fi
9800       else
9801         ld_shlibs=no
9802       fi
9803       ;;
9804
9805     os2*)
9806       hardcode_libdir_flag_spec='-L$libdir'
9807       hardcode_minus_L=yes
9808       allow_undefined_flag=unsupported
9809       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'
9810       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9811       ;;
9812
9813     osf3*)
9814       if test "$GCC" = yes; then
9815         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9816         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'
9817       else
9818         allow_undefined_flag=' -expect_unresolved \*'
9819         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'
9820       fi
9821       archive_cmds_need_lc='no'
9822       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9823       hardcode_libdir_separator=:
9824       ;;
9825
9826     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9827       if test "$GCC" = yes; then
9828         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9829         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'
9830         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9831       else
9832         allow_undefined_flag=' -expect_unresolved \*'
9833         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'
9834         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~
9835         $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'
9836
9837         # Both c and cxx compiler support -rpath directly
9838         hardcode_libdir_flag_spec='-rpath $libdir'
9839       fi
9840       archive_cmds_need_lc='no'
9841       hardcode_libdir_separator=:
9842       ;;
9843
9844     solaris*)
9845       no_undefined_flag=' -z defs'
9846       if test "$GCC" = yes; then
9847         wlarc='${wl}'
9848         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9849         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9850           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9851       else
9852         case `$CC -V 2>&1` in
9853         *"Compilers 5.0"*)
9854           wlarc=''
9855           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9856           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9857           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9858           ;;
9859         *)
9860           wlarc='${wl}'
9861           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9862           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9863           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9864           ;;
9865         esac
9866       fi
9867       hardcode_libdir_flag_spec='-R$libdir'
9868       hardcode_shlibpath_var=no
9869       case $host_os in
9870       solaris2.[0-5] | solaris2.[0-5].*) ;;
9871       *)
9872         # The compiler driver will combine and reorder linker options,
9873         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9874         # but is careful enough not to reorder.
9875         # Supported since Solaris 2.6 (maybe 2.5.1?)
9876         if test "$GCC" = yes; then
9877           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9878         else
9879           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9880         fi
9881         ;;
9882       esac
9883       link_all_deplibs=yes
9884       ;;
9885
9886     sunos4*)
9887       if test "x$host_vendor" = xsequent; then
9888         # Use $CC to link under sequent, because it throws in some extra .o
9889         # files that make .init and .fini sections work.
9890         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9891       else
9892         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9893       fi
9894       hardcode_libdir_flag_spec='-L$libdir'
9895       hardcode_direct=yes
9896       hardcode_minus_L=yes
9897       hardcode_shlibpath_var=no
9898       ;;
9899
9900     sysv4)
9901       case $host_vendor in
9902         sni)
9903           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904           hardcode_direct=yes # is this really true???
9905         ;;
9906         siemens)
9907           ## LD is ld it makes a PLAMLIB
9908           ## CC just makes a GrossModule.
9909           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9910           reload_cmds='$CC -r -o $output$reload_objs'
9911           hardcode_direct=no
9912         ;;
9913         motorola)
9914           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9915           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9916         ;;
9917       esac
9918       runpath_var='LD_RUN_PATH'
9919       hardcode_shlibpath_var=no
9920       ;;
9921
9922     sysv4.3*)
9923       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9924       hardcode_shlibpath_var=no
9925       export_dynamic_flag_spec='-Bexport'
9926       ;;
9927
9928     sysv4*MP*)
9929       if test -d /usr/nec; then
9930         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931         hardcode_shlibpath_var=no
9932         runpath_var=LD_RUN_PATH
9933         hardcode_runpath_var=yes
9934         ld_shlibs=yes
9935       fi
9936       ;;
9937
9938     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9939       no_undefined_flag='${wl}-z,text'
9940       archive_cmds_need_lc=no
9941       hardcode_shlibpath_var=no
9942       runpath_var='LD_RUN_PATH'
9943
9944       if test "$GCC" = yes; then
9945         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9947       else
9948         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9949         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950       fi
9951       ;;
9952
9953     sysv5* | sco3.2v5* | sco5v6*)
9954       # Note: We can NOT use -z defs as we might desire, because we do not
9955       # link with -lc, and that would cause any symbols used from libc to
9956       # always be unresolved, which means just about no library would
9957       # ever link correctly.  If we're not using GNU ld we use -z text
9958       # though, which does catch some bad symbols but isn't as heavy-handed
9959       # as -z defs.
9960       no_undefined_flag='${wl}-z,text'
9961       allow_undefined_flag='${wl}-z,nodefs'
9962       archive_cmds_need_lc=no
9963       hardcode_shlibpath_var=no
9964       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9965       hardcode_libdir_separator=':'
9966       link_all_deplibs=yes
9967       export_dynamic_flag_spec='${wl}-Bexport'
9968       runpath_var='LD_RUN_PATH'
9969
9970       if test "$GCC" = yes; then
9971         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9972         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9973       else
9974         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9976       fi
9977       ;;
9978
9979     uts4*)
9980       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9981       hardcode_libdir_flag_spec='-L$libdir'
9982       hardcode_shlibpath_var=no
9983       ;;
9984
9985     *)
9986       ld_shlibs=no
9987       ;;
9988     esac
9989
9990     if test x$host_vendor = xsni; then
9991       case $host in
9992       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9993         export_dynamic_flag_spec='${wl}-Blargedynsym'
9994         ;;
9995       esac
9996     fi
9997   fi
9998
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10000 $as_echo "$ld_shlibs" >&6; }
10001 test "$ld_shlibs" = no && can_build_shared=no
10002
10003 with_gnu_ld=$with_gnu_ld
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019 #
10020 # Do we need to explicitly link libc?
10021 #
10022 case "x$archive_cmds_need_lc" in
10023 x|xyes)
10024   # Assume -lc should be added
10025   archive_cmds_need_lc=yes
10026
10027   if test "$enable_shared" = yes && test "$GCC" = yes; then
10028     case $archive_cmds in
10029     *'~'*)
10030       # FIXME: we may have to deal with multi-command sequences.
10031       ;;
10032     '$CC '*)
10033       # Test whether the compiler implicitly links with -lc since on some
10034       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10035       # to ld, don't add -lc before -lgcc.
10036       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10038 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10039   $as_echo_n "(cached) " >&6
10040 else
10041   $RM conftest*
10042         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10043
10044         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10045   (eval $ac_compile) 2>&5
10046   ac_status=$?
10047   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10048   test $ac_status = 0; } 2>conftest.err; then
10049           soname=conftest
10050           lib=conftest
10051           libobjs=conftest.$ac_objext
10052           deplibs=
10053           wl=$lt_prog_compiler_wl
10054           pic_flag=$lt_prog_compiler_pic
10055           compiler_flags=-v
10056           linker_flags=-v
10057           verstring=
10058           output_objdir=.
10059           libname=conftest
10060           lt_save_allow_undefined_flag=$allow_undefined_flag
10061           allow_undefined_flag=
10062           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10063   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10064   ac_status=$?
10065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10066   test $ac_status = 0; }
10067           then
10068             lt_cv_archive_cmds_need_lc=no
10069           else
10070             lt_cv_archive_cmds_need_lc=yes
10071           fi
10072           allow_undefined_flag=$lt_save_allow_undefined_flag
10073         else
10074           cat conftest.err 1>&5
10075         fi
10076         $RM conftest*
10077
10078 fi
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10080 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10081       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10082       ;;
10083     esac
10084   fi
10085   ;;
10086 esac
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10245 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10246
10247 if test "$GCC" = yes; then
10248   case $host_os in
10249     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10250     *) lt_awk_arg="/^libraries:/" ;;
10251   esac
10252   case $host_os in
10253     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10254     *) lt_sed_strip_eq="s,=/,/,g" ;;
10255   esac
10256   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10257   case $lt_search_path_spec in
10258   *\;*)
10259     # if the path contains ";" then we assume it to be the separator
10260     # otherwise default to the standard path separator (i.e. ":") - it is
10261     # assumed that no part of a normal pathname contains ";" but that should
10262     # okay in the real world where ";" in dirpaths is itself problematic.
10263     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10264     ;;
10265   *)
10266     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10267     ;;
10268   esac
10269   # Ok, now we have the path, separated by spaces, we can step through it
10270   # and add multilib dir if necessary.
10271   lt_tmp_lt_search_path_spec=
10272   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10273   for lt_sys_path in $lt_search_path_spec; do
10274     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10275       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10276     else
10277       test -d "$lt_sys_path" && \
10278         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10279     fi
10280   done
10281   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10282 BEGIN {RS=" "; FS="/|\n";} {
10283   lt_foo="";
10284   lt_count=0;
10285   for (lt_i = NF; lt_i > 0; lt_i--) {
10286     if ($lt_i != "" && $lt_i != ".") {
10287       if ($lt_i == "..") {
10288         lt_count++;
10289       } else {
10290         if (lt_count == 0) {
10291           lt_foo="/" $lt_i lt_foo;
10292         } else {
10293           lt_count--;
10294         }
10295       }
10296     }
10297   }
10298   if (lt_foo != "") { lt_freq[lt_foo]++; }
10299   if (lt_freq[lt_foo] == 1) { print lt_foo; }
10300 }'`
10301   # AWK program above erroneously prepends '/' to C:/dos/paths
10302   # for these hosts.
10303   case $host_os in
10304     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10305       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10306   esac
10307   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10308 else
10309   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10310 fi
10311 library_names_spec=
10312 libname_spec='lib$name'
10313 soname_spec=
10314 shrext_cmds=".so"
10315 postinstall_cmds=
10316 postuninstall_cmds=
10317 finish_cmds=
10318 finish_eval=
10319 shlibpath_var=
10320 shlibpath_overrides_runpath=unknown
10321 version_type=none
10322 dynamic_linker="$host_os ld.so"
10323 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10324 need_lib_prefix=unknown
10325 hardcode_into_libs=no
10326
10327 # when you set need_version to no, make sure it does not cause -set_version
10328 # flags to be left without arguments
10329 need_version=unknown
10330
10331 case $host_os in
10332 aix3*)
10333   version_type=linux
10334   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10335   shlibpath_var=LIBPATH
10336
10337   # AIX 3 has no versioning support, so we append a major version to the name.
10338   soname_spec='${libname}${release}${shared_ext}$major'
10339   ;;
10340
10341 aix[4-9]*)
10342   version_type=linux
10343   need_lib_prefix=no
10344   need_version=no
10345   hardcode_into_libs=yes
10346   if test "$host_cpu" = ia64; then
10347     # AIX 5 supports IA64
10348     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10349     shlibpath_var=LD_LIBRARY_PATH
10350   else
10351     # With GCC up to 2.95.x, collect2 would create an import file
10352     # for dependence libraries.  The import file would start with
10353     # the line `#! .'.  This would cause the generated library to
10354     # depend on `.', always an invalid library.  This was fixed in
10355     # development snapshots of GCC prior to 3.0.
10356     case $host_os in
10357       aix4 | aix4.[01] | aix4.[01].*)
10358       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10359            echo ' yes '
10360            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10361         :
10362       else
10363         can_build_shared=no
10364       fi
10365       ;;
10366     esac
10367     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10368     # soname into executable. Probably we can add versioning support to
10369     # collect2, so additional links can be useful in future.
10370     if test "$aix_use_runtimelinking" = yes; then
10371       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10372       # instead of lib<name>.a to let people know that these are not
10373       # typical AIX shared libraries.
10374       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10375     else
10376       # We preserve .a as extension for shared libraries through AIX4.2
10377       # and later when we are not doing run time linking.
10378       library_names_spec='${libname}${release}.a $libname.a'
10379       soname_spec='${libname}${release}${shared_ext}$major'
10380     fi
10381     shlibpath_var=LIBPATH
10382   fi
10383   ;;
10384
10385 amigaos*)
10386   case $host_cpu in
10387   powerpc)
10388     # Since July 2007 AmigaOS4 officially supports .so libraries.
10389     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10390     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10391     ;;
10392   m68k)
10393     library_names_spec='$libname.ixlibrary $libname.a'
10394     # Create ${libname}_ixlibrary.a entries in /sys/libs.
10395     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'
10396     ;;
10397   esac
10398   ;;
10399
10400 beos*)
10401   library_names_spec='${libname}${shared_ext}'
10402   dynamic_linker="$host_os ld.so"
10403   shlibpath_var=LIBRARY_PATH
10404   ;;
10405
10406 bsdi[45]*)
10407   version_type=linux
10408   need_version=no
10409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10410   soname_spec='${libname}${release}${shared_ext}$major'
10411   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10412   shlibpath_var=LD_LIBRARY_PATH
10413   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10414   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10415   # the default ld.so.conf also contains /usr/contrib/lib and
10416   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10417   # libtool to hard-code these into programs
10418   ;;
10419
10420 cygwin* | mingw* | pw32* | cegcc*)
10421   version_type=windows
10422   shrext_cmds=".dll"
10423   need_version=no
10424   need_lib_prefix=no
10425
10426   case $GCC,$host_os in
10427   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10428     library_names_spec='$libname.dll.a'
10429     # DLL is installed to $(libdir)/../bin by postinstall_cmds
10430     postinstall_cmds='base_file=`basename \${file}`~
10431       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10432       dldir=$destdir/`dirname \$dlpath`~
10433       test -d \$dldir || mkdir -p \$dldir~
10434       $install_prog $dir/$dlname \$dldir/$dlname~
10435       chmod a+x \$dldir/$dlname~
10436       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10437         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10438       fi'
10439     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10440       dlpath=$dir/\$dldll~
10441        $RM \$dlpath'
10442     shlibpath_overrides_runpath=yes
10443
10444     case $host_os in
10445     cygwin*)
10446       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10447       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10448
10449       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10450       ;;
10451     mingw* | cegcc*)
10452       # MinGW DLLs use traditional 'lib' prefix
10453       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10454       ;;
10455     pw32*)
10456       # pw32 DLLs use 'pw' prefix rather than 'lib'
10457       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10458       ;;
10459     esac
10460     ;;
10461
10462   *)
10463     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10464     ;;
10465   esac
10466   dynamic_linker='Win32 ld.exe'
10467   # FIXME: first we should search . and the directory the executable is in
10468   shlibpath_var=PATH
10469   ;;
10470
10471 darwin* | rhapsody*)
10472   dynamic_linker="$host_os dyld"
10473   version_type=darwin
10474   need_lib_prefix=no
10475   need_version=no
10476   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10477   soname_spec='${libname}${release}${major}$shared_ext'
10478   shlibpath_overrides_runpath=yes
10479   shlibpath_var=DYLD_LIBRARY_PATH
10480   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10481
10482   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10483   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10484   ;;
10485
10486 dgux*)
10487   version_type=linux
10488   need_lib_prefix=no
10489   need_version=no
10490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10491   soname_spec='${libname}${release}${shared_ext}$major'
10492   shlibpath_var=LD_LIBRARY_PATH
10493   ;;
10494
10495 freebsd1*)
10496   dynamic_linker=no
10497   ;;
10498
10499 freebsd* | dragonfly*)
10500   # DragonFly does not have aout.  When/if they implement a new
10501   # versioning mechanism, adjust this.
10502   if test -x /usr/bin/objformat; then
10503     objformat=`/usr/bin/objformat`
10504   else
10505     case $host_os in
10506     freebsd[123]*) objformat=aout ;;
10507     *) objformat=elf ;;
10508     esac
10509   fi
10510   version_type=freebsd-$objformat
10511   case $version_type in
10512     freebsd-elf*)
10513       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10514       need_version=no
10515       need_lib_prefix=no
10516       ;;
10517     freebsd-*)
10518       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10519       need_version=yes
10520       ;;
10521   esac
10522   shlibpath_var=LD_LIBRARY_PATH
10523   case $host_os in
10524   freebsd2*)
10525     shlibpath_overrides_runpath=yes
10526     ;;
10527   freebsd3.[01]* | freebsdelf3.[01]*)
10528     shlibpath_overrides_runpath=yes
10529     hardcode_into_libs=yes
10530     ;;
10531   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10532   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10533     shlibpath_overrides_runpath=no
10534     hardcode_into_libs=yes
10535     ;;
10536   *) # from 4.6 on, and DragonFly
10537     shlibpath_overrides_runpath=yes
10538     hardcode_into_libs=yes
10539     ;;
10540   esac
10541   ;;
10542
10543 gnu*)
10544   version_type=linux
10545   need_lib_prefix=no
10546   need_version=no
10547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10548   soname_spec='${libname}${release}${shared_ext}$major'
10549   shlibpath_var=LD_LIBRARY_PATH
10550   hardcode_into_libs=yes
10551   ;;
10552
10553 haiku*)
10554   version_type=linux
10555   need_lib_prefix=no
10556   need_version=no
10557   dynamic_linker="$host_os runtime_loader"
10558   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10559   soname_spec='${libname}${release}${shared_ext}$major'
10560   shlibpath_var=LIBRARY_PATH
10561   shlibpath_overrides_runpath=yes
10562   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10563   hardcode_into_libs=yes
10564   ;;
10565
10566 hpux9* | hpux10* | hpux11*)
10567   # Give a soname corresponding to the major version so that dld.sl refuses to
10568   # link against other versions.
10569   version_type=sunos
10570   need_lib_prefix=no
10571   need_version=no
10572   case $host_cpu in
10573   ia64*)
10574     shrext_cmds='.so'
10575     hardcode_into_libs=yes
10576     dynamic_linker="$host_os dld.so"
10577     shlibpath_var=LD_LIBRARY_PATH
10578     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10579     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10580     soname_spec='${libname}${release}${shared_ext}$major'
10581     if test "X$HPUX_IA64_MODE" = X32; then
10582       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10583     else
10584       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10585     fi
10586     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10587     ;;
10588   hppa*64*)
10589     shrext_cmds='.sl'
10590     hardcode_into_libs=yes
10591     dynamic_linker="$host_os dld.sl"
10592     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10593     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10594     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10595     soname_spec='${libname}${release}${shared_ext}$major'
10596     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10597     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10598     ;;
10599   *)
10600     shrext_cmds='.sl'
10601     dynamic_linker="$host_os dld.sl"
10602     shlibpath_var=SHLIB_PATH
10603     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10604     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10605     soname_spec='${libname}${release}${shared_ext}$major'
10606     ;;
10607   esac
10608   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10609   postinstall_cmds='chmod 555 $lib'
10610   # or fails outright, so override atomically:
10611   install_override_mode=555
10612   ;;
10613
10614 interix[3-9]*)
10615   version_type=linux
10616   need_lib_prefix=no
10617   need_version=no
10618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10619   soname_spec='${libname}${release}${shared_ext}$major'
10620   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10621   shlibpath_var=LD_LIBRARY_PATH
10622   shlibpath_overrides_runpath=no
10623   hardcode_into_libs=yes
10624   ;;
10625
10626 irix5* | irix6* | nonstopux*)
10627   case $host_os in
10628     nonstopux*) version_type=nonstopux ;;
10629     *)
10630         if test "$lt_cv_prog_gnu_ld" = yes; then
10631                 version_type=linux
10632         else
10633                 version_type=irix
10634         fi ;;
10635   esac
10636   need_lib_prefix=no
10637   need_version=no
10638   soname_spec='${libname}${release}${shared_ext}$major'
10639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10640   case $host_os in
10641   irix5* | nonstopux*)
10642     libsuff= shlibsuff=
10643     ;;
10644   *)
10645     case $LD in # libtool.m4 will add one of these switches to LD
10646     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10647       libsuff= shlibsuff= libmagic=32-bit;;
10648     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10649       libsuff=32 shlibsuff=N32 libmagic=N32;;
10650     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10651       libsuff=64 shlibsuff=64 libmagic=64-bit;;
10652     *) libsuff= shlibsuff= libmagic=never-match;;
10653     esac
10654     ;;
10655   esac
10656   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10657   shlibpath_overrides_runpath=no
10658   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10659   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10660   hardcode_into_libs=yes
10661   ;;
10662
10663 # No shared lib support for Linux oldld, aout, or coff.
10664 linux*oldld* | linux*aout* | linux*coff*)
10665   dynamic_linker=no
10666   ;;
10667
10668 # This must be Linux ELF.
10669 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10670   version_type=linux
10671   need_lib_prefix=no
10672   need_version=no
10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674   soname_spec='${libname}${release}${shared_ext}$major'
10675   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10676   shlibpath_var=LD_LIBRARY_PATH
10677   shlibpath_overrides_runpath=no
10678
10679   # Some binutils ld are patched to set DT_RUNPATH
10680   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10681   $as_echo_n "(cached) " >&6
10682 else
10683   lt_cv_shlibpath_overrides_runpath=no
10684     save_LDFLAGS=$LDFLAGS
10685     save_libdir=$libdir
10686     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10687          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10688     if test x$gcc_no_link = xyes; then
10689   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10690 fi
10691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10692 /* end confdefs.h.  */
10693
10694 int
10695 main ()
10696 {
10697
10698   ;
10699   return 0;
10700 }
10701 _ACEOF
10702 if ac_fn_c_try_link "$LINENO"; then :
10703   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10704   lt_cv_shlibpath_overrides_runpath=yes
10705 fi
10706 fi
10707 rm -f core conftest.err conftest.$ac_objext \
10708     conftest$ac_exeext conftest.$ac_ext
10709     LDFLAGS=$save_LDFLAGS
10710     libdir=$save_libdir
10711
10712 fi
10713
10714   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10715
10716   # This implies no fast_install, which is unacceptable.
10717   # Some rework will be needed to allow for fast_install
10718   # before this can be enabled.
10719   hardcode_into_libs=yes
10720
10721   # Append ld.so.conf contents to the search path
10722   if test -f /etc/ld.so.conf; then
10723     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' ' '`
10724     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10725   fi
10726
10727   # We used to test for /lib/ld.so.1 and disable shared libraries on
10728   # powerpc, because MkLinux only supported shared libraries with the
10729   # GNU dynamic linker.  Since this was broken with cross compilers,
10730   # most powerpc-linux boxes support dynamic linking these days and
10731   # people can always --disable-shared, the test was removed, and we
10732   # assume the GNU/Linux dynamic linker is in use.
10733   dynamic_linker='GNU/Linux ld.so'
10734   ;;
10735
10736 netbsd*)
10737   version_type=sunos
10738   need_lib_prefix=no
10739   need_version=no
10740   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10741     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10742     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10743     dynamic_linker='NetBSD (a.out) ld.so'
10744   else
10745     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746     soname_spec='${libname}${release}${shared_ext}$major'
10747     dynamic_linker='NetBSD ld.elf_so'
10748   fi
10749   shlibpath_var=LD_LIBRARY_PATH
10750   shlibpath_overrides_runpath=yes
10751   hardcode_into_libs=yes
10752   ;;
10753
10754 newsos6)
10755   version_type=linux
10756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10757   shlibpath_var=LD_LIBRARY_PATH
10758   shlibpath_overrides_runpath=yes
10759   ;;
10760
10761 *nto* | *qnx*)
10762   version_type=qnx
10763   need_lib_prefix=no
10764   need_version=no
10765   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10766   soname_spec='${libname}${release}${shared_ext}$major'
10767   shlibpath_var=LD_LIBRARY_PATH
10768   shlibpath_overrides_runpath=no
10769   hardcode_into_libs=yes
10770   dynamic_linker='ldqnx.so'
10771   ;;
10772
10773 openbsd*)
10774   version_type=sunos
10775   sys_lib_dlsearch_path_spec="/usr/lib"
10776   need_lib_prefix=no
10777   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10778   case $host_os in
10779     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10780     *)                          need_version=no  ;;
10781   esac
10782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10783   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10784   shlibpath_var=LD_LIBRARY_PATH
10785   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10786     case $host_os in
10787       openbsd2.[89] | openbsd2.[89].*)
10788         shlibpath_overrides_runpath=no
10789         ;;
10790       *)
10791         shlibpath_overrides_runpath=yes
10792         ;;
10793       esac
10794   else
10795     shlibpath_overrides_runpath=yes
10796   fi
10797   ;;
10798
10799 os2*)
10800   libname_spec='$name'
10801   shrext_cmds=".dll"
10802   need_lib_prefix=no
10803   library_names_spec='$libname${shared_ext} $libname.a'
10804   dynamic_linker='OS/2 ld.exe'
10805   shlibpath_var=LIBPATH
10806   ;;
10807
10808 osf3* | osf4* | osf5*)
10809   version_type=osf
10810   need_lib_prefix=no
10811   need_version=no
10812   soname_spec='${libname}${release}${shared_ext}$major'
10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814   shlibpath_var=LD_LIBRARY_PATH
10815   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10816   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10817   ;;
10818
10819 rdos*)
10820   dynamic_linker=no
10821   ;;
10822
10823 solaris*)
10824   version_type=linux
10825   need_lib_prefix=no
10826   need_version=no
10827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828   soname_spec='${libname}${release}${shared_ext}$major'
10829   shlibpath_var=LD_LIBRARY_PATH
10830   shlibpath_overrides_runpath=yes
10831   hardcode_into_libs=yes
10832   # ldd complains unless libraries are executable
10833   postinstall_cmds='chmod +x $lib'
10834   ;;
10835
10836 sunos4*)
10837   version_type=sunos
10838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10839   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10840   shlibpath_var=LD_LIBRARY_PATH
10841   shlibpath_overrides_runpath=yes
10842   if test "$with_gnu_ld" = yes; then
10843     need_lib_prefix=no
10844   fi
10845   need_version=yes
10846   ;;
10847
10848 sysv4 | sysv4.3*)
10849   version_type=linux
10850   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851   soname_spec='${libname}${release}${shared_ext}$major'
10852   shlibpath_var=LD_LIBRARY_PATH
10853   case $host_vendor in
10854     sni)
10855       shlibpath_overrides_runpath=no
10856       need_lib_prefix=no
10857       runpath_var=LD_RUN_PATH
10858       ;;
10859     siemens)
10860       need_lib_prefix=no
10861       ;;
10862     motorola)
10863       need_lib_prefix=no
10864       need_version=no
10865       shlibpath_overrides_runpath=no
10866       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10867       ;;
10868   esac
10869   ;;
10870
10871 sysv4*MP*)
10872   if test -d /usr/nec ;then
10873     version_type=linux
10874     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10875     soname_spec='$libname${shared_ext}.$major'
10876     shlibpath_var=LD_LIBRARY_PATH
10877   fi
10878   ;;
10879
10880 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10881   version_type=freebsd-elf
10882   need_lib_prefix=no
10883   need_version=no
10884   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10885   soname_spec='${libname}${release}${shared_ext}$major'
10886   shlibpath_var=LD_LIBRARY_PATH
10887   shlibpath_overrides_runpath=yes
10888   hardcode_into_libs=yes
10889   if test "$with_gnu_ld" = yes; then
10890     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10891   else
10892     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10893     case $host_os in
10894       sco3.2v5*)
10895         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10896         ;;
10897     esac
10898   fi
10899   sys_lib_dlsearch_path_spec='/usr/lib'
10900   ;;
10901
10902 tpf*)
10903   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10904   version_type=linux
10905   need_lib_prefix=no
10906   need_version=no
10907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908   shlibpath_var=LD_LIBRARY_PATH
10909   shlibpath_overrides_runpath=no
10910   hardcode_into_libs=yes
10911   ;;
10912
10913 uts4*)
10914   version_type=linux
10915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10916   soname_spec='${libname}${release}${shared_ext}$major'
10917   shlibpath_var=LD_LIBRARY_PATH
10918   ;;
10919
10920 *)
10921   dynamic_linker=no
10922   ;;
10923 esac
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10925 $as_echo "$dynamic_linker" >&6; }
10926 test "$dynamic_linker" = no && can_build_shared=no
10927
10928 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10929 if test "$GCC" = yes; then
10930   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10931 fi
10932
10933 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10934   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10935 fi
10936 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10937   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10938 fi
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11032 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11033 hardcode_action=
11034 if test -n "$hardcode_libdir_flag_spec" ||
11035    test -n "$runpath_var" ||
11036    test "X$hardcode_automatic" = "Xyes" ; then
11037
11038   # We can hardcode non-existent directories.
11039   if test "$hardcode_direct" != no &&
11040      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11041      # have to relink, otherwise we might link with an installed library
11042      # when we should be linking with a yet-to-be-installed one
11043      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11044      test "$hardcode_minus_L" != no; then
11045     # Linking always hardcodes the temporary library directory.
11046     hardcode_action=relink
11047   else
11048     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11049     hardcode_action=immediate
11050   fi
11051 else
11052   # We cannot hardcode anything, or else we can only hardcode existing
11053   # directories.
11054   hardcode_action=unsupported
11055 fi
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11057 $as_echo "$hardcode_action" >&6; }
11058
11059 if test "$hardcode_action" = relink ||
11060    test "$inherit_rpath" = yes; then
11061   # Fast installation is not supported
11062   enable_fast_install=no
11063 elif test "$shlibpath_overrides_runpath" = yes ||
11064      test "$enable_shared" = no; then
11065   # Fast installation is not necessary
11066   enable_fast_install=needless
11067 fi
11068
11069
11070
11071
11072
11073
11074   if test "x$enable_dlopen" != xyes; then
11075   enable_dlopen=unknown
11076   enable_dlopen_self=unknown
11077   enable_dlopen_self_static=unknown
11078 else
11079   lt_cv_dlopen=no
11080   lt_cv_dlopen_libs=
11081
11082   case $host_os in
11083   beos*)
11084     lt_cv_dlopen="load_add_on"
11085     lt_cv_dlopen_libs=
11086     lt_cv_dlopen_self=yes
11087     ;;
11088
11089   mingw* | pw32* | cegcc*)
11090     lt_cv_dlopen="LoadLibrary"
11091     lt_cv_dlopen_libs=
11092     ;;
11093
11094   cygwin*)
11095     lt_cv_dlopen="dlopen"
11096     lt_cv_dlopen_libs=
11097     ;;
11098
11099   darwin*)
11100   # if libdl is installed we need to link against it
11101     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11102 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11103 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11104   $as_echo_n "(cached) " >&6
11105 else
11106   ac_check_lib_save_LIBS=$LIBS
11107 LIBS="-ldl  $LIBS"
11108 if test x$gcc_no_link = xyes; then
11109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11110 fi
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h.  */
11113
11114 /* Override any GCC internal prototype to avoid an error.
11115    Use char because int might match the return type of a GCC
11116    builtin and then its argument prototype would still apply.  */
11117 #ifdef __cplusplus
11118 extern "C"
11119 #endif
11120 char dlopen ();
11121 int
11122 main ()
11123 {
11124 return dlopen ();
11125   ;
11126   return 0;
11127 }
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"; then :
11130   ac_cv_lib_dl_dlopen=yes
11131 else
11132   ac_cv_lib_dl_dlopen=no
11133 fi
11134 rm -f core conftest.err conftest.$ac_objext \
11135     conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11137 fi
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11139 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11140 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11141   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11142 else
11143
11144     lt_cv_dlopen="dyld"
11145     lt_cv_dlopen_libs=
11146     lt_cv_dlopen_self=yes
11147
11148 fi
11149
11150     ;;
11151
11152   *)
11153     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11154 if test "x$ac_cv_func_shl_load" = x""yes; then :
11155   lt_cv_dlopen="shl_load"
11156 else
11157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11158 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11159 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11160   $as_echo_n "(cached) " >&6
11161 else
11162   ac_check_lib_save_LIBS=$LIBS
11163 LIBS="-ldld  $LIBS"
11164 if test x$gcc_no_link = xyes; then
11165   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11166 fi
11167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11168 /* end confdefs.h.  */
11169
11170 /* Override any GCC internal prototype to avoid an error.
11171    Use char because int might match the return type of a GCC
11172    builtin and then its argument prototype would still apply.  */
11173 #ifdef __cplusplus
11174 extern "C"
11175 #endif
11176 char shl_load ();
11177 int
11178 main ()
11179 {
11180 return shl_load ();
11181   ;
11182   return 0;
11183 }
11184 _ACEOF
11185 if ac_fn_c_try_link "$LINENO"; then :
11186   ac_cv_lib_dld_shl_load=yes
11187 else
11188   ac_cv_lib_dld_shl_load=no
11189 fi
11190 rm -f core conftest.err conftest.$ac_objext \
11191     conftest$ac_exeext conftest.$ac_ext
11192 LIBS=$ac_check_lib_save_LIBS
11193 fi
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11195 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11196 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11197   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11198 else
11199   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11200 if test "x$ac_cv_func_dlopen" = x""yes; then :
11201   lt_cv_dlopen="dlopen"
11202 else
11203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11204 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11206   $as_echo_n "(cached) " >&6
11207 else
11208   ac_check_lib_save_LIBS=$LIBS
11209 LIBS="-ldl  $LIBS"
11210 if test x$gcc_no_link = xyes; then
11211   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11212 fi
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h.  */
11215
11216 /* Override any GCC internal prototype to avoid an error.
11217    Use char because int might match the return type of a GCC
11218    builtin and then its argument prototype would still apply.  */
11219 #ifdef __cplusplus
11220 extern "C"
11221 #endif
11222 char dlopen ();
11223 int
11224 main ()
11225 {
11226 return dlopen ();
11227   ;
11228   return 0;
11229 }
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"; then :
11232   ac_cv_lib_dl_dlopen=yes
11233 else
11234   ac_cv_lib_dl_dlopen=no
11235 fi
11236 rm -f core conftest.err conftest.$ac_objext \
11237     conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_lib_save_LIBS
11239 fi
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11241 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11242 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11243   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11244 else
11245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11246 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11247 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11248   $as_echo_n "(cached) " >&6
11249 else
11250   ac_check_lib_save_LIBS=$LIBS
11251 LIBS="-lsvld  $LIBS"
11252 if test x$gcc_no_link = xyes; then
11253   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11254 fi
11255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256 /* end confdefs.h.  */
11257
11258 /* Override any GCC internal prototype to avoid an error.
11259    Use char because int might match the return type of a GCC
11260    builtin and then its argument prototype would still apply.  */
11261 #ifdef __cplusplus
11262 extern "C"
11263 #endif
11264 char dlopen ();
11265 int
11266 main ()
11267 {
11268 return dlopen ();
11269   ;
11270   return 0;
11271 }
11272 _ACEOF
11273 if ac_fn_c_try_link "$LINENO"; then :
11274   ac_cv_lib_svld_dlopen=yes
11275 else
11276   ac_cv_lib_svld_dlopen=no
11277 fi
11278 rm -f core conftest.err conftest.$ac_objext \
11279     conftest$ac_exeext conftest.$ac_ext
11280 LIBS=$ac_check_lib_save_LIBS
11281 fi
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11283 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11284 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11285   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11286 else
11287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11288 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11289 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11290   $as_echo_n "(cached) " >&6
11291 else
11292   ac_check_lib_save_LIBS=$LIBS
11293 LIBS="-ldld  $LIBS"
11294 if test x$gcc_no_link = xyes; then
11295   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11296 fi
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h.  */
11299
11300 /* Override any GCC internal prototype to avoid an error.
11301    Use char because int might match the return type of a GCC
11302    builtin and then its argument prototype would still apply.  */
11303 #ifdef __cplusplus
11304 extern "C"
11305 #endif
11306 char dld_link ();
11307 int
11308 main ()
11309 {
11310 return dld_link ();
11311   ;
11312   return 0;
11313 }
11314 _ACEOF
11315 if ac_fn_c_try_link "$LINENO"; then :
11316   ac_cv_lib_dld_dld_link=yes
11317 else
11318   ac_cv_lib_dld_dld_link=no
11319 fi
11320 rm -f core conftest.err conftest.$ac_objext \
11321     conftest$ac_exeext conftest.$ac_ext
11322 LIBS=$ac_check_lib_save_LIBS
11323 fi
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11325 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11326 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11327   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11328 fi
11329
11330
11331 fi
11332
11333
11334 fi
11335
11336
11337 fi
11338
11339
11340 fi
11341
11342
11343 fi
11344
11345     ;;
11346   esac
11347
11348   if test "x$lt_cv_dlopen" != xno; then
11349     enable_dlopen=yes
11350   else
11351     enable_dlopen=no
11352   fi
11353
11354   case $lt_cv_dlopen in
11355   dlopen)
11356     save_CPPFLAGS="$CPPFLAGS"
11357     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11358
11359     save_LDFLAGS="$LDFLAGS"
11360     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11361
11362     save_LIBS="$LIBS"
11363     LIBS="$lt_cv_dlopen_libs $LIBS"
11364
11365     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11366 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11367 if test "${lt_cv_dlopen_self+set}" = set; then :
11368   $as_echo_n "(cached) " >&6
11369 else
11370           if test "$cross_compiling" = yes; then :
11371   lt_cv_dlopen_self=cross
11372 else
11373   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11374   lt_status=$lt_dlunknown
11375   cat > conftest.$ac_ext <<_LT_EOF
11376 #line 11376 "configure"
11377 #include "confdefs.h"
11378
11379 #if HAVE_DLFCN_H
11380 #include <dlfcn.h>
11381 #endif
11382
11383 #include <stdio.h>
11384
11385 #ifdef RTLD_GLOBAL
11386 #  define LT_DLGLOBAL           RTLD_GLOBAL
11387 #else
11388 #  ifdef DL_GLOBAL
11389 #    define LT_DLGLOBAL         DL_GLOBAL
11390 #  else
11391 #    define LT_DLGLOBAL         0
11392 #  endif
11393 #endif
11394
11395 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11396    find out it does not work in some platform. */
11397 #ifndef LT_DLLAZY_OR_NOW
11398 #  ifdef RTLD_LAZY
11399 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11400 #  else
11401 #    ifdef DL_LAZY
11402 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11403 #    else
11404 #      ifdef RTLD_NOW
11405 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11406 #      else
11407 #        ifdef DL_NOW
11408 #          define LT_DLLAZY_OR_NOW      DL_NOW
11409 #        else
11410 #          define LT_DLLAZY_OR_NOW      0
11411 #        endif
11412 #      endif
11413 #    endif
11414 #  endif
11415 #endif
11416
11417 /* When -fvisbility=hidden is used, assume the code has been annotated
11418    correspondingly for the symbols needed.  */
11419 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11420 void fnord () __attribute__((visibility("default")));
11421 #endif
11422
11423 void fnord () { int i=42; }
11424 int main ()
11425 {
11426   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11427   int status = $lt_dlunknown;
11428
11429   if (self)
11430     {
11431       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11432       else
11433         {
11434           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11435           else puts (dlerror ());
11436         }
11437       /* dlclose (self); */
11438     }
11439   else
11440     puts (dlerror ());
11441
11442   return status;
11443 }
11444 _LT_EOF
11445   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11446   (eval $ac_link) 2>&5
11447   ac_status=$?
11448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11449   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11450     (./conftest; exit; ) >&5 2>/dev/null
11451     lt_status=$?
11452     case x$lt_status in
11453       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11454       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11455       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11456     esac
11457   else :
11458     # compilation failed
11459     lt_cv_dlopen_self=no
11460   fi
11461 fi
11462 rm -fr conftest*
11463
11464
11465 fi
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11467 $as_echo "$lt_cv_dlopen_self" >&6; }
11468
11469     if test "x$lt_cv_dlopen_self" = xyes; then
11470       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11471       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11472 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11473 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11474   $as_echo_n "(cached) " >&6
11475 else
11476           if test "$cross_compiling" = yes; then :
11477   lt_cv_dlopen_self_static=cross
11478 else
11479   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11480   lt_status=$lt_dlunknown
11481   cat > conftest.$ac_ext <<_LT_EOF
11482 #line 11482 "configure"
11483 #include "confdefs.h"
11484
11485 #if HAVE_DLFCN_H
11486 #include <dlfcn.h>
11487 #endif
11488
11489 #include <stdio.h>
11490
11491 #ifdef RTLD_GLOBAL
11492 #  define LT_DLGLOBAL           RTLD_GLOBAL
11493 #else
11494 #  ifdef DL_GLOBAL
11495 #    define LT_DLGLOBAL         DL_GLOBAL
11496 #  else
11497 #    define LT_DLGLOBAL         0
11498 #  endif
11499 #endif
11500
11501 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11502    find out it does not work in some platform. */
11503 #ifndef LT_DLLAZY_OR_NOW
11504 #  ifdef RTLD_LAZY
11505 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11506 #  else
11507 #    ifdef DL_LAZY
11508 #      define LT_DLLAZY_OR_NOW          DL_LAZY
11509 #    else
11510 #      ifdef RTLD_NOW
11511 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
11512 #      else
11513 #        ifdef DL_NOW
11514 #          define LT_DLLAZY_OR_NOW      DL_NOW
11515 #        else
11516 #          define LT_DLLAZY_OR_NOW      0
11517 #        endif
11518 #      endif
11519 #    endif
11520 #  endif
11521 #endif
11522
11523 /* When -fvisbility=hidden is used, assume the code has been annotated
11524    correspondingly for the symbols needed.  */
11525 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11526 void fnord () __attribute__((visibility("default")));
11527 #endif
11528
11529 void fnord () { int i=42; }
11530 int main ()
11531 {
11532   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11533   int status = $lt_dlunknown;
11534
11535   if (self)
11536     {
11537       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11538       else
11539         {
11540           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11541           else puts (dlerror ());
11542         }
11543       /* dlclose (self); */
11544     }
11545   else
11546     puts (dlerror ());
11547
11548   return status;
11549 }
11550 _LT_EOF
11551   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11552   (eval $ac_link) 2>&5
11553   ac_status=$?
11554   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11555   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11556     (./conftest; exit; ) >&5 2>/dev/null
11557     lt_status=$?
11558     case x$lt_status in
11559       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11560       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11561       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11562     esac
11563   else :
11564     # compilation failed
11565     lt_cv_dlopen_self_static=no
11566   fi
11567 fi
11568 rm -fr conftest*
11569
11570
11571 fi
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11573 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11574     fi
11575
11576     CPPFLAGS="$save_CPPFLAGS"
11577     LDFLAGS="$save_LDFLAGS"
11578     LIBS="$save_LIBS"
11579     ;;
11580   esac
11581
11582   case $lt_cv_dlopen_self in
11583   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11584   *) enable_dlopen_self=unknown ;;
11585   esac
11586
11587   case $lt_cv_dlopen_self_static in
11588   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11589   *) enable_dlopen_self_static=unknown ;;
11590   esac
11591 fi
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609 striplib=
11610 old_striplib=
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11612 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11613 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11614   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11615   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11617 $as_echo "yes" >&6; }
11618 else
11619 # FIXME - insert some real tests, host_os isn't really good enough
11620   case $host_os in
11621   darwin*)
11622     if test -n "$STRIP" ; then
11623       striplib="$STRIP -x"
11624       old_striplib="$STRIP -S"
11625       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11626 $as_echo "yes" >&6; }
11627     else
11628       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11629 $as_echo "no" >&6; }
11630     fi
11631     ;;
11632   *)
11633     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11634 $as_echo "no" >&6; }
11635     ;;
11636   esac
11637 fi
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650   # Report which library types will actually be built
11651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11652 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11654 $as_echo "$can_build_shared" >&6; }
11655
11656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11657 $as_echo_n "checking whether to build shared libraries... " >&6; }
11658   test "$can_build_shared" = "no" && enable_shared=no
11659
11660   # On AIX, shared libraries and static libraries use the same namespace, and
11661   # are all built from PIC.
11662   case $host_os in
11663   aix3*)
11664     test "$enable_shared" = yes && enable_static=no
11665     if test -n "$RANLIB"; then
11666       archive_cmds="$archive_cmds~\$RANLIB \$lib"
11667       postinstall_cmds='$RANLIB $lib'
11668     fi
11669     ;;
11670
11671   aix[4-9]*)
11672     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11673       test "$enable_shared" = yes && enable_static=no
11674     fi
11675     ;;
11676   esac
11677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11678 $as_echo "$enable_shared" >&6; }
11679
11680   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11681 $as_echo_n "checking whether to build static libraries... " >&6; }
11682   # Make sure either enable_shared or enable_static is yes.
11683   test "$enable_shared" = yes || enable_static=yes
11684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11685 $as_echo "$enable_static" >&6; }
11686
11687
11688
11689
11690 fi
11691 ac_ext=c
11692 ac_cpp='$CPP $CPPFLAGS'
11693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11696
11697 CC="$lt_save_CC"
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711         ac_config_commands="$ac_config_commands libtool"
11712
11713
11714
11715
11716 # Only expand once:
11717
11718
11719
11720
11721
11722 case $host in
11723   *-cygwin* | *-mingw*)
11724     # 'host' will be top-level target in the case of a target lib,
11725     # we must compare to with_cross_host to decide if this is a native
11726     # or cross-compiler and select where to install dlls appropriately.
11727     if test -n "$with_cross_host" &&
11728         test x"$with_cross_host" != x"no"; then
11729       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
11730     else
11731       lt_host_flags='-no-undefined -bindir "$(bindir)"';
11732     fi
11733     ;;
11734   *)
11735     lt_host_flags=
11736     ;;
11737 esac
11738
11739
11740
11741
11742
11743 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11744
11745 # We need gfortran to compile parts of the library
11746 #AC_PROG_FC(gfortran)
11747 FC="$GFORTRAN"
11748 ac_ext=${ac_fc_srcext-f}
11749 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11750 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11751 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11752 if test -n "$ac_tool_prefix"; then
11753   for ac_prog in gfortran
11754   do
11755     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11758 $as_echo_n "checking for $ac_word... " >&6; }
11759 if test "${ac_cv_prog_FC+set}" = set; then :
11760   $as_echo_n "(cached) " >&6
11761 else
11762   if test -n "$FC"; then
11763   ac_cv_prog_FC="$FC" # Let the user override the test.
11764 else
11765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11766 for as_dir in $PATH
11767 do
11768   IFS=$as_save_IFS
11769   test -z "$as_dir" && as_dir=.
11770     for ac_exec_ext in '' $ac_executable_extensions; do
11771   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11772     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11774     break 2
11775   fi
11776 done
11777   done
11778 IFS=$as_save_IFS
11779
11780 fi
11781 fi
11782 FC=$ac_cv_prog_FC
11783 if test -n "$FC"; then
11784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
11785 $as_echo "$FC" >&6; }
11786 else
11787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11788 $as_echo "no" >&6; }
11789 fi
11790
11791
11792     test -n "$FC" && break
11793   done
11794 fi
11795 if test -z "$FC"; then
11796   ac_ct_FC=$FC
11797   for ac_prog in gfortran
11798 do
11799   # Extract the first word of "$ac_prog", so it can be a program name with args.
11800 set dummy $ac_prog; ac_word=$2
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11802 $as_echo_n "checking for $ac_word... " >&6; }
11803 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
11804   $as_echo_n "(cached) " >&6
11805 else
11806   if test -n "$ac_ct_FC"; then
11807   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11808 else
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11811 do
11812   IFS=$as_save_IFS
11813   test -z "$as_dir" && as_dir=.
11814     for ac_exec_ext in '' $ac_executable_extensions; do
11815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11816     ac_cv_prog_ac_ct_FC="$ac_prog"
11817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11818     break 2
11819   fi
11820 done
11821   done
11822 IFS=$as_save_IFS
11823
11824 fi
11825 fi
11826 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11827 if test -n "$ac_ct_FC"; then
11828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
11829 $as_echo "$ac_ct_FC" >&6; }
11830 else
11831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832 $as_echo "no" >&6; }
11833 fi
11834
11835
11836   test -n "$ac_ct_FC" && break
11837 done
11838
11839   if test "x$ac_ct_FC" = x; then
11840     FC=""
11841   else
11842     case $cross_compiling:$ac_tool_warned in
11843 yes:)
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11846 ac_tool_warned=yes ;;
11847 esac
11848     FC=$ac_ct_FC
11849   fi
11850 fi
11851
11852
11853 # Provide some information about the compiler.
11854 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
11855 set X $ac_compile
11856 ac_compiler=$2
11857 for ac_option in --version -v -V -qversion; do
11858   { { ac_try="$ac_compiler $ac_option >&5"
11859 case "(($ac_try" in
11860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11861   *) ac_try_echo=$ac_try;;
11862 esac
11863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11864 $as_echo "$ac_try_echo"; } >&5
11865   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11866   ac_status=$?
11867   if test -s conftest.err; then
11868     sed '10a\
11869 ... rest of stderr output deleted ...
11870          10q' conftest.err >conftest.er1
11871     cat conftest.er1 >&5
11872     rm -f conftest.er1 conftest.err
11873   fi
11874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11875   test $ac_status = 0; }
11876 done
11877 rm -f a.out
11878
11879 # If we don't use `.F' as extension, the preprocessor is not run on the
11880 # input file.  (Note that this only needs to work for GNU compilers.)
11881 ac_save_ext=$ac_ext
11882 ac_ext=F
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
11884 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
11885 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
11886   $as_echo_n "(cached) " >&6
11887 else
11888   cat > conftest.$ac_ext <<_ACEOF
11889       program main
11890 #ifndef __GNUC__
11891        choke me
11892 #endif
11893
11894       end
11895 _ACEOF
11896 if ac_fn_fc_try_compile "$LINENO"; then :
11897   ac_compiler_gnu=yes
11898 else
11899   ac_compiler_gnu=no
11900 fi
11901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11902 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11903
11904 fi
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
11906 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
11907 ac_ext=$ac_save_ext
11908 ac_test_FCFLAGS=${FCFLAGS+set}
11909 ac_save_FCFLAGS=$FCFLAGS
11910 FCFLAGS=
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
11912 $as_echo_n "checking whether $FC accepts -g... " >&6; }
11913 if test "${ac_cv_prog_fc_g+set}" = set; then :
11914   $as_echo_n "(cached) " >&6
11915 else
11916   FCFLAGS=-g
11917 cat > conftest.$ac_ext <<_ACEOF
11918       program main
11919
11920       end
11921 _ACEOF
11922 if ac_fn_fc_try_compile "$LINENO"; then :
11923   ac_cv_prog_fc_g=yes
11924 else
11925   ac_cv_prog_fc_g=no
11926 fi
11927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11928
11929 fi
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
11931 $as_echo "$ac_cv_prog_fc_g" >&6; }
11932 if test "$ac_test_FCFLAGS" = set; then
11933   FCFLAGS=$ac_save_FCFLAGS
11934 elif test $ac_cv_prog_fc_g = yes; then
11935   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11936     FCFLAGS="-g -O2"
11937   else
11938     FCFLAGS="-g"
11939   fi
11940 else
11941   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11942     FCFLAGS="-O2"
11943   else
11944     FCFLAGS=
11945   fi
11946 fi
11947
11948 ac_ext=c
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11953
11954       ac_ext=${ac_fc_srcext-f}
11955 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
11956 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11958
11959
11960 if test -z "$FC" || test "X$FC" = "Xno"; then
11961   _lt_disable_FC=yes
11962 fi
11963
11964 archive_cmds_need_lc_FC=no
11965 allow_undefined_flag_FC=
11966 always_export_symbols_FC=no
11967 archive_expsym_cmds_FC=
11968 export_dynamic_flag_spec_FC=
11969 hardcode_direct_FC=no
11970 hardcode_direct_absolute_FC=no
11971 hardcode_libdir_flag_spec_FC=
11972 hardcode_libdir_flag_spec_ld_FC=
11973 hardcode_libdir_separator_FC=
11974 hardcode_minus_L_FC=no
11975 hardcode_automatic_FC=no
11976 inherit_rpath_FC=no
11977 module_cmds_FC=
11978 module_expsym_cmds_FC=
11979 link_all_deplibs_FC=unknown
11980 old_archive_cmds_FC=$old_archive_cmds
11981 reload_flag_FC=$reload_flag
11982 reload_cmds_FC=$reload_cmds
11983 no_undefined_flag_FC=
11984 whole_archive_flag_spec_FC=
11985 enable_shared_with_static_runtimes_FC=no
11986
11987 # Source file extension for fc test sources.
11988 ac_ext=${ac_fc_srcext-f}
11989
11990 # Object file extension for compiled fc test sources.
11991 objext=o
11992 objext_FC=$objext
11993
11994 # No sense in running all these tests if we already determined that
11995 # the FC compiler isn't working.  Some variables (like enable_shared)
11996 # are currently assumed to apply to all compilers on this platform,
11997 # and will be corrupted by setting them based on a non-working compiler.
11998 if test "$_lt_disable_FC" != yes; then
11999   # Code to be used in simple compile tests
12000   lt_simple_compile_test_code="\
12001       subroutine t
12002       return
12003       end
12004 "
12005
12006   # Code to be used in simple link tests
12007   lt_simple_link_test_code="\
12008       program t
12009       end
12010 "
12011
12012   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12013
12014
12015
12016
12017
12018
12019 # If no C compiler was specified, use CC.
12020 LTCC=${LTCC-"$CC"}
12021
12022 # If no C compiler flags were specified, use CFLAGS.
12023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12024
12025 # Allow CC to be a program name with arguments.
12026 compiler=$CC
12027
12028
12029   # save warnings/boilerplate of simple test code
12030   ac_outfile=conftest.$ac_objext
12031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033 _lt_compiler_boilerplate=`cat conftest.err`
12034 $RM conftest*
12035
12036   ac_outfile=conftest.$ac_objext
12037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_linker_boilerplate=`cat conftest.err`
12040 $RM -r conftest*
12041
12042
12043   # Allow CC to be a program name with arguments.
12044   lt_save_CC="$CC"
12045   lt_save_GCC=$GCC
12046   CC=${FC-"f95"}
12047   compiler=$CC
12048   GCC=$ac_cv_fc_compiler_gnu
12049
12050   compiler_FC=$CC
12051   for cc_temp in $compiler""; do
12052   case $cc_temp in
12053     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12054     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12055     \-*) ;;
12056     *) break;;
12057   esac
12058 done
12059 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12060
12061
12062   if test -n "$compiler"; then
12063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12064 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12065     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12066 $as_echo "$can_build_shared" >&6; }
12067
12068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12069 $as_echo_n "checking whether to build shared libraries... " >&6; }
12070     test "$can_build_shared" = "no" && enable_shared=no
12071
12072     # On AIX, shared libraries and static libraries use the same namespace, and
12073     # are all built from PIC.
12074     case $host_os in
12075       aix3*)
12076         test "$enable_shared" = yes && enable_static=no
12077         if test -n "$RANLIB"; then
12078           archive_cmds="$archive_cmds~\$RANLIB \$lib"
12079           postinstall_cmds='$RANLIB $lib'
12080         fi
12081         ;;
12082       aix[4-9]*)
12083         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12084           test "$enable_shared" = yes && enable_static=no
12085         fi
12086         ;;
12087     esac
12088     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12089 $as_echo "$enable_shared" >&6; }
12090
12091     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12092 $as_echo_n "checking whether to build static libraries... " >&6; }
12093     # Make sure either enable_shared or enable_static is yes.
12094     test "$enable_shared" = yes || enable_static=yes
12095     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12096 $as_echo "$enable_static" >&6; }
12097
12098     GCC_FC="$ac_cv_fc_compiler_gnu"
12099     LD_FC="$LD"
12100
12101     ## CAVEAT EMPTOR:
12102     ## There is no encapsulation within the following macros, do not change
12103     ## the running order or otherwise move them around unless you know exactly
12104     ## what you are doing...
12105     # Dependencies to place before and after the object being linked:
12106 predep_objects_FC=
12107 postdep_objects_FC=
12108 predeps_FC=
12109 postdeps_FC=
12110 compiler_lib_search_path_FC=
12111
12112 cat > conftest.$ac_ext <<_LT_EOF
12113       subroutine foo
12114       implicit none
12115       integer a
12116       a=0
12117       return
12118       end
12119 _LT_EOF
12120
12121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12122   (eval $ac_compile) 2>&5
12123   ac_status=$?
12124   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12125   test $ac_status = 0; }; then
12126   # Parse the compiler output and extract the necessary
12127   # objects, libraries and library flags.
12128
12129   # Sentinel used to keep track of whether or not we are before
12130   # the conftest object file.
12131   pre_test_object_deps_done=no
12132
12133   for p in `eval "$output_verbose_link_cmd"`; do
12134     case $p in
12135
12136     -L* | -R* | -l*)
12137        # Some compilers place space between "-{L,R}" and the path.
12138        # Remove the space.
12139        if test $p = "-L" ||
12140           test $p = "-R"; then
12141          prev=$p
12142          continue
12143        else
12144          prev=
12145        fi
12146
12147        if test "$pre_test_object_deps_done" = no; then
12148          case $p in
12149          -L* | -R*)
12150            # Internal compiler library paths should come after those
12151            # provided the user.  The postdeps already come after the
12152            # user supplied libs so there is no need to process them.
12153            if test -z "$compiler_lib_search_path_FC"; then
12154              compiler_lib_search_path_FC="${prev}${p}"
12155            else
12156              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
12157            fi
12158            ;;
12159          # The "-l" case would never come before the object being
12160          # linked, so don't bother handling this case.
12161          esac
12162        else
12163          if test -z "$postdeps_FC"; then
12164            postdeps_FC="${prev}${p}"
12165          else
12166            postdeps_FC="${postdeps_FC} ${prev}${p}"
12167          fi
12168        fi
12169        ;;
12170
12171     *.$objext)
12172        # This assumes that the test object file only shows up
12173        # once in the compiler output.
12174        if test "$p" = "conftest.$objext"; then
12175          pre_test_object_deps_done=yes
12176          continue
12177        fi
12178
12179        if test "$pre_test_object_deps_done" = no; then
12180          if test -z "$predep_objects_FC"; then
12181            predep_objects_FC="$p"
12182          else
12183            predep_objects_FC="$predep_objects_FC $p"
12184          fi
12185        else
12186          if test -z "$postdep_objects_FC"; then
12187            postdep_objects_FC="$p"
12188          else
12189            postdep_objects_FC="$postdep_objects_FC $p"
12190          fi
12191        fi
12192        ;;
12193
12194     *) ;; # Ignore the rest.
12195
12196     esac
12197   done
12198
12199   # Clean up.
12200   rm -f a.out a.exe
12201 else
12202   echo "libtool.m4: error: problem compiling FC test program"
12203 fi
12204
12205 $RM -f confest.$objext
12206
12207 # PORTME: override above test on systems where it is broken
12208
12209
12210 case " $postdeps_FC " in
12211 *" -lc "*) archive_cmds_need_lc_FC=no ;;
12212 esac
12213  compiler_lib_search_dirs_FC=
12214 if test -n "${compiler_lib_search_path_FC}"; then
12215  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12216 fi
12217
12218
12219
12220
12221
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     lt_prog_compiler_wl_FC=
12249 lt_prog_compiler_pic_FC=
12250 lt_prog_compiler_static_FC=
12251
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12253 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12254
12255   if test "$GCC" = yes; then
12256     lt_prog_compiler_wl_FC='-Wl,'
12257     lt_prog_compiler_static_FC='-static'
12258
12259     case $host_os in
12260       aix*)
12261       # All AIX code is PIC.
12262       if test "$host_cpu" = ia64; then
12263         # AIX 5 now supports IA64 processor
12264         lt_prog_compiler_static_FC='-Bstatic'
12265       fi
12266       ;;
12267
12268     amigaos*)
12269       case $host_cpu in
12270       powerpc)
12271             # see comment about AmigaOS4 .so support
12272             lt_prog_compiler_pic_FC='-fPIC'
12273         ;;
12274       m68k)
12275             # FIXME: we need at least 68020 code to build shared libraries, but
12276             # adding the `-m68020' flag to GCC prevents building anything better,
12277             # like `-m68040'.
12278             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
12279         ;;
12280       esac
12281       ;;
12282
12283     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12284       # PIC is the default for these OSes.
12285       ;;
12286
12287     mingw* | cygwin* | pw32* | os2* | cegcc*)
12288       # This hack is so that the source file can tell whether it is being
12289       # built for inclusion in a dll (and should export symbols for example).
12290       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12291       # (--disable-auto-import) libraries
12292       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12293       ;;
12294
12295     darwin* | rhapsody*)
12296       # PIC is the default on this platform
12297       # Common symbols not allowed in MH_DYLIB files
12298       lt_prog_compiler_pic_FC='-fno-common'
12299       ;;
12300
12301     haiku*)
12302       # PIC is the default for Haiku.
12303       # The "-static" flag exists, but is broken.
12304       lt_prog_compiler_static_FC=
12305       ;;
12306
12307     hpux*)
12308       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12309       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
12310       # sets the default TLS model and affects inlining.
12311       case $host_cpu in
12312       hppa*64*)
12313         # +Z the default
12314         ;;
12315       *)
12316         lt_prog_compiler_pic_FC='-fPIC'
12317         ;;
12318       esac
12319       ;;
12320
12321     interix[3-9]*)
12322       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12323       # Instead, we relocate shared libraries at runtime.
12324       ;;
12325
12326     msdosdjgpp*)
12327       # Just because we use GCC doesn't mean we suddenly get shared libraries
12328       # on systems that don't support them.
12329       lt_prog_compiler_can_build_shared_FC=no
12330       enable_shared=no
12331       ;;
12332
12333     *nto* | *qnx*)
12334       # QNX uses GNU C++, but need to define -shared option too, otherwise
12335       # it will coredump.
12336       lt_prog_compiler_pic_FC='-fPIC -shared'
12337       ;;
12338
12339     sysv4*MP*)
12340       if test -d /usr/nec; then
12341         lt_prog_compiler_pic_FC=-Kconform_pic
12342       fi
12343       ;;
12344
12345     *)
12346       lt_prog_compiler_pic_FC='-fPIC'
12347       ;;
12348     esac
12349
12350     case $cc_basename in
12351     nvcc*) # Cuda Compiler Driver 2.2
12352       lt_prog_compiler_wl_FC='-Xlinker '
12353       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
12354       ;;
12355     esac
12356   else
12357     # PORTME Check for flag to pass linker flags through the system compiler.
12358     case $host_os in
12359     aix*)
12360       lt_prog_compiler_wl_FC='-Wl,'
12361       if test "$host_cpu" = ia64; then
12362         # AIX 5 now supports IA64 processor
12363         lt_prog_compiler_static_FC='-Bstatic'
12364       else
12365         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
12366       fi
12367       ;;
12368
12369     mingw* | cygwin* | pw32* | os2* | cegcc*)
12370       # This hack is so that the source file can tell whether it is being
12371       # built for inclusion in a dll (and should export symbols for example).
12372       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
12373       ;;
12374
12375     hpux9* | hpux10* | hpux11*)
12376       lt_prog_compiler_wl_FC='-Wl,'
12377       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12378       # not for PA HP-UX.
12379       case $host_cpu in
12380       hppa*64*|ia64*)
12381         # +Z the default
12382         ;;
12383       *)
12384         lt_prog_compiler_pic_FC='+Z'
12385         ;;
12386       esac
12387       # Is there a better lt_prog_compiler_static that works with the bundled CC?
12388       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
12389       ;;
12390
12391     irix5* | irix6* | nonstopux*)
12392       lt_prog_compiler_wl_FC='-Wl,'
12393       # PIC (with -KPIC) is the default.
12394       lt_prog_compiler_static_FC='-non_shared'
12395       ;;
12396
12397     linux* | k*bsd*-gnu | kopensolaris*-gnu)
12398       case $cc_basename in
12399       # old Intel for x86_64 which still supported -KPIC.
12400       ecc*)
12401         lt_prog_compiler_wl_FC='-Wl,'
12402         lt_prog_compiler_pic_FC='-KPIC'
12403         lt_prog_compiler_static_FC='-static'
12404         ;;
12405       # icc used to be incompatible with GCC.
12406       # ICC 10 doesn't accept -KPIC any more.
12407       icc* | ifort*)
12408         lt_prog_compiler_wl_FC='-Wl,'
12409         lt_prog_compiler_pic_FC='-fPIC'
12410         lt_prog_compiler_static_FC='-static'
12411         ;;
12412       # Lahey Fortran 8.1.
12413       lf95*)
12414         lt_prog_compiler_wl_FC='-Wl,'
12415         lt_prog_compiler_pic_FC='--shared'
12416         lt_prog_compiler_static_FC='--static'
12417         ;;
12418       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
12419         # Portland Group compilers (*not* the Pentium gcc compiler,
12420         # which looks to be a dead project)
12421         lt_prog_compiler_wl_FC='-Wl,'
12422         lt_prog_compiler_pic_FC='-fpic'
12423         lt_prog_compiler_static_FC='-Bstatic'
12424         ;;
12425       ccc*)
12426         lt_prog_compiler_wl_FC='-Wl,'
12427         # All Alpha code is PIC.
12428         lt_prog_compiler_static_FC='-non_shared'
12429         ;;
12430       xl* | bgxl* | bgf* | mpixl*)
12431         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
12432         lt_prog_compiler_wl_FC='-Wl,'
12433         lt_prog_compiler_pic_FC='-qpic'
12434         lt_prog_compiler_static_FC='-qstaticlink'
12435         ;;
12436       *)
12437         case `$CC -V 2>&1 | sed 5q` in
12438         *Sun\ F* | *Sun*Fortran*)
12439           # Sun Fortran 8.3 passes all unrecognized flags to the linker
12440           lt_prog_compiler_pic_FC='-KPIC'
12441           lt_prog_compiler_static_FC='-Bstatic'
12442           lt_prog_compiler_wl_FC=''
12443           ;;
12444         *Sun\ C*)
12445           # Sun C 5.9
12446           lt_prog_compiler_pic_FC='-KPIC'
12447           lt_prog_compiler_static_FC='-Bstatic'
12448           lt_prog_compiler_wl_FC='-Wl,'
12449           ;;
12450         esac
12451         ;;
12452       esac
12453       ;;
12454
12455     newsos6)
12456       lt_prog_compiler_pic_FC='-KPIC'
12457       lt_prog_compiler_static_FC='-Bstatic'
12458       ;;
12459
12460     *nto* | *qnx*)
12461       # QNX uses GNU C++, but need to define -shared option too, otherwise
12462       # it will coredump.
12463       lt_prog_compiler_pic_FC='-fPIC -shared'
12464       ;;
12465
12466     osf3* | osf4* | osf5*)
12467       lt_prog_compiler_wl_FC='-Wl,'
12468       # All OSF/1 code is PIC.
12469       lt_prog_compiler_static_FC='-non_shared'
12470       ;;
12471
12472     rdos*)
12473       lt_prog_compiler_static_FC='-non_shared'
12474       ;;
12475
12476     solaris*)
12477       lt_prog_compiler_pic_FC='-KPIC'
12478       lt_prog_compiler_static_FC='-Bstatic'
12479       case $cc_basename in
12480       f77* | f90* | f95*)
12481         lt_prog_compiler_wl_FC='-Qoption ld ';;
12482       *)
12483         lt_prog_compiler_wl_FC='-Wl,';;
12484       esac
12485       ;;
12486
12487     sunos4*)
12488       lt_prog_compiler_wl_FC='-Qoption ld '
12489       lt_prog_compiler_pic_FC='-PIC'
12490       lt_prog_compiler_static_FC='-Bstatic'
12491       ;;
12492
12493     sysv4 | sysv4.2uw2* | sysv4.3*)
12494       lt_prog_compiler_wl_FC='-Wl,'
12495       lt_prog_compiler_pic_FC='-KPIC'
12496       lt_prog_compiler_static_FC='-Bstatic'
12497       ;;
12498
12499     sysv4*MP*)
12500       if test -d /usr/nec ;then
12501         lt_prog_compiler_pic_FC='-Kconform_pic'
12502         lt_prog_compiler_static_FC='-Bstatic'
12503       fi
12504       ;;
12505
12506     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12507       lt_prog_compiler_wl_FC='-Wl,'
12508       lt_prog_compiler_pic_FC='-KPIC'
12509       lt_prog_compiler_static_FC='-Bstatic'
12510       ;;
12511
12512     unicos*)
12513       lt_prog_compiler_wl_FC='-Wl,'
12514       lt_prog_compiler_can_build_shared_FC=no
12515       ;;
12516
12517     uts4*)
12518       lt_prog_compiler_pic_FC='-pic'
12519       lt_prog_compiler_static_FC='-Bstatic'
12520       ;;
12521
12522     *)
12523       lt_prog_compiler_can_build_shared_FC=no
12524       ;;
12525     esac
12526   fi
12527
12528 case $host_os in
12529   # For platforms which do not support PIC, -DPIC is meaningless:
12530   *djgpp*)
12531     lt_prog_compiler_pic_FC=
12532     ;;
12533   *)
12534     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12535     ;;
12536 esac
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
12538 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
12539
12540
12541
12542 #
12543 # Check to make sure the PIC flag actually works.
12544 #
12545 if test -n "$lt_prog_compiler_pic_FC"; then
12546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12547 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
12548 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
12549   $as_echo_n "(cached) " >&6
12550 else
12551   lt_cv_prog_compiler_pic_works_FC=no
12552    ac_outfile=conftest.$ac_objext
12553    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12554    lt_compiler_flag="$lt_prog_compiler_pic_FC"
12555    # Insert the option either (1) after the last *FLAGS variable, or
12556    # (2) before a word containing "conftest.", or (3) at the end.
12557    # Note that $ac_compile itself does not contain backslashes and begins
12558    # with a dollar sign (not a hyphen), so the echo should work correctly.
12559    # The option is referenced via a variable to avoid confusing sed.
12560    lt_compile=`echo "$ac_compile" | $SED \
12561    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12562    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12563    -e 's:$: $lt_compiler_flag:'`
12564    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12565    (eval "$lt_compile" 2>conftest.err)
12566    ac_status=$?
12567    cat conftest.err >&5
12568    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569    if (exit $ac_status) && test -s "$ac_outfile"; then
12570      # The compiler can only warn and ignore the option if not recognized
12571      # So say no if there are warnings other than the usual output.
12572      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
12573      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12574      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12575        lt_cv_prog_compiler_pic_works_FC=yes
12576      fi
12577    fi
12578    $RM conftest*
12579
12580 fi
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12582 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
12583
12584 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12585     case $lt_prog_compiler_pic_FC in
12586      "" | " "*) ;;
12587      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12588      esac
12589 else
12590     lt_prog_compiler_pic_FC=
12591      lt_prog_compiler_can_build_shared_FC=no
12592 fi
12593
12594 fi
12595
12596
12597
12598 #
12599 # Check to make sure the static flag actually works.
12600 #
12601 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12603 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12604 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
12605   $as_echo_n "(cached) " >&6
12606 else
12607   lt_cv_prog_compiler_static_works_FC=no
12608    save_LDFLAGS="$LDFLAGS"
12609    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12610    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12611    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12612      # The linker can only warn and ignore the option if not recognized
12613      # So say no if there are warnings
12614      if test -s conftest.err; then
12615        # Append any errors to the config.log.
12616        cat conftest.err 1>&5
12617        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12618        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12619        if diff conftest.exp conftest.er2 >/dev/null; then
12620          lt_cv_prog_compiler_static_works_FC=yes
12621        fi
12622      else
12623        lt_cv_prog_compiler_static_works_FC=yes
12624      fi
12625    fi
12626    $RM -r conftest*
12627    LDFLAGS="$save_LDFLAGS"
12628
12629 fi
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
12631 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
12632
12633 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12634     :
12635 else
12636     lt_prog_compiler_static_FC=
12637 fi
12638
12639
12640
12641
12642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12643 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12644 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12645   $as_echo_n "(cached) " >&6
12646 else
12647   lt_cv_prog_compiler_c_o_FC=no
12648    $RM -r conftest 2>/dev/null
12649    mkdir conftest
12650    cd conftest
12651    mkdir out
12652    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12653
12654    lt_compiler_flag="-o out/conftest2.$ac_objext"
12655    # Insert the option either (1) after the last *FLAGS variable, or
12656    # (2) before a word containing "conftest.", or (3) at the end.
12657    # Note that $ac_compile itself does not contain backslashes and begins
12658    # with a dollar sign (not a hyphen), so the echo should work correctly.
12659    lt_compile=`echo "$ac_compile" | $SED \
12660    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12661    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12662    -e 's:$: $lt_compiler_flag:'`
12663    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12664    (eval "$lt_compile" 2>out/conftest.err)
12665    ac_status=$?
12666    cat out/conftest.err >&5
12667    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12669    then
12670      # The compiler can only warn and ignore the option if not recognized
12671      # So say no if there are warnings
12672      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12673      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12674      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12675        lt_cv_prog_compiler_c_o_FC=yes
12676      fi
12677    fi
12678    chmod u+w . 2>&5
12679    $RM conftest*
12680    # SGI C++ compiler will create directory out/ii_files/ for
12681    # template instantiation
12682    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12683    $RM out/* && rmdir out
12684    cd ..
12685    $RM -r conftest
12686    $RM conftest*
12687
12688 fi
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12690 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12691
12692
12693
12694     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
12695 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12696 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
12697   $as_echo_n "(cached) " >&6
12698 else
12699   lt_cv_prog_compiler_c_o_FC=no
12700    $RM -r conftest 2>/dev/null
12701    mkdir conftest
12702    cd conftest
12703    mkdir out
12704    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12705
12706    lt_compiler_flag="-o out/conftest2.$ac_objext"
12707    # Insert the option either (1) after the last *FLAGS variable, or
12708    # (2) before a word containing "conftest.", or (3) at the end.
12709    # Note that $ac_compile itself does not contain backslashes and begins
12710    # with a dollar sign (not a hyphen), so the echo should work correctly.
12711    lt_compile=`echo "$ac_compile" | $SED \
12712    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12713    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12714    -e 's:$: $lt_compiler_flag:'`
12715    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
12716    (eval "$lt_compile" 2>out/conftest.err)
12717    ac_status=$?
12718    cat out/conftest.err >&5
12719    echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12721    then
12722      # The compiler can only warn and ignore the option if not recognized
12723      # So say no if there are warnings
12724      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
12725      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12726      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12727        lt_cv_prog_compiler_c_o_FC=yes
12728      fi
12729    fi
12730    chmod u+w . 2>&5
12731    $RM conftest*
12732    # SGI C++ compiler will create directory out/ii_files/ for
12733    # template instantiation
12734    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12735    $RM out/* && rmdir out
12736    cd ..
12737    $RM -r conftest
12738    $RM conftest*
12739
12740 fi
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
12742 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
12743
12744
12745
12746
12747 hard_links="nottested"
12748 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12749   # do not overwrite the value of need_locks provided by the user
12750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12751 $as_echo_n "checking if we can lock with hard links... " >&6; }
12752   hard_links=yes
12753   $RM conftest*
12754   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12755   touch conftest.a
12756   ln conftest.a conftest.b 2>&5 || hard_links=no
12757   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12759 $as_echo "$hard_links" >&6; }
12760   if test "$hard_links" = no; then
12761     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12762 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12763     need_locks=warn
12764   fi
12765 else
12766   need_locks=no
12767 fi
12768
12769
12770
12771     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12772 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12773
12774   runpath_var=
12775   allow_undefined_flag_FC=
12776   always_export_symbols_FC=no
12777   archive_cmds_FC=
12778   archive_expsym_cmds_FC=
12779   compiler_needs_object_FC=no
12780   enable_shared_with_static_runtimes_FC=no
12781   export_dynamic_flag_spec_FC=
12782   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12783   hardcode_automatic_FC=no
12784   hardcode_direct_FC=no
12785   hardcode_direct_absolute_FC=no
12786   hardcode_libdir_flag_spec_FC=
12787   hardcode_libdir_flag_spec_ld_FC=
12788   hardcode_libdir_separator_FC=
12789   hardcode_minus_L_FC=no
12790   hardcode_shlibpath_var_FC=unsupported
12791   inherit_rpath_FC=no
12792   link_all_deplibs_FC=unknown
12793   module_cmds_FC=
12794   module_expsym_cmds_FC=
12795   old_archive_from_new_cmds_FC=
12796   old_archive_from_expsyms_cmds_FC=
12797   thread_safe_flag_spec_FC=
12798   whole_archive_flag_spec_FC=
12799   # include_expsyms should be a list of space-separated symbols to be *always*
12800   # included in the symbol list
12801   include_expsyms_FC=
12802   # exclude_expsyms can be an extended regexp of symbols to exclude
12803   # it will be wrapped by ` (' and `)$', so one must not match beginning or
12804   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12805   # as well as any symbol that contains `d'.
12806   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12807   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12808   # platforms (ab)use it in PIC code, but their linkers get confused if
12809   # the symbol is explicitly referenced.  Since portable code cannot
12810   # rely on this symbol name, it's probably fine to never include it in
12811   # preloaded symbol tables.
12812   # Exclude shared library initialization/finalization symbols.
12813   extract_expsyms_cmds=
12814
12815   case $host_os in
12816   cygwin* | mingw* | pw32* | cegcc*)
12817     # FIXME: the MSVC++ port hasn't been tested in a loooong time
12818     # When not using gcc, we currently assume that we are using
12819     # Microsoft Visual C++.
12820     if test "$GCC" != yes; then
12821       with_gnu_ld=no
12822     fi
12823     ;;
12824   interix*)
12825     # we just hope/assume this is gcc and not c89 (= MSVC++)
12826     with_gnu_ld=yes
12827     ;;
12828   openbsd*)
12829     with_gnu_ld=no
12830     ;;
12831   esac
12832
12833   ld_shlibs_FC=yes
12834
12835   # On some targets, GNU ld is compatible enough with the native linker
12836   # that we're better off using the native interface for both.
12837   lt_use_gnu_ld_interface=no
12838   if test "$with_gnu_ld" = yes; then
12839     case $host_os in
12840       aix*)
12841         # The AIX port of GNU ld has always aspired to compatibility
12842         # with the native linker.  However, as the warning in the GNU ld
12843         # block says, versions before 2.19.5* couldn't really create working
12844         # shared libraries, regardless of the interface used.
12845         case `$LD -v 2>&1` in
12846           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12847           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12848           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12849           *)
12850             lt_use_gnu_ld_interface=yes
12851             ;;
12852         esac
12853         ;;
12854       *)
12855         lt_use_gnu_ld_interface=yes
12856         ;;
12857     esac
12858   fi
12859
12860   if test "$lt_use_gnu_ld_interface" = yes; then
12861     # If archive_cmds runs LD, not CC, wlarc should be empty
12862     wlarc='${wl}'
12863
12864     # Set some defaults for GNU ld with shared library support. These
12865     # are reset later if shared libraries are not supported. Putting them
12866     # here allows them to be overridden if necessary.
12867     runpath_var=LD_RUN_PATH
12868     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12869     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12870     # ancient GNU ld didn't support --whole-archive et. al.
12871     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12872       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12873     else
12874       whole_archive_flag_spec_FC=
12875     fi
12876     supports_anon_versioning=no
12877     case `$LD -v 2>&1` in
12878       *GNU\ gold*) supports_anon_versioning=yes ;;
12879       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12880       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12881       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12882       *\ 2.11.*) ;; # other 2.11 versions
12883       *) supports_anon_versioning=yes ;;
12884     esac
12885
12886     # See if GNU ld supports shared libraries.
12887     case $host_os in
12888     aix[3-9]*)
12889       # On AIX/PPC, the GNU linker is very broken
12890       if test "$host_cpu" != ia64; then
12891         ld_shlibs_FC=no
12892         cat <<_LT_EOF 1>&2
12893
12894 *** Warning: the GNU linker, at least up to release 2.19, is reported
12895 *** to be unable to reliably create shared libraries on AIX.
12896 *** Therefore, libtool is disabling shared libraries support.  If you
12897 *** really care for shared libraries, you may want to install binutils
12898 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12899 *** You will then need to restart the configuration process.
12900
12901 _LT_EOF
12902       fi
12903       ;;
12904
12905     amigaos*)
12906       case $host_cpu in
12907       powerpc)
12908             # see comment about AmigaOS4 .so support
12909             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12910             archive_expsym_cmds_FC=''
12911         ;;
12912       m68k)
12913             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)'
12914             hardcode_libdir_flag_spec_FC='-L$libdir'
12915             hardcode_minus_L_FC=yes
12916         ;;
12917       esac
12918       ;;
12919
12920     beos*)
12921       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12922         allow_undefined_flag_FC=unsupported
12923         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12924         # support --undefined.  This deserves some investigation.  FIXME
12925         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926       else
12927         ld_shlibs_FC=no
12928       fi
12929       ;;
12930
12931     cygwin* | mingw* | pw32* | cegcc*)
12932       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12933       # as there is no search path for DLLs.
12934       hardcode_libdir_flag_spec_FC='-L$libdir'
12935       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
12936       allow_undefined_flag_FC=unsupported
12937       always_export_symbols_FC=no
12938       enable_shared_with_static_runtimes_FC=yes
12939       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12940
12941       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12942         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12943         # If the export-symbols file already is a .def file (1st line
12944         # is EXPORTS), use it as is; otherwise, prepend...
12945         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12946           cp $export_symbols $output_objdir/$soname.def;
12947         else
12948           echo EXPORTS > $output_objdir/$soname.def;
12949           cat $export_symbols >> $output_objdir/$soname.def;
12950         fi~
12951         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12952       else
12953         ld_shlibs_FC=no
12954       fi
12955       ;;
12956
12957     haiku*)
12958       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12959       link_all_deplibs_FC=yes
12960       ;;
12961
12962     interix[3-9]*)
12963       hardcode_direct_FC=no
12964       hardcode_shlibpath_var_FC=no
12965       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12966       export_dynamic_flag_spec_FC='${wl}-E'
12967       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12968       # Instead, shared libraries are loaded at an image base (0x10000000 by
12969       # default) and relocated if they conflict, which is a slow very memory
12970       # consuming and fragmenting process.  To avoid this, we pick a random,
12971       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12972       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
12973       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'
12974       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'
12975       ;;
12976
12977     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12978       tmp_diet=no
12979       if test "$host_os" = linux-dietlibc; then
12980         case $cc_basename in
12981           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
12982         esac
12983       fi
12984       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12985          && test "$tmp_diet" = no
12986       then
12987         tmp_addflag=
12988         tmp_sharedflag='-shared'
12989         case $cc_basename,$host_cpu in
12990         pgcc*)                          # Portland Group C compiler
12991           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'
12992           tmp_addflag=' $pic_flag'
12993           ;;
12994         pgf77* | pgf90* | pgf95* | pgfortran*)
12995                                         # Portland Group f77 and f90 compilers
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 -Mnomain' ;;
12998         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
12999           tmp_addflag=' -i_dynamic' ;;
13000         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13001           tmp_addflag=' -i_dynamic -nofor_main' ;;
13002         ifc* | ifort*)                  # Intel Fortran compiler
13003           tmp_addflag=' -nofor_main' ;;
13004         lf95*)                          # Lahey Fortran 8.1
13005           whole_archive_flag_spec_FC=
13006           tmp_sharedflag='--shared' ;;
13007         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13008           tmp_sharedflag='-qmkshrobj'
13009           tmp_addflag= ;;
13010         nvcc*)  # Cuda Compiler Driver 2.2
13011           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'
13012           compiler_needs_object_FC=yes
13013           ;;
13014         esac
13015         case `$CC -V 2>&1 | sed 5q` in
13016         *Sun\ C*)                       # Sun C 5.9
13017           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'
13018           compiler_needs_object_FC=yes
13019           tmp_sharedflag='-G' ;;
13020         *Sun\ F*)                       # Sun Fortran 8.3
13021           tmp_sharedflag='-G' ;;
13022         esac
13023         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13024
13025         if test "x$supports_anon_versioning" = xyes; then
13026           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13027             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13028             echo "local: *; };" >> $output_objdir/$libname.ver~
13029             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13030         fi
13031
13032         case $cc_basename in
13033         xlf* | bgf* | bgxlf* | mpixlf*)
13034           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13035           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13036           hardcode_libdir_flag_spec_FC=
13037           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13038           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13039           if test "x$supports_anon_versioning" = xyes; then
13040             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13041               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13042               echo "local: *; };" >> $output_objdir/$libname.ver~
13043               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13044           fi
13045           ;;
13046         esac
13047       else
13048         ld_shlibs_FC=no
13049       fi
13050       ;;
13051
13052     netbsd*)
13053       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13054         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13055         wlarc=
13056       else
13057         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13058         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13059       fi
13060       ;;
13061
13062     solaris*)
13063       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
13064         ld_shlibs_FC=no
13065         cat <<_LT_EOF 1>&2
13066
13067 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13068 *** create shared libraries on Solaris systems.  Therefore, libtool
13069 *** is disabling shared libraries support.  We urge you to upgrade GNU
13070 *** binutils to release 2.9.1 or newer.  Another option is to modify
13071 *** your PATH or compiler configuration so that the native linker is
13072 *** used, and then restart.
13073
13074 _LT_EOF
13075       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13076         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13077         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13078       else
13079         ld_shlibs_FC=no
13080       fi
13081       ;;
13082
13083     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
13084       case `$LD -v 2>&1` in
13085         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
13086         ld_shlibs_FC=no
13087         cat <<_LT_EOF 1>&2
13088
13089 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
13090 *** reliably create shared libraries on SCO systems.  Therefore, libtool
13091 *** is disabling shared libraries support.  We urge you to upgrade GNU
13092 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
13093 *** your PATH or compiler configuration so that the native linker is
13094 *** used, and then restart.
13095
13096 _LT_EOF
13097         ;;
13098         *)
13099           # For security reasons, it is highly recommended that you always
13100           # use absolute paths for naming shared libraries, and exclude the
13101           # DT_RUNPATH tag from executables and libraries.  But doing so
13102           # requires that you compile everything twice, which is a pain.
13103           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13104             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13105             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13106             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13107           else
13108             ld_shlibs_FC=no
13109           fi
13110         ;;
13111       esac
13112       ;;
13113
13114     sunos4*)
13115       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13116       wlarc=
13117       hardcode_direct_FC=yes
13118       hardcode_shlibpath_var_FC=no
13119       ;;
13120
13121     *)
13122       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13123         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13124         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13125       else
13126         ld_shlibs_FC=no
13127       fi
13128       ;;
13129     esac
13130
13131     if test "$ld_shlibs_FC" = no; then
13132       runpath_var=
13133       hardcode_libdir_flag_spec_FC=
13134       export_dynamic_flag_spec_FC=
13135       whole_archive_flag_spec_FC=
13136     fi
13137   else
13138     # PORTME fill in a description of your system's linker (not GNU ld)
13139     case $host_os in
13140     aix3*)
13141       allow_undefined_flag_FC=unsupported
13142       always_export_symbols_FC=yes
13143       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'
13144       # Note: this linker hardcodes the directories in LIBPATH if there
13145       # are no directories specified by -L.
13146       hardcode_minus_L_FC=yes
13147       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
13148         # Neither direct hardcoding nor static linking is supported with a
13149         # broken collect2.
13150         hardcode_direct_FC=unsupported
13151       fi
13152       ;;
13153
13154     aix[4-9]*)
13155       if test "$host_cpu" = ia64; then
13156         # On IA64, the linker does run time linking by default, so we don't
13157         # have to do anything special.
13158         aix_use_runtimelinking=no
13159         exp_sym_flag='-Bexport'
13160         no_entry_flag=""
13161       else
13162         # If we're using GNU nm, then we don't want the "-C" option.
13163         # -C means demangle to AIX nm, but means don't demangle with GNU nm
13164         # Also, AIX nm treats weak defined symbols like other global
13165         # defined symbols, whereas GNU nm marks them as "W".
13166         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13167           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'
13168         else
13169           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'
13170         fi
13171         aix_use_runtimelinking=no
13172
13173         # Test if we are trying to use run time linking or normal
13174         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13175         # need to do runtime linking.
13176         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13177           for ld_flag in $LDFLAGS; do
13178           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13179             aix_use_runtimelinking=yes
13180             break
13181           fi
13182           done
13183           ;;
13184         esac
13185
13186         exp_sym_flag='-bexport'
13187         no_entry_flag='-bnoentry'
13188       fi
13189
13190       # When large executables or shared objects are built, AIX ld can
13191       # have problems creating the table of contents.  If linking a library
13192       # or program results in "error TOC overflow" add -mminimal-toc to
13193       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
13194       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13195
13196       archive_cmds_FC=''
13197       hardcode_direct_FC=yes
13198       hardcode_direct_absolute_FC=yes
13199       hardcode_libdir_separator_FC=':'
13200       link_all_deplibs_FC=yes
13201       file_list_spec_FC='${wl}-f,'
13202
13203       if test "$GCC" = yes; then
13204         case $host_os in aix4.[012]|aix4.[012].*)
13205         # We only want to do this on AIX 4.2 and lower, the check
13206         # below for broken collect2 doesn't work under 4.3+
13207           collect2name=`${CC} -print-prog-name=collect2`
13208           if test -f "$collect2name" &&
13209            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13210           then
13211           # We have reworked collect2
13212           :
13213           else
13214           # We have old collect2
13215           hardcode_direct_FC=unsupported
13216           # It fails to find uninstalled libraries when the uninstalled
13217           # path is not listed in the libpath.  Setting hardcode_minus_L
13218           # to unsupported forces relinking
13219           hardcode_minus_L_FC=yes
13220           hardcode_libdir_flag_spec_FC='-L$libdir'
13221           hardcode_libdir_separator_FC=
13222           fi
13223           ;;
13224         esac
13225         shared_flag='-shared'
13226         if test "$aix_use_runtimelinking" = yes; then
13227           shared_flag="$shared_flag "'${wl}-G'
13228         fi
13229       else
13230         # not using gcc
13231         if test "$host_cpu" = ia64; then
13232         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13233         # chokes on -Wl,-G. The following line is correct:
13234           shared_flag='-G'
13235         else
13236           if test "$aix_use_runtimelinking" = yes; then
13237             shared_flag='${wl}-G'
13238           else
13239             shared_flag='${wl}-bM:SRE'
13240           fi
13241         fi
13242       fi
13243
13244       export_dynamic_flag_spec_FC='${wl}-bexpall'
13245       # It seems that -bexpall does not export symbols beginning with
13246       # underscore (_), so it is better to generate a list of symbols to export.
13247       always_export_symbols_FC=yes
13248       if test "$aix_use_runtimelinking" = yes; then
13249         # Warning - without using the other runtime loading flags (-brtl),
13250         # -berok will link without error, but may produce a broken library.
13251         allow_undefined_flag_FC='-berok'
13252         # Determine the default libpath from the value encoded in an
13253         # empty executable.
13254         if test x$gcc_no_link = xyes; then
13255   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13256 fi
13257 cat > conftest.$ac_ext <<_ACEOF
13258       program main
13259
13260       end
13261 _ACEOF
13262 if ac_fn_fc_try_link "$LINENO"; then :
13263
13264 lt_aix_libpath_sed='
13265     /Import File Strings/,/^$/ {
13266         /^0/ {
13267             s/^0  *\(.*\)$/\1/
13268             p
13269         }
13270     }'
13271 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13272 # Check for a 64-bit object if we didn't find anything.
13273 if test -z "$aix_libpath"; then
13274   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13275 fi
13276 fi
13277 rm -f core conftest.err conftest.$ac_objext \
13278     conftest$ac_exeext conftest.$ac_ext
13279 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13280
13281         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13282         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"
13283       else
13284         if test "$host_cpu" = ia64; then
13285           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
13286           allow_undefined_flag_FC="-z nodefs"
13287           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"
13288         else
13289          # Determine the default libpath from the value encoded in an
13290          # empty executable.
13291          if test x$gcc_no_link = xyes; then
13292   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13293 fi
13294 cat > conftest.$ac_ext <<_ACEOF
13295       program main
13296
13297       end
13298 _ACEOF
13299 if ac_fn_fc_try_link "$LINENO"; then :
13300
13301 lt_aix_libpath_sed='
13302     /Import File Strings/,/^$/ {
13303         /^0/ {
13304             s/^0  *\(.*\)$/\1/
13305             p
13306         }
13307     }'
13308 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13309 # Check for a 64-bit object if we didn't find anything.
13310 if test -z "$aix_libpath"; then
13311   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13312 fi
13313 fi
13314 rm -f core conftest.err conftest.$ac_objext \
13315     conftest$ac_exeext conftest.$ac_ext
13316 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13317
13318          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
13319           # Warning - without using the other run time loading flags,
13320           # -berok will link without error, but may produce a broken library.
13321           no_undefined_flag_FC=' ${wl}-bernotok'
13322           allow_undefined_flag_FC=' ${wl}-berok'
13323           if test "$with_gnu_ld" = yes; then
13324             # We only use this code for GNU lds that support --whole-archive.
13325             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13326           else
13327             # Exported symbols can be pulled into shared objects from archives
13328             whole_archive_flag_spec_FC='$convenience'
13329           fi
13330           archive_cmds_need_lc_FC=yes
13331           # This is similar to how AIX traditionally builds its shared libraries.
13332           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'
13333         fi
13334       fi
13335       ;;
13336
13337     amigaos*)
13338       case $host_cpu in
13339       powerpc)
13340             # see comment about AmigaOS4 .so support
13341             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13342             archive_expsym_cmds_FC=''
13343         ;;
13344       m68k)
13345             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)'
13346             hardcode_libdir_flag_spec_FC='-L$libdir'
13347             hardcode_minus_L_FC=yes
13348         ;;
13349       esac
13350       ;;
13351
13352     bsdi[45]*)
13353       export_dynamic_flag_spec_FC=-rdynamic
13354       ;;
13355
13356     cygwin* | mingw* | pw32* | cegcc*)
13357       # When not using gcc, we currently assume that we are using
13358       # Microsoft Visual C++.
13359       # hardcode_libdir_flag_spec is actually meaningless, as there is
13360       # no search path for DLLs.
13361       hardcode_libdir_flag_spec_FC=' '
13362       allow_undefined_flag_FC=unsupported
13363       # Tell ltmain to make .lib files, not .a files.
13364       libext=lib
13365       # Tell ltmain to make .dll files, not .so files.
13366       shrext_cmds=".dll"
13367       # FIXME: Setting linknames here is a bad hack.
13368       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
13369       # The linker will automatically build a .lib file if we build a DLL.
13370       old_archive_from_new_cmds_FC='true'
13371       # FIXME: Should let the user specify the lib program.
13372       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
13373       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
13374       enable_shared_with_static_runtimes_FC=yes
13375       ;;
13376
13377     darwin* | rhapsody*)
13378
13379
13380   archive_cmds_need_lc_FC=no
13381   hardcode_direct_FC=no
13382   hardcode_automatic_FC=yes
13383   hardcode_shlibpath_var_FC=unsupported
13384   if test "$lt_cv_ld_force_load" = "yes"; then
13385     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\"`'
13386   else
13387     whole_archive_flag_spec_FC=''
13388   fi
13389   link_all_deplibs_FC=yes
13390   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
13391   case $cc_basename in
13392      ifort*) _lt_dar_can_shared=yes ;;
13393      *) _lt_dar_can_shared=$GCC ;;
13394   esac
13395   if test "$_lt_dar_can_shared" = "yes"; then
13396     output_verbose_link_cmd=func_echo_all
13397     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}"
13398     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13399     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}"
13400     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}"
13401
13402   else
13403   ld_shlibs_FC=no
13404   fi
13405
13406       ;;
13407
13408     dgux*)
13409       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13410       hardcode_libdir_flag_spec_FC='-L$libdir'
13411       hardcode_shlibpath_var_FC=no
13412       ;;
13413
13414     freebsd1*)
13415       ld_shlibs_FC=no
13416       ;;
13417
13418     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13419     # support.  Future versions do this automatically, but an explicit c++rt0.o
13420     # does not break anything, and helps significantly (at the cost of a little
13421     # extra space).
13422     freebsd2.2*)
13423       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13424       hardcode_libdir_flag_spec_FC='-R$libdir'
13425       hardcode_direct_FC=yes
13426       hardcode_shlibpath_var_FC=no
13427       ;;
13428
13429     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13430     freebsd2*)
13431       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13432       hardcode_direct_FC=yes
13433       hardcode_minus_L_FC=yes
13434       hardcode_shlibpath_var_FC=no
13435       ;;
13436
13437     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13438     freebsd* | dragonfly*)
13439       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13440       hardcode_libdir_flag_spec_FC='-R$libdir'
13441       hardcode_direct_FC=yes
13442       hardcode_shlibpath_var_FC=no
13443       ;;
13444
13445     hpux9*)
13446       if test "$GCC" = yes; then
13447         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'
13448       else
13449         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'
13450       fi
13451       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13452       hardcode_libdir_separator_FC=:
13453       hardcode_direct_FC=yes
13454
13455       # hardcode_minus_L: Not really in the search PATH,
13456       # but as the default location of the library.
13457       hardcode_minus_L_FC=yes
13458       export_dynamic_flag_spec_FC='${wl}-E'
13459       ;;
13460
13461     hpux10*)
13462       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13463         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13464       else
13465         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13466       fi
13467       if test "$with_gnu_ld" = no; then
13468         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13469         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
13470         hardcode_libdir_separator_FC=:
13471         hardcode_direct_FC=yes
13472         hardcode_direct_absolute_FC=yes
13473         export_dynamic_flag_spec_FC='${wl}-E'
13474         # hardcode_minus_L: Not really in the search PATH,
13475         # but as the default location of the library.
13476         hardcode_minus_L_FC=yes
13477       fi
13478       ;;
13479
13480     hpux11*)
13481       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
13482         case $host_cpu in
13483         hppa*64*)
13484           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13485           ;;
13486         ia64*)
13487           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13488           ;;
13489         *)
13490           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13491           ;;
13492         esac
13493       else
13494         case $host_cpu in
13495         hppa*64*)
13496           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13497           ;;
13498         ia64*)
13499           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13500           ;;
13501         *)
13502         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13503           ;;
13504         esac
13505       fi
13506       if test "$with_gnu_ld" = no; then
13507         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13508         hardcode_libdir_separator_FC=:
13509
13510         case $host_cpu in
13511         hppa*64*|ia64*)
13512           hardcode_direct_FC=no
13513           hardcode_shlibpath_var_FC=no
13514           ;;
13515         *)
13516           hardcode_direct_FC=yes
13517           hardcode_direct_absolute_FC=yes
13518           export_dynamic_flag_spec_FC='${wl}-E'
13519
13520           # hardcode_minus_L: Not really in the search PATH,
13521           # but as the default location of the library.
13522           hardcode_minus_L_FC=yes
13523           ;;
13524         esac
13525       fi
13526       ;;
13527
13528     irix5* | irix6* | nonstopux*)
13529       if test "$GCC" = yes; then
13530         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'
13531         # Try to use the -exported_symbol ld option, if it does not
13532         # work, assume that -exports_file does not work either and
13533         # implicitly export all symbols.
13534         save_LDFLAGS="$LDFLAGS"
13535         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13536         if test x$gcc_no_link = xyes; then
13537   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13538 fi
13539 cat > conftest.$ac_ext <<_ACEOF
13540 int foo(void) {}
13541 _ACEOF
13542 if ac_fn_fc_try_link "$LINENO"; then :
13543   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'
13544
13545 fi
13546 rm -f core conftest.err conftest.$ac_objext \
13547     conftest$ac_exeext conftest.$ac_ext
13548         LDFLAGS="$save_LDFLAGS"
13549       else
13550         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'
13551         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'
13552       fi
13553       archive_cmds_need_lc_FC='no'
13554       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13555       hardcode_libdir_separator_FC=:
13556       inherit_rpath_FC=yes
13557       link_all_deplibs_FC=yes
13558       ;;
13559
13560     netbsd*)
13561       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13562         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
13563       else
13564         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
13565       fi
13566       hardcode_libdir_flag_spec_FC='-R$libdir'
13567       hardcode_direct_FC=yes
13568       hardcode_shlibpath_var_FC=no
13569       ;;
13570
13571     newsos6)
13572       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13573       hardcode_direct_FC=yes
13574       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13575       hardcode_libdir_separator_FC=:
13576       hardcode_shlibpath_var_FC=no
13577       ;;
13578
13579     *nto* | *qnx*)
13580       ;;
13581
13582     openbsd*)
13583       if test -f /usr/libexec/ld.so; then
13584         hardcode_direct_FC=yes
13585         hardcode_shlibpath_var_FC=no
13586         hardcode_direct_absolute_FC=yes
13587         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13588           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13589           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13590           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13591           export_dynamic_flag_spec_FC='${wl}-E'
13592         else
13593           case $host_os in
13594            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13595              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13596              hardcode_libdir_flag_spec_FC='-R$libdir'
13597              ;;
13598            *)
13599              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13600              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13601              ;;
13602           esac
13603         fi
13604       else
13605         ld_shlibs_FC=no
13606       fi
13607       ;;
13608
13609     os2*)
13610       hardcode_libdir_flag_spec_FC='-L$libdir'
13611       hardcode_minus_L_FC=yes
13612       allow_undefined_flag_FC=unsupported
13613       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'
13614       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13615       ;;
13616
13617     osf3*)
13618       if test "$GCC" = yes; then
13619         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13620         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'
13621       else
13622         allow_undefined_flag_FC=' -expect_unresolved \*'
13623         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'
13624       fi
13625       archive_cmds_need_lc_FC='no'
13626       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13627       hardcode_libdir_separator_FC=:
13628       ;;
13629
13630     osf4* | osf5*)      # as osf3* with the addition of -msym flag
13631       if test "$GCC" = yes; then
13632         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13633         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'
13634         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13635       else
13636         allow_undefined_flag_FC=' -expect_unresolved \*'
13637         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'
13638         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~
13639         $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'
13640
13641         # Both c and cxx compiler support -rpath directly
13642         hardcode_libdir_flag_spec_FC='-rpath $libdir'
13643       fi
13644       archive_cmds_need_lc_FC='no'
13645       hardcode_libdir_separator_FC=:
13646       ;;
13647
13648     solaris*)
13649       no_undefined_flag_FC=' -z defs'
13650       if test "$GCC" = yes; then
13651         wlarc='${wl}'
13652         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13653         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13654           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13655       else
13656         case `$CC -V 2>&1` in
13657         *"Compilers 5.0"*)
13658           wlarc=''
13659           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13660           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13661           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13662           ;;
13663         *)
13664           wlarc='${wl}'
13665           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13666           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13667           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13668           ;;
13669         esac
13670       fi
13671       hardcode_libdir_flag_spec_FC='-R$libdir'
13672       hardcode_shlibpath_var_FC=no
13673       case $host_os in
13674       solaris2.[0-5] | solaris2.[0-5].*) ;;
13675       *)
13676         # The compiler driver will combine and reorder linker options,
13677         # but understands `-z linker_flag'.  GCC discards it without `$wl',
13678         # but is careful enough not to reorder.
13679         # Supported since Solaris 2.6 (maybe 2.5.1?)
13680         if test "$GCC" = yes; then
13681           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13682         else
13683           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13684         fi
13685         ;;
13686       esac
13687       link_all_deplibs_FC=yes
13688       ;;
13689
13690     sunos4*)
13691       if test "x$host_vendor" = xsequent; then
13692         # Use $CC to link under sequent, because it throws in some extra .o
13693         # files that make .init and .fini sections work.
13694         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13695       else
13696         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13697       fi
13698       hardcode_libdir_flag_spec_FC='-L$libdir'
13699       hardcode_direct_FC=yes
13700       hardcode_minus_L_FC=yes
13701       hardcode_shlibpath_var_FC=no
13702       ;;
13703
13704     sysv4)
13705       case $host_vendor in
13706         sni)
13707           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13708           hardcode_direct_FC=yes # is this really true???
13709         ;;
13710         siemens)
13711           ## LD is ld it makes a PLAMLIB
13712           ## CC just makes a GrossModule.
13713           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13714           reload_cmds_FC='$CC -r -o $output$reload_objs'
13715           hardcode_direct_FC=no
13716         ;;
13717         motorola)
13718           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13719           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13720         ;;
13721       esac
13722       runpath_var='LD_RUN_PATH'
13723       hardcode_shlibpath_var_FC=no
13724       ;;
13725
13726     sysv4.3*)
13727       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13728       hardcode_shlibpath_var_FC=no
13729       export_dynamic_flag_spec_FC='-Bexport'
13730       ;;
13731
13732     sysv4*MP*)
13733       if test -d /usr/nec; then
13734         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13735         hardcode_shlibpath_var_FC=no
13736         runpath_var=LD_RUN_PATH
13737         hardcode_runpath_var=yes
13738         ld_shlibs_FC=yes
13739       fi
13740       ;;
13741
13742     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13743       no_undefined_flag_FC='${wl}-z,text'
13744       archive_cmds_need_lc_FC=no
13745       hardcode_shlibpath_var_FC=no
13746       runpath_var='LD_RUN_PATH'
13747
13748       if test "$GCC" = yes; then
13749         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13750         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13751       else
13752         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13753         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13754       fi
13755       ;;
13756
13757     sysv5* | sco3.2v5* | sco5v6*)
13758       # Note: We can NOT use -z defs as we might desire, because we do not
13759       # link with -lc, and that would cause any symbols used from libc to
13760       # always be unresolved, which means just about no library would
13761       # ever link correctly.  If we're not using GNU ld we use -z text
13762       # though, which does catch some bad symbols but isn't as heavy-handed
13763       # as -z defs.
13764       no_undefined_flag_FC='${wl}-z,text'
13765       allow_undefined_flag_FC='${wl}-z,nodefs'
13766       archive_cmds_need_lc_FC=no
13767       hardcode_shlibpath_var_FC=no
13768       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13769       hardcode_libdir_separator_FC=':'
13770       link_all_deplibs_FC=yes
13771       export_dynamic_flag_spec_FC='${wl}-Bexport'
13772       runpath_var='LD_RUN_PATH'
13773
13774       if test "$GCC" = yes; then
13775         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13776         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13777       else
13778         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13779         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13780       fi
13781       ;;
13782
13783     uts4*)
13784       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13785       hardcode_libdir_flag_spec_FC='-L$libdir'
13786       hardcode_shlibpath_var_FC=no
13787       ;;
13788
13789     *)
13790       ld_shlibs_FC=no
13791       ;;
13792     esac
13793
13794     if test x$host_vendor = xsni; then
13795       case $host in
13796       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13797         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13798         ;;
13799       esac
13800     fi
13801   fi
13802
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
13804 $as_echo "$ld_shlibs_FC" >&6; }
13805 test "$ld_shlibs_FC" = no && can_build_shared=no
13806
13807 with_gnu_ld_FC=$with_gnu_ld
13808
13809
13810
13811
13812
13813
13814 #
13815 # Do we need to explicitly link libc?
13816 #
13817 case "x$archive_cmds_need_lc_FC" in
13818 x|xyes)
13819   # Assume -lc should be added
13820   archive_cmds_need_lc_FC=yes
13821
13822   if test "$enable_shared" = yes && test "$GCC" = yes; then
13823     case $archive_cmds_FC in
13824     *'~'*)
13825       # FIXME: we may have to deal with multi-command sequences.
13826       ;;
13827     '$CC '*)
13828       # Test whether the compiler implicitly links with -lc since on some
13829       # systems, -lgcc has to come before -lc. If gcc already passes -lc
13830       # to ld, don't add -lc before -lgcc.
13831       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13832 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13833 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
13834   $as_echo_n "(cached) " >&6
13835 else
13836   $RM conftest*
13837         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13838
13839         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13840   (eval $ac_compile) 2>&5
13841   ac_status=$?
13842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13843   test $ac_status = 0; } 2>conftest.err; then
13844           soname=conftest
13845           lib=conftest
13846           libobjs=conftest.$ac_objext
13847           deplibs=
13848           wl=$lt_prog_compiler_wl_FC
13849           pic_flag=$lt_prog_compiler_pic_FC
13850           compiler_flags=-v
13851           linker_flags=-v
13852           verstring=
13853           output_objdir=.
13854           libname=conftest
13855           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13856           allow_undefined_flag_FC=
13857           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13858   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13859   ac_status=$?
13860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13861   test $ac_status = 0; }
13862           then
13863             lt_cv_archive_cmds_need_lc_FC=no
13864           else
13865             lt_cv_archive_cmds_need_lc_FC=yes
13866           fi
13867           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13868         else
13869           cat conftest.err 1>&5
13870         fi
13871         $RM conftest*
13872
13873 fi
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13875 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
13876       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13877       ;;
13878     esac
13879   fi
13880   ;;
13881 esac
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13947 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13948
13949 library_names_spec=
13950 libname_spec='lib$name'
13951 soname_spec=
13952 shrext_cmds=".so"
13953 postinstall_cmds=
13954 postuninstall_cmds=
13955 finish_cmds=
13956 finish_eval=
13957 shlibpath_var=
13958 shlibpath_overrides_runpath=unknown
13959 version_type=none
13960 dynamic_linker="$host_os ld.so"
13961 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13962 need_lib_prefix=unknown
13963 hardcode_into_libs=no
13964
13965 # when you set need_version to no, make sure it does not cause -set_version
13966 # flags to be left without arguments
13967 need_version=unknown
13968
13969 case $host_os in
13970 aix3*)
13971   version_type=linux
13972   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13973   shlibpath_var=LIBPATH
13974
13975   # AIX 3 has no versioning support, so we append a major version to the name.
13976   soname_spec='${libname}${release}${shared_ext}$major'
13977   ;;
13978
13979 aix[4-9]*)
13980   version_type=linux
13981   need_lib_prefix=no
13982   need_version=no
13983   hardcode_into_libs=yes
13984   if test "$host_cpu" = ia64; then
13985     # AIX 5 supports IA64
13986     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13987     shlibpath_var=LD_LIBRARY_PATH
13988   else
13989     # With GCC up to 2.95.x, collect2 would create an import file
13990     # for dependence libraries.  The import file would start with
13991     # the line `#! .'.  This would cause the generated library to
13992     # depend on `.', always an invalid library.  This was fixed in
13993     # development snapshots of GCC prior to 3.0.
13994     case $host_os in
13995       aix4 | aix4.[01] | aix4.[01].*)
13996       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13997            echo ' yes '
13998            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13999         :
14000       else
14001         can_build_shared=no
14002       fi
14003       ;;
14004     esac
14005     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14006     # soname into executable. Probably we can add versioning support to
14007     # collect2, so additional links can be useful in future.
14008     if test "$aix_use_runtimelinking" = yes; then
14009       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14010       # instead of lib<name>.a to let people know that these are not
14011       # typical AIX shared libraries.
14012       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14013     else
14014       # We preserve .a as extension for shared libraries through AIX4.2
14015       # and later when we are not doing run time linking.
14016       library_names_spec='${libname}${release}.a $libname.a'
14017       soname_spec='${libname}${release}${shared_ext}$major'
14018     fi
14019     shlibpath_var=LIBPATH
14020   fi
14021   ;;
14022
14023 amigaos*)
14024   case $host_cpu in
14025   powerpc)
14026     # Since July 2007 AmigaOS4 officially supports .so libraries.
14027     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14028     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14029     ;;
14030   m68k)
14031     library_names_spec='$libname.ixlibrary $libname.a'
14032     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14033     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'
14034     ;;
14035   esac
14036   ;;
14037
14038 beos*)
14039   library_names_spec='${libname}${shared_ext}'
14040   dynamic_linker="$host_os ld.so"
14041   shlibpath_var=LIBRARY_PATH
14042   ;;
14043
14044 bsdi[45]*)
14045   version_type=linux
14046   need_version=no
14047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14048   soname_spec='${libname}${release}${shared_ext}$major'
14049   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14050   shlibpath_var=LD_LIBRARY_PATH
14051   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14052   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14053   # the default ld.so.conf also contains /usr/contrib/lib and
14054   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14055   # libtool to hard-code these into programs
14056   ;;
14057
14058 cygwin* | mingw* | pw32* | cegcc*)
14059   version_type=windows
14060   shrext_cmds=".dll"
14061   need_version=no
14062   need_lib_prefix=no
14063
14064   case $GCC,$host_os in
14065   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14066     library_names_spec='$libname.dll.a'
14067     # DLL is installed to $(libdir)/../bin by postinstall_cmds
14068     postinstall_cmds='base_file=`basename \${file}`~
14069       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14070       dldir=$destdir/`dirname \$dlpath`~
14071       test -d \$dldir || mkdir -p \$dldir~
14072       $install_prog $dir/$dlname \$dldir/$dlname~
14073       chmod a+x \$dldir/$dlname~
14074       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14075         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14076       fi'
14077     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14078       dlpath=$dir/\$dldll~
14079        $RM \$dlpath'
14080     shlibpath_overrides_runpath=yes
14081
14082     case $host_os in
14083     cygwin*)
14084       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14085       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14086
14087       ;;
14088     mingw* | cegcc*)
14089       # MinGW DLLs use traditional 'lib' prefix
14090       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14091       ;;
14092     pw32*)
14093       # pw32 DLLs use 'pw' prefix rather than 'lib'
14094       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14095       ;;
14096     esac
14097     ;;
14098
14099   *)
14100     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14101     ;;
14102   esac
14103   dynamic_linker='Win32 ld.exe'
14104   # FIXME: first we should search . and the directory the executable is in
14105   shlibpath_var=PATH
14106   ;;
14107
14108 darwin* | rhapsody*)
14109   dynamic_linker="$host_os dyld"
14110   version_type=darwin
14111   need_lib_prefix=no
14112   need_version=no
14113   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14114   soname_spec='${libname}${release}${major}$shared_ext'
14115   shlibpath_overrides_runpath=yes
14116   shlibpath_var=DYLD_LIBRARY_PATH
14117   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14118
14119   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14120   ;;
14121
14122 dgux*)
14123   version_type=linux
14124   need_lib_prefix=no
14125   need_version=no
14126   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14127   soname_spec='${libname}${release}${shared_ext}$major'
14128   shlibpath_var=LD_LIBRARY_PATH
14129   ;;
14130
14131 freebsd1*)
14132   dynamic_linker=no
14133   ;;
14134
14135 freebsd* | dragonfly*)
14136   # DragonFly does not have aout.  When/if they implement a new
14137   # versioning mechanism, adjust this.
14138   if test -x /usr/bin/objformat; then
14139     objformat=`/usr/bin/objformat`
14140   else
14141     case $host_os in
14142     freebsd[123]*) objformat=aout ;;
14143     *) objformat=elf ;;
14144     esac
14145   fi
14146   version_type=freebsd-$objformat
14147   case $version_type in
14148     freebsd-elf*)
14149       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14150       need_version=no
14151       need_lib_prefix=no
14152       ;;
14153     freebsd-*)
14154       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14155       need_version=yes
14156       ;;
14157   esac
14158   shlibpath_var=LD_LIBRARY_PATH
14159   case $host_os in
14160   freebsd2*)
14161     shlibpath_overrides_runpath=yes
14162     ;;
14163   freebsd3.[01]* | freebsdelf3.[01]*)
14164     shlibpath_overrides_runpath=yes
14165     hardcode_into_libs=yes
14166     ;;
14167   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14168   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14169     shlibpath_overrides_runpath=no
14170     hardcode_into_libs=yes
14171     ;;
14172   *) # from 4.6 on, and DragonFly
14173     shlibpath_overrides_runpath=yes
14174     hardcode_into_libs=yes
14175     ;;
14176   esac
14177   ;;
14178
14179 gnu*)
14180   version_type=linux
14181   need_lib_prefix=no
14182   need_version=no
14183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14184   soname_spec='${libname}${release}${shared_ext}$major'
14185   shlibpath_var=LD_LIBRARY_PATH
14186   hardcode_into_libs=yes
14187   ;;
14188
14189 haiku*)
14190   version_type=linux
14191   need_lib_prefix=no
14192   need_version=no
14193   dynamic_linker="$host_os runtime_loader"
14194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14195   soname_spec='${libname}${release}${shared_ext}$major'
14196   shlibpath_var=LIBRARY_PATH
14197   shlibpath_overrides_runpath=yes
14198   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14199   hardcode_into_libs=yes
14200   ;;
14201
14202 hpux9* | hpux10* | hpux11*)
14203   # Give a soname corresponding to the major version so that dld.sl refuses to
14204   # link against other versions.
14205   version_type=sunos
14206   need_lib_prefix=no
14207   need_version=no
14208   case $host_cpu in
14209   ia64*)
14210     shrext_cmds='.so'
14211     hardcode_into_libs=yes
14212     dynamic_linker="$host_os dld.so"
14213     shlibpath_var=LD_LIBRARY_PATH
14214     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14215     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14216     soname_spec='${libname}${release}${shared_ext}$major'
14217     if test "X$HPUX_IA64_MODE" = X32; then
14218       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14219     else
14220       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14221     fi
14222     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14223     ;;
14224   hppa*64*)
14225     shrext_cmds='.sl'
14226     hardcode_into_libs=yes
14227     dynamic_linker="$host_os dld.sl"
14228     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14229     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14230     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14231     soname_spec='${libname}${release}${shared_ext}$major'
14232     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14233     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14234     ;;
14235   *)
14236     shrext_cmds='.sl'
14237     dynamic_linker="$host_os dld.sl"
14238     shlibpath_var=SHLIB_PATH
14239     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14240     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14241     soname_spec='${libname}${release}${shared_ext}$major'
14242     ;;
14243   esac
14244   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14245   postinstall_cmds='chmod 555 $lib'
14246   # or fails outright, so override atomically:
14247   install_override_mode=555
14248   ;;
14249
14250 interix[3-9]*)
14251   version_type=linux
14252   need_lib_prefix=no
14253   need_version=no
14254   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14255   soname_spec='${libname}${release}${shared_ext}$major'
14256   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14257   shlibpath_var=LD_LIBRARY_PATH
14258   shlibpath_overrides_runpath=no
14259   hardcode_into_libs=yes
14260   ;;
14261
14262 irix5* | irix6* | nonstopux*)
14263   case $host_os in
14264     nonstopux*) version_type=nonstopux ;;
14265     *)
14266         if test "$lt_cv_prog_gnu_ld" = yes; then
14267                 version_type=linux
14268         else
14269                 version_type=irix
14270         fi ;;
14271   esac
14272   need_lib_prefix=no
14273   need_version=no
14274   soname_spec='${libname}${release}${shared_ext}$major'
14275   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14276   case $host_os in
14277   irix5* | nonstopux*)
14278     libsuff= shlibsuff=
14279     ;;
14280   *)
14281     case $LD in # libtool.m4 will add one of these switches to LD
14282     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14283       libsuff= shlibsuff= libmagic=32-bit;;
14284     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14285       libsuff=32 shlibsuff=N32 libmagic=N32;;
14286     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14287       libsuff=64 shlibsuff=64 libmagic=64-bit;;
14288     *) libsuff= shlibsuff= libmagic=never-match;;
14289     esac
14290     ;;
14291   esac
14292   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14293   shlibpath_overrides_runpath=no
14294   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14295   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14296   hardcode_into_libs=yes
14297   ;;
14298
14299 # No shared lib support for Linux oldld, aout, or coff.
14300 linux*oldld* | linux*aout* | linux*coff*)
14301   dynamic_linker=no
14302   ;;
14303
14304 # This must be Linux ELF.
14305 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14306   version_type=linux
14307   need_lib_prefix=no
14308   need_version=no
14309   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14310   soname_spec='${libname}${release}${shared_ext}$major'
14311   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14312   shlibpath_var=LD_LIBRARY_PATH
14313   shlibpath_overrides_runpath=no
14314
14315   # Some binutils ld are patched to set DT_RUNPATH
14316   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14317   $as_echo_n "(cached) " >&6
14318 else
14319   lt_cv_shlibpath_overrides_runpath=no
14320     save_LDFLAGS=$LDFLAGS
14321     save_libdir=$libdir
14322     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
14323          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
14324     if test x$gcc_no_link = xyes; then
14325   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14326 fi
14327 cat > conftest.$ac_ext <<_ACEOF
14328       program main
14329
14330       end
14331 _ACEOF
14332 if ac_fn_fc_try_link "$LINENO"; then :
14333   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14334   lt_cv_shlibpath_overrides_runpath=yes
14335 fi
14336 fi
14337 rm -f core conftest.err conftest.$ac_objext \
14338     conftest$ac_exeext conftest.$ac_ext
14339     LDFLAGS=$save_LDFLAGS
14340     libdir=$save_libdir
14341
14342 fi
14343
14344   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14345
14346   # This implies no fast_install, which is unacceptable.
14347   # Some rework will be needed to allow for fast_install
14348   # before this can be enabled.
14349   hardcode_into_libs=yes
14350
14351   # Append ld.so.conf contents to the search path
14352   if test -f /etc/ld.so.conf; then
14353     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' ' '`
14354     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14355   fi
14356
14357   # We used to test for /lib/ld.so.1 and disable shared libraries on
14358   # powerpc, because MkLinux only supported shared libraries with the
14359   # GNU dynamic linker.  Since this was broken with cross compilers,
14360   # most powerpc-linux boxes support dynamic linking these days and
14361   # people can always --disable-shared, the test was removed, and we
14362   # assume the GNU/Linux dynamic linker is in use.
14363   dynamic_linker='GNU/Linux ld.so'
14364   ;;
14365
14366 netbsd*)
14367   version_type=sunos
14368   need_lib_prefix=no
14369   need_version=no
14370   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14371     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14372     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14373     dynamic_linker='NetBSD (a.out) ld.so'
14374   else
14375     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14376     soname_spec='${libname}${release}${shared_ext}$major'
14377     dynamic_linker='NetBSD ld.elf_so'
14378   fi
14379   shlibpath_var=LD_LIBRARY_PATH
14380   shlibpath_overrides_runpath=yes
14381   hardcode_into_libs=yes
14382   ;;
14383
14384 newsos6)
14385   version_type=linux
14386   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387   shlibpath_var=LD_LIBRARY_PATH
14388   shlibpath_overrides_runpath=yes
14389   ;;
14390
14391 *nto* | *qnx*)
14392   version_type=qnx
14393   need_lib_prefix=no
14394   need_version=no
14395   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14396   soname_spec='${libname}${release}${shared_ext}$major'
14397   shlibpath_var=LD_LIBRARY_PATH
14398   shlibpath_overrides_runpath=no
14399   hardcode_into_libs=yes
14400   dynamic_linker='ldqnx.so'
14401   ;;
14402
14403 openbsd*)
14404   version_type=sunos
14405   sys_lib_dlsearch_path_spec="/usr/lib"
14406   need_lib_prefix=no
14407   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14408   case $host_os in
14409     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
14410     *)                          need_version=no  ;;
14411   esac
14412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14413   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14414   shlibpath_var=LD_LIBRARY_PATH
14415   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14416     case $host_os in
14417       openbsd2.[89] | openbsd2.[89].*)
14418         shlibpath_overrides_runpath=no
14419         ;;
14420       *)
14421         shlibpath_overrides_runpath=yes
14422         ;;
14423       esac
14424   else
14425     shlibpath_overrides_runpath=yes
14426   fi
14427   ;;
14428
14429 os2*)
14430   libname_spec='$name'
14431   shrext_cmds=".dll"
14432   need_lib_prefix=no
14433   library_names_spec='$libname${shared_ext} $libname.a'
14434   dynamic_linker='OS/2 ld.exe'
14435   shlibpath_var=LIBPATH
14436   ;;
14437
14438 osf3* | osf4* | osf5*)
14439   version_type=osf
14440   need_lib_prefix=no
14441   need_version=no
14442   soname_spec='${libname}${release}${shared_ext}$major'
14443   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14444   shlibpath_var=LD_LIBRARY_PATH
14445   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14446   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14447   ;;
14448
14449 rdos*)
14450   dynamic_linker=no
14451   ;;
14452
14453 solaris*)
14454   version_type=linux
14455   need_lib_prefix=no
14456   need_version=no
14457   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14458   soname_spec='${libname}${release}${shared_ext}$major'
14459   shlibpath_var=LD_LIBRARY_PATH
14460   shlibpath_overrides_runpath=yes
14461   hardcode_into_libs=yes
14462   # ldd complains unless libraries are executable
14463   postinstall_cmds='chmod +x $lib'
14464   ;;
14465
14466 sunos4*)
14467   version_type=sunos
14468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14469   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14470   shlibpath_var=LD_LIBRARY_PATH
14471   shlibpath_overrides_runpath=yes
14472   if test "$with_gnu_ld" = yes; then
14473     need_lib_prefix=no
14474   fi
14475   need_version=yes
14476   ;;
14477
14478 sysv4 | sysv4.3*)
14479   version_type=linux
14480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481   soname_spec='${libname}${release}${shared_ext}$major'
14482   shlibpath_var=LD_LIBRARY_PATH
14483   case $host_vendor in
14484     sni)
14485       shlibpath_overrides_runpath=no
14486       need_lib_prefix=no
14487       runpath_var=LD_RUN_PATH
14488       ;;
14489     siemens)
14490       need_lib_prefix=no
14491       ;;
14492     motorola)
14493       need_lib_prefix=no
14494       need_version=no
14495       shlibpath_overrides_runpath=no
14496       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14497       ;;
14498   esac
14499   ;;
14500
14501 sysv4*MP*)
14502   if test -d /usr/nec ;then
14503     version_type=linux
14504     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14505     soname_spec='$libname${shared_ext}.$major'
14506     shlibpath_var=LD_LIBRARY_PATH
14507   fi
14508   ;;
14509
14510 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14511   version_type=freebsd-elf
14512   need_lib_prefix=no
14513   need_version=no
14514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14515   soname_spec='${libname}${release}${shared_ext}$major'
14516   shlibpath_var=LD_LIBRARY_PATH
14517   shlibpath_overrides_runpath=yes
14518   hardcode_into_libs=yes
14519   if test "$with_gnu_ld" = yes; then
14520     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14521   else
14522     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14523     case $host_os in
14524       sco3.2v5*)
14525         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14526         ;;
14527     esac
14528   fi
14529   sys_lib_dlsearch_path_spec='/usr/lib'
14530   ;;
14531
14532 tpf*)
14533   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
14534   version_type=linux
14535   need_lib_prefix=no
14536   need_version=no
14537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14538   shlibpath_var=LD_LIBRARY_PATH
14539   shlibpath_overrides_runpath=no
14540   hardcode_into_libs=yes
14541   ;;
14542
14543 uts4*)
14544   version_type=linux
14545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546   soname_spec='${libname}${release}${shared_ext}$major'
14547   shlibpath_var=LD_LIBRARY_PATH
14548   ;;
14549
14550 *)
14551   dynamic_linker=no
14552   ;;
14553 esac
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14555 $as_echo "$dynamic_linker" >&6; }
14556 test "$dynamic_linker" = no && can_build_shared=no
14557
14558 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14559 if test "$GCC" = yes; then
14560   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14561 fi
14562
14563 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14564   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14565 fi
14566 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14567   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14568 fi
14569
14570
14571
14572
14573
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     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14608 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14609 hardcode_action_FC=
14610 if test -n "$hardcode_libdir_flag_spec_FC" ||
14611    test -n "$runpath_var_FC" ||
14612    test "X$hardcode_automatic_FC" = "Xyes" ; then
14613
14614   # We can hardcode non-existent directories.
14615   if test "$hardcode_direct_FC" != no &&
14616      # If the only mechanism to avoid hardcoding is shlibpath_var, we
14617      # have to relink, otherwise we might link with an installed library
14618      # when we should be linking with a yet-to-be-installed one
14619      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14620      test "$hardcode_minus_L_FC" != no; then
14621     # Linking always hardcodes the temporary library directory.
14622     hardcode_action_FC=relink
14623   else
14624     # We can link without hardcoding, and we can hardcode nonexisting dirs.
14625     hardcode_action_FC=immediate
14626   fi
14627 else
14628   # We cannot hardcode anything, or else we can only hardcode existing
14629   # directories.
14630   hardcode_action_FC=unsupported
14631 fi
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
14633 $as_echo "$hardcode_action_FC" >&6; }
14634
14635 if test "$hardcode_action_FC" = relink ||
14636    test "$inherit_rpath_FC" = yes; then
14637   # Fast installation is not supported
14638   enable_fast_install=no
14639 elif test "$shlibpath_overrides_runpath" = yes ||
14640      test "$enable_shared" = no; then
14641   # Fast installation is not necessary
14642   enable_fast_install=needless
14643 fi
14644
14645
14646
14647
14648
14649
14650
14651   fi # test -n "$compiler"
14652
14653   GCC=$lt_save_GCC
14654   CC="$lt_save_CC"
14655 fi # test "$_lt_disable_FC" != yes
14656
14657 ac_ext=c
14658 ac_cpp='$CPP $CPPFLAGS'
14659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14662
14663
14664
14665 # extra LD Flags which are required for targets
14666 case "${host}" in
14667   *-darwin*)
14668     # Darwin needs -single_module when linking libgfortran
14669     extra_ldflags_libgfortran=-Wl,-single_module
14670     ;;
14671 esac
14672
14673
14674 # We need a working compiler at that point, otherwise give a clear
14675 # error message and bail out.
14676
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
14678 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
14679 ac_ext=${ac_fc_srcext-f}
14680 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
14681 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14683
14684 cat > conftest.$ac_ext <<_ACEOF
14685
14686       program foo
14687       real, parameter :: bar = sin (12.34 / 2.5)
14688       end program foo
14689 _ACEOF
14690 if ac_fn_fc_try_compile "$LINENO"; then :
14691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14692 $as_echo "yes" >&6; }
14693 else
14694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14695 $as_echo "no" >&6; }
14696      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
14697
14698 fi
14699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14700 ac_ext=c
14701 ac_cpp='$CPP $CPPFLAGS'
14702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14705
14706
14707
14708 # Check whether --enable-largefile was given.
14709 if test "${enable_largefile+set}" = set; then :
14710   enableval=$enable_largefile;
14711 fi
14712
14713 if test "$enable_largefile" != no; then
14714
14715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
14716 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
14717 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
14718   $as_echo_n "(cached) " >&6
14719 else
14720   ac_cv_sys_largefile_CC=no
14721      if test "$GCC" != yes; then
14722        ac_save_CC=$CC
14723        while :; do
14724          # IRIX 6.2 and later do not support large files by default,
14725          # so use the C compiler's -n32 option if that helps.
14726          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h.  */
14728 #include <sys/types.h>
14729  /* Check that off_t can represent 2**63 - 1 correctly.
14730     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14731     since some C++ compilers masquerading as C compilers
14732     incorrectly reject 9223372036854775807.  */
14733 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14734   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14735                        && LARGE_OFF_T % 2147483647 == 1)
14736                       ? 1 : -1];
14737 int
14738 main ()
14739 {
14740
14741   ;
14742   return 0;
14743 }
14744 _ACEOF
14745          if ac_fn_c_try_compile "$LINENO"; then :
14746   break
14747 fi
14748 rm -f core conftest.err conftest.$ac_objext
14749          CC="$CC -n32"
14750          if ac_fn_c_try_compile "$LINENO"; then :
14751   ac_cv_sys_largefile_CC=' -n32'; break
14752 fi
14753 rm -f core conftest.err conftest.$ac_objext
14754          break
14755        done
14756        CC=$ac_save_CC
14757        rm -f conftest.$ac_ext
14758     fi
14759 fi
14760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
14761 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
14762   if test "$ac_cv_sys_largefile_CC" != no; then
14763     CC=$CC$ac_cv_sys_largefile_CC
14764   fi
14765
14766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14767 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
14768 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
14769   $as_echo_n "(cached) " >&6
14770 else
14771   while :; do
14772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14773 /* end confdefs.h.  */
14774 #include <sys/types.h>
14775  /* Check that off_t can represent 2**63 - 1 correctly.
14776     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14777     since some C++ compilers masquerading as C compilers
14778     incorrectly reject 9223372036854775807.  */
14779 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14780   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14781                        && LARGE_OFF_T % 2147483647 == 1)
14782                       ? 1 : -1];
14783 int
14784 main ()
14785 {
14786
14787   ;
14788   return 0;
14789 }
14790 _ACEOF
14791 if ac_fn_c_try_compile "$LINENO"; then :
14792   ac_cv_sys_file_offset_bits=no; break
14793 fi
14794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14796 /* end confdefs.h.  */
14797 #define _FILE_OFFSET_BITS 64
14798 #include <sys/types.h>
14799  /* Check that off_t can represent 2**63 - 1 correctly.
14800     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14801     since some C++ compilers masquerading as C compilers
14802     incorrectly reject 9223372036854775807.  */
14803 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14804   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14805                        && LARGE_OFF_T % 2147483647 == 1)
14806                       ? 1 : -1];
14807 int
14808 main ()
14809 {
14810
14811   ;
14812   return 0;
14813 }
14814 _ACEOF
14815 if ac_fn_c_try_compile "$LINENO"; then :
14816   ac_cv_sys_file_offset_bits=64; break
14817 fi
14818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14819   ac_cv_sys_file_offset_bits=unknown
14820   break
14821 done
14822 fi
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
14824 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
14825 case $ac_cv_sys_file_offset_bits in #(
14826   no | unknown) ;;
14827   *)
14828 cat >>confdefs.h <<_ACEOF
14829 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14830 _ACEOF
14831 ;;
14832 esac
14833 rm -rf conftest*
14834   if test $ac_cv_sys_file_offset_bits = unknown; then
14835     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
14836 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
14837 if test "${ac_cv_sys_large_files+set}" = set; then :
14838   $as_echo_n "(cached) " >&6
14839 else
14840   while :; do
14841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14842 /* end confdefs.h.  */
14843 #include <sys/types.h>
14844  /* Check that off_t can represent 2**63 - 1 correctly.
14845     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14846     since some C++ compilers masquerading as C compilers
14847     incorrectly reject 9223372036854775807.  */
14848 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14849   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14850                        && LARGE_OFF_T % 2147483647 == 1)
14851                       ? 1 : -1];
14852 int
14853 main ()
14854 {
14855
14856   ;
14857   return 0;
14858 }
14859 _ACEOF
14860 if ac_fn_c_try_compile "$LINENO"; then :
14861   ac_cv_sys_large_files=no; break
14862 fi
14863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h.  */
14866 #define _LARGE_FILES 1
14867 #include <sys/types.h>
14868  /* Check that off_t can represent 2**63 - 1 correctly.
14869     We can't simply define LARGE_OFF_T to be 9223372036854775807,
14870     since some C++ compilers masquerading as C compilers
14871     incorrectly reject 9223372036854775807.  */
14872 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14873   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14874                        && LARGE_OFF_T % 2147483647 == 1)
14875                       ? 1 : -1];
14876 int
14877 main ()
14878 {
14879
14880   ;
14881   return 0;
14882 }
14883 _ACEOF
14884 if ac_fn_c_try_compile "$LINENO"; then :
14885   ac_cv_sys_large_files=1; break
14886 fi
14887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14888   ac_cv_sys_large_files=unknown
14889   break
14890 done
14891 fi
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
14893 $as_echo "$ac_cv_sys_large_files" >&6; }
14894 case $ac_cv_sys_large_files in #(
14895   no | unknown) ;;
14896   *)
14897 cat >>confdefs.h <<_ACEOF
14898 #define _LARGE_FILES $ac_cv_sys_large_files
14899 _ACEOF
14900 ;;
14901 esac
14902 rm -rf conftest*
14903   fi
14904 fi
14905
14906 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14907 if test "x$ac_cv_type_off_t" = x""yes; then :
14908
14909 else
14910
14911 cat >>confdefs.h <<_ACEOF
14912 #define off_t long int
14913 _ACEOF
14914
14915 fi
14916
14917
14918 # check header files
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14920 $as_echo_n "checking for ANSI C header files... " >&6; }
14921 if test "${ac_cv_header_stdc+set}" = set; then :
14922   $as_echo_n "(cached) " >&6
14923 else
14924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14925 /* end confdefs.h.  */
14926 #include <stdlib.h>
14927 #include <stdarg.h>
14928 #include <string.h>
14929 #include <float.h>
14930
14931 int
14932 main ()
14933 {
14934
14935   ;
14936   return 0;
14937 }
14938 _ACEOF
14939 if ac_fn_c_try_compile "$LINENO"; then :
14940   ac_cv_header_stdc=yes
14941 else
14942   ac_cv_header_stdc=no
14943 fi
14944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14945
14946 if test $ac_cv_header_stdc = yes; then
14947   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h.  */
14950 #include <string.h>
14951
14952 _ACEOF
14953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14954   $EGREP "memchr" >/dev/null 2>&1; then :
14955
14956 else
14957   ac_cv_header_stdc=no
14958 fi
14959 rm -f conftest*
14960
14961 fi
14962
14963 if test $ac_cv_header_stdc = yes; then
14964   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h.  */
14967 #include <stdlib.h>
14968
14969 _ACEOF
14970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14971   $EGREP "free" >/dev/null 2>&1; then :
14972
14973 else
14974   ac_cv_header_stdc=no
14975 fi
14976 rm -f conftest*
14977
14978 fi
14979
14980 if test $ac_cv_header_stdc = yes; then
14981   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14982   if test "$cross_compiling" = yes; then :
14983   :
14984 else
14985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h.  */
14987 #include <ctype.h>
14988 #include <stdlib.h>
14989 #if ((' ' & 0x0FF) == 0x020)
14990 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14991 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14992 #else
14993 # define ISLOWER(c) \
14994                    (('a' <= (c) && (c) <= 'i') \
14995                      || ('j' <= (c) && (c) <= 'r') \
14996                      || ('s' <= (c) && (c) <= 'z'))
14997 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14998 #endif
14999
15000 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15001 int
15002 main ()
15003 {
15004   int i;
15005   for (i = 0; i < 256; i++)
15006     if (XOR (islower (i), ISLOWER (i))
15007         || toupper (i) != TOUPPER (i))
15008       return 2;
15009   return 0;
15010 }
15011 _ACEOF
15012 if ac_fn_c_try_run "$LINENO"; then :
15013
15014 else
15015   ac_cv_header_stdc=no
15016 fi
15017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15018   conftest.$ac_objext conftest.beam conftest.$ac_ext
15019 fi
15020
15021 fi
15022 fi
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15024 $as_echo "$ac_cv_header_stdc" >&6; }
15025 if test $ac_cv_header_stdc = yes; then
15026
15027 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15028
15029 fi
15030
15031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15032 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15033 if test "${ac_cv_header_time+set}" = set; then :
15034   $as_echo_n "(cached) " >&6
15035 else
15036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h.  */
15038 #include <sys/types.h>
15039 #include <sys/time.h>
15040 #include <time.h>
15041
15042 int
15043 main ()
15044 {
15045 if ((struct tm *) 0)
15046 return 0;
15047   ;
15048   return 0;
15049 }
15050 _ACEOF
15051 if ac_fn_c_try_compile "$LINENO"; then :
15052   ac_cv_header_time=yes
15053 else
15054   ac_cv_header_time=no
15055 fi
15056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15057 fi
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15059 $as_echo "$ac_cv_header_time" >&6; }
15060 if test $ac_cv_header_time = yes; then
15061
15062 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
15063
15064 fi
15065
15066 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
15067 do :
15068   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15069 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15070 eval as_val=\$$as_ac_Header
15071    if test "x$as_val" = x""yes; then :
15072   cat >>confdefs.h <<_ACEOF
15073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15074 _ACEOF
15075
15076 fi
15077
15078 done
15079
15080 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15081 do :
15082   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15083 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15084 eval as_val=\$$as_ac_Header
15085    if test "x$as_val" = x""yes; then :
15086   cat >>confdefs.h <<_ACEOF
15087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15088 _ACEOF
15089
15090 fi
15091
15092 done
15093
15094 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15095 do :
15096   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15097 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15098 eval as_val=\$$as_ac_Header
15099    if test "x$as_val" = x""yes; then :
15100   cat >>confdefs.h <<_ACEOF
15101 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15102 _ACEOF
15103
15104 fi
15105
15106 done
15107
15108 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15109 do :
15110   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15111 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15112 eval as_val=\$$as_ac_Header
15113    if test "x$as_val" = x""yes; then :
15114   cat >>confdefs.h <<_ACEOF
15115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15116 _ACEOF
15117
15118 fi
15119
15120 done
15121
15122 ac_fn_c_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
15123 if test "x$ac_cv_header_complex_h" = x""yes; then :
15124
15125 $as_echo "#define HAVE_COMPLEX_H 1" >>confdefs.h
15126
15127 fi
15128
15129
15130
15131
15132 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15133
15134 acx_cv_header_stdint=stddef.h
15135 acx_cv_header_stdint_kind="(already complete)"
15136 for i in stdint.h $inttype_headers; do
15137   unset ac_cv_type_uintptr_t
15138   unset ac_cv_type_uintmax_t
15139   unset ac_cv_type_int_least32_t
15140   unset ac_cv_type_int_fast32_t
15141   unset ac_cv_type_uint64_t
15142   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15143   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15144 #include <$i>
15145 "
15146 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
15147   acx_cv_header_stdint=$i
15148 else
15149   continue
15150 fi
15151
15152   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15153 #include <$i>
15154 "
15155 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15156
15157 else
15158   acx_cv_header_stdint_kind="(mostly complete)"
15159 fi
15160
15161   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
15162 #include <$i>
15163 "
15164 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
15165
15166 else
15167   acx_cv_header_stdint_kind="(mostly complete)"
15168 fi
15169
15170   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
15171 #include <$i>
15172 "
15173 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
15174
15175 else
15176   acx_cv_header_stdint_kind="(mostly complete)"
15177 fi
15178
15179   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15180 #include <$i>
15181 "
15182 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15183
15184 else
15185   acx_cv_header_stdint_kind="(lacks uint64_t)"
15186 fi
15187
15188   break
15189 done
15190 if test "$acx_cv_header_stdint" = stddef.h; then
15191   acx_cv_header_stdint_kind="(lacks uintmax_t)"
15192   for i in stdint.h $inttype_headers; do
15193     unset ac_cv_type_uintptr_t
15194     unset ac_cv_type_uint32_t
15195     unset ac_cv_type_uint64_t
15196     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
15197     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
15198 #include <$i>
15199 "
15200 if test "x$ac_cv_type_uint32_t" = x""yes; then :
15201   acx_cv_header_stdint=$i
15202 else
15203   continue
15204 fi
15205
15206     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
15207 #include <$i>
15208 "
15209 if test "x$ac_cv_type_uint64_t" = x""yes; then :
15210
15211 fi
15212
15213     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
15214 #include <$i>
15215 "
15216 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15217
15218 fi
15219
15220     break
15221   done
15222 fi
15223 if test "$acx_cv_header_stdint" = stddef.h; then
15224   acx_cv_header_stdint_kind="(u_intXX_t style)"
15225   for i in sys/types.h $inttype_headers; do
15226     unset ac_cv_type_u_int32_t
15227     unset ac_cv_type_u_int64_t
15228     $as_echo_n "looking for u_intXX_t types in $i, " >&6
15229     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
15230 #include <$i>
15231 "
15232 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
15233   acx_cv_header_stdint=$i
15234 else
15235   continue
15236 fi
15237
15238     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
15239 #include <$i>
15240 "
15241 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
15242
15243 fi
15244
15245     break
15246   done
15247 fi
15248 if test "$acx_cv_header_stdint" = stddef.h; then
15249   acx_cv_header_stdint_kind="(using manual detection)"
15250 fi
15251
15252 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15253 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15254 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15255 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15256 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15257
15258 # ----------------- Summarize what we found so far
15259
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
15261 $as_echo_n "checking what to include in gstdint.h... " >&6; }
15262
15263 case `$as_basename -- gstdint.h ||
15264 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15265          Xgstdint.h : 'X\(//\)$' \| \
15266          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
15267 $as_echo X/gstdint.h |
15268     sed '/^.*\/\([^/][^/]*\)\/*$/{
15269             s//\1/
15270             q
15271           }
15272           /^X\/\(\/\/\)$/{
15273             s//\1/
15274             q
15275           }
15276           /^X\/\(\/\).*/{
15277             s//\1/
15278             q
15279           }
15280           s/.*/./; q'` in
15281   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15282 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15283   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
15284 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15285   *) ;;
15286 esac
15287
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15289 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
15290
15291 # ----------------- done included file, check C basic types --------
15292
15293 # Lacking an uintptr_t?  Test size of void *
15294 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15295   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
15296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15298 # This bug is HP SR number 8606223364.
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
15300 $as_echo_n "checking size of void *... " >&6; }
15301 if test "${ac_cv_sizeof_void_p+set}" = set; then :
15302   $as_echo_n "(cached) " >&6
15303 else
15304   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
15305
15306 else
15307   if test "$ac_cv_type_void_p" = yes; then
15308      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15310 { as_fn_set_status 77
15311 as_fn_error "cannot compute sizeof (void *)
15312 See \`config.log' for more details." "$LINENO" 5; }; }
15313    else
15314      ac_cv_sizeof_void_p=0
15315    fi
15316 fi
15317
15318 fi
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
15320 $as_echo "$ac_cv_sizeof_void_p" >&6; }
15321
15322
15323
15324 cat >>confdefs.h <<_ACEOF
15325 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15326 _ACEOF
15327
15328  ;;
15329 esac
15330
15331 # Lacking an uint64_t?  Test size of long
15332 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15333   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
15334 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15335 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15336 # This bug is HP SR number 8606223364.
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15338 $as_echo_n "checking size of long... " >&6; }
15339 if test "${ac_cv_sizeof_long+set}" = set; then :
15340   $as_echo_n "(cached) " >&6
15341 else
15342   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
15343
15344 else
15345   if test "$ac_cv_type_long" = yes; then
15346      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15348 { as_fn_set_status 77
15349 as_fn_error "cannot compute sizeof (long)
15350 See \`config.log' for more details." "$LINENO" 5; }; }
15351    else
15352      ac_cv_sizeof_long=0
15353    fi
15354 fi
15355
15356 fi
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15358 $as_echo "$ac_cv_sizeof_long" >&6; }
15359
15360
15361
15362 cat >>confdefs.h <<_ACEOF
15363 #define SIZEOF_LONG $ac_cv_sizeof_long
15364 _ACEOF
15365
15366  ;;
15367 esac
15368
15369 if test $acx_cv_header_stdint = stddef.h; then
15370   # Lacking a good header?  Test size of everything and deduce all types.
15371   # The cast to long int works around a bug in the HP C Compiler
15372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15374 # This bug is HP SR number 8606223364.
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
15376 $as_echo_n "checking size of int... " >&6; }
15377 if test "${ac_cv_sizeof_int+set}" = set; then :
15378   $as_echo_n "(cached) " >&6
15379 else
15380   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
15381
15382 else
15383   if test "$ac_cv_type_int" = yes; then
15384      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15386 { as_fn_set_status 77
15387 as_fn_error "cannot compute sizeof (int)
15388 See \`config.log' for more details." "$LINENO" 5; }; }
15389    else
15390      ac_cv_sizeof_int=0
15391    fi
15392 fi
15393
15394 fi
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
15396 $as_echo "$ac_cv_sizeof_int" >&6; }
15397
15398
15399
15400 cat >>confdefs.h <<_ACEOF
15401 #define SIZEOF_INT $ac_cv_sizeof_int
15402 _ACEOF
15403
15404
15405   # The cast to long int works around a bug in the HP C Compiler
15406 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15407 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15408 # This bug is HP SR number 8606223364.
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
15410 $as_echo_n "checking size of short... " >&6; }
15411 if test "${ac_cv_sizeof_short+set}" = set; then :
15412   $as_echo_n "(cached) " >&6
15413 else
15414   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
15415
15416 else
15417   if test "$ac_cv_type_short" = yes; then
15418      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15420 { as_fn_set_status 77
15421 as_fn_error "cannot compute sizeof (short)
15422 See \`config.log' for more details." "$LINENO" 5; }; }
15423    else
15424      ac_cv_sizeof_short=0
15425    fi
15426 fi
15427
15428 fi
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
15430 $as_echo "$ac_cv_sizeof_short" >&6; }
15431
15432
15433
15434 cat >>confdefs.h <<_ACEOF
15435 #define SIZEOF_SHORT $ac_cv_sizeof_short
15436 _ACEOF
15437
15438
15439   # The cast to long int works around a bug in the HP C Compiler
15440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15442 # This bug is HP SR number 8606223364.
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
15444 $as_echo_n "checking size of char... " >&6; }
15445 if test "${ac_cv_sizeof_char+set}" = set; then :
15446   $as_echo_n "(cached) " >&6
15447 else
15448   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
15449
15450 else
15451   if test "$ac_cv_type_char" = yes; then
15452      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15454 { as_fn_set_status 77
15455 as_fn_error "cannot compute sizeof (char)
15456 See \`config.log' for more details." "$LINENO" 5; }; }
15457    else
15458      ac_cv_sizeof_char=0
15459    fi
15460 fi
15461
15462 fi
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
15464 $as_echo "$ac_cv_sizeof_char" >&6; }
15465
15466
15467
15468 cat >>confdefs.h <<_ACEOF
15469 #define SIZEOF_CHAR $ac_cv_sizeof_char
15470 _ACEOF
15471
15472
15473
15474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
15475 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
15476   case "$ac_cv_sizeof_char" in
15477     1) acx_cv_type_int8_t=char ;;
15478     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
15479   esac
15480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
15481 $as_echo "$acx_cv_type_int8_t" >&6; }
15482
15483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
15484 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
15485   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
15486     2:*) acx_cv_type_int16_t=int ;;
15487     *:2) acx_cv_type_int16_t=short ;;
15488     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
15489   esac
15490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
15491 $as_echo "$acx_cv_type_int16_t" >&6; }
15492
15493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
15494 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
15495   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
15496     4:*) acx_cv_type_int32_t=int ;;
15497     *:4) acx_cv_type_int32_t=long ;;
15498     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
15499   esac
15500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
15501 $as_echo "$acx_cv_type_int32_t" >&6; }
15502 fi
15503
15504 # These tests are here to make the output prettier
15505
15506 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
15507   case "$ac_cv_sizeof_long" in
15508     8) acx_cv_type_int64_t=long ;;
15509   esac
15510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
15511 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
15512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
15513 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
15514 fi
15515
15516 # Now we can use the above types
15517
15518 if test "$ac_cv_type_uintptr_t" != yes; then
15519   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
15520 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
15521   case $ac_cv_sizeof_void_p in
15522     2) acx_cv_type_intptr_t=int16_t ;;
15523     4) acx_cv_type_intptr_t=int32_t ;;
15524     8) acx_cv_type_intptr_t=int64_t ;;
15525     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
15526   esac
15527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
15528 $as_echo "$acx_cv_type_intptr_t" >&6; }
15529 fi
15530
15531 # ----------------- done all checks, emit header -------------
15532 ac_config_commands="$ac_config_commands gstdint.h"
15533
15534
15535
15536
15537 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
15538 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
15539
15540 cat >>confdefs.h <<_ACEOF
15541 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
15542 _ACEOF
15543
15544
15545 fi
15546
15547 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
15548 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
15549
15550 cat >>confdefs.h <<_ACEOF
15551 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
15552 _ACEOF
15553
15554
15555 fi
15556
15557 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
15558 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
15559
15560 cat >>confdefs.h <<_ACEOF
15561 #define HAVE_STRUCT_STAT_ST_RDEV 1
15562 _ACEOF
15563
15564
15565 fi
15566
15567
15568 # Check for library functions.
15569 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
15570 do :
15571   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15573 eval as_val=\$$as_ac_var
15574    if test "x$as_val" = x""yes; then :
15575   cat >>confdefs.h <<_ACEOF
15576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15577 _ACEOF
15578
15579 fi
15580 done
15581
15582 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
15583 do :
15584   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15585 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15586 eval as_val=\$$as_ac_var
15587    if test "x$as_val" = x""yes; then :
15588   cat >>confdefs.h <<_ACEOF
15589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15590 _ACEOF
15591
15592 fi
15593 done
15594
15595 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
15596 do :
15597   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15598 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15599 eval as_val=\$$as_ac_var
15600    if test "x$as_val" = x""yes; then :
15601   cat >>confdefs.h <<_ACEOF
15602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15603 _ACEOF
15604
15605 fi
15606 done
15607
15608 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
15609 do :
15610   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15612 eval as_val=\$$as_ac_var
15613    if test "x$as_val" = x""yes; then :
15614   cat >>confdefs.h <<_ACEOF
15615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15616 _ACEOF
15617
15618 fi
15619 done
15620
15621 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
15622 do :
15623   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15624 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15625 eval as_val=\$$as_ac_var
15626    if test "x$as_val" = x""yes; then :
15627   cat >>confdefs.h <<_ACEOF
15628 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15629 _ACEOF
15630
15631 fi
15632 done
15633
15634 for ac_func in localtime_r gmtime_r
15635 do :
15636   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15638 eval as_val=\$$as_ac_var
15639    if test "x$as_val" = x""yes; then :
15640   cat >>confdefs.h <<_ACEOF
15641 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15642 _ACEOF
15643
15644 fi
15645 done
15646
15647
15648 # Check for glibc backtrace functions
15649 for ac_func in backtrace backtrace_symbols
15650 do :
15651   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15652 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15653 eval as_val=\$$as_ac_var
15654    if test "x$as_val" = x""yes; then :
15655   cat >>confdefs.h <<_ACEOF
15656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15657 _ACEOF
15658
15659 fi
15660 done
15661
15662
15663 # Check for types
15664 ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15665 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15666
15667 cat >>confdefs.h <<_ACEOF
15668 #define HAVE_INTPTR_T 1
15669 _ACEOF
15670
15671
15672 fi
15673
15674 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15675 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15676
15677 cat >>confdefs.h <<_ACEOF
15678 #define HAVE_UINTPTR_T 1
15679 _ACEOF
15680
15681
15682 fi
15683
15684
15685 # Check libc for getgid, getpid, getuid
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getgid in -lc" >&5
15687 $as_echo_n "checking for getgid in -lc... " >&6; }
15688 if test "${ac_cv_lib_c_getgid+set}" = set; then :
15689   $as_echo_n "(cached) " >&6
15690 else
15691   ac_check_lib_save_LIBS=$LIBS
15692 LIBS="-lc  $LIBS"
15693 if test x$gcc_no_link = xyes; then
15694   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15695 fi
15696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15697 /* end confdefs.h.  */
15698
15699 /* Override any GCC internal prototype to avoid an error.
15700    Use char because int might match the return type of a GCC
15701    builtin and then its argument prototype would still apply.  */
15702 #ifdef __cplusplus
15703 extern "C"
15704 #endif
15705 char getgid ();
15706 int
15707 main ()
15708 {
15709 return getgid ();
15710   ;
15711   return 0;
15712 }
15713 _ACEOF
15714 if ac_fn_c_try_link "$LINENO"; then :
15715   ac_cv_lib_c_getgid=yes
15716 else
15717   ac_cv_lib_c_getgid=no
15718 fi
15719 rm -f core conftest.err conftest.$ac_objext \
15720     conftest$ac_exeext conftest.$ac_ext
15721 LIBS=$ac_check_lib_save_LIBS
15722 fi
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getgid" >&5
15724 $as_echo "$ac_cv_lib_c_getgid" >&6; }
15725 if test "x$ac_cv_lib_c_getgid" = x""yes; then :
15726
15727 $as_echo "#define HAVE_GETGID 1" >>confdefs.h
15728
15729 fi
15730
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getpid in -lc" >&5
15732 $as_echo_n "checking for getpid in -lc... " >&6; }
15733 if test "${ac_cv_lib_c_getpid+set}" = set; then :
15734   $as_echo_n "(cached) " >&6
15735 else
15736   ac_check_lib_save_LIBS=$LIBS
15737 LIBS="-lc  $LIBS"
15738 if test x$gcc_no_link = xyes; then
15739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15740 fi
15741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742 /* end confdefs.h.  */
15743
15744 /* Override any GCC internal prototype to avoid an error.
15745    Use char because int might match the return type of a GCC
15746    builtin and then its argument prototype would still apply.  */
15747 #ifdef __cplusplus
15748 extern "C"
15749 #endif
15750 char getpid ();
15751 int
15752 main ()
15753 {
15754 return getpid ();
15755   ;
15756   return 0;
15757 }
15758 _ACEOF
15759 if ac_fn_c_try_link "$LINENO"; then :
15760   ac_cv_lib_c_getpid=yes
15761 else
15762   ac_cv_lib_c_getpid=no
15763 fi
15764 rm -f core conftest.err conftest.$ac_objext \
15765     conftest$ac_exeext conftest.$ac_ext
15766 LIBS=$ac_check_lib_save_LIBS
15767 fi
15768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getpid" >&5
15769 $as_echo "$ac_cv_lib_c_getpid" >&6; }
15770 if test "x$ac_cv_lib_c_getpid" = x""yes; then :
15771
15772 $as_echo "#define HAVE_GETPID 1" >>confdefs.h
15773
15774 fi
15775
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getppid in -lc" >&5
15777 $as_echo_n "checking for getppid in -lc... " >&6; }
15778 if test "${ac_cv_lib_c_getppid+set}" = set; then :
15779   $as_echo_n "(cached) " >&6
15780 else
15781   ac_check_lib_save_LIBS=$LIBS
15782 LIBS="-lc  $LIBS"
15783 if test x$gcc_no_link = xyes; then
15784   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15785 fi
15786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h.  */
15788
15789 /* Override any GCC internal prototype to avoid an error.
15790    Use char because int might match the return type of a GCC
15791    builtin and then its argument prototype would still apply.  */
15792 #ifdef __cplusplus
15793 extern "C"
15794 #endif
15795 char getppid ();
15796 int
15797 main ()
15798 {
15799 return getppid ();
15800   ;
15801   return 0;
15802 }
15803 _ACEOF
15804 if ac_fn_c_try_link "$LINENO"; then :
15805   ac_cv_lib_c_getppid=yes
15806 else
15807   ac_cv_lib_c_getppid=no
15808 fi
15809 rm -f core conftest.err conftest.$ac_objext \
15810     conftest$ac_exeext conftest.$ac_ext
15811 LIBS=$ac_check_lib_save_LIBS
15812 fi
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getppid" >&5
15814 $as_echo "$ac_cv_lib_c_getppid" >&6; }
15815 if test "x$ac_cv_lib_c_getppid" = x""yes; then :
15816
15817 $as_echo "#define HAVE_GETPPID 1" >>confdefs.h
15818
15819 fi
15820
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getuid in -lc" >&5
15822 $as_echo_n "checking for getuid in -lc... " >&6; }
15823 if test "${ac_cv_lib_c_getuid+set}" = set; then :
15824   $as_echo_n "(cached) " >&6
15825 else
15826   ac_check_lib_save_LIBS=$LIBS
15827 LIBS="-lc  $LIBS"
15828 if test x$gcc_no_link = xyes; then
15829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15830 fi
15831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15832 /* end confdefs.h.  */
15833
15834 /* Override any GCC internal prototype to avoid an error.
15835    Use char because int might match the return type of a GCC
15836    builtin and then its argument prototype would still apply.  */
15837 #ifdef __cplusplus
15838 extern "C"
15839 #endif
15840 char getuid ();
15841 int
15842 main ()
15843 {
15844 return getuid ();
15845   ;
15846   return 0;
15847 }
15848 _ACEOF
15849 if ac_fn_c_try_link "$LINENO"; then :
15850   ac_cv_lib_c_getuid=yes
15851 else
15852   ac_cv_lib_c_getuid=no
15853 fi
15854 rm -f core conftest.err conftest.$ac_objext \
15855     conftest$ac_exeext conftest.$ac_ext
15856 LIBS=$ac_check_lib_save_LIBS
15857 fi
15858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_getuid" >&5
15859 $as_echo "$ac_cv_lib_c_getuid" >&6; }
15860 if test "x$ac_cv_lib_c_getuid" = x""yes; then :
15861
15862 $as_echo "#define HAVE_GETUID 1" >>confdefs.h
15863
15864 fi
15865
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geteuid in -lc" >&5
15867 $as_echo_n "checking for geteuid in -lc... " >&6; }
15868 if test "${ac_cv_lib_c_geteuid+set}" = set; then :
15869   $as_echo_n "(cached) " >&6
15870 else
15871   ac_check_lib_save_LIBS=$LIBS
15872 LIBS="-lc  $LIBS"
15873 if test x$gcc_no_link = xyes; then
15874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15875 fi
15876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15877 /* end confdefs.h.  */
15878
15879 /* Override any GCC internal prototype to avoid an error.
15880    Use char because int might match the return type of a GCC
15881    builtin and then its argument prototype would still apply.  */
15882 #ifdef __cplusplus
15883 extern "C"
15884 #endif
15885 char geteuid ();
15886 int
15887 main ()
15888 {
15889 return geteuid ();
15890   ;
15891   return 0;
15892 }
15893 _ACEOF
15894 if ac_fn_c_try_link "$LINENO"; then :
15895   ac_cv_lib_c_geteuid=yes
15896 else
15897   ac_cv_lib_c_geteuid=no
15898 fi
15899 rm -f core conftest.err conftest.$ac_objext \
15900     conftest$ac_exeext conftest.$ac_ext
15901 LIBS=$ac_check_lib_save_LIBS
15902 fi
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_geteuid" >&5
15904 $as_echo "$ac_cv_lib_c_geteuid" >&6; }
15905 if test "x$ac_cv_lib_c_geteuid" = x""yes; then :
15906
15907 $as_echo "#define HAVE_GETEUID 1" >>confdefs.h
15908
15909 fi
15910
15911
15912 # Check for C99 (and other IEEE) math functions
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
15914 $as_echo_n "checking for acosf in -lm... " >&6; }
15915 if test "${ac_cv_lib_m_acosf+set}" = set; then :
15916   $as_echo_n "(cached) " >&6
15917 else
15918   ac_check_lib_save_LIBS=$LIBS
15919 LIBS="-lm  $LIBS"
15920 if test x$gcc_no_link = xyes; then
15921   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15922 fi
15923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h.  */
15925
15926 /* Override any GCC internal prototype to avoid an error.
15927    Use char because int might match the return type of a GCC
15928    builtin and then its argument prototype would still apply.  */
15929 #ifdef __cplusplus
15930 extern "C"
15931 #endif
15932 char acosf ();
15933 int
15934 main ()
15935 {
15936 return acosf ();
15937   ;
15938   return 0;
15939 }
15940 _ACEOF
15941 if ac_fn_c_try_link "$LINENO"; then :
15942   ac_cv_lib_m_acosf=yes
15943 else
15944   ac_cv_lib_m_acosf=no
15945 fi
15946 rm -f core conftest.err conftest.$ac_objext \
15947     conftest$ac_exeext conftest.$ac_ext
15948 LIBS=$ac_check_lib_save_LIBS
15949 fi
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
15951 $as_echo "$ac_cv_lib_m_acosf" >&6; }
15952 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
15953
15954 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
15955
15956 fi
15957
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
15959 $as_echo_n "checking for acos in -lm... " >&6; }
15960 if test "${ac_cv_lib_m_acos+set}" = set; then :
15961   $as_echo_n "(cached) " >&6
15962 else
15963   ac_check_lib_save_LIBS=$LIBS
15964 LIBS="-lm  $LIBS"
15965 if test x$gcc_no_link = xyes; then
15966   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15967 fi
15968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15969 /* end confdefs.h.  */
15970
15971 /* Override any GCC internal prototype to avoid an error.
15972    Use char because int might match the return type of a GCC
15973    builtin and then its argument prototype would still apply.  */
15974 #ifdef __cplusplus
15975 extern "C"
15976 #endif
15977 char acos ();
15978 int
15979 main ()
15980 {
15981 return acos ();
15982   ;
15983   return 0;
15984 }
15985 _ACEOF
15986 if ac_fn_c_try_link "$LINENO"; then :
15987   ac_cv_lib_m_acos=yes
15988 else
15989   ac_cv_lib_m_acos=no
15990 fi
15991 rm -f core conftest.err conftest.$ac_objext \
15992     conftest$ac_exeext conftest.$ac_ext
15993 LIBS=$ac_check_lib_save_LIBS
15994 fi
15995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
15996 $as_echo "$ac_cv_lib_m_acos" >&6; }
15997 if test "x$ac_cv_lib_m_acos" = x""yes; then :
15998
15999 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16000
16001 fi
16002
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16004 $as_echo_n "checking for acosl in -lm... " >&6; }
16005 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16006   $as_echo_n "(cached) " >&6
16007 else
16008   ac_check_lib_save_LIBS=$LIBS
16009 LIBS="-lm  $LIBS"
16010 if test x$gcc_no_link = xyes; then
16011   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16012 fi
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h.  */
16015
16016 /* Override any GCC internal prototype to avoid an error.
16017    Use char because int might match the return type of a GCC
16018    builtin and then its argument prototype would still apply.  */
16019 #ifdef __cplusplus
16020 extern "C"
16021 #endif
16022 char acosl ();
16023 int
16024 main ()
16025 {
16026 return acosl ();
16027   ;
16028   return 0;
16029 }
16030 _ACEOF
16031 if ac_fn_c_try_link "$LINENO"; then :
16032   ac_cv_lib_m_acosl=yes
16033 else
16034   ac_cv_lib_m_acosl=no
16035 fi
16036 rm -f core conftest.err conftest.$ac_objext \
16037     conftest$ac_exeext conftest.$ac_ext
16038 LIBS=$ac_check_lib_save_LIBS
16039 fi
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16041 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16042 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16043
16044 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16045
16046 fi
16047
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16049 $as_echo_n "checking for acoshf in -lm... " >&6; }
16050 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16051   $as_echo_n "(cached) " >&6
16052 else
16053   ac_check_lib_save_LIBS=$LIBS
16054 LIBS="-lm  $LIBS"
16055 if test x$gcc_no_link = xyes; then
16056   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16057 fi
16058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16059 /* end confdefs.h.  */
16060
16061 /* Override any GCC internal prototype to avoid an error.
16062    Use char because int might match the return type of a GCC
16063    builtin and then its argument prototype would still apply.  */
16064 #ifdef __cplusplus
16065 extern "C"
16066 #endif
16067 char acoshf ();
16068 int
16069 main ()
16070 {
16071 return acoshf ();
16072   ;
16073   return 0;
16074 }
16075 _ACEOF
16076 if ac_fn_c_try_link "$LINENO"; then :
16077   ac_cv_lib_m_acoshf=yes
16078 else
16079   ac_cv_lib_m_acoshf=no
16080 fi
16081 rm -f core conftest.err conftest.$ac_objext \
16082     conftest$ac_exeext conftest.$ac_ext
16083 LIBS=$ac_check_lib_save_LIBS
16084 fi
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16086 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16087 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16088
16089 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16090
16091 fi
16092
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16094 $as_echo_n "checking for acosh in -lm... " >&6; }
16095 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16096   $as_echo_n "(cached) " >&6
16097 else
16098   ac_check_lib_save_LIBS=$LIBS
16099 LIBS="-lm  $LIBS"
16100 if test x$gcc_no_link = xyes; then
16101   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16102 fi
16103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16104 /* end confdefs.h.  */
16105
16106 /* Override any GCC internal prototype to avoid an error.
16107    Use char because int might match the return type of a GCC
16108    builtin and then its argument prototype would still apply.  */
16109 #ifdef __cplusplus
16110 extern "C"
16111 #endif
16112 char acosh ();
16113 int
16114 main ()
16115 {
16116 return acosh ();
16117   ;
16118   return 0;
16119 }
16120 _ACEOF
16121 if ac_fn_c_try_link "$LINENO"; then :
16122   ac_cv_lib_m_acosh=yes
16123 else
16124   ac_cv_lib_m_acosh=no
16125 fi
16126 rm -f core conftest.err conftest.$ac_objext \
16127     conftest$ac_exeext conftest.$ac_ext
16128 LIBS=$ac_check_lib_save_LIBS
16129 fi
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16131 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16132 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16133
16134 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16135
16136 fi
16137
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16139 $as_echo_n "checking for acoshl in -lm... " >&6; }
16140 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16141   $as_echo_n "(cached) " >&6
16142 else
16143   ac_check_lib_save_LIBS=$LIBS
16144 LIBS="-lm  $LIBS"
16145 if test x$gcc_no_link = xyes; then
16146   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16147 fi
16148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16149 /* end confdefs.h.  */
16150
16151 /* Override any GCC internal prototype to avoid an error.
16152    Use char because int might match the return type of a GCC
16153    builtin and then its argument prototype would still apply.  */
16154 #ifdef __cplusplus
16155 extern "C"
16156 #endif
16157 char acoshl ();
16158 int
16159 main ()
16160 {
16161 return acoshl ();
16162   ;
16163   return 0;
16164 }
16165 _ACEOF
16166 if ac_fn_c_try_link "$LINENO"; then :
16167   ac_cv_lib_m_acoshl=yes
16168 else
16169   ac_cv_lib_m_acoshl=no
16170 fi
16171 rm -f core conftest.err conftest.$ac_objext \
16172     conftest$ac_exeext conftest.$ac_ext
16173 LIBS=$ac_check_lib_save_LIBS
16174 fi
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16176 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16177 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16178
16179 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16180
16181 fi
16182
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16184 $as_echo_n "checking for asinf in -lm... " >&6; }
16185 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16186   $as_echo_n "(cached) " >&6
16187 else
16188   ac_check_lib_save_LIBS=$LIBS
16189 LIBS="-lm  $LIBS"
16190 if test x$gcc_no_link = xyes; then
16191   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16192 fi
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h.  */
16195
16196 /* Override any GCC internal prototype to avoid an error.
16197    Use char because int might match the return type of a GCC
16198    builtin and then its argument prototype would still apply.  */
16199 #ifdef __cplusplus
16200 extern "C"
16201 #endif
16202 char asinf ();
16203 int
16204 main ()
16205 {
16206 return asinf ();
16207   ;
16208   return 0;
16209 }
16210 _ACEOF
16211 if ac_fn_c_try_link "$LINENO"; then :
16212   ac_cv_lib_m_asinf=yes
16213 else
16214   ac_cv_lib_m_asinf=no
16215 fi
16216 rm -f core conftest.err conftest.$ac_objext \
16217     conftest$ac_exeext conftest.$ac_ext
16218 LIBS=$ac_check_lib_save_LIBS
16219 fi
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16221 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16222 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16223
16224 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16225
16226 fi
16227
16228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16229 $as_echo_n "checking for asin in -lm... " >&6; }
16230 if test "${ac_cv_lib_m_asin+set}" = set; then :
16231   $as_echo_n "(cached) " >&6
16232 else
16233   ac_check_lib_save_LIBS=$LIBS
16234 LIBS="-lm  $LIBS"
16235 if test x$gcc_no_link = xyes; then
16236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16237 fi
16238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16239 /* end confdefs.h.  */
16240
16241 /* Override any GCC internal prototype to avoid an error.
16242    Use char because int might match the return type of a GCC
16243    builtin and then its argument prototype would still apply.  */
16244 #ifdef __cplusplus
16245 extern "C"
16246 #endif
16247 char asin ();
16248 int
16249 main ()
16250 {
16251 return asin ();
16252   ;
16253   return 0;
16254 }
16255 _ACEOF
16256 if ac_fn_c_try_link "$LINENO"; then :
16257   ac_cv_lib_m_asin=yes
16258 else
16259   ac_cv_lib_m_asin=no
16260 fi
16261 rm -f core conftest.err conftest.$ac_objext \
16262     conftest$ac_exeext conftest.$ac_ext
16263 LIBS=$ac_check_lib_save_LIBS
16264 fi
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16266 $as_echo "$ac_cv_lib_m_asin" >&6; }
16267 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16268
16269 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16270
16271 fi
16272
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16274 $as_echo_n "checking for asinl in -lm... " >&6; }
16275 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16276   $as_echo_n "(cached) " >&6
16277 else
16278   ac_check_lib_save_LIBS=$LIBS
16279 LIBS="-lm  $LIBS"
16280 if test x$gcc_no_link = xyes; then
16281   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16282 fi
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h.  */
16285
16286 /* Override any GCC internal prototype to avoid an error.
16287    Use char because int might match the return type of a GCC
16288    builtin and then its argument prototype would still apply.  */
16289 #ifdef __cplusplus
16290 extern "C"
16291 #endif
16292 char asinl ();
16293 int
16294 main ()
16295 {
16296 return asinl ();
16297   ;
16298   return 0;
16299 }
16300 _ACEOF
16301 if ac_fn_c_try_link "$LINENO"; then :
16302   ac_cv_lib_m_asinl=yes
16303 else
16304   ac_cv_lib_m_asinl=no
16305 fi
16306 rm -f core conftest.err conftest.$ac_objext \
16307     conftest$ac_exeext conftest.$ac_ext
16308 LIBS=$ac_check_lib_save_LIBS
16309 fi
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16311 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16312 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16313
16314 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16315
16316 fi
16317
16318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16319 $as_echo_n "checking for asinhf in -lm... " >&6; }
16320 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16321   $as_echo_n "(cached) " >&6
16322 else
16323   ac_check_lib_save_LIBS=$LIBS
16324 LIBS="-lm  $LIBS"
16325 if test x$gcc_no_link = xyes; then
16326   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16327 fi
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h.  */
16330
16331 /* Override any GCC internal prototype to avoid an error.
16332    Use char because int might match the return type of a GCC
16333    builtin and then its argument prototype would still apply.  */
16334 #ifdef __cplusplus
16335 extern "C"
16336 #endif
16337 char asinhf ();
16338 int
16339 main ()
16340 {
16341 return asinhf ();
16342   ;
16343   return 0;
16344 }
16345 _ACEOF
16346 if ac_fn_c_try_link "$LINENO"; then :
16347   ac_cv_lib_m_asinhf=yes
16348 else
16349   ac_cv_lib_m_asinhf=no
16350 fi
16351 rm -f core conftest.err conftest.$ac_objext \
16352     conftest$ac_exeext conftest.$ac_ext
16353 LIBS=$ac_check_lib_save_LIBS
16354 fi
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16356 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16357 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16358
16359 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16360
16361 fi
16362
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16364 $as_echo_n "checking for asinh in -lm... " >&6; }
16365 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16366   $as_echo_n "(cached) " >&6
16367 else
16368   ac_check_lib_save_LIBS=$LIBS
16369 LIBS="-lm  $LIBS"
16370 if test x$gcc_no_link = xyes; then
16371   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16372 fi
16373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16374 /* end confdefs.h.  */
16375
16376 /* Override any GCC internal prototype to avoid an error.
16377    Use char because int might match the return type of a GCC
16378    builtin and then its argument prototype would still apply.  */
16379 #ifdef __cplusplus
16380 extern "C"
16381 #endif
16382 char asinh ();
16383 int
16384 main ()
16385 {
16386 return asinh ();
16387   ;
16388   return 0;
16389 }
16390 _ACEOF
16391 if ac_fn_c_try_link "$LINENO"; then :
16392   ac_cv_lib_m_asinh=yes
16393 else
16394   ac_cv_lib_m_asinh=no
16395 fi
16396 rm -f core conftest.err conftest.$ac_objext \
16397     conftest$ac_exeext conftest.$ac_ext
16398 LIBS=$ac_check_lib_save_LIBS
16399 fi
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
16401 $as_echo "$ac_cv_lib_m_asinh" >&6; }
16402 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
16403
16404 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
16405
16406 fi
16407
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
16409 $as_echo_n "checking for asinhl in -lm... " >&6; }
16410 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
16411   $as_echo_n "(cached) " >&6
16412 else
16413   ac_check_lib_save_LIBS=$LIBS
16414 LIBS="-lm  $LIBS"
16415 if test x$gcc_no_link = xyes; then
16416   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16417 fi
16418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16419 /* end confdefs.h.  */
16420
16421 /* Override any GCC internal prototype to avoid an error.
16422    Use char because int might match the return type of a GCC
16423    builtin and then its argument prototype would still apply.  */
16424 #ifdef __cplusplus
16425 extern "C"
16426 #endif
16427 char asinhl ();
16428 int
16429 main ()
16430 {
16431 return asinhl ();
16432   ;
16433   return 0;
16434 }
16435 _ACEOF
16436 if ac_fn_c_try_link "$LINENO"; then :
16437   ac_cv_lib_m_asinhl=yes
16438 else
16439   ac_cv_lib_m_asinhl=no
16440 fi
16441 rm -f core conftest.err conftest.$ac_objext \
16442     conftest$ac_exeext conftest.$ac_ext
16443 LIBS=$ac_check_lib_save_LIBS
16444 fi
16445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
16446 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
16447 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
16448
16449 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
16450
16451 fi
16452
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
16454 $as_echo_n "checking for atan2f in -lm... " >&6; }
16455 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
16456   $as_echo_n "(cached) " >&6
16457 else
16458   ac_check_lib_save_LIBS=$LIBS
16459 LIBS="-lm  $LIBS"
16460 if test x$gcc_no_link = xyes; then
16461   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16462 fi
16463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16464 /* end confdefs.h.  */
16465
16466 /* Override any GCC internal prototype to avoid an error.
16467    Use char because int might match the return type of a GCC
16468    builtin and then its argument prototype would still apply.  */
16469 #ifdef __cplusplus
16470 extern "C"
16471 #endif
16472 char atan2f ();
16473 int
16474 main ()
16475 {
16476 return atan2f ();
16477   ;
16478   return 0;
16479 }
16480 _ACEOF
16481 if ac_fn_c_try_link "$LINENO"; then :
16482   ac_cv_lib_m_atan2f=yes
16483 else
16484   ac_cv_lib_m_atan2f=no
16485 fi
16486 rm -f core conftest.err conftest.$ac_objext \
16487     conftest$ac_exeext conftest.$ac_ext
16488 LIBS=$ac_check_lib_save_LIBS
16489 fi
16490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
16491 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
16492 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
16493
16494 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
16495
16496 fi
16497
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
16499 $as_echo_n "checking for atan2 in -lm... " >&6; }
16500 if test "${ac_cv_lib_m_atan2+set}" = set; then :
16501   $as_echo_n "(cached) " >&6
16502 else
16503   ac_check_lib_save_LIBS=$LIBS
16504 LIBS="-lm  $LIBS"
16505 if test x$gcc_no_link = xyes; then
16506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16507 fi
16508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h.  */
16510
16511 /* Override any GCC internal prototype to avoid an error.
16512    Use char because int might match the return type of a GCC
16513    builtin and then its argument prototype would still apply.  */
16514 #ifdef __cplusplus
16515 extern "C"
16516 #endif
16517 char atan2 ();
16518 int
16519 main ()
16520 {
16521 return atan2 ();
16522   ;
16523   return 0;
16524 }
16525 _ACEOF
16526 if ac_fn_c_try_link "$LINENO"; then :
16527   ac_cv_lib_m_atan2=yes
16528 else
16529   ac_cv_lib_m_atan2=no
16530 fi
16531 rm -f core conftest.err conftest.$ac_objext \
16532     conftest$ac_exeext conftest.$ac_ext
16533 LIBS=$ac_check_lib_save_LIBS
16534 fi
16535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
16536 $as_echo "$ac_cv_lib_m_atan2" >&6; }
16537 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
16538
16539 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
16540
16541 fi
16542
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
16544 $as_echo_n "checking for atan2l in -lm... " >&6; }
16545 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
16546   $as_echo_n "(cached) " >&6
16547 else
16548   ac_check_lib_save_LIBS=$LIBS
16549 LIBS="-lm  $LIBS"
16550 if test x$gcc_no_link = xyes; then
16551   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16552 fi
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h.  */
16555
16556 /* Override any GCC internal prototype to avoid an error.
16557    Use char because int might match the return type of a GCC
16558    builtin and then its argument prototype would still apply.  */
16559 #ifdef __cplusplus
16560 extern "C"
16561 #endif
16562 char atan2l ();
16563 int
16564 main ()
16565 {
16566 return atan2l ();
16567   ;
16568   return 0;
16569 }
16570 _ACEOF
16571 if ac_fn_c_try_link "$LINENO"; then :
16572   ac_cv_lib_m_atan2l=yes
16573 else
16574   ac_cv_lib_m_atan2l=no
16575 fi
16576 rm -f core conftest.err conftest.$ac_objext \
16577     conftest$ac_exeext conftest.$ac_ext
16578 LIBS=$ac_check_lib_save_LIBS
16579 fi
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
16581 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
16582 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
16583
16584 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
16585
16586 fi
16587
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
16589 $as_echo_n "checking for atanf in -lm... " >&6; }
16590 if test "${ac_cv_lib_m_atanf+set}" = set; then :
16591   $as_echo_n "(cached) " >&6
16592 else
16593   ac_check_lib_save_LIBS=$LIBS
16594 LIBS="-lm  $LIBS"
16595 if test x$gcc_no_link = xyes; then
16596   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16597 fi
16598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16599 /* end confdefs.h.  */
16600
16601 /* Override any GCC internal prototype to avoid an error.
16602    Use char because int might match the return type of a GCC
16603    builtin and then its argument prototype would still apply.  */
16604 #ifdef __cplusplus
16605 extern "C"
16606 #endif
16607 char atanf ();
16608 int
16609 main ()
16610 {
16611 return atanf ();
16612   ;
16613   return 0;
16614 }
16615 _ACEOF
16616 if ac_fn_c_try_link "$LINENO"; then :
16617   ac_cv_lib_m_atanf=yes
16618 else
16619   ac_cv_lib_m_atanf=no
16620 fi
16621 rm -f core conftest.err conftest.$ac_objext \
16622     conftest$ac_exeext conftest.$ac_ext
16623 LIBS=$ac_check_lib_save_LIBS
16624 fi
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
16626 $as_echo "$ac_cv_lib_m_atanf" >&6; }
16627 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
16628
16629 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
16630
16631 fi
16632
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
16634 $as_echo_n "checking for atan in -lm... " >&6; }
16635 if test "${ac_cv_lib_m_atan+set}" = set; then :
16636   $as_echo_n "(cached) " >&6
16637 else
16638   ac_check_lib_save_LIBS=$LIBS
16639 LIBS="-lm  $LIBS"
16640 if test x$gcc_no_link = xyes; then
16641   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16642 fi
16643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16644 /* end confdefs.h.  */
16645
16646 /* Override any GCC internal prototype to avoid an error.
16647    Use char because int might match the return type of a GCC
16648    builtin and then its argument prototype would still apply.  */
16649 #ifdef __cplusplus
16650 extern "C"
16651 #endif
16652 char atan ();
16653 int
16654 main ()
16655 {
16656 return atan ();
16657   ;
16658   return 0;
16659 }
16660 _ACEOF
16661 if ac_fn_c_try_link "$LINENO"; then :
16662   ac_cv_lib_m_atan=yes
16663 else
16664   ac_cv_lib_m_atan=no
16665 fi
16666 rm -f core conftest.err conftest.$ac_objext \
16667     conftest$ac_exeext conftest.$ac_ext
16668 LIBS=$ac_check_lib_save_LIBS
16669 fi
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
16671 $as_echo "$ac_cv_lib_m_atan" >&6; }
16672 if test "x$ac_cv_lib_m_atan" = x""yes; then :
16673
16674 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
16675
16676 fi
16677
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
16679 $as_echo_n "checking for atanl in -lm... " >&6; }
16680 if test "${ac_cv_lib_m_atanl+set}" = set; then :
16681   $as_echo_n "(cached) " >&6
16682 else
16683   ac_check_lib_save_LIBS=$LIBS
16684 LIBS="-lm  $LIBS"
16685 if test x$gcc_no_link = xyes; then
16686   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16687 fi
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h.  */
16690
16691 /* Override any GCC internal prototype to avoid an error.
16692    Use char because int might match the return type of a GCC
16693    builtin and then its argument prototype would still apply.  */
16694 #ifdef __cplusplus
16695 extern "C"
16696 #endif
16697 char atanl ();
16698 int
16699 main ()
16700 {
16701 return atanl ();
16702   ;
16703   return 0;
16704 }
16705 _ACEOF
16706 if ac_fn_c_try_link "$LINENO"; then :
16707   ac_cv_lib_m_atanl=yes
16708 else
16709   ac_cv_lib_m_atanl=no
16710 fi
16711 rm -f core conftest.err conftest.$ac_objext \
16712     conftest$ac_exeext conftest.$ac_ext
16713 LIBS=$ac_check_lib_save_LIBS
16714 fi
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
16716 $as_echo "$ac_cv_lib_m_atanl" >&6; }
16717 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
16718
16719 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
16720
16721 fi
16722
16723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
16724 $as_echo_n "checking for atanhf in -lm... " >&6; }
16725 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
16726   $as_echo_n "(cached) " >&6
16727 else
16728   ac_check_lib_save_LIBS=$LIBS
16729 LIBS="-lm  $LIBS"
16730 if test x$gcc_no_link = xyes; then
16731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16732 fi
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h.  */
16735
16736 /* Override any GCC internal prototype to avoid an error.
16737    Use char because int might match the return type of a GCC
16738    builtin and then its argument prototype would still apply.  */
16739 #ifdef __cplusplus
16740 extern "C"
16741 #endif
16742 char atanhf ();
16743 int
16744 main ()
16745 {
16746 return atanhf ();
16747   ;
16748   return 0;
16749 }
16750 _ACEOF
16751 if ac_fn_c_try_link "$LINENO"; then :
16752   ac_cv_lib_m_atanhf=yes
16753 else
16754   ac_cv_lib_m_atanhf=no
16755 fi
16756 rm -f core conftest.err conftest.$ac_objext \
16757     conftest$ac_exeext conftest.$ac_ext
16758 LIBS=$ac_check_lib_save_LIBS
16759 fi
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
16761 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
16762 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
16763
16764 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
16765
16766 fi
16767
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
16769 $as_echo_n "checking for atanh in -lm... " >&6; }
16770 if test "${ac_cv_lib_m_atanh+set}" = set; then :
16771   $as_echo_n "(cached) " >&6
16772 else
16773   ac_check_lib_save_LIBS=$LIBS
16774 LIBS="-lm  $LIBS"
16775 if test x$gcc_no_link = xyes; then
16776   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16777 fi
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h.  */
16780
16781 /* Override any GCC internal prototype to avoid an error.
16782    Use char because int might match the return type of a GCC
16783    builtin and then its argument prototype would still apply.  */
16784 #ifdef __cplusplus
16785 extern "C"
16786 #endif
16787 char atanh ();
16788 int
16789 main ()
16790 {
16791 return atanh ();
16792   ;
16793   return 0;
16794 }
16795 _ACEOF
16796 if ac_fn_c_try_link "$LINENO"; then :
16797   ac_cv_lib_m_atanh=yes
16798 else
16799   ac_cv_lib_m_atanh=no
16800 fi
16801 rm -f core conftest.err conftest.$ac_objext \
16802     conftest$ac_exeext conftest.$ac_ext
16803 LIBS=$ac_check_lib_save_LIBS
16804 fi
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
16806 $as_echo "$ac_cv_lib_m_atanh" >&6; }
16807 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
16808
16809 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
16810
16811 fi
16812
16813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
16814 $as_echo_n "checking for atanhl in -lm... " >&6; }
16815 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
16816   $as_echo_n "(cached) " >&6
16817 else
16818   ac_check_lib_save_LIBS=$LIBS
16819 LIBS="-lm  $LIBS"
16820 if test x$gcc_no_link = xyes; then
16821   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16822 fi
16823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16824 /* end confdefs.h.  */
16825
16826 /* Override any GCC internal prototype to avoid an error.
16827    Use char because int might match the return type of a GCC
16828    builtin and then its argument prototype would still apply.  */
16829 #ifdef __cplusplus
16830 extern "C"
16831 #endif
16832 char atanhl ();
16833 int
16834 main ()
16835 {
16836 return atanhl ();
16837   ;
16838   return 0;
16839 }
16840 _ACEOF
16841 if ac_fn_c_try_link "$LINENO"; then :
16842   ac_cv_lib_m_atanhl=yes
16843 else
16844   ac_cv_lib_m_atanhl=no
16845 fi
16846 rm -f core conftest.err conftest.$ac_objext \
16847     conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_lib_save_LIBS
16849 fi
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
16851 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
16852 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
16853
16854 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
16855
16856 fi
16857
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
16859 $as_echo_n "checking for cargf in -lm... " >&6; }
16860 if test "${ac_cv_lib_m_cargf+set}" = set; then :
16861   $as_echo_n "(cached) " >&6
16862 else
16863   ac_check_lib_save_LIBS=$LIBS
16864 LIBS="-lm  $LIBS"
16865 if test x$gcc_no_link = xyes; then
16866   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16867 fi
16868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869 /* end confdefs.h.  */
16870
16871 /* Override any GCC internal prototype to avoid an error.
16872    Use char because int might match the return type of a GCC
16873    builtin and then its argument prototype would still apply.  */
16874 #ifdef __cplusplus
16875 extern "C"
16876 #endif
16877 char cargf ();
16878 int
16879 main ()
16880 {
16881 return cargf ();
16882   ;
16883   return 0;
16884 }
16885 _ACEOF
16886 if ac_fn_c_try_link "$LINENO"; then :
16887   ac_cv_lib_m_cargf=yes
16888 else
16889   ac_cv_lib_m_cargf=no
16890 fi
16891 rm -f core conftest.err conftest.$ac_objext \
16892     conftest$ac_exeext conftest.$ac_ext
16893 LIBS=$ac_check_lib_save_LIBS
16894 fi
16895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
16896 $as_echo "$ac_cv_lib_m_cargf" >&6; }
16897 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
16898
16899 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
16900
16901 fi
16902
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
16904 $as_echo_n "checking for carg in -lm... " >&6; }
16905 if test "${ac_cv_lib_m_carg+set}" = set; then :
16906   $as_echo_n "(cached) " >&6
16907 else
16908   ac_check_lib_save_LIBS=$LIBS
16909 LIBS="-lm  $LIBS"
16910 if test x$gcc_no_link = xyes; then
16911   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16912 fi
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h.  */
16915
16916 /* Override any GCC internal prototype to avoid an error.
16917    Use char because int might match the return type of a GCC
16918    builtin and then its argument prototype would still apply.  */
16919 #ifdef __cplusplus
16920 extern "C"
16921 #endif
16922 char carg ();
16923 int
16924 main ()
16925 {
16926 return carg ();
16927   ;
16928   return 0;
16929 }
16930 _ACEOF
16931 if ac_fn_c_try_link "$LINENO"; then :
16932   ac_cv_lib_m_carg=yes
16933 else
16934   ac_cv_lib_m_carg=no
16935 fi
16936 rm -f core conftest.err conftest.$ac_objext \
16937     conftest$ac_exeext conftest.$ac_ext
16938 LIBS=$ac_check_lib_save_LIBS
16939 fi
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
16941 $as_echo "$ac_cv_lib_m_carg" >&6; }
16942 if test "x$ac_cv_lib_m_carg" = x""yes; then :
16943
16944 $as_echo "#define HAVE_CARG 1" >>confdefs.h
16945
16946 fi
16947
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
16949 $as_echo_n "checking for cargl in -lm... " >&6; }
16950 if test "${ac_cv_lib_m_cargl+set}" = set; then :
16951   $as_echo_n "(cached) " >&6
16952 else
16953   ac_check_lib_save_LIBS=$LIBS
16954 LIBS="-lm  $LIBS"
16955 if test x$gcc_no_link = xyes; then
16956   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16957 fi
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h.  */
16960
16961 /* Override any GCC internal prototype to avoid an error.
16962    Use char because int might match the return type of a GCC
16963    builtin and then its argument prototype would still apply.  */
16964 #ifdef __cplusplus
16965 extern "C"
16966 #endif
16967 char cargl ();
16968 int
16969 main ()
16970 {
16971 return cargl ();
16972   ;
16973   return 0;
16974 }
16975 _ACEOF
16976 if ac_fn_c_try_link "$LINENO"; then :
16977   ac_cv_lib_m_cargl=yes
16978 else
16979   ac_cv_lib_m_cargl=no
16980 fi
16981 rm -f core conftest.err conftest.$ac_objext \
16982     conftest$ac_exeext conftest.$ac_ext
16983 LIBS=$ac_check_lib_save_LIBS
16984 fi
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
16986 $as_echo "$ac_cv_lib_m_cargl" >&6; }
16987 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
16988
16989 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
16990
16991 fi
16992
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
16994 $as_echo_n "checking for ceilf in -lm... " >&6; }
16995 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
16996   $as_echo_n "(cached) " >&6
16997 else
16998   ac_check_lib_save_LIBS=$LIBS
16999 LIBS="-lm  $LIBS"
17000 if test x$gcc_no_link = xyes; then
17001   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17002 fi
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h.  */
17005
17006 /* Override any GCC internal prototype to avoid an error.
17007    Use char because int might match the return type of a GCC
17008    builtin and then its argument prototype would still apply.  */
17009 #ifdef __cplusplus
17010 extern "C"
17011 #endif
17012 char ceilf ();
17013 int
17014 main ()
17015 {
17016 return ceilf ();
17017   ;
17018   return 0;
17019 }
17020 _ACEOF
17021 if ac_fn_c_try_link "$LINENO"; then :
17022   ac_cv_lib_m_ceilf=yes
17023 else
17024   ac_cv_lib_m_ceilf=no
17025 fi
17026 rm -f core conftest.err conftest.$ac_objext \
17027     conftest$ac_exeext conftest.$ac_ext
17028 LIBS=$ac_check_lib_save_LIBS
17029 fi
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17031 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17032 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17033
17034 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17035
17036 fi
17037
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17039 $as_echo_n "checking for ceil in -lm... " >&6; }
17040 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17041   $as_echo_n "(cached) " >&6
17042 else
17043   ac_check_lib_save_LIBS=$LIBS
17044 LIBS="-lm  $LIBS"
17045 if test x$gcc_no_link = xyes; then
17046   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17047 fi
17048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17049 /* end confdefs.h.  */
17050
17051 /* Override any GCC internal prototype to avoid an error.
17052    Use char because int might match the return type of a GCC
17053    builtin and then its argument prototype would still apply.  */
17054 #ifdef __cplusplus
17055 extern "C"
17056 #endif
17057 char ceil ();
17058 int
17059 main ()
17060 {
17061 return ceil ();
17062   ;
17063   return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_c_try_link "$LINENO"; then :
17067   ac_cv_lib_m_ceil=yes
17068 else
17069   ac_cv_lib_m_ceil=no
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext \
17072     conftest$ac_exeext conftest.$ac_ext
17073 LIBS=$ac_check_lib_save_LIBS
17074 fi
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17076 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17077 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17078
17079 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17080
17081 fi
17082
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17084 $as_echo_n "checking for ceill in -lm... " >&6; }
17085 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17086   $as_echo_n "(cached) " >&6
17087 else
17088   ac_check_lib_save_LIBS=$LIBS
17089 LIBS="-lm  $LIBS"
17090 if test x$gcc_no_link = xyes; then
17091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17092 fi
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h.  */
17095
17096 /* Override any GCC internal prototype to avoid an error.
17097    Use char because int might match the return type of a GCC
17098    builtin and then its argument prototype would still apply.  */
17099 #ifdef __cplusplus
17100 extern "C"
17101 #endif
17102 char ceill ();
17103 int
17104 main ()
17105 {
17106 return ceill ();
17107   ;
17108   return 0;
17109 }
17110 _ACEOF
17111 if ac_fn_c_try_link "$LINENO"; then :
17112   ac_cv_lib_m_ceill=yes
17113 else
17114   ac_cv_lib_m_ceill=no
17115 fi
17116 rm -f core conftest.err conftest.$ac_objext \
17117     conftest$ac_exeext conftest.$ac_ext
17118 LIBS=$ac_check_lib_save_LIBS
17119 fi
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17121 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17122 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17123
17124 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17125
17126 fi
17127
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17129 $as_echo_n "checking for copysignf in -lm... " >&6; }
17130 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17131   $as_echo_n "(cached) " >&6
17132 else
17133   ac_check_lib_save_LIBS=$LIBS
17134 LIBS="-lm  $LIBS"
17135 if test x$gcc_no_link = xyes; then
17136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17137 fi
17138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17139 /* end confdefs.h.  */
17140
17141 /* Override any GCC internal prototype to avoid an error.
17142    Use char because int might match the return type of a GCC
17143    builtin and then its argument prototype would still apply.  */
17144 #ifdef __cplusplus
17145 extern "C"
17146 #endif
17147 char copysignf ();
17148 int
17149 main ()
17150 {
17151 return copysignf ();
17152   ;
17153   return 0;
17154 }
17155 _ACEOF
17156 if ac_fn_c_try_link "$LINENO"; then :
17157   ac_cv_lib_m_copysignf=yes
17158 else
17159   ac_cv_lib_m_copysignf=no
17160 fi
17161 rm -f core conftest.err conftest.$ac_objext \
17162     conftest$ac_exeext conftest.$ac_ext
17163 LIBS=$ac_check_lib_save_LIBS
17164 fi
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17166 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17167 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17168
17169 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17170
17171 fi
17172
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17174 $as_echo_n "checking for copysign in -lm... " >&6; }
17175 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17176   $as_echo_n "(cached) " >&6
17177 else
17178   ac_check_lib_save_LIBS=$LIBS
17179 LIBS="-lm  $LIBS"
17180 if test x$gcc_no_link = xyes; then
17181   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17182 fi
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h.  */
17185
17186 /* Override any GCC internal prototype to avoid an error.
17187    Use char because int might match the return type of a GCC
17188    builtin and then its argument prototype would still apply.  */
17189 #ifdef __cplusplus
17190 extern "C"
17191 #endif
17192 char copysign ();
17193 int
17194 main ()
17195 {
17196 return copysign ();
17197   ;
17198   return 0;
17199 }
17200 _ACEOF
17201 if ac_fn_c_try_link "$LINENO"; then :
17202   ac_cv_lib_m_copysign=yes
17203 else
17204   ac_cv_lib_m_copysign=no
17205 fi
17206 rm -f core conftest.err conftest.$ac_objext \
17207     conftest$ac_exeext conftest.$ac_ext
17208 LIBS=$ac_check_lib_save_LIBS
17209 fi
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17211 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17212 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17213
17214 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17215
17216 fi
17217
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17219 $as_echo_n "checking for copysignl in -lm... " >&6; }
17220 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17221   $as_echo_n "(cached) " >&6
17222 else
17223   ac_check_lib_save_LIBS=$LIBS
17224 LIBS="-lm  $LIBS"
17225 if test x$gcc_no_link = xyes; then
17226   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17227 fi
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h.  */
17230
17231 /* Override any GCC internal prototype to avoid an error.
17232    Use char because int might match the return type of a GCC
17233    builtin and then its argument prototype would still apply.  */
17234 #ifdef __cplusplus
17235 extern "C"
17236 #endif
17237 char copysignl ();
17238 int
17239 main ()
17240 {
17241 return copysignl ();
17242   ;
17243   return 0;
17244 }
17245 _ACEOF
17246 if ac_fn_c_try_link "$LINENO"; then :
17247   ac_cv_lib_m_copysignl=yes
17248 else
17249   ac_cv_lib_m_copysignl=no
17250 fi
17251 rm -f core conftest.err conftest.$ac_objext \
17252     conftest$ac_exeext conftest.$ac_ext
17253 LIBS=$ac_check_lib_save_LIBS
17254 fi
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17256 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17257 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17258
17259 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17260
17261 fi
17262
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17264 $as_echo_n "checking for cosf in -lm... " >&6; }
17265 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17266   $as_echo_n "(cached) " >&6
17267 else
17268   ac_check_lib_save_LIBS=$LIBS
17269 LIBS="-lm  $LIBS"
17270 if test x$gcc_no_link = xyes; then
17271   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17272 fi
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h.  */
17275
17276 /* Override any GCC internal prototype to avoid an error.
17277    Use char because int might match the return type of a GCC
17278    builtin and then its argument prototype would still apply.  */
17279 #ifdef __cplusplus
17280 extern "C"
17281 #endif
17282 char cosf ();
17283 int
17284 main ()
17285 {
17286 return cosf ();
17287   ;
17288   return 0;
17289 }
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"; then :
17292   ac_cv_lib_m_cosf=yes
17293 else
17294   ac_cv_lib_m_cosf=no
17295 fi
17296 rm -f core conftest.err conftest.$ac_objext \
17297     conftest$ac_exeext conftest.$ac_ext
17298 LIBS=$ac_check_lib_save_LIBS
17299 fi
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17301 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17302 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17303
17304 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17305
17306 fi
17307
17308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17309 $as_echo_n "checking for cos in -lm... " >&6; }
17310 if test "${ac_cv_lib_m_cos+set}" = set; then :
17311   $as_echo_n "(cached) " >&6
17312 else
17313   ac_check_lib_save_LIBS=$LIBS
17314 LIBS="-lm  $LIBS"
17315 if test x$gcc_no_link = xyes; then
17316   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17317 fi
17318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17319 /* end confdefs.h.  */
17320
17321 /* Override any GCC internal prototype to avoid an error.
17322    Use char because int might match the return type of a GCC
17323    builtin and then its argument prototype would still apply.  */
17324 #ifdef __cplusplus
17325 extern "C"
17326 #endif
17327 char cos ();
17328 int
17329 main ()
17330 {
17331 return cos ();
17332   ;
17333   return 0;
17334 }
17335 _ACEOF
17336 if ac_fn_c_try_link "$LINENO"; then :
17337   ac_cv_lib_m_cos=yes
17338 else
17339   ac_cv_lib_m_cos=no
17340 fi
17341 rm -f core conftest.err conftest.$ac_objext \
17342     conftest$ac_exeext conftest.$ac_ext
17343 LIBS=$ac_check_lib_save_LIBS
17344 fi
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17346 $as_echo "$ac_cv_lib_m_cos" >&6; }
17347 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17348
17349 $as_echo "#define HAVE_COS 1" >>confdefs.h
17350
17351 fi
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17354 $as_echo_n "checking for cosl in -lm... " >&6; }
17355 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17356   $as_echo_n "(cached) " >&6
17357 else
17358   ac_check_lib_save_LIBS=$LIBS
17359 LIBS="-lm  $LIBS"
17360 if test x$gcc_no_link = xyes; then
17361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17362 fi
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h.  */
17365
17366 /* Override any GCC internal prototype to avoid an error.
17367    Use char because int might match the return type of a GCC
17368    builtin and then its argument prototype would still apply.  */
17369 #ifdef __cplusplus
17370 extern "C"
17371 #endif
17372 char cosl ();
17373 int
17374 main ()
17375 {
17376 return cosl ();
17377   ;
17378   return 0;
17379 }
17380 _ACEOF
17381 if ac_fn_c_try_link "$LINENO"; then :
17382   ac_cv_lib_m_cosl=yes
17383 else
17384   ac_cv_lib_m_cosl=no
17385 fi
17386 rm -f core conftest.err conftest.$ac_objext \
17387     conftest$ac_exeext conftest.$ac_ext
17388 LIBS=$ac_check_lib_save_LIBS
17389 fi
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
17391 $as_echo "$ac_cv_lib_m_cosl" >&6; }
17392 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
17393
17394 $as_echo "#define HAVE_COSL 1" >>confdefs.h
17395
17396 fi
17397
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
17399 $as_echo_n "checking for ccosf in -lm... " >&6; }
17400 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
17401   $as_echo_n "(cached) " >&6
17402 else
17403   ac_check_lib_save_LIBS=$LIBS
17404 LIBS="-lm  $LIBS"
17405 if test x$gcc_no_link = xyes; then
17406   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17407 fi
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h.  */
17410
17411 /* Override any GCC internal prototype to avoid an error.
17412    Use char because int might match the return type of a GCC
17413    builtin and then its argument prototype would still apply.  */
17414 #ifdef __cplusplus
17415 extern "C"
17416 #endif
17417 char ccosf ();
17418 int
17419 main ()
17420 {
17421 return ccosf ();
17422   ;
17423   return 0;
17424 }
17425 _ACEOF
17426 if ac_fn_c_try_link "$LINENO"; then :
17427   ac_cv_lib_m_ccosf=yes
17428 else
17429   ac_cv_lib_m_ccosf=no
17430 fi
17431 rm -f core conftest.err conftest.$ac_objext \
17432     conftest$ac_exeext conftest.$ac_ext
17433 LIBS=$ac_check_lib_save_LIBS
17434 fi
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
17436 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
17437 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
17438
17439 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
17440
17441 fi
17442
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
17444 $as_echo_n "checking for ccos in -lm... " >&6; }
17445 if test "${ac_cv_lib_m_ccos+set}" = set; then :
17446   $as_echo_n "(cached) " >&6
17447 else
17448   ac_check_lib_save_LIBS=$LIBS
17449 LIBS="-lm  $LIBS"
17450 if test x$gcc_no_link = xyes; then
17451   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17452 fi
17453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h.  */
17455
17456 /* Override any GCC internal prototype to avoid an error.
17457    Use char because int might match the return type of a GCC
17458    builtin and then its argument prototype would still apply.  */
17459 #ifdef __cplusplus
17460 extern "C"
17461 #endif
17462 char ccos ();
17463 int
17464 main ()
17465 {
17466 return ccos ();
17467   ;
17468   return 0;
17469 }
17470 _ACEOF
17471 if ac_fn_c_try_link "$LINENO"; then :
17472   ac_cv_lib_m_ccos=yes
17473 else
17474   ac_cv_lib_m_ccos=no
17475 fi
17476 rm -f core conftest.err conftest.$ac_objext \
17477     conftest$ac_exeext conftest.$ac_ext
17478 LIBS=$ac_check_lib_save_LIBS
17479 fi
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
17481 $as_echo "$ac_cv_lib_m_ccos" >&6; }
17482 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
17483
17484 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
17485
17486 fi
17487
17488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
17489 $as_echo_n "checking for ccosl in -lm... " >&6; }
17490 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
17491   $as_echo_n "(cached) " >&6
17492 else
17493   ac_check_lib_save_LIBS=$LIBS
17494 LIBS="-lm  $LIBS"
17495 if test x$gcc_no_link = xyes; then
17496   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17497 fi
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h.  */
17500
17501 /* Override any GCC internal prototype to avoid an error.
17502    Use char because int might match the return type of a GCC
17503    builtin and then its argument prototype would still apply.  */
17504 #ifdef __cplusplus
17505 extern "C"
17506 #endif
17507 char ccosl ();
17508 int
17509 main ()
17510 {
17511 return ccosl ();
17512   ;
17513   return 0;
17514 }
17515 _ACEOF
17516 if ac_fn_c_try_link "$LINENO"; then :
17517   ac_cv_lib_m_ccosl=yes
17518 else
17519   ac_cv_lib_m_ccosl=no
17520 fi
17521 rm -f core conftest.err conftest.$ac_objext \
17522     conftest$ac_exeext conftest.$ac_ext
17523 LIBS=$ac_check_lib_save_LIBS
17524 fi
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
17526 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
17527 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
17528
17529 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
17530
17531 fi
17532
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
17534 $as_echo_n "checking for coshf in -lm... " >&6; }
17535 if test "${ac_cv_lib_m_coshf+set}" = set; then :
17536   $as_echo_n "(cached) " >&6
17537 else
17538   ac_check_lib_save_LIBS=$LIBS
17539 LIBS="-lm  $LIBS"
17540 if test x$gcc_no_link = xyes; then
17541   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17542 fi
17543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17544 /* end confdefs.h.  */
17545
17546 /* Override any GCC internal prototype to avoid an error.
17547    Use char because int might match the return type of a GCC
17548    builtin and then its argument prototype would still apply.  */
17549 #ifdef __cplusplus
17550 extern "C"
17551 #endif
17552 char coshf ();
17553 int
17554 main ()
17555 {
17556 return coshf ();
17557   ;
17558   return 0;
17559 }
17560 _ACEOF
17561 if ac_fn_c_try_link "$LINENO"; then :
17562   ac_cv_lib_m_coshf=yes
17563 else
17564   ac_cv_lib_m_coshf=no
17565 fi
17566 rm -f core conftest.err conftest.$ac_objext \
17567     conftest$ac_exeext conftest.$ac_ext
17568 LIBS=$ac_check_lib_save_LIBS
17569 fi
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
17571 $as_echo "$ac_cv_lib_m_coshf" >&6; }
17572 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
17573
17574 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
17575
17576 fi
17577
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
17579 $as_echo_n "checking for cosh in -lm... " >&6; }
17580 if test "${ac_cv_lib_m_cosh+set}" = set; then :
17581   $as_echo_n "(cached) " >&6
17582 else
17583   ac_check_lib_save_LIBS=$LIBS
17584 LIBS="-lm  $LIBS"
17585 if test x$gcc_no_link = xyes; then
17586   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17587 fi
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h.  */
17590
17591 /* Override any GCC internal prototype to avoid an error.
17592    Use char because int might match the return type of a GCC
17593    builtin and then its argument prototype would still apply.  */
17594 #ifdef __cplusplus
17595 extern "C"
17596 #endif
17597 char cosh ();
17598 int
17599 main ()
17600 {
17601 return cosh ();
17602   ;
17603   return 0;
17604 }
17605 _ACEOF
17606 if ac_fn_c_try_link "$LINENO"; then :
17607   ac_cv_lib_m_cosh=yes
17608 else
17609   ac_cv_lib_m_cosh=no
17610 fi
17611 rm -f core conftest.err conftest.$ac_objext \
17612     conftest$ac_exeext conftest.$ac_ext
17613 LIBS=$ac_check_lib_save_LIBS
17614 fi
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
17616 $as_echo "$ac_cv_lib_m_cosh" >&6; }
17617 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
17618
17619 $as_echo "#define HAVE_COSH 1" >>confdefs.h
17620
17621 fi
17622
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
17624 $as_echo_n "checking for coshl in -lm... " >&6; }
17625 if test "${ac_cv_lib_m_coshl+set}" = set; then :
17626   $as_echo_n "(cached) " >&6
17627 else
17628   ac_check_lib_save_LIBS=$LIBS
17629 LIBS="-lm  $LIBS"
17630 if test x$gcc_no_link = xyes; then
17631   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17632 fi
17633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17634 /* end confdefs.h.  */
17635
17636 /* Override any GCC internal prototype to avoid an error.
17637    Use char because int might match the return type of a GCC
17638    builtin and then its argument prototype would still apply.  */
17639 #ifdef __cplusplus
17640 extern "C"
17641 #endif
17642 char coshl ();
17643 int
17644 main ()
17645 {
17646 return coshl ();
17647   ;
17648   return 0;
17649 }
17650 _ACEOF
17651 if ac_fn_c_try_link "$LINENO"; then :
17652   ac_cv_lib_m_coshl=yes
17653 else
17654   ac_cv_lib_m_coshl=no
17655 fi
17656 rm -f core conftest.err conftest.$ac_objext \
17657     conftest$ac_exeext conftest.$ac_ext
17658 LIBS=$ac_check_lib_save_LIBS
17659 fi
17660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
17661 $as_echo "$ac_cv_lib_m_coshl" >&6; }
17662 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
17663
17664 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
17665
17666 fi
17667
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
17669 $as_echo_n "checking for ccoshf in -lm... " >&6; }
17670 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
17671   $as_echo_n "(cached) " >&6
17672 else
17673   ac_check_lib_save_LIBS=$LIBS
17674 LIBS="-lm  $LIBS"
17675 if test x$gcc_no_link = xyes; then
17676   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17677 fi
17678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17679 /* end confdefs.h.  */
17680
17681 /* Override any GCC internal prototype to avoid an error.
17682    Use char because int might match the return type of a GCC
17683    builtin and then its argument prototype would still apply.  */
17684 #ifdef __cplusplus
17685 extern "C"
17686 #endif
17687 char ccoshf ();
17688 int
17689 main ()
17690 {
17691 return ccoshf ();
17692   ;
17693   return 0;
17694 }
17695 _ACEOF
17696 if ac_fn_c_try_link "$LINENO"; then :
17697   ac_cv_lib_m_ccoshf=yes
17698 else
17699   ac_cv_lib_m_ccoshf=no
17700 fi
17701 rm -f core conftest.err conftest.$ac_objext \
17702     conftest$ac_exeext conftest.$ac_ext
17703 LIBS=$ac_check_lib_save_LIBS
17704 fi
17705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
17706 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
17707 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
17708
17709 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
17710
17711 fi
17712
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
17714 $as_echo_n "checking for ccosh in -lm... " >&6; }
17715 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
17716   $as_echo_n "(cached) " >&6
17717 else
17718   ac_check_lib_save_LIBS=$LIBS
17719 LIBS="-lm  $LIBS"
17720 if test x$gcc_no_link = xyes; then
17721   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17722 fi
17723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17724 /* end confdefs.h.  */
17725
17726 /* Override any GCC internal prototype to avoid an error.
17727    Use char because int might match the return type of a GCC
17728    builtin and then its argument prototype would still apply.  */
17729 #ifdef __cplusplus
17730 extern "C"
17731 #endif
17732 char ccosh ();
17733 int
17734 main ()
17735 {
17736 return ccosh ();
17737   ;
17738   return 0;
17739 }
17740 _ACEOF
17741 if ac_fn_c_try_link "$LINENO"; then :
17742   ac_cv_lib_m_ccosh=yes
17743 else
17744   ac_cv_lib_m_ccosh=no
17745 fi
17746 rm -f core conftest.err conftest.$ac_objext \
17747     conftest$ac_exeext conftest.$ac_ext
17748 LIBS=$ac_check_lib_save_LIBS
17749 fi
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
17751 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
17752 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
17753
17754 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
17755
17756 fi
17757
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
17759 $as_echo_n "checking for ccoshl in -lm... " >&6; }
17760 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
17761   $as_echo_n "(cached) " >&6
17762 else
17763   ac_check_lib_save_LIBS=$LIBS
17764 LIBS="-lm  $LIBS"
17765 if test x$gcc_no_link = xyes; then
17766   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17767 fi
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h.  */
17770
17771 /* Override any GCC internal prototype to avoid an error.
17772    Use char because int might match the return type of a GCC
17773    builtin and then its argument prototype would still apply.  */
17774 #ifdef __cplusplus
17775 extern "C"
17776 #endif
17777 char ccoshl ();
17778 int
17779 main ()
17780 {
17781 return ccoshl ();
17782   ;
17783   return 0;
17784 }
17785 _ACEOF
17786 if ac_fn_c_try_link "$LINENO"; then :
17787   ac_cv_lib_m_ccoshl=yes
17788 else
17789   ac_cv_lib_m_ccoshl=no
17790 fi
17791 rm -f core conftest.err conftest.$ac_objext \
17792     conftest$ac_exeext conftest.$ac_ext
17793 LIBS=$ac_check_lib_save_LIBS
17794 fi
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
17796 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
17797 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
17798
17799 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
17800
17801 fi
17802
17803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
17804 $as_echo_n "checking for expf in -lm... " >&6; }
17805 if test "${ac_cv_lib_m_expf+set}" = set; then :
17806   $as_echo_n "(cached) " >&6
17807 else
17808   ac_check_lib_save_LIBS=$LIBS
17809 LIBS="-lm  $LIBS"
17810 if test x$gcc_no_link = xyes; then
17811   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17812 fi
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h.  */
17815
17816 /* Override any GCC internal prototype to avoid an error.
17817    Use char because int might match the return type of a GCC
17818    builtin and then its argument prototype would still apply.  */
17819 #ifdef __cplusplus
17820 extern "C"
17821 #endif
17822 char expf ();
17823 int
17824 main ()
17825 {
17826 return expf ();
17827   ;
17828   return 0;
17829 }
17830 _ACEOF
17831 if ac_fn_c_try_link "$LINENO"; then :
17832   ac_cv_lib_m_expf=yes
17833 else
17834   ac_cv_lib_m_expf=no
17835 fi
17836 rm -f core conftest.err conftest.$ac_objext \
17837     conftest$ac_exeext conftest.$ac_ext
17838 LIBS=$ac_check_lib_save_LIBS
17839 fi
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
17841 $as_echo "$ac_cv_lib_m_expf" >&6; }
17842 if test "x$ac_cv_lib_m_expf" = x""yes; then :
17843
17844 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
17845
17846 fi
17847
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
17849 $as_echo_n "checking for exp in -lm... " >&6; }
17850 if test "${ac_cv_lib_m_exp+set}" = set; then :
17851   $as_echo_n "(cached) " >&6
17852 else
17853   ac_check_lib_save_LIBS=$LIBS
17854 LIBS="-lm  $LIBS"
17855 if test x$gcc_no_link = xyes; then
17856   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17857 fi
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h.  */
17860
17861 /* Override any GCC internal prototype to avoid an error.
17862    Use char because int might match the return type of a GCC
17863    builtin and then its argument prototype would still apply.  */
17864 #ifdef __cplusplus
17865 extern "C"
17866 #endif
17867 char exp ();
17868 int
17869 main ()
17870 {
17871 return exp ();
17872   ;
17873   return 0;
17874 }
17875 _ACEOF
17876 if ac_fn_c_try_link "$LINENO"; then :
17877   ac_cv_lib_m_exp=yes
17878 else
17879   ac_cv_lib_m_exp=no
17880 fi
17881 rm -f core conftest.err conftest.$ac_objext \
17882     conftest$ac_exeext conftest.$ac_ext
17883 LIBS=$ac_check_lib_save_LIBS
17884 fi
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
17886 $as_echo "$ac_cv_lib_m_exp" >&6; }
17887 if test "x$ac_cv_lib_m_exp" = x""yes; then :
17888
17889 $as_echo "#define HAVE_EXP 1" >>confdefs.h
17890
17891 fi
17892
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
17894 $as_echo_n "checking for expl in -lm... " >&6; }
17895 if test "${ac_cv_lib_m_expl+set}" = set; then :
17896   $as_echo_n "(cached) " >&6
17897 else
17898   ac_check_lib_save_LIBS=$LIBS
17899 LIBS="-lm  $LIBS"
17900 if test x$gcc_no_link = xyes; then
17901   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17902 fi
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h.  */
17905
17906 /* Override any GCC internal prototype to avoid an error.
17907    Use char because int might match the return type of a GCC
17908    builtin and then its argument prototype would still apply.  */
17909 #ifdef __cplusplus
17910 extern "C"
17911 #endif
17912 char expl ();
17913 int
17914 main ()
17915 {
17916 return expl ();
17917   ;
17918   return 0;
17919 }
17920 _ACEOF
17921 if ac_fn_c_try_link "$LINENO"; then :
17922   ac_cv_lib_m_expl=yes
17923 else
17924   ac_cv_lib_m_expl=no
17925 fi
17926 rm -f core conftest.err conftest.$ac_objext \
17927     conftest$ac_exeext conftest.$ac_ext
17928 LIBS=$ac_check_lib_save_LIBS
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
17931 $as_echo "$ac_cv_lib_m_expl" >&6; }
17932 if test "x$ac_cv_lib_m_expl" = x""yes; then :
17933
17934 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
17935
17936 fi
17937
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
17939 $as_echo_n "checking for cexpf in -lm... " >&6; }
17940 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
17941   $as_echo_n "(cached) " >&6
17942 else
17943   ac_check_lib_save_LIBS=$LIBS
17944 LIBS="-lm  $LIBS"
17945 if test x$gcc_no_link = xyes; then
17946   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17947 fi
17948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17949 /* end confdefs.h.  */
17950
17951 /* Override any GCC internal prototype to avoid an error.
17952    Use char because int might match the return type of a GCC
17953    builtin and then its argument prototype would still apply.  */
17954 #ifdef __cplusplus
17955 extern "C"
17956 #endif
17957 char cexpf ();
17958 int
17959 main ()
17960 {
17961 return cexpf ();
17962   ;
17963   return 0;
17964 }
17965 _ACEOF
17966 if ac_fn_c_try_link "$LINENO"; then :
17967   ac_cv_lib_m_cexpf=yes
17968 else
17969   ac_cv_lib_m_cexpf=no
17970 fi
17971 rm -f core conftest.err conftest.$ac_objext \
17972     conftest$ac_exeext conftest.$ac_ext
17973 LIBS=$ac_check_lib_save_LIBS
17974 fi
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
17976 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
17977 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
17978
17979 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
17980
17981 fi
17982
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
17984 $as_echo_n "checking for cexp in -lm... " >&6; }
17985 if test "${ac_cv_lib_m_cexp+set}" = set; then :
17986   $as_echo_n "(cached) " >&6
17987 else
17988   ac_check_lib_save_LIBS=$LIBS
17989 LIBS="-lm  $LIBS"
17990 if test x$gcc_no_link = xyes; then
17991   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17992 fi
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h.  */
17995
17996 /* Override any GCC internal prototype to avoid an error.
17997    Use char because int might match the return type of a GCC
17998    builtin and then its argument prototype would still apply.  */
17999 #ifdef __cplusplus
18000 extern "C"
18001 #endif
18002 char cexp ();
18003 int
18004 main ()
18005 {
18006 return cexp ();
18007   ;
18008   return 0;
18009 }
18010 _ACEOF
18011 if ac_fn_c_try_link "$LINENO"; then :
18012   ac_cv_lib_m_cexp=yes
18013 else
18014   ac_cv_lib_m_cexp=no
18015 fi
18016 rm -f core conftest.err conftest.$ac_objext \
18017     conftest$ac_exeext conftest.$ac_ext
18018 LIBS=$ac_check_lib_save_LIBS
18019 fi
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18021 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18022 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18023
18024 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18025
18026 fi
18027
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18029 $as_echo_n "checking for cexpl in -lm... " >&6; }
18030 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18031   $as_echo_n "(cached) " >&6
18032 else
18033   ac_check_lib_save_LIBS=$LIBS
18034 LIBS="-lm  $LIBS"
18035 if test x$gcc_no_link = xyes; then
18036   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18037 fi
18038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18039 /* end confdefs.h.  */
18040
18041 /* Override any GCC internal prototype to avoid an error.
18042    Use char because int might match the return type of a GCC
18043    builtin and then its argument prototype would still apply.  */
18044 #ifdef __cplusplus
18045 extern "C"
18046 #endif
18047 char cexpl ();
18048 int
18049 main ()
18050 {
18051 return cexpl ();
18052   ;
18053   return 0;
18054 }
18055 _ACEOF
18056 if ac_fn_c_try_link "$LINENO"; then :
18057   ac_cv_lib_m_cexpl=yes
18058 else
18059   ac_cv_lib_m_cexpl=no
18060 fi
18061 rm -f core conftest.err conftest.$ac_objext \
18062     conftest$ac_exeext conftest.$ac_ext
18063 LIBS=$ac_check_lib_save_LIBS
18064 fi
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18066 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18067 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18068
18069 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18070
18071 fi
18072
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18074 $as_echo_n "checking for fabsf in -lm... " >&6; }
18075 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18076   $as_echo_n "(cached) " >&6
18077 else
18078   ac_check_lib_save_LIBS=$LIBS
18079 LIBS="-lm  $LIBS"
18080 if test x$gcc_no_link = xyes; then
18081   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18082 fi
18083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18084 /* end confdefs.h.  */
18085
18086 /* Override any GCC internal prototype to avoid an error.
18087    Use char because int might match the return type of a GCC
18088    builtin and then its argument prototype would still apply.  */
18089 #ifdef __cplusplus
18090 extern "C"
18091 #endif
18092 char fabsf ();
18093 int
18094 main ()
18095 {
18096 return fabsf ();
18097   ;
18098   return 0;
18099 }
18100 _ACEOF
18101 if ac_fn_c_try_link "$LINENO"; then :
18102   ac_cv_lib_m_fabsf=yes
18103 else
18104   ac_cv_lib_m_fabsf=no
18105 fi
18106 rm -f core conftest.err conftest.$ac_objext \
18107     conftest$ac_exeext conftest.$ac_ext
18108 LIBS=$ac_check_lib_save_LIBS
18109 fi
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18111 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18112 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18113
18114 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18115
18116 fi
18117
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18119 $as_echo_n "checking for fabs in -lm... " >&6; }
18120 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18121   $as_echo_n "(cached) " >&6
18122 else
18123   ac_check_lib_save_LIBS=$LIBS
18124 LIBS="-lm  $LIBS"
18125 if test x$gcc_no_link = xyes; then
18126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18127 fi
18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18129 /* end confdefs.h.  */
18130
18131 /* Override any GCC internal prototype to avoid an error.
18132    Use char because int might match the return type of a GCC
18133    builtin and then its argument prototype would still apply.  */
18134 #ifdef __cplusplus
18135 extern "C"
18136 #endif
18137 char fabs ();
18138 int
18139 main ()
18140 {
18141 return fabs ();
18142   ;
18143   return 0;
18144 }
18145 _ACEOF
18146 if ac_fn_c_try_link "$LINENO"; then :
18147   ac_cv_lib_m_fabs=yes
18148 else
18149   ac_cv_lib_m_fabs=no
18150 fi
18151 rm -f core conftest.err conftest.$ac_objext \
18152     conftest$ac_exeext conftest.$ac_ext
18153 LIBS=$ac_check_lib_save_LIBS
18154 fi
18155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18156 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18157 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18158
18159 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18160
18161 fi
18162
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18164 $as_echo_n "checking for fabsl in -lm... " >&6; }
18165 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18166   $as_echo_n "(cached) " >&6
18167 else
18168   ac_check_lib_save_LIBS=$LIBS
18169 LIBS="-lm  $LIBS"
18170 if test x$gcc_no_link = xyes; then
18171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18172 fi
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h.  */
18175
18176 /* Override any GCC internal prototype to avoid an error.
18177    Use char because int might match the return type of a GCC
18178    builtin and then its argument prototype would still apply.  */
18179 #ifdef __cplusplus
18180 extern "C"
18181 #endif
18182 char fabsl ();
18183 int
18184 main ()
18185 {
18186 return fabsl ();
18187   ;
18188   return 0;
18189 }
18190 _ACEOF
18191 if ac_fn_c_try_link "$LINENO"; then :
18192   ac_cv_lib_m_fabsl=yes
18193 else
18194   ac_cv_lib_m_fabsl=no
18195 fi
18196 rm -f core conftest.err conftest.$ac_objext \
18197     conftest$ac_exeext conftest.$ac_ext
18198 LIBS=$ac_check_lib_save_LIBS
18199 fi
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18201 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18202 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18203
18204 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18205
18206 fi
18207
18208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18209 $as_echo_n "checking for cabsf in -lm... " >&6; }
18210 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18211   $as_echo_n "(cached) " >&6
18212 else
18213   ac_check_lib_save_LIBS=$LIBS
18214 LIBS="-lm  $LIBS"
18215 if test x$gcc_no_link = xyes; then
18216   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18217 fi
18218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18219 /* end confdefs.h.  */
18220
18221 /* Override any GCC internal prototype to avoid an error.
18222    Use char because int might match the return type of a GCC
18223    builtin and then its argument prototype would still apply.  */
18224 #ifdef __cplusplus
18225 extern "C"
18226 #endif
18227 char cabsf ();
18228 int
18229 main ()
18230 {
18231 return cabsf ();
18232   ;
18233   return 0;
18234 }
18235 _ACEOF
18236 if ac_fn_c_try_link "$LINENO"; then :
18237   ac_cv_lib_m_cabsf=yes
18238 else
18239   ac_cv_lib_m_cabsf=no
18240 fi
18241 rm -f core conftest.err conftest.$ac_objext \
18242     conftest$ac_exeext conftest.$ac_ext
18243 LIBS=$ac_check_lib_save_LIBS
18244 fi
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18246 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18247 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18248
18249 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18250
18251 fi
18252
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18254 $as_echo_n "checking for cabs in -lm... " >&6; }
18255 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18256   $as_echo_n "(cached) " >&6
18257 else
18258   ac_check_lib_save_LIBS=$LIBS
18259 LIBS="-lm  $LIBS"
18260 if test x$gcc_no_link = xyes; then
18261   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18262 fi
18263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18264 /* end confdefs.h.  */
18265
18266 /* Override any GCC internal prototype to avoid an error.
18267    Use char because int might match the return type of a GCC
18268    builtin and then its argument prototype would still apply.  */
18269 #ifdef __cplusplus
18270 extern "C"
18271 #endif
18272 char cabs ();
18273 int
18274 main ()
18275 {
18276 return cabs ();
18277   ;
18278   return 0;
18279 }
18280 _ACEOF
18281 if ac_fn_c_try_link "$LINENO"; then :
18282   ac_cv_lib_m_cabs=yes
18283 else
18284   ac_cv_lib_m_cabs=no
18285 fi
18286 rm -f core conftest.err conftest.$ac_objext \
18287     conftest$ac_exeext conftest.$ac_ext
18288 LIBS=$ac_check_lib_save_LIBS
18289 fi
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18291 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18292 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18293
18294 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18295
18296 fi
18297
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18299 $as_echo_n "checking for cabsl in -lm... " >&6; }
18300 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18301   $as_echo_n "(cached) " >&6
18302 else
18303   ac_check_lib_save_LIBS=$LIBS
18304 LIBS="-lm  $LIBS"
18305 if test x$gcc_no_link = xyes; then
18306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18307 fi
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h.  */
18310
18311 /* Override any GCC internal prototype to avoid an error.
18312    Use char because int might match the return type of a GCC
18313    builtin and then its argument prototype would still apply.  */
18314 #ifdef __cplusplus
18315 extern "C"
18316 #endif
18317 char cabsl ();
18318 int
18319 main ()
18320 {
18321 return cabsl ();
18322   ;
18323   return 0;
18324 }
18325 _ACEOF
18326 if ac_fn_c_try_link "$LINENO"; then :
18327   ac_cv_lib_m_cabsl=yes
18328 else
18329   ac_cv_lib_m_cabsl=no
18330 fi
18331 rm -f core conftest.err conftest.$ac_objext \
18332     conftest$ac_exeext conftest.$ac_ext
18333 LIBS=$ac_check_lib_save_LIBS
18334 fi
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18336 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18337 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18338
18339 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18340
18341 fi
18342
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18344 $as_echo_n "checking for floorf in -lm... " >&6; }
18345 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18346   $as_echo_n "(cached) " >&6
18347 else
18348   ac_check_lib_save_LIBS=$LIBS
18349 LIBS="-lm  $LIBS"
18350 if test x$gcc_no_link = xyes; then
18351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18352 fi
18353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18354 /* end confdefs.h.  */
18355
18356 /* Override any GCC internal prototype to avoid an error.
18357    Use char because int might match the return type of a GCC
18358    builtin and then its argument prototype would still apply.  */
18359 #ifdef __cplusplus
18360 extern "C"
18361 #endif
18362 char floorf ();
18363 int
18364 main ()
18365 {
18366 return floorf ();
18367   ;
18368   return 0;
18369 }
18370 _ACEOF
18371 if ac_fn_c_try_link "$LINENO"; then :
18372   ac_cv_lib_m_floorf=yes
18373 else
18374   ac_cv_lib_m_floorf=no
18375 fi
18376 rm -f core conftest.err conftest.$ac_objext \
18377     conftest$ac_exeext conftest.$ac_ext
18378 LIBS=$ac_check_lib_save_LIBS
18379 fi
18380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
18381 $as_echo "$ac_cv_lib_m_floorf" >&6; }
18382 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
18383
18384 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
18385
18386 fi
18387
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
18389 $as_echo_n "checking for floor in -lm... " >&6; }
18390 if test "${ac_cv_lib_m_floor+set}" = set; then :
18391   $as_echo_n "(cached) " >&6
18392 else
18393   ac_check_lib_save_LIBS=$LIBS
18394 LIBS="-lm  $LIBS"
18395 if test x$gcc_no_link = xyes; then
18396   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18397 fi
18398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18399 /* end confdefs.h.  */
18400
18401 /* Override any GCC internal prototype to avoid an error.
18402    Use char because int might match the return type of a GCC
18403    builtin and then its argument prototype would still apply.  */
18404 #ifdef __cplusplus
18405 extern "C"
18406 #endif
18407 char floor ();
18408 int
18409 main ()
18410 {
18411 return floor ();
18412   ;
18413   return 0;
18414 }
18415 _ACEOF
18416 if ac_fn_c_try_link "$LINENO"; then :
18417   ac_cv_lib_m_floor=yes
18418 else
18419   ac_cv_lib_m_floor=no
18420 fi
18421 rm -f core conftest.err conftest.$ac_objext \
18422     conftest$ac_exeext conftest.$ac_ext
18423 LIBS=$ac_check_lib_save_LIBS
18424 fi
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
18426 $as_echo "$ac_cv_lib_m_floor" >&6; }
18427 if test "x$ac_cv_lib_m_floor" = x""yes; then :
18428
18429 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
18430
18431 fi
18432
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
18434 $as_echo_n "checking for floorl in -lm... " >&6; }
18435 if test "${ac_cv_lib_m_floorl+set}" = set; then :
18436   $as_echo_n "(cached) " >&6
18437 else
18438   ac_check_lib_save_LIBS=$LIBS
18439 LIBS="-lm  $LIBS"
18440 if test x$gcc_no_link = xyes; then
18441   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18442 fi
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h.  */
18445
18446 /* Override any GCC internal prototype to avoid an error.
18447    Use char because int might match the return type of a GCC
18448    builtin and then its argument prototype would still apply.  */
18449 #ifdef __cplusplus
18450 extern "C"
18451 #endif
18452 char floorl ();
18453 int
18454 main ()
18455 {
18456 return floorl ();
18457   ;
18458   return 0;
18459 }
18460 _ACEOF
18461 if ac_fn_c_try_link "$LINENO"; then :
18462   ac_cv_lib_m_floorl=yes
18463 else
18464   ac_cv_lib_m_floorl=no
18465 fi
18466 rm -f core conftest.err conftest.$ac_objext \
18467     conftest$ac_exeext conftest.$ac_ext
18468 LIBS=$ac_check_lib_save_LIBS
18469 fi
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
18471 $as_echo "$ac_cv_lib_m_floorl" >&6; }
18472 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
18473
18474 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
18475
18476 fi
18477
18478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
18479 $as_echo_n "checking for fmodf in -lm... " >&6; }
18480 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
18481   $as_echo_n "(cached) " >&6
18482 else
18483   ac_check_lib_save_LIBS=$LIBS
18484 LIBS="-lm  $LIBS"
18485 if test x$gcc_no_link = xyes; then
18486   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18487 fi
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h.  */
18490
18491 /* Override any GCC internal prototype to avoid an error.
18492    Use char because int might match the return type of a GCC
18493    builtin and then its argument prototype would still apply.  */
18494 #ifdef __cplusplus
18495 extern "C"
18496 #endif
18497 char fmodf ();
18498 int
18499 main ()
18500 {
18501 return fmodf ();
18502   ;
18503   return 0;
18504 }
18505 _ACEOF
18506 if ac_fn_c_try_link "$LINENO"; then :
18507   ac_cv_lib_m_fmodf=yes
18508 else
18509   ac_cv_lib_m_fmodf=no
18510 fi
18511 rm -f core conftest.err conftest.$ac_objext \
18512     conftest$ac_exeext conftest.$ac_ext
18513 LIBS=$ac_check_lib_save_LIBS
18514 fi
18515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
18516 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
18517 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
18518
18519 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
18520
18521 fi
18522
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
18524 $as_echo_n "checking for fmod in -lm... " >&6; }
18525 if test "${ac_cv_lib_m_fmod+set}" = set; then :
18526   $as_echo_n "(cached) " >&6
18527 else
18528   ac_check_lib_save_LIBS=$LIBS
18529 LIBS="-lm  $LIBS"
18530 if test x$gcc_no_link = xyes; then
18531   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18532 fi
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h.  */
18535
18536 /* Override any GCC internal prototype to avoid an error.
18537    Use char because int might match the return type of a GCC
18538    builtin and then its argument prototype would still apply.  */
18539 #ifdef __cplusplus
18540 extern "C"
18541 #endif
18542 char fmod ();
18543 int
18544 main ()
18545 {
18546 return fmod ();
18547   ;
18548   return 0;
18549 }
18550 _ACEOF
18551 if ac_fn_c_try_link "$LINENO"; then :
18552   ac_cv_lib_m_fmod=yes
18553 else
18554   ac_cv_lib_m_fmod=no
18555 fi
18556 rm -f core conftest.err conftest.$ac_objext \
18557     conftest$ac_exeext conftest.$ac_ext
18558 LIBS=$ac_check_lib_save_LIBS
18559 fi
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
18561 $as_echo "$ac_cv_lib_m_fmod" >&6; }
18562 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
18563
18564 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
18565
18566 fi
18567
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
18569 $as_echo_n "checking for fmodl in -lm... " >&6; }
18570 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
18571   $as_echo_n "(cached) " >&6
18572 else
18573   ac_check_lib_save_LIBS=$LIBS
18574 LIBS="-lm  $LIBS"
18575 if test x$gcc_no_link = xyes; then
18576   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18577 fi
18578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18579 /* end confdefs.h.  */
18580
18581 /* Override any GCC internal prototype to avoid an error.
18582    Use char because int might match the return type of a GCC
18583    builtin and then its argument prototype would still apply.  */
18584 #ifdef __cplusplus
18585 extern "C"
18586 #endif
18587 char fmodl ();
18588 int
18589 main ()
18590 {
18591 return fmodl ();
18592   ;
18593   return 0;
18594 }
18595 _ACEOF
18596 if ac_fn_c_try_link "$LINENO"; then :
18597   ac_cv_lib_m_fmodl=yes
18598 else
18599   ac_cv_lib_m_fmodl=no
18600 fi
18601 rm -f core conftest.err conftest.$ac_objext \
18602     conftest$ac_exeext conftest.$ac_ext
18603 LIBS=$ac_check_lib_save_LIBS
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
18606 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
18607 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
18608
18609 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
18610
18611 fi
18612
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
18614 $as_echo_n "checking for frexpf in -lm... " >&6; }
18615 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
18616   $as_echo_n "(cached) " >&6
18617 else
18618   ac_check_lib_save_LIBS=$LIBS
18619 LIBS="-lm  $LIBS"
18620 if test x$gcc_no_link = xyes; then
18621   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18622 fi
18623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h.  */
18625
18626 /* Override any GCC internal prototype to avoid an error.
18627    Use char because int might match the return type of a GCC
18628    builtin and then its argument prototype would still apply.  */
18629 #ifdef __cplusplus
18630 extern "C"
18631 #endif
18632 char frexpf ();
18633 int
18634 main ()
18635 {
18636 return frexpf ();
18637   ;
18638   return 0;
18639 }
18640 _ACEOF
18641 if ac_fn_c_try_link "$LINENO"; then :
18642   ac_cv_lib_m_frexpf=yes
18643 else
18644   ac_cv_lib_m_frexpf=no
18645 fi
18646 rm -f core conftest.err conftest.$ac_objext \
18647     conftest$ac_exeext conftest.$ac_ext
18648 LIBS=$ac_check_lib_save_LIBS
18649 fi
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
18651 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
18652 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
18653
18654 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
18655
18656 fi
18657
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
18659 $as_echo_n "checking for frexp in -lm... " >&6; }
18660 if test "${ac_cv_lib_m_frexp+set}" = set; then :
18661   $as_echo_n "(cached) " >&6
18662 else
18663   ac_check_lib_save_LIBS=$LIBS
18664 LIBS="-lm  $LIBS"
18665 if test x$gcc_no_link = xyes; then
18666   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18667 fi
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h.  */
18670
18671 /* Override any GCC internal prototype to avoid an error.
18672    Use char because int might match the return type of a GCC
18673    builtin and then its argument prototype would still apply.  */
18674 #ifdef __cplusplus
18675 extern "C"
18676 #endif
18677 char frexp ();
18678 int
18679 main ()
18680 {
18681 return frexp ();
18682   ;
18683   return 0;
18684 }
18685 _ACEOF
18686 if ac_fn_c_try_link "$LINENO"; then :
18687   ac_cv_lib_m_frexp=yes
18688 else
18689   ac_cv_lib_m_frexp=no
18690 fi
18691 rm -f core conftest.err conftest.$ac_objext \
18692     conftest$ac_exeext conftest.$ac_ext
18693 LIBS=$ac_check_lib_save_LIBS
18694 fi
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
18696 $as_echo "$ac_cv_lib_m_frexp" >&6; }
18697 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
18698
18699 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
18700
18701 fi
18702
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
18704 $as_echo_n "checking for frexpl in -lm... " >&6; }
18705 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
18706   $as_echo_n "(cached) " >&6
18707 else
18708   ac_check_lib_save_LIBS=$LIBS
18709 LIBS="-lm  $LIBS"
18710 if test x$gcc_no_link = xyes; then
18711   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18712 fi
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h.  */
18715
18716 /* Override any GCC internal prototype to avoid an error.
18717    Use char because int might match the return type of a GCC
18718    builtin and then its argument prototype would still apply.  */
18719 #ifdef __cplusplus
18720 extern "C"
18721 #endif
18722 char frexpl ();
18723 int
18724 main ()
18725 {
18726 return frexpl ();
18727   ;
18728   return 0;
18729 }
18730 _ACEOF
18731 if ac_fn_c_try_link "$LINENO"; then :
18732   ac_cv_lib_m_frexpl=yes
18733 else
18734   ac_cv_lib_m_frexpl=no
18735 fi
18736 rm -f core conftest.err conftest.$ac_objext \
18737     conftest$ac_exeext conftest.$ac_ext
18738 LIBS=$ac_check_lib_save_LIBS
18739 fi
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
18741 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
18742 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
18743
18744 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
18745
18746 fi
18747
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
18749 $as_echo_n "checking for hypotf in -lm... " >&6; }
18750 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
18751   $as_echo_n "(cached) " >&6
18752 else
18753   ac_check_lib_save_LIBS=$LIBS
18754 LIBS="-lm  $LIBS"
18755 if test x$gcc_no_link = xyes; then
18756   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18757 fi
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h.  */
18760
18761 /* Override any GCC internal prototype to avoid an error.
18762    Use char because int might match the return type of a GCC
18763    builtin and then its argument prototype would still apply.  */
18764 #ifdef __cplusplus
18765 extern "C"
18766 #endif
18767 char hypotf ();
18768 int
18769 main ()
18770 {
18771 return hypotf ();
18772   ;
18773   return 0;
18774 }
18775 _ACEOF
18776 if ac_fn_c_try_link "$LINENO"; then :
18777   ac_cv_lib_m_hypotf=yes
18778 else
18779   ac_cv_lib_m_hypotf=no
18780 fi
18781 rm -f core conftest.err conftest.$ac_objext \
18782     conftest$ac_exeext conftest.$ac_ext
18783 LIBS=$ac_check_lib_save_LIBS
18784 fi
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
18786 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
18787 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
18788
18789 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
18790
18791 fi
18792
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
18794 $as_echo_n "checking for hypot in -lm... " >&6; }
18795 if test "${ac_cv_lib_m_hypot+set}" = set; then :
18796   $as_echo_n "(cached) " >&6
18797 else
18798   ac_check_lib_save_LIBS=$LIBS
18799 LIBS="-lm  $LIBS"
18800 if test x$gcc_no_link = xyes; then
18801   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18802 fi
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h.  */
18805
18806 /* Override any GCC internal prototype to avoid an error.
18807    Use char because int might match the return type of a GCC
18808    builtin and then its argument prototype would still apply.  */
18809 #ifdef __cplusplus
18810 extern "C"
18811 #endif
18812 char hypot ();
18813 int
18814 main ()
18815 {
18816 return hypot ();
18817   ;
18818   return 0;
18819 }
18820 _ACEOF
18821 if ac_fn_c_try_link "$LINENO"; then :
18822   ac_cv_lib_m_hypot=yes
18823 else
18824   ac_cv_lib_m_hypot=no
18825 fi
18826 rm -f core conftest.err conftest.$ac_objext \
18827     conftest$ac_exeext conftest.$ac_ext
18828 LIBS=$ac_check_lib_save_LIBS
18829 fi
18830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
18831 $as_echo "$ac_cv_lib_m_hypot" >&6; }
18832 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
18833
18834 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
18835
18836 fi
18837
18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
18839 $as_echo_n "checking for hypotl in -lm... " >&6; }
18840 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
18841   $as_echo_n "(cached) " >&6
18842 else
18843   ac_check_lib_save_LIBS=$LIBS
18844 LIBS="-lm  $LIBS"
18845 if test x$gcc_no_link = xyes; then
18846   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18847 fi
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h.  */
18850
18851 /* Override any GCC internal prototype to avoid an error.
18852    Use char because int might match the return type of a GCC
18853    builtin and then its argument prototype would still apply.  */
18854 #ifdef __cplusplus
18855 extern "C"
18856 #endif
18857 char hypotl ();
18858 int
18859 main ()
18860 {
18861 return hypotl ();
18862   ;
18863   return 0;
18864 }
18865 _ACEOF
18866 if ac_fn_c_try_link "$LINENO"; then :
18867   ac_cv_lib_m_hypotl=yes
18868 else
18869   ac_cv_lib_m_hypotl=no
18870 fi
18871 rm -f core conftest.err conftest.$ac_objext \
18872     conftest$ac_exeext conftest.$ac_ext
18873 LIBS=$ac_check_lib_save_LIBS
18874 fi
18875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
18876 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
18877 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
18878
18879 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
18880
18881 fi
18882
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
18884 $as_echo_n "checking for ldexpf in -lm... " >&6; }
18885 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
18886   $as_echo_n "(cached) " >&6
18887 else
18888   ac_check_lib_save_LIBS=$LIBS
18889 LIBS="-lm  $LIBS"
18890 if test x$gcc_no_link = xyes; then
18891   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18892 fi
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h.  */
18895
18896 /* Override any GCC internal prototype to avoid an error.
18897    Use char because int might match the return type of a GCC
18898    builtin and then its argument prototype would still apply.  */
18899 #ifdef __cplusplus
18900 extern "C"
18901 #endif
18902 char ldexpf ();
18903 int
18904 main ()
18905 {
18906 return ldexpf ();
18907   ;
18908   return 0;
18909 }
18910 _ACEOF
18911 if ac_fn_c_try_link "$LINENO"; then :
18912   ac_cv_lib_m_ldexpf=yes
18913 else
18914   ac_cv_lib_m_ldexpf=no
18915 fi
18916 rm -f core conftest.err conftest.$ac_objext \
18917     conftest$ac_exeext conftest.$ac_ext
18918 LIBS=$ac_check_lib_save_LIBS
18919 fi
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
18921 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
18922 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
18923
18924 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
18925
18926 fi
18927
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
18929 $as_echo_n "checking for ldexp in -lm... " >&6; }
18930 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
18931   $as_echo_n "(cached) " >&6
18932 else
18933   ac_check_lib_save_LIBS=$LIBS
18934 LIBS="-lm  $LIBS"
18935 if test x$gcc_no_link = xyes; then
18936   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18937 fi
18938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h.  */
18940
18941 /* Override any GCC internal prototype to avoid an error.
18942    Use char because int might match the return type of a GCC
18943    builtin and then its argument prototype would still apply.  */
18944 #ifdef __cplusplus
18945 extern "C"
18946 #endif
18947 char ldexp ();
18948 int
18949 main ()
18950 {
18951 return ldexp ();
18952   ;
18953   return 0;
18954 }
18955 _ACEOF
18956 if ac_fn_c_try_link "$LINENO"; then :
18957   ac_cv_lib_m_ldexp=yes
18958 else
18959   ac_cv_lib_m_ldexp=no
18960 fi
18961 rm -f core conftest.err conftest.$ac_objext \
18962     conftest$ac_exeext conftest.$ac_ext
18963 LIBS=$ac_check_lib_save_LIBS
18964 fi
18965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
18966 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
18967 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
18968
18969 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
18970
18971 fi
18972
18973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
18974 $as_echo_n "checking for ldexpl in -lm... " >&6; }
18975 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
18976   $as_echo_n "(cached) " >&6
18977 else
18978   ac_check_lib_save_LIBS=$LIBS
18979 LIBS="-lm  $LIBS"
18980 if test x$gcc_no_link = xyes; then
18981   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18982 fi
18983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18984 /* end confdefs.h.  */
18985
18986 /* Override any GCC internal prototype to avoid an error.
18987    Use char because int might match the return type of a GCC
18988    builtin and then its argument prototype would still apply.  */
18989 #ifdef __cplusplus
18990 extern "C"
18991 #endif
18992 char ldexpl ();
18993 int
18994 main ()
18995 {
18996 return ldexpl ();
18997   ;
18998   return 0;
18999 }
19000 _ACEOF
19001 if ac_fn_c_try_link "$LINENO"; then :
19002   ac_cv_lib_m_ldexpl=yes
19003 else
19004   ac_cv_lib_m_ldexpl=no
19005 fi
19006 rm -f core conftest.err conftest.$ac_objext \
19007     conftest$ac_exeext conftest.$ac_ext
19008 LIBS=$ac_check_lib_save_LIBS
19009 fi
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19011 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19012 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19013
19014 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19015
19016 fi
19017
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19019 $as_echo_n "checking for logf in -lm... " >&6; }
19020 if test "${ac_cv_lib_m_logf+set}" = set; then :
19021   $as_echo_n "(cached) " >&6
19022 else
19023   ac_check_lib_save_LIBS=$LIBS
19024 LIBS="-lm  $LIBS"
19025 if test x$gcc_no_link = xyes; then
19026   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19027 fi
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h.  */
19030
19031 /* Override any GCC internal prototype to avoid an error.
19032    Use char because int might match the return type of a GCC
19033    builtin and then its argument prototype would still apply.  */
19034 #ifdef __cplusplus
19035 extern "C"
19036 #endif
19037 char logf ();
19038 int
19039 main ()
19040 {
19041 return logf ();
19042   ;
19043   return 0;
19044 }
19045 _ACEOF
19046 if ac_fn_c_try_link "$LINENO"; then :
19047   ac_cv_lib_m_logf=yes
19048 else
19049   ac_cv_lib_m_logf=no
19050 fi
19051 rm -f core conftest.err conftest.$ac_objext \
19052     conftest$ac_exeext conftest.$ac_ext
19053 LIBS=$ac_check_lib_save_LIBS
19054 fi
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19056 $as_echo "$ac_cv_lib_m_logf" >&6; }
19057 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19058
19059 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19060
19061 fi
19062
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19064 $as_echo_n "checking for log in -lm... " >&6; }
19065 if test "${ac_cv_lib_m_log+set}" = set; then :
19066   $as_echo_n "(cached) " >&6
19067 else
19068   ac_check_lib_save_LIBS=$LIBS
19069 LIBS="-lm  $LIBS"
19070 if test x$gcc_no_link = xyes; then
19071   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19072 fi
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h.  */
19075
19076 /* Override any GCC internal prototype to avoid an error.
19077    Use char because int might match the return type of a GCC
19078    builtin and then its argument prototype would still apply.  */
19079 #ifdef __cplusplus
19080 extern "C"
19081 #endif
19082 char log ();
19083 int
19084 main ()
19085 {
19086 return log ();
19087   ;
19088   return 0;
19089 }
19090 _ACEOF
19091 if ac_fn_c_try_link "$LINENO"; then :
19092   ac_cv_lib_m_log=yes
19093 else
19094   ac_cv_lib_m_log=no
19095 fi
19096 rm -f core conftest.err conftest.$ac_objext \
19097     conftest$ac_exeext conftest.$ac_ext
19098 LIBS=$ac_check_lib_save_LIBS
19099 fi
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19101 $as_echo "$ac_cv_lib_m_log" >&6; }
19102 if test "x$ac_cv_lib_m_log" = x""yes; then :
19103
19104 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19105
19106 fi
19107
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19109 $as_echo_n "checking for logl in -lm... " >&6; }
19110 if test "${ac_cv_lib_m_logl+set}" = set; then :
19111   $as_echo_n "(cached) " >&6
19112 else
19113   ac_check_lib_save_LIBS=$LIBS
19114 LIBS="-lm  $LIBS"
19115 if test x$gcc_no_link = xyes; then
19116   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19117 fi
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h.  */
19120
19121 /* Override any GCC internal prototype to avoid an error.
19122    Use char because int might match the return type of a GCC
19123    builtin and then its argument prototype would still apply.  */
19124 #ifdef __cplusplus
19125 extern "C"
19126 #endif
19127 char logl ();
19128 int
19129 main ()
19130 {
19131 return logl ();
19132   ;
19133   return 0;
19134 }
19135 _ACEOF
19136 if ac_fn_c_try_link "$LINENO"; then :
19137   ac_cv_lib_m_logl=yes
19138 else
19139   ac_cv_lib_m_logl=no
19140 fi
19141 rm -f core conftest.err conftest.$ac_objext \
19142     conftest$ac_exeext conftest.$ac_ext
19143 LIBS=$ac_check_lib_save_LIBS
19144 fi
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19146 $as_echo "$ac_cv_lib_m_logl" >&6; }
19147 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19148
19149 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19150
19151 fi
19152
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19154 $as_echo_n "checking for clogf in -lm... " >&6; }
19155 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19156   $as_echo_n "(cached) " >&6
19157 else
19158   ac_check_lib_save_LIBS=$LIBS
19159 LIBS="-lm  $LIBS"
19160 if test x$gcc_no_link = xyes; then
19161   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19162 fi
19163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19164 /* end confdefs.h.  */
19165
19166 /* Override any GCC internal prototype to avoid an error.
19167    Use char because int might match the return type of a GCC
19168    builtin and then its argument prototype would still apply.  */
19169 #ifdef __cplusplus
19170 extern "C"
19171 #endif
19172 char clogf ();
19173 int
19174 main ()
19175 {
19176 return clogf ();
19177   ;
19178   return 0;
19179 }
19180 _ACEOF
19181 if ac_fn_c_try_link "$LINENO"; then :
19182   ac_cv_lib_m_clogf=yes
19183 else
19184   ac_cv_lib_m_clogf=no
19185 fi
19186 rm -f core conftest.err conftest.$ac_objext \
19187     conftest$ac_exeext conftest.$ac_ext
19188 LIBS=$ac_check_lib_save_LIBS
19189 fi
19190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19191 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19192 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19193
19194 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19195
19196 fi
19197
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19199 $as_echo_n "checking for clog in -lm... " >&6; }
19200 if test "${ac_cv_lib_m_clog+set}" = set; then :
19201   $as_echo_n "(cached) " >&6
19202 else
19203   ac_check_lib_save_LIBS=$LIBS
19204 LIBS="-lm  $LIBS"
19205 if test x$gcc_no_link = xyes; then
19206   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19207 fi
19208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h.  */
19210
19211 /* Override any GCC internal prototype to avoid an error.
19212    Use char because int might match the return type of a GCC
19213    builtin and then its argument prototype would still apply.  */
19214 #ifdef __cplusplus
19215 extern "C"
19216 #endif
19217 char clog ();
19218 int
19219 main ()
19220 {
19221 return clog ();
19222   ;
19223   return 0;
19224 }
19225 _ACEOF
19226 if ac_fn_c_try_link "$LINENO"; then :
19227   ac_cv_lib_m_clog=yes
19228 else
19229   ac_cv_lib_m_clog=no
19230 fi
19231 rm -f core conftest.err conftest.$ac_objext \
19232     conftest$ac_exeext conftest.$ac_ext
19233 LIBS=$ac_check_lib_save_LIBS
19234 fi
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19236 $as_echo "$ac_cv_lib_m_clog" >&6; }
19237 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19238
19239 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19240
19241 fi
19242
19243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19244 $as_echo_n "checking for clogl in -lm... " >&6; }
19245 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19246   $as_echo_n "(cached) " >&6
19247 else
19248   ac_check_lib_save_LIBS=$LIBS
19249 LIBS="-lm  $LIBS"
19250 if test x$gcc_no_link = xyes; then
19251   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19252 fi
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h.  */
19255
19256 /* Override any GCC internal prototype to avoid an error.
19257    Use char because int might match the return type of a GCC
19258    builtin and then its argument prototype would still apply.  */
19259 #ifdef __cplusplus
19260 extern "C"
19261 #endif
19262 char clogl ();
19263 int
19264 main ()
19265 {
19266 return clogl ();
19267   ;
19268   return 0;
19269 }
19270 _ACEOF
19271 if ac_fn_c_try_link "$LINENO"; then :
19272   ac_cv_lib_m_clogl=yes
19273 else
19274   ac_cv_lib_m_clogl=no
19275 fi
19276 rm -f core conftest.err conftest.$ac_objext \
19277     conftest$ac_exeext conftest.$ac_ext
19278 LIBS=$ac_check_lib_save_LIBS
19279 fi
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19281 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19282 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19283
19284 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19285
19286 fi
19287
19288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19289 $as_echo_n "checking for log10f in -lm... " >&6; }
19290 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19291   $as_echo_n "(cached) " >&6
19292 else
19293   ac_check_lib_save_LIBS=$LIBS
19294 LIBS="-lm  $LIBS"
19295 if test x$gcc_no_link = xyes; then
19296   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19297 fi
19298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19299 /* end confdefs.h.  */
19300
19301 /* Override any GCC internal prototype to avoid an error.
19302    Use char because int might match the return type of a GCC
19303    builtin and then its argument prototype would still apply.  */
19304 #ifdef __cplusplus
19305 extern "C"
19306 #endif
19307 char log10f ();
19308 int
19309 main ()
19310 {
19311 return log10f ();
19312   ;
19313   return 0;
19314 }
19315 _ACEOF
19316 if ac_fn_c_try_link "$LINENO"; then :
19317   ac_cv_lib_m_log10f=yes
19318 else
19319   ac_cv_lib_m_log10f=no
19320 fi
19321 rm -f core conftest.err conftest.$ac_objext \
19322     conftest$ac_exeext conftest.$ac_ext
19323 LIBS=$ac_check_lib_save_LIBS
19324 fi
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19326 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19327 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19328
19329 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19330
19331 fi
19332
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19334 $as_echo_n "checking for log10 in -lm... " >&6; }
19335 if test "${ac_cv_lib_m_log10+set}" = set; then :
19336   $as_echo_n "(cached) " >&6
19337 else
19338   ac_check_lib_save_LIBS=$LIBS
19339 LIBS="-lm  $LIBS"
19340 if test x$gcc_no_link = xyes; then
19341   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19342 fi
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h.  */
19345
19346 /* Override any GCC internal prototype to avoid an error.
19347    Use char because int might match the return type of a GCC
19348    builtin and then its argument prototype would still apply.  */
19349 #ifdef __cplusplus
19350 extern "C"
19351 #endif
19352 char log10 ();
19353 int
19354 main ()
19355 {
19356 return log10 ();
19357   ;
19358   return 0;
19359 }
19360 _ACEOF
19361 if ac_fn_c_try_link "$LINENO"; then :
19362   ac_cv_lib_m_log10=yes
19363 else
19364   ac_cv_lib_m_log10=no
19365 fi
19366 rm -f core conftest.err conftest.$ac_objext \
19367     conftest$ac_exeext conftest.$ac_ext
19368 LIBS=$ac_check_lib_save_LIBS
19369 fi
19370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19371 $as_echo "$ac_cv_lib_m_log10" >&6; }
19372 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19373
19374 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19375
19376 fi
19377
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
19379 $as_echo_n "checking for log10l in -lm... " >&6; }
19380 if test "${ac_cv_lib_m_log10l+set}" = set; then :
19381   $as_echo_n "(cached) " >&6
19382 else
19383   ac_check_lib_save_LIBS=$LIBS
19384 LIBS="-lm  $LIBS"
19385 if test x$gcc_no_link = xyes; then
19386   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19387 fi
19388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19389 /* end confdefs.h.  */
19390
19391 /* Override any GCC internal prototype to avoid an error.
19392    Use char because int might match the return type of a GCC
19393    builtin and then its argument prototype would still apply.  */
19394 #ifdef __cplusplus
19395 extern "C"
19396 #endif
19397 char log10l ();
19398 int
19399 main ()
19400 {
19401 return log10l ();
19402   ;
19403   return 0;
19404 }
19405 _ACEOF
19406 if ac_fn_c_try_link "$LINENO"; then :
19407   ac_cv_lib_m_log10l=yes
19408 else
19409   ac_cv_lib_m_log10l=no
19410 fi
19411 rm -f core conftest.err conftest.$ac_objext \
19412     conftest$ac_exeext conftest.$ac_ext
19413 LIBS=$ac_check_lib_save_LIBS
19414 fi
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
19416 $as_echo "$ac_cv_lib_m_log10l" >&6; }
19417 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
19418
19419 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
19420
19421 fi
19422
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
19424 $as_echo_n "checking for clog10f in -lm... " >&6; }
19425 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
19426   $as_echo_n "(cached) " >&6
19427 else
19428   ac_check_lib_save_LIBS=$LIBS
19429 LIBS="-lm  $LIBS"
19430 if test x$gcc_no_link = xyes; then
19431   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19432 fi
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h.  */
19435
19436 /* Override any GCC internal prototype to avoid an error.
19437    Use char because int might match the return type of a GCC
19438    builtin and then its argument prototype would still apply.  */
19439 #ifdef __cplusplus
19440 extern "C"
19441 #endif
19442 char clog10f ();
19443 int
19444 main ()
19445 {
19446 return clog10f ();
19447   ;
19448   return 0;
19449 }
19450 _ACEOF
19451 if ac_fn_c_try_link "$LINENO"; then :
19452   ac_cv_lib_m_clog10f=yes
19453 else
19454   ac_cv_lib_m_clog10f=no
19455 fi
19456 rm -f core conftest.err conftest.$ac_objext \
19457     conftest$ac_exeext conftest.$ac_ext
19458 LIBS=$ac_check_lib_save_LIBS
19459 fi
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
19461 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
19462 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
19463
19464 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
19465
19466 fi
19467
19468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
19469 $as_echo_n "checking for clog10 in -lm... " >&6; }
19470 if test "${ac_cv_lib_m_clog10+set}" = set; then :
19471   $as_echo_n "(cached) " >&6
19472 else
19473   ac_check_lib_save_LIBS=$LIBS
19474 LIBS="-lm  $LIBS"
19475 if test x$gcc_no_link = xyes; then
19476   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19477 fi
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h.  */
19480
19481 /* Override any GCC internal prototype to avoid an error.
19482    Use char because int might match the return type of a GCC
19483    builtin and then its argument prototype would still apply.  */
19484 #ifdef __cplusplus
19485 extern "C"
19486 #endif
19487 char clog10 ();
19488 int
19489 main ()
19490 {
19491 return clog10 ();
19492   ;
19493   return 0;
19494 }
19495 _ACEOF
19496 if ac_fn_c_try_link "$LINENO"; then :
19497   ac_cv_lib_m_clog10=yes
19498 else
19499   ac_cv_lib_m_clog10=no
19500 fi
19501 rm -f core conftest.err conftest.$ac_objext \
19502     conftest$ac_exeext conftest.$ac_ext
19503 LIBS=$ac_check_lib_save_LIBS
19504 fi
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
19506 $as_echo "$ac_cv_lib_m_clog10" >&6; }
19507 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
19508
19509 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
19510
19511 fi
19512
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
19514 $as_echo_n "checking for clog10l in -lm... " >&6; }
19515 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
19516   $as_echo_n "(cached) " >&6
19517 else
19518   ac_check_lib_save_LIBS=$LIBS
19519 LIBS="-lm  $LIBS"
19520 if test x$gcc_no_link = xyes; then
19521   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19522 fi
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h.  */
19525
19526 /* Override any GCC internal prototype to avoid an error.
19527    Use char because int might match the return type of a GCC
19528    builtin and then its argument prototype would still apply.  */
19529 #ifdef __cplusplus
19530 extern "C"
19531 #endif
19532 char clog10l ();
19533 int
19534 main ()
19535 {
19536 return clog10l ();
19537   ;
19538   return 0;
19539 }
19540 _ACEOF
19541 if ac_fn_c_try_link "$LINENO"; then :
19542   ac_cv_lib_m_clog10l=yes
19543 else
19544   ac_cv_lib_m_clog10l=no
19545 fi
19546 rm -f core conftest.err conftest.$ac_objext \
19547     conftest$ac_exeext conftest.$ac_ext
19548 LIBS=$ac_check_lib_save_LIBS
19549 fi
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
19551 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
19552 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
19553
19554 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
19555
19556 fi
19557
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
19559 $as_echo_n "checking for nextafterf in -lm... " >&6; }
19560 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
19561   $as_echo_n "(cached) " >&6
19562 else
19563   ac_check_lib_save_LIBS=$LIBS
19564 LIBS="-lm  $LIBS"
19565 if test x$gcc_no_link = xyes; then
19566   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19567 fi
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h.  */
19570
19571 /* Override any GCC internal prototype to avoid an error.
19572    Use char because int might match the return type of a GCC
19573    builtin and then its argument prototype would still apply.  */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nextafterf ();
19578 int
19579 main ()
19580 {
19581 return nextafterf ();
19582   ;
19583   return 0;
19584 }
19585 _ACEOF
19586 if ac_fn_c_try_link "$LINENO"; then :
19587   ac_cv_lib_m_nextafterf=yes
19588 else
19589   ac_cv_lib_m_nextafterf=no
19590 fi
19591 rm -f core conftest.err conftest.$ac_objext \
19592     conftest$ac_exeext conftest.$ac_ext
19593 LIBS=$ac_check_lib_save_LIBS
19594 fi
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
19596 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
19597 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
19598
19599 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
19600
19601 fi
19602
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
19604 $as_echo_n "checking for nextafter in -lm... " >&6; }
19605 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
19606   $as_echo_n "(cached) " >&6
19607 else
19608   ac_check_lib_save_LIBS=$LIBS
19609 LIBS="-lm  $LIBS"
19610 if test x$gcc_no_link = xyes; then
19611   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19612 fi
19613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h.  */
19615
19616 /* Override any GCC internal prototype to avoid an error.
19617    Use char because int might match the return type of a GCC
19618    builtin and then its argument prototype would still apply.  */
19619 #ifdef __cplusplus
19620 extern "C"
19621 #endif
19622 char nextafter ();
19623 int
19624 main ()
19625 {
19626 return nextafter ();
19627   ;
19628   return 0;
19629 }
19630 _ACEOF
19631 if ac_fn_c_try_link "$LINENO"; then :
19632   ac_cv_lib_m_nextafter=yes
19633 else
19634   ac_cv_lib_m_nextafter=no
19635 fi
19636 rm -f core conftest.err conftest.$ac_objext \
19637     conftest$ac_exeext conftest.$ac_ext
19638 LIBS=$ac_check_lib_save_LIBS
19639 fi
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
19641 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
19642 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
19643
19644 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
19645
19646 fi
19647
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
19649 $as_echo_n "checking for nextafterl in -lm... " >&6; }
19650 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
19651   $as_echo_n "(cached) " >&6
19652 else
19653   ac_check_lib_save_LIBS=$LIBS
19654 LIBS="-lm  $LIBS"
19655 if test x$gcc_no_link = xyes; then
19656   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19657 fi
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h.  */
19660
19661 /* Override any GCC internal prototype to avoid an error.
19662    Use char because int might match the return type of a GCC
19663    builtin and then its argument prototype would still apply.  */
19664 #ifdef __cplusplus
19665 extern "C"
19666 #endif
19667 char nextafterl ();
19668 int
19669 main ()
19670 {
19671 return nextafterl ();
19672   ;
19673   return 0;
19674 }
19675 _ACEOF
19676 if ac_fn_c_try_link "$LINENO"; then :
19677   ac_cv_lib_m_nextafterl=yes
19678 else
19679   ac_cv_lib_m_nextafterl=no
19680 fi
19681 rm -f core conftest.err conftest.$ac_objext \
19682     conftest$ac_exeext conftest.$ac_ext
19683 LIBS=$ac_check_lib_save_LIBS
19684 fi
19685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
19686 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
19687 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
19688
19689 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
19690
19691 fi
19692
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
19694 $as_echo_n "checking for powf in -lm... " >&6; }
19695 if test "${ac_cv_lib_m_powf+set}" = set; then :
19696   $as_echo_n "(cached) " >&6
19697 else
19698   ac_check_lib_save_LIBS=$LIBS
19699 LIBS="-lm  $LIBS"
19700 if test x$gcc_no_link = xyes; then
19701   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19702 fi
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h.  */
19705
19706 /* Override any GCC internal prototype to avoid an error.
19707    Use char because int might match the return type of a GCC
19708    builtin and then its argument prototype would still apply.  */
19709 #ifdef __cplusplus
19710 extern "C"
19711 #endif
19712 char powf ();
19713 int
19714 main ()
19715 {
19716 return powf ();
19717   ;
19718   return 0;
19719 }
19720 _ACEOF
19721 if ac_fn_c_try_link "$LINENO"; then :
19722   ac_cv_lib_m_powf=yes
19723 else
19724   ac_cv_lib_m_powf=no
19725 fi
19726 rm -f core conftest.err conftest.$ac_objext \
19727     conftest$ac_exeext conftest.$ac_ext
19728 LIBS=$ac_check_lib_save_LIBS
19729 fi
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
19731 $as_echo "$ac_cv_lib_m_powf" >&6; }
19732 if test "x$ac_cv_lib_m_powf" = x""yes; then :
19733
19734 $as_echo "#define HAVE_POWF 1" >>confdefs.h
19735
19736 fi
19737
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
19739 $as_echo_n "checking for pow in -lm... " >&6; }
19740 if test "${ac_cv_lib_m_pow+set}" = set; then :
19741   $as_echo_n "(cached) " >&6
19742 else
19743   ac_check_lib_save_LIBS=$LIBS
19744 LIBS="-lm  $LIBS"
19745 if test x$gcc_no_link = xyes; then
19746   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19747 fi
19748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19749 /* end confdefs.h.  */
19750
19751 /* Override any GCC internal prototype to avoid an error.
19752    Use char because int might match the return type of a GCC
19753    builtin and then its argument prototype would still apply.  */
19754 #ifdef __cplusplus
19755 extern "C"
19756 #endif
19757 char pow ();
19758 int
19759 main ()
19760 {
19761 return pow ();
19762   ;
19763   return 0;
19764 }
19765 _ACEOF
19766 if ac_fn_c_try_link "$LINENO"; then :
19767   ac_cv_lib_m_pow=yes
19768 else
19769   ac_cv_lib_m_pow=no
19770 fi
19771 rm -f core conftest.err conftest.$ac_objext \
19772     conftest$ac_exeext conftest.$ac_ext
19773 LIBS=$ac_check_lib_save_LIBS
19774 fi
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
19776 $as_echo "$ac_cv_lib_m_pow" >&6; }
19777 if test "x$ac_cv_lib_m_pow" = x""yes; then :
19778
19779 $as_echo "#define HAVE_POW 1" >>confdefs.h
19780
19781 fi
19782
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
19784 $as_echo_n "checking for powl in -lm... " >&6; }
19785 if test "${ac_cv_lib_m_powl+set}" = set; then :
19786   $as_echo_n "(cached) " >&6
19787 else
19788   ac_check_lib_save_LIBS=$LIBS
19789 LIBS="-lm  $LIBS"
19790 if test x$gcc_no_link = xyes; then
19791   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19792 fi
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h.  */
19795
19796 /* Override any GCC internal prototype to avoid an error.
19797    Use char because int might match the return type of a GCC
19798    builtin and then its argument prototype would still apply.  */
19799 #ifdef __cplusplus
19800 extern "C"
19801 #endif
19802 char powl ();
19803 int
19804 main ()
19805 {
19806 return powl ();
19807   ;
19808   return 0;
19809 }
19810 _ACEOF
19811 if ac_fn_c_try_link "$LINENO"; then :
19812   ac_cv_lib_m_powl=yes
19813 else
19814   ac_cv_lib_m_powl=no
19815 fi
19816 rm -f core conftest.err conftest.$ac_objext \
19817     conftest$ac_exeext conftest.$ac_ext
19818 LIBS=$ac_check_lib_save_LIBS
19819 fi
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
19821 $as_echo "$ac_cv_lib_m_powl" >&6; }
19822 if test "x$ac_cv_lib_m_powl" = x""yes; then :
19823
19824 $as_echo "#define HAVE_POWL 1" >>confdefs.h
19825
19826 fi
19827
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
19829 $as_echo_n "checking for cpowf in -lm... " >&6; }
19830 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
19831   $as_echo_n "(cached) " >&6
19832 else
19833   ac_check_lib_save_LIBS=$LIBS
19834 LIBS="-lm  $LIBS"
19835 if test x$gcc_no_link = xyes; then
19836   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19837 fi
19838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19839 /* end confdefs.h.  */
19840
19841 /* Override any GCC internal prototype to avoid an error.
19842    Use char because int might match the return type of a GCC
19843    builtin and then its argument prototype would still apply.  */
19844 #ifdef __cplusplus
19845 extern "C"
19846 #endif
19847 char cpowf ();
19848 int
19849 main ()
19850 {
19851 return cpowf ();
19852   ;
19853   return 0;
19854 }
19855 _ACEOF
19856 if ac_fn_c_try_link "$LINENO"; then :
19857   ac_cv_lib_m_cpowf=yes
19858 else
19859   ac_cv_lib_m_cpowf=no
19860 fi
19861 rm -f core conftest.err conftest.$ac_objext \
19862     conftest$ac_exeext conftest.$ac_ext
19863 LIBS=$ac_check_lib_save_LIBS
19864 fi
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
19866 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
19867 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
19868
19869 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
19870
19871 fi
19872
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
19874 $as_echo_n "checking for cpow in -lm... " >&6; }
19875 if test "${ac_cv_lib_m_cpow+set}" = set; then :
19876   $as_echo_n "(cached) " >&6
19877 else
19878   ac_check_lib_save_LIBS=$LIBS
19879 LIBS="-lm  $LIBS"
19880 if test x$gcc_no_link = xyes; then
19881   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19882 fi
19883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19884 /* end confdefs.h.  */
19885
19886 /* Override any GCC internal prototype to avoid an error.
19887    Use char because int might match the return type of a GCC
19888    builtin and then its argument prototype would still apply.  */
19889 #ifdef __cplusplus
19890 extern "C"
19891 #endif
19892 char cpow ();
19893 int
19894 main ()
19895 {
19896 return cpow ();
19897   ;
19898   return 0;
19899 }
19900 _ACEOF
19901 if ac_fn_c_try_link "$LINENO"; then :
19902   ac_cv_lib_m_cpow=yes
19903 else
19904   ac_cv_lib_m_cpow=no
19905 fi
19906 rm -f core conftest.err conftest.$ac_objext \
19907     conftest$ac_exeext conftest.$ac_ext
19908 LIBS=$ac_check_lib_save_LIBS
19909 fi
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
19911 $as_echo "$ac_cv_lib_m_cpow" >&6; }
19912 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
19913
19914 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
19915
19916 fi
19917
19918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
19919 $as_echo_n "checking for cpowl in -lm... " >&6; }
19920 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
19921   $as_echo_n "(cached) " >&6
19922 else
19923   ac_check_lib_save_LIBS=$LIBS
19924 LIBS="-lm  $LIBS"
19925 if test x$gcc_no_link = xyes; then
19926   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19927 fi
19928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929 /* end confdefs.h.  */
19930
19931 /* Override any GCC internal prototype to avoid an error.
19932    Use char because int might match the return type of a GCC
19933    builtin and then its argument prototype would still apply.  */
19934 #ifdef __cplusplus
19935 extern "C"
19936 #endif
19937 char cpowl ();
19938 int
19939 main ()
19940 {
19941 return cpowl ();
19942   ;
19943   return 0;
19944 }
19945 _ACEOF
19946 if ac_fn_c_try_link "$LINENO"; then :
19947   ac_cv_lib_m_cpowl=yes
19948 else
19949   ac_cv_lib_m_cpowl=no
19950 fi
19951 rm -f core conftest.err conftest.$ac_objext \
19952     conftest$ac_exeext conftest.$ac_ext
19953 LIBS=$ac_check_lib_save_LIBS
19954 fi
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
19956 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
19957 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
19958
19959 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
19960
19961 fi
19962
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
19964 $as_echo_n "checking for roundf in -lm... " >&6; }
19965 if test "${ac_cv_lib_m_roundf+set}" = set; then :
19966   $as_echo_n "(cached) " >&6
19967 else
19968   ac_check_lib_save_LIBS=$LIBS
19969 LIBS="-lm  $LIBS"
19970 if test x$gcc_no_link = xyes; then
19971   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19972 fi
19973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19974 /* end confdefs.h.  */
19975
19976 /* Override any GCC internal prototype to avoid an error.
19977    Use char because int might match the return type of a GCC
19978    builtin and then its argument prototype would still apply.  */
19979 #ifdef __cplusplus
19980 extern "C"
19981 #endif
19982 char roundf ();
19983 int
19984 main ()
19985 {
19986 return roundf ();
19987   ;
19988   return 0;
19989 }
19990 _ACEOF
19991 if ac_fn_c_try_link "$LINENO"; then :
19992   ac_cv_lib_m_roundf=yes
19993 else
19994   ac_cv_lib_m_roundf=no
19995 fi
19996 rm -f core conftest.err conftest.$ac_objext \
19997     conftest$ac_exeext conftest.$ac_ext
19998 LIBS=$ac_check_lib_save_LIBS
19999 fi
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20001 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20002 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20003
20004 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20005
20006 fi
20007
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20009 $as_echo_n "checking for round in -lm... " >&6; }
20010 if test "${ac_cv_lib_m_round+set}" = set; then :
20011   $as_echo_n "(cached) " >&6
20012 else
20013   ac_check_lib_save_LIBS=$LIBS
20014 LIBS="-lm  $LIBS"
20015 if test x$gcc_no_link = xyes; then
20016   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20017 fi
20018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20019 /* end confdefs.h.  */
20020
20021 /* Override any GCC internal prototype to avoid an error.
20022    Use char because int might match the return type of a GCC
20023    builtin and then its argument prototype would still apply.  */
20024 #ifdef __cplusplus
20025 extern "C"
20026 #endif
20027 char round ();
20028 int
20029 main ()
20030 {
20031 return round ();
20032   ;
20033   return 0;
20034 }
20035 _ACEOF
20036 if ac_fn_c_try_link "$LINENO"; then :
20037   ac_cv_lib_m_round=yes
20038 else
20039   ac_cv_lib_m_round=no
20040 fi
20041 rm -f core conftest.err conftest.$ac_objext \
20042     conftest$ac_exeext conftest.$ac_ext
20043 LIBS=$ac_check_lib_save_LIBS
20044 fi
20045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20046 $as_echo "$ac_cv_lib_m_round" >&6; }
20047 if test "x$ac_cv_lib_m_round" = x""yes; then :
20048
20049 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20050
20051 fi
20052
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20054 $as_echo_n "checking for roundl in -lm... " >&6; }
20055 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20056   $as_echo_n "(cached) " >&6
20057 else
20058   ac_check_lib_save_LIBS=$LIBS
20059 LIBS="-lm  $LIBS"
20060 if test x$gcc_no_link = xyes; then
20061   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20062 fi
20063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20064 /* end confdefs.h.  */
20065
20066 /* Override any GCC internal prototype to avoid an error.
20067    Use char because int might match the return type of a GCC
20068    builtin and then its argument prototype would still apply.  */
20069 #ifdef __cplusplus
20070 extern "C"
20071 #endif
20072 char roundl ();
20073 int
20074 main ()
20075 {
20076 return roundl ();
20077   ;
20078   return 0;
20079 }
20080 _ACEOF
20081 if ac_fn_c_try_link "$LINENO"; then :
20082   ac_cv_lib_m_roundl=yes
20083 else
20084   ac_cv_lib_m_roundl=no
20085 fi
20086 rm -f core conftest.err conftest.$ac_objext \
20087     conftest$ac_exeext conftest.$ac_ext
20088 LIBS=$ac_check_lib_save_LIBS
20089 fi
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20091 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20092 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20093
20094 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20095
20096 fi
20097
20098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20099 $as_echo_n "checking for lroundf in -lm... " >&6; }
20100 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20101   $as_echo_n "(cached) " >&6
20102 else
20103   ac_check_lib_save_LIBS=$LIBS
20104 LIBS="-lm  $LIBS"
20105 if test x$gcc_no_link = xyes; then
20106   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20107 fi
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h.  */
20110
20111 /* Override any GCC internal prototype to avoid an error.
20112    Use char because int might match the return type of a GCC
20113    builtin and then its argument prototype would still apply.  */
20114 #ifdef __cplusplus
20115 extern "C"
20116 #endif
20117 char lroundf ();
20118 int
20119 main ()
20120 {
20121 return lroundf ();
20122   ;
20123   return 0;
20124 }
20125 _ACEOF
20126 if ac_fn_c_try_link "$LINENO"; then :
20127   ac_cv_lib_m_lroundf=yes
20128 else
20129   ac_cv_lib_m_lroundf=no
20130 fi
20131 rm -f core conftest.err conftest.$ac_objext \
20132     conftest$ac_exeext conftest.$ac_ext
20133 LIBS=$ac_check_lib_save_LIBS
20134 fi
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20136 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20137 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20138
20139 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20140
20141 fi
20142
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20144 $as_echo_n "checking for lround in -lm... " >&6; }
20145 if test "${ac_cv_lib_m_lround+set}" = set; then :
20146   $as_echo_n "(cached) " >&6
20147 else
20148   ac_check_lib_save_LIBS=$LIBS
20149 LIBS="-lm  $LIBS"
20150 if test x$gcc_no_link = xyes; then
20151   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20152 fi
20153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20154 /* end confdefs.h.  */
20155
20156 /* Override any GCC internal prototype to avoid an error.
20157    Use char because int might match the return type of a GCC
20158    builtin and then its argument prototype would still apply.  */
20159 #ifdef __cplusplus
20160 extern "C"
20161 #endif
20162 char lround ();
20163 int
20164 main ()
20165 {
20166 return lround ();
20167   ;
20168   return 0;
20169 }
20170 _ACEOF
20171 if ac_fn_c_try_link "$LINENO"; then :
20172   ac_cv_lib_m_lround=yes
20173 else
20174   ac_cv_lib_m_lround=no
20175 fi
20176 rm -f core conftest.err conftest.$ac_objext \
20177     conftest$ac_exeext conftest.$ac_ext
20178 LIBS=$ac_check_lib_save_LIBS
20179 fi
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20181 $as_echo "$ac_cv_lib_m_lround" >&6; }
20182 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20183
20184 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20185
20186 fi
20187
20188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20189 $as_echo_n "checking for lroundl in -lm... " >&6; }
20190 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20191   $as_echo_n "(cached) " >&6
20192 else
20193   ac_check_lib_save_LIBS=$LIBS
20194 LIBS="-lm  $LIBS"
20195 if test x$gcc_no_link = xyes; then
20196   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 fi
20198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20199 /* end confdefs.h.  */
20200
20201 /* Override any GCC internal prototype to avoid an error.
20202    Use char because int might match the return type of a GCC
20203    builtin and then its argument prototype would still apply.  */
20204 #ifdef __cplusplus
20205 extern "C"
20206 #endif
20207 char lroundl ();
20208 int
20209 main ()
20210 {
20211 return lroundl ();
20212   ;
20213   return 0;
20214 }
20215 _ACEOF
20216 if ac_fn_c_try_link "$LINENO"; then :
20217   ac_cv_lib_m_lroundl=yes
20218 else
20219   ac_cv_lib_m_lroundl=no
20220 fi
20221 rm -f core conftest.err conftest.$ac_objext \
20222     conftest$ac_exeext conftest.$ac_ext
20223 LIBS=$ac_check_lib_save_LIBS
20224 fi
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20226 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20227 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20228
20229 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20230
20231 fi
20232
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20234 $as_echo_n "checking for llroundf in -lm... " >&6; }
20235 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20236   $as_echo_n "(cached) " >&6
20237 else
20238   ac_check_lib_save_LIBS=$LIBS
20239 LIBS="-lm  $LIBS"
20240 if test x$gcc_no_link = xyes; then
20241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20242 fi
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h.  */
20245
20246 /* Override any GCC internal prototype to avoid an error.
20247    Use char because int might match the return type of a GCC
20248    builtin and then its argument prototype would still apply.  */
20249 #ifdef __cplusplus
20250 extern "C"
20251 #endif
20252 char llroundf ();
20253 int
20254 main ()
20255 {
20256 return llroundf ();
20257   ;
20258   return 0;
20259 }
20260 _ACEOF
20261 if ac_fn_c_try_link "$LINENO"; then :
20262   ac_cv_lib_m_llroundf=yes
20263 else
20264   ac_cv_lib_m_llroundf=no
20265 fi
20266 rm -f core conftest.err conftest.$ac_objext \
20267     conftest$ac_exeext conftest.$ac_ext
20268 LIBS=$ac_check_lib_save_LIBS
20269 fi
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20271 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20272 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20273
20274 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20275
20276 fi
20277
20278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20279 $as_echo_n "checking for llround in -lm... " >&6; }
20280 if test "${ac_cv_lib_m_llround+set}" = set; then :
20281   $as_echo_n "(cached) " >&6
20282 else
20283   ac_check_lib_save_LIBS=$LIBS
20284 LIBS="-lm  $LIBS"
20285 if test x$gcc_no_link = xyes; then
20286   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20287 fi
20288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20289 /* end confdefs.h.  */
20290
20291 /* Override any GCC internal prototype to avoid an error.
20292    Use char because int might match the return type of a GCC
20293    builtin and then its argument prototype would still apply.  */
20294 #ifdef __cplusplus
20295 extern "C"
20296 #endif
20297 char llround ();
20298 int
20299 main ()
20300 {
20301 return llround ();
20302   ;
20303   return 0;
20304 }
20305 _ACEOF
20306 if ac_fn_c_try_link "$LINENO"; then :
20307   ac_cv_lib_m_llround=yes
20308 else
20309   ac_cv_lib_m_llround=no
20310 fi
20311 rm -f core conftest.err conftest.$ac_objext \
20312     conftest$ac_exeext conftest.$ac_ext
20313 LIBS=$ac_check_lib_save_LIBS
20314 fi
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20316 $as_echo "$ac_cv_lib_m_llround" >&6; }
20317 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20318
20319 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20320
20321 fi
20322
20323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20324 $as_echo_n "checking for llroundl in -lm... " >&6; }
20325 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20326   $as_echo_n "(cached) " >&6
20327 else
20328   ac_check_lib_save_LIBS=$LIBS
20329 LIBS="-lm  $LIBS"
20330 if test x$gcc_no_link = xyes; then
20331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20332 fi
20333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20334 /* end confdefs.h.  */
20335
20336 /* Override any GCC internal prototype to avoid an error.
20337    Use char because int might match the return type of a GCC
20338    builtin and then its argument prototype would still apply.  */
20339 #ifdef __cplusplus
20340 extern "C"
20341 #endif
20342 char llroundl ();
20343 int
20344 main ()
20345 {
20346 return llroundl ();
20347   ;
20348   return 0;
20349 }
20350 _ACEOF
20351 if ac_fn_c_try_link "$LINENO"; then :
20352   ac_cv_lib_m_llroundl=yes
20353 else
20354   ac_cv_lib_m_llroundl=no
20355 fi
20356 rm -f core conftest.err conftest.$ac_objext \
20357     conftest$ac_exeext conftest.$ac_ext
20358 LIBS=$ac_check_lib_save_LIBS
20359 fi
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20361 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20362 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20363
20364 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20365
20366 fi
20367
20368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20369 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20370 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20371   $as_echo_n "(cached) " >&6
20372 else
20373   ac_check_lib_save_LIBS=$LIBS
20374 LIBS="-lm  $LIBS"
20375 if test x$gcc_no_link = xyes; then
20376   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20377 fi
20378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20379 /* end confdefs.h.  */
20380
20381 /* Override any GCC internal prototype to avoid an error.
20382    Use char because int might match the return type of a GCC
20383    builtin and then its argument prototype would still apply.  */
20384 #ifdef __cplusplus
20385 extern "C"
20386 #endif
20387 char scalbnf ();
20388 int
20389 main ()
20390 {
20391 return scalbnf ();
20392   ;
20393   return 0;
20394 }
20395 _ACEOF
20396 if ac_fn_c_try_link "$LINENO"; then :
20397   ac_cv_lib_m_scalbnf=yes
20398 else
20399   ac_cv_lib_m_scalbnf=no
20400 fi
20401 rm -f core conftest.err conftest.$ac_objext \
20402     conftest$ac_exeext conftest.$ac_ext
20403 LIBS=$ac_check_lib_save_LIBS
20404 fi
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
20406 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
20407 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
20408
20409 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
20410
20411 fi
20412
20413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
20414 $as_echo_n "checking for scalbn in -lm... " >&6; }
20415 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
20416   $as_echo_n "(cached) " >&6
20417 else
20418   ac_check_lib_save_LIBS=$LIBS
20419 LIBS="-lm  $LIBS"
20420 if test x$gcc_no_link = xyes; then
20421   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20422 fi
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h.  */
20425
20426 /* Override any GCC internal prototype to avoid an error.
20427    Use char because int might match the return type of a GCC
20428    builtin and then its argument prototype would still apply.  */
20429 #ifdef __cplusplus
20430 extern "C"
20431 #endif
20432 char scalbn ();
20433 int
20434 main ()
20435 {
20436 return scalbn ();
20437   ;
20438   return 0;
20439 }
20440 _ACEOF
20441 if ac_fn_c_try_link "$LINENO"; then :
20442   ac_cv_lib_m_scalbn=yes
20443 else
20444   ac_cv_lib_m_scalbn=no
20445 fi
20446 rm -f core conftest.err conftest.$ac_objext \
20447     conftest$ac_exeext conftest.$ac_ext
20448 LIBS=$ac_check_lib_save_LIBS
20449 fi
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
20451 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
20452 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
20453
20454 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
20455
20456 fi
20457
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
20459 $as_echo_n "checking for scalbnl in -lm... " >&6; }
20460 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
20461   $as_echo_n "(cached) " >&6
20462 else
20463   ac_check_lib_save_LIBS=$LIBS
20464 LIBS="-lm  $LIBS"
20465 if test x$gcc_no_link = xyes; then
20466   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20467 fi
20468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20469 /* end confdefs.h.  */
20470
20471 /* Override any GCC internal prototype to avoid an error.
20472    Use char because int might match the return type of a GCC
20473    builtin and then its argument prototype would still apply.  */
20474 #ifdef __cplusplus
20475 extern "C"
20476 #endif
20477 char scalbnl ();
20478 int
20479 main ()
20480 {
20481 return scalbnl ();
20482   ;
20483   return 0;
20484 }
20485 _ACEOF
20486 if ac_fn_c_try_link "$LINENO"; then :
20487   ac_cv_lib_m_scalbnl=yes
20488 else
20489   ac_cv_lib_m_scalbnl=no
20490 fi
20491 rm -f core conftest.err conftest.$ac_objext \
20492     conftest$ac_exeext conftest.$ac_ext
20493 LIBS=$ac_check_lib_save_LIBS
20494 fi
20495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
20496 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
20497 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
20498
20499 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
20500
20501 fi
20502
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
20504 $as_echo_n "checking for sinf in -lm... " >&6; }
20505 if test "${ac_cv_lib_m_sinf+set}" = set; then :
20506   $as_echo_n "(cached) " >&6
20507 else
20508   ac_check_lib_save_LIBS=$LIBS
20509 LIBS="-lm  $LIBS"
20510 if test x$gcc_no_link = xyes; then
20511   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20512 fi
20513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20514 /* end confdefs.h.  */
20515
20516 /* Override any GCC internal prototype to avoid an error.
20517    Use char because int might match the return type of a GCC
20518    builtin and then its argument prototype would still apply.  */
20519 #ifdef __cplusplus
20520 extern "C"
20521 #endif
20522 char sinf ();
20523 int
20524 main ()
20525 {
20526 return sinf ();
20527   ;
20528   return 0;
20529 }
20530 _ACEOF
20531 if ac_fn_c_try_link "$LINENO"; then :
20532   ac_cv_lib_m_sinf=yes
20533 else
20534   ac_cv_lib_m_sinf=no
20535 fi
20536 rm -f core conftest.err conftest.$ac_objext \
20537     conftest$ac_exeext conftest.$ac_ext
20538 LIBS=$ac_check_lib_save_LIBS
20539 fi
20540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
20541 $as_echo "$ac_cv_lib_m_sinf" >&6; }
20542 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
20543
20544 $as_echo "#define HAVE_SINF 1" >>confdefs.h
20545
20546 fi
20547
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20549 $as_echo_n "checking for sin in -lm... " >&6; }
20550 if test "${ac_cv_lib_m_sin+set}" = set; then :
20551   $as_echo_n "(cached) " >&6
20552 else
20553   ac_check_lib_save_LIBS=$LIBS
20554 LIBS="-lm  $LIBS"
20555 if test x$gcc_no_link = xyes; then
20556   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20557 fi
20558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20559 /* end confdefs.h.  */
20560
20561 /* Override any GCC internal prototype to avoid an error.
20562    Use char because int might match the return type of a GCC
20563    builtin and then its argument prototype would still apply.  */
20564 #ifdef __cplusplus
20565 extern "C"
20566 #endif
20567 char sin ();
20568 int
20569 main ()
20570 {
20571 return sin ();
20572   ;
20573   return 0;
20574 }
20575 _ACEOF
20576 if ac_fn_c_try_link "$LINENO"; then :
20577   ac_cv_lib_m_sin=yes
20578 else
20579   ac_cv_lib_m_sin=no
20580 fi
20581 rm -f core conftest.err conftest.$ac_objext \
20582     conftest$ac_exeext conftest.$ac_ext
20583 LIBS=$ac_check_lib_save_LIBS
20584 fi
20585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20586 $as_echo "$ac_cv_lib_m_sin" >&6; }
20587 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20588
20589 $as_echo "#define HAVE_SIN 1" >>confdefs.h
20590
20591 fi
20592
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
20594 $as_echo_n "checking for sinl in -lm... " >&6; }
20595 if test "${ac_cv_lib_m_sinl+set}" = set; then :
20596   $as_echo_n "(cached) " >&6
20597 else
20598   ac_check_lib_save_LIBS=$LIBS
20599 LIBS="-lm  $LIBS"
20600 if test x$gcc_no_link = xyes; then
20601   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20602 fi
20603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20604 /* end confdefs.h.  */
20605
20606 /* Override any GCC internal prototype to avoid an error.
20607    Use char because int might match the return type of a GCC
20608    builtin and then its argument prototype would still apply.  */
20609 #ifdef __cplusplus
20610 extern "C"
20611 #endif
20612 char sinl ();
20613 int
20614 main ()
20615 {
20616 return sinl ();
20617   ;
20618   return 0;
20619 }
20620 _ACEOF
20621 if ac_fn_c_try_link "$LINENO"; then :
20622   ac_cv_lib_m_sinl=yes
20623 else
20624   ac_cv_lib_m_sinl=no
20625 fi
20626 rm -f core conftest.err conftest.$ac_objext \
20627     conftest$ac_exeext conftest.$ac_ext
20628 LIBS=$ac_check_lib_save_LIBS
20629 fi
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
20631 $as_echo "$ac_cv_lib_m_sinl" >&6; }
20632 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
20633
20634 $as_echo "#define HAVE_SINL 1" >>confdefs.h
20635
20636 fi
20637
20638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
20639 $as_echo_n "checking for csinf in -lm... " >&6; }
20640 if test "${ac_cv_lib_m_csinf+set}" = set; then :
20641   $as_echo_n "(cached) " >&6
20642 else
20643   ac_check_lib_save_LIBS=$LIBS
20644 LIBS="-lm  $LIBS"
20645 if test x$gcc_no_link = xyes; then
20646   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20647 fi
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h.  */
20650
20651 /* Override any GCC internal prototype to avoid an error.
20652    Use char because int might match the return type of a GCC
20653    builtin and then its argument prototype would still apply.  */
20654 #ifdef __cplusplus
20655 extern "C"
20656 #endif
20657 char csinf ();
20658 int
20659 main ()
20660 {
20661 return csinf ();
20662   ;
20663   return 0;
20664 }
20665 _ACEOF
20666 if ac_fn_c_try_link "$LINENO"; then :
20667   ac_cv_lib_m_csinf=yes
20668 else
20669   ac_cv_lib_m_csinf=no
20670 fi
20671 rm -f core conftest.err conftest.$ac_objext \
20672     conftest$ac_exeext conftest.$ac_ext
20673 LIBS=$ac_check_lib_save_LIBS
20674 fi
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
20676 $as_echo "$ac_cv_lib_m_csinf" >&6; }
20677 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
20678
20679 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
20680
20681 fi
20682
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
20684 $as_echo_n "checking for csin in -lm... " >&6; }
20685 if test "${ac_cv_lib_m_csin+set}" = set; then :
20686   $as_echo_n "(cached) " >&6
20687 else
20688   ac_check_lib_save_LIBS=$LIBS
20689 LIBS="-lm  $LIBS"
20690 if test x$gcc_no_link = xyes; then
20691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20692 fi
20693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20694 /* end confdefs.h.  */
20695
20696 /* Override any GCC internal prototype to avoid an error.
20697    Use char because int might match the return type of a GCC
20698    builtin and then its argument prototype would still apply.  */
20699 #ifdef __cplusplus
20700 extern "C"
20701 #endif
20702 char csin ();
20703 int
20704 main ()
20705 {
20706 return csin ();
20707   ;
20708   return 0;
20709 }
20710 _ACEOF
20711 if ac_fn_c_try_link "$LINENO"; then :
20712   ac_cv_lib_m_csin=yes
20713 else
20714   ac_cv_lib_m_csin=no
20715 fi
20716 rm -f core conftest.err conftest.$ac_objext \
20717     conftest$ac_exeext conftest.$ac_ext
20718 LIBS=$ac_check_lib_save_LIBS
20719 fi
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
20721 $as_echo "$ac_cv_lib_m_csin" >&6; }
20722 if test "x$ac_cv_lib_m_csin" = x""yes; then :
20723
20724 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
20725
20726 fi
20727
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
20729 $as_echo_n "checking for csinl in -lm... " >&6; }
20730 if test "${ac_cv_lib_m_csinl+set}" = set; then :
20731   $as_echo_n "(cached) " >&6
20732 else
20733   ac_check_lib_save_LIBS=$LIBS
20734 LIBS="-lm  $LIBS"
20735 if test x$gcc_no_link = xyes; then
20736   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20737 fi
20738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20739 /* end confdefs.h.  */
20740
20741 /* Override any GCC internal prototype to avoid an error.
20742    Use char because int might match the return type of a GCC
20743    builtin and then its argument prototype would still apply.  */
20744 #ifdef __cplusplus
20745 extern "C"
20746 #endif
20747 char csinl ();
20748 int
20749 main ()
20750 {
20751 return csinl ();
20752   ;
20753   return 0;
20754 }
20755 _ACEOF
20756 if ac_fn_c_try_link "$LINENO"; then :
20757   ac_cv_lib_m_csinl=yes
20758 else
20759   ac_cv_lib_m_csinl=no
20760 fi
20761 rm -f core conftest.err conftest.$ac_objext \
20762     conftest$ac_exeext conftest.$ac_ext
20763 LIBS=$ac_check_lib_save_LIBS
20764 fi
20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
20766 $as_echo "$ac_cv_lib_m_csinl" >&6; }
20767 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
20768
20769 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
20770
20771 fi
20772
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
20774 $as_echo_n "checking for sinhf in -lm... " >&6; }
20775 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
20776   $as_echo_n "(cached) " >&6
20777 else
20778   ac_check_lib_save_LIBS=$LIBS
20779 LIBS="-lm  $LIBS"
20780 if test x$gcc_no_link = xyes; then
20781   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20782 fi
20783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20784 /* end confdefs.h.  */
20785
20786 /* Override any GCC internal prototype to avoid an error.
20787    Use char because int might match the return type of a GCC
20788    builtin and then its argument prototype would still apply.  */
20789 #ifdef __cplusplus
20790 extern "C"
20791 #endif
20792 char sinhf ();
20793 int
20794 main ()
20795 {
20796 return sinhf ();
20797   ;
20798   return 0;
20799 }
20800 _ACEOF
20801 if ac_fn_c_try_link "$LINENO"; then :
20802   ac_cv_lib_m_sinhf=yes
20803 else
20804   ac_cv_lib_m_sinhf=no
20805 fi
20806 rm -f core conftest.err conftest.$ac_objext \
20807     conftest$ac_exeext conftest.$ac_ext
20808 LIBS=$ac_check_lib_save_LIBS
20809 fi
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
20811 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
20812 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
20813
20814 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
20815
20816 fi
20817
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
20819 $as_echo_n "checking for sinh in -lm... " >&6; }
20820 if test "${ac_cv_lib_m_sinh+set}" = set; then :
20821   $as_echo_n "(cached) " >&6
20822 else
20823   ac_check_lib_save_LIBS=$LIBS
20824 LIBS="-lm  $LIBS"
20825 if test x$gcc_no_link = xyes; then
20826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20827 fi
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h.  */
20830
20831 /* Override any GCC internal prototype to avoid an error.
20832    Use char because int might match the return type of a GCC
20833    builtin and then its argument prototype would still apply.  */
20834 #ifdef __cplusplus
20835 extern "C"
20836 #endif
20837 char sinh ();
20838 int
20839 main ()
20840 {
20841 return sinh ();
20842   ;
20843   return 0;
20844 }
20845 _ACEOF
20846 if ac_fn_c_try_link "$LINENO"; then :
20847   ac_cv_lib_m_sinh=yes
20848 else
20849   ac_cv_lib_m_sinh=no
20850 fi
20851 rm -f core conftest.err conftest.$ac_objext \
20852     conftest$ac_exeext conftest.$ac_ext
20853 LIBS=$ac_check_lib_save_LIBS
20854 fi
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
20856 $as_echo "$ac_cv_lib_m_sinh" >&6; }
20857 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
20858
20859 $as_echo "#define HAVE_SINH 1" >>confdefs.h
20860
20861 fi
20862
20863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
20864 $as_echo_n "checking for sinhl in -lm... " >&6; }
20865 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
20866   $as_echo_n "(cached) " >&6
20867 else
20868   ac_check_lib_save_LIBS=$LIBS
20869 LIBS="-lm  $LIBS"
20870 if test x$gcc_no_link = xyes; then
20871   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20872 fi
20873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h.  */
20875
20876 /* Override any GCC internal prototype to avoid an error.
20877    Use char because int might match the return type of a GCC
20878    builtin and then its argument prototype would still apply.  */
20879 #ifdef __cplusplus
20880 extern "C"
20881 #endif
20882 char sinhl ();
20883 int
20884 main ()
20885 {
20886 return sinhl ();
20887   ;
20888   return 0;
20889 }
20890 _ACEOF
20891 if ac_fn_c_try_link "$LINENO"; then :
20892   ac_cv_lib_m_sinhl=yes
20893 else
20894   ac_cv_lib_m_sinhl=no
20895 fi
20896 rm -f core conftest.err conftest.$ac_objext \
20897     conftest$ac_exeext conftest.$ac_ext
20898 LIBS=$ac_check_lib_save_LIBS
20899 fi
20900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
20901 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
20902 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
20903
20904 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
20905
20906 fi
20907
20908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
20909 $as_echo_n "checking for csinhf in -lm... " >&6; }
20910 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
20911   $as_echo_n "(cached) " >&6
20912 else
20913   ac_check_lib_save_LIBS=$LIBS
20914 LIBS="-lm  $LIBS"
20915 if test x$gcc_no_link = xyes; then
20916   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20917 fi
20918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20919 /* end confdefs.h.  */
20920
20921 /* Override any GCC internal prototype to avoid an error.
20922    Use char because int might match the return type of a GCC
20923    builtin and then its argument prototype would still apply.  */
20924 #ifdef __cplusplus
20925 extern "C"
20926 #endif
20927 char csinhf ();
20928 int
20929 main ()
20930 {
20931 return csinhf ();
20932   ;
20933   return 0;
20934 }
20935 _ACEOF
20936 if ac_fn_c_try_link "$LINENO"; then :
20937   ac_cv_lib_m_csinhf=yes
20938 else
20939   ac_cv_lib_m_csinhf=no
20940 fi
20941 rm -f core conftest.err conftest.$ac_objext \
20942     conftest$ac_exeext conftest.$ac_ext
20943 LIBS=$ac_check_lib_save_LIBS
20944 fi
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
20946 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
20947 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
20948
20949 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
20950
20951 fi
20952
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
20954 $as_echo_n "checking for csinh in -lm... " >&6; }
20955 if test "${ac_cv_lib_m_csinh+set}" = set; then :
20956   $as_echo_n "(cached) " >&6
20957 else
20958   ac_check_lib_save_LIBS=$LIBS
20959 LIBS="-lm  $LIBS"
20960 if test x$gcc_no_link = xyes; then
20961   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20962 fi
20963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h.  */
20965
20966 /* Override any GCC internal prototype to avoid an error.
20967    Use char because int might match the return type of a GCC
20968    builtin and then its argument prototype would still apply.  */
20969 #ifdef __cplusplus
20970 extern "C"
20971 #endif
20972 char csinh ();
20973 int
20974 main ()
20975 {
20976 return csinh ();
20977   ;
20978   return 0;
20979 }
20980 _ACEOF
20981 if ac_fn_c_try_link "$LINENO"; then :
20982   ac_cv_lib_m_csinh=yes
20983 else
20984   ac_cv_lib_m_csinh=no
20985 fi
20986 rm -f core conftest.err conftest.$ac_objext \
20987     conftest$ac_exeext conftest.$ac_ext
20988 LIBS=$ac_check_lib_save_LIBS
20989 fi
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
20991 $as_echo "$ac_cv_lib_m_csinh" >&6; }
20992 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
20993
20994 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
20995
20996 fi
20997
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
20999 $as_echo_n "checking for csinhl in -lm... " >&6; }
21000 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21001   $as_echo_n "(cached) " >&6
21002 else
21003   ac_check_lib_save_LIBS=$LIBS
21004 LIBS="-lm  $LIBS"
21005 if test x$gcc_no_link = xyes; then
21006   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21007 fi
21008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21009 /* end confdefs.h.  */
21010
21011 /* Override any GCC internal prototype to avoid an error.
21012    Use char because int might match the return type of a GCC
21013    builtin and then its argument prototype would still apply.  */
21014 #ifdef __cplusplus
21015 extern "C"
21016 #endif
21017 char csinhl ();
21018 int
21019 main ()
21020 {
21021 return csinhl ();
21022   ;
21023   return 0;
21024 }
21025 _ACEOF
21026 if ac_fn_c_try_link "$LINENO"; then :
21027   ac_cv_lib_m_csinhl=yes
21028 else
21029   ac_cv_lib_m_csinhl=no
21030 fi
21031 rm -f core conftest.err conftest.$ac_objext \
21032     conftest$ac_exeext conftest.$ac_ext
21033 LIBS=$ac_check_lib_save_LIBS
21034 fi
21035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21036 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21037 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21038
21039 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21040
21041 fi
21042
21043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21044 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21045 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21046   $as_echo_n "(cached) " >&6
21047 else
21048   ac_check_lib_save_LIBS=$LIBS
21049 LIBS="-lm  $LIBS"
21050 if test x$gcc_no_link = xyes; then
21051   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21052 fi
21053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21054 /* end confdefs.h.  */
21055
21056 /* Override any GCC internal prototype to avoid an error.
21057    Use char because int might match the return type of a GCC
21058    builtin and then its argument prototype would still apply.  */
21059 #ifdef __cplusplus
21060 extern "C"
21061 #endif
21062 char sqrtf ();
21063 int
21064 main ()
21065 {
21066 return sqrtf ();
21067   ;
21068   return 0;
21069 }
21070 _ACEOF
21071 if ac_fn_c_try_link "$LINENO"; then :
21072   ac_cv_lib_m_sqrtf=yes
21073 else
21074   ac_cv_lib_m_sqrtf=no
21075 fi
21076 rm -f core conftest.err conftest.$ac_objext \
21077     conftest$ac_exeext conftest.$ac_ext
21078 LIBS=$ac_check_lib_save_LIBS
21079 fi
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21081 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21082 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21083
21084 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21085
21086 fi
21087
21088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21089 $as_echo_n "checking for sqrt in -lm... " >&6; }
21090 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21091   $as_echo_n "(cached) " >&6
21092 else
21093   ac_check_lib_save_LIBS=$LIBS
21094 LIBS="-lm  $LIBS"
21095 if test x$gcc_no_link = xyes; then
21096   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21097 fi
21098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21099 /* end confdefs.h.  */
21100
21101 /* Override any GCC internal prototype to avoid an error.
21102    Use char because int might match the return type of a GCC
21103    builtin and then its argument prototype would still apply.  */
21104 #ifdef __cplusplus
21105 extern "C"
21106 #endif
21107 char sqrt ();
21108 int
21109 main ()
21110 {
21111 return sqrt ();
21112   ;
21113   return 0;
21114 }
21115 _ACEOF
21116 if ac_fn_c_try_link "$LINENO"; then :
21117   ac_cv_lib_m_sqrt=yes
21118 else
21119   ac_cv_lib_m_sqrt=no
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext \
21122     conftest$ac_exeext conftest.$ac_ext
21123 LIBS=$ac_check_lib_save_LIBS
21124 fi
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21126 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21127 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21128
21129 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21130
21131 fi
21132
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21134 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21135 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21136   $as_echo_n "(cached) " >&6
21137 else
21138   ac_check_lib_save_LIBS=$LIBS
21139 LIBS="-lm  $LIBS"
21140 if test x$gcc_no_link = xyes; then
21141   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21142 fi
21143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21144 /* end confdefs.h.  */
21145
21146 /* Override any GCC internal prototype to avoid an error.
21147    Use char because int might match the return type of a GCC
21148    builtin and then its argument prototype would still apply.  */
21149 #ifdef __cplusplus
21150 extern "C"
21151 #endif
21152 char sqrtl ();
21153 int
21154 main ()
21155 {
21156 return sqrtl ();
21157   ;
21158   return 0;
21159 }
21160 _ACEOF
21161 if ac_fn_c_try_link "$LINENO"; then :
21162   ac_cv_lib_m_sqrtl=yes
21163 else
21164   ac_cv_lib_m_sqrtl=no
21165 fi
21166 rm -f core conftest.err conftest.$ac_objext \
21167     conftest$ac_exeext conftest.$ac_ext
21168 LIBS=$ac_check_lib_save_LIBS
21169 fi
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21171 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21172 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21173
21174 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21175
21176 fi
21177
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21179 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21180 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21181   $as_echo_n "(cached) " >&6
21182 else
21183   ac_check_lib_save_LIBS=$LIBS
21184 LIBS="-lm  $LIBS"
21185 if test x$gcc_no_link = xyes; then
21186   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21187 fi
21188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21189 /* end confdefs.h.  */
21190
21191 /* Override any GCC internal prototype to avoid an error.
21192    Use char because int might match the return type of a GCC
21193    builtin and then its argument prototype would still apply.  */
21194 #ifdef __cplusplus
21195 extern "C"
21196 #endif
21197 char csqrtf ();
21198 int
21199 main ()
21200 {
21201 return csqrtf ();
21202   ;
21203   return 0;
21204 }
21205 _ACEOF
21206 if ac_fn_c_try_link "$LINENO"; then :
21207   ac_cv_lib_m_csqrtf=yes
21208 else
21209   ac_cv_lib_m_csqrtf=no
21210 fi
21211 rm -f core conftest.err conftest.$ac_objext \
21212     conftest$ac_exeext conftest.$ac_ext
21213 LIBS=$ac_check_lib_save_LIBS
21214 fi
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21216 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21217 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21218
21219 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21220
21221 fi
21222
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21224 $as_echo_n "checking for csqrt in -lm... " >&6; }
21225 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21226   $as_echo_n "(cached) " >&6
21227 else
21228   ac_check_lib_save_LIBS=$LIBS
21229 LIBS="-lm  $LIBS"
21230 if test x$gcc_no_link = xyes; then
21231   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21232 fi
21233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h.  */
21235
21236 /* Override any GCC internal prototype to avoid an error.
21237    Use char because int might match the return type of a GCC
21238    builtin and then its argument prototype would still apply.  */
21239 #ifdef __cplusplus
21240 extern "C"
21241 #endif
21242 char csqrt ();
21243 int
21244 main ()
21245 {
21246 return csqrt ();
21247   ;
21248   return 0;
21249 }
21250 _ACEOF
21251 if ac_fn_c_try_link "$LINENO"; then :
21252   ac_cv_lib_m_csqrt=yes
21253 else
21254   ac_cv_lib_m_csqrt=no
21255 fi
21256 rm -f core conftest.err conftest.$ac_objext \
21257     conftest$ac_exeext conftest.$ac_ext
21258 LIBS=$ac_check_lib_save_LIBS
21259 fi
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21261 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21262 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21263
21264 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21265
21266 fi
21267
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21269 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21270 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21271   $as_echo_n "(cached) " >&6
21272 else
21273   ac_check_lib_save_LIBS=$LIBS
21274 LIBS="-lm  $LIBS"
21275 if test x$gcc_no_link = xyes; then
21276   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21277 fi
21278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21279 /* end confdefs.h.  */
21280
21281 /* Override any GCC internal prototype to avoid an error.
21282    Use char because int might match the return type of a GCC
21283    builtin and then its argument prototype would still apply.  */
21284 #ifdef __cplusplus
21285 extern "C"
21286 #endif
21287 char csqrtl ();
21288 int
21289 main ()
21290 {
21291 return csqrtl ();
21292   ;
21293   return 0;
21294 }
21295 _ACEOF
21296 if ac_fn_c_try_link "$LINENO"; then :
21297   ac_cv_lib_m_csqrtl=yes
21298 else
21299   ac_cv_lib_m_csqrtl=no
21300 fi
21301 rm -f core conftest.err conftest.$ac_objext \
21302     conftest$ac_exeext conftest.$ac_ext
21303 LIBS=$ac_check_lib_save_LIBS
21304 fi
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21306 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21307 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21308
21309 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21310
21311 fi
21312
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21314 $as_echo_n "checking for tanf in -lm... " >&6; }
21315 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21316   $as_echo_n "(cached) " >&6
21317 else
21318   ac_check_lib_save_LIBS=$LIBS
21319 LIBS="-lm  $LIBS"
21320 if test x$gcc_no_link = xyes; then
21321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21322 fi
21323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21324 /* end confdefs.h.  */
21325
21326 /* Override any GCC internal prototype to avoid an error.
21327    Use char because int might match the return type of a GCC
21328    builtin and then its argument prototype would still apply.  */
21329 #ifdef __cplusplus
21330 extern "C"
21331 #endif
21332 char tanf ();
21333 int
21334 main ()
21335 {
21336 return tanf ();
21337   ;
21338   return 0;
21339 }
21340 _ACEOF
21341 if ac_fn_c_try_link "$LINENO"; then :
21342   ac_cv_lib_m_tanf=yes
21343 else
21344   ac_cv_lib_m_tanf=no
21345 fi
21346 rm -f core conftest.err conftest.$ac_objext \
21347     conftest$ac_exeext conftest.$ac_ext
21348 LIBS=$ac_check_lib_save_LIBS
21349 fi
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21351 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21352 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21353
21354 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21355
21356 fi
21357
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21359 $as_echo_n "checking for tan in -lm... " >&6; }
21360 if test "${ac_cv_lib_m_tan+set}" = set; then :
21361   $as_echo_n "(cached) " >&6
21362 else
21363   ac_check_lib_save_LIBS=$LIBS
21364 LIBS="-lm  $LIBS"
21365 if test x$gcc_no_link = xyes; then
21366   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21367 fi
21368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21369 /* end confdefs.h.  */
21370
21371 /* Override any GCC internal prototype to avoid an error.
21372    Use char because int might match the return type of a GCC
21373    builtin and then its argument prototype would still apply.  */
21374 #ifdef __cplusplus
21375 extern "C"
21376 #endif
21377 char tan ();
21378 int
21379 main ()
21380 {
21381 return tan ();
21382   ;
21383   return 0;
21384 }
21385 _ACEOF
21386 if ac_fn_c_try_link "$LINENO"; then :
21387   ac_cv_lib_m_tan=yes
21388 else
21389   ac_cv_lib_m_tan=no
21390 fi
21391 rm -f core conftest.err conftest.$ac_objext \
21392     conftest$ac_exeext conftest.$ac_ext
21393 LIBS=$ac_check_lib_save_LIBS
21394 fi
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
21396 $as_echo "$ac_cv_lib_m_tan" >&6; }
21397 if test "x$ac_cv_lib_m_tan" = x""yes; then :
21398
21399 $as_echo "#define HAVE_TAN 1" >>confdefs.h
21400
21401 fi
21402
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
21404 $as_echo_n "checking for tanl in -lm... " >&6; }
21405 if test "${ac_cv_lib_m_tanl+set}" = set; then :
21406   $as_echo_n "(cached) " >&6
21407 else
21408   ac_check_lib_save_LIBS=$LIBS
21409 LIBS="-lm  $LIBS"
21410 if test x$gcc_no_link = xyes; then
21411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21412 fi
21413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h.  */
21415
21416 /* Override any GCC internal prototype to avoid an error.
21417    Use char because int might match the return type of a GCC
21418    builtin and then its argument prototype would still apply.  */
21419 #ifdef __cplusplus
21420 extern "C"
21421 #endif
21422 char tanl ();
21423 int
21424 main ()
21425 {
21426 return tanl ();
21427   ;
21428   return 0;
21429 }
21430 _ACEOF
21431 if ac_fn_c_try_link "$LINENO"; then :
21432   ac_cv_lib_m_tanl=yes
21433 else
21434   ac_cv_lib_m_tanl=no
21435 fi
21436 rm -f core conftest.err conftest.$ac_objext \
21437     conftest$ac_exeext conftest.$ac_ext
21438 LIBS=$ac_check_lib_save_LIBS
21439 fi
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
21441 $as_echo "$ac_cv_lib_m_tanl" >&6; }
21442 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
21443
21444 $as_echo "#define HAVE_TANL 1" >>confdefs.h
21445
21446 fi
21447
21448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
21449 $as_echo_n "checking for ctanf in -lm... " >&6; }
21450 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
21451   $as_echo_n "(cached) " >&6
21452 else
21453   ac_check_lib_save_LIBS=$LIBS
21454 LIBS="-lm  $LIBS"
21455 if test x$gcc_no_link = xyes; then
21456   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21457 fi
21458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21459 /* end confdefs.h.  */
21460
21461 /* Override any GCC internal prototype to avoid an error.
21462    Use char because int might match the return type of a GCC
21463    builtin and then its argument prototype would still apply.  */
21464 #ifdef __cplusplus
21465 extern "C"
21466 #endif
21467 char ctanf ();
21468 int
21469 main ()
21470 {
21471 return ctanf ();
21472   ;
21473   return 0;
21474 }
21475 _ACEOF
21476 if ac_fn_c_try_link "$LINENO"; then :
21477   ac_cv_lib_m_ctanf=yes
21478 else
21479   ac_cv_lib_m_ctanf=no
21480 fi
21481 rm -f core conftest.err conftest.$ac_objext \
21482     conftest$ac_exeext conftest.$ac_ext
21483 LIBS=$ac_check_lib_save_LIBS
21484 fi
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
21486 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
21487 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
21488
21489 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
21490
21491 fi
21492
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
21494 $as_echo_n "checking for ctan in -lm... " >&6; }
21495 if test "${ac_cv_lib_m_ctan+set}" = set; then :
21496   $as_echo_n "(cached) " >&6
21497 else
21498   ac_check_lib_save_LIBS=$LIBS
21499 LIBS="-lm  $LIBS"
21500 if test x$gcc_no_link = xyes; then
21501   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21502 fi
21503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21504 /* end confdefs.h.  */
21505
21506 /* Override any GCC internal prototype to avoid an error.
21507    Use char because int might match the return type of a GCC
21508    builtin and then its argument prototype would still apply.  */
21509 #ifdef __cplusplus
21510 extern "C"
21511 #endif
21512 char ctan ();
21513 int
21514 main ()
21515 {
21516 return ctan ();
21517   ;
21518   return 0;
21519 }
21520 _ACEOF
21521 if ac_fn_c_try_link "$LINENO"; then :
21522   ac_cv_lib_m_ctan=yes
21523 else
21524   ac_cv_lib_m_ctan=no
21525 fi
21526 rm -f core conftest.err conftest.$ac_objext \
21527     conftest$ac_exeext conftest.$ac_ext
21528 LIBS=$ac_check_lib_save_LIBS
21529 fi
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
21531 $as_echo "$ac_cv_lib_m_ctan" >&6; }
21532 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
21533
21534 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
21535
21536 fi
21537
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
21539 $as_echo_n "checking for ctanl in -lm... " >&6; }
21540 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
21541   $as_echo_n "(cached) " >&6
21542 else
21543   ac_check_lib_save_LIBS=$LIBS
21544 LIBS="-lm  $LIBS"
21545 if test x$gcc_no_link = xyes; then
21546   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21547 fi
21548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21549 /* end confdefs.h.  */
21550
21551 /* Override any GCC internal prototype to avoid an error.
21552    Use char because int might match the return type of a GCC
21553    builtin and then its argument prototype would still apply.  */
21554 #ifdef __cplusplus
21555 extern "C"
21556 #endif
21557 char ctanl ();
21558 int
21559 main ()
21560 {
21561 return ctanl ();
21562   ;
21563   return 0;
21564 }
21565 _ACEOF
21566 if ac_fn_c_try_link "$LINENO"; then :
21567   ac_cv_lib_m_ctanl=yes
21568 else
21569   ac_cv_lib_m_ctanl=no
21570 fi
21571 rm -f core conftest.err conftest.$ac_objext \
21572     conftest$ac_exeext conftest.$ac_ext
21573 LIBS=$ac_check_lib_save_LIBS
21574 fi
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
21576 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
21577 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
21578
21579 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
21580
21581 fi
21582
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
21584 $as_echo_n "checking for tanhf in -lm... " >&6; }
21585 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
21586   $as_echo_n "(cached) " >&6
21587 else
21588   ac_check_lib_save_LIBS=$LIBS
21589 LIBS="-lm  $LIBS"
21590 if test x$gcc_no_link = xyes; then
21591   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21592 fi
21593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21594 /* end confdefs.h.  */
21595
21596 /* Override any GCC internal prototype to avoid an error.
21597    Use char because int might match the return type of a GCC
21598    builtin and then its argument prototype would still apply.  */
21599 #ifdef __cplusplus
21600 extern "C"
21601 #endif
21602 char tanhf ();
21603 int
21604 main ()
21605 {
21606 return tanhf ();
21607   ;
21608   return 0;
21609 }
21610 _ACEOF
21611 if ac_fn_c_try_link "$LINENO"; then :
21612   ac_cv_lib_m_tanhf=yes
21613 else
21614   ac_cv_lib_m_tanhf=no
21615 fi
21616 rm -f core conftest.err conftest.$ac_objext \
21617     conftest$ac_exeext conftest.$ac_ext
21618 LIBS=$ac_check_lib_save_LIBS
21619 fi
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
21621 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
21622 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
21623
21624 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
21625
21626 fi
21627
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
21629 $as_echo_n "checking for tanh in -lm... " >&6; }
21630 if test "${ac_cv_lib_m_tanh+set}" = set; then :
21631   $as_echo_n "(cached) " >&6
21632 else
21633   ac_check_lib_save_LIBS=$LIBS
21634 LIBS="-lm  $LIBS"
21635 if test x$gcc_no_link = xyes; then
21636   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21637 fi
21638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21639 /* end confdefs.h.  */
21640
21641 /* Override any GCC internal prototype to avoid an error.
21642    Use char because int might match the return type of a GCC
21643    builtin and then its argument prototype would still apply.  */
21644 #ifdef __cplusplus
21645 extern "C"
21646 #endif
21647 char tanh ();
21648 int
21649 main ()
21650 {
21651 return tanh ();
21652   ;
21653   return 0;
21654 }
21655 _ACEOF
21656 if ac_fn_c_try_link "$LINENO"; then :
21657   ac_cv_lib_m_tanh=yes
21658 else
21659   ac_cv_lib_m_tanh=no
21660 fi
21661 rm -f core conftest.err conftest.$ac_objext \
21662     conftest$ac_exeext conftest.$ac_ext
21663 LIBS=$ac_check_lib_save_LIBS
21664 fi
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
21666 $as_echo "$ac_cv_lib_m_tanh" >&6; }
21667 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
21668
21669 $as_echo "#define HAVE_TANH 1" >>confdefs.h
21670
21671 fi
21672
21673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
21674 $as_echo_n "checking for tanhl in -lm... " >&6; }
21675 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
21676   $as_echo_n "(cached) " >&6
21677 else
21678   ac_check_lib_save_LIBS=$LIBS
21679 LIBS="-lm  $LIBS"
21680 if test x$gcc_no_link = xyes; then
21681   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21682 fi
21683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h.  */
21685
21686 /* Override any GCC internal prototype to avoid an error.
21687    Use char because int might match the return type of a GCC
21688    builtin and then its argument prototype would still apply.  */
21689 #ifdef __cplusplus
21690 extern "C"
21691 #endif
21692 char tanhl ();
21693 int
21694 main ()
21695 {
21696 return tanhl ();
21697   ;
21698   return 0;
21699 }
21700 _ACEOF
21701 if ac_fn_c_try_link "$LINENO"; then :
21702   ac_cv_lib_m_tanhl=yes
21703 else
21704   ac_cv_lib_m_tanhl=no
21705 fi
21706 rm -f core conftest.err conftest.$ac_objext \
21707     conftest$ac_exeext conftest.$ac_ext
21708 LIBS=$ac_check_lib_save_LIBS
21709 fi
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
21711 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
21712 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
21713
21714 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
21715
21716 fi
21717
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
21719 $as_echo_n "checking for ctanhf in -lm... " >&6; }
21720 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
21721   $as_echo_n "(cached) " >&6
21722 else
21723   ac_check_lib_save_LIBS=$LIBS
21724 LIBS="-lm  $LIBS"
21725 if test x$gcc_no_link = xyes; then
21726   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21727 fi
21728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21729 /* end confdefs.h.  */
21730
21731 /* Override any GCC internal prototype to avoid an error.
21732    Use char because int might match the return type of a GCC
21733    builtin and then its argument prototype would still apply.  */
21734 #ifdef __cplusplus
21735 extern "C"
21736 #endif
21737 char ctanhf ();
21738 int
21739 main ()
21740 {
21741 return ctanhf ();
21742   ;
21743   return 0;
21744 }
21745 _ACEOF
21746 if ac_fn_c_try_link "$LINENO"; then :
21747   ac_cv_lib_m_ctanhf=yes
21748 else
21749   ac_cv_lib_m_ctanhf=no
21750 fi
21751 rm -f core conftest.err conftest.$ac_objext \
21752     conftest$ac_exeext conftest.$ac_ext
21753 LIBS=$ac_check_lib_save_LIBS
21754 fi
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
21756 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
21757 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
21758
21759 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
21760
21761 fi
21762
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
21764 $as_echo_n "checking for ctanh in -lm... " >&6; }
21765 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
21766   $as_echo_n "(cached) " >&6
21767 else
21768   ac_check_lib_save_LIBS=$LIBS
21769 LIBS="-lm  $LIBS"
21770 if test x$gcc_no_link = xyes; then
21771   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21772 fi
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h.  */
21775
21776 /* Override any GCC internal prototype to avoid an error.
21777    Use char because int might match the return type of a GCC
21778    builtin and then its argument prototype would still apply.  */
21779 #ifdef __cplusplus
21780 extern "C"
21781 #endif
21782 char ctanh ();
21783 int
21784 main ()
21785 {
21786 return ctanh ();
21787   ;
21788   return 0;
21789 }
21790 _ACEOF
21791 if ac_fn_c_try_link "$LINENO"; then :
21792   ac_cv_lib_m_ctanh=yes
21793 else
21794   ac_cv_lib_m_ctanh=no
21795 fi
21796 rm -f core conftest.err conftest.$ac_objext \
21797     conftest$ac_exeext conftest.$ac_ext
21798 LIBS=$ac_check_lib_save_LIBS
21799 fi
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
21801 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
21802 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
21803
21804 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
21805
21806 fi
21807
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
21809 $as_echo_n "checking for ctanhl in -lm... " >&6; }
21810 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
21811   $as_echo_n "(cached) " >&6
21812 else
21813   ac_check_lib_save_LIBS=$LIBS
21814 LIBS="-lm  $LIBS"
21815 if test x$gcc_no_link = xyes; then
21816   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21817 fi
21818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21819 /* end confdefs.h.  */
21820
21821 /* Override any GCC internal prototype to avoid an error.
21822    Use char because int might match the return type of a GCC
21823    builtin and then its argument prototype would still apply.  */
21824 #ifdef __cplusplus
21825 extern "C"
21826 #endif
21827 char ctanhl ();
21828 int
21829 main ()
21830 {
21831 return ctanhl ();
21832   ;
21833   return 0;
21834 }
21835 _ACEOF
21836 if ac_fn_c_try_link "$LINENO"; then :
21837   ac_cv_lib_m_ctanhl=yes
21838 else
21839   ac_cv_lib_m_ctanhl=no
21840 fi
21841 rm -f core conftest.err conftest.$ac_objext \
21842     conftest$ac_exeext conftest.$ac_ext
21843 LIBS=$ac_check_lib_save_LIBS
21844 fi
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
21846 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
21847 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
21848
21849 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
21850
21851 fi
21852
21853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
21854 $as_echo_n "checking for truncf in -lm... " >&6; }
21855 if test "${ac_cv_lib_m_truncf+set}" = set; then :
21856   $as_echo_n "(cached) " >&6
21857 else
21858   ac_check_lib_save_LIBS=$LIBS
21859 LIBS="-lm  $LIBS"
21860 if test x$gcc_no_link = xyes; then
21861   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21862 fi
21863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21864 /* end confdefs.h.  */
21865
21866 /* Override any GCC internal prototype to avoid an error.
21867    Use char because int might match the return type of a GCC
21868    builtin and then its argument prototype would still apply.  */
21869 #ifdef __cplusplus
21870 extern "C"
21871 #endif
21872 char truncf ();
21873 int
21874 main ()
21875 {
21876 return truncf ();
21877   ;
21878   return 0;
21879 }
21880 _ACEOF
21881 if ac_fn_c_try_link "$LINENO"; then :
21882   ac_cv_lib_m_truncf=yes
21883 else
21884   ac_cv_lib_m_truncf=no
21885 fi
21886 rm -f core conftest.err conftest.$ac_objext \
21887     conftest$ac_exeext conftest.$ac_ext
21888 LIBS=$ac_check_lib_save_LIBS
21889 fi
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
21891 $as_echo "$ac_cv_lib_m_truncf" >&6; }
21892 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
21893
21894 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
21895
21896 fi
21897
21898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
21899 $as_echo_n "checking for trunc in -lm... " >&6; }
21900 if test "${ac_cv_lib_m_trunc+set}" = set; then :
21901   $as_echo_n "(cached) " >&6
21902 else
21903   ac_check_lib_save_LIBS=$LIBS
21904 LIBS="-lm  $LIBS"
21905 if test x$gcc_no_link = xyes; then
21906   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21907 fi
21908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21909 /* end confdefs.h.  */
21910
21911 /* Override any GCC internal prototype to avoid an error.
21912    Use char because int might match the return type of a GCC
21913    builtin and then its argument prototype would still apply.  */
21914 #ifdef __cplusplus
21915 extern "C"
21916 #endif
21917 char trunc ();
21918 int
21919 main ()
21920 {
21921 return trunc ();
21922   ;
21923   return 0;
21924 }
21925 _ACEOF
21926 if ac_fn_c_try_link "$LINENO"; then :
21927   ac_cv_lib_m_trunc=yes
21928 else
21929   ac_cv_lib_m_trunc=no
21930 fi
21931 rm -f core conftest.err conftest.$ac_objext \
21932     conftest$ac_exeext conftest.$ac_ext
21933 LIBS=$ac_check_lib_save_LIBS
21934 fi
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
21936 $as_echo "$ac_cv_lib_m_trunc" >&6; }
21937 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
21938
21939 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
21940
21941 fi
21942
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
21944 $as_echo_n "checking for truncl in -lm... " >&6; }
21945 if test "${ac_cv_lib_m_truncl+set}" = set; then :
21946   $as_echo_n "(cached) " >&6
21947 else
21948   ac_check_lib_save_LIBS=$LIBS
21949 LIBS="-lm  $LIBS"
21950 if test x$gcc_no_link = xyes; then
21951   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21952 fi
21953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21954 /* end confdefs.h.  */
21955
21956 /* Override any GCC internal prototype to avoid an error.
21957    Use char because int might match the return type of a GCC
21958    builtin and then its argument prototype would still apply.  */
21959 #ifdef __cplusplus
21960 extern "C"
21961 #endif
21962 char truncl ();
21963 int
21964 main ()
21965 {
21966 return truncl ();
21967   ;
21968   return 0;
21969 }
21970 _ACEOF
21971 if ac_fn_c_try_link "$LINENO"; then :
21972   ac_cv_lib_m_truncl=yes
21973 else
21974   ac_cv_lib_m_truncl=no
21975 fi
21976 rm -f core conftest.err conftest.$ac_objext \
21977     conftest$ac_exeext conftest.$ac_ext
21978 LIBS=$ac_check_lib_save_LIBS
21979 fi
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
21981 $as_echo "$ac_cv_lib_m_truncl" >&6; }
21982 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
21983
21984 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
21985
21986 fi
21987
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
21989 $as_echo_n "checking for erff in -lm... " >&6; }
21990 if test "${ac_cv_lib_m_erff+set}" = set; then :
21991   $as_echo_n "(cached) " >&6
21992 else
21993   ac_check_lib_save_LIBS=$LIBS
21994 LIBS="-lm  $LIBS"
21995 if test x$gcc_no_link = xyes; then
21996   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21997 fi
21998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21999 /* end confdefs.h.  */
22000
22001 /* Override any GCC internal prototype to avoid an error.
22002    Use char because int might match the return type of a GCC
22003    builtin and then its argument prototype would still apply.  */
22004 #ifdef __cplusplus
22005 extern "C"
22006 #endif
22007 char erff ();
22008 int
22009 main ()
22010 {
22011 return erff ();
22012   ;
22013   return 0;
22014 }
22015 _ACEOF
22016 if ac_fn_c_try_link "$LINENO"; then :
22017   ac_cv_lib_m_erff=yes
22018 else
22019   ac_cv_lib_m_erff=no
22020 fi
22021 rm -f core conftest.err conftest.$ac_objext \
22022     conftest$ac_exeext conftest.$ac_ext
22023 LIBS=$ac_check_lib_save_LIBS
22024 fi
22025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22026 $as_echo "$ac_cv_lib_m_erff" >&6; }
22027 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22028
22029 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22030
22031 fi
22032
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22034 $as_echo_n "checking for erf in -lm... " >&6; }
22035 if test "${ac_cv_lib_m_erf+set}" = set; then :
22036   $as_echo_n "(cached) " >&6
22037 else
22038   ac_check_lib_save_LIBS=$LIBS
22039 LIBS="-lm  $LIBS"
22040 if test x$gcc_no_link = xyes; then
22041   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22042 fi
22043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22044 /* end confdefs.h.  */
22045
22046 /* Override any GCC internal prototype to avoid an error.
22047    Use char because int might match the return type of a GCC
22048    builtin and then its argument prototype would still apply.  */
22049 #ifdef __cplusplus
22050 extern "C"
22051 #endif
22052 char erf ();
22053 int
22054 main ()
22055 {
22056 return erf ();
22057   ;
22058   return 0;
22059 }
22060 _ACEOF
22061 if ac_fn_c_try_link "$LINENO"; then :
22062   ac_cv_lib_m_erf=yes
22063 else
22064   ac_cv_lib_m_erf=no
22065 fi
22066 rm -f core conftest.err conftest.$ac_objext \
22067     conftest$ac_exeext conftest.$ac_ext
22068 LIBS=$ac_check_lib_save_LIBS
22069 fi
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22071 $as_echo "$ac_cv_lib_m_erf" >&6; }
22072 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22073
22074 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22075
22076 fi
22077
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22079 $as_echo_n "checking for erfl in -lm... " >&6; }
22080 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22081   $as_echo_n "(cached) " >&6
22082 else
22083   ac_check_lib_save_LIBS=$LIBS
22084 LIBS="-lm  $LIBS"
22085 if test x$gcc_no_link = xyes; then
22086   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22087 fi
22088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22089 /* end confdefs.h.  */
22090
22091 /* Override any GCC internal prototype to avoid an error.
22092    Use char because int might match the return type of a GCC
22093    builtin and then its argument prototype would still apply.  */
22094 #ifdef __cplusplus
22095 extern "C"
22096 #endif
22097 char erfl ();
22098 int
22099 main ()
22100 {
22101 return erfl ();
22102   ;
22103   return 0;
22104 }
22105 _ACEOF
22106 if ac_fn_c_try_link "$LINENO"; then :
22107   ac_cv_lib_m_erfl=yes
22108 else
22109   ac_cv_lib_m_erfl=no
22110 fi
22111 rm -f core conftest.err conftest.$ac_objext \
22112     conftest$ac_exeext conftest.$ac_ext
22113 LIBS=$ac_check_lib_save_LIBS
22114 fi
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22116 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22117 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22118
22119 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22120
22121 fi
22122
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22124 $as_echo_n "checking for erfcf in -lm... " >&6; }
22125 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22126   $as_echo_n "(cached) " >&6
22127 else
22128   ac_check_lib_save_LIBS=$LIBS
22129 LIBS="-lm  $LIBS"
22130 if test x$gcc_no_link = xyes; then
22131   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22132 fi
22133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22134 /* end confdefs.h.  */
22135
22136 /* Override any GCC internal prototype to avoid an error.
22137    Use char because int might match the return type of a GCC
22138    builtin and then its argument prototype would still apply.  */
22139 #ifdef __cplusplus
22140 extern "C"
22141 #endif
22142 char erfcf ();
22143 int
22144 main ()
22145 {
22146 return erfcf ();
22147   ;
22148   return 0;
22149 }
22150 _ACEOF
22151 if ac_fn_c_try_link "$LINENO"; then :
22152   ac_cv_lib_m_erfcf=yes
22153 else
22154   ac_cv_lib_m_erfcf=no
22155 fi
22156 rm -f core conftest.err conftest.$ac_objext \
22157     conftest$ac_exeext conftest.$ac_ext
22158 LIBS=$ac_check_lib_save_LIBS
22159 fi
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22161 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22162 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22163
22164 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22165
22166 fi
22167
22168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22169 $as_echo_n "checking for erfc in -lm... " >&6; }
22170 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22171   $as_echo_n "(cached) " >&6
22172 else
22173   ac_check_lib_save_LIBS=$LIBS
22174 LIBS="-lm  $LIBS"
22175 if test x$gcc_no_link = xyes; then
22176   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22177 fi
22178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22179 /* end confdefs.h.  */
22180
22181 /* Override any GCC internal prototype to avoid an error.
22182    Use char because int might match the return type of a GCC
22183    builtin and then its argument prototype would still apply.  */
22184 #ifdef __cplusplus
22185 extern "C"
22186 #endif
22187 char erfc ();
22188 int
22189 main ()
22190 {
22191 return erfc ();
22192   ;
22193   return 0;
22194 }
22195 _ACEOF
22196 if ac_fn_c_try_link "$LINENO"; then :
22197   ac_cv_lib_m_erfc=yes
22198 else
22199   ac_cv_lib_m_erfc=no
22200 fi
22201 rm -f core conftest.err conftest.$ac_objext \
22202     conftest$ac_exeext conftest.$ac_ext
22203 LIBS=$ac_check_lib_save_LIBS
22204 fi
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22206 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22207 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22208
22209 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22210
22211 fi
22212
22213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22214 $as_echo_n "checking for erfcl in -lm... " >&6; }
22215 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22216   $as_echo_n "(cached) " >&6
22217 else
22218   ac_check_lib_save_LIBS=$LIBS
22219 LIBS="-lm  $LIBS"
22220 if test x$gcc_no_link = xyes; then
22221   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22222 fi
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h.  */
22225
22226 /* Override any GCC internal prototype to avoid an error.
22227    Use char because int might match the return type of a GCC
22228    builtin and then its argument prototype would still apply.  */
22229 #ifdef __cplusplus
22230 extern "C"
22231 #endif
22232 char erfcl ();
22233 int
22234 main ()
22235 {
22236 return erfcl ();
22237   ;
22238   return 0;
22239 }
22240 _ACEOF
22241 if ac_fn_c_try_link "$LINENO"; then :
22242   ac_cv_lib_m_erfcl=yes
22243 else
22244   ac_cv_lib_m_erfcl=no
22245 fi
22246 rm -f core conftest.err conftest.$ac_objext \
22247     conftest$ac_exeext conftest.$ac_ext
22248 LIBS=$ac_check_lib_save_LIBS
22249 fi
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22251 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22252 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22253
22254 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22255
22256 fi
22257
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22259 $as_echo_n "checking for j0f in -lm... " >&6; }
22260 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22261   $as_echo_n "(cached) " >&6
22262 else
22263   ac_check_lib_save_LIBS=$LIBS
22264 LIBS="-lm  $LIBS"
22265 if test x$gcc_no_link = xyes; then
22266   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22267 fi
22268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22269 /* end confdefs.h.  */
22270
22271 /* Override any GCC internal prototype to avoid an error.
22272    Use char because int might match the return type of a GCC
22273    builtin and then its argument prototype would still apply.  */
22274 #ifdef __cplusplus
22275 extern "C"
22276 #endif
22277 char j0f ();
22278 int
22279 main ()
22280 {
22281 return j0f ();
22282   ;
22283   return 0;
22284 }
22285 _ACEOF
22286 if ac_fn_c_try_link "$LINENO"; then :
22287   ac_cv_lib_m_j0f=yes
22288 else
22289   ac_cv_lib_m_j0f=no
22290 fi
22291 rm -f core conftest.err conftest.$ac_objext \
22292     conftest$ac_exeext conftest.$ac_ext
22293 LIBS=$ac_check_lib_save_LIBS
22294 fi
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22296 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22297 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22298
22299 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22300
22301 fi
22302
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22304 $as_echo_n "checking for j0 in -lm... " >&6; }
22305 if test "${ac_cv_lib_m_j0+set}" = set; then :
22306   $as_echo_n "(cached) " >&6
22307 else
22308   ac_check_lib_save_LIBS=$LIBS
22309 LIBS="-lm  $LIBS"
22310 if test x$gcc_no_link = xyes; then
22311   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22312 fi
22313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22314 /* end confdefs.h.  */
22315
22316 /* Override any GCC internal prototype to avoid an error.
22317    Use char because int might match the return type of a GCC
22318    builtin and then its argument prototype would still apply.  */
22319 #ifdef __cplusplus
22320 extern "C"
22321 #endif
22322 char j0 ();
22323 int
22324 main ()
22325 {
22326 return j0 ();
22327   ;
22328   return 0;
22329 }
22330 _ACEOF
22331 if ac_fn_c_try_link "$LINENO"; then :
22332   ac_cv_lib_m_j0=yes
22333 else
22334   ac_cv_lib_m_j0=no
22335 fi
22336 rm -f core conftest.err conftest.$ac_objext \
22337     conftest$ac_exeext conftest.$ac_ext
22338 LIBS=$ac_check_lib_save_LIBS
22339 fi
22340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22341 $as_echo "$ac_cv_lib_m_j0" >&6; }
22342 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22343
22344 $as_echo "#define HAVE_J0 1" >>confdefs.h
22345
22346 fi
22347
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22349 $as_echo_n "checking for j0l in -lm... " >&6; }
22350 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22351   $as_echo_n "(cached) " >&6
22352 else
22353   ac_check_lib_save_LIBS=$LIBS
22354 LIBS="-lm  $LIBS"
22355 if test x$gcc_no_link = xyes; then
22356   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22357 fi
22358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22359 /* end confdefs.h.  */
22360
22361 /* Override any GCC internal prototype to avoid an error.
22362    Use char because int might match the return type of a GCC
22363    builtin and then its argument prototype would still apply.  */
22364 #ifdef __cplusplus
22365 extern "C"
22366 #endif
22367 char j0l ();
22368 int
22369 main ()
22370 {
22371 return j0l ();
22372   ;
22373   return 0;
22374 }
22375 _ACEOF
22376 if ac_fn_c_try_link "$LINENO"; then :
22377   ac_cv_lib_m_j0l=yes
22378 else
22379   ac_cv_lib_m_j0l=no
22380 fi
22381 rm -f core conftest.err conftest.$ac_objext \
22382     conftest$ac_exeext conftest.$ac_ext
22383 LIBS=$ac_check_lib_save_LIBS
22384 fi
22385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
22386 $as_echo "$ac_cv_lib_m_j0l" >&6; }
22387 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
22388
22389 $as_echo "#define HAVE_J0L 1" >>confdefs.h
22390
22391 fi
22392
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
22394 $as_echo_n "checking for j1f in -lm... " >&6; }
22395 if test "${ac_cv_lib_m_j1f+set}" = set; then :
22396   $as_echo_n "(cached) " >&6
22397 else
22398   ac_check_lib_save_LIBS=$LIBS
22399 LIBS="-lm  $LIBS"
22400 if test x$gcc_no_link = xyes; then
22401   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22402 fi
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h.  */
22405
22406 /* Override any GCC internal prototype to avoid an error.
22407    Use char because int might match the return type of a GCC
22408    builtin and then its argument prototype would still apply.  */
22409 #ifdef __cplusplus
22410 extern "C"
22411 #endif
22412 char j1f ();
22413 int
22414 main ()
22415 {
22416 return j1f ();
22417   ;
22418   return 0;
22419 }
22420 _ACEOF
22421 if ac_fn_c_try_link "$LINENO"; then :
22422   ac_cv_lib_m_j1f=yes
22423 else
22424   ac_cv_lib_m_j1f=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext \
22427     conftest$ac_exeext conftest.$ac_ext
22428 LIBS=$ac_check_lib_save_LIBS
22429 fi
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
22431 $as_echo "$ac_cv_lib_m_j1f" >&6; }
22432 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
22433
22434 $as_echo "#define HAVE_J1F 1" >>confdefs.h
22435
22436 fi
22437
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
22439 $as_echo_n "checking for j1 in -lm... " >&6; }
22440 if test "${ac_cv_lib_m_j1+set}" = set; then :
22441   $as_echo_n "(cached) " >&6
22442 else
22443   ac_check_lib_save_LIBS=$LIBS
22444 LIBS="-lm  $LIBS"
22445 if test x$gcc_no_link = xyes; then
22446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22447 fi
22448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22449 /* end confdefs.h.  */
22450
22451 /* Override any GCC internal prototype to avoid an error.
22452    Use char because int might match the return type of a GCC
22453    builtin and then its argument prototype would still apply.  */
22454 #ifdef __cplusplus
22455 extern "C"
22456 #endif
22457 char j1 ();
22458 int
22459 main ()
22460 {
22461 return j1 ();
22462   ;
22463   return 0;
22464 }
22465 _ACEOF
22466 if ac_fn_c_try_link "$LINENO"; then :
22467   ac_cv_lib_m_j1=yes
22468 else
22469   ac_cv_lib_m_j1=no
22470 fi
22471 rm -f core conftest.err conftest.$ac_objext \
22472     conftest$ac_exeext conftest.$ac_ext
22473 LIBS=$ac_check_lib_save_LIBS
22474 fi
22475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
22476 $as_echo "$ac_cv_lib_m_j1" >&6; }
22477 if test "x$ac_cv_lib_m_j1" = x""yes; then :
22478
22479 $as_echo "#define HAVE_J1 1" >>confdefs.h
22480
22481 fi
22482
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
22484 $as_echo_n "checking for j1l in -lm... " >&6; }
22485 if test "${ac_cv_lib_m_j1l+set}" = set; then :
22486   $as_echo_n "(cached) " >&6
22487 else
22488   ac_check_lib_save_LIBS=$LIBS
22489 LIBS="-lm  $LIBS"
22490 if test x$gcc_no_link = xyes; then
22491   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22492 fi
22493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22494 /* end confdefs.h.  */
22495
22496 /* Override any GCC internal prototype to avoid an error.
22497    Use char because int might match the return type of a GCC
22498    builtin and then its argument prototype would still apply.  */
22499 #ifdef __cplusplus
22500 extern "C"
22501 #endif
22502 char j1l ();
22503 int
22504 main ()
22505 {
22506 return j1l ();
22507   ;
22508   return 0;
22509 }
22510 _ACEOF
22511 if ac_fn_c_try_link "$LINENO"; then :
22512   ac_cv_lib_m_j1l=yes
22513 else
22514   ac_cv_lib_m_j1l=no
22515 fi
22516 rm -f core conftest.err conftest.$ac_objext \
22517     conftest$ac_exeext conftest.$ac_ext
22518 LIBS=$ac_check_lib_save_LIBS
22519 fi
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
22521 $as_echo "$ac_cv_lib_m_j1l" >&6; }
22522 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
22523
22524 $as_echo "#define HAVE_J1L 1" >>confdefs.h
22525
22526 fi
22527
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
22529 $as_echo_n "checking for jnf in -lm... " >&6; }
22530 if test "${ac_cv_lib_m_jnf+set}" = set; then :
22531   $as_echo_n "(cached) " >&6
22532 else
22533   ac_check_lib_save_LIBS=$LIBS
22534 LIBS="-lm  $LIBS"
22535 if test x$gcc_no_link = xyes; then
22536   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22537 fi
22538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22539 /* end confdefs.h.  */
22540
22541 /* Override any GCC internal prototype to avoid an error.
22542    Use char because int might match the return type of a GCC
22543    builtin and then its argument prototype would still apply.  */
22544 #ifdef __cplusplus
22545 extern "C"
22546 #endif
22547 char jnf ();
22548 int
22549 main ()
22550 {
22551 return jnf ();
22552   ;
22553   return 0;
22554 }
22555 _ACEOF
22556 if ac_fn_c_try_link "$LINENO"; then :
22557   ac_cv_lib_m_jnf=yes
22558 else
22559   ac_cv_lib_m_jnf=no
22560 fi
22561 rm -f core conftest.err conftest.$ac_objext \
22562     conftest$ac_exeext conftest.$ac_ext
22563 LIBS=$ac_check_lib_save_LIBS
22564 fi
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
22566 $as_echo "$ac_cv_lib_m_jnf" >&6; }
22567 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
22568
22569 $as_echo "#define HAVE_JNF 1" >>confdefs.h
22570
22571 fi
22572
22573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
22574 $as_echo_n "checking for jn in -lm... " >&6; }
22575 if test "${ac_cv_lib_m_jn+set}" = set; then :
22576   $as_echo_n "(cached) " >&6
22577 else
22578   ac_check_lib_save_LIBS=$LIBS
22579 LIBS="-lm  $LIBS"
22580 if test x$gcc_no_link = xyes; then
22581   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22582 fi
22583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584 /* end confdefs.h.  */
22585
22586 /* Override any GCC internal prototype to avoid an error.
22587    Use char because int might match the return type of a GCC
22588    builtin and then its argument prototype would still apply.  */
22589 #ifdef __cplusplus
22590 extern "C"
22591 #endif
22592 char jn ();
22593 int
22594 main ()
22595 {
22596 return jn ();
22597   ;
22598   return 0;
22599 }
22600 _ACEOF
22601 if ac_fn_c_try_link "$LINENO"; then :
22602   ac_cv_lib_m_jn=yes
22603 else
22604   ac_cv_lib_m_jn=no
22605 fi
22606 rm -f core conftest.err conftest.$ac_objext \
22607     conftest$ac_exeext conftest.$ac_ext
22608 LIBS=$ac_check_lib_save_LIBS
22609 fi
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
22611 $as_echo "$ac_cv_lib_m_jn" >&6; }
22612 if test "x$ac_cv_lib_m_jn" = x""yes; then :
22613
22614 $as_echo "#define HAVE_JN 1" >>confdefs.h
22615
22616 fi
22617
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
22619 $as_echo_n "checking for jnl in -lm... " >&6; }
22620 if test "${ac_cv_lib_m_jnl+set}" = set; then :
22621   $as_echo_n "(cached) " >&6
22622 else
22623   ac_check_lib_save_LIBS=$LIBS
22624 LIBS="-lm  $LIBS"
22625 if test x$gcc_no_link = xyes; then
22626   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22627 fi
22628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22629 /* end confdefs.h.  */
22630
22631 /* Override any GCC internal prototype to avoid an error.
22632    Use char because int might match the return type of a GCC
22633    builtin and then its argument prototype would still apply.  */
22634 #ifdef __cplusplus
22635 extern "C"
22636 #endif
22637 char jnl ();
22638 int
22639 main ()
22640 {
22641 return jnl ();
22642   ;
22643   return 0;
22644 }
22645 _ACEOF
22646 if ac_fn_c_try_link "$LINENO"; then :
22647   ac_cv_lib_m_jnl=yes
22648 else
22649   ac_cv_lib_m_jnl=no
22650 fi
22651 rm -f core conftest.err conftest.$ac_objext \
22652     conftest$ac_exeext conftest.$ac_ext
22653 LIBS=$ac_check_lib_save_LIBS
22654 fi
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
22656 $as_echo "$ac_cv_lib_m_jnl" >&6; }
22657 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
22658
22659 $as_echo "#define HAVE_JNL 1" >>confdefs.h
22660
22661 fi
22662
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
22664 $as_echo_n "checking for y0f in -lm... " >&6; }
22665 if test "${ac_cv_lib_m_y0f+set}" = set; then :
22666   $as_echo_n "(cached) " >&6
22667 else
22668   ac_check_lib_save_LIBS=$LIBS
22669 LIBS="-lm  $LIBS"
22670 if test x$gcc_no_link = xyes; then
22671   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22672 fi
22673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22674 /* end confdefs.h.  */
22675
22676 /* Override any GCC internal prototype to avoid an error.
22677    Use char because int might match the return type of a GCC
22678    builtin and then its argument prototype would still apply.  */
22679 #ifdef __cplusplus
22680 extern "C"
22681 #endif
22682 char y0f ();
22683 int
22684 main ()
22685 {
22686 return y0f ();
22687   ;
22688   return 0;
22689 }
22690 _ACEOF
22691 if ac_fn_c_try_link "$LINENO"; then :
22692   ac_cv_lib_m_y0f=yes
22693 else
22694   ac_cv_lib_m_y0f=no
22695 fi
22696 rm -f core conftest.err conftest.$ac_objext \
22697     conftest$ac_exeext conftest.$ac_ext
22698 LIBS=$ac_check_lib_save_LIBS
22699 fi
22700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
22701 $as_echo "$ac_cv_lib_m_y0f" >&6; }
22702 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
22703
22704 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
22705
22706 fi
22707
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
22709 $as_echo_n "checking for y0 in -lm... " >&6; }
22710 if test "${ac_cv_lib_m_y0+set}" = set; then :
22711   $as_echo_n "(cached) " >&6
22712 else
22713   ac_check_lib_save_LIBS=$LIBS
22714 LIBS="-lm  $LIBS"
22715 if test x$gcc_no_link = xyes; then
22716   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22717 fi
22718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22719 /* end confdefs.h.  */
22720
22721 /* Override any GCC internal prototype to avoid an error.
22722    Use char because int might match the return type of a GCC
22723    builtin and then its argument prototype would still apply.  */
22724 #ifdef __cplusplus
22725 extern "C"
22726 #endif
22727 char y0 ();
22728 int
22729 main ()
22730 {
22731 return y0 ();
22732   ;
22733   return 0;
22734 }
22735 _ACEOF
22736 if ac_fn_c_try_link "$LINENO"; then :
22737   ac_cv_lib_m_y0=yes
22738 else
22739   ac_cv_lib_m_y0=no
22740 fi
22741 rm -f core conftest.err conftest.$ac_objext \
22742     conftest$ac_exeext conftest.$ac_ext
22743 LIBS=$ac_check_lib_save_LIBS
22744 fi
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
22746 $as_echo "$ac_cv_lib_m_y0" >&6; }
22747 if test "x$ac_cv_lib_m_y0" = x""yes; then :
22748
22749 $as_echo "#define HAVE_Y0 1" >>confdefs.h
22750
22751 fi
22752
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
22754 $as_echo_n "checking for y0l in -lm... " >&6; }
22755 if test "${ac_cv_lib_m_y0l+set}" = set; then :
22756   $as_echo_n "(cached) " >&6
22757 else
22758   ac_check_lib_save_LIBS=$LIBS
22759 LIBS="-lm  $LIBS"
22760 if test x$gcc_no_link = xyes; then
22761   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22762 fi
22763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22764 /* end confdefs.h.  */
22765
22766 /* Override any GCC internal prototype to avoid an error.
22767    Use char because int might match the return type of a GCC
22768    builtin and then its argument prototype would still apply.  */
22769 #ifdef __cplusplus
22770 extern "C"
22771 #endif
22772 char y0l ();
22773 int
22774 main ()
22775 {
22776 return y0l ();
22777   ;
22778   return 0;
22779 }
22780 _ACEOF
22781 if ac_fn_c_try_link "$LINENO"; then :
22782   ac_cv_lib_m_y0l=yes
22783 else
22784   ac_cv_lib_m_y0l=no
22785 fi
22786 rm -f core conftest.err conftest.$ac_objext \
22787     conftest$ac_exeext conftest.$ac_ext
22788 LIBS=$ac_check_lib_save_LIBS
22789 fi
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
22791 $as_echo "$ac_cv_lib_m_y0l" >&6; }
22792 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
22793
22794 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
22795
22796 fi
22797
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
22799 $as_echo_n "checking for y1f in -lm... " >&6; }
22800 if test "${ac_cv_lib_m_y1f+set}" = set; then :
22801   $as_echo_n "(cached) " >&6
22802 else
22803   ac_check_lib_save_LIBS=$LIBS
22804 LIBS="-lm  $LIBS"
22805 if test x$gcc_no_link = xyes; then
22806   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22807 fi
22808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22809 /* end confdefs.h.  */
22810
22811 /* Override any GCC internal prototype to avoid an error.
22812    Use char because int might match the return type of a GCC
22813    builtin and then its argument prototype would still apply.  */
22814 #ifdef __cplusplus
22815 extern "C"
22816 #endif
22817 char y1f ();
22818 int
22819 main ()
22820 {
22821 return y1f ();
22822   ;
22823   return 0;
22824 }
22825 _ACEOF
22826 if ac_fn_c_try_link "$LINENO"; then :
22827   ac_cv_lib_m_y1f=yes
22828 else
22829   ac_cv_lib_m_y1f=no
22830 fi
22831 rm -f core conftest.err conftest.$ac_objext \
22832     conftest$ac_exeext conftest.$ac_ext
22833 LIBS=$ac_check_lib_save_LIBS
22834 fi
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
22836 $as_echo "$ac_cv_lib_m_y1f" >&6; }
22837 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
22838
22839 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
22840
22841 fi
22842
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
22844 $as_echo_n "checking for y1 in -lm... " >&6; }
22845 if test "${ac_cv_lib_m_y1+set}" = set; then :
22846   $as_echo_n "(cached) " >&6
22847 else
22848   ac_check_lib_save_LIBS=$LIBS
22849 LIBS="-lm  $LIBS"
22850 if test x$gcc_no_link = xyes; then
22851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22852 fi
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h.  */
22855
22856 /* Override any GCC internal prototype to avoid an error.
22857    Use char because int might match the return type of a GCC
22858    builtin and then its argument prototype would still apply.  */
22859 #ifdef __cplusplus
22860 extern "C"
22861 #endif
22862 char y1 ();
22863 int
22864 main ()
22865 {
22866 return y1 ();
22867   ;
22868   return 0;
22869 }
22870 _ACEOF
22871 if ac_fn_c_try_link "$LINENO"; then :
22872   ac_cv_lib_m_y1=yes
22873 else
22874   ac_cv_lib_m_y1=no
22875 fi
22876 rm -f core conftest.err conftest.$ac_objext \
22877     conftest$ac_exeext conftest.$ac_ext
22878 LIBS=$ac_check_lib_save_LIBS
22879 fi
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
22881 $as_echo "$ac_cv_lib_m_y1" >&6; }
22882 if test "x$ac_cv_lib_m_y1" = x""yes; then :
22883
22884 $as_echo "#define HAVE_Y1 1" >>confdefs.h
22885
22886 fi
22887
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
22889 $as_echo_n "checking for y1l in -lm... " >&6; }
22890 if test "${ac_cv_lib_m_y1l+set}" = set; then :
22891   $as_echo_n "(cached) " >&6
22892 else
22893   ac_check_lib_save_LIBS=$LIBS
22894 LIBS="-lm  $LIBS"
22895 if test x$gcc_no_link = xyes; then
22896   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22897 fi
22898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22899 /* end confdefs.h.  */
22900
22901 /* Override any GCC internal prototype to avoid an error.
22902    Use char because int might match the return type of a GCC
22903    builtin and then its argument prototype would still apply.  */
22904 #ifdef __cplusplus
22905 extern "C"
22906 #endif
22907 char y1l ();
22908 int
22909 main ()
22910 {
22911 return y1l ();
22912   ;
22913   return 0;
22914 }
22915 _ACEOF
22916 if ac_fn_c_try_link "$LINENO"; then :
22917   ac_cv_lib_m_y1l=yes
22918 else
22919   ac_cv_lib_m_y1l=no
22920 fi
22921 rm -f core conftest.err conftest.$ac_objext \
22922     conftest$ac_exeext conftest.$ac_ext
22923 LIBS=$ac_check_lib_save_LIBS
22924 fi
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
22926 $as_echo "$ac_cv_lib_m_y1l" >&6; }
22927 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
22928
22929 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
22930
22931 fi
22932
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
22934 $as_echo_n "checking for ynf in -lm... " >&6; }
22935 if test "${ac_cv_lib_m_ynf+set}" = set; then :
22936   $as_echo_n "(cached) " >&6
22937 else
22938   ac_check_lib_save_LIBS=$LIBS
22939 LIBS="-lm  $LIBS"
22940 if test x$gcc_no_link = xyes; then
22941   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22942 fi
22943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22944 /* end confdefs.h.  */
22945
22946 /* Override any GCC internal prototype to avoid an error.
22947    Use char because int might match the return type of a GCC
22948    builtin and then its argument prototype would still apply.  */
22949 #ifdef __cplusplus
22950 extern "C"
22951 #endif
22952 char ynf ();
22953 int
22954 main ()
22955 {
22956 return ynf ();
22957   ;
22958   return 0;
22959 }
22960 _ACEOF
22961 if ac_fn_c_try_link "$LINENO"; then :
22962   ac_cv_lib_m_ynf=yes
22963 else
22964   ac_cv_lib_m_ynf=no
22965 fi
22966 rm -f core conftest.err conftest.$ac_objext \
22967     conftest$ac_exeext conftest.$ac_ext
22968 LIBS=$ac_check_lib_save_LIBS
22969 fi
22970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
22971 $as_echo "$ac_cv_lib_m_ynf" >&6; }
22972 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
22973
22974 $as_echo "#define HAVE_YNF 1" >>confdefs.h
22975
22976 fi
22977
22978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
22979 $as_echo_n "checking for yn in -lm... " >&6; }
22980 if test "${ac_cv_lib_m_yn+set}" = set; then :
22981   $as_echo_n "(cached) " >&6
22982 else
22983   ac_check_lib_save_LIBS=$LIBS
22984 LIBS="-lm  $LIBS"
22985 if test x$gcc_no_link = xyes; then
22986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22987 fi
22988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22989 /* end confdefs.h.  */
22990
22991 /* Override any GCC internal prototype to avoid an error.
22992    Use char because int might match the return type of a GCC
22993    builtin and then its argument prototype would still apply.  */
22994 #ifdef __cplusplus
22995 extern "C"
22996 #endif
22997 char yn ();
22998 int
22999 main ()
23000 {
23001 return yn ();
23002   ;
23003   return 0;
23004 }
23005 _ACEOF
23006 if ac_fn_c_try_link "$LINENO"; then :
23007   ac_cv_lib_m_yn=yes
23008 else
23009   ac_cv_lib_m_yn=no
23010 fi
23011 rm -f core conftest.err conftest.$ac_objext \
23012     conftest$ac_exeext conftest.$ac_ext
23013 LIBS=$ac_check_lib_save_LIBS
23014 fi
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23016 $as_echo "$ac_cv_lib_m_yn" >&6; }
23017 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23018
23019 $as_echo "#define HAVE_YN 1" >>confdefs.h
23020
23021 fi
23022
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23024 $as_echo_n "checking for ynl in -lm... " >&6; }
23025 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23026   $as_echo_n "(cached) " >&6
23027 else
23028   ac_check_lib_save_LIBS=$LIBS
23029 LIBS="-lm  $LIBS"
23030 if test x$gcc_no_link = xyes; then
23031   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23032 fi
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h.  */
23035
23036 /* Override any GCC internal prototype to avoid an error.
23037    Use char because int might match the return type of a GCC
23038    builtin and then its argument prototype would still apply.  */
23039 #ifdef __cplusplus
23040 extern "C"
23041 #endif
23042 char ynl ();
23043 int
23044 main ()
23045 {
23046 return ynl ();
23047   ;
23048   return 0;
23049 }
23050 _ACEOF
23051 if ac_fn_c_try_link "$LINENO"; then :
23052   ac_cv_lib_m_ynl=yes
23053 else
23054   ac_cv_lib_m_ynl=no
23055 fi
23056 rm -f core conftest.err conftest.$ac_objext \
23057     conftest$ac_exeext conftest.$ac_ext
23058 LIBS=$ac_check_lib_save_LIBS
23059 fi
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23061 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23062 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23063
23064 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23065
23066 fi
23067
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23069 $as_echo_n "checking for tgamma in -lm... " >&6; }
23070 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23071   $as_echo_n "(cached) " >&6
23072 else
23073   ac_check_lib_save_LIBS=$LIBS
23074 LIBS="-lm  $LIBS"
23075 if test x$gcc_no_link = xyes; then
23076   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23077 fi
23078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23079 /* end confdefs.h.  */
23080
23081 /* Override any GCC internal prototype to avoid an error.
23082    Use char because int might match the return type of a GCC
23083    builtin and then its argument prototype would still apply.  */
23084 #ifdef __cplusplus
23085 extern "C"
23086 #endif
23087 char tgamma ();
23088 int
23089 main ()
23090 {
23091 return tgamma ();
23092   ;
23093   return 0;
23094 }
23095 _ACEOF
23096 if ac_fn_c_try_link "$LINENO"; then :
23097   ac_cv_lib_m_tgamma=yes
23098 else
23099   ac_cv_lib_m_tgamma=no
23100 fi
23101 rm -f core conftest.err conftest.$ac_objext \
23102     conftest$ac_exeext conftest.$ac_ext
23103 LIBS=$ac_check_lib_save_LIBS
23104 fi
23105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23106 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23107 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23108
23109 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23110
23111 fi
23112
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23114 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23115 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23116   $as_echo_n "(cached) " >&6
23117 else
23118   ac_check_lib_save_LIBS=$LIBS
23119 LIBS="-lm  $LIBS"
23120 if test x$gcc_no_link = xyes; then
23121   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23122 fi
23123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23124 /* end confdefs.h.  */
23125
23126 /* Override any GCC internal prototype to avoid an error.
23127    Use char because int might match the return type of a GCC
23128    builtin and then its argument prototype would still apply.  */
23129 #ifdef __cplusplus
23130 extern "C"
23131 #endif
23132 char tgammaf ();
23133 int
23134 main ()
23135 {
23136 return tgammaf ();
23137   ;
23138   return 0;
23139 }
23140 _ACEOF
23141 if ac_fn_c_try_link "$LINENO"; then :
23142   ac_cv_lib_m_tgammaf=yes
23143 else
23144   ac_cv_lib_m_tgammaf=no
23145 fi
23146 rm -f core conftest.err conftest.$ac_objext \
23147     conftest$ac_exeext conftest.$ac_ext
23148 LIBS=$ac_check_lib_save_LIBS
23149 fi
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23151 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23152 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23153
23154 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23155
23156 fi
23157
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23159 $as_echo_n "checking for tgammal in -lm... " >&6; }
23160 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23161   $as_echo_n "(cached) " >&6
23162 else
23163   ac_check_lib_save_LIBS=$LIBS
23164 LIBS="-lm  $LIBS"
23165 if test x$gcc_no_link = xyes; then
23166   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23167 fi
23168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23169 /* end confdefs.h.  */
23170
23171 /* Override any GCC internal prototype to avoid an error.
23172    Use char because int might match the return type of a GCC
23173    builtin and then its argument prototype would still apply.  */
23174 #ifdef __cplusplus
23175 extern "C"
23176 #endif
23177 char tgammal ();
23178 int
23179 main ()
23180 {
23181 return tgammal ();
23182   ;
23183   return 0;
23184 }
23185 _ACEOF
23186 if ac_fn_c_try_link "$LINENO"; then :
23187   ac_cv_lib_m_tgammal=yes
23188 else
23189   ac_cv_lib_m_tgammal=no
23190 fi
23191 rm -f core conftest.err conftest.$ac_objext \
23192     conftest$ac_exeext conftest.$ac_ext
23193 LIBS=$ac_check_lib_save_LIBS
23194 fi
23195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23196 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23197 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23198
23199 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23200
23201 fi
23202
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23204 $as_echo_n "checking for lgamma in -lm... " >&6; }
23205 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23206   $as_echo_n "(cached) " >&6
23207 else
23208   ac_check_lib_save_LIBS=$LIBS
23209 LIBS="-lm  $LIBS"
23210 if test x$gcc_no_link = xyes; then
23211   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23212 fi
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h.  */
23215
23216 /* Override any GCC internal prototype to avoid an error.
23217    Use char because int might match the return type of a GCC
23218    builtin and then its argument prototype would still apply.  */
23219 #ifdef __cplusplus
23220 extern "C"
23221 #endif
23222 char lgamma ();
23223 int
23224 main ()
23225 {
23226 return lgamma ();
23227   ;
23228   return 0;
23229 }
23230 _ACEOF
23231 if ac_fn_c_try_link "$LINENO"; then :
23232   ac_cv_lib_m_lgamma=yes
23233 else
23234   ac_cv_lib_m_lgamma=no
23235 fi
23236 rm -f core conftest.err conftest.$ac_objext \
23237     conftest$ac_exeext conftest.$ac_ext
23238 LIBS=$ac_check_lib_save_LIBS
23239 fi
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23241 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23242 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23243
23244 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23245
23246 fi
23247
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23249 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23250 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23251   $as_echo_n "(cached) " >&6
23252 else
23253   ac_check_lib_save_LIBS=$LIBS
23254 LIBS="-lm  $LIBS"
23255 if test x$gcc_no_link = xyes; then
23256   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23257 fi
23258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23259 /* end confdefs.h.  */
23260
23261 /* Override any GCC internal prototype to avoid an error.
23262    Use char because int might match the return type of a GCC
23263    builtin and then its argument prototype would still apply.  */
23264 #ifdef __cplusplus
23265 extern "C"
23266 #endif
23267 char lgammaf ();
23268 int
23269 main ()
23270 {
23271 return lgammaf ();
23272   ;
23273   return 0;
23274 }
23275 _ACEOF
23276 if ac_fn_c_try_link "$LINENO"; then :
23277   ac_cv_lib_m_lgammaf=yes
23278 else
23279   ac_cv_lib_m_lgammaf=no
23280 fi
23281 rm -f core conftest.err conftest.$ac_objext \
23282     conftest$ac_exeext conftest.$ac_ext
23283 LIBS=$ac_check_lib_save_LIBS
23284 fi
23285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23286 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23287 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23288
23289 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23290
23291 fi
23292
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23294 $as_echo_n "checking for lgammal in -lm... " >&6; }
23295 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23296   $as_echo_n "(cached) " >&6
23297 else
23298   ac_check_lib_save_LIBS=$LIBS
23299 LIBS="-lm  $LIBS"
23300 if test x$gcc_no_link = xyes; then
23301   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23302 fi
23303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23304 /* end confdefs.h.  */
23305
23306 /* Override any GCC internal prototype to avoid an error.
23307    Use char because int might match the return type of a GCC
23308    builtin and then its argument prototype would still apply.  */
23309 #ifdef __cplusplus
23310 extern "C"
23311 #endif
23312 char lgammal ();
23313 int
23314 main ()
23315 {
23316 return lgammal ();
23317   ;
23318   return 0;
23319 }
23320 _ACEOF
23321 if ac_fn_c_try_link "$LINENO"; then :
23322   ac_cv_lib_m_lgammal=yes
23323 else
23324   ac_cv_lib_m_lgammal=no
23325 fi
23326 rm -f core conftest.err conftest.$ac_objext \
23327     conftest$ac_exeext conftest.$ac_ext
23328 LIBS=$ac_check_lib_save_LIBS
23329 fi
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23331 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23332 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23333
23334 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23335
23336 fi
23337
23338
23339 # Check for GFORTRAN_C99_1.1 funcs
23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23341 $as_echo_n "checking for cacos in -lm... " >&6; }
23342 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23343   $as_echo_n "(cached) " >&6
23344 else
23345   ac_check_lib_save_LIBS=$LIBS
23346 LIBS="-lm  $LIBS"
23347 if test x$gcc_no_link = xyes; then
23348   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23349 fi
23350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23351 /* end confdefs.h.  */
23352
23353 /* Override any GCC internal prototype to avoid an error.
23354    Use char because int might match the return type of a GCC
23355    builtin and then its argument prototype would still apply.  */
23356 #ifdef __cplusplus
23357 extern "C"
23358 #endif
23359 char cacos ();
23360 int
23361 main ()
23362 {
23363 return cacos ();
23364   ;
23365   return 0;
23366 }
23367 _ACEOF
23368 if ac_fn_c_try_link "$LINENO"; then :
23369   ac_cv_lib_m_cacos=yes
23370 else
23371   ac_cv_lib_m_cacos=no
23372 fi
23373 rm -f core conftest.err conftest.$ac_objext \
23374     conftest$ac_exeext conftest.$ac_ext
23375 LIBS=$ac_check_lib_save_LIBS
23376 fi
23377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
23378 $as_echo "$ac_cv_lib_m_cacos" >&6; }
23379 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
23380
23381 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
23382
23383 fi
23384
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
23386 $as_echo_n "checking for cacosf in -lm... " >&6; }
23387 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
23388   $as_echo_n "(cached) " >&6
23389 else
23390   ac_check_lib_save_LIBS=$LIBS
23391 LIBS="-lm  $LIBS"
23392 if test x$gcc_no_link = xyes; then
23393   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23394 fi
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h.  */
23397
23398 /* Override any GCC internal prototype to avoid an error.
23399    Use char because int might match the return type of a GCC
23400    builtin and then its argument prototype would still apply.  */
23401 #ifdef __cplusplus
23402 extern "C"
23403 #endif
23404 char cacosf ();
23405 int
23406 main ()
23407 {
23408 return cacosf ();
23409   ;
23410   return 0;
23411 }
23412 _ACEOF
23413 if ac_fn_c_try_link "$LINENO"; then :
23414   ac_cv_lib_m_cacosf=yes
23415 else
23416   ac_cv_lib_m_cacosf=no
23417 fi
23418 rm -f core conftest.err conftest.$ac_objext \
23419     conftest$ac_exeext conftest.$ac_ext
23420 LIBS=$ac_check_lib_save_LIBS
23421 fi
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
23423 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
23424 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
23425
23426 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
23427
23428 fi
23429
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
23431 $as_echo_n "checking for cacosh in -lm... " >&6; }
23432 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
23433   $as_echo_n "(cached) " >&6
23434 else
23435   ac_check_lib_save_LIBS=$LIBS
23436 LIBS="-lm  $LIBS"
23437 if test x$gcc_no_link = xyes; then
23438   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23439 fi
23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h.  */
23442
23443 /* Override any GCC internal prototype to avoid an error.
23444    Use char because int might match the return type of a GCC
23445    builtin and then its argument prototype would still apply.  */
23446 #ifdef __cplusplus
23447 extern "C"
23448 #endif
23449 char cacosh ();
23450 int
23451 main ()
23452 {
23453 return cacosh ();
23454   ;
23455   return 0;
23456 }
23457 _ACEOF
23458 if ac_fn_c_try_link "$LINENO"; then :
23459   ac_cv_lib_m_cacosh=yes
23460 else
23461   ac_cv_lib_m_cacosh=no
23462 fi
23463 rm -f core conftest.err conftest.$ac_objext \
23464     conftest$ac_exeext conftest.$ac_ext
23465 LIBS=$ac_check_lib_save_LIBS
23466 fi
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
23468 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
23469 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
23470
23471 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
23472
23473 fi
23474
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
23476 $as_echo_n "checking for cacoshf in -lm... " >&6; }
23477 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
23478   $as_echo_n "(cached) " >&6
23479 else
23480   ac_check_lib_save_LIBS=$LIBS
23481 LIBS="-lm  $LIBS"
23482 if test x$gcc_no_link = xyes; then
23483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23484 fi
23485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23486 /* end confdefs.h.  */
23487
23488 /* Override any GCC internal prototype to avoid an error.
23489    Use char because int might match the return type of a GCC
23490    builtin and then its argument prototype would still apply.  */
23491 #ifdef __cplusplus
23492 extern "C"
23493 #endif
23494 char cacoshf ();
23495 int
23496 main ()
23497 {
23498 return cacoshf ();
23499   ;
23500   return 0;
23501 }
23502 _ACEOF
23503 if ac_fn_c_try_link "$LINENO"; then :
23504   ac_cv_lib_m_cacoshf=yes
23505 else
23506   ac_cv_lib_m_cacoshf=no
23507 fi
23508 rm -f core conftest.err conftest.$ac_objext \
23509     conftest$ac_exeext conftest.$ac_ext
23510 LIBS=$ac_check_lib_save_LIBS
23511 fi
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
23513 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
23514 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
23515
23516 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
23517
23518 fi
23519
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
23521 $as_echo_n "checking for cacoshl in -lm... " >&6; }
23522 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
23523   $as_echo_n "(cached) " >&6
23524 else
23525   ac_check_lib_save_LIBS=$LIBS
23526 LIBS="-lm  $LIBS"
23527 if test x$gcc_no_link = xyes; then
23528   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23529 fi
23530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23531 /* end confdefs.h.  */
23532
23533 /* Override any GCC internal prototype to avoid an error.
23534    Use char because int might match the return type of a GCC
23535    builtin and then its argument prototype would still apply.  */
23536 #ifdef __cplusplus
23537 extern "C"
23538 #endif
23539 char cacoshl ();
23540 int
23541 main ()
23542 {
23543 return cacoshl ();
23544   ;
23545   return 0;
23546 }
23547 _ACEOF
23548 if ac_fn_c_try_link "$LINENO"; then :
23549   ac_cv_lib_m_cacoshl=yes
23550 else
23551   ac_cv_lib_m_cacoshl=no
23552 fi
23553 rm -f core conftest.err conftest.$ac_objext \
23554     conftest$ac_exeext conftest.$ac_ext
23555 LIBS=$ac_check_lib_save_LIBS
23556 fi
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
23558 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
23559 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
23560
23561 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
23562
23563 fi
23564
23565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
23566 $as_echo_n "checking for cacosl in -lm... " >&6; }
23567 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
23568   $as_echo_n "(cached) " >&6
23569 else
23570   ac_check_lib_save_LIBS=$LIBS
23571 LIBS="-lm  $LIBS"
23572 if test x$gcc_no_link = xyes; then
23573   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23574 fi
23575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23576 /* end confdefs.h.  */
23577
23578 /* Override any GCC internal prototype to avoid an error.
23579    Use char because int might match the return type of a GCC
23580    builtin and then its argument prototype would still apply.  */
23581 #ifdef __cplusplus
23582 extern "C"
23583 #endif
23584 char cacosl ();
23585 int
23586 main ()
23587 {
23588 return cacosl ();
23589   ;
23590   return 0;
23591 }
23592 _ACEOF
23593 if ac_fn_c_try_link "$LINENO"; then :
23594   ac_cv_lib_m_cacosl=yes
23595 else
23596   ac_cv_lib_m_cacosl=no
23597 fi
23598 rm -f core conftest.err conftest.$ac_objext \
23599     conftest$ac_exeext conftest.$ac_ext
23600 LIBS=$ac_check_lib_save_LIBS
23601 fi
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
23603 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
23604 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
23605
23606 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
23607
23608 fi
23609
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
23611 $as_echo_n "checking for casin in -lm... " >&6; }
23612 if test "${ac_cv_lib_m_casin+set}" = set; then :
23613   $as_echo_n "(cached) " >&6
23614 else
23615   ac_check_lib_save_LIBS=$LIBS
23616 LIBS="-lm  $LIBS"
23617 if test x$gcc_no_link = xyes; then
23618   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23619 fi
23620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h.  */
23622
23623 /* Override any GCC internal prototype to avoid an error.
23624    Use char because int might match the return type of a GCC
23625    builtin and then its argument prototype would still apply.  */
23626 #ifdef __cplusplus
23627 extern "C"
23628 #endif
23629 char casin ();
23630 int
23631 main ()
23632 {
23633 return casin ();
23634   ;
23635   return 0;
23636 }
23637 _ACEOF
23638 if ac_fn_c_try_link "$LINENO"; then :
23639   ac_cv_lib_m_casin=yes
23640 else
23641   ac_cv_lib_m_casin=no
23642 fi
23643 rm -f core conftest.err conftest.$ac_objext \
23644     conftest$ac_exeext conftest.$ac_ext
23645 LIBS=$ac_check_lib_save_LIBS
23646 fi
23647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
23648 $as_echo "$ac_cv_lib_m_casin" >&6; }
23649 if test "x$ac_cv_lib_m_casin" = x""yes; then :
23650
23651 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
23652
23653 fi
23654
23655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
23656 $as_echo_n "checking for casinf in -lm... " >&6; }
23657 if test "${ac_cv_lib_m_casinf+set}" = set; then :
23658   $as_echo_n "(cached) " >&6
23659 else
23660   ac_check_lib_save_LIBS=$LIBS
23661 LIBS="-lm  $LIBS"
23662 if test x$gcc_no_link = xyes; then
23663   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23664 fi
23665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23666 /* end confdefs.h.  */
23667
23668 /* Override any GCC internal prototype to avoid an error.
23669    Use char because int might match the return type of a GCC
23670    builtin and then its argument prototype would still apply.  */
23671 #ifdef __cplusplus
23672 extern "C"
23673 #endif
23674 char casinf ();
23675 int
23676 main ()
23677 {
23678 return casinf ();
23679   ;
23680   return 0;
23681 }
23682 _ACEOF
23683 if ac_fn_c_try_link "$LINENO"; then :
23684   ac_cv_lib_m_casinf=yes
23685 else
23686   ac_cv_lib_m_casinf=no
23687 fi
23688 rm -f core conftest.err conftest.$ac_objext \
23689     conftest$ac_exeext conftest.$ac_ext
23690 LIBS=$ac_check_lib_save_LIBS
23691 fi
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
23693 $as_echo "$ac_cv_lib_m_casinf" >&6; }
23694 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
23695
23696 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
23697
23698 fi
23699
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
23701 $as_echo_n "checking for casinh in -lm... " >&6; }
23702 if test "${ac_cv_lib_m_casinh+set}" = set; then :
23703   $as_echo_n "(cached) " >&6
23704 else
23705   ac_check_lib_save_LIBS=$LIBS
23706 LIBS="-lm  $LIBS"
23707 if test x$gcc_no_link = xyes; then
23708   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23709 fi
23710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23711 /* end confdefs.h.  */
23712
23713 /* Override any GCC internal prototype to avoid an error.
23714    Use char because int might match the return type of a GCC
23715    builtin and then its argument prototype would still apply.  */
23716 #ifdef __cplusplus
23717 extern "C"
23718 #endif
23719 char casinh ();
23720 int
23721 main ()
23722 {
23723 return casinh ();
23724   ;
23725   return 0;
23726 }
23727 _ACEOF
23728 if ac_fn_c_try_link "$LINENO"; then :
23729   ac_cv_lib_m_casinh=yes
23730 else
23731   ac_cv_lib_m_casinh=no
23732 fi
23733 rm -f core conftest.err conftest.$ac_objext \
23734     conftest$ac_exeext conftest.$ac_ext
23735 LIBS=$ac_check_lib_save_LIBS
23736 fi
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
23738 $as_echo "$ac_cv_lib_m_casinh" >&6; }
23739 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
23740
23741 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
23742
23743 fi
23744
23745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
23746 $as_echo_n "checking for casinhf in -lm... " >&6; }
23747 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
23748   $as_echo_n "(cached) " >&6
23749 else
23750   ac_check_lib_save_LIBS=$LIBS
23751 LIBS="-lm  $LIBS"
23752 if test x$gcc_no_link = xyes; then
23753   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23754 fi
23755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23756 /* end confdefs.h.  */
23757
23758 /* Override any GCC internal prototype to avoid an error.
23759    Use char because int might match the return type of a GCC
23760    builtin and then its argument prototype would still apply.  */
23761 #ifdef __cplusplus
23762 extern "C"
23763 #endif
23764 char casinhf ();
23765 int
23766 main ()
23767 {
23768 return casinhf ();
23769   ;
23770   return 0;
23771 }
23772 _ACEOF
23773 if ac_fn_c_try_link "$LINENO"; then :
23774   ac_cv_lib_m_casinhf=yes
23775 else
23776   ac_cv_lib_m_casinhf=no
23777 fi
23778 rm -f core conftest.err conftest.$ac_objext \
23779     conftest$ac_exeext conftest.$ac_ext
23780 LIBS=$ac_check_lib_save_LIBS
23781 fi
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
23783 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
23784 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
23785
23786 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
23787
23788 fi
23789
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
23791 $as_echo_n "checking for casinhl in -lm... " >&6; }
23792 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
23793   $as_echo_n "(cached) " >&6
23794 else
23795   ac_check_lib_save_LIBS=$LIBS
23796 LIBS="-lm  $LIBS"
23797 if test x$gcc_no_link = xyes; then
23798   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23799 fi
23800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23801 /* end confdefs.h.  */
23802
23803 /* Override any GCC internal prototype to avoid an error.
23804    Use char because int might match the return type of a GCC
23805    builtin and then its argument prototype would still apply.  */
23806 #ifdef __cplusplus
23807 extern "C"
23808 #endif
23809 char casinhl ();
23810 int
23811 main ()
23812 {
23813 return casinhl ();
23814   ;
23815   return 0;
23816 }
23817 _ACEOF
23818 if ac_fn_c_try_link "$LINENO"; then :
23819   ac_cv_lib_m_casinhl=yes
23820 else
23821   ac_cv_lib_m_casinhl=no
23822 fi
23823 rm -f core conftest.err conftest.$ac_objext \
23824     conftest$ac_exeext conftest.$ac_ext
23825 LIBS=$ac_check_lib_save_LIBS
23826 fi
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
23828 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
23829 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
23830
23831 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
23832
23833 fi
23834
23835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
23836 $as_echo_n "checking for casinl in -lm... " >&6; }
23837 if test "${ac_cv_lib_m_casinl+set}" = set; then :
23838   $as_echo_n "(cached) " >&6
23839 else
23840   ac_check_lib_save_LIBS=$LIBS
23841 LIBS="-lm  $LIBS"
23842 if test x$gcc_no_link = xyes; then
23843   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23844 fi
23845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23846 /* end confdefs.h.  */
23847
23848 /* Override any GCC internal prototype to avoid an error.
23849    Use char because int might match the return type of a GCC
23850    builtin and then its argument prototype would still apply.  */
23851 #ifdef __cplusplus
23852 extern "C"
23853 #endif
23854 char casinl ();
23855 int
23856 main ()
23857 {
23858 return casinl ();
23859   ;
23860   return 0;
23861 }
23862 _ACEOF
23863 if ac_fn_c_try_link "$LINENO"; then :
23864   ac_cv_lib_m_casinl=yes
23865 else
23866   ac_cv_lib_m_casinl=no
23867 fi
23868 rm -f core conftest.err conftest.$ac_objext \
23869     conftest$ac_exeext conftest.$ac_ext
23870 LIBS=$ac_check_lib_save_LIBS
23871 fi
23872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
23873 $as_echo "$ac_cv_lib_m_casinl" >&6; }
23874 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
23875
23876 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
23877
23878 fi
23879
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
23881 $as_echo_n "checking for catan in -lm... " >&6; }
23882 if test "${ac_cv_lib_m_catan+set}" = set; then :
23883   $as_echo_n "(cached) " >&6
23884 else
23885   ac_check_lib_save_LIBS=$LIBS
23886 LIBS="-lm  $LIBS"
23887 if test x$gcc_no_link = xyes; then
23888   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23889 fi
23890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23891 /* end confdefs.h.  */
23892
23893 /* Override any GCC internal prototype to avoid an error.
23894    Use char because int might match the return type of a GCC
23895    builtin and then its argument prototype would still apply.  */
23896 #ifdef __cplusplus
23897 extern "C"
23898 #endif
23899 char catan ();
23900 int
23901 main ()
23902 {
23903 return catan ();
23904   ;
23905   return 0;
23906 }
23907 _ACEOF
23908 if ac_fn_c_try_link "$LINENO"; then :
23909   ac_cv_lib_m_catan=yes
23910 else
23911   ac_cv_lib_m_catan=no
23912 fi
23913 rm -f core conftest.err conftest.$ac_objext \
23914     conftest$ac_exeext conftest.$ac_ext
23915 LIBS=$ac_check_lib_save_LIBS
23916 fi
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
23918 $as_echo "$ac_cv_lib_m_catan" >&6; }
23919 if test "x$ac_cv_lib_m_catan" = x""yes; then :
23920
23921 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
23922
23923 fi
23924
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
23926 $as_echo_n "checking for catanf in -lm... " >&6; }
23927 if test "${ac_cv_lib_m_catanf+set}" = set; then :
23928   $as_echo_n "(cached) " >&6
23929 else
23930   ac_check_lib_save_LIBS=$LIBS
23931 LIBS="-lm  $LIBS"
23932 if test x$gcc_no_link = xyes; then
23933   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23934 fi
23935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23936 /* end confdefs.h.  */
23937
23938 /* Override any GCC internal prototype to avoid an error.
23939    Use char because int might match the return type of a GCC
23940    builtin and then its argument prototype would still apply.  */
23941 #ifdef __cplusplus
23942 extern "C"
23943 #endif
23944 char catanf ();
23945 int
23946 main ()
23947 {
23948 return catanf ();
23949   ;
23950   return 0;
23951 }
23952 _ACEOF
23953 if ac_fn_c_try_link "$LINENO"; then :
23954   ac_cv_lib_m_catanf=yes
23955 else
23956   ac_cv_lib_m_catanf=no
23957 fi
23958 rm -f core conftest.err conftest.$ac_objext \
23959     conftest$ac_exeext conftest.$ac_ext
23960 LIBS=$ac_check_lib_save_LIBS
23961 fi
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
23963 $as_echo "$ac_cv_lib_m_catanf" >&6; }
23964 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
23965
23966 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
23967
23968 fi
23969
23970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
23971 $as_echo_n "checking for catanh in -lm... " >&6; }
23972 if test "${ac_cv_lib_m_catanh+set}" = set; then :
23973   $as_echo_n "(cached) " >&6
23974 else
23975   ac_check_lib_save_LIBS=$LIBS
23976 LIBS="-lm  $LIBS"
23977 if test x$gcc_no_link = xyes; then
23978   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23979 fi
23980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23981 /* end confdefs.h.  */
23982
23983 /* Override any GCC internal prototype to avoid an error.
23984    Use char because int might match the return type of a GCC
23985    builtin and then its argument prototype would still apply.  */
23986 #ifdef __cplusplus
23987 extern "C"
23988 #endif
23989 char catanh ();
23990 int
23991 main ()
23992 {
23993 return catanh ();
23994   ;
23995   return 0;
23996 }
23997 _ACEOF
23998 if ac_fn_c_try_link "$LINENO"; then :
23999   ac_cv_lib_m_catanh=yes
24000 else
24001   ac_cv_lib_m_catanh=no
24002 fi
24003 rm -f core conftest.err conftest.$ac_objext \
24004     conftest$ac_exeext conftest.$ac_ext
24005 LIBS=$ac_check_lib_save_LIBS
24006 fi
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24008 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24009 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24010
24011 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24012
24013 fi
24014
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24016 $as_echo_n "checking for catanhf in -lm... " >&6; }
24017 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24018   $as_echo_n "(cached) " >&6
24019 else
24020   ac_check_lib_save_LIBS=$LIBS
24021 LIBS="-lm  $LIBS"
24022 if test x$gcc_no_link = xyes; then
24023   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24024 fi
24025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24026 /* end confdefs.h.  */
24027
24028 /* Override any GCC internal prototype to avoid an error.
24029    Use char because int might match the return type of a GCC
24030    builtin and then its argument prototype would still apply.  */
24031 #ifdef __cplusplus
24032 extern "C"
24033 #endif
24034 char catanhf ();
24035 int
24036 main ()
24037 {
24038 return catanhf ();
24039   ;
24040   return 0;
24041 }
24042 _ACEOF
24043 if ac_fn_c_try_link "$LINENO"; then :
24044   ac_cv_lib_m_catanhf=yes
24045 else
24046   ac_cv_lib_m_catanhf=no
24047 fi
24048 rm -f core conftest.err conftest.$ac_objext \
24049     conftest$ac_exeext conftest.$ac_ext
24050 LIBS=$ac_check_lib_save_LIBS
24051 fi
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24053 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24054 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24055
24056 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24057
24058 fi
24059
24060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24061 $as_echo_n "checking for catanhl in -lm... " >&6; }
24062 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24063   $as_echo_n "(cached) " >&6
24064 else
24065   ac_check_lib_save_LIBS=$LIBS
24066 LIBS="-lm  $LIBS"
24067 if test x$gcc_no_link = xyes; then
24068   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24069 fi
24070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24071 /* end confdefs.h.  */
24072
24073 /* Override any GCC internal prototype to avoid an error.
24074    Use char because int might match the return type of a GCC
24075    builtin and then its argument prototype would still apply.  */
24076 #ifdef __cplusplus
24077 extern "C"
24078 #endif
24079 char catanhl ();
24080 int
24081 main ()
24082 {
24083 return catanhl ();
24084   ;
24085   return 0;
24086 }
24087 _ACEOF
24088 if ac_fn_c_try_link "$LINENO"; then :
24089   ac_cv_lib_m_catanhl=yes
24090 else
24091   ac_cv_lib_m_catanhl=no
24092 fi
24093 rm -f core conftest.err conftest.$ac_objext \
24094     conftest$ac_exeext conftest.$ac_ext
24095 LIBS=$ac_check_lib_save_LIBS
24096 fi
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24098 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24099 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24100
24101 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24102
24103 fi
24104
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24106 $as_echo_n "checking for catanl in -lm... " >&6; }
24107 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24108   $as_echo_n "(cached) " >&6
24109 else
24110   ac_check_lib_save_LIBS=$LIBS
24111 LIBS="-lm  $LIBS"
24112 if test x$gcc_no_link = xyes; then
24113   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24114 fi
24115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24116 /* end confdefs.h.  */
24117
24118 /* Override any GCC internal prototype to avoid an error.
24119    Use char because int might match the return type of a GCC
24120    builtin and then its argument prototype would still apply.  */
24121 #ifdef __cplusplus
24122 extern "C"
24123 #endif
24124 char catanl ();
24125 int
24126 main ()
24127 {
24128 return catanl ();
24129   ;
24130   return 0;
24131 }
24132 _ACEOF
24133 if ac_fn_c_try_link "$LINENO"; then :
24134   ac_cv_lib_m_catanl=yes
24135 else
24136   ac_cv_lib_m_catanl=no
24137 fi
24138 rm -f core conftest.err conftest.$ac_objext \
24139     conftest$ac_exeext conftest.$ac_ext
24140 LIBS=$ac_check_lib_save_LIBS
24141 fi
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24143 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24144 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24145
24146 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24147
24148 fi
24149
24150
24151 # On AIX, clog is present in libm as __clog
24152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24153 $as_echo_n "checking for __clog in -lm... " >&6; }
24154 if test "${ac_cv_lib_m___clog+set}" = set; then :
24155   $as_echo_n "(cached) " >&6
24156 else
24157   ac_check_lib_save_LIBS=$LIBS
24158 LIBS="-lm  $LIBS"
24159 if test x$gcc_no_link = xyes; then
24160   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24161 fi
24162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24163 /* end confdefs.h.  */
24164
24165 /* Override any GCC internal prototype to avoid an error.
24166    Use char because int might match the return type of a GCC
24167    builtin and then its argument prototype would still apply.  */
24168 #ifdef __cplusplus
24169 extern "C"
24170 #endif
24171 char __clog ();
24172 int
24173 main ()
24174 {
24175 return __clog ();
24176   ;
24177   return 0;
24178 }
24179 _ACEOF
24180 if ac_fn_c_try_link "$LINENO"; then :
24181   ac_cv_lib_m___clog=yes
24182 else
24183   ac_cv_lib_m___clog=no
24184 fi
24185 rm -f core conftest.err conftest.$ac_objext \
24186     conftest$ac_exeext conftest.$ac_ext
24187 LIBS=$ac_check_lib_save_LIBS
24188 fi
24189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24190 $as_echo "$ac_cv_lib_m___clog" >&6; }
24191 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24192
24193 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24194
24195 fi
24196
24197
24198 # Check whether the system has a working stat()
24199
24200   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24201 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24202 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24203   $as_echo_n "(cached) " >&6
24204 else
24205
24206   if test "$cross_compiling" = yes; then :
24207
24208 case "${target}" in
24209   *mingw*) libgfor_cv_have_working_stat=no ;;
24210   *) libgfor_cv_have_working_stat=yes;;
24211 esac
24212 else
24213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24214 /* end confdefs.h.  */
24215
24216 #include <stdio.h>
24217 #include <sys/types.h>
24218 #include <sys/stat.h>
24219 #include <unistd.h>
24220
24221 int main ()
24222 {
24223   FILE *f, *g;
24224   struct stat st1, st2;
24225
24226   f = fopen ("foo", "w");
24227   g = fopen ("bar", "w");
24228   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24229     return 1;
24230   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24231     return 1;
24232   fclose(f);
24233   fclose(g);
24234   return 0;
24235 }
24236 _ACEOF
24237 if ac_fn_c_try_run "$LINENO"; then :
24238   libgfor_cv_have_working_stat=yes
24239 else
24240   libgfor_cv_have_working_stat=no
24241 fi
24242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24243   conftest.$ac_objext conftest.beam conftest.$ac_ext
24244 fi
24245
24246 fi
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24248 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24249 if test x"$libgfor_cv_have_working_stat" = xyes; then
24250
24251 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24252
24253 fi
24254
24255 # Check whether __mingw_snprintf() is present
24256
24257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24258 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24259 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24260   $as_echo_n "(cached) " >&6
24261 else
24262
24263     if test x$gcc_no_link = xyes; then
24264   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24265 fi
24266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24267 /* end confdefs.h.  */
24268
24269 #include <stdio.h>
24270 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24271
24272 int
24273 main ()
24274 {
24275
24276 __mingw_snprintf (NULL, 0, "%d\n", 1);
24277
24278   ;
24279   return 0;
24280 }
24281 _ACEOF
24282 if ac_fn_c_try_link "$LINENO"; then :
24283   eval "libgfor_cv_have_mingw_snprintf=yes"
24284 else
24285   eval "libgfor_cv_have_mingw_snprintf=no"
24286 fi
24287 rm -f core conftest.err conftest.$ac_objext \
24288     conftest$ac_exeext conftest.$ac_ext
24289
24290 fi
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24292 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24293   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24294
24295 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24296
24297   fi
24298
24299
24300 # Check for a broken powf implementation
24301
24302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24303 $as_echo_n "checking whether powf is broken... " >&6; }
24304 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24305   $as_echo_n "(cached) " >&6
24306 else
24307
24308 case "${target}" in
24309   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24310   *) libgfor_cv_have_broken_powf=no;;
24311 esac
24312 fi
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24314 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24315   if test x"$libgfor_cv_have_broken_powf" = xyes; then
24316
24317 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24318
24319   fi
24320
24321
24322 # Check whether we have a __float128 type
24323
24324   LIBQUADSPEC=
24325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24326 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24327 if test "${libgfor_cv_have_float128+set}" = set; then :
24328   $as_echo_n "(cached) " >&6
24329 else
24330
24331     if test x$gcc_no_link = xyes; then
24332   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24333 fi
24334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h.  */
24336
24337 /* no header */
24338
24339 int
24340 main ()
24341 {
24342
24343   typedef _Complex float __attribute__((mode(TC))) __complex128;
24344
24345   __float128 x;
24346   x = __builtin_huge_valq() - 2.e1000Q;
24347
24348   __complex128 z1, z2;
24349   z1 = x;
24350   z2 = 2.Q;
24351
24352   z1 /= z2;
24353   z1 /= 7.Q;
24354
24355   ;
24356   return 0;
24357 }
24358 _ACEOF
24359 if ac_fn_c_try_link "$LINENO"; then :
24360   libgfor_cv_have_float128=yes
24361 else
24362   libgfor_cv_have_float128=no
24363 fi
24364 rm -f core conftest.err conftest.$ac_objext \
24365     conftest$ac_exeext conftest.$ac_ext
24366
24367 fi
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
24369 $as_echo "$libgfor_cv_have_float128" >&6; }
24370
24371   if test "x$libgfor_cv_have_float128" = xyes; then
24372
24373 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
24374
24375
24376                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
24377     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
24378 $as_echo_n "checking whether --as-needed works... " >&6; }
24379 if test "${libgfor_cv_have_as_needed+set}" = set; then :
24380   $as_echo_n "(cached) " >&6
24381 else
24382
24383       save_LDFLAGS="$LDFLAGS"
24384       LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
24385       libgfor_cv_have_as_needed=no
24386
24387 ac_c_werror_flag=yes
24388       if test x$gcc_no_link = xyes; then
24389   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24390 fi
24391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h.  */
24393
24394 int
24395 main ()
24396 {
24397
24398   ;
24399   return 0;
24400 }
24401 _ACEOF
24402 if ac_fn_c_try_link "$LINENO"; then :
24403   libgfor_cv_have_as_needed=yes
24404 else
24405   libgfor_cv_have_as_needed=no
24406 fi
24407 rm -f core conftest.err conftest.$ac_objext \
24408     conftest$ac_exeext conftest.$ac_ext
24409       LDFLAGS="$save_LDFLAGS"
24410       ac_c_werror_flag=$ac_xsave_c_werror_flag
24411
24412 fi
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
24414 $as_echo "$libgfor_cv_have_as_needed" >&6; }
24415
24416         if test "x$libgfor_cv_have_as_needed" = xyes; then
24417       LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
24418     else
24419       LIBQUADSPEC="-lquadmath"
24420     fi
24421     if test -f ../libquadmath/libquadmath.la; then
24422       LIBQUADLIB=../libquadmath/libquadmath.la
24423       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
24424       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
24425     else
24426       LIBQUADLIB="-lquadmath"
24427       LIBQUADLIB_DEP=
24428       LIBQUADINCLUDE=
24429     fi
24430   fi
24431
24432
24433
24434
24435
24436
24437      if test "x$libgfor_cv_have_float128" = xyes; then
24438   LIBGFOR_BUILD_QUAD_TRUE=
24439   LIBGFOR_BUILD_QUAD_FALSE='#'
24440 else
24441   LIBGFOR_BUILD_QUAD_TRUE='#'
24442   LIBGFOR_BUILD_QUAD_FALSE=
24443 fi
24444
24445
24446
24447 # Check for GNU libc feenableexcept
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
24449 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
24450 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
24451   $as_echo_n "(cached) " >&6
24452 else
24453   ac_check_lib_save_LIBS=$LIBS
24454 LIBS="-lm  $LIBS"
24455 if test x$gcc_no_link = xyes; then
24456   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24457 fi
24458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24459 /* end confdefs.h.  */
24460
24461 /* Override any GCC internal prototype to avoid an error.
24462    Use char because int might match the return type of a GCC
24463    builtin and then its argument prototype would still apply.  */
24464 #ifdef __cplusplus
24465 extern "C"
24466 #endif
24467 char feenableexcept ();
24468 int
24469 main ()
24470 {
24471 return feenableexcept ();
24472   ;
24473   return 0;
24474 }
24475 _ACEOF
24476 if ac_fn_c_try_link "$LINENO"; then :
24477   ac_cv_lib_m_feenableexcept=yes
24478 else
24479   ac_cv_lib_m_feenableexcept=no
24480 fi
24481 rm -f core conftest.err conftest.$ac_objext \
24482     conftest$ac_exeext conftest.$ac_ext
24483 LIBS=$ac_check_lib_save_LIBS
24484 fi
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
24486 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
24487 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
24488   have_feenableexcept=yes
24489 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
24490
24491 fi
24492
24493
24494 # Check for SysV fpsetmask
24495
24496   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
24497 $as_echo_n "checking whether fpsetmask is present... " >&6; }
24498 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
24499   $as_echo_n "(cached) " >&6
24500 else
24501
24502     if test x$gcc_no_link = xyes; then
24503   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24504 fi
24505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24506 /* end confdefs.h.  */
24507
24508 #if HAVE_FLOATINGPOINT_H
24509 # include <floatingpoint.h>
24510 #endif /* HAVE_FLOATINGPOINT_H */
24511 #if HAVE_IEEEFP_H
24512 # include <ieeefp.h>
24513 #endif /* HAVE_IEEEFP_H */
24514 int
24515 main ()
24516 {
24517 fpsetmask(0);
24518   ;
24519   return 0;
24520 }
24521 _ACEOF
24522 if ac_fn_c_try_link "$LINENO"; then :
24523   eval "libgfor_cv_have_fpsetmask=yes"
24524 else
24525   eval "libgfor_cv_have_fpsetmask=no"
24526 fi
24527 rm -f core conftest.err conftest.$ac_objext \
24528     conftest$ac_exeext conftest.$ac_ext
24529
24530 fi
24531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
24532 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
24533   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
24534
24535 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
24536
24537   fi
24538
24539
24540 # Check for AIX fp_trap and fp_enable
24541 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
24542 if test "x$ac_cv_func_fp_trap" = x""yes; then :
24543   have_fp_trap=yes
24544 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
24545
24546 fi
24547
24548 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
24549 if test "x$ac_cv_func_fp_enable" = x""yes; then :
24550   have_fp_enable=yes
24551 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
24552
24553 fi
24554
24555
24556 # Runs configure.host to set up necessary host-dependent shell variables.
24557 # We then display a message about it, and propagate them through the
24558 # build chain.
24559 . ${srcdir}/configure.host
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
24561 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
24562 FPU_HOST_HEADER=config/${fpu_host}.h
24563
24564
24565 # Some targets require additional compiler options for IEEE compatibility.
24566 IEEE_FLAGS="${ieee_flags}"
24567
24568
24569 # Check out attribute support.
24570
24571   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
24572 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
24573 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
24574   $as_echo_n "(cached) " >&6
24575 else
24576
24577   save_CFLAGS="$CFLAGS"
24578   CFLAGS="$CFLAGS -Werror"
24579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24580 /* end confdefs.h.  */
24581 void __attribute__((visibility("hidden"))) foo(void) { }
24582 int
24583 main ()
24584 {
24585
24586   ;
24587   return 0;
24588 }
24589 _ACEOF
24590 if ac_fn_c_try_compile "$LINENO"; then :
24591   libgfor_cv_have_attribute_visibility=yes
24592 else
24593   libgfor_cv_have_attribute_visibility=no
24594 fi
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596   CFLAGS="$save_CFLAGS"
24597 fi
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
24599 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
24600   if test $libgfor_cv_have_attribute_visibility = yes; then
24601
24602 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
24603
24604   fi
24605
24606   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
24607 $as_echo_n "checking whether the target supports dllexport... " >&6; }
24608 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
24609   $as_echo_n "(cached) " >&6
24610 else
24611
24612   save_CFLAGS="$CFLAGS"
24613   CFLAGS="$CFLAGS -Werror"
24614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24615 /* end confdefs.h.  */
24616 void __attribute__((dllexport)) foo(void) { }
24617 int
24618 main ()
24619 {
24620
24621   ;
24622   return 0;
24623 }
24624 _ACEOF
24625 if ac_fn_c_try_compile "$LINENO"; then :
24626   libgfor_cv_have_attribute_dllexport=yes
24627 else
24628   libgfor_cv_have_attribute_dllexport=no
24629 fi
24630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24631   CFLAGS="$save_CFLAGS"
24632 fi
24633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
24634 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
24635   if test $libgfor_cv_have_attribute_dllexport = yes; then
24636
24637 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
24638
24639   fi
24640
24641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
24642 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
24643 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
24644   $as_echo_n "(cached) " >&6
24645 else
24646
24647   if test x$gcc_no_link = xyes; then
24648   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24649 fi
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h.  */
24652
24653 void foo(void) { }
24654 extern void bar(void) __attribute__((alias("foo")));
24655 int
24656 main ()
24657 {
24658 bar();
24659   ;
24660   return 0;
24661 }
24662 _ACEOF
24663 if ac_fn_c_try_link "$LINENO"; then :
24664   libgfor_cv_have_attribute_alias=yes
24665 else
24666   libgfor_cv_have_attribute_alias=no
24667 fi
24668 rm -f core conftest.err conftest.$ac_objext \
24669     conftest$ac_exeext conftest.$ac_ext
24670 fi
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
24672 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
24673   if test $libgfor_cv_have_attribute_alias = yes; then
24674
24675 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
24676
24677   fi
24678
24679 # Check out sync builtins support.
24680
24681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
24682 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
24683 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
24684   $as_echo_n "(cached) " >&6
24685 else
24686
24687   if test x$gcc_no_link = xyes; then
24688   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24689 fi
24690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24691 /* end confdefs.h.  */
24692 int foovar = 0;
24693 int
24694 main ()
24695 {
24696
24697 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
24698 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
24699   ;
24700   return 0;
24701 }
24702 _ACEOF
24703 if ac_fn_c_try_link "$LINENO"; then :
24704   libgfor_cv_have_sync_fetch_and_add=yes
24705 else
24706   libgfor_cv_have_sync_fetch_and_add=no
24707 fi
24708 rm -f core conftest.err conftest.$ac_objext \
24709     conftest$ac_exeext conftest.$ac_ext
24710 fi
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
24712 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
24713   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
24714
24715 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
24716
24717   fi
24718
24719 # Check out thread support.
24720
24721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking configured target thread model" >&5
24722 $as_echo_n "checking configured target thread model... " >&6; }
24723 if test "${libgfor_cv_target_thread_file+set}" = set; then :
24724   $as_echo_n "(cached) " >&6
24725 else
24726
24727 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
24728 fi
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_target_thread_file" >&5
24730 $as_echo "$libgfor_cv_target_thread_file" >&6; }
24731
24732   if test $libgfor_cv_target_thread_file != single; then
24733
24734 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
24735
24736   fi
24737
24738 # Check out #pragma weak.
24739
24740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
24741 $as_echo_n "checking whether pragma weak works... " >&6; }
24742 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
24743   $as_echo_n "(cached) " >&6
24744 else
24745
24746   gfor_save_CFLAGS="$CFLAGS"
24747   CFLAGS="$CFLAGS -Wunknown-pragmas"
24748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24749 /* end confdefs.h.  */
24750 void foo (void);
24751 #pragma weak foo
24752 int
24753 main ()
24754 {
24755 if (foo) foo ();
24756   ;
24757   return 0;
24758 }
24759 _ACEOF
24760 if ac_fn_c_try_compile "$LINENO"; then :
24761   libgfor_cv_have_pragma_weak=yes
24762 else
24763   libgfor_cv_have_pragma_weak=no
24764 fi
24765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24766 fi
24767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
24768 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
24769   if test $libgfor_cv_have_pragma_weak = yes; then
24770
24771 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
24772
24773   fi
24774   case "$host" in
24775     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
24776
24777 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
24778
24779       ;;
24780   esac
24781
24782 # Various other checks on target
24783
24784   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
24785 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
24786 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
24787   $as_echo_n "(cached) " >&6
24788 else
24789
24790   if test "$cross_compiling" = yes; then :
24791
24792 case "${target}" in
24793   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
24794   *) libgfor_cv_have_unlink_open_file=yes;;
24795 esac
24796 else
24797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24798 /* end confdefs.h.  */
24799
24800 #include <errno.h>
24801 #include <fcntl.h>
24802 #include <unistd.h>
24803 #include <sys/stat.h>
24804
24805 int main ()
24806 {
24807   int fd;
24808
24809   fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
24810   if (fd <= 0)
24811     return 0;
24812   if (unlink ("testfile") == -1)
24813     return 1;
24814   write (fd, "This is a test\n", 15);
24815   close (fd);
24816
24817   if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
24818     return 0;
24819   else
24820     return 1;
24821 }
24822 _ACEOF
24823 if ac_fn_c_try_run "$LINENO"; then :
24824   libgfor_cv_have_unlink_open_file=yes
24825 else
24826   libgfor_cv_have_unlink_open_file=no
24827 fi
24828 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24829   conftest.$ac_objext conftest.beam conftest.$ac_ext
24830 fi
24831
24832 fi
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
24834 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
24835 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
24836
24837 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
24838
24839 fi
24840
24841 # Check whether line terminator is LF or CRLF
24842
24843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
24844 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
24845 if test "${libgfor_cv_have_crlf+set}" = set; then :
24846   $as_echo_n "(cached) " >&6
24847 else
24848
24849   if test "$cross_compiling" = yes; then :
24850
24851 case "${target}" in
24852   *mingw*) libgfor_cv_have_crlf=yes ;;
24853   *) libgfor_cv_have_crlf=no;;
24854 esac
24855 else
24856   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24857 /* end confdefs.h.  */
24858
24859 /* This test program should exit with status 0 if system uses a CRLF as
24860    line terminator, and status 1 otherwise.
24861    Since it is used to check for mingw systems, and should return 0 in any
24862    other case, in case of a failure we will not use CRLF.  */
24863 #include <sys/stat.h>
24864 #include <stdlib.h>
24865 #include <fcntl.h>
24866 #include <stdio.h>
24867
24868 int main ()
24869 {
24870 #ifndef O_BINARY
24871   exit(1);
24872 #else
24873   int fd, bytes;
24874   char buff[5];
24875
24876   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
24877   if (fd < 0)
24878     exit(1);
24879   if (write (fd, "\n", 1) < 0)
24880     perror ("write");
24881
24882   close (fd);
24883
24884   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
24885     exit(1);
24886   bytes = read (fd, buff, 5);
24887   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
24888     exit(0);
24889   else
24890     exit(1);
24891 #endif
24892 }
24893 _ACEOF
24894 if ac_fn_c_try_run "$LINENO"; then :
24895   libgfor_cv_have_crlf=yes
24896 else
24897   libgfor_cv_have_crlf=no
24898 fi
24899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24900   conftest.$ac_objext conftest.beam conftest.$ac_ext
24901 fi
24902
24903 fi
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
24905 $as_echo "$libgfor_cv_have_crlf" >&6; }
24906 if test x"$libgfor_cv_have_crlf" = xyes; then
24907
24908 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
24909
24910 fi
24911
24912 cat >confcache <<\_ACEOF
24913 # This file is a shell script that caches the results of configure
24914 # tests run on this system so they can be shared between configure
24915 # scripts and configure runs, see configure's option --config-cache.
24916 # It is not useful on other systems.  If it contains results you don't
24917 # want to keep, you may remove or edit it.
24918 #
24919 # config.status only pays attention to the cache file if you give it
24920 # the --recheck option to rerun configure.
24921 #
24922 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24923 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24924 # following values.
24925
24926 _ACEOF
24927
24928 # The following way of writing the cache mishandles newlines in values,
24929 # but we know of no workaround that is simple, portable, and efficient.
24930 # So, we kill variables containing newlines.
24931 # Ultrix sh set writes to stderr and can't be redirected directly,
24932 # and sets the high bit in the cache file unless we assign to the vars.
24933 (
24934   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24935     eval ac_val=\$$ac_var
24936     case $ac_val in #(
24937     *${as_nl}*)
24938       case $ac_var in #(
24939       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
24940 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24941       esac
24942       case $ac_var in #(
24943       _ | IFS | as_nl) ;; #(
24944       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
24945       *) { eval $ac_var=; unset $ac_var;} ;;
24946       esac ;;
24947     esac
24948   done
24949
24950   (set) 2>&1 |
24951     case $as_nl`(ac_space=' '; set) 2>&1` in #(
24952     *${as_nl}ac_space=\ *)
24953       # `set' does not quote correctly, so add quotes: double-quote
24954       # substitution turns \\\\ into \\, and sed turns \\ into \.
24955       sed -n \
24956         "s/'/'\\\\''/g;
24957           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24958       ;; #(
24959     *)
24960       # `set' quotes correctly as required by POSIX, so do not add quotes.
24961       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24962       ;;
24963     esac |
24964     sort
24965 ) |
24966   sed '
24967      /^ac_cv_env_/b end
24968      t clear
24969      :clear
24970      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24971      t end
24972      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24973      :end' >>confcache
24974 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24975   if test -w "$cache_file"; then
24976     test "x$cache_file" != "x/dev/null" &&
24977       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
24978 $as_echo "$as_me: updating cache $cache_file" >&6;}
24979     cat confcache >$cache_file
24980   else
24981     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
24982 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24983   fi
24984 fi
24985 rm -f confcache
24986
24987 if test ${multilib} = yes; then
24988   multilib_arg="--enable-multilib"
24989 else
24990   multilib_arg=
24991 fi
24992
24993 # Write our Makefile and spec file.
24994 ac_config_files="$ac_config_files Makefile libgfortran.spec"
24995
24996 cat >confcache <<\_ACEOF
24997 # This file is a shell script that caches the results of configure
24998 # tests run on this system so they can be shared between configure
24999 # scripts and configure runs, see configure's option --config-cache.
25000 # It is not useful on other systems.  If it contains results you don't
25001 # want to keep, you may remove or edit it.
25002 #
25003 # config.status only pays attention to the cache file if you give it
25004 # the --recheck option to rerun configure.
25005 #
25006 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25007 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25008 # following values.
25009
25010 _ACEOF
25011
25012 # The following way of writing the cache mishandles newlines in values,
25013 # but we know of no workaround that is simple, portable, and efficient.
25014 # So, we kill variables containing newlines.
25015 # Ultrix sh set writes to stderr and can't be redirected directly,
25016 # and sets the high bit in the cache file unless we assign to the vars.
25017 (
25018   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25019     eval ac_val=\$$ac_var
25020     case $ac_val in #(
25021     *${as_nl}*)
25022       case $ac_var in #(
25023       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25024 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25025       esac
25026       case $ac_var in #(
25027       _ | IFS | as_nl) ;; #(
25028       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25029       *) { eval $ac_var=; unset $ac_var;} ;;
25030       esac ;;
25031     esac
25032   done
25033
25034   (set) 2>&1 |
25035     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25036     *${as_nl}ac_space=\ *)
25037       # `set' does not quote correctly, so add quotes: double-quote
25038       # substitution turns \\\\ into \\, and sed turns \\ into \.
25039       sed -n \
25040         "s/'/'\\\\''/g;
25041           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25042       ;; #(
25043     *)
25044       # `set' quotes correctly as required by POSIX, so do not add quotes.
25045       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25046       ;;
25047     esac |
25048     sort
25049 ) |
25050   sed '
25051      /^ac_cv_env_/b end
25052      t clear
25053      :clear
25054      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25055      t end
25056      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25057      :end' >>confcache
25058 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25059   if test -w "$cache_file"; then
25060     test "x$cache_file" != "x/dev/null" &&
25061       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25062 $as_echo "$as_me: updating cache $cache_file" >&6;}
25063     cat confcache >$cache_file
25064   else
25065     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25066 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25067   fi
25068 fi
25069 rm -f confcache
25070
25071 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25072 # Let make expand exec_prefix.
25073 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25074
25075 DEFS=-DHAVE_CONFIG_H
25076
25077 ac_libobjs=
25078 ac_ltlibobjs=
25079 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25080   # 1. Remove the extension, and $U if already installed.
25081   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25082   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25083   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25084   #    will be set to the directory where LIBOBJS objects are built.
25085   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25086   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25087 done
25088 LIBOBJS=$ac_libobjs
25089
25090 LTLIBOBJS=$ac_ltlibobjs
25091
25092
25093 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25094   as_fn_error "conditional \"onestep\" was never defined.
25095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25096 fi
25097  if test -n "$EXEEXT"; then
25098   am__EXEEXT_TRUE=
25099   am__EXEEXT_FALSE='#'
25100 else
25101   am__EXEEXT_TRUE='#'
25102   am__EXEEXT_FALSE=
25103 fi
25104
25105 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25106   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25108 fi
25109 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25110   as_fn_error "conditional \"AMDEP\" was never defined.
25111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25112 fi
25113 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25114   as_fn_error "conditional \"am__fastdepCC\" was never defined.
25115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25116 fi
25117 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25118   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25120 fi
25121 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25122   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25124 fi
25125 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25126   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25128 fi
25129 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25130   as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25132 fi
25133
25134 : ${CONFIG_STATUS=./config.status}
25135 ac_write_fail=0
25136 ac_clean_files_save=$ac_clean_files
25137 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25139 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25140 as_write_fail=0
25141 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25142 #! $SHELL
25143 # Generated by $as_me.
25144 # Run this file to recreate the current configuration.
25145 # Compiler output produced by configure, useful for debugging
25146 # configure, is in config.log if it exists.
25147
25148 debug=false
25149 ac_cs_recheck=false
25150 ac_cs_silent=false
25151
25152 SHELL=\${CONFIG_SHELL-$SHELL}
25153 export SHELL
25154 _ASEOF
25155 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25156 ## -------------------- ##
25157 ## M4sh Initialization. ##
25158 ## -------------------- ##
25159
25160 # Be more Bourne compatible
25161 DUALCASE=1; export DUALCASE # for MKS sh
25162 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25163   emulate sh
25164   NULLCMD=:
25165   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25166   # is contrary to our usage.  Disable this feature.
25167   alias -g '${1+"$@"}'='"$@"'
25168   setopt NO_GLOB_SUBST
25169 else
25170   case `(set -o) 2>/dev/null` in #(
25171   *posix*) :
25172     set -o posix ;; #(
25173   *) :
25174      ;;
25175 esac
25176 fi
25177
25178
25179 as_nl='
25180 '
25181 export as_nl
25182 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25183 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25184 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25185 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25186 # Prefer a ksh shell builtin over an external printf program on Solaris,
25187 # but without wasting forks for bash or zsh.
25188 if test -z "$BASH_VERSION$ZSH_VERSION" \
25189     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25190   as_echo='print -r --'
25191   as_echo_n='print -rn --'
25192 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25193   as_echo='printf %s\n'
25194   as_echo_n='printf %s'
25195 else
25196   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25197     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25198     as_echo_n='/usr/ucb/echo -n'
25199   else
25200     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25201     as_echo_n_body='eval
25202       arg=$1;
25203       case $arg in #(
25204       *"$as_nl"*)
25205         expr "X$arg" : "X\\(.*\\)$as_nl";
25206         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25207       esac;
25208       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25209     '
25210     export as_echo_n_body
25211     as_echo_n='sh -c $as_echo_n_body as_echo'
25212   fi
25213   export as_echo_body
25214   as_echo='sh -c $as_echo_body as_echo'
25215 fi
25216
25217 # The user is always right.
25218 if test "${PATH_SEPARATOR+set}" != set; then
25219   PATH_SEPARATOR=:
25220   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25221     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25222       PATH_SEPARATOR=';'
25223   }
25224 fi
25225
25226
25227 # IFS
25228 # We need space, tab and new line, in precisely that order.  Quoting is
25229 # there to prevent editors from complaining about space-tab.
25230 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25231 # splitting by setting IFS to empty value.)
25232 IFS=" ""        $as_nl"
25233
25234 # Find who we are.  Look in the path if we contain no directory separator.
25235 case $0 in #((
25236   *[\\/]* ) as_myself=$0 ;;
25237   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25238 for as_dir in $PATH
25239 do
25240   IFS=$as_save_IFS
25241   test -z "$as_dir" && as_dir=.
25242     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25243   done
25244 IFS=$as_save_IFS
25245
25246      ;;
25247 esac
25248 # We did not find ourselves, most probably we were run as `sh COMMAND'
25249 # in which case we are not to be found in the path.
25250 if test "x$as_myself" = x; then
25251   as_myself=$0
25252 fi
25253 if test ! -f "$as_myself"; then
25254   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25255   exit 1
25256 fi
25257
25258 # Unset variables that we do not need and which cause bugs (e.g. in
25259 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
25260 # suppresses any "Segmentation fault" message there.  '((' could
25261 # trigger a bug in pdksh 5.2.14.
25262 for as_var in BASH_ENV ENV MAIL MAILPATH
25263 do eval test x\${$as_var+set} = xset \
25264   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25265 done
25266 PS1='$ '
25267 PS2='> '
25268 PS4='+ '
25269
25270 # NLS nuisances.
25271 LC_ALL=C
25272 export LC_ALL
25273 LANGUAGE=C
25274 export LANGUAGE
25275
25276 # CDPATH.
25277 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25278
25279
25280 # as_fn_error ERROR [LINENO LOG_FD]
25281 # ---------------------------------
25282 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25283 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25284 # script with status $?, using 1 if that was 0.
25285 as_fn_error ()
25286 {
25287   as_status=$?; test $as_status -eq 0 && as_status=1
25288   if test "$3"; then
25289     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25290     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
25291   fi
25292   $as_echo "$as_me: error: $1" >&2
25293   as_fn_exit $as_status
25294 } # as_fn_error
25295
25296
25297 # as_fn_set_status STATUS
25298 # -----------------------
25299 # Set $? to STATUS, without forking.
25300 as_fn_set_status ()
25301 {
25302   return $1
25303 } # as_fn_set_status
25304
25305 # as_fn_exit STATUS
25306 # -----------------
25307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25308 as_fn_exit ()
25309 {
25310   set +e
25311   as_fn_set_status $1
25312   exit $1
25313 } # as_fn_exit
25314
25315 # as_fn_unset VAR
25316 # ---------------
25317 # Portably unset VAR.
25318 as_fn_unset ()
25319 {
25320   { eval $1=; unset $1;}
25321 }
25322 as_unset=as_fn_unset
25323 # as_fn_append VAR VALUE
25324 # ----------------------
25325 # Append the text in VALUE to the end of the definition contained in VAR. Take
25326 # advantage of any shell optimizations that allow amortized linear growth over
25327 # repeated appends, instead of the typical quadratic growth present in naive
25328 # implementations.
25329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25330   eval 'as_fn_append ()
25331   {
25332     eval $1+=\$2
25333   }'
25334 else
25335   as_fn_append ()
25336   {
25337     eval $1=\$$1\$2
25338   }
25339 fi # as_fn_append
25340
25341 # as_fn_arith ARG...
25342 # ------------------
25343 # Perform arithmetic evaluation on the ARGs, and store the result in the
25344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25345 # must be portable across $(()) and expr.
25346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25347   eval 'as_fn_arith ()
25348   {
25349     as_val=$(( $* ))
25350   }'
25351 else
25352   as_fn_arith ()
25353   {
25354     as_val=`expr "$@" || test $? -eq 1`
25355   }
25356 fi # as_fn_arith
25357
25358
25359 if expr a : '\(a\)' >/dev/null 2>&1 &&
25360    test "X`expr 00001 : '.*\(...\)'`" = X001; then
25361   as_expr=expr
25362 else
25363   as_expr=false
25364 fi
25365
25366 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25367   as_basename=basename
25368 else
25369   as_basename=false
25370 fi
25371
25372 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25373   as_dirname=dirname
25374 else
25375   as_dirname=false
25376 fi
25377
25378 as_me=`$as_basename -- "$0" ||
25379 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25380          X"$0" : 'X\(//\)$' \| \
25381          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25382 $as_echo X/"$0" |
25383     sed '/^.*\/\([^/][^/]*\)\/*$/{
25384             s//\1/
25385             q
25386           }
25387           /^X\/\(\/\/\)$/{
25388             s//\1/
25389             q
25390           }
25391           /^X\/\(\/\).*/{
25392             s//\1/
25393             q
25394           }
25395           s/.*/./; q'`
25396
25397 # Avoid depending upon Character Ranges.
25398 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25399 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25400 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25401 as_cr_digits='0123456789'
25402 as_cr_alnum=$as_cr_Letters$as_cr_digits
25403
25404 ECHO_C= ECHO_N= ECHO_T=
25405 case `echo -n x` in #(((((
25406 -n*)
25407   case `echo 'xy\c'` in
25408   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
25409   xy)  ECHO_C='\c';;
25410   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
25411        ECHO_T=' ';;
25412   esac;;
25413 *)
25414   ECHO_N='-n';;
25415 esac
25416
25417 rm -f conf$$ conf$$.exe conf$$.file
25418 if test -d conf$$.dir; then
25419   rm -f conf$$.dir/conf$$.file
25420 else
25421   rm -f conf$$.dir
25422   mkdir conf$$.dir 2>/dev/null
25423 fi
25424 if (echo >conf$$.file) 2>/dev/null; then
25425   if ln -s conf$$.file conf$$ 2>/dev/null; then
25426     as_ln_s='ln -s'
25427     # ... but there are two gotchas:
25428     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25429     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25430     # In both cases, we have to default to `cp -p'.
25431     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25432       as_ln_s='cp -p'
25433   elif ln conf$$.file conf$$ 2>/dev/null; then
25434     as_ln_s=ln
25435   else
25436     as_ln_s='cp -p'
25437   fi
25438 else
25439   as_ln_s='cp -p'
25440 fi
25441 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25442 rmdir conf$$.dir 2>/dev/null
25443
25444
25445 # as_fn_mkdir_p
25446 # -------------
25447 # Create "$as_dir" as a directory, including parents if necessary.
25448 as_fn_mkdir_p ()
25449 {
25450
25451   case $as_dir in #(
25452   -*) as_dir=./$as_dir;;
25453   esac
25454   test -d "$as_dir" || eval $as_mkdir_p || {
25455     as_dirs=
25456     while :; do
25457       case $as_dir in #(
25458       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25459       *) as_qdir=$as_dir;;
25460       esac
25461       as_dirs="'$as_qdir' $as_dirs"
25462       as_dir=`$as_dirname -- "$as_dir" ||
25463 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25464          X"$as_dir" : 'X\(//\)[^/]' \| \
25465          X"$as_dir" : 'X\(//\)$' \| \
25466          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25467 $as_echo X"$as_dir" |
25468     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25469             s//\1/
25470             q
25471           }
25472           /^X\(\/\/\)[^/].*/{
25473             s//\1/
25474             q
25475           }
25476           /^X\(\/\/\)$/{
25477             s//\1/
25478             q
25479           }
25480           /^X\(\/\).*/{
25481             s//\1/
25482             q
25483           }
25484           s/.*/./; q'`
25485       test -d "$as_dir" && break
25486     done
25487     test -z "$as_dirs" || eval "mkdir $as_dirs"
25488   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
25489
25490
25491 } # as_fn_mkdir_p
25492 if mkdir -p . 2>/dev/null; then
25493   as_mkdir_p='mkdir -p "$as_dir"'
25494 else
25495   test -d ./-p && rmdir ./-p
25496   as_mkdir_p=false
25497 fi
25498
25499 if test -x / >/dev/null 2>&1; then
25500   as_test_x='test -x'
25501 else
25502   if ls -dL / >/dev/null 2>&1; then
25503     as_ls_L_option=L
25504   else
25505     as_ls_L_option=
25506   fi
25507   as_test_x='
25508     eval sh -c '\''
25509       if test -d "$1"; then
25510         test -d "$1/.";
25511       else
25512         case $1 in #(
25513         -*)set "./$1";;
25514         esac;
25515         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
25516         ???[sx]*):;;*)false;;esac;fi
25517     '\'' sh
25518   '
25519 fi
25520 as_executable_p=$as_test_x
25521
25522 # Sed expression to map a string onto a valid CPP name.
25523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25524
25525 # Sed expression to map a string onto a valid variable name.
25526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25527
25528
25529 exec 6>&1
25530 ## ----------------------------------- ##
25531 ## Main body of $CONFIG_STATUS script. ##
25532 ## ----------------------------------- ##
25533 _ASEOF
25534 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25535
25536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25537 # Save the log message, to keep $0 and so on meaningful, and to
25538 # report actual input values of CONFIG_FILES etc. instead of their
25539 # values after options handling.
25540 ac_log="
25541 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
25542 generated by GNU Autoconf 2.64.  Invocation command line was
25543
25544   CONFIG_FILES    = $CONFIG_FILES
25545   CONFIG_HEADERS  = $CONFIG_HEADERS
25546   CONFIG_LINKS    = $CONFIG_LINKS
25547   CONFIG_COMMANDS = $CONFIG_COMMANDS
25548   $ $0 $@
25549
25550 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25551 "
25552
25553 _ACEOF
25554
25555 case $ac_config_files in *"
25556 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25557 esac
25558
25559 case $ac_config_headers in *"
25560 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25561 esac
25562
25563
25564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25565 # Files that config.status was made for.
25566 config_files="$ac_config_files"
25567 config_headers="$ac_config_headers"
25568 config_commands="$ac_config_commands"
25569
25570 _ACEOF
25571
25572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25573 ac_cs_usage="\
25574 \`$as_me' instantiates files and other configuration actions
25575 from templates according to the current configuration.  Unless the files
25576 and actions are specified as TAGs, all are instantiated by default.
25577
25578 Usage: $0 [OPTION]... [TAG]...
25579
25580   -h, --help       print this help, then exit
25581   -V, --version    print version number and configuration settings, then exit
25582   -q, --quiet, --silent
25583                    do not print progress messages
25584   -d, --debug      don't remove temporary files
25585       --recheck    update $as_me by reconfiguring in the same conditions
25586       --file=FILE[:TEMPLATE]
25587                    instantiate the configuration file FILE
25588       --header=FILE[:TEMPLATE]
25589                    instantiate the configuration header FILE
25590
25591 Configuration files:
25592 $config_files
25593
25594 Configuration headers:
25595 $config_headers
25596
25597 Configuration commands:
25598 $config_commands
25599
25600 Report bugs to the package provider.
25601 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
25602 General help using GNU software: <http://www.gnu.org/gethelp/>."
25603
25604 _ACEOF
25605 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25606 ac_cs_version="\\
25607 GNU Fortran Runtime Library config.status 0.3
25608 configured by $0, generated by GNU Autoconf 2.64,
25609   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25610
25611 Copyright (C) 2009 Free Software Foundation, Inc.
25612 This config.status script is free software; the Free Software Foundation
25613 gives unlimited permission to copy, distribute and modify it."
25614
25615 ac_pwd='$ac_pwd'
25616 srcdir='$srcdir'
25617 INSTALL='$INSTALL'
25618 MKDIR_P='$MKDIR_P'
25619 AWK='$AWK'
25620 test -n "\$AWK" || AWK=awk
25621 _ACEOF
25622
25623 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25624 # The default lists apply if the user does not specify any file.
25625 ac_need_defaults=:
25626 while test $# != 0
25627 do
25628   case $1 in
25629   --*=*)
25630     ac_option=`expr "X$1" : 'X\([^=]*\)='`
25631     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25632     ac_shift=:
25633     ;;
25634   *)
25635     ac_option=$1
25636     ac_optarg=$2
25637     ac_shift=shift
25638     ;;
25639   esac
25640
25641   case $ac_option in
25642   # Handling of the options.
25643   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25644     ac_cs_recheck=: ;;
25645   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25646     $as_echo "$ac_cs_version"; exit ;;
25647   --debug | --debu | --deb | --de | --d | -d )
25648     debug=: ;;
25649   --file | --fil | --fi | --f )
25650     $ac_shift
25651     case $ac_optarg in
25652     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25653     esac
25654     as_fn_append CONFIG_FILES " '$ac_optarg'"
25655     ac_need_defaults=false;;
25656   --header | --heade | --head | --hea )
25657     $ac_shift
25658     case $ac_optarg in
25659     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25660     esac
25661     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25662     ac_need_defaults=false;;
25663   --he | --h)
25664     # Conflict between --help and --header
25665     as_fn_error "ambiguous option: \`$1'
25666 Try \`$0 --help' for more information.";;
25667   --help | --hel | -h )
25668     $as_echo "$ac_cs_usage"; exit ;;
25669   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25670   | -silent | --silent | --silen | --sile | --sil | --si | --s)
25671     ac_cs_silent=: ;;
25672
25673   # This is an error.
25674   -*) as_fn_error "unrecognized option: \`$1'
25675 Try \`$0 --help' for more information." ;;
25676
25677   *) as_fn_append ac_config_targets " $1"
25678      ac_need_defaults=false ;;
25679
25680   esac
25681   shift
25682 done
25683
25684 ac_configure_extra_args=
25685
25686 if $ac_cs_silent; then
25687   exec 6>/dev/null
25688   ac_configure_extra_args="$ac_configure_extra_args --silent"
25689 fi
25690
25691 _ACEOF
25692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25693 if \$ac_cs_recheck; then
25694   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25695   shift
25696   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25697   CONFIG_SHELL='$SHELL'
25698   export CONFIG_SHELL
25699   exec "\$@"
25700 fi
25701
25702 _ACEOF
25703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25704 exec 5>>config.log
25705 {
25706   echo
25707   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25708 ## Running $as_me. ##
25709 _ASBOX
25710   $as_echo "$ac_log"
25711 } >&5
25712
25713 _ACEOF
25714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25715 #
25716 # INIT-COMMANDS
25717 #
25718
25719 srcdir="$srcdir"
25720 host="$host"
25721 target="$target"
25722 with_multisubdir="$with_multisubdir"
25723 with_multisrctop="$with_multisrctop"
25724 with_target_subdir="$with_target_subdir"
25725 ac_configure_args="${multilib_arg} ${ac_configure_args}"
25726 multi_basedir="$multi_basedir"
25727 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
25728 CC="$CC"
25729 CXX="$CXX"
25730 GFORTRAN="$GFORTRAN"
25731 GCJ="$GCJ"
25732 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25733
25734
25735 # The HP-UX ksh and POSIX shell print the target directory to stdout
25736 # if CDPATH is set.
25737 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25738
25739 sed_quote_subst='$sed_quote_subst'
25740 double_quote_subst='$double_quote_subst'
25741 delay_variable_subst='$delay_variable_subst'
25742 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25743 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25744 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25745 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25746 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25747 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25748 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
25749 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
25750 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
25751 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
25752 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
25753 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
25754 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
25755 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
25756 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
25757 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
25758 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
25759 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
25760 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
25761 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
25762 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
25763 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
25764 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
25765 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
25766 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
25767 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
25768 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
25769 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
25770 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
25771 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
25772 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
25773 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
25774 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
25775 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
25776 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
25777 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
25778 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
25779 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25780 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25781 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
25782 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
25783 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
25784 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
25785 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
25786 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
25787 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
25788 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
25789 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
25790 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"`'
25791 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
25792 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
25793 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
25794 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
25795 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
25796 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
25797 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
25798 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
25799 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
25800 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
25801 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
25802 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
25803 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
25804 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
25805 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
25806 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25807 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
25808 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
25809 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
25810 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
25811 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
25812 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
25813 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
25814 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
25815 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25816 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
25817 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
25818 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
25819 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
25820 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
25821 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
25822 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
25823 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
25824 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
25825 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
25826 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
25827 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
25828 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
25829 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
25830 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
25831 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
25832 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
25833 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
25834 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
25835 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
25836 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
25837 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
25838 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
25839 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
25840 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
25841 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
25842 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
25843 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
25844 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
25845 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
25846 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
25847 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
25848 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
25849 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
25850 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
25851 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
25852 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
25853 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
25854 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
25855 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
25856 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
25857 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
25858 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
25859 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
25860 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
25861 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
25862 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
25863 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
25864 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
25865 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
25866 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
25867 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
25868 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
25869 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
25870 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
25871 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25872 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
25873 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
25874 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
25875 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
25876 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
25877 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
25878 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
25879 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
25880 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
25881 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25882 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25883 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
25884 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
25885 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
25886 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
25887 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25888 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
25889 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
25890 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
25891 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25892 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
25893 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
25894 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
25895 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
25896 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
25897 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
25898 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
25899 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
25900 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
25901 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
25902 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
25903 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
25904 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
25905 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
25906 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25907 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
25908 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
25909 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
25910 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
25911 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
25912 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
25913 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
25914 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
25915 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
25916 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
25917
25918 LTCC='$LTCC'
25919 LTCFLAGS='$LTCFLAGS'
25920 compiler='$compiler_DEFAULT'
25921
25922 # A function that is used when there is no print builtin or printf.
25923 func_fallback_echo ()
25924 {
25925   eval 'cat <<_LTECHO_EOF
25926 \$1
25927 _LTECHO_EOF'
25928 }
25929
25930 # Quote evaled strings.
25931 for var in SHELL \
25932 ECHO \
25933 SED \
25934 GREP \
25935 EGREP \
25936 FGREP \
25937 LD \
25938 NM \
25939 LN_S \
25940 lt_SP2NL \
25941 lt_NL2SP \
25942 reload_flag \
25943 OBJDUMP \
25944 deplibs_check_method \
25945 file_magic_cmd \
25946 AR \
25947 AR_FLAGS \
25948 STRIP \
25949 RANLIB \
25950 CC \
25951 CFLAGS \
25952 compiler \
25953 lt_cv_sys_global_symbol_pipe \
25954 lt_cv_sys_global_symbol_to_cdecl \
25955 lt_cv_sys_global_symbol_to_c_name_address \
25956 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
25957 lt_prog_compiler_no_builtin_flag \
25958 lt_prog_compiler_wl \
25959 lt_prog_compiler_pic \
25960 lt_prog_compiler_static \
25961 lt_cv_prog_compiler_c_o \
25962 need_locks \
25963 DSYMUTIL \
25964 NMEDIT \
25965 LIPO \
25966 OTOOL \
25967 OTOOL64 \
25968 shrext_cmds \
25969 export_dynamic_flag_spec \
25970 whole_archive_flag_spec \
25971 compiler_needs_object \
25972 with_gnu_ld \
25973 allow_undefined_flag \
25974 no_undefined_flag \
25975 hardcode_libdir_flag_spec \
25976 hardcode_libdir_flag_spec_ld \
25977 hardcode_libdir_separator \
25978 fix_srcfile_path \
25979 exclude_expsyms \
25980 include_expsyms \
25981 file_list_spec \
25982 variables_saved_for_relink \
25983 libname_spec \
25984 library_names_spec \
25985 soname_spec \
25986 install_override_mode \
25987 finish_eval \
25988 old_striplib \
25989 striplib \
25990 compiler_lib_search_dirs \
25991 predep_objects \
25992 postdep_objects \
25993 predeps \
25994 postdeps \
25995 compiler_lib_search_path \
25996 LD_FC \
25997 reload_flag_FC \
25998 compiler_FC \
25999 lt_prog_compiler_no_builtin_flag_FC \
26000 lt_prog_compiler_wl_FC \
26001 lt_prog_compiler_pic_FC \
26002 lt_prog_compiler_static_FC \
26003 lt_cv_prog_compiler_c_o_FC \
26004 export_dynamic_flag_spec_FC \
26005 whole_archive_flag_spec_FC \
26006 compiler_needs_object_FC \
26007 with_gnu_ld_FC \
26008 allow_undefined_flag_FC \
26009 no_undefined_flag_FC \
26010 hardcode_libdir_flag_spec_FC \
26011 hardcode_libdir_flag_spec_ld_FC \
26012 hardcode_libdir_separator_FC \
26013 fix_srcfile_path_FC \
26014 exclude_expsyms_FC \
26015 include_expsyms_FC \
26016 file_list_spec_FC \
26017 compiler_lib_search_dirs_FC \
26018 predep_objects_FC \
26019 postdep_objects_FC \
26020 predeps_FC \
26021 postdeps_FC \
26022 compiler_lib_search_path_FC; do
26023     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26024     *[\\\\\\\`\\"\\\$]*)
26025       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26026       ;;
26027     *)
26028       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26029       ;;
26030     esac
26031 done
26032
26033 # Double-quote double-evaled strings.
26034 for var in reload_cmds \
26035 old_postinstall_cmds \
26036 old_postuninstall_cmds \
26037 old_archive_cmds \
26038 extract_expsyms_cmds \
26039 old_archive_from_new_cmds \
26040 old_archive_from_expsyms_cmds \
26041 archive_cmds \
26042 archive_expsym_cmds \
26043 module_cmds \
26044 module_expsym_cmds \
26045 export_symbols_cmds \
26046 prelink_cmds \
26047 postinstall_cmds \
26048 postuninstall_cmds \
26049 finish_cmds \
26050 sys_lib_search_path_spec \
26051 sys_lib_dlsearch_path_spec \
26052 reload_cmds_FC \
26053 old_archive_cmds_FC \
26054 old_archive_from_new_cmds_FC \
26055 old_archive_from_expsyms_cmds_FC \
26056 archive_cmds_FC \
26057 archive_expsym_cmds_FC \
26058 module_cmds_FC \
26059 module_expsym_cmds_FC \
26060 export_symbols_cmds_FC \
26061 prelink_cmds_FC; do
26062     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26063     *[\\\\\\\`\\"\\\$]*)
26064       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26065       ;;
26066     *)
26067       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26068       ;;
26069     esac
26070 done
26071
26072 ac_aux_dir='$ac_aux_dir'
26073 xsi_shell='$xsi_shell'
26074 lt_shell_append='$lt_shell_append'
26075
26076 # See if we are running on zsh, and set the options which allow our
26077 # commands through without removal of \ escapes INIT.
26078 if test -n "\${ZSH_VERSION+set}" ; then
26079    setopt NO_GLOB_SUBST
26080 fi
26081
26082
26083     PACKAGE='$PACKAGE'
26084     VERSION='$VERSION'
26085     TIMESTAMP='$TIMESTAMP'
26086     RM='$RM'
26087     ofile='$ofile'
26088
26089
26090
26091
26092
26093
26094 GCC="$GCC"
26095 CC="$CC"
26096 acx_cv_header_stdint="$acx_cv_header_stdint"
26097 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26098 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26099 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26100 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26101 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26102 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26103 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26104 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26105 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26106 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26107 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26108 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26109 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26110
26111
26112 _ACEOF
26113
26114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26115
26116 # Handling of arguments.
26117 for ac_config_target in $ac_config_targets
26118 do
26119   case $ac_config_target in
26120     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26121     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26122     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26123     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26124     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26125     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26126     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26127
26128   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26129   esac
26130 done
26131
26132
26133 # If the user did not use the arguments to specify the items to instantiate,
26134 # then the envvar interface is used.  Set only those that are not.
26135 # We use the long form for the default assignment because of an extremely
26136 # bizarre bug on SunOS 4.1.3.
26137 if $ac_need_defaults; then
26138   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26139   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26140   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26141 fi
26142
26143 # Have a temporary directory for convenience.  Make it in the build tree
26144 # simply because there is no reason against having it here, and in addition,
26145 # creating and moving files from /tmp can sometimes cause problems.
26146 # Hook for its removal unless debugging.
26147 # Note that there is a small window in which the directory will not be cleaned:
26148 # after its creation but before its name has been assigned to `$tmp'.
26149 $debug ||
26150 {
26151   tmp=
26152   trap 'exit_status=$?
26153   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26154 ' 0
26155   trap 'as_fn_exit 1' 1 2 13 15
26156 }
26157 # Create a (secure) tmp directory for tmp files.
26158
26159 {
26160   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26161   test -n "$tmp" && test -d "$tmp"
26162 }  ||
26163 {
26164   tmp=./conf$$-$RANDOM
26165   (umask 077 && mkdir "$tmp")
26166 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26167
26168 # Set up the scripts for CONFIG_FILES section.
26169 # No need to generate them if there are no CONFIG_FILES.
26170 # This happens for instance with `./config.status config.h'.
26171 if test -n "$CONFIG_FILES"; then
26172
26173
26174 ac_cr=`echo X | tr X '\015'`
26175 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26176 # But we know of no other shell where ac_cr would be empty at this
26177 # point, so we can use a bashism as a fallback.
26178 if test "x$ac_cr" = x; then
26179   eval ac_cr=\$\'\\r\'
26180 fi
26181 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26182 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26183   ac_cs_awk_cr='\r'
26184 else
26185   ac_cs_awk_cr=$ac_cr
26186 fi
26187
26188 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26189 _ACEOF
26190
26191
26192 {
26193   echo "cat >conf$$subs.awk <<_ACEOF" &&
26194   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26195   echo "_ACEOF"
26196 } >conf$$subs.sh ||
26197   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26198 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26199 ac_delim='%!_!# '
26200 for ac_last_try in false false false false false :; do
26201   . ./conf$$subs.sh ||
26202     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26203
26204   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26205   if test $ac_delim_n = $ac_delim_num; then
26206     break
26207   elif $ac_last_try; then
26208     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
26209   else
26210     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26211   fi
26212 done
26213 rm -f conf$$subs.sh
26214
26215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26216 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
26217 _ACEOF
26218 sed -n '
26219 h
26220 s/^/S["/; s/!.*/"]=/
26221 p
26222 g
26223 s/^[^!]*!//
26224 :repl
26225 t repl
26226 s/'"$ac_delim"'$//
26227 t delim
26228 :nl
26229 h
26230 s/\(.\{148\}\).*/\1/
26231 t more1
26232 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26233 p
26234 n
26235 b repl
26236 :more1
26237 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26238 p
26239 g
26240 s/.\{148\}//
26241 t nl
26242 :delim
26243 h
26244 s/\(.\{148\}\).*/\1/
26245 t more2
26246 s/["\\]/\\&/g; s/^/"/; s/$/"/
26247 p
26248 b
26249 :more2
26250 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26251 p
26252 g
26253 s/.\{148\}//
26254 t delim
26255 ' <conf$$subs.awk | sed '
26256 /^[^""]/{
26257   N
26258   s/\n//
26259 }
26260 ' >>$CONFIG_STATUS || ac_write_fail=1
26261 rm -f conf$$subs.awk
26262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26263 _ACAWK
26264 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
26265   for (key in S) S_is_set[key] = 1
26266   FS = "\a"
26267
26268 }
26269 {
26270   line = $ 0
26271   nfields = split(line, field, "@")
26272   substed = 0
26273   len = length(field[1])
26274   for (i = 2; i < nfields; i++) {
26275     key = field[i]
26276     keylen = length(key)
26277     if (S_is_set[key]) {
26278       value = S[key]
26279       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26280       len += length(value) + length(field[++i])
26281       substed = 1
26282     } else
26283       len += 1 + keylen
26284   }
26285
26286   print line
26287 }
26288
26289 _ACAWK
26290 _ACEOF
26291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26292 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26293   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26294 else
26295   cat
26296 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
26297   || as_fn_error "could not setup config files machinery" "$LINENO" 5
26298 _ACEOF
26299
26300 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26301 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26302 # trailing colons and then remove the whole line if VPATH becomes empty
26303 # (actually we leave an empty line to preserve line numbers).
26304 if test "x$srcdir" = x.; then
26305   ac_vpsub='/^[  ]*VPATH[        ]*=/{
26306 s/:*\$(srcdir):*/:/
26307 s/:*\${srcdir}:*/:/
26308 s/:*@srcdir@:*/:/
26309 s/^\([^=]*=[     ]*\):*/\1/
26310 s/:*$//
26311 s/^[^=]*=[       ]*$//
26312 }'
26313 fi
26314
26315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26316 fi # test -n "$CONFIG_FILES"
26317
26318 # Set up the scripts for CONFIG_HEADERS section.
26319 # No need to generate them if there are no CONFIG_HEADERS.
26320 # This happens for instance with `./config.status Makefile'.
26321 if test -n "$CONFIG_HEADERS"; then
26322 cat >"$tmp/defines.awk" <<\_ACAWK ||
26323 BEGIN {
26324 _ACEOF
26325
26326 # Transform confdefs.h into an awk script `defines.awk', embedded as
26327 # here-document in config.status, that substitutes the proper values into
26328 # config.h.in to produce config.h.
26329
26330 # Create a delimiter string that does not exist in confdefs.h, to ease
26331 # handling of long lines.
26332 ac_delim='%!_!# '
26333 for ac_last_try in false false :; do
26334   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
26335   if test -z "$ac_t"; then
26336     break
26337   elif $ac_last_try; then
26338     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
26339   else
26340     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26341   fi
26342 done
26343
26344 # For the awk script, D is an array of macro values keyed by name,
26345 # likewise P contains macro parameters if any.  Preserve backslash
26346 # newline sequences.
26347
26348 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26349 sed -n '
26350 s/.\{148\}/&'"$ac_delim"'/g
26351 t rset
26352 :rset
26353 s/^[     ]*#[    ]*define[       ][      ]*/ /
26354 t def
26355 d
26356 :def
26357 s/\\$//
26358 t bsnl
26359 s/["\\]/\\&/g
26360 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26361 D["\1"]=" \3"/p
26362 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
26363 d
26364 :bsnl
26365 s/["\\]/\\&/g
26366 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
26367 D["\1"]=" \3\\\\\\n"\\/p
26368 t cont
26369 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26370 t cont
26371 d
26372 :cont
26373 n
26374 s/.\{148\}/&'"$ac_delim"'/g
26375 t clear
26376 :clear
26377 s/\\$//
26378 t bsnlc
26379 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26380 d
26381 :bsnlc
26382 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26383 b cont
26384 ' <confdefs.h | sed '
26385 s/'"$ac_delim"'/"\\\
26386 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26387
26388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26389   for (key in D) D_is_set[key] = 1
26390   FS = "\a"
26391 }
26392 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26393   line = \$ 0
26394   split(line, arg, " ")
26395   if (arg[1] == "#") {
26396     defundef = arg[2]
26397     mac1 = arg[3]
26398   } else {
26399     defundef = substr(arg[1], 2)
26400     mac1 = arg[2]
26401   }
26402   split(mac1, mac2, "(") #)
26403   macro = mac2[1]
26404   prefix = substr(line, 1, index(line, defundef) - 1)
26405   if (D_is_set[macro]) {
26406     # Preserve the white space surrounding the "#".
26407     print prefix "define", macro P[macro] D[macro]
26408     next
26409   } else {
26410     # Replace #undef with comments.  This is necessary, for example,
26411     # in the case of _POSIX_SOURCE, which is predefined and required
26412     # on some systems where configure will not decide to define it.
26413     if (defundef == "undef") {
26414       print "/*", prefix defundef, macro, "*/"
26415       next
26416     }
26417   }
26418 }
26419 { print }
26420 _ACAWK
26421 _ACEOF
26422 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26423   as_fn_error "could not setup config headers machinery" "$LINENO" 5
26424 fi # test -n "$CONFIG_HEADERS"
26425
26426
26427 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
26428 shift
26429 for ac_tag
26430 do
26431   case $ac_tag in
26432   :[FHLC]) ac_mode=$ac_tag; continue;;
26433   esac
26434   case $ac_mode$ac_tag in
26435   :[FHL]*:*);;
26436   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
26437   :[FH]-) ac_tag=-:-;;
26438   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26439   esac
26440   ac_save_IFS=$IFS
26441   IFS=:
26442   set x $ac_tag
26443   IFS=$ac_save_IFS
26444   shift
26445   ac_file=$1
26446   shift
26447
26448   case $ac_mode in
26449   :L) ac_source=$1;;
26450   :[FH])
26451     ac_file_inputs=
26452     for ac_f
26453     do
26454       case $ac_f in
26455       -) ac_f="$tmp/stdin";;
26456       *) # Look for the file first in the build tree, then in the source tree
26457          # (if the path is not absolute).  The absolute path cannot be DOS-style,
26458          # because $ac_f cannot contain `:'.
26459          test -f "$ac_f" ||
26460            case $ac_f in
26461            [\\/$]*) false;;
26462            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26463            esac ||
26464            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26465       esac
26466       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26467       as_fn_append ac_file_inputs " '$ac_f'"
26468     done
26469
26470     # Let's still pretend it is `configure' which instantiates (i.e., don't
26471     # use $as_me), people would be surprised to read:
26472     #    /* config.h.  Generated by config.status.  */
26473     configure_input='Generated from '`
26474           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26475         `' by configure.'
26476     if test x"$ac_file" != x-; then
26477       configure_input="$ac_file.  $configure_input"
26478       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26479 $as_echo "$as_me: creating $ac_file" >&6;}
26480     fi
26481     # Neutralize special characters interpreted by sed in replacement strings.
26482     case $configure_input in #(
26483     *\&* | *\|* | *\\* )
26484        ac_sed_conf_input=`$as_echo "$configure_input" |
26485        sed 's/[\\\\&|]/\\\\&/g'`;; #(
26486     *) ac_sed_conf_input=$configure_input;;
26487     esac
26488
26489     case $ac_tag in
26490     *:-:* | *:-) cat >"$tmp/stdin" \
26491       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
26492     esac
26493     ;;
26494   esac
26495
26496   ac_dir=`$as_dirname -- "$ac_file" ||
26497 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26498          X"$ac_file" : 'X\(//\)[^/]' \| \
26499          X"$ac_file" : 'X\(//\)$' \| \
26500          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26501 $as_echo X"$ac_file" |
26502     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26503             s//\1/
26504             q
26505           }
26506           /^X\(\/\/\)[^/].*/{
26507             s//\1/
26508             q
26509           }
26510           /^X\(\/\/\)$/{
26511             s//\1/
26512             q
26513           }
26514           /^X\(\/\).*/{
26515             s//\1/
26516             q
26517           }
26518           s/.*/./; q'`
26519   as_dir="$ac_dir"; as_fn_mkdir_p
26520   ac_builddir=.
26521
26522 case "$ac_dir" in
26523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26524 *)
26525   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26526   # A ".." for each directory in $ac_dir_suffix.
26527   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26528   case $ac_top_builddir_sub in
26529   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26530   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26531   esac ;;
26532 esac
26533 ac_abs_top_builddir=$ac_pwd
26534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26535 # for backward compatibility:
26536 ac_top_builddir=$ac_top_build_prefix
26537
26538 case $srcdir in
26539   .)  # We are building in place.
26540     ac_srcdir=.
26541     ac_top_srcdir=$ac_top_builddir_sub
26542     ac_abs_top_srcdir=$ac_pwd ;;
26543   [\\/]* | ?:[\\/]* )  # Absolute name.
26544     ac_srcdir=$srcdir$ac_dir_suffix;
26545     ac_top_srcdir=$srcdir
26546     ac_abs_top_srcdir=$srcdir ;;
26547   *) # Relative name.
26548     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26549     ac_top_srcdir=$ac_top_build_prefix$srcdir
26550     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26551 esac
26552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26553
26554
26555   case $ac_mode in
26556   :F)
26557   #
26558   # CONFIG_FILE
26559   #
26560
26561   case $INSTALL in
26562   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26563   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26564   esac
26565   ac_MKDIR_P=$MKDIR_P
26566   case $MKDIR_P in
26567   [\\/$]* | ?:[\\/]* ) ;;
26568   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
26569   esac
26570 _ACEOF
26571
26572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26573 # If the template does not know about datarootdir, expand it.
26574 # FIXME: This hack should be removed a few years after 2.60.
26575 ac_datarootdir_hack=; ac_datarootdir_seen=
26576 ac_sed_dataroot='
26577 /datarootdir/ {
26578   p
26579   q
26580 }
26581 /@datadir@/p
26582 /@docdir@/p
26583 /@infodir@/p
26584 /@localedir@/p
26585 /@mandir@/p'
26586 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26587 *datarootdir*) ac_datarootdir_seen=yes;;
26588 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26589   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26590 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26591 _ACEOF
26592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26593   ac_datarootdir_hack='
26594   s&@datadir@&$datadir&g
26595   s&@docdir@&$docdir&g
26596   s&@infodir@&$infodir&g
26597   s&@localedir@&$localedir&g
26598   s&@mandir@&$mandir&g
26599   s&\\\${datarootdir}&$datarootdir&g' ;;
26600 esac
26601 _ACEOF
26602
26603 # Neutralize VPATH when `$srcdir' = `.'.
26604 # Shell code in configure.ac might set extrasub.
26605 # FIXME: do we really want to maintain this feature?
26606 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26607 ac_sed_extra="$ac_vpsub
26608 $extrasub
26609 _ACEOF
26610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26611 :t
26612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26613 s|@configure_input@|$ac_sed_conf_input|;t t
26614 s&@top_builddir@&$ac_top_builddir_sub&;t t
26615 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26616 s&@srcdir@&$ac_srcdir&;t t
26617 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26618 s&@top_srcdir@&$ac_top_srcdir&;t t
26619 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26620 s&@builddir@&$ac_builddir&;t t
26621 s&@abs_builddir@&$ac_abs_builddir&;t t
26622 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26623 s&@INSTALL@&$ac_INSTALL&;t t
26624 s&@MKDIR_P@&$ac_MKDIR_P&;t t
26625 $ac_datarootdir_hack
26626 "
26627 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
26628   || as_fn_error "could not create $ac_file" "$LINENO" 5
26629
26630 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26631   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
26632   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
26633   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26634 which seems to be undefined.  Please make sure it is defined." >&5
26635 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26636 which seems to be undefined.  Please make sure it is defined." >&2;}
26637
26638   rm -f "$tmp/stdin"
26639   case $ac_file in
26640   -) cat "$tmp/out" && rm -f "$tmp/out";;
26641   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
26642   esac \
26643   || as_fn_error "could not create $ac_file" "$LINENO" 5
26644  ;;
26645   :H)
26646   #
26647   # CONFIG_HEADER
26648   #
26649   if test x"$ac_file" != x-; then
26650     {
26651       $as_echo "/* $configure_input  */" \
26652       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
26653     } >"$tmp/config.h" \
26654       || as_fn_error "could not create $ac_file" "$LINENO" 5
26655     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
26656       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26657 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26658     else
26659       rm -f "$ac_file"
26660       mv "$tmp/config.h" "$ac_file" \
26661         || as_fn_error "could not create $ac_file" "$LINENO" 5
26662     fi
26663   else
26664     $as_echo "/* $configure_input  */" \
26665       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
26666       || as_fn_error "could not create -" "$LINENO" 5
26667   fi
26668 # Compute "$ac_file"'s index in $config_headers.
26669 _am_arg="$ac_file"
26670 _am_stamp_count=1
26671 for _am_header in $config_headers :; do
26672   case $_am_header in
26673     $_am_arg | $_am_arg:* )
26674       break ;;
26675     * )
26676       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
26677   esac
26678 done
26679 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
26680 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26681          X"$_am_arg" : 'X\(//\)[^/]' \| \
26682          X"$_am_arg" : 'X\(//\)$' \| \
26683          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
26684 $as_echo X"$_am_arg" |
26685     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26686             s//\1/
26687             q
26688           }
26689           /^X\(\/\/\)[^/].*/{
26690             s//\1/
26691             q
26692           }
26693           /^X\(\/\/\)$/{
26694             s//\1/
26695             q
26696           }
26697           /^X\(\/\).*/{
26698             s//\1/
26699             q
26700           }
26701           s/.*/./; q'`/stamp-h$_am_stamp_count
26702  ;;
26703
26704   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26705 $as_echo "$as_me: executing $ac_file commands" >&6;}
26706  ;;
26707   esac
26708
26709
26710   case $ac_file$ac_mode in
26711     "default-1":C)
26712 # Only add multilib support code if we just rebuilt the top-level
26713 # Makefile.
26714 case " $CONFIG_FILES " in
26715  *" Makefile "*)
26716    ac_file=Makefile . ${multi_basedir}/config-ml.in
26717    ;;
26718 esac ;;
26719     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
26720   # Autoconf 2.62 quotes --file arguments for eval, but not when files
26721   # are listed without --file.  Let's play safe and only enable the eval
26722   # if we detect the quoting.
26723   case $CONFIG_FILES in
26724   *\'*) eval set x "$CONFIG_FILES" ;;
26725   *)   set x $CONFIG_FILES ;;
26726   esac
26727   shift
26728   for mf
26729   do
26730     # Strip MF so we end up with the name of the file.
26731     mf=`echo "$mf" | sed -e 's/:.*$//'`
26732     # Check whether this is an Automake generated Makefile or not.
26733     # We used to match only the files named `Makefile.in', but
26734     # some people rename them; so instead we look at the file content.
26735     # Grep'ing the first line is not enough: some people post-process
26736     # each Makefile.in and add a new line on top of each file to say so.
26737     # Grep'ing the whole file is not good either: AIX grep has a line
26738     # limit of 2048, but all sed's we know have understand at least 4000.
26739     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
26740       dirpart=`$as_dirname -- "$mf" ||
26741 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26742          X"$mf" : 'X\(//\)[^/]' \| \
26743          X"$mf" : 'X\(//\)$' \| \
26744          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26745 $as_echo X"$mf" |
26746     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26747             s//\1/
26748             q
26749           }
26750           /^X\(\/\/\)[^/].*/{
26751             s//\1/
26752             q
26753           }
26754           /^X\(\/\/\)$/{
26755             s//\1/
26756             q
26757           }
26758           /^X\(\/\).*/{
26759             s//\1/
26760             q
26761           }
26762           s/.*/./; q'`
26763     else
26764       continue
26765     fi
26766     # Extract the definition of DEPDIR, am__include, and am__quote
26767     # from the Makefile without running `make'.
26768     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26769     test -z "$DEPDIR" && continue
26770     am__include=`sed -n 's/^am__include = //p' < "$mf"`
26771     test -z "am__include" && continue
26772     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26773     # When using ansi2knr, U may be empty or an underscore; expand it
26774     U=`sed -n 's/^U = //p' < "$mf"`
26775     # Find all dependency output files, they are included files with
26776     # $(DEPDIR) in their names.  We invoke sed twice because it is the
26777     # simplest approach to changing $(DEPDIR) to its actual value in the
26778     # expansion.
26779     for file in `sed -n "
26780       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26781          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26782       # Make sure the directory exists.
26783       test -f "$dirpart/$file" && continue
26784       fdir=`$as_dirname -- "$file" ||
26785 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26786          X"$file" : 'X\(//\)[^/]' \| \
26787          X"$file" : 'X\(//\)$' \| \
26788          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26789 $as_echo X"$file" |
26790     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26791             s//\1/
26792             q
26793           }
26794           /^X\(\/\/\)[^/].*/{
26795             s//\1/
26796             q
26797           }
26798           /^X\(\/\/\)$/{
26799             s//\1/
26800             q
26801           }
26802           /^X\(\/\).*/{
26803             s//\1/
26804             q
26805           }
26806           s/.*/./; q'`
26807       as_dir=$dirpart/$fdir; as_fn_mkdir_p
26808       # echo "creating $dirpart/$file"
26809       echo '# dummy' > "$dirpart/$file"
26810     done
26811   done
26812 }
26813  ;;
26814     "libtool":C)
26815
26816     # See if we are running on zsh, and set the options which allow our
26817     # commands through without removal of \ escapes.
26818     if test -n "${ZSH_VERSION+set}" ; then
26819       setopt NO_GLOB_SUBST
26820     fi
26821
26822     cfgfile="${ofile}T"
26823     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26824     $RM "$cfgfile"
26825
26826     cat <<_LT_EOF >> "$cfgfile"
26827 #! $SHELL
26828
26829 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26830 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26831 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26832 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26833 #
26834 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26835 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
26836 #   Written by Gordon Matzigkeit, 1996
26837 #
26838 #   This file is part of GNU Libtool.
26839 #
26840 # GNU Libtool is free software; you can redistribute it and/or
26841 # modify it under the terms of the GNU General Public License as
26842 # published by the Free Software Foundation; either version 2 of
26843 # the License, or (at your option) any later version.
26844 #
26845 # As a special exception to the GNU General Public License,
26846 # if you distribute this file as part of a program or library that
26847 # is built using GNU Libtool, you may include this file under the
26848 # same distribution terms that you use for the rest of that program.
26849 #
26850 # GNU Libtool is distributed in the hope that it will be useful,
26851 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26852 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26853 # GNU General Public License for more details.
26854 #
26855 # You should have received a copy of the GNU General Public License
26856 # along with GNU Libtool; see the file COPYING.  If not, a copy
26857 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26858 # obtained by writing to the Free Software Foundation, Inc.,
26859 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26860
26861
26862 # The names of the tagged configurations supported by this script.
26863 available_tags="FC "
26864
26865 # ### BEGIN LIBTOOL CONFIG
26866
26867 # Which release of libtool.m4 was used?
26868 macro_version=$macro_version
26869 macro_revision=$macro_revision
26870
26871 # Whether or not to build shared libraries.
26872 build_libtool_libs=$enable_shared
26873
26874 # Whether or not to build static libraries.
26875 build_old_libs=$enable_static
26876
26877 # What type of objects to build.
26878 pic_mode=$pic_mode
26879
26880 # Whether or not to optimize for fast installation.
26881 fast_install=$enable_fast_install
26882
26883 # Shell to use when invoking shell scripts.
26884 SHELL=$lt_SHELL
26885
26886 # An echo program that protects backslashes.
26887 ECHO=$lt_ECHO
26888
26889 # The host system.
26890 host_alias=$host_alias
26891 host=$host
26892 host_os=$host_os
26893
26894 # The build system.
26895 build_alias=$build_alias
26896 build=$build
26897 build_os=$build_os
26898
26899 # A sed program that does not truncate output.
26900 SED=$lt_SED
26901
26902 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
26903 Xsed="\$SED -e 1s/^X//"
26904
26905 # A grep program that handles long lines.
26906 GREP=$lt_GREP
26907
26908 # An ERE matcher.
26909 EGREP=$lt_EGREP
26910
26911 # A literal string matcher.
26912 FGREP=$lt_FGREP
26913
26914 # A BSD- or MS-compatible name lister.
26915 NM=$lt_NM
26916
26917 # Whether we need soft or hard links.
26918 LN_S=$lt_LN_S
26919
26920 # What is the maximum length of a command?
26921 max_cmd_len=$max_cmd_len
26922
26923 # Object file suffix (normally "o").
26924 objext=$ac_objext
26925
26926 # Executable file suffix (normally "").
26927 exeext=$exeext
26928
26929 # whether the shell understands "unset".
26930 lt_unset=$lt_unset
26931
26932 # turn spaces into newlines.
26933 SP2NL=$lt_lt_SP2NL
26934
26935 # turn newlines into spaces.
26936 NL2SP=$lt_lt_NL2SP
26937
26938 # An object symbol dumper.
26939 OBJDUMP=$lt_OBJDUMP
26940
26941 # Method to check whether dependent libraries are shared objects.
26942 deplibs_check_method=$lt_deplibs_check_method
26943
26944 # Command to use when deplibs_check_method == "file_magic".
26945 file_magic_cmd=$lt_file_magic_cmd
26946
26947 # The archiver.
26948 AR=$lt_AR
26949 AR_FLAGS=$lt_AR_FLAGS
26950
26951 # A symbol stripping program.
26952 STRIP=$lt_STRIP
26953
26954 # Commands used to install an old-style archive.
26955 RANLIB=$lt_RANLIB
26956 old_postinstall_cmds=$lt_old_postinstall_cmds
26957 old_postuninstall_cmds=$lt_old_postuninstall_cmds
26958
26959 # Whether to use a lock for old archive extraction.
26960 lock_old_archive_extraction=$lock_old_archive_extraction
26961
26962 # A C compiler.
26963 LTCC=$lt_CC
26964
26965 # LTCC compiler flags.
26966 LTCFLAGS=$lt_CFLAGS
26967
26968 # Take the output of nm and produce a listing of raw symbols and C names.
26969 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
26970
26971 # Transform the output of nm in a proper C declaration.
26972 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
26973
26974 # Transform the output of nm in a C name address pair.
26975 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
26976
26977 # Transform the output of nm in a C name address pair when lib prefix is needed.
26978 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
26979
26980 # The name of the directory that contains temporary libtool files.
26981 objdir=$objdir
26982
26983 # Used to examine libraries when file_magic_cmd begins with "file".
26984 MAGIC_CMD=$MAGIC_CMD
26985
26986 # Must we lock files when doing compilation?
26987 need_locks=$lt_need_locks
26988
26989 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
26990 DSYMUTIL=$lt_DSYMUTIL
26991
26992 # Tool to change global to local symbols on Mac OS X.
26993 NMEDIT=$lt_NMEDIT
26994
26995 # Tool to manipulate fat objects and archives on Mac OS X.
26996 LIPO=$lt_LIPO
26997
26998 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
26999 OTOOL=$lt_OTOOL
27000
27001 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27002 OTOOL64=$lt_OTOOL64
27003
27004 # Old archive suffix (normally "a").
27005 libext=$libext
27006
27007 # Shared library suffix (normally ".so").
27008 shrext_cmds=$lt_shrext_cmds
27009
27010 # The commands to extract the exported symbol list from a shared archive.
27011 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27012
27013 # Variables whose values should be saved in libtool wrapper scripts and
27014 # restored at link time.
27015 variables_saved_for_relink=$lt_variables_saved_for_relink
27016
27017 # Do we need the "lib" prefix for modules?
27018 need_lib_prefix=$need_lib_prefix
27019
27020 # Do we need a version for libraries?
27021 need_version=$need_version
27022
27023 # Library versioning type.
27024 version_type=$version_type
27025
27026 # Shared library runtime path variable.
27027 runpath_var=$runpath_var
27028
27029 # Shared library path variable.
27030 shlibpath_var=$shlibpath_var
27031
27032 # Is shlibpath searched before the hard-coded library search path?
27033 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27034
27035 # Format of library name prefix.
27036 libname_spec=$lt_libname_spec
27037
27038 # List of archive names.  First name is the real one, the rest are links.
27039 # The last name is the one that the linker finds with -lNAME
27040 library_names_spec=$lt_library_names_spec
27041
27042 # The coded name of the library, if different from the real name.
27043 soname_spec=$lt_soname_spec
27044
27045 # Permission mode override for installation of shared libraries.
27046 install_override_mode=$lt_install_override_mode
27047
27048 # Command to use after installation of a shared archive.
27049 postinstall_cmds=$lt_postinstall_cmds
27050
27051 # Command to use after uninstallation of a shared archive.
27052 postuninstall_cmds=$lt_postuninstall_cmds
27053
27054 # Commands used to finish a libtool library installation in a directory.
27055 finish_cmds=$lt_finish_cmds
27056
27057 # As "finish_cmds", except a single script fragment to be evaled but
27058 # not shown.
27059 finish_eval=$lt_finish_eval
27060
27061 # Whether we should hardcode library paths into libraries.
27062 hardcode_into_libs=$hardcode_into_libs
27063
27064 # Compile-time system search path for libraries.
27065 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27066
27067 # Run-time system search path for libraries.
27068 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27069
27070 # Whether dlopen is supported.
27071 dlopen_support=$enable_dlopen
27072
27073 # Whether dlopen of programs is supported.
27074 dlopen_self=$enable_dlopen_self
27075
27076 # Whether dlopen of statically linked programs is supported.
27077 dlopen_self_static=$enable_dlopen_self_static
27078
27079 # Commands to strip libraries.
27080 old_striplib=$lt_old_striplib
27081 striplib=$lt_striplib
27082
27083
27084 # The linker used to build libraries.
27085 LD=$lt_LD
27086
27087 # How to create reloadable object files.
27088 reload_flag=$lt_reload_flag
27089 reload_cmds=$lt_reload_cmds
27090
27091 # Commands used to build an old-style archive.
27092 old_archive_cmds=$lt_old_archive_cmds
27093
27094 # A language specific compiler.
27095 CC=$lt_compiler
27096
27097 # Is the compiler the GNU compiler?
27098 with_gcc=$GCC
27099
27100 # Compiler flag to turn off builtin functions.
27101 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27102
27103 # How to pass a linker flag through the compiler.
27104 wl=$lt_lt_prog_compiler_wl
27105
27106 # Additional compiler flags for building library objects.
27107 pic_flag=$lt_lt_prog_compiler_pic
27108
27109 # Compiler flag to prevent dynamic linking.
27110 link_static_flag=$lt_lt_prog_compiler_static
27111
27112 # Does compiler simultaneously support -c and -o options?
27113 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27114
27115 # Whether or not to add -lc for building shared libraries.
27116 build_libtool_need_lc=$archive_cmds_need_lc
27117
27118 # Whether or not to disallow shared libs when runtime libs are static.
27119 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27120
27121 # Compiler flag to allow reflexive dlopens.
27122 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27123
27124 # Compiler flag to generate shared objects directly from archives.
27125 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27126
27127 # Whether the compiler copes with passing no objects directly.
27128 compiler_needs_object=$lt_compiler_needs_object
27129
27130 # Create an old-style archive from a shared archive.
27131 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27132
27133 # Create a temporary old-style archive to link instead of a shared archive.
27134 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27135
27136 # Commands used to build a shared archive.
27137 archive_cmds=$lt_archive_cmds
27138 archive_expsym_cmds=$lt_archive_expsym_cmds
27139
27140 # Commands used to build a loadable module if different from building
27141 # a shared archive.
27142 module_cmds=$lt_module_cmds
27143 module_expsym_cmds=$lt_module_expsym_cmds
27144
27145 # Whether we are building with GNU ld or not.
27146 with_gnu_ld=$lt_with_gnu_ld
27147
27148 # Flag that allows shared libraries with undefined symbols to be built.
27149 allow_undefined_flag=$lt_allow_undefined_flag
27150
27151 # Flag that enforces no undefined symbols.
27152 no_undefined_flag=$lt_no_undefined_flag
27153
27154 # Flag to hardcode \$libdir into a binary during linking.
27155 # This must work even if \$libdir does not exist
27156 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27157
27158 # If ld is used when linking, flag to hardcode \$libdir into a binary
27159 # during linking.  This must work even if \$libdir does not exist.
27160 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27161
27162 # Whether we need a single "-rpath" flag with a separated argument.
27163 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27164
27165 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27166 # DIR into the resulting binary.
27167 hardcode_direct=$hardcode_direct
27168
27169 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27170 # DIR into the resulting binary and the resulting library dependency is
27171 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27172 # library is relocated.
27173 hardcode_direct_absolute=$hardcode_direct_absolute
27174
27175 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27176 # into the resulting binary.
27177 hardcode_minus_L=$hardcode_minus_L
27178
27179 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27180 # into the resulting binary.
27181 hardcode_shlibpath_var=$hardcode_shlibpath_var
27182
27183 # Set to "yes" if building a shared library automatically hardcodes DIR
27184 # into the library and all subsequent libraries and executables linked
27185 # against it.
27186 hardcode_automatic=$hardcode_automatic
27187
27188 # Set to yes if linker adds runtime paths of dependent libraries
27189 # to runtime path list.
27190 inherit_rpath=$inherit_rpath
27191
27192 # Whether libtool must link a program against all its dependency libraries.
27193 link_all_deplibs=$link_all_deplibs
27194
27195 # Fix the shell variable \$srcfile for the compiler.
27196 fix_srcfile_path=$lt_fix_srcfile_path
27197
27198 # Set to "yes" if exported symbols are required.
27199 always_export_symbols=$always_export_symbols
27200
27201 # The commands to list exported symbols.
27202 export_symbols_cmds=$lt_export_symbols_cmds
27203
27204 # Symbols that should not be listed in the preloaded symbols.
27205 exclude_expsyms=$lt_exclude_expsyms
27206
27207 # Symbols that must always be exported.
27208 include_expsyms=$lt_include_expsyms
27209
27210 # Commands necessary for linking programs (against libraries) with templates.
27211 prelink_cmds=$lt_prelink_cmds
27212
27213 # Specify filename containing input files.
27214 file_list_spec=$lt_file_list_spec
27215
27216 # How to hardcode a shared library path into an executable.
27217 hardcode_action=$hardcode_action
27218
27219 # The directories searched by this compiler when creating a shared library.
27220 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27221
27222 # Dependencies to place before and after the objects being linked to
27223 # create a shared library.
27224 predep_objects=$lt_predep_objects
27225 postdep_objects=$lt_postdep_objects
27226 predeps=$lt_predeps
27227 postdeps=$lt_postdeps
27228
27229 # The library search path used internally by the compiler when linking
27230 # a shared library.
27231 compiler_lib_search_path=$lt_compiler_lib_search_path
27232
27233 # ### END LIBTOOL CONFIG
27234
27235 _LT_EOF
27236
27237   case $host_os in
27238   aix3*)
27239     cat <<\_LT_EOF >> "$cfgfile"
27240 # AIX sometimes has problems with the GCC collect2 program.  For some
27241 # reason, if we set the COLLECT_NAMES environment variable, the problems
27242 # vanish in a puff of smoke.
27243 if test "X${COLLECT_NAMES+set}" != Xset; then
27244   COLLECT_NAMES=
27245   export COLLECT_NAMES
27246 fi
27247 _LT_EOF
27248     ;;
27249   esac
27250
27251
27252 ltmain="$ac_aux_dir/ltmain.sh"
27253
27254
27255   # We use sed instead of cat because bash on DJGPP gets confused if
27256   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
27257   # text mode, it properly converts lines to CR/LF.  This bash problem
27258   # is reportedly fixed, but why not run on old versions too?
27259   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
27260     || (rm -f "$cfgfile"; exit 1)
27261
27262   case $xsi_shell in
27263   yes)
27264     cat << \_LT_EOF >> "$cfgfile"
27265
27266 # func_dirname file append nondir_replacement
27267 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27268 # otherwise set result to NONDIR_REPLACEMENT.
27269 func_dirname ()
27270 {
27271   case ${1} in
27272     */*) func_dirname_result="${1%/*}${2}" ;;
27273     *  ) func_dirname_result="${3}" ;;
27274   esac
27275 }
27276
27277 # func_basename file
27278 func_basename ()
27279 {
27280   func_basename_result="${1##*/}"
27281 }
27282
27283 # func_dirname_and_basename file append nondir_replacement
27284 # perform func_basename and func_dirname in a single function
27285 # call:
27286 #   dirname:  Compute the dirname of FILE.  If nonempty,
27287 #             add APPEND to the result, otherwise set result
27288 #             to NONDIR_REPLACEMENT.
27289 #             value returned in "$func_dirname_result"
27290 #   basename: Compute filename of FILE.
27291 #             value retuned in "$func_basename_result"
27292 # Implementation must be kept synchronized with func_dirname
27293 # and func_basename. For efficiency, we do not delegate to
27294 # those functions but instead duplicate the functionality here.
27295 func_dirname_and_basename ()
27296 {
27297   case ${1} in
27298     */*) func_dirname_result="${1%/*}${2}" ;;
27299     *  ) func_dirname_result="${3}" ;;
27300   esac
27301   func_basename_result="${1##*/}"
27302 }
27303
27304 # func_stripname prefix suffix name
27305 # strip PREFIX and SUFFIX off of NAME.
27306 # PREFIX and SUFFIX must not contain globbing or regex special
27307 # characters, hashes, percent signs, but SUFFIX may contain a leading
27308 # dot (in which case that matches only a dot).
27309 func_stripname ()
27310 {
27311   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
27312   # positional parameters, so assign one to ordinary parameter first.
27313   func_stripname_result=${3}
27314   func_stripname_result=${func_stripname_result#"${1}"}
27315   func_stripname_result=${func_stripname_result%"${2}"}
27316 }
27317
27318 # func_opt_split
27319 func_opt_split ()
27320 {
27321   func_opt_split_opt=${1%%=*}
27322   func_opt_split_arg=${1#*=}
27323 }
27324
27325 # func_lo2o object
27326 func_lo2o ()
27327 {
27328   case ${1} in
27329     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
27330     *)    func_lo2o_result=${1} ;;
27331   esac
27332 }
27333
27334 # func_xform libobj-or-source
27335 func_xform ()
27336 {
27337   func_xform_result=${1%.*}.lo
27338 }
27339
27340 # func_arith arithmetic-term...
27341 func_arith ()
27342 {
27343   func_arith_result=$(( $* ))
27344 }
27345
27346 # func_len string
27347 # STRING may not start with a hyphen.
27348 func_len ()
27349 {
27350   func_len_result=${#1}
27351 }
27352
27353 _LT_EOF
27354     ;;
27355   *) # Bourne compatible functions.
27356     cat << \_LT_EOF >> "$cfgfile"
27357
27358 # func_dirname file append nondir_replacement
27359 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
27360 # otherwise set result to NONDIR_REPLACEMENT.
27361 func_dirname ()
27362 {
27363   # Extract subdirectory from the argument.
27364   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
27365   if test "X$func_dirname_result" = "X${1}"; then
27366     func_dirname_result="${3}"
27367   else
27368     func_dirname_result="$func_dirname_result${2}"
27369   fi
27370 }
27371
27372 # func_basename file
27373 func_basename ()
27374 {
27375   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
27376 }
27377
27378
27379 # func_stripname prefix suffix name
27380 # strip PREFIX and SUFFIX off of NAME.
27381 # PREFIX and SUFFIX must not contain globbing or regex special
27382 # characters, hashes, percent signs, but SUFFIX may contain a leading
27383 # dot (in which case that matches only a dot).
27384 # func_strip_suffix prefix name
27385 func_stripname ()
27386 {
27387   case ${2} in
27388     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
27389     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
27390   esac
27391 }
27392
27393 # sed scripts:
27394 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
27395 my_sed_long_arg='1s/^-[^=]*=//'
27396
27397 # func_opt_split
27398 func_opt_split ()
27399 {
27400   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
27401   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
27402 }
27403
27404 # func_lo2o object
27405 func_lo2o ()
27406 {
27407   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
27408 }
27409
27410 # func_xform libobj-or-source
27411 func_xform ()
27412 {
27413   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
27414 }
27415
27416 # func_arith arithmetic-term...
27417 func_arith ()
27418 {
27419   func_arith_result=`expr "$@"`
27420 }
27421
27422 # func_len string
27423 # STRING may not start with a hyphen.
27424 func_len ()
27425 {
27426   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
27427 }
27428
27429 _LT_EOF
27430 esac
27431
27432 case $lt_shell_append in
27433   yes)
27434     cat << \_LT_EOF >> "$cfgfile"
27435
27436 # func_append var value
27437 # Append VALUE to the end of shell variable VAR.
27438 func_append ()
27439 {
27440   eval "$1+=\$2"
27441 }
27442 _LT_EOF
27443     ;;
27444   *)
27445     cat << \_LT_EOF >> "$cfgfile"
27446
27447 # func_append var value
27448 # Append VALUE to the end of shell variable VAR.
27449 func_append ()
27450 {
27451   eval "$1=\$$1\$2"
27452 }
27453
27454 _LT_EOF
27455     ;;
27456   esac
27457
27458
27459   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
27460     || (rm -f "$cfgfile"; exit 1)
27461
27462   mv -f "$cfgfile" "$ofile" ||
27463     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27464   chmod +x "$ofile"
27465
27466
27467     cat <<_LT_EOF >> "$ofile"
27468
27469 # ### BEGIN LIBTOOL TAG CONFIG: FC
27470
27471 # The linker used to build libraries.
27472 LD=$lt_LD_FC
27473
27474 # How to create reloadable object files.
27475 reload_flag=$lt_reload_flag_FC
27476 reload_cmds=$lt_reload_cmds_FC
27477
27478 # Commands used to build an old-style archive.
27479 old_archive_cmds=$lt_old_archive_cmds_FC
27480
27481 # A language specific compiler.
27482 CC=$lt_compiler_FC
27483
27484 # Is the compiler the GNU compiler?
27485 with_gcc=$GCC_FC
27486
27487 # Compiler flag to turn off builtin functions.
27488 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
27489
27490 # How to pass a linker flag through the compiler.
27491 wl=$lt_lt_prog_compiler_wl_FC
27492
27493 # Additional compiler flags for building library objects.
27494 pic_flag=$lt_lt_prog_compiler_pic_FC
27495
27496 # Compiler flag to prevent dynamic linking.
27497 link_static_flag=$lt_lt_prog_compiler_static_FC
27498
27499 # Does compiler simultaneously support -c and -o options?
27500 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
27501
27502 # Whether or not to add -lc for building shared libraries.
27503 build_libtool_need_lc=$archive_cmds_need_lc_FC
27504
27505 # Whether or not to disallow shared libs when runtime libs are static.
27506 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
27507
27508 # Compiler flag to allow reflexive dlopens.
27509 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
27510
27511 # Compiler flag to generate shared objects directly from archives.
27512 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
27513
27514 # Whether the compiler copes with passing no objects directly.
27515 compiler_needs_object=$lt_compiler_needs_object_FC
27516
27517 # Create an old-style archive from a shared archive.
27518 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
27519
27520 # Create a temporary old-style archive to link instead of a shared archive.
27521 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
27522
27523 # Commands used to build a shared archive.
27524 archive_cmds=$lt_archive_cmds_FC
27525 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
27526
27527 # Commands used to build a loadable module if different from building
27528 # a shared archive.
27529 module_cmds=$lt_module_cmds_FC
27530 module_expsym_cmds=$lt_module_expsym_cmds_FC
27531
27532 # Whether we are building with GNU ld or not.
27533 with_gnu_ld=$lt_with_gnu_ld_FC
27534
27535 # Flag that allows shared libraries with undefined symbols to be built.
27536 allow_undefined_flag=$lt_allow_undefined_flag_FC
27537
27538 # Flag that enforces no undefined symbols.
27539 no_undefined_flag=$lt_no_undefined_flag_FC
27540
27541 # Flag to hardcode \$libdir into a binary during linking.
27542 # This must work even if \$libdir does not exist
27543 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
27544
27545 # If ld is used when linking, flag to hardcode \$libdir into a binary
27546 # during linking.  This must work even if \$libdir does not exist.
27547 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
27548
27549 # Whether we need a single "-rpath" flag with a separated argument.
27550 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
27551
27552 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27553 # DIR into the resulting binary.
27554 hardcode_direct=$hardcode_direct_FC
27555
27556 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27557 # DIR into the resulting binary and the resulting library dependency is
27558 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27559 # library is relocated.
27560 hardcode_direct_absolute=$hardcode_direct_absolute_FC
27561
27562 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27563 # into the resulting binary.
27564 hardcode_minus_L=$hardcode_minus_L_FC
27565
27566 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27567 # into the resulting binary.
27568 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
27569
27570 # Set to "yes" if building a shared library automatically hardcodes DIR
27571 # into the library and all subsequent libraries and executables linked
27572 # against it.
27573 hardcode_automatic=$hardcode_automatic_FC
27574
27575 # Set to yes if linker adds runtime paths of dependent libraries
27576 # to runtime path list.
27577 inherit_rpath=$inherit_rpath_FC
27578
27579 # Whether libtool must link a program against all its dependency libraries.
27580 link_all_deplibs=$link_all_deplibs_FC
27581
27582 # Fix the shell variable \$srcfile for the compiler.
27583 fix_srcfile_path=$lt_fix_srcfile_path_FC
27584
27585 # Set to "yes" if exported symbols are required.
27586 always_export_symbols=$always_export_symbols_FC
27587
27588 # The commands to list exported symbols.
27589 export_symbols_cmds=$lt_export_symbols_cmds_FC
27590
27591 # Symbols that should not be listed in the preloaded symbols.
27592 exclude_expsyms=$lt_exclude_expsyms_FC
27593
27594 # Symbols that must always be exported.
27595 include_expsyms=$lt_include_expsyms_FC
27596
27597 # Commands necessary for linking programs (against libraries) with templates.
27598 prelink_cmds=$lt_prelink_cmds_FC
27599
27600 # Specify filename containing input files.
27601 file_list_spec=$lt_file_list_spec_FC
27602
27603 # How to hardcode a shared library path into an executable.
27604 hardcode_action=$hardcode_action_FC
27605
27606 # The directories searched by this compiler when creating a shared library.
27607 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
27608
27609 # Dependencies to place before and after the objects being linked to
27610 # create a shared library.
27611 predep_objects=$lt_predep_objects_FC
27612 postdep_objects=$lt_postdep_objects_FC
27613 predeps=$lt_predeps_FC
27614 postdeps=$lt_postdeps_FC
27615
27616 # The library search path used internally by the compiler when linking
27617 # a shared library.
27618 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
27619
27620 # ### END LIBTOOL TAG CONFIG: FC
27621 _LT_EOF
27622
27623  ;;
27624     "gstdint.h":C)
27625 if test "$GCC" = yes; then
27626   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
27627 else
27628   echo "/* generated for $CC */" > tmp-stdint.h
27629 fi
27630
27631 sed 's/^ *//' >> tmp-stdint.h <<EOF
27632
27633   #ifndef GCC_GENERATED_STDINT_H
27634   #define GCC_GENERATED_STDINT_H 1
27635
27636   #include <sys/types.h>
27637 EOF
27638
27639 if test "$acx_cv_header_stdint" != stdint.h; then
27640   echo "#include <stddef.h>" >> tmp-stdint.h
27641 fi
27642 if test "$acx_cv_header_stdint" != stddef.h; then
27643   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
27644 fi
27645
27646 sed 's/^ *//' >> tmp-stdint.h <<EOF
27647   /* glibc uses these symbols as guards to prevent redefinitions.  */
27648   #ifdef __int8_t_defined
27649   #define _INT8_T
27650   #define _INT16_T
27651   #define _INT32_T
27652   #endif
27653   #ifdef __uint32_t_defined
27654   #define _UINT32_T
27655   #endif
27656
27657 EOF
27658
27659 # ----------------- done header, emit basic int types -------------
27660 if test "$acx_cv_header_stdint" = stddef.h; then
27661   sed 's/^ *//' >> tmp-stdint.h <<EOF
27662
27663     #ifndef _UINT8_T
27664     #define _UINT8_T
27665     #ifndef __uint8_t_defined
27666     #define __uint8_t_defined
27667     #ifndef uint8_t
27668     typedef unsigned $acx_cv_type_int8_t uint8_t;
27669     #endif
27670     #endif
27671     #endif
27672
27673     #ifndef _UINT16_T
27674     #define _UINT16_T
27675     #ifndef __uint16_t_defined
27676     #define __uint16_t_defined
27677     #ifndef uint16_t
27678     typedef unsigned $acx_cv_type_int16_t uint16_t;
27679     #endif
27680     #endif
27681     #endif
27682
27683     #ifndef _UINT32_T
27684     #define _UINT32_T
27685     #ifndef __uint32_t_defined
27686     #define __uint32_t_defined
27687     #ifndef uint32_t
27688     typedef unsigned $acx_cv_type_int32_t uint32_t;
27689     #endif
27690     #endif
27691     #endif
27692
27693     #ifndef _INT8_T
27694     #define _INT8_T
27695     #ifndef __int8_t_defined
27696     #define __int8_t_defined
27697     #ifndef int8_t
27698     typedef $acx_cv_type_int8_t int8_t;
27699     #endif
27700     #endif
27701     #endif
27702
27703     #ifndef _INT16_T
27704     #define _INT16_T
27705     #ifndef __int16_t_defined
27706     #define __int16_t_defined
27707     #ifndef int16_t
27708     typedef $acx_cv_type_int16_t int16_t;
27709     #endif
27710     #endif
27711     #endif
27712
27713     #ifndef _INT32_T
27714     #define _INT32_T
27715     #ifndef __int32_t_defined
27716     #define __int32_t_defined
27717     #ifndef int32_t
27718     typedef $acx_cv_type_int32_t int32_t;
27719     #endif
27720     #endif
27721     #endif
27722 EOF
27723 elif test "$ac_cv_type_u_int32_t" = yes; then
27724   sed 's/^ *//' >> tmp-stdint.h <<EOF
27725
27726     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
27727     #ifndef _INT8_T
27728     #define _INT8_T
27729     #endif
27730     #ifndef _INT16_T
27731     #define _INT16_T
27732     #endif
27733     #ifndef _INT32_T
27734     #define _INT32_T
27735     #endif
27736
27737     #ifndef _UINT8_T
27738     #define _UINT8_T
27739     #ifndef __uint8_t_defined
27740     #define __uint8_t_defined
27741     #ifndef uint8_t
27742     typedef u_int8_t uint8_t;
27743     #endif
27744     #endif
27745     #endif
27746
27747     #ifndef _UINT16_T
27748     #define _UINT16_T
27749     #ifndef __uint16_t_defined
27750     #define __uint16_t_defined
27751     #ifndef uint16_t
27752     typedef u_int16_t uint16_t;
27753     #endif
27754     #endif
27755     #endif
27756
27757     #ifndef _UINT32_T
27758     #define _UINT32_T
27759     #ifndef __uint32_t_defined
27760     #define __uint32_t_defined
27761     #ifndef uint32_t
27762     typedef u_int32_t uint32_t;
27763     #endif
27764     #endif
27765     #endif
27766 EOF
27767 else
27768   sed 's/^ *//' >> tmp-stdint.h <<EOF
27769
27770     /* Some systems have guard macros to prevent redefinitions, define them.  */
27771     #ifndef _INT8_T
27772     #define _INT8_T
27773     #endif
27774     #ifndef _INT16_T
27775     #define _INT16_T
27776     #endif
27777     #ifndef _INT32_T
27778     #define _INT32_T
27779     #endif
27780     #ifndef _UINT8_T
27781     #define _UINT8_T
27782     #endif
27783     #ifndef _UINT16_T
27784     #define _UINT16_T
27785     #endif
27786     #ifndef _UINT32_T
27787     #define _UINT32_T
27788     #endif
27789 EOF
27790 fi
27791
27792 # ------------- done basic int types, emit int64_t types ------------
27793 if test "$ac_cv_type_uint64_t" = yes; then
27794   sed 's/^ *//' >> tmp-stdint.h <<EOF
27795
27796     /* system headers have good uint64_t and int64_t */
27797     #ifndef _INT64_T
27798     #define _INT64_T
27799     #endif
27800     #ifndef _UINT64_T
27801     #define _UINT64_T
27802     #endif
27803 EOF
27804 elif test "$ac_cv_type_u_int64_t" = yes; then
27805   sed 's/^ *//' >> tmp-stdint.h <<EOF
27806
27807     /* system headers have an u_int64_t (and int64_t) */
27808     #ifndef _INT64_T
27809     #define _INT64_T
27810     #endif
27811     #ifndef _UINT64_T
27812     #define _UINT64_T
27813     #ifndef __uint64_t_defined
27814     #define __uint64_t_defined
27815     #ifndef uint64_t
27816     typedef u_int64_t uint64_t;
27817     #endif
27818     #endif
27819     #endif
27820 EOF
27821 elif test -n "$acx_cv_type_int64_t"; then
27822   sed 's/^ *//' >> tmp-stdint.h <<EOF
27823
27824     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
27825     #ifndef _INT64_T
27826     #define _INT64_T
27827     #ifndef int64_t
27828     typedef $acx_cv_type_int64_t int64_t;
27829     #endif
27830     #endif
27831     #ifndef _UINT64_T
27832     #define _UINT64_T
27833     #ifndef __uint64_t_defined
27834     #define __uint64_t_defined
27835     #ifndef uint64_t
27836     typedef unsigned $acx_cv_type_int64_t uint64_t;
27837     #endif
27838     #endif
27839     #endif
27840 EOF
27841 else
27842   sed 's/^ *//' >> tmp-stdint.h <<EOF
27843
27844     /* some common heuristics for int64_t, using compiler-specific tests */
27845     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
27846     #ifndef _INT64_T
27847     #define _INT64_T
27848     #ifndef __int64_t_defined
27849     #ifndef int64_t
27850     typedef long long int64_t;
27851     #endif
27852     #endif
27853     #endif
27854     #ifndef _UINT64_T
27855     #define _UINT64_T
27856     #ifndef uint64_t
27857     typedef unsigned long long uint64_t;
27858     #endif
27859     #endif
27860
27861     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
27862     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
27863        does not implement __extension__.  But that compiler doesn't define
27864        __GNUC_MINOR__.  */
27865     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
27866     # define __extension__
27867     # endif
27868
27869     # ifndef _INT64_T
27870     # define _INT64_T
27871     # ifndef int64_t
27872     __extension__ typedef long long int64_t;
27873     # endif
27874     # endif
27875     # ifndef _UINT64_T
27876     # define _UINT64_T
27877     # ifndef uint64_t
27878     __extension__ typedef unsigned long long uint64_t;
27879     # endif
27880     # endif
27881
27882     #elif !defined __STRICT_ANSI__
27883     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
27884
27885     #  ifndef _INT64_T
27886     #  define _INT64_T
27887     #  ifndef int64_t
27888     typedef __int64 int64_t;
27889     #  endif
27890     #  endif
27891     #  ifndef _UINT64_T
27892     #  define _UINT64_T
27893     #  ifndef uint64_t
27894     typedef unsigned __int64 uint64_t;
27895     #  endif
27896     #  endif
27897     # endif /* compiler */
27898
27899     #endif /* ANSI version */
27900 EOF
27901 fi
27902
27903 # ------------- done int64_t types, emit intptr types ------------
27904 if test "$ac_cv_type_uintptr_t" != yes; then
27905   sed 's/^ *//' >> tmp-stdint.h <<EOF
27906
27907     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
27908     #ifndef __uintptr_t_defined
27909     #ifndef uintptr_t
27910     typedef u$acx_cv_type_intptr_t uintptr_t;
27911     #endif
27912     #endif
27913     #ifndef __intptr_t_defined
27914     #ifndef intptr_t
27915     typedef $acx_cv_type_intptr_t  intptr_t;
27916     #endif
27917     #endif
27918 EOF
27919 fi
27920
27921 # ------------- done intptr types, emit int_least types ------------
27922 if test "$ac_cv_type_int_least32_t" != yes; then
27923   sed 's/^ *//' >> tmp-stdint.h <<EOF
27924
27925     /* Define int_least types */
27926     typedef int8_t     int_least8_t;
27927     typedef int16_t    int_least16_t;
27928     typedef int32_t    int_least32_t;
27929     #ifdef _INT64_T
27930     typedef int64_t    int_least64_t;
27931     #endif
27932
27933     typedef uint8_t    uint_least8_t;
27934     typedef uint16_t   uint_least16_t;
27935     typedef uint32_t   uint_least32_t;
27936     #ifdef _UINT64_T
27937     typedef uint64_t   uint_least64_t;
27938     #endif
27939 EOF
27940 fi
27941
27942 # ------------- done intptr types, emit int_fast types ------------
27943 if test "$ac_cv_type_int_fast32_t" != yes; then
27944       sed 's/^ *//' >> tmp-stdint.h <<EOF
27945
27946     /* Define int_fast types.  short is often slow */
27947     typedef int8_t       int_fast8_t;
27948     typedef int          int_fast16_t;
27949     typedef int32_t      int_fast32_t;
27950     #ifdef _INT64_T
27951     typedef int64_t      int_fast64_t;
27952     #endif
27953
27954     typedef uint8_t      uint_fast8_t;
27955     typedef unsigned int uint_fast16_t;
27956     typedef uint32_t     uint_fast32_t;
27957     #ifdef _UINT64_T
27958     typedef uint64_t     uint_fast64_t;
27959     #endif
27960 EOF
27961 fi
27962
27963 if test "$ac_cv_type_uintmax_t" != yes; then
27964   sed 's/^ *//' >> tmp-stdint.h <<EOF
27965
27966     /* Define intmax based on what we found */
27967     #ifndef intmax_t
27968     #ifdef _INT64_T
27969     typedef int64_t       intmax_t;
27970     #else
27971     typedef long          intmax_t;
27972     #endif
27973     #endif
27974     #ifndef uintmax_t
27975     #ifdef _UINT64_T
27976     typedef uint64_t      uintmax_t;
27977     #else
27978     typedef unsigned long uintmax_t;
27979     #endif
27980     #endif
27981 EOF
27982 fi
27983
27984 sed 's/^ *//' >> tmp-stdint.h <<EOF
27985
27986   #endif /* GCC_GENERATED_STDINT_H */
27987 EOF
27988
27989 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
27990   rm -f tmp-stdint.h
27991 else
27992   mv -f tmp-stdint.h gstdint.h
27993 fi
27994
27995  ;;
27996
27997   esac
27998 done # for ac_tag
27999
28000
28001 as_fn_exit 0
28002 _ACEOF
28003 ac_clean_files=$ac_clean_files_save
28004
28005 test $ac_write_fail = 0 ||
28006   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28007
28008
28009 # configure is writing to config.log, and then calls config.status.
28010 # config.status does its own redirection, appending to config.log.
28011 # Unfortunately, on DOS this fails, as config.log is still kept open
28012 # by configure, so config.status won't be able to write to it; its
28013 # output is simply discarded.  So we exec the FD to /dev/null,
28014 # effectively closing config.log, so it can be properly (re)opened and
28015 # appended to by config.status.  When coming back to configure, we
28016 # need to make the FD available again.
28017 if test "$no_create" != yes; then
28018   ac_cs_success=:
28019   ac_config_status_args=
28020   test "$silent" = yes &&
28021     ac_config_status_args="$ac_config_status_args --quiet"
28022   exec 5>/dev/null
28023   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28024   exec 5>>config.log
28025   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28026   # would make configure fail if this is the last instruction.
28027   $ac_cs_success || as_fn_exit $?
28028 fi
28029 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28030   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28031 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28032 fi
28033