OSDN Git Service

Remove configure check for unused fdopen.
[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 test \$(( 1 + 1 )) = 2 || exit 1
173
174   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178     PATH=/empty FPATH=/empty; export PATH FPATH
179     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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_header_list=
601 ac_func_list=
602 ac_c_werror_flag=
603 ac_subst_vars='am__EXEEXT_FALSE
604 am__EXEEXT_TRUE
605 LTLIBOBJS
606 LIBOBJS
607 IEEE_FLAGS
608 FPU_HOST_HEADER
609 LIBGFOR_BUILD_QUAD_FALSE
610 LIBGFOR_BUILD_QUAD_TRUE
611 LIBQUADINCLUDE
612 LIBQUADLIB_DEP
613 LIBQUADLIB
614 LIBQUADSPEC
615 extra_ldflags_libgfortran
616 ac_ct_FC
617 FCFLAGS
618 FC
619 enable_static
620 enable_shared
621 lt_host_flags
622 OTOOL64
623 OTOOL
624 LIPO
625 NMEDIT
626 DSYMUTIL
627 OBJDUMP
628 LN_S
629 NM
630 ac_ct_DUMPBIN
631 DUMPBIN
632 LD
633 FGREP
634 SED
635 LIBTOOL
636 RANLIB
637 AR
638 AS
639 SECTION_FLAGS
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 LIBGFOR_USE_SYMVER_TRUE
646 AM_CFLAGS
647 AM_FCFLAGS
648 toolexeclibdir
649 toolexecdir
650 EGREP
651 GREP
652 CPP
653 am__fastdepCC_FALSE
654 am__fastdepCC_TRUE
655 CCDEPMODE
656 AMDEPBACKSLASH
657 AMDEP_FALSE
658 AMDEP_TRUE
659 am__quote
660 am__include
661 DEPDIR
662 OBJEXT
663 EXEEXT
664 ac_ct_CC
665 CPPFLAGS
666 LDFLAGS
667 CFLAGS
668 CC
669 multi_basedir
670 MAINT
671 MAINTAINER_MODE_FALSE
672 MAINTAINER_MODE_TRUE
673 am__untar
674 am__tar
675 AMTAR
676 am__leading_dot
677 SET_MAKE
678 AWK
679 mkdir_p
680 MKDIR_P
681 INSTALL_STRIP_PROGRAM
682 STRIP
683 install_sh
684 MAKEINFO
685 AUTOHEADER
686 AUTOMAKE
687 AUTOCONF
688 ACLOCAL
689 VERSION
690 PACKAGE
691 CYGPATH_W
692 am__isrc
693 INSTALL_DATA
694 INSTALL_SCRIPT
695 INSTALL_PROGRAM
696 target_noncanonical
697 target_os
698 target_vendor
699 target_cpu
700 target
701 host_os
702 host_vendor
703 host_cpu
704 host
705 onestep
706 onestep_FALSE
707 onestep_TRUE
708 target_subdir
709 host_subdir
710 build_subdir
711 build_libsubdir
712 build_os
713 build_vendor
714 build_cpu
715 build
716 target_alias
717 host_alias
718 build_alias
719 LIBS
720 ECHO_T
721 ECHO_N
722 ECHO_C
723 DEFS
724 mandir
725 localedir
726 libdir
727 psdir
728 pdfdir
729 dvidir
730 htmldir
731 infodir
732 docdir
733 oldincludedir
734 includedir
735 localstatedir
736 sharedstatedir
737 sysconfdir
738 datadir
739 datarootdir
740 libexecdir
741 sbindir
742 bindir
743 program_transform_name
744 prefix
745 exec_prefix
746 PACKAGE_URL
747 PACKAGE_BUGREPORT
748 PACKAGE_STRING
749 PACKAGE_VERSION
750 PACKAGE_TARNAME
751 PACKAGE_NAME
752 PATH_SEPARATOR
753 SHELL'
754 ac_subst_files=''
755 ac_user_opts='
756 enable_option_checking
757 with_build_libsubdir
758 enable_version_specific_runtime_libs
759 enable_intermodule
760 enable_maintainer_mode
761 enable_multilib
762 enable_dependency_tracking
763 enable_symvers
764 enable_shared
765 enable_static
766 with_pic
767 enable_fast_install
768 with_gnu_ld
769 enable_libtool_lock
770 enable_largefile
771 enable_libquadmath_support
772 with_system_libunwind
773 '
774       ac_precious_vars='build_alias
775 host_alias
776 target_alias
777 CC
778 CFLAGS
779 LDFLAGS
780 LIBS
781 CPPFLAGS
782 CPP
783 FC
784 FCFLAGS'
785
786
787 # Initialize some variables set by options.
788 ac_init_help=
789 ac_init_version=false
790 ac_unrecognized_opts=
791 ac_unrecognized_sep=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
794 cache_file=/dev/null
795 exec_prefix=NONE
796 no_create=
797 no_recursion=
798 prefix=NONE
799 program_prefix=NONE
800 program_suffix=NONE
801 program_transform_name=s,x,x,
802 silent=
803 site=
804 srcdir=
805 verbose=
806 x_includes=NONE
807 x_libraries=NONE
808
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir='${exec_prefix}/bin'
816 sbindir='${exec_prefix}/sbin'
817 libexecdir='${exec_prefix}/libexec'
818 datarootdir='${prefix}/share'
819 datadir='${datarootdir}'
820 sysconfdir='${prefix}/etc'
821 sharedstatedir='${prefix}/com'
822 localstatedir='${prefix}/var'
823 includedir='${prefix}/include'
824 oldincludedir='/usr/include'
825 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir='${datarootdir}/info'
827 htmldir='${docdir}'
828 dvidir='${docdir}'
829 pdfdir='${docdir}'
830 psdir='${docdir}'
831 libdir='${exec_prefix}/lib'
832 localedir='${datarootdir}/locale'
833 mandir='${datarootdir}/man'
834
835 ac_prev=
836 ac_dashdash=
837 for ac_option
838 do
839   # If the previous option needs an argument, assign it.
840   if test -n "$ac_prev"; then
841     eval $ac_prev=\$ac_option
842     ac_prev=
843     continue
844   fi
845
846   case $ac_option in
847   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848   *)    ac_optarg=yes ;;
849   esac
850
851   # Accept the important Cygnus configure options, so we can diagnose typos.
852
853   case $ac_dashdash$ac_option in
854   --)
855     ac_dashdash=yes ;;
856
857   -bindir | --bindir | --bindi | --bind | --bin | --bi)
858     ac_prev=bindir ;;
859   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860     bindir=$ac_optarg ;;
861
862   -build | --build | --buil | --bui | --bu)
863     ac_prev=build_alias ;;
864   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
865     build_alias=$ac_optarg ;;
866
867   -cache-file | --cache-file | --cache-fil | --cache-fi \
868   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
869     ac_prev=cache_file ;;
870   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
871   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
872     cache_file=$ac_optarg ;;
873
874   --config-cache | -C)
875     cache_file=config.cache ;;
876
877   -datadir | --datadir | --datadi | --datad)
878     ac_prev=datadir ;;
879   -datadir=* | --datadir=* | --datadi=* | --datad=*)
880     datadir=$ac_optarg ;;
881
882   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
883   | --dataroo | --dataro | --datar)
884     ac_prev=datarootdir ;;
885   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
886   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
887     datarootdir=$ac_optarg ;;
888
889   -disable-* | --disable-*)
890     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891     # Reject names that are not valid shell variable names.
892     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893       as_fn_error "invalid feature name: $ac_useropt"
894     ac_useropt_orig=$ac_useropt
895     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896     case $ac_user_opts in
897       *"
898 "enable_$ac_useropt"
899 "*) ;;
900       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901          ac_unrecognized_sep=', ';;
902     esac
903     eval enable_$ac_useropt=no ;;
904
905   -docdir | --docdir | --docdi | --doc | --do)
906     ac_prev=docdir ;;
907   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908     docdir=$ac_optarg ;;
909
910   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911     ac_prev=dvidir ;;
912   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913     dvidir=$ac_optarg ;;
914
915   -enable-* | --enable-*)
916     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917     # Reject names that are not valid shell variable names.
918     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919       as_fn_error "invalid feature name: $ac_useropt"
920     ac_useropt_orig=$ac_useropt
921     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922     case $ac_user_opts in
923       *"
924 "enable_$ac_useropt"
925 "*) ;;
926       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927          ac_unrecognized_sep=', ';;
928     esac
929     eval enable_$ac_useropt=\$ac_optarg ;;
930
931   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933   | --exec | --exe | --ex)
934     ac_prev=exec_prefix ;;
935   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937   | --exec=* | --exe=* | --ex=*)
938     exec_prefix=$ac_optarg ;;
939
940   -gas | --gas | --ga | --g)
941     # Obsolete; use --with-gas.
942     with_gas=yes ;;
943
944   -help | --help | --hel | --he | -h)
945     ac_init_help=long ;;
946   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947     ac_init_help=recursive ;;
948   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949     ac_init_help=short ;;
950
951   -host | --host | --hos | --ho)
952     ac_prev=host_alias ;;
953   -host=* | --host=* | --hos=* | --ho=*)
954     host_alias=$ac_optarg ;;
955
956   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957     ac_prev=htmldir ;;
958   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959   | --ht=*)
960     htmldir=$ac_optarg ;;
961
962   -includedir | --includedir | --includedi | --included | --include \
963   | --includ | --inclu | --incl | --inc)
964     ac_prev=includedir ;;
965   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966   | --includ=* | --inclu=* | --incl=* | --inc=*)
967     includedir=$ac_optarg ;;
968
969   -infodir | --infodir | --infodi | --infod | --info | --inf)
970     ac_prev=infodir ;;
971   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972     infodir=$ac_optarg ;;
973
974   -libdir | --libdir | --libdi | --libd)
975     ac_prev=libdir ;;
976   -libdir=* | --libdir=* | --libdi=* | --libd=*)
977     libdir=$ac_optarg ;;
978
979   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980   | --libexe | --libex | --libe)
981     ac_prev=libexecdir ;;
982   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983   | --libexe=* | --libex=* | --libe=*)
984     libexecdir=$ac_optarg ;;
985
986   -localedir | --localedir | --localedi | --localed | --locale)
987     ac_prev=localedir ;;
988   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989     localedir=$ac_optarg ;;
990
991   -localstatedir | --localstatedir | --localstatedi | --localstated \
992   | --localstate | --localstat | --localsta | --localst | --locals)
993     ac_prev=localstatedir ;;
994   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996     localstatedir=$ac_optarg ;;
997
998   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999     ac_prev=mandir ;;
1000   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001     mandir=$ac_optarg ;;
1002
1003   -nfp | --nfp | --nf)
1004     # Obsolete; use --without-fp.
1005     with_fp=no ;;
1006
1007   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008   | --no-cr | --no-c | -n)
1009     no_create=yes ;;
1010
1011   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013     no_recursion=yes ;;
1014
1015   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017   | --oldin | --oldi | --old | --ol | --o)
1018     ac_prev=oldincludedir ;;
1019   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022     oldincludedir=$ac_optarg ;;
1023
1024   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025     ac_prev=prefix ;;
1026   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027     prefix=$ac_optarg ;;
1028
1029   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030   | --program-pre | --program-pr | --program-p)
1031     ac_prev=program_prefix ;;
1032   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034     program_prefix=$ac_optarg ;;
1035
1036   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037   | --program-suf | --program-su | --program-s)
1038     ac_prev=program_suffix ;;
1039   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041     program_suffix=$ac_optarg ;;
1042
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     ac_prev=program_transform_name ;;
1051   -program-transform-name=* | --program-transform-name=* \
1052   | --program-transform-nam=* | --program-transform-na=* \
1053   | --program-transform-n=* | --program-transform-=* \
1054   | --program-transform=* | --program-transfor=* \
1055   | --program-transfo=* | --program-transf=* \
1056   | --program-trans=* | --program-tran=* \
1057   | --progr-tra=* | --program-tr=* | --program-t=*)
1058     program_transform_name=$ac_optarg ;;
1059
1060   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061     ac_prev=pdfdir ;;
1062   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063     pdfdir=$ac_optarg ;;
1064
1065   -psdir | --psdir | --psdi | --psd | --ps)
1066     ac_prev=psdir ;;
1067   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068     psdir=$ac_optarg ;;
1069
1070   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071   | -silent | --silent | --silen | --sile | --sil)
1072     silent=yes ;;
1073
1074   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075     ac_prev=sbindir ;;
1076   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077   | --sbi=* | --sb=*)
1078     sbindir=$ac_optarg ;;
1079
1080   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082   | --sharedst | --shareds | --shared | --share | --shar \
1083   | --sha | --sh)
1084     ac_prev=sharedstatedir ;;
1085   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088   | --sha=* | --sh=*)
1089     sharedstatedir=$ac_optarg ;;
1090
1091   -site | --site | --sit)
1092     ac_prev=site ;;
1093   -site=* | --site=* | --sit=*)
1094     site=$ac_optarg ;;
1095
1096   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097     ac_prev=srcdir ;;
1098   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099     srcdir=$ac_optarg ;;
1100
1101   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102   | --syscon | --sysco | --sysc | --sys | --sy)
1103     ac_prev=sysconfdir ;;
1104   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106     sysconfdir=$ac_optarg ;;
1107
1108   -target | --target | --targe | --targ | --tar | --ta | --t)
1109     ac_prev=target_alias ;;
1110   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111     target_alias=$ac_optarg ;;
1112
1113   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114     verbose=yes ;;
1115
1116   -version | --version | --versio | --versi | --vers | -V)
1117     ac_init_version=: ;;
1118
1119   -with-* | --with-*)
1120     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121     # Reject names that are not valid shell variable names.
1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123       as_fn_error "invalid package name: $ac_useropt"
1124     ac_useropt_orig=$ac_useropt
1125     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126     case $ac_user_opts in
1127       *"
1128 "with_$ac_useropt"
1129 "*) ;;
1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131          ac_unrecognized_sep=', ';;
1132     esac
1133     eval with_$ac_useropt=\$ac_optarg ;;
1134
1135   -without-* | --without-*)
1136     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137     # Reject names that are not valid shell variable names.
1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139       as_fn_error "invalid package name: $ac_useropt"
1140     ac_useropt_orig=$ac_useropt
1141     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142     case $ac_user_opts in
1143       *"
1144 "with_$ac_useropt"
1145 "*) ;;
1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147          ac_unrecognized_sep=', ';;
1148     esac
1149     eval with_$ac_useropt=no ;;
1150
1151   --x)
1152     # Obsolete; use --with-x.
1153     with_x=yes ;;
1154
1155   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156   | --x-incl | --x-inc | --x-in | --x-i)
1157     ac_prev=x_includes ;;
1158   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160     x_includes=$ac_optarg ;;
1161
1162   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164     ac_prev=x_libraries ;;
1165   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167     x_libraries=$ac_optarg ;;
1168
1169   -*) as_fn_error "unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information."
1171     ;;
1172
1173   *=*)
1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175     # Reject names that are not valid shell variable names.
1176     case $ac_envvar in #(
1177       '' | [0-9]* | *[!_$as_cr_alnum]* )
1178       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1179     esac
1180     eval $ac_envvar=\$ac_optarg
1181     export $ac_envvar ;;
1182
1183   *)
1184     # FIXME: should be removed in autoconf 3.0.
1185     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1189     ;;
1190
1191   esac
1192 done
1193
1194 if test -n "$ac_prev"; then
1195   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196   as_fn_error "missing argument to $ac_option"
1197 fi
1198
1199 if test -n "$ac_unrecognized_opts"; then
1200   case $enable_option_checking in
1201     no) ;;
1202     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1203     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204   esac
1205 fi
1206
1207 # Check all directory arguments for consistency.
1208 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209                 datadir sysconfdir sharedstatedir localstatedir includedir \
1210                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211                 libdir localedir mandir
1212 do
1213   eval ac_val=\$$ac_var
1214   # Remove trailing slashes.
1215   case $ac_val in
1216     */ )
1217       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218       eval $ac_var=\$ac_val;;
1219   esac
1220   # Be sure to have absolute directory names.
1221   case $ac_val in
1222     [\\/$]* | ?:[\\/]* )  continue;;
1223     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224   esac
1225   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1226 done
1227
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1231 build=$build_alias
1232 host=$host_alias
1233 target=$target_alias
1234
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x; then
1237   if test "x$build_alias" = x; then
1238     cross_compiling=maybe
1239     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240     If a cross compiler is detected then cross compile mode will be used." >&2
1241   elif test "x$build_alias" != "x$host_alias"; then
1242     cross_compiling=yes
1243   fi
1244 fi
1245
1246 ac_tool_prefix=
1247 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1248
1249 test "$silent" = yes && exec 6>/dev/null
1250
1251
1252 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di=`ls -di .` &&
1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1255   as_fn_error "working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257   as_fn_error "pwd does not report name of working directory"
1258
1259
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262   ac_srcdir_defaulted=yes
1263   # Try the directory containing this script, then the parent directory.
1264   ac_confdir=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266          X"$as_myself" : 'X\(//\)[^/]' \| \
1267          X"$as_myself" : 'X\(//\)$' \| \
1268          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271             s//\1/
1272             q
1273           }
1274           /^X\(\/\/\)[^/].*/{
1275             s//\1/
1276             q
1277           }
1278           /^X\(\/\/\)$/{
1279             s//\1/
1280             q
1281           }
1282           /^X\(\/\).*/{
1283             s//\1/
1284             q
1285           }
1286           s/.*/./; q'`
1287   srcdir=$ac_confdir
1288   if test ! -r "$srcdir/$ac_unique_file"; then
1289     srcdir=..
1290   fi
1291 else
1292   ac_srcdir_defaulted=no
1293 fi
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1296   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1297 fi
1298 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1299 ac_abs_confdir=`(
1300         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1301         pwd)`
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304   srcdir=.
1305 fi
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1309 case $srcdir in
1310 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311 esac
1312 for ac_var in $ac_precious_vars; do
1313   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1314   eval ac_env_${ac_var}_value=\$${ac_var}
1315   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1316   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317 done
1318
1319 #
1320 # Report the --help message.
1321 #
1322 if test "$ac_init_help" = "long"; then
1323   # Omit some internal or obsolete options to make the list less imposing.
1324   # This message is too long to be a string in the A/UX 3.1 sh.
1325   cat <<_ACEOF
1326 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1327
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1329
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE.  See below for descriptions of some of the useful variables.
1332
1333 Defaults for the options are specified in brackets.
1334
1335 Configuration:
1336   -h, --help              display this help and exit
1337       --help=short        display options specific to this package
1338       --help=recursive    display the short help of all the included packages
1339   -V, --version           display version information and exit
1340   -q, --quiet, --silent   do not print \`checking...' messages
1341       --cache-file=FILE   cache test results in FILE [disabled]
1342   -C, --config-cache      alias for \`--cache-file=config.cache'
1343   -n, --no-create         do not create output files
1344       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1345
1346 Installation directories:
1347   --prefix=PREFIX         install architecture-independent files in PREFIX
1348                           [$ac_default_prefix]
1349   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1350                           [PREFIX]
1351
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1356
1357 For better control, use the options below.
1358
1359 Fine tuning of the installation directories:
1360   --bindir=DIR            user executables [EPREFIX/bin]
1361   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1362   --libexecdir=DIR        program executables [EPREFIX/libexec]
1363   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1364   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1365   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1366   --libdir=DIR            object code libraries [EPREFIX/lib]
1367   --includedir=DIR        C header files [PREFIX/include]
1368   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1369   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1370   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1371   --infodir=DIR           info documentation [DATAROOTDIR/info]
1372   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1373   --mandir=DIR            man documentation [DATAROOTDIR/man]
1374   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1375   --htmldir=DIR           html documentation [DOCDIR]
1376   --dvidir=DIR            dvi documentation [DOCDIR]
1377   --pdfdir=DIR            pdf documentation [DOCDIR]
1378   --psdir=DIR             ps documentation [DOCDIR]
1379 _ACEOF
1380
1381   cat <<\_ACEOF
1382
1383 Program names:
1384   --program-prefix=PREFIX            prepend PREFIX to installed program names
1385   --program-suffix=SUFFIX            append SUFFIX to installed program names
1386   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1387
1388 System types:
1389   --build=BUILD     configure for building on BUILD [guessed]
1390   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1391   --target=TARGET   configure for building compilers for TARGET [HOST]
1392 _ACEOF
1393 fi
1394
1395 if test -n "$ac_init_help"; then
1396   case $ac_init_help in
1397      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1398    esac
1399   cat <<\_ACEOF
1400
1401 Optional Features:
1402   --disable-option-checking  ignore unrecognized --enable/--with options
1403   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1404   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1405   --enable-version-specific-runtime-libs
1406                           specify that runtime libraries should be installed
1407                           in a compiler-specific directory
1408   --enable-intermodule    build the library in one step
1409   --enable-maintainer-mode  enable make rules and dependencies not useful
1410                           (and sometimes confusing) to the casual installer
1411   --enable-multilib       build many library versions (default)
1412   --disable-dependency-tracking  speeds up one-time build
1413   --enable-dependency-tracking   do not reject slow dependency extractors
1414   --disable-symvers       disable symbol versioning for libgfortran
1415   --enable-shared[=PKGS]  build shared libraries [default=yes]
1416   --enable-static[=PKGS]  build static libraries [default=yes]
1417   --enable-fast-install[=PKGS]
1418                           optimize for fast installation [default=yes]
1419   --disable-libtool-lock  avoid locking (might break parallel builds)
1420   --disable-largefile     omit support for large files
1421   --disable-libquadmath-support
1422                           disable libquadmath support for Fortran
1423
1424 Optional Packages:
1425   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1426   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1427   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1428   --with-pic              try to use only PIC/non-PIC objects [default=use
1429                           both]
1430   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1431   --with-system-libunwind use installed libunwind
1432
1433 Some influential environment variables:
1434   CC          C compiler command
1435   CFLAGS      C compiler flags
1436   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1437               nonstandard directory <lib dir>
1438   LIBS        libraries to pass to the linker, e.g. -l<library>
1439   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1440               you have headers in a nonstandard directory <include dir>
1441   CPP         C preprocessor
1442   FC          Fortran compiler command
1443   FCFLAGS     Fortran compiler flags
1444
1445 Use these variables to override the choices made by `configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1447
1448 Report bugs to the package provider.
1449 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1450 General help using GNU software: <http://www.gnu.org/gethelp/>.
1451 _ACEOF
1452 ac_status=$?
1453 fi
1454
1455 if test "$ac_init_help" = "recursive"; then
1456   # If there are subdirs, report their specific --help.
1457   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458     test -d "$ac_dir" ||
1459       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1460       continue
1461     ac_builddir=.
1462
1463 case "$ac_dir" in
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *)
1466   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467   # A ".." for each directory in $ac_dir_suffix.
1468   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469   case $ac_top_builddir_sub in
1470   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472   esac ;;
1473 esac
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1478
1479 case $srcdir in
1480   .)  # We are building in place.
1481     ac_srcdir=.
1482     ac_top_srcdir=$ac_top_builddir_sub
1483     ac_abs_top_srcdir=$ac_pwd ;;
1484   [\\/]* | ?:[\\/]* )  # Absolute name.
1485     ac_srcdir=$srcdir$ac_dir_suffix;
1486     ac_top_srcdir=$srcdir
1487     ac_abs_top_srcdir=$srcdir ;;
1488   *) # Relative name.
1489     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490     ac_top_srcdir=$ac_top_build_prefix$srcdir
1491     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 esac
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494
1495     cd "$ac_dir" || { ac_status=$?; continue; }
1496     # Check for guested configure.
1497     if test -f "$ac_srcdir/configure.gnu"; then
1498       echo &&
1499       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500     elif test -f "$ac_srcdir/configure"; then
1501       echo &&
1502       $SHELL "$ac_srcdir/configure" --help=recursive
1503     else
1504       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505     fi || ac_status=$?
1506     cd "$ac_pwd" || { ac_status=$?; break; }
1507   done
1508 fi
1509
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1512   cat <<\_ACEOF
1513 GNU Fortran Runtime Library configure 0.3
1514 generated by GNU Autoconf 2.64
1515
1516 Copyright (C) 2009 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1519 _ACEOF
1520   exit
1521 fi
1522
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1526
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1531 {
1532   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533   rm -f conftest.$ac_objext
1534   if { { ac_try="$ac_compile"
1535 case "(($ac_try" in
1536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537   *) ac_try_echo=$ac_try;;
1538 esac
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541   (eval "$ac_compile") 2>conftest.err
1542   ac_status=$?
1543   if test -s conftest.err; then
1544     grep -v '^ *+' conftest.err >conftest.er1
1545     cat conftest.er1 >&5
1546     mv -f conftest.er1 conftest.err
1547   fi
1548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549   test $ac_status = 0; } && {
1550          test -z "$ac_c_werror_flag" ||
1551          test ! -s conftest.err
1552        } && test -s conftest.$ac_objext; then :
1553   ac_retval=0
1554 else
1555   $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1557
1558         ac_retval=1
1559 fi
1560   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561   return $ac_retval
1562
1563 } # ac_fn_c_try_compile
1564
1565 # ac_fn_c_try_cpp LINENO
1566 # ----------------------
1567 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_cpp ()
1569 {
1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571   if { { ac_try="$ac_cpp conftest.$ac_ext"
1572 case "(($ac_try" in
1573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574   *) ac_try_echo=$ac_try;;
1575 esac
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1579   ac_status=$?
1580   if test -s conftest.err; then
1581     grep -v '^ *+' conftest.err >conftest.er1
1582     cat conftest.er1 >&5
1583     mv -f conftest.er1 conftest.err
1584   fi
1585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586   test $ac_status = 0; } >/dev/null && {
1587          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1588          test ! -s conftest.err
1589        }; then :
1590   ac_retval=0
1591 else
1592   $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1594
1595     ac_retval=1
1596 fi
1597   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598   return $ac_retval
1599
1600 } # ac_fn_c_try_cpp
1601
1602 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1605 # the include files in INCLUDES and setting the cache variable VAR
1606 # accordingly.
1607 ac_fn_c_check_header_mongrel ()
1608 {
1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612 $as_echo_n "checking for $2... " >&6; }
1613 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1614   $as_echo_n "(cached) " >&6
1615 fi
1616 eval ac_res=\$$3
1617                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1619 else
1620   # Is the header compilable?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1622 $as_echo_n "checking $2 usability... " >&6; }
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h.  */
1625 $4
1626 #include <$2>
1627 _ACEOF
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629   ac_header_compiler=yes
1630 else
1631   ac_header_compiler=no
1632 fi
1633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1635 $as_echo "$ac_header_compiler" >&6; }
1636
1637 # Is the header present?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1639 $as_echo_n "checking $2 presence... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h.  */
1642 #include <$2>
1643 _ACEOF
1644 if ac_fn_c_try_cpp "$LINENO"; then :
1645   ac_header_preproc=yes
1646 else
1647   ac_header_preproc=no
1648 fi
1649 rm -f conftest.err conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1651 $as_echo "$ac_header_preproc" >&6; }
1652
1653 # So?  What about this header?
1654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1655   yes:no: )
1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1657 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660     ;;
1661   no:yes:* )
1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1663 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1665 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1667 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1668     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1669 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1670     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1672     ;;
1673 esac
1674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677   $as_echo_n "(cached) " >&6
1678 else
1679   eval "$3=\$ac_header_compiler"
1680 fi
1681 eval ac_res=\$$3
1682                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684 fi
1685   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1686
1687 } # ac_fn_c_check_header_mongrel
1688
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1693 ac_fn_c_try_run ()
1694 {
1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696   if { { ac_try="$ac_link"
1697 case "(($ac_try" in
1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699   *) ac_try_echo=$ac_try;;
1700 esac
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703   (eval "$ac_link") 2>&5
1704   ac_status=$?
1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1707   { { case "(($ac_try" in
1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709   *) ac_try_echo=$ac_try;;
1710 esac
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713   (eval "$ac_try") 2>&5
1714   ac_status=$?
1715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716   test $ac_status = 0; }; }; then :
1717   ac_retval=0
1718 else
1719   $as_echo "$as_me: program exited with status $ac_status" >&5
1720        $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1722
1723        ac_retval=$ac_status
1724 fi
1725   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1727   return $ac_retval
1728
1729 } # ac_fn_c_try_run
1730
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1736 {
1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741   $as_echo_n "(cached) " >&6
1742 else
1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h.  */
1745 $4
1746 #include <$2>
1747 _ACEOF
1748 if ac_fn_c_try_compile "$LINENO"; then :
1749   eval "$3=yes"
1750 else
1751   eval "$3=no"
1752 fi
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754 fi
1755 eval ac_res=\$$3
1756                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759
1760 } # ac_fn_c_check_header_compile
1761
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_link ()
1766 {
1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768   rm -f conftest.$ac_objext conftest$ac_exeext
1769   if { { ac_try="$ac_link"
1770 case "(($ac_try" in
1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772   *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776   (eval "$ac_link") 2>conftest.err
1777   ac_status=$?
1778   if test -s conftest.err; then
1779     grep -v '^ *+' conftest.err >conftest.er1
1780     cat conftest.er1 >&5
1781     mv -f conftest.er1 conftest.err
1782   fi
1783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784   test $ac_status = 0; } && {
1785          test -z "$ac_c_werror_flag" ||
1786          test ! -s conftest.err
1787        } && test -s conftest$ac_exeext && {
1788          test "$cross_compiling" = yes ||
1789          $as_test_x conftest$ac_exeext
1790        }; then :
1791   ac_retval=0
1792 else
1793   $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1795
1796         ac_retval=1
1797 fi
1798   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800   # interfere with the next link command; also delete a directory that is
1801   # left behind by Apple's compiler.  We do this before executing the actions.
1802   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804   return $ac_retval
1805
1806 } # ac_fn_c_try_link
1807
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func ()
1812 {
1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817   $as_echo_n "(cached) " >&6
1818 else
1819   if test x$gcc_no_link = xyes; then
1820   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1821 fi
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h.  */
1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1826 #define $2 innocuous_$2
1827
1828 /* System header to define __stub macros and hopefully few prototypes,
1829     which can conflict with char $2 (); below.
1830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1831     <limits.h> exists even on freestanding compilers.  */
1832
1833 #ifdef __STDC__
1834 # include <limits.h>
1835 #else
1836 # include <assert.h>
1837 #endif
1838
1839 #undef $2
1840
1841 /* Override any GCC internal prototype to avoid an error.
1842    Use char because int might match the return type of a GCC
1843    builtin and then its argument prototype would still apply.  */
1844 #ifdef __cplusplus
1845 extern "C"
1846 #endif
1847 char $2 ();
1848 /* The GNU C library defines this for functions which it implements
1849     to always fail with ENOSYS.  Some functions are actually named
1850     something starting with __ and the normal name is an alias.  */
1851 #if defined __stub_$2 || defined __stub___$2
1852 choke me
1853 #endif
1854
1855 int
1856 main ()
1857 {
1858 return $2 ();
1859   ;
1860   return 0;
1861 }
1862 _ACEOF
1863 if ac_fn_c_try_link "$LINENO"; then :
1864   eval "$3=yes"
1865 else
1866   eval "$3=no"
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext \
1869     conftest$ac_exeext conftest.$ac_ext
1870 fi
1871 eval ac_res=\$$3
1872                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875
1876 } # ac_fn_c_check_func
1877
1878 # ac_fn_fc_try_compile LINENO
1879 # ---------------------------
1880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1881 ac_fn_fc_try_compile ()
1882 {
1883   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884   rm -f conftest.$ac_objext
1885   if { { ac_try="$ac_compile"
1886 case "(($ac_try" in
1887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888   *) ac_try_echo=$ac_try;;
1889 esac
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892   (eval "$ac_compile") 2>conftest.err
1893   ac_status=$?
1894   if test -s conftest.err; then
1895     grep -v '^ *+' conftest.err >conftest.er1
1896     cat conftest.er1 >&5
1897     mv -f conftest.er1 conftest.err
1898   fi
1899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900   test $ac_status = 0; } && {
1901          test -z "$ac_fc_werror_flag" ||
1902          test ! -s conftest.err
1903        } && test -s conftest.$ac_objext; then :
1904   ac_retval=0
1905 else
1906   $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1908
1909         ac_retval=1
1910 fi
1911   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912   return $ac_retval
1913
1914 } # ac_fn_fc_try_compile
1915
1916 # ac_fn_fc_try_link LINENO
1917 # ------------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_fc_try_link ()
1920 {
1921   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922   rm -f conftest.$ac_objext conftest$ac_exeext
1923   if { { ac_try="$ac_link"
1924 case "(($ac_try" in
1925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926   *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930   (eval "$ac_link") 2>conftest.err
1931   ac_status=$?
1932   if test -s conftest.err; then
1933     grep -v '^ *+' conftest.err >conftest.er1
1934     cat conftest.er1 >&5
1935     mv -f conftest.er1 conftest.err
1936   fi
1937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938   test $ac_status = 0; } && {
1939          test -z "$ac_fc_werror_flag" ||
1940          test ! -s conftest.err
1941        } && test -s conftest$ac_exeext && {
1942          test "$cross_compiling" = yes ||
1943          $as_test_x conftest$ac_exeext
1944        }; then :
1945   ac_retval=0
1946 else
1947   $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1949
1950         ac_retval=1
1951 fi
1952   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954   # interfere with the next link command; also delete a directory that is
1955   # left behind by Apple's compiler.  We do this before executing the actions.
1956   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1958   return $ac_retval
1959
1960 } # ac_fn_fc_try_link
1961
1962 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1963 # -------------------------------------------
1964 # Tests whether TYPE exists after having included INCLUDES, setting cache
1965 # variable VAR accordingly.
1966 ac_fn_c_check_type ()
1967 {
1968   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970 $as_echo_n "checking for $2... " >&6; }
1971 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972   $as_echo_n "(cached) " >&6
1973 else
1974   eval "$3=no"
1975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h.  */
1977 $4
1978 int
1979 main ()
1980 {
1981 if (sizeof ($2))
1982          return 0;
1983   ;
1984   return 0;
1985 }
1986 _ACEOF
1987 if ac_fn_c_try_compile "$LINENO"; then :
1988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h.  */
1990 $4
1991 int
1992 main ()
1993 {
1994 if (sizeof (($2)))
1995             return 0;
1996   ;
1997   return 0;
1998 }
1999 _ACEOF
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001
2002 else
2003   eval "$3=yes"
2004 fi
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 fi
2009 eval ac_res=\$$3
2010                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013
2014 } # ac_fn_c_check_type
2015
2016 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2017 # --------------------------------------------
2018 # Tries to find the compile-time value of EXPR in a program that includes
2019 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2020 # computed
2021 ac_fn_c_compute_int ()
2022 {
2023   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024   if test "$cross_compiling" = yes; then
2025     # Depending upon the size, compute the lo and hi bounds.
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h.  */
2028 $4
2029 int
2030 main ()
2031 {
2032 static int test_array [1 - 2 * !(($2) >= 0)];
2033 test_array [0] = 0
2034
2035   ;
2036   return 0;
2037 }
2038 _ACEOF
2039 if ac_fn_c_try_compile "$LINENO"; then :
2040   ac_lo=0 ac_mid=0
2041   while :; do
2042     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h.  */
2044 $4
2045 int
2046 main ()
2047 {
2048 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2049 test_array [0] = 0
2050
2051   ;
2052   return 0;
2053 }
2054 _ACEOF
2055 if ac_fn_c_try_compile "$LINENO"; then :
2056   ac_hi=$ac_mid; break
2057 else
2058   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2059                         if test $ac_lo -le $ac_mid; then
2060                           ac_lo= ac_hi=
2061                           break
2062                         fi
2063                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2064 fi
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066   done
2067 else
2068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h.  */
2070 $4
2071 int
2072 main ()
2073 {
2074 static int test_array [1 - 2 * !(($2) < 0)];
2075 test_array [0] = 0
2076
2077   ;
2078   return 0;
2079 }
2080 _ACEOF
2081 if ac_fn_c_try_compile "$LINENO"; then :
2082   ac_hi=-1 ac_mid=-1
2083   while :; do
2084     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h.  */
2086 $4
2087 int
2088 main ()
2089 {
2090 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2091 test_array [0] = 0
2092
2093   ;
2094   return 0;
2095 }
2096 _ACEOF
2097 if ac_fn_c_try_compile "$LINENO"; then :
2098   ac_lo=$ac_mid; break
2099 else
2100   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2101                         if test $ac_mid -le $ac_hi; then
2102                           ac_lo= ac_hi=
2103                           break
2104                         fi
2105                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108   done
2109 else
2110   ac_lo= ac_hi=
2111 fi
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 # Binary search between lo and hi bounds.
2116 while test "x$ac_lo" != "x$ac_hi"; do
2117   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h.  */
2120 $4
2121 int
2122 main ()
2123 {
2124 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2125 test_array [0] = 0
2126
2127   ;
2128   return 0;
2129 }
2130 _ACEOF
2131 if ac_fn_c_try_compile "$LINENO"; then :
2132   ac_hi=$ac_mid
2133 else
2134   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2135 fi
2136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137 done
2138 case $ac_lo in #((
2139 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2140 '') ac_retval=1 ;;
2141 esac
2142   else
2143     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h.  */
2145 $4
2146 static long int longval () { return $2; }
2147 static unsigned long int ulongval () { return $2; }
2148 #include <stdio.h>
2149 #include <stdlib.h>
2150 int
2151 main ()
2152 {
2153
2154   FILE *f = fopen ("conftest.val", "w");
2155   if (! f)
2156     return 1;
2157   if (($2) < 0)
2158     {
2159       long int i = longval ();
2160       if (i != ($2))
2161         return 1;
2162       fprintf (f, "%ld", i);
2163     }
2164   else
2165     {
2166       unsigned long int i = ulongval ();
2167       if (i != ($2))
2168         return 1;
2169       fprintf (f, "%lu", i);
2170     }
2171   /* Do not output a trailing newline, as this causes \r\n confusion
2172      on some platforms.  */
2173   return ferror (f) || fclose (f) != 0;
2174
2175   ;
2176   return 0;
2177 }
2178 _ACEOF
2179 if ac_fn_c_try_run "$LINENO"; then :
2180   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2181 else
2182   ac_retval=1
2183 fi
2184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2185   conftest.$ac_objext conftest.beam conftest.$ac_ext
2186 rm -f conftest.val
2187
2188   fi
2189   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2190   return $ac_retval
2191
2192 } # ac_fn_c_compute_int
2193
2194 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2195 # ----------------------------------------------------
2196 # Tries to find if the field MEMBER exists in type AGGR, after including
2197 # INCLUDES, setting cache variable VAR accordingly.
2198 ac_fn_c_check_member ()
2199 {
2200   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2202 $as_echo_n "checking for $2.$3... " >&6; }
2203 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2204   $as_echo_n "(cached) " >&6
2205 else
2206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h.  */
2208 $5
2209 int
2210 main ()
2211 {
2212 static $2 ac_aggr;
2213 if (ac_aggr.$3)
2214 return 0;
2215   ;
2216   return 0;
2217 }
2218 _ACEOF
2219 if ac_fn_c_try_compile "$LINENO"; then :
2220   eval "$4=yes"
2221 else
2222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h.  */
2224 $5
2225 int
2226 main ()
2227 {
2228 static $2 ac_aggr;
2229 if (sizeof ac_aggr.$3)
2230 return 0;
2231   ;
2232   return 0;
2233 }
2234 _ACEOF
2235 if ac_fn_c_try_compile "$LINENO"; then :
2236   eval "$4=yes"
2237 else
2238   eval "$4=no"
2239 fi
2240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2241 fi
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 fi
2244 eval ac_res=\$$4
2245                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248
2249 } # ac_fn_c_check_member
2250 cat >config.log <<_ACEOF
2251 This file contains any messages produced by compilers while
2252 running configure, to aid debugging if configure makes a mistake.
2253
2254 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2255 generated by GNU Autoconf 2.64.  Invocation command line was
2256
2257   $ $0 $@
2258
2259 _ACEOF
2260 exec 5>>config.log
2261 {
2262 cat <<_ASUNAME
2263 ## --------- ##
2264 ## Platform. ##
2265 ## --------- ##
2266
2267 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2268 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2269 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2270 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2271 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2272
2273 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2274 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2275
2276 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2277 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2278 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2279 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2280 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2281 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2282 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2283
2284 _ASUNAME
2285
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 for as_dir in $PATH
2288 do
2289   IFS=$as_save_IFS
2290   test -z "$as_dir" && as_dir=.
2291     $as_echo "PATH: $as_dir"
2292   done
2293 IFS=$as_save_IFS
2294
2295 } >&5
2296
2297 cat >&5 <<_ACEOF
2298
2299
2300 ## ----------- ##
2301 ## Core tests. ##
2302 ## ----------- ##
2303
2304 _ACEOF
2305
2306
2307 # Keep a trace of the command line.
2308 # Strip out --no-create and --no-recursion so they do not pile up.
2309 # Strip out --silent because we don't want to record it for future runs.
2310 # Also quote any args containing shell meta-characters.
2311 # Make two passes to allow for proper duplicate-argument suppression.
2312 ac_configure_args=
2313 ac_configure_args0=
2314 ac_configure_args1=
2315 ac_must_keep_next=false
2316 for ac_pass in 1 2
2317 do
2318   for ac_arg
2319   do
2320     case $ac_arg in
2321     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2322     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2323     | -silent | --silent | --silen | --sile | --sil)
2324       continue ;;
2325     *\'*)
2326       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2327     esac
2328     case $ac_pass in
2329     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2330     2)
2331       as_fn_append ac_configure_args1 " '$ac_arg'"
2332       if test $ac_must_keep_next = true; then
2333         ac_must_keep_next=false # Got value, back to normal.
2334       else
2335         case $ac_arg in
2336           *=* | --config-cache | -C | -disable-* | --disable-* \
2337           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2338           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2339           | -with-* | --with-* | -without-* | --without-* | --x)
2340             case "$ac_configure_args0 " in
2341               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2342             esac
2343             ;;
2344           -* ) ac_must_keep_next=true ;;
2345         esac
2346       fi
2347       as_fn_append ac_configure_args " '$ac_arg'"
2348       ;;
2349     esac
2350   done
2351 done
2352 { ac_configure_args0=; unset ac_configure_args0;}
2353 { ac_configure_args1=; unset ac_configure_args1;}
2354
2355 # When interrupted or exit'd, cleanup temporary files, and complete
2356 # config.log.  We remove comments because anyway the quotes in there
2357 # would cause problems or look ugly.
2358 # WARNING: Use '\'' to represent an apostrophe within the trap.
2359 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360 trap 'exit_status=$?
2361   # Save into config.log some information that might help in debugging.
2362   {
2363     echo
2364
2365     cat <<\_ASBOX
2366 ## ---------------- ##
2367 ## Cache variables. ##
2368 ## ---------------- ##
2369 _ASBOX
2370     echo
2371     # The following way of writing the cache mishandles newlines in values,
2372 (
2373   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374     eval ac_val=\$$ac_var
2375     case $ac_val in #(
2376     *${as_nl}*)
2377       case $ac_var in #(
2378       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2380       esac
2381       case $ac_var in #(
2382       _ | IFS | as_nl) ;; #(
2383       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384       *) { eval $ac_var=; unset $ac_var;} ;;
2385       esac ;;
2386     esac
2387   done
2388   (set) 2>&1 |
2389     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390     *${as_nl}ac_space=\ *)
2391       sed -n \
2392         "s/'\''/'\''\\\\'\'''\''/g;
2393           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2394       ;; #(
2395     *)
2396       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2397       ;;
2398     esac |
2399     sort
2400 )
2401     echo
2402
2403     cat <<\_ASBOX
2404 ## ----------------- ##
2405 ## Output variables. ##
2406 ## ----------------- ##
2407 _ASBOX
2408     echo
2409     for ac_var in $ac_subst_vars
2410     do
2411       eval ac_val=\$$ac_var
2412       case $ac_val in
2413       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2414       esac
2415       $as_echo "$ac_var='\''$ac_val'\''"
2416     done | sort
2417     echo
2418
2419     if test -n "$ac_subst_files"; then
2420       cat <<\_ASBOX
2421 ## ------------------- ##
2422 ## File substitutions. ##
2423 ## ------------------- ##
2424 _ASBOX
2425       echo
2426       for ac_var in $ac_subst_files
2427       do
2428         eval ac_val=\$$ac_var
2429         case $ac_val in
2430         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431         esac
2432         $as_echo "$ac_var='\''$ac_val'\''"
2433       done | sort
2434       echo
2435     fi
2436
2437     if test -s confdefs.h; then
2438       cat <<\_ASBOX
2439 ## ----------- ##
2440 ## confdefs.h. ##
2441 ## ----------- ##
2442 _ASBOX
2443       echo
2444       cat confdefs.h
2445       echo
2446     fi
2447     test "$ac_signal" != 0 &&
2448       $as_echo "$as_me: caught signal $ac_signal"
2449     $as_echo "$as_me: exit $exit_status"
2450   } >&5
2451   rm -f core *.core core.conftest.* &&
2452     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2453     exit $exit_status
2454 ' 0
2455 for ac_signal in 1 2 13 15; do
2456   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2457 done
2458 ac_signal=0
2459
2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461 rm -f -r conftest* confdefs.h
2462
2463 $as_echo "/* confdefs.h */" > confdefs.h
2464
2465 # Predefined preprocessor variables.
2466
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_NAME "$PACKAGE_NAME"
2469 _ACEOF
2470
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2473 _ACEOF
2474
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2477 _ACEOF
2478
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_STRING "$PACKAGE_STRING"
2481 _ACEOF
2482
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2485 _ACEOF
2486
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_URL "$PACKAGE_URL"
2489 _ACEOF
2490
2491
2492 # Let the site file select an alternate cache file if it wants to.
2493 # Prefer an explicitly selected file to automatically selected ones.
2494 ac_site_file1=NONE
2495 ac_site_file2=NONE
2496 if test -n "$CONFIG_SITE"; then
2497   ac_site_file1=$CONFIG_SITE
2498 elif test "x$prefix" != xNONE; then
2499   ac_site_file1=$prefix/share/config.site
2500   ac_site_file2=$prefix/etc/config.site
2501 else
2502   ac_site_file1=$ac_default_prefix/share/config.site
2503   ac_site_file2=$ac_default_prefix/etc/config.site
2504 fi
2505 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2506 do
2507   test "x$ac_site_file" = xNONE && continue
2508   if test -r "$ac_site_file"; then
2509     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2510 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2511     sed 's/^/| /' "$ac_site_file" >&5
2512     . "$ac_site_file"
2513   fi
2514 done
2515
2516 if test -r "$cache_file"; then
2517   # Some versions of bash will fail to source /dev/null (special
2518   # files actually), so we avoid doing that.
2519   if test -f "$cache_file"; then
2520     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2521 $as_echo "$as_me: loading cache $cache_file" >&6;}
2522     case $cache_file in
2523       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2524       *)                      . "./$cache_file";;
2525     esac
2526   fi
2527 else
2528   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2529 $as_echo "$as_me: creating cache $cache_file" >&6;}
2530   >$cache_file
2531 fi
2532
2533 as_fn_append ac_header_list " unistd.h"
2534 as_fn_append ac_header_list " sys/time.h"
2535 as_fn_append ac_header_list " sys/times.h"
2536 as_fn_append ac_header_list " sys/resource.h"
2537 as_fn_append ac_header_list " sys/types.h"
2538 as_fn_append ac_header_list " sys/stat.h"
2539 as_fn_append ac_header_list " sys/wait.h"
2540 as_fn_append ac_header_list " floatingpoint.h"
2541 as_fn_append ac_header_list " ieeefp.h"
2542 as_fn_append ac_header_list " fenv.h"
2543 as_fn_append ac_header_list " fptrap.h"
2544 as_fn_append ac_header_list " pwd.h"
2545 as_fn_append ac_header_list " complex.h"
2546 as_fn_append ac_func_list " getrusage"
2547 as_fn_append ac_func_list " times"
2548 as_fn_append ac_func_list " mkstemp"
2549 as_fn_append ac_func_list " strtof"
2550 as_fn_append ac_func_list " strtold"
2551 as_fn_append ac_func_list " snprintf"
2552 as_fn_append ac_func_list " ftruncate"
2553 as_fn_append ac_func_list " chsize"
2554 as_fn_append ac_func_list " chdir"
2555 as_fn_append ac_func_list " getlogin"
2556 as_fn_append ac_func_list " gethostname"
2557 as_fn_append ac_func_list " kill"
2558 as_fn_append ac_func_list " link"
2559 as_fn_append ac_func_list " symlink"
2560 as_fn_append ac_func_list " sleep"
2561 as_fn_append ac_func_list " ttyname"
2562 as_fn_append ac_func_list " alarm"
2563 as_fn_append ac_func_list " access"
2564 as_fn_append ac_func_list " fork"
2565 as_fn_append ac_func_list " execl"
2566 as_fn_append ac_func_list " wait"
2567 as_fn_append ac_func_list " setmode"
2568 as_fn_append ac_func_list " execve"
2569 as_fn_append ac_func_list " pipe"
2570 as_fn_append ac_func_list " dup2"
2571 as_fn_append ac_func_list " close"
2572 as_fn_append ac_func_list " strcasestr"
2573 as_fn_append ac_func_list " getrlimit"
2574 as_fn_append ac_func_list " gettimeofday"
2575 as_fn_append ac_func_list " stat"
2576 as_fn_append ac_func_list " fstat"
2577 as_fn_append ac_func_list " lstat"
2578 as_fn_append ac_func_list " getpwuid"
2579 as_fn_append ac_func_list " vsnprintf"
2580 as_fn_append ac_func_list " dup"
2581 as_fn_append ac_func_list " getcwd"
2582 as_fn_append ac_func_list " localtime_r"
2583 as_fn_append ac_func_list " gmtime_r"
2584 as_fn_append ac_func_list " strerror_r"
2585 as_fn_append ac_func_list " getpwuid_r"
2586 as_fn_append ac_func_list " ttyname_r"
2587 as_fn_append ac_func_list " clock_gettime"
2588 as_fn_append ac_func_list " readlink"
2589 as_fn_append ac_func_list " getgid"
2590 as_fn_append ac_func_list " getpid"
2591 as_fn_append ac_func_list " getppid"
2592 as_fn_append ac_func_list " getuid"
2593 as_fn_append ac_func_list " geteuid"
2594 # Check that the precious variables saved in the cache have kept the same
2595 # value.
2596 ac_cache_corrupted=false
2597 for ac_var in $ac_precious_vars; do
2598   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2599   eval ac_new_set=\$ac_env_${ac_var}_set
2600   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2601   eval ac_new_val=\$ac_env_${ac_var}_value
2602   case $ac_old_set,$ac_new_set in
2603     set,)
2604       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2605 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2606       ac_cache_corrupted=: ;;
2607     ,set)
2608       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2609 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2610       ac_cache_corrupted=: ;;
2611     ,);;
2612     *)
2613       if test "x$ac_old_val" != "x$ac_new_val"; then
2614         # differences in whitespace do not lead to failure.
2615         ac_old_val_w=`echo x $ac_old_val`
2616         ac_new_val_w=`echo x $ac_new_val`
2617         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2618           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2619 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2620           ac_cache_corrupted=:
2621         else
2622           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2623 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2624           eval $ac_var=\$ac_old_val
2625         fi
2626         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2627 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2628         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2629 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2630       fi;;
2631   esac
2632   # Pass precious variables to config.status.
2633   if test "$ac_new_set" = set; then
2634     case $ac_new_val in
2635     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2636     *) ac_arg=$ac_var=$ac_new_val ;;
2637     esac
2638     case " $ac_configure_args " in
2639       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2640       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2641     esac
2642   fi
2643 done
2644 if $ac_cache_corrupted; then
2645   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2647   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2648 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2649   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2650 fi
2651 ## -------------------- ##
2652 ## Main body of script. ##
2653 ## -------------------- ##
2654
2655 ac_ext=c
2656 ac_cpp='$CPP $CPPFLAGS'
2657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2660
2661
2662
2663
2664
2665 ac_config_headers="$ac_config_headers config.h"
2666
2667 ac_aux_dir=
2668 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2669   for ac_t in install-sh install.sh shtool; do
2670     if test -f "$ac_dir/$ac_t"; then
2671       ac_aux_dir=$ac_dir
2672       ac_install_sh="$ac_aux_dir/$ac_t -c"
2673       break 2
2674     fi
2675   done
2676 done
2677 if test -z "$ac_aux_dir"; then
2678   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2679 fi
2680
2681 # These three variables are undocumented and unsupported,
2682 # and are intended to be withdrawn in a future Autoconf release.
2683 # They can cause serious problems if a builder's source tree is in a directory
2684 # whose full name contains unusual characters.
2685 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2686 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2687 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2688
2689
2690 # Make sure we can run config.sub.
2691 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2692   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2693
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2695 $as_echo_n "checking build system type... " >&6; }
2696 if test "${ac_cv_build+set}" = set; then :
2697   $as_echo_n "(cached) " >&6
2698 else
2699   ac_build_alias=$build_alias
2700 test "x$ac_build_alias" = x &&
2701   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2702 test "x$ac_build_alias" = x &&
2703   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2704 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2705   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2706
2707 fi
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2709 $as_echo "$ac_cv_build" >&6; }
2710 case $ac_cv_build in
2711 *-*-*) ;;
2712 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2713 esac
2714 build=$ac_cv_build
2715 ac_save_IFS=$IFS; IFS='-'
2716 set x $ac_cv_build
2717 shift
2718 build_cpu=$1
2719 build_vendor=$2
2720 shift; shift
2721 # Remember, the first character of IFS is used to create $*,
2722 # except with old shells:
2723 build_os=$*
2724 IFS=$ac_save_IFS
2725 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2726
2727
2728  case ${build_alias} in
2729   "") build_noncanonical=${build} ;;
2730   *) build_noncanonical=${build_alias} ;;
2731 esac
2732
2733  case ${host_alias} in
2734   "") host_noncanonical=${build_noncanonical} ;;
2735   *) host_noncanonical=${host_alias} ;;
2736 esac
2737
2738  case ${target_alias} in
2739   "") target_noncanonical=${host_noncanonical} ;;
2740   *) target_noncanonical=${target_alias} ;;
2741 esac
2742
2743
2744 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2745 # have matching libraries, they should use host libraries: Makefile.tpl
2746 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2747 # However, they still use the build modules, because the corresponding
2748 # host modules (e.g. bison) are only built for the host when bootstrap
2749 # finishes. So:
2750 # - build_subdir is where we find build modules, and never changes.
2751 # - build_libsubdir is where we find build libraries, and can be overridden.
2752
2753 # Prefix 'build-' so this never conflicts with target_subdir.
2754 build_subdir="build-${build_noncanonical}"
2755
2756 # Check whether --with-build-libsubdir was given.
2757 if test "${with_build_libsubdir+set}" = set; then :
2758   withval=$with_build_libsubdir; build_libsubdir="$withval"
2759 else
2760   build_libsubdir="$build_subdir"
2761 fi
2762
2763 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2764 if ( test $srcdir = . && test -d gcc ) \
2765    || test -d $srcdir/../host-${host_noncanonical}; then
2766   host_subdir="host-${host_noncanonical}"
2767 else
2768   host_subdir=.
2769 fi
2770 # No prefix.
2771 target_subdir=${target_noncanonical}
2772
2773
2774 # -------
2775 # Options
2776 # -------
2777
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2779 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2780 # Check whether --enable-version-specific-runtime-libs was given.
2781 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2782   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2783  yes) version_specific_libs=yes ;;
2784  no)  version_specific_libs=no ;;
2785  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2786  esac
2787 else
2788   version_specific_libs=no
2789 fi
2790
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2792 $as_echo "$version_specific_libs" >&6; }
2793
2794 # Build with intermodule optimisations
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2796 $as_echo_n "checking for --enable-intermodule... " >&6; }
2797 # Check whether --enable-intermodule was given.
2798 if test "${enable_intermodule+set}" = set; then :
2799   enableval=$enable_intermodule; case "$enable_intermodule" in
2800   yes) onestep="-onestep";;
2801     *) onestep="";;
2802 esac
2803 else
2804   onestep=""
2805 fi
2806
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2808 $as_echo "$enable_intermodule" >&6; }
2809  if test x$onestep = x-onestep; then
2810   onestep_TRUE=
2811   onestep_FALSE='#'
2812 else
2813   onestep_TRUE='#'
2814   onestep_FALSE=
2815 fi
2816
2817
2818
2819 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2820 #
2821 # You will slowly go insane if you do not grok the following fact:  when
2822 # building this library, the top-level /target/ becomes the library's /host/.
2823 #
2824 # configure then causes --target to default to --host, exactly like any
2825 # other package using autoconf.  Therefore, 'target' and 'host' will
2826 # always be the same.  This makes sense both for native and cross compilers
2827 # just think about it for a little while.  :-)
2828 #
2829 # Also, if this library is being configured as part of a cross compiler, the
2830 # top-level configure script will pass the "real" host as $with_cross_host.
2831 #
2832 # Do not delete or change the following two lines.  For why, see
2833 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2835 $as_echo_n "checking host system type... " >&6; }
2836 if test "${ac_cv_host+set}" = set; then :
2837   $as_echo_n "(cached) " >&6
2838 else
2839   if test "x$host_alias" = x; then
2840   ac_cv_host=$ac_cv_build
2841 else
2842   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2843     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2844 fi
2845
2846 fi
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2848 $as_echo "$ac_cv_host" >&6; }
2849 case $ac_cv_host in
2850 *-*-*) ;;
2851 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2852 esac
2853 host=$ac_cv_host
2854 ac_save_IFS=$IFS; IFS='-'
2855 set x $ac_cv_host
2856 shift
2857 host_cpu=$1
2858 host_vendor=$2
2859 shift; shift
2860 # Remember, the first character of IFS is used to create $*,
2861 # except with old shells:
2862 host_os=$*
2863 IFS=$ac_save_IFS
2864 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2865
2866
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2868 $as_echo_n "checking target system type... " >&6; }
2869 if test "${ac_cv_target+set}" = set; then :
2870   $as_echo_n "(cached) " >&6
2871 else
2872   if test "x$target_alias" = x; then
2873   ac_cv_target=$ac_cv_host
2874 else
2875   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2876     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2877 fi
2878
2879 fi
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2881 $as_echo "$ac_cv_target" >&6; }
2882 case $ac_cv_target in
2883 *-*-*) ;;
2884 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2885 esac
2886 target=$ac_cv_target
2887 ac_save_IFS=$IFS; IFS='-'
2888 set x $ac_cv_target
2889 shift
2890 target_cpu=$1
2891 target_vendor=$2
2892 shift; shift
2893 # Remember, the first character of IFS is used to create $*,
2894 # except with old shells:
2895 target_os=$*
2896 IFS=$ac_save_IFS
2897 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2898
2899
2900 # The aliases save the names the user supplied, while $host etc.
2901 # will get canonicalized.
2902 test -n "$target_alias" &&
2903   test "$program_prefix$program_suffix$program_transform_name" = \
2904     NONENONEs,x,x, &&
2905   program_prefix=${target_alias}-
2906
2907
2908
2909
2910 target_alias=${target_alias-$host_alias}
2911
2912
2913 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2914 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2915 #  1.9.6:  minimum required version
2916 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2917 #              of other PACKAGE_* variables will, however, and there's nothing
2918 #              we can do about that; they come from AC_INIT).
2919 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2920 #            file in the top srcdir, etc, etc), so stop complaining.
2921 #  no-dist:  we don't want 'dist' and related rules.
2922 #  -Wall:  turns on all automake warnings...
2923 #  -Wno-portability:  ...except this one, since GNU make is required.
2924 am__api_version='1.11'
2925
2926 # Find a good install program.  We prefer a C program (faster),
2927 # so one script is as good as another.  But avoid the broken or
2928 # incompatible versions:
2929 # SysV /etc/install, /usr/sbin/install
2930 # SunOS /usr/etc/install
2931 # IRIX /sbin/install
2932 # AIX /bin/install
2933 # AmigaOS /C/install, which installs bootblocks on floppy discs
2934 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2935 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2936 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2937 # OS/2's system install, which has a completely different semantic
2938 # ./install, which can be erroneously created by make from ./install.sh.
2939 # Reject install programs that cannot install multiple files.
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2941 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2942 if test -z "$INSTALL"; then
2943 if test "${ac_cv_path_install+set}" = set; then :
2944   $as_echo_n "(cached) " >&6
2945 else
2946   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2947 for as_dir in $PATH
2948 do
2949   IFS=$as_save_IFS
2950   test -z "$as_dir" && as_dir=.
2951     # Account for people who put trailing slashes in PATH elements.
2952 case $as_dir/ in #((
2953   ./ | .// | /[cC]/* | \
2954   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2955   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2956   /usr/ucb/* ) ;;
2957   *)
2958     # OSF1 and SCO ODT 3.0 have their own names for install.
2959     # Don't use installbsd from OSF since it installs stuff as root
2960     # by default.
2961     for ac_prog in ginstall scoinst install; do
2962       for ac_exec_ext in '' $ac_executable_extensions; do
2963         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2964           if test $ac_prog = install &&
2965             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2966             # AIX install.  It has an incompatible calling convention.
2967             :
2968           elif test $ac_prog = install &&
2969             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2970             # program-specific install script used by HP pwplus--don't use.
2971             :
2972           else
2973             rm -rf conftest.one conftest.two conftest.dir
2974             echo one > conftest.one
2975             echo two > conftest.two
2976             mkdir conftest.dir
2977             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2978               test -s conftest.one && test -s conftest.two &&
2979               test -s conftest.dir/conftest.one &&
2980               test -s conftest.dir/conftest.two
2981             then
2982               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2983               break 3
2984             fi
2985           fi
2986         fi
2987       done
2988     done
2989     ;;
2990 esac
2991
2992   done
2993 IFS=$as_save_IFS
2994
2995 rm -rf conftest.one conftest.two conftest.dir
2996
2997 fi
2998   if test "${ac_cv_path_install+set}" = set; then
2999     INSTALL=$ac_cv_path_install
3000   else
3001     # As a last resort, use the slow shell script.  Don't cache a
3002     # value for INSTALL within a source directory, because that will
3003     # break other packages using the cache if that directory is
3004     # removed, or if the value is a relative name.
3005     INSTALL=$ac_install_sh
3006   fi
3007 fi
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3009 $as_echo "$INSTALL" >&6; }
3010
3011 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3012 # It thinks the first close brace ends the variable substitution.
3013 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3014
3015 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3016
3017 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3018
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3020 $as_echo_n "checking whether build environment is sane... " >&6; }
3021 # Just in case
3022 sleep 1
3023 echo timestamp > conftest.file
3024 # Reject unsafe characters in $srcdir or the absolute working directory
3025 # name.  Accept space and tab only in the latter.
3026 am_lf='
3027 '
3028 case `pwd` in
3029   *[\\\"\#\$\&\'\`$am_lf]*)
3030     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3031 esac
3032 case $srcdir in
3033   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3034     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3035 esac
3036
3037 # Do `set' in a subshell so we don't clobber the current shell's
3038 # arguments.  Must try -L first in case configure is actually a
3039 # symlink; some systems play weird games with the mod time of symlinks
3040 # (eg FreeBSD returns the mod time of the symlink's containing
3041 # directory).
3042 if (
3043    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3044    if test "$*" = "X"; then
3045       # -L didn't work.
3046       set X `ls -t "$srcdir/configure" conftest.file`
3047    fi
3048    rm -f conftest.file
3049    if test "$*" != "X $srcdir/configure conftest.file" \
3050       && test "$*" != "X conftest.file $srcdir/configure"; then
3051
3052       # If neither matched, then we have a broken ls.  This can happen
3053       # if, for instance, CONFIG_SHELL is bash and it inherits a
3054       # broken ls alias from the environment.  This has actually
3055       # happened.  Such a system could not be considered "sane".
3056       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3057 alias in your environment" "$LINENO" 5
3058    fi
3059
3060    test "$2" = conftest.file
3061    )
3062 then
3063    # Ok.
3064    :
3065 else
3066    as_fn_error "newly created file is older than distributed files!
3067 Check your system clock" "$LINENO" 5
3068 fi
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3070 $as_echo "yes" >&6; }
3071 test "$program_prefix" != NONE &&
3072   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3073 # Use a double $ so make ignores it.
3074 test "$program_suffix" != NONE &&
3075   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3076 # Double any \ or $.
3077 # By default was `s,x,x', remove it if useless.
3078 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3079 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3080
3081 # expand $ac_aux_dir to an absolute path
3082 am_aux_dir=`cd $ac_aux_dir && pwd`
3083
3084 if test x"${MISSING+set}" != xset; then
3085   case $am_aux_dir in
3086   *\ * | *\     *)
3087     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3088   *)
3089     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3090   esac
3091 fi
3092 # Use eval to expand $SHELL
3093 if eval "$MISSING --run true"; then
3094   am_missing_run="$MISSING --run "
3095 else
3096   am_missing_run=
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3098 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3099 fi
3100
3101 if test x"${install_sh}" != xset; then
3102   case $am_aux_dir in
3103   *\ * | *\     *)
3104     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3105   *)
3106     install_sh="\${SHELL} $am_aux_dir/install-sh"
3107   esac
3108 fi
3109
3110 # Installed binaries are usually stripped using `strip' when the user
3111 # run `make install-strip'.  However `strip' might not be the right
3112 # tool to use in cross-compilation environments, therefore Automake
3113 # will honor the `STRIP' environment variable to overrule this program.
3114 if test "$cross_compiling" != no; then
3115   if test -n "$ac_tool_prefix"; then
3116   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3117 set dummy ${ac_tool_prefix}strip; ac_word=$2
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119 $as_echo_n "checking for $ac_word... " >&6; }
3120 if test "${ac_cv_prog_STRIP+set}" = set; then :
3121   $as_echo_n "(cached) " >&6
3122 else
3123   if test -n "$STRIP"; then
3124   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3125 else
3126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3127 for as_dir in $PATH
3128 do
3129   IFS=$as_save_IFS
3130   test -z "$as_dir" && as_dir=.
3131     for ac_exec_ext in '' $ac_executable_extensions; do
3132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3133     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3134     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3135     break 2
3136   fi
3137 done
3138   done
3139 IFS=$as_save_IFS
3140
3141 fi
3142 fi
3143 STRIP=$ac_cv_prog_STRIP
3144 if test -n "$STRIP"; then
3145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3146 $as_echo "$STRIP" >&6; }
3147 else
3148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3150 fi
3151
3152
3153 fi
3154 if test -z "$ac_cv_prog_STRIP"; then
3155   ac_ct_STRIP=$STRIP
3156   # Extract the first word of "strip", so it can be a program name with args.
3157 set dummy strip; ac_word=$2
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159 $as_echo_n "checking for $ac_word... " >&6; }
3160 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3161   $as_echo_n "(cached) " >&6
3162 else
3163   if test -n "$ac_ct_STRIP"; then
3164   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3165 else
3166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3167 for as_dir in $PATH
3168 do
3169   IFS=$as_save_IFS
3170   test -z "$as_dir" && as_dir=.
3171     for ac_exec_ext in '' $ac_executable_extensions; do
3172   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3173     ac_cv_prog_ac_ct_STRIP="strip"
3174     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3175     break 2
3176   fi
3177 done
3178   done
3179 IFS=$as_save_IFS
3180
3181 fi
3182 fi
3183 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3184 if test -n "$ac_ct_STRIP"; then
3185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3186 $as_echo "$ac_ct_STRIP" >&6; }
3187 else
3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3189 $as_echo "no" >&6; }
3190 fi
3191
3192   if test "x$ac_ct_STRIP" = x; then
3193     STRIP=":"
3194   else
3195     case $cross_compiling:$ac_tool_warned in
3196 yes:)
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3199 ac_tool_warned=yes ;;
3200 esac
3201     STRIP=$ac_ct_STRIP
3202   fi
3203 else
3204   STRIP="$ac_cv_prog_STRIP"
3205 fi
3206
3207 fi
3208 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3209
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3211 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3212 if test -z "$MKDIR_P"; then
3213   if test "${ac_cv_path_mkdir+set}" = set; then :
3214   $as_echo_n "(cached) " >&6
3215 else
3216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3218 do
3219   IFS=$as_save_IFS
3220   test -z "$as_dir" && as_dir=.
3221     for ac_prog in mkdir gmkdir; do
3222          for ac_exec_ext in '' $ac_executable_extensions; do
3223            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3224            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3225              'mkdir (GNU coreutils) '* | \
3226              'mkdir (coreutils) '* | \
3227              'mkdir (fileutils) '4.1*)
3228                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3229                break 3;;
3230            esac
3231          done
3232        done
3233   done
3234 IFS=$as_save_IFS
3235
3236 fi
3237
3238   if test "${ac_cv_path_mkdir+set}" = set; then
3239     MKDIR_P="$ac_cv_path_mkdir -p"
3240   else
3241     # As a last resort, use the slow shell script.  Don't cache a
3242     # value for MKDIR_P within a source directory, because that will
3243     # break other packages using the cache if that directory is
3244     # removed, or if the value is a relative name.
3245     test -d ./--version && rmdir ./--version
3246     MKDIR_P="$ac_install_sh -d"
3247   fi
3248 fi
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3250 $as_echo "$MKDIR_P" >&6; }
3251
3252 mkdir_p="$MKDIR_P"
3253 case $mkdir_p in
3254   [\\/$]* | ?:[\\/]*) ;;
3255   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3256 esac
3257
3258 for ac_prog in gawk mawk nawk awk
3259 do
3260   # Extract the first word of "$ac_prog", so it can be a program name with args.
3261 set dummy $ac_prog; ac_word=$2
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3263 $as_echo_n "checking for $ac_word... " >&6; }
3264 if test "${ac_cv_prog_AWK+set}" = set; then :
3265   $as_echo_n "(cached) " >&6
3266 else
3267   if test -n "$AWK"; then
3268   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3269 else
3270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3271 for as_dir in $PATH
3272 do
3273   IFS=$as_save_IFS
3274   test -z "$as_dir" && as_dir=.
3275     for ac_exec_ext in '' $ac_executable_extensions; do
3276   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3277     ac_cv_prog_AWK="$ac_prog"
3278     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3279     break 2
3280   fi
3281 done
3282   done
3283 IFS=$as_save_IFS
3284
3285 fi
3286 fi
3287 AWK=$ac_cv_prog_AWK
3288 if test -n "$AWK"; then
3289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3290 $as_echo "$AWK" >&6; }
3291 else
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3294 fi
3295
3296
3297   test -n "$AWK" && break
3298 done
3299
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3301 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3302 set x ${MAKE-make}
3303 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3304 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3305   $as_echo_n "(cached) " >&6
3306 else
3307   cat >conftest.make <<\_ACEOF
3308 SHELL = /bin/sh
3309 all:
3310         @echo '@@@%%%=$(MAKE)=@@@%%%'
3311 _ACEOF
3312 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3313 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3314   *@@@%%%=?*=@@@%%%*)
3315     eval ac_cv_prog_make_${ac_make}_set=yes;;
3316   *)
3317     eval ac_cv_prog_make_${ac_make}_set=no;;
3318 esac
3319 rm -f conftest.make
3320 fi
3321 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3323 $as_echo "yes" >&6; }
3324   SET_MAKE=
3325 else
3326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327 $as_echo "no" >&6; }
3328   SET_MAKE="MAKE=${MAKE-make}"
3329 fi
3330
3331 rm -rf .tst 2>/dev/null
3332 mkdir .tst 2>/dev/null
3333 if test -d .tst; then
3334   am__leading_dot=.
3335 else
3336   am__leading_dot=_
3337 fi
3338 rmdir .tst 2>/dev/null
3339
3340 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3341   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3342   # is not polluted with repeated "-I."
3343   am__isrc=' -I$(srcdir)'
3344   # test to see if srcdir already configured
3345   if test -f $srcdir/config.status; then
3346     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3347   fi
3348 fi
3349
3350 # test whether we have cygpath
3351 if test -z "$CYGPATH_W"; then
3352   if (cygpath --version) >/dev/null 2>/dev/null; then
3353     CYGPATH_W='cygpath -w'
3354   else
3355     CYGPATH_W=echo
3356   fi
3357 fi
3358
3359
3360 # Define the identity of the package.
3361  PACKAGE='libgfortran'
3362  VERSION='0.3'
3363
3364
3365 # Some tools Automake needs.
3366
3367 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3368
3369
3370 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3371
3372
3373 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3374
3375
3376 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3377
3378
3379 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3380
3381 # We need awk for the "check" target.  The system "awk" is bad on
3382 # some platforms.
3383 # Always define AMTAR for backward compatibility.
3384
3385 AMTAR=${AMTAR-"${am_missing_run}tar"}
3386
3387 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3388
3389
3390
3391
3392
3393
3394
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3396 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3397     # Check whether --enable-maintainer-mode was given.
3398 if test "${enable_maintainer_mode+set}" = set; then :
3399   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3400 else
3401   USE_MAINTAINER_MODE=no
3402 fi
3403
3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3405 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3406    if test $USE_MAINTAINER_MODE = yes; then
3407   MAINTAINER_MODE_TRUE=
3408   MAINTAINER_MODE_FALSE='#'
3409 else
3410   MAINTAINER_MODE_TRUE='#'
3411   MAINTAINER_MODE_FALSE=
3412 fi
3413
3414   MAINT=$MAINTAINER_MODE_TRUE
3415
3416
3417 # Default to --enable-multilib
3418 # Check whether --enable-multilib was given.
3419 if test "${enable_multilib+set}" = set; then :
3420   enableval=$enable_multilib; case "$enableval" in
3421   yes) multilib=yes ;;
3422   no)  multilib=no ;;
3423   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3424  esac
3425 else
3426   multilib=yes
3427 fi
3428
3429
3430 # We may get other options which we leave undocumented:
3431 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3432 # See config-ml.in if you want the gory details.
3433
3434 if test "$srcdir" = "."; then
3435   if test "$with_target_subdir" != "."; then
3436     multi_basedir="$srcdir/$with_multisrctop../.."
3437   else
3438     multi_basedir="$srcdir/$with_multisrctop.."
3439   fi
3440 else
3441   multi_basedir="$srcdir/.."
3442 fi
3443
3444
3445 # Even if the default multilib is not a cross compilation,
3446 # it may be that some of the other multilibs are.
3447 if test $cross_compiling = no && test $multilib = yes \
3448    && test "x${with_multisubdir}" != x ; then
3449    cross_compiling=maybe
3450 fi
3451
3452 ac_config_commands="$ac_config_commands default-1"
3453
3454
3455 # Handy for debugging:
3456 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3457
3458 # Are we being configured with some form of cross compiler?
3459 # NB: We don't actually need to know this just now, but when, say, a test
3460 #     suite is included, we'll have to know.
3461 if test "$build" != "$host"; then
3462   LIBGFOR_IS_NATIVE=false
3463
3464 else
3465   LIBGFOR_IS_NATIVE=true
3466 fi
3467
3468 DEPDIR="${am__leading_dot}deps"
3469
3470 ac_config_commands="$ac_config_commands depfiles"
3471
3472
3473 am_make=${MAKE-make}
3474 cat > confinc << 'END'
3475 am__doit:
3476         @echo this is the am__doit target
3477 .PHONY: am__doit
3478 END
3479 # If we don't find an include directive, just comment out the code.
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3481 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3482 am__include="#"
3483 am__quote=
3484 _am_result=none
3485 # First try GNU make style include.
3486 echo "include confinc" > confmf
3487 # Ignore all kinds of additional output from `make'.
3488 case `$am_make -s -f confmf 2> /dev/null` in #(
3489 *the\ am__doit\ target*)
3490   am__include=include
3491   am__quote=
3492   _am_result=GNU
3493   ;;
3494 esac
3495 # Now try BSD make style include.
3496 if test "$am__include" = "#"; then
3497    echo '.include "confinc"' > confmf
3498    case `$am_make -s -f confmf 2> /dev/null` in #(
3499    *the\ am__doit\ target*)
3500      am__include=.include
3501      am__quote="\""
3502      _am_result=BSD
3503      ;;
3504    esac
3505 fi
3506
3507
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3509 $as_echo "$_am_result" >&6; }
3510 rm -f confinc confmf
3511
3512 # Check whether --enable-dependency-tracking was given.
3513 if test "${enable_dependency_tracking+set}" = set; then :
3514   enableval=$enable_dependency_tracking;
3515 fi
3516
3517 if test "x$enable_dependency_tracking" != xno; then
3518   am_depcomp="$ac_aux_dir/depcomp"
3519   AMDEPBACKSLASH='\'
3520 fi
3521  if test "x$enable_dependency_tracking" != xno; then
3522   AMDEP_TRUE=
3523   AMDEP_FALSE='#'
3524 else
3525   AMDEP_TRUE='#'
3526   AMDEP_FALSE=
3527 fi
3528
3529
3530 ac_ext=c
3531 ac_cpp='$CPP $CPPFLAGS'
3532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3535 if test -n "$ac_tool_prefix"; then
3536   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3537 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3539 $as_echo_n "checking for $ac_word... " >&6; }
3540 if test "${ac_cv_prog_CC+set}" = set; then :
3541   $as_echo_n "(cached) " >&6
3542 else
3543   if test -n "$CC"; then
3544   ac_cv_prog_CC="$CC" # Let the user override the test.
3545 else
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 for as_dir in $PATH
3548 do
3549   IFS=$as_save_IFS
3550   test -z "$as_dir" && as_dir=.
3551     for ac_exec_ext in '' $ac_executable_extensions; do
3552   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3553     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3554     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3555     break 2
3556   fi
3557 done
3558   done
3559 IFS=$as_save_IFS
3560
3561 fi
3562 fi
3563 CC=$ac_cv_prog_CC
3564 if test -n "$CC"; then
3565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3566 $as_echo "$CC" >&6; }
3567 else
3568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3569 $as_echo "no" >&6; }
3570 fi
3571
3572
3573 fi
3574 if test -z "$ac_cv_prog_CC"; then
3575   ac_ct_CC=$CC
3576   # Extract the first word of "gcc", so it can be a program name with args.
3577 set dummy gcc; ac_word=$2
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3579 $as_echo_n "checking for $ac_word... " >&6; }
3580 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3581   $as_echo_n "(cached) " >&6
3582 else
3583   if test -n "$ac_ct_CC"; then
3584   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3585 else
3586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3587 for as_dir in $PATH
3588 do
3589   IFS=$as_save_IFS
3590   test -z "$as_dir" && as_dir=.
3591     for ac_exec_ext in '' $ac_executable_extensions; do
3592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593     ac_cv_prog_ac_ct_CC="gcc"
3594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595     break 2
3596   fi
3597 done
3598   done
3599 IFS=$as_save_IFS
3600
3601 fi
3602 fi
3603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3604 if test -n "$ac_ct_CC"; then
3605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3606 $as_echo "$ac_ct_CC" >&6; }
3607 else
3608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3609 $as_echo "no" >&6; }
3610 fi
3611
3612   if test "x$ac_ct_CC" = x; then
3613     CC=""
3614   else
3615     case $cross_compiling:$ac_tool_warned in
3616 yes:)
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3618 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3619 ac_tool_warned=yes ;;
3620 esac
3621     CC=$ac_ct_CC
3622   fi
3623 else
3624   CC="$ac_cv_prog_CC"
3625 fi
3626
3627 if test -z "$CC"; then
3628           if test -n "$ac_tool_prefix"; then
3629     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3630 set dummy ${ac_tool_prefix}cc; ac_word=$2
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3632 $as_echo_n "checking for $ac_word... " >&6; }
3633 if test "${ac_cv_prog_CC+set}" = set; then :
3634   $as_echo_n "(cached) " >&6
3635 else
3636   if test -n "$CC"; then
3637   ac_cv_prog_CC="$CC" # Let the user override the test.
3638 else
3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3640 for as_dir in $PATH
3641 do
3642   IFS=$as_save_IFS
3643   test -z "$as_dir" && as_dir=.
3644     for ac_exec_ext in '' $ac_executable_extensions; do
3645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3646     ac_cv_prog_CC="${ac_tool_prefix}cc"
3647     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3648     break 2
3649   fi
3650 done
3651   done
3652 IFS=$as_save_IFS
3653
3654 fi
3655 fi
3656 CC=$ac_cv_prog_CC
3657 if test -n "$CC"; then
3658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3659 $as_echo "$CC" >&6; }
3660 else
3661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3663 fi
3664
3665
3666   fi
3667 fi
3668 if test -z "$CC"; then
3669   # Extract the first word of "cc", so it can be a program name with args.
3670 set dummy cc; ac_word=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if test "${ac_cv_prog_CC+set}" = set; then :
3674   $as_echo_n "(cached) " >&6
3675 else
3676   if test -n "$CC"; then
3677   ac_cv_prog_CC="$CC" # Let the user override the test.
3678 else
3679   ac_prog_rejected=no
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3681 for as_dir in $PATH
3682 do
3683   IFS=$as_save_IFS
3684   test -z "$as_dir" && as_dir=.
3685     for ac_exec_ext in '' $ac_executable_extensions; do
3686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3688        ac_prog_rejected=yes
3689        continue
3690      fi
3691     ac_cv_prog_CC="cc"
3692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693     break 2
3694   fi
3695 done
3696   done
3697 IFS=$as_save_IFS
3698
3699 if test $ac_prog_rejected = yes; then
3700   # We found a bogon in the path, so make sure we never use it.
3701   set dummy $ac_cv_prog_CC
3702   shift
3703   if test $# != 0; then
3704     # We chose a different compiler from the bogus one.
3705     # However, it has the same basename, so the bogon will be chosen
3706     # first if we set CC to just the basename; use the full file name.
3707     shift
3708     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3709   fi
3710 fi
3711 fi
3712 fi
3713 CC=$ac_cv_prog_CC
3714 if test -n "$CC"; then
3715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3716 $as_echo "$CC" >&6; }
3717 else
3718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3720 fi
3721
3722
3723 fi
3724 if test -z "$CC"; then
3725   if test -n "$ac_tool_prefix"; then
3726   for ac_prog in cl.exe
3727   do
3728     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3729 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_prog_CC+set}" = set; then :
3733   $as_echo_n "(cached) " >&6
3734 else
3735   if test -n "$CC"; then
3736   ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3740 do
3741   IFS=$as_save_IFS
3742   test -z "$as_dir" && as_dir=.
3743     for ac_exec_ext in '' $ac_executable_extensions; do
3744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3745     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3746     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747     break 2
3748   fi
3749 done
3750   done
3751 IFS=$as_save_IFS
3752
3753 fi
3754 fi
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3762 fi
3763
3764
3765     test -n "$CC" && break
3766   done
3767 fi
3768 if test -z "$CC"; then
3769   ac_ct_CC=$CC
3770   for ac_prog in cl.exe
3771 do
3772   # Extract the first word of "$ac_prog", so it can be a program name with args.
3773 set dummy $ac_prog; ac_word=$2
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3775 $as_echo_n "checking for $ac_word... " >&6; }
3776 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3777   $as_echo_n "(cached) " >&6
3778 else
3779   if test -n "$ac_ct_CC"; then
3780   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3781 else
3782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 for as_dir in $PATH
3784 do
3785   IFS=$as_save_IFS
3786   test -z "$as_dir" && as_dir=.
3787     for ac_exec_ext in '' $ac_executable_extensions; do
3788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3789     ac_cv_prog_ac_ct_CC="$ac_prog"
3790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791     break 2
3792   fi
3793 done
3794   done
3795 IFS=$as_save_IFS
3796
3797 fi
3798 fi
3799 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3800 if test -n "$ac_ct_CC"; then
3801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3802 $as_echo "$ac_ct_CC" >&6; }
3803 else
3804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3805 $as_echo "no" >&6; }
3806 fi
3807
3808
3809   test -n "$ac_ct_CC" && break
3810 done
3811
3812   if test "x$ac_ct_CC" = x; then
3813     CC=""
3814   else
3815     case $cross_compiling:$ac_tool_warned in
3816 yes:)
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3819 ac_tool_warned=yes ;;
3820 esac
3821     CC=$ac_ct_CC
3822   fi
3823 fi
3824
3825 fi
3826
3827
3828 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830 as_fn_error "no acceptable C compiler found in \$PATH
3831 See \`config.log' for more details." "$LINENO" 5; }
3832
3833 # Provide some information about the compiler.
3834 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3835 set X $ac_compile
3836 ac_compiler=$2
3837 for ac_option in --version -v -V -qversion; do
3838   { { ac_try="$ac_compiler $ac_option >&5"
3839 case "(($ac_try" in
3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841   *) ac_try_echo=$ac_try;;
3842 esac
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3846   ac_status=$?
3847   if test -s conftest.err; then
3848     sed '10a\
3849 ... rest of stderr output deleted ...
3850          10q' conftest.err >conftest.er1
3851     cat conftest.er1 >&5
3852     rm -f conftest.er1 conftest.err
3853   fi
3854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3855   test $ac_status = 0; }
3856 done
3857
3858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h.  */
3860
3861 int
3862 main ()
3863 {
3864
3865   ;
3866   return 0;
3867 }
3868 _ACEOF
3869 # FIXME: Cleanup?
3870 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3871   (eval $ac_link) 2>&5
3872   ac_status=$?
3873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3874   test $ac_status = 0; }; then :
3875   gcc_no_link=no
3876 else
3877   gcc_no_link=yes
3878 fi
3879 if test x$gcc_no_link = xyes; then
3880   # Setting cross_compile will disable run tests; it will
3881   # also disable AC_CHECK_FILE but that's generally
3882   # correct if we can't link.
3883   cross_compiling=yes
3884   EXEEXT=
3885 else
3886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h.  */
3888
3889 int
3890 main ()
3891 {
3892
3893   ;
3894   return 0;
3895 }
3896 _ACEOF
3897 ac_clean_files_save=$ac_clean_files
3898 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3899 # Try to create an executable without -o first, disregard a.out.
3900 # It will help us diagnose broken compilers, and finding out an intuition
3901 # of exeext.
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3903 $as_echo_n "checking for C compiler default output file name... " >&6; }
3904 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3905
3906 # The possible output files:
3907 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3908
3909 ac_rmfiles=
3910 for ac_file in $ac_files
3911 do
3912   case $ac_file in
3913     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3914     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3915   esac
3916 done
3917 rm -f $ac_rmfiles
3918
3919 if { { ac_try="$ac_link_default"
3920 case "(($ac_try" in
3921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3922   *) ac_try_echo=$ac_try;;
3923 esac
3924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3925 $as_echo "$ac_try_echo"; } >&5
3926   (eval "$ac_link_default") 2>&5
3927   ac_status=$?
3928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3929   test $ac_status = 0; }; then :
3930   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3931 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3932 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3933 # so that the user can short-circuit this test for compilers unknown to
3934 # Autoconf.
3935 for ac_file in $ac_files ''
3936 do
3937   test -f "$ac_file" || continue
3938   case $ac_file in
3939     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3940         ;;
3941     [ab].out )
3942         # We found the default executable, but exeext='' is most
3943         # certainly right.
3944         break;;
3945     *.* )
3946         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3947         then :; else
3948            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3949         fi
3950         # We set ac_cv_exeext here because the later test for it is not
3951         # safe: cross compilers may not add the suffix if given an `-o'
3952         # argument, so we may need to know it at that point already.
3953         # Even if this section looks crufty: it has the advantage of
3954         # actually working.
3955         break;;
3956     * )
3957         break;;
3958   esac
3959 done
3960 test "$ac_cv_exeext" = no && ac_cv_exeext=
3961
3962 else
3963   ac_file=''
3964 fi
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3966 $as_echo "$ac_file" >&6; }
3967 if test -z "$ac_file"; then :
3968   $as_echo "$as_me: failed program was:" >&5
3969 sed 's/^/| /' conftest.$ac_ext >&5
3970
3971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3973 { as_fn_set_status 77
3974 as_fn_error "C compiler cannot create executables
3975 See \`config.log' for more details." "$LINENO" 5; }; }
3976 fi
3977 ac_exeext=$ac_cv_exeext
3978
3979 # Check that the compiler produces executables we can run.  If not, either
3980 # the compiler is broken, or we cross compile.
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3982 $as_echo_n "checking whether the C compiler works... " >&6; }
3983 # If not cross compiling, check that we can run a simple program.
3984 if test "$cross_compiling" != yes; then
3985   if { ac_try='./$ac_file'
3986   { { case "(($ac_try" in
3987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988   *) ac_try_echo=$ac_try;;
3989 esac
3990 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3991 $as_echo "$ac_try_echo"; } >&5
3992   (eval "$ac_try") 2>&5
3993   ac_status=$?
3994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3995   test $ac_status = 0; }; }; then
3996     cross_compiling=no
3997   else
3998     if test "$cross_compiling" = maybe; then
3999         cross_compiling=yes
4000     else
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 run C compiled programs.
4004 If you meant to cross compile, use \`--host'.
4005 See \`config.log' for more details." "$LINENO" 5; }
4006     fi
4007   fi
4008 fi
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4010 $as_echo "yes" >&6; }
4011
4012 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4013 ac_clean_files=$ac_clean_files_save
4014 # Check that the compiler produces executables we can run.  If not, either
4015 # the compiler is broken, or we cross compile.
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4017 $as_echo_n "checking whether we are cross compiling... " >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4019 $as_echo "$cross_compiling" >&6; }
4020
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4022 $as_echo_n "checking for suffix of executables... " >&6; }
4023 if { { ac_try="$ac_link"
4024 case "(($ac_try" in
4025   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026   *) ac_try_echo=$ac_try;;
4027 esac
4028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4029 $as_echo "$ac_try_echo"; } >&5
4030   (eval "$ac_link") 2>&5
4031   ac_status=$?
4032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4033   test $ac_status = 0; }; then :
4034   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4035 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4036 # work properly (i.e., refer to `conftest.exe'), while it won't with
4037 # `rm'.
4038 for ac_file in conftest.exe conftest conftest.*; do
4039   test -f "$ac_file" || continue
4040   case $ac_file in
4041     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4042     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4043           break;;
4044     * ) break;;
4045   esac
4046 done
4047 else
4048   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error "cannot compute suffix of executables: cannot compile and link
4051 See \`config.log' for more details." "$LINENO" 5; }
4052 fi
4053 rm -f conftest$ac_cv_exeext
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4055 $as_echo "$ac_cv_exeext" >&6; }
4056
4057 rm -f conftest.$ac_ext
4058 EXEEXT=$ac_cv_exeext
4059 ac_exeext=$EXEEXT
4060 fi
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4062 $as_echo_n "checking for suffix of object files... " >&6; }
4063 if test "${ac_cv_objext+set}" = set; then :
4064   $as_echo_n "(cached) " >&6
4065 else
4066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h.  */
4068
4069 int
4070 main ()
4071 {
4072
4073   ;
4074   return 0;
4075 }
4076 _ACEOF
4077 rm -f conftest.o conftest.obj
4078 if { { ac_try="$ac_compile"
4079 case "(($ac_try" in
4080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4081   *) ac_try_echo=$ac_try;;
4082 esac
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085   (eval "$ac_compile") 2>&5
4086   ac_status=$?
4087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088   test $ac_status = 0; }; then :
4089   for ac_file in conftest.o conftest.obj conftest.*; do
4090   test -f "$ac_file" || continue;
4091   case $ac_file in
4092     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4093     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4094        break;;
4095   esac
4096 done
4097 else
4098   $as_echo "$as_me: failed program was:" >&5
4099 sed 's/^/| /' conftest.$ac_ext >&5
4100
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 as_fn_error "cannot compute suffix of object files: cannot compile
4104 See \`config.log' for more details." "$LINENO" 5; }
4105 fi
4106 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4107 fi
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4109 $as_echo "$ac_cv_objext" >&6; }
4110 OBJEXT=$ac_cv_objext
4111 ac_objext=$OBJEXT
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4113 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4114 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4115   $as_echo_n "(cached) " >&6
4116 else
4117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h.  */
4119
4120 int
4121 main ()
4122 {
4123 #ifndef __GNUC__
4124        choke me
4125 #endif
4126
4127   ;
4128   return 0;
4129 }
4130 _ACEOF
4131 if ac_fn_c_try_compile "$LINENO"; then :
4132   ac_compiler_gnu=yes
4133 else
4134   ac_compiler_gnu=no
4135 fi
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4138
4139 fi
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4141 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4142 if test $ac_compiler_gnu = yes; then
4143   GCC=yes
4144 else
4145   GCC=
4146 fi
4147 ac_test_CFLAGS=${CFLAGS+set}
4148 ac_save_CFLAGS=$CFLAGS
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4150 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4151 if test "${ac_cv_prog_cc_g+set}" = set; then :
4152   $as_echo_n "(cached) " >&6
4153 else
4154   ac_save_c_werror_flag=$ac_c_werror_flag
4155    ac_c_werror_flag=yes
4156    ac_cv_prog_cc_g=no
4157    CFLAGS="-g"
4158    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h.  */
4160
4161 int
4162 main ()
4163 {
4164
4165   ;
4166   return 0;
4167 }
4168 _ACEOF
4169 if ac_fn_c_try_compile "$LINENO"; then :
4170   ac_cv_prog_cc_g=yes
4171 else
4172   CFLAGS=""
4173       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h.  */
4175
4176 int
4177 main ()
4178 {
4179
4180   ;
4181   return 0;
4182 }
4183 _ACEOF
4184 if ac_fn_c_try_compile "$LINENO"; then :
4185
4186 else
4187   ac_c_werror_flag=$ac_save_c_werror_flag
4188          CFLAGS="-g"
4189          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h.  */
4191
4192 int
4193 main ()
4194 {
4195
4196   ;
4197   return 0;
4198 }
4199 _ACEOF
4200 if ac_fn_c_try_compile "$LINENO"; then :
4201   ac_cv_prog_cc_g=yes
4202 fi
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4204 fi
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4206 fi
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208    ac_c_werror_flag=$ac_save_c_werror_flag
4209 fi
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4211 $as_echo "$ac_cv_prog_cc_g" >&6; }
4212 if test "$ac_test_CFLAGS" = set; then
4213   CFLAGS=$ac_save_CFLAGS
4214 elif test $ac_cv_prog_cc_g = yes; then
4215   if test "$GCC" = yes; then
4216     CFLAGS="-g -O2"
4217   else
4218     CFLAGS="-g"
4219   fi
4220 else
4221   if test "$GCC" = yes; then
4222     CFLAGS="-O2"
4223   else
4224     CFLAGS=
4225   fi
4226 fi
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4228 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4229 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4230   $as_echo_n "(cached) " >&6
4231 else
4232   ac_cv_prog_cc_c89=no
4233 ac_save_CC=$CC
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h.  */
4236 #include <stdarg.h>
4237 #include <stdio.h>
4238 #include <sys/types.h>
4239 #include <sys/stat.h>
4240 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4241 struct buf { int x; };
4242 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4243 static char *e (p, i)
4244      char **p;
4245      int i;
4246 {
4247   return p[i];
4248 }
4249 static char *f (char * (*g) (char **, int), char **p, ...)
4250 {
4251   char *s;
4252   va_list v;
4253   va_start (v,p);
4254   s = g (p, va_arg (v,int));
4255   va_end (v);
4256   return s;
4257 }
4258
4259 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4260    function prototypes and stuff, but not '\xHH' hex character constants.
4261    These don't provoke an error unfortunately, instead are silently treated
4262    as 'x'.  The following induces an error, until -std is added to get
4263    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4264    array size at least.  It's necessary to write '\x00'==0 to get something
4265    that's true only with -std.  */
4266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4267
4268 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4269    inside strings and character constants.  */
4270 #define FOO(x) 'x'
4271 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4272
4273 int test (int i, double x);
4274 struct s1 {int (*f) (int a);};
4275 struct s2 {int (*f) (double a);};
4276 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4277 int argc;
4278 char **argv;
4279 int
4280 main ()
4281 {
4282 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4283   ;
4284   return 0;
4285 }
4286 _ACEOF
4287 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4288         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4289 do
4290   CC="$ac_save_CC $ac_arg"
4291   if ac_fn_c_try_compile "$LINENO"; then :
4292   ac_cv_prog_cc_c89=$ac_arg
4293 fi
4294 rm -f core conftest.err conftest.$ac_objext
4295   test "x$ac_cv_prog_cc_c89" != "xno" && break
4296 done
4297 rm -f conftest.$ac_ext
4298 CC=$ac_save_CC
4299
4300 fi
4301 # AC_CACHE_VAL
4302 case "x$ac_cv_prog_cc_c89" in
4303   x)
4304     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4305 $as_echo "none needed" >&6; } ;;
4306   xno)
4307     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4308 $as_echo "unsupported" >&6; } ;;
4309   *)
4310     CC="$CC $ac_cv_prog_cc_c89"
4311     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4312 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4313 esac
4314 if test "x$ac_cv_prog_cc_c89" != xno; then :
4315
4316 fi
4317
4318 ac_ext=c
4319 ac_cpp='$CPP $CPPFLAGS'
4320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4323
4324 depcc="$CC"   am_compiler_list=
4325
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4327 $as_echo_n "checking dependency style of $depcc... " >&6; }
4328 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4329   $as_echo_n "(cached) " >&6
4330 else
4331   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4332   # We make a subdir and do the tests there.  Otherwise we can end up
4333   # making bogus files that we don't know about and never remove.  For
4334   # instance it was reported that on HP-UX the gcc test will end up
4335   # making a dummy file named `D' -- because `-MD' means `put the output
4336   # in D'.
4337   mkdir conftest.dir
4338   # Copy depcomp to subdir because otherwise we won't find it if we're
4339   # using a relative directory.
4340   cp "$am_depcomp" conftest.dir
4341   cd conftest.dir
4342   # We will build objects and dependencies in a subdirectory because
4343   # it helps to detect inapplicable dependency modes.  For instance
4344   # both Tru64's cc and ICC support -MD to output dependencies as a
4345   # side effect of compilation, but ICC will put the dependencies in
4346   # the current directory while Tru64 will put them in the object
4347   # directory.
4348   mkdir sub
4349
4350   am_cv_CC_dependencies_compiler_type=none
4351   if test "$am_compiler_list" = ""; then
4352      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4353   fi
4354   am__universal=false
4355   case " $depcc " in #(
4356      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4357      esac
4358
4359   for depmode in $am_compiler_list; do
4360     # Setup a source with many dependencies, because some compilers
4361     # like to wrap large dependency lists on column 80 (with \), and
4362     # we should not choose a depcomp mode which is confused by this.
4363     #
4364     # We need to recreate these files for each test, as the compiler may
4365     # overwrite some of them when testing with obscure command lines.
4366     # This happens at least with the AIX C compiler.
4367     : > sub/conftest.c
4368     for i in 1 2 3 4 5 6; do
4369       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4370       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4371       # Solaris 8's {/usr,}/bin/sh.
4372       touch sub/conftst$i.h
4373     done
4374     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4375
4376     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4377     # mode.  It turns out that the SunPro C++ compiler does not properly
4378     # handle `-M -o', and we need to detect this.  Also, some Intel
4379     # versions had trouble with output in subdirs
4380     am__obj=sub/conftest.${OBJEXT-o}
4381     am__minus_obj="-o $am__obj"
4382     case $depmode in
4383     gcc)
4384       # This depmode causes a compiler race in universal mode.
4385       test "$am__universal" = false || continue
4386       ;;
4387     nosideeffect)
4388       # after this tag, mechanisms are not by side-effect, so they'll
4389       # only be used when explicitly requested
4390       if test "x$enable_dependency_tracking" = xyes; then
4391         continue
4392       else
4393         break
4394       fi
4395       ;;
4396     msvisualcpp | msvcmsys)
4397       # This compiler won't grok `-c -o', but also, the minuso test has
4398       # not run yet.  These depmodes are late enough in the game, and
4399       # so weak that their functioning should not be impacted.
4400       am__obj=conftest.${OBJEXT-o}
4401       am__minus_obj=
4402       ;;
4403     none) break ;;
4404     esac
4405     if depmode=$depmode \
4406        source=sub/conftest.c object=$am__obj \
4407        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4408        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4409          >/dev/null 2>conftest.err &&
4410        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4411        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4412        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4413        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4414       # icc doesn't choke on unknown options, it will just issue warnings
4415       # or remarks (even with -Werror).  So we grep stderr for any message
4416       # that says an option was ignored or not supported.
4417       # When given -MP, icc 7.0 and 7.1 complain thusly:
4418       #   icc: Command line warning: ignoring option '-M'; no argument required
4419       # The diagnosis changed in icc 8.0:
4420       #   icc: Command line remark: option '-MP' not supported
4421       if (grep 'ignoring option' conftest.err ||
4422           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4423         am_cv_CC_dependencies_compiler_type=$depmode
4424         break
4425       fi
4426     fi
4427   done
4428
4429   cd ..
4430   rm -rf conftest.dir
4431 else
4432   am_cv_CC_dependencies_compiler_type=none
4433 fi
4434
4435 fi
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4437 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4438 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4439
4440  if
4441   test "x$enable_dependency_tracking" != xno \
4442   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4443   am__fastdepCC_TRUE=
4444   am__fastdepCC_FALSE='#'
4445 else
4446   am__fastdepCC_TRUE='#'
4447   am__fastdepCC_FALSE=
4448 fi
4449
4450
4451
4452 ac_ext=c
4453 ac_cpp='$CPP $CPPFLAGS'
4454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4458 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4459 # On Suns, sometimes $CPP names a directory.
4460 if test -n "$CPP" && test -d "$CPP"; then
4461   CPP=
4462 fi
4463 if test -z "$CPP"; then
4464   if test "${ac_cv_prog_CPP+set}" = set; then :
4465   $as_echo_n "(cached) " >&6
4466 else
4467       # Double quotes because CPP needs to be expanded
4468     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4469     do
4470       ac_preproc_ok=false
4471 for ac_c_preproc_warn_flag in '' yes
4472 do
4473   # Use a header file that comes with gcc, so configuring glibc
4474   # with a fresh cross-compiler works.
4475   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4476   # <limits.h> exists even on freestanding compilers.
4477   # On the NeXT, cc -E runs the code through the compiler's parser,
4478   # not just through cpp. "Syntax error" is here to catch this case.
4479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h.  */
4481 #ifdef __STDC__
4482 # include <limits.h>
4483 #else
4484 # include <assert.h>
4485 #endif
4486                      Syntax error
4487 _ACEOF
4488 if ac_fn_c_try_cpp "$LINENO"; then :
4489
4490 else
4491   # Broken: fails on valid input.
4492 continue
4493 fi
4494 rm -f conftest.err conftest.$ac_ext
4495
4496   # OK, works on sane cases.  Now check whether nonexistent headers
4497   # can be detected and how.
4498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h.  */
4500 #include <ac_nonexistent.h>
4501 _ACEOF
4502 if ac_fn_c_try_cpp "$LINENO"; then :
4503   # Broken: success on invalid input.
4504 continue
4505 else
4506   # Passes both tests.
4507 ac_preproc_ok=:
4508 break
4509 fi
4510 rm -f conftest.err conftest.$ac_ext
4511
4512 done
4513 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4514 rm -f conftest.err conftest.$ac_ext
4515 if $ac_preproc_ok; then :
4516   break
4517 fi
4518
4519     done
4520     ac_cv_prog_CPP=$CPP
4521
4522 fi
4523   CPP=$ac_cv_prog_CPP
4524 else
4525   ac_cv_prog_CPP=$CPP
4526 fi
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4528 $as_echo "$CPP" >&6; }
4529 ac_preproc_ok=false
4530 for ac_c_preproc_warn_flag in '' yes
4531 do
4532   # Use a header file that comes with gcc, so configuring glibc
4533   # with a fresh cross-compiler works.
4534   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4535   # <limits.h> exists even on freestanding compilers.
4536   # On the NeXT, cc -E runs the code through the compiler's parser,
4537   # not just through cpp. "Syntax error" is here to catch this case.
4538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h.  */
4540 #ifdef __STDC__
4541 # include <limits.h>
4542 #else
4543 # include <assert.h>
4544 #endif
4545                      Syntax error
4546 _ACEOF
4547 if ac_fn_c_try_cpp "$LINENO"; then :
4548
4549 else
4550   # Broken: fails on valid input.
4551 continue
4552 fi
4553 rm -f conftest.err conftest.$ac_ext
4554
4555   # OK, works on sane cases.  Now check whether nonexistent headers
4556   # can be detected and how.
4557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4558 /* end confdefs.h.  */
4559 #include <ac_nonexistent.h>
4560 _ACEOF
4561 if ac_fn_c_try_cpp "$LINENO"; then :
4562   # Broken: success on invalid input.
4563 continue
4564 else
4565   # Passes both tests.
4566 ac_preproc_ok=:
4567 break
4568 fi
4569 rm -f conftest.err conftest.$ac_ext
4570
4571 done
4572 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4573 rm -f conftest.err conftest.$ac_ext
4574 if $ac_preproc_ok; then :
4575
4576 else
4577   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4579 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4580 See \`config.log' for more details." "$LINENO" 5; }
4581 fi
4582
4583 ac_ext=c
4584 ac_cpp='$CPP $CPPFLAGS'
4585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4588
4589
4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4591 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4592 if test "${ac_cv_path_GREP+set}" = set; then :
4593   $as_echo_n "(cached) " >&6
4594 else
4595   if test -z "$GREP"; then
4596   ac_path_GREP_found=false
4597   # Loop through the user's path and test for each of PROGNAME-LIST
4598   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4600 do
4601   IFS=$as_save_IFS
4602   test -z "$as_dir" && as_dir=.
4603     for ac_prog in grep ggrep; do
4604     for ac_exec_ext in '' $ac_executable_extensions; do
4605       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4606       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4607 # Check for GNU ac_path_GREP and select it if it is found.
4608   # Check for GNU $ac_path_GREP
4609 case `"$ac_path_GREP" --version 2>&1` in
4610 *GNU*)
4611   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4612 *)
4613   ac_count=0
4614   $as_echo_n 0123456789 >"conftest.in"
4615   while :
4616   do
4617     cat "conftest.in" "conftest.in" >"conftest.tmp"
4618     mv "conftest.tmp" "conftest.in"
4619     cp "conftest.in" "conftest.nl"
4620     $as_echo 'GREP' >> "conftest.nl"
4621     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4622     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4623     as_fn_arith $ac_count + 1 && ac_count=$as_val
4624     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4625       # Best one so far, save it but keep looking for a better one
4626       ac_cv_path_GREP="$ac_path_GREP"
4627       ac_path_GREP_max=$ac_count
4628     fi
4629     # 10*(2^10) chars as input seems more than enough
4630     test $ac_count -gt 10 && break
4631   done
4632   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4633 esac
4634
4635       $ac_path_GREP_found && break 3
4636     done
4637   done
4638   done
4639 IFS=$as_save_IFS
4640   if test -z "$ac_cv_path_GREP"; then
4641     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4642   fi
4643 else
4644   ac_cv_path_GREP=$GREP
4645 fi
4646
4647 fi
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4649 $as_echo "$ac_cv_path_GREP" >&6; }
4650  GREP="$ac_cv_path_GREP"
4651
4652
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4654 $as_echo_n "checking for egrep... " >&6; }
4655 if test "${ac_cv_path_EGREP+set}" = set; then :
4656   $as_echo_n "(cached) " >&6
4657 else
4658   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4659    then ac_cv_path_EGREP="$GREP -E"
4660    else
4661      if test -z "$EGREP"; then
4662   ac_path_EGREP_found=false
4663   # Loop through the user's path and test for each of PROGNAME-LIST
4664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4666 do
4667   IFS=$as_save_IFS
4668   test -z "$as_dir" && as_dir=.
4669     for ac_prog in egrep; do
4670     for ac_exec_ext in '' $ac_executable_extensions; do
4671       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4672       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4673 # Check for GNU ac_path_EGREP and select it if it is found.
4674   # Check for GNU $ac_path_EGREP
4675 case `"$ac_path_EGREP" --version 2>&1` in
4676 *GNU*)
4677   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4678 *)
4679   ac_count=0
4680   $as_echo_n 0123456789 >"conftest.in"
4681   while :
4682   do
4683     cat "conftest.in" "conftest.in" >"conftest.tmp"
4684     mv "conftest.tmp" "conftest.in"
4685     cp "conftest.in" "conftest.nl"
4686     $as_echo 'EGREP' >> "conftest.nl"
4687     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4688     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4689     as_fn_arith $ac_count + 1 && ac_count=$as_val
4690     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4691       # Best one so far, save it but keep looking for a better one
4692       ac_cv_path_EGREP="$ac_path_EGREP"
4693       ac_path_EGREP_max=$ac_count
4694     fi
4695     # 10*(2^10) chars as input seems more than enough
4696     test $ac_count -gt 10 && break
4697   done
4698   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4699 esac
4700
4701       $ac_path_EGREP_found && break 3
4702     done
4703   done
4704   done
4705 IFS=$as_save_IFS
4706   if test -z "$ac_cv_path_EGREP"; then
4707     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4708   fi
4709 else
4710   ac_cv_path_EGREP=$EGREP
4711 fi
4712
4713    fi
4714 fi
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4716 $as_echo "$ac_cv_path_EGREP" >&6; }
4717  EGREP="$ac_cv_path_EGREP"
4718
4719
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4721 $as_echo_n "checking for ANSI C header files... " >&6; }
4722 if test "${ac_cv_header_stdc+set}" = set; then :
4723   $as_echo_n "(cached) " >&6
4724 else
4725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h.  */
4727 #include <stdlib.h>
4728 #include <stdarg.h>
4729 #include <string.h>
4730 #include <float.h>
4731
4732 int
4733 main ()
4734 {
4735
4736   ;
4737   return 0;
4738 }
4739 _ACEOF
4740 if ac_fn_c_try_compile "$LINENO"; then :
4741   ac_cv_header_stdc=yes
4742 else
4743   ac_cv_header_stdc=no
4744 fi
4745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4746
4747 if test $ac_cv_header_stdc = yes; then
4748   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h.  */
4751 #include <string.h>
4752
4753 _ACEOF
4754 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4755   $EGREP "memchr" >/dev/null 2>&1; then :
4756
4757 else
4758   ac_cv_header_stdc=no
4759 fi
4760 rm -f conftest*
4761
4762 fi
4763
4764 if test $ac_cv_header_stdc = yes; then
4765   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h.  */
4768 #include <stdlib.h>
4769
4770 _ACEOF
4771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4772   $EGREP "free" >/dev/null 2>&1; then :
4773
4774 else
4775   ac_cv_header_stdc=no
4776 fi
4777 rm -f conftest*
4778
4779 fi
4780
4781 if test $ac_cv_header_stdc = yes; then
4782   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4783   if test "$cross_compiling" = yes; then :
4784   :
4785 else
4786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4787 /* end confdefs.h.  */
4788 #include <ctype.h>
4789 #include <stdlib.h>
4790 #if ((' ' & 0x0FF) == 0x020)
4791 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4792 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4793 #else
4794 # define ISLOWER(c) \
4795                    (('a' <= (c) && (c) <= 'i') \
4796                      || ('j' <= (c) && (c) <= 'r') \
4797                      || ('s' <= (c) && (c) <= 'z'))
4798 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4799 #endif
4800
4801 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4802 int
4803 main ()
4804 {
4805   int i;
4806   for (i = 0; i < 256; i++)
4807     if (XOR (islower (i), ISLOWER (i))
4808         || toupper (i) != TOUPPER (i))
4809       return 2;
4810   return 0;
4811 }
4812 _ACEOF
4813 if ac_fn_c_try_run "$LINENO"; then :
4814
4815 else
4816   ac_cv_header_stdc=no
4817 fi
4818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4819   conftest.$ac_objext conftest.beam conftest.$ac_ext
4820 fi
4821
4822 fi
4823 fi
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4825 $as_echo "$ac_cv_header_stdc" >&6; }
4826 if test $ac_cv_header_stdc = yes; then
4827
4828 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4829
4830 fi
4831
4832 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4833 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4834                   inttypes.h stdint.h unistd.h
4835 do :
4836   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4837 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4838 "
4839 eval as_val=\$$as_ac_Header
4840    if test "x$as_val" = x""yes; then :
4841   cat >>confdefs.h <<_ACEOF
4842 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4843 _ACEOF
4844
4845 fi
4846
4847 done
4848
4849
4850
4851   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4852 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4853   MINIX=yes
4854 else
4855   MINIX=
4856 fi
4857
4858
4859   if test "$MINIX" = yes; then
4860
4861 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4862
4863
4864 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4865
4866
4867 $as_echo "#define _MINIX 1" >>confdefs.h
4868
4869   fi
4870
4871
4872   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4873 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4874 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4875   $as_echo_n "(cached) " >&6
4876 else
4877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878 /* end confdefs.h.  */
4879
4880 #         define __EXTENSIONS__ 1
4881           $ac_includes_default
4882 int
4883 main ()
4884 {
4885
4886   ;
4887   return 0;
4888 }
4889 _ACEOF
4890 if ac_fn_c_try_compile "$LINENO"; then :
4891   ac_cv_safe_to_define___extensions__=yes
4892 else
4893   ac_cv_safe_to_define___extensions__=no
4894 fi
4895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896 fi
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4898 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4899   test $ac_cv_safe_to_define___extensions__ = yes &&
4900     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4901
4902   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4903
4904   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4905
4906   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4907
4908   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4909
4910
4911
4912 # Calculate toolexeclibdir
4913 # Also toolexecdir, though it's only used in toolexeclibdir
4914 case ${version_specific_libs} in
4915   yes)
4916     # Need the gcc compiler version to know where to install libraries
4917     # and header files if --enable-version-specific-runtime-libs option
4918     # is selected.
4919     toolexecdir='$(libdir)/gcc/$(target_alias)'
4920     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4921     ;;
4922   no)
4923     if test -n "$with_cross_host" &&
4924        test x"$with_cross_host" != x"no"; then
4925       # Install a library built with a cross compiler in tooldir, not libdir.
4926       toolexecdir='$(exec_prefix)/$(target_alias)'
4927       toolexeclibdir='$(toolexecdir)/lib'
4928     else
4929       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4930       toolexeclibdir='$(libdir)'
4931     fi
4932     multi_os_directory=`$CC -print-multi-os-directory`
4933     case $multi_os_directory in
4934       .) ;; # Avoid trailing /.
4935       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4936     esac
4937     ;;
4938 esac
4939
4940
4941
4942 # Create a spec file, so that compile/link tests don't fail
4943 test -f libgfortran.spec || touch libgfortran.spec
4944
4945 ac_ext=c
4946 ac_cpp='$CPP $CPPFLAGS'
4947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4950
4951 # Check the compiler.
4952 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4953 # We must force CC to /not/ be precious variables; otherwise
4954 # the wrong, non-multilib-adjusted value will be used in multilibs.
4955 # As a side effect, we have to subst CFLAGS ourselves.
4956
4957
4958
4959 ac_ext=c
4960 ac_cpp='$CPP $CPPFLAGS'
4961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4964 if test -n "$ac_tool_prefix"; then
4965   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4966 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if test "${ac_cv_prog_CC+set}" = set; then :
4970   $as_echo_n "(cached) " >&6
4971 else
4972   if test -n "$CC"; then
4973   ac_cv_prog_CC="$CC" # Let the user override the test.
4974 else
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4976 for as_dir in $PATH
4977 do
4978   IFS=$as_save_IFS
4979   test -z "$as_dir" && as_dir=.
4980     for ac_exec_ext in '' $ac_executable_extensions; do
4981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4982     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4983     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984     break 2
4985   fi
4986 done
4987   done
4988 IFS=$as_save_IFS
4989
4990 fi
4991 fi
4992 CC=$ac_cv_prog_CC
4993 if test -n "$CC"; then
4994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4995 $as_echo "$CC" >&6; }
4996 else
4997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
4999 fi
5000
5001
5002 fi
5003 if test -z "$ac_cv_prog_CC"; then
5004   ac_ct_CC=$CC
5005   # Extract the first word of "gcc", so it can be a program name with args.
5006 set dummy gcc; ac_word=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5010   $as_echo_n "(cached) " >&6
5011 else
5012   if test -n "$ac_ct_CC"; then
5013   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5017 do
5018   IFS=$as_save_IFS
5019   test -z "$as_dir" && as_dir=.
5020     for ac_exec_ext in '' $ac_executable_extensions; do
5021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022     ac_cv_prog_ac_ct_CC="gcc"
5023     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024     break 2
5025   fi
5026 done
5027   done
5028 IFS=$as_save_IFS
5029
5030 fi
5031 fi
5032 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5033 if test -n "$ac_ct_CC"; then
5034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5035 $as_echo "$ac_ct_CC" >&6; }
5036 else
5037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5039 fi
5040
5041   if test "x$ac_ct_CC" = x; then
5042     CC=""
5043   else
5044     case $cross_compiling:$ac_tool_warned in
5045 yes:)
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5048 ac_tool_warned=yes ;;
5049 esac
5050     CC=$ac_ct_CC
5051   fi
5052 else
5053   CC="$ac_cv_prog_CC"
5054 fi
5055
5056 if test -z "$CC"; then
5057           if test -n "$ac_tool_prefix"; then
5058     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5059 set dummy ${ac_tool_prefix}cc; ac_word=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if test "${ac_cv_prog_CC+set}" = set; then :
5063   $as_echo_n "(cached) " >&6
5064 else
5065   if test -n "$CC"; then
5066   ac_cv_prog_CC="$CC" # Let the user override the test.
5067 else
5068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069 for as_dir in $PATH
5070 do
5071   IFS=$as_save_IFS
5072   test -z "$as_dir" && as_dir=.
5073     for ac_exec_ext in '' $ac_executable_extensions; do
5074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075     ac_cv_prog_CC="${ac_tool_prefix}cc"
5076     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077     break 2
5078   fi
5079 done
5080   done
5081 IFS=$as_save_IFS
5082
5083 fi
5084 fi
5085 CC=$ac_cv_prog_CC
5086 if test -n "$CC"; then
5087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5088 $as_echo "$CC" >&6; }
5089 else
5090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5092 fi
5093
5094
5095   fi
5096 fi
5097 if test -z "$CC"; then
5098   # Extract the first word of "cc", so it can be a program name with args.
5099 set dummy cc; ac_word=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if test "${ac_cv_prog_CC+set}" = set; then :
5103   $as_echo_n "(cached) " >&6
5104 else
5105   if test -n "$CC"; then
5106   ac_cv_prog_CC="$CC" # Let the user override the test.
5107 else
5108   ac_prog_rejected=no
5109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110 for as_dir in $PATH
5111 do
5112   IFS=$as_save_IFS
5113   test -z "$as_dir" && as_dir=.
5114     for ac_exec_ext in '' $ac_executable_extensions; do
5115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5116     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5117        ac_prog_rejected=yes
5118        continue
5119      fi
5120     ac_cv_prog_CC="cc"
5121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122     break 2
5123   fi
5124 done
5125   done
5126 IFS=$as_save_IFS
5127
5128 if test $ac_prog_rejected = yes; then
5129   # We found a bogon in the path, so make sure we never use it.
5130   set dummy $ac_cv_prog_CC
5131   shift
5132   if test $# != 0; then
5133     # We chose a different compiler from the bogus one.
5134     # However, it has the same basename, so the bogon will be chosen
5135     # first if we set CC to just the basename; use the full file name.
5136     shift
5137     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5138   fi
5139 fi
5140 fi
5141 fi
5142 CC=$ac_cv_prog_CC
5143 if test -n "$CC"; then
5144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5145 $as_echo "$CC" >&6; }
5146 else
5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5149 fi
5150
5151
5152 fi
5153 if test -z "$CC"; then
5154   if test -n "$ac_tool_prefix"; then
5155   for ac_prog in cl.exe
5156   do
5157     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5158 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5160 $as_echo_n "checking for $ac_word... " >&6; }
5161 if test "${ac_cv_prog_CC+set}" = set; then :
5162   $as_echo_n "(cached) " >&6
5163 else
5164   if test -n "$CC"; then
5165   ac_cv_prog_CC="$CC" # Let the user override the test.
5166 else
5167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168 for as_dir in $PATH
5169 do
5170   IFS=$as_save_IFS
5171   test -z "$as_dir" && as_dir=.
5172     for ac_exec_ext in '' $ac_executable_extensions; do
5173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5174     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5176     break 2
5177   fi
5178 done
5179   done
5180 IFS=$as_save_IFS
5181
5182 fi
5183 fi
5184 CC=$ac_cv_prog_CC
5185 if test -n "$CC"; then
5186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5187 $as_echo "$CC" >&6; }
5188 else
5189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5190 $as_echo "no" >&6; }
5191 fi
5192
5193
5194     test -n "$CC" && break
5195   done
5196 fi
5197 if test -z "$CC"; then
5198   ac_ct_CC=$CC
5199   for ac_prog in cl.exe
5200 do
5201   # Extract the first word of "$ac_prog", so it can be a program name with args.
5202 set dummy $ac_prog; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5206   $as_echo_n "(cached) " >&6
5207 else
5208   if test -n "$ac_ct_CC"; then
5209   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5210 else
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH
5213 do
5214   IFS=$as_save_IFS
5215   test -z "$as_dir" && as_dir=.
5216     for ac_exec_ext in '' $ac_executable_extensions; do
5217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5218     ac_cv_prog_ac_ct_CC="$ac_prog"
5219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220     break 2
5221   fi
5222 done
5223   done
5224 IFS=$as_save_IFS
5225
5226 fi
5227 fi
5228 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5229 if test -n "$ac_ct_CC"; then
5230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5231 $as_echo "$ac_ct_CC" >&6; }
5232 else
5233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5235 fi
5236
5237
5238   test -n "$ac_ct_CC" && break
5239 done
5240
5241   if test "x$ac_ct_CC" = x; then
5242     CC=""
5243   else
5244     case $cross_compiling:$ac_tool_warned in
5245 yes:)
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5248 ac_tool_warned=yes ;;
5249 esac
5250     CC=$ac_ct_CC
5251   fi
5252 fi
5253
5254 fi
5255
5256
5257 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5259 as_fn_error "no acceptable C compiler found in \$PATH
5260 See \`config.log' for more details." "$LINENO" 5; }
5261
5262 # Provide some information about the compiler.
5263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5264 set X $ac_compile
5265 ac_compiler=$2
5266 for ac_option in --version -v -V -qversion; do
5267   { { ac_try="$ac_compiler $ac_option >&5"
5268 case "(($ac_try" in
5269   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5270   *) ac_try_echo=$ac_try;;
5271 esac
5272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5273 $as_echo "$ac_try_echo"; } >&5
5274   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5275   ac_status=$?
5276   if test -s conftest.err; then
5277     sed '10a\
5278 ... rest of stderr output deleted ...
5279          10q' conftest.err >conftest.er1
5280     cat conftest.er1 >&5
5281     rm -f conftest.er1 conftest.err
5282   fi
5283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5284   test $ac_status = 0; }
5285 done
5286
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5288 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5289 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5290   $as_echo_n "(cached) " >&6
5291 else
5292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5293 /* end confdefs.h.  */
5294
5295 int
5296 main ()
5297 {
5298 #ifndef __GNUC__
5299        choke me
5300 #endif
5301
5302   ;
5303   return 0;
5304 }
5305 _ACEOF
5306 if ac_fn_c_try_compile "$LINENO"; then :
5307   ac_compiler_gnu=yes
5308 else
5309   ac_compiler_gnu=no
5310 fi
5311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5312 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5313
5314 fi
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5316 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5317 if test $ac_compiler_gnu = yes; then
5318   GCC=yes
5319 else
5320   GCC=
5321 fi
5322 ac_test_CFLAGS=${CFLAGS+set}
5323 ac_save_CFLAGS=$CFLAGS
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5325 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5326 if test "${ac_cv_prog_cc_g+set}" = set; then :
5327   $as_echo_n "(cached) " >&6
5328 else
5329   ac_save_c_werror_flag=$ac_c_werror_flag
5330    ac_c_werror_flag=yes
5331    ac_cv_prog_cc_g=no
5332    CFLAGS="-g"
5333    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h.  */
5335
5336 int
5337 main ()
5338 {
5339
5340   ;
5341   return 0;
5342 }
5343 _ACEOF
5344 if ac_fn_c_try_compile "$LINENO"; then :
5345   ac_cv_prog_cc_g=yes
5346 else
5347   CFLAGS=""
5348       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h.  */
5350
5351 int
5352 main ()
5353 {
5354
5355   ;
5356   return 0;
5357 }
5358 _ACEOF
5359 if ac_fn_c_try_compile "$LINENO"; then :
5360
5361 else
5362   ac_c_werror_flag=$ac_save_c_werror_flag
5363          CFLAGS="-g"
5364          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h.  */
5366
5367 int
5368 main ()
5369 {
5370
5371   ;
5372   return 0;
5373 }
5374 _ACEOF
5375 if ac_fn_c_try_compile "$LINENO"; then :
5376   ac_cv_prog_cc_g=yes
5377 fi
5378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5379 fi
5380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5381 fi
5382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5383    ac_c_werror_flag=$ac_save_c_werror_flag
5384 fi
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5386 $as_echo "$ac_cv_prog_cc_g" >&6; }
5387 if test "$ac_test_CFLAGS" = set; then
5388   CFLAGS=$ac_save_CFLAGS
5389 elif test $ac_cv_prog_cc_g = yes; then
5390   if test "$GCC" = yes; then
5391     CFLAGS="-g -O2"
5392   else
5393     CFLAGS="-g"
5394   fi
5395 else
5396   if test "$GCC" = yes; then
5397     CFLAGS="-O2"
5398   else
5399     CFLAGS=
5400   fi
5401 fi
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5403 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5404 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5405   $as_echo_n "(cached) " >&6
5406 else
5407   ac_cv_prog_cc_c89=no
5408 ac_save_CC=$CC
5409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5410 /* end confdefs.h.  */
5411 #include <stdarg.h>
5412 #include <stdio.h>
5413 #include <sys/types.h>
5414 #include <sys/stat.h>
5415 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5416 struct buf { int x; };
5417 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5418 static char *e (p, i)
5419      char **p;
5420      int i;
5421 {
5422   return p[i];
5423 }
5424 static char *f (char * (*g) (char **, int), char **p, ...)
5425 {
5426   char *s;
5427   va_list v;
5428   va_start (v,p);
5429   s = g (p, va_arg (v,int));
5430   va_end (v);
5431   return s;
5432 }
5433
5434 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5435    function prototypes and stuff, but not '\xHH' hex character constants.
5436    These don't provoke an error unfortunately, instead are silently treated
5437    as 'x'.  The following induces an error, until -std is added to get
5438    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5439    array size at least.  It's necessary to write '\x00'==0 to get something
5440    that's true only with -std.  */
5441 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5442
5443 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5444    inside strings and character constants.  */
5445 #define FOO(x) 'x'
5446 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5447
5448 int test (int i, double x);
5449 struct s1 {int (*f) (int a);};
5450 struct s2 {int (*f) (double a);};
5451 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5452 int argc;
5453 char **argv;
5454 int
5455 main ()
5456 {
5457 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5458   ;
5459   return 0;
5460 }
5461 _ACEOF
5462 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5463         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5464 do
5465   CC="$ac_save_CC $ac_arg"
5466   if ac_fn_c_try_compile "$LINENO"; then :
5467   ac_cv_prog_cc_c89=$ac_arg
5468 fi
5469 rm -f core conftest.err conftest.$ac_objext
5470   test "x$ac_cv_prog_cc_c89" != "xno" && break
5471 done
5472 rm -f conftest.$ac_ext
5473 CC=$ac_save_CC
5474
5475 fi
5476 # AC_CACHE_VAL
5477 case "x$ac_cv_prog_cc_c89" in
5478   x)
5479     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5480 $as_echo "none needed" >&6; } ;;
5481   xno)
5482     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5483 $as_echo "unsupported" >&6; } ;;
5484   *)
5485     CC="$CC $ac_cv_prog_cc_c89"
5486     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5487 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5488 esac
5489 if test "x$ac_cv_prog_cc_c89" != xno; then :
5490
5491 fi
5492
5493 ac_ext=c
5494 ac_cpp='$CPP $CPPFLAGS'
5495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5498
5499 depcc="$CC"   am_compiler_list=
5500
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5502 $as_echo_n "checking dependency style of $depcc... " >&6; }
5503 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5504   $as_echo_n "(cached) " >&6
5505 else
5506   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5507   # We make a subdir and do the tests there.  Otherwise we can end up
5508   # making bogus files that we don't know about and never remove.  For
5509   # instance it was reported that on HP-UX the gcc test will end up
5510   # making a dummy file named `D' -- because `-MD' means `put the output
5511   # in D'.
5512   mkdir conftest.dir
5513   # Copy depcomp to subdir because otherwise we won't find it if we're
5514   # using a relative directory.
5515   cp "$am_depcomp" conftest.dir
5516   cd conftest.dir
5517   # We will build objects and dependencies in a subdirectory because
5518   # it helps to detect inapplicable dependency modes.  For instance
5519   # both Tru64's cc and ICC support -MD to output dependencies as a
5520   # side effect of compilation, but ICC will put the dependencies in
5521   # the current directory while Tru64 will put them in the object
5522   # directory.
5523   mkdir sub
5524
5525   am_cv_CC_dependencies_compiler_type=none
5526   if test "$am_compiler_list" = ""; then
5527      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5528   fi
5529   am__universal=false
5530   case " $depcc " in #(
5531      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5532      esac
5533
5534   for depmode in $am_compiler_list; do
5535     # Setup a source with many dependencies, because some compilers
5536     # like to wrap large dependency lists on column 80 (with \), and
5537     # we should not choose a depcomp mode which is confused by this.
5538     #
5539     # We need to recreate these files for each test, as the compiler may
5540     # overwrite some of them when testing with obscure command lines.
5541     # This happens at least with the AIX C compiler.
5542     : > sub/conftest.c
5543     for i in 1 2 3 4 5 6; do
5544       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5545       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5546       # Solaris 8's {/usr,}/bin/sh.
5547       touch sub/conftst$i.h
5548     done
5549     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5550
5551     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5552     # mode.  It turns out that the SunPro C++ compiler does not properly
5553     # handle `-M -o', and we need to detect this.  Also, some Intel
5554     # versions had trouble with output in subdirs
5555     am__obj=sub/conftest.${OBJEXT-o}
5556     am__minus_obj="-o $am__obj"
5557     case $depmode in
5558     gcc)
5559       # This depmode causes a compiler race in universal mode.
5560       test "$am__universal" = false || continue
5561       ;;
5562     nosideeffect)
5563       # after this tag, mechanisms are not by side-effect, so they'll
5564       # only be used when explicitly requested
5565       if test "x$enable_dependency_tracking" = xyes; then
5566         continue
5567       else
5568         break
5569       fi
5570       ;;
5571     msvisualcpp | msvcmsys)
5572       # This compiler won't grok `-c -o', but also, the minuso test has
5573       # not run yet.  These depmodes are late enough in the game, and
5574       # so weak that their functioning should not be impacted.
5575       am__obj=conftest.${OBJEXT-o}
5576       am__minus_obj=
5577       ;;
5578     none) break ;;
5579     esac
5580     if depmode=$depmode \
5581        source=sub/conftest.c object=$am__obj \
5582        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5583        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5584          >/dev/null 2>conftest.err &&
5585        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5586        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5587        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5588        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5589       # icc doesn't choke on unknown options, it will just issue warnings
5590       # or remarks (even with -Werror).  So we grep stderr for any message
5591       # that says an option was ignored or not supported.
5592       # When given -MP, icc 7.0 and 7.1 complain thusly:
5593       #   icc: Command line warning: ignoring option '-M'; no argument required
5594       # The diagnosis changed in icc 8.0:
5595       #   icc: Command line remark: option '-MP' not supported
5596       if (grep 'ignoring option' conftest.err ||
5597           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5598         am_cv_CC_dependencies_compiler_type=$depmode
5599         break
5600       fi
5601     fi
5602   done
5603
5604   cd ..
5605   rm -rf conftest.dir
5606 else
5607   am_cv_CC_dependencies_compiler_type=none
5608 fi
5609
5610 fi
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5612 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5613 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5614
5615  if
5616   test "x$enable_dependency_tracking" != xno \
5617   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5618   am__fastdepCC_TRUE=
5619   am__fastdepCC_FALSE='#'
5620 else
5621   am__fastdepCC_TRUE='#'
5622   am__fastdepCC_FALSE=
5623 fi
5624
5625
5626
5627
5628
5629
5630 if test "x$CC" != xcc; then
5631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5632 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5633 else
5634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5635 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5636 fi
5637 set dummy $CC; ac_cc=`$as_echo "$2" |
5638                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5639 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5640   $as_echo_n "(cached) " >&6
5641 else
5642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h.  */
5644
5645 int
5646 main ()
5647 {
5648
5649   ;
5650   return 0;
5651 }
5652 _ACEOF
5653 # Make sure it works both with $CC and with simple cc.
5654 # We do the test twice because some compilers refuse to overwrite an
5655 # existing .o file with -o, though they will create one.
5656 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5657 rm -f conftest2.*
5658 if { { case "(($ac_try" in
5659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5660   *) ac_try_echo=$ac_try;;
5661 esac
5662 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5663 $as_echo "$ac_try_echo"; } >&5
5664   (eval "$ac_try") 2>&5
5665   ac_status=$?
5666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5667   test $ac_status = 0; } &&
5668    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670   *) ac_try_echo=$ac_try;;
5671 esac
5672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5673 $as_echo "$ac_try_echo"; } >&5
5674   (eval "$ac_try") 2>&5
5675   ac_status=$?
5676   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5677   test $ac_status = 0; };
5678 then
5679   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5680   if test "x$CC" != xcc; then
5681     # Test first that cc exists at all.
5682     if { ac_try='cc -c conftest.$ac_ext >&5'
5683   { { case "(($ac_try" in
5684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5685   *) ac_try_echo=$ac_try;;
5686 esac
5687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5688 $as_echo "$ac_try_echo"; } >&5
5689   (eval "$ac_try") 2>&5
5690   ac_status=$?
5691   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5692   test $ac_status = 0; }; }; then
5693       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5694       rm -f conftest2.*
5695       if { { case "(($ac_try" in
5696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697   *) ac_try_echo=$ac_try;;
5698 esac
5699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5700 $as_echo "$ac_try_echo"; } >&5
5701   (eval "$ac_try") 2>&5
5702   ac_status=$?
5703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5704   test $ac_status = 0; } &&
5705          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5707   *) ac_try_echo=$ac_try;;
5708 esac
5709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5710 $as_echo "$ac_try_echo"; } >&5
5711   (eval "$ac_try") 2>&5
5712   ac_status=$?
5713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5714   test $ac_status = 0; };
5715       then
5716         # cc works too.
5717         :
5718       else
5719         # cc exists but doesn't like -o.
5720         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5721       fi
5722     fi
5723   fi
5724 else
5725   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5726 fi
5727 rm -f core conftest*
5728
5729 fi
5730 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5732 $as_echo "yes" >&6; }
5733 else
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5736
5737 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5738
5739 fi
5740
5741 # FIXME: we rely on the cache variable name because
5742 # there is no other way.
5743 set dummy $CC
5744 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5745 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5746 if test "$am_t" != yes; then
5747    # Losing compiler, so override with the script.
5748    # FIXME: It is wrong to rewrite CC.
5749    # But if we don't then we get into trouble of one sort or another.
5750    # A longer-term fix would be to have automake use am__CC in this case,
5751    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5752    CC="$am_aux_dir/compile $CC"
5753 fi
5754
5755
5756
5757 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5758 if test "x$GCC" = "xyes"; then
5759   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5760   ## We like to use C99 routines when available.  This makes sure that
5761   ## __STDC_VERSION__ is set such that libc includes make them available.
5762   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5763   ## Compile the following tests with the same system header contents
5764   ## that we'll encounter when compiling our own source files.
5765   CFLAGS="-std=gnu99 $CFLAGS"
5766 fi
5767
5768
5769
5770
5771 # Check for symbol versioning (copied from libssp).
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5773 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5774 # Check whether --enable-symvers was given.
5775 if test "${enable_symvers+set}" = set; then :
5776   enableval=$enable_symvers; gfortran_use_symver=$enableval
5777 else
5778   gfortran_use_symver=yes
5779 fi
5780
5781 if test "x$gfortran_use_symver" = xyes; then
5782   save_LDFLAGS="$LDFLAGS"
5783   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5784   cat > conftest.map <<EOF
5785 FOO_1.0 {
5786   global: *foo*; bar; local: *;
5787 };
5788 EOF
5789   if test x$gcc_no_link = xyes; then
5790   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5791 fi
5792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5793 /* end confdefs.h.  */
5794 int foo;
5795 int
5796 main ()
5797 {
5798
5799   ;
5800   return 0;
5801 }
5802 _ACEOF
5803 if ac_fn_c_try_link "$LINENO"; then :
5804   gfortran_use_symver=gnu
5805 else
5806   gfortran_use_symver=no
5807 fi
5808 rm -f core conftest.err conftest.$ac_objext \
5809     conftest$ac_exeext conftest.$ac_ext
5810   if test x$gfortran_use_symver = xno; then
5811     case "$target_os" in
5812       solaris2*)
5813         LDFLAGS="$save_LDFLAGS"
5814         LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5815         # Sun ld cannot handle wildcards and treats all entries as undefined.
5816         cat > conftest.map <<EOF
5817 FOO_1.0 {
5818   global: foo; local: *;
5819 };
5820 EOF
5821         if test x$gcc_no_link = xyes; then
5822   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5823 fi
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h.  */
5826 int foo;
5827 int
5828 main ()
5829 {
5830
5831   ;
5832   return 0;
5833 }
5834 _ACEOF
5835 if ac_fn_c_try_link "$LINENO"; then :
5836   gfortran_use_symver=sun
5837 else
5838   gfortran_use_symver=no
5839 fi
5840 rm -f core conftest.err conftest.$ac_objext \
5841     conftest$ac_exeext conftest.$ac_ext
5842         ;;
5843     esac
5844   fi
5845   LDFLAGS="$save_LDFLAGS"
5846 fi
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5848 $as_echo "$gfortran_use_symver" >&6; }
5849  if test "x$gfortran_use_symver" != xno; then
5850   LIBGFOR_USE_SYMVER_TRUE=
5851   LIBGFOR_USE_SYMVER_FALSE='#'
5852 else
5853   LIBGFOR_USE_SYMVER_TRUE='#'
5854   LIBGFOR_USE_SYMVER_FALSE=
5855 fi
5856
5857  if test "x$gfortran_use_symver" = xgnu; then
5858   LIBGFOR_USE_SYMVER_GNU_TRUE=
5859   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5860 else
5861   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5862   LIBGFOR_USE_SYMVER_GNU_FALSE=
5863 fi
5864
5865  if test "x$gfortran_use_symver" = xsun; then
5866   LIBGFOR_USE_SYMVER_SUN_TRUE=
5867   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5868 else
5869   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5870   LIBGFOR_USE_SYMVER_SUN_FALSE=
5871 fi
5872
5873
5874 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5875 # similarly to how libstdc++ does it
5876 ac_test_CFLAGS="${CFLAGS+set}"
5877 ac_save_CFLAGS="$CFLAGS"
5878
5879 # Check for -ffunction-sections -fdata-sections
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5881 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5882 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h.  */
5885
5886 int
5887 main ()
5888 {
5889 int foo;
5890   ;
5891   return 0;
5892 }
5893 _ACEOF
5894 if ac_fn_c_try_compile "$LINENO"; then :
5895   ac_fdsections=yes
5896 else
5897   ac_fdsections=no
5898 fi
5899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5900 if test "$ac_test_CFLAGS" = set; then
5901   CFLAGS="$ac_save_CFLAGS"
5902 else
5903   # this is the suspicious part
5904   CFLAGS=""
5905 fi
5906 if test x"$ac_fdsections" = x"yes"; then
5907   SECTION_FLAGS='-ffunction-sections -fdata-sections'
5908 fi
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5910 $as_echo "$ac_fdsections" >&6; }
5911
5912
5913 # Find other programs we need.
5914 if test -n "$ac_tool_prefix"; then
5915   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5916 set dummy ${ac_tool_prefix}as; ac_word=$2
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5918 $as_echo_n "checking for $ac_word... " >&6; }
5919 if test "${ac_cv_prog_AS+set}" = set; then :
5920   $as_echo_n "(cached) " >&6
5921 else
5922   if test -n "$AS"; then
5923   ac_cv_prog_AS="$AS" # Let the user override the test.
5924 else
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5926 for as_dir in $PATH
5927 do
5928   IFS=$as_save_IFS
5929   test -z "$as_dir" && as_dir=.
5930     for ac_exec_ext in '' $ac_executable_extensions; do
5931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932     ac_cv_prog_AS="${ac_tool_prefix}as"
5933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5934     break 2
5935   fi
5936 done
5937   done
5938 IFS=$as_save_IFS
5939
5940 fi
5941 fi
5942 AS=$ac_cv_prog_AS
5943 if test -n "$AS"; then
5944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5945 $as_echo "$AS" >&6; }
5946 else
5947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5948 $as_echo "no" >&6; }
5949 fi
5950
5951
5952 fi
5953 if test -z "$ac_cv_prog_AS"; then
5954   ac_ct_AS=$AS
5955   # Extract the first word of "as", so it can be a program name with args.
5956 set dummy as; ac_word=$2
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 $as_echo_n "checking for $ac_word... " >&6; }
5959 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5960   $as_echo_n "(cached) " >&6
5961 else
5962   if test -n "$ac_ct_AS"; then
5963   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5964 else
5965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 for as_dir in $PATH
5967 do
5968   IFS=$as_save_IFS
5969   test -z "$as_dir" && as_dir=.
5970     for ac_exec_ext in '' $ac_executable_extensions; do
5971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5972     ac_cv_prog_ac_ct_AS="as"
5973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5974     break 2
5975   fi
5976 done
5977   done
5978 IFS=$as_save_IFS
5979
5980 fi
5981 fi
5982 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5983 if test -n "$ac_ct_AS"; then
5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5985 $as_echo "$ac_ct_AS" >&6; }
5986 else
5987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5988 $as_echo "no" >&6; }
5989 fi
5990
5991   if test "x$ac_ct_AS" = x; then
5992     AS=""
5993   else
5994     case $cross_compiling:$ac_tool_warned in
5995 yes:)
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5998 ac_tool_warned=yes ;;
5999 esac
6000     AS=$ac_ct_AS
6001   fi
6002 else
6003   AS="$ac_cv_prog_AS"
6004 fi
6005
6006 if test -n "$ac_tool_prefix"; then
6007   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6008 set dummy ${ac_tool_prefix}ar; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if test "${ac_cv_prog_AR+set}" = set; then :
6012   $as_echo_n "(cached) " >&6
6013 else
6014   if test -n "$AR"; then
6015   ac_cv_prog_AR="$AR" # Let the user override the test.
6016 else
6017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6018 for as_dir in $PATH
6019 do
6020   IFS=$as_save_IFS
6021   test -z "$as_dir" && as_dir=.
6022     for ac_exec_ext in '' $ac_executable_extensions; do
6023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6024     ac_cv_prog_AR="${ac_tool_prefix}ar"
6025     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6026     break 2
6027   fi
6028 done
6029   done
6030 IFS=$as_save_IFS
6031
6032 fi
6033 fi
6034 AR=$ac_cv_prog_AR
6035 if test -n "$AR"; then
6036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6037 $as_echo "$AR" >&6; }
6038 else
6039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6040 $as_echo "no" >&6; }
6041 fi
6042
6043
6044 fi
6045 if test -z "$ac_cv_prog_AR"; then
6046   ac_ct_AR=$AR
6047   # Extract the first word of "ar", so it can be a program name with args.
6048 set dummy ar; ac_word=$2
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6050 $as_echo_n "checking for $ac_word... " >&6; }
6051 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6052   $as_echo_n "(cached) " >&6
6053 else
6054   if test -n "$ac_ct_AR"; then
6055   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6059 do
6060   IFS=$as_save_IFS
6061   test -z "$as_dir" && as_dir=.
6062     for ac_exec_ext in '' $ac_executable_extensions; do
6063   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064     ac_cv_prog_ac_ct_AR="ar"
6065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6066     break 2
6067   fi
6068 done
6069   done
6070 IFS=$as_save_IFS
6071
6072 fi
6073 fi
6074 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6075 if test -n "$ac_ct_AR"; then
6076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6077 $as_echo "$ac_ct_AR" >&6; }
6078 else
6079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6080 $as_echo "no" >&6; }
6081 fi
6082
6083   if test "x$ac_ct_AR" = x; then
6084     AR=""
6085   else
6086     case $cross_compiling:$ac_tool_warned in
6087 yes:)
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6090 ac_tool_warned=yes ;;
6091 esac
6092     AR=$ac_ct_AR
6093   fi
6094 else
6095   AR="$ac_cv_prog_AR"
6096 fi
6097
6098 if test -n "$ac_tool_prefix"; then
6099   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6104   $as_echo_n "(cached) " >&6
6105 else
6106   if test -n "$RANLIB"; then
6107   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6111 do
6112   IFS=$as_save_IFS
6113   test -z "$as_dir" && as_dir=.
6114     for ac_exec_ext in '' $ac_executable_extensions; do
6115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6117     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118     break 2
6119   fi
6120 done
6121   done
6122 IFS=$as_save_IFS
6123
6124 fi
6125 fi
6126 RANLIB=$ac_cv_prog_RANLIB
6127 if test -n "$RANLIB"; then
6128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6129 $as_echo "$RANLIB" >&6; }
6130 else
6131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6133 fi
6134
6135
6136 fi
6137 if test -z "$ac_cv_prog_RANLIB"; then
6138   ac_ct_RANLIB=$RANLIB
6139   # Extract the first word of "ranlib", so it can be a program name with args.
6140 set dummy ranlib; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6144   $as_echo_n "(cached) " >&6
6145 else
6146   if test -n "$ac_ct_RANLIB"; then
6147   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6148 else
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6150 for as_dir in $PATH
6151 do
6152   IFS=$as_save_IFS
6153   test -z "$as_dir" && as_dir=.
6154     for ac_exec_ext in '' $ac_executable_extensions; do
6155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156     ac_cv_prog_ac_ct_RANLIB="ranlib"
6157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6158     break 2
6159   fi
6160 done
6161   done
6162 IFS=$as_save_IFS
6163
6164 fi
6165 fi
6166 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6167 if test -n "$ac_ct_RANLIB"; then
6168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6169 $as_echo "$ac_ct_RANLIB" >&6; }
6170 else
6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6173 fi
6174
6175   if test "x$ac_ct_RANLIB" = x; then
6176     RANLIB="ranlib-not-found-in-path-error"
6177   else
6178     case $cross_compiling:$ac_tool_warned in
6179 yes:)
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned=yes ;;
6183 esac
6184     RANLIB=$ac_ct_RANLIB
6185   fi
6186 else
6187   RANLIB="$ac_cv_prog_RANLIB"
6188 fi
6189
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6191 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6192 set x ${MAKE-make}
6193 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6194 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6195   $as_echo_n "(cached) " >&6
6196 else
6197   cat >conftest.make <<\_ACEOF
6198 SHELL = /bin/sh
6199 all:
6200         @echo '@@@%%%=$(MAKE)=@@@%%%'
6201 _ACEOF
6202 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6203 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6204   *@@@%%%=?*=@@@%%%*)
6205     eval ac_cv_prog_make_${ac_make}_set=yes;;
6206   *)
6207     eval ac_cv_prog_make_${ac_make}_set=no;;
6208 esac
6209 rm -f conftest.make
6210 fi
6211 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6213 $as_echo "yes" >&6; }
6214   SET_MAKE=
6215 else
6216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6218   SET_MAKE="MAKE=${MAKE-make}"
6219 fi
6220
6221
6222
6223 # Configure libtool
6224 #AC_MSG_NOTICE([====== Starting libtool configuration])
6225 enable_dlopen=yes
6226
6227
6228
6229 case `pwd` in
6230   *\ * | *\     *)
6231     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6232 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6233 esac
6234
6235
6236
6237 macro_version='2.2.7a'
6238 macro_revision='1.3134'
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252 ltmain="$ac_aux_dir/ltmain.sh"
6253
6254 # Backslashify metacharacters that are still active within
6255 # double-quoted strings.
6256 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6257
6258 # Same as above, but do not quote variable references.
6259 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6260
6261 # Sed substitution to delay expansion of an escaped shell variable in a
6262 # double_quote_subst'ed string.
6263 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6264
6265 # Sed substitution to delay expansion of an escaped single quote.
6266 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6267
6268 # Sed substitution to avoid accidental globbing in evaled expressions
6269 no_glob_subst='s/\*/\\\*/g'
6270
6271 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6272 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6273 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6274
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6276 $as_echo_n "checking how to print strings... " >&6; }
6277 # Test print first, because it will be a builtin if present.
6278 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6279    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6280   ECHO='print -r --'
6281 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6282   ECHO='printf %s\n'
6283 else
6284   # Use this function as a fallback that always works.
6285   func_fallback_echo ()
6286   {
6287     eval 'cat <<_LTECHO_EOF
6288 $1
6289 _LTECHO_EOF'
6290   }
6291   ECHO='func_fallback_echo'
6292 fi
6293
6294 # func_echo_all arg...
6295 # Invoke $ECHO with all args, space-separated.
6296 func_echo_all ()
6297 {
6298     $ECHO ""
6299 }
6300
6301 case "$ECHO" in
6302   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6303 $as_echo "printf" >&6; } ;;
6304   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6305 $as_echo "print -r" >&6; } ;;
6306   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6307 $as_echo "cat" >&6; } ;;
6308 esac
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6324 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6325 if test "${ac_cv_path_SED+set}" = set; then :
6326   $as_echo_n "(cached) " >&6
6327 else
6328             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6329      for ac_i in 1 2 3 4 5 6 7; do
6330        ac_script="$ac_script$as_nl$ac_script"
6331      done
6332      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6333      { ac_script=; unset ac_script;}
6334      if test -z "$SED"; then
6335   ac_path_SED_found=false
6336   # Loop through the user's path and test for each of PROGNAME-LIST
6337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338 for as_dir in $PATH
6339 do
6340   IFS=$as_save_IFS
6341   test -z "$as_dir" && as_dir=.
6342     for ac_prog in sed gsed; do
6343     for ac_exec_ext in '' $ac_executable_extensions; do
6344       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6345       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6346 # Check for GNU ac_path_SED and select it if it is found.
6347   # Check for GNU $ac_path_SED
6348 case `"$ac_path_SED" --version 2>&1` in
6349 *GNU*)
6350   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6351 *)
6352   ac_count=0
6353   $as_echo_n 0123456789 >"conftest.in"
6354   while :
6355   do
6356     cat "conftest.in" "conftest.in" >"conftest.tmp"
6357     mv "conftest.tmp" "conftest.in"
6358     cp "conftest.in" "conftest.nl"
6359     $as_echo '' >> "conftest.nl"
6360     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6361     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6362     as_fn_arith $ac_count + 1 && ac_count=$as_val
6363     if test $ac_count -gt ${ac_path_SED_max-0}; then
6364       # Best one so far, save it but keep looking for a better one
6365       ac_cv_path_SED="$ac_path_SED"
6366       ac_path_SED_max=$ac_count
6367     fi
6368     # 10*(2^10) chars as input seems more than enough
6369     test $ac_count -gt 10 && break
6370   done
6371   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6372 esac
6373
6374       $ac_path_SED_found && break 3
6375     done
6376   done
6377   done
6378 IFS=$as_save_IFS
6379   if test -z "$ac_cv_path_SED"; then
6380     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6381   fi
6382 else
6383   ac_cv_path_SED=$SED
6384 fi
6385
6386 fi
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6388 $as_echo "$ac_cv_path_SED" >&6; }
6389  SED="$ac_cv_path_SED"
6390   rm -f conftest.sed
6391
6392 test -z "$SED" && SED=sed
6393 Xsed="$SED -e 1s/^X//"
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6406 $as_echo_n "checking for fgrep... " >&6; }
6407 if test "${ac_cv_path_FGREP+set}" = set; then :
6408   $as_echo_n "(cached) " >&6
6409 else
6410   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6411    then ac_cv_path_FGREP="$GREP -F"
6412    else
6413      if test -z "$FGREP"; then
6414   ac_path_FGREP_found=false
6415   # Loop through the user's path and test for each of PROGNAME-LIST
6416   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6418 do
6419   IFS=$as_save_IFS
6420   test -z "$as_dir" && as_dir=.
6421     for ac_prog in fgrep; do
6422     for ac_exec_ext in '' $ac_executable_extensions; do
6423       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6424       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6425 # Check for GNU ac_path_FGREP and select it if it is found.
6426   # Check for GNU $ac_path_FGREP
6427 case `"$ac_path_FGREP" --version 2>&1` in
6428 *GNU*)
6429   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6430 *)
6431   ac_count=0
6432   $as_echo_n 0123456789 >"conftest.in"
6433   while :
6434   do
6435     cat "conftest.in" "conftest.in" >"conftest.tmp"
6436     mv "conftest.tmp" "conftest.in"
6437     cp "conftest.in" "conftest.nl"
6438     $as_echo 'FGREP' >> "conftest.nl"
6439     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6440     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6441     as_fn_arith $ac_count + 1 && ac_count=$as_val
6442     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6443       # Best one so far, save it but keep looking for a better one
6444       ac_cv_path_FGREP="$ac_path_FGREP"
6445       ac_path_FGREP_max=$ac_count
6446     fi
6447     # 10*(2^10) chars as input seems more than enough
6448     test $ac_count -gt 10 && break
6449   done
6450   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6451 esac
6452
6453       $ac_path_FGREP_found && break 3
6454     done
6455   done
6456   done
6457 IFS=$as_save_IFS
6458   if test -z "$ac_cv_path_FGREP"; then
6459     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6460   fi
6461 else
6462   ac_cv_path_FGREP=$FGREP
6463 fi
6464
6465    fi
6466 fi
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6468 $as_echo "$ac_cv_path_FGREP" >&6; }
6469  FGREP="$ac_cv_path_FGREP"
6470
6471
6472 test -z "$GREP" && GREP=grep
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492 # Check whether --with-gnu-ld was given.
6493 if test "${with_gnu_ld+set}" = set; then :
6494   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6495 else
6496   with_gnu_ld=no
6497 fi
6498
6499 ac_prog=ld
6500 if test "$GCC" = yes; then
6501   # Check if gcc -print-prog-name=ld gives a path.
6502   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6503 $as_echo_n "checking for ld used by $CC... " >&6; }
6504   case $host in
6505   *-*-mingw*)
6506     # gcc leaves a trailing carriage return which upsets mingw
6507     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6508   *)
6509     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6510   esac
6511   case $ac_prog in
6512     # Accept absolute paths.
6513     [\\/]* | ?:[\\/]*)
6514       re_direlt='/[^/][^/]*/\.\./'
6515       # Canonicalize the pathname of ld
6516       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6517       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6518         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6519       done
6520       test -z "$LD" && LD="$ac_prog"
6521       ;;
6522   "")
6523     # If it fails, then pretend we aren't using GCC.
6524     ac_prog=ld
6525     ;;
6526   *)
6527     # If it is relative, then search for the first ld in PATH.
6528     with_gnu_ld=unknown
6529     ;;
6530   esac
6531 elif test "$with_gnu_ld" = yes; then
6532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6533 $as_echo_n "checking for GNU ld... " >&6; }
6534 else
6535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6536 $as_echo_n "checking for non-GNU ld... " >&6; }
6537 fi
6538 if test "${lt_cv_path_LD+set}" = set; then :
6539   $as_echo_n "(cached) " >&6
6540 else
6541   if test -z "$LD"; then
6542   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6543   for ac_dir in $PATH; do
6544     IFS="$lt_save_ifs"
6545     test -z "$ac_dir" && ac_dir=.
6546     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6547       lt_cv_path_LD="$ac_dir/$ac_prog"
6548       # Check to see if the program is GNU ld.  I'd rather use --version,
6549       # but apparently some variants of GNU ld only accept -v.
6550       # Break only if it was the GNU/non-GNU ld that we prefer.
6551       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6552       *GNU* | *'with BFD'*)
6553         test "$with_gnu_ld" != no && break
6554         ;;
6555       *)
6556         test "$with_gnu_ld" != yes && break
6557         ;;
6558       esac
6559     fi
6560   done
6561   IFS="$lt_save_ifs"
6562 else
6563   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6564 fi
6565 fi
6566
6567 LD="$lt_cv_path_LD"
6568 if test -n "$LD"; then
6569   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6570 $as_echo "$LD" >&6; }
6571 else
6572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6574 fi
6575 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6577 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6578 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6579   $as_echo_n "(cached) " >&6
6580 else
6581   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6582 case `$LD -v 2>&1 </dev/null` in
6583 *GNU* | *'with BFD'*)
6584   lt_cv_prog_gnu_ld=yes
6585   ;;
6586 *)
6587   lt_cv_prog_gnu_ld=no
6588   ;;
6589 esac
6590 fi
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6592 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6593 with_gnu_ld=$lt_cv_prog_gnu_ld
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6604 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6605 if test "${lt_cv_path_NM+set}" = set; then :
6606   $as_echo_n "(cached) " >&6
6607 else
6608   if test -n "$NM"; then
6609   # Let the user override the test.
6610   lt_cv_path_NM="$NM"
6611 else
6612   lt_nm_to_check="${ac_tool_prefix}nm"
6613   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6614     lt_nm_to_check="$lt_nm_to_check nm"
6615   fi
6616   for lt_tmp_nm in $lt_nm_to_check; do
6617     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6618     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6619       IFS="$lt_save_ifs"
6620       test -z "$ac_dir" && ac_dir=.
6621       tmp_nm="$ac_dir/$lt_tmp_nm"
6622       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6623         # Check to see if the nm accepts a BSD-compat flag.
6624         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6625         #   nm: unknown option "B" ignored
6626         # Tru64's nm complains that /dev/null is an invalid object file
6627         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6628         */dev/null* | *'Invalid file or object type'*)
6629           lt_cv_path_NM="$tmp_nm -B"
6630           break
6631           ;;
6632         *)
6633           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6634           */dev/null*)
6635             lt_cv_path_NM="$tmp_nm -p"
6636             break
6637             ;;
6638           *)
6639             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6640             continue # so that we can try to find one that supports BSD flags
6641             ;;
6642           esac
6643           ;;
6644         esac
6645       fi
6646     done
6647     IFS="$lt_save_ifs"
6648   done
6649   : ${lt_cv_path_NM=no}
6650 fi
6651 fi
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6653 $as_echo "$lt_cv_path_NM" >&6; }
6654 if test "$lt_cv_path_NM" != "no"; then
6655   NM="$lt_cv_path_NM"
6656 else
6657   # Didn't find any BSD compatible name lister, look for dumpbin.
6658   if test -n "$DUMPBIN"; then :
6659     # Let the user override the test.
6660   else
6661     if test -n "$ac_tool_prefix"; then
6662   for ac_prog in dumpbin "link -dump"
6663   do
6664     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6665 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6667 $as_echo_n "checking for $ac_word... " >&6; }
6668 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6669   $as_echo_n "(cached) " >&6
6670 else
6671   if test -n "$DUMPBIN"; then
6672   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6673 else
6674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6675 for as_dir in $PATH
6676 do
6677   IFS=$as_save_IFS
6678   test -z "$as_dir" && as_dir=.
6679     for ac_exec_ext in '' $ac_executable_extensions; do
6680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6681     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6682     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6683     break 2
6684   fi
6685 done
6686   done
6687 IFS=$as_save_IFS
6688
6689 fi
6690 fi
6691 DUMPBIN=$ac_cv_prog_DUMPBIN
6692 if test -n "$DUMPBIN"; then
6693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6694 $as_echo "$DUMPBIN" >&6; }
6695 else
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6697 $as_echo "no" >&6; }
6698 fi
6699
6700
6701     test -n "$DUMPBIN" && break
6702   done
6703 fi
6704 if test -z "$DUMPBIN"; then
6705   ac_ct_DUMPBIN=$DUMPBIN
6706   for ac_prog in dumpbin "link -dump"
6707 do
6708   # Extract the first word of "$ac_prog", so it can be a program name with args.
6709 set dummy $ac_prog; ac_word=$2
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711 $as_echo_n "checking for $ac_word... " >&6; }
6712 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6713   $as_echo_n "(cached) " >&6
6714 else
6715   if test -n "$ac_ct_DUMPBIN"; then
6716   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6717 else
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 for as_dir in $PATH
6720 do
6721   IFS=$as_save_IFS
6722   test -z "$as_dir" && as_dir=.
6723     for ac_exec_ext in '' $ac_executable_extensions; do
6724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6727     break 2
6728   fi
6729 done
6730   done
6731 IFS=$as_save_IFS
6732
6733 fi
6734 fi
6735 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6736 if test -n "$ac_ct_DUMPBIN"; then
6737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6738 $as_echo "$ac_ct_DUMPBIN" >&6; }
6739 else
6740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741 $as_echo "no" >&6; }
6742 fi
6743
6744
6745   test -n "$ac_ct_DUMPBIN" && break
6746 done
6747
6748   if test "x$ac_ct_DUMPBIN" = x; then
6749     DUMPBIN=":"
6750   else
6751     case $cross_compiling:$ac_tool_warned in
6752 yes:)
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6755 ac_tool_warned=yes ;;
6756 esac
6757     DUMPBIN=$ac_ct_DUMPBIN
6758   fi
6759 fi
6760
6761     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6762     *COFF*)
6763       DUMPBIN="$DUMPBIN -symbols"
6764       ;;
6765     *)
6766       DUMPBIN=:
6767       ;;
6768     esac
6769   fi
6770
6771   if test "$DUMPBIN" != ":"; then
6772     NM="$DUMPBIN"
6773   fi
6774 fi
6775 test -z "$NM" && NM=nm
6776
6777
6778
6779
6780
6781
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6783 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6784 if test "${lt_cv_nm_interface+set}" = set; then :
6785   $as_echo_n "(cached) " >&6
6786 else
6787   lt_cv_nm_interface="BSD nm"
6788   echo "int some_variable = 0;" > conftest.$ac_ext
6789   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6790   (eval "$ac_compile" 2>conftest.err)
6791   cat conftest.err >&5
6792   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6793   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6794   cat conftest.err >&5
6795   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6796   cat conftest.out >&5
6797   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6798     lt_cv_nm_interface="MS dumpbin"
6799   fi
6800   rm -f conftest*
6801 fi
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6803 $as_echo "$lt_cv_nm_interface" >&6; }
6804
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6806 $as_echo_n "checking whether ln -s works... " >&6; }
6807 LN_S=$as_ln_s
6808 if test "$LN_S" = "ln -s"; then
6809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6810 $as_echo "yes" >&6; }
6811 else
6812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6813 $as_echo "no, using $LN_S" >&6; }
6814 fi
6815
6816 # find the maximum length of command line arguments
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6818 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6819 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6820   $as_echo_n "(cached) " >&6
6821 else
6822     i=0
6823   teststring="ABCD"
6824
6825   case $build_os in
6826   msdosdjgpp*)
6827     # On DJGPP, this test can blow up pretty badly due to problems in libc
6828     # (any single argument exceeding 2000 bytes causes a buffer overrun
6829     # during glob expansion).  Even if it were fixed, the result of this
6830     # check would be larger than it should be.
6831     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6832     ;;
6833
6834   gnu*)
6835     # Under GNU Hurd, this test is not required because there is
6836     # no limit to the length of command line arguments.
6837     # Libtool will interpret -1 as no limit whatsoever
6838     lt_cv_sys_max_cmd_len=-1;
6839     ;;
6840
6841   cygwin* | mingw* | cegcc*)
6842     # On Win9x/ME, this test blows up -- it succeeds, but takes
6843     # about 5 minutes as the teststring grows exponentially.
6844     # Worse, since 9x/ME are not pre-emptively multitasking,
6845     # you end up with a "frozen" computer, even though with patience
6846     # the test eventually succeeds (with a max line length of 256k).
6847     # Instead, let's just punt: use the minimum linelength reported by
6848     # all of the supported platforms: 8192 (on NT/2K/XP).
6849     lt_cv_sys_max_cmd_len=8192;
6850     ;;
6851
6852   mint*)
6853     # On MiNT this can take a long time and run out of memory.
6854     lt_cv_sys_max_cmd_len=8192;
6855     ;;
6856
6857   amigaos*)
6858     # On AmigaOS with pdksh, this test takes hours, literally.
6859     # So we just punt and use a minimum line length of 8192.
6860     lt_cv_sys_max_cmd_len=8192;
6861     ;;
6862
6863   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6864     # This has been around since 386BSD, at least.  Likely further.
6865     if test -x /sbin/sysctl; then
6866       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6867     elif test -x /usr/sbin/sysctl; then
6868       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6869     else
6870       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6871     fi
6872     # And add a safety zone
6873     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6874     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6875     ;;
6876
6877   interix*)
6878     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6879     lt_cv_sys_max_cmd_len=196608
6880     ;;
6881
6882   osf*)
6883     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6884     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6885     # nice to cause kernel panics so lets avoid the loop below.
6886     # First set a reasonable default.
6887     lt_cv_sys_max_cmd_len=16384
6888     #
6889     if test -x /sbin/sysconfig; then
6890       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6891         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6892       esac
6893     fi
6894     ;;
6895   sco3.2v5*)
6896     lt_cv_sys_max_cmd_len=102400
6897     ;;
6898   sysv5* | sco5v6* | sysv4.2uw2*)
6899     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6900     if test -n "$kargmax"; then
6901       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6902     else
6903       lt_cv_sys_max_cmd_len=32768
6904     fi
6905     ;;
6906   *)
6907     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6908     if test -n "$lt_cv_sys_max_cmd_len"; then
6909       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6910       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6911     else
6912       # Make teststring a little bigger before we do anything with it.
6913       # a 1K string should be a reasonable start.
6914       for i in 1 2 3 4 5 6 7 8 ; do
6915         teststring=$teststring$teststring
6916       done
6917       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6918       # If test is not a shell built-in, we'll probably end up computing a
6919       # maximum length that is only half of the actual maximum length, but
6920       # we can't tell.
6921       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6922                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6923               test $i != 17 # 1/2 MB should be enough
6924       do
6925         i=`expr $i + 1`
6926         teststring=$teststring$teststring
6927       done
6928       # Only check the string length outside the loop.
6929       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6930       teststring=
6931       # Add a significant safety factor because C++ compilers can tack on
6932       # massive amounts of additional arguments before passing them to the
6933       # linker.  It appears as though 1/2 is a usable value.
6934       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6935     fi
6936     ;;
6937   esac
6938
6939 fi
6940
6941 if test -n $lt_cv_sys_max_cmd_len ; then
6942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6943 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6944 else
6945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6946 $as_echo "none" >&6; }
6947 fi
6948 max_cmd_len=$lt_cv_sys_max_cmd_len
6949
6950
6951
6952
6953
6954
6955 : ${CP="cp -f"}
6956 : ${MV="mv -f"}
6957 : ${RM="rm -f"}
6958
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6960 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6961 # Try some XSI features
6962 xsi_shell=no
6963 ( _lt_dummy="a/b/c"
6964   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6965       = c,a/b,, \
6966     && eval 'test $(( 1 + 1 )) -eq 2 \
6967     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6968   && xsi_shell=yes
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6970 $as_echo "$xsi_shell" >&6; }
6971
6972
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6974 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6975 lt_shell_append=no
6976 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6977     >/dev/null 2>&1 \
6978   && lt_shell_append=yes
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6980 $as_echo "$lt_shell_append" >&6; }
6981
6982
6983 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6984   lt_unset=unset
6985 else
6986   lt_unset=false
6987 fi
6988
6989
6990
6991
6992
6993 # test EBCDIC or ASCII
6994 case `echo X|tr X '\101'` in
6995  A) # ASCII based system
6996     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6997   lt_SP2NL='tr \040 \012'
6998   lt_NL2SP='tr \015\012 \040\040'
6999   ;;
7000  *) # EBCDIC based system
7001   lt_SP2NL='tr \100 \n'
7002   lt_NL2SP='tr \r\n \100\100'
7003   ;;
7004 esac
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7015 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7016 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7017   $as_echo_n "(cached) " >&6
7018 else
7019   lt_cv_ld_reload_flag='-r'
7020 fi
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7022 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7023 reload_flag=$lt_cv_ld_reload_flag
7024 case $reload_flag in
7025 "" | " "*) ;;
7026 *) reload_flag=" $reload_flag" ;;
7027 esac
7028 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7029 case $host_os in
7030   darwin*)
7031     if test "$GCC" = yes; then
7032       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7033     else
7034       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7035     fi
7036     ;;
7037 esac
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047 if test -n "$ac_tool_prefix"; then
7048   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7049 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7051 $as_echo_n "checking for $ac_word... " >&6; }
7052 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7053   $as_echo_n "(cached) " >&6
7054 else
7055   if test -n "$OBJDUMP"; then
7056   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7057 else
7058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059 for as_dir in $PATH
7060 do
7061   IFS=$as_save_IFS
7062   test -z "$as_dir" && as_dir=.
7063     for ac_exec_ext in '' $ac_executable_extensions; do
7064   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7065     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7067     break 2
7068   fi
7069 done
7070   done
7071 IFS=$as_save_IFS
7072
7073 fi
7074 fi
7075 OBJDUMP=$ac_cv_prog_OBJDUMP
7076 if test -n "$OBJDUMP"; then
7077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7078 $as_echo "$OBJDUMP" >&6; }
7079 else
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7081 $as_echo "no" >&6; }
7082 fi
7083
7084
7085 fi
7086 if test -z "$ac_cv_prog_OBJDUMP"; then
7087   ac_ct_OBJDUMP=$OBJDUMP
7088   # Extract the first word of "objdump", so it can be a program name with args.
7089 set dummy objdump; ac_word=$2
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7091 $as_echo_n "checking for $ac_word... " >&6; }
7092 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7093   $as_echo_n "(cached) " >&6
7094 else
7095   if test -n "$ac_ct_OBJDUMP"; then
7096   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7097 else
7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 for as_dir in $PATH
7100 do
7101   IFS=$as_save_IFS
7102   test -z "$as_dir" && as_dir=.
7103     for ac_exec_ext in '' $ac_executable_extensions; do
7104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7107     break 2
7108   fi
7109 done
7110   done
7111 IFS=$as_save_IFS
7112
7113 fi
7114 fi
7115 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7116 if test -n "$ac_ct_OBJDUMP"; then
7117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7118 $as_echo "$ac_ct_OBJDUMP" >&6; }
7119 else
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7121 $as_echo "no" >&6; }
7122 fi
7123
7124   if test "x$ac_ct_OBJDUMP" = x; then
7125     OBJDUMP="false"
7126   else
7127     case $cross_compiling:$ac_tool_warned in
7128 yes:)
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7130 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7131 ac_tool_warned=yes ;;
7132 esac
7133     OBJDUMP=$ac_ct_OBJDUMP
7134   fi
7135 else
7136   OBJDUMP="$ac_cv_prog_OBJDUMP"
7137 fi
7138
7139 test -z "$OBJDUMP" && OBJDUMP=objdump
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7150 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7151 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7152   $as_echo_n "(cached) " >&6
7153 else
7154   lt_cv_file_magic_cmd='$MAGIC_CMD'
7155 lt_cv_file_magic_test_file=
7156 lt_cv_deplibs_check_method='unknown'
7157 # Need to set the preceding variable on all platforms that support
7158 # interlibrary dependencies.
7159 # 'none' -- dependencies not supported.
7160 # `unknown' -- same as none, but documents that we really don't know.
7161 # 'pass_all' -- all dependencies passed with no checks.
7162 # 'test_compile' -- check by making test program.
7163 # 'file_magic [[regex]]' -- check by looking for files in library path
7164 # which responds to the $file_magic_cmd with a given extended regex.
7165 # If you have `file' or equivalent on your system and you're not sure
7166 # whether `pass_all' will *always* work, you probably want this one.
7167
7168 case $host_os in
7169 aix[4-9]*)
7170   lt_cv_deplibs_check_method=pass_all
7171   ;;
7172
7173 beos*)
7174   lt_cv_deplibs_check_method=pass_all
7175   ;;
7176
7177 bsdi[45]*)
7178   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7179   lt_cv_file_magic_cmd='/usr/bin/file -L'
7180   lt_cv_file_magic_test_file=/shlib/libc.so
7181   ;;
7182
7183 cygwin*)
7184   # func_win32_libid is a shell function defined in ltmain.sh
7185   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7186   lt_cv_file_magic_cmd='func_win32_libid'
7187   ;;
7188
7189 mingw* | pw32*)
7190   # Base MSYS/MinGW do not provide the 'file' command needed by
7191   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7192   # unless we find 'file', for example because we are cross-compiling.
7193   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7194   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7195     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7196     lt_cv_file_magic_cmd='func_win32_libid'
7197   else
7198     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7199     lt_cv_file_magic_cmd='$OBJDUMP -f'
7200   fi
7201   ;;
7202
7203 cegcc*)
7204   # use the weaker test based on 'objdump'. See mingw*.
7205   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7206   lt_cv_file_magic_cmd='$OBJDUMP -f'
7207   ;;
7208
7209 darwin* | rhapsody*)
7210   lt_cv_deplibs_check_method=pass_all
7211   ;;
7212
7213 freebsd* | dragonfly*)
7214   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7215     case $host_cpu in
7216     i*86 )
7217       # Not sure whether the presence of OpenBSD here was a mistake.
7218       # Let's accept both of them until this is cleared up.
7219       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7220       lt_cv_file_magic_cmd=/usr/bin/file
7221       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7222       ;;
7223     esac
7224   else
7225     lt_cv_deplibs_check_method=pass_all
7226   fi
7227   ;;
7228
7229 gnu*)
7230   lt_cv_deplibs_check_method=pass_all
7231   ;;
7232
7233 haiku*)
7234   lt_cv_deplibs_check_method=pass_all
7235   ;;
7236
7237 hpux10.20* | hpux11*)
7238   lt_cv_file_magic_cmd=/usr/bin/file
7239   case $host_cpu in
7240   ia64*)
7241     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7242     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7243     ;;
7244   hppa*64*)
7245     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]'
7246     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7247     ;;
7248   *)
7249     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7250     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7251     ;;
7252   esac
7253   ;;
7254
7255 interix[3-9]*)
7256   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7257   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7258   ;;
7259
7260 irix5* | irix6* | nonstopux*)
7261   case $LD in
7262   *-32|*"-32 ") libmagic=32-bit;;
7263   *-n32|*"-n32 ") libmagic=N32;;
7264   *-64|*"-64 ") libmagic=64-bit;;
7265   *) libmagic=never-match;;
7266   esac
7267   lt_cv_deplibs_check_method=pass_all
7268   ;;
7269
7270 # This must be Linux ELF.
7271 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7272   lt_cv_deplibs_check_method=pass_all
7273   ;;
7274
7275 netbsd*)
7276   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7277     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7278   else
7279     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7280   fi
7281   ;;
7282
7283 newos6*)
7284   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7285   lt_cv_file_magic_cmd=/usr/bin/file
7286   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7287   ;;
7288
7289 *nto* | *qnx*)
7290   lt_cv_deplibs_check_method=pass_all
7291   ;;
7292
7293 openbsd*)
7294   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7295     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7296   else
7297     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7298   fi
7299   ;;
7300
7301 osf3* | osf4* | osf5*)
7302   lt_cv_deplibs_check_method=pass_all
7303   ;;
7304
7305 rdos*)
7306   lt_cv_deplibs_check_method=pass_all
7307   ;;
7308
7309 solaris*)
7310   lt_cv_deplibs_check_method=pass_all
7311   ;;
7312
7313 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7314   lt_cv_deplibs_check_method=pass_all
7315   ;;
7316
7317 sysv4 | sysv4.3*)
7318   case $host_vendor in
7319   motorola)
7320     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]'
7321     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7322     ;;
7323   ncr)
7324     lt_cv_deplibs_check_method=pass_all
7325     ;;
7326   sequent)
7327     lt_cv_file_magic_cmd='/bin/file'
7328     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7329     ;;
7330   sni)
7331     lt_cv_file_magic_cmd='/bin/file'
7332     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7333     lt_cv_file_magic_test_file=/lib/libc.so
7334     ;;
7335   siemens)
7336     lt_cv_deplibs_check_method=pass_all
7337     ;;
7338   pc)
7339     lt_cv_deplibs_check_method=pass_all
7340     ;;
7341   esac
7342   ;;
7343
7344 tpf*)
7345   lt_cv_deplibs_check_method=pass_all
7346   ;;
7347 esac
7348
7349 fi
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7351 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7352 file_magic_cmd=$lt_cv_file_magic_cmd
7353 deplibs_check_method=$lt_cv_deplibs_check_method
7354 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367 if test -n "$ac_tool_prefix"; then
7368   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7369 set dummy ${ac_tool_prefix}ar; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if test "${ac_cv_prog_AR+set}" = set; then :
7373   $as_echo_n "(cached) " >&6
7374 else
7375   if test -n "$AR"; then
7376   ac_cv_prog_AR="$AR" # Let the user override the test.
7377 else
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 for as_dir in $PATH
7380 do
7381   IFS=$as_save_IFS
7382   test -z "$as_dir" && as_dir=.
7383     for ac_exec_ext in '' $ac_executable_extensions; do
7384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7385     ac_cv_prog_AR="${ac_tool_prefix}ar"
7386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7387     break 2
7388   fi
7389 done
7390   done
7391 IFS=$as_save_IFS
7392
7393 fi
7394 fi
7395 AR=$ac_cv_prog_AR
7396 if test -n "$AR"; then
7397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7398 $as_echo "$AR" >&6; }
7399 else
7400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7402 fi
7403
7404
7405 fi
7406 if test -z "$ac_cv_prog_AR"; then
7407   ac_ct_AR=$AR
7408   # Extract the first word of "ar", so it can be a program name with args.
7409 set dummy ar; ac_word=$2
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7411 $as_echo_n "checking for $ac_word... " >&6; }
7412 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7413   $as_echo_n "(cached) " >&6
7414 else
7415   if test -n "$ac_ct_AR"; then
7416   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7417 else
7418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7419 for as_dir in $PATH
7420 do
7421   IFS=$as_save_IFS
7422   test -z "$as_dir" && as_dir=.
7423     for ac_exec_ext in '' $ac_executable_extensions; do
7424   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7425     ac_cv_prog_ac_ct_AR="ar"
7426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7427     break 2
7428   fi
7429 done
7430   done
7431 IFS=$as_save_IFS
7432
7433 fi
7434 fi
7435 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7436 if test -n "$ac_ct_AR"; then
7437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7438 $as_echo "$ac_ct_AR" >&6; }
7439 else
7440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7441 $as_echo "no" >&6; }
7442 fi
7443
7444   if test "x$ac_ct_AR" = x; then
7445     AR="false"
7446   else
7447     case $cross_compiling:$ac_tool_warned in
7448 yes:)
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7451 ac_tool_warned=yes ;;
7452 esac
7453     AR=$ac_ct_AR
7454   fi
7455 else
7456   AR="$ac_cv_prog_AR"
7457 fi
7458
7459 test -z "$AR" && AR=ar
7460 test -z "$AR_FLAGS" && AR_FLAGS=cru
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472 if test -n "$ac_tool_prefix"; then
7473   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7474 set dummy ${ac_tool_prefix}strip; ac_word=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if test "${ac_cv_prog_STRIP+set}" = set; then :
7478   $as_echo_n "(cached) " >&6
7479 else
7480   if test -n "$STRIP"; then
7481   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7482 else
7483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7484 for as_dir in $PATH
7485 do
7486   IFS=$as_save_IFS
7487   test -z "$as_dir" && as_dir=.
7488     for ac_exec_ext in '' $ac_executable_extensions; do
7489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7490     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7492     break 2
7493   fi
7494 done
7495   done
7496 IFS=$as_save_IFS
7497
7498 fi
7499 fi
7500 STRIP=$ac_cv_prog_STRIP
7501 if test -n "$STRIP"; then
7502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7503 $as_echo "$STRIP" >&6; }
7504 else
7505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7507 fi
7508
7509
7510 fi
7511 if test -z "$ac_cv_prog_STRIP"; then
7512   ac_ct_STRIP=$STRIP
7513   # Extract the first word of "strip", so it can be a program name with args.
7514 set dummy strip; ac_word=$2
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7516 $as_echo_n "checking for $ac_word... " >&6; }
7517 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7518   $as_echo_n "(cached) " >&6
7519 else
7520   if test -n "$ac_ct_STRIP"; then
7521   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7522 else
7523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7524 for as_dir in $PATH
7525 do
7526   IFS=$as_save_IFS
7527   test -z "$as_dir" && as_dir=.
7528     for ac_exec_ext in '' $ac_executable_extensions; do
7529   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7530     ac_cv_prog_ac_ct_STRIP="strip"
7531     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7532     break 2
7533   fi
7534 done
7535   done
7536 IFS=$as_save_IFS
7537
7538 fi
7539 fi
7540 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7541 if test -n "$ac_ct_STRIP"; then
7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7543 $as_echo "$ac_ct_STRIP" >&6; }
7544 else
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7547 fi
7548
7549   if test "x$ac_ct_STRIP" = x; then
7550     STRIP=":"
7551   else
7552     case $cross_compiling:$ac_tool_warned in
7553 yes:)
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7556 ac_tool_warned=yes ;;
7557 esac
7558     STRIP=$ac_ct_STRIP
7559   fi
7560 else
7561   STRIP="$ac_cv_prog_STRIP"
7562 fi
7563
7564 test -z "$STRIP" && STRIP=:
7565
7566
7567
7568
7569
7570
7571 if test -n "$ac_tool_prefix"; then
7572   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7573 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7577   $as_echo_n "(cached) " >&6
7578 else
7579   if test -n "$RANLIB"; then
7580   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7584 do
7585   IFS=$as_save_IFS
7586   test -z "$as_dir" && as_dir=.
7587     for ac_exec_ext in '' $ac_executable_extensions; do
7588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591     break 2
7592   fi
7593 done
7594   done
7595 IFS=$as_save_IFS
7596
7597 fi
7598 fi
7599 RANLIB=$ac_cv_prog_RANLIB
7600 if test -n "$RANLIB"; then
7601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7602 $as_echo "$RANLIB" >&6; }
7603 else
7604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7606 fi
7607
7608
7609 fi
7610 if test -z "$ac_cv_prog_RANLIB"; then
7611   ac_ct_RANLIB=$RANLIB
7612   # Extract the first word of "ranlib", so it can be a program name with args.
7613 set dummy ranlib; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7617   $as_echo_n "(cached) " >&6
7618 else
7619   if test -n "$ac_ct_RANLIB"; then
7620   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7624 do
7625   IFS=$as_save_IFS
7626   test -z "$as_dir" && as_dir=.
7627     for ac_exec_ext in '' $ac_executable_extensions; do
7628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629     ac_cv_prog_ac_ct_RANLIB="ranlib"
7630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631     break 2
7632   fi
7633 done
7634   done
7635 IFS=$as_save_IFS
7636
7637 fi
7638 fi
7639 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7640 if test -n "$ac_ct_RANLIB"; then
7641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7642 $as_echo "$ac_ct_RANLIB" >&6; }
7643 else
7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7646 fi
7647
7648   if test "x$ac_ct_RANLIB" = x; then
7649     RANLIB=":"
7650   else
7651     case $cross_compiling:$ac_tool_warned in
7652 yes:)
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7655 ac_tool_warned=yes ;;
7656 esac
7657     RANLIB=$ac_ct_RANLIB
7658   fi
7659 else
7660   RANLIB="$ac_cv_prog_RANLIB"
7661 fi
7662
7663 test -z "$RANLIB" && RANLIB=:
7664
7665
7666
7667
7668
7669
7670 # Determine commands to create old-style static archives.
7671 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7672 old_postinstall_cmds='chmod 644 $oldlib'
7673 old_postuninstall_cmds=
7674
7675 if test -n "$RANLIB"; then
7676   case $host_os in
7677   openbsd*)
7678     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7679     ;;
7680   *)
7681     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7682     ;;
7683   esac
7684   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7685 fi
7686
7687 case $host_os in
7688   darwin*)
7689     lock_old_archive_extraction=yes ;;
7690   *)
7691     lock_old_archive_extraction=no ;;
7692 esac
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732 # If no C compiler was specified, use CC.
7733 LTCC=${LTCC-"$CC"}
7734
7735 # If no C compiler flags were specified, use CFLAGS.
7736 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7737
7738 # Allow CC to be a program name with arguments.
7739 compiler=$CC
7740
7741
7742 # Check for command to grab the raw symbol name followed by C symbol from nm.
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7744 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7745 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7746   $as_echo_n "(cached) " >&6
7747 else
7748
7749 # These are sane defaults that work on at least a few old systems.
7750 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7751
7752 # Character class describing NM global symbol codes.
7753 symcode='[BCDEGRST]'
7754
7755 # Regexp to match symbols that can be accessed directly from C.
7756 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7757
7758 # Define system-specific variables.
7759 case $host_os in
7760 aix*)
7761   symcode='[BCDT]'
7762   ;;
7763 cygwin* | mingw* | pw32* | cegcc*)
7764   symcode='[ABCDGISTW]'
7765   ;;
7766 hpux*)
7767   if test "$host_cpu" = ia64; then
7768     symcode='[ABCDEGRST]'
7769   fi
7770   ;;
7771 irix* | nonstopux*)
7772   symcode='[BCDEGRST]'
7773   ;;
7774 osf*)
7775   symcode='[BCDEGQRST]'
7776   ;;
7777 solaris*)
7778   symcode='[BDRT]'
7779   ;;
7780 sco3.2v5*)
7781   symcode='[DT]'
7782   ;;
7783 sysv4.2uw2*)
7784   symcode='[DT]'
7785   ;;
7786 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7787   symcode='[ABDT]'
7788   ;;
7789 sysv4)
7790   symcode='[DFNSTU]'
7791   ;;
7792 esac
7793
7794 # If we're using GNU nm, then use its standard symbol codes.
7795 case `$NM -V 2>&1` in
7796 *GNU* | *'with BFD'*)
7797   symcode='[ABCDGIRSTW]' ;;
7798 esac
7799
7800 # Transform an extracted symbol line into a proper C declaration.
7801 # Some systems (esp. on ia64) link data and code symbols differently,
7802 # so use this general approach.
7803 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7804
7805 # Transform an extracted symbol line into symbol name and symbol address
7806 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7807 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'"
7808
7809 # Handle CRLF in mingw tool chain
7810 opt_cr=
7811 case $build_os in
7812 mingw*)
7813   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7814   ;;
7815 esac
7816
7817 # Try without a prefix underscore, then with it.
7818 for ac_symprfx in "" "_"; do
7819
7820   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7821   symxfrm="\\1 $ac_symprfx\\2 \\2"
7822
7823   # Write the raw and C identifiers.
7824   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7825     # Fake it for dumpbin and say T for any non-static function
7826     # and D for any global variable.
7827     # Also find C++ and __fastcall symbols from MSVC++,
7828     # which start with @ or ?.
7829     lt_cv_sys_global_symbol_pipe="$AWK '"\
7830 "     {last_section=section; section=\$ 3};"\
7831 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7832 "     \$ 0!~/External *\|/{next};"\
7833 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7834 "     {if(hide[section]) next};"\
7835 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7836 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7837 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7838 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7839 "     ' prfx=^$ac_symprfx"
7840   else
7841     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7842   fi
7843
7844   # Check to see that the pipe works correctly.
7845   pipe_works=no
7846
7847   rm -f conftest*
7848   cat > conftest.$ac_ext <<_LT_EOF
7849 #ifdef __cplusplus
7850 extern "C" {
7851 #endif
7852 char nm_test_var;
7853 void nm_test_func(void);
7854 void nm_test_func(void){}
7855 #ifdef __cplusplus
7856 }
7857 #endif
7858 int main(){nm_test_var='a';nm_test_func();return(0);}
7859 _LT_EOF
7860
7861   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7862   (eval $ac_compile) 2>&5
7863   ac_status=$?
7864   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7865   test $ac_status = 0; }; then
7866     # Now try to grab the symbols.
7867     nlist=conftest.nm
7868     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7869   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7870   ac_status=$?
7871   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7872   test $ac_status = 0; } && test -s "$nlist"; then
7873       # Try sorting and uniquifying the output.
7874       if sort "$nlist" | uniq > "$nlist"T; then
7875         mv -f "$nlist"T "$nlist"
7876       else
7877         rm -f "$nlist"T
7878       fi
7879
7880       # Make sure that we snagged all the symbols we need.
7881       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7882         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7883           cat <<_LT_EOF > conftest.$ac_ext
7884 #ifdef __cplusplus
7885 extern "C" {
7886 #endif
7887
7888 _LT_EOF
7889           # Now generate the symbol file.
7890           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7891
7892           cat <<_LT_EOF >> conftest.$ac_ext
7893
7894 /* The mapping between symbol names and symbols.  */
7895 const struct {
7896   const char *name;
7897   void       *address;
7898 }
7899 lt__PROGRAM__LTX_preloaded_symbols[] =
7900 {
7901   { "@PROGRAM@", (void *) 0 },
7902 _LT_EOF
7903           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7904           cat <<\_LT_EOF >> conftest.$ac_ext
7905   {0, (void *) 0}
7906 };
7907
7908 /* This works around a problem in FreeBSD linker */
7909 #ifdef FREEBSD_WORKAROUND
7910 static const void *lt_preloaded_setup() {
7911   return lt__PROGRAM__LTX_preloaded_symbols;
7912 }
7913 #endif
7914
7915 #ifdef __cplusplus
7916 }
7917 #endif
7918 _LT_EOF
7919           # Now try linking the two files.
7920           mv conftest.$ac_objext conftstm.$ac_objext
7921           lt_save_LIBS="$LIBS"
7922           lt_save_CFLAGS="$CFLAGS"
7923           LIBS="conftstm.$ac_objext"
7924           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7925           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7926   (eval $ac_link) 2>&5
7927   ac_status=$?
7928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7929   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7930             pipe_works=yes
7931           fi
7932           LIBS="$lt_save_LIBS"
7933           CFLAGS="$lt_save_CFLAGS"
7934         else
7935           echo "cannot find nm_test_func in $nlist" >&5
7936         fi
7937       else
7938         echo "cannot find nm_test_var in $nlist" >&5
7939       fi
7940     else
7941       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7942     fi
7943   else
7944     echo "$progname: failed program was:" >&5
7945     cat conftest.$ac_ext >&5
7946   fi
7947   rm -rf conftest* conftst*
7948
7949   # Do not use the global_symbol_pipe unless it works.
7950   if test "$pipe_works" = yes; then
7951     break
7952   else
7953     lt_cv_sys_global_symbol_pipe=
7954   fi
7955 done
7956
7957 fi
7958
7959 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7960   lt_cv_sys_global_symbol_to_cdecl=
7961 fi
7962 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7964 $as_echo "failed" >&6; }
7965 else
7966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7967 $as_echo "ok" >&6; }
7968 fi
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991 # Check whether --enable-libtool-lock was given.
7992 if test "${enable_libtool_lock+set}" = set; then :
7993   enableval=$enable_libtool_lock;
7994 fi
7995
7996 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7997
7998 # Some flags need to be propagated to the compiler or linker for good
7999 # libtool support.
8000 case $host in
8001 ia64-*-hpux*)
8002   # Find out which ABI we are using.
8003   echo 'int i;' > conftest.$ac_ext
8004   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8005   (eval $ac_compile) 2>&5
8006   ac_status=$?
8007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8008   test $ac_status = 0; }; then
8009     case `/usr/bin/file conftest.$ac_objext` in
8010       *ELF-32*)
8011         HPUX_IA64_MODE="32"
8012         ;;
8013       *ELF-64*)
8014         HPUX_IA64_MODE="64"
8015         ;;
8016     esac
8017   fi
8018   rm -rf conftest*
8019   ;;
8020 *-*-irix6*)
8021   # Find out which ABI we are using.
8022   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8023   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8024   (eval $ac_compile) 2>&5
8025   ac_status=$?
8026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8027   test $ac_status = 0; }; then
8028     if test "$lt_cv_prog_gnu_ld" = yes; then
8029       case `/usr/bin/file conftest.$ac_objext` in
8030         *32-bit*)
8031           LD="${LD-ld} -melf32bsmip"
8032           ;;
8033         *N32*)
8034           LD="${LD-ld} -melf32bmipn32"
8035           ;;
8036         *64-bit*)
8037           LD="${LD-ld} -melf64bmip"
8038         ;;
8039       esac
8040     else
8041       case `/usr/bin/file conftest.$ac_objext` in
8042         *32-bit*)
8043           LD="${LD-ld} -32"
8044           ;;
8045         *N32*)
8046           LD="${LD-ld} -n32"
8047           ;;
8048         *64-bit*)
8049           LD="${LD-ld} -64"
8050           ;;
8051       esac
8052     fi
8053   fi
8054   rm -rf conftest*
8055   ;;
8056
8057 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8058 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8059   # Find out which ABI we are using.
8060   echo 'int i;' > conftest.$ac_ext
8061   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8062   (eval $ac_compile) 2>&5
8063   ac_status=$?
8064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8065   test $ac_status = 0; }; then
8066     case `/usr/bin/file conftest.o` in
8067       *32-bit*)
8068         case $host in
8069           x86_64-*kfreebsd*-gnu)
8070             LD="${LD-ld} -m elf_i386_fbsd"
8071             ;;
8072           x86_64-*linux*)
8073             LD="${LD-ld} -m elf_i386"
8074             ;;
8075           ppc64-*linux*|powerpc64-*linux*)
8076             LD="${LD-ld} -m elf32ppclinux"
8077             ;;
8078           s390x-*linux*)
8079             LD="${LD-ld} -m elf_s390"
8080             ;;
8081           sparc64-*linux*)
8082             LD="${LD-ld} -m elf32_sparc"
8083             ;;
8084         esac
8085         ;;
8086       *64-bit*)
8087         case $host in
8088           x86_64-*kfreebsd*-gnu)
8089             LD="${LD-ld} -m elf_x86_64_fbsd"
8090             ;;
8091           x86_64-*linux*)
8092             LD="${LD-ld} -m elf_x86_64"
8093             ;;
8094           ppc*-*linux*|powerpc*-*linux*)
8095             LD="${LD-ld} -m elf64ppc"
8096             ;;
8097           s390*-*linux*|s390*-*tpf*)
8098             LD="${LD-ld} -m elf64_s390"
8099             ;;
8100           sparc*-*linux*)
8101             LD="${LD-ld} -m elf64_sparc"
8102             ;;
8103         esac
8104         ;;
8105     esac
8106   fi
8107   rm -rf conftest*
8108   ;;
8109
8110 *-*-sco3.2v5*)
8111   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8112   SAVE_CFLAGS="$CFLAGS"
8113   CFLAGS="$CFLAGS -belf"
8114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8115 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8116 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8117   $as_echo_n "(cached) " >&6
8118 else
8119   ac_ext=c
8120 ac_cpp='$CPP $CPPFLAGS'
8121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8124
8125      if test x$gcc_no_link = xyes; then
8126   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8127 fi
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h.  */
8130
8131 int
8132 main ()
8133 {
8134
8135   ;
8136   return 0;
8137 }
8138 _ACEOF
8139 if ac_fn_c_try_link "$LINENO"; then :
8140   lt_cv_cc_needs_belf=yes
8141 else
8142   lt_cv_cc_needs_belf=no
8143 fi
8144 rm -f core conftest.err conftest.$ac_objext \
8145     conftest$ac_exeext conftest.$ac_ext
8146      ac_ext=c
8147 ac_cpp='$CPP $CPPFLAGS'
8148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8151
8152 fi
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8154 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8155   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8156     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8157     CFLAGS="$SAVE_CFLAGS"
8158   fi
8159   ;;
8160 sparc*-*solaris*)
8161   # Find out which ABI we are using.
8162   echo 'int i;' > conftest.$ac_ext
8163   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8164   (eval $ac_compile) 2>&5
8165   ac_status=$?
8166   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8167   test $ac_status = 0; }; then
8168     case `/usr/bin/file conftest.o` in
8169     *64-bit*)
8170       case $lt_cv_prog_gnu_ld in
8171       yes*) LD="${LD-ld} -m elf64_sparc" ;;
8172       *)
8173         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8174           LD="${LD-ld} -64"
8175         fi
8176         ;;
8177       esac
8178       ;;
8179     esac
8180   fi
8181   rm -rf conftest*
8182   ;;
8183 esac
8184
8185 need_locks="$enable_libtool_lock"
8186
8187
8188   case $host_os in
8189     rhapsody* | darwin*)
8190     if test -n "$ac_tool_prefix"; then
8191   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8192 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8194 $as_echo_n "checking for $ac_word... " >&6; }
8195 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8196   $as_echo_n "(cached) " >&6
8197 else
8198   if test -n "$DSYMUTIL"; then
8199   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8200 else
8201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202 for as_dir in $PATH
8203 do
8204   IFS=$as_save_IFS
8205   test -z "$as_dir" && as_dir=.
8206     for ac_exec_ext in '' $ac_executable_extensions; do
8207   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8208     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8209     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8210     break 2
8211   fi
8212 done
8213   done
8214 IFS=$as_save_IFS
8215
8216 fi
8217 fi
8218 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8219 if test -n "$DSYMUTIL"; then
8220   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8221 $as_echo "$DSYMUTIL" >&6; }
8222 else
8223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8224 $as_echo "no" >&6; }
8225 fi
8226
8227
8228 fi
8229 if test -z "$ac_cv_prog_DSYMUTIL"; then
8230   ac_ct_DSYMUTIL=$DSYMUTIL
8231   # Extract the first word of "dsymutil", so it can be a program name with args.
8232 set dummy dsymutil; ac_word=$2
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8234 $as_echo_n "checking for $ac_word... " >&6; }
8235 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8236   $as_echo_n "(cached) " >&6
8237 else
8238   if test -n "$ac_ct_DSYMUTIL"; then
8239   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8240 else
8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8242 for as_dir in $PATH
8243 do
8244   IFS=$as_save_IFS
8245   test -z "$as_dir" && as_dir=.
8246     for ac_exec_ext in '' $ac_executable_extensions; do
8247   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8248     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8249     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8250     break 2
8251   fi
8252 done
8253   done
8254 IFS=$as_save_IFS
8255
8256 fi
8257 fi
8258 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8259 if test -n "$ac_ct_DSYMUTIL"; then
8260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8261 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8262 else
8263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8264 $as_echo "no" >&6; }
8265 fi
8266
8267   if test "x$ac_ct_DSYMUTIL" = x; then
8268     DSYMUTIL=":"
8269   else
8270     case $cross_compiling:$ac_tool_warned in
8271 yes:)
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8274 ac_tool_warned=yes ;;
8275 esac
8276     DSYMUTIL=$ac_ct_DSYMUTIL
8277   fi
8278 else
8279   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8280 fi
8281
8282     if test -n "$ac_tool_prefix"; then
8283   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8284 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8286 $as_echo_n "checking for $ac_word... " >&6; }
8287 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8288   $as_echo_n "(cached) " >&6
8289 else
8290   if test -n "$NMEDIT"; then
8291   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8292 else
8293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 for as_dir in $PATH
8295 do
8296   IFS=$as_save_IFS
8297   test -z "$as_dir" && as_dir=.
8298     for ac_exec_ext in '' $ac_executable_extensions; do
8299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8300     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8302     break 2
8303   fi
8304 done
8305   done
8306 IFS=$as_save_IFS
8307
8308 fi
8309 fi
8310 NMEDIT=$ac_cv_prog_NMEDIT
8311 if test -n "$NMEDIT"; then
8312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8313 $as_echo "$NMEDIT" >&6; }
8314 else
8315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8316 $as_echo "no" >&6; }
8317 fi
8318
8319
8320 fi
8321 if test -z "$ac_cv_prog_NMEDIT"; then
8322   ac_ct_NMEDIT=$NMEDIT
8323   # Extract the first word of "nmedit", so it can be a program name with args.
8324 set dummy nmedit; ac_word=$2
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8326 $as_echo_n "checking for $ac_word... " >&6; }
8327 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8328   $as_echo_n "(cached) " >&6
8329 else
8330   if test -n "$ac_ct_NMEDIT"; then
8331   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8332 else
8333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8334 for as_dir in $PATH
8335 do
8336   IFS=$as_save_IFS
8337   test -z "$as_dir" && as_dir=.
8338     for ac_exec_ext in '' $ac_executable_extensions; do
8339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8340     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8342     break 2
8343   fi
8344 done
8345   done
8346 IFS=$as_save_IFS
8347
8348 fi
8349 fi
8350 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8351 if test -n "$ac_ct_NMEDIT"; then
8352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8353 $as_echo "$ac_ct_NMEDIT" >&6; }
8354 else
8355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8356 $as_echo "no" >&6; }
8357 fi
8358
8359   if test "x$ac_ct_NMEDIT" = x; then
8360     NMEDIT=":"
8361   else
8362     case $cross_compiling:$ac_tool_warned in
8363 yes:)
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8366 ac_tool_warned=yes ;;
8367 esac
8368     NMEDIT=$ac_ct_NMEDIT
8369   fi
8370 else
8371   NMEDIT="$ac_cv_prog_NMEDIT"
8372 fi
8373
8374     if test -n "$ac_tool_prefix"; then
8375   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8376 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8378 $as_echo_n "checking for $ac_word... " >&6; }
8379 if test "${ac_cv_prog_LIPO+set}" = set; then :
8380   $as_echo_n "(cached) " >&6
8381 else
8382   if test -n "$LIPO"; then
8383   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8384 else
8385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 for as_dir in $PATH
8387 do
8388   IFS=$as_save_IFS
8389   test -z "$as_dir" && as_dir=.
8390     for ac_exec_ext in '' $ac_executable_extensions; do
8391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8392     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8394     break 2
8395   fi
8396 done
8397   done
8398 IFS=$as_save_IFS
8399
8400 fi
8401 fi
8402 LIPO=$ac_cv_prog_LIPO
8403 if test -n "$LIPO"; then
8404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8405 $as_echo "$LIPO" >&6; }
8406 else
8407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8408 $as_echo "no" >&6; }
8409 fi
8410
8411
8412 fi
8413 if test -z "$ac_cv_prog_LIPO"; then
8414   ac_ct_LIPO=$LIPO
8415   # Extract the first word of "lipo", so it can be a program name with args.
8416 set dummy lipo; ac_word=$2
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8418 $as_echo_n "checking for $ac_word... " >&6; }
8419 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8420   $as_echo_n "(cached) " >&6
8421 else
8422   if test -n "$ac_ct_LIPO"; then
8423   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8424 else
8425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 for as_dir in $PATH
8427 do
8428   IFS=$as_save_IFS
8429   test -z "$as_dir" && as_dir=.
8430     for ac_exec_ext in '' $ac_executable_extensions; do
8431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8432     ac_cv_prog_ac_ct_LIPO="lipo"
8433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434     break 2
8435   fi
8436 done
8437   done
8438 IFS=$as_save_IFS
8439
8440 fi
8441 fi
8442 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8443 if test -n "$ac_ct_LIPO"; then
8444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8445 $as_echo "$ac_ct_LIPO" >&6; }
8446 else
8447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8448 $as_echo "no" >&6; }
8449 fi
8450
8451   if test "x$ac_ct_LIPO" = x; then
8452     LIPO=":"
8453   else
8454     case $cross_compiling:$ac_tool_warned in
8455 yes:)
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8458 ac_tool_warned=yes ;;
8459 esac
8460     LIPO=$ac_ct_LIPO
8461   fi
8462 else
8463   LIPO="$ac_cv_prog_LIPO"
8464 fi
8465
8466     if test -n "$ac_tool_prefix"; then
8467   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8468 set dummy ${ac_tool_prefix}otool; ac_word=$2
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8470 $as_echo_n "checking for $ac_word... " >&6; }
8471 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8472   $as_echo_n "(cached) " >&6
8473 else
8474   if test -n "$OTOOL"; then
8475   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8476 else
8477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8478 for as_dir in $PATH
8479 do
8480   IFS=$as_save_IFS
8481   test -z "$as_dir" && as_dir=.
8482     for ac_exec_ext in '' $ac_executable_extensions; do
8483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8484     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8486     break 2
8487   fi
8488 done
8489   done
8490 IFS=$as_save_IFS
8491
8492 fi
8493 fi
8494 OTOOL=$ac_cv_prog_OTOOL
8495 if test -n "$OTOOL"; then
8496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8497 $as_echo "$OTOOL" >&6; }
8498 else
8499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8500 $as_echo "no" >&6; }
8501 fi
8502
8503
8504 fi
8505 if test -z "$ac_cv_prog_OTOOL"; then
8506   ac_ct_OTOOL=$OTOOL
8507   # Extract the first word of "otool", so it can be a program name with args.
8508 set dummy otool; ac_word=$2
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510 $as_echo_n "checking for $ac_word... " >&6; }
8511 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8512   $as_echo_n "(cached) " >&6
8513 else
8514   if test -n "$ac_ct_OTOOL"; then
8515   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8516 else
8517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 for as_dir in $PATH
8519 do
8520   IFS=$as_save_IFS
8521   test -z "$as_dir" && as_dir=.
8522     for ac_exec_ext in '' $ac_executable_extensions; do
8523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8524     ac_cv_prog_ac_ct_OTOOL="otool"
8525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8526     break 2
8527   fi
8528 done
8529   done
8530 IFS=$as_save_IFS
8531
8532 fi
8533 fi
8534 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8535 if test -n "$ac_ct_OTOOL"; then
8536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8537 $as_echo "$ac_ct_OTOOL" >&6; }
8538 else
8539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8540 $as_echo "no" >&6; }
8541 fi
8542
8543   if test "x$ac_ct_OTOOL" = x; then
8544     OTOOL=":"
8545   else
8546     case $cross_compiling:$ac_tool_warned in
8547 yes:)
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8550 ac_tool_warned=yes ;;
8551 esac
8552     OTOOL=$ac_ct_OTOOL
8553   fi
8554 else
8555   OTOOL="$ac_cv_prog_OTOOL"
8556 fi
8557
8558     if test -n "$ac_tool_prefix"; then
8559   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8560 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8562 $as_echo_n "checking for $ac_word... " >&6; }
8563 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8564   $as_echo_n "(cached) " >&6
8565 else
8566   if test -n "$OTOOL64"; then
8567   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8568 else
8569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8570 for as_dir in $PATH
8571 do
8572   IFS=$as_save_IFS
8573   test -z "$as_dir" && as_dir=.
8574     for ac_exec_ext in '' $ac_executable_extensions; do
8575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8576     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8578     break 2
8579   fi
8580 done
8581   done
8582 IFS=$as_save_IFS
8583
8584 fi
8585 fi
8586 OTOOL64=$ac_cv_prog_OTOOL64
8587 if test -n "$OTOOL64"; then
8588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8589 $as_echo "$OTOOL64" >&6; }
8590 else
8591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8592 $as_echo "no" >&6; }
8593 fi
8594
8595
8596 fi
8597 if test -z "$ac_cv_prog_OTOOL64"; then
8598   ac_ct_OTOOL64=$OTOOL64
8599   # Extract the first word of "otool64", so it can be a program name with args.
8600 set dummy otool64; ac_word=$2
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8602 $as_echo_n "checking for $ac_word... " >&6; }
8603 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8604   $as_echo_n "(cached) " >&6
8605 else
8606   if test -n "$ac_ct_OTOOL64"; then
8607   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8608 else
8609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8610 for as_dir in $PATH
8611 do
8612   IFS=$as_save_IFS
8613   test -z "$as_dir" && as_dir=.
8614     for ac_exec_ext in '' $ac_executable_extensions; do
8615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8616     ac_cv_prog_ac_ct_OTOOL64="otool64"
8617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8618     break 2
8619   fi
8620 done
8621   done
8622 IFS=$as_save_IFS
8623
8624 fi
8625 fi
8626 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8627 if test -n "$ac_ct_OTOOL64"; then
8628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8629 $as_echo "$ac_ct_OTOOL64" >&6; }
8630 else
8631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8632 $as_echo "no" >&6; }
8633 fi
8634
8635   if test "x$ac_ct_OTOOL64" = x; then
8636     OTOOL64=":"
8637   else
8638     case $cross_compiling:$ac_tool_warned in
8639 yes:)
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8642 ac_tool_warned=yes ;;
8643 esac
8644     OTOOL64=$ac_ct_OTOOL64
8645   fi
8646 else
8647   OTOOL64="$ac_cv_prog_OTOOL64"
8648 fi
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8677 $as_echo_n "checking for -single_module linker flag... " >&6; }
8678 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8679   $as_echo_n "(cached) " >&6
8680 else
8681   lt_cv_apple_cc_single_mod=no
8682       if test -z "${LT_MULTI_MODULE}"; then
8683         # By default we will add the -single_module flag. You can override
8684         # by either setting the environment variable LT_MULTI_MODULE
8685         # non-empty at configure time, or by adding -multi_module to the
8686         # link flags.
8687         rm -rf libconftest.dylib*
8688         echo "int foo(void){return 1;}" > conftest.c
8689         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8690 -dynamiclib -Wl,-single_module conftest.c" >&5
8691         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8692           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8693         _lt_result=$?
8694         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8695           lt_cv_apple_cc_single_mod=yes
8696         else
8697           cat conftest.err >&5
8698         fi
8699         rm -rf libconftest.dylib*
8700         rm -f conftest.*
8701       fi
8702 fi
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8704 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8705     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8706 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8707 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8708   $as_echo_n "(cached) " >&6
8709 else
8710   lt_cv_ld_exported_symbols_list=no
8711       save_LDFLAGS=$LDFLAGS
8712       echo "_main" > conftest.sym
8713       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8714       if test x$gcc_no_link = xyes; then
8715   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8716 fi
8717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8718 /* end confdefs.h.  */
8719
8720 int
8721 main ()
8722 {
8723
8724   ;
8725   return 0;
8726 }
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729   lt_cv_ld_exported_symbols_list=yes
8730 else
8731   lt_cv_ld_exported_symbols_list=no
8732 fi
8733 rm -f core conftest.err conftest.$ac_objext \
8734     conftest$ac_exeext conftest.$ac_ext
8735         LDFLAGS="$save_LDFLAGS"
8736
8737 fi
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8739 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8740     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8741 $as_echo_n "checking for -force_load linker flag... " >&6; }
8742 if test "${lt_cv_ld_force_load+set}" = set; then :
8743   $as_echo_n "(cached) " >&6
8744 else
8745   lt_cv_ld_force_load=no
8746       cat > conftest.c << _LT_EOF
8747 int forced_loaded() { return 2;}
8748 _LT_EOF
8749       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8750       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8751       echo "$AR cru libconftest.a conftest.o" >&5
8752       $AR cru libconftest.a conftest.o 2>&5
8753       cat > conftest.c << _LT_EOF
8754 int main() { return 0;}
8755 _LT_EOF
8756       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8757       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8758       _lt_result=$?
8759       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8760         lt_cv_ld_force_load=yes
8761       else
8762         cat conftest.err >&5
8763       fi
8764         rm -f conftest.err libconftest.a conftest conftest.c
8765         rm -rf conftest.dSYM
8766
8767 fi
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8769 $as_echo "$lt_cv_ld_force_load" >&6; }
8770     case $host_os in
8771     rhapsody* | darwin1.[012])
8772       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8773     darwin1.*)
8774       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8775     darwin*) # darwin 5.x on
8776       # if running on 10.5 or later, the deployment target defaults
8777       # to the OS version, if on x86, and 10.4, the deployment
8778       # target defaults to 10.4. Don't you love it?
8779       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8780         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8781           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8782         10.[012]*)
8783           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8784         10.*)
8785           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8786       esac
8787     ;;
8788   esac
8789     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8790       _lt_dar_single_mod='$single_module'
8791     fi
8792     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8793       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8794     else
8795       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8796     fi
8797     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8798       _lt_dsymutil='~$DSYMUTIL $lib || :'
8799     else
8800       _lt_dsymutil=
8801     fi
8802     ;;
8803   esac
8804
8805 for ac_header in dlfcn.h
8806 do :
8807   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8808 "
8809 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8810   cat >>confdefs.h <<_ACEOF
8811 #define HAVE_DLFCN_H 1
8812 _ACEOF
8813
8814 fi
8815
8816 done
8817
8818
8819
8820
8821
8822 # Set options
8823
8824
8825
8826
8827   enable_win32_dll=no
8828
8829
8830             # Check whether --enable-shared was given.
8831 if test "${enable_shared+set}" = set; then :
8832   enableval=$enable_shared; p=${PACKAGE-default}
8833     case $enableval in
8834     yes) enable_shared=yes ;;
8835     no) enable_shared=no ;;
8836     *)
8837       enable_shared=no
8838       # Look at the argument we got.  We use all the common list separators.
8839       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8840       for pkg in $enableval; do
8841         IFS="$lt_save_ifs"
8842         if test "X$pkg" = "X$p"; then
8843           enable_shared=yes
8844         fi
8845       done
8846       IFS="$lt_save_ifs"
8847       ;;
8848     esac
8849 else
8850   enable_shared=yes
8851 fi
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861   # Check whether --enable-static was given.
8862 if test "${enable_static+set}" = set; then :
8863   enableval=$enable_static; p=${PACKAGE-default}
8864     case $enableval in
8865     yes) enable_static=yes ;;
8866     no) enable_static=no ;;
8867     *)
8868      enable_static=no
8869       # Look at the argument we got.  We use all the common list separators.
8870       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8871       for pkg in $enableval; do
8872         IFS="$lt_save_ifs"
8873         if test "X$pkg" = "X$p"; then
8874           enable_static=yes
8875         fi
8876       done
8877       IFS="$lt_save_ifs"
8878       ;;
8879     esac
8880 else
8881   enable_static=yes
8882 fi
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893 # Check whether --with-pic was given.
8894 if test "${with_pic+set}" = set; then :
8895   withval=$with_pic; pic_mode="$withval"
8896 else
8897   pic_mode=default
8898 fi
8899
8900
8901 test -z "$pic_mode" && pic_mode=default
8902
8903
8904
8905
8906
8907
8908
8909   # Check whether --enable-fast-install was given.
8910 if test "${enable_fast_install+set}" = set; then :
8911   enableval=$enable_fast_install; p=${PACKAGE-default}
8912     case $enableval in
8913     yes) enable_fast_install=yes ;;
8914     no) enable_fast_install=no ;;
8915     *)
8916       enable_fast_install=no
8917       # Look at the argument we got.  We use all the common list separators.
8918       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8919       for pkg in $enableval; do
8920         IFS="$lt_save_ifs"
8921         if test "X$pkg" = "X$p"; then
8922           enable_fast_install=yes
8923         fi
8924       done
8925       IFS="$lt_save_ifs"
8926       ;;
8927     esac
8928 else
8929   enable_fast_install=yes
8930 fi
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942 # This can be used to rebuild libtool when needed
8943 LIBTOOL_DEPS="$ltmain"
8944
8945 # Always use our own libtool.
8946 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973 test -z "$LN_S" && LN_S="ln -s"
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988 if test -n "${ZSH_VERSION+set}" ; then
8989    setopt NO_GLOB_SUBST
8990 fi
8991
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8993 $as_echo_n "checking for objdir... " >&6; }
8994 if test "${lt_cv_objdir+set}" = set; then :
8995   $as_echo_n "(cached) " >&6
8996 else
8997   rm -f .libs 2>/dev/null
8998 mkdir .libs 2>/dev/null
8999 if test -d .libs; then
9000   lt_cv_objdir=.libs
9001 else
9002   # MS-DOS does not allow filenames that begin with a dot.
9003   lt_cv_objdir=_libs
9004 fi
9005 rmdir .libs 2>/dev/null
9006 fi
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9008 $as_echo "$lt_cv_objdir" >&6; }
9009 objdir=$lt_cv_objdir
9010
9011
9012
9013
9014
9015 cat >>confdefs.h <<_ACEOF
9016 #define LT_OBJDIR "$lt_cv_objdir/"
9017 _ACEOF
9018
9019
9020
9021
9022 case $host_os in
9023 aix3*)
9024   # AIX sometimes has problems with the GCC collect2 program.  For some
9025   # reason, if we set the COLLECT_NAMES environment variable, the problems
9026   # vanish in a puff of smoke.
9027   if test "X${COLLECT_NAMES+set}" != Xset; then
9028     COLLECT_NAMES=
9029     export COLLECT_NAMES
9030   fi
9031   ;;
9032 esac
9033
9034 # Global variables:
9035 ofile=libtool
9036 can_build_shared=yes
9037
9038 # All known linkers require a `.a' archive for static linking (except MSVC,
9039 # which needs '.lib').
9040 libext=a
9041
9042 with_gnu_ld="$lt_cv_prog_gnu_ld"
9043
9044 old_CC="$CC"
9045 old_CFLAGS="$CFLAGS"
9046
9047 # Set sane defaults for various variables
9048 test -z "$CC" && CC=cc
9049 test -z "$LTCC" && LTCC=$CC
9050 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9051 test -z "$LD" && LD=ld
9052 test -z "$ac_objext" && ac_objext=o
9053
9054 for cc_temp in $compiler""; do
9055   case $cc_temp in
9056     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9057     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9058     \-*) ;;
9059     *) break;;
9060   esac
9061 done
9062 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9063
9064
9065 # Only perform the check for file, if the check method requires it
9066 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9067 case $deplibs_check_method in
9068 file_magic*)
9069   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9071 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9072 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9073   $as_echo_n "(cached) " >&6
9074 else
9075   case $MAGIC_CMD in
9076 [\\/*] |  ?:[\\/]*)
9077   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9078   ;;
9079 *)
9080   lt_save_MAGIC_CMD="$MAGIC_CMD"
9081   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9082   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9083   for ac_dir in $ac_dummy; do
9084     IFS="$lt_save_ifs"
9085     test -z "$ac_dir" && ac_dir=.
9086     if test -f $ac_dir/${ac_tool_prefix}file; then
9087       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9088       if test -n "$file_magic_test_file"; then
9089         case $deplibs_check_method in
9090         "file_magic "*)
9091           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9092           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9093           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9094             $EGREP "$file_magic_regex" > /dev/null; then
9095             :
9096           else
9097             cat <<_LT_EOF 1>&2
9098
9099 *** Warning: the command libtool uses to detect shared libraries,
9100 *** $file_magic_cmd, produces output that libtool cannot recognize.
9101 *** The result is that libtool may fail to recognize shared libraries
9102 *** as such.  This will affect the creation of libtool libraries that
9103 *** depend on shared libraries, but programs linked with such libtool
9104 *** libraries will work regardless of this problem.  Nevertheless, you
9105 *** may want to report the problem to your system manager and/or to
9106 *** bug-libtool@gnu.org
9107
9108 _LT_EOF
9109           fi ;;
9110         esac
9111       fi
9112       break
9113     fi
9114   done
9115   IFS="$lt_save_ifs"
9116   MAGIC_CMD="$lt_save_MAGIC_CMD"
9117   ;;
9118 esac
9119 fi
9120
9121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9122 if test -n "$MAGIC_CMD"; then
9123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9124 $as_echo "$MAGIC_CMD" >&6; }
9125 else
9126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9127 $as_echo "no" >&6; }
9128 fi
9129
9130
9131
9132
9133
9134 if test -z "$lt_cv_path_MAGIC_CMD"; then
9135   if test -n "$ac_tool_prefix"; then
9136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9137 $as_echo_n "checking for file... " >&6; }
9138 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9139   $as_echo_n "(cached) " >&6
9140 else
9141   case $MAGIC_CMD in
9142 [\\/*] |  ?:[\\/]*)
9143   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9144   ;;
9145 *)
9146   lt_save_MAGIC_CMD="$MAGIC_CMD"
9147   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9148   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9149   for ac_dir in $ac_dummy; do
9150     IFS="$lt_save_ifs"
9151     test -z "$ac_dir" && ac_dir=.
9152     if test -f $ac_dir/file; then
9153       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9154       if test -n "$file_magic_test_file"; then
9155         case $deplibs_check_method in
9156         "file_magic "*)
9157           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9158           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9159           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9160             $EGREP "$file_magic_regex" > /dev/null; then
9161             :
9162           else
9163             cat <<_LT_EOF 1>&2
9164
9165 *** Warning: the command libtool uses to detect shared libraries,
9166 *** $file_magic_cmd, produces output that libtool cannot recognize.
9167 *** The result is that libtool may fail to recognize shared libraries
9168 *** as such.  This will affect the creation of libtool libraries that
9169 *** depend on shared libraries, but programs linked with such libtool
9170 *** libraries will work regardless of this problem.  Nevertheless, you
9171 *** may want to report the problem to your system manager and/or to
9172 *** bug-libtool@gnu.org
9173
9174 _LT_EOF
9175           fi ;;
9176         esac
9177       fi
9178       break
9179     fi
9180   done
9181   IFS="$lt_save_ifs"
9182   MAGIC_CMD="$lt_save_MAGIC_CMD"
9183   ;;
9184 esac
9185 fi
9186
9187 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9188 if test -n "$MAGIC_CMD"; then
9189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9190 $as_echo "$MAGIC_CMD" >&6; }
9191 else
9192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 $as_echo "no" >&6; }
9194 fi
9195
9196
9197   else
9198     MAGIC_CMD=:
9199   fi
9200 fi
9201
9202   fi
9203   ;;
9204 esac
9205
9206 # Use C for the default configuration in the libtool script
9207
9208 lt_save_CC="$CC"
9209 ac_ext=c
9210 ac_cpp='$CPP $CPPFLAGS'
9211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9214
9215
9216 # Source file extension for C test sources.
9217 ac_ext=c
9218
9219 # Object file extension for compiled C test sources.
9220 objext=o
9221 objext=$objext
9222
9223 # Code to be used in simple compile tests
9224 lt_simple_compile_test_code="int some_variable = 0;"
9225
9226 # Code to be used in simple link tests
9227 lt_simple_link_test_code='int main(){return(0);}'
9228
9229
9230
9231
9232
9233
9234
9235 # If no C compiler was specified, use CC.
9236 LTCC=${LTCC-"$CC"}
9237
9238 # If no C compiler flags were specified, use CFLAGS.
9239 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9240
9241 # Allow CC to be a program name with arguments.
9242 compiler=$CC
9243
9244 # Save the default compiler, since it gets overwritten when the other
9245 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9246 compiler_DEFAULT=$CC
9247
9248 # save warnings/boilerplate of simple test code
9249 ac_outfile=conftest.$ac_objext
9250 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9252 _lt_compiler_boilerplate=`cat conftest.err`
9253 $RM conftest*
9254
9255 ac_outfile=conftest.$ac_objext
9256 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9258 _lt_linker_boilerplate=`cat conftest.err`
9259 $RM -r conftest*
9260
9261
9262 ## CAVEAT EMPTOR:
9263 ## There is no encapsulation within the following macros, do not change
9264 ## the running order or otherwise move them around unless you know exactly
9265 ## what you are doing...
9266 if test -n "$compiler"; then
9267
9268 lt_prog_compiler_no_builtin_flag=
9269
9270 if test "$GCC" = yes; then
9271   case $cc_basename in
9272   nvcc*)
9273     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9274   *)
9275     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9276   esac
9277
9278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9279 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9280 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9281   $as_echo_n "(cached) " >&6
9282 else
9283   lt_cv_prog_compiler_rtti_exceptions=no
9284    ac_outfile=conftest.$ac_objext
9285    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9286    lt_compiler_flag="-fno-rtti -fno-exceptions"
9287    # Insert the option either (1) after the last *FLAGS variable, or
9288    # (2) before a word containing "conftest.", or (3) at the end.
9289    # Note that $ac_compile itself does not contain backslashes and begins
9290    # with a dollar sign (not a hyphen), so the echo should work correctly.
9291    # The option is referenced via a variable to avoid confusing sed.
9292    lt_compile=`echo "$ac_compile" | $SED \
9293    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9294    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9295    -e 's:$: $lt_compiler_flag:'`
9296    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9297    (eval "$lt_compile" 2>conftest.err)
9298    ac_status=$?
9299    cat conftest.err >&5
9300    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301    if (exit $ac_status) && test -s "$ac_outfile"; then
9302      # The compiler can only warn and ignore the option if not recognized
9303      # So say no if there are warnings other than the usual output.
9304      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9305      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9306      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9307        lt_cv_prog_compiler_rtti_exceptions=yes
9308      fi
9309    fi
9310    $RM conftest*
9311
9312 fi
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9314 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9315
9316 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9317     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9318 else
9319     :
9320 fi
9321
9322 fi
9323
9324
9325
9326
9327
9328
9329   lt_prog_compiler_wl=
9330 lt_prog_compiler_pic=
9331 lt_prog_compiler_static=
9332
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9334 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9335
9336   if test "$GCC" = yes; then
9337     lt_prog_compiler_wl='-Wl,'
9338     lt_prog_compiler_static='-static'
9339
9340     case $host_os in
9341       aix*)
9342       # All AIX code is PIC.
9343       if test "$host_cpu" = ia64; then
9344         # AIX 5 now supports IA64 processor
9345         lt_prog_compiler_static='-Bstatic'
9346       fi
9347       ;;
9348
9349     amigaos*)
9350       case $host_cpu in
9351       powerpc)
9352             # see comment about AmigaOS4 .so support
9353             lt_prog_compiler_pic='-fPIC'
9354         ;;
9355       m68k)
9356             # FIXME: we need at least 68020 code to build shared libraries, but
9357             # adding the `-m68020' flag to GCC prevents building anything better,
9358             # like `-m68040'.
9359             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9360         ;;
9361       esac
9362       ;;
9363
9364     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9365       # PIC is the default for these OSes.
9366       ;;
9367
9368     mingw* | cygwin* | pw32* | os2* | cegcc*)
9369       # This hack is so that the source file can tell whether it is being
9370       # built for inclusion in a dll (and should export symbols for example).
9371       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9372       # (--disable-auto-import) libraries
9373       lt_prog_compiler_pic='-DDLL_EXPORT'
9374       ;;
9375
9376     darwin* | rhapsody*)
9377       # PIC is the default on this platform
9378       # Common symbols not allowed in MH_DYLIB files
9379       lt_prog_compiler_pic='-fno-common'
9380       ;;
9381
9382     haiku*)
9383       # PIC is the default for Haiku.
9384       # The "-static" flag exists, but is broken.
9385       lt_prog_compiler_static=
9386       ;;
9387
9388     hpux*)
9389       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9390       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9391       # sets the default TLS model and affects inlining.
9392       case $host_cpu in
9393       hppa*64*)
9394         # +Z the default
9395         ;;
9396       *)
9397         lt_prog_compiler_pic='-fPIC'
9398         ;;
9399       esac
9400       ;;
9401
9402     interix[3-9]*)
9403       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9404       # Instead, we relocate shared libraries at runtime.
9405       ;;
9406
9407     msdosdjgpp*)
9408       # Just because we use GCC doesn't mean we suddenly get shared libraries
9409       # on systems that don't support them.
9410       lt_prog_compiler_can_build_shared=no
9411       enable_shared=no
9412       ;;
9413
9414     *nto* | *qnx*)
9415       # QNX uses GNU C++, but need to define -shared option too, otherwise
9416       # it will coredump.
9417       lt_prog_compiler_pic='-fPIC -shared'
9418       ;;
9419
9420     sysv4*MP*)
9421       if test -d /usr/nec; then
9422         lt_prog_compiler_pic=-Kconform_pic
9423       fi
9424       ;;
9425
9426     *)
9427       lt_prog_compiler_pic='-fPIC'
9428       ;;
9429     esac
9430
9431     case $cc_basename in
9432     nvcc*) # Cuda Compiler Driver 2.2
9433       lt_prog_compiler_wl='-Xlinker '
9434       lt_prog_compiler_pic='-Xcompiler -fPIC'
9435       ;;
9436     esac
9437   else
9438     # PORTME Check for flag to pass linker flags through the system compiler.
9439     case $host_os in
9440     aix*)
9441       lt_prog_compiler_wl='-Wl,'
9442       if test "$host_cpu" = ia64; then
9443         # AIX 5 now supports IA64 processor
9444         lt_prog_compiler_static='-Bstatic'
9445       else
9446         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9447       fi
9448       ;;
9449
9450     mingw* | cygwin* | pw32* | os2* | cegcc*)
9451       # This hack is so that the source file can tell whether it is being
9452       # built for inclusion in a dll (and should export symbols for example).
9453       lt_prog_compiler_pic='-DDLL_EXPORT'
9454       ;;
9455
9456     hpux9* | hpux10* | hpux11*)
9457       lt_prog_compiler_wl='-Wl,'
9458       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9459       # not for PA HP-UX.
9460       case $host_cpu in
9461       hppa*64*|ia64*)
9462         # +Z the default
9463         ;;
9464       *)
9465         lt_prog_compiler_pic='+Z'
9466         ;;
9467       esac
9468       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9469       lt_prog_compiler_static='${wl}-a ${wl}archive'
9470       ;;
9471
9472     irix5* | irix6* | nonstopux*)
9473       lt_prog_compiler_wl='-Wl,'
9474       # PIC (with -KPIC) is the default.
9475       lt_prog_compiler_static='-non_shared'
9476       ;;
9477
9478     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9479       case $cc_basename in
9480       # old Intel for x86_64 which still supported -KPIC.
9481       ecc*)
9482         lt_prog_compiler_wl='-Wl,'
9483         lt_prog_compiler_pic='-KPIC'
9484         lt_prog_compiler_static='-static'
9485         ;;
9486       # icc used to be incompatible with GCC.
9487       # ICC 10 doesn't accept -KPIC any more.
9488       icc* | ifort*)
9489         lt_prog_compiler_wl='-Wl,'
9490         lt_prog_compiler_pic='-fPIC'
9491         lt_prog_compiler_static='-static'
9492         ;;
9493       # Lahey Fortran 8.1.
9494       lf95*)
9495         lt_prog_compiler_wl='-Wl,'
9496         lt_prog_compiler_pic='--shared'
9497         lt_prog_compiler_static='--static'
9498         ;;
9499       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9500         # Portland Group compilers (*not* the Pentium gcc compiler,
9501         # which looks to be a dead project)
9502         lt_prog_compiler_wl='-Wl,'
9503         lt_prog_compiler_pic='-fpic'
9504         lt_prog_compiler_static='-Bstatic'
9505         ;;
9506       ccc*)
9507         lt_prog_compiler_wl='-Wl,'
9508         # All Alpha code is PIC.
9509         lt_prog_compiler_static='-non_shared'
9510         ;;
9511       xl* | bgxl* | bgf* | mpixl*)
9512         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9513         lt_prog_compiler_wl='-Wl,'
9514         lt_prog_compiler_pic='-qpic'
9515         lt_prog_compiler_static='-qstaticlink'
9516         ;;
9517       *)
9518         case `$CC -V 2>&1 | sed 5q` in
9519         *Sun\ F* | *Sun*Fortran*)
9520           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9521           lt_prog_compiler_pic='-KPIC'
9522           lt_prog_compiler_static='-Bstatic'
9523           lt_prog_compiler_wl=''
9524           ;;
9525         *Sun\ C*)
9526           # Sun C 5.9
9527           lt_prog_compiler_pic='-KPIC'
9528           lt_prog_compiler_static='-Bstatic'
9529           lt_prog_compiler_wl='-Wl,'
9530           ;;
9531         esac
9532         ;;
9533       esac
9534       ;;
9535
9536     newsos6)
9537       lt_prog_compiler_pic='-KPIC'
9538       lt_prog_compiler_static='-Bstatic'
9539       ;;
9540
9541     *nto* | *qnx*)
9542       # QNX uses GNU C++, but need to define -shared option too, otherwise
9543       # it will coredump.
9544       lt_prog_compiler_pic='-fPIC -shared'
9545       ;;
9546
9547     osf3* | osf4* | osf5*)
9548       lt_prog_compiler_wl='-Wl,'
9549       # All OSF/1 code is PIC.
9550       lt_prog_compiler_static='-non_shared'
9551       ;;
9552
9553     rdos*)
9554       lt_prog_compiler_static='-non_shared'
9555       ;;
9556
9557     solaris*)
9558       lt_prog_compiler_pic='-KPIC'
9559       lt_prog_compiler_static='-Bstatic'
9560       case $cc_basename in
9561       f77* | f90* | f95*)
9562         lt_prog_compiler_wl='-Qoption ld ';;
9563       *)
9564         lt_prog_compiler_wl='-Wl,';;
9565       esac
9566       ;;
9567
9568     sunos4*)
9569       lt_prog_compiler_wl='-Qoption ld '
9570       lt_prog_compiler_pic='-PIC'
9571       lt_prog_compiler_static='-Bstatic'
9572       ;;
9573
9574     sysv4 | sysv4.2uw2* | sysv4.3*)
9575       lt_prog_compiler_wl='-Wl,'
9576       lt_prog_compiler_pic='-KPIC'
9577       lt_prog_compiler_static='-Bstatic'
9578       ;;
9579
9580     sysv4*MP*)
9581       if test -d /usr/nec ;then
9582         lt_prog_compiler_pic='-Kconform_pic'
9583         lt_prog_compiler_static='-Bstatic'
9584       fi
9585       ;;
9586
9587     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9588       lt_prog_compiler_wl='-Wl,'
9589       lt_prog_compiler_pic='-KPIC'
9590       lt_prog_compiler_static='-Bstatic'
9591       ;;
9592
9593     unicos*)
9594       lt_prog_compiler_wl='-Wl,'
9595       lt_prog_compiler_can_build_shared=no
9596       ;;
9597
9598     uts4*)
9599       lt_prog_compiler_pic='-pic'
9600       lt_prog_compiler_static='-Bstatic'
9601       ;;
9602
9603     *)
9604       lt_prog_compiler_can_build_shared=no
9605       ;;
9606     esac
9607   fi
9608
9609 case $host_os in
9610   # For platforms which do not support PIC, -DPIC is meaningless:
9611   *djgpp*)
9612     lt_prog_compiler_pic=
9613     ;;
9614   *)
9615     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9616     ;;
9617 esac
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9619 $as_echo "$lt_prog_compiler_pic" >&6; }
9620
9621
9622
9623
9624
9625
9626 #
9627 # Check to make sure the PIC flag actually works.
9628 #
9629 if test -n "$lt_prog_compiler_pic"; then
9630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9631 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9632 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9633   $as_echo_n "(cached) " >&6
9634 else
9635   lt_cv_prog_compiler_pic_works=no
9636    ac_outfile=conftest.$ac_objext
9637    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9638    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9639    # Insert the option either (1) after the last *FLAGS variable, or
9640    # (2) before a word containing "conftest.", or (3) at the end.
9641    # Note that $ac_compile itself does not contain backslashes and begins
9642    # with a dollar sign (not a hyphen), so the echo should work correctly.
9643    # The option is referenced via a variable to avoid confusing sed.
9644    lt_compile=`echo "$ac_compile" | $SED \
9645    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9646    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9647    -e 's:$: $lt_compiler_flag:'`
9648    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9649    (eval "$lt_compile" 2>conftest.err)
9650    ac_status=$?
9651    cat conftest.err >&5
9652    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653    if (exit $ac_status) && test -s "$ac_outfile"; then
9654      # The compiler can only warn and ignore the option if not recognized
9655      # So say no if there are warnings other than the usual output.
9656      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9657      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9658      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9659        lt_cv_prog_compiler_pic_works=yes
9660      fi
9661    fi
9662    $RM conftest*
9663
9664 fi
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9666 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9667
9668 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9669     case $lt_prog_compiler_pic in
9670      "" | " "*) ;;
9671      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9672      esac
9673 else
9674     lt_prog_compiler_pic=
9675      lt_prog_compiler_can_build_shared=no
9676 fi
9677
9678 fi
9679
9680
9681
9682
9683
9684
9685 #
9686 # Check to make sure the static flag actually works.
9687 #
9688 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9690 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9691 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9692   $as_echo_n "(cached) " >&6
9693 else
9694   lt_cv_prog_compiler_static_works=no
9695    save_LDFLAGS="$LDFLAGS"
9696    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9697    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9698    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9699      # The linker can only warn and ignore the option if not recognized
9700      # So say no if there are warnings
9701      if test -s conftest.err; then
9702        # Append any errors to the config.log.
9703        cat conftest.err 1>&5
9704        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9705        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9706        if diff conftest.exp conftest.er2 >/dev/null; then
9707          lt_cv_prog_compiler_static_works=yes
9708        fi
9709      else
9710        lt_cv_prog_compiler_static_works=yes
9711      fi
9712    fi
9713    $RM -r conftest*
9714    LDFLAGS="$save_LDFLAGS"
9715
9716 fi
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9718 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9719
9720 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9721     :
9722 else
9723     lt_prog_compiler_static=
9724 fi
9725
9726
9727
9728
9729
9730
9731
9732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9734 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9735   $as_echo_n "(cached) " >&6
9736 else
9737   lt_cv_prog_compiler_c_o=no
9738    $RM -r conftest 2>/dev/null
9739    mkdir conftest
9740    cd conftest
9741    mkdir out
9742    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9743
9744    lt_compiler_flag="-o out/conftest2.$ac_objext"
9745    # Insert the option either (1) after the last *FLAGS variable, or
9746    # (2) before a word containing "conftest.", or (3) at the end.
9747    # Note that $ac_compile itself does not contain backslashes and begins
9748    # with a dollar sign (not a hyphen), so the echo should work correctly.
9749    lt_compile=`echo "$ac_compile" | $SED \
9750    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9751    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9752    -e 's:$: $lt_compiler_flag:'`
9753    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9754    (eval "$lt_compile" 2>out/conftest.err)
9755    ac_status=$?
9756    cat out/conftest.err >&5
9757    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9759    then
9760      # The compiler can only warn and ignore the option if not recognized
9761      # So say no if there are warnings
9762      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9763      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9764      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9765        lt_cv_prog_compiler_c_o=yes
9766      fi
9767    fi
9768    chmod u+w . 2>&5
9769    $RM conftest*
9770    # SGI C++ compiler will create directory out/ii_files/ for
9771    # template instantiation
9772    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9773    $RM out/* && rmdir out
9774    cd ..
9775    $RM -r conftest
9776    $RM conftest*
9777
9778 fi
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9780 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9781
9782
9783
9784
9785
9786
9787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9788 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9789 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9790   $as_echo_n "(cached) " >&6
9791 else
9792   lt_cv_prog_compiler_c_o=no
9793    $RM -r conftest 2>/dev/null
9794    mkdir conftest
9795    cd conftest
9796    mkdir out
9797    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9798
9799    lt_compiler_flag="-o out/conftest2.$ac_objext"
9800    # Insert the option either (1) after the last *FLAGS variable, or
9801    # (2) before a word containing "conftest.", or (3) at the end.
9802    # Note that $ac_compile itself does not contain backslashes and begins
9803    # with a dollar sign (not a hyphen), so the echo should work correctly.
9804    lt_compile=`echo "$ac_compile" | $SED \
9805    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9806    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9807    -e 's:$: $lt_compiler_flag:'`
9808    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9809    (eval "$lt_compile" 2>out/conftest.err)
9810    ac_status=$?
9811    cat out/conftest.err >&5
9812    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9814    then
9815      # The compiler can only warn and ignore the option if not recognized
9816      # So say no if there are warnings
9817      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9818      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9819      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9820        lt_cv_prog_compiler_c_o=yes
9821      fi
9822    fi
9823    chmod u+w . 2>&5
9824    $RM conftest*
9825    # SGI C++ compiler will create directory out/ii_files/ for
9826    # template instantiation
9827    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9828    $RM out/* && rmdir out
9829    cd ..
9830    $RM -r conftest
9831    $RM conftest*
9832
9833 fi
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9835 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9836
9837
9838
9839
9840 hard_links="nottested"
9841 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9842   # do not overwrite the value of need_locks provided by the user
9843   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9844 $as_echo_n "checking if we can lock with hard links... " >&6; }
9845   hard_links=yes
9846   $RM conftest*
9847   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9848   touch conftest.a
9849   ln conftest.a conftest.b 2>&5 || hard_links=no
9850   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9852 $as_echo "$hard_links" >&6; }
9853   if test "$hard_links" = no; then
9854     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9855 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9856     need_locks=warn
9857   fi
9858 else
9859   need_locks=no
9860 fi
9861
9862
9863
9864
9865
9866
9867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9868 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9869
9870   runpath_var=
9871   allow_undefined_flag=
9872   always_export_symbols=no
9873   archive_cmds=
9874   archive_expsym_cmds=
9875   compiler_needs_object=no
9876   enable_shared_with_static_runtimes=no
9877   export_dynamic_flag_spec=
9878   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9879   hardcode_automatic=no
9880   hardcode_direct=no
9881   hardcode_direct_absolute=no
9882   hardcode_libdir_flag_spec=
9883   hardcode_libdir_flag_spec_ld=
9884   hardcode_libdir_separator=
9885   hardcode_minus_L=no
9886   hardcode_shlibpath_var=unsupported
9887   inherit_rpath=no
9888   link_all_deplibs=unknown
9889   module_cmds=
9890   module_expsym_cmds=
9891   old_archive_from_new_cmds=
9892   old_archive_from_expsyms_cmds=
9893   thread_safe_flag_spec=
9894   whole_archive_flag_spec=
9895   # include_expsyms should be a list of space-separated symbols to be *always*
9896   # included in the symbol list
9897   include_expsyms=
9898   # exclude_expsyms can be an extended regexp of symbols to exclude
9899   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9900   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9901   # as well as any symbol that contains `d'.
9902   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9903   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9904   # platforms (ab)use it in PIC code, but their linkers get confused if
9905   # the symbol is explicitly referenced.  Since portable code cannot
9906   # rely on this symbol name, it's probably fine to never include it in
9907   # preloaded symbol tables.
9908   # Exclude shared library initialization/finalization symbols.
9909   extract_expsyms_cmds=
9910
9911   case $host_os in
9912   cygwin* | mingw* | pw32* | cegcc*)
9913     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9914     # When not using gcc, we currently assume that we are using
9915     # Microsoft Visual C++.
9916     if test "$GCC" != yes; then
9917       with_gnu_ld=no
9918     fi
9919     ;;
9920   interix*)
9921     # we just hope/assume this is gcc and not c89 (= MSVC++)
9922     with_gnu_ld=yes
9923     ;;
9924   openbsd*)
9925     with_gnu_ld=no
9926     ;;
9927   esac
9928
9929   ld_shlibs=yes
9930
9931   # On some targets, GNU ld is compatible enough with the native linker
9932   # that we're better off using the native interface for both.
9933   lt_use_gnu_ld_interface=no
9934   if test "$with_gnu_ld" = yes; then
9935     case $host_os in
9936       aix*)
9937         # The AIX port of GNU ld has always aspired to compatibility
9938         # with the native linker.  However, as the warning in the GNU ld
9939         # block says, versions before 2.19.5* couldn't really create working
9940         # shared libraries, regardless of the interface used.
9941         case `$LD -v 2>&1` in
9942           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9943           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9944           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9945           *)
9946             lt_use_gnu_ld_interface=yes
9947             ;;
9948         esac
9949         ;;
9950       *)
9951         lt_use_gnu_ld_interface=yes
9952         ;;
9953     esac
9954   fi
9955
9956   if test "$lt_use_gnu_ld_interface" = yes; then
9957     # If archive_cmds runs LD, not CC, wlarc should be empty
9958     wlarc='${wl}'
9959
9960     # Set some defaults for GNU ld with shared library support. These
9961     # are reset later if shared libraries are not supported. Putting them
9962     # here allows them to be overridden if necessary.
9963     runpath_var=LD_RUN_PATH
9964     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9965     export_dynamic_flag_spec='${wl}--export-dynamic'
9966     # ancient GNU ld didn't support --whole-archive et. al.
9967     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9968       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9969     else
9970       whole_archive_flag_spec=
9971     fi
9972     supports_anon_versioning=no
9973     case `$LD -v 2>&1` in
9974       *GNU\ gold*) supports_anon_versioning=yes ;;
9975       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9976       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9977       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9978       *\ 2.11.*) ;; # other 2.11 versions
9979       *) supports_anon_versioning=yes ;;
9980     esac
9981
9982     # See if GNU ld supports shared libraries.
9983     case $host_os in
9984     aix[3-9]*)
9985       # On AIX/PPC, the GNU linker is very broken
9986       if test "$host_cpu" != ia64; then
9987         ld_shlibs=no
9988         cat <<_LT_EOF 1>&2
9989
9990 *** Warning: the GNU linker, at least up to release 2.19, is reported
9991 *** to be unable to reliably create shared libraries on AIX.
9992 *** Therefore, libtool is disabling shared libraries support.  If you
9993 *** really care for shared libraries, you may want to install binutils
9994 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9995 *** You will then need to restart the configuration process.
9996
9997 _LT_EOF
9998       fi
9999       ;;
10000
10001     amigaos*)
10002       case $host_cpu in
10003       powerpc)
10004             # see comment about AmigaOS4 .so support
10005             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10006             archive_expsym_cmds=''
10007         ;;
10008       m68k)
10009             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)'
10010             hardcode_libdir_flag_spec='-L$libdir'
10011             hardcode_minus_L=yes
10012         ;;
10013       esac
10014       ;;
10015
10016     beos*)
10017       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10018         allow_undefined_flag=unsupported
10019         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10020         # support --undefined.  This deserves some investigation.  FIXME
10021         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10022       else
10023         ld_shlibs=no
10024       fi
10025       ;;
10026
10027     cygwin* | mingw* | pw32* | cegcc*)
10028       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10029       # as there is no search path for DLLs.
10030       hardcode_libdir_flag_spec='-L$libdir'
10031       export_dynamic_flag_spec='${wl}--export-all-symbols'
10032       allow_undefined_flag=unsupported
10033       always_export_symbols=no
10034       enable_shared_with_static_runtimes=yes
10035       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10036
10037       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10038         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10039         # If the export-symbols file already is a .def file (1st line
10040         # is EXPORTS), use it as is; otherwise, prepend...
10041         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10042           cp $export_symbols $output_objdir/$soname.def;
10043         else
10044           echo EXPORTS > $output_objdir/$soname.def;
10045           cat $export_symbols >> $output_objdir/$soname.def;
10046         fi~
10047         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10048       else
10049         ld_shlibs=no
10050       fi
10051       ;;
10052
10053     haiku*)
10054       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10055       link_all_deplibs=yes
10056       ;;
10057
10058     interix[3-9]*)
10059       hardcode_direct=no
10060       hardcode_shlibpath_var=no
10061       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10062       export_dynamic_flag_spec='${wl}-E'
10063       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10064       # Instead, shared libraries are loaded at an image base (0x10000000 by
10065       # default) and relocated if they conflict, which is a slow very memory
10066       # consuming and fragmenting process.  To avoid this, we pick a random,
10067       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10068       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10069       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10070       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'
10071       ;;
10072
10073     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10074       tmp_diet=no
10075       if test "$host_os" = linux-dietlibc; then
10076         case $cc_basename in
10077           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10078         esac
10079       fi
10080       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10081          && test "$tmp_diet" = no
10082       then
10083         tmp_addflag=
10084         tmp_sharedflag='-shared'
10085         case $cc_basename,$host_cpu in
10086         pgcc*)                          # Portland Group C compiler
10087           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'
10088           tmp_addflag=' $pic_flag'
10089           ;;
10090         pgf77* | pgf90* | pgf95* | pgfortran*)
10091                                         # Portland Group f77 and f90 compilers
10092           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'
10093           tmp_addflag=' $pic_flag -Mnomain' ;;
10094         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10095           tmp_addflag=' -i_dynamic' ;;
10096         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10097           tmp_addflag=' -i_dynamic -nofor_main' ;;
10098         ifc* | ifort*)                  # Intel Fortran compiler
10099           tmp_addflag=' -nofor_main' ;;
10100         lf95*)                          # Lahey Fortran 8.1
10101           whole_archive_flag_spec=
10102           tmp_sharedflag='--shared' ;;
10103         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10104           tmp_sharedflag='-qmkshrobj'
10105           tmp_addflag= ;;
10106         nvcc*)  # Cuda Compiler Driver 2.2
10107           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'
10108           compiler_needs_object=yes
10109           ;;
10110         esac
10111         case `$CC -V 2>&1 | sed 5q` in
10112         *Sun\ C*)                       # Sun C 5.9
10113           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'
10114           compiler_needs_object=yes
10115           tmp_sharedflag='-G' ;;
10116         *Sun\ F*)                       # Sun Fortran 8.3
10117           tmp_sharedflag='-G' ;;
10118         esac
10119         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10120
10121         if test "x$supports_anon_versioning" = xyes; then
10122           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10123             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10124             echo "local: *; };" >> $output_objdir/$libname.ver~
10125             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10126         fi
10127
10128         case $cc_basename in
10129         xlf* | bgf* | bgxlf* | mpixlf*)
10130           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10131           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10132           hardcode_libdir_flag_spec=
10133           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10134           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10135           if test "x$supports_anon_versioning" = xyes; then
10136             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10137               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10138               echo "local: *; };" >> $output_objdir/$libname.ver~
10139               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10140           fi
10141           ;;
10142         esac
10143       else
10144         ld_shlibs=no
10145       fi
10146       ;;
10147
10148     netbsd*)
10149       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10150         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10151         wlarc=
10152       else
10153         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10154         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10155       fi
10156       ;;
10157
10158     solaris*)
10159       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10160         ld_shlibs=no
10161         cat <<_LT_EOF 1>&2
10162
10163 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10164 *** create shared libraries on Solaris systems.  Therefore, libtool
10165 *** is disabling shared libraries support.  We urge you to upgrade GNU
10166 *** binutils to release 2.9.1 or newer.  Another option is to modify
10167 *** your PATH or compiler configuration so that the native linker is
10168 *** used, and then restart.
10169
10170 _LT_EOF
10171       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10172         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10173         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10174       else
10175         ld_shlibs=no
10176       fi
10177       ;;
10178
10179     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10180       case `$LD -v 2>&1` in
10181         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10182         ld_shlibs=no
10183         cat <<_LT_EOF 1>&2
10184
10185 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10186 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10187 *** is disabling shared libraries support.  We urge you to upgrade GNU
10188 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10189 *** your PATH or compiler configuration so that the native linker is
10190 *** used, and then restart.
10191
10192 _LT_EOF
10193         ;;
10194         *)
10195           # For security reasons, it is highly recommended that you always
10196           # use absolute paths for naming shared libraries, and exclude the
10197           # DT_RUNPATH tag from executables and libraries.  But doing so
10198           # requires that you compile everything twice, which is a pain.
10199           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10200             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10201             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10202             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10203           else
10204             ld_shlibs=no
10205           fi
10206         ;;
10207       esac
10208       ;;
10209
10210     sunos4*)
10211       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10212       wlarc=
10213       hardcode_direct=yes
10214       hardcode_shlibpath_var=no
10215       ;;
10216
10217     *)
10218       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10219         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10220         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10221       else
10222         ld_shlibs=no
10223       fi
10224       ;;
10225     esac
10226
10227     if test "$ld_shlibs" = no; then
10228       runpath_var=
10229       hardcode_libdir_flag_spec=
10230       export_dynamic_flag_spec=
10231       whole_archive_flag_spec=
10232     fi
10233   else
10234     # PORTME fill in a description of your system's linker (not GNU ld)
10235     case $host_os in
10236     aix3*)
10237       allow_undefined_flag=unsupported
10238       always_export_symbols=yes
10239       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'
10240       # Note: this linker hardcodes the directories in LIBPATH if there
10241       # are no directories specified by -L.
10242       hardcode_minus_L=yes
10243       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10244         # Neither direct hardcoding nor static linking is supported with a
10245         # broken collect2.
10246         hardcode_direct=unsupported
10247       fi
10248       ;;
10249
10250     aix[4-9]*)
10251       if test "$host_cpu" = ia64; then
10252         # On IA64, the linker does run time linking by default, so we don't
10253         # have to do anything special.
10254         aix_use_runtimelinking=no
10255         exp_sym_flag='-Bexport'
10256         no_entry_flag=""
10257       else
10258         # If we're using GNU nm, then we don't want the "-C" option.
10259         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10260         # Also, AIX nm treats weak defined symbols like other global
10261         # defined symbols, whereas GNU nm marks them as "W".
10262         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10263           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'
10264         else
10265           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'
10266         fi
10267         aix_use_runtimelinking=no
10268
10269         # Test if we are trying to use run time linking or normal
10270         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10271         # need to do runtime linking.
10272         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10273           for ld_flag in $LDFLAGS; do
10274           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10275             aix_use_runtimelinking=yes
10276             break
10277           fi
10278           done
10279           ;;
10280         esac
10281
10282         exp_sym_flag='-bexport'
10283         no_entry_flag='-bnoentry'
10284       fi
10285
10286       # When large executables or shared objects are built, AIX ld can
10287       # have problems creating the table of contents.  If linking a library
10288       # or program results in "error TOC overflow" add -mminimal-toc to
10289       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10290       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10291
10292       archive_cmds=''
10293       hardcode_direct=yes
10294       hardcode_direct_absolute=yes
10295       hardcode_libdir_separator=':'
10296       link_all_deplibs=yes
10297       file_list_spec='${wl}-f,'
10298
10299       if test "$GCC" = yes; then
10300         case $host_os in aix4.[012]|aix4.[012].*)
10301         # We only want to do this on AIX 4.2 and lower, the check
10302         # below for broken collect2 doesn't work under 4.3+
10303           collect2name=`${CC} -print-prog-name=collect2`
10304           if test -f "$collect2name" &&
10305            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10306           then
10307           # We have reworked collect2
10308           :
10309           else
10310           # We have old collect2
10311           hardcode_direct=unsupported
10312           # It fails to find uninstalled libraries when the uninstalled
10313           # path is not listed in the libpath.  Setting hardcode_minus_L
10314           # to unsupported forces relinking
10315           hardcode_minus_L=yes
10316           hardcode_libdir_flag_spec='-L$libdir'
10317           hardcode_libdir_separator=
10318           fi
10319           ;;
10320         esac
10321         shared_flag='-shared'
10322         if test "$aix_use_runtimelinking" = yes; then
10323           shared_flag="$shared_flag "'${wl}-G'
10324         fi
10325       else
10326         # not using gcc
10327         if test "$host_cpu" = ia64; then
10328         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10329         # chokes on -Wl,-G. The following line is correct:
10330           shared_flag='-G'
10331         else
10332           if test "$aix_use_runtimelinking" = yes; then
10333             shared_flag='${wl}-G'
10334           else
10335             shared_flag='${wl}-bM:SRE'
10336           fi
10337         fi
10338       fi
10339
10340       export_dynamic_flag_spec='${wl}-bexpall'
10341       # It seems that -bexpall does not export symbols beginning with
10342       # underscore (_), so it is better to generate a list of symbols to export.
10343       always_export_symbols=yes
10344       if test "$aix_use_runtimelinking" = yes; then
10345         # Warning - without using the other runtime loading flags (-brtl),
10346         # -berok will link without error, but may produce a broken library.
10347         allow_undefined_flag='-berok'
10348         # Determine the default libpath from the value encoded in an
10349         # empty executable.
10350         if test x$gcc_no_link = xyes; then
10351   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10352 fi
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h.  */
10355
10356 int
10357 main ()
10358 {
10359
10360   ;
10361   return 0;
10362 }
10363 _ACEOF
10364 if ac_fn_c_try_link "$LINENO"; then :
10365
10366 lt_aix_libpath_sed='
10367     /Import File Strings/,/^$/ {
10368         /^0/ {
10369             s/^0  *\(.*\)$/\1/
10370             p
10371         }
10372     }'
10373 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10374 # Check for a 64-bit object if we didn't find anything.
10375 if test -z "$aix_libpath"; then
10376   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10377 fi
10378 fi
10379 rm -f core conftest.err conftest.$ac_objext \
10380     conftest$ac_exeext conftest.$ac_ext
10381 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10382
10383         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10384         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"
10385       else
10386         if test "$host_cpu" = ia64; then
10387           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10388           allow_undefined_flag="-z nodefs"
10389           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"
10390         else
10391          # Determine the default libpath from the value encoded in an
10392          # empty executable.
10393          if test x$gcc_no_link = xyes; then
10394   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10395 fi
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h.  */
10398
10399 int
10400 main ()
10401 {
10402
10403   ;
10404   return 0;
10405 }
10406 _ACEOF
10407 if ac_fn_c_try_link "$LINENO"; then :
10408
10409 lt_aix_libpath_sed='
10410     /Import File Strings/,/^$/ {
10411         /^0/ {
10412             s/^0  *\(.*\)$/\1/
10413             p
10414         }
10415     }'
10416 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10417 # Check for a 64-bit object if we didn't find anything.
10418 if test -z "$aix_libpath"; then
10419   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10420 fi
10421 fi
10422 rm -f core conftest.err conftest.$ac_objext \
10423     conftest$ac_exeext conftest.$ac_ext
10424 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10425
10426          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10427           # Warning - without using the other run time loading flags,
10428           # -berok will link without error, but may produce a broken library.
10429           no_undefined_flag=' ${wl}-bernotok'
10430           allow_undefined_flag=' ${wl}-berok'
10431           if test "$with_gnu_ld" = yes; then
10432             # We only use this code for GNU lds that support --whole-archive.
10433             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10434           else
10435             # Exported symbols can be pulled into shared objects from archives
10436             whole_archive_flag_spec='$convenience'
10437           fi
10438           archive_cmds_need_lc=yes
10439           # This is similar to how AIX traditionally builds its shared libraries.
10440           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'
10441         fi
10442       fi
10443       ;;
10444
10445     amigaos*)
10446       case $host_cpu in
10447       powerpc)
10448             # see comment about AmigaOS4 .so support
10449             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10450             archive_expsym_cmds=''
10451         ;;
10452       m68k)
10453             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)'
10454             hardcode_libdir_flag_spec='-L$libdir'
10455             hardcode_minus_L=yes
10456         ;;
10457       esac
10458       ;;
10459
10460     bsdi[45]*)
10461       export_dynamic_flag_spec=-rdynamic
10462       ;;
10463
10464     cygwin* | mingw* | pw32* | cegcc*)
10465       # When not using gcc, we currently assume that we are using
10466       # Microsoft Visual C++.
10467       # hardcode_libdir_flag_spec is actually meaningless, as there is
10468       # no search path for DLLs.
10469       hardcode_libdir_flag_spec=' '
10470       allow_undefined_flag=unsupported
10471       # Tell ltmain to make .lib files, not .a files.
10472       libext=lib
10473       # Tell ltmain to make .dll files, not .so files.
10474       shrext_cmds=".dll"
10475       # FIXME: Setting linknames here is a bad hack.
10476       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10477       # The linker will automatically build a .lib file if we build a DLL.
10478       old_archive_from_new_cmds='true'
10479       # FIXME: Should let the user specify the lib program.
10480       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10481       fix_srcfile_path='`cygpath -w "$srcfile"`'
10482       enable_shared_with_static_runtimes=yes
10483       ;;
10484
10485     darwin* | rhapsody*)
10486
10487
10488   archive_cmds_need_lc=no
10489   hardcode_direct=no
10490   hardcode_automatic=yes
10491   hardcode_shlibpath_var=unsupported
10492   if test "$lt_cv_ld_force_load" = "yes"; then
10493     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\"`'
10494   else
10495     whole_archive_flag_spec=''
10496   fi
10497   link_all_deplibs=yes
10498   allow_undefined_flag="$_lt_dar_allow_undefined"
10499   case $cc_basename in
10500      ifort*) _lt_dar_can_shared=yes ;;
10501      *) _lt_dar_can_shared=$GCC ;;
10502   esac
10503   if test "$_lt_dar_can_shared" = "yes"; then
10504     output_verbose_link_cmd=func_echo_all
10505     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10506     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10507     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}"
10508     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}"
10509
10510   else
10511   ld_shlibs=no
10512   fi
10513
10514       ;;
10515
10516     dgux*)
10517       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10518       hardcode_libdir_flag_spec='-L$libdir'
10519       hardcode_shlibpath_var=no
10520       ;;
10521
10522     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10523     # support.  Future versions do this automatically, but an explicit c++rt0.o
10524     # does not break anything, and helps significantly (at the cost of a little
10525     # extra space).
10526     freebsd2.2*)
10527       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10528       hardcode_libdir_flag_spec='-R$libdir'
10529       hardcode_direct=yes
10530       hardcode_shlibpath_var=no
10531       ;;
10532
10533     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10534     freebsd2.*)
10535       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10536       hardcode_direct=yes
10537       hardcode_minus_L=yes
10538       hardcode_shlibpath_var=no
10539       ;;
10540
10541     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10542     freebsd* | dragonfly*)
10543       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10544       hardcode_libdir_flag_spec='-R$libdir'
10545       hardcode_direct=yes
10546       hardcode_shlibpath_var=no
10547       ;;
10548
10549     hpux9*)
10550       if test "$GCC" = yes; then
10551         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'
10552       else
10553         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'
10554       fi
10555       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10556       hardcode_libdir_separator=:
10557       hardcode_direct=yes
10558
10559       # hardcode_minus_L: Not really in the search PATH,
10560       # but as the default location of the library.
10561       hardcode_minus_L=yes
10562       export_dynamic_flag_spec='${wl}-E'
10563       ;;
10564
10565     hpux10*)
10566       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10567         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10568       else
10569         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10570       fi
10571       if test "$with_gnu_ld" = no; then
10572         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10573         hardcode_libdir_flag_spec_ld='+b $libdir'
10574         hardcode_libdir_separator=:
10575         hardcode_direct=yes
10576         hardcode_direct_absolute=yes
10577         export_dynamic_flag_spec='${wl}-E'
10578         # hardcode_minus_L: Not really in the search PATH,
10579         # but as the default location of the library.
10580         hardcode_minus_L=yes
10581       fi
10582       ;;
10583
10584     hpux11*)
10585       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10586         case $host_cpu in
10587         hppa*64*)
10588           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10589           ;;
10590         ia64*)
10591           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10592           ;;
10593         *)
10594           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10595           ;;
10596         esac
10597       else
10598         case $host_cpu in
10599         hppa*64*)
10600           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10601           ;;
10602         ia64*)
10603           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10604           ;;
10605         *)
10606
10607           # Older versions of the 11.00 compiler do not understand -b yet
10608           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10609           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10610 $as_echo_n "checking if $CC understands -b... " >&6; }
10611 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10612   $as_echo_n "(cached) " >&6
10613 else
10614   lt_cv_prog_compiler__b=no
10615    save_LDFLAGS="$LDFLAGS"
10616    LDFLAGS="$LDFLAGS -b"
10617    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10618    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10619      # The linker can only warn and ignore the option if not recognized
10620      # So say no if there are warnings
10621      if test -s conftest.err; then
10622        # Append any errors to the config.log.
10623        cat conftest.err 1>&5
10624        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10625        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10626        if diff conftest.exp conftest.er2 >/dev/null; then
10627          lt_cv_prog_compiler__b=yes
10628        fi
10629      else
10630        lt_cv_prog_compiler__b=yes
10631      fi
10632    fi
10633    $RM -r conftest*
10634    LDFLAGS="$save_LDFLAGS"
10635
10636 fi
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10638 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10639
10640 if test x"$lt_cv_prog_compiler__b" = xyes; then
10641     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10642 else
10643     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10644 fi
10645
10646           ;;
10647         esac
10648       fi
10649       if test "$with_gnu_ld" = no; then
10650         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10651         hardcode_libdir_separator=:
10652
10653         case $host_cpu in
10654         hppa*64*|ia64*)
10655           hardcode_direct=no
10656           hardcode_shlibpath_var=no
10657           ;;
10658         *)
10659           hardcode_direct=yes
10660           hardcode_direct_absolute=yes
10661           export_dynamic_flag_spec='${wl}-E'
10662
10663           # hardcode_minus_L: Not really in the search PATH,
10664           # but as the default location of the library.
10665           hardcode_minus_L=yes
10666           ;;
10667         esac
10668       fi
10669       ;;
10670
10671     irix5* | irix6* | nonstopux*)
10672       if test "$GCC" = yes; then
10673         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'
10674         # Try to use the -exported_symbol ld option, if it does not
10675         # work, assume that -exports_file does not work either and
10676         # implicitly export all symbols.
10677         save_LDFLAGS="$LDFLAGS"
10678         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10679         if test x$gcc_no_link = xyes; then
10680   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10681 fi
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h.  */
10684 int foo(void) {}
10685 _ACEOF
10686 if ac_fn_c_try_link "$LINENO"; then :
10687   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'
10688
10689 fi
10690 rm -f core conftest.err conftest.$ac_objext \
10691     conftest$ac_exeext conftest.$ac_ext
10692         LDFLAGS="$save_LDFLAGS"
10693       else
10694         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'
10695         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'
10696       fi
10697       archive_cmds_need_lc='no'
10698       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10699       hardcode_libdir_separator=:
10700       inherit_rpath=yes
10701       link_all_deplibs=yes
10702       ;;
10703
10704     netbsd*)
10705       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10706         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10707       else
10708         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10709       fi
10710       hardcode_libdir_flag_spec='-R$libdir'
10711       hardcode_direct=yes
10712       hardcode_shlibpath_var=no
10713       ;;
10714
10715     newsos6)
10716       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10717       hardcode_direct=yes
10718       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10719       hardcode_libdir_separator=:
10720       hardcode_shlibpath_var=no
10721       ;;
10722
10723     *nto* | *qnx*)
10724       ;;
10725
10726     openbsd*)
10727       if test -f /usr/libexec/ld.so; then
10728         hardcode_direct=yes
10729         hardcode_shlibpath_var=no
10730         hardcode_direct_absolute=yes
10731         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10732           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10733           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10734           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10735           export_dynamic_flag_spec='${wl}-E'
10736         else
10737           case $host_os in
10738            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10739              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10740              hardcode_libdir_flag_spec='-R$libdir'
10741              ;;
10742            *)
10743              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10744              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10745              ;;
10746           esac
10747         fi
10748       else
10749         ld_shlibs=no
10750       fi
10751       ;;
10752
10753     os2*)
10754       hardcode_libdir_flag_spec='-L$libdir'
10755       hardcode_minus_L=yes
10756       allow_undefined_flag=unsupported
10757       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'
10758       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10759       ;;
10760
10761     osf3*)
10762       if test "$GCC" = yes; then
10763         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10764         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'
10765       else
10766         allow_undefined_flag=' -expect_unresolved \*'
10767         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'
10768       fi
10769       archive_cmds_need_lc='no'
10770       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10771       hardcode_libdir_separator=:
10772       ;;
10773
10774     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10775       if test "$GCC" = yes; then
10776         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10777         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'
10778         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10779       else
10780         allow_undefined_flag=' -expect_unresolved \*'
10781         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'
10782         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~
10783         $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'
10784
10785         # Both c and cxx compiler support -rpath directly
10786         hardcode_libdir_flag_spec='-rpath $libdir'
10787       fi
10788       archive_cmds_need_lc='no'
10789       hardcode_libdir_separator=:
10790       ;;
10791
10792     solaris*)
10793       no_undefined_flag=' -z defs'
10794       if test "$GCC" = yes; then
10795         wlarc='${wl}'
10796         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10797         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10798           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10799       else
10800         case `$CC -V 2>&1` in
10801         *"Compilers 5.0"*)
10802           wlarc=''
10803           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10804           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10805           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10806           ;;
10807         *)
10808           wlarc='${wl}'
10809           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10810           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10811           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10812           ;;
10813         esac
10814       fi
10815       hardcode_libdir_flag_spec='-R$libdir'
10816       hardcode_shlibpath_var=no
10817       case $host_os in
10818       solaris2.[0-5] | solaris2.[0-5].*) ;;
10819       *)
10820         # The compiler driver will combine and reorder linker options,
10821         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10822         # but is careful enough not to reorder.
10823         # Supported since Solaris 2.6 (maybe 2.5.1?)
10824         if test "$GCC" = yes; then
10825           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10826         else
10827           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10828         fi
10829         ;;
10830       esac
10831       link_all_deplibs=yes
10832       ;;
10833
10834     sunos4*)
10835       if test "x$host_vendor" = xsequent; then
10836         # Use $CC to link under sequent, because it throws in some extra .o
10837         # files that make .init and .fini sections work.
10838         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10839       else
10840         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10841       fi
10842       hardcode_libdir_flag_spec='-L$libdir'
10843       hardcode_direct=yes
10844       hardcode_minus_L=yes
10845       hardcode_shlibpath_var=no
10846       ;;
10847
10848     sysv4)
10849       case $host_vendor in
10850         sni)
10851           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10852           hardcode_direct=yes # is this really true???
10853         ;;
10854         siemens)
10855           ## LD is ld it makes a PLAMLIB
10856           ## CC just makes a GrossModule.
10857           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10858           reload_cmds='$CC -r -o $output$reload_objs'
10859           hardcode_direct=no
10860         ;;
10861         motorola)
10862           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10863           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10864         ;;
10865       esac
10866       runpath_var='LD_RUN_PATH'
10867       hardcode_shlibpath_var=no
10868       ;;
10869
10870     sysv4.3*)
10871       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10872       hardcode_shlibpath_var=no
10873       export_dynamic_flag_spec='-Bexport'
10874       ;;
10875
10876     sysv4*MP*)
10877       if test -d /usr/nec; then
10878         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10879         hardcode_shlibpath_var=no
10880         runpath_var=LD_RUN_PATH
10881         hardcode_runpath_var=yes
10882         ld_shlibs=yes
10883       fi
10884       ;;
10885
10886     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10887       no_undefined_flag='${wl}-z,text'
10888       archive_cmds_need_lc=no
10889       hardcode_shlibpath_var=no
10890       runpath_var='LD_RUN_PATH'
10891
10892       if test "$GCC" = yes; then
10893         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10894         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10895       else
10896         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10897         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10898       fi
10899       ;;
10900
10901     sysv5* | sco3.2v5* | sco5v6*)
10902       # Note: We can NOT use -z defs as we might desire, because we do not
10903       # link with -lc, and that would cause any symbols used from libc to
10904       # always be unresolved, which means just about no library would
10905       # ever link correctly.  If we're not using GNU ld we use -z text
10906       # though, which does catch some bad symbols but isn't as heavy-handed
10907       # as -z defs.
10908       no_undefined_flag='${wl}-z,text'
10909       allow_undefined_flag='${wl}-z,nodefs'
10910       archive_cmds_need_lc=no
10911       hardcode_shlibpath_var=no
10912       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10913       hardcode_libdir_separator=':'
10914       link_all_deplibs=yes
10915       export_dynamic_flag_spec='${wl}-Bexport'
10916       runpath_var='LD_RUN_PATH'
10917
10918       if test "$GCC" = yes; then
10919         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10920         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10921       else
10922         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10923         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10924       fi
10925       ;;
10926
10927     uts4*)
10928       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10929       hardcode_libdir_flag_spec='-L$libdir'
10930       hardcode_shlibpath_var=no
10931       ;;
10932
10933     *)
10934       ld_shlibs=no
10935       ;;
10936     esac
10937
10938     if test x$host_vendor = xsni; then
10939       case $host in
10940       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10941         export_dynamic_flag_spec='${wl}-Blargedynsym'
10942         ;;
10943       esac
10944     fi
10945   fi
10946
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10948 $as_echo "$ld_shlibs" >&6; }
10949 test "$ld_shlibs" = no && can_build_shared=no
10950
10951 with_gnu_ld=$with_gnu_ld
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967 #
10968 # Do we need to explicitly link libc?
10969 #
10970 case "x$archive_cmds_need_lc" in
10971 x|xyes)
10972   # Assume -lc should be added
10973   archive_cmds_need_lc=yes
10974
10975   if test "$enable_shared" = yes && test "$GCC" = yes; then
10976     case $archive_cmds in
10977     *'~'*)
10978       # FIXME: we may have to deal with multi-command sequences.
10979       ;;
10980     '$CC '*)
10981       # Test whether the compiler implicitly links with -lc since on some
10982       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10983       # to ld, don't add -lc before -lgcc.
10984       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10985 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10986 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10987   $as_echo_n "(cached) " >&6
10988 else
10989   $RM conftest*
10990         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10991
10992         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10993   (eval $ac_compile) 2>&5
10994   ac_status=$?
10995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10996   test $ac_status = 0; } 2>conftest.err; then
10997           soname=conftest
10998           lib=conftest
10999           libobjs=conftest.$ac_objext
11000           deplibs=
11001           wl=$lt_prog_compiler_wl
11002           pic_flag=$lt_prog_compiler_pic
11003           compiler_flags=-v
11004           linker_flags=-v
11005           verstring=
11006           output_objdir=.
11007           libname=conftest
11008           lt_save_allow_undefined_flag=$allow_undefined_flag
11009           allow_undefined_flag=
11010           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11011   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11012   ac_status=$?
11013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11014   test $ac_status = 0; }
11015           then
11016             lt_cv_archive_cmds_need_lc=no
11017           else
11018             lt_cv_archive_cmds_need_lc=yes
11019           fi
11020           allow_undefined_flag=$lt_save_allow_undefined_flag
11021         else
11022           cat conftest.err 1>&5
11023         fi
11024         $RM conftest*
11025
11026 fi
11027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11028 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11029       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11030       ;;
11031     esac
11032   fi
11033   ;;
11034 esac
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11193 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11194
11195 if test "$GCC" = yes; then
11196   case $host_os in
11197     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11198     *) lt_awk_arg="/^libraries:/" ;;
11199   esac
11200   case $host_os in
11201     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11202     *) lt_sed_strip_eq="s,=/,/,g" ;;
11203   esac
11204   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11205   case $lt_search_path_spec in
11206   *\;*)
11207     # if the path contains ";" then we assume it to be the separator
11208     # otherwise default to the standard path separator (i.e. ":") - it is
11209     # assumed that no part of a normal pathname contains ";" but that should
11210     # okay in the real world where ";" in dirpaths is itself problematic.
11211     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11212     ;;
11213   *)
11214     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11215     ;;
11216   esac
11217   # Ok, now we have the path, separated by spaces, we can step through it
11218   # and add multilib dir if necessary.
11219   lt_tmp_lt_search_path_spec=
11220   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11221   for lt_sys_path in $lt_search_path_spec; do
11222     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11223       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11224     else
11225       test -d "$lt_sys_path" && \
11226         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11227     fi
11228   done
11229   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11230 BEGIN {RS=" "; FS="/|\n";} {
11231   lt_foo="";
11232   lt_count=0;
11233   for (lt_i = NF; lt_i > 0; lt_i--) {
11234     if ($lt_i != "" && $lt_i != ".") {
11235       if ($lt_i == "..") {
11236         lt_count++;
11237       } else {
11238         if (lt_count == 0) {
11239           lt_foo="/" $lt_i lt_foo;
11240         } else {
11241           lt_count--;
11242         }
11243       }
11244     }
11245   }
11246   if (lt_foo != "") { lt_freq[lt_foo]++; }
11247   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11248 }'`
11249   # AWK program above erroneously prepends '/' to C:/dos/paths
11250   # for these hosts.
11251   case $host_os in
11252     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11253       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11254   esac
11255   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11256 else
11257   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11258 fi
11259 library_names_spec=
11260 libname_spec='lib$name'
11261 soname_spec=
11262 shrext_cmds=".so"
11263 postinstall_cmds=
11264 postuninstall_cmds=
11265 finish_cmds=
11266 finish_eval=
11267 shlibpath_var=
11268 shlibpath_overrides_runpath=unknown
11269 version_type=none
11270 dynamic_linker="$host_os ld.so"
11271 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11272 need_lib_prefix=unknown
11273 hardcode_into_libs=no
11274
11275 # when you set need_version to no, make sure it does not cause -set_version
11276 # flags to be left without arguments
11277 need_version=unknown
11278
11279 case $host_os in
11280 aix3*)
11281   version_type=linux
11282   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11283   shlibpath_var=LIBPATH
11284
11285   # AIX 3 has no versioning support, so we append a major version to the name.
11286   soname_spec='${libname}${release}${shared_ext}$major'
11287   ;;
11288
11289 aix[4-9]*)
11290   version_type=linux
11291   need_lib_prefix=no
11292   need_version=no
11293   hardcode_into_libs=yes
11294   if test "$host_cpu" = ia64; then
11295     # AIX 5 supports IA64
11296     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11297     shlibpath_var=LD_LIBRARY_PATH
11298   else
11299     # With GCC up to 2.95.x, collect2 would create an import file
11300     # for dependence libraries.  The import file would start with
11301     # the line `#! .'.  This would cause the generated library to
11302     # depend on `.', always an invalid library.  This was fixed in
11303     # development snapshots of GCC prior to 3.0.
11304     case $host_os in
11305       aix4 | aix4.[01] | aix4.[01].*)
11306       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11307            echo ' yes '
11308            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11309         :
11310       else
11311         can_build_shared=no
11312       fi
11313       ;;
11314     esac
11315     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11316     # soname into executable. Probably we can add versioning support to
11317     # collect2, so additional links can be useful in future.
11318     if test "$aix_use_runtimelinking" = yes; then
11319       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11320       # instead of lib<name>.a to let people know that these are not
11321       # typical AIX shared libraries.
11322       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323     else
11324       # We preserve .a as extension for shared libraries through AIX4.2
11325       # and later when we are not doing run time linking.
11326       library_names_spec='${libname}${release}.a $libname.a'
11327       soname_spec='${libname}${release}${shared_ext}$major'
11328     fi
11329     shlibpath_var=LIBPATH
11330   fi
11331   ;;
11332
11333 amigaos*)
11334   case $host_cpu in
11335   powerpc)
11336     # Since July 2007 AmigaOS4 officially supports .so libraries.
11337     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11338     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11339     ;;
11340   m68k)
11341     library_names_spec='$libname.ixlibrary $libname.a'
11342     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11343     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'
11344     ;;
11345   esac
11346   ;;
11347
11348 beos*)
11349   library_names_spec='${libname}${shared_ext}'
11350   dynamic_linker="$host_os ld.so"
11351   shlibpath_var=LIBRARY_PATH
11352   ;;
11353
11354 bsdi[45]*)
11355   version_type=linux
11356   need_version=no
11357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358   soname_spec='${libname}${release}${shared_ext}$major'
11359   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11360   shlibpath_var=LD_LIBRARY_PATH
11361   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11362   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11363   # the default ld.so.conf also contains /usr/contrib/lib and
11364   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11365   # libtool to hard-code these into programs
11366   ;;
11367
11368 cygwin* | mingw* | pw32* | cegcc*)
11369   version_type=windows
11370   shrext_cmds=".dll"
11371   need_version=no
11372   need_lib_prefix=no
11373
11374   case $GCC,$host_os in
11375   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11376     library_names_spec='$libname.dll.a'
11377     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11378     postinstall_cmds='base_file=`basename \${file}`~
11379       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11380       dldir=$destdir/`dirname \$dlpath`~
11381       test -d \$dldir || mkdir -p \$dldir~
11382       $install_prog $dir/$dlname \$dldir/$dlname~
11383       chmod a+x \$dldir/$dlname~
11384       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11385         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11386       fi'
11387     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11388       dlpath=$dir/\$dldll~
11389        $RM \$dlpath'
11390     shlibpath_overrides_runpath=yes
11391
11392     case $host_os in
11393     cygwin*)
11394       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11395       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11396
11397       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11398       ;;
11399     mingw* | cegcc*)
11400       # MinGW DLLs use traditional 'lib' prefix
11401       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11402       ;;
11403     pw32*)
11404       # pw32 DLLs use 'pw' prefix rather than 'lib'
11405       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11406       ;;
11407     esac
11408     ;;
11409
11410   *)
11411     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11412     ;;
11413   esac
11414   dynamic_linker='Win32 ld.exe'
11415   # FIXME: first we should search . and the directory the executable is in
11416   shlibpath_var=PATH
11417   ;;
11418
11419 darwin* | rhapsody*)
11420   dynamic_linker="$host_os dyld"
11421   version_type=darwin
11422   need_lib_prefix=no
11423   need_version=no
11424   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11425   soname_spec='${libname}${release}${major}$shared_ext'
11426   shlibpath_overrides_runpath=yes
11427   shlibpath_var=DYLD_LIBRARY_PATH
11428   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11429
11430   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11431   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11432   ;;
11433
11434 dgux*)
11435   version_type=linux
11436   need_lib_prefix=no
11437   need_version=no
11438   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11439   soname_spec='${libname}${release}${shared_ext}$major'
11440   shlibpath_var=LD_LIBRARY_PATH
11441   ;;
11442
11443 freebsd* | dragonfly*)
11444   # DragonFly does not have aout.  When/if they implement a new
11445   # versioning mechanism, adjust this.
11446   if test -x /usr/bin/objformat; then
11447     objformat=`/usr/bin/objformat`
11448   else
11449     case $host_os in
11450     freebsd[23].*) objformat=aout ;;
11451     *) objformat=elf ;;
11452     esac
11453   fi
11454   version_type=freebsd-$objformat
11455   case $version_type in
11456     freebsd-elf*)
11457       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11458       need_version=no
11459       need_lib_prefix=no
11460       ;;
11461     freebsd-*)
11462       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11463       need_version=yes
11464       ;;
11465   esac
11466   shlibpath_var=LD_LIBRARY_PATH
11467   case $host_os in
11468   freebsd2.*)
11469     shlibpath_overrides_runpath=yes
11470     ;;
11471   freebsd3.[01]* | freebsdelf3.[01]*)
11472     shlibpath_overrides_runpath=yes
11473     hardcode_into_libs=yes
11474     ;;
11475   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11476   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11477     shlibpath_overrides_runpath=no
11478     hardcode_into_libs=yes
11479     ;;
11480   *) # from 4.6 on, and DragonFly
11481     shlibpath_overrides_runpath=yes
11482     hardcode_into_libs=yes
11483     ;;
11484   esac
11485   ;;
11486
11487 gnu*)
11488   version_type=linux
11489   need_lib_prefix=no
11490   need_version=no
11491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11492   soname_spec='${libname}${release}${shared_ext}$major'
11493   shlibpath_var=LD_LIBRARY_PATH
11494   hardcode_into_libs=yes
11495   ;;
11496
11497 haiku*)
11498   version_type=linux
11499   need_lib_prefix=no
11500   need_version=no
11501   dynamic_linker="$host_os runtime_loader"
11502   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11503   soname_spec='${libname}${release}${shared_ext}$major'
11504   shlibpath_var=LIBRARY_PATH
11505   shlibpath_overrides_runpath=yes
11506   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11507   hardcode_into_libs=yes
11508   ;;
11509
11510 hpux9* | hpux10* | hpux11*)
11511   # Give a soname corresponding to the major version so that dld.sl refuses to
11512   # link against other versions.
11513   version_type=sunos
11514   need_lib_prefix=no
11515   need_version=no
11516   case $host_cpu in
11517   ia64*)
11518     shrext_cmds='.so'
11519     hardcode_into_libs=yes
11520     dynamic_linker="$host_os dld.so"
11521     shlibpath_var=LD_LIBRARY_PATH
11522     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524     soname_spec='${libname}${release}${shared_ext}$major'
11525     if test "X$HPUX_IA64_MODE" = X32; then
11526       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11527     else
11528       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11529     fi
11530     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11531     ;;
11532   hppa*64*)
11533     shrext_cmds='.sl'
11534     hardcode_into_libs=yes
11535     dynamic_linker="$host_os dld.sl"
11536     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11537     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11538     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11539     soname_spec='${libname}${release}${shared_ext}$major'
11540     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11541     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11542     ;;
11543   *)
11544     shrext_cmds='.sl'
11545     dynamic_linker="$host_os dld.sl"
11546     shlibpath_var=SHLIB_PATH
11547     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11548     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549     soname_spec='${libname}${release}${shared_ext}$major'
11550     ;;
11551   esac
11552   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11553   postinstall_cmds='chmod 555 $lib'
11554   # or fails outright, so override atomically:
11555   install_override_mode=555
11556   ;;
11557
11558 interix[3-9]*)
11559   version_type=linux
11560   need_lib_prefix=no
11561   need_version=no
11562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11563   soname_spec='${libname}${release}${shared_ext}$major'
11564   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11565   shlibpath_var=LD_LIBRARY_PATH
11566   shlibpath_overrides_runpath=no
11567   hardcode_into_libs=yes
11568   ;;
11569
11570 irix5* | irix6* | nonstopux*)
11571   case $host_os in
11572     nonstopux*) version_type=nonstopux ;;
11573     *)
11574         if test "$lt_cv_prog_gnu_ld" = yes; then
11575                 version_type=linux
11576         else
11577                 version_type=irix
11578         fi ;;
11579   esac
11580   need_lib_prefix=no
11581   need_version=no
11582   soname_spec='${libname}${release}${shared_ext}$major'
11583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11584   case $host_os in
11585   irix5* | nonstopux*)
11586     libsuff= shlibsuff=
11587     ;;
11588   *)
11589     case $LD in # libtool.m4 will add one of these switches to LD
11590     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11591       libsuff= shlibsuff= libmagic=32-bit;;
11592     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11593       libsuff=32 shlibsuff=N32 libmagic=N32;;
11594     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11595       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11596     *) libsuff= shlibsuff= libmagic=never-match;;
11597     esac
11598     ;;
11599   esac
11600   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11601   shlibpath_overrides_runpath=no
11602   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11603   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11604   hardcode_into_libs=yes
11605   ;;
11606
11607 # No shared lib support for Linux oldld, aout, or coff.
11608 linux*oldld* | linux*aout* | linux*coff*)
11609   dynamic_linker=no
11610   ;;
11611
11612 # This must be Linux ELF.
11613 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11614   version_type=linux
11615   need_lib_prefix=no
11616   need_version=no
11617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11618   soname_spec='${libname}${release}${shared_ext}$major'
11619   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11620   shlibpath_var=LD_LIBRARY_PATH
11621   shlibpath_overrides_runpath=no
11622
11623   # Some binutils ld are patched to set DT_RUNPATH
11624   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11625   $as_echo_n "(cached) " >&6
11626 else
11627   lt_cv_shlibpath_overrides_runpath=no
11628     save_LDFLAGS=$LDFLAGS
11629     save_libdir=$libdir
11630     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11631          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11632     if test x$gcc_no_link = xyes; then
11633   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11634 fi
11635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11636 /* end confdefs.h.  */
11637
11638 int
11639 main ()
11640 {
11641
11642   ;
11643   return 0;
11644 }
11645 _ACEOF
11646 if ac_fn_c_try_link "$LINENO"; then :
11647   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11648   lt_cv_shlibpath_overrides_runpath=yes
11649 fi
11650 fi
11651 rm -f core conftest.err conftest.$ac_objext \
11652     conftest$ac_exeext conftest.$ac_ext
11653     LDFLAGS=$save_LDFLAGS
11654     libdir=$save_libdir
11655
11656 fi
11657
11658   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11659
11660   # This implies no fast_install, which is unacceptable.
11661   # Some rework will be needed to allow for fast_install
11662   # before this can be enabled.
11663   hardcode_into_libs=yes
11664
11665   # Append ld.so.conf contents to the search path
11666   if test -f /etc/ld.so.conf; then
11667     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' ' '`
11668     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11669   fi
11670
11671   # We used to test for /lib/ld.so.1 and disable shared libraries on
11672   # powerpc, because MkLinux only supported shared libraries with the
11673   # GNU dynamic linker.  Since this was broken with cross compilers,
11674   # most powerpc-linux boxes support dynamic linking these days and
11675   # people can always --disable-shared, the test was removed, and we
11676   # assume the GNU/Linux dynamic linker is in use.
11677   dynamic_linker='GNU/Linux ld.so'
11678   ;;
11679
11680 netbsd*)
11681   version_type=sunos
11682   need_lib_prefix=no
11683   need_version=no
11684   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11685     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11686     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11687     dynamic_linker='NetBSD (a.out) ld.so'
11688   else
11689     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11690     soname_spec='${libname}${release}${shared_ext}$major'
11691     dynamic_linker='NetBSD ld.elf_so'
11692   fi
11693   shlibpath_var=LD_LIBRARY_PATH
11694   shlibpath_overrides_runpath=yes
11695   hardcode_into_libs=yes
11696   ;;
11697
11698 newsos6)
11699   version_type=linux
11700   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11701   shlibpath_var=LD_LIBRARY_PATH
11702   shlibpath_overrides_runpath=yes
11703   ;;
11704
11705 *nto* | *qnx*)
11706   version_type=qnx
11707   need_lib_prefix=no
11708   need_version=no
11709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11710   soname_spec='${libname}${release}${shared_ext}$major'
11711   shlibpath_var=LD_LIBRARY_PATH
11712   shlibpath_overrides_runpath=no
11713   hardcode_into_libs=yes
11714   dynamic_linker='ldqnx.so'
11715   ;;
11716
11717 openbsd*)
11718   version_type=sunos
11719   sys_lib_dlsearch_path_spec="/usr/lib"
11720   need_lib_prefix=no
11721   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11722   case $host_os in
11723     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11724     *)                          need_version=no  ;;
11725   esac
11726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11727   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11728   shlibpath_var=LD_LIBRARY_PATH
11729   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11730     case $host_os in
11731       openbsd2.[89] | openbsd2.[89].*)
11732         shlibpath_overrides_runpath=no
11733         ;;
11734       *)
11735         shlibpath_overrides_runpath=yes
11736         ;;
11737       esac
11738   else
11739     shlibpath_overrides_runpath=yes
11740   fi
11741   ;;
11742
11743 os2*)
11744   libname_spec='$name'
11745   shrext_cmds=".dll"
11746   need_lib_prefix=no
11747   library_names_spec='$libname${shared_ext} $libname.a'
11748   dynamic_linker='OS/2 ld.exe'
11749   shlibpath_var=LIBPATH
11750   ;;
11751
11752 osf3* | osf4* | osf5*)
11753   version_type=osf
11754   need_lib_prefix=no
11755   need_version=no
11756   soname_spec='${libname}${release}${shared_ext}$major'
11757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11758   shlibpath_var=LD_LIBRARY_PATH
11759   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11760   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11761   ;;
11762
11763 rdos*)
11764   dynamic_linker=no
11765   ;;
11766
11767 solaris*)
11768   version_type=linux
11769   need_lib_prefix=no
11770   need_version=no
11771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11772   soname_spec='${libname}${release}${shared_ext}$major'
11773   shlibpath_var=LD_LIBRARY_PATH
11774   shlibpath_overrides_runpath=yes
11775   hardcode_into_libs=yes
11776   # ldd complains unless libraries are executable
11777   postinstall_cmds='chmod +x $lib'
11778   ;;
11779
11780 sunos4*)
11781   version_type=sunos
11782   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11783   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11784   shlibpath_var=LD_LIBRARY_PATH
11785   shlibpath_overrides_runpath=yes
11786   if test "$with_gnu_ld" = yes; then
11787     need_lib_prefix=no
11788   fi
11789   need_version=yes
11790   ;;
11791
11792 sysv4 | sysv4.3*)
11793   version_type=linux
11794   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795   soname_spec='${libname}${release}${shared_ext}$major'
11796   shlibpath_var=LD_LIBRARY_PATH
11797   case $host_vendor in
11798     sni)
11799       shlibpath_overrides_runpath=no
11800       need_lib_prefix=no
11801       runpath_var=LD_RUN_PATH
11802       ;;
11803     siemens)
11804       need_lib_prefix=no
11805       ;;
11806     motorola)
11807       need_lib_prefix=no
11808       need_version=no
11809       shlibpath_overrides_runpath=no
11810       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11811       ;;
11812   esac
11813   ;;
11814
11815 sysv4*MP*)
11816   if test -d /usr/nec ;then
11817     version_type=linux
11818     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11819     soname_spec='$libname${shared_ext}.$major'
11820     shlibpath_var=LD_LIBRARY_PATH
11821   fi
11822   ;;
11823
11824 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11825   version_type=freebsd-elf
11826   need_lib_prefix=no
11827   need_version=no
11828   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11829   soname_spec='${libname}${release}${shared_ext}$major'
11830   shlibpath_var=LD_LIBRARY_PATH
11831   shlibpath_overrides_runpath=yes
11832   hardcode_into_libs=yes
11833   if test "$with_gnu_ld" = yes; then
11834     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11835   else
11836     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11837     case $host_os in
11838       sco3.2v5*)
11839         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11840         ;;
11841     esac
11842   fi
11843   sys_lib_dlsearch_path_spec='/usr/lib'
11844   ;;
11845
11846 tpf*)
11847   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11848   version_type=linux
11849   need_lib_prefix=no
11850   need_version=no
11851   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11852   shlibpath_var=LD_LIBRARY_PATH
11853   shlibpath_overrides_runpath=no
11854   hardcode_into_libs=yes
11855   ;;
11856
11857 uts4*)
11858   version_type=linux
11859   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11860   soname_spec='${libname}${release}${shared_ext}$major'
11861   shlibpath_var=LD_LIBRARY_PATH
11862   ;;
11863
11864 *)
11865   dynamic_linker=no
11866   ;;
11867 esac
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11869 $as_echo "$dynamic_linker" >&6; }
11870 test "$dynamic_linker" = no && can_build_shared=no
11871
11872 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11873 if test "$GCC" = yes; then
11874   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11875 fi
11876
11877 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11878   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11879 fi
11880 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11881   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11882 fi
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11976 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11977 hardcode_action=
11978 if test -n "$hardcode_libdir_flag_spec" ||
11979    test -n "$runpath_var" ||
11980    test "X$hardcode_automatic" = "Xyes" ; then
11981
11982   # We can hardcode non-existent directories.
11983   if test "$hardcode_direct" != no &&
11984      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11985      # have to relink, otherwise we might link with an installed library
11986      # when we should be linking with a yet-to-be-installed one
11987      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11988      test "$hardcode_minus_L" != no; then
11989     # Linking always hardcodes the temporary library directory.
11990     hardcode_action=relink
11991   else
11992     # We can link without hardcoding, and we can hardcode nonexisting dirs.
11993     hardcode_action=immediate
11994   fi
11995 else
11996   # We cannot hardcode anything, or else we can only hardcode existing
11997   # directories.
11998   hardcode_action=unsupported
11999 fi
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12001 $as_echo "$hardcode_action" >&6; }
12002
12003 if test "$hardcode_action" = relink ||
12004    test "$inherit_rpath" = yes; then
12005   # Fast installation is not supported
12006   enable_fast_install=no
12007 elif test "$shlibpath_overrides_runpath" = yes ||
12008      test "$enable_shared" = no; then
12009   # Fast installation is not necessary
12010   enable_fast_install=needless
12011 fi
12012
12013
12014
12015
12016
12017
12018   if test "x$enable_dlopen" != xyes; then
12019   enable_dlopen=unknown
12020   enable_dlopen_self=unknown
12021   enable_dlopen_self_static=unknown
12022 else
12023   lt_cv_dlopen=no
12024   lt_cv_dlopen_libs=
12025
12026   case $host_os in
12027   beos*)
12028     lt_cv_dlopen="load_add_on"
12029     lt_cv_dlopen_libs=
12030     lt_cv_dlopen_self=yes
12031     ;;
12032
12033   mingw* | pw32* | cegcc*)
12034     lt_cv_dlopen="LoadLibrary"
12035     lt_cv_dlopen_libs=
12036     ;;
12037
12038   cygwin*)
12039     lt_cv_dlopen="dlopen"
12040     lt_cv_dlopen_libs=
12041     ;;
12042
12043   darwin*)
12044   # if libdl is installed we need to link against it
12045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12046 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12047 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12048   $as_echo_n "(cached) " >&6
12049 else
12050   ac_check_lib_save_LIBS=$LIBS
12051 LIBS="-ldl  $LIBS"
12052 if test x$gcc_no_link = xyes; then
12053   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12054 fi
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h.  */
12057
12058 /* Override any GCC internal prototype to avoid an error.
12059    Use char because int might match the return type of a GCC
12060    builtin and then its argument prototype would still apply.  */
12061 #ifdef __cplusplus
12062 extern "C"
12063 #endif
12064 char dlopen ();
12065 int
12066 main ()
12067 {
12068 return dlopen ();
12069   ;
12070   return 0;
12071 }
12072 _ACEOF
12073 if ac_fn_c_try_link "$LINENO"; then :
12074   ac_cv_lib_dl_dlopen=yes
12075 else
12076   ac_cv_lib_dl_dlopen=no
12077 fi
12078 rm -f core conftest.err conftest.$ac_objext \
12079     conftest$ac_exeext conftest.$ac_ext
12080 LIBS=$ac_check_lib_save_LIBS
12081 fi
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12083 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12084 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12085   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12086 else
12087
12088     lt_cv_dlopen="dyld"
12089     lt_cv_dlopen_libs=
12090     lt_cv_dlopen_self=yes
12091
12092 fi
12093
12094     ;;
12095
12096   *)
12097     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12098 if test "x$ac_cv_func_shl_load" = x""yes; then :
12099   lt_cv_dlopen="shl_load"
12100 else
12101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12102 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12103 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12104   $as_echo_n "(cached) " >&6
12105 else
12106   ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-ldld  $LIBS"
12108 if test x$gcc_no_link = xyes; then
12109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12110 fi
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h.  */
12113
12114 /* Override any GCC internal prototype to avoid an error.
12115    Use char because int might match the return type of a GCC
12116    builtin and then its argument prototype would still apply.  */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char shl_load ();
12121 int
12122 main ()
12123 {
12124 return shl_load ();
12125   ;
12126   return 0;
12127 }
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130   ac_cv_lib_dld_shl_load=yes
12131 else
12132   ac_cv_lib_dld_shl_load=no
12133 fi
12134 rm -f core conftest.err conftest.$ac_objext \
12135     conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12137 fi
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12139 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12140 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12141   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12142 else
12143   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12144 if test "x$ac_cv_func_dlopen" = x""yes; then :
12145   lt_cv_dlopen="dlopen"
12146 else
12147   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12148 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12149 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12150   $as_echo_n "(cached) " >&6
12151 else
12152   ac_check_lib_save_LIBS=$LIBS
12153 LIBS="-ldl  $LIBS"
12154 if test x$gcc_no_link = xyes; then
12155   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12156 fi
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h.  */
12159
12160 /* Override any GCC internal prototype to avoid an error.
12161    Use char because int might match the return type of a GCC
12162    builtin and then its argument prototype would still apply.  */
12163 #ifdef __cplusplus
12164 extern "C"
12165 #endif
12166 char dlopen ();
12167 int
12168 main ()
12169 {
12170 return dlopen ();
12171   ;
12172   return 0;
12173 }
12174 _ACEOF
12175 if ac_fn_c_try_link "$LINENO"; then :
12176   ac_cv_lib_dl_dlopen=yes
12177 else
12178   ac_cv_lib_dl_dlopen=no
12179 fi
12180 rm -f core conftest.err conftest.$ac_objext \
12181     conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12183 fi
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12185 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12186 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12187   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12188 else
12189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12190 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12191 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12192   $as_echo_n "(cached) " >&6
12193 else
12194   ac_check_lib_save_LIBS=$LIBS
12195 LIBS="-lsvld  $LIBS"
12196 if test x$gcc_no_link = xyes; then
12197   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12198 fi
12199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h.  */
12201
12202 /* Override any GCC internal prototype to avoid an error.
12203    Use char because int might match the return type of a GCC
12204    builtin and then its argument prototype would still apply.  */
12205 #ifdef __cplusplus
12206 extern "C"
12207 #endif
12208 char dlopen ();
12209 int
12210 main ()
12211 {
12212 return dlopen ();
12213   ;
12214   return 0;
12215 }
12216 _ACEOF
12217 if ac_fn_c_try_link "$LINENO"; then :
12218   ac_cv_lib_svld_dlopen=yes
12219 else
12220   ac_cv_lib_svld_dlopen=no
12221 fi
12222 rm -f core conftest.err conftest.$ac_objext \
12223     conftest$ac_exeext conftest.$ac_ext
12224 LIBS=$ac_check_lib_save_LIBS
12225 fi
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12227 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12228 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12229   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12230 else
12231   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12232 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12233 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12234   $as_echo_n "(cached) " >&6
12235 else
12236   ac_check_lib_save_LIBS=$LIBS
12237 LIBS="-ldld  $LIBS"
12238 if test x$gcc_no_link = xyes; then
12239   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12240 fi
12241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12242 /* end confdefs.h.  */
12243
12244 /* Override any GCC internal prototype to avoid an error.
12245    Use char because int might match the return type of a GCC
12246    builtin and then its argument prototype would still apply.  */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 char dld_link ();
12251 int
12252 main ()
12253 {
12254 return dld_link ();
12255   ;
12256   return 0;
12257 }
12258 _ACEOF
12259 if ac_fn_c_try_link "$LINENO"; then :
12260   ac_cv_lib_dld_dld_link=yes
12261 else
12262   ac_cv_lib_dld_dld_link=no
12263 fi
12264 rm -f core conftest.err conftest.$ac_objext \
12265     conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_lib_save_LIBS
12267 fi
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12269 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12270 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12271   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12272 fi
12273
12274
12275 fi
12276
12277
12278 fi
12279
12280
12281 fi
12282
12283
12284 fi
12285
12286
12287 fi
12288
12289     ;;
12290   esac
12291
12292   if test "x$lt_cv_dlopen" != xno; then
12293     enable_dlopen=yes
12294   else
12295     enable_dlopen=no
12296   fi
12297
12298   case $lt_cv_dlopen in
12299   dlopen)
12300     save_CPPFLAGS="$CPPFLAGS"
12301     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12302
12303     save_LDFLAGS="$LDFLAGS"
12304     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12305
12306     save_LIBS="$LIBS"
12307     LIBS="$lt_cv_dlopen_libs $LIBS"
12308
12309     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12310 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12311 if test "${lt_cv_dlopen_self+set}" = set; then :
12312   $as_echo_n "(cached) " >&6
12313 else
12314           if test "$cross_compiling" = yes; then :
12315   lt_cv_dlopen_self=cross
12316 else
12317   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12318   lt_status=$lt_dlunknown
12319   cat > conftest.$ac_ext <<_LT_EOF
12320 #line 12320 "configure"
12321 #include "confdefs.h"
12322
12323 #if HAVE_DLFCN_H
12324 #include <dlfcn.h>
12325 #endif
12326
12327 #include <stdio.h>
12328
12329 #ifdef RTLD_GLOBAL
12330 #  define LT_DLGLOBAL           RTLD_GLOBAL
12331 #else
12332 #  ifdef DL_GLOBAL
12333 #    define LT_DLGLOBAL         DL_GLOBAL
12334 #  else
12335 #    define LT_DLGLOBAL         0
12336 #  endif
12337 #endif
12338
12339 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12340    find out it does not work in some platform. */
12341 #ifndef LT_DLLAZY_OR_NOW
12342 #  ifdef RTLD_LAZY
12343 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12344 #  else
12345 #    ifdef DL_LAZY
12346 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12347 #    else
12348 #      ifdef RTLD_NOW
12349 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12350 #      else
12351 #        ifdef DL_NOW
12352 #          define LT_DLLAZY_OR_NOW      DL_NOW
12353 #        else
12354 #          define LT_DLLAZY_OR_NOW      0
12355 #        endif
12356 #      endif
12357 #    endif
12358 #  endif
12359 #endif
12360
12361 /* When -fvisbility=hidden is used, assume the code has been annotated
12362    correspondingly for the symbols needed.  */
12363 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12364 void fnord () __attribute__((visibility("default")));
12365 #endif
12366
12367 void fnord () { int i=42; }
12368 int main ()
12369 {
12370   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12371   int status = $lt_dlunknown;
12372
12373   if (self)
12374     {
12375       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12376       else
12377         {
12378           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12379           else puts (dlerror ());
12380         }
12381       /* dlclose (self); */
12382     }
12383   else
12384     puts (dlerror ());
12385
12386   return status;
12387 }
12388 _LT_EOF
12389   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12390   (eval $ac_link) 2>&5
12391   ac_status=$?
12392   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12393   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12394     (./conftest; exit; ) >&5 2>/dev/null
12395     lt_status=$?
12396     case x$lt_status in
12397       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12398       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12399       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12400     esac
12401   else :
12402     # compilation failed
12403     lt_cv_dlopen_self=no
12404   fi
12405 fi
12406 rm -fr conftest*
12407
12408
12409 fi
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12411 $as_echo "$lt_cv_dlopen_self" >&6; }
12412
12413     if test "x$lt_cv_dlopen_self" = xyes; then
12414       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12415       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12416 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12417 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12418   $as_echo_n "(cached) " >&6
12419 else
12420           if test "$cross_compiling" = yes; then :
12421   lt_cv_dlopen_self_static=cross
12422 else
12423   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12424   lt_status=$lt_dlunknown
12425   cat > conftest.$ac_ext <<_LT_EOF
12426 #line 12426 "configure"
12427 #include "confdefs.h"
12428
12429 #if HAVE_DLFCN_H
12430 #include <dlfcn.h>
12431 #endif
12432
12433 #include <stdio.h>
12434
12435 #ifdef RTLD_GLOBAL
12436 #  define LT_DLGLOBAL           RTLD_GLOBAL
12437 #else
12438 #  ifdef DL_GLOBAL
12439 #    define LT_DLGLOBAL         DL_GLOBAL
12440 #  else
12441 #    define LT_DLGLOBAL         0
12442 #  endif
12443 #endif
12444
12445 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12446    find out it does not work in some platform. */
12447 #ifndef LT_DLLAZY_OR_NOW
12448 #  ifdef RTLD_LAZY
12449 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12450 #  else
12451 #    ifdef DL_LAZY
12452 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12453 #    else
12454 #      ifdef RTLD_NOW
12455 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12456 #      else
12457 #        ifdef DL_NOW
12458 #          define LT_DLLAZY_OR_NOW      DL_NOW
12459 #        else
12460 #          define LT_DLLAZY_OR_NOW      0
12461 #        endif
12462 #      endif
12463 #    endif
12464 #  endif
12465 #endif
12466
12467 /* When -fvisbility=hidden is used, assume the code has been annotated
12468    correspondingly for the symbols needed.  */
12469 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12470 void fnord () __attribute__((visibility("default")));
12471 #endif
12472
12473 void fnord () { int i=42; }
12474 int main ()
12475 {
12476   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12477   int status = $lt_dlunknown;
12478
12479   if (self)
12480     {
12481       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12482       else
12483         {
12484           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12485           else puts (dlerror ());
12486         }
12487       /* dlclose (self); */
12488     }
12489   else
12490     puts (dlerror ());
12491
12492   return status;
12493 }
12494 _LT_EOF
12495   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12496   (eval $ac_link) 2>&5
12497   ac_status=$?
12498   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12499   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12500     (./conftest; exit; ) >&5 2>/dev/null
12501     lt_status=$?
12502     case x$lt_status in
12503       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12504       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12505       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12506     esac
12507   else :
12508     # compilation failed
12509     lt_cv_dlopen_self_static=no
12510   fi
12511 fi
12512 rm -fr conftest*
12513
12514
12515 fi
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12517 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12518     fi
12519
12520     CPPFLAGS="$save_CPPFLAGS"
12521     LDFLAGS="$save_LDFLAGS"
12522     LIBS="$save_LIBS"
12523     ;;
12524   esac
12525
12526   case $lt_cv_dlopen_self in
12527   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12528   *) enable_dlopen_self=unknown ;;
12529   esac
12530
12531   case $lt_cv_dlopen_self_static in
12532   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12533   *) enable_dlopen_self_static=unknown ;;
12534   esac
12535 fi
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553 striplib=
12554 old_striplib=
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12556 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12557 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12558   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12559   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12561 $as_echo "yes" >&6; }
12562 else
12563 # FIXME - insert some real tests, host_os isn't really good enough
12564   case $host_os in
12565   darwin*)
12566     if test -n "$STRIP" ; then
12567       striplib="$STRIP -x"
12568       old_striplib="$STRIP -S"
12569       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12570 $as_echo "yes" >&6; }
12571     else
12572       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12573 $as_echo "no" >&6; }
12574     fi
12575     ;;
12576   *)
12577     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12578 $as_echo "no" >&6; }
12579     ;;
12580   esac
12581 fi
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594   # Report which library types will actually be built
12595   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12596 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12598 $as_echo "$can_build_shared" >&6; }
12599
12600   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12601 $as_echo_n "checking whether to build shared libraries... " >&6; }
12602   test "$can_build_shared" = "no" && enable_shared=no
12603
12604   # On AIX, shared libraries and static libraries use the same namespace, and
12605   # are all built from PIC.
12606   case $host_os in
12607   aix3*)
12608     test "$enable_shared" = yes && enable_static=no
12609     if test -n "$RANLIB"; then
12610       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12611       postinstall_cmds='$RANLIB $lib'
12612     fi
12613     ;;
12614
12615   aix[4-9]*)
12616     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12617       test "$enable_shared" = yes && enable_static=no
12618     fi
12619     ;;
12620   esac
12621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12622 $as_echo "$enable_shared" >&6; }
12623
12624   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12625 $as_echo_n "checking whether to build static libraries... " >&6; }
12626   # Make sure either enable_shared or enable_static is yes.
12627   test "$enable_shared" = yes || enable_static=yes
12628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12629 $as_echo "$enable_static" >&6; }
12630
12631
12632
12633
12634 fi
12635 ac_ext=c
12636 ac_cpp='$CPP $CPPFLAGS'
12637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12640
12641 CC="$lt_save_CC"
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655         ac_config_commands="$ac_config_commands libtool"
12656
12657
12658
12659
12660 # Only expand once:
12661
12662
12663
12664
12665
12666 case $host in
12667   *-cygwin* | *-mingw*)
12668     # 'host' will be top-level target in the case of a target lib,
12669     # we must compare to with_cross_host to decide if this is a native
12670     # or cross-compiler and select where to install dlls appropriately.
12671     if test -n "$with_cross_host" &&
12672         test x"$with_cross_host" != x"no"; then
12673       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12674     else
12675       lt_host_flags='-no-undefined -bindir "$(bindir)"';
12676     fi
12677     ;;
12678   *)
12679     lt_host_flags=
12680     ;;
12681 esac
12682
12683
12684
12685
12686
12687 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12688
12689 # We need gfortran to compile parts of the library
12690 #AC_PROG_FC(gfortran)
12691 FC="$GFORTRAN"
12692 ac_ext=${ac_fc_srcext-f}
12693 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12694 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12696 if test -n "$ac_tool_prefix"; then
12697   for ac_prog in gfortran
12698   do
12699     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12702 $as_echo_n "checking for $ac_word... " >&6; }
12703 if test "${ac_cv_prog_FC+set}" = set; then :
12704   $as_echo_n "(cached) " >&6
12705 else
12706   if test -n "$FC"; then
12707   ac_cv_prog_FC="$FC" # Let the user override the test.
12708 else
12709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12710 for as_dir in $PATH
12711 do
12712   IFS=$as_save_IFS
12713   test -z "$as_dir" && as_dir=.
12714     for ac_exec_ext in '' $ac_executable_extensions; do
12715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12716     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12718     break 2
12719   fi
12720 done
12721   done
12722 IFS=$as_save_IFS
12723
12724 fi
12725 fi
12726 FC=$ac_cv_prog_FC
12727 if test -n "$FC"; then
12728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12729 $as_echo "$FC" >&6; }
12730 else
12731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12732 $as_echo "no" >&6; }
12733 fi
12734
12735
12736     test -n "$FC" && break
12737   done
12738 fi
12739 if test -z "$FC"; then
12740   ac_ct_FC=$FC
12741   for ac_prog in gfortran
12742 do
12743   # Extract the first word of "$ac_prog", so it can be a program name with args.
12744 set dummy $ac_prog; ac_word=$2
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12746 $as_echo_n "checking for $ac_word... " >&6; }
12747 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12748   $as_echo_n "(cached) " >&6
12749 else
12750   if test -n "$ac_ct_FC"; then
12751   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12752 else
12753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12754 for as_dir in $PATH
12755 do
12756   IFS=$as_save_IFS
12757   test -z "$as_dir" && as_dir=.
12758     for ac_exec_ext in '' $ac_executable_extensions; do
12759   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12760     ac_cv_prog_ac_ct_FC="$ac_prog"
12761     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12762     break 2
12763   fi
12764 done
12765   done
12766 IFS=$as_save_IFS
12767
12768 fi
12769 fi
12770 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12771 if test -n "$ac_ct_FC"; then
12772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12773 $as_echo "$ac_ct_FC" >&6; }
12774 else
12775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12776 $as_echo "no" >&6; }
12777 fi
12778
12779
12780   test -n "$ac_ct_FC" && break
12781 done
12782
12783   if test "x$ac_ct_FC" = x; then
12784     FC=""
12785   else
12786     case $cross_compiling:$ac_tool_warned in
12787 yes:)
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12790 ac_tool_warned=yes ;;
12791 esac
12792     FC=$ac_ct_FC
12793   fi
12794 fi
12795
12796
12797 # Provide some information about the compiler.
12798 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12799 set X $ac_compile
12800 ac_compiler=$2
12801 for ac_option in --version -v -V -qversion; do
12802   { { ac_try="$ac_compiler $ac_option >&5"
12803 case "(($ac_try" in
12804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12805   *) ac_try_echo=$ac_try;;
12806 esac
12807 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12808 $as_echo "$ac_try_echo"; } >&5
12809   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12810   ac_status=$?
12811   if test -s conftest.err; then
12812     sed '10a\
12813 ... rest of stderr output deleted ...
12814          10q' conftest.err >conftest.er1
12815     cat conftest.er1 >&5
12816     rm -f conftest.er1 conftest.err
12817   fi
12818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12819   test $ac_status = 0; }
12820 done
12821 rm -f a.out
12822
12823 # If we don't use `.F' as extension, the preprocessor is not run on the
12824 # input file.  (Note that this only needs to work for GNU compilers.)
12825 ac_save_ext=$ac_ext
12826 ac_ext=F
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12828 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12829 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12830   $as_echo_n "(cached) " >&6
12831 else
12832   cat > conftest.$ac_ext <<_ACEOF
12833       program main
12834 #ifndef __GNUC__
12835        choke me
12836 #endif
12837
12838       end
12839 _ACEOF
12840 if ac_fn_fc_try_compile "$LINENO"; then :
12841   ac_compiler_gnu=yes
12842 else
12843   ac_compiler_gnu=no
12844 fi
12845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12846 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12847
12848 fi
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12850 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12851 ac_ext=$ac_save_ext
12852 ac_test_FCFLAGS=${FCFLAGS+set}
12853 ac_save_FCFLAGS=$FCFLAGS
12854 FCFLAGS=
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12856 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12857 if test "${ac_cv_prog_fc_g+set}" = set; then :
12858   $as_echo_n "(cached) " >&6
12859 else
12860   FCFLAGS=-g
12861 cat > conftest.$ac_ext <<_ACEOF
12862       program main
12863
12864       end
12865 _ACEOF
12866 if ac_fn_fc_try_compile "$LINENO"; then :
12867   ac_cv_prog_fc_g=yes
12868 else
12869   ac_cv_prog_fc_g=no
12870 fi
12871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12872
12873 fi
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12875 $as_echo "$ac_cv_prog_fc_g" >&6; }
12876 if test "$ac_test_FCFLAGS" = set; then
12877   FCFLAGS=$ac_save_FCFLAGS
12878 elif test $ac_cv_prog_fc_g = yes; then
12879   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12880     FCFLAGS="-g -O2"
12881   else
12882     FCFLAGS="-g"
12883   fi
12884 else
12885   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12886     FCFLAGS="-O2"
12887   else
12888     FCFLAGS=
12889   fi
12890 fi
12891
12892 ac_ext=c
12893 ac_cpp='$CPP $CPPFLAGS'
12894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12897
12898       ac_ext=${ac_fc_srcext-f}
12899 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12900 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12901 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12902
12903
12904 if test -z "$FC" || test "X$FC" = "Xno"; then
12905   _lt_disable_FC=yes
12906 fi
12907
12908 archive_cmds_need_lc_FC=no
12909 allow_undefined_flag_FC=
12910 always_export_symbols_FC=no
12911 archive_expsym_cmds_FC=
12912 export_dynamic_flag_spec_FC=
12913 hardcode_direct_FC=no
12914 hardcode_direct_absolute_FC=no
12915 hardcode_libdir_flag_spec_FC=
12916 hardcode_libdir_flag_spec_ld_FC=
12917 hardcode_libdir_separator_FC=
12918 hardcode_minus_L_FC=no
12919 hardcode_automatic_FC=no
12920 inherit_rpath_FC=no
12921 module_cmds_FC=
12922 module_expsym_cmds_FC=
12923 link_all_deplibs_FC=unknown
12924 old_archive_cmds_FC=$old_archive_cmds
12925 reload_flag_FC=$reload_flag
12926 reload_cmds_FC=$reload_cmds
12927 no_undefined_flag_FC=
12928 whole_archive_flag_spec_FC=
12929 enable_shared_with_static_runtimes_FC=no
12930
12931 # Source file extension for fc test sources.
12932 ac_ext=${ac_fc_srcext-f}
12933
12934 # Object file extension for compiled fc test sources.
12935 objext=o
12936 objext_FC=$objext
12937
12938 # No sense in running all these tests if we already determined that
12939 # the FC compiler isn't working.  Some variables (like enable_shared)
12940 # are currently assumed to apply to all compilers on this platform,
12941 # and will be corrupted by setting them based on a non-working compiler.
12942 if test "$_lt_disable_FC" != yes; then
12943   # Code to be used in simple compile tests
12944   lt_simple_compile_test_code="\
12945       subroutine t
12946       return
12947       end
12948 "
12949
12950   # Code to be used in simple link tests
12951   lt_simple_link_test_code="\
12952       program t
12953       end
12954 "
12955
12956   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12957
12958
12959
12960
12961
12962
12963 # If no C compiler was specified, use CC.
12964 LTCC=${LTCC-"$CC"}
12965
12966 # If no C compiler flags were specified, use CFLAGS.
12967 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12968
12969 # Allow CC to be a program name with arguments.
12970 compiler=$CC
12971
12972
12973   # save warnings/boilerplate of simple test code
12974   ac_outfile=conftest.$ac_objext
12975 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12976 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12977 _lt_compiler_boilerplate=`cat conftest.err`
12978 $RM conftest*
12979
12980   ac_outfile=conftest.$ac_objext
12981 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12982 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12983 _lt_linker_boilerplate=`cat conftest.err`
12984 $RM -r conftest*
12985
12986
12987   # Allow CC to be a program name with arguments.
12988   lt_save_CC="$CC"
12989   lt_save_GCC=$GCC
12990   CC=${FC-"f95"}
12991   compiler=$CC
12992   GCC=$ac_cv_fc_compiler_gnu
12993
12994   compiler_FC=$CC
12995   for cc_temp in $compiler""; do
12996   case $cc_temp in
12997     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12998     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12999     \-*) ;;
13000     *) break;;
13001   esac
13002 done
13003 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13004
13005
13006   if test -n "$compiler"; then
13007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13008 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13009     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13010 $as_echo "$can_build_shared" >&6; }
13011
13012     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13013 $as_echo_n "checking whether to build shared libraries... " >&6; }
13014     test "$can_build_shared" = "no" && enable_shared=no
13015
13016     # On AIX, shared libraries and static libraries use the same namespace, and
13017     # are all built from PIC.
13018     case $host_os in
13019       aix3*)
13020         test "$enable_shared" = yes && enable_static=no
13021         if test -n "$RANLIB"; then
13022           archive_cmds="$archive_cmds~\$RANLIB \$lib"
13023           postinstall_cmds='$RANLIB $lib'
13024         fi
13025         ;;
13026       aix[4-9]*)
13027         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13028           test "$enable_shared" = yes && enable_static=no
13029         fi
13030         ;;
13031     esac
13032     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13033 $as_echo "$enable_shared" >&6; }
13034
13035     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13036 $as_echo_n "checking whether to build static libraries... " >&6; }
13037     # Make sure either enable_shared or enable_static is yes.
13038     test "$enable_shared" = yes || enable_static=yes
13039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13040 $as_echo "$enable_static" >&6; }
13041
13042     GCC_FC="$ac_cv_fc_compiler_gnu"
13043     LD_FC="$LD"
13044
13045     ## CAVEAT EMPTOR:
13046     ## There is no encapsulation within the following macros, do not change
13047     ## the running order or otherwise move them around unless you know exactly
13048     ## what you are doing...
13049     # Dependencies to place before and after the object being linked:
13050 predep_objects_FC=
13051 postdep_objects_FC=
13052 predeps_FC=
13053 postdeps_FC=
13054 compiler_lib_search_path_FC=
13055
13056 cat > conftest.$ac_ext <<_LT_EOF
13057       subroutine foo
13058       implicit none
13059       integer a
13060       a=0
13061       return
13062       end
13063 _LT_EOF
13064
13065 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13066   (eval $ac_compile) 2>&5
13067   ac_status=$?
13068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069   test $ac_status = 0; }; then
13070   # Parse the compiler output and extract the necessary
13071   # objects, libraries and library flags.
13072
13073   # Sentinel used to keep track of whether or not we are before
13074   # the conftest object file.
13075   pre_test_object_deps_done=no
13076
13077   for p in `eval "$output_verbose_link_cmd"`; do
13078     case $p in
13079
13080     -L* | -R* | -l*)
13081        # Some compilers place space between "-{L,R}" and the path.
13082        # Remove the space.
13083        if test $p = "-L" ||
13084           test $p = "-R"; then
13085          prev=$p
13086          continue
13087        else
13088          prev=
13089        fi
13090
13091        if test "$pre_test_object_deps_done" = no; then
13092          case $p in
13093          -L* | -R*)
13094            # Internal compiler library paths should come after those
13095            # provided the user.  The postdeps already come after the
13096            # user supplied libs so there is no need to process them.
13097            if test -z "$compiler_lib_search_path_FC"; then
13098              compiler_lib_search_path_FC="${prev}${p}"
13099            else
13100              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13101            fi
13102            ;;
13103          # The "-l" case would never come before the object being
13104          # linked, so don't bother handling this case.
13105          esac
13106        else
13107          if test -z "$postdeps_FC"; then
13108            postdeps_FC="${prev}${p}"
13109          else
13110            postdeps_FC="${postdeps_FC} ${prev}${p}"
13111          fi
13112        fi
13113        ;;
13114
13115     *.$objext)
13116        # This assumes that the test object file only shows up
13117        # once in the compiler output.
13118        if test "$p" = "conftest.$objext"; then
13119          pre_test_object_deps_done=yes
13120          continue
13121        fi
13122
13123        if test "$pre_test_object_deps_done" = no; then
13124          if test -z "$predep_objects_FC"; then
13125            predep_objects_FC="$p"
13126          else
13127            predep_objects_FC="$predep_objects_FC $p"
13128          fi
13129        else
13130          if test -z "$postdep_objects_FC"; then
13131            postdep_objects_FC="$p"
13132          else
13133            postdep_objects_FC="$postdep_objects_FC $p"
13134          fi
13135        fi
13136        ;;
13137
13138     *) ;; # Ignore the rest.
13139
13140     esac
13141   done
13142
13143   # Clean up.
13144   rm -f a.out a.exe
13145 else
13146   echo "libtool.m4: error: problem compiling FC test program"
13147 fi
13148
13149 $RM -f confest.$objext
13150
13151 # PORTME: override above test on systems where it is broken
13152
13153
13154 case " $postdeps_FC " in
13155 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13156 esac
13157  compiler_lib_search_dirs_FC=
13158 if test -n "${compiler_lib_search_path_FC}"; then
13159  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13160 fi
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192     lt_prog_compiler_wl_FC=
13193 lt_prog_compiler_pic_FC=
13194 lt_prog_compiler_static_FC=
13195
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13197 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13198
13199   if test "$GCC" = yes; then
13200     lt_prog_compiler_wl_FC='-Wl,'
13201     lt_prog_compiler_static_FC='-static'
13202
13203     case $host_os in
13204       aix*)
13205       # All AIX code is PIC.
13206       if test "$host_cpu" = ia64; then
13207         # AIX 5 now supports IA64 processor
13208         lt_prog_compiler_static_FC='-Bstatic'
13209       fi
13210       ;;
13211
13212     amigaos*)
13213       case $host_cpu in
13214       powerpc)
13215             # see comment about AmigaOS4 .so support
13216             lt_prog_compiler_pic_FC='-fPIC'
13217         ;;
13218       m68k)
13219             # FIXME: we need at least 68020 code to build shared libraries, but
13220             # adding the `-m68020' flag to GCC prevents building anything better,
13221             # like `-m68040'.
13222             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13223         ;;
13224       esac
13225       ;;
13226
13227     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13228       # PIC is the default for these OSes.
13229       ;;
13230
13231     mingw* | cygwin* | pw32* | os2* | cegcc*)
13232       # This hack is so that the source file can tell whether it is being
13233       # built for inclusion in a dll (and should export symbols for example).
13234       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13235       # (--disable-auto-import) libraries
13236       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13237       ;;
13238
13239     darwin* | rhapsody*)
13240       # PIC is the default on this platform
13241       # Common symbols not allowed in MH_DYLIB files
13242       lt_prog_compiler_pic_FC='-fno-common'
13243       ;;
13244
13245     haiku*)
13246       # PIC is the default for Haiku.
13247       # The "-static" flag exists, but is broken.
13248       lt_prog_compiler_static_FC=
13249       ;;
13250
13251     hpux*)
13252       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13253       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13254       # sets the default TLS model and affects inlining.
13255       case $host_cpu in
13256       hppa*64*)
13257         # +Z the default
13258         ;;
13259       *)
13260         lt_prog_compiler_pic_FC='-fPIC'
13261         ;;
13262       esac
13263       ;;
13264
13265     interix[3-9]*)
13266       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13267       # Instead, we relocate shared libraries at runtime.
13268       ;;
13269
13270     msdosdjgpp*)
13271       # Just because we use GCC doesn't mean we suddenly get shared libraries
13272       # on systems that don't support them.
13273       lt_prog_compiler_can_build_shared_FC=no
13274       enable_shared=no
13275       ;;
13276
13277     *nto* | *qnx*)
13278       # QNX uses GNU C++, but need to define -shared option too, otherwise
13279       # it will coredump.
13280       lt_prog_compiler_pic_FC='-fPIC -shared'
13281       ;;
13282
13283     sysv4*MP*)
13284       if test -d /usr/nec; then
13285         lt_prog_compiler_pic_FC=-Kconform_pic
13286       fi
13287       ;;
13288
13289     *)
13290       lt_prog_compiler_pic_FC='-fPIC'
13291       ;;
13292     esac
13293
13294     case $cc_basename in
13295     nvcc*) # Cuda Compiler Driver 2.2
13296       lt_prog_compiler_wl_FC='-Xlinker '
13297       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13298       ;;
13299     esac
13300   else
13301     # PORTME Check for flag to pass linker flags through the system compiler.
13302     case $host_os in
13303     aix*)
13304       lt_prog_compiler_wl_FC='-Wl,'
13305       if test "$host_cpu" = ia64; then
13306         # AIX 5 now supports IA64 processor
13307         lt_prog_compiler_static_FC='-Bstatic'
13308       else
13309         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13310       fi
13311       ;;
13312
13313     mingw* | cygwin* | pw32* | os2* | cegcc*)
13314       # This hack is so that the source file can tell whether it is being
13315       # built for inclusion in a dll (and should export symbols for example).
13316       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13317       ;;
13318
13319     hpux9* | hpux10* | hpux11*)
13320       lt_prog_compiler_wl_FC='-Wl,'
13321       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13322       # not for PA HP-UX.
13323       case $host_cpu in
13324       hppa*64*|ia64*)
13325         # +Z the default
13326         ;;
13327       *)
13328         lt_prog_compiler_pic_FC='+Z'
13329         ;;
13330       esac
13331       # Is there a better lt_prog_compiler_static that works with the bundled CC?
13332       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13333       ;;
13334
13335     irix5* | irix6* | nonstopux*)
13336       lt_prog_compiler_wl_FC='-Wl,'
13337       # PIC (with -KPIC) is the default.
13338       lt_prog_compiler_static_FC='-non_shared'
13339       ;;
13340
13341     linux* | k*bsd*-gnu | kopensolaris*-gnu)
13342       case $cc_basename in
13343       # old Intel for x86_64 which still supported -KPIC.
13344       ecc*)
13345         lt_prog_compiler_wl_FC='-Wl,'
13346         lt_prog_compiler_pic_FC='-KPIC'
13347         lt_prog_compiler_static_FC='-static'
13348         ;;
13349       # icc used to be incompatible with GCC.
13350       # ICC 10 doesn't accept -KPIC any more.
13351       icc* | ifort*)
13352         lt_prog_compiler_wl_FC='-Wl,'
13353         lt_prog_compiler_pic_FC='-fPIC'
13354         lt_prog_compiler_static_FC='-static'
13355         ;;
13356       # Lahey Fortran 8.1.
13357       lf95*)
13358         lt_prog_compiler_wl_FC='-Wl,'
13359         lt_prog_compiler_pic_FC='--shared'
13360         lt_prog_compiler_static_FC='--static'
13361         ;;
13362       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13363         # Portland Group compilers (*not* the Pentium gcc compiler,
13364         # which looks to be a dead project)
13365         lt_prog_compiler_wl_FC='-Wl,'
13366         lt_prog_compiler_pic_FC='-fpic'
13367         lt_prog_compiler_static_FC='-Bstatic'
13368         ;;
13369       ccc*)
13370         lt_prog_compiler_wl_FC='-Wl,'
13371         # All Alpha code is PIC.
13372         lt_prog_compiler_static_FC='-non_shared'
13373         ;;
13374       xl* | bgxl* | bgf* | mpixl*)
13375         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13376         lt_prog_compiler_wl_FC='-Wl,'
13377         lt_prog_compiler_pic_FC='-qpic'
13378         lt_prog_compiler_static_FC='-qstaticlink'
13379         ;;
13380       *)
13381         case `$CC -V 2>&1 | sed 5q` in
13382         *Sun\ F* | *Sun*Fortran*)
13383           # Sun Fortran 8.3 passes all unrecognized flags to the linker
13384           lt_prog_compiler_pic_FC='-KPIC'
13385           lt_prog_compiler_static_FC='-Bstatic'
13386           lt_prog_compiler_wl_FC=''
13387           ;;
13388         *Sun\ C*)
13389           # Sun C 5.9
13390           lt_prog_compiler_pic_FC='-KPIC'
13391           lt_prog_compiler_static_FC='-Bstatic'
13392           lt_prog_compiler_wl_FC='-Wl,'
13393           ;;
13394         esac
13395         ;;
13396       esac
13397       ;;
13398
13399     newsos6)
13400       lt_prog_compiler_pic_FC='-KPIC'
13401       lt_prog_compiler_static_FC='-Bstatic'
13402       ;;
13403
13404     *nto* | *qnx*)
13405       # QNX uses GNU C++, but need to define -shared option too, otherwise
13406       # it will coredump.
13407       lt_prog_compiler_pic_FC='-fPIC -shared'
13408       ;;
13409
13410     osf3* | osf4* | osf5*)
13411       lt_prog_compiler_wl_FC='-Wl,'
13412       # All OSF/1 code is PIC.
13413       lt_prog_compiler_static_FC='-non_shared'
13414       ;;
13415
13416     rdos*)
13417       lt_prog_compiler_static_FC='-non_shared'
13418       ;;
13419
13420     solaris*)
13421       lt_prog_compiler_pic_FC='-KPIC'
13422       lt_prog_compiler_static_FC='-Bstatic'
13423       case $cc_basename in
13424       f77* | f90* | f95*)
13425         lt_prog_compiler_wl_FC='-Qoption ld ';;
13426       *)
13427         lt_prog_compiler_wl_FC='-Wl,';;
13428       esac
13429       ;;
13430
13431     sunos4*)
13432       lt_prog_compiler_wl_FC='-Qoption ld '
13433       lt_prog_compiler_pic_FC='-PIC'
13434       lt_prog_compiler_static_FC='-Bstatic'
13435       ;;
13436
13437     sysv4 | sysv4.2uw2* | sysv4.3*)
13438       lt_prog_compiler_wl_FC='-Wl,'
13439       lt_prog_compiler_pic_FC='-KPIC'
13440       lt_prog_compiler_static_FC='-Bstatic'
13441       ;;
13442
13443     sysv4*MP*)
13444       if test -d /usr/nec ;then
13445         lt_prog_compiler_pic_FC='-Kconform_pic'
13446         lt_prog_compiler_static_FC='-Bstatic'
13447       fi
13448       ;;
13449
13450     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13451       lt_prog_compiler_wl_FC='-Wl,'
13452       lt_prog_compiler_pic_FC='-KPIC'
13453       lt_prog_compiler_static_FC='-Bstatic'
13454       ;;
13455
13456     unicos*)
13457       lt_prog_compiler_wl_FC='-Wl,'
13458       lt_prog_compiler_can_build_shared_FC=no
13459       ;;
13460
13461     uts4*)
13462       lt_prog_compiler_pic_FC='-pic'
13463       lt_prog_compiler_static_FC='-Bstatic'
13464       ;;
13465
13466     *)
13467       lt_prog_compiler_can_build_shared_FC=no
13468       ;;
13469     esac
13470   fi
13471
13472 case $host_os in
13473   # For platforms which do not support PIC, -DPIC is meaningless:
13474   *djgpp*)
13475     lt_prog_compiler_pic_FC=
13476     ;;
13477   *)
13478     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13479     ;;
13480 esac
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13482 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13483
13484
13485
13486 #
13487 # Check to make sure the PIC flag actually works.
13488 #
13489 if test -n "$lt_prog_compiler_pic_FC"; then
13490   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13491 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13492 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13493   $as_echo_n "(cached) " >&6
13494 else
13495   lt_cv_prog_compiler_pic_works_FC=no
13496    ac_outfile=conftest.$ac_objext
13497    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13498    lt_compiler_flag="$lt_prog_compiler_pic_FC"
13499    # Insert the option either (1) after the last *FLAGS variable, or
13500    # (2) before a word containing "conftest.", or (3) at the end.
13501    # Note that $ac_compile itself does not contain backslashes and begins
13502    # with a dollar sign (not a hyphen), so the echo should work correctly.
13503    # The option is referenced via a variable to avoid confusing sed.
13504    lt_compile=`echo "$ac_compile" | $SED \
13505    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13506    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13507    -e 's:$: $lt_compiler_flag:'`
13508    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13509    (eval "$lt_compile" 2>conftest.err)
13510    ac_status=$?
13511    cat conftest.err >&5
13512    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513    if (exit $ac_status) && test -s "$ac_outfile"; then
13514      # The compiler can only warn and ignore the option if not recognized
13515      # So say no if there are warnings other than the usual output.
13516      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13517      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13518      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13519        lt_cv_prog_compiler_pic_works_FC=yes
13520      fi
13521    fi
13522    $RM conftest*
13523
13524 fi
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13526 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13527
13528 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13529     case $lt_prog_compiler_pic_FC in
13530      "" | " "*) ;;
13531      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13532      esac
13533 else
13534     lt_prog_compiler_pic_FC=
13535      lt_prog_compiler_can_build_shared_FC=no
13536 fi
13537
13538 fi
13539
13540
13541
13542 #
13543 # Check to make sure the static flag actually works.
13544 #
13545 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13547 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13548 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13549   $as_echo_n "(cached) " >&6
13550 else
13551   lt_cv_prog_compiler_static_works_FC=no
13552    save_LDFLAGS="$LDFLAGS"
13553    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13554    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13555    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13556      # The linker can only warn and ignore the option if not recognized
13557      # So say no if there are warnings
13558      if test -s conftest.err; then
13559        # Append any errors to the config.log.
13560        cat conftest.err 1>&5
13561        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13562        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13563        if diff conftest.exp conftest.er2 >/dev/null; then
13564          lt_cv_prog_compiler_static_works_FC=yes
13565        fi
13566      else
13567        lt_cv_prog_compiler_static_works_FC=yes
13568      fi
13569    fi
13570    $RM -r conftest*
13571    LDFLAGS="$save_LDFLAGS"
13572
13573 fi
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13575 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13576
13577 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13578     :
13579 else
13580     lt_prog_compiler_static_FC=
13581 fi
13582
13583
13584
13585
13586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13587 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13588 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13589   $as_echo_n "(cached) " >&6
13590 else
13591   lt_cv_prog_compiler_c_o_FC=no
13592    $RM -r conftest 2>/dev/null
13593    mkdir conftest
13594    cd conftest
13595    mkdir out
13596    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13597
13598    lt_compiler_flag="-o out/conftest2.$ac_objext"
13599    # Insert the option either (1) after the last *FLAGS variable, or
13600    # (2) before a word containing "conftest.", or (3) at the end.
13601    # Note that $ac_compile itself does not contain backslashes and begins
13602    # with a dollar sign (not a hyphen), so the echo should work correctly.
13603    lt_compile=`echo "$ac_compile" | $SED \
13604    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13605    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13606    -e 's:$: $lt_compiler_flag:'`
13607    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13608    (eval "$lt_compile" 2>out/conftest.err)
13609    ac_status=$?
13610    cat out/conftest.err >&5
13611    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13612    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13613    then
13614      # The compiler can only warn and ignore the option if not recognized
13615      # So say no if there are warnings
13616      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13617      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13618      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13619        lt_cv_prog_compiler_c_o_FC=yes
13620      fi
13621    fi
13622    chmod u+w . 2>&5
13623    $RM conftest*
13624    # SGI C++ compiler will create directory out/ii_files/ for
13625    # template instantiation
13626    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13627    $RM out/* && rmdir out
13628    cd ..
13629    $RM -r conftest
13630    $RM conftest*
13631
13632 fi
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13634 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13635
13636
13637
13638     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13639 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13640 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13641   $as_echo_n "(cached) " >&6
13642 else
13643   lt_cv_prog_compiler_c_o_FC=no
13644    $RM -r conftest 2>/dev/null
13645    mkdir conftest
13646    cd conftest
13647    mkdir out
13648    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13649
13650    lt_compiler_flag="-o out/conftest2.$ac_objext"
13651    # Insert the option either (1) after the last *FLAGS variable, or
13652    # (2) before a word containing "conftest.", or (3) at the end.
13653    # Note that $ac_compile itself does not contain backslashes and begins
13654    # with a dollar sign (not a hyphen), so the echo should work correctly.
13655    lt_compile=`echo "$ac_compile" | $SED \
13656    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13657    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13658    -e 's:$: $lt_compiler_flag:'`
13659    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13660    (eval "$lt_compile" 2>out/conftest.err)
13661    ac_status=$?
13662    cat out/conftest.err >&5
13663    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13664    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13665    then
13666      # The compiler can only warn and ignore the option if not recognized
13667      # So say no if there are warnings
13668      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13669      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13670      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13671        lt_cv_prog_compiler_c_o_FC=yes
13672      fi
13673    fi
13674    chmod u+w . 2>&5
13675    $RM conftest*
13676    # SGI C++ compiler will create directory out/ii_files/ for
13677    # template instantiation
13678    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13679    $RM out/* && rmdir out
13680    cd ..
13681    $RM -r conftest
13682    $RM conftest*
13683
13684 fi
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13686 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13687
13688
13689
13690
13691 hard_links="nottested"
13692 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13693   # do not overwrite the value of need_locks provided by the user
13694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13695 $as_echo_n "checking if we can lock with hard links... " >&6; }
13696   hard_links=yes
13697   $RM conftest*
13698   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13699   touch conftest.a
13700   ln conftest.a conftest.b 2>&5 || hard_links=no
13701   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13703 $as_echo "$hard_links" >&6; }
13704   if test "$hard_links" = no; then
13705     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13706 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13707     need_locks=warn
13708   fi
13709 else
13710   need_locks=no
13711 fi
13712
13713
13714
13715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13716 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13717
13718   runpath_var=
13719   allow_undefined_flag_FC=
13720   always_export_symbols_FC=no
13721   archive_cmds_FC=
13722   archive_expsym_cmds_FC=
13723   compiler_needs_object_FC=no
13724   enable_shared_with_static_runtimes_FC=no
13725   export_dynamic_flag_spec_FC=
13726   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13727   hardcode_automatic_FC=no
13728   hardcode_direct_FC=no
13729   hardcode_direct_absolute_FC=no
13730   hardcode_libdir_flag_spec_FC=
13731   hardcode_libdir_flag_spec_ld_FC=
13732   hardcode_libdir_separator_FC=
13733   hardcode_minus_L_FC=no
13734   hardcode_shlibpath_var_FC=unsupported
13735   inherit_rpath_FC=no
13736   link_all_deplibs_FC=unknown
13737   module_cmds_FC=
13738   module_expsym_cmds_FC=
13739   old_archive_from_new_cmds_FC=
13740   old_archive_from_expsyms_cmds_FC=
13741   thread_safe_flag_spec_FC=
13742   whole_archive_flag_spec_FC=
13743   # include_expsyms should be a list of space-separated symbols to be *always*
13744   # included in the symbol list
13745   include_expsyms_FC=
13746   # exclude_expsyms can be an extended regexp of symbols to exclude
13747   # it will be wrapped by ` (' and `)$', so one must not match beginning or
13748   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13749   # as well as any symbol that contains `d'.
13750   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13751   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13752   # platforms (ab)use it in PIC code, but their linkers get confused if
13753   # the symbol is explicitly referenced.  Since portable code cannot
13754   # rely on this symbol name, it's probably fine to never include it in
13755   # preloaded symbol tables.
13756   # Exclude shared library initialization/finalization symbols.
13757   extract_expsyms_cmds=
13758
13759   case $host_os in
13760   cygwin* | mingw* | pw32* | cegcc*)
13761     # FIXME: the MSVC++ port hasn't been tested in a loooong time
13762     # When not using gcc, we currently assume that we are using
13763     # Microsoft Visual C++.
13764     if test "$GCC" != yes; then
13765       with_gnu_ld=no
13766     fi
13767     ;;
13768   interix*)
13769     # we just hope/assume this is gcc and not c89 (= MSVC++)
13770     with_gnu_ld=yes
13771     ;;
13772   openbsd*)
13773     with_gnu_ld=no
13774     ;;
13775   esac
13776
13777   ld_shlibs_FC=yes
13778
13779   # On some targets, GNU ld is compatible enough with the native linker
13780   # that we're better off using the native interface for both.
13781   lt_use_gnu_ld_interface=no
13782   if test "$with_gnu_ld" = yes; then
13783     case $host_os in
13784       aix*)
13785         # The AIX port of GNU ld has always aspired to compatibility
13786         # with the native linker.  However, as the warning in the GNU ld
13787         # block says, versions before 2.19.5* couldn't really create working
13788         # shared libraries, regardless of the interface used.
13789         case `$LD -v 2>&1` in
13790           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13791           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13792           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13793           *)
13794             lt_use_gnu_ld_interface=yes
13795             ;;
13796         esac
13797         ;;
13798       *)
13799         lt_use_gnu_ld_interface=yes
13800         ;;
13801     esac
13802   fi
13803
13804   if test "$lt_use_gnu_ld_interface" = yes; then
13805     # If archive_cmds runs LD, not CC, wlarc should be empty
13806     wlarc='${wl}'
13807
13808     # Set some defaults for GNU ld with shared library support. These
13809     # are reset later if shared libraries are not supported. Putting them
13810     # here allows them to be overridden if necessary.
13811     runpath_var=LD_RUN_PATH
13812     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13813     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13814     # ancient GNU ld didn't support --whole-archive et. al.
13815     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13816       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13817     else
13818       whole_archive_flag_spec_FC=
13819     fi
13820     supports_anon_versioning=no
13821     case `$LD -v 2>&1` in
13822       *GNU\ gold*) supports_anon_versioning=yes ;;
13823       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13824       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13825       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13826       *\ 2.11.*) ;; # other 2.11 versions
13827       *) supports_anon_versioning=yes ;;
13828     esac
13829
13830     # See if GNU ld supports shared libraries.
13831     case $host_os in
13832     aix[3-9]*)
13833       # On AIX/PPC, the GNU linker is very broken
13834       if test "$host_cpu" != ia64; then
13835         ld_shlibs_FC=no
13836         cat <<_LT_EOF 1>&2
13837
13838 *** Warning: the GNU linker, at least up to release 2.19, is reported
13839 *** to be unable to reliably create shared libraries on AIX.
13840 *** Therefore, libtool is disabling shared libraries support.  If you
13841 *** really care for shared libraries, you may want to install binutils
13842 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13843 *** You will then need to restart the configuration process.
13844
13845 _LT_EOF
13846       fi
13847       ;;
13848
13849     amigaos*)
13850       case $host_cpu in
13851       powerpc)
13852             # see comment about AmigaOS4 .so support
13853             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13854             archive_expsym_cmds_FC=''
13855         ;;
13856       m68k)
13857             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)'
13858             hardcode_libdir_flag_spec_FC='-L$libdir'
13859             hardcode_minus_L_FC=yes
13860         ;;
13861       esac
13862       ;;
13863
13864     beos*)
13865       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13866         allow_undefined_flag_FC=unsupported
13867         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13868         # support --undefined.  This deserves some investigation.  FIXME
13869         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13870       else
13871         ld_shlibs_FC=no
13872       fi
13873       ;;
13874
13875     cygwin* | mingw* | pw32* | cegcc*)
13876       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13877       # as there is no search path for DLLs.
13878       hardcode_libdir_flag_spec_FC='-L$libdir'
13879       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13880       allow_undefined_flag_FC=unsupported
13881       always_export_symbols_FC=no
13882       enable_shared_with_static_runtimes_FC=yes
13883       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13884
13885       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13886         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13887         # If the export-symbols file already is a .def file (1st line
13888         # is EXPORTS), use it as is; otherwise, prepend...
13889         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13890           cp $export_symbols $output_objdir/$soname.def;
13891         else
13892           echo EXPORTS > $output_objdir/$soname.def;
13893           cat $export_symbols >> $output_objdir/$soname.def;
13894         fi~
13895         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13896       else
13897         ld_shlibs_FC=no
13898       fi
13899       ;;
13900
13901     haiku*)
13902       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13903       link_all_deplibs_FC=yes
13904       ;;
13905
13906     interix[3-9]*)
13907       hardcode_direct_FC=no
13908       hardcode_shlibpath_var_FC=no
13909       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13910       export_dynamic_flag_spec_FC='${wl}-E'
13911       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13912       # Instead, shared libraries are loaded at an image base (0x10000000 by
13913       # default) and relocated if they conflict, which is a slow very memory
13914       # consuming and fragmenting process.  To avoid this, we pick a random,
13915       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13916       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13917       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'
13918       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'
13919       ;;
13920
13921     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13922       tmp_diet=no
13923       if test "$host_os" = linux-dietlibc; then
13924         case $cc_basename in
13925           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
13926         esac
13927       fi
13928       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13929          && test "$tmp_diet" = no
13930       then
13931         tmp_addflag=
13932         tmp_sharedflag='-shared'
13933         case $cc_basename,$host_cpu in
13934         pgcc*)                          # Portland Group C compiler
13935           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'
13936           tmp_addflag=' $pic_flag'
13937           ;;
13938         pgf77* | pgf90* | pgf95* | pgfortran*)
13939                                         # Portland Group f77 and f90 compilers
13940           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'
13941           tmp_addflag=' $pic_flag -Mnomain' ;;
13942         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
13943           tmp_addflag=' -i_dynamic' ;;
13944         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13945           tmp_addflag=' -i_dynamic -nofor_main' ;;
13946         ifc* | ifort*)                  # Intel Fortran compiler
13947           tmp_addflag=' -nofor_main' ;;
13948         lf95*)                          # Lahey Fortran 8.1
13949           whole_archive_flag_spec_FC=
13950           tmp_sharedflag='--shared' ;;
13951         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13952           tmp_sharedflag='-qmkshrobj'
13953           tmp_addflag= ;;
13954         nvcc*)  # Cuda Compiler Driver 2.2
13955           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'
13956           compiler_needs_object_FC=yes
13957           ;;
13958         esac
13959         case `$CC -V 2>&1 | sed 5q` in
13960         *Sun\ C*)                       # Sun C 5.9
13961           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'
13962           compiler_needs_object_FC=yes
13963           tmp_sharedflag='-G' ;;
13964         *Sun\ F*)                       # Sun Fortran 8.3
13965           tmp_sharedflag='-G' ;;
13966         esac
13967         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13968
13969         if test "x$supports_anon_versioning" = xyes; then
13970           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13971             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13972             echo "local: *; };" >> $output_objdir/$libname.ver~
13973             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13974         fi
13975
13976         case $cc_basename in
13977         xlf* | bgf* | bgxlf* | mpixlf*)
13978           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13979           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13980           hardcode_libdir_flag_spec_FC=
13981           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13982           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13983           if test "x$supports_anon_versioning" = xyes; then
13984             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13985               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13986               echo "local: *; };" >> $output_objdir/$libname.ver~
13987               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13988           fi
13989           ;;
13990         esac
13991       else
13992         ld_shlibs_FC=no
13993       fi
13994       ;;
13995
13996     netbsd*)
13997       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13998         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13999         wlarc=
14000       else
14001         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14002         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14003       fi
14004       ;;
14005
14006     solaris*)
14007       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14008         ld_shlibs_FC=no
14009         cat <<_LT_EOF 1>&2
14010
14011 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14012 *** create shared libraries on Solaris systems.  Therefore, libtool
14013 *** is disabling shared libraries support.  We urge you to upgrade GNU
14014 *** binutils to release 2.9.1 or newer.  Another option is to modify
14015 *** your PATH or compiler configuration so that the native linker is
14016 *** used, and then restart.
14017
14018 _LT_EOF
14019       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14020         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14021         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14022       else
14023         ld_shlibs_FC=no
14024       fi
14025       ;;
14026
14027     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14028       case `$LD -v 2>&1` in
14029         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14030         ld_shlibs_FC=no
14031         cat <<_LT_EOF 1>&2
14032
14033 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14034 *** reliably create shared libraries on SCO systems.  Therefore, libtool
14035 *** is disabling shared libraries support.  We urge you to upgrade GNU
14036 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14037 *** your PATH or compiler configuration so that the native linker is
14038 *** used, and then restart.
14039
14040 _LT_EOF
14041         ;;
14042         *)
14043           # For security reasons, it is highly recommended that you always
14044           # use absolute paths for naming shared libraries, and exclude the
14045           # DT_RUNPATH tag from executables and libraries.  But doing so
14046           # requires that you compile everything twice, which is a pain.
14047           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14048             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14049             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14050             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14051           else
14052             ld_shlibs_FC=no
14053           fi
14054         ;;
14055       esac
14056       ;;
14057
14058     sunos4*)
14059       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14060       wlarc=
14061       hardcode_direct_FC=yes
14062       hardcode_shlibpath_var_FC=no
14063       ;;
14064
14065     *)
14066       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14067         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14068         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14069       else
14070         ld_shlibs_FC=no
14071       fi
14072       ;;
14073     esac
14074
14075     if test "$ld_shlibs_FC" = no; then
14076       runpath_var=
14077       hardcode_libdir_flag_spec_FC=
14078       export_dynamic_flag_spec_FC=
14079       whole_archive_flag_spec_FC=
14080     fi
14081   else
14082     # PORTME fill in a description of your system's linker (not GNU ld)
14083     case $host_os in
14084     aix3*)
14085       allow_undefined_flag_FC=unsupported
14086       always_export_symbols_FC=yes
14087       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'
14088       # Note: this linker hardcodes the directories in LIBPATH if there
14089       # are no directories specified by -L.
14090       hardcode_minus_L_FC=yes
14091       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14092         # Neither direct hardcoding nor static linking is supported with a
14093         # broken collect2.
14094         hardcode_direct_FC=unsupported
14095       fi
14096       ;;
14097
14098     aix[4-9]*)
14099       if test "$host_cpu" = ia64; then
14100         # On IA64, the linker does run time linking by default, so we don't
14101         # have to do anything special.
14102         aix_use_runtimelinking=no
14103         exp_sym_flag='-Bexport'
14104         no_entry_flag=""
14105       else
14106         # If we're using GNU nm, then we don't want the "-C" option.
14107         # -C means demangle to AIX nm, but means don't demangle with GNU nm
14108         # Also, AIX nm treats weak defined symbols like other global
14109         # defined symbols, whereas GNU nm marks them as "W".
14110         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14111           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'
14112         else
14113           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'
14114         fi
14115         aix_use_runtimelinking=no
14116
14117         # Test if we are trying to use run time linking or normal
14118         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14119         # need to do runtime linking.
14120         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14121           for ld_flag in $LDFLAGS; do
14122           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14123             aix_use_runtimelinking=yes
14124             break
14125           fi
14126           done
14127           ;;
14128         esac
14129
14130         exp_sym_flag='-bexport'
14131         no_entry_flag='-bnoentry'
14132       fi
14133
14134       # When large executables or shared objects are built, AIX ld can
14135       # have problems creating the table of contents.  If linking a library
14136       # or program results in "error TOC overflow" add -mminimal-toc to
14137       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14138       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14139
14140       archive_cmds_FC=''
14141       hardcode_direct_FC=yes
14142       hardcode_direct_absolute_FC=yes
14143       hardcode_libdir_separator_FC=':'
14144       link_all_deplibs_FC=yes
14145       file_list_spec_FC='${wl}-f,'
14146
14147       if test "$GCC" = yes; then
14148         case $host_os in aix4.[012]|aix4.[012].*)
14149         # We only want to do this on AIX 4.2 and lower, the check
14150         # below for broken collect2 doesn't work under 4.3+
14151           collect2name=`${CC} -print-prog-name=collect2`
14152           if test -f "$collect2name" &&
14153            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14154           then
14155           # We have reworked collect2
14156           :
14157           else
14158           # We have old collect2
14159           hardcode_direct_FC=unsupported
14160           # It fails to find uninstalled libraries when the uninstalled
14161           # path is not listed in the libpath.  Setting hardcode_minus_L
14162           # to unsupported forces relinking
14163           hardcode_minus_L_FC=yes
14164           hardcode_libdir_flag_spec_FC='-L$libdir'
14165           hardcode_libdir_separator_FC=
14166           fi
14167           ;;
14168         esac
14169         shared_flag='-shared'
14170         if test "$aix_use_runtimelinking" = yes; then
14171           shared_flag="$shared_flag "'${wl}-G'
14172         fi
14173       else
14174         # not using gcc
14175         if test "$host_cpu" = ia64; then
14176         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14177         # chokes on -Wl,-G. The following line is correct:
14178           shared_flag='-G'
14179         else
14180           if test "$aix_use_runtimelinking" = yes; then
14181             shared_flag='${wl}-G'
14182           else
14183             shared_flag='${wl}-bM:SRE'
14184           fi
14185         fi
14186       fi
14187
14188       export_dynamic_flag_spec_FC='${wl}-bexpall'
14189       # It seems that -bexpall does not export symbols beginning with
14190       # underscore (_), so it is better to generate a list of symbols to export.
14191       always_export_symbols_FC=yes
14192       if test "$aix_use_runtimelinking" = yes; then
14193         # Warning - without using the other runtime loading flags (-brtl),
14194         # -berok will link without error, but may produce a broken library.
14195         allow_undefined_flag_FC='-berok'
14196         # Determine the default libpath from the value encoded in an
14197         # empty executable.
14198         if test x$gcc_no_link = xyes; then
14199   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14200 fi
14201 cat > conftest.$ac_ext <<_ACEOF
14202       program main
14203
14204       end
14205 _ACEOF
14206 if ac_fn_fc_try_link "$LINENO"; then :
14207
14208 lt_aix_libpath_sed='
14209     /Import File Strings/,/^$/ {
14210         /^0/ {
14211             s/^0  *\(.*\)$/\1/
14212             p
14213         }
14214     }'
14215 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14216 # Check for a 64-bit object if we didn't find anything.
14217 if test -z "$aix_libpath"; then
14218   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14219 fi
14220 fi
14221 rm -f core conftest.err conftest.$ac_objext \
14222     conftest$ac_exeext conftest.$ac_ext
14223 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14224
14225         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14226         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"
14227       else
14228         if test "$host_cpu" = ia64; then
14229           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14230           allow_undefined_flag_FC="-z nodefs"
14231           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"
14232         else
14233          # Determine the default libpath from the value encoded in an
14234          # empty executable.
14235          if test x$gcc_no_link = xyes; then
14236   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14237 fi
14238 cat > conftest.$ac_ext <<_ACEOF
14239       program main
14240
14241       end
14242 _ACEOF
14243 if ac_fn_fc_try_link "$LINENO"; then :
14244
14245 lt_aix_libpath_sed='
14246     /Import File Strings/,/^$/ {
14247         /^0/ {
14248             s/^0  *\(.*\)$/\1/
14249             p
14250         }
14251     }'
14252 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14253 # Check for a 64-bit object if we didn't find anything.
14254 if test -z "$aix_libpath"; then
14255   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14256 fi
14257 fi
14258 rm -f core conftest.err conftest.$ac_objext \
14259     conftest$ac_exeext conftest.$ac_ext
14260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14261
14262          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14263           # Warning - without using the other run time loading flags,
14264           # -berok will link without error, but may produce a broken library.
14265           no_undefined_flag_FC=' ${wl}-bernotok'
14266           allow_undefined_flag_FC=' ${wl}-berok'
14267           if test "$with_gnu_ld" = yes; then
14268             # We only use this code for GNU lds that support --whole-archive.
14269             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14270           else
14271             # Exported symbols can be pulled into shared objects from archives
14272             whole_archive_flag_spec_FC='$convenience'
14273           fi
14274           archive_cmds_need_lc_FC=yes
14275           # This is similar to how AIX traditionally builds its shared libraries.
14276           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'
14277         fi
14278       fi
14279       ;;
14280
14281     amigaos*)
14282       case $host_cpu in
14283       powerpc)
14284             # see comment about AmigaOS4 .so support
14285             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14286             archive_expsym_cmds_FC=''
14287         ;;
14288       m68k)
14289             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)'
14290             hardcode_libdir_flag_spec_FC='-L$libdir'
14291             hardcode_minus_L_FC=yes
14292         ;;
14293       esac
14294       ;;
14295
14296     bsdi[45]*)
14297       export_dynamic_flag_spec_FC=-rdynamic
14298       ;;
14299
14300     cygwin* | mingw* | pw32* | cegcc*)
14301       # When not using gcc, we currently assume that we are using
14302       # Microsoft Visual C++.
14303       # hardcode_libdir_flag_spec is actually meaningless, as there is
14304       # no search path for DLLs.
14305       hardcode_libdir_flag_spec_FC=' '
14306       allow_undefined_flag_FC=unsupported
14307       # Tell ltmain to make .lib files, not .a files.
14308       libext=lib
14309       # Tell ltmain to make .dll files, not .so files.
14310       shrext_cmds=".dll"
14311       # FIXME: Setting linknames here is a bad hack.
14312       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14313       # The linker will automatically build a .lib file if we build a DLL.
14314       old_archive_from_new_cmds_FC='true'
14315       # FIXME: Should let the user specify the lib program.
14316       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14317       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14318       enable_shared_with_static_runtimes_FC=yes
14319       ;;
14320
14321     darwin* | rhapsody*)
14322
14323
14324   archive_cmds_need_lc_FC=no
14325   hardcode_direct_FC=no
14326   hardcode_automatic_FC=yes
14327   hardcode_shlibpath_var_FC=unsupported
14328   if test "$lt_cv_ld_force_load" = "yes"; then
14329     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\"`'
14330   else
14331     whole_archive_flag_spec_FC=''
14332   fi
14333   link_all_deplibs_FC=yes
14334   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14335   case $cc_basename in
14336      ifort*) _lt_dar_can_shared=yes ;;
14337      *) _lt_dar_can_shared=$GCC ;;
14338   esac
14339   if test "$_lt_dar_can_shared" = "yes"; then
14340     output_verbose_link_cmd=func_echo_all
14341     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}"
14342     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14343     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}"
14344     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}"
14345
14346   else
14347   ld_shlibs_FC=no
14348   fi
14349
14350       ;;
14351
14352     dgux*)
14353       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14354       hardcode_libdir_flag_spec_FC='-L$libdir'
14355       hardcode_shlibpath_var_FC=no
14356       ;;
14357
14358     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14359     # support.  Future versions do this automatically, but an explicit c++rt0.o
14360     # does not break anything, and helps significantly (at the cost of a little
14361     # extra space).
14362     freebsd2.2*)
14363       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14364       hardcode_libdir_flag_spec_FC='-R$libdir'
14365       hardcode_direct_FC=yes
14366       hardcode_shlibpath_var_FC=no
14367       ;;
14368
14369     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14370     freebsd2.*)
14371       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14372       hardcode_direct_FC=yes
14373       hardcode_minus_L_FC=yes
14374       hardcode_shlibpath_var_FC=no
14375       ;;
14376
14377     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14378     freebsd* | dragonfly*)
14379       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14380       hardcode_libdir_flag_spec_FC='-R$libdir'
14381       hardcode_direct_FC=yes
14382       hardcode_shlibpath_var_FC=no
14383       ;;
14384
14385     hpux9*)
14386       if test "$GCC" = yes; then
14387         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'
14388       else
14389         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'
14390       fi
14391       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14392       hardcode_libdir_separator_FC=:
14393       hardcode_direct_FC=yes
14394
14395       # hardcode_minus_L: Not really in the search PATH,
14396       # but as the default location of the library.
14397       hardcode_minus_L_FC=yes
14398       export_dynamic_flag_spec_FC='${wl}-E'
14399       ;;
14400
14401     hpux10*)
14402       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14403         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14404       else
14405         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14406       fi
14407       if test "$with_gnu_ld" = no; then
14408         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14409         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14410         hardcode_libdir_separator_FC=:
14411         hardcode_direct_FC=yes
14412         hardcode_direct_absolute_FC=yes
14413         export_dynamic_flag_spec_FC='${wl}-E'
14414         # hardcode_minus_L: Not really in the search PATH,
14415         # but as the default location of the library.
14416         hardcode_minus_L_FC=yes
14417       fi
14418       ;;
14419
14420     hpux11*)
14421       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14422         case $host_cpu in
14423         hppa*64*)
14424           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14425           ;;
14426         ia64*)
14427           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14428           ;;
14429         *)
14430           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14431           ;;
14432         esac
14433       else
14434         case $host_cpu in
14435         hppa*64*)
14436           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14437           ;;
14438         ia64*)
14439           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14440           ;;
14441         *)
14442         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14443           ;;
14444         esac
14445       fi
14446       if test "$with_gnu_ld" = no; then
14447         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14448         hardcode_libdir_separator_FC=:
14449
14450         case $host_cpu in
14451         hppa*64*|ia64*)
14452           hardcode_direct_FC=no
14453           hardcode_shlibpath_var_FC=no
14454           ;;
14455         *)
14456           hardcode_direct_FC=yes
14457           hardcode_direct_absolute_FC=yes
14458           export_dynamic_flag_spec_FC='${wl}-E'
14459
14460           # hardcode_minus_L: Not really in the search PATH,
14461           # but as the default location of the library.
14462           hardcode_minus_L_FC=yes
14463           ;;
14464         esac
14465       fi
14466       ;;
14467
14468     irix5* | irix6* | nonstopux*)
14469       if test "$GCC" = yes; then
14470         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'
14471         # Try to use the -exported_symbol ld option, if it does not
14472         # work, assume that -exports_file does not work either and
14473         # implicitly export all symbols.
14474         save_LDFLAGS="$LDFLAGS"
14475         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14476         if test x$gcc_no_link = xyes; then
14477   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14478 fi
14479 cat > conftest.$ac_ext <<_ACEOF
14480 int foo(void) {}
14481 _ACEOF
14482 if ac_fn_fc_try_link "$LINENO"; then :
14483   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'
14484
14485 fi
14486 rm -f core conftest.err conftest.$ac_objext \
14487     conftest$ac_exeext conftest.$ac_ext
14488         LDFLAGS="$save_LDFLAGS"
14489       else
14490         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'
14491         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'
14492       fi
14493       archive_cmds_need_lc_FC='no'
14494       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14495       hardcode_libdir_separator_FC=:
14496       inherit_rpath_FC=yes
14497       link_all_deplibs_FC=yes
14498       ;;
14499
14500     netbsd*)
14501       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14502         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14503       else
14504         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14505       fi
14506       hardcode_libdir_flag_spec_FC='-R$libdir'
14507       hardcode_direct_FC=yes
14508       hardcode_shlibpath_var_FC=no
14509       ;;
14510
14511     newsos6)
14512       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14513       hardcode_direct_FC=yes
14514       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14515       hardcode_libdir_separator_FC=:
14516       hardcode_shlibpath_var_FC=no
14517       ;;
14518
14519     *nto* | *qnx*)
14520       ;;
14521
14522     openbsd*)
14523       if test -f /usr/libexec/ld.so; then
14524         hardcode_direct_FC=yes
14525         hardcode_shlibpath_var_FC=no
14526         hardcode_direct_absolute_FC=yes
14527         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14528           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14529           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14530           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14531           export_dynamic_flag_spec_FC='${wl}-E'
14532         else
14533           case $host_os in
14534            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14535              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14536              hardcode_libdir_flag_spec_FC='-R$libdir'
14537              ;;
14538            *)
14539              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14540              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14541              ;;
14542           esac
14543         fi
14544       else
14545         ld_shlibs_FC=no
14546       fi
14547       ;;
14548
14549     os2*)
14550       hardcode_libdir_flag_spec_FC='-L$libdir'
14551       hardcode_minus_L_FC=yes
14552       allow_undefined_flag_FC=unsupported
14553       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'
14554       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14555       ;;
14556
14557     osf3*)
14558       if test "$GCC" = yes; then
14559         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14560         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'
14561       else
14562         allow_undefined_flag_FC=' -expect_unresolved \*'
14563         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'
14564       fi
14565       archive_cmds_need_lc_FC='no'
14566       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14567       hardcode_libdir_separator_FC=:
14568       ;;
14569
14570     osf4* | osf5*)      # as osf3* with the addition of -msym flag
14571       if test "$GCC" = yes; then
14572         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14573         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'
14574         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14575       else
14576         allow_undefined_flag_FC=' -expect_unresolved \*'
14577         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'
14578         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~
14579         $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'
14580
14581         # Both c and cxx compiler support -rpath directly
14582         hardcode_libdir_flag_spec_FC='-rpath $libdir'
14583       fi
14584       archive_cmds_need_lc_FC='no'
14585       hardcode_libdir_separator_FC=:
14586       ;;
14587
14588     solaris*)
14589       no_undefined_flag_FC=' -z defs'
14590       if test "$GCC" = yes; then
14591         wlarc='${wl}'
14592         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14593         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14594           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14595       else
14596         case `$CC -V 2>&1` in
14597         *"Compilers 5.0"*)
14598           wlarc=''
14599           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14600           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14601           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14602           ;;
14603         *)
14604           wlarc='${wl}'
14605           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14606           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14607           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14608           ;;
14609         esac
14610       fi
14611       hardcode_libdir_flag_spec_FC='-R$libdir'
14612       hardcode_shlibpath_var_FC=no
14613       case $host_os in
14614       solaris2.[0-5] | solaris2.[0-5].*) ;;
14615       *)
14616         # The compiler driver will combine and reorder linker options,
14617         # but understands `-z linker_flag'.  GCC discards it without `$wl',
14618         # but is careful enough not to reorder.
14619         # Supported since Solaris 2.6 (maybe 2.5.1?)
14620         if test "$GCC" = yes; then
14621           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14622         else
14623           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14624         fi
14625         ;;
14626       esac
14627       link_all_deplibs_FC=yes
14628       ;;
14629
14630     sunos4*)
14631       if test "x$host_vendor" = xsequent; then
14632         # Use $CC to link under sequent, because it throws in some extra .o
14633         # files that make .init and .fini sections work.
14634         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14635       else
14636         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14637       fi
14638       hardcode_libdir_flag_spec_FC='-L$libdir'
14639       hardcode_direct_FC=yes
14640       hardcode_minus_L_FC=yes
14641       hardcode_shlibpath_var_FC=no
14642       ;;
14643
14644     sysv4)
14645       case $host_vendor in
14646         sni)
14647           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14648           hardcode_direct_FC=yes # is this really true???
14649         ;;
14650         siemens)
14651           ## LD is ld it makes a PLAMLIB
14652           ## CC just makes a GrossModule.
14653           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14654           reload_cmds_FC='$CC -r -o $output$reload_objs'
14655           hardcode_direct_FC=no
14656         ;;
14657         motorola)
14658           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14659           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14660         ;;
14661       esac
14662       runpath_var='LD_RUN_PATH'
14663       hardcode_shlibpath_var_FC=no
14664       ;;
14665
14666     sysv4.3*)
14667       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14668       hardcode_shlibpath_var_FC=no
14669       export_dynamic_flag_spec_FC='-Bexport'
14670       ;;
14671
14672     sysv4*MP*)
14673       if test -d /usr/nec; then
14674         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14675         hardcode_shlibpath_var_FC=no
14676         runpath_var=LD_RUN_PATH
14677         hardcode_runpath_var=yes
14678         ld_shlibs_FC=yes
14679       fi
14680       ;;
14681
14682     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14683       no_undefined_flag_FC='${wl}-z,text'
14684       archive_cmds_need_lc_FC=no
14685       hardcode_shlibpath_var_FC=no
14686       runpath_var='LD_RUN_PATH'
14687
14688       if test "$GCC" = yes; then
14689         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14690         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14691       else
14692         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14693         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14694       fi
14695       ;;
14696
14697     sysv5* | sco3.2v5* | sco5v6*)
14698       # Note: We can NOT use -z defs as we might desire, because we do not
14699       # link with -lc, and that would cause any symbols used from libc to
14700       # always be unresolved, which means just about no library would
14701       # ever link correctly.  If we're not using GNU ld we use -z text
14702       # though, which does catch some bad symbols but isn't as heavy-handed
14703       # as -z defs.
14704       no_undefined_flag_FC='${wl}-z,text'
14705       allow_undefined_flag_FC='${wl}-z,nodefs'
14706       archive_cmds_need_lc_FC=no
14707       hardcode_shlibpath_var_FC=no
14708       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14709       hardcode_libdir_separator_FC=':'
14710       link_all_deplibs_FC=yes
14711       export_dynamic_flag_spec_FC='${wl}-Bexport'
14712       runpath_var='LD_RUN_PATH'
14713
14714       if test "$GCC" = yes; then
14715         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14716         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14717       else
14718         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14719         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14720       fi
14721       ;;
14722
14723     uts4*)
14724       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14725       hardcode_libdir_flag_spec_FC='-L$libdir'
14726       hardcode_shlibpath_var_FC=no
14727       ;;
14728
14729     *)
14730       ld_shlibs_FC=no
14731       ;;
14732     esac
14733
14734     if test x$host_vendor = xsni; then
14735       case $host in
14736       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14737         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14738         ;;
14739       esac
14740     fi
14741   fi
14742
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14744 $as_echo "$ld_shlibs_FC" >&6; }
14745 test "$ld_shlibs_FC" = no && can_build_shared=no
14746
14747 with_gnu_ld_FC=$with_gnu_ld
14748
14749
14750
14751
14752
14753
14754 #
14755 # Do we need to explicitly link libc?
14756 #
14757 case "x$archive_cmds_need_lc_FC" in
14758 x|xyes)
14759   # Assume -lc should be added
14760   archive_cmds_need_lc_FC=yes
14761
14762   if test "$enable_shared" = yes && test "$GCC" = yes; then
14763     case $archive_cmds_FC in
14764     *'~'*)
14765       # FIXME: we may have to deal with multi-command sequences.
14766       ;;
14767     '$CC '*)
14768       # Test whether the compiler implicitly links with -lc since on some
14769       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14770       # to ld, don't add -lc before -lgcc.
14771       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14772 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14773 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14774   $as_echo_n "(cached) " >&6
14775 else
14776   $RM conftest*
14777         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14778
14779         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14780   (eval $ac_compile) 2>&5
14781   ac_status=$?
14782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14783   test $ac_status = 0; } 2>conftest.err; then
14784           soname=conftest
14785           lib=conftest
14786           libobjs=conftest.$ac_objext
14787           deplibs=
14788           wl=$lt_prog_compiler_wl_FC
14789           pic_flag=$lt_prog_compiler_pic_FC
14790           compiler_flags=-v
14791           linker_flags=-v
14792           verstring=
14793           output_objdir=.
14794           libname=conftest
14795           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14796           allow_undefined_flag_FC=
14797           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14798   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14799   ac_status=$?
14800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801   test $ac_status = 0; }
14802           then
14803             lt_cv_archive_cmds_need_lc_FC=no
14804           else
14805             lt_cv_archive_cmds_need_lc_FC=yes
14806           fi
14807           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14808         else
14809           cat conftest.err 1>&5
14810         fi
14811         $RM conftest*
14812
14813 fi
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14815 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14816       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14817       ;;
14818     esac
14819   fi
14820   ;;
14821 esac
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14887 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14888
14889 library_names_spec=
14890 libname_spec='lib$name'
14891 soname_spec=
14892 shrext_cmds=".so"
14893 postinstall_cmds=
14894 postuninstall_cmds=
14895 finish_cmds=
14896 finish_eval=
14897 shlibpath_var=
14898 shlibpath_overrides_runpath=unknown
14899 version_type=none
14900 dynamic_linker="$host_os ld.so"
14901 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14902 need_lib_prefix=unknown
14903 hardcode_into_libs=no
14904
14905 # when you set need_version to no, make sure it does not cause -set_version
14906 # flags to be left without arguments
14907 need_version=unknown
14908
14909 case $host_os in
14910 aix3*)
14911   version_type=linux
14912   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14913   shlibpath_var=LIBPATH
14914
14915   # AIX 3 has no versioning support, so we append a major version to the name.
14916   soname_spec='${libname}${release}${shared_ext}$major'
14917   ;;
14918
14919 aix[4-9]*)
14920   version_type=linux
14921   need_lib_prefix=no
14922   need_version=no
14923   hardcode_into_libs=yes
14924   if test "$host_cpu" = ia64; then
14925     # AIX 5 supports IA64
14926     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14927     shlibpath_var=LD_LIBRARY_PATH
14928   else
14929     # With GCC up to 2.95.x, collect2 would create an import file
14930     # for dependence libraries.  The import file would start with
14931     # the line `#! .'.  This would cause the generated library to
14932     # depend on `.', always an invalid library.  This was fixed in
14933     # development snapshots of GCC prior to 3.0.
14934     case $host_os in
14935       aix4 | aix4.[01] | aix4.[01].*)
14936       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14937            echo ' yes '
14938            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14939         :
14940       else
14941         can_build_shared=no
14942       fi
14943       ;;
14944     esac
14945     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14946     # soname into executable. Probably we can add versioning support to
14947     # collect2, so additional links can be useful in future.
14948     if test "$aix_use_runtimelinking" = yes; then
14949       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14950       # instead of lib<name>.a to let people know that these are not
14951       # typical AIX shared libraries.
14952       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14953     else
14954       # We preserve .a as extension for shared libraries through AIX4.2
14955       # and later when we are not doing run time linking.
14956       library_names_spec='${libname}${release}.a $libname.a'
14957       soname_spec='${libname}${release}${shared_ext}$major'
14958     fi
14959     shlibpath_var=LIBPATH
14960   fi
14961   ;;
14962
14963 amigaos*)
14964   case $host_cpu in
14965   powerpc)
14966     # Since July 2007 AmigaOS4 officially supports .so libraries.
14967     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14968     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14969     ;;
14970   m68k)
14971     library_names_spec='$libname.ixlibrary $libname.a'
14972     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14973     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'
14974     ;;
14975   esac
14976   ;;
14977
14978 beos*)
14979   library_names_spec='${libname}${shared_ext}'
14980   dynamic_linker="$host_os ld.so"
14981   shlibpath_var=LIBRARY_PATH
14982   ;;
14983
14984 bsdi[45]*)
14985   version_type=linux
14986   need_version=no
14987   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14988   soname_spec='${libname}${release}${shared_ext}$major'
14989   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14990   shlibpath_var=LD_LIBRARY_PATH
14991   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14992   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14993   # the default ld.so.conf also contains /usr/contrib/lib and
14994   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14995   # libtool to hard-code these into programs
14996   ;;
14997
14998 cygwin* | mingw* | pw32* | cegcc*)
14999   version_type=windows
15000   shrext_cmds=".dll"
15001   need_version=no
15002   need_lib_prefix=no
15003
15004   case $GCC,$host_os in
15005   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15006     library_names_spec='$libname.dll.a'
15007     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15008     postinstall_cmds='base_file=`basename \${file}`~
15009       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15010       dldir=$destdir/`dirname \$dlpath`~
15011       test -d \$dldir || mkdir -p \$dldir~
15012       $install_prog $dir/$dlname \$dldir/$dlname~
15013       chmod a+x \$dldir/$dlname~
15014       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15015         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15016       fi'
15017     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15018       dlpath=$dir/\$dldll~
15019        $RM \$dlpath'
15020     shlibpath_overrides_runpath=yes
15021
15022     case $host_os in
15023     cygwin*)
15024       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15025       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15026
15027       ;;
15028     mingw* | cegcc*)
15029       # MinGW DLLs use traditional 'lib' prefix
15030       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15031       ;;
15032     pw32*)
15033       # pw32 DLLs use 'pw' prefix rather than 'lib'
15034       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15035       ;;
15036     esac
15037     ;;
15038
15039   *)
15040     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15041     ;;
15042   esac
15043   dynamic_linker='Win32 ld.exe'
15044   # FIXME: first we should search . and the directory the executable is in
15045   shlibpath_var=PATH
15046   ;;
15047
15048 darwin* | rhapsody*)
15049   dynamic_linker="$host_os dyld"
15050   version_type=darwin
15051   need_lib_prefix=no
15052   need_version=no
15053   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15054   soname_spec='${libname}${release}${major}$shared_ext'
15055   shlibpath_overrides_runpath=yes
15056   shlibpath_var=DYLD_LIBRARY_PATH
15057   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15058
15059   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15060   ;;
15061
15062 dgux*)
15063   version_type=linux
15064   need_lib_prefix=no
15065   need_version=no
15066   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15067   soname_spec='${libname}${release}${shared_ext}$major'
15068   shlibpath_var=LD_LIBRARY_PATH
15069   ;;
15070
15071 freebsd* | dragonfly*)
15072   # DragonFly does not have aout.  When/if they implement a new
15073   # versioning mechanism, adjust this.
15074   if test -x /usr/bin/objformat; then
15075     objformat=`/usr/bin/objformat`
15076   else
15077     case $host_os in
15078     freebsd[23].*) objformat=aout ;;
15079     *) objformat=elf ;;
15080     esac
15081   fi
15082   version_type=freebsd-$objformat
15083   case $version_type in
15084     freebsd-elf*)
15085       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15086       need_version=no
15087       need_lib_prefix=no
15088       ;;
15089     freebsd-*)
15090       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15091       need_version=yes
15092       ;;
15093   esac
15094   shlibpath_var=LD_LIBRARY_PATH
15095   case $host_os in
15096   freebsd2.*)
15097     shlibpath_overrides_runpath=yes
15098     ;;
15099   freebsd3.[01]* | freebsdelf3.[01]*)
15100     shlibpath_overrides_runpath=yes
15101     hardcode_into_libs=yes
15102     ;;
15103   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15104   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15105     shlibpath_overrides_runpath=no
15106     hardcode_into_libs=yes
15107     ;;
15108   *) # from 4.6 on, and DragonFly
15109     shlibpath_overrides_runpath=yes
15110     hardcode_into_libs=yes
15111     ;;
15112   esac
15113   ;;
15114
15115 gnu*)
15116   version_type=linux
15117   need_lib_prefix=no
15118   need_version=no
15119   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15120   soname_spec='${libname}${release}${shared_ext}$major'
15121   shlibpath_var=LD_LIBRARY_PATH
15122   hardcode_into_libs=yes
15123   ;;
15124
15125 haiku*)
15126   version_type=linux
15127   need_lib_prefix=no
15128   need_version=no
15129   dynamic_linker="$host_os runtime_loader"
15130   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15131   soname_spec='${libname}${release}${shared_ext}$major'
15132   shlibpath_var=LIBRARY_PATH
15133   shlibpath_overrides_runpath=yes
15134   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15135   hardcode_into_libs=yes
15136   ;;
15137
15138 hpux9* | hpux10* | hpux11*)
15139   # Give a soname corresponding to the major version so that dld.sl refuses to
15140   # link against other versions.
15141   version_type=sunos
15142   need_lib_prefix=no
15143   need_version=no
15144   case $host_cpu in
15145   ia64*)
15146     shrext_cmds='.so'
15147     hardcode_into_libs=yes
15148     dynamic_linker="$host_os dld.so"
15149     shlibpath_var=LD_LIBRARY_PATH
15150     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15151     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15152     soname_spec='${libname}${release}${shared_ext}$major'
15153     if test "X$HPUX_IA64_MODE" = X32; then
15154       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15155     else
15156       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15157     fi
15158     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15159     ;;
15160   hppa*64*)
15161     shrext_cmds='.sl'
15162     hardcode_into_libs=yes
15163     dynamic_linker="$host_os dld.sl"
15164     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15165     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15166     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15167     soname_spec='${libname}${release}${shared_ext}$major'
15168     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15169     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15170     ;;
15171   *)
15172     shrext_cmds='.sl'
15173     dynamic_linker="$host_os dld.sl"
15174     shlibpath_var=SHLIB_PATH
15175     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15176     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15177     soname_spec='${libname}${release}${shared_ext}$major'
15178     ;;
15179   esac
15180   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15181   postinstall_cmds='chmod 555 $lib'
15182   # or fails outright, so override atomically:
15183   install_override_mode=555
15184   ;;
15185
15186 interix[3-9]*)
15187   version_type=linux
15188   need_lib_prefix=no
15189   need_version=no
15190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15191   soname_spec='${libname}${release}${shared_ext}$major'
15192   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15193   shlibpath_var=LD_LIBRARY_PATH
15194   shlibpath_overrides_runpath=no
15195   hardcode_into_libs=yes
15196   ;;
15197
15198 irix5* | irix6* | nonstopux*)
15199   case $host_os in
15200     nonstopux*) version_type=nonstopux ;;
15201     *)
15202         if test "$lt_cv_prog_gnu_ld" = yes; then
15203                 version_type=linux
15204         else
15205                 version_type=irix
15206         fi ;;
15207   esac
15208   need_lib_prefix=no
15209   need_version=no
15210   soname_spec='${libname}${release}${shared_ext}$major'
15211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15212   case $host_os in
15213   irix5* | nonstopux*)
15214     libsuff= shlibsuff=
15215     ;;
15216   *)
15217     case $LD in # libtool.m4 will add one of these switches to LD
15218     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15219       libsuff= shlibsuff= libmagic=32-bit;;
15220     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15221       libsuff=32 shlibsuff=N32 libmagic=N32;;
15222     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15223       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15224     *) libsuff= shlibsuff= libmagic=never-match;;
15225     esac
15226     ;;
15227   esac
15228   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15229   shlibpath_overrides_runpath=no
15230   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15231   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15232   hardcode_into_libs=yes
15233   ;;
15234
15235 # No shared lib support for Linux oldld, aout, or coff.
15236 linux*oldld* | linux*aout* | linux*coff*)
15237   dynamic_linker=no
15238   ;;
15239
15240 # This must be Linux ELF.
15241 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15242   version_type=linux
15243   need_lib_prefix=no
15244   need_version=no
15245   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15246   soname_spec='${libname}${release}${shared_ext}$major'
15247   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15248   shlibpath_var=LD_LIBRARY_PATH
15249   shlibpath_overrides_runpath=no
15250
15251   # Some binutils ld are patched to set DT_RUNPATH
15252   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15253   $as_echo_n "(cached) " >&6
15254 else
15255   lt_cv_shlibpath_overrides_runpath=no
15256     save_LDFLAGS=$LDFLAGS
15257     save_libdir=$libdir
15258     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15259          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15260     if test x$gcc_no_link = xyes; then
15261   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15262 fi
15263 cat > conftest.$ac_ext <<_ACEOF
15264       program main
15265
15266       end
15267 _ACEOF
15268 if ac_fn_fc_try_link "$LINENO"; then :
15269   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15270   lt_cv_shlibpath_overrides_runpath=yes
15271 fi
15272 fi
15273 rm -f core conftest.err conftest.$ac_objext \
15274     conftest$ac_exeext conftest.$ac_ext
15275     LDFLAGS=$save_LDFLAGS
15276     libdir=$save_libdir
15277
15278 fi
15279
15280   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15281
15282   # This implies no fast_install, which is unacceptable.
15283   # Some rework will be needed to allow for fast_install
15284   # before this can be enabled.
15285   hardcode_into_libs=yes
15286
15287   # Append ld.so.conf contents to the search path
15288   if test -f /etc/ld.so.conf; then
15289     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' ' '`
15290     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15291   fi
15292
15293   # We used to test for /lib/ld.so.1 and disable shared libraries on
15294   # powerpc, because MkLinux only supported shared libraries with the
15295   # GNU dynamic linker.  Since this was broken with cross compilers,
15296   # most powerpc-linux boxes support dynamic linking these days and
15297   # people can always --disable-shared, the test was removed, and we
15298   # assume the GNU/Linux dynamic linker is in use.
15299   dynamic_linker='GNU/Linux ld.so'
15300   ;;
15301
15302 netbsd*)
15303   version_type=sunos
15304   need_lib_prefix=no
15305   need_version=no
15306   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15307     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15308     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15309     dynamic_linker='NetBSD (a.out) ld.so'
15310   else
15311     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15312     soname_spec='${libname}${release}${shared_ext}$major'
15313     dynamic_linker='NetBSD ld.elf_so'
15314   fi
15315   shlibpath_var=LD_LIBRARY_PATH
15316   shlibpath_overrides_runpath=yes
15317   hardcode_into_libs=yes
15318   ;;
15319
15320 newsos6)
15321   version_type=linux
15322   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15323   shlibpath_var=LD_LIBRARY_PATH
15324   shlibpath_overrides_runpath=yes
15325   ;;
15326
15327 *nto* | *qnx*)
15328   version_type=qnx
15329   need_lib_prefix=no
15330   need_version=no
15331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15332   soname_spec='${libname}${release}${shared_ext}$major'
15333   shlibpath_var=LD_LIBRARY_PATH
15334   shlibpath_overrides_runpath=no
15335   hardcode_into_libs=yes
15336   dynamic_linker='ldqnx.so'
15337   ;;
15338
15339 openbsd*)
15340   version_type=sunos
15341   sys_lib_dlsearch_path_spec="/usr/lib"
15342   need_lib_prefix=no
15343   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15344   case $host_os in
15345     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15346     *)                          need_version=no  ;;
15347   esac
15348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15349   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15350   shlibpath_var=LD_LIBRARY_PATH
15351   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15352     case $host_os in
15353       openbsd2.[89] | openbsd2.[89].*)
15354         shlibpath_overrides_runpath=no
15355         ;;
15356       *)
15357         shlibpath_overrides_runpath=yes
15358         ;;
15359       esac
15360   else
15361     shlibpath_overrides_runpath=yes
15362   fi
15363   ;;
15364
15365 os2*)
15366   libname_spec='$name'
15367   shrext_cmds=".dll"
15368   need_lib_prefix=no
15369   library_names_spec='$libname${shared_ext} $libname.a'
15370   dynamic_linker='OS/2 ld.exe'
15371   shlibpath_var=LIBPATH
15372   ;;
15373
15374 osf3* | osf4* | osf5*)
15375   version_type=osf
15376   need_lib_prefix=no
15377   need_version=no
15378   soname_spec='${libname}${release}${shared_ext}$major'
15379   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15380   shlibpath_var=LD_LIBRARY_PATH
15381   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15382   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15383   ;;
15384
15385 rdos*)
15386   dynamic_linker=no
15387   ;;
15388
15389 solaris*)
15390   version_type=linux
15391   need_lib_prefix=no
15392   need_version=no
15393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394   soname_spec='${libname}${release}${shared_ext}$major'
15395   shlibpath_var=LD_LIBRARY_PATH
15396   shlibpath_overrides_runpath=yes
15397   hardcode_into_libs=yes
15398   # ldd complains unless libraries are executable
15399   postinstall_cmds='chmod +x $lib'
15400   ;;
15401
15402 sunos4*)
15403   version_type=sunos
15404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15405   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15406   shlibpath_var=LD_LIBRARY_PATH
15407   shlibpath_overrides_runpath=yes
15408   if test "$with_gnu_ld" = yes; then
15409     need_lib_prefix=no
15410   fi
15411   need_version=yes
15412   ;;
15413
15414 sysv4 | sysv4.3*)
15415   version_type=linux
15416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15417   soname_spec='${libname}${release}${shared_ext}$major'
15418   shlibpath_var=LD_LIBRARY_PATH
15419   case $host_vendor in
15420     sni)
15421       shlibpath_overrides_runpath=no
15422       need_lib_prefix=no
15423       runpath_var=LD_RUN_PATH
15424       ;;
15425     siemens)
15426       need_lib_prefix=no
15427       ;;
15428     motorola)
15429       need_lib_prefix=no
15430       need_version=no
15431       shlibpath_overrides_runpath=no
15432       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15433       ;;
15434   esac
15435   ;;
15436
15437 sysv4*MP*)
15438   if test -d /usr/nec ;then
15439     version_type=linux
15440     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15441     soname_spec='$libname${shared_ext}.$major'
15442     shlibpath_var=LD_LIBRARY_PATH
15443   fi
15444   ;;
15445
15446 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15447   version_type=freebsd-elf
15448   need_lib_prefix=no
15449   need_version=no
15450   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15451   soname_spec='${libname}${release}${shared_ext}$major'
15452   shlibpath_var=LD_LIBRARY_PATH
15453   shlibpath_overrides_runpath=yes
15454   hardcode_into_libs=yes
15455   if test "$with_gnu_ld" = yes; then
15456     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15457   else
15458     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15459     case $host_os in
15460       sco3.2v5*)
15461         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15462         ;;
15463     esac
15464   fi
15465   sys_lib_dlsearch_path_spec='/usr/lib'
15466   ;;
15467
15468 tpf*)
15469   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15470   version_type=linux
15471   need_lib_prefix=no
15472   need_version=no
15473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15474   shlibpath_var=LD_LIBRARY_PATH
15475   shlibpath_overrides_runpath=no
15476   hardcode_into_libs=yes
15477   ;;
15478
15479 uts4*)
15480   version_type=linux
15481   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15482   soname_spec='${libname}${release}${shared_ext}$major'
15483   shlibpath_var=LD_LIBRARY_PATH
15484   ;;
15485
15486 *)
15487   dynamic_linker=no
15488   ;;
15489 esac
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15491 $as_echo "$dynamic_linker" >&6; }
15492 test "$dynamic_linker" = no && can_build_shared=no
15493
15494 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15495 if test "$GCC" = yes; then
15496   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15497 fi
15498
15499 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15500   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15501 fi
15502 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15503   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15504 fi
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15545 hardcode_action_FC=
15546 if test -n "$hardcode_libdir_flag_spec_FC" ||
15547    test -n "$runpath_var_FC" ||
15548    test "X$hardcode_automatic_FC" = "Xyes" ; then
15549
15550   # We can hardcode non-existent directories.
15551   if test "$hardcode_direct_FC" != no &&
15552      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15553      # have to relink, otherwise we might link with an installed library
15554      # when we should be linking with a yet-to-be-installed one
15555      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15556      test "$hardcode_minus_L_FC" != no; then
15557     # Linking always hardcodes the temporary library directory.
15558     hardcode_action_FC=relink
15559   else
15560     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15561     hardcode_action_FC=immediate
15562   fi
15563 else
15564   # We cannot hardcode anything, or else we can only hardcode existing
15565   # directories.
15566   hardcode_action_FC=unsupported
15567 fi
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15569 $as_echo "$hardcode_action_FC" >&6; }
15570
15571 if test "$hardcode_action_FC" = relink ||
15572    test "$inherit_rpath_FC" = yes; then
15573   # Fast installation is not supported
15574   enable_fast_install=no
15575 elif test "$shlibpath_overrides_runpath" = yes ||
15576      test "$enable_shared" = no; then
15577   # Fast installation is not necessary
15578   enable_fast_install=needless
15579 fi
15580
15581
15582
15583
15584
15585
15586
15587   fi # test -n "$compiler"
15588
15589   GCC=$lt_save_GCC
15590   CC="$lt_save_CC"
15591 fi # test "$_lt_disable_FC" != yes
15592
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15598
15599
15600
15601 # extra LD Flags which are required for targets
15602 case "${host}" in
15603   *-darwin*)
15604     # Darwin needs -single_module when linking libgfortran
15605     extra_ldflags_libgfortran=-Wl,-single_module
15606     ;;
15607 esac
15608
15609
15610 # We need a working compiler at that point, otherwise give a clear
15611 # error message and bail out.
15612
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15614 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15615 ac_ext=${ac_fc_srcext-f}
15616 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15617 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15619
15620 cat > conftest.$ac_ext <<_ACEOF
15621
15622       program foo
15623       real, parameter :: bar = sin (12.34 / 2.5)
15624       end program foo
15625 _ACEOF
15626 if ac_fn_fc_try_compile "$LINENO"; then :
15627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15628 $as_echo "yes" >&6; }
15629 else
15630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15631 $as_echo "no" >&6; }
15632      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15633
15634 fi
15635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15636 ac_ext=c
15637 ac_cpp='$CPP $CPPFLAGS'
15638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15641
15642
15643
15644 # Check whether --enable-largefile was given.
15645 if test "${enable_largefile+set}" = set; then :
15646   enableval=$enable_largefile;
15647 fi
15648
15649 if test "$enable_largefile" != no; then
15650
15651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15652 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15653 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15654   $as_echo_n "(cached) " >&6
15655 else
15656   ac_cv_sys_largefile_CC=no
15657      if test "$GCC" != yes; then
15658        ac_save_CC=$CC
15659        while :; do
15660          # IRIX 6.2 and later do not support large files by default,
15661          # so use the C compiler's -n32 option if that helps.
15662          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h.  */
15664 #include <sys/types.h>
15665  /* Check that off_t can represent 2**63 - 1 correctly.
15666     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15667     since some C++ compilers masquerading as C compilers
15668     incorrectly reject 9223372036854775807.  */
15669 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15670   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15671                        && LARGE_OFF_T % 2147483647 == 1)
15672                       ? 1 : -1];
15673 int
15674 main ()
15675 {
15676
15677   ;
15678   return 0;
15679 }
15680 _ACEOF
15681          if ac_fn_c_try_compile "$LINENO"; then :
15682   break
15683 fi
15684 rm -f core conftest.err conftest.$ac_objext
15685          CC="$CC -n32"
15686          if ac_fn_c_try_compile "$LINENO"; then :
15687   ac_cv_sys_largefile_CC=' -n32'; break
15688 fi
15689 rm -f core conftest.err conftest.$ac_objext
15690          break
15691        done
15692        CC=$ac_save_CC
15693        rm -f conftest.$ac_ext
15694     fi
15695 fi
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15697 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15698   if test "$ac_cv_sys_largefile_CC" != no; then
15699     CC=$CC$ac_cv_sys_largefile_CC
15700   fi
15701
15702   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15703 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15704 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15705   $as_echo_n "(cached) " >&6
15706 else
15707   while :; do
15708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h.  */
15710 #include <sys/types.h>
15711  /* Check that off_t can represent 2**63 - 1 correctly.
15712     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15713     since some C++ compilers masquerading as C compilers
15714     incorrectly reject 9223372036854775807.  */
15715 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15716   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15717                        && LARGE_OFF_T % 2147483647 == 1)
15718                       ? 1 : -1];
15719 int
15720 main ()
15721 {
15722
15723   ;
15724   return 0;
15725 }
15726 _ACEOF
15727 if ac_fn_c_try_compile "$LINENO"; then :
15728   ac_cv_sys_file_offset_bits=no; break
15729 fi
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15732 /* end confdefs.h.  */
15733 #define _FILE_OFFSET_BITS 64
15734 #include <sys/types.h>
15735  /* Check that off_t can represent 2**63 - 1 correctly.
15736     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15737     since some C++ compilers masquerading as C compilers
15738     incorrectly reject 9223372036854775807.  */
15739 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15740   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15741                        && LARGE_OFF_T % 2147483647 == 1)
15742                       ? 1 : -1];
15743 int
15744 main ()
15745 {
15746
15747   ;
15748   return 0;
15749 }
15750 _ACEOF
15751 if ac_fn_c_try_compile "$LINENO"; then :
15752   ac_cv_sys_file_offset_bits=64; break
15753 fi
15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15755   ac_cv_sys_file_offset_bits=unknown
15756   break
15757 done
15758 fi
15759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15760 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15761 case $ac_cv_sys_file_offset_bits in #(
15762   no | unknown) ;;
15763   *)
15764 cat >>confdefs.h <<_ACEOF
15765 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15766 _ACEOF
15767 ;;
15768 esac
15769 rm -rf conftest*
15770   if test $ac_cv_sys_file_offset_bits = unknown; then
15771     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15772 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15773 if test "${ac_cv_sys_large_files+set}" = set; then :
15774   $as_echo_n "(cached) " >&6
15775 else
15776   while :; do
15777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h.  */
15779 #include <sys/types.h>
15780  /* Check that off_t can represent 2**63 - 1 correctly.
15781     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15782     since some C++ compilers masquerading as C compilers
15783     incorrectly reject 9223372036854775807.  */
15784 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15785   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15786                        && LARGE_OFF_T % 2147483647 == 1)
15787                       ? 1 : -1];
15788 int
15789 main ()
15790 {
15791
15792   ;
15793   return 0;
15794 }
15795 _ACEOF
15796 if ac_fn_c_try_compile "$LINENO"; then :
15797   ac_cv_sys_large_files=no; break
15798 fi
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h.  */
15802 #define _LARGE_FILES 1
15803 #include <sys/types.h>
15804  /* Check that off_t can represent 2**63 - 1 correctly.
15805     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15806     since some C++ compilers masquerading as C compilers
15807     incorrectly reject 9223372036854775807.  */
15808 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15809   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15810                        && LARGE_OFF_T % 2147483647 == 1)
15811                       ? 1 : -1];
15812 int
15813 main ()
15814 {
15815
15816   ;
15817   return 0;
15818 }
15819 _ACEOF
15820 if ac_fn_c_try_compile "$LINENO"; then :
15821   ac_cv_sys_large_files=1; break
15822 fi
15823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15824   ac_cv_sys_large_files=unknown
15825   break
15826 done
15827 fi
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15829 $as_echo "$ac_cv_sys_large_files" >&6; }
15830 case $ac_cv_sys_large_files in #(
15831   no | unknown) ;;
15832   *)
15833 cat >>confdefs.h <<_ACEOF
15834 #define _LARGE_FILES $ac_cv_sys_large_files
15835 _ACEOF
15836 ;;
15837 esac
15838 rm -rf conftest*
15839   fi
15840 fi
15841
15842
15843 # Types
15844 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15845 if test "x$ac_cv_type_off_t" = x""yes; then :
15846
15847 else
15848
15849 cat >>confdefs.h <<_ACEOF
15850 #define off_t long int
15851 _ACEOF
15852
15853 fi
15854
15855
15856   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15857 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15858
15859 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15860
15861 else
15862   for ac_type in 'int' 'long int' 'long long int'; do
15863        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h.  */
15865 $ac_includes_default
15866 int
15867 main ()
15868 {
15869 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15870 test_array [0] = 0
15871
15872   ;
15873   return 0;
15874 }
15875 _ACEOF
15876 if ac_fn_c_try_compile "$LINENO"; then :
15877
15878 cat >>confdefs.h <<_ACEOF
15879 #define intptr_t $ac_type
15880 _ACEOF
15881
15882           ac_type=
15883 fi
15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15885        test -z "$ac_type" && break
15886      done
15887 fi
15888
15889
15890
15891   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15892 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15893
15894 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15895
15896 else
15897   for ac_type in 'unsigned int' 'unsigned long int' \
15898         'unsigned long long int'; do
15899        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h.  */
15901 $ac_includes_default
15902 int
15903 main ()
15904 {
15905 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15906 test_array [0] = 0
15907
15908   ;
15909   return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913
15914 cat >>confdefs.h <<_ACEOF
15915 #define uintptr_t $ac_type
15916 _ACEOF
15917
15918           ac_type=
15919 fi
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15921        test -z "$ac_type" && break
15922      done
15923 fi
15924
15925
15926 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15927 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15928
15929 cat >>confdefs.h <<_ACEOF
15930 #define HAVE_PTRDIFF_T 1
15931 _ACEOF
15932
15933
15934 fi
15935
15936
15937 # check header files (we assume C89 is available, so don't check for that)
15938
15939
15940
15941   for ac_header in $ac_header_list
15942 do :
15943   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15944 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15945 "
15946 eval as_val=\$$as_ac_Header
15947    if test "x$as_val" = x""yes; then :
15948   cat >>confdefs.h <<_ACEOF
15949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15950 _ACEOF
15951
15952 fi
15953
15954 done
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15987
15988 acx_cv_header_stdint=stddef.h
15989 acx_cv_header_stdint_kind="(already complete)"
15990 for i in stdint.h $inttype_headers; do
15991   unset ac_cv_type_uintptr_t
15992   unset ac_cv_type_uintmax_t
15993   unset ac_cv_type_int_least32_t
15994   unset ac_cv_type_int_fast32_t
15995   unset ac_cv_type_uint64_t
15996   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
15997   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
15998 #include <$i>
15999 "
16000 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16001   acx_cv_header_stdint=$i
16002 else
16003   continue
16004 fi
16005
16006   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16007 #include <$i>
16008 "
16009 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16010
16011 else
16012   acx_cv_header_stdint_kind="(mostly complete)"
16013 fi
16014
16015   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16016 #include <$i>
16017 "
16018 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16019
16020 else
16021   acx_cv_header_stdint_kind="(mostly complete)"
16022 fi
16023
16024   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16025 #include <$i>
16026 "
16027 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16028
16029 else
16030   acx_cv_header_stdint_kind="(mostly complete)"
16031 fi
16032
16033   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16034 #include <$i>
16035 "
16036 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16037
16038 else
16039   acx_cv_header_stdint_kind="(lacks uint64_t)"
16040 fi
16041
16042   break
16043 done
16044 if test "$acx_cv_header_stdint" = stddef.h; then
16045   acx_cv_header_stdint_kind="(lacks uintmax_t)"
16046   for i in stdint.h $inttype_headers; do
16047     unset ac_cv_type_uintptr_t
16048     unset ac_cv_type_uint32_t
16049     unset ac_cv_type_uint64_t
16050     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16051     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16052 #include <$i>
16053 "
16054 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16055   acx_cv_header_stdint=$i
16056 else
16057   continue
16058 fi
16059
16060     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16061 #include <$i>
16062 "
16063 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16064
16065 fi
16066
16067     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16068 #include <$i>
16069 "
16070 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16071
16072 fi
16073
16074     break
16075   done
16076 fi
16077 if test "$acx_cv_header_stdint" = stddef.h; then
16078   acx_cv_header_stdint_kind="(u_intXX_t style)"
16079   for i in sys/types.h $inttype_headers; do
16080     unset ac_cv_type_u_int32_t
16081     unset ac_cv_type_u_int64_t
16082     $as_echo_n "looking for u_intXX_t types in $i, " >&6
16083     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16084 #include <$i>
16085 "
16086 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16087   acx_cv_header_stdint=$i
16088 else
16089   continue
16090 fi
16091
16092     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16093 #include <$i>
16094 "
16095 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16096
16097 fi
16098
16099     break
16100   done
16101 fi
16102 if test "$acx_cv_header_stdint" = stddef.h; then
16103   acx_cv_header_stdint_kind="(using manual detection)"
16104 fi
16105
16106 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16107 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16108 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16109 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16110 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16111
16112 # ----------------- Summarize what we found so far
16113
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16115 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16116
16117 case `$as_basename -- gstdint.h ||
16118 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16119          Xgstdint.h : 'X\(//\)$' \| \
16120          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16121 $as_echo X/gstdint.h |
16122     sed '/^.*\/\([^/][^/]*\)\/*$/{
16123             s//\1/
16124             q
16125           }
16126           /^X\/\(\/\/\)$/{
16127             s//\1/
16128             q
16129           }
16130           /^X\/\(\/\).*/{
16131             s//\1/
16132             q
16133           }
16134           s/.*/./; q'` in
16135   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16136 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16137   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16138 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16139   *) ;;
16140 esac
16141
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16143 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16144
16145 # ----------------- done included file, check C basic types --------
16146
16147 # Lacking an uintptr_t?  Test size of void *
16148 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16149   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16150 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16151 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16152 # This bug is HP SR number 8606223364.
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16154 $as_echo_n "checking size of void *... " >&6; }
16155 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16156   $as_echo_n "(cached) " >&6
16157 else
16158   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
16159
16160 else
16161   if test "$ac_cv_type_void_p" = yes; then
16162      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16164 { as_fn_set_status 77
16165 as_fn_error "cannot compute sizeof (void *)
16166 See \`config.log' for more details." "$LINENO" 5; }; }
16167    else
16168      ac_cv_sizeof_void_p=0
16169    fi
16170 fi
16171
16172 fi
16173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16174 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16175
16176
16177
16178 cat >>confdefs.h <<_ACEOF
16179 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16180 _ACEOF
16181
16182  ;;
16183 esac
16184
16185 # Lacking an uint64_t?  Test size of long
16186 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16187   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16188 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16190 # This bug is HP SR number 8606223364.
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16192 $as_echo_n "checking size of long... " >&6; }
16193 if test "${ac_cv_sizeof_long+set}" = set; then :
16194   $as_echo_n "(cached) " >&6
16195 else
16196   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16197
16198 else
16199   if test "$ac_cv_type_long" = yes; then
16200      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16202 { as_fn_set_status 77
16203 as_fn_error "cannot compute sizeof (long)
16204 See \`config.log' for more details." "$LINENO" 5; }; }
16205    else
16206      ac_cv_sizeof_long=0
16207    fi
16208 fi
16209
16210 fi
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16212 $as_echo "$ac_cv_sizeof_long" >&6; }
16213
16214
16215
16216 cat >>confdefs.h <<_ACEOF
16217 #define SIZEOF_LONG $ac_cv_sizeof_long
16218 _ACEOF
16219
16220  ;;
16221 esac
16222
16223 if test $acx_cv_header_stdint = stddef.h; then
16224   # Lacking a good header?  Test size of everything and deduce all types.
16225   # The cast to long int works around a bug in the HP C Compiler
16226 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16227 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16228 # This bug is HP SR number 8606223364.
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16230 $as_echo_n "checking size of int... " >&6; }
16231 if test "${ac_cv_sizeof_int+set}" = set; then :
16232   $as_echo_n "(cached) " >&6
16233 else
16234   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16235
16236 else
16237   if test "$ac_cv_type_int" = yes; then
16238      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16240 { as_fn_set_status 77
16241 as_fn_error "cannot compute sizeof (int)
16242 See \`config.log' for more details." "$LINENO" 5; }; }
16243    else
16244      ac_cv_sizeof_int=0
16245    fi
16246 fi
16247
16248 fi
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16250 $as_echo "$ac_cv_sizeof_int" >&6; }
16251
16252
16253
16254 cat >>confdefs.h <<_ACEOF
16255 #define SIZEOF_INT $ac_cv_sizeof_int
16256 _ACEOF
16257
16258
16259   # The cast to long int works around a bug in the HP C Compiler
16260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16262 # This bug is HP SR number 8606223364.
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16264 $as_echo_n "checking size of short... " >&6; }
16265 if test "${ac_cv_sizeof_short+set}" = set; then :
16266   $as_echo_n "(cached) " >&6
16267 else
16268   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16269
16270 else
16271   if test "$ac_cv_type_short" = yes; then
16272      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16274 { as_fn_set_status 77
16275 as_fn_error "cannot compute sizeof (short)
16276 See \`config.log' for more details." "$LINENO" 5; }; }
16277    else
16278      ac_cv_sizeof_short=0
16279    fi
16280 fi
16281
16282 fi
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16284 $as_echo "$ac_cv_sizeof_short" >&6; }
16285
16286
16287
16288 cat >>confdefs.h <<_ACEOF
16289 #define SIZEOF_SHORT $ac_cv_sizeof_short
16290 _ACEOF
16291
16292
16293   # The cast to long int works around a bug in the HP C Compiler
16294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16296 # This bug is HP SR number 8606223364.
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16298 $as_echo_n "checking size of char... " >&6; }
16299 if test "${ac_cv_sizeof_char+set}" = set; then :
16300   $as_echo_n "(cached) " >&6
16301 else
16302   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16303
16304 else
16305   if test "$ac_cv_type_char" = yes; then
16306      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16308 { as_fn_set_status 77
16309 as_fn_error "cannot compute sizeof (char)
16310 See \`config.log' for more details." "$LINENO" 5; }; }
16311    else
16312      ac_cv_sizeof_char=0
16313    fi
16314 fi
16315
16316 fi
16317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16318 $as_echo "$ac_cv_sizeof_char" >&6; }
16319
16320
16321
16322 cat >>confdefs.h <<_ACEOF
16323 #define SIZEOF_CHAR $ac_cv_sizeof_char
16324 _ACEOF
16325
16326
16327
16328   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16329 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16330   case "$ac_cv_sizeof_char" in
16331     1) acx_cv_type_int8_t=char ;;
16332     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16333   esac
16334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16335 $as_echo "$acx_cv_type_int8_t" >&6; }
16336
16337   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16338 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16339   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16340     2:*) acx_cv_type_int16_t=int ;;
16341     *:2) acx_cv_type_int16_t=short ;;
16342     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16343   esac
16344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16345 $as_echo "$acx_cv_type_int16_t" >&6; }
16346
16347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16348 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16349   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16350     4:*) acx_cv_type_int32_t=int ;;
16351     *:4) acx_cv_type_int32_t=long ;;
16352     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16353   esac
16354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16355 $as_echo "$acx_cv_type_int32_t" >&6; }
16356 fi
16357
16358 # These tests are here to make the output prettier
16359
16360 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16361   case "$ac_cv_sizeof_long" in
16362     8) acx_cv_type_int64_t=long ;;
16363   esac
16364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16365 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16367 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16368 fi
16369
16370 # Now we can use the above types
16371
16372 if test "$ac_cv_type_uintptr_t" != yes; then
16373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16374 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16375   case $ac_cv_sizeof_void_p in
16376     2) acx_cv_type_intptr_t=int16_t ;;
16377     4) acx_cv_type_intptr_t=int32_t ;;
16378     8) acx_cv_type_intptr_t=int64_t ;;
16379     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16380   esac
16381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16382 $as_echo "$acx_cv_type_intptr_t" >&6; }
16383 fi
16384
16385 # ----------------- done all checks, emit header -------------
16386 ac_config_commands="$ac_config_commands gstdint.h"
16387
16388
16389
16390
16391 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16392 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16393
16394 cat >>confdefs.h <<_ACEOF
16395 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16396 _ACEOF
16397
16398
16399 fi
16400 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16401 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16402
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16405 _ACEOF
16406
16407
16408 fi
16409 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16410 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16411
16412 cat >>confdefs.h <<_ACEOF
16413 #define HAVE_STRUCT_STAT_ST_RDEV 1
16414 _ACEOF
16415
16416
16417 fi
16418
16419
16420 # Check for library functions.
16421
16422
16423
16424   for ac_func in $ac_func_list
16425 do :
16426   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16427 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16428 eval as_val=\$$as_ac_var
16429    if test "x$as_val" = x""yes; then :
16430   cat >>confdefs.h <<_ACEOF
16431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16432 _ACEOF
16433
16434 fi
16435 done
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535 # Check for C99 (and other IEEE) math functions
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf in -lm" >&5
16537 $as_echo_n "checking for acosf in -lm... " >&6; }
16538 if test "${ac_cv_lib_m_acosf+set}" = set; then :
16539   $as_echo_n "(cached) " >&6
16540 else
16541   ac_check_lib_save_LIBS=$LIBS
16542 LIBS="-lm  $LIBS"
16543 if test x$gcc_no_link = xyes; then
16544   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16545 fi
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h.  */
16548
16549 /* Override any GCC internal prototype to avoid an error.
16550    Use char because int might match the return type of a GCC
16551    builtin and then its argument prototype would still apply.  */
16552 #ifdef __cplusplus
16553 extern "C"
16554 #endif
16555 char acosf ();
16556 int
16557 main ()
16558 {
16559 return acosf ();
16560   ;
16561   return 0;
16562 }
16563 _ACEOF
16564 if ac_fn_c_try_link "$LINENO"; then :
16565   ac_cv_lib_m_acosf=yes
16566 else
16567   ac_cv_lib_m_acosf=no
16568 fi
16569 rm -f core conftest.err conftest.$ac_objext \
16570     conftest$ac_exeext conftest.$ac_ext
16571 LIBS=$ac_check_lib_save_LIBS
16572 fi
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosf" >&5
16574 $as_echo "$ac_cv_lib_m_acosf" >&6; }
16575 if test "x$ac_cv_lib_m_acosf" = x""yes; then :
16576
16577 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
16578
16579 fi
16580
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos in -lm" >&5
16582 $as_echo_n "checking for acos in -lm... " >&6; }
16583 if test "${ac_cv_lib_m_acos+set}" = set; then :
16584   $as_echo_n "(cached) " >&6
16585 else
16586   ac_check_lib_save_LIBS=$LIBS
16587 LIBS="-lm  $LIBS"
16588 if test x$gcc_no_link = xyes; then
16589   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16590 fi
16591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16592 /* end confdefs.h.  */
16593
16594 /* Override any GCC internal prototype to avoid an error.
16595    Use char because int might match the return type of a GCC
16596    builtin and then its argument prototype would still apply.  */
16597 #ifdef __cplusplus
16598 extern "C"
16599 #endif
16600 char acos ();
16601 int
16602 main ()
16603 {
16604 return acos ();
16605   ;
16606   return 0;
16607 }
16608 _ACEOF
16609 if ac_fn_c_try_link "$LINENO"; then :
16610   ac_cv_lib_m_acos=yes
16611 else
16612   ac_cv_lib_m_acos=no
16613 fi
16614 rm -f core conftest.err conftest.$ac_objext \
16615     conftest$ac_exeext conftest.$ac_ext
16616 LIBS=$ac_check_lib_save_LIBS
16617 fi
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acos" >&5
16619 $as_echo "$ac_cv_lib_m_acos" >&6; }
16620 if test "x$ac_cv_lib_m_acos" = x""yes; then :
16621
16622 $as_echo "#define HAVE_ACOS 1" >>confdefs.h
16623
16624 fi
16625
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl in -lm" >&5
16627 $as_echo_n "checking for acosl in -lm... " >&6; }
16628 if test "${ac_cv_lib_m_acosl+set}" = set; then :
16629   $as_echo_n "(cached) " >&6
16630 else
16631   ac_check_lib_save_LIBS=$LIBS
16632 LIBS="-lm  $LIBS"
16633 if test x$gcc_no_link = xyes; then
16634   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16635 fi
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h.  */
16638
16639 /* Override any GCC internal prototype to avoid an error.
16640    Use char because int might match the return type of a GCC
16641    builtin and then its argument prototype would still apply.  */
16642 #ifdef __cplusplus
16643 extern "C"
16644 #endif
16645 char acosl ();
16646 int
16647 main ()
16648 {
16649 return acosl ();
16650   ;
16651   return 0;
16652 }
16653 _ACEOF
16654 if ac_fn_c_try_link "$LINENO"; then :
16655   ac_cv_lib_m_acosl=yes
16656 else
16657   ac_cv_lib_m_acosl=no
16658 fi
16659 rm -f core conftest.err conftest.$ac_objext \
16660     conftest$ac_exeext conftest.$ac_ext
16661 LIBS=$ac_check_lib_save_LIBS
16662 fi
16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosl" >&5
16664 $as_echo "$ac_cv_lib_m_acosl" >&6; }
16665 if test "x$ac_cv_lib_m_acosl" = x""yes; then :
16666
16667 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
16668
16669 fi
16670
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf in -lm" >&5
16672 $as_echo_n "checking for acoshf in -lm... " >&6; }
16673 if test "${ac_cv_lib_m_acoshf+set}" = set; then :
16674   $as_echo_n "(cached) " >&6
16675 else
16676   ac_check_lib_save_LIBS=$LIBS
16677 LIBS="-lm  $LIBS"
16678 if test x$gcc_no_link = xyes; then
16679   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16680 fi
16681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16682 /* end confdefs.h.  */
16683
16684 /* Override any GCC internal prototype to avoid an error.
16685    Use char because int might match the return type of a GCC
16686    builtin and then its argument prototype would still apply.  */
16687 #ifdef __cplusplus
16688 extern "C"
16689 #endif
16690 char acoshf ();
16691 int
16692 main ()
16693 {
16694 return acoshf ();
16695   ;
16696   return 0;
16697 }
16698 _ACEOF
16699 if ac_fn_c_try_link "$LINENO"; then :
16700   ac_cv_lib_m_acoshf=yes
16701 else
16702   ac_cv_lib_m_acoshf=no
16703 fi
16704 rm -f core conftest.err conftest.$ac_objext \
16705     conftest$ac_exeext conftest.$ac_ext
16706 LIBS=$ac_check_lib_save_LIBS
16707 fi
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshf" >&5
16709 $as_echo "$ac_cv_lib_m_acoshf" >&6; }
16710 if test "x$ac_cv_lib_m_acoshf" = x""yes; then :
16711
16712 $as_echo "#define HAVE_ACOSHF 1" >>confdefs.h
16713
16714 fi
16715
16716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh in -lm" >&5
16717 $as_echo_n "checking for acosh in -lm... " >&6; }
16718 if test "${ac_cv_lib_m_acosh+set}" = set; then :
16719   $as_echo_n "(cached) " >&6
16720 else
16721   ac_check_lib_save_LIBS=$LIBS
16722 LIBS="-lm  $LIBS"
16723 if test x$gcc_no_link = xyes; then
16724   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16725 fi
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h.  */
16728
16729 /* Override any GCC internal prototype to avoid an error.
16730    Use char because int might match the return type of a GCC
16731    builtin and then its argument prototype would still apply.  */
16732 #ifdef __cplusplus
16733 extern "C"
16734 #endif
16735 char acosh ();
16736 int
16737 main ()
16738 {
16739 return acosh ();
16740   ;
16741   return 0;
16742 }
16743 _ACEOF
16744 if ac_fn_c_try_link "$LINENO"; then :
16745   ac_cv_lib_m_acosh=yes
16746 else
16747   ac_cv_lib_m_acosh=no
16748 fi
16749 rm -f core conftest.err conftest.$ac_objext \
16750     conftest$ac_exeext conftest.$ac_ext
16751 LIBS=$ac_check_lib_save_LIBS
16752 fi
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acosh" >&5
16754 $as_echo "$ac_cv_lib_m_acosh" >&6; }
16755 if test "x$ac_cv_lib_m_acosh" = x""yes; then :
16756
16757 $as_echo "#define HAVE_ACOSH 1" >>confdefs.h
16758
16759 fi
16760
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl in -lm" >&5
16762 $as_echo_n "checking for acoshl in -lm... " >&6; }
16763 if test "${ac_cv_lib_m_acoshl+set}" = set; then :
16764   $as_echo_n "(cached) " >&6
16765 else
16766   ac_check_lib_save_LIBS=$LIBS
16767 LIBS="-lm  $LIBS"
16768 if test x$gcc_no_link = xyes; then
16769   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16770 fi
16771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16772 /* end confdefs.h.  */
16773
16774 /* Override any GCC internal prototype to avoid an error.
16775    Use char because int might match the return type of a GCC
16776    builtin and then its argument prototype would still apply.  */
16777 #ifdef __cplusplus
16778 extern "C"
16779 #endif
16780 char acoshl ();
16781 int
16782 main ()
16783 {
16784 return acoshl ();
16785   ;
16786   return 0;
16787 }
16788 _ACEOF
16789 if ac_fn_c_try_link "$LINENO"; then :
16790   ac_cv_lib_m_acoshl=yes
16791 else
16792   ac_cv_lib_m_acoshl=no
16793 fi
16794 rm -f core conftest.err conftest.$ac_objext \
16795     conftest$ac_exeext conftest.$ac_ext
16796 LIBS=$ac_check_lib_save_LIBS
16797 fi
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_acoshl" >&5
16799 $as_echo "$ac_cv_lib_m_acoshl" >&6; }
16800 if test "x$ac_cv_lib_m_acoshl" = x""yes; then :
16801
16802 $as_echo "#define HAVE_ACOSHL 1" >>confdefs.h
16803
16804 fi
16805
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf in -lm" >&5
16807 $as_echo_n "checking for asinf in -lm... " >&6; }
16808 if test "${ac_cv_lib_m_asinf+set}" = set; then :
16809   $as_echo_n "(cached) " >&6
16810 else
16811   ac_check_lib_save_LIBS=$LIBS
16812 LIBS="-lm  $LIBS"
16813 if test x$gcc_no_link = xyes; then
16814   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16815 fi
16816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16817 /* end confdefs.h.  */
16818
16819 /* Override any GCC internal prototype to avoid an error.
16820    Use char because int might match the return type of a GCC
16821    builtin and then its argument prototype would still apply.  */
16822 #ifdef __cplusplus
16823 extern "C"
16824 #endif
16825 char asinf ();
16826 int
16827 main ()
16828 {
16829 return asinf ();
16830   ;
16831   return 0;
16832 }
16833 _ACEOF
16834 if ac_fn_c_try_link "$LINENO"; then :
16835   ac_cv_lib_m_asinf=yes
16836 else
16837   ac_cv_lib_m_asinf=no
16838 fi
16839 rm -f core conftest.err conftest.$ac_objext \
16840     conftest$ac_exeext conftest.$ac_ext
16841 LIBS=$ac_check_lib_save_LIBS
16842 fi
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinf" >&5
16844 $as_echo "$ac_cv_lib_m_asinf" >&6; }
16845 if test "x$ac_cv_lib_m_asinf" = x""yes; then :
16846
16847 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
16848
16849 fi
16850
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin in -lm" >&5
16852 $as_echo_n "checking for asin in -lm... " >&6; }
16853 if test "${ac_cv_lib_m_asin+set}" = set; then :
16854   $as_echo_n "(cached) " >&6
16855 else
16856   ac_check_lib_save_LIBS=$LIBS
16857 LIBS="-lm  $LIBS"
16858 if test x$gcc_no_link = xyes; then
16859   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16860 fi
16861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16862 /* end confdefs.h.  */
16863
16864 /* Override any GCC internal prototype to avoid an error.
16865    Use char because int might match the return type of a GCC
16866    builtin and then its argument prototype would still apply.  */
16867 #ifdef __cplusplus
16868 extern "C"
16869 #endif
16870 char asin ();
16871 int
16872 main ()
16873 {
16874 return asin ();
16875   ;
16876   return 0;
16877 }
16878 _ACEOF
16879 if ac_fn_c_try_link "$LINENO"; then :
16880   ac_cv_lib_m_asin=yes
16881 else
16882   ac_cv_lib_m_asin=no
16883 fi
16884 rm -f core conftest.err conftest.$ac_objext \
16885     conftest$ac_exeext conftest.$ac_ext
16886 LIBS=$ac_check_lib_save_LIBS
16887 fi
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asin" >&5
16889 $as_echo "$ac_cv_lib_m_asin" >&6; }
16890 if test "x$ac_cv_lib_m_asin" = x""yes; then :
16891
16892 $as_echo "#define HAVE_ASIN 1" >>confdefs.h
16893
16894 fi
16895
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl in -lm" >&5
16897 $as_echo_n "checking for asinl in -lm... " >&6; }
16898 if test "${ac_cv_lib_m_asinl+set}" = set; then :
16899   $as_echo_n "(cached) " >&6
16900 else
16901   ac_check_lib_save_LIBS=$LIBS
16902 LIBS="-lm  $LIBS"
16903 if test x$gcc_no_link = xyes; then
16904   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16905 fi
16906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16907 /* end confdefs.h.  */
16908
16909 /* Override any GCC internal prototype to avoid an error.
16910    Use char because int might match the return type of a GCC
16911    builtin and then its argument prototype would still apply.  */
16912 #ifdef __cplusplus
16913 extern "C"
16914 #endif
16915 char asinl ();
16916 int
16917 main ()
16918 {
16919 return asinl ();
16920   ;
16921   return 0;
16922 }
16923 _ACEOF
16924 if ac_fn_c_try_link "$LINENO"; then :
16925   ac_cv_lib_m_asinl=yes
16926 else
16927   ac_cv_lib_m_asinl=no
16928 fi
16929 rm -f core conftest.err conftest.$ac_objext \
16930     conftest$ac_exeext conftest.$ac_ext
16931 LIBS=$ac_check_lib_save_LIBS
16932 fi
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinl" >&5
16934 $as_echo "$ac_cv_lib_m_asinl" >&6; }
16935 if test "x$ac_cv_lib_m_asinl" = x""yes; then :
16936
16937 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
16938
16939 fi
16940
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf in -lm" >&5
16942 $as_echo_n "checking for asinhf in -lm... " >&6; }
16943 if test "${ac_cv_lib_m_asinhf+set}" = set; then :
16944   $as_echo_n "(cached) " >&6
16945 else
16946   ac_check_lib_save_LIBS=$LIBS
16947 LIBS="-lm  $LIBS"
16948 if test x$gcc_no_link = xyes; then
16949   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16950 fi
16951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16952 /* end confdefs.h.  */
16953
16954 /* Override any GCC internal prototype to avoid an error.
16955    Use char because int might match the return type of a GCC
16956    builtin and then its argument prototype would still apply.  */
16957 #ifdef __cplusplus
16958 extern "C"
16959 #endif
16960 char asinhf ();
16961 int
16962 main ()
16963 {
16964 return asinhf ();
16965   ;
16966   return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_c_try_link "$LINENO"; then :
16970   ac_cv_lib_m_asinhf=yes
16971 else
16972   ac_cv_lib_m_asinhf=no
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext \
16975     conftest$ac_exeext conftest.$ac_ext
16976 LIBS=$ac_check_lib_save_LIBS
16977 fi
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhf" >&5
16979 $as_echo "$ac_cv_lib_m_asinhf" >&6; }
16980 if test "x$ac_cv_lib_m_asinhf" = x""yes; then :
16981
16982 $as_echo "#define HAVE_ASINHF 1" >>confdefs.h
16983
16984 fi
16985
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh in -lm" >&5
16987 $as_echo_n "checking for asinh in -lm... " >&6; }
16988 if test "${ac_cv_lib_m_asinh+set}" = set; then :
16989   $as_echo_n "(cached) " >&6
16990 else
16991   ac_check_lib_save_LIBS=$LIBS
16992 LIBS="-lm  $LIBS"
16993 if test x$gcc_no_link = xyes; then
16994   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16995 fi
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h.  */
16998
16999 /* Override any GCC internal prototype to avoid an error.
17000    Use char because int might match the return type of a GCC
17001    builtin and then its argument prototype would still apply.  */
17002 #ifdef __cplusplus
17003 extern "C"
17004 #endif
17005 char asinh ();
17006 int
17007 main ()
17008 {
17009 return asinh ();
17010   ;
17011   return 0;
17012 }
17013 _ACEOF
17014 if ac_fn_c_try_link "$LINENO"; then :
17015   ac_cv_lib_m_asinh=yes
17016 else
17017   ac_cv_lib_m_asinh=no
17018 fi
17019 rm -f core conftest.err conftest.$ac_objext \
17020     conftest$ac_exeext conftest.$ac_ext
17021 LIBS=$ac_check_lib_save_LIBS
17022 fi
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinh" >&5
17024 $as_echo "$ac_cv_lib_m_asinh" >&6; }
17025 if test "x$ac_cv_lib_m_asinh" = x""yes; then :
17026
17027 $as_echo "#define HAVE_ASINH 1" >>confdefs.h
17028
17029 fi
17030
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl in -lm" >&5
17032 $as_echo_n "checking for asinhl in -lm... " >&6; }
17033 if test "${ac_cv_lib_m_asinhl+set}" = set; then :
17034   $as_echo_n "(cached) " >&6
17035 else
17036   ac_check_lib_save_LIBS=$LIBS
17037 LIBS="-lm  $LIBS"
17038 if test x$gcc_no_link = xyes; then
17039   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17040 fi
17041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17042 /* end confdefs.h.  */
17043
17044 /* Override any GCC internal prototype to avoid an error.
17045    Use char because int might match the return type of a GCC
17046    builtin and then its argument prototype would still apply.  */
17047 #ifdef __cplusplus
17048 extern "C"
17049 #endif
17050 char asinhl ();
17051 int
17052 main ()
17053 {
17054 return asinhl ();
17055   ;
17056   return 0;
17057 }
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060   ac_cv_lib_m_asinhl=yes
17061 else
17062   ac_cv_lib_m_asinhl=no
17063 fi
17064 rm -f core conftest.err conftest.$ac_objext \
17065     conftest$ac_exeext conftest.$ac_ext
17066 LIBS=$ac_check_lib_save_LIBS
17067 fi
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_asinhl" >&5
17069 $as_echo "$ac_cv_lib_m_asinhl" >&6; }
17070 if test "x$ac_cv_lib_m_asinhl" = x""yes; then :
17071
17072 $as_echo "#define HAVE_ASINHL 1" >>confdefs.h
17073
17074 fi
17075
17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f in -lm" >&5
17077 $as_echo_n "checking for atan2f in -lm... " >&6; }
17078 if test "${ac_cv_lib_m_atan2f+set}" = set; then :
17079   $as_echo_n "(cached) " >&6
17080 else
17081   ac_check_lib_save_LIBS=$LIBS
17082 LIBS="-lm  $LIBS"
17083 if test x$gcc_no_link = xyes; then
17084   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17085 fi
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h.  */
17088
17089 /* Override any GCC internal prototype to avoid an error.
17090    Use char because int might match the return type of a GCC
17091    builtin and then its argument prototype would still apply.  */
17092 #ifdef __cplusplus
17093 extern "C"
17094 #endif
17095 char atan2f ();
17096 int
17097 main ()
17098 {
17099 return atan2f ();
17100   ;
17101   return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_c_try_link "$LINENO"; then :
17105   ac_cv_lib_m_atan2f=yes
17106 else
17107   ac_cv_lib_m_atan2f=no
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext \
17110     conftest$ac_exeext conftest.$ac_ext
17111 LIBS=$ac_check_lib_save_LIBS
17112 fi
17113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2f" >&5
17114 $as_echo "$ac_cv_lib_m_atan2f" >&6; }
17115 if test "x$ac_cv_lib_m_atan2f" = x""yes; then :
17116
17117 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
17118
17119 fi
17120
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2 in -lm" >&5
17122 $as_echo_n "checking for atan2 in -lm... " >&6; }
17123 if test "${ac_cv_lib_m_atan2+set}" = set; then :
17124   $as_echo_n "(cached) " >&6
17125 else
17126   ac_check_lib_save_LIBS=$LIBS
17127 LIBS="-lm  $LIBS"
17128 if test x$gcc_no_link = xyes; then
17129   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17130 fi
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h.  */
17133
17134 /* Override any GCC internal prototype to avoid an error.
17135    Use char because int might match the return type of a GCC
17136    builtin and then its argument prototype would still apply.  */
17137 #ifdef __cplusplus
17138 extern "C"
17139 #endif
17140 char atan2 ();
17141 int
17142 main ()
17143 {
17144 return atan2 ();
17145   ;
17146   return 0;
17147 }
17148 _ACEOF
17149 if ac_fn_c_try_link "$LINENO"; then :
17150   ac_cv_lib_m_atan2=yes
17151 else
17152   ac_cv_lib_m_atan2=no
17153 fi
17154 rm -f core conftest.err conftest.$ac_objext \
17155     conftest$ac_exeext conftest.$ac_ext
17156 LIBS=$ac_check_lib_save_LIBS
17157 fi
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2" >&5
17159 $as_echo "$ac_cv_lib_m_atan2" >&6; }
17160 if test "x$ac_cv_lib_m_atan2" = x""yes; then :
17161
17162 $as_echo "#define HAVE_ATAN2 1" >>confdefs.h
17163
17164 fi
17165
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l in -lm" >&5
17167 $as_echo_n "checking for atan2l in -lm... " >&6; }
17168 if test "${ac_cv_lib_m_atan2l+set}" = set; then :
17169   $as_echo_n "(cached) " >&6
17170 else
17171   ac_check_lib_save_LIBS=$LIBS
17172 LIBS="-lm  $LIBS"
17173 if test x$gcc_no_link = xyes; then
17174   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17175 fi
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h.  */
17178
17179 /* Override any GCC internal prototype to avoid an error.
17180    Use char because int might match the return type of a GCC
17181    builtin and then its argument prototype would still apply.  */
17182 #ifdef __cplusplus
17183 extern "C"
17184 #endif
17185 char atan2l ();
17186 int
17187 main ()
17188 {
17189 return atan2l ();
17190   ;
17191   return 0;
17192 }
17193 _ACEOF
17194 if ac_fn_c_try_link "$LINENO"; then :
17195   ac_cv_lib_m_atan2l=yes
17196 else
17197   ac_cv_lib_m_atan2l=no
17198 fi
17199 rm -f core conftest.err conftest.$ac_objext \
17200     conftest$ac_exeext conftest.$ac_ext
17201 LIBS=$ac_check_lib_save_LIBS
17202 fi
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan2l" >&5
17204 $as_echo "$ac_cv_lib_m_atan2l" >&6; }
17205 if test "x$ac_cv_lib_m_atan2l" = x""yes; then :
17206
17207 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
17208
17209 fi
17210
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf in -lm" >&5
17212 $as_echo_n "checking for atanf in -lm... " >&6; }
17213 if test "${ac_cv_lib_m_atanf+set}" = set; then :
17214   $as_echo_n "(cached) " >&6
17215 else
17216   ac_check_lib_save_LIBS=$LIBS
17217 LIBS="-lm  $LIBS"
17218 if test x$gcc_no_link = xyes; then
17219   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17220 fi
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h.  */
17223
17224 /* Override any GCC internal prototype to avoid an error.
17225    Use char because int might match the return type of a GCC
17226    builtin and then its argument prototype would still apply.  */
17227 #ifdef __cplusplus
17228 extern "C"
17229 #endif
17230 char atanf ();
17231 int
17232 main ()
17233 {
17234 return atanf ();
17235   ;
17236   return 0;
17237 }
17238 _ACEOF
17239 if ac_fn_c_try_link "$LINENO"; then :
17240   ac_cv_lib_m_atanf=yes
17241 else
17242   ac_cv_lib_m_atanf=no
17243 fi
17244 rm -f core conftest.err conftest.$ac_objext \
17245     conftest$ac_exeext conftest.$ac_ext
17246 LIBS=$ac_check_lib_save_LIBS
17247 fi
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanf" >&5
17249 $as_echo "$ac_cv_lib_m_atanf" >&6; }
17250 if test "x$ac_cv_lib_m_atanf" = x""yes; then :
17251
17252 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
17253
17254 fi
17255
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan in -lm" >&5
17257 $as_echo_n "checking for atan in -lm... " >&6; }
17258 if test "${ac_cv_lib_m_atan+set}" = set; then :
17259   $as_echo_n "(cached) " >&6
17260 else
17261   ac_check_lib_save_LIBS=$LIBS
17262 LIBS="-lm  $LIBS"
17263 if test x$gcc_no_link = xyes; then
17264   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17265 fi
17266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267 /* end confdefs.h.  */
17268
17269 /* Override any GCC internal prototype to avoid an error.
17270    Use char because int might match the return type of a GCC
17271    builtin and then its argument prototype would still apply.  */
17272 #ifdef __cplusplus
17273 extern "C"
17274 #endif
17275 char atan ();
17276 int
17277 main ()
17278 {
17279 return atan ();
17280   ;
17281   return 0;
17282 }
17283 _ACEOF
17284 if ac_fn_c_try_link "$LINENO"; then :
17285   ac_cv_lib_m_atan=yes
17286 else
17287   ac_cv_lib_m_atan=no
17288 fi
17289 rm -f core conftest.err conftest.$ac_objext \
17290     conftest$ac_exeext conftest.$ac_ext
17291 LIBS=$ac_check_lib_save_LIBS
17292 fi
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atan" >&5
17294 $as_echo "$ac_cv_lib_m_atan" >&6; }
17295 if test "x$ac_cv_lib_m_atan" = x""yes; then :
17296
17297 $as_echo "#define HAVE_ATAN 1" >>confdefs.h
17298
17299 fi
17300
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl in -lm" >&5
17302 $as_echo_n "checking for atanl in -lm... " >&6; }
17303 if test "${ac_cv_lib_m_atanl+set}" = set; then :
17304   $as_echo_n "(cached) " >&6
17305 else
17306   ac_check_lib_save_LIBS=$LIBS
17307 LIBS="-lm  $LIBS"
17308 if test x$gcc_no_link = xyes; then
17309   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17310 fi
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h.  */
17313
17314 /* Override any GCC internal prototype to avoid an error.
17315    Use char because int might match the return type of a GCC
17316    builtin and then its argument prototype would still apply.  */
17317 #ifdef __cplusplus
17318 extern "C"
17319 #endif
17320 char atanl ();
17321 int
17322 main ()
17323 {
17324 return atanl ();
17325   ;
17326   return 0;
17327 }
17328 _ACEOF
17329 if ac_fn_c_try_link "$LINENO"; then :
17330   ac_cv_lib_m_atanl=yes
17331 else
17332   ac_cv_lib_m_atanl=no
17333 fi
17334 rm -f core conftest.err conftest.$ac_objext \
17335     conftest$ac_exeext conftest.$ac_ext
17336 LIBS=$ac_check_lib_save_LIBS
17337 fi
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanl" >&5
17339 $as_echo "$ac_cv_lib_m_atanl" >&6; }
17340 if test "x$ac_cv_lib_m_atanl" = x""yes; then :
17341
17342 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
17343
17344 fi
17345
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf in -lm" >&5
17347 $as_echo_n "checking for atanhf in -lm... " >&6; }
17348 if test "${ac_cv_lib_m_atanhf+set}" = set; then :
17349   $as_echo_n "(cached) " >&6
17350 else
17351   ac_check_lib_save_LIBS=$LIBS
17352 LIBS="-lm  $LIBS"
17353 if test x$gcc_no_link = xyes; then
17354   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17355 fi
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h.  */
17358
17359 /* Override any GCC internal prototype to avoid an error.
17360    Use char because int might match the return type of a GCC
17361    builtin and then its argument prototype would still apply.  */
17362 #ifdef __cplusplus
17363 extern "C"
17364 #endif
17365 char atanhf ();
17366 int
17367 main ()
17368 {
17369 return atanhf ();
17370   ;
17371   return 0;
17372 }
17373 _ACEOF
17374 if ac_fn_c_try_link "$LINENO"; then :
17375   ac_cv_lib_m_atanhf=yes
17376 else
17377   ac_cv_lib_m_atanhf=no
17378 fi
17379 rm -f core conftest.err conftest.$ac_objext \
17380     conftest$ac_exeext conftest.$ac_ext
17381 LIBS=$ac_check_lib_save_LIBS
17382 fi
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhf" >&5
17384 $as_echo "$ac_cv_lib_m_atanhf" >&6; }
17385 if test "x$ac_cv_lib_m_atanhf" = x""yes; then :
17386
17387 $as_echo "#define HAVE_ATANHF 1" >>confdefs.h
17388
17389 fi
17390
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh in -lm" >&5
17392 $as_echo_n "checking for atanh in -lm... " >&6; }
17393 if test "${ac_cv_lib_m_atanh+set}" = set; then :
17394   $as_echo_n "(cached) " >&6
17395 else
17396   ac_check_lib_save_LIBS=$LIBS
17397 LIBS="-lm  $LIBS"
17398 if test x$gcc_no_link = xyes; then
17399   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17400 fi
17401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17402 /* end confdefs.h.  */
17403
17404 /* Override any GCC internal prototype to avoid an error.
17405    Use char because int might match the return type of a GCC
17406    builtin and then its argument prototype would still apply.  */
17407 #ifdef __cplusplus
17408 extern "C"
17409 #endif
17410 char atanh ();
17411 int
17412 main ()
17413 {
17414 return atanh ();
17415   ;
17416   return 0;
17417 }
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420   ac_cv_lib_m_atanh=yes
17421 else
17422   ac_cv_lib_m_atanh=no
17423 fi
17424 rm -f core conftest.err conftest.$ac_objext \
17425     conftest$ac_exeext conftest.$ac_ext
17426 LIBS=$ac_check_lib_save_LIBS
17427 fi
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanh" >&5
17429 $as_echo "$ac_cv_lib_m_atanh" >&6; }
17430 if test "x$ac_cv_lib_m_atanh" = x""yes; then :
17431
17432 $as_echo "#define HAVE_ATANH 1" >>confdefs.h
17433
17434 fi
17435
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl in -lm" >&5
17437 $as_echo_n "checking for atanhl in -lm... " >&6; }
17438 if test "${ac_cv_lib_m_atanhl+set}" = set; then :
17439   $as_echo_n "(cached) " >&6
17440 else
17441   ac_check_lib_save_LIBS=$LIBS
17442 LIBS="-lm  $LIBS"
17443 if test x$gcc_no_link = xyes; then
17444   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17445 fi
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h.  */
17448
17449 /* Override any GCC internal prototype to avoid an error.
17450    Use char because int might match the return type of a GCC
17451    builtin and then its argument prototype would still apply.  */
17452 #ifdef __cplusplus
17453 extern "C"
17454 #endif
17455 char atanhl ();
17456 int
17457 main ()
17458 {
17459 return atanhl ();
17460   ;
17461   return 0;
17462 }
17463 _ACEOF
17464 if ac_fn_c_try_link "$LINENO"; then :
17465   ac_cv_lib_m_atanhl=yes
17466 else
17467   ac_cv_lib_m_atanhl=no
17468 fi
17469 rm -f core conftest.err conftest.$ac_objext \
17470     conftest$ac_exeext conftest.$ac_ext
17471 LIBS=$ac_check_lib_save_LIBS
17472 fi
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_atanhl" >&5
17474 $as_echo "$ac_cv_lib_m_atanhl" >&6; }
17475 if test "x$ac_cv_lib_m_atanhl" = x""yes; then :
17476
17477 $as_echo "#define HAVE_ATANHL 1" >>confdefs.h
17478
17479 fi
17480
17481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf in -lm" >&5
17482 $as_echo_n "checking for cargf in -lm... " >&6; }
17483 if test "${ac_cv_lib_m_cargf+set}" = set; then :
17484   $as_echo_n "(cached) " >&6
17485 else
17486   ac_check_lib_save_LIBS=$LIBS
17487 LIBS="-lm  $LIBS"
17488 if test x$gcc_no_link = xyes; then
17489   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17490 fi
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h.  */
17493
17494 /* Override any GCC internal prototype to avoid an error.
17495    Use char because int might match the return type of a GCC
17496    builtin and then its argument prototype would still apply.  */
17497 #ifdef __cplusplus
17498 extern "C"
17499 #endif
17500 char cargf ();
17501 int
17502 main ()
17503 {
17504 return cargf ();
17505   ;
17506   return 0;
17507 }
17508 _ACEOF
17509 if ac_fn_c_try_link "$LINENO"; then :
17510   ac_cv_lib_m_cargf=yes
17511 else
17512   ac_cv_lib_m_cargf=no
17513 fi
17514 rm -f core conftest.err conftest.$ac_objext \
17515     conftest$ac_exeext conftest.$ac_ext
17516 LIBS=$ac_check_lib_save_LIBS
17517 fi
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargf" >&5
17519 $as_echo "$ac_cv_lib_m_cargf" >&6; }
17520 if test "x$ac_cv_lib_m_cargf" = x""yes; then :
17521
17522 $as_echo "#define HAVE_CARGF 1" >>confdefs.h
17523
17524 fi
17525
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg in -lm" >&5
17527 $as_echo_n "checking for carg in -lm... " >&6; }
17528 if test "${ac_cv_lib_m_carg+set}" = set; then :
17529   $as_echo_n "(cached) " >&6
17530 else
17531   ac_check_lib_save_LIBS=$LIBS
17532 LIBS="-lm  $LIBS"
17533 if test x$gcc_no_link = xyes; then
17534   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17535 fi
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h.  */
17538
17539 /* Override any GCC internal prototype to avoid an error.
17540    Use char because int might match the return type of a GCC
17541    builtin and then its argument prototype would still apply.  */
17542 #ifdef __cplusplus
17543 extern "C"
17544 #endif
17545 char carg ();
17546 int
17547 main ()
17548 {
17549 return carg ();
17550   ;
17551   return 0;
17552 }
17553 _ACEOF
17554 if ac_fn_c_try_link "$LINENO"; then :
17555   ac_cv_lib_m_carg=yes
17556 else
17557   ac_cv_lib_m_carg=no
17558 fi
17559 rm -f core conftest.err conftest.$ac_objext \
17560     conftest$ac_exeext conftest.$ac_ext
17561 LIBS=$ac_check_lib_save_LIBS
17562 fi
17563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_carg" >&5
17564 $as_echo "$ac_cv_lib_m_carg" >&6; }
17565 if test "x$ac_cv_lib_m_carg" = x""yes; then :
17566
17567 $as_echo "#define HAVE_CARG 1" >>confdefs.h
17568
17569 fi
17570
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl in -lm" >&5
17572 $as_echo_n "checking for cargl in -lm... " >&6; }
17573 if test "${ac_cv_lib_m_cargl+set}" = set; then :
17574   $as_echo_n "(cached) " >&6
17575 else
17576   ac_check_lib_save_LIBS=$LIBS
17577 LIBS="-lm  $LIBS"
17578 if test x$gcc_no_link = xyes; then
17579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17580 fi
17581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17582 /* end confdefs.h.  */
17583
17584 /* Override any GCC internal prototype to avoid an error.
17585    Use char because int might match the return type of a GCC
17586    builtin and then its argument prototype would still apply.  */
17587 #ifdef __cplusplus
17588 extern "C"
17589 #endif
17590 char cargl ();
17591 int
17592 main ()
17593 {
17594 return cargl ();
17595   ;
17596   return 0;
17597 }
17598 _ACEOF
17599 if ac_fn_c_try_link "$LINENO"; then :
17600   ac_cv_lib_m_cargl=yes
17601 else
17602   ac_cv_lib_m_cargl=no
17603 fi
17604 rm -f core conftest.err conftest.$ac_objext \
17605     conftest$ac_exeext conftest.$ac_ext
17606 LIBS=$ac_check_lib_save_LIBS
17607 fi
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cargl" >&5
17609 $as_echo "$ac_cv_lib_m_cargl" >&6; }
17610 if test "x$ac_cv_lib_m_cargl" = x""yes; then :
17611
17612 $as_echo "#define HAVE_CARGL 1" >>confdefs.h
17613
17614 fi
17615
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf in -lm" >&5
17617 $as_echo_n "checking for ceilf in -lm... " >&6; }
17618 if test "${ac_cv_lib_m_ceilf+set}" = set; then :
17619   $as_echo_n "(cached) " >&6
17620 else
17621   ac_check_lib_save_LIBS=$LIBS
17622 LIBS="-lm  $LIBS"
17623 if test x$gcc_no_link = xyes; then
17624   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17625 fi
17626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17627 /* end confdefs.h.  */
17628
17629 /* Override any GCC internal prototype to avoid an error.
17630    Use char because int might match the return type of a GCC
17631    builtin and then its argument prototype would still apply.  */
17632 #ifdef __cplusplus
17633 extern "C"
17634 #endif
17635 char ceilf ();
17636 int
17637 main ()
17638 {
17639 return ceilf ();
17640   ;
17641   return 0;
17642 }
17643 _ACEOF
17644 if ac_fn_c_try_link "$LINENO"; then :
17645   ac_cv_lib_m_ceilf=yes
17646 else
17647   ac_cv_lib_m_ceilf=no
17648 fi
17649 rm -f core conftest.err conftest.$ac_objext \
17650     conftest$ac_exeext conftest.$ac_ext
17651 LIBS=$ac_check_lib_save_LIBS
17652 fi
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceilf" >&5
17654 $as_echo "$ac_cv_lib_m_ceilf" >&6; }
17655 if test "x$ac_cv_lib_m_ceilf" = x""yes; then :
17656
17657 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
17658
17659 fi
17660
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil in -lm" >&5
17662 $as_echo_n "checking for ceil in -lm... " >&6; }
17663 if test "${ac_cv_lib_m_ceil+set}" = set; then :
17664   $as_echo_n "(cached) " >&6
17665 else
17666   ac_check_lib_save_LIBS=$LIBS
17667 LIBS="-lm  $LIBS"
17668 if test x$gcc_no_link = xyes; then
17669   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17670 fi
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h.  */
17673
17674 /* Override any GCC internal prototype to avoid an error.
17675    Use char because int might match the return type of a GCC
17676    builtin and then its argument prototype would still apply.  */
17677 #ifdef __cplusplus
17678 extern "C"
17679 #endif
17680 char ceil ();
17681 int
17682 main ()
17683 {
17684 return ceil ();
17685   ;
17686   return 0;
17687 }
17688 _ACEOF
17689 if ac_fn_c_try_link "$LINENO"; then :
17690   ac_cv_lib_m_ceil=yes
17691 else
17692   ac_cv_lib_m_ceil=no
17693 fi
17694 rm -f core conftest.err conftest.$ac_objext \
17695     conftest$ac_exeext conftest.$ac_ext
17696 LIBS=$ac_check_lib_save_LIBS
17697 fi
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceil" >&5
17699 $as_echo "$ac_cv_lib_m_ceil" >&6; }
17700 if test "x$ac_cv_lib_m_ceil" = x""yes; then :
17701
17702 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
17703
17704 fi
17705
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill in -lm" >&5
17707 $as_echo_n "checking for ceill in -lm... " >&6; }
17708 if test "${ac_cv_lib_m_ceill+set}" = set; then :
17709   $as_echo_n "(cached) " >&6
17710 else
17711   ac_check_lib_save_LIBS=$LIBS
17712 LIBS="-lm  $LIBS"
17713 if test x$gcc_no_link = xyes; then
17714   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17715 fi
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h.  */
17718
17719 /* Override any GCC internal prototype to avoid an error.
17720    Use char because int might match the return type of a GCC
17721    builtin and then its argument prototype would still apply.  */
17722 #ifdef __cplusplus
17723 extern "C"
17724 #endif
17725 char ceill ();
17726 int
17727 main ()
17728 {
17729 return ceill ();
17730   ;
17731   return 0;
17732 }
17733 _ACEOF
17734 if ac_fn_c_try_link "$LINENO"; then :
17735   ac_cv_lib_m_ceill=yes
17736 else
17737   ac_cv_lib_m_ceill=no
17738 fi
17739 rm -f core conftest.err conftest.$ac_objext \
17740     conftest$ac_exeext conftest.$ac_ext
17741 LIBS=$ac_check_lib_save_LIBS
17742 fi
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ceill" >&5
17744 $as_echo "$ac_cv_lib_m_ceill" >&6; }
17745 if test "x$ac_cv_lib_m_ceill" = x""yes; then :
17746
17747 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
17748
17749 fi
17750
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf in -lm" >&5
17752 $as_echo_n "checking for copysignf in -lm... " >&6; }
17753 if test "${ac_cv_lib_m_copysignf+set}" = set; then :
17754   $as_echo_n "(cached) " >&6
17755 else
17756   ac_check_lib_save_LIBS=$LIBS
17757 LIBS="-lm  $LIBS"
17758 if test x$gcc_no_link = xyes; then
17759   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17760 fi
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h.  */
17763
17764 /* Override any GCC internal prototype to avoid an error.
17765    Use char because int might match the return type of a GCC
17766    builtin and then its argument prototype would still apply.  */
17767 #ifdef __cplusplus
17768 extern "C"
17769 #endif
17770 char copysignf ();
17771 int
17772 main ()
17773 {
17774 return copysignf ();
17775   ;
17776   return 0;
17777 }
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780   ac_cv_lib_m_copysignf=yes
17781 else
17782   ac_cv_lib_m_copysignf=no
17783 fi
17784 rm -f core conftest.err conftest.$ac_objext \
17785     conftest$ac_exeext conftest.$ac_ext
17786 LIBS=$ac_check_lib_save_LIBS
17787 fi
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignf" >&5
17789 $as_echo "$ac_cv_lib_m_copysignf" >&6; }
17790 if test "x$ac_cv_lib_m_copysignf" = x""yes; then :
17791
17792 $as_echo "#define HAVE_COPYSIGNF 1" >>confdefs.h
17793
17794 fi
17795
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign in -lm" >&5
17797 $as_echo_n "checking for copysign in -lm... " >&6; }
17798 if test "${ac_cv_lib_m_copysign+set}" = set; then :
17799   $as_echo_n "(cached) " >&6
17800 else
17801   ac_check_lib_save_LIBS=$LIBS
17802 LIBS="-lm  $LIBS"
17803 if test x$gcc_no_link = xyes; then
17804   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17805 fi
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h.  */
17808
17809 /* Override any GCC internal prototype to avoid an error.
17810    Use char because int might match the return type of a GCC
17811    builtin and then its argument prototype would still apply.  */
17812 #ifdef __cplusplus
17813 extern "C"
17814 #endif
17815 char copysign ();
17816 int
17817 main ()
17818 {
17819 return copysign ();
17820   ;
17821   return 0;
17822 }
17823 _ACEOF
17824 if ac_fn_c_try_link "$LINENO"; then :
17825   ac_cv_lib_m_copysign=yes
17826 else
17827   ac_cv_lib_m_copysign=no
17828 fi
17829 rm -f core conftest.err conftest.$ac_objext \
17830     conftest$ac_exeext conftest.$ac_ext
17831 LIBS=$ac_check_lib_save_LIBS
17832 fi
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysign" >&5
17834 $as_echo "$ac_cv_lib_m_copysign" >&6; }
17835 if test "x$ac_cv_lib_m_copysign" = x""yes; then :
17836
17837 $as_echo "#define HAVE_COPYSIGN 1" >>confdefs.h
17838
17839 fi
17840
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl in -lm" >&5
17842 $as_echo_n "checking for copysignl in -lm... " >&6; }
17843 if test "${ac_cv_lib_m_copysignl+set}" = set; then :
17844   $as_echo_n "(cached) " >&6
17845 else
17846   ac_check_lib_save_LIBS=$LIBS
17847 LIBS="-lm  $LIBS"
17848 if test x$gcc_no_link = xyes; then
17849   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17850 fi
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h.  */
17853
17854 /* Override any GCC internal prototype to avoid an error.
17855    Use char because int might match the return type of a GCC
17856    builtin and then its argument prototype would still apply.  */
17857 #ifdef __cplusplus
17858 extern "C"
17859 #endif
17860 char copysignl ();
17861 int
17862 main ()
17863 {
17864 return copysignl ();
17865   ;
17866   return 0;
17867 }
17868 _ACEOF
17869 if ac_fn_c_try_link "$LINENO"; then :
17870   ac_cv_lib_m_copysignl=yes
17871 else
17872   ac_cv_lib_m_copysignl=no
17873 fi
17874 rm -f core conftest.err conftest.$ac_objext \
17875     conftest$ac_exeext conftest.$ac_ext
17876 LIBS=$ac_check_lib_save_LIBS
17877 fi
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_copysignl" >&5
17879 $as_echo "$ac_cv_lib_m_copysignl" >&6; }
17880 if test "x$ac_cv_lib_m_copysignl" = x""yes; then :
17881
17882 $as_echo "#define HAVE_COPYSIGNL 1" >>confdefs.h
17883
17884 fi
17885
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf in -lm" >&5
17887 $as_echo_n "checking for cosf in -lm... " >&6; }
17888 if test "${ac_cv_lib_m_cosf+set}" = set; then :
17889   $as_echo_n "(cached) " >&6
17890 else
17891   ac_check_lib_save_LIBS=$LIBS
17892 LIBS="-lm  $LIBS"
17893 if test x$gcc_no_link = xyes; then
17894   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17895 fi
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h.  */
17898
17899 /* Override any GCC internal prototype to avoid an error.
17900    Use char because int might match the return type of a GCC
17901    builtin and then its argument prototype would still apply.  */
17902 #ifdef __cplusplus
17903 extern "C"
17904 #endif
17905 char cosf ();
17906 int
17907 main ()
17908 {
17909 return cosf ();
17910   ;
17911   return 0;
17912 }
17913 _ACEOF
17914 if ac_fn_c_try_link "$LINENO"; then :
17915   ac_cv_lib_m_cosf=yes
17916 else
17917   ac_cv_lib_m_cosf=no
17918 fi
17919 rm -f core conftest.err conftest.$ac_objext \
17920     conftest$ac_exeext conftest.$ac_ext
17921 LIBS=$ac_check_lib_save_LIBS
17922 fi
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosf" >&5
17924 $as_echo "$ac_cv_lib_m_cosf" >&6; }
17925 if test "x$ac_cv_lib_m_cosf" = x""yes; then :
17926
17927 $as_echo "#define HAVE_COSF 1" >>confdefs.h
17928
17929 fi
17930
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
17932 $as_echo_n "checking for cos in -lm... " >&6; }
17933 if test "${ac_cv_lib_m_cos+set}" = set; then :
17934   $as_echo_n "(cached) " >&6
17935 else
17936   ac_check_lib_save_LIBS=$LIBS
17937 LIBS="-lm  $LIBS"
17938 if test x$gcc_no_link = xyes; then
17939   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17940 fi
17941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17942 /* end confdefs.h.  */
17943
17944 /* Override any GCC internal prototype to avoid an error.
17945    Use char because int might match the return type of a GCC
17946    builtin and then its argument prototype would still apply.  */
17947 #ifdef __cplusplus
17948 extern "C"
17949 #endif
17950 char cos ();
17951 int
17952 main ()
17953 {
17954 return cos ();
17955   ;
17956   return 0;
17957 }
17958 _ACEOF
17959 if ac_fn_c_try_link "$LINENO"; then :
17960   ac_cv_lib_m_cos=yes
17961 else
17962   ac_cv_lib_m_cos=no
17963 fi
17964 rm -f core conftest.err conftest.$ac_objext \
17965     conftest$ac_exeext conftest.$ac_ext
17966 LIBS=$ac_check_lib_save_LIBS
17967 fi
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
17969 $as_echo "$ac_cv_lib_m_cos" >&6; }
17970 if test "x$ac_cv_lib_m_cos" = x""yes; then :
17971
17972 $as_echo "#define HAVE_COS 1" >>confdefs.h
17973
17974 fi
17975
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl in -lm" >&5
17977 $as_echo_n "checking for cosl in -lm... " >&6; }
17978 if test "${ac_cv_lib_m_cosl+set}" = set; then :
17979   $as_echo_n "(cached) " >&6
17980 else
17981   ac_check_lib_save_LIBS=$LIBS
17982 LIBS="-lm  $LIBS"
17983 if test x$gcc_no_link = xyes; then
17984   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17985 fi
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h.  */
17988
17989 /* Override any GCC internal prototype to avoid an error.
17990    Use char because int might match the return type of a GCC
17991    builtin and then its argument prototype would still apply.  */
17992 #ifdef __cplusplus
17993 extern "C"
17994 #endif
17995 char cosl ();
17996 int
17997 main ()
17998 {
17999 return cosl ();
18000   ;
18001   return 0;
18002 }
18003 _ACEOF
18004 if ac_fn_c_try_link "$LINENO"; then :
18005   ac_cv_lib_m_cosl=yes
18006 else
18007   ac_cv_lib_m_cosl=no
18008 fi
18009 rm -f core conftest.err conftest.$ac_objext \
18010     conftest$ac_exeext conftest.$ac_ext
18011 LIBS=$ac_check_lib_save_LIBS
18012 fi
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosl" >&5
18014 $as_echo "$ac_cv_lib_m_cosl" >&6; }
18015 if test "x$ac_cv_lib_m_cosl" = x""yes; then :
18016
18017 $as_echo "#define HAVE_COSL 1" >>confdefs.h
18018
18019 fi
18020
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf in -lm" >&5
18022 $as_echo_n "checking for ccosf in -lm... " >&6; }
18023 if test "${ac_cv_lib_m_ccosf+set}" = set; then :
18024   $as_echo_n "(cached) " >&6
18025 else
18026   ac_check_lib_save_LIBS=$LIBS
18027 LIBS="-lm  $LIBS"
18028 if test x$gcc_no_link = xyes; then
18029   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18030 fi
18031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h.  */
18033
18034 /* Override any GCC internal prototype to avoid an error.
18035    Use char because int might match the return type of a GCC
18036    builtin and then its argument prototype would still apply.  */
18037 #ifdef __cplusplus
18038 extern "C"
18039 #endif
18040 char ccosf ();
18041 int
18042 main ()
18043 {
18044 return ccosf ();
18045   ;
18046   return 0;
18047 }
18048 _ACEOF
18049 if ac_fn_c_try_link "$LINENO"; then :
18050   ac_cv_lib_m_ccosf=yes
18051 else
18052   ac_cv_lib_m_ccosf=no
18053 fi
18054 rm -f core conftest.err conftest.$ac_objext \
18055     conftest$ac_exeext conftest.$ac_ext
18056 LIBS=$ac_check_lib_save_LIBS
18057 fi
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosf" >&5
18059 $as_echo "$ac_cv_lib_m_ccosf" >&6; }
18060 if test "x$ac_cv_lib_m_ccosf" = x""yes; then :
18061
18062 $as_echo "#define HAVE_CCOSF 1" >>confdefs.h
18063
18064 fi
18065
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos in -lm" >&5
18067 $as_echo_n "checking for ccos in -lm... " >&6; }
18068 if test "${ac_cv_lib_m_ccos+set}" = set; then :
18069   $as_echo_n "(cached) " >&6
18070 else
18071   ac_check_lib_save_LIBS=$LIBS
18072 LIBS="-lm  $LIBS"
18073 if test x$gcc_no_link = xyes; then
18074   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18075 fi
18076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18077 /* end confdefs.h.  */
18078
18079 /* Override any GCC internal prototype to avoid an error.
18080    Use char because int might match the return type of a GCC
18081    builtin and then its argument prototype would still apply.  */
18082 #ifdef __cplusplus
18083 extern "C"
18084 #endif
18085 char ccos ();
18086 int
18087 main ()
18088 {
18089 return ccos ();
18090   ;
18091   return 0;
18092 }
18093 _ACEOF
18094 if ac_fn_c_try_link "$LINENO"; then :
18095   ac_cv_lib_m_ccos=yes
18096 else
18097   ac_cv_lib_m_ccos=no
18098 fi
18099 rm -f core conftest.err conftest.$ac_objext \
18100     conftest$ac_exeext conftest.$ac_ext
18101 LIBS=$ac_check_lib_save_LIBS
18102 fi
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccos" >&5
18104 $as_echo "$ac_cv_lib_m_ccos" >&6; }
18105 if test "x$ac_cv_lib_m_ccos" = x""yes; then :
18106
18107 $as_echo "#define HAVE_CCOS 1" >>confdefs.h
18108
18109 fi
18110
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl in -lm" >&5
18112 $as_echo_n "checking for ccosl in -lm... " >&6; }
18113 if test "${ac_cv_lib_m_ccosl+set}" = set; then :
18114   $as_echo_n "(cached) " >&6
18115 else
18116   ac_check_lib_save_LIBS=$LIBS
18117 LIBS="-lm  $LIBS"
18118 if test x$gcc_no_link = xyes; then
18119   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18120 fi
18121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h.  */
18123
18124 /* Override any GCC internal prototype to avoid an error.
18125    Use char because int might match the return type of a GCC
18126    builtin and then its argument prototype would still apply.  */
18127 #ifdef __cplusplus
18128 extern "C"
18129 #endif
18130 char ccosl ();
18131 int
18132 main ()
18133 {
18134 return ccosl ();
18135   ;
18136   return 0;
18137 }
18138 _ACEOF
18139 if ac_fn_c_try_link "$LINENO"; then :
18140   ac_cv_lib_m_ccosl=yes
18141 else
18142   ac_cv_lib_m_ccosl=no
18143 fi
18144 rm -f core conftest.err conftest.$ac_objext \
18145     conftest$ac_exeext conftest.$ac_ext
18146 LIBS=$ac_check_lib_save_LIBS
18147 fi
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosl" >&5
18149 $as_echo "$ac_cv_lib_m_ccosl" >&6; }
18150 if test "x$ac_cv_lib_m_ccosl" = x""yes; then :
18151
18152 $as_echo "#define HAVE_CCOSL 1" >>confdefs.h
18153
18154 fi
18155
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf in -lm" >&5
18157 $as_echo_n "checking for coshf in -lm... " >&6; }
18158 if test "${ac_cv_lib_m_coshf+set}" = set; then :
18159   $as_echo_n "(cached) " >&6
18160 else
18161   ac_check_lib_save_LIBS=$LIBS
18162 LIBS="-lm  $LIBS"
18163 if test x$gcc_no_link = xyes; then
18164   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18165 fi
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h.  */
18168
18169 /* Override any GCC internal prototype to avoid an error.
18170    Use char because int might match the return type of a GCC
18171    builtin and then its argument prototype would still apply.  */
18172 #ifdef __cplusplus
18173 extern "C"
18174 #endif
18175 char coshf ();
18176 int
18177 main ()
18178 {
18179 return coshf ();
18180   ;
18181   return 0;
18182 }
18183 _ACEOF
18184 if ac_fn_c_try_link "$LINENO"; then :
18185   ac_cv_lib_m_coshf=yes
18186 else
18187   ac_cv_lib_m_coshf=no
18188 fi
18189 rm -f core conftest.err conftest.$ac_objext \
18190     conftest$ac_exeext conftest.$ac_ext
18191 LIBS=$ac_check_lib_save_LIBS
18192 fi
18193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshf" >&5
18194 $as_echo "$ac_cv_lib_m_coshf" >&6; }
18195 if test "x$ac_cv_lib_m_coshf" = x""yes; then :
18196
18197 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
18198
18199 fi
18200
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh in -lm" >&5
18202 $as_echo_n "checking for cosh in -lm... " >&6; }
18203 if test "${ac_cv_lib_m_cosh+set}" = set; then :
18204   $as_echo_n "(cached) " >&6
18205 else
18206   ac_check_lib_save_LIBS=$LIBS
18207 LIBS="-lm  $LIBS"
18208 if test x$gcc_no_link = xyes; then
18209   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18210 fi
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h.  */
18213
18214 /* Override any GCC internal prototype to avoid an error.
18215    Use char because int might match the return type of a GCC
18216    builtin and then its argument prototype would still apply.  */
18217 #ifdef __cplusplus
18218 extern "C"
18219 #endif
18220 char cosh ();
18221 int
18222 main ()
18223 {
18224 return cosh ();
18225   ;
18226   return 0;
18227 }
18228 _ACEOF
18229 if ac_fn_c_try_link "$LINENO"; then :
18230   ac_cv_lib_m_cosh=yes
18231 else
18232   ac_cv_lib_m_cosh=no
18233 fi
18234 rm -f core conftest.err conftest.$ac_objext \
18235     conftest$ac_exeext conftest.$ac_ext
18236 LIBS=$ac_check_lib_save_LIBS
18237 fi
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cosh" >&5
18239 $as_echo "$ac_cv_lib_m_cosh" >&6; }
18240 if test "x$ac_cv_lib_m_cosh" = x""yes; then :
18241
18242 $as_echo "#define HAVE_COSH 1" >>confdefs.h
18243
18244 fi
18245
18246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl in -lm" >&5
18247 $as_echo_n "checking for coshl in -lm... " >&6; }
18248 if test "${ac_cv_lib_m_coshl+set}" = set; then :
18249   $as_echo_n "(cached) " >&6
18250 else
18251   ac_check_lib_save_LIBS=$LIBS
18252 LIBS="-lm  $LIBS"
18253 if test x$gcc_no_link = xyes; then
18254   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18255 fi
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h.  */
18258
18259 /* Override any GCC internal prototype to avoid an error.
18260    Use char because int might match the return type of a GCC
18261    builtin and then its argument prototype would still apply.  */
18262 #ifdef __cplusplus
18263 extern "C"
18264 #endif
18265 char coshl ();
18266 int
18267 main ()
18268 {
18269 return coshl ();
18270   ;
18271   return 0;
18272 }
18273 _ACEOF
18274 if ac_fn_c_try_link "$LINENO"; then :
18275   ac_cv_lib_m_coshl=yes
18276 else
18277   ac_cv_lib_m_coshl=no
18278 fi
18279 rm -f core conftest.err conftest.$ac_objext \
18280     conftest$ac_exeext conftest.$ac_ext
18281 LIBS=$ac_check_lib_save_LIBS
18282 fi
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_coshl" >&5
18284 $as_echo "$ac_cv_lib_m_coshl" >&6; }
18285 if test "x$ac_cv_lib_m_coshl" = x""yes; then :
18286
18287 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
18288
18289 fi
18290
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf in -lm" >&5
18292 $as_echo_n "checking for ccoshf in -lm... " >&6; }
18293 if test "${ac_cv_lib_m_ccoshf+set}" = set; then :
18294   $as_echo_n "(cached) " >&6
18295 else
18296   ac_check_lib_save_LIBS=$LIBS
18297 LIBS="-lm  $LIBS"
18298 if test x$gcc_no_link = xyes; then
18299   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18300 fi
18301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18302 /* end confdefs.h.  */
18303
18304 /* Override any GCC internal prototype to avoid an error.
18305    Use char because int might match the return type of a GCC
18306    builtin and then its argument prototype would still apply.  */
18307 #ifdef __cplusplus
18308 extern "C"
18309 #endif
18310 char ccoshf ();
18311 int
18312 main ()
18313 {
18314 return ccoshf ();
18315   ;
18316   return 0;
18317 }
18318 _ACEOF
18319 if ac_fn_c_try_link "$LINENO"; then :
18320   ac_cv_lib_m_ccoshf=yes
18321 else
18322   ac_cv_lib_m_ccoshf=no
18323 fi
18324 rm -f core conftest.err conftest.$ac_objext \
18325     conftest$ac_exeext conftest.$ac_ext
18326 LIBS=$ac_check_lib_save_LIBS
18327 fi
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshf" >&5
18329 $as_echo "$ac_cv_lib_m_ccoshf" >&6; }
18330 if test "x$ac_cv_lib_m_ccoshf" = x""yes; then :
18331
18332 $as_echo "#define HAVE_CCOSHF 1" >>confdefs.h
18333
18334 fi
18335
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh in -lm" >&5
18337 $as_echo_n "checking for ccosh in -lm... " >&6; }
18338 if test "${ac_cv_lib_m_ccosh+set}" = set; then :
18339   $as_echo_n "(cached) " >&6
18340 else
18341   ac_check_lib_save_LIBS=$LIBS
18342 LIBS="-lm  $LIBS"
18343 if test x$gcc_no_link = xyes; then
18344   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18345 fi
18346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18347 /* end confdefs.h.  */
18348
18349 /* Override any GCC internal prototype to avoid an error.
18350    Use char because int might match the return type of a GCC
18351    builtin and then its argument prototype would still apply.  */
18352 #ifdef __cplusplus
18353 extern "C"
18354 #endif
18355 char ccosh ();
18356 int
18357 main ()
18358 {
18359 return ccosh ();
18360   ;
18361   return 0;
18362 }
18363 _ACEOF
18364 if ac_fn_c_try_link "$LINENO"; then :
18365   ac_cv_lib_m_ccosh=yes
18366 else
18367   ac_cv_lib_m_ccosh=no
18368 fi
18369 rm -f core conftest.err conftest.$ac_objext \
18370     conftest$ac_exeext conftest.$ac_ext
18371 LIBS=$ac_check_lib_save_LIBS
18372 fi
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccosh" >&5
18374 $as_echo "$ac_cv_lib_m_ccosh" >&6; }
18375 if test "x$ac_cv_lib_m_ccosh" = x""yes; then :
18376
18377 $as_echo "#define HAVE_CCOSH 1" >>confdefs.h
18378
18379 fi
18380
18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl in -lm" >&5
18382 $as_echo_n "checking for ccoshl in -lm... " >&6; }
18383 if test "${ac_cv_lib_m_ccoshl+set}" = set; then :
18384   $as_echo_n "(cached) " >&6
18385 else
18386   ac_check_lib_save_LIBS=$LIBS
18387 LIBS="-lm  $LIBS"
18388 if test x$gcc_no_link = xyes; then
18389   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18390 fi
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h.  */
18393
18394 /* Override any GCC internal prototype to avoid an error.
18395    Use char because int might match the return type of a GCC
18396    builtin and then its argument prototype would still apply.  */
18397 #ifdef __cplusplus
18398 extern "C"
18399 #endif
18400 char ccoshl ();
18401 int
18402 main ()
18403 {
18404 return ccoshl ();
18405   ;
18406   return 0;
18407 }
18408 _ACEOF
18409 if ac_fn_c_try_link "$LINENO"; then :
18410   ac_cv_lib_m_ccoshl=yes
18411 else
18412   ac_cv_lib_m_ccoshl=no
18413 fi
18414 rm -f core conftest.err conftest.$ac_objext \
18415     conftest$ac_exeext conftest.$ac_ext
18416 LIBS=$ac_check_lib_save_LIBS
18417 fi
18418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ccoshl" >&5
18419 $as_echo "$ac_cv_lib_m_ccoshl" >&6; }
18420 if test "x$ac_cv_lib_m_ccoshl" = x""yes; then :
18421
18422 $as_echo "#define HAVE_CCOSHL 1" >>confdefs.h
18423
18424 fi
18425
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf in -lm" >&5
18427 $as_echo_n "checking for expf in -lm... " >&6; }
18428 if test "${ac_cv_lib_m_expf+set}" = set; then :
18429   $as_echo_n "(cached) " >&6
18430 else
18431   ac_check_lib_save_LIBS=$LIBS
18432 LIBS="-lm  $LIBS"
18433 if test x$gcc_no_link = xyes; then
18434   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18435 fi
18436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18437 /* end confdefs.h.  */
18438
18439 /* Override any GCC internal prototype to avoid an error.
18440    Use char because int might match the return type of a GCC
18441    builtin and then its argument prototype would still apply.  */
18442 #ifdef __cplusplus
18443 extern "C"
18444 #endif
18445 char expf ();
18446 int
18447 main ()
18448 {
18449 return expf ();
18450   ;
18451   return 0;
18452 }
18453 _ACEOF
18454 if ac_fn_c_try_link "$LINENO"; then :
18455   ac_cv_lib_m_expf=yes
18456 else
18457   ac_cv_lib_m_expf=no
18458 fi
18459 rm -f core conftest.err conftest.$ac_objext \
18460     conftest$ac_exeext conftest.$ac_ext
18461 LIBS=$ac_check_lib_save_LIBS
18462 fi
18463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expf" >&5
18464 $as_echo "$ac_cv_lib_m_expf" >&6; }
18465 if test "x$ac_cv_lib_m_expf" = x""yes; then :
18466
18467 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
18468
18469 fi
18470
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -lm" >&5
18472 $as_echo_n "checking for exp in -lm... " >&6; }
18473 if test "${ac_cv_lib_m_exp+set}" = set; then :
18474   $as_echo_n "(cached) " >&6
18475 else
18476   ac_check_lib_save_LIBS=$LIBS
18477 LIBS="-lm  $LIBS"
18478 if test x$gcc_no_link = xyes; then
18479   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 fi
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h.  */
18483
18484 /* Override any GCC internal prototype to avoid an error.
18485    Use char because int might match the return type of a GCC
18486    builtin and then its argument prototype would still apply.  */
18487 #ifdef __cplusplus
18488 extern "C"
18489 #endif
18490 char exp ();
18491 int
18492 main ()
18493 {
18494 return exp ();
18495   ;
18496   return 0;
18497 }
18498 _ACEOF
18499 if ac_fn_c_try_link "$LINENO"; then :
18500   ac_cv_lib_m_exp=yes
18501 else
18502   ac_cv_lib_m_exp=no
18503 fi
18504 rm -f core conftest.err conftest.$ac_objext \
18505     conftest$ac_exeext conftest.$ac_ext
18506 LIBS=$ac_check_lib_save_LIBS
18507 fi
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp" >&5
18509 $as_echo "$ac_cv_lib_m_exp" >&6; }
18510 if test "x$ac_cv_lib_m_exp" = x""yes; then :
18511
18512 $as_echo "#define HAVE_EXP 1" >>confdefs.h
18513
18514 fi
18515
18516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl in -lm" >&5
18517 $as_echo_n "checking for expl in -lm... " >&6; }
18518 if test "${ac_cv_lib_m_expl+set}" = set; then :
18519   $as_echo_n "(cached) " >&6
18520 else
18521   ac_check_lib_save_LIBS=$LIBS
18522 LIBS="-lm  $LIBS"
18523 if test x$gcc_no_link = xyes; then
18524   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18525 fi
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h.  */
18528
18529 /* Override any GCC internal prototype to avoid an error.
18530    Use char because int might match the return type of a GCC
18531    builtin and then its argument prototype would still apply.  */
18532 #ifdef __cplusplus
18533 extern "C"
18534 #endif
18535 char expl ();
18536 int
18537 main ()
18538 {
18539 return expl ();
18540   ;
18541   return 0;
18542 }
18543 _ACEOF
18544 if ac_fn_c_try_link "$LINENO"; then :
18545   ac_cv_lib_m_expl=yes
18546 else
18547   ac_cv_lib_m_expl=no
18548 fi
18549 rm -f core conftest.err conftest.$ac_objext \
18550     conftest$ac_exeext conftest.$ac_ext
18551 LIBS=$ac_check_lib_save_LIBS
18552 fi
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_expl" >&5
18554 $as_echo "$ac_cv_lib_m_expl" >&6; }
18555 if test "x$ac_cv_lib_m_expl" = x""yes; then :
18556
18557 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
18558
18559 fi
18560
18561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf in -lm" >&5
18562 $as_echo_n "checking for cexpf in -lm... " >&6; }
18563 if test "${ac_cv_lib_m_cexpf+set}" = set; then :
18564   $as_echo_n "(cached) " >&6
18565 else
18566   ac_check_lib_save_LIBS=$LIBS
18567 LIBS="-lm  $LIBS"
18568 if test x$gcc_no_link = xyes; then
18569   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18570 fi
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h.  */
18573
18574 /* Override any GCC internal prototype to avoid an error.
18575    Use char because int might match the return type of a GCC
18576    builtin and then its argument prototype would still apply.  */
18577 #ifdef __cplusplus
18578 extern "C"
18579 #endif
18580 char cexpf ();
18581 int
18582 main ()
18583 {
18584 return cexpf ();
18585   ;
18586   return 0;
18587 }
18588 _ACEOF
18589 if ac_fn_c_try_link "$LINENO"; then :
18590   ac_cv_lib_m_cexpf=yes
18591 else
18592   ac_cv_lib_m_cexpf=no
18593 fi
18594 rm -f core conftest.err conftest.$ac_objext \
18595     conftest$ac_exeext conftest.$ac_ext
18596 LIBS=$ac_check_lib_save_LIBS
18597 fi
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpf" >&5
18599 $as_echo "$ac_cv_lib_m_cexpf" >&6; }
18600 if test "x$ac_cv_lib_m_cexpf" = x""yes; then :
18601
18602 $as_echo "#define HAVE_CEXPF 1" >>confdefs.h
18603
18604 fi
18605
18606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp in -lm" >&5
18607 $as_echo_n "checking for cexp in -lm... " >&6; }
18608 if test "${ac_cv_lib_m_cexp+set}" = set; then :
18609   $as_echo_n "(cached) " >&6
18610 else
18611   ac_check_lib_save_LIBS=$LIBS
18612 LIBS="-lm  $LIBS"
18613 if test x$gcc_no_link = xyes; then
18614   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18615 fi
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h.  */
18618
18619 /* Override any GCC internal prototype to avoid an error.
18620    Use char because int might match the return type of a GCC
18621    builtin and then its argument prototype would still apply.  */
18622 #ifdef __cplusplus
18623 extern "C"
18624 #endif
18625 char cexp ();
18626 int
18627 main ()
18628 {
18629 return cexp ();
18630   ;
18631   return 0;
18632 }
18633 _ACEOF
18634 if ac_fn_c_try_link "$LINENO"; then :
18635   ac_cv_lib_m_cexp=yes
18636 else
18637   ac_cv_lib_m_cexp=no
18638 fi
18639 rm -f core conftest.err conftest.$ac_objext \
18640     conftest$ac_exeext conftest.$ac_ext
18641 LIBS=$ac_check_lib_save_LIBS
18642 fi
18643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexp" >&5
18644 $as_echo "$ac_cv_lib_m_cexp" >&6; }
18645 if test "x$ac_cv_lib_m_cexp" = x""yes; then :
18646
18647 $as_echo "#define HAVE_CEXP 1" >>confdefs.h
18648
18649 fi
18650
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl in -lm" >&5
18652 $as_echo_n "checking for cexpl in -lm... " >&6; }
18653 if test "${ac_cv_lib_m_cexpl+set}" = set; then :
18654   $as_echo_n "(cached) " >&6
18655 else
18656   ac_check_lib_save_LIBS=$LIBS
18657 LIBS="-lm  $LIBS"
18658 if test x$gcc_no_link = xyes; then
18659   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18660 fi
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h.  */
18663
18664 /* Override any GCC internal prototype to avoid an error.
18665    Use char because int might match the return type of a GCC
18666    builtin and then its argument prototype would still apply.  */
18667 #ifdef __cplusplus
18668 extern "C"
18669 #endif
18670 char cexpl ();
18671 int
18672 main ()
18673 {
18674 return cexpl ();
18675   ;
18676   return 0;
18677 }
18678 _ACEOF
18679 if ac_fn_c_try_link "$LINENO"; then :
18680   ac_cv_lib_m_cexpl=yes
18681 else
18682   ac_cv_lib_m_cexpl=no
18683 fi
18684 rm -f core conftest.err conftest.$ac_objext \
18685     conftest$ac_exeext conftest.$ac_ext
18686 LIBS=$ac_check_lib_save_LIBS
18687 fi
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cexpl" >&5
18689 $as_echo "$ac_cv_lib_m_cexpl" >&6; }
18690 if test "x$ac_cv_lib_m_cexpl" = x""yes; then :
18691
18692 $as_echo "#define HAVE_CEXPL 1" >>confdefs.h
18693
18694 fi
18695
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf in -lm" >&5
18697 $as_echo_n "checking for fabsf in -lm... " >&6; }
18698 if test "${ac_cv_lib_m_fabsf+set}" = set; then :
18699   $as_echo_n "(cached) " >&6
18700 else
18701   ac_check_lib_save_LIBS=$LIBS
18702 LIBS="-lm  $LIBS"
18703 if test x$gcc_no_link = xyes; then
18704   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18705 fi
18706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18707 /* end confdefs.h.  */
18708
18709 /* Override any GCC internal prototype to avoid an error.
18710    Use char because int might match the return type of a GCC
18711    builtin and then its argument prototype would still apply.  */
18712 #ifdef __cplusplus
18713 extern "C"
18714 #endif
18715 char fabsf ();
18716 int
18717 main ()
18718 {
18719 return fabsf ();
18720   ;
18721   return 0;
18722 }
18723 _ACEOF
18724 if ac_fn_c_try_link "$LINENO"; then :
18725   ac_cv_lib_m_fabsf=yes
18726 else
18727   ac_cv_lib_m_fabsf=no
18728 fi
18729 rm -f core conftest.err conftest.$ac_objext \
18730     conftest$ac_exeext conftest.$ac_ext
18731 LIBS=$ac_check_lib_save_LIBS
18732 fi
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsf" >&5
18734 $as_echo "$ac_cv_lib_m_fabsf" >&6; }
18735 if test "x$ac_cv_lib_m_fabsf" = x""yes; then :
18736
18737 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
18738
18739 fi
18740
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs in -lm" >&5
18742 $as_echo_n "checking for fabs in -lm... " >&6; }
18743 if test "${ac_cv_lib_m_fabs+set}" = set; then :
18744   $as_echo_n "(cached) " >&6
18745 else
18746   ac_check_lib_save_LIBS=$LIBS
18747 LIBS="-lm  $LIBS"
18748 if test x$gcc_no_link = xyes; then
18749   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18750 fi
18751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18752 /* end confdefs.h.  */
18753
18754 /* Override any GCC internal prototype to avoid an error.
18755    Use char because int might match the return type of a GCC
18756    builtin and then its argument prototype would still apply.  */
18757 #ifdef __cplusplus
18758 extern "C"
18759 #endif
18760 char fabs ();
18761 int
18762 main ()
18763 {
18764 return fabs ();
18765   ;
18766   return 0;
18767 }
18768 _ACEOF
18769 if ac_fn_c_try_link "$LINENO"; then :
18770   ac_cv_lib_m_fabs=yes
18771 else
18772   ac_cv_lib_m_fabs=no
18773 fi
18774 rm -f core conftest.err conftest.$ac_objext \
18775     conftest$ac_exeext conftest.$ac_ext
18776 LIBS=$ac_check_lib_save_LIBS
18777 fi
18778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabs" >&5
18779 $as_echo "$ac_cv_lib_m_fabs" >&6; }
18780 if test "x$ac_cv_lib_m_fabs" = x""yes; then :
18781
18782 $as_echo "#define HAVE_FABS 1" >>confdefs.h
18783
18784 fi
18785
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl in -lm" >&5
18787 $as_echo_n "checking for fabsl in -lm... " >&6; }
18788 if test "${ac_cv_lib_m_fabsl+set}" = set; then :
18789   $as_echo_n "(cached) " >&6
18790 else
18791   ac_check_lib_save_LIBS=$LIBS
18792 LIBS="-lm  $LIBS"
18793 if test x$gcc_no_link = xyes; then
18794   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18795 fi
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h.  */
18798
18799 /* Override any GCC internal prototype to avoid an error.
18800    Use char because int might match the return type of a GCC
18801    builtin and then its argument prototype would still apply.  */
18802 #ifdef __cplusplus
18803 extern "C"
18804 #endif
18805 char fabsl ();
18806 int
18807 main ()
18808 {
18809 return fabsl ();
18810   ;
18811   return 0;
18812 }
18813 _ACEOF
18814 if ac_fn_c_try_link "$LINENO"; then :
18815   ac_cv_lib_m_fabsl=yes
18816 else
18817   ac_cv_lib_m_fabsl=no
18818 fi
18819 rm -f core conftest.err conftest.$ac_objext \
18820     conftest$ac_exeext conftest.$ac_ext
18821 LIBS=$ac_check_lib_save_LIBS
18822 fi
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fabsl" >&5
18824 $as_echo "$ac_cv_lib_m_fabsl" >&6; }
18825 if test "x$ac_cv_lib_m_fabsl" = x""yes; then :
18826
18827 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
18828
18829 fi
18830
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf in -lm" >&5
18832 $as_echo_n "checking for cabsf in -lm... " >&6; }
18833 if test "${ac_cv_lib_m_cabsf+set}" = set; then :
18834   $as_echo_n "(cached) " >&6
18835 else
18836   ac_check_lib_save_LIBS=$LIBS
18837 LIBS="-lm  $LIBS"
18838 if test x$gcc_no_link = xyes; then
18839   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18840 fi
18841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18842 /* end confdefs.h.  */
18843
18844 /* Override any GCC internal prototype to avoid an error.
18845    Use char because int might match the return type of a GCC
18846    builtin and then its argument prototype would still apply.  */
18847 #ifdef __cplusplus
18848 extern "C"
18849 #endif
18850 char cabsf ();
18851 int
18852 main ()
18853 {
18854 return cabsf ();
18855   ;
18856   return 0;
18857 }
18858 _ACEOF
18859 if ac_fn_c_try_link "$LINENO"; then :
18860   ac_cv_lib_m_cabsf=yes
18861 else
18862   ac_cv_lib_m_cabsf=no
18863 fi
18864 rm -f core conftest.err conftest.$ac_objext \
18865     conftest$ac_exeext conftest.$ac_ext
18866 LIBS=$ac_check_lib_save_LIBS
18867 fi
18868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsf" >&5
18869 $as_echo "$ac_cv_lib_m_cabsf" >&6; }
18870 if test "x$ac_cv_lib_m_cabsf" = x""yes; then :
18871
18872 $as_echo "#define HAVE_CABSF 1" >>confdefs.h
18873
18874 fi
18875
18876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs in -lm" >&5
18877 $as_echo_n "checking for cabs in -lm... " >&6; }
18878 if test "${ac_cv_lib_m_cabs+set}" = set; then :
18879   $as_echo_n "(cached) " >&6
18880 else
18881   ac_check_lib_save_LIBS=$LIBS
18882 LIBS="-lm  $LIBS"
18883 if test x$gcc_no_link = xyes; then
18884   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18885 fi
18886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18887 /* end confdefs.h.  */
18888
18889 /* Override any GCC internal prototype to avoid an error.
18890    Use char because int might match the return type of a GCC
18891    builtin and then its argument prototype would still apply.  */
18892 #ifdef __cplusplus
18893 extern "C"
18894 #endif
18895 char cabs ();
18896 int
18897 main ()
18898 {
18899 return cabs ();
18900   ;
18901   return 0;
18902 }
18903 _ACEOF
18904 if ac_fn_c_try_link "$LINENO"; then :
18905   ac_cv_lib_m_cabs=yes
18906 else
18907   ac_cv_lib_m_cabs=no
18908 fi
18909 rm -f core conftest.err conftest.$ac_objext \
18910     conftest$ac_exeext conftest.$ac_ext
18911 LIBS=$ac_check_lib_save_LIBS
18912 fi
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabs" >&5
18914 $as_echo "$ac_cv_lib_m_cabs" >&6; }
18915 if test "x$ac_cv_lib_m_cabs" = x""yes; then :
18916
18917 $as_echo "#define HAVE_CABS 1" >>confdefs.h
18918
18919 fi
18920
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl in -lm" >&5
18922 $as_echo_n "checking for cabsl in -lm... " >&6; }
18923 if test "${ac_cv_lib_m_cabsl+set}" = set; then :
18924   $as_echo_n "(cached) " >&6
18925 else
18926   ac_check_lib_save_LIBS=$LIBS
18927 LIBS="-lm  $LIBS"
18928 if test x$gcc_no_link = xyes; then
18929   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18930 fi
18931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18932 /* end confdefs.h.  */
18933
18934 /* Override any GCC internal prototype to avoid an error.
18935    Use char because int might match the return type of a GCC
18936    builtin and then its argument prototype would still apply.  */
18937 #ifdef __cplusplus
18938 extern "C"
18939 #endif
18940 char cabsl ();
18941 int
18942 main ()
18943 {
18944 return cabsl ();
18945   ;
18946   return 0;
18947 }
18948 _ACEOF
18949 if ac_fn_c_try_link "$LINENO"; then :
18950   ac_cv_lib_m_cabsl=yes
18951 else
18952   ac_cv_lib_m_cabsl=no
18953 fi
18954 rm -f core conftest.err conftest.$ac_objext \
18955     conftest$ac_exeext conftest.$ac_ext
18956 LIBS=$ac_check_lib_save_LIBS
18957 fi
18958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cabsl" >&5
18959 $as_echo "$ac_cv_lib_m_cabsl" >&6; }
18960 if test "x$ac_cv_lib_m_cabsl" = x""yes; then :
18961
18962 $as_echo "#define HAVE_CABSL 1" >>confdefs.h
18963
18964 fi
18965
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf in -lm" >&5
18967 $as_echo_n "checking for floorf in -lm... " >&6; }
18968 if test "${ac_cv_lib_m_floorf+set}" = set; then :
18969   $as_echo_n "(cached) " >&6
18970 else
18971   ac_check_lib_save_LIBS=$LIBS
18972 LIBS="-lm  $LIBS"
18973 if test x$gcc_no_link = xyes; then
18974   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18975 fi
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h.  */
18978
18979 /* Override any GCC internal prototype to avoid an error.
18980    Use char because int might match the return type of a GCC
18981    builtin and then its argument prototype would still apply.  */
18982 #ifdef __cplusplus
18983 extern "C"
18984 #endif
18985 char floorf ();
18986 int
18987 main ()
18988 {
18989 return floorf ();
18990   ;
18991   return 0;
18992 }
18993 _ACEOF
18994 if ac_fn_c_try_link "$LINENO"; then :
18995   ac_cv_lib_m_floorf=yes
18996 else
18997   ac_cv_lib_m_floorf=no
18998 fi
18999 rm -f core conftest.err conftest.$ac_objext \
19000     conftest$ac_exeext conftest.$ac_ext
19001 LIBS=$ac_check_lib_save_LIBS
19002 fi
19003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorf" >&5
19004 $as_echo "$ac_cv_lib_m_floorf" >&6; }
19005 if test "x$ac_cv_lib_m_floorf" = x""yes; then :
19006
19007 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
19008
19009 fi
19010
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor in -lm" >&5
19012 $as_echo_n "checking for floor in -lm... " >&6; }
19013 if test "${ac_cv_lib_m_floor+set}" = set; then :
19014   $as_echo_n "(cached) " >&6
19015 else
19016   ac_check_lib_save_LIBS=$LIBS
19017 LIBS="-lm  $LIBS"
19018 if test x$gcc_no_link = xyes; then
19019   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19020 fi
19021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h.  */
19023
19024 /* Override any GCC internal prototype to avoid an error.
19025    Use char because int might match the return type of a GCC
19026    builtin and then its argument prototype would still apply.  */
19027 #ifdef __cplusplus
19028 extern "C"
19029 #endif
19030 char floor ();
19031 int
19032 main ()
19033 {
19034 return floor ();
19035   ;
19036   return 0;
19037 }
19038 _ACEOF
19039 if ac_fn_c_try_link "$LINENO"; then :
19040   ac_cv_lib_m_floor=yes
19041 else
19042   ac_cv_lib_m_floor=no
19043 fi
19044 rm -f core conftest.err conftest.$ac_objext \
19045     conftest$ac_exeext conftest.$ac_ext
19046 LIBS=$ac_check_lib_save_LIBS
19047 fi
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floor" >&5
19049 $as_echo "$ac_cv_lib_m_floor" >&6; }
19050 if test "x$ac_cv_lib_m_floor" = x""yes; then :
19051
19052 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
19053
19054 fi
19055
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl in -lm" >&5
19057 $as_echo_n "checking for floorl in -lm... " >&6; }
19058 if test "${ac_cv_lib_m_floorl+set}" = set; then :
19059   $as_echo_n "(cached) " >&6
19060 else
19061   ac_check_lib_save_LIBS=$LIBS
19062 LIBS="-lm  $LIBS"
19063 if test x$gcc_no_link = xyes; then
19064   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19065 fi
19066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19067 /* end confdefs.h.  */
19068
19069 /* Override any GCC internal prototype to avoid an error.
19070    Use char because int might match the return type of a GCC
19071    builtin and then its argument prototype would still apply.  */
19072 #ifdef __cplusplus
19073 extern "C"
19074 #endif
19075 char floorl ();
19076 int
19077 main ()
19078 {
19079 return floorl ();
19080   ;
19081   return 0;
19082 }
19083 _ACEOF
19084 if ac_fn_c_try_link "$LINENO"; then :
19085   ac_cv_lib_m_floorl=yes
19086 else
19087   ac_cv_lib_m_floorl=no
19088 fi
19089 rm -f core conftest.err conftest.$ac_objext \
19090     conftest$ac_exeext conftest.$ac_ext
19091 LIBS=$ac_check_lib_save_LIBS
19092 fi
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_floorl" >&5
19094 $as_echo "$ac_cv_lib_m_floorl" >&6; }
19095 if test "x$ac_cv_lib_m_floorl" = x""yes; then :
19096
19097 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
19098
19099 fi
19100
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf in -lm" >&5
19102 $as_echo_n "checking for fmodf in -lm... " >&6; }
19103 if test "${ac_cv_lib_m_fmodf+set}" = set; then :
19104   $as_echo_n "(cached) " >&6
19105 else
19106   ac_check_lib_save_LIBS=$LIBS
19107 LIBS="-lm  $LIBS"
19108 if test x$gcc_no_link = xyes; then
19109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19110 fi
19111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19112 /* end confdefs.h.  */
19113
19114 /* Override any GCC internal prototype to avoid an error.
19115    Use char because int might match the return type of a GCC
19116    builtin and then its argument prototype would still apply.  */
19117 #ifdef __cplusplus
19118 extern "C"
19119 #endif
19120 char fmodf ();
19121 int
19122 main ()
19123 {
19124 return fmodf ();
19125   ;
19126   return 0;
19127 }
19128 _ACEOF
19129 if ac_fn_c_try_link "$LINENO"; then :
19130   ac_cv_lib_m_fmodf=yes
19131 else
19132   ac_cv_lib_m_fmodf=no
19133 fi
19134 rm -f core conftest.err conftest.$ac_objext \
19135     conftest$ac_exeext conftest.$ac_ext
19136 LIBS=$ac_check_lib_save_LIBS
19137 fi
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodf" >&5
19139 $as_echo "$ac_cv_lib_m_fmodf" >&6; }
19140 if test "x$ac_cv_lib_m_fmodf" = x""yes; then :
19141
19142 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
19143
19144 fi
19145
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod in -lm" >&5
19147 $as_echo_n "checking for fmod in -lm... " >&6; }
19148 if test "${ac_cv_lib_m_fmod+set}" = set; then :
19149   $as_echo_n "(cached) " >&6
19150 else
19151   ac_check_lib_save_LIBS=$LIBS
19152 LIBS="-lm  $LIBS"
19153 if test x$gcc_no_link = xyes; then
19154   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19155 fi
19156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19157 /* end confdefs.h.  */
19158
19159 /* Override any GCC internal prototype to avoid an error.
19160    Use char because int might match the return type of a GCC
19161    builtin and then its argument prototype would still apply.  */
19162 #ifdef __cplusplus
19163 extern "C"
19164 #endif
19165 char fmod ();
19166 int
19167 main ()
19168 {
19169 return fmod ();
19170   ;
19171   return 0;
19172 }
19173 _ACEOF
19174 if ac_fn_c_try_link "$LINENO"; then :
19175   ac_cv_lib_m_fmod=yes
19176 else
19177   ac_cv_lib_m_fmod=no
19178 fi
19179 rm -f core conftest.err conftest.$ac_objext \
19180     conftest$ac_exeext conftest.$ac_ext
19181 LIBS=$ac_check_lib_save_LIBS
19182 fi
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmod" >&5
19184 $as_echo "$ac_cv_lib_m_fmod" >&6; }
19185 if test "x$ac_cv_lib_m_fmod" = x""yes; then :
19186
19187 $as_echo "#define HAVE_FMOD 1" >>confdefs.h
19188
19189 fi
19190
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl in -lm" >&5
19192 $as_echo_n "checking for fmodl in -lm... " >&6; }
19193 if test "${ac_cv_lib_m_fmodl+set}" = set; then :
19194   $as_echo_n "(cached) " >&6
19195 else
19196   ac_check_lib_save_LIBS=$LIBS
19197 LIBS="-lm  $LIBS"
19198 if test x$gcc_no_link = xyes; then
19199   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19200 fi
19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19202 /* end confdefs.h.  */
19203
19204 /* Override any GCC internal prototype to avoid an error.
19205    Use char because int might match the return type of a GCC
19206    builtin and then its argument prototype would still apply.  */
19207 #ifdef __cplusplus
19208 extern "C"
19209 #endif
19210 char fmodl ();
19211 int
19212 main ()
19213 {
19214 return fmodl ();
19215   ;
19216   return 0;
19217 }
19218 _ACEOF
19219 if ac_fn_c_try_link "$LINENO"; then :
19220   ac_cv_lib_m_fmodl=yes
19221 else
19222   ac_cv_lib_m_fmodl=no
19223 fi
19224 rm -f core conftest.err conftest.$ac_objext \
19225     conftest$ac_exeext conftest.$ac_ext
19226 LIBS=$ac_check_lib_save_LIBS
19227 fi
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_fmodl" >&5
19229 $as_echo "$ac_cv_lib_m_fmodl" >&6; }
19230 if test "x$ac_cv_lib_m_fmodl" = x""yes; then :
19231
19232 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
19233
19234 fi
19235
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf in -lm" >&5
19237 $as_echo_n "checking for frexpf in -lm... " >&6; }
19238 if test "${ac_cv_lib_m_frexpf+set}" = set; then :
19239   $as_echo_n "(cached) " >&6
19240 else
19241   ac_check_lib_save_LIBS=$LIBS
19242 LIBS="-lm  $LIBS"
19243 if test x$gcc_no_link = xyes; then
19244   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19245 fi
19246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19247 /* end confdefs.h.  */
19248
19249 /* Override any GCC internal prototype to avoid an error.
19250    Use char because int might match the return type of a GCC
19251    builtin and then its argument prototype would still apply.  */
19252 #ifdef __cplusplus
19253 extern "C"
19254 #endif
19255 char frexpf ();
19256 int
19257 main ()
19258 {
19259 return frexpf ();
19260   ;
19261   return 0;
19262 }
19263 _ACEOF
19264 if ac_fn_c_try_link "$LINENO"; then :
19265   ac_cv_lib_m_frexpf=yes
19266 else
19267   ac_cv_lib_m_frexpf=no
19268 fi
19269 rm -f core conftest.err conftest.$ac_objext \
19270     conftest$ac_exeext conftest.$ac_ext
19271 LIBS=$ac_check_lib_save_LIBS
19272 fi
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpf" >&5
19274 $as_echo "$ac_cv_lib_m_frexpf" >&6; }
19275 if test "x$ac_cv_lib_m_frexpf" = x""yes; then :
19276
19277 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
19278
19279 fi
19280
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp in -lm" >&5
19282 $as_echo_n "checking for frexp in -lm... " >&6; }
19283 if test "${ac_cv_lib_m_frexp+set}" = set; then :
19284   $as_echo_n "(cached) " >&6
19285 else
19286   ac_check_lib_save_LIBS=$LIBS
19287 LIBS="-lm  $LIBS"
19288 if test x$gcc_no_link = xyes; then
19289   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19290 fi
19291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19292 /* end confdefs.h.  */
19293
19294 /* Override any GCC internal prototype to avoid an error.
19295    Use char because int might match the return type of a GCC
19296    builtin and then its argument prototype would still apply.  */
19297 #ifdef __cplusplus
19298 extern "C"
19299 #endif
19300 char frexp ();
19301 int
19302 main ()
19303 {
19304 return frexp ();
19305   ;
19306   return 0;
19307 }
19308 _ACEOF
19309 if ac_fn_c_try_link "$LINENO"; then :
19310   ac_cv_lib_m_frexp=yes
19311 else
19312   ac_cv_lib_m_frexp=no
19313 fi
19314 rm -f core conftest.err conftest.$ac_objext \
19315     conftest$ac_exeext conftest.$ac_ext
19316 LIBS=$ac_check_lib_save_LIBS
19317 fi
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexp" >&5
19319 $as_echo "$ac_cv_lib_m_frexp" >&6; }
19320 if test "x$ac_cv_lib_m_frexp" = x""yes; then :
19321
19322 $as_echo "#define HAVE_FREXP 1" >>confdefs.h
19323
19324 fi
19325
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl in -lm" >&5
19327 $as_echo_n "checking for frexpl in -lm... " >&6; }
19328 if test "${ac_cv_lib_m_frexpl+set}" = set; then :
19329   $as_echo_n "(cached) " >&6
19330 else
19331   ac_check_lib_save_LIBS=$LIBS
19332 LIBS="-lm  $LIBS"
19333 if test x$gcc_no_link = xyes; then
19334   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19335 fi
19336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19337 /* end confdefs.h.  */
19338
19339 /* Override any GCC internal prototype to avoid an error.
19340    Use char because int might match the return type of a GCC
19341    builtin and then its argument prototype would still apply.  */
19342 #ifdef __cplusplus
19343 extern "C"
19344 #endif
19345 char frexpl ();
19346 int
19347 main ()
19348 {
19349 return frexpl ();
19350   ;
19351   return 0;
19352 }
19353 _ACEOF
19354 if ac_fn_c_try_link "$LINENO"; then :
19355   ac_cv_lib_m_frexpl=yes
19356 else
19357   ac_cv_lib_m_frexpl=no
19358 fi
19359 rm -f core conftest.err conftest.$ac_objext \
19360     conftest$ac_exeext conftest.$ac_ext
19361 LIBS=$ac_check_lib_save_LIBS
19362 fi
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_frexpl" >&5
19364 $as_echo "$ac_cv_lib_m_frexpl" >&6; }
19365 if test "x$ac_cv_lib_m_frexpl" = x""yes; then :
19366
19367 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
19368
19369 fi
19370
19371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf in -lm" >&5
19372 $as_echo_n "checking for hypotf in -lm... " >&6; }
19373 if test "${ac_cv_lib_m_hypotf+set}" = set; then :
19374   $as_echo_n "(cached) " >&6
19375 else
19376   ac_check_lib_save_LIBS=$LIBS
19377 LIBS="-lm  $LIBS"
19378 if test x$gcc_no_link = xyes; then
19379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19380 fi
19381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19382 /* end confdefs.h.  */
19383
19384 /* Override any GCC internal prototype to avoid an error.
19385    Use char because int might match the return type of a GCC
19386    builtin and then its argument prototype would still apply.  */
19387 #ifdef __cplusplus
19388 extern "C"
19389 #endif
19390 char hypotf ();
19391 int
19392 main ()
19393 {
19394 return hypotf ();
19395   ;
19396   return 0;
19397 }
19398 _ACEOF
19399 if ac_fn_c_try_link "$LINENO"; then :
19400   ac_cv_lib_m_hypotf=yes
19401 else
19402   ac_cv_lib_m_hypotf=no
19403 fi
19404 rm -f core conftest.err conftest.$ac_objext \
19405     conftest$ac_exeext conftest.$ac_ext
19406 LIBS=$ac_check_lib_save_LIBS
19407 fi
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotf" >&5
19409 $as_echo "$ac_cv_lib_m_hypotf" >&6; }
19410 if test "x$ac_cv_lib_m_hypotf" = x""yes; then :
19411
19412 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
19413
19414 fi
19415
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot in -lm" >&5
19417 $as_echo_n "checking for hypot in -lm... " >&6; }
19418 if test "${ac_cv_lib_m_hypot+set}" = set; then :
19419   $as_echo_n "(cached) " >&6
19420 else
19421   ac_check_lib_save_LIBS=$LIBS
19422 LIBS="-lm  $LIBS"
19423 if test x$gcc_no_link = xyes; then
19424   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19425 fi
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h.  */
19428
19429 /* Override any GCC internal prototype to avoid an error.
19430    Use char because int might match the return type of a GCC
19431    builtin and then its argument prototype would still apply.  */
19432 #ifdef __cplusplus
19433 extern "C"
19434 #endif
19435 char hypot ();
19436 int
19437 main ()
19438 {
19439 return hypot ();
19440   ;
19441   return 0;
19442 }
19443 _ACEOF
19444 if ac_fn_c_try_link "$LINENO"; then :
19445   ac_cv_lib_m_hypot=yes
19446 else
19447   ac_cv_lib_m_hypot=no
19448 fi
19449 rm -f core conftest.err conftest.$ac_objext \
19450     conftest$ac_exeext conftest.$ac_ext
19451 LIBS=$ac_check_lib_save_LIBS
19452 fi
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypot" >&5
19454 $as_echo "$ac_cv_lib_m_hypot" >&6; }
19455 if test "x$ac_cv_lib_m_hypot" = x""yes; then :
19456
19457 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
19458
19459 fi
19460
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl in -lm" >&5
19462 $as_echo_n "checking for hypotl in -lm... " >&6; }
19463 if test "${ac_cv_lib_m_hypotl+set}" = set; then :
19464   $as_echo_n "(cached) " >&6
19465 else
19466   ac_check_lib_save_LIBS=$LIBS
19467 LIBS="-lm  $LIBS"
19468 if test x$gcc_no_link = xyes; then
19469   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19470 fi
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h.  */
19473
19474 /* Override any GCC internal prototype to avoid an error.
19475    Use char because int might match the return type of a GCC
19476    builtin and then its argument prototype would still apply.  */
19477 #ifdef __cplusplus
19478 extern "C"
19479 #endif
19480 char hypotl ();
19481 int
19482 main ()
19483 {
19484 return hypotl ();
19485   ;
19486   return 0;
19487 }
19488 _ACEOF
19489 if ac_fn_c_try_link "$LINENO"; then :
19490   ac_cv_lib_m_hypotl=yes
19491 else
19492   ac_cv_lib_m_hypotl=no
19493 fi
19494 rm -f core conftest.err conftest.$ac_objext \
19495     conftest$ac_exeext conftest.$ac_ext
19496 LIBS=$ac_check_lib_save_LIBS
19497 fi
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_hypotl" >&5
19499 $as_echo "$ac_cv_lib_m_hypotl" >&6; }
19500 if test "x$ac_cv_lib_m_hypotl" = x""yes; then :
19501
19502 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
19503
19504 fi
19505
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf in -lm" >&5
19507 $as_echo_n "checking for ldexpf in -lm... " >&6; }
19508 if test "${ac_cv_lib_m_ldexpf+set}" = set; then :
19509   $as_echo_n "(cached) " >&6
19510 else
19511   ac_check_lib_save_LIBS=$LIBS
19512 LIBS="-lm  $LIBS"
19513 if test x$gcc_no_link = xyes; then
19514   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19515 fi
19516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19517 /* end confdefs.h.  */
19518
19519 /* Override any GCC internal prototype to avoid an error.
19520    Use char because int might match the return type of a GCC
19521    builtin and then its argument prototype would still apply.  */
19522 #ifdef __cplusplus
19523 extern "C"
19524 #endif
19525 char ldexpf ();
19526 int
19527 main ()
19528 {
19529 return ldexpf ();
19530   ;
19531   return 0;
19532 }
19533 _ACEOF
19534 if ac_fn_c_try_link "$LINENO"; then :
19535   ac_cv_lib_m_ldexpf=yes
19536 else
19537   ac_cv_lib_m_ldexpf=no
19538 fi
19539 rm -f core conftest.err conftest.$ac_objext \
19540     conftest$ac_exeext conftest.$ac_ext
19541 LIBS=$ac_check_lib_save_LIBS
19542 fi
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpf" >&5
19544 $as_echo "$ac_cv_lib_m_ldexpf" >&6; }
19545 if test "x$ac_cv_lib_m_ldexpf" = x""yes; then :
19546
19547 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
19548
19549 fi
19550
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp in -lm" >&5
19552 $as_echo_n "checking for ldexp in -lm... " >&6; }
19553 if test "${ac_cv_lib_m_ldexp+set}" = set; then :
19554   $as_echo_n "(cached) " >&6
19555 else
19556   ac_check_lib_save_LIBS=$LIBS
19557 LIBS="-lm  $LIBS"
19558 if test x$gcc_no_link = xyes; then
19559   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19560 fi
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h.  */
19563
19564 /* Override any GCC internal prototype to avoid an error.
19565    Use char because int might match the return type of a GCC
19566    builtin and then its argument prototype would still apply.  */
19567 #ifdef __cplusplus
19568 extern "C"
19569 #endif
19570 char ldexp ();
19571 int
19572 main ()
19573 {
19574 return ldexp ();
19575   ;
19576   return 0;
19577 }
19578 _ACEOF
19579 if ac_fn_c_try_link "$LINENO"; then :
19580   ac_cv_lib_m_ldexp=yes
19581 else
19582   ac_cv_lib_m_ldexp=no
19583 fi
19584 rm -f core conftest.err conftest.$ac_objext \
19585     conftest$ac_exeext conftest.$ac_ext
19586 LIBS=$ac_check_lib_save_LIBS
19587 fi
19588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexp" >&5
19589 $as_echo "$ac_cv_lib_m_ldexp" >&6; }
19590 if test "x$ac_cv_lib_m_ldexp" = x""yes; then :
19591
19592 $as_echo "#define HAVE_LDEXP 1" >>confdefs.h
19593
19594 fi
19595
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl in -lm" >&5
19597 $as_echo_n "checking for ldexpl in -lm... " >&6; }
19598 if test "${ac_cv_lib_m_ldexpl+set}" = set; then :
19599   $as_echo_n "(cached) " >&6
19600 else
19601   ac_check_lib_save_LIBS=$LIBS
19602 LIBS="-lm  $LIBS"
19603 if test x$gcc_no_link = xyes; then
19604   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19605 fi
19606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19607 /* end confdefs.h.  */
19608
19609 /* Override any GCC internal prototype to avoid an error.
19610    Use char because int might match the return type of a GCC
19611    builtin and then its argument prototype would still apply.  */
19612 #ifdef __cplusplus
19613 extern "C"
19614 #endif
19615 char ldexpl ();
19616 int
19617 main ()
19618 {
19619 return ldexpl ();
19620   ;
19621   return 0;
19622 }
19623 _ACEOF
19624 if ac_fn_c_try_link "$LINENO"; then :
19625   ac_cv_lib_m_ldexpl=yes
19626 else
19627   ac_cv_lib_m_ldexpl=no
19628 fi
19629 rm -f core conftest.err conftest.$ac_objext \
19630     conftest$ac_exeext conftest.$ac_ext
19631 LIBS=$ac_check_lib_save_LIBS
19632 fi
19633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ldexpl" >&5
19634 $as_echo "$ac_cv_lib_m_ldexpl" >&6; }
19635 if test "x$ac_cv_lib_m_ldexpl" = x""yes; then :
19636
19637 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
19638
19639 fi
19640
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf in -lm" >&5
19642 $as_echo_n "checking for logf in -lm... " >&6; }
19643 if test "${ac_cv_lib_m_logf+set}" = set; then :
19644   $as_echo_n "(cached) " >&6
19645 else
19646   ac_check_lib_save_LIBS=$LIBS
19647 LIBS="-lm  $LIBS"
19648 if test x$gcc_no_link = xyes; then
19649   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19650 fi
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h.  */
19653
19654 /* Override any GCC internal prototype to avoid an error.
19655    Use char because int might match the return type of a GCC
19656    builtin and then its argument prototype would still apply.  */
19657 #ifdef __cplusplus
19658 extern "C"
19659 #endif
19660 char logf ();
19661 int
19662 main ()
19663 {
19664 return logf ();
19665   ;
19666   return 0;
19667 }
19668 _ACEOF
19669 if ac_fn_c_try_link "$LINENO"; then :
19670   ac_cv_lib_m_logf=yes
19671 else
19672   ac_cv_lib_m_logf=no
19673 fi
19674 rm -f core conftest.err conftest.$ac_objext \
19675     conftest$ac_exeext conftest.$ac_ext
19676 LIBS=$ac_check_lib_save_LIBS
19677 fi
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logf" >&5
19679 $as_echo "$ac_cv_lib_m_logf" >&6; }
19680 if test "x$ac_cv_lib_m_logf" = x""yes; then :
19681
19682 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
19683
19684 fi
19685
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log in -lm" >&5
19687 $as_echo_n "checking for log in -lm... " >&6; }
19688 if test "${ac_cv_lib_m_log+set}" = set; then :
19689   $as_echo_n "(cached) " >&6
19690 else
19691   ac_check_lib_save_LIBS=$LIBS
19692 LIBS="-lm  $LIBS"
19693 if test x$gcc_no_link = xyes; then
19694   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19695 fi
19696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19697 /* end confdefs.h.  */
19698
19699 /* Override any GCC internal prototype to avoid an error.
19700    Use char because int might match the return type of a GCC
19701    builtin and then its argument prototype would still apply.  */
19702 #ifdef __cplusplus
19703 extern "C"
19704 #endif
19705 char log ();
19706 int
19707 main ()
19708 {
19709 return log ();
19710   ;
19711   return 0;
19712 }
19713 _ACEOF
19714 if ac_fn_c_try_link "$LINENO"; then :
19715   ac_cv_lib_m_log=yes
19716 else
19717   ac_cv_lib_m_log=no
19718 fi
19719 rm -f core conftest.err conftest.$ac_objext \
19720     conftest$ac_exeext conftest.$ac_ext
19721 LIBS=$ac_check_lib_save_LIBS
19722 fi
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log" >&5
19724 $as_echo "$ac_cv_lib_m_log" >&6; }
19725 if test "x$ac_cv_lib_m_log" = x""yes; then :
19726
19727 $as_echo "#define HAVE_LOG 1" >>confdefs.h
19728
19729 fi
19730
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl in -lm" >&5
19732 $as_echo_n "checking for logl in -lm... " >&6; }
19733 if test "${ac_cv_lib_m_logl+set}" = set; then :
19734   $as_echo_n "(cached) " >&6
19735 else
19736   ac_check_lib_save_LIBS=$LIBS
19737 LIBS="-lm  $LIBS"
19738 if test x$gcc_no_link = xyes; then
19739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19740 fi
19741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19742 /* end confdefs.h.  */
19743
19744 /* Override any GCC internal prototype to avoid an error.
19745    Use char because int might match the return type of a GCC
19746    builtin and then its argument prototype would still apply.  */
19747 #ifdef __cplusplus
19748 extern "C"
19749 #endif
19750 char logl ();
19751 int
19752 main ()
19753 {
19754 return logl ();
19755   ;
19756   return 0;
19757 }
19758 _ACEOF
19759 if ac_fn_c_try_link "$LINENO"; then :
19760   ac_cv_lib_m_logl=yes
19761 else
19762   ac_cv_lib_m_logl=no
19763 fi
19764 rm -f core conftest.err conftest.$ac_objext \
19765     conftest$ac_exeext conftest.$ac_ext
19766 LIBS=$ac_check_lib_save_LIBS
19767 fi
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_logl" >&5
19769 $as_echo "$ac_cv_lib_m_logl" >&6; }
19770 if test "x$ac_cv_lib_m_logl" = x""yes; then :
19771
19772 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
19773
19774 fi
19775
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf in -lm" >&5
19777 $as_echo_n "checking for clogf in -lm... " >&6; }
19778 if test "${ac_cv_lib_m_clogf+set}" = set; then :
19779   $as_echo_n "(cached) " >&6
19780 else
19781   ac_check_lib_save_LIBS=$LIBS
19782 LIBS="-lm  $LIBS"
19783 if test x$gcc_no_link = xyes; then
19784   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19785 fi
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h.  */
19788
19789 /* Override any GCC internal prototype to avoid an error.
19790    Use char because int might match the return type of a GCC
19791    builtin and then its argument prototype would still apply.  */
19792 #ifdef __cplusplus
19793 extern "C"
19794 #endif
19795 char clogf ();
19796 int
19797 main ()
19798 {
19799 return clogf ();
19800   ;
19801   return 0;
19802 }
19803 _ACEOF
19804 if ac_fn_c_try_link "$LINENO"; then :
19805   ac_cv_lib_m_clogf=yes
19806 else
19807   ac_cv_lib_m_clogf=no
19808 fi
19809 rm -f core conftest.err conftest.$ac_objext \
19810     conftest$ac_exeext conftest.$ac_ext
19811 LIBS=$ac_check_lib_save_LIBS
19812 fi
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogf" >&5
19814 $as_echo "$ac_cv_lib_m_clogf" >&6; }
19815 if test "x$ac_cv_lib_m_clogf" = x""yes; then :
19816
19817 $as_echo "#define HAVE_CLOGF 1" >>confdefs.h
19818
19819 fi
19820
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog in -lm" >&5
19822 $as_echo_n "checking for clog in -lm... " >&6; }
19823 if test "${ac_cv_lib_m_clog+set}" = set; then :
19824   $as_echo_n "(cached) " >&6
19825 else
19826   ac_check_lib_save_LIBS=$LIBS
19827 LIBS="-lm  $LIBS"
19828 if test x$gcc_no_link = xyes; then
19829   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19830 fi
19831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19832 /* end confdefs.h.  */
19833
19834 /* Override any GCC internal prototype to avoid an error.
19835    Use char because int might match the return type of a GCC
19836    builtin and then its argument prototype would still apply.  */
19837 #ifdef __cplusplus
19838 extern "C"
19839 #endif
19840 char clog ();
19841 int
19842 main ()
19843 {
19844 return clog ();
19845   ;
19846   return 0;
19847 }
19848 _ACEOF
19849 if ac_fn_c_try_link "$LINENO"; then :
19850   ac_cv_lib_m_clog=yes
19851 else
19852   ac_cv_lib_m_clog=no
19853 fi
19854 rm -f core conftest.err conftest.$ac_objext \
19855     conftest$ac_exeext conftest.$ac_ext
19856 LIBS=$ac_check_lib_save_LIBS
19857 fi
19858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog" >&5
19859 $as_echo "$ac_cv_lib_m_clog" >&6; }
19860 if test "x$ac_cv_lib_m_clog" = x""yes; then :
19861
19862 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
19863
19864 fi
19865
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl in -lm" >&5
19867 $as_echo_n "checking for clogl in -lm... " >&6; }
19868 if test "${ac_cv_lib_m_clogl+set}" = set; then :
19869   $as_echo_n "(cached) " >&6
19870 else
19871   ac_check_lib_save_LIBS=$LIBS
19872 LIBS="-lm  $LIBS"
19873 if test x$gcc_no_link = xyes; then
19874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19875 fi
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h.  */
19878
19879 /* Override any GCC internal prototype to avoid an error.
19880    Use char because int might match the return type of a GCC
19881    builtin and then its argument prototype would still apply.  */
19882 #ifdef __cplusplus
19883 extern "C"
19884 #endif
19885 char clogl ();
19886 int
19887 main ()
19888 {
19889 return clogl ();
19890   ;
19891   return 0;
19892 }
19893 _ACEOF
19894 if ac_fn_c_try_link "$LINENO"; then :
19895   ac_cv_lib_m_clogl=yes
19896 else
19897   ac_cv_lib_m_clogl=no
19898 fi
19899 rm -f core conftest.err conftest.$ac_objext \
19900     conftest$ac_exeext conftest.$ac_ext
19901 LIBS=$ac_check_lib_save_LIBS
19902 fi
19903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clogl" >&5
19904 $as_echo "$ac_cv_lib_m_clogl" >&6; }
19905 if test "x$ac_cv_lib_m_clogl" = x""yes; then :
19906
19907 $as_echo "#define HAVE_CLOGL 1" >>confdefs.h
19908
19909 fi
19910
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f in -lm" >&5
19912 $as_echo_n "checking for log10f in -lm... " >&6; }
19913 if test "${ac_cv_lib_m_log10f+set}" = set; then :
19914   $as_echo_n "(cached) " >&6
19915 else
19916   ac_check_lib_save_LIBS=$LIBS
19917 LIBS="-lm  $LIBS"
19918 if test x$gcc_no_link = xyes; then
19919   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19920 fi
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h.  */
19923
19924 /* Override any GCC internal prototype to avoid an error.
19925    Use char because int might match the return type of a GCC
19926    builtin and then its argument prototype would still apply.  */
19927 #ifdef __cplusplus
19928 extern "C"
19929 #endif
19930 char log10f ();
19931 int
19932 main ()
19933 {
19934 return log10f ();
19935   ;
19936   return 0;
19937 }
19938 _ACEOF
19939 if ac_fn_c_try_link "$LINENO"; then :
19940   ac_cv_lib_m_log10f=yes
19941 else
19942   ac_cv_lib_m_log10f=no
19943 fi
19944 rm -f core conftest.err conftest.$ac_objext \
19945     conftest$ac_exeext conftest.$ac_ext
19946 LIBS=$ac_check_lib_save_LIBS
19947 fi
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10f" >&5
19949 $as_echo "$ac_cv_lib_m_log10f" >&6; }
19950 if test "x$ac_cv_lib_m_log10f" = x""yes; then :
19951
19952 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
19953
19954 fi
19955
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10 in -lm" >&5
19957 $as_echo_n "checking for log10 in -lm... " >&6; }
19958 if test "${ac_cv_lib_m_log10+set}" = set; then :
19959   $as_echo_n "(cached) " >&6
19960 else
19961   ac_check_lib_save_LIBS=$LIBS
19962 LIBS="-lm  $LIBS"
19963 if test x$gcc_no_link = xyes; then
19964   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19965 fi
19966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19967 /* end confdefs.h.  */
19968
19969 /* Override any GCC internal prototype to avoid an error.
19970    Use char because int might match the return type of a GCC
19971    builtin and then its argument prototype would still apply.  */
19972 #ifdef __cplusplus
19973 extern "C"
19974 #endif
19975 char log10 ();
19976 int
19977 main ()
19978 {
19979 return log10 ();
19980   ;
19981   return 0;
19982 }
19983 _ACEOF
19984 if ac_fn_c_try_link "$LINENO"; then :
19985   ac_cv_lib_m_log10=yes
19986 else
19987   ac_cv_lib_m_log10=no
19988 fi
19989 rm -f core conftest.err conftest.$ac_objext \
19990     conftest$ac_exeext conftest.$ac_ext
19991 LIBS=$ac_check_lib_save_LIBS
19992 fi
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10" >&5
19994 $as_echo "$ac_cv_lib_m_log10" >&6; }
19995 if test "x$ac_cv_lib_m_log10" = x""yes; then :
19996
19997 $as_echo "#define HAVE_LOG10 1" >>confdefs.h
19998
19999 fi
20000
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l in -lm" >&5
20002 $as_echo_n "checking for log10l in -lm... " >&6; }
20003 if test "${ac_cv_lib_m_log10l+set}" = set; then :
20004   $as_echo_n "(cached) " >&6
20005 else
20006   ac_check_lib_save_LIBS=$LIBS
20007 LIBS="-lm  $LIBS"
20008 if test x$gcc_no_link = xyes; then
20009   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20010 fi
20011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20012 /* end confdefs.h.  */
20013
20014 /* Override any GCC internal prototype to avoid an error.
20015    Use char because int might match the return type of a GCC
20016    builtin and then its argument prototype would still apply.  */
20017 #ifdef __cplusplus
20018 extern "C"
20019 #endif
20020 char log10l ();
20021 int
20022 main ()
20023 {
20024 return log10l ();
20025   ;
20026   return 0;
20027 }
20028 _ACEOF
20029 if ac_fn_c_try_link "$LINENO"; then :
20030   ac_cv_lib_m_log10l=yes
20031 else
20032   ac_cv_lib_m_log10l=no
20033 fi
20034 rm -f core conftest.err conftest.$ac_objext \
20035     conftest$ac_exeext conftest.$ac_ext
20036 LIBS=$ac_check_lib_save_LIBS
20037 fi
20038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_log10l" >&5
20039 $as_echo "$ac_cv_lib_m_log10l" >&6; }
20040 if test "x$ac_cv_lib_m_log10l" = x""yes; then :
20041
20042 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
20043
20044 fi
20045
20046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f in -lm" >&5
20047 $as_echo_n "checking for clog10f in -lm... " >&6; }
20048 if test "${ac_cv_lib_m_clog10f+set}" = set; then :
20049   $as_echo_n "(cached) " >&6
20050 else
20051   ac_check_lib_save_LIBS=$LIBS
20052 LIBS="-lm  $LIBS"
20053 if test x$gcc_no_link = xyes; then
20054   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20055 fi
20056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h.  */
20058
20059 /* Override any GCC internal prototype to avoid an error.
20060    Use char because int might match the return type of a GCC
20061    builtin and then its argument prototype would still apply.  */
20062 #ifdef __cplusplus
20063 extern "C"
20064 #endif
20065 char clog10f ();
20066 int
20067 main ()
20068 {
20069 return clog10f ();
20070   ;
20071   return 0;
20072 }
20073 _ACEOF
20074 if ac_fn_c_try_link "$LINENO"; then :
20075   ac_cv_lib_m_clog10f=yes
20076 else
20077   ac_cv_lib_m_clog10f=no
20078 fi
20079 rm -f core conftest.err conftest.$ac_objext \
20080     conftest$ac_exeext conftest.$ac_ext
20081 LIBS=$ac_check_lib_save_LIBS
20082 fi
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10f" >&5
20084 $as_echo "$ac_cv_lib_m_clog10f" >&6; }
20085 if test "x$ac_cv_lib_m_clog10f" = x""yes; then :
20086
20087 $as_echo "#define HAVE_CLOG10F 1" >>confdefs.h
20088
20089 fi
20090
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10 in -lm" >&5
20092 $as_echo_n "checking for clog10 in -lm... " >&6; }
20093 if test "${ac_cv_lib_m_clog10+set}" = set; then :
20094   $as_echo_n "(cached) " >&6
20095 else
20096   ac_check_lib_save_LIBS=$LIBS
20097 LIBS="-lm  $LIBS"
20098 if test x$gcc_no_link = xyes; then
20099   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20100 fi
20101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h.  */
20103
20104 /* Override any GCC internal prototype to avoid an error.
20105    Use char because int might match the return type of a GCC
20106    builtin and then its argument prototype would still apply.  */
20107 #ifdef __cplusplus
20108 extern "C"
20109 #endif
20110 char clog10 ();
20111 int
20112 main ()
20113 {
20114 return clog10 ();
20115   ;
20116   return 0;
20117 }
20118 _ACEOF
20119 if ac_fn_c_try_link "$LINENO"; then :
20120   ac_cv_lib_m_clog10=yes
20121 else
20122   ac_cv_lib_m_clog10=no
20123 fi
20124 rm -f core conftest.err conftest.$ac_objext \
20125     conftest$ac_exeext conftest.$ac_ext
20126 LIBS=$ac_check_lib_save_LIBS
20127 fi
20128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10" >&5
20129 $as_echo "$ac_cv_lib_m_clog10" >&6; }
20130 if test "x$ac_cv_lib_m_clog10" = x""yes; then :
20131
20132 $as_echo "#define HAVE_CLOG10 1" >>confdefs.h
20133
20134 fi
20135
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l in -lm" >&5
20137 $as_echo_n "checking for clog10l in -lm... " >&6; }
20138 if test "${ac_cv_lib_m_clog10l+set}" = set; then :
20139   $as_echo_n "(cached) " >&6
20140 else
20141   ac_check_lib_save_LIBS=$LIBS
20142 LIBS="-lm  $LIBS"
20143 if test x$gcc_no_link = xyes; then
20144   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20145 fi
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h.  */
20148
20149 /* Override any GCC internal prototype to avoid an error.
20150    Use char because int might match the return type of a GCC
20151    builtin and then its argument prototype would still apply.  */
20152 #ifdef __cplusplus
20153 extern "C"
20154 #endif
20155 char clog10l ();
20156 int
20157 main ()
20158 {
20159 return clog10l ();
20160   ;
20161   return 0;
20162 }
20163 _ACEOF
20164 if ac_fn_c_try_link "$LINENO"; then :
20165   ac_cv_lib_m_clog10l=yes
20166 else
20167   ac_cv_lib_m_clog10l=no
20168 fi
20169 rm -f core conftest.err conftest.$ac_objext \
20170     conftest$ac_exeext conftest.$ac_ext
20171 LIBS=$ac_check_lib_save_LIBS
20172 fi
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_clog10l" >&5
20174 $as_echo "$ac_cv_lib_m_clog10l" >&6; }
20175 if test "x$ac_cv_lib_m_clog10l" = x""yes; then :
20176
20177 $as_echo "#define HAVE_CLOG10L 1" >>confdefs.h
20178
20179 fi
20180
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf in -lm" >&5
20182 $as_echo_n "checking for nextafterf in -lm... " >&6; }
20183 if test "${ac_cv_lib_m_nextafterf+set}" = set; then :
20184   $as_echo_n "(cached) " >&6
20185 else
20186   ac_check_lib_save_LIBS=$LIBS
20187 LIBS="-lm  $LIBS"
20188 if test x$gcc_no_link = xyes; then
20189   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20190 fi
20191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20192 /* end confdefs.h.  */
20193
20194 /* Override any GCC internal prototype to avoid an error.
20195    Use char because int might match the return type of a GCC
20196    builtin and then its argument prototype would still apply.  */
20197 #ifdef __cplusplus
20198 extern "C"
20199 #endif
20200 char nextafterf ();
20201 int
20202 main ()
20203 {
20204 return nextafterf ();
20205   ;
20206   return 0;
20207 }
20208 _ACEOF
20209 if ac_fn_c_try_link "$LINENO"; then :
20210   ac_cv_lib_m_nextafterf=yes
20211 else
20212   ac_cv_lib_m_nextafterf=no
20213 fi
20214 rm -f core conftest.err conftest.$ac_objext \
20215     conftest$ac_exeext conftest.$ac_ext
20216 LIBS=$ac_check_lib_save_LIBS
20217 fi
20218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterf" >&5
20219 $as_echo "$ac_cv_lib_m_nextafterf" >&6; }
20220 if test "x$ac_cv_lib_m_nextafterf" = x""yes; then :
20221
20222 $as_echo "#define HAVE_NEXTAFTERF 1" >>confdefs.h
20223
20224 fi
20225
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter in -lm" >&5
20227 $as_echo_n "checking for nextafter in -lm... " >&6; }
20228 if test "${ac_cv_lib_m_nextafter+set}" = set; then :
20229   $as_echo_n "(cached) " >&6
20230 else
20231   ac_check_lib_save_LIBS=$LIBS
20232 LIBS="-lm  $LIBS"
20233 if test x$gcc_no_link = xyes; then
20234   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20235 fi
20236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20237 /* end confdefs.h.  */
20238
20239 /* Override any GCC internal prototype to avoid an error.
20240    Use char because int might match the return type of a GCC
20241    builtin and then its argument prototype would still apply.  */
20242 #ifdef __cplusplus
20243 extern "C"
20244 #endif
20245 char nextafter ();
20246 int
20247 main ()
20248 {
20249 return nextafter ();
20250   ;
20251   return 0;
20252 }
20253 _ACEOF
20254 if ac_fn_c_try_link "$LINENO"; then :
20255   ac_cv_lib_m_nextafter=yes
20256 else
20257   ac_cv_lib_m_nextafter=no
20258 fi
20259 rm -f core conftest.err conftest.$ac_objext \
20260     conftest$ac_exeext conftest.$ac_ext
20261 LIBS=$ac_check_lib_save_LIBS
20262 fi
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafter" >&5
20264 $as_echo "$ac_cv_lib_m_nextafter" >&6; }
20265 if test "x$ac_cv_lib_m_nextafter" = x""yes; then :
20266
20267 $as_echo "#define HAVE_NEXTAFTER 1" >>confdefs.h
20268
20269 fi
20270
20271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl in -lm" >&5
20272 $as_echo_n "checking for nextafterl in -lm... " >&6; }
20273 if test "${ac_cv_lib_m_nextafterl+set}" = set; then :
20274   $as_echo_n "(cached) " >&6
20275 else
20276   ac_check_lib_save_LIBS=$LIBS
20277 LIBS="-lm  $LIBS"
20278 if test x$gcc_no_link = xyes; then
20279   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20280 fi
20281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282 /* end confdefs.h.  */
20283
20284 /* Override any GCC internal prototype to avoid an error.
20285    Use char because int might match the return type of a GCC
20286    builtin and then its argument prototype would still apply.  */
20287 #ifdef __cplusplus
20288 extern "C"
20289 #endif
20290 char nextafterl ();
20291 int
20292 main ()
20293 {
20294 return nextafterl ();
20295   ;
20296   return 0;
20297 }
20298 _ACEOF
20299 if ac_fn_c_try_link "$LINENO"; then :
20300   ac_cv_lib_m_nextafterl=yes
20301 else
20302   ac_cv_lib_m_nextafterl=no
20303 fi
20304 rm -f core conftest.err conftest.$ac_objext \
20305     conftest$ac_exeext conftest.$ac_ext
20306 LIBS=$ac_check_lib_save_LIBS
20307 fi
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_nextafterl" >&5
20309 $as_echo "$ac_cv_lib_m_nextafterl" >&6; }
20310 if test "x$ac_cv_lib_m_nextafterl" = x""yes; then :
20311
20312 $as_echo "#define HAVE_NEXTAFTERL 1" >>confdefs.h
20313
20314 fi
20315
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf in -lm" >&5
20317 $as_echo_n "checking for powf in -lm... " >&6; }
20318 if test "${ac_cv_lib_m_powf+set}" = set; then :
20319   $as_echo_n "(cached) " >&6
20320 else
20321   ac_check_lib_save_LIBS=$LIBS
20322 LIBS="-lm  $LIBS"
20323 if test x$gcc_no_link = xyes; then
20324   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20325 fi
20326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20327 /* end confdefs.h.  */
20328
20329 /* Override any GCC internal prototype to avoid an error.
20330    Use char because int might match the return type of a GCC
20331    builtin and then its argument prototype would still apply.  */
20332 #ifdef __cplusplus
20333 extern "C"
20334 #endif
20335 char powf ();
20336 int
20337 main ()
20338 {
20339 return powf ();
20340   ;
20341   return 0;
20342 }
20343 _ACEOF
20344 if ac_fn_c_try_link "$LINENO"; then :
20345   ac_cv_lib_m_powf=yes
20346 else
20347   ac_cv_lib_m_powf=no
20348 fi
20349 rm -f core conftest.err conftest.$ac_objext \
20350     conftest$ac_exeext conftest.$ac_ext
20351 LIBS=$ac_check_lib_save_LIBS
20352 fi
20353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powf" >&5
20354 $as_echo "$ac_cv_lib_m_powf" >&6; }
20355 if test "x$ac_cv_lib_m_powf" = x""yes; then :
20356
20357 $as_echo "#define HAVE_POWF 1" >>confdefs.h
20358
20359 fi
20360
20361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
20362 $as_echo_n "checking for pow in -lm... " >&6; }
20363 if test "${ac_cv_lib_m_pow+set}" = set; then :
20364   $as_echo_n "(cached) " >&6
20365 else
20366   ac_check_lib_save_LIBS=$LIBS
20367 LIBS="-lm  $LIBS"
20368 if test x$gcc_no_link = xyes; then
20369   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20370 fi
20371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20372 /* end confdefs.h.  */
20373
20374 /* Override any GCC internal prototype to avoid an error.
20375    Use char because int might match the return type of a GCC
20376    builtin and then its argument prototype would still apply.  */
20377 #ifdef __cplusplus
20378 extern "C"
20379 #endif
20380 char pow ();
20381 int
20382 main ()
20383 {
20384 return pow ();
20385   ;
20386   return 0;
20387 }
20388 _ACEOF
20389 if ac_fn_c_try_link "$LINENO"; then :
20390   ac_cv_lib_m_pow=yes
20391 else
20392   ac_cv_lib_m_pow=no
20393 fi
20394 rm -f core conftest.err conftest.$ac_objext \
20395     conftest$ac_exeext conftest.$ac_ext
20396 LIBS=$ac_check_lib_save_LIBS
20397 fi
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
20399 $as_echo "$ac_cv_lib_m_pow" >&6; }
20400 if test "x$ac_cv_lib_m_pow" = x""yes; then :
20401
20402 $as_echo "#define HAVE_POW 1" >>confdefs.h
20403
20404 fi
20405
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl in -lm" >&5
20407 $as_echo_n "checking for powl in -lm... " >&6; }
20408 if test "${ac_cv_lib_m_powl+set}" = set; then :
20409   $as_echo_n "(cached) " >&6
20410 else
20411   ac_check_lib_save_LIBS=$LIBS
20412 LIBS="-lm  $LIBS"
20413 if test x$gcc_no_link = xyes; then
20414   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20415 fi
20416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20417 /* end confdefs.h.  */
20418
20419 /* Override any GCC internal prototype to avoid an error.
20420    Use char because int might match the return type of a GCC
20421    builtin and then its argument prototype would still apply.  */
20422 #ifdef __cplusplus
20423 extern "C"
20424 #endif
20425 char powl ();
20426 int
20427 main ()
20428 {
20429 return powl ();
20430   ;
20431   return 0;
20432 }
20433 _ACEOF
20434 if ac_fn_c_try_link "$LINENO"; then :
20435   ac_cv_lib_m_powl=yes
20436 else
20437   ac_cv_lib_m_powl=no
20438 fi
20439 rm -f core conftest.err conftest.$ac_objext \
20440     conftest$ac_exeext conftest.$ac_ext
20441 LIBS=$ac_check_lib_save_LIBS
20442 fi
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_powl" >&5
20444 $as_echo "$ac_cv_lib_m_powl" >&6; }
20445 if test "x$ac_cv_lib_m_powl" = x""yes; then :
20446
20447 $as_echo "#define HAVE_POWL 1" >>confdefs.h
20448
20449 fi
20450
20451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf in -lm" >&5
20452 $as_echo_n "checking for cpowf in -lm... " >&6; }
20453 if test "${ac_cv_lib_m_cpowf+set}" = set; then :
20454   $as_echo_n "(cached) " >&6
20455 else
20456   ac_check_lib_save_LIBS=$LIBS
20457 LIBS="-lm  $LIBS"
20458 if test x$gcc_no_link = xyes; then
20459   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20460 fi
20461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20462 /* end confdefs.h.  */
20463
20464 /* Override any GCC internal prototype to avoid an error.
20465    Use char because int might match the return type of a GCC
20466    builtin and then its argument prototype would still apply.  */
20467 #ifdef __cplusplus
20468 extern "C"
20469 #endif
20470 char cpowf ();
20471 int
20472 main ()
20473 {
20474 return cpowf ();
20475   ;
20476   return 0;
20477 }
20478 _ACEOF
20479 if ac_fn_c_try_link "$LINENO"; then :
20480   ac_cv_lib_m_cpowf=yes
20481 else
20482   ac_cv_lib_m_cpowf=no
20483 fi
20484 rm -f core conftest.err conftest.$ac_objext \
20485     conftest$ac_exeext conftest.$ac_ext
20486 LIBS=$ac_check_lib_save_LIBS
20487 fi
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowf" >&5
20489 $as_echo "$ac_cv_lib_m_cpowf" >&6; }
20490 if test "x$ac_cv_lib_m_cpowf" = x""yes; then :
20491
20492 $as_echo "#define HAVE_CPOWF 1" >>confdefs.h
20493
20494 fi
20495
20496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow in -lm" >&5
20497 $as_echo_n "checking for cpow in -lm... " >&6; }
20498 if test "${ac_cv_lib_m_cpow+set}" = set; then :
20499   $as_echo_n "(cached) " >&6
20500 else
20501   ac_check_lib_save_LIBS=$LIBS
20502 LIBS="-lm  $LIBS"
20503 if test x$gcc_no_link = xyes; then
20504   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20505 fi
20506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20507 /* end confdefs.h.  */
20508
20509 /* Override any GCC internal prototype to avoid an error.
20510    Use char because int might match the return type of a GCC
20511    builtin and then its argument prototype would still apply.  */
20512 #ifdef __cplusplus
20513 extern "C"
20514 #endif
20515 char cpow ();
20516 int
20517 main ()
20518 {
20519 return cpow ();
20520   ;
20521   return 0;
20522 }
20523 _ACEOF
20524 if ac_fn_c_try_link "$LINENO"; then :
20525   ac_cv_lib_m_cpow=yes
20526 else
20527   ac_cv_lib_m_cpow=no
20528 fi
20529 rm -f core conftest.err conftest.$ac_objext \
20530     conftest$ac_exeext conftest.$ac_ext
20531 LIBS=$ac_check_lib_save_LIBS
20532 fi
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpow" >&5
20534 $as_echo "$ac_cv_lib_m_cpow" >&6; }
20535 if test "x$ac_cv_lib_m_cpow" = x""yes; then :
20536
20537 $as_echo "#define HAVE_CPOW 1" >>confdefs.h
20538
20539 fi
20540
20541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl in -lm" >&5
20542 $as_echo_n "checking for cpowl in -lm... " >&6; }
20543 if test "${ac_cv_lib_m_cpowl+set}" = set; then :
20544   $as_echo_n "(cached) " >&6
20545 else
20546   ac_check_lib_save_LIBS=$LIBS
20547 LIBS="-lm  $LIBS"
20548 if test x$gcc_no_link = xyes; then
20549   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20550 fi
20551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20552 /* end confdefs.h.  */
20553
20554 /* Override any GCC internal prototype to avoid an error.
20555    Use char because int might match the return type of a GCC
20556    builtin and then its argument prototype would still apply.  */
20557 #ifdef __cplusplus
20558 extern "C"
20559 #endif
20560 char cpowl ();
20561 int
20562 main ()
20563 {
20564 return cpowl ();
20565   ;
20566   return 0;
20567 }
20568 _ACEOF
20569 if ac_fn_c_try_link "$LINENO"; then :
20570   ac_cv_lib_m_cpowl=yes
20571 else
20572   ac_cv_lib_m_cpowl=no
20573 fi
20574 rm -f core conftest.err conftest.$ac_objext \
20575     conftest$ac_exeext conftest.$ac_ext
20576 LIBS=$ac_check_lib_save_LIBS
20577 fi
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cpowl" >&5
20579 $as_echo "$ac_cv_lib_m_cpowl" >&6; }
20580 if test "x$ac_cv_lib_m_cpowl" = x""yes; then :
20581
20582 $as_echo "#define HAVE_CPOWL 1" >>confdefs.h
20583
20584 fi
20585
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf in -lm" >&5
20587 $as_echo_n "checking for roundf in -lm... " >&6; }
20588 if test "${ac_cv_lib_m_roundf+set}" = set; then :
20589   $as_echo_n "(cached) " >&6
20590 else
20591   ac_check_lib_save_LIBS=$LIBS
20592 LIBS="-lm  $LIBS"
20593 if test x$gcc_no_link = xyes; then
20594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20595 fi
20596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20597 /* end confdefs.h.  */
20598
20599 /* Override any GCC internal prototype to avoid an error.
20600    Use char because int might match the return type of a GCC
20601    builtin and then its argument prototype would still apply.  */
20602 #ifdef __cplusplus
20603 extern "C"
20604 #endif
20605 char roundf ();
20606 int
20607 main ()
20608 {
20609 return roundf ();
20610   ;
20611   return 0;
20612 }
20613 _ACEOF
20614 if ac_fn_c_try_link "$LINENO"; then :
20615   ac_cv_lib_m_roundf=yes
20616 else
20617   ac_cv_lib_m_roundf=no
20618 fi
20619 rm -f core conftest.err conftest.$ac_objext \
20620     conftest$ac_exeext conftest.$ac_ext
20621 LIBS=$ac_check_lib_save_LIBS
20622 fi
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundf" >&5
20624 $as_echo "$ac_cv_lib_m_roundf" >&6; }
20625 if test "x$ac_cv_lib_m_roundf" = x""yes; then :
20626
20627 $as_echo "#define HAVE_ROUNDF 1" >>confdefs.h
20628
20629 fi
20630
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round in -lm" >&5
20632 $as_echo_n "checking for round in -lm... " >&6; }
20633 if test "${ac_cv_lib_m_round+set}" = set; then :
20634   $as_echo_n "(cached) " >&6
20635 else
20636   ac_check_lib_save_LIBS=$LIBS
20637 LIBS="-lm  $LIBS"
20638 if test x$gcc_no_link = xyes; then
20639   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20640 fi
20641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20642 /* end confdefs.h.  */
20643
20644 /* Override any GCC internal prototype to avoid an error.
20645    Use char because int might match the return type of a GCC
20646    builtin and then its argument prototype would still apply.  */
20647 #ifdef __cplusplus
20648 extern "C"
20649 #endif
20650 char round ();
20651 int
20652 main ()
20653 {
20654 return round ();
20655   ;
20656   return 0;
20657 }
20658 _ACEOF
20659 if ac_fn_c_try_link "$LINENO"; then :
20660   ac_cv_lib_m_round=yes
20661 else
20662   ac_cv_lib_m_round=no
20663 fi
20664 rm -f core conftest.err conftest.$ac_objext \
20665     conftest$ac_exeext conftest.$ac_ext
20666 LIBS=$ac_check_lib_save_LIBS
20667 fi
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_round" >&5
20669 $as_echo "$ac_cv_lib_m_round" >&6; }
20670 if test "x$ac_cv_lib_m_round" = x""yes; then :
20671
20672 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
20673
20674 fi
20675
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl in -lm" >&5
20677 $as_echo_n "checking for roundl in -lm... " >&6; }
20678 if test "${ac_cv_lib_m_roundl+set}" = set; then :
20679   $as_echo_n "(cached) " >&6
20680 else
20681   ac_check_lib_save_LIBS=$LIBS
20682 LIBS="-lm  $LIBS"
20683 if test x$gcc_no_link = xyes; then
20684   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20685 fi
20686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20687 /* end confdefs.h.  */
20688
20689 /* Override any GCC internal prototype to avoid an error.
20690    Use char because int might match the return type of a GCC
20691    builtin and then its argument prototype would still apply.  */
20692 #ifdef __cplusplus
20693 extern "C"
20694 #endif
20695 char roundl ();
20696 int
20697 main ()
20698 {
20699 return roundl ();
20700   ;
20701   return 0;
20702 }
20703 _ACEOF
20704 if ac_fn_c_try_link "$LINENO"; then :
20705   ac_cv_lib_m_roundl=yes
20706 else
20707   ac_cv_lib_m_roundl=no
20708 fi
20709 rm -f core conftest.err conftest.$ac_objext \
20710     conftest$ac_exeext conftest.$ac_ext
20711 LIBS=$ac_check_lib_save_LIBS
20712 fi
20713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_roundl" >&5
20714 $as_echo "$ac_cv_lib_m_roundl" >&6; }
20715 if test "x$ac_cv_lib_m_roundl" = x""yes; then :
20716
20717 $as_echo "#define HAVE_ROUNDL 1" >>confdefs.h
20718
20719 fi
20720
20721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf in -lm" >&5
20722 $as_echo_n "checking for lroundf in -lm... " >&6; }
20723 if test "${ac_cv_lib_m_lroundf+set}" = set; then :
20724   $as_echo_n "(cached) " >&6
20725 else
20726   ac_check_lib_save_LIBS=$LIBS
20727 LIBS="-lm  $LIBS"
20728 if test x$gcc_no_link = xyes; then
20729   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20730 fi
20731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20732 /* end confdefs.h.  */
20733
20734 /* Override any GCC internal prototype to avoid an error.
20735    Use char because int might match the return type of a GCC
20736    builtin and then its argument prototype would still apply.  */
20737 #ifdef __cplusplus
20738 extern "C"
20739 #endif
20740 char lroundf ();
20741 int
20742 main ()
20743 {
20744 return lroundf ();
20745   ;
20746   return 0;
20747 }
20748 _ACEOF
20749 if ac_fn_c_try_link "$LINENO"; then :
20750   ac_cv_lib_m_lroundf=yes
20751 else
20752   ac_cv_lib_m_lroundf=no
20753 fi
20754 rm -f core conftest.err conftest.$ac_objext \
20755     conftest$ac_exeext conftest.$ac_ext
20756 LIBS=$ac_check_lib_save_LIBS
20757 fi
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundf" >&5
20759 $as_echo "$ac_cv_lib_m_lroundf" >&6; }
20760 if test "x$ac_cv_lib_m_lroundf" = x""yes; then :
20761
20762 $as_echo "#define HAVE_LROUNDF 1" >>confdefs.h
20763
20764 fi
20765
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
20767 $as_echo_n "checking for lround in -lm... " >&6; }
20768 if test "${ac_cv_lib_m_lround+set}" = set; then :
20769   $as_echo_n "(cached) " >&6
20770 else
20771   ac_check_lib_save_LIBS=$LIBS
20772 LIBS="-lm  $LIBS"
20773 if test x$gcc_no_link = xyes; then
20774   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20775 fi
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h.  */
20778
20779 /* Override any GCC internal prototype to avoid an error.
20780    Use char because int might match the return type of a GCC
20781    builtin and then its argument prototype would still apply.  */
20782 #ifdef __cplusplus
20783 extern "C"
20784 #endif
20785 char lround ();
20786 int
20787 main ()
20788 {
20789 return lround ();
20790   ;
20791   return 0;
20792 }
20793 _ACEOF
20794 if ac_fn_c_try_link "$LINENO"; then :
20795   ac_cv_lib_m_lround=yes
20796 else
20797   ac_cv_lib_m_lround=no
20798 fi
20799 rm -f core conftest.err conftest.$ac_objext \
20800     conftest$ac_exeext conftest.$ac_ext
20801 LIBS=$ac_check_lib_save_LIBS
20802 fi
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
20804 $as_echo "$ac_cv_lib_m_lround" >&6; }
20805 if test "x$ac_cv_lib_m_lround" = x""yes; then :
20806
20807 $as_echo "#define HAVE_LROUND 1" >>confdefs.h
20808
20809 fi
20810
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl in -lm" >&5
20812 $as_echo_n "checking for lroundl in -lm... " >&6; }
20813 if test "${ac_cv_lib_m_lroundl+set}" = set; then :
20814   $as_echo_n "(cached) " >&6
20815 else
20816   ac_check_lib_save_LIBS=$LIBS
20817 LIBS="-lm  $LIBS"
20818 if test x$gcc_no_link = xyes; then
20819   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20820 fi
20821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20822 /* end confdefs.h.  */
20823
20824 /* Override any GCC internal prototype to avoid an error.
20825    Use char because int might match the return type of a GCC
20826    builtin and then its argument prototype would still apply.  */
20827 #ifdef __cplusplus
20828 extern "C"
20829 #endif
20830 char lroundl ();
20831 int
20832 main ()
20833 {
20834 return lroundl ();
20835   ;
20836   return 0;
20837 }
20838 _ACEOF
20839 if ac_fn_c_try_link "$LINENO"; then :
20840   ac_cv_lib_m_lroundl=yes
20841 else
20842   ac_cv_lib_m_lroundl=no
20843 fi
20844 rm -f core conftest.err conftest.$ac_objext \
20845     conftest$ac_exeext conftest.$ac_ext
20846 LIBS=$ac_check_lib_save_LIBS
20847 fi
20848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lroundl" >&5
20849 $as_echo "$ac_cv_lib_m_lroundl" >&6; }
20850 if test "x$ac_cv_lib_m_lroundl" = x""yes; then :
20851
20852 $as_echo "#define HAVE_LROUNDL 1" >>confdefs.h
20853
20854 fi
20855
20856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf in -lm" >&5
20857 $as_echo_n "checking for llroundf in -lm... " >&6; }
20858 if test "${ac_cv_lib_m_llroundf+set}" = set; then :
20859   $as_echo_n "(cached) " >&6
20860 else
20861   ac_check_lib_save_LIBS=$LIBS
20862 LIBS="-lm  $LIBS"
20863 if test x$gcc_no_link = xyes; then
20864   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20865 fi
20866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20867 /* end confdefs.h.  */
20868
20869 /* Override any GCC internal prototype to avoid an error.
20870    Use char because int might match the return type of a GCC
20871    builtin and then its argument prototype would still apply.  */
20872 #ifdef __cplusplus
20873 extern "C"
20874 #endif
20875 char llroundf ();
20876 int
20877 main ()
20878 {
20879 return llroundf ();
20880   ;
20881   return 0;
20882 }
20883 _ACEOF
20884 if ac_fn_c_try_link "$LINENO"; then :
20885   ac_cv_lib_m_llroundf=yes
20886 else
20887   ac_cv_lib_m_llroundf=no
20888 fi
20889 rm -f core conftest.err conftest.$ac_objext \
20890     conftest$ac_exeext conftest.$ac_ext
20891 LIBS=$ac_check_lib_save_LIBS
20892 fi
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundf" >&5
20894 $as_echo "$ac_cv_lib_m_llroundf" >&6; }
20895 if test "x$ac_cv_lib_m_llroundf" = x""yes; then :
20896
20897 $as_echo "#define HAVE_LLROUNDF 1" >>confdefs.h
20898
20899 fi
20900
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround in -lm" >&5
20902 $as_echo_n "checking for llround in -lm... " >&6; }
20903 if test "${ac_cv_lib_m_llround+set}" = set; then :
20904   $as_echo_n "(cached) " >&6
20905 else
20906   ac_check_lib_save_LIBS=$LIBS
20907 LIBS="-lm  $LIBS"
20908 if test x$gcc_no_link = xyes; then
20909   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20910 fi
20911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20912 /* end confdefs.h.  */
20913
20914 /* Override any GCC internal prototype to avoid an error.
20915    Use char because int might match the return type of a GCC
20916    builtin and then its argument prototype would still apply.  */
20917 #ifdef __cplusplus
20918 extern "C"
20919 #endif
20920 char llround ();
20921 int
20922 main ()
20923 {
20924 return llround ();
20925   ;
20926   return 0;
20927 }
20928 _ACEOF
20929 if ac_fn_c_try_link "$LINENO"; then :
20930   ac_cv_lib_m_llround=yes
20931 else
20932   ac_cv_lib_m_llround=no
20933 fi
20934 rm -f core conftest.err conftest.$ac_objext \
20935     conftest$ac_exeext conftest.$ac_ext
20936 LIBS=$ac_check_lib_save_LIBS
20937 fi
20938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llround" >&5
20939 $as_echo "$ac_cv_lib_m_llround" >&6; }
20940 if test "x$ac_cv_lib_m_llround" = x""yes; then :
20941
20942 $as_echo "#define HAVE_LLROUND 1" >>confdefs.h
20943
20944 fi
20945
20946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl in -lm" >&5
20947 $as_echo_n "checking for llroundl in -lm... " >&6; }
20948 if test "${ac_cv_lib_m_llroundl+set}" = set; then :
20949   $as_echo_n "(cached) " >&6
20950 else
20951   ac_check_lib_save_LIBS=$LIBS
20952 LIBS="-lm  $LIBS"
20953 if test x$gcc_no_link = xyes; then
20954   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20955 fi
20956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h.  */
20958
20959 /* Override any GCC internal prototype to avoid an error.
20960    Use char because int might match the return type of a GCC
20961    builtin and then its argument prototype would still apply.  */
20962 #ifdef __cplusplus
20963 extern "C"
20964 #endif
20965 char llroundl ();
20966 int
20967 main ()
20968 {
20969 return llroundl ();
20970   ;
20971   return 0;
20972 }
20973 _ACEOF
20974 if ac_fn_c_try_link "$LINENO"; then :
20975   ac_cv_lib_m_llroundl=yes
20976 else
20977   ac_cv_lib_m_llroundl=no
20978 fi
20979 rm -f core conftest.err conftest.$ac_objext \
20980     conftest$ac_exeext conftest.$ac_ext
20981 LIBS=$ac_check_lib_save_LIBS
20982 fi
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_llroundl" >&5
20984 $as_echo "$ac_cv_lib_m_llroundl" >&6; }
20985 if test "x$ac_cv_lib_m_llroundl" = x""yes; then :
20986
20987 $as_echo "#define HAVE_LLROUNDL 1" >>confdefs.h
20988
20989 fi
20990
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf in -lm" >&5
20992 $as_echo_n "checking for scalbnf in -lm... " >&6; }
20993 if test "${ac_cv_lib_m_scalbnf+set}" = set; then :
20994   $as_echo_n "(cached) " >&6
20995 else
20996   ac_check_lib_save_LIBS=$LIBS
20997 LIBS="-lm  $LIBS"
20998 if test x$gcc_no_link = xyes; then
20999   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21000 fi
21001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21002 /* end confdefs.h.  */
21003
21004 /* Override any GCC internal prototype to avoid an error.
21005    Use char because int might match the return type of a GCC
21006    builtin and then its argument prototype would still apply.  */
21007 #ifdef __cplusplus
21008 extern "C"
21009 #endif
21010 char scalbnf ();
21011 int
21012 main ()
21013 {
21014 return scalbnf ();
21015   ;
21016   return 0;
21017 }
21018 _ACEOF
21019 if ac_fn_c_try_link "$LINENO"; then :
21020   ac_cv_lib_m_scalbnf=yes
21021 else
21022   ac_cv_lib_m_scalbnf=no
21023 fi
21024 rm -f core conftest.err conftest.$ac_objext \
21025     conftest$ac_exeext conftest.$ac_ext
21026 LIBS=$ac_check_lib_save_LIBS
21027 fi
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnf" >&5
21029 $as_echo "$ac_cv_lib_m_scalbnf" >&6; }
21030 if test "x$ac_cv_lib_m_scalbnf" = x""yes; then :
21031
21032 $as_echo "#define HAVE_SCALBNF 1" >>confdefs.h
21033
21034 fi
21035
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn in -lm" >&5
21037 $as_echo_n "checking for scalbn in -lm... " >&6; }
21038 if test "${ac_cv_lib_m_scalbn+set}" = set; then :
21039   $as_echo_n "(cached) " >&6
21040 else
21041   ac_check_lib_save_LIBS=$LIBS
21042 LIBS="-lm  $LIBS"
21043 if test x$gcc_no_link = xyes; then
21044   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21045 fi
21046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h.  */
21048
21049 /* Override any GCC internal prototype to avoid an error.
21050    Use char because int might match the return type of a GCC
21051    builtin and then its argument prototype would still apply.  */
21052 #ifdef __cplusplus
21053 extern "C"
21054 #endif
21055 char scalbn ();
21056 int
21057 main ()
21058 {
21059 return scalbn ();
21060   ;
21061   return 0;
21062 }
21063 _ACEOF
21064 if ac_fn_c_try_link "$LINENO"; then :
21065   ac_cv_lib_m_scalbn=yes
21066 else
21067   ac_cv_lib_m_scalbn=no
21068 fi
21069 rm -f core conftest.err conftest.$ac_objext \
21070     conftest$ac_exeext conftest.$ac_ext
21071 LIBS=$ac_check_lib_save_LIBS
21072 fi
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbn" >&5
21074 $as_echo "$ac_cv_lib_m_scalbn" >&6; }
21075 if test "x$ac_cv_lib_m_scalbn" = x""yes; then :
21076
21077 $as_echo "#define HAVE_SCALBN 1" >>confdefs.h
21078
21079 fi
21080
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl in -lm" >&5
21082 $as_echo_n "checking for scalbnl in -lm... " >&6; }
21083 if test "${ac_cv_lib_m_scalbnl+set}" = set; then :
21084   $as_echo_n "(cached) " >&6
21085 else
21086   ac_check_lib_save_LIBS=$LIBS
21087 LIBS="-lm  $LIBS"
21088 if test x$gcc_no_link = xyes; then
21089   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21090 fi
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h.  */
21093
21094 /* Override any GCC internal prototype to avoid an error.
21095    Use char because int might match the return type of a GCC
21096    builtin and then its argument prototype would still apply.  */
21097 #ifdef __cplusplus
21098 extern "C"
21099 #endif
21100 char scalbnl ();
21101 int
21102 main ()
21103 {
21104 return scalbnl ();
21105   ;
21106   return 0;
21107 }
21108 _ACEOF
21109 if ac_fn_c_try_link "$LINENO"; then :
21110   ac_cv_lib_m_scalbnl=yes
21111 else
21112   ac_cv_lib_m_scalbnl=no
21113 fi
21114 rm -f core conftest.err conftest.$ac_objext \
21115     conftest$ac_exeext conftest.$ac_ext
21116 LIBS=$ac_check_lib_save_LIBS
21117 fi
21118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_scalbnl" >&5
21119 $as_echo "$ac_cv_lib_m_scalbnl" >&6; }
21120 if test "x$ac_cv_lib_m_scalbnl" = x""yes; then :
21121
21122 $as_echo "#define HAVE_SCALBNL 1" >>confdefs.h
21123
21124 fi
21125
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf in -lm" >&5
21127 $as_echo_n "checking for sinf in -lm... " >&6; }
21128 if test "${ac_cv_lib_m_sinf+set}" = set; then :
21129   $as_echo_n "(cached) " >&6
21130 else
21131   ac_check_lib_save_LIBS=$LIBS
21132 LIBS="-lm  $LIBS"
21133 if test x$gcc_no_link = xyes; then
21134   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21135 fi
21136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21137 /* end confdefs.h.  */
21138
21139 /* Override any GCC internal prototype to avoid an error.
21140    Use char because int might match the return type of a GCC
21141    builtin and then its argument prototype would still apply.  */
21142 #ifdef __cplusplus
21143 extern "C"
21144 #endif
21145 char sinf ();
21146 int
21147 main ()
21148 {
21149 return sinf ();
21150   ;
21151   return 0;
21152 }
21153 _ACEOF
21154 if ac_fn_c_try_link "$LINENO"; then :
21155   ac_cv_lib_m_sinf=yes
21156 else
21157   ac_cv_lib_m_sinf=no
21158 fi
21159 rm -f core conftest.err conftest.$ac_objext \
21160     conftest$ac_exeext conftest.$ac_ext
21161 LIBS=$ac_check_lib_save_LIBS
21162 fi
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinf" >&5
21164 $as_echo "$ac_cv_lib_m_sinf" >&6; }
21165 if test "x$ac_cv_lib_m_sinf" = x""yes; then :
21166
21167 $as_echo "#define HAVE_SINF 1" >>confdefs.h
21168
21169 fi
21170
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21172 $as_echo_n "checking for sin in -lm... " >&6; }
21173 if test "${ac_cv_lib_m_sin+set}" = set; then :
21174   $as_echo_n "(cached) " >&6
21175 else
21176   ac_check_lib_save_LIBS=$LIBS
21177 LIBS="-lm  $LIBS"
21178 if test x$gcc_no_link = xyes; then
21179   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21180 fi
21181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182 /* end confdefs.h.  */
21183
21184 /* Override any GCC internal prototype to avoid an error.
21185    Use char because int might match the return type of a GCC
21186    builtin and then its argument prototype would still apply.  */
21187 #ifdef __cplusplus
21188 extern "C"
21189 #endif
21190 char sin ();
21191 int
21192 main ()
21193 {
21194 return sin ();
21195   ;
21196   return 0;
21197 }
21198 _ACEOF
21199 if ac_fn_c_try_link "$LINENO"; then :
21200   ac_cv_lib_m_sin=yes
21201 else
21202   ac_cv_lib_m_sin=no
21203 fi
21204 rm -f core conftest.err conftest.$ac_objext \
21205     conftest$ac_exeext conftest.$ac_ext
21206 LIBS=$ac_check_lib_save_LIBS
21207 fi
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21209 $as_echo "$ac_cv_lib_m_sin" >&6; }
21210 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21211
21212 $as_echo "#define HAVE_SIN 1" >>confdefs.h
21213
21214 fi
21215
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl in -lm" >&5
21217 $as_echo_n "checking for sinl in -lm... " >&6; }
21218 if test "${ac_cv_lib_m_sinl+set}" = set; then :
21219   $as_echo_n "(cached) " >&6
21220 else
21221   ac_check_lib_save_LIBS=$LIBS
21222 LIBS="-lm  $LIBS"
21223 if test x$gcc_no_link = xyes; then
21224   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21225 fi
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h.  */
21228
21229 /* Override any GCC internal prototype to avoid an error.
21230    Use char because int might match the return type of a GCC
21231    builtin and then its argument prototype would still apply.  */
21232 #ifdef __cplusplus
21233 extern "C"
21234 #endif
21235 char sinl ();
21236 int
21237 main ()
21238 {
21239 return sinl ();
21240   ;
21241   return 0;
21242 }
21243 _ACEOF
21244 if ac_fn_c_try_link "$LINENO"; then :
21245   ac_cv_lib_m_sinl=yes
21246 else
21247   ac_cv_lib_m_sinl=no
21248 fi
21249 rm -f core conftest.err conftest.$ac_objext \
21250     conftest$ac_exeext conftest.$ac_ext
21251 LIBS=$ac_check_lib_save_LIBS
21252 fi
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinl" >&5
21254 $as_echo "$ac_cv_lib_m_sinl" >&6; }
21255 if test "x$ac_cv_lib_m_sinl" = x""yes; then :
21256
21257 $as_echo "#define HAVE_SINL 1" >>confdefs.h
21258
21259 fi
21260
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf in -lm" >&5
21262 $as_echo_n "checking for csinf in -lm... " >&6; }
21263 if test "${ac_cv_lib_m_csinf+set}" = set; then :
21264   $as_echo_n "(cached) " >&6
21265 else
21266   ac_check_lib_save_LIBS=$LIBS
21267 LIBS="-lm  $LIBS"
21268 if test x$gcc_no_link = xyes; then
21269   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21270 fi
21271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21272 /* end confdefs.h.  */
21273
21274 /* Override any GCC internal prototype to avoid an error.
21275    Use char because int might match the return type of a GCC
21276    builtin and then its argument prototype would still apply.  */
21277 #ifdef __cplusplus
21278 extern "C"
21279 #endif
21280 char csinf ();
21281 int
21282 main ()
21283 {
21284 return csinf ();
21285   ;
21286   return 0;
21287 }
21288 _ACEOF
21289 if ac_fn_c_try_link "$LINENO"; then :
21290   ac_cv_lib_m_csinf=yes
21291 else
21292   ac_cv_lib_m_csinf=no
21293 fi
21294 rm -f core conftest.err conftest.$ac_objext \
21295     conftest$ac_exeext conftest.$ac_ext
21296 LIBS=$ac_check_lib_save_LIBS
21297 fi
21298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinf" >&5
21299 $as_echo "$ac_cv_lib_m_csinf" >&6; }
21300 if test "x$ac_cv_lib_m_csinf" = x""yes; then :
21301
21302 $as_echo "#define HAVE_CSINF 1" >>confdefs.h
21303
21304 fi
21305
21306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin in -lm" >&5
21307 $as_echo_n "checking for csin in -lm... " >&6; }
21308 if test "${ac_cv_lib_m_csin+set}" = set; then :
21309   $as_echo_n "(cached) " >&6
21310 else
21311   ac_check_lib_save_LIBS=$LIBS
21312 LIBS="-lm  $LIBS"
21313 if test x$gcc_no_link = xyes; then
21314   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21315 fi
21316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h.  */
21318
21319 /* Override any GCC internal prototype to avoid an error.
21320    Use char because int might match the return type of a GCC
21321    builtin and then its argument prototype would still apply.  */
21322 #ifdef __cplusplus
21323 extern "C"
21324 #endif
21325 char csin ();
21326 int
21327 main ()
21328 {
21329 return csin ();
21330   ;
21331   return 0;
21332 }
21333 _ACEOF
21334 if ac_fn_c_try_link "$LINENO"; then :
21335   ac_cv_lib_m_csin=yes
21336 else
21337   ac_cv_lib_m_csin=no
21338 fi
21339 rm -f core conftest.err conftest.$ac_objext \
21340     conftest$ac_exeext conftest.$ac_ext
21341 LIBS=$ac_check_lib_save_LIBS
21342 fi
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csin" >&5
21344 $as_echo "$ac_cv_lib_m_csin" >&6; }
21345 if test "x$ac_cv_lib_m_csin" = x""yes; then :
21346
21347 $as_echo "#define HAVE_CSIN 1" >>confdefs.h
21348
21349 fi
21350
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl in -lm" >&5
21352 $as_echo_n "checking for csinl in -lm... " >&6; }
21353 if test "${ac_cv_lib_m_csinl+set}" = set; then :
21354   $as_echo_n "(cached) " >&6
21355 else
21356   ac_check_lib_save_LIBS=$LIBS
21357 LIBS="-lm  $LIBS"
21358 if test x$gcc_no_link = xyes; then
21359   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21360 fi
21361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21362 /* end confdefs.h.  */
21363
21364 /* Override any GCC internal prototype to avoid an error.
21365    Use char because int might match the return type of a GCC
21366    builtin and then its argument prototype would still apply.  */
21367 #ifdef __cplusplus
21368 extern "C"
21369 #endif
21370 char csinl ();
21371 int
21372 main ()
21373 {
21374 return csinl ();
21375   ;
21376   return 0;
21377 }
21378 _ACEOF
21379 if ac_fn_c_try_link "$LINENO"; then :
21380   ac_cv_lib_m_csinl=yes
21381 else
21382   ac_cv_lib_m_csinl=no
21383 fi
21384 rm -f core conftest.err conftest.$ac_objext \
21385     conftest$ac_exeext conftest.$ac_ext
21386 LIBS=$ac_check_lib_save_LIBS
21387 fi
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinl" >&5
21389 $as_echo "$ac_cv_lib_m_csinl" >&6; }
21390 if test "x$ac_cv_lib_m_csinl" = x""yes; then :
21391
21392 $as_echo "#define HAVE_CSINL 1" >>confdefs.h
21393
21394 fi
21395
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf in -lm" >&5
21397 $as_echo_n "checking for sinhf in -lm... " >&6; }
21398 if test "${ac_cv_lib_m_sinhf+set}" = set; then :
21399   $as_echo_n "(cached) " >&6
21400 else
21401   ac_check_lib_save_LIBS=$LIBS
21402 LIBS="-lm  $LIBS"
21403 if test x$gcc_no_link = xyes; then
21404   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21405 fi
21406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21407 /* end confdefs.h.  */
21408
21409 /* Override any GCC internal prototype to avoid an error.
21410    Use char because int might match the return type of a GCC
21411    builtin and then its argument prototype would still apply.  */
21412 #ifdef __cplusplus
21413 extern "C"
21414 #endif
21415 char sinhf ();
21416 int
21417 main ()
21418 {
21419 return sinhf ();
21420   ;
21421   return 0;
21422 }
21423 _ACEOF
21424 if ac_fn_c_try_link "$LINENO"; then :
21425   ac_cv_lib_m_sinhf=yes
21426 else
21427   ac_cv_lib_m_sinhf=no
21428 fi
21429 rm -f core conftest.err conftest.$ac_objext \
21430     conftest$ac_exeext conftest.$ac_ext
21431 LIBS=$ac_check_lib_save_LIBS
21432 fi
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhf" >&5
21434 $as_echo "$ac_cv_lib_m_sinhf" >&6; }
21435 if test "x$ac_cv_lib_m_sinhf" = x""yes; then :
21436
21437 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
21438
21439 fi
21440
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh in -lm" >&5
21442 $as_echo_n "checking for sinh in -lm... " >&6; }
21443 if test "${ac_cv_lib_m_sinh+set}" = set; then :
21444   $as_echo_n "(cached) " >&6
21445 else
21446   ac_check_lib_save_LIBS=$LIBS
21447 LIBS="-lm  $LIBS"
21448 if test x$gcc_no_link = xyes; then
21449   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21450 fi
21451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21452 /* end confdefs.h.  */
21453
21454 /* Override any GCC internal prototype to avoid an error.
21455    Use char because int might match the return type of a GCC
21456    builtin and then its argument prototype would still apply.  */
21457 #ifdef __cplusplus
21458 extern "C"
21459 #endif
21460 char sinh ();
21461 int
21462 main ()
21463 {
21464 return sinh ();
21465   ;
21466   return 0;
21467 }
21468 _ACEOF
21469 if ac_fn_c_try_link "$LINENO"; then :
21470   ac_cv_lib_m_sinh=yes
21471 else
21472   ac_cv_lib_m_sinh=no
21473 fi
21474 rm -f core conftest.err conftest.$ac_objext \
21475     conftest$ac_exeext conftest.$ac_ext
21476 LIBS=$ac_check_lib_save_LIBS
21477 fi
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinh" >&5
21479 $as_echo "$ac_cv_lib_m_sinh" >&6; }
21480 if test "x$ac_cv_lib_m_sinh" = x""yes; then :
21481
21482 $as_echo "#define HAVE_SINH 1" >>confdefs.h
21483
21484 fi
21485
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl in -lm" >&5
21487 $as_echo_n "checking for sinhl in -lm... " >&6; }
21488 if test "${ac_cv_lib_m_sinhl+set}" = set; then :
21489   $as_echo_n "(cached) " >&6
21490 else
21491   ac_check_lib_save_LIBS=$LIBS
21492 LIBS="-lm  $LIBS"
21493 if test x$gcc_no_link = xyes; then
21494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21495 fi
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h.  */
21498
21499 /* Override any GCC internal prototype to avoid an error.
21500    Use char because int might match the return type of a GCC
21501    builtin and then its argument prototype would still apply.  */
21502 #ifdef __cplusplus
21503 extern "C"
21504 #endif
21505 char sinhl ();
21506 int
21507 main ()
21508 {
21509 return sinhl ();
21510   ;
21511   return 0;
21512 }
21513 _ACEOF
21514 if ac_fn_c_try_link "$LINENO"; then :
21515   ac_cv_lib_m_sinhl=yes
21516 else
21517   ac_cv_lib_m_sinhl=no
21518 fi
21519 rm -f core conftest.err conftest.$ac_objext \
21520     conftest$ac_exeext conftest.$ac_ext
21521 LIBS=$ac_check_lib_save_LIBS
21522 fi
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sinhl" >&5
21524 $as_echo "$ac_cv_lib_m_sinhl" >&6; }
21525 if test "x$ac_cv_lib_m_sinhl" = x""yes; then :
21526
21527 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
21528
21529 fi
21530
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf in -lm" >&5
21532 $as_echo_n "checking for csinhf in -lm... " >&6; }
21533 if test "${ac_cv_lib_m_csinhf+set}" = set; then :
21534   $as_echo_n "(cached) " >&6
21535 else
21536   ac_check_lib_save_LIBS=$LIBS
21537 LIBS="-lm  $LIBS"
21538 if test x$gcc_no_link = xyes; then
21539   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21540 fi
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h.  */
21543
21544 /* Override any GCC internal prototype to avoid an error.
21545    Use char because int might match the return type of a GCC
21546    builtin and then its argument prototype would still apply.  */
21547 #ifdef __cplusplus
21548 extern "C"
21549 #endif
21550 char csinhf ();
21551 int
21552 main ()
21553 {
21554 return csinhf ();
21555   ;
21556   return 0;
21557 }
21558 _ACEOF
21559 if ac_fn_c_try_link "$LINENO"; then :
21560   ac_cv_lib_m_csinhf=yes
21561 else
21562   ac_cv_lib_m_csinhf=no
21563 fi
21564 rm -f core conftest.err conftest.$ac_objext \
21565     conftest$ac_exeext conftest.$ac_ext
21566 LIBS=$ac_check_lib_save_LIBS
21567 fi
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhf" >&5
21569 $as_echo "$ac_cv_lib_m_csinhf" >&6; }
21570 if test "x$ac_cv_lib_m_csinhf" = x""yes; then :
21571
21572 $as_echo "#define HAVE_CSINHF 1" >>confdefs.h
21573
21574 fi
21575
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh in -lm" >&5
21577 $as_echo_n "checking for csinh in -lm... " >&6; }
21578 if test "${ac_cv_lib_m_csinh+set}" = set; then :
21579   $as_echo_n "(cached) " >&6
21580 else
21581   ac_check_lib_save_LIBS=$LIBS
21582 LIBS="-lm  $LIBS"
21583 if test x$gcc_no_link = xyes; then
21584   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21585 fi
21586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21587 /* end confdefs.h.  */
21588
21589 /* Override any GCC internal prototype to avoid an error.
21590    Use char because int might match the return type of a GCC
21591    builtin and then its argument prototype would still apply.  */
21592 #ifdef __cplusplus
21593 extern "C"
21594 #endif
21595 char csinh ();
21596 int
21597 main ()
21598 {
21599 return csinh ();
21600   ;
21601   return 0;
21602 }
21603 _ACEOF
21604 if ac_fn_c_try_link "$LINENO"; then :
21605   ac_cv_lib_m_csinh=yes
21606 else
21607   ac_cv_lib_m_csinh=no
21608 fi
21609 rm -f core conftest.err conftest.$ac_objext \
21610     conftest$ac_exeext conftest.$ac_ext
21611 LIBS=$ac_check_lib_save_LIBS
21612 fi
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinh" >&5
21614 $as_echo "$ac_cv_lib_m_csinh" >&6; }
21615 if test "x$ac_cv_lib_m_csinh" = x""yes; then :
21616
21617 $as_echo "#define HAVE_CSINH 1" >>confdefs.h
21618
21619 fi
21620
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl in -lm" >&5
21622 $as_echo_n "checking for csinhl in -lm... " >&6; }
21623 if test "${ac_cv_lib_m_csinhl+set}" = set; then :
21624   $as_echo_n "(cached) " >&6
21625 else
21626   ac_check_lib_save_LIBS=$LIBS
21627 LIBS="-lm  $LIBS"
21628 if test x$gcc_no_link = xyes; then
21629   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21630 fi
21631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21632 /* end confdefs.h.  */
21633
21634 /* Override any GCC internal prototype to avoid an error.
21635    Use char because int might match the return type of a GCC
21636    builtin and then its argument prototype would still apply.  */
21637 #ifdef __cplusplus
21638 extern "C"
21639 #endif
21640 char csinhl ();
21641 int
21642 main ()
21643 {
21644 return csinhl ();
21645   ;
21646   return 0;
21647 }
21648 _ACEOF
21649 if ac_fn_c_try_link "$LINENO"; then :
21650   ac_cv_lib_m_csinhl=yes
21651 else
21652   ac_cv_lib_m_csinhl=no
21653 fi
21654 rm -f core conftest.err conftest.$ac_objext \
21655     conftest$ac_exeext conftest.$ac_ext
21656 LIBS=$ac_check_lib_save_LIBS
21657 fi
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csinhl" >&5
21659 $as_echo "$ac_cv_lib_m_csinhl" >&6; }
21660 if test "x$ac_cv_lib_m_csinhl" = x""yes; then :
21661
21662 $as_echo "#define HAVE_CSINHL 1" >>confdefs.h
21663
21664 fi
21665
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf in -lm" >&5
21667 $as_echo_n "checking for sqrtf in -lm... " >&6; }
21668 if test "${ac_cv_lib_m_sqrtf+set}" = set; then :
21669   $as_echo_n "(cached) " >&6
21670 else
21671   ac_check_lib_save_LIBS=$LIBS
21672 LIBS="-lm  $LIBS"
21673 if test x$gcc_no_link = xyes; then
21674   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21675 fi
21676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21677 /* end confdefs.h.  */
21678
21679 /* Override any GCC internal prototype to avoid an error.
21680    Use char because int might match the return type of a GCC
21681    builtin and then its argument prototype would still apply.  */
21682 #ifdef __cplusplus
21683 extern "C"
21684 #endif
21685 char sqrtf ();
21686 int
21687 main ()
21688 {
21689 return sqrtf ();
21690   ;
21691   return 0;
21692 }
21693 _ACEOF
21694 if ac_fn_c_try_link "$LINENO"; then :
21695   ac_cv_lib_m_sqrtf=yes
21696 else
21697   ac_cv_lib_m_sqrtf=no
21698 fi
21699 rm -f core conftest.err conftest.$ac_objext \
21700     conftest$ac_exeext conftest.$ac_ext
21701 LIBS=$ac_check_lib_save_LIBS
21702 fi
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtf" >&5
21704 $as_echo "$ac_cv_lib_m_sqrtf" >&6; }
21705 if test "x$ac_cv_lib_m_sqrtf" = x""yes; then :
21706
21707 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
21708
21709 fi
21710
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
21712 $as_echo_n "checking for sqrt in -lm... " >&6; }
21713 if test "${ac_cv_lib_m_sqrt+set}" = set; then :
21714   $as_echo_n "(cached) " >&6
21715 else
21716   ac_check_lib_save_LIBS=$LIBS
21717 LIBS="-lm  $LIBS"
21718 if test x$gcc_no_link = xyes; then
21719   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21720 fi
21721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21722 /* end confdefs.h.  */
21723
21724 /* Override any GCC internal prototype to avoid an error.
21725    Use char because int might match the return type of a GCC
21726    builtin and then its argument prototype would still apply.  */
21727 #ifdef __cplusplus
21728 extern "C"
21729 #endif
21730 char sqrt ();
21731 int
21732 main ()
21733 {
21734 return sqrt ();
21735   ;
21736   return 0;
21737 }
21738 _ACEOF
21739 if ac_fn_c_try_link "$LINENO"; then :
21740   ac_cv_lib_m_sqrt=yes
21741 else
21742   ac_cv_lib_m_sqrt=no
21743 fi
21744 rm -f core conftest.err conftest.$ac_objext \
21745     conftest$ac_exeext conftest.$ac_ext
21746 LIBS=$ac_check_lib_save_LIBS
21747 fi
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
21749 $as_echo "$ac_cv_lib_m_sqrt" >&6; }
21750 if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
21751
21752 $as_echo "#define HAVE_SQRT 1" >>confdefs.h
21753
21754 fi
21755
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl in -lm" >&5
21757 $as_echo_n "checking for sqrtl in -lm... " >&6; }
21758 if test "${ac_cv_lib_m_sqrtl+set}" = set; then :
21759   $as_echo_n "(cached) " >&6
21760 else
21761   ac_check_lib_save_LIBS=$LIBS
21762 LIBS="-lm  $LIBS"
21763 if test x$gcc_no_link = xyes; then
21764   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21765 fi
21766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21767 /* end confdefs.h.  */
21768
21769 /* Override any GCC internal prototype to avoid an error.
21770    Use char because int might match the return type of a GCC
21771    builtin and then its argument prototype would still apply.  */
21772 #ifdef __cplusplus
21773 extern "C"
21774 #endif
21775 char sqrtl ();
21776 int
21777 main ()
21778 {
21779 return sqrtl ();
21780   ;
21781   return 0;
21782 }
21783 _ACEOF
21784 if ac_fn_c_try_link "$LINENO"; then :
21785   ac_cv_lib_m_sqrtl=yes
21786 else
21787   ac_cv_lib_m_sqrtl=no
21788 fi
21789 rm -f core conftest.err conftest.$ac_objext \
21790     conftest$ac_exeext conftest.$ac_ext
21791 LIBS=$ac_check_lib_save_LIBS
21792 fi
21793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrtl" >&5
21794 $as_echo "$ac_cv_lib_m_sqrtl" >&6; }
21795 if test "x$ac_cv_lib_m_sqrtl" = x""yes; then :
21796
21797 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
21798
21799 fi
21800
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf in -lm" >&5
21802 $as_echo_n "checking for csqrtf in -lm... " >&6; }
21803 if test "${ac_cv_lib_m_csqrtf+set}" = set; then :
21804   $as_echo_n "(cached) " >&6
21805 else
21806   ac_check_lib_save_LIBS=$LIBS
21807 LIBS="-lm  $LIBS"
21808 if test x$gcc_no_link = xyes; then
21809   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21810 fi
21811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h.  */
21813
21814 /* Override any GCC internal prototype to avoid an error.
21815    Use char because int might match the return type of a GCC
21816    builtin and then its argument prototype would still apply.  */
21817 #ifdef __cplusplus
21818 extern "C"
21819 #endif
21820 char csqrtf ();
21821 int
21822 main ()
21823 {
21824 return csqrtf ();
21825   ;
21826   return 0;
21827 }
21828 _ACEOF
21829 if ac_fn_c_try_link "$LINENO"; then :
21830   ac_cv_lib_m_csqrtf=yes
21831 else
21832   ac_cv_lib_m_csqrtf=no
21833 fi
21834 rm -f core conftest.err conftest.$ac_objext \
21835     conftest$ac_exeext conftest.$ac_ext
21836 LIBS=$ac_check_lib_save_LIBS
21837 fi
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtf" >&5
21839 $as_echo "$ac_cv_lib_m_csqrtf" >&6; }
21840 if test "x$ac_cv_lib_m_csqrtf" = x""yes; then :
21841
21842 $as_echo "#define HAVE_CSQRTF 1" >>confdefs.h
21843
21844 fi
21845
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt in -lm" >&5
21847 $as_echo_n "checking for csqrt in -lm... " >&6; }
21848 if test "${ac_cv_lib_m_csqrt+set}" = set; then :
21849   $as_echo_n "(cached) " >&6
21850 else
21851   ac_check_lib_save_LIBS=$LIBS
21852 LIBS="-lm  $LIBS"
21853 if test x$gcc_no_link = xyes; then
21854   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21855 fi
21856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21857 /* end confdefs.h.  */
21858
21859 /* Override any GCC internal prototype to avoid an error.
21860    Use char because int might match the return type of a GCC
21861    builtin and then its argument prototype would still apply.  */
21862 #ifdef __cplusplus
21863 extern "C"
21864 #endif
21865 char csqrt ();
21866 int
21867 main ()
21868 {
21869 return csqrt ();
21870   ;
21871   return 0;
21872 }
21873 _ACEOF
21874 if ac_fn_c_try_link "$LINENO"; then :
21875   ac_cv_lib_m_csqrt=yes
21876 else
21877   ac_cv_lib_m_csqrt=no
21878 fi
21879 rm -f core conftest.err conftest.$ac_objext \
21880     conftest$ac_exeext conftest.$ac_ext
21881 LIBS=$ac_check_lib_save_LIBS
21882 fi
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrt" >&5
21884 $as_echo "$ac_cv_lib_m_csqrt" >&6; }
21885 if test "x$ac_cv_lib_m_csqrt" = x""yes; then :
21886
21887 $as_echo "#define HAVE_CSQRT 1" >>confdefs.h
21888
21889 fi
21890
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl in -lm" >&5
21892 $as_echo_n "checking for csqrtl in -lm... " >&6; }
21893 if test "${ac_cv_lib_m_csqrtl+set}" = set; then :
21894   $as_echo_n "(cached) " >&6
21895 else
21896   ac_check_lib_save_LIBS=$LIBS
21897 LIBS="-lm  $LIBS"
21898 if test x$gcc_no_link = xyes; then
21899   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21900 fi
21901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21902 /* end confdefs.h.  */
21903
21904 /* Override any GCC internal prototype to avoid an error.
21905    Use char because int might match the return type of a GCC
21906    builtin and then its argument prototype would still apply.  */
21907 #ifdef __cplusplus
21908 extern "C"
21909 #endif
21910 char csqrtl ();
21911 int
21912 main ()
21913 {
21914 return csqrtl ();
21915   ;
21916   return 0;
21917 }
21918 _ACEOF
21919 if ac_fn_c_try_link "$LINENO"; then :
21920   ac_cv_lib_m_csqrtl=yes
21921 else
21922   ac_cv_lib_m_csqrtl=no
21923 fi
21924 rm -f core conftest.err conftest.$ac_objext \
21925     conftest$ac_exeext conftest.$ac_ext
21926 LIBS=$ac_check_lib_save_LIBS
21927 fi
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_csqrtl" >&5
21929 $as_echo "$ac_cv_lib_m_csqrtl" >&6; }
21930 if test "x$ac_cv_lib_m_csqrtl" = x""yes; then :
21931
21932 $as_echo "#define HAVE_CSQRTL 1" >>confdefs.h
21933
21934 fi
21935
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf in -lm" >&5
21937 $as_echo_n "checking for tanf in -lm... " >&6; }
21938 if test "${ac_cv_lib_m_tanf+set}" = set; then :
21939   $as_echo_n "(cached) " >&6
21940 else
21941   ac_check_lib_save_LIBS=$LIBS
21942 LIBS="-lm  $LIBS"
21943 if test x$gcc_no_link = xyes; then
21944   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21945 fi
21946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21947 /* end confdefs.h.  */
21948
21949 /* Override any GCC internal prototype to avoid an error.
21950    Use char because int might match the return type of a GCC
21951    builtin and then its argument prototype would still apply.  */
21952 #ifdef __cplusplus
21953 extern "C"
21954 #endif
21955 char tanf ();
21956 int
21957 main ()
21958 {
21959 return tanf ();
21960   ;
21961   return 0;
21962 }
21963 _ACEOF
21964 if ac_fn_c_try_link "$LINENO"; then :
21965   ac_cv_lib_m_tanf=yes
21966 else
21967   ac_cv_lib_m_tanf=no
21968 fi
21969 rm -f core conftest.err conftest.$ac_objext \
21970     conftest$ac_exeext conftest.$ac_ext
21971 LIBS=$ac_check_lib_save_LIBS
21972 fi
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanf" >&5
21974 $as_echo "$ac_cv_lib_m_tanf" >&6; }
21975 if test "x$ac_cv_lib_m_tanf" = x""yes; then :
21976
21977 $as_echo "#define HAVE_TANF 1" >>confdefs.h
21978
21979 fi
21980
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan in -lm" >&5
21982 $as_echo_n "checking for tan in -lm... " >&6; }
21983 if test "${ac_cv_lib_m_tan+set}" = set; then :
21984   $as_echo_n "(cached) " >&6
21985 else
21986   ac_check_lib_save_LIBS=$LIBS
21987 LIBS="-lm  $LIBS"
21988 if test x$gcc_no_link = xyes; then
21989   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21990 fi
21991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h.  */
21993
21994 /* Override any GCC internal prototype to avoid an error.
21995    Use char because int might match the return type of a GCC
21996    builtin and then its argument prototype would still apply.  */
21997 #ifdef __cplusplus
21998 extern "C"
21999 #endif
22000 char tan ();
22001 int
22002 main ()
22003 {
22004 return tan ();
22005   ;
22006   return 0;
22007 }
22008 _ACEOF
22009 if ac_fn_c_try_link "$LINENO"; then :
22010   ac_cv_lib_m_tan=yes
22011 else
22012   ac_cv_lib_m_tan=no
22013 fi
22014 rm -f core conftest.err conftest.$ac_objext \
22015     conftest$ac_exeext conftest.$ac_ext
22016 LIBS=$ac_check_lib_save_LIBS
22017 fi
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tan" >&5
22019 $as_echo "$ac_cv_lib_m_tan" >&6; }
22020 if test "x$ac_cv_lib_m_tan" = x""yes; then :
22021
22022 $as_echo "#define HAVE_TAN 1" >>confdefs.h
22023
22024 fi
22025
22026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl in -lm" >&5
22027 $as_echo_n "checking for tanl in -lm... " >&6; }
22028 if test "${ac_cv_lib_m_tanl+set}" = set; then :
22029   $as_echo_n "(cached) " >&6
22030 else
22031   ac_check_lib_save_LIBS=$LIBS
22032 LIBS="-lm  $LIBS"
22033 if test x$gcc_no_link = xyes; then
22034   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22035 fi
22036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22037 /* end confdefs.h.  */
22038
22039 /* Override any GCC internal prototype to avoid an error.
22040    Use char because int might match the return type of a GCC
22041    builtin and then its argument prototype would still apply.  */
22042 #ifdef __cplusplus
22043 extern "C"
22044 #endif
22045 char tanl ();
22046 int
22047 main ()
22048 {
22049 return tanl ();
22050   ;
22051   return 0;
22052 }
22053 _ACEOF
22054 if ac_fn_c_try_link "$LINENO"; then :
22055   ac_cv_lib_m_tanl=yes
22056 else
22057   ac_cv_lib_m_tanl=no
22058 fi
22059 rm -f core conftest.err conftest.$ac_objext \
22060     conftest$ac_exeext conftest.$ac_ext
22061 LIBS=$ac_check_lib_save_LIBS
22062 fi
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanl" >&5
22064 $as_echo "$ac_cv_lib_m_tanl" >&6; }
22065 if test "x$ac_cv_lib_m_tanl" = x""yes; then :
22066
22067 $as_echo "#define HAVE_TANL 1" >>confdefs.h
22068
22069 fi
22070
22071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf in -lm" >&5
22072 $as_echo_n "checking for ctanf in -lm... " >&6; }
22073 if test "${ac_cv_lib_m_ctanf+set}" = set; then :
22074   $as_echo_n "(cached) " >&6
22075 else
22076   ac_check_lib_save_LIBS=$LIBS
22077 LIBS="-lm  $LIBS"
22078 if test x$gcc_no_link = xyes; then
22079   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22080 fi
22081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22082 /* end confdefs.h.  */
22083
22084 /* Override any GCC internal prototype to avoid an error.
22085    Use char because int might match the return type of a GCC
22086    builtin and then its argument prototype would still apply.  */
22087 #ifdef __cplusplus
22088 extern "C"
22089 #endif
22090 char ctanf ();
22091 int
22092 main ()
22093 {
22094 return ctanf ();
22095   ;
22096   return 0;
22097 }
22098 _ACEOF
22099 if ac_fn_c_try_link "$LINENO"; then :
22100   ac_cv_lib_m_ctanf=yes
22101 else
22102   ac_cv_lib_m_ctanf=no
22103 fi
22104 rm -f core conftest.err conftest.$ac_objext \
22105     conftest$ac_exeext conftest.$ac_ext
22106 LIBS=$ac_check_lib_save_LIBS
22107 fi
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanf" >&5
22109 $as_echo "$ac_cv_lib_m_ctanf" >&6; }
22110 if test "x$ac_cv_lib_m_ctanf" = x""yes; then :
22111
22112 $as_echo "#define HAVE_CTANF 1" >>confdefs.h
22113
22114 fi
22115
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan in -lm" >&5
22117 $as_echo_n "checking for ctan in -lm... " >&6; }
22118 if test "${ac_cv_lib_m_ctan+set}" = set; then :
22119   $as_echo_n "(cached) " >&6
22120 else
22121   ac_check_lib_save_LIBS=$LIBS
22122 LIBS="-lm  $LIBS"
22123 if test x$gcc_no_link = xyes; then
22124   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22125 fi
22126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22127 /* end confdefs.h.  */
22128
22129 /* Override any GCC internal prototype to avoid an error.
22130    Use char because int might match the return type of a GCC
22131    builtin and then its argument prototype would still apply.  */
22132 #ifdef __cplusplus
22133 extern "C"
22134 #endif
22135 char ctan ();
22136 int
22137 main ()
22138 {
22139 return ctan ();
22140   ;
22141   return 0;
22142 }
22143 _ACEOF
22144 if ac_fn_c_try_link "$LINENO"; then :
22145   ac_cv_lib_m_ctan=yes
22146 else
22147   ac_cv_lib_m_ctan=no
22148 fi
22149 rm -f core conftest.err conftest.$ac_objext \
22150     conftest$ac_exeext conftest.$ac_ext
22151 LIBS=$ac_check_lib_save_LIBS
22152 fi
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctan" >&5
22154 $as_echo "$ac_cv_lib_m_ctan" >&6; }
22155 if test "x$ac_cv_lib_m_ctan" = x""yes; then :
22156
22157 $as_echo "#define HAVE_CTAN 1" >>confdefs.h
22158
22159 fi
22160
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl in -lm" >&5
22162 $as_echo_n "checking for ctanl in -lm... " >&6; }
22163 if test "${ac_cv_lib_m_ctanl+set}" = set; then :
22164   $as_echo_n "(cached) " >&6
22165 else
22166   ac_check_lib_save_LIBS=$LIBS
22167 LIBS="-lm  $LIBS"
22168 if test x$gcc_no_link = xyes; then
22169   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22170 fi
22171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22172 /* end confdefs.h.  */
22173
22174 /* Override any GCC internal prototype to avoid an error.
22175    Use char because int might match the return type of a GCC
22176    builtin and then its argument prototype would still apply.  */
22177 #ifdef __cplusplus
22178 extern "C"
22179 #endif
22180 char ctanl ();
22181 int
22182 main ()
22183 {
22184 return ctanl ();
22185   ;
22186   return 0;
22187 }
22188 _ACEOF
22189 if ac_fn_c_try_link "$LINENO"; then :
22190   ac_cv_lib_m_ctanl=yes
22191 else
22192   ac_cv_lib_m_ctanl=no
22193 fi
22194 rm -f core conftest.err conftest.$ac_objext \
22195     conftest$ac_exeext conftest.$ac_ext
22196 LIBS=$ac_check_lib_save_LIBS
22197 fi
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanl" >&5
22199 $as_echo "$ac_cv_lib_m_ctanl" >&6; }
22200 if test "x$ac_cv_lib_m_ctanl" = x""yes; then :
22201
22202 $as_echo "#define HAVE_CTANL 1" >>confdefs.h
22203
22204 fi
22205
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf in -lm" >&5
22207 $as_echo_n "checking for tanhf in -lm... " >&6; }
22208 if test "${ac_cv_lib_m_tanhf+set}" = set; then :
22209   $as_echo_n "(cached) " >&6
22210 else
22211   ac_check_lib_save_LIBS=$LIBS
22212 LIBS="-lm  $LIBS"
22213 if test x$gcc_no_link = xyes; then
22214   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22215 fi
22216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22217 /* end confdefs.h.  */
22218
22219 /* Override any GCC internal prototype to avoid an error.
22220    Use char because int might match the return type of a GCC
22221    builtin and then its argument prototype would still apply.  */
22222 #ifdef __cplusplus
22223 extern "C"
22224 #endif
22225 char tanhf ();
22226 int
22227 main ()
22228 {
22229 return tanhf ();
22230   ;
22231   return 0;
22232 }
22233 _ACEOF
22234 if ac_fn_c_try_link "$LINENO"; then :
22235   ac_cv_lib_m_tanhf=yes
22236 else
22237   ac_cv_lib_m_tanhf=no
22238 fi
22239 rm -f core conftest.err conftest.$ac_objext \
22240     conftest$ac_exeext conftest.$ac_ext
22241 LIBS=$ac_check_lib_save_LIBS
22242 fi
22243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhf" >&5
22244 $as_echo "$ac_cv_lib_m_tanhf" >&6; }
22245 if test "x$ac_cv_lib_m_tanhf" = x""yes; then :
22246
22247 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
22248
22249 fi
22250
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh in -lm" >&5
22252 $as_echo_n "checking for tanh in -lm... " >&6; }
22253 if test "${ac_cv_lib_m_tanh+set}" = set; then :
22254   $as_echo_n "(cached) " >&6
22255 else
22256   ac_check_lib_save_LIBS=$LIBS
22257 LIBS="-lm  $LIBS"
22258 if test x$gcc_no_link = xyes; then
22259   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22260 fi
22261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22262 /* end confdefs.h.  */
22263
22264 /* Override any GCC internal prototype to avoid an error.
22265    Use char because int might match the return type of a GCC
22266    builtin and then its argument prototype would still apply.  */
22267 #ifdef __cplusplus
22268 extern "C"
22269 #endif
22270 char tanh ();
22271 int
22272 main ()
22273 {
22274 return tanh ();
22275   ;
22276   return 0;
22277 }
22278 _ACEOF
22279 if ac_fn_c_try_link "$LINENO"; then :
22280   ac_cv_lib_m_tanh=yes
22281 else
22282   ac_cv_lib_m_tanh=no
22283 fi
22284 rm -f core conftest.err conftest.$ac_objext \
22285     conftest$ac_exeext conftest.$ac_ext
22286 LIBS=$ac_check_lib_save_LIBS
22287 fi
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanh" >&5
22289 $as_echo "$ac_cv_lib_m_tanh" >&6; }
22290 if test "x$ac_cv_lib_m_tanh" = x""yes; then :
22291
22292 $as_echo "#define HAVE_TANH 1" >>confdefs.h
22293
22294 fi
22295
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl in -lm" >&5
22297 $as_echo_n "checking for tanhl in -lm... " >&6; }
22298 if test "${ac_cv_lib_m_tanhl+set}" = set; then :
22299   $as_echo_n "(cached) " >&6
22300 else
22301   ac_check_lib_save_LIBS=$LIBS
22302 LIBS="-lm  $LIBS"
22303 if test x$gcc_no_link = xyes; then
22304   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22305 fi
22306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22307 /* end confdefs.h.  */
22308
22309 /* Override any GCC internal prototype to avoid an error.
22310    Use char because int might match the return type of a GCC
22311    builtin and then its argument prototype would still apply.  */
22312 #ifdef __cplusplus
22313 extern "C"
22314 #endif
22315 char tanhl ();
22316 int
22317 main ()
22318 {
22319 return tanhl ();
22320   ;
22321   return 0;
22322 }
22323 _ACEOF
22324 if ac_fn_c_try_link "$LINENO"; then :
22325   ac_cv_lib_m_tanhl=yes
22326 else
22327   ac_cv_lib_m_tanhl=no
22328 fi
22329 rm -f core conftest.err conftest.$ac_objext \
22330     conftest$ac_exeext conftest.$ac_ext
22331 LIBS=$ac_check_lib_save_LIBS
22332 fi
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tanhl" >&5
22334 $as_echo "$ac_cv_lib_m_tanhl" >&6; }
22335 if test "x$ac_cv_lib_m_tanhl" = x""yes; then :
22336
22337 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
22338
22339 fi
22340
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf in -lm" >&5
22342 $as_echo_n "checking for ctanhf in -lm... " >&6; }
22343 if test "${ac_cv_lib_m_ctanhf+set}" = set; then :
22344   $as_echo_n "(cached) " >&6
22345 else
22346   ac_check_lib_save_LIBS=$LIBS
22347 LIBS="-lm  $LIBS"
22348 if test x$gcc_no_link = xyes; then
22349   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22350 fi
22351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22352 /* end confdefs.h.  */
22353
22354 /* Override any GCC internal prototype to avoid an error.
22355    Use char because int might match the return type of a GCC
22356    builtin and then its argument prototype would still apply.  */
22357 #ifdef __cplusplus
22358 extern "C"
22359 #endif
22360 char ctanhf ();
22361 int
22362 main ()
22363 {
22364 return ctanhf ();
22365   ;
22366   return 0;
22367 }
22368 _ACEOF
22369 if ac_fn_c_try_link "$LINENO"; then :
22370   ac_cv_lib_m_ctanhf=yes
22371 else
22372   ac_cv_lib_m_ctanhf=no
22373 fi
22374 rm -f core conftest.err conftest.$ac_objext \
22375     conftest$ac_exeext conftest.$ac_ext
22376 LIBS=$ac_check_lib_save_LIBS
22377 fi
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhf" >&5
22379 $as_echo "$ac_cv_lib_m_ctanhf" >&6; }
22380 if test "x$ac_cv_lib_m_ctanhf" = x""yes; then :
22381
22382 $as_echo "#define HAVE_CTANHF 1" >>confdefs.h
22383
22384 fi
22385
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh in -lm" >&5
22387 $as_echo_n "checking for ctanh in -lm... " >&6; }
22388 if test "${ac_cv_lib_m_ctanh+set}" = set; then :
22389   $as_echo_n "(cached) " >&6
22390 else
22391   ac_check_lib_save_LIBS=$LIBS
22392 LIBS="-lm  $LIBS"
22393 if test x$gcc_no_link = xyes; then
22394   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22395 fi
22396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22397 /* end confdefs.h.  */
22398
22399 /* Override any GCC internal prototype to avoid an error.
22400    Use char because int might match the return type of a GCC
22401    builtin and then its argument prototype would still apply.  */
22402 #ifdef __cplusplus
22403 extern "C"
22404 #endif
22405 char ctanh ();
22406 int
22407 main ()
22408 {
22409 return ctanh ();
22410   ;
22411   return 0;
22412 }
22413 _ACEOF
22414 if ac_fn_c_try_link "$LINENO"; then :
22415   ac_cv_lib_m_ctanh=yes
22416 else
22417   ac_cv_lib_m_ctanh=no
22418 fi
22419 rm -f core conftest.err conftest.$ac_objext \
22420     conftest$ac_exeext conftest.$ac_ext
22421 LIBS=$ac_check_lib_save_LIBS
22422 fi
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanh" >&5
22424 $as_echo "$ac_cv_lib_m_ctanh" >&6; }
22425 if test "x$ac_cv_lib_m_ctanh" = x""yes; then :
22426
22427 $as_echo "#define HAVE_CTANH 1" >>confdefs.h
22428
22429 fi
22430
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl in -lm" >&5
22432 $as_echo_n "checking for ctanhl in -lm... " >&6; }
22433 if test "${ac_cv_lib_m_ctanhl+set}" = set; then :
22434   $as_echo_n "(cached) " >&6
22435 else
22436   ac_check_lib_save_LIBS=$LIBS
22437 LIBS="-lm  $LIBS"
22438 if test x$gcc_no_link = xyes; then
22439   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22440 fi
22441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22442 /* end confdefs.h.  */
22443
22444 /* Override any GCC internal prototype to avoid an error.
22445    Use char because int might match the return type of a GCC
22446    builtin and then its argument prototype would still apply.  */
22447 #ifdef __cplusplus
22448 extern "C"
22449 #endif
22450 char ctanhl ();
22451 int
22452 main ()
22453 {
22454 return ctanhl ();
22455   ;
22456   return 0;
22457 }
22458 _ACEOF
22459 if ac_fn_c_try_link "$LINENO"; then :
22460   ac_cv_lib_m_ctanhl=yes
22461 else
22462   ac_cv_lib_m_ctanhl=no
22463 fi
22464 rm -f core conftest.err conftest.$ac_objext \
22465     conftest$ac_exeext conftest.$ac_ext
22466 LIBS=$ac_check_lib_save_LIBS
22467 fi
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ctanhl" >&5
22469 $as_echo "$ac_cv_lib_m_ctanhl" >&6; }
22470 if test "x$ac_cv_lib_m_ctanhl" = x""yes; then :
22471
22472 $as_echo "#define HAVE_CTANHL 1" >>confdefs.h
22473
22474 fi
22475
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf in -lm" >&5
22477 $as_echo_n "checking for truncf in -lm... " >&6; }
22478 if test "${ac_cv_lib_m_truncf+set}" = set; then :
22479   $as_echo_n "(cached) " >&6
22480 else
22481   ac_check_lib_save_LIBS=$LIBS
22482 LIBS="-lm  $LIBS"
22483 if test x$gcc_no_link = xyes; then
22484   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22485 fi
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h.  */
22488
22489 /* Override any GCC internal prototype to avoid an error.
22490    Use char because int might match the return type of a GCC
22491    builtin and then its argument prototype would still apply.  */
22492 #ifdef __cplusplus
22493 extern "C"
22494 #endif
22495 char truncf ();
22496 int
22497 main ()
22498 {
22499 return truncf ();
22500   ;
22501   return 0;
22502 }
22503 _ACEOF
22504 if ac_fn_c_try_link "$LINENO"; then :
22505   ac_cv_lib_m_truncf=yes
22506 else
22507   ac_cv_lib_m_truncf=no
22508 fi
22509 rm -f core conftest.err conftest.$ac_objext \
22510     conftest$ac_exeext conftest.$ac_ext
22511 LIBS=$ac_check_lib_save_LIBS
22512 fi
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncf" >&5
22514 $as_echo "$ac_cv_lib_m_truncf" >&6; }
22515 if test "x$ac_cv_lib_m_truncf" = x""yes; then :
22516
22517 $as_echo "#define HAVE_TRUNCF 1" >>confdefs.h
22518
22519 fi
22520
22521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc in -lm" >&5
22522 $as_echo_n "checking for trunc in -lm... " >&6; }
22523 if test "${ac_cv_lib_m_trunc+set}" = set; then :
22524   $as_echo_n "(cached) " >&6
22525 else
22526   ac_check_lib_save_LIBS=$LIBS
22527 LIBS="-lm  $LIBS"
22528 if test x$gcc_no_link = xyes; then
22529   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22530 fi
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h.  */
22533
22534 /* Override any GCC internal prototype to avoid an error.
22535    Use char because int might match the return type of a GCC
22536    builtin and then its argument prototype would still apply.  */
22537 #ifdef __cplusplus
22538 extern "C"
22539 #endif
22540 char trunc ();
22541 int
22542 main ()
22543 {
22544 return trunc ();
22545   ;
22546   return 0;
22547 }
22548 _ACEOF
22549 if ac_fn_c_try_link "$LINENO"; then :
22550   ac_cv_lib_m_trunc=yes
22551 else
22552   ac_cv_lib_m_trunc=no
22553 fi
22554 rm -f core conftest.err conftest.$ac_objext \
22555     conftest$ac_exeext conftest.$ac_ext
22556 LIBS=$ac_check_lib_save_LIBS
22557 fi
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_trunc" >&5
22559 $as_echo "$ac_cv_lib_m_trunc" >&6; }
22560 if test "x$ac_cv_lib_m_trunc" = x""yes; then :
22561
22562 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
22563
22564 fi
22565
22566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl in -lm" >&5
22567 $as_echo_n "checking for truncl in -lm... " >&6; }
22568 if test "${ac_cv_lib_m_truncl+set}" = set; then :
22569   $as_echo_n "(cached) " >&6
22570 else
22571   ac_check_lib_save_LIBS=$LIBS
22572 LIBS="-lm  $LIBS"
22573 if test x$gcc_no_link = xyes; then
22574   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22575 fi
22576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22577 /* end confdefs.h.  */
22578
22579 /* Override any GCC internal prototype to avoid an error.
22580    Use char because int might match the return type of a GCC
22581    builtin and then its argument prototype would still apply.  */
22582 #ifdef __cplusplus
22583 extern "C"
22584 #endif
22585 char truncl ();
22586 int
22587 main ()
22588 {
22589 return truncl ();
22590   ;
22591   return 0;
22592 }
22593 _ACEOF
22594 if ac_fn_c_try_link "$LINENO"; then :
22595   ac_cv_lib_m_truncl=yes
22596 else
22597   ac_cv_lib_m_truncl=no
22598 fi
22599 rm -f core conftest.err conftest.$ac_objext \
22600     conftest$ac_exeext conftest.$ac_ext
22601 LIBS=$ac_check_lib_save_LIBS
22602 fi
22603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_truncl" >&5
22604 $as_echo "$ac_cv_lib_m_truncl" >&6; }
22605 if test "x$ac_cv_lib_m_truncl" = x""yes; then :
22606
22607 $as_echo "#define HAVE_TRUNCL 1" >>confdefs.h
22608
22609 fi
22610
22611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff in -lm" >&5
22612 $as_echo_n "checking for erff in -lm... " >&6; }
22613 if test "${ac_cv_lib_m_erff+set}" = set; then :
22614   $as_echo_n "(cached) " >&6
22615 else
22616   ac_check_lib_save_LIBS=$LIBS
22617 LIBS="-lm  $LIBS"
22618 if test x$gcc_no_link = xyes; then
22619   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22620 fi
22621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22622 /* end confdefs.h.  */
22623
22624 /* Override any GCC internal prototype to avoid an error.
22625    Use char because int might match the return type of a GCC
22626    builtin and then its argument prototype would still apply.  */
22627 #ifdef __cplusplus
22628 extern "C"
22629 #endif
22630 char erff ();
22631 int
22632 main ()
22633 {
22634 return erff ();
22635   ;
22636   return 0;
22637 }
22638 _ACEOF
22639 if ac_fn_c_try_link "$LINENO"; then :
22640   ac_cv_lib_m_erff=yes
22641 else
22642   ac_cv_lib_m_erff=no
22643 fi
22644 rm -f core conftest.err conftest.$ac_objext \
22645     conftest$ac_exeext conftest.$ac_ext
22646 LIBS=$ac_check_lib_save_LIBS
22647 fi
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erff" >&5
22649 $as_echo "$ac_cv_lib_m_erff" >&6; }
22650 if test "x$ac_cv_lib_m_erff" = x""yes; then :
22651
22652 $as_echo "#define HAVE_ERFF 1" >>confdefs.h
22653
22654 fi
22655
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf in -lm" >&5
22657 $as_echo_n "checking for erf in -lm... " >&6; }
22658 if test "${ac_cv_lib_m_erf+set}" = set; then :
22659   $as_echo_n "(cached) " >&6
22660 else
22661   ac_check_lib_save_LIBS=$LIBS
22662 LIBS="-lm  $LIBS"
22663 if test x$gcc_no_link = xyes; then
22664   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22665 fi
22666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22667 /* end confdefs.h.  */
22668
22669 /* Override any GCC internal prototype to avoid an error.
22670    Use char because int might match the return type of a GCC
22671    builtin and then its argument prototype would still apply.  */
22672 #ifdef __cplusplus
22673 extern "C"
22674 #endif
22675 char erf ();
22676 int
22677 main ()
22678 {
22679 return erf ();
22680   ;
22681   return 0;
22682 }
22683 _ACEOF
22684 if ac_fn_c_try_link "$LINENO"; then :
22685   ac_cv_lib_m_erf=yes
22686 else
22687   ac_cv_lib_m_erf=no
22688 fi
22689 rm -f core conftest.err conftest.$ac_objext \
22690     conftest$ac_exeext conftest.$ac_ext
22691 LIBS=$ac_check_lib_save_LIBS
22692 fi
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erf" >&5
22694 $as_echo "$ac_cv_lib_m_erf" >&6; }
22695 if test "x$ac_cv_lib_m_erf" = x""yes; then :
22696
22697 $as_echo "#define HAVE_ERF 1" >>confdefs.h
22698
22699 fi
22700
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl in -lm" >&5
22702 $as_echo_n "checking for erfl in -lm... " >&6; }
22703 if test "${ac_cv_lib_m_erfl+set}" = set; then :
22704   $as_echo_n "(cached) " >&6
22705 else
22706   ac_check_lib_save_LIBS=$LIBS
22707 LIBS="-lm  $LIBS"
22708 if test x$gcc_no_link = xyes; then
22709   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22710 fi
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h.  */
22713
22714 /* Override any GCC internal prototype to avoid an error.
22715    Use char because int might match the return type of a GCC
22716    builtin and then its argument prototype would still apply.  */
22717 #ifdef __cplusplus
22718 extern "C"
22719 #endif
22720 char erfl ();
22721 int
22722 main ()
22723 {
22724 return erfl ();
22725   ;
22726   return 0;
22727 }
22728 _ACEOF
22729 if ac_fn_c_try_link "$LINENO"; then :
22730   ac_cv_lib_m_erfl=yes
22731 else
22732   ac_cv_lib_m_erfl=no
22733 fi
22734 rm -f core conftest.err conftest.$ac_objext \
22735     conftest$ac_exeext conftest.$ac_ext
22736 LIBS=$ac_check_lib_save_LIBS
22737 fi
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfl" >&5
22739 $as_echo "$ac_cv_lib_m_erfl" >&6; }
22740 if test "x$ac_cv_lib_m_erfl" = x""yes; then :
22741
22742 $as_echo "#define HAVE_ERFL 1" >>confdefs.h
22743
22744 fi
22745
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf in -lm" >&5
22747 $as_echo_n "checking for erfcf in -lm... " >&6; }
22748 if test "${ac_cv_lib_m_erfcf+set}" = set; then :
22749   $as_echo_n "(cached) " >&6
22750 else
22751   ac_check_lib_save_LIBS=$LIBS
22752 LIBS="-lm  $LIBS"
22753 if test x$gcc_no_link = xyes; then
22754   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22755 fi
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h.  */
22758
22759 /* Override any GCC internal prototype to avoid an error.
22760    Use char because int might match the return type of a GCC
22761    builtin and then its argument prototype would still apply.  */
22762 #ifdef __cplusplus
22763 extern "C"
22764 #endif
22765 char erfcf ();
22766 int
22767 main ()
22768 {
22769 return erfcf ();
22770   ;
22771   return 0;
22772 }
22773 _ACEOF
22774 if ac_fn_c_try_link "$LINENO"; then :
22775   ac_cv_lib_m_erfcf=yes
22776 else
22777   ac_cv_lib_m_erfcf=no
22778 fi
22779 rm -f core conftest.err conftest.$ac_objext \
22780     conftest$ac_exeext conftest.$ac_ext
22781 LIBS=$ac_check_lib_save_LIBS
22782 fi
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcf" >&5
22784 $as_echo "$ac_cv_lib_m_erfcf" >&6; }
22785 if test "x$ac_cv_lib_m_erfcf" = x""yes; then :
22786
22787 $as_echo "#define HAVE_ERFCF 1" >>confdefs.h
22788
22789 fi
22790
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc in -lm" >&5
22792 $as_echo_n "checking for erfc in -lm... " >&6; }
22793 if test "${ac_cv_lib_m_erfc+set}" = set; then :
22794   $as_echo_n "(cached) " >&6
22795 else
22796   ac_check_lib_save_LIBS=$LIBS
22797 LIBS="-lm  $LIBS"
22798 if test x$gcc_no_link = xyes; then
22799   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22800 fi
22801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22802 /* end confdefs.h.  */
22803
22804 /* Override any GCC internal prototype to avoid an error.
22805    Use char because int might match the return type of a GCC
22806    builtin and then its argument prototype would still apply.  */
22807 #ifdef __cplusplus
22808 extern "C"
22809 #endif
22810 char erfc ();
22811 int
22812 main ()
22813 {
22814 return erfc ();
22815   ;
22816   return 0;
22817 }
22818 _ACEOF
22819 if ac_fn_c_try_link "$LINENO"; then :
22820   ac_cv_lib_m_erfc=yes
22821 else
22822   ac_cv_lib_m_erfc=no
22823 fi
22824 rm -f core conftest.err conftest.$ac_objext \
22825     conftest$ac_exeext conftest.$ac_ext
22826 LIBS=$ac_check_lib_save_LIBS
22827 fi
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfc" >&5
22829 $as_echo "$ac_cv_lib_m_erfc" >&6; }
22830 if test "x$ac_cv_lib_m_erfc" = x""yes; then :
22831
22832 $as_echo "#define HAVE_ERFC 1" >>confdefs.h
22833
22834 fi
22835
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl in -lm" >&5
22837 $as_echo_n "checking for erfcl in -lm... " >&6; }
22838 if test "${ac_cv_lib_m_erfcl+set}" = set; then :
22839   $as_echo_n "(cached) " >&6
22840 else
22841   ac_check_lib_save_LIBS=$LIBS
22842 LIBS="-lm  $LIBS"
22843 if test x$gcc_no_link = xyes; then
22844   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22845 fi
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h.  */
22848
22849 /* Override any GCC internal prototype to avoid an error.
22850    Use char because int might match the return type of a GCC
22851    builtin and then its argument prototype would still apply.  */
22852 #ifdef __cplusplus
22853 extern "C"
22854 #endif
22855 char erfcl ();
22856 int
22857 main ()
22858 {
22859 return erfcl ();
22860   ;
22861   return 0;
22862 }
22863 _ACEOF
22864 if ac_fn_c_try_link "$LINENO"; then :
22865   ac_cv_lib_m_erfcl=yes
22866 else
22867   ac_cv_lib_m_erfcl=no
22868 fi
22869 rm -f core conftest.err conftest.$ac_objext \
22870     conftest$ac_exeext conftest.$ac_ext
22871 LIBS=$ac_check_lib_save_LIBS
22872 fi
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_erfcl" >&5
22874 $as_echo "$ac_cv_lib_m_erfcl" >&6; }
22875 if test "x$ac_cv_lib_m_erfcl" = x""yes; then :
22876
22877 $as_echo "#define HAVE_ERFCL 1" >>confdefs.h
22878
22879 fi
22880
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f in -lm" >&5
22882 $as_echo_n "checking for j0f in -lm... " >&6; }
22883 if test "${ac_cv_lib_m_j0f+set}" = set; then :
22884   $as_echo_n "(cached) " >&6
22885 else
22886   ac_check_lib_save_LIBS=$LIBS
22887 LIBS="-lm  $LIBS"
22888 if test x$gcc_no_link = xyes; then
22889   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22890 fi
22891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22892 /* end confdefs.h.  */
22893
22894 /* Override any GCC internal prototype to avoid an error.
22895    Use char because int might match the return type of a GCC
22896    builtin and then its argument prototype would still apply.  */
22897 #ifdef __cplusplus
22898 extern "C"
22899 #endif
22900 char j0f ();
22901 int
22902 main ()
22903 {
22904 return j0f ();
22905   ;
22906   return 0;
22907 }
22908 _ACEOF
22909 if ac_fn_c_try_link "$LINENO"; then :
22910   ac_cv_lib_m_j0f=yes
22911 else
22912   ac_cv_lib_m_j0f=no
22913 fi
22914 rm -f core conftest.err conftest.$ac_objext \
22915     conftest$ac_exeext conftest.$ac_ext
22916 LIBS=$ac_check_lib_save_LIBS
22917 fi
22918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0f" >&5
22919 $as_echo "$ac_cv_lib_m_j0f" >&6; }
22920 if test "x$ac_cv_lib_m_j0f" = x""yes; then :
22921
22922 $as_echo "#define HAVE_J0F 1" >>confdefs.h
22923
22924 fi
22925
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0 in -lm" >&5
22927 $as_echo_n "checking for j0 in -lm... " >&6; }
22928 if test "${ac_cv_lib_m_j0+set}" = set; then :
22929   $as_echo_n "(cached) " >&6
22930 else
22931   ac_check_lib_save_LIBS=$LIBS
22932 LIBS="-lm  $LIBS"
22933 if test x$gcc_no_link = xyes; then
22934   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22935 fi
22936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h.  */
22938
22939 /* Override any GCC internal prototype to avoid an error.
22940    Use char because int might match the return type of a GCC
22941    builtin and then its argument prototype would still apply.  */
22942 #ifdef __cplusplus
22943 extern "C"
22944 #endif
22945 char j0 ();
22946 int
22947 main ()
22948 {
22949 return j0 ();
22950   ;
22951   return 0;
22952 }
22953 _ACEOF
22954 if ac_fn_c_try_link "$LINENO"; then :
22955   ac_cv_lib_m_j0=yes
22956 else
22957   ac_cv_lib_m_j0=no
22958 fi
22959 rm -f core conftest.err conftest.$ac_objext \
22960     conftest$ac_exeext conftest.$ac_ext
22961 LIBS=$ac_check_lib_save_LIBS
22962 fi
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0" >&5
22964 $as_echo "$ac_cv_lib_m_j0" >&6; }
22965 if test "x$ac_cv_lib_m_j0" = x""yes; then :
22966
22967 $as_echo "#define HAVE_J0 1" >>confdefs.h
22968
22969 fi
22970
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l in -lm" >&5
22972 $as_echo_n "checking for j0l in -lm... " >&6; }
22973 if test "${ac_cv_lib_m_j0l+set}" = set; then :
22974   $as_echo_n "(cached) " >&6
22975 else
22976   ac_check_lib_save_LIBS=$LIBS
22977 LIBS="-lm  $LIBS"
22978 if test x$gcc_no_link = xyes; then
22979   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22980 fi
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h.  */
22983
22984 /* Override any GCC internal prototype to avoid an error.
22985    Use char because int might match the return type of a GCC
22986    builtin and then its argument prototype would still apply.  */
22987 #ifdef __cplusplus
22988 extern "C"
22989 #endif
22990 char j0l ();
22991 int
22992 main ()
22993 {
22994 return j0l ();
22995   ;
22996   return 0;
22997 }
22998 _ACEOF
22999 if ac_fn_c_try_link "$LINENO"; then :
23000   ac_cv_lib_m_j0l=yes
23001 else
23002   ac_cv_lib_m_j0l=no
23003 fi
23004 rm -f core conftest.err conftest.$ac_objext \
23005     conftest$ac_exeext conftest.$ac_ext
23006 LIBS=$ac_check_lib_save_LIBS
23007 fi
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j0l" >&5
23009 $as_echo "$ac_cv_lib_m_j0l" >&6; }
23010 if test "x$ac_cv_lib_m_j0l" = x""yes; then :
23011
23012 $as_echo "#define HAVE_J0L 1" >>confdefs.h
23013
23014 fi
23015
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f in -lm" >&5
23017 $as_echo_n "checking for j1f in -lm... " >&6; }
23018 if test "${ac_cv_lib_m_j1f+set}" = set; then :
23019   $as_echo_n "(cached) " >&6
23020 else
23021   ac_check_lib_save_LIBS=$LIBS
23022 LIBS="-lm  $LIBS"
23023 if test x$gcc_no_link = xyes; then
23024   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23025 fi
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h.  */
23028
23029 /* Override any GCC internal prototype to avoid an error.
23030    Use char because int might match the return type of a GCC
23031    builtin and then its argument prototype would still apply.  */
23032 #ifdef __cplusplus
23033 extern "C"
23034 #endif
23035 char j1f ();
23036 int
23037 main ()
23038 {
23039 return j1f ();
23040   ;
23041   return 0;
23042 }
23043 _ACEOF
23044 if ac_fn_c_try_link "$LINENO"; then :
23045   ac_cv_lib_m_j1f=yes
23046 else
23047   ac_cv_lib_m_j1f=no
23048 fi
23049 rm -f core conftest.err conftest.$ac_objext \
23050     conftest$ac_exeext conftest.$ac_ext
23051 LIBS=$ac_check_lib_save_LIBS
23052 fi
23053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1f" >&5
23054 $as_echo "$ac_cv_lib_m_j1f" >&6; }
23055 if test "x$ac_cv_lib_m_j1f" = x""yes; then :
23056
23057 $as_echo "#define HAVE_J1F 1" >>confdefs.h
23058
23059 fi
23060
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1 in -lm" >&5
23062 $as_echo_n "checking for j1 in -lm... " >&6; }
23063 if test "${ac_cv_lib_m_j1+set}" = set; then :
23064   $as_echo_n "(cached) " >&6
23065 else
23066   ac_check_lib_save_LIBS=$LIBS
23067 LIBS="-lm  $LIBS"
23068 if test x$gcc_no_link = xyes; then
23069   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23070 fi
23071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23072 /* end confdefs.h.  */
23073
23074 /* Override any GCC internal prototype to avoid an error.
23075    Use char because int might match the return type of a GCC
23076    builtin and then its argument prototype would still apply.  */
23077 #ifdef __cplusplus
23078 extern "C"
23079 #endif
23080 char j1 ();
23081 int
23082 main ()
23083 {
23084 return j1 ();
23085   ;
23086   return 0;
23087 }
23088 _ACEOF
23089 if ac_fn_c_try_link "$LINENO"; then :
23090   ac_cv_lib_m_j1=yes
23091 else
23092   ac_cv_lib_m_j1=no
23093 fi
23094 rm -f core conftest.err conftest.$ac_objext \
23095     conftest$ac_exeext conftest.$ac_ext
23096 LIBS=$ac_check_lib_save_LIBS
23097 fi
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1" >&5
23099 $as_echo "$ac_cv_lib_m_j1" >&6; }
23100 if test "x$ac_cv_lib_m_j1" = x""yes; then :
23101
23102 $as_echo "#define HAVE_J1 1" >>confdefs.h
23103
23104 fi
23105
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l in -lm" >&5
23107 $as_echo_n "checking for j1l in -lm... " >&6; }
23108 if test "${ac_cv_lib_m_j1l+set}" = set; then :
23109   $as_echo_n "(cached) " >&6
23110 else
23111   ac_check_lib_save_LIBS=$LIBS
23112 LIBS="-lm  $LIBS"
23113 if test x$gcc_no_link = xyes; then
23114   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23115 fi
23116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23117 /* end confdefs.h.  */
23118
23119 /* Override any GCC internal prototype to avoid an error.
23120    Use char because int might match the return type of a GCC
23121    builtin and then its argument prototype would still apply.  */
23122 #ifdef __cplusplus
23123 extern "C"
23124 #endif
23125 char j1l ();
23126 int
23127 main ()
23128 {
23129 return j1l ();
23130   ;
23131   return 0;
23132 }
23133 _ACEOF
23134 if ac_fn_c_try_link "$LINENO"; then :
23135   ac_cv_lib_m_j1l=yes
23136 else
23137   ac_cv_lib_m_j1l=no
23138 fi
23139 rm -f core conftest.err conftest.$ac_objext \
23140     conftest$ac_exeext conftest.$ac_ext
23141 LIBS=$ac_check_lib_save_LIBS
23142 fi
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_j1l" >&5
23144 $as_echo "$ac_cv_lib_m_j1l" >&6; }
23145 if test "x$ac_cv_lib_m_j1l" = x""yes; then :
23146
23147 $as_echo "#define HAVE_J1L 1" >>confdefs.h
23148
23149 fi
23150
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf in -lm" >&5
23152 $as_echo_n "checking for jnf in -lm... " >&6; }
23153 if test "${ac_cv_lib_m_jnf+set}" = set; then :
23154   $as_echo_n "(cached) " >&6
23155 else
23156   ac_check_lib_save_LIBS=$LIBS
23157 LIBS="-lm  $LIBS"
23158 if test x$gcc_no_link = xyes; then
23159   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23160 fi
23161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23162 /* end confdefs.h.  */
23163
23164 /* Override any GCC internal prototype to avoid an error.
23165    Use char because int might match the return type of a GCC
23166    builtin and then its argument prototype would still apply.  */
23167 #ifdef __cplusplus
23168 extern "C"
23169 #endif
23170 char jnf ();
23171 int
23172 main ()
23173 {
23174 return jnf ();
23175   ;
23176   return 0;
23177 }
23178 _ACEOF
23179 if ac_fn_c_try_link "$LINENO"; then :
23180   ac_cv_lib_m_jnf=yes
23181 else
23182   ac_cv_lib_m_jnf=no
23183 fi
23184 rm -f core conftest.err conftest.$ac_objext \
23185     conftest$ac_exeext conftest.$ac_ext
23186 LIBS=$ac_check_lib_save_LIBS
23187 fi
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnf" >&5
23189 $as_echo "$ac_cv_lib_m_jnf" >&6; }
23190 if test "x$ac_cv_lib_m_jnf" = x""yes; then :
23191
23192 $as_echo "#define HAVE_JNF 1" >>confdefs.h
23193
23194 fi
23195
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn in -lm" >&5
23197 $as_echo_n "checking for jn in -lm... " >&6; }
23198 if test "${ac_cv_lib_m_jn+set}" = set; then :
23199   $as_echo_n "(cached) " >&6
23200 else
23201   ac_check_lib_save_LIBS=$LIBS
23202 LIBS="-lm  $LIBS"
23203 if test x$gcc_no_link = xyes; then
23204   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23205 fi
23206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23207 /* end confdefs.h.  */
23208
23209 /* Override any GCC internal prototype to avoid an error.
23210    Use char because int might match the return type of a GCC
23211    builtin and then its argument prototype would still apply.  */
23212 #ifdef __cplusplus
23213 extern "C"
23214 #endif
23215 char jn ();
23216 int
23217 main ()
23218 {
23219 return jn ();
23220   ;
23221   return 0;
23222 }
23223 _ACEOF
23224 if ac_fn_c_try_link "$LINENO"; then :
23225   ac_cv_lib_m_jn=yes
23226 else
23227   ac_cv_lib_m_jn=no
23228 fi
23229 rm -f core conftest.err conftest.$ac_objext \
23230     conftest$ac_exeext conftest.$ac_ext
23231 LIBS=$ac_check_lib_save_LIBS
23232 fi
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jn" >&5
23234 $as_echo "$ac_cv_lib_m_jn" >&6; }
23235 if test "x$ac_cv_lib_m_jn" = x""yes; then :
23236
23237 $as_echo "#define HAVE_JN 1" >>confdefs.h
23238
23239 fi
23240
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl in -lm" >&5
23242 $as_echo_n "checking for jnl in -lm... " >&6; }
23243 if test "${ac_cv_lib_m_jnl+set}" = set; then :
23244   $as_echo_n "(cached) " >&6
23245 else
23246   ac_check_lib_save_LIBS=$LIBS
23247 LIBS="-lm  $LIBS"
23248 if test x$gcc_no_link = xyes; then
23249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23250 fi
23251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23252 /* end confdefs.h.  */
23253
23254 /* Override any GCC internal prototype to avoid an error.
23255    Use char because int might match the return type of a GCC
23256    builtin and then its argument prototype would still apply.  */
23257 #ifdef __cplusplus
23258 extern "C"
23259 #endif
23260 char jnl ();
23261 int
23262 main ()
23263 {
23264 return jnl ();
23265   ;
23266   return 0;
23267 }
23268 _ACEOF
23269 if ac_fn_c_try_link "$LINENO"; then :
23270   ac_cv_lib_m_jnl=yes
23271 else
23272   ac_cv_lib_m_jnl=no
23273 fi
23274 rm -f core conftest.err conftest.$ac_objext \
23275     conftest$ac_exeext conftest.$ac_ext
23276 LIBS=$ac_check_lib_save_LIBS
23277 fi
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_jnl" >&5
23279 $as_echo "$ac_cv_lib_m_jnl" >&6; }
23280 if test "x$ac_cv_lib_m_jnl" = x""yes; then :
23281
23282 $as_echo "#define HAVE_JNL 1" >>confdefs.h
23283
23284 fi
23285
23286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f in -lm" >&5
23287 $as_echo_n "checking for y0f in -lm... " >&6; }
23288 if test "${ac_cv_lib_m_y0f+set}" = set; then :
23289   $as_echo_n "(cached) " >&6
23290 else
23291   ac_check_lib_save_LIBS=$LIBS
23292 LIBS="-lm  $LIBS"
23293 if test x$gcc_no_link = xyes; then
23294   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23295 fi
23296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23297 /* end confdefs.h.  */
23298
23299 /* Override any GCC internal prototype to avoid an error.
23300    Use char because int might match the return type of a GCC
23301    builtin and then its argument prototype would still apply.  */
23302 #ifdef __cplusplus
23303 extern "C"
23304 #endif
23305 char y0f ();
23306 int
23307 main ()
23308 {
23309 return y0f ();
23310   ;
23311   return 0;
23312 }
23313 _ACEOF
23314 if ac_fn_c_try_link "$LINENO"; then :
23315   ac_cv_lib_m_y0f=yes
23316 else
23317   ac_cv_lib_m_y0f=no
23318 fi
23319 rm -f core conftest.err conftest.$ac_objext \
23320     conftest$ac_exeext conftest.$ac_ext
23321 LIBS=$ac_check_lib_save_LIBS
23322 fi
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0f" >&5
23324 $as_echo "$ac_cv_lib_m_y0f" >&6; }
23325 if test "x$ac_cv_lib_m_y0f" = x""yes; then :
23326
23327 $as_echo "#define HAVE_Y0F 1" >>confdefs.h
23328
23329 fi
23330
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0 in -lm" >&5
23332 $as_echo_n "checking for y0 in -lm... " >&6; }
23333 if test "${ac_cv_lib_m_y0+set}" = set; then :
23334   $as_echo_n "(cached) " >&6
23335 else
23336   ac_check_lib_save_LIBS=$LIBS
23337 LIBS="-lm  $LIBS"
23338 if test x$gcc_no_link = xyes; then
23339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23340 fi
23341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23342 /* end confdefs.h.  */
23343
23344 /* Override any GCC internal prototype to avoid an error.
23345    Use char because int might match the return type of a GCC
23346    builtin and then its argument prototype would still apply.  */
23347 #ifdef __cplusplus
23348 extern "C"
23349 #endif
23350 char y0 ();
23351 int
23352 main ()
23353 {
23354 return y0 ();
23355   ;
23356   return 0;
23357 }
23358 _ACEOF
23359 if ac_fn_c_try_link "$LINENO"; then :
23360   ac_cv_lib_m_y0=yes
23361 else
23362   ac_cv_lib_m_y0=no
23363 fi
23364 rm -f core conftest.err conftest.$ac_objext \
23365     conftest$ac_exeext conftest.$ac_ext
23366 LIBS=$ac_check_lib_save_LIBS
23367 fi
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0" >&5
23369 $as_echo "$ac_cv_lib_m_y0" >&6; }
23370 if test "x$ac_cv_lib_m_y0" = x""yes; then :
23371
23372 $as_echo "#define HAVE_Y0 1" >>confdefs.h
23373
23374 fi
23375
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l in -lm" >&5
23377 $as_echo_n "checking for y0l in -lm... " >&6; }
23378 if test "${ac_cv_lib_m_y0l+set}" = set; then :
23379   $as_echo_n "(cached) " >&6
23380 else
23381   ac_check_lib_save_LIBS=$LIBS
23382 LIBS="-lm  $LIBS"
23383 if test x$gcc_no_link = xyes; then
23384   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23385 fi
23386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23387 /* end confdefs.h.  */
23388
23389 /* Override any GCC internal prototype to avoid an error.
23390    Use char because int might match the return type of a GCC
23391    builtin and then its argument prototype would still apply.  */
23392 #ifdef __cplusplus
23393 extern "C"
23394 #endif
23395 char y0l ();
23396 int
23397 main ()
23398 {
23399 return y0l ();
23400   ;
23401   return 0;
23402 }
23403 _ACEOF
23404 if ac_fn_c_try_link "$LINENO"; then :
23405   ac_cv_lib_m_y0l=yes
23406 else
23407   ac_cv_lib_m_y0l=no
23408 fi
23409 rm -f core conftest.err conftest.$ac_objext \
23410     conftest$ac_exeext conftest.$ac_ext
23411 LIBS=$ac_check_lib_save_LIBS
23412 fi
23413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y0l" >&5
23414 $as_echo "$ac_cv_lib_m_y0l" >&6; }
23415 if test "x$ac_cv_lib_m_y0l" = x""yes; then :
23416
23417 $as_echo "#define HAVE_Y0L 1" >>confdefs.h
23418
23419 fi
23420
23421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f in -lm" >&5
23422 $as_echo_n "checking for y1f in -lm... " >&6; }
23423 if test "${ac_cv_lib_m_y1f+set}" = set; then :
23424   $as_echo_n "(cached) " >&6
23425 else
23426   ac_check_lib_save_LIBS=$LIBS
23427 LIBS="-lm  $LIBS"
23428 if test x$gcc_no_link = xyes; then
23429   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23430 fi
23431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23432 /* end confdefs.h.  */
23433
23434 /* Override any GCC internal prototype to avoid an error.
23435    Use char because int might match the return type of a GCC
23436    builtin and then its argument prototype would still apply.  */
23437 #ifdef __cplusplus
23438 extern "C"
23439 #endif
23440 char y1f ();
23441 int
23442 main ()
23443 {
23444 return y1f ();
23445   ;
23446   return 0;
23447 }
23448 _ACEOF
23449 if ac_fn_c_try_link "$LINENO"; then :
23450   ac_cv_lib_m_y1f=yes
23451 else
23452   ac_cv_lib_m_y1f=no
23453 fi
23454 rm -f core conftest.err conftest.$ac_objext \
23455     conftest$ac_exeext conftest.$ac_ext
23456 LIBS=$ac_check_lib_save_LIBS
23457 fi
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1f" >&5
23459 $as_echo "$ac_cv_lib_m_y1f" >&6; }
23460 if test "x$ac_cv_lib_m_y1f" = x""yes; then :
23461
23462 $as_echo "#define HAVE_Y1F 1" >>confdefs.h
23463
23464 fi
23465
23466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1 in -lm" >&5
23467 $as_echo_n "checking for y1 in -lm... " >&6; }
23468 if test "${ac_cv_lib_m_y1+set}" = set; then :
23469   $as_echo_n "(cached) " >&6
23470 else
23471   ac_check_lib_save_LIBS=$LIBS
23472 LIBS="-lm  $LIBS"
23473 if test x$gcc_no_link = xyes; then
23474   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23475 fi
23476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23477 /* end confdefs.h.  */
23478
23479 /* Override any GCC internal prototype to avoid an error.
23480    Use char because int might match the return type of a GCC
23481    builtin and then its argument prototype would still apply.  */
23482 #ifdef __cplusplus
23483 extern "C"
23484 #endif
23485 char y1 ();
23486 int
23487 main ()
23488 {
23489 return y1 ();
23490   ;
23491   return 0;
23492 }
23493 _ACEOF
23494 if ac_fn_c_try_link "$LINENO"; then :
23495   ac_cv_lib_m_y1=yes
23496 else
23497   ac_cv_lib_m_y1=no
23498 fi
23499 rm -f core conftest.err conftest.$ac_objext \
23500     conftest$ac_exeext conftest.$ac_ext
23501 LIBS=$ac_check_lib_save_LIBS
23502 fi
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1" >&5
23504 $as_echo "$ac_cv_lib_m_y1" >&6; }
23505 if test "x$ac_cv_lib_m_y1" = x""yes; then :
23506
23507 $as_echo "#define HAVE_Y1 1" >>confdefs.h
23508
23509 fi
23510
23511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l in -lm" >&5
23512 $as_echo_n "checking for y1l in -lm... " >&6; }
23513 if test "${ac_cv_lib_m_y1l+set}" = set; then :
23514   $as_echo_n "(cached) " >&6
23515 else
23516   ac_check_lib_save_LIBS=$LIBS
23517 LIBS="-lm  $LIBS"
23518 if test x$gcc_no_link = xyes; then
23519   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23520 fi
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h.  */
23523
23524 /* Override any GCC internal prototype to avoid an error.
23525    Use char because int might match the return type of a GCC
23526    builtin and then its argument prototype would still apply.  */
23527 #ifdef __cplusplus
23528 extern "C"
23529 #endif
23530 char y1l ();
23531 int
23532 main ()
23533 {
23534 return y1l ();
23535   ;
23536   return 0;
23537 }
23538 _ACEOF
23539 if ac_fn_c_try_link "$LINENO"; then :
23540   ac_cv_lib_m_y1l=yes
23541 else
23542   ac_cv_lib_m_y1l=no
23543 fi
23544 rm -f core conftest.err conftest.$ac_objext \
23545     conftest$ac_exeext conftest.$ac_ext
23546 LIBS=$ac_check_lib_save_LIBS
23547 fi
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_y1l" >&5
23549 $as_echo "$ac_cv_lib_m_y1l" >&6; }
23550 if test "x$ac_cv_lib_m_y1l" = x""yes; then :
23551
23552 $as_echo "#define HAVE_Y1L 1" >>confdefs.h
23553
23554 fi
23555
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf in -lm" >&5
23557 $as_echo_n "checking for ynf in -lm... " >&6; }
23558 if test "${ac_cv_lib_m_ynf+set}" = set; then :
23559   $as_echo_n "(cached) " >&6
23560 else
23561   ac_check_lib_save_LIBS=$LIBS
23562 LIBS="-lm  $LIBS"
23563 if test x$gcc_no_link = xyes; then
23564   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23565 fi
23566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23567 /* end confdefs.h.  */
23568
23569 /* Override any GCC internal prototype to avoid an error.
23570    Use char because int might match the return type of a GCC
23571    builtin and then its argument prototype would still apply.  */
23572 #ifdef __cplusplus
23573 extern "C"
23574 #endif
23575 char ynf ();
23576 int
23577 main ()
23578 {
23579 return ynf ();
23580   ;
23581   return 0;
23582 }
23583 _ACEOF
23584 if ac_fn_c_try_link "$LINENO"; then :
23585   ac_cv_lib_m_ynf=yes
23586 else
23587   ac_cv_lib_m_ynf=no
23588 fi
23589 rm -f core conftest.err conftest.$ac_objext \
23590     conftest$ac_exeext conftest.$ac_ext
23591 LIBS=$ac_check_lib_save_LIBS
23592 fi
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynf" >&5
23594 $as_echo "$ac_cv_lib_m_ynf" >&6; }
23595 if test "x$ac_cv_lib_m_ynf" = x""yes; then :
23596
23597 $as_echo "#define HAVE_YNF 1" >>confdefs.h
23598
23599 fi
23600
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn in -lm" >&5
23602 $as_echo_n "checking for yn in -lm... " >&6; }
23603 if test "${ac_cv_lib_m_yn+set}" = set; then :
23604   $as_echo_n "(cached) " >&6
23605 else
23606   ac_check_lib_save_LIBS=$LIBS
23607 LIBS="-lm  $LIBS"
23608 if test x$gcc_no_link = xyes; then
23609   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23610 fi
23611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23612 /* end confdefs.h.  */
23613
23614 /* Override any GCC internal prototype to avoid an error.
23615    Use char because int might match the return type of a GCC
23616    builtin and then its argument prototype would still apply.  */
23617 #ifdef __cplusplus
23618 extern "C"
23619 #endif
23620 char yn ();
23621 int
23622 main ()
23623 {
23624 return yn ();
23625   ;
23626   return 0;
23627 }
23628 _ACEOF
23629 if ac_fn_c_try_link "$LINENO"; then :
23630   ac_cv_lib_m_yn=yes
23631 else
23632   ac_cv_lib_m_yn=no
23633 fi
23634 rm -f core conftest.err conftest.$ac_objext \
23635     conftest$ac_exeext conftest.$ac_ext
23636 LIBS=$ac_check_lib_save_LIBS
23637 fi
23638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_yn" >&5
23639 $as_echo "$ac_cv_lib_m_yn" >&6; }
23640 if test "x$ac_cv_lib_m_yn" = x""yes; then :
23641
23642 $as_echo "#define HAVE_YN 1" >>confdefs.h
23643
23644 fi
23645
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl in -lm" >&5
23647 $as_echo_n "checking for ynl in -lm... " >&6; }
23648 if test "${ac_cv_lib_m_ynl+set}" = set; then :
23649   $as_echo_n "(cached) " >&6
23650 else
23651   ac_check_lib_save_LIBS=$LIBS
23652 LIBS="-lm  $LIBS"
23653 if test x$gcc_no_link = xyes; then
23654   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23655 fi
23656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23657 /* end confdefs.h.  */
23658
23659 /* Override any GCC internal prototype to avoid an error.
23660    Use char because int might match the return type of a GCC
23661    builtin and then its argument prototype would still apply.  */
23662 #ifdef __cplusplus
23663 extern "C"
23664 #endif
23665 char ynl ();
23666 int
23667 main ()
23668 {
23669 return ynl ();
23670   ;
23671   return 0;
23672 }
23673 _ACEOF
23674 if ac_fn_c_try_link "$LINENO"; then :
23675   ac_cv_lib_m_ynl=yes
23676 else
23677   ac_cv_lib_m_ynl=no
23678 fi
23679 rm -f core conftest.err conftest.$ac_objext \
23680     conftest$ac_exeext conftest.$ac_ext
23681 LIBS=$ac_check_lib_save_LIBS
23682 fi
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_ynl" >&5
23684 $as_echo "$ac_cv_lib_m_ynl" >&6; }
23685 if test "x$ac_cv_lib_m_ynl" = x""yes; then :
23686
23687 $as_echo "#define HAVE_YNL 1" >>confdefs.h
23688
23689 fi
23690
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma in -lm" >&5
23692 $as_echo_n "checking for tgamma in -lm... " >&6; }
23693 if test "${ac_cv_lib_m_tgamma+set}" = set; then :
23694   $as_echo_n "(cached) " >&6
23695 else
23696   ac_check_lib_save_LIBS=$LIBS
23697 LIBS="-lm  $LIBS"
23698 if test x$gcc_no_link = xyes; then
23699   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23700 fi
23701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23702 /* end confdefs.h.  */
23703
23704 /* Override any GCC internal prototype to avoid an error.
23705    Use char because int might match the return type of a GCC
23706    builtin and then its argument prototype would still apply.  */
23707 #ifdef __cplusplus
23708 extern "C"
23709 #endif
23710 char tgamma ();
23711 int
23712 main ()
23713 {
23714 return tgamma ();
23715   ;
23716   return 0;
23717 }
23718 _ACEOF
23719 if ac_fn_c_try_link "$LINENO"; then :
23720   ac_cv_lib_m_tgamma=yes
23721 else
23722   ac_cv_lib_m_tgamma=no
23723 fi
23724 rm -f core conftest.err conftest.$ac_objext \
23725     conftest$ac_exeext conftest.$ac_ext
23726 LIBS=$ac_check_lib_save_LIBS
23727 fi
23728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgamma" >&5
23729 $as_echo "$ac_cv_lib_m_tgamma" >&6; }
23730 if test "x$ac_cv_lib_m_tgamma" = x""yes; then :
23731
23732 $as_echo "#define HAVE_TGAMMA 1" >>confdefs.h
23733
23734 fi
23735
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf in -lm" >&5
23737 $as_echo_n "checking for tgammaf in -lm... " >&6; }
23738 if test "${ac_cv_lib_m_tgammaf+set}" = set; then :
23739   $as_echo_n "(cached) " >&6
23740 else
23741   ac_check_lib_save_LIBS=$LIBS
23742 LIBS="-lm  $LIBS"
23743 if test x$gcc_no_link = xyes; then
23744   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23745 fi
23746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23747 /* end confdefs.h.  */
23748
23749 /* Override any GCC internal prototype to avoid an error.
23750    Use char because int might match the return type of a GCC
23751    builtin and then its argument prototype would still apply.  */
23752 #ifdef __cplusplus
23753 extern "C"
23754 #endif
23755 char tgammaf ();
23756 int
23757 main ()
23758 {
23759 return tgammaf ();
23760   ;
23761   return 0;
23762 }
23763 _ACEOF
23764 if ac_fn_c_try_link "$LINENO"; then :
23765   ac_cv_lib_m_tgammaf=yes
23766 else
23767   ac_cv_lib_m_tgammaf=no
23768 fi
23769 rm -f core conftest.err conftest.$ac_objext \
23770     conftest$ac_exeext conftest.$ac_ext
23771 LIBS=$ac_check_lib_save_LIBS
23772 fi
23773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammaf" >&5
23774 $as_echo "$ac_cv_lib_m_tgammaf" >&6; }
23775 if test "x$ac_cv_lib_m_tgammaf" = x""yes; then :
23776
23777 $as_echo "#define HAVE_TGAMMAF 1" >>confdefs.h
23778
23779 fi
23780
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal in -lm" >&5
23782 $as_echo_n "checking for tgammal in -lm... " >&6; }
23783 if test "${ac_cv_lib_m_tgammal+set}" = set; then :
23784   $as_echo_n "(cached) " >&6
23785 else
23786   ac_check_lib_save_LIBS=$LIBS
23787 LIBS="-lm  $LIBS"
23788 if test x$gcc_no_link = xyes; then
23789   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23790 fi
23791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23792 /* end confdefs.h.  */
23793
23794 /* Override any GCC internal prototype to avoid an error.
23795    Use char because int might match the return type of a GCC
23796    builtin and then its argument prototype would still apply.  */
23797 #ifdef __cplusplus
23798 extern "C"
23799 #endif
23800 char tgammal ();
23801 int
23802 main ()
23803 {
23804 return tgammal ();
23805   ;
23806   return 0;
23807 }
23808 _ACEOF
23809 if ac_fn_c_try_link "$LINENO"; then :
23810   ac_cv_lib_m_tgammal=yes
23811 else
23812   ac_cv_lib_m_tgammal=no
23813 fi
23814 rm -f core conftest.err conftest.$ac_objext \
23815     conftest$ac_exeext conftest.$ac_ext
23816 LIBS=$ac_check_lib_save_LIBS
23817 fi
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_tgammal" >&5
23819 $as_echo "$ac_cv_lib_m_tgammal" >&6; }
23820 if test "x$ac_cv_lib_m_tgammal" = x""yes; then :
23821
23822 $as_echo "#define HAVE_TGAMMAL 1" >>confdefs.h
23823
23824 fi
23825
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma in -lm" >&5
23827 $as_echo_n "checking for lgamma in -lm... " >&6; }
23828 if test "${ac_cv_lib_m_lgamma+set}" = set; then :
23829   $as_echo_n "(cached) " >&6
23830 else
23831   ac_check_lib_save_LIBS=$LIBS
23832 LIBS="-lm  $LIBS"
23833 if test x$gcc_no_link = xyes; then
23834   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23835 fi
23836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23837 /* end confdefs.h.  */
23838
23839 /* Override any GCC internal prototype to avoid an error.
23840    Use char because int might match the return type of a GCC
23841    builtin and then its argument prototype would still apply.  */
23842 #ifdef __cplusplus
23843 extern "C"
23844 #endif
23845 char lgamma ();
23846 int
23847 main ()
23848 {
23849 return lgamma ();
23850   ;
23851   return 0;
23852 }
23853 _ACEOF
23854 if ac_fn_c_try_link "$LINENO"; then :
23855   ac_cv_lib_m_lgamma=yes
23856 else
23857   ac_cv_lib_m_lgamma=no
23858 fi
23859 rm -f core conftest.err conftest.$ac_objext \
23860     conftest$ac_exeext conftest.$ac_ext
23861 LIBS=$ac_check_lib_save_LIBS
23862 fi
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgamma" >&5
23864 $as_echo "$ac_cv_lib_m_lgamma" >&6; }
23865 if test "x$ac_cv_lib_m_lgamma" = x""yes; then :
23866
23867 $as_echo "#define HAVE_LGAMMA 1" >>confdefs.h
23868
23869 fi
23870
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf in -lm" >&5
23872 $as_echo_n "checking for lgammaf in -lm... " >&6; }
23873 if test "${ac_cv_lib_m_lgammaf+set}" = set; then :
23874   $as_echo_n "(cached) " >&6
23875 else
23876   ac_check_lib_save_LIBS=$LIBS
23877 LIBS="-lm  $LIBS"
23878 if test x$gcc_no_link = xyes; then
23879   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23880 fi
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h.  */
23883
23884 /* Override any GCC internal prototype to avoid an error.
23885    Use char because int might match the return type of a GCC
23886    builtin and then its argument prototype would still apply.  */
23887 #ifdef __cplusplus
23888 extern "C"
23889 #endif
23890 char lgammaf ();
23891 int
23892 main ()
23893 {
23894 return lgammaf ();
23895   ;
23896   return 0;
23897 }
23898 _ACEOF
23899 if ac_fn_c_try_link "$LINENO"; then :
23900   ac_cv_lib_m_lgammaf=yes
23901 else
23902   ac_cv_lib_m_lgammaf=no
23903 fi
23904 rm -f core conftest.err conftest.$ac_objext \
23905     conftest$ac_exeext conftest.$ac_ext
23906 LIBS=$ac_check_lib_save_LIBS
23907 fi
23908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammaf" >&5
23909 $as_echo "$ac_cv_lib_m_lgammaf" >&6; }
23910 if test "x$ac_cv_lib_m_lgammaf" = x""yes; then :
23911
23912 $as_echo "#define HAVE_LGAMMAF 1" >>confdefs.h
23913
23914 fi
23915
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal in -lm" >&5
23917 $as_echo_n "checking for lgammal in -lm... " >&6; }
23918 if test "${ac_cv_lib_m_lgammal+set}" = set; then :
23919   $as_echo_n "(cached) " >&6
23920 else
23921   ac_check_lib_save_LIBS=$LIBS
23922 LIBS="-lm  $LIBS"
23923 if test x$gcc_no_link = xyes; then
23924   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23925 fi
23926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23927 /* end confdefs.h.  */
23928
23929 /* Override any GCC internal prototype to avoid an error.
23930    Use char because int might match the return type of a GCC
23931    builtin and then its argument prototype would still apply.  */
23932 #ifdef __cplusplus
23933 extern "C"
23934 #endif
23935 char lgammal ();
23936 int
23937 main ()
23938 {
23939 return lgammal ();
23940   ;
23941   return 0;
23942 }
23943 _ACEOF
23944 if ac_fn_c_try_link "$LINENO"; then :
23945   ac_cv_lib_m_lgammal=yes
23946 else
23947   ac_cv_lib_m_lgammal=no
23948 fi
23949 rm -f core conftest.err conftest.$ac_objext \
23950     conftest$ac_exeext conftest.$ac_ext
23951 LIBS=$ac_check_lib_save_LIBS
23952 fi
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lgammal" >&5
23954 $as_echo "$ac_cv_lib_m_lgammal" >&6; }
23955 if test "x$ac_cv_lib_m_lgammal" = x""yes; then :
23956
23957 $as_echo "#define HAVE_LGAMMAL 1" >>confdefs.h
23958
23959 fi
23960
23961
23962 # Check for GFORTRAN_C99_1.1 funcs
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos in -lm" >&5
23964 $as_echo_n "checking for cacos in -lm... " >&6; }
23965 if test "${ac_cv_lib_m_cacos+set}" = set; then :
23966   $as_echo_n "(cached) " >&6
23967 else
23968   ac_check_lib_save_LIBS=$LIBS
23969 LIBS="-lm  $LIBS"
23970 if test x$gcc_no_link = xyes; then
23971   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23972 fi
23973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23974 /* end confdefs.h.  */
23975
23976 /* Override any GCC internal prototype to avoid an error.
23977    Use char because int might match the return type of a GCC
23978    builtin and then its argument prototype would still apply.  */
23979 #ifdef __cplusplus
23980 extern "C"
23981 #endif
23982 char cacos ();
23983 int
23984 main ()
23985 {
23986 return cacos ();
23987   ;
23988   return 0;
23989 }
23990 _ACEOF
23991 if ac_fn_c_try_link "$LINENO"; then :
23992   ac_cv_lib_m_cacos=yes
23993 else
23994   ac_cv_lib_m_cacos=no
23995 fi
23996 rm -f core conftest.err conftest.$ac_objext \
23997     conftest$ac_exeext conftest.$ac_ext
23998 LIBS=$ac_check_lib_save_LIBS
23999 fi
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacos" >&5
24001 $as_echo "$ac_cv_lib_m_cacos" >&6; }
24002 if test "x$ac_cv_lib_m_cacos" = x""yes; then :
24003
24004 $as_echo "#define HAVE_CACOS 1" >>confdefs.h
24005
24006 fi
24007
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf in -lm" >&5
24009 $as_echo_n "checking for cacosf in -lm... " >&6; }
24010 if test "${ac_cv_lib_m_cacosf+set}" = set; then :
24011   $as_echo_n "(cached) " >&6
24012 else
24013   ac_check_lib_save_LIBS=$LIBS
24014 LIBS="-lm  $LIBS"
24015 if test x$gcc_no_link = xyes; then
24016   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24017 fi
24018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24019 /* end confdefs.h.  */
24020
24021 /* Override any GCC internal prototype to avoid an error.
24022    Use char because int might match the return type of a GCC
24023    builtin and then its argument prototype would still apply.  */
24024 #ifdef __cplusplus
24025 extern "C"
24026 #endif
24027 char cacosf ();
24028 int
24029 main ()
24030 {
24031 return cacosf ();
24032   ;
24033   return 0;
24034 }
24035 _ACEOF
24036 if ac_fn_c_try_link "$LINENO"; then :
24037   ac_cv_lib_m_cacosf=yes
24038 else
24039   ac_cv_lib_m_cacosf=no
24040 fi
24041 rm -f core conftest.err conftest.$ac_objext \
24042     conftest$ac_exeext conftest.$ac_ext
24043 LIBS=$ac_check_lib_save_LIBS
24044 fi
24045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosf" >&5
24046 $as_echo "$ac_cv_lib_m_cacosf" >&6; }
24047 if test "x$ac_cv_lib_m_cacosf" = x""yes; then :
24048
24049 $as_echo "#define HAVE_CACOSF 1" >>confdefs.h
24050
24051 fi
24052
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh in -lm" >&5
24054 $as_echo_n "checking for cacosh in -lm... " >&6; }
24055 if test "${ac_cv_lib_m_cacosh+set}" = set; then :
24056   $as_echo_n "(cached) " >&6
24057 else
24058   ac_check_lib_save_LIBS=$LIBS
24059 LIBS="-lm  $LIBS"
24060 if test x$gcc_no_link = xyes; then
24061   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24062 fi
24063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24064 /* end confdefs.h.  */
24065
24066 /* Override any GCC internal prototype to avoid an error.
24067    Use char because int might match the return type of a GCC
24068    builtin and then its argument prototype would still apply.  */
24069 #ifdef __cplusplus
24070 extern "C"
24071 #endif
24072 char cacosh ();
24073 int
24074 main ()
24075 {
24076 return cacosh ();
24077   ;
24078   return 0;
24079 }
24080 _ACEOF
24081 if ac_fn_c_try_link "$LINENO"; then :
24082   ac_cv_lib_m_cacosh=yes
24083 else
24084   ac_cv_lib_m_cacosh=no
24085 fi
24086 rm -f core conftest.err conftest.$ac_objext \
24087     conftest$ac_exeext conftest.$ac_ext
24088 LIBS=$ac_check_lib_save_LIBS
24089 fi
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosh" >&5
24091 $as_echo "$ac_cv_lib_m_cacosh" >&6; }
24092 if test "x$ac_cv_lib_m_cacosh" = x""yes; then :
24093
24094 $as_echo "#define HAVE_CACOSH 1" >>confdefs.h
24095
24096 fi
24097
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf in -lm" >&5
24099 $as_echo_n "checking for cacoshf in -lm... " >&6; }
24100 if test "${ac_cv_lib_m_cacoshf+set}" = set; then :
24101   $as_echo_n "(cached) " >&6
24102 else
24103   ac_check_lib_save_LIBS=$LIBS
24104 LIBS="-lm  $LIBS"
24105 if test x$gcc_no_link = xyes; then
24106   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24107 fi
24108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24109 /* end confdefs.h.  */
24110
24111 /* Override any GCC internal prototype to avoid an error.
24112    Use char because int might match the return type of a GCC
24113    builtin and then its argument prototype would still apply.  */
24114 #ifdef __cplusplus
24115 extern "C"
24116 #endif
24117 char cacoshf ();
24118 int
24119 main ()
24120 {
24121 return cacoshf ();
24122   ;
24123   return 0;
24124 }
24125 _ACEOF
24126 if ac_fn_c_try_link "$LINENO"; then :
24127   ac_cv_lib_m_cacoshf=yes
24128 else
24129   ac_cv_lib_m_cacoshf=no
24130 fi
24131 rm -f core conftest.err conftest.$ac_objext \
24132     conftest$ac_exeext conftest.$ac_ext
24133 LIBS=$ac_check_lib_save_LIBS
24134 fi
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshf" >&5
24136 $as_echo "$ac_cv_lib_m_cacoshf" >&6; }
24137 if test "x$ac_cv_lib_m_cacoshf" = x""yes; then :
24138
24139 $as_echo "#define HAVE_CACOSHF 1" >>confdefs.h
24140
24141 fi
24142
24143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl in -lm" >&5
24144 $as_echo_n "checking for cacoshl in -lm... " >&6; }
24145 if test "${ac_cv_lib_m_cacoshl+set}" = set; then :
24146   $as_echo_n "(cached) " >&6
24147 else
24148   ac_check_lib_save_LIBS=$LIBS
24149 LIBS="-lm  $LIBS"
24150 if test x$gcc_no_link = xyes; then
24151   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24152 fi
24153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24154 /* end confdefs.h.  */
24155
24156 /* Override any GCC internal prototype to avoid an error.
24157    Use char because int might match the return type of a GCC
24158    builtin and then its argument prototype would still apply.  */
24159 #ifdef __cplusplus
24160 extern "C"
24161 #endif
24162 char cacoshl ();
24163 int
24164 main ()
24165 {
24166 return cacoshl ();
24167   ;
24168   return 0;
24169 }
24170 _ACEOF
24171 if ac_fn_c_try_link "$LINENO"; then :
24172   ac_cv_lib_m_cacoshl=yes
24173 else
24174   ac_cv_lib_m_cacoshl=no
24175 fi
24176 rm -f core conftest.err conftest.$ac_objext \
24177     conftest$ac_exeext conftest.$ac_ext
24178 LIBS=$ac_check_lib_save_LIBS
24179 fi
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacoshl" >&5
24181 $as_echo "$ac_cv_lib_m_cacoshl" >&6; }
24182 if test "x$ac_cv_lib_m_cacoshl" = x""yes; then :
24183
24184 $as_echo "#define HAVE_CACOSHL 1" >>confdefs.h
24185
24186 fi
24187
24188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl in -lm" >&5
24189 $as_echo_n "checking for cacosl in -lm... " >&6; }
24190 if test "${ac_cv_lib_m_cacosl+set}" = set; then :
24191   $as_echo_n "(cached) " >&6
24192 else
24193   ac_check_lib_save_LIBS=$LIBS
24194 LIBS="-lm  $LIBS"
24195 if test x$gcc_no_link = xyes; then
24196   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24197 fi
24198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24199 /* end confdefs.h.  */
24200
24201 /* Override any GCC internal prototype to avoid an error.
24202    Use char because int might match the return type of a GCC
24203    builtin and then its argument prototype would still apply.  */
24204 #ifdef __cplusplus
24205 extern "C"
24206 #endif
24207 char cacosl ();
24208 int
24209 main ()
24210 {
24211 return cacosl ();
24212   ;
24213   return 0;
24214 }
24215 _ACEOF
24216 if ac_fn_c_try_link "$LINENO"; then :
24217   ac_cv_lib_m_cacosl=yes
24218 else
24219   ac_cv_lib_m_cacosl=no
24220 fi
24221 rm -f core conftest.err conftest.$ac_objext \
24222     conftest$ac_exeext conftest.$ac_ext
24223 LIBS=$ac_check_lib_save_LIBS
24224 fi
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cacosl" >&5
24226 $as_echo "$ac_cv_lib_m_cacosl" >&6; }
24227 if test "x$ac_cv_lib_m_cacosl" = x""yes; then :
24228
24229 $as_echo "#define HAVE_CACOSL 1" >>confdefs.h
24230
24231 fi
24232
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin in -lm" >&5
24234 $as_echo_n "checking for casin in -lm... " >&6; }
24235 if test "${ac_cv_lib_m_casin+set}" = set; then :
24236   $as_echo_n "(cached) " >&6
24237 else
24238   ac_check_lib_save_LIBS=$LIBS
24239 LIBS="-lm  $LIBS"
24240 if test x$gcc_no_link = xyes; then
24241   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24242 fi
24243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24244 /* end confdefs.h.  */
24245
24246 /* Override any GCC internal prototype to avoid an error.
24247    Use char because int might match the return type of a GCC
24248    builtin and then its argument prototype would still apply.  */
24249 #ifdef __cplusplus
24250 extern "C"
24251 #endif
24252 char casin ();
24253 int
24254 main ()
24255 {
24256 return casin ();
24257   ;
24258   return 0;
24259 }
24260 _ACEOF
24261 if ac_fn_c_try_link "$LINENO"; then :
24262   ac_cv_lib_m_casin=yes
24263 else
24264   ac_cv_lib_m_casin=no
24265 fi
24266 rm -f core conftest.err conftest.$ac_objext \
24267     conftest$ac_exeext conftest.$ac_ext
24268 LIBS=$ac_check_lib_save_LIBS
24269 fi
24270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casin" >&5
24271 $as_echo "$ac_cv_lib_m_casin" >&6; }
24272 if test "x$ac_cv_lib_m_casin" = x""yes; then :
24273
24274 $as_echo "#define HAVE_CASIN 1" >>confdefs.h
24275
24276 fi
24277
24278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf in -lm" >&5
24279 $as_echo_n "checking for casinf in -lm... " >&6; }
24280 if test "${ac_cv_lib_m_casinf+set}" = set; then :
24281   $as_echo_n "(cached) " >&6
24282 else
24283   ac_check_lib_save_LIBS=$LIBS
24284 LIBS="-lm  $LIBS"
24285 if test x$gcc_no_link = xyes; then
24286   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24287 fi
24288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24289 /* end confdefs.h.  */
24290
24291 /* Override any GCC internal prototype to avoid an error.
24292    Use char because int might match the return type of a GCC
24293    builtin and then its argument prototype would still apply.  */
24294 #ifdef __cplusplus
24295 extern "C"
24296 #endif
24297 char casinf ();
24298 int
24299 main ()
24300 {
24301 return casinf ();
24302   ;
24303   return 0;
24304 }
24305 _ACEOF
24306 if ac_fn_c_try_link "$LINENO"; then :
24307   ac_cv_lib_m_casinf=yes
24308 else
24309   ac_cv_lib_m_casinf=no
24310 fi
24311 rm -f core conftest.err conftest.$ac_objext \
24312     conftest$ac_exeext conftest.$ac_ext
24313 LIBS=$ac_check_lib_save_LIBS
24314 fi
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinf" >&5
24316 $as_echo "$ac_cv_lib_m_casinf" >&6; }
24317 if test "x$ac_cv_lib_m_casinf" = x""yes; then :
24318
24319 $as_echo "#define HAVE_CASINF 1" >>confdefs.h
24320
24321 fi
24322
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh in -lm" >&5
24324 $as_echo_n "checking for casinh in -lm... " >&6; }
24325 if test "${ac_cv_lib_m_casinh+set}" = set; then :
24326   $as_echo_n "(cached) " >&6
24327 else
24328   ac_check_lib_save_LIBS=$LIBS
24329 LIBS="-lm  $LIBS"
24330 if test x$gcc_no_link = xyes; then
24331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24332 fi
24333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24334 /* end confdefs.h.  */
24335
24336 /* Override any GCC internal prototype to avoid an error.
24337    Use char because int might match the return type of a GCC
24338    builtin and then its argument prototype would still apply.  */
24339 #ifdef __cplusplus
24340 extern "C"
24341 #endif
24342 char casinh ();
24343 int
24344 main ()
24345 {
24346 return casinh ();
24347   ;
24348   return 0;
24349 }
24350 _ACEOF
24351 if ac_fn_c_try_link "$LINENO"; then :
24352   ac_cv_lib_m_casinh=yes
24353 else
24354   ac_cv_lib_m_casinh=no
24355 fi
24356 rm -f core conftest.err conftest.$ac_objext \
24357     conftest$ac_exeext conftest.$ac_ext
24358 LIBS=$ac_check_lib_save_LIBS
24359 fi
24360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinh" >&5
24361 $as_echo "$ac_cv_lib_m_casinh" >&6; }
24362 if test "x$ac_cv_lib_m_casinh" = x""yes; then :
24363
24364 $as_echo "#define HAVE_CASINH 1" >>confdefs.h
24365
24366 fi
24367
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf in -lm" >&5
24369 $as_echo_n "checking for casinhf in -lm... " >&6; }
24370 if test "${ac_cv_lib_m_casinhf+set}" = set; then :
24371   $as_echo_n "(cached) " >&6
24372 else
24373   ac_check_lib_save_LIBS=$LIBS
24374 LIBS="-lm  $LIBS"
24375 if test x$gcc_no_link = xyes; then
24376   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24377 fi
24378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24379 /* end confdefs.h.  */
24380
24381 /* Override any GCC internal prototype to avoid an error.
24382    Use char because int might match the return type of a GCC
24383    builtin and then its argument prototype would still apply.  */
24384 #ifdef __cplusplus
24385 extern "C"
24386 #endif
24387 char casinhf ();
24388 int
24389 main ()
24390 {
24391 return casinhf ();
24392   ;
24393   return 0;
24394 }
24395 _ACEOF
24396 if ac_fn_c_try_link "$LINENO"; then :
24397   ac_cv_lib_m_casinhf=yes
24398 else
24399   ac_cv_lib_m_casinhf=no
24400 fi
24401 rm -f core conftest.err conftest.$ac_objext \
24402     conftest$ac_exeext conftest.$ac_ext
24403 LIBS=$ac_check_lib_save_LIBS
24404 fi
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhf" >&5
24406 $as_echo "$ac_cv_lib_m_casinhf" >&6; }
24407 if test "x$ac_cv_lib_m_casinhf" = x""yes; then :
24408
24409 $as_echo "#define HAVE_CASINHF 1" >>confdefs.h
24410
24411 fi
24412
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl in -lm" >&5
24414 $as_echo_n "checking for casinhl in -lm... " >&6; }
24415 if test "${ac_cv_lib_m_casinhl+set}" = set; then :
24416   $as_echo_n "(cached) " >&6
24417 else
24418   ac_check_lib_save_LIBS=$LIBS
24419 LIBS="-lm  $LIBS"
24420 if test x$gcc_no_link = xyes; then
24421   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24422 fi
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h.  */
24425
24426 /* Override any GCC internal prototype to avoid an error.
24427    Use char because int might match the return type of a GCC
24428    builtin and then its argument prototype would still apply.  */
24429 #ifdef __cplusplus
24430 extern "C"
24431 #endif
24432 char casinhl ();
24433 int
24434 main ()
24435 {
24436 return casinhl ();
24437   ;
24438   return 0;
24439 }
24440 _ACEOF
24441 if ac_fn_c_try_link "$LINENO"; then :
24442   ac_cv_lib_m_casinhl=yes
24443 else
24444   ac_cv_lib_m_casinhl=no
24445 fi
24446 rm -f core conftest.err conftest.$ac_objext \
24447     conftest$ac_exeext conftest.$ac_ext
24448 LIBS=$ac_check_lib_save_LIBS
24449 fi
24450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinhl" >&5
24451 $as_echo "$ac_cv_lib_m_casinhl" >&6; }
24452 if test "x$ac_cv_lib_m_casinhl" = x""yes; then :
24453
24454 $as_echo "#define HAVE_CASINHL 1" >>confdefs.h
24455
24456 fi
24457
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl in -lm" >&5
24459 $as_echo_n "checking for casinl in -lm... " >&6; }
24460 if test "${ac_cv_lib_m_casinl+set}" = set; then :
24461   $as_echo_n "(cached) " >&6
24462 else
24463   ac_check_lib_save_LIBS=$LIBS
24464 LIBS="-lm  $LIBS"
24465 if test x$gcc_no_link = xyes; then
24466   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24467 fi
24468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24469 /* end confdefs.h.  */
24470
24471 /* Override any GCC internal prototype to avoid an error.
24472    Use char because int might match the return type of a GCC
24473    builtin and then its argument prototype would still apply.  */
24474 #ifdef __cplusplus
24475 extern "C"
24476 #endif
24477 char casinl ();
24478 int
24479 main ()
24480 {
24481 return casinl ();
24482   ;
24483   return 0;
24484 }
24485 _ACEOF
24486 if ac_fn_c_try_link "$LINENO"; then :
24487   ac_cv_lib_m_casinl=yes
24488 else
24489   ac_cv_lib_m_casinl=no
24490 fi
24491 rm -f core conftest.err conftest.$ac_objext \
24492     conftest$ac_exeext conftest.$ac_ext
24493 LIBS=$ac_check_lib_save_LIBS
24494 fi
24495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_casinl" >&5
24496 $as_echo "$ac_cv_lib_m_casinl" >&6; }
24497 if test "x$ac_cv_lib_m_casinl" = x""yes; then :
24498
24499 $as_echo "#define HAVE_CASINL 1" >>confdefs.h
24500
24501 fi
24502
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan in -lm" >&5
24504 $as_echo_n "checking for catan in -lm... " >&6; }
24505 if test "${ac_cv_lib_m_catan+set}" = set; then :
24506   $as_echo_n "(cached) " >&6
24507 else
24508   ac_check_lib_save_LIBS=$LIBS
24509 LIBS="-lm  $LIBS"
24510 if test x$gcc_no_link = xyes; then
24511   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24512 fi
24513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24514 /* end confdefs.h.  */
24515
24516 /* Override any GCC internal prototype to avoid an error.
24517    Use char because int might match the return type of a GCC
24518    builtin and then its argument prototype would still apply.  */
24519 #ifdef __cplusplus
24520 extern "C"
24521 #endif
24522 char catan ();
24523 int
24524 main ()
24525 {
24526 return catan ();
24527   ;
24528   return 0;
24529 }
24530 _ACEOF
24531 if ac_fn_c_try_link "$LINENO"; then :
24532   ac_cv_lib_m_catan=yes
24533 else
24534   ac_cv_lib_m_catan=no
24535 fi
24536 rm -f core conftest.err conftest.$ac_objext \
24537     conftest$ac_exeext conftest.$ac_ext
24538 LIBS=$ac_check_lib_save_LIBS
24539 fi
24540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catan" >&5
24541 $as_echo "$ac_cv_lib_m_catan" >&6; }
24542 if test "x$ac_cv_lib_m_catan" = x""yes; then :
24543
24544 $as_echo "#define HAVE_CATAN 1" >>confdefs.h
24545
24546 fi
24547
24548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf in -lm" >&5
24549 $as_echo_n "checking for catanf in -lm... " >&6; }
24550 if test "${ac_cv_lib_m_catanf+set}" = set; then :
24551   $as_echo_n "(cached) " >&6
24552 else
24553   ac_check_lib_save_LIBS=$LIBS
24554 LIBS="-lm  $LIBS"
24555 if test x$gcc_no_link = xyes; then
24556   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24557 fi
24558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24559 /* end confdefs.h.  */
24560
24561 /* Override any GCC internal prototype to avoid an error.
24562    Use char because int might match the return type of a GCC
24563    builtin and then its argument prototype would still apply.  */
24564 #ifdef __cplusplus
24565 extern "C"
24566 #endif
24567 char catanf ();
24568 int
24569 main ()
24570 {
24571 return catanf ();
24572   ;
24573   return 0;
24574 }
24575 _ACEOF
24576 if ac_fn_c_try_link "$LINENO"; then :
24577   ac_cv_lib_m_catanf=yes
24578 else
24579   ac_cv_lib_m_catanf=no
24580 fi
24581 rm -f core conftest.err conftest.$ac_objext \
24582     conftest$ac_exeext conftest.$ac_ext
24583 LIBS=$ac_check_lib_save_LIBS
24584 fi
24585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanf" >&5
24586 $as_echo "$ac_cv_lib_m_catanf" >&6; }
24587 if test "x$ac_cv_lib_m_catanf" = x""yes; then :
24588
24589 $as_echo "#define HAVE_CATANF 1" >>confdefs.h
24590
24591 fi
24592
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh in -lm" >&5
24594 $as_echo_n "checking for catanh in -lm... " >&6; }
24595 if test "${ac_cv_lib_m_catanh+set}" = set; then :
24596   $as_echo_n "(cached) " >&6
24597 else
24598   ac_check_lib_save_LIBS=$LIBS
24599 LIBS="-lm  $LIBS"
24600 if test x$gcc_no_link = xyes; then
24601   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24602 fi
24603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24604 /* end confdefs.h.  */
24605
24606 /* Override any GCC internal prototype to avoid an error.
24607    Use char because int might match the return type of a GCC
24608    builtin and then its argument prototype would still apply.  */
24609 #ifdef __cplusplus
24610 extern "C"
24611 #endif
24612 char catanh ();
24613 int
24614 main ()
24615 {
24616 return catanh ();
24617   ;
24618   return 0;
24619 }
24620 _ACEOF
24621 if ac_fn_c_try_link "$LINENO"; then :
24622   ac_cv_lib_m_catanh=yes
24623 else
24624   ac_cv_lib_m_catanh=no
24625 fi
24626 rm -f core conftest.err conftest.$ac_objext \
24627     conftest$ac_exeext conftest.$ac_ext
24628 LIBS=$ac_check_lib_save_LIBS
24629 fi
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanh" >&5
24631 $as_echo "$ac_cv_lib_m_catanh" >&6; }
24632 if test "x$ac_cv_lib_m_catanh" = x""yes; then :
24633
24634 $as_echo "#define HAVE_CATANH 1" >>confdefs.h
24635
24636 fi
24637
24638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf in -lm" >&5
24639 $as_echo_n "checking for catanhf in -lm... " >&6; }
24640 if test "${ac_cv_lib_m_catanhf+set}" = set; then :
24641   $as_echo_n "(cached) " >&6
24642 else
24643   ac_check_lib_save_LIBS=$LIBS
24644 LIBS="-lm  $LIBS"
24645 if test x$gcc_no_link = xyes; then
24646   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24647 fi
24648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24649 /* end confdefs.h.  */
24650
24651 /* Override any GCC internal prototype to avoid an error.
24652    Use char because int might match the return type of a GCC
24653    builtin and then its argument prototype would still apply.  */
24654 #ifdef __cplusplus
24655 extern "C"
24656 #endif
24657 char catanhf ();
24658 int
24659 main ()
24660 {
24661 return catanhf ();
24662   ;
24663   return 0;
24664 }
24665 _ACEOF
24666 if ac_fn_c_try_link "$LINENO"; then :
24667   ac_cv_lib_m_catanhf=yes
24668 else
24669   ac_cv_lib_m_catanhf=no
24670 fi
24671 rm -f core conftest.err conftest.$ac_objext \
24672     conftest$ac_exeext conftest.$ac_ext
24673 LIBS=$ac_check_lib_save_LIBS
24674 fi
24675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhf" >&5
24676 $as_echo "$ac_cv_lib_m_catanhf" >&6; }
24677 if test "x$ac_cv_lib_m_catanhf" = x""yes; then :
24678
24679 $as_echo "#define HAVE_CATANHF 1" >>confdefs.h
24680
24681 fi
24682
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl in -lm" >&5
24684 $as_echo_n "checking for catanhl in -lm... " >&6; }
24685 if test "${ac_cv_lib_m_catanhl+set}" = set; then :
24686   $as_echo_n "(cached) " >&6
24687 else
24688   ac_check_lib_save_LIBS=$LIBS
24689 LIBS="-lm  $LIBS"
24690 if test x$gcc_no_link = xyes; then
24691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24692 fi
24693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24694 /* end confdefs.h.  */
24695
24696 /* Override any GCC internal prototype to avoid an error.
24697    Use char because int might match the return type of a GCC
24698    builtin and then its argument prototype would still apply.  */
24699 #ifdef __cplusplus
24700 extern "C"
24701 #endif
24702 char catanhl ();
24703 int
24704 main ()
24705 {
24706 return catanhl ();
24707   ;
24708   return 0;
24709 }
24710 _ACEOF
24711 if ac_fn_c_try_link "$LINENO"; then :
24712   ac_cv_lib_m_catanhl=yes
24713 else
24714   ac_cv_lib_m_catanhl=no
24715 fi
24716 rm -f core conftest.err conftest.$ac_objext \
24717     conftest$ac_exeext conftest.$ac_ext
24718 LIBS=$ac_check_lib_save_LIBS
24719 fi
24720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanhl" >&5
24721 $as_echo "$ac_cv_lib_m_catanhl" >&6; }
24722 if test "x$ac_cv_lib_m_catanhl" = x""yes; then :
24723
24724 $as_echo "#define HAVE_CATANHL 1" >>confdefs.h
24725
24726 fi
24727
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl in -lm" >&5
24729 $as_echo_n "checking for catanl in -lm... " >&6; }
24730 if test "${ac_cv_lib_m_catanl+set}" = set; then :
24731   $as_echo_n "(cached) " >&6
24732 else
24733   ac_check_lib_save_LIBS=$LIBS
24734 LIBS="-lm  $LIBS"
24735 if test x$gcc_no_link = xyes; then
24736   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24737 fi
24738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24739 /* end confdefs.h.  */
24740
24741 /* Override any GCC internal prototype to avoid an error.
24742    Use char because int might match the return type of a GCC
24743    builtin and then its argument prototype would still apply.  */
24744 #ifdef __cplusplus
24745 extern "C"
24746 #endif
24747 char catanl ();
24748 int
24749 main ()
24750 {
24751 return catanl ();
24752   ;
24753   return 0;
24754 }
24755 _ACEOF
24756 if ac_fn_c_try_link "$LINENO"; then :
24757   ac_cv_lib_m_catanl=yes
24758 else
24759   ac_cv_lib_m_catanl=no
24760 fi
24761 rm -f core conftest.err conftest.$ac_objext \
24762     conftest$ac_exeext conftest.$ac_ext
24763 LIBS=$ac_check_lib_save_LIBS
24764 fi
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_catanl" >&5
24766 $as_echo "$ac_cv_lib_m_catanl" >&6; }
24767 if test "x$ac_cv_lib_m_catanl" = x""yes; then :
24768
24769 $as_echo "#define HAVE_CATANL 1" >>confdefs.h
24770
24771 fi
24772
24773
24774 # On AIX, clog is present in libm as __clog
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
24776 $as_echo_n "checking for __clog in -lm... " >&6; }
24777 if test "${ac_cv_lib_m___clog+set}" = set; then :
24778   $as_echo_n "(cached) " >&6
24779 else
24780   ac_check_lib_save_LIBS=$LIBS
24781 LIBS="-lm  $LIBS"
24782 if test x$gcc_no_link = xyes; then
24783   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24784 fi
24785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24786 /* end confdefs.h.  */
24787
24788 /* Override any GCC internal prototype to avoid an error.
24789    Use char because int might match the return type of a GCC
24790    builtin and then its argument prototype would still apply.  */
24791 #ifdef __cplusplus
24792 extern "C"
24793 #endif
24794 char __clog ();
24795 int
24796 main ()
24797 {
24798 return __clog ();
24799   ;
24800   return 0;
24801 }
24802 _ACEOF
24803 if ac_fn_c_try_link "$LINENO"; then :
24804   ac_cv_lib_m___clog=yes
24805 else
24806   ac_cv_lib_m___clog=no
24807 fi
24808 rm -f core conftest.err conftest.$ac_objext \
24809     conftest$ac_exeext conftest.$ac_ext
24810 LIBS=$ac_check_lib_save_LIBS
24811 fi
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
24813 $as_echo "$ac_cv_lib_m___clog" >&6; }
24814 if test "x$ac_cv_lib_m___clog" = x""yes; then :
24815
24816 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
24817
24818 fi
24819
24820
24821 # Check whether the system has a working stat()
24822
24823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
24824 $as_echo_n "checking whether the target stat is reliable... " >&6; }
24825 if test "${libgfor_cv_have_working_stat+set}" = set; then :
24826   $as_echo_n "(cached) " >&6
24827 else
24828
24829   if test "$cross_compiling" = yes; then :
24830
24831 case "${target}" in
24832   *mingw*) libgfor_cv_have_working_stat=no ;;
24833   *) libgfor_cv_have_working_stat=yes;;
24834 esac
24835 else
24836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h.  */
24838
24839 #include <stdio.h>
24840 #include <sys/types.h>
24841 #include <sys/stat.h>
24842 #include <unistd.h>
24843
24844 int main ()
24845 {
24846   FILE *f, *g;
24847   struct stat st1, st2;
24848
24849   f = fopen ("foo", "w");
24850   g = fopen ("bar", "w");
24851   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
24852     return 1;
24853   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
24854     return 1;
24855   fclose(f);
24856   fclose(g);
24857   return 0;
24858 }
24859 _ACEOF
24860 if ac_fn_c_try_run "$LINENO"; then :
24861   libgfor_cv_have_working_stat=yes
24862 else
24863   libgfor_cv_have_working_stat=no
24864 fi
24865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24866   conftest.$ac_objext conftest.beam conftest.$ac_ext
24867 fi
24868
24869 fi
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
24871 $as_echo "$libgfor_cv_have_working_stat" >&6; }
24872 if test x"$libgfor_cv_have_working_stat" = xyes; then
24873
24874 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
24875
24876 fi
24877
24878 # Check whether __mingw_snprintf() is present
24879
24880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
24881 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
24882 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
24883   $as_echo_n "(cached) " >&6
24884 else
24885
24886     if test x$gcc_no_link = xyes; then
24887   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24888 fi
24889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24890 /* end confdefs.h.  */
24891
24892 #include <stdio.h>
24893 extern int __mingw_snprintf (char *, size_t, const char *, ...);
24894
24895 int
24896 main ()
24897 {
24898
24899 __mingw_snprintf (NULL, 0, "%d\n", 1);
24900
24901   ;
24902   return 0;
24903 }
24904 _ACEOF
24905 if ac_fn_c_try_link "$LINENO"; then :
24906   eval "libgfor_cv_have_mingw_snprintf=yes"
24907 else
24908   eval "libgfor_cv_have_mingw_snprintf=no"
24909 fi
24910 rm -f core conftest.err conftest.$ac_objext \
24911     conftest$ac_exeext conftest.$ac_ext
24912
24913 fi
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
24915 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
24916   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
24917
24918 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
24919
24920   fi
24921
24922
24923 # Check for a broken powf implementation
24924
24925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
24926 $as_echo_n "checking whether powf is broken... " >&6; }
24927 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
24928   $as_echo_n "(cached) " >&6
24929 else
24930
24931 case "${target}" in
24932   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
24933   *) libgfor_cv_have_broken_powf=no;;
24934 esac
24935 fi
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
24937 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
24938   if test x"$libgfor_cv_have_broken_powf" = xyes; then
24939
24940 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
24941
24942   fi
24943
24944
24945 # Check whether libquadmath should be used
24946 # Check whether --enable-libquadmath-support was given.
24947 if test "${enable_libquadmath_support+set}" = set; then :
24948   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
24949 else
24950   ENABLE_LIBQUADMATH_SUPPORT=yes
24951 fi
24952
24953 enable_libquadmath_support=
24954 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
24955   enable_libquadmath_support=no
24956 fi
24957
24958 # Check whether we have a __float128 type, depends on enable_libquadmath_support
24959
24960   LIBQUADSPEC=
24961
24962   if test "x$enable_libquadmath_support" != xno; then
24963
24964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
24965 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
24966 if test "${libgfor_cv_have_float128+set}" = set; then :
24967   $as_echo_n "(cached) " >&6
24968 else
24969
24970    if test x$gcc_no_link = xyes; then
24971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24972 /* end confdefs.h.  */
24973
24974     typedef _Complex float __attribute__((mode(TC))) __complex128;
24975
24976     __float128 foo (__float128 x)
24977     {
24978
24979      __complex128 z1, z2;
24980
24981      z1 = x;
24982      z2 = x / 7.Q;
24983      z2 /= z1;
24984
24985      return (__float128) z2;
24986     }
24987
24988     __float128 bar (__float128 x)
24989     {
24990       return x * __builtin_huge_valq ();
24991     }
24992
24993 int
24994 main ()
24995 {
24996
24997     foo (1.2Q);
24998     bar (1.2Q);
24999
25000   ;
25001   return 0;
25002 }
25003 _ACEOF
25004 if ac_fn_c_try_compile "$LINENO"; then :
25005
25006     libgfor_cv_have_float128=yes
25007
25008 else
25009
25010     libgfor_cv_have_float128=no
25011
25012 fi
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25014 else
25015   if test x$gcc_no_link = xyes; then
25016   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25017 fi
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h.  */
25020
25021     typedef _Complex float __attribute__((mode(TC))) __complex128;
25022
25023     __float128 foo (__float128 x)
25024     {
25025
25026      __complex128 z1, z2;
25027
25028      z1 = x;
25029      z2 = x / 7.Q;
25030      z2 /= z1;
25031
25032      return (__float128) z2;
25033     }
25034
25035     __float128 bar (__float128 x)
25036     {
25037       return x * __builtin_huge_valq ();
25038     }
25039
25040 int
25041 main ()
25042 {
25043
25044     foo (1.2Q);
25045     bar (1.2Q);
25046
25047   ;
25048   return 0;
25049 }
25050 _ACEOF
25051 if ac_fn_c_try_link "$LINENO"; then :
25052
25053     libgfor_cv_have_float128=yes
25054
25055 else
25056
25057     libgfor_cv_have_float128=no
25058
25059 fi
25060 rm -f core conftest.err conftest.$ac_objext \
25061     conftest$ac_exeext conftest.$ac_ext
25062 fi
25063 fi
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25065 $as_echo "$libgfor_cv_have_float128" >&6; }
25066
25067   if test "x$libgfor_cv_have_float128" = xyes; then
25068
25069 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25070
25071
25072                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
25073     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25074 $as_echo_n "checking whether --as-needed works... " >&6; }
25075 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25076   $as_echo_n "(cached) " >&6
25077 else
25078
25079       save_LDFLAGS="$LDFLAGS"
25080       LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25081       libgfor_cv_have_as_needed=no
25082
25083 ac_c_werror_flag=yes
25084       if test x$gcc_no_link = xyes; then
25085   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25086 fi
25087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h.  */
25089
25090 int
25091 main ()
25092 {
25093
25094   ;
25095   return 0;
25096 }
25097 _ACEOF
25098 if ac_fn_c_try_link "$LINENO"; then :
25099   libgfor_cv_have_as_needed=yes
25100 else
25101   libgfor_cv_have_as_needed=no
25102 fi
25103 rm -f core conftest.err conftest.$ac_objext \
25104     conftest$ac_exeext conftest.$ac_ext
25105       LDFLAGS="$save_LDFLAGS"
25106       ac_c_werror_flag=$ac_xsave_c_werror_flag
25107
25108 fi
25109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25110 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25111
25112         if test "x$libgfor_cv_have_as_needed" = xyes; then
25113       LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25114     else
25115       LIBQUADSPEC="-lquadmath"
25116     fi
25117     if test -f ../libquadmath/libquadmath.la; then
25118       LIBQUADLIB=../libquadmath/libquadmath.la
25119       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25120       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25121     else
25122       LIBQUADLIB="-lquadmath"
25123       LIBQUADLIB_DEP=
25124       LIBQUADINCLUDE=
25125     fi
25126   fi
25127   else
25128     # for --disable-quadmath
25129     LIBQUADLIB=
25130     LIBQUADLIB_DEP=
25131     LIBQUADINCLUDE=
25132   fi
25133
25134
25135
25136
25137
25138
25139      if test "x$libgfor_cv_have_float128" = xyes; then
25140   LIBGFOR_BUILD_QUAD_TRUE=
25141   LIBGFOR_BUILD_QUAD_FALSE='#'
25142 else
25143   LIBGFOR_BUILD_QUAD_TRUE='#'
25144   LIBGFOR_BUILD_QUAD_FALSE=
25145 fi
25146
25147
25148
25149 # Check for GNU libc feenableexcept
25150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25151 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25152 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25153   $as_echo_n "(cached) " >&6
25154 else
25155   ac_check_lib_save_LIBS=$LIBS
25156 LIBS="-lm  $LIBS"
25157 if test x$gcc_no_link = xyes; then
25158   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25159 fi
25160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25161 /* end confdefs.h.  */
25162
25163 /* Override any GCC internal prototype to avoid an error.
25164    Use char because int might match the return type of a GCC
25165    builtin and then its argument prototype would still apply.  */
25166 #ifdef __cplusplus
25167 extern "C"
25168 #endif
25169 char feenableexcept ();
25170 int
25171 main ()
25172 {
25173 return feenableexcept ();
25174   ;
25175   return 0;
25176 }
25177 _ACEOF
25178 if ac_fn_c_try_link "$LINENO"; then :
25179   ac_cv_lib_m_feenableexcept=yes
25180 else
25181   ac_cv_lib_m_feenableexcept=no
25182 fi
25183 rm -f core conftest.err conftest.$ac_objext \
25184     conftest$ac_exeext conftest.$ac_ext
25185 LIBS=$ac_check_lib_save_LIBS
25186 fi
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25188 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25189 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25190   have_feenableexcept=yes
25191 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25192
25193 fi
25194
25195
25196 # At least for glibc and Tru64, clock_gettime is in librt.  But don't
25197 # pull that in if it still doesn't give us the function we want.  This
25198 # test is copied from libgomp, and modified to not link in -lrt as
25199 # libgfortran calls clock_gettime via a weak reference if it's found
25200 # in librt.
25201 if test $ac_cv_func_clock_gettime = no; then
25202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25203 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25204 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25205   $as_echo_n "(cached) " >&6
25206 else
25207   ac_check_lib_save_LIBS=$LIBS
25208 LIBS="-lrt  $LIBS"
25209 if test x$gcc_no_link = xyes; then
25210   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25211 fi
25212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25213 /* end confdefs.h.  */
25214
25215 /* Override any GCC internal prototype to avoid an error.
25216    Use char because int might match the return type of a GCC
25217    builtin and then its argument prototype would still apply.  */
25218 #ifdef __cplusplus
25219 extern "C"
25220 #endif
25221 char clock_gettime ();
25222 int
25223 main ()
25224 {
25225 return clock_gettime ();
25226   ;
25227   return 0;
25228 }
25229 _ACEOF
25230 if ac_fn_c_try_link "$LINENO"; then :
25231   ac_cv_lib_rt_clock_gettime=yes
25232 else
25233   ac_cv_lib_rt_clock_gettime=no
25234 fi
25235 rm -f core conftest.err conftest.$ac_objext \
25236     conftest$ac_exeext conftest.$ac_ext
25237 LIBS=$ac_check_lib_save_LIBS
25238 fi
25239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25240 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25241 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25242
25243 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25244
25245 fi
25246
25247 fi
25248
25249 # Check for SysV fpsetmask
25250
25251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25252 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25253 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25254   $as_echo_n "(cached) " >&6
25255 else
25256
25257     if test x$gcc_no_link = xyes; then
25258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25259 fi
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h.  */
25262
25263 #if HAVE_FLOATINGPOINT_H
25264 # include <floatingpoint.h>
25265 #endif /* HAVE_FLOATINGPOINT_H */
25266 #if HAVE_IEEEFP_H
25267 # include <ieeefp.h>
25268 #endif /* HAVE_IEEEFP_H */
25269 int
25270 main ()
25271 {
25272 fpsetmask(0);
25273   ;
25274   return 0;
25275 }
25276 _ACEOF
25277 if ac_fn_c_try_link "$LINENO"; then :
25278   eval "libgfor_cv_have_fpsetmask=yes"
25279 else
25280   eval "libgfor_cv_have_fpsetmask=no"
25281 fi
25282 rm -f core conftest.err conftest.$ac_objext \
25283     conftest$ac_exeext conftest.$ac_ext
25284
25285 fi
25286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25287 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25288   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25289     have_fpsetmask=yes
25290
25291 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25292
25293   fi
25294
25295
25296 # Check for AIX fp_trap and fp_enable
25297 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25298 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25299   have_fp_trap=yes
25300 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25301
25302 fi
25303
25304 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25305 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25306   have_fp_enable=yes
25307 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25308
25309 fi
25310
25311
25312 # Runs configure.host to set up necessary host-dependent shell variables.
25313 # We then display a message about it, and propagate them through the
25314 # build chain.
25315 . ${srcdir}/configure.host
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25317 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25318 FPU_HOST_HEADER=config/${fpu_host}.h
25319
25320
25321 # Some targets require additional compiler options for IEEE compatibility.
25322 IEEE_FLAGS="${ieee_flags}"
25323
25324
25325
25326 # Check for POSIX getpwuid_r
25327 #
25328 # There are two versions of getpwuid_r, the POSIX one with 5
25329 # arguments, and another one with 4 arguments used by at least HP-UX
25330 # 10.2.
25331 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25332    { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25333 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25334 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25335   $as_echo_n "(cached) " >&6
25336 else
25337
25338    if test x$gcc_no_link = xyes; then
25339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25340 fi
25341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25342 /* end confdefs.h.  */
25343
25344 #include <stdio.h>
25345 #include <sys/types.h>
25346 #include <pwd.h>
25347 int
25348 main ()
25349 {
25350
25351     getpwuid_r(0, NULL, NULL, 0, NULL);
25352
25353   ;
25354   return 0;
25355 }
25356 _ACEOF
25357 if ac_fn_c_try_link "$LINENO"; then :
25358   libgfor_cv_posix_getpwuid_r="yes"
25359 else
25360   libgfor_cv_posix_getpwuid_r="no"
25361 fi
25362 rm -f core conftest.err conftest.$ac_objext \
25363     conftest$ac_exeext conftest.$ac_ext
25364 fi
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
25366 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
25367 fi
25368 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
25369
25370 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
25371
25372 fi
25373
25374
25375 # Check out attribute support.
25376
25377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
25378 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
25379 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
25380   $as_echo_n "(cached) " >&6
25381 else
25382
25383   save_CFLAGS="$CFLAGS"
25384   CFLAGS="$CFLAGS -Werror"
25385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25386 /* end confdefs.h.  */
25387 void __attribute__((visibility("hidden"))) foo(void) { }
25388 int
25389 main ()
25390 {
25391
25392   ;
25393   return 0;
25394 }
25395 _ACEOF
25396 if ac_fn_c_try_compile "$LINENO"; then :
25397   libgfor_cv_have_attribute_visibility=yes
25398 else
25399   libgfor_cv_have_attribute_visibility=no
25400 fi
25401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25402   CFLAGS="$save_CFLAGS"
25403 fi
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
25405 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
25406   if test $libgfor_cv_have_attribute_visibility = yes; then
25407
25408 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
25409
25410   fi
25411
25412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
25413 $as_echo_n "checking whether the target supports dllexport... " >&6; }
25414 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
25415   $as_echo_n "(cached) " >&6
25416 else
25417
25418   save_CFLAGS="$CFLAGS"
25419   CFLAGS="$CFLAGS -Werror"
25420   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25421 /* end confdefs.h.  */
25422 void __attribute__((dllexport)) foo(void) { }
25423 int
25424 main ()
25425 {
25426
25427   ;
25428   return 0;
25429 }
25430 _ACEOF
25431 if ac_fn_c_try_compile "$LINENO"; then :
25432   libgfor_cv_have_attribute_dllexport=yes
25433 else
25434   libgfor_cv_have_attribute_dllexport=no
25435 fi
25436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25437   CFLAGS="$save_CFLAGS"
25438 fi
25439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
25440 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
25441   if test $libgfor_cv_have_attribute_dllexport = yes; then
25442
25443 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
25444
25445   fi
25446
25447   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
25448 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
25449 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
25450   $as_echo_n "(cached) " >&6
25451 else
25452
25453   if test x$gcc_no_link = xyes; then
25454   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25455 fi
25456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457 /* end confdefs.h.  */
25458
25459 void foo(void) { }
25460 extern void bar(void) __attribute__((alias("foo")));
25461 int
25462 main ()
25463 {
25464 bar();
25465   ;
25466   return 0;
25467 }
25468 _ACEOF
25469 if ac_fn_c_try_link "$LINENO"; then :
25470   libgfor_cv_have_attribute_alias=yes
25471 else
25472   libgfor_cv_have_attribute_alias=no
25473 fi
25474 rm -f core conftest.err conftest.$ac_objext \
25475     conftest$ac_exeext conftest.$ac_ext
25476 fi
25477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
25478 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
25479   if test $libgfor_cv_have_attribute_alias = yes; then
25480
25481 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
25482
25483   fi
25484
25485 # Check out sync builtins support.
25486
25487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
25488 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
25489 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
25490   $as_echo_n "(cached) " >&6
25491 else
25492
25493   if test x$gcc_no_link = xyes; then
25494   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25495 fi
25496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25497 /* end confdefs.h.  */
25498 int foovar = 0;
25499 int
25500 main ()
25501 {
25502
25503 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
25504 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
25505   ;
25506   return 0;
25507 }
25508 _ACEOF
25509 if ac_fn_c_try_link "$LINENO"; then :
25510   libgfor_cv_have_sync_fetch_and_add=yes
25511 else
25512   libgfor_cv_have_sync_fetch_and_add=no
25513 fi
25514 rm -f core conftest.err conftest.$ac_objext \
25515     conftest$ac_exeext conftest.$ac_ext
25516 fi
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
25518 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
25519   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
25520
25521 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
25522
25523   fi
25524
25525 # Check out #pragma weak.
25526
25527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
25528 $as_echo_n "checking whether pragma weak works... " >&6; }
25529 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
25530   $as_echo_n "(cached) " >&6
25531 else
25532
25533   gfor_save_CFLAGS="$CFLAGS"
25534   CFLAGS="$CFLAGS -Wunknown-pragmas"
25535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25536 /* end confdefs.h.  */
25537
25538 void foo (void);
25539 #pragma weak foo
25540
25541 int
25542 main ()
25543 {
25544 if (foo) foo ();
25545   ;
25546   return 0;
25547 }
25548 _ACEOF
25549 if ac_fn_c_try_compile "$LINENO"; then :
25550   libgfor_cv_have_pragma_weak=yes
25551 else
25552   libgfor_cv_have_pragma_weak=no
25553 fi
25554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25555 fi
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
25557 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
25558   if test $libgfor_cv_have_pragma_weak = yes; then
25559
25560 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
25561
25562   fi
25563   case "$host" in
25564     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | alpha*-dec-osf* )
25565
25566 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
25567
25568       ;;
25569   esac
25570
25571 # Various other checks on target
25572
25573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
25574 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
25575 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
25576   $as_echo_n "(cached) " >&6
25577 else
25578
25579   if test "$cross_compiling" = yes; then :
25580
25581 case "${target}" in
25582   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
25583   *) libgfor_cv_have_unlink_open_file=yes;;
25584 esac
25585 else
25586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25587 /* end confdefs.h.  */
25588
25589 #include <errno.h>
25590 #include <fcntl.h>
25591 #include <unistd.h>
25592 #include <sys/stat.h>
25593
25594 int main ()
25595 {
25596   int fd;
25597
25598   fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
25599   if (fd <= 0)
25600     return 0;
25601   if (unlink ("testfile") == -1)
25602     return 1;
25603   write (fd, "This is a test\n", 15);
25604   close (fd);
25605
25606   if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
25607     return 0;
25608   else
25609     return 1;
25610 }
25611 _ACEOF
25612 if ac_fn_c_try_run "$LINENO"; then :
25613   libgfor_cv_have_unlink_open_file=yes
25614 else
25615   libgfor_cv_have_unlink_open_file=no
25616 fi
25617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25618   conftest.$ac_objext conftest.beam conftest.$ac_ext
25619 fi
25620
25621 fi
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
25623 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
25624 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
25625
25626 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
25627
25628 fi
25629
25630 # Check whether line terminator is LF or CRLF
25631
25632   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
25633 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
25634 if test "${libgfor_cv_have_crlf+set}" = set; then :
25635   $as_echo_n "(cached) " >&6
25636 else
25637
25638   if test "$cross_compiling" = yes; then :
25639
25640 case "${target}" in
25641   *mingw*) libgfor_cv_have_crlf=yes ;;
25642   *) libgfor_cv_have_crlf=no;;
25643 esac
25644 else
25645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25646 /* end confdefs.h.  */
25647
25648 /* This test program should exit with status 0 if system uses a CRLF as
25649    line terminator, and status 1 otherwise.
25650    Since it is used to check for mingw systems, and should return 0 in any
25651    other case, in case of a failure we will not use CRLF.  */
25652 #include <sys/stat.h>
25653 #include <stdlib.h>
25654 #include <fcntl.h>
25655 #include <stdio.h>
25656
25657 int main ()
25658 {
25659 #ifndef O_BINARY
25660   exit(1);
25661 #else
25662   int fd, bytes;
25663   char buff[5];
25664
25665   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
25666   if (fd < 0)
25667     exit(1);
25668   if (write (fd, "\n", 1) < 0)
25669     perror ("write");
25670
25671   close (fd);
25672
25673   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
25674     exit(1);
25675   bytes = read (fd, buff, 5);
25676   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
25677     exit(0);
25678   else
25679     exit(1);
25680 #endif
25681 }
25682 _ACEOF
25683 if ac_fn_c_try_run "$LINENO"; then :
25684   libgfor_cv_have_crlf=yes
25685 else
25686   libgfor_cv_have_crlf=no
25687 fi
25688 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25689   conftest.$ac_objext conftest.beam conftest.$ac_ext
25690 fi
25691
25692 fi
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
25694 $as_echo "$libgfor_cv_have_crlf" >&6; }
25695 if test x"$libgfor_cv_have_crlf" = xyes; then
25696
25697 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
25698
25699 fi
25700
25701 # Check whether we have _Unwind_GetIPInfo for backtrace
25702
25703
25704 # Check whether --with-system-libunwind was given.
25705 if test "${with_system_libunwind+set}" = set; then :
25706   withval=$with_system_libunwind;
25707 fi
25708
25709   # If system-libunwind was not specifically set, pick a default setting.
25710   if test x$with_system_libunwind = x; then
25711     case ${target} in
25712       ia64-*-hpux*) with_system_libunwind=yes ;;
25713       *) with_system_libunwind=no ;;
25714     esac
25715   fi
25716   # Based on system-libunwind and target, do we have ipinfo?
25717   if  test x$with_system_libunwind = xyes; then
25718     case ${target} in
25719       ia64-*-*) have_unwind_getipinfo=no ;;
25720       *) have_unwind_getipinfo=yes ;;
25721     esac
25722   else
25723     # Darwin before version 9 does not have _Unwind_GetIPInfo.
25724
25725     case ${target} in
25726       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
25727       *) have_unwind_getipinfo=yes ;;
25728     esac
25729
25730   fi
25731
25732   if test x$have_unwind_getipinfo = xyes; then
25733
25734 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
25735
25736   fi
25737
25738
25739 cat >confcache <<\_ACEOF
25740 # This file is a shell script that caches the results of configure
25741 # tests run on this system so they can be shared between configure
25742 # scripts and configure runs, see configure's option --config-cache.
25743 # It is not useful on other systems.  If it contains results you don't
25744 # want to keep, you may remove or edit it.
25745 #
25746 # config.status only pays attention to the cache file if you give it
25747 # the --recheck option to rerun configure.
25748 #
25749 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25750 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25751 # following values.
25752
25753 _ACEOF
25754
25755 # The following way of writing the cache mishandles newlines in values,
25756 # but we know of no workaround that is simple, portable, and efficient.
25757 # So, we kill variables containing newlines.
25758 # Ultrix sh set writes to stderr and can't be redirected directly,
25759 # and sets the high bit in the cache file unless we assign to the vars.
25760 (
25761   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25762     eval ac_val=\$$ac_var
25763     case $ac_val in #(
25764     *${as_nl}*)
25765       case $ac_var in #(
25766       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25767 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25768       esac
25769       case $ac_var in #(
25770       _ | IFS | as_nl) ;; #(
25771       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25772       *) { eval $ac_var=; unset $ac_var;} ;;
25773       esac ;;
25774     esac
25775   done
25776
25777   (set) 2>&1 |
25778     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25779     *${as_nl}ac_space=\ *)
25780       # `set' does not quote correctly, so add quotes: double-quote
25781       # substitution turns \\\\ into \\, and sed turns \\ into \.
25782       sed -n \
25783         "s/'/'\\\\''/g;
25784           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25785       ;; #(
25786     *)
25787       # `set' quotes correctly as required by POSIX, so do not add quotes.
25788       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25789       ;;
25790     esac |
25791     sort
25792 ) |
25793   sed '
25794      /^ac_cv_env_/b end
25795      t clear
25796      :clear
25797      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25798      t end
25799      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25800      :end' >>confcache
25801 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25802   if test -w "$cache_file"; then
25803     test "x$cache_file" != "x/dev/null" &&
25804       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25805 $as_echo "$as_me: updating cache $cache_file" >&6;}
25806     cat confcache >$cache_file
25807   else
25808     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25809 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25810   fi
25811 fi
25812 rm -f confcache
25813
25814 if test ${multilib} = yes; then
25815   multilib_arg="--enable-multilib"
25816 else
25817   multilib_arg=
25818 fi
25819
25820 # Write our Makefile and spec file.
25821 ac_config_files="$ac_config_files Makefile libgfortran.spec"
25822
25823 cat >confcache <<\_ACEOF
25824 # This file is a shell script that caches the results of configure
25825 # tests run on this system so they can be shared between configure
25826 # scripts and configure runs, see configure's option --config-cache.
25827 # It is not useful on other systems.  If it contains results you don't
25828 # want to keep, you may remove or edit it.
25829 #
25830 # config.status only pays attention to the cache file if you give it
25831 # the --recheck option to rerun configure.
25832 #
25833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25835 # following values.
25836
25837 _ACEOF
25838
25839 # The following way of writing the cache mishandles newlines in values,
25840 # but we know of no workaround that is simple, portable, and efficient.
25841 # So, we kill variables containing newlines.
25842 # Ultrix sh set writes to stderr and can't be redirected directly,
25843 # and sets the high bit in the cache file unless we assign to the vars.
25844 (
25845   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25846     eval ac_val=\$$ac_var
25847     case $ac_val in #(
25848     *${as_nl}*)
25849       case $ac_var in #(
25850       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25852       esac
25853       case $ac_var in #(
25854       _ | IFS | as_nl) ;; #(
25855       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25856       *) { eval $ac_var=; unset $ac_var;} ;;
25857       esac ;;
25858     esac
25859   done
25860
25861   (set) 2>&1 |
25862     case $as_nl`(ac_space=' '; set) 2>&1` in #(
25863     *${as_nl}ac_space=\ *)
25864       # `set' does not quote correctly, so add quotes: double-quote
25865       # substitution turns \\\\ into \\, and sed turns \\ into \.
25866       sed -n \
25867         "s/'/'\\\\''/g;
25868           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25869       ;; #(
25870     *)
25871       # `set' quotes correctly as required by POSIX, so do not add quotes.
25872       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25873       ;;
25874     esac |
25875     sort
25876 ) |
25877   sed '
25878      /^ac_cv_env_/b end
25879      t clear
25880      :clear
25881      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25882      t end
25883      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25884      :end' >>confcache
25885 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25886   if test -w "$cache_file"; then
25887     test "x$cache_file" != "x/dev/null" &&
25888       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25889 $as_echo "$as_me: updating cache $cache_file" >&6;}
25890     cat confcache >$cache_file
25891   else
25892     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25893 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25894   fi
25895 fi
25896 rm -f confcache
25897
25898 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25899 # Let make expand exec_prefix.
25900 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25901
25902 DEFS=-DHAVE_CONFIG_H
25903
25904 ac_libobjs=
25905 ac_ltlibobjs=
25906 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25907   # 1. Remove the extension, and $U if already installed.
25908   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25909   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25910   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
25911   #    will be set to the directory where LIBOBJS objects are built.
25912   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25913   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25914 done
25915 LIBOBJS=$ac_libobjs
25916
25917 LTLIBOBJS=$ac_ltlibobjs
25918
25919
25920 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
25921   as_fn_error "conditional \"onestep\" was never defined.
25922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25923 fi
25924  if test -n "$EXEEXT"; then
25925   am__EXEEXT_TRUE=
25926   am__EXEEXT_FALSE='#'
25927 else
25928   am__EXEEXT_TRUE='#'
25929   am__EXEEXT_FALSE=
25930 fi
25931
25932 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25933   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
25934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25935 fi
25936 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25937   as_fn_error "conditional \"AMDEP\" was never defined.
25938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25939 fi
25940 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25941   as_fn_error "conditional \"am__fastdepCC\" was never defined.
25942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25943 fi
25944 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25945   as_fn_error "conditional \"am__fastdepCC\" was never defined.
25946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25947 fi
25948 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
25949   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
25950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25951 fi
25952 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
25953   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
25954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25955 fi
25956 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
25957   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
25958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25959 fi
25960 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
25961   as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
25962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25963 fi
25964
25965 : ${CONFIG_STATUS=./config.status}
25966 ac_write_fail=0
25967 ac_clean_files_save=$ac_clean_files
25968 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25970 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25971 as_write_fail=0
25972 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25973 #! $SHELL
25974 # Generated by $as_me.
25975 # Run this file to recreate the current configuration.
25976 # Compiler output produced by configure, useful for debugging
25977 # configure, is in config.log if it exists.
25978
25979 debug=false
25980 ac_cs_recheck=false
25981 ac_cs_silent=false
25982
25983 SHELL=\${CONFIG_SHELL-$SHELL}
25984 export SHELL
25985 _ASEOF
25986 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25987 ## -------------------- ##
25988 ## M4sh Initialization. ##
25989 ## -------------------- ##
25990
25991 # Be more Bourne compatible
25992 DUALCASE=1; export DUALCASE # for MKS sh
25993 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25994   emulate sh
25995   NULLCMD=:
25996   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25997   # is contrary to our usage.  Disable this feature.
25998   alias -g '${1+"$@"}'='"$@"'
25999   setopt NO_GLOB_SUBST
26000 else
26001   case `(set -o) 2>/dev/null` in #(
26002   *posix*) :
26003     set -o posix ;; #(
26004   *) :
26005      ;;
26006 esac
26007 fi
26008
26009
26010 as_nl='
26011 '
26012 export as_nl
26013 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26014 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26015 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26016 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26017 # Prefer a ksh shell builtin over an external printf program on Solaris,
26018 # but without wasting forks for bash or zsh.
26019 if test -z "$BASH_VERSION$ZSH_VERSION" \
26020     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26021   as_echo='print -r --'
26022   as_echo_n='print -rn --'
26023 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26024   as_echo='printf %s\n'
26025   as_echo_n='printf %s'
26026 else
26027   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26028     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26029     as_echo_n='/usr/ucb/echo -n'
26030   else
26031     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26032     as_echo_n_body='eval
26033       arg=$1;
26034       case $arg in #(
26035       *"$as_nl"*)
26036         expr "X$arg" : "X\\(.*\\)$as_nl";
26037         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26038       esac;
26039       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26040     '
26041     export as_echo_n_body
26042     as_echo_n='sh -c $as_echo_n_body as_echo'
26043   fi
26044   export as_echo_body
26045   as_echo='sh -c $as_echo_body as_echo'
26046 fi
26047
26048 # The user is always right.
26049 if test "${PATH_SEPARATOR+set}" != set; then
26050   PATH_SEPARATOR=:
26051   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26052     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26053       PATH_SEPARATOR=';'
26054   }
26055 fi
26056
26057
26058 # IFS
26059 # We need space, tab and new line, in precisely that order.  Quoting is
26060 # there to prevent editors from complaining about space-tab.
26061 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26062 # splitting by setting IFS to empty value.)
26063 IFS=" ""        $as_nl"
26064
26065 # Find who we are.  Look in the path if we contain no directory separator.
26066 case $0 in #((
26067   *[\\/]* ) as_myself=$0 ;;
26068   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26069 for as_dir in $PATH
26070 do
26071   IFS=$as_save_IFS
26072   test -z "$as_dir" && as_dir=.
26073     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26074   done
26075 IFS=$as_save_IFS
26076
26077      ;;
26078 esac
26079 # We did not find ourselves, most probably we were run as `sh COMMAND'
26080 # in which case we are not to be found in the path.
26081 if test "x$as_myself" = x; then
26082   as_myself=$0
26083 fi
26084 if test ! -f "$as_myself"; then
26085   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26086   exit 1
26087 fi
26088
26089 # Unset variables that we do not need and which cause bugs (e.g. in
26090 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
26091 # suppresses any "Segmentation fault" message there.  '((' could
26092 # trigger a bug in pdksh 5.2.14.
26093 for as_var in BASH_ENV ENV MAIL MAILPATH
26094 do eval test x\${$as_var+set} = xset \
26095   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26096 done
26097 PS1='$ '
26098 PS2='> '
26099 PS4='+ '
26100
26101 # NLS nuisances.
26102 LC_ALL=C
26103 export LC_ALL
26104 LANGUAGE=C
26105 export LANGUAGE
26106
26107 # CDPATH.
26108 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26109
26110
26111 # as_fn_error ERROR [LINENO LOG_FD]
26112 # ---------------------------------
26113 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26114 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26115 # script with status $?, using 1 if that was 0.
26116 as_fn_error ()
26117 {
26118   as_status=$?; test $as_status -eq 0 && as_status=1
26119   if test "$3"; then
26120     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26121     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26122   fi
26123   $as_echo "$as_me: error: $1" >&2
26124   as_fn_exit $as_status
26125 } # as_fn_error
26126
26127
26128 # as_fn_set_status STATUS
26129 # -----------------------
26130 # Set $? to STATUS, without forking.
26131 as_fn_set_status ()
26132 {
26133   return $1
26134 } # as_fn_set_status
26135
26136 # as_fn_exit STATUS
26137 # -----------------
26138 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26139 as_fn_exit ()
26140 {
26141   set +e
26142   as_fn_set_status $1
26143   exit $1
26144 } # as_fn_exit
26145
26146 # as_fn_unset VAR
26147 # ---------------
26148 # Portably unset VAR.
26149 as_fn_unset ()
26150 {
26151   { eval $1=; unset $1;}
26152 }
26153 as_unset=as_fn_unset
26154 # as_fn_append VAR VALUE
26155 # ----------------------
26156 # Append the text in VALUE to the end of the definition contained in VAR. Take
26157 # advantage of any shell optimizations that allow amortized linear growth over
26158 # repeated appends, instead of the typical quadratic growth present in naive
26159 # implementations.
26160 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26161   eval 'as_fn_append ()
26162   {
26163     eval $1+=\$2
26164   }'
26165 else
26166   as_fn_append ()
26167   {
26168     eval $1=\$$1\$2
26169   }
26170 fi # as_fn_append
26171
26172 # as_fn_arith ARG...
26173 # ------------------
26174 # Perform arithmetic evaluation on the ARGs, and store the result in the
26175 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26176 # must be portable across $(()) and expr.
26177 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26178   eval 'as_fn_arith ()
26179   {
26180     as_val=$(( $* ))
26181   }'
26182 else
26183   as_fn_arith ()
26184   {
26185     as_val=`expr "$@" || test $? -eq 1`
26186   }
26187 fi # as_fn_arith
26188
26189
26190 if expr a : '\(a\)' >/dev/null 2>&1 &&
26191    test "X`expr 00001 : '.*\(...\)'`" = X001; then
26192   as_expr=expr
26193 else
26194   as_expr=false
26195 fi
26196
26197 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26198   as_basename=basename
26199 else
26200   as_basename=false
26201 fi
26202
26203 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26204   as_dirname=dirname
26205 else
26206   as_dirname=false
26207 fi
26208
26209 as_me=`$as_basename -- "$0" ||
26210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26211          X"$0" : 'X\(//\)$' \| \
26212          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26213 $as_echo X/"$0" |
26214     sed '/^.*\/\([^/][^/]*\)\/*$/{
26215             s//\1/
26216             q
26217           }
26218           /^X\/\(\/\/\)$/{
26219             s//\1/
26220             q
26221           }
26222           /^X\/\(\/\).*/{
26223             s//\1/
26224             q
26225           }
26226           s/.*/./; q'`
26227
26228 # Avoid depending upon Character Ranges.
26229 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26230 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26231 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26232 as_cr_digits='0123456789'
26233 as_cr_alnum=$as_cr_Letters$as_cr_digits
26234
26235 ECHO_C= ECHO_N= ECHO_T=
26236 case `echo -n x` in #(((((
26237 -n*)
26238   case `echo 'xy\c'` in
26239   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26240   xy)  ECHO_C='\c';;
26241   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
26242        ECHO_T=' ';;
26243   esac;;
26244 *)
26245   ECHO_N='-n';;
26246 esac
26247
26248 rm -f conf$$ conf$$.exe conf$$.file
26249 if test -d conf$$.dir; then
26250   rm -f conf$$.dir/conf$$.file
26251 else
26252   rm -f conf$$.dir
26253   mkdir conf$$.dir 2>/dev/null
26254 fi
26255 if (echo >conf$$.file) 2>/dev/null; then
26256   if ln -s conf$$.file conf$$ 2>/dev/null; then
26257     as_ln_s='ln -s'
26258     # ... but there are two gotchas:
26259     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26260     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26261     # In both cases, we have to default to `cp -p'.
26262     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26263       as_ln_s='cp -p'
26264   elif ln conf$$.file conf$$ 2>/dev/null; then
26265     as_ln_s=ln
26266   else
26267     as_ln_s='cp -p'
26268   fi
26269 else
26270   as_ln_s='cp -p'
26271 fi
26272 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26273 rmdir conf$$.dir 2>/dev/null
26274
26275
26276 # as_fn_mkdir_p
26277 # -------------
26278 # Create "$as_dir" as a directory, including parents if necessary.
26279 as_fn_mkdir_p ()
26280 {
26281
26282   case $as_dir in #(
26283   -*) as_dir=./$as_dir;;
26284   esac
26285   test -d "$as_dir" || eval $as_mkdir_p || {
26286     as_dirs=
26287     while :; do
26288       case $as_dir in #(
26289       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26290       *) as_qdir=$as_dir;;
26291       esac
26292       as_dirs="'$as_qdir' $as_dirs"
26293       as_dir=`$as_dirname -- "$as_dir" ||
26294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26295          X"$as_dir" : 'X\(//\)[^/]' \| \
26296          X"$as_dir" : 'X\(//\)$' \| \
26297          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26298 $as_echo X"$as_dir" |
26299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26300             s//\1/
26301             q
26302           }
26303           /^X\(\/\/\)[^/].*/{
26304             s//\1/
26305             q
26306           }
26307           /^X\(\/\/\)$/{
26308             s//\1/
26309             q
26310           }
26311           /^X\(\/\).*/{
26312             s//\1/
26313             q
26314           }
26315           s/.*/./; q'`
26316       test -d "$as_dir" && break
26317     done
26318     test -z "$as_dirs" || eval "mkdir $as_dirs"
26319   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26320
26321
26322 } # as_fn_mkdir_p
26323 if mkdir -p . 2>/dev/null; then
26324   as_mkdir_p='mkdir -p "$as_dir"'
26325 else
26326   test -d ./-p && rmdir ./-p
26327   as_mkdir_p=false
26328 fi
26329
26330 if test -x / >/dev/null 2>&1; then
26331   as_test_x='test -x'
26332 else
26333   if ls -dL / >/dev/null 2>&1; then
26334     as_ls_L_option=L
26335   else
26336     as_ls_L_option=
26337   fi
26338   as_test_x='
26339     eval sh -c '\''
26340       if test -d "$1"; then
26341         test -d "$1/.";
26342       else
26343         case $1 in #(
26344         -*)set "./$1";;
26345         esac;
26346         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26347         ???[sx]*):;;*)false;;esac;fi
26348     '\'' sh
26349   '
26350 fi
26351 as_executable_p=$as_test_x
26352
26353 # Sed expression to map a string onto a valid CPP name.
26354 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26355
26356 # Sed expression to map a string onto a valid variable name.
26357 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26358
26359
26360 exec 6>&1
26361 ## ----------------------------------- ##
26362 ## Main body of $CONFIG_STATUS script. ##
26363 ## ----------------------------------- ##
26364 _ASEOF
26365 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26366
26367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26368 # Save the log message, to keep $0 and so on meaningful, and to
26369 # report actual input values of CONFIG_FILES etc. instead of their
26370 # values after options handling.
26371 ac_log="
26372 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
26373 generated by GNU Autoconf 2.64.  Invocation command line was
26374
26375   CONFIG_FILES    = $CONFIG_FILES
26376   CONFIG_HEADERS  = $CONFIG_HEADERS
26377   CONFIG_LINKS    = $CONFIG_LINKS
26378   CONFIG_COMMANDS = $CONFIG_COMMANDS
26379   $ $0 $@
26380
26381 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26382 "
26383
26384 _ACEOF
26385
26386 case $ac_config_files in *"
26387 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26388 esac
26389
26390 case $ac_config_headers in *"
26391 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26392 esac
26393
26394
26395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26396 # Files that config.status was made for.
26397 config_files="$ac_config_files"
26398 config_headers="$ac_config_headers"
26399 config_commands="$ac_config_commands"
26400
26401 _ACEOF
26402
26403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26404 ac_cs_usage="\
26405 \`$as_me' instantiates files and other configuration actions
26406 from templates according to the current configuration.  Unless the files
26407 and actions are specified as TAGs, all are instantiated by default.
26408
26409 Usage: $0 [OPTION]... [TAG]...
26410
26411   -h, --help       print this help, then exit
26412   -V, --version    print version number and configuration settings, then exit
26413   -q, --quiet, --silent
26414                    do not print progress messages
26415   -d, --debug      don't remove temporary files
26416       --recheck    update $as_me by reconfiguring in the same conditions
26417       --file=FILE[:TEMPLATE]
26418                    instantiate the configuration file FILE
26419       --header=FILE[:TEMPLATE]
26420                    instantiate the configuration header FILE
26421
26422 Configuration files:
26423 $config_files
26424
26425 Configuration headers:
26426 $config_headers
26427
26428 Configuration commands:
26429 $config_commands
26430
26431 Report bugs to the package provider.
26432 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
26433 General help using GNU software: <http://www.gnu.org/gethelp/>."
26434
26435 _ACEOF
26436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26437 ac_cs_version="\\
26438 GNU Fortran Runtime Library config.status 0.3
26439 configured by $0, generated by GNU Autoconf 2.64,
26440   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26441
26442 Copyright (C) 2009 Free Software Foundation, Inc.
26443 This config.status script is free software; the Free Software Foundation
26444 gives unlimited permission to copy, distribute and modify it."
26445
26446 ac_pwd='$ac_pwd'
26447 srcdir='$srcdir'
26448 INSTALL='$INSTALL'
26449 MKDIR_P='$MKDIR_P'
26450 AWK='$AWK'
26451 test -n "\$AWK" || AWK=awk
26452 _ACEOF
26453
26454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26455 # The default lists apply if the user does not specify any file.
26456 ac_need_defaults=:
26457 while test $# != 0
26458 do
26459   case $1 in
26460   --*=*)
26461     ac_option=`expr "X$1" : 'X\([^=]*\)='`
26462     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26463     ac_shift=:
26464     ;;
26465   *)
26466     ac_option=$1
26467     ac_optarg=$2
26468     ac_shift=shift
26469     ;;
26470   esac
26471
26472   case $ac_option in
26473   # Handling of the options.
26474   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26475     ac_cs_recheck=: ;;
26476   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26477     $as_echo "$ac_cs_version"; exit ;;
26478   --debug | --debu | --deb | --de | --d | -d )
26479     debug=: ;;
26480   --file | --fil | --fi | --f )
26481     $ac_shift
26482     case $ac_optarg in
26483     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26484     esac
26485     as_fn_append CONFIG_FILES " '$ac_optarg'"
26486     ac_need_defaults=false;;
26487   --header | --heade | --head | --hea )
26488     $ac_shift
26489     case $ac_optarg in
26490     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26491     esac
26492     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26493     ac_need_defaults=false;;
26494   --he | --h)
26495     # Conflict between --help and --header
26496     as_fn_error "ambiguous option: \`$1'
26497 Try \`$0 --help' for more information.";;
26498   --help | --hel | -h )
26499     $as_echo "$ac_cs_usage"; exit ;;
26500   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26501   | -silent | --silent | --silen | --sile | --sil | --si | --s)
26502     ac_cs_silent=: ;;
26503
26504   # This is an error.
26505   -*) as_fn_error "unrecognized option: \`$1'
26506 Try \`$0 --help' for more information." ;;
26507
26508   *) as_fn_append ac_config_targets " $1"
26509      ac_need_defaults=false ;;
26510
26511   esac
26512   shift
26513 done
26514
26515 ac_configure_extra_args=
26516
26517 if $ac_cs_silent; then
26518   exec 6>/dev/null
26519   ac_configure_extra_args="$ac_configure_extra_args --silent"
26520 fi
26521
26522 _ACEOF
26523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26524 if \$ac_cs_recheck; then
26525   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26526   shift
26527   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26528   CONFIG_SHELL='$SHELL'
26529   export CONFIG_SHELL
26530   exec "\$@"
26531 fi
26532
26533 _ACEOF
26534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26535 exec 5>>config.log
26536 {
26537   echo
26538   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26539 ## Running $as_me. ##
26540 _ASBOX
26541   $as_echo "$ac_log"
26542 } >&5
26543
26544 _ACEOF
26545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26546 #
26547 # INIT-COMMANDS
26548 #
26549
26550 srcdir="$srcdir"
26551 host="$host"
26552 target="$target"
26553 with_multisubdir="$with_multisubdir"
26554 with_multisrctop="$with_multisrctop"
26555 with_target_subdir="$with_target_subdir"
26556 ac_configure_args="${multilib_arg} ${ac_configure_args}"
26557 multi_basedir="$multi_basedir"
26558 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
26559 CC="$CC"
26560 CXX="$CXX"
26561 GFORTRAN="$GFORTRAN"
26562 GCJ="$GCJ"
26563 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26564
26565
26566 # The HP-UX ksh and POSIX shell print the target directory to stdout
26567 # if CDPATH is set.
26568 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26569
26570 sed_quote_subst='$sed_quote_subst'
26571 double_quote_subst='$double_quote_subst'
26572 delay_variable_subst='$delay_variable_subst'
26573 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26574 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26575 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26576 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26577 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26578 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26579 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26580 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26581 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26582 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26583 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26584 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26585 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26586 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26587 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26588 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26589 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26590 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26591 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26592 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26593 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26594 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26595 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26596 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26597 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26598 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26599 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26600 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26601 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26602 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26603 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26604 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26605 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26606 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26607 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26608 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26609 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26610 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26611 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26612 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26613 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26614 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26615 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26616 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26617 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26618 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26619 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26620 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26621 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"`'
26622 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26623 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26624 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26625 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26626 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26627 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26628 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26629 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26630 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26631 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26632 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26633 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26634 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26635 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26636 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26637 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26638 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26639 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26640 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26641 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26642 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26643 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26644 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26645 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26646 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26647 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26648 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26649 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26650 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26651 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26652 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26653 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
26654 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26655 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26656 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26657 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26658 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26659 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26660 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26661 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26662 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
26663 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26664 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26665 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26666 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26667 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26668 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26669 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26670 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26671 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26672 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26673 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26674 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26675 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26676 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26677 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26678 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26679 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26680 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26681 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26682 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26683 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26684 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26685 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26686 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26687 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26688 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26689 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26690 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26691 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26692 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26693 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26694 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26695 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26696 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26697 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26698 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26699 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
26700 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
26701 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
26702 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26703 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
26704 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
26705 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
26706 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
26707 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
26708 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
26709 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
26710 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
26711 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
26712 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26713 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26714 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
26715 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
26716 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
26717 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
26718 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26719 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
26720 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
26721 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
26722 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26723 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
26724 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
26725 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
26726 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
26727 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
26728 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
26729 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
26730 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
26731 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
26732 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
26733 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
26734 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
26735 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
26736 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
26737 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26738 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
26739 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
26740 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
26741 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
26742 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
26743 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
26744 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
26745 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
26746 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
26747 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
26748
26749 LTCC='$LTCC'
26750 LTCFLAGS='$LTCFLAGS'
26751 compiler='$compiler_DEFAULT'
26752
26753 # A function that is used when there is no print builtin or printf.
26754 func_fallback_echo ()
26755 {
26756   eval 'cat <<_LTECHO_EOF
26757 \$1
26758 _LTECHO_EOF'
26759 }
26760
26761 # Quote evaled strings.
26762 for var in SHELL \
26763 ECHO \
26764 SED \
26765 GREP \
26766 EGREP \
26767 FGREP \
26768 LD \
26769 NM \
26770 LN_S \
26771 lt_SP2NL \
26772 lt_NL2SP \
26773 reload_flag \
26774 OBJDUMP \
26775 deplibs_check_method \
26776 file_magic_cmd \
26777 AR \
26778 AR_FLAGS \
26779 STRIP \
26780 RANLIB \
26781 CC \
26782 CFLAGS \
26783 compiler \
26784 lt_cv_sys_global_symbol_pipe \
26785 lt_cv_sys_global_symbol_to_cdecl \
26786 lt_cv_sys_global_symbol_to_c_name_address \
26787 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26788 lt_prog_compiler_no_builtin_flag \
26789 lt_prog_compiler_wl \
26790 lt_prog_compiler_pic \
26791 lt_prog_compiler_static \
26792 lt_cv_prog_compiler_c_o \
26793 need_locks \
26794 DSYMUTIL \
26795 NMEDIT \
26796 LIPO \
26797 OTOOL \
26798 OTOOL64 \
26799 shrext_cmds \
26800 export_dynamic_flag_spec \
26801 whole_archive_flag_spec \
26802 compiler_needs_object \
26803 with_gnu_ld \
26804 allow_undefined_flag \
26805 no_undefined_flag \
26806 hardcode_libdir_flag_spec \
26807 hardcode_libdir_flag_spec_ld \
26808 hardcode_libdir_separator \
26809 fix_srcfile_path \
26810 exclude_expsyms \
26811 include_expsyms \
26812 file_list_spec \
26813 variables_saved_for_relink \
26814 libname_spec \
26815 library_names_spec \
26816 soname_spec \
26817 install_override_mode \
26818 finish_eval \
26819 old_striplib \
26820 striplib \
26821 compiler_lib_search_dirs \
26822 predep_objects \
26823 postdep_objects \
26824 predeps \
26825 postdeps \
26826 compiler_lib_search_path \
26827 LD_FC \
26828 reload_flag_FC \
26829 compiler_FC \
26830 lt_prog_compiler_no_builtin_flag_FC \
26831 lt_prog_compiler_wl_FC \
26832 lt_prog_compiler_pic_FC \
26833 lt_prog_compiler_static_FC \
26834 lt_cv_prog_compiler_c_o_FC \
26835 export_dynamic_flag_spec_FC \
26836 whole_archive_flag_spec_FC \
26837 compiler_needs_object_FC \
26838 with_gnu_ld_FC \
26839 allow_undefined_flag_FC \
26840 no_undefined_flag_FC \
26841 hardcode_libdir_flag_spec_FC \
26842 hardcode_libdir_flag_spec_ld_FC \
26843 hardcode_libdir_separator_FC \
26844 fix_srcfile_path_FC \
26845 exclude_expsyms_FC \
26846 include_expsyms_FC \
26847 file_list_spec_FC \
26848 compiler_lib_search_dirs_FC \
26849 predep_objects_FC \
26850 postdep_objects_FC \
26851 predeps_FC \
26852 postdeps_FC \
26853 compiler_lib_search_path_FC; do
26854     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26855     *[\\\\\\\`\\"\\\$]*)
26856       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26857       ;;
26858     *)
26859       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26860       ;;
26861     esac
26862 done
26863
26864 # Double-quote double-evaled strings.
26865 for var in reload_cmds \
26866 old_postinstall_cmds \
26867 old_postuninstall_cmds \
26868 old_archive_cmds \
26869 extract_expsyms_cmds \
26870 old_archive_from_new_cmds \
26871 old_archive_from_expsyms_cmds \
26872 archive_cmds \
26873 archive_expsym_cmds \
26874 module_cmds \
26875 module_expsym_cmds \
26876 export_symbols_cmds \
26877 prelink_cmds \
26878 postinstall_cmds \
26879 postuninstall_cmds \
26880 finish_cmds \
26881 sys_lib_search_path_spec \
26882 sys_lib_dlsearch_path_spec \
26883 reload_cmds_FC \
26884 old_archive_cmds_FC \
26885 old_archive_from_new_cmds_FC \
26886 old_archive_from_expsyms_cmds_FC \
26887 archive_cmds_FC \
26888 archive_expsym_cmds_FC \
26889 module_cmds_FC \
26890 module_expsym_cmds_FC \
26891 export_symbols_cmds_FC \
26892 prelink_cmds_FC; do
26893     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26894     *[\\\\\\\`\\"\\\$]*)
26895       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26896       ;;
26897     *)
26898       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26899       ;;
26900     esac
26901 done
26902
26903 ac_aux_dir='$ac_aux_dir'
26904 xsi_shell='$xsi_shell'
26905 lt_shell_append='$lt_shell_append'
26906
26907 # See if we are running on zsh, and set the options which allow our
26908 # commands through without removal of \ escapes INIT.
26909 if test -n "\${ZSH_VERSION+set}" ; then
26910    setopt NO_GLOB_SUBST
26911 fi
26912
26913
26914     PACKAGE='$PACKAGE'
26915     VERSION='$VERSION'
26916     TIMESTAMP='$TIMESTAMP'
26917     RM='$RM'
26918     ofile='$ofile'
26919
26920
26921
26922
26923
26924
26925 GCC="$GCC"
26926 CC="$CC"
26927 acx_cv_header_stdint="$acx_cv_header_stdint"
26928 acx_cv_type_int8_t="$acx_cv_type_int8_t"
26929 acx_cv_type_int16_t="$acx_cv_type_int16_t"
26930 acx_cv_type_int32_t="$acx_cv_type_int32_t"
26931 acx_cv_type_int64_t="$acx_cv_type_int64_t"
26932 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
26933 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
26934 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
26935 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
26936 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
26937 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
26938 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
26939 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
26940 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
26941
26942
26943 _ACEOF
26944
26945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26946
26947 # Handling of arguments.
26948 for ac_config_target in $ac_config_targets
26949 do
26950   case $ac_config_target in
26951     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
26952     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
26953     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
26954     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26955     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
26956     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26957     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
26958
26959   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26960   esac
26961 done
26962
26963
26964 # If the user did not use the arguments to specify the items to instantiate,
26965 # then the envvar interface is used.  Set only those that are not.
26966 # We use the long form for the default assignment because of an extremely
26967 # bizarre bug on SunOS 4.1.3.
26968 if $ac_need_defaults; then
26969   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26970   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26971   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26972 fi
26973
26974 # Have a temporary directory for convenience.  Make it in the build tree
26975 # simply because there is no reason against having it here, and in addition,
26976 # creating and moving files from /tmp can sometimes cause problems.
26977 # Hook for its removal unless debugging.
26978 # Note that there is a small window in which the directory will not be cleaned:
26979 # after its creation but before its name has been assigned to `$tmp'.
26980 $debug ||
26981 {
26982   tmp=
26983   trap 'exit_status=$?
26984   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26985 ' 0
26986   trap 'as_fn_exit 1' 1 2 13 15
26987 }
26988 # Create a (secure) tmp directory for tmp files.
26989
26990 {
26991   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26992   test -n "$tmp" && test -d "$tmp"
26993 }  ||
26994 {
26995   tmp=./conf$$-$RANDOM
26996   (umask 077 && mkdir "$tmp")
26997 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
26998
26999 # Set up the scripts for CONFIG_FILES section.
27000 # No need to generate them if there are no CONFIG_FILES.
27001 # This happens for instance with `./config.status config.h'.
27002 if test -n "$CONFIG_FILES"; then
27003
27004
27005 ac_cr=`echo X | tr X '\015'`
27006 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27007 # But we know of no other shell where ac_cr would be empty at this
27008 # point, so we can use a bashism as a fallback.
27009 if test "x$ac_cr" = x; then
27010   eval ac_cr=\$\'\\r\'
27011 fi
27012 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27013 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27014   ac_cs_awk_cr='\r'
27015 else
27016   ac_cs_awk_cr=$ac_cr
27017 fi
27018
27019 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27020 _ACEOF
27021
27022
27023 {
27024   echo "cat >conf$$subs.awk <<_ACEOF" &&
27025   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27026   echo "_ACEOF"
27027 } >conf$$subs.sh ||
27028   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27030 ac_delim='%!_!# '
27031 for ac_last_try in false false false false false :; do
27032   . ./conf$$subs.sh ||
27033     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27034
27035   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27036   if test $ac_delim_n = $ac_delim_num; then
27037     break
27038   elif $ac_last_try; then
27039     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27040   else
27041     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27042   fi
27043 done
27044 rm -f conf$$subs.sh
27045
27046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27047 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27048 _ACEOF
27049 sed -n '
27050 h
27051 s/^/S["/; s/!.*/"]=/
27052 p
27053 g
27054 s/^[^!]*!//
27055 :repl
27056 t repl
27057 s/'"$ac_delim"'$//
27058 t delim
27059 :nl
27060 h
27061 s/\(.\{148\}\).*/\1/
27062 t more1
27063 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27064 p
27065 n
27066 b repl
27067 :more1
27068 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27069 p
27070 g
27071 s/.\{148\}//
27072 t nl
27073 :delim
27074 h
27075 s/\(.\{148\}\).*/\1/
27076 t more2
27077 s/["\\]/\\&/g; s/^/"/; s/$/"/
27078 p
27079 b
27080 :more2
27081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27082 p
27083 g
27084 s/.\{148\}//
27085 t delim
27086 ' <conf$$subs.awk | sed '
27087 /^[^""]/{
27088   N
27089   s/\n//
27090 }
27091 ' >>$CONFIG_STATUS || ac_write_fail=1
27092 rm -f conf$$subs.awk
27093 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27094 _ACAWK
27095 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27096   for (key in S) S_is_set[key] = 1
27097   FS = "\a"
27098
27099 }
27100 {
27101   line = $ 0
27102   nfields = split(line, field, "@")
27103   substed = 0
27104   len = length(field[1])
27105   for (i = 2; i < nfields; i++) {
27106     key = field[i]
27107     keylen = length(key)
27108     if (S_is_set[key]) {
27109       value = S[key]
27110       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27111       len += length(value) + length(field[++i])
27112       substed = 1
27113     } else
27114       len += 1 + keylen
27115   }
27116
27117   print line
27118 }
27119
27120 _ACAWK
27121 _ACEOF
27122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27123 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27124   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27125 else
27126   cat
27127 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27128   || as_fn_error "could not setup config files machinery" "$LINENO" 5
27129 _ACEOF
27130
27131 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27132 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27133 # trailing colons and then remove the whole line if VPATH becomes empty
27134 # (actually we leave an empty line to preserve line numbers).
27135 if test "x$srcdir" = x.; then
27136   ac_vpsub='/^[  ]*VPATH[        ]*=/{
27137 s/:*\$(srcdir):*/:/
27138 s/:*\${srcdir}:*/:/
27139 s/:*@srcdir@:*/:/
27140 s/^\([^=]*=[     ]*\):*/\1/
27141 s/:*$//
27142 s/^[^=]*=[       ]*$//
27143 }'
27144 fi
27145
27146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27147 fi # test -n "$CONFIG_FILES"
27148
27149 # Set up the scripts for CONFIG_HEADERS section.
27150 # No need to generate them if there are no CONFIG_HEADERS.
27151 # This happens for instance with `./config.status Makefile'.
27152 if test -n "$CONFIG_HEADERS"; then
27153 cat >"$tmp/defines.awk" <<\_ACAWK ||
27154 BEGIN {
27155 _ACEOF
27156
27157 # Transform confdefs.h into an awk script `defines.awk', embedded as
27158 # here-document in config.status, that substitutes the proper values into
27159 # config.h.in to produce config.h.
27160
27161 # Create a delimiter string that does not exist in confdefs.h, to ease
27162 # handling of long lines.
27163 ac_delim='%!_!# '
27164 for ac_last_try in false false :; do
27165   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27166   if test -z "$ac_t"; then
27167     break
27168   elif $ac_last_try; then
27169     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27170   else
27171     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27172   fi
27173 done
27174
27175 # For the awk script, D is an array of macro values keyed by name,
27176 # likewise P contains macro parameters if any.  Preserve backslash
27177 # newline sequences.
27178
27179 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27180 sed -n '
27181 s/.\{148\}/&'"$ac_delim"'/g
27182 t rset
27183 :rset
27184 s/^[     ]*#[    ]*define[       ][      ]*/ /
27185 t def
27186 d
27187 :def
27188 s/\\$//
27189 t bsnl
27190 s/["\\]/\\&/g
27191 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27192 D["\1"]=" \3"/p
27193 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
27194 d
27195 :bsnl
27196 s/["\\]/\\&/g
27197 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27198 D["\1"]=" \3\\\\\\n"\\/p
27199 t cont
27200 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27201 t cont
27202 d
27203 :cont
27204 n
27205 s/.\{148\}/&'"$ac_delim"'/g
27206 t clear
27207 :clear
27208 s/\\$//
27209 t bsnlc
27210 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27211 d
27212 :bsnlc
27213 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27214 b cont
27215 ' <confdefs.h | sed '
27216 s/'"$ac_delim"'/"\\\
27217 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27218
27219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27220   for (key in D) D_is_set[key] = 1
27221   FS = "\a"
27222 }
27223 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27224   line = \$ 0
27225   split(line, arg, " ")
27226   if (arg[1] == "#") {
27227     defundef = arg[2]
27228     mac1 = arg[3]
27229   } else {
27230     defundef = substr(arg[1], 2)
27231     mac1 = arg[2]
27232   }
27233   split(mac1, mac2, "(") #)
27234   macro = mac2[1]
27235   prefix = substr(line, 1, index(line, defundef) - 1)
27236   if (D_is_set[macro]) {
27237     # Preserve the white space surrounding the "#".
27238     print prefix "define", macro P[macro] D[macro]
27239     next
27240   } else {
27241     # Replace #undef with comments.  This is necessary, for example,
27242     # in the case of _POSIX_SOURCE, which is predefined and required
27243     # on some systems where configure will not decide to define it.
27244     if (defundef == "undef") {
27245       print "/*", prefix defundef, macro, "*/"
27246       next
27247     }
27248   }
27249 }
27250 { print }
27251 _ACAWK
27252 _ACEOF
27253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27254   as_fn_error "could not setup config headers machinery" "$LINENO" 5
27255 fi # test -n "$CONFIG_HEADERS"
27256
27257
27258 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
27259 shift
27260 for ac_tag
27261 do
27262   case $ac_tag in
27263   :[FHLC]) ac_mode=$ac_tag; continue;;
27264   esac
27265   case $ac_mode$ac_tag in
27266   :[FHL]*:*);;
27267   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27268   :[FH]-) ac_tag=-:-;;
27269   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27270   esac
27271   ac_save_IFS=$IFS
27272   IFS=:
27273   set x $ac_tag
27274   IFS=$ac_save_IFS
27275   shift
27276   ac_file=$1
27277   shift
27278
27279   case $ac_mode in
27280   :L) ac_source=$1;;
27281   :[FH])
27282     ac_file_inputs=
27283     for ac_f
27284     do
27285       case $ac_f in
27286       -) ac_f="$tmp/stdin";;
27287       *) # Look for the file first in the build tree, then in the source tree
27288          # (if the path is not absolute).  The absolute path cannot be DOS-style,
27289          # because $ac_f cannot contain `:'.
27290          test -f "$ac_f" ||
27291            case $ac_f in
27292            [\\/$]*) false;;
27293            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27294            esac ||
27295            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27296       esac
27297       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27298       as_fn_append ac_file_inputs " '$ac_f'"
27299     done
27300
27301     # Let's still pretend it is `configure' which instantiates (i.e., don't
27302     # use $as_me), people would be surprised to read:
27303     #    /* config.h.  Generated by config.status.  */
27304     configure_input='Generated from '`
27305           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27306         `' by configure.'
27307     if test x"$ac_file" != x-; then
27308       configure_input="$ac_file.  $configure_input"
27309       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27310 $as_echo "$as_me: creating $ac_file" >&6;}
27311     fi
27312     # Neutralize special characters interpreted by sed in replacement strings.
27313     case $configure_input in #(
27314     *\&* | *\|* | *\\* )
27315        ac_sed_conf_input=`$as_echo "$configure_input" |
27316        sed 's/[\\\\&|]/\\\\&/g'`;; #(
27317     *) ac_sed_conf_input=$configure_input;;
27318     esac
27319
27320     case $ac_tag in
27321     *:-:* | *:-) cat >"$tmp/stdin" \
27322       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27323     esac
27324     ;;
27325   esac
27326
27327   ac_dir=`$as_dirname -- "$ac_file" ||
27328 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27329          X"$ac_file" : 'X\(//\)[^/]' \| \
27330          X"$ac_file" : 'X\(//\)$' \| \
27331          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27332 $as_echo X"$ac_file" |
27333     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27334             s//\1/
27335             q
27336           }
27337           /^X\(\/\/\)[^/].*/{
27338             s//\1/
27339             q
27340           }
27341           /^X\(\/\/\)$/{
27342             s//\1/
27343             q
27344           }
27345           /^X\(\/\).*/{
27346             s//\1/
27347             q
27348           }
27349           s/.*/./; q'`
27350   as_dir="$ac_dir"; as_fn_mkdir_p
27351   ac_builddir=.
27352
27353 case "$ac_dir" in
27354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27355 *)
27356   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27357   # A ".." for each directory in $ac_dir_suffix.
27358   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27359   case $ac_top_builddir_sub in
27360   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27361   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27362   esac ;;
27363 esac
27364 ac_abs_top_builddir=$ac_pwd
27365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27366 # for backward compatibility:
27367 ac_top_builddir=$ac_top_build_prefix
27368
27369 case $srcdir in
27370   .)  # We are building in place.
27371     ac_srcdir=.
27372     ac_top_srcdir=$ac_top_builddir_sub
27373     ac_abs_top_srcdir=$ac_pwd ;;
27374   [\\/]* | ?:[\\/]* )  # Absolute name.
27375     ac_srcdir=$srcdir$ac_dir_suffix;
27376     ac_top_srcdir=$srcdir
27377     ac_abs_top_srcdir=$srcdir ;;
27378   *) # Relative name.
27379     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27380     ac_top_srcdir=$ac_top_build_prefix$srcdir
27381     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27382 esac
27383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27384
27385
27386   case $ac_mode in
27387   :F)
27388   #
27389   # CONFIG_FILE
27390   #
27391
27392   case $INSTALL in
27393   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27394   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27395   esac
27396   ac_MKDIR_P=$MKDIR_P
27397   case $MKDIR_P in
27398   [\\/$]* | ?:[\\/]* ) ;;
27399   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27400   esac
27401 _ACEOF
27402
27403 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27404 # If the template does not know about datarootdir, expand it.
27405 # FIXME: This hack should be removed a few years after 2.60.
27406 ac_datarootdir_hack=; ac_datarootdir_seen=
27407 ac_sed_dataroot='
27408 /datarootdir/ {
27409   p
27410   q
27411 }
27412 /@datadir@/p
27413 /@docdir@/p
27414 /@infodir@/p
27415 /@localedir@/p
27416 /@mandir@/p'
27417 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27418 *datarootdir*) ac_datarootdir_seen=yes;;
27419 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27420   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27421 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27422 _ACEOF
27423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27424   ac_datarootdir_hack='
27425   s&@datadir@&$datadir&g
27426   s&@docdir@&$docdir&g
27427   s&@infodir@&$infodir&g
27428   s&@localedir@&$localedir&g
27429   s&@mandir@&$mandir&g
27430   s&\\\${datarootdir}&$datarootdir&g' ;;
27431 esac
27432 _ACEOF
27433
27434 # Neutralize VPATH when `$srcdir' = `.'.
27435 # Shell code in configure.ac might set extrasub.
27436 # FIXME: do we really want to maintain this feature?
27437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27438 ac_sed_extra="$ac_vpsub
27439 $extrasub
27440 _ACEOF
27441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27442 :t
27443 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27444 s|@configure_input@|$ac_sed_conf_input|;t t
27445 s&@top_builddir@&$ac_top_builddir_sub&;t t
27446 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27447 s&@srcdir@&$ac_srcdir&;t t
27448 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27449 s&@top_srcdir@&$ac_top_srcdir&;t t
27450 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27451 s&@builddir@&$ac_builddir&;t t
27452 s&@abs_builddir@&$ac_abs_builddir&;t t
27453 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27454 s&@INSTALL@&$ac_INSTALL&;t t
27455 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27456 $ac_datarootdir_hack
27457 "
27458 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
27459   || as_fn_error "could not create $ac_file" "$LINENO" 5
27460
27461 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27462   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27463   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27464   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27465 which seems to be undefined.  Please make sure it is defined." >&5
27466 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27467 which seems to be undefined.  Please make sure it is defined." >&2;}
27468
27469   rm -f "$tmp/stdin"
27470   case $ac_file in
27471   -) cat "$tmp/out" && rm -f "$tmp/out";;
27472   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27473   esac \
27474   || as_fn_error "could not create $ac_file" "$LINENO" 5
27475  ;;
27476   :H)
27477   #
27478   # CONFIG_HEADER
27479   #
27480   if test x"$ac_file" != x-; then
27481     {
27482       $as_echo "/* $configure_input  */" \
27483       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27484     } >"$tmp/config.h" \
27485       || as_fn_error "could not create $ac_file" "$LINENO" 5
27486     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27487       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27488 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27489     else
27490       rm -f "$ac_file"
27491       mv "$tmp/config.h" "$ac_file" \
27492         || as_fn_error "could not create $ac_file" "$LINENO" 5
27493     fi
27494   else
27495     $as_echo "/* $configure_input  */" \
27496       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27497       || as_fn_error "could not create -" "$LINENO" 5
27498   fi
27499 # Compute "$ac_file"'s index in $config_headers.
27500 _am_arg="$ac_file"
27501 _am_stamp_count=1
27502 for _am_header in $config_headers :; do
27503   case $_am_header in
27504     $_am_arg | $_am_arg:* )
27505       break ;;
27506     * )
27507       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27508   esac
27509 done
27510 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27511 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27512          X"$_am_arg" : 'X\(//\)[^/]' \| \
27513          X"$_am_arg" : 'X\(//\)$' \| \
27514          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27515 $as_echo X"$_am_arg" |
27516     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27517             s//\1/
27518             q
27519           }
27520           /^X\(\/\/\)[^/].*/{
27521             s//\1/
27522             q
27523           }
27524           /^X\(\/\/\)$/{
27525             s//\1/
27526             q
27527           }
27528           /^X\(\/\).*/{
27529             s//\1/
27530             q
27531           }
27532           s/.*/./; q'`/stamp-h$_am_stamp_count
27533  ;;
27534
27535   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27536 $as_echo "$as_me: executing $ac_file commands" >&6;}
27537  ;;
27538   esac
27539
27540
27541   case $ac_file$ac_mode in
27542     "default-1":C)
27543 # Only add multilib support code if we just rebuilt the top-level
27544 # Makefile.
27545 case " $CONFIG_FILES " in
27546  *" Makefile "*)
27547    ac_file=Makefile . ${multi_basedir}/config-ml.in
27548    ;;
27549 esac ;;
27550     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27551   # Autoconf 2.62 quotes --file arguments for eval, but not when files
27552   # are listed without --file.  Let's play safe and only enable the eval
27553   # if we detect the quoting.
27554   case $CONFIG_FILES in
27555   *\'*) eval set x "$CONFIG_FILES" ;;
27556   *)   set x $CONFIG_FILES ;;
27557   esac
27558   shift
27559   for mf
27560   do
27561     # Strip MF so we end up with the name of the file.
27562     mf=`echo "$mf" | sed -e 's/:.*$//'`
27563     # Check whether this is an Automake generated Makefile or not.
27564     # We used to match only the files named `Makefile.in', but
27565     # some people rename them; so instead we look at the file content.
27566     # Grep'ing the first line is not enough: some people post-process
27567     # each Makefile.in and add a new line on top of each file to say so.
27568     # Grep'ing the whole file is not good either: AIX grep has a line
27569     # limit of 2048, but all sed's we know have understand at least 4000.
27570     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27571       dirpart=`$as_dirname -- "$mf" ||
27572 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27573          X"$mf" : 'X\(//\)[^/]' \| \
27574          X"$mf" : 'X\(//\)$' \| \
27575          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27576 $as_echo X"$mf" |
27577     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27578             s//\1/
27579             q
27580           }
27581           /^X\(\/\/\)[^/].*/{
27582             s//\1/
27583             q
27584           }
27585           /^X\(\/\/\)$/{
27586             s//\1/
27587             q
27588           }
27589           /^X\(\/\).*/{
27590             s//\1/
27591             q
27592           }
27593           s/.*/./; q'`
27594     else
27595       continue
27596     fi
27597     # Extract the definition of DEPDIR, am__include, and am__quote
27598     # from the Makefile without running `make'.
27599     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27600     test -z "$DEPDIR" && continue
27601     am__include=`sed -n 's/^am__include = //p' < "$mf"`
27602     test -z "am__include" && continue
27603     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27604     # When using ansi2knr, U may be empty or an underscore; expand it
27605     U=`sed -n 's/^U = //p' < "$mf"`
27606     # Find all dependency output files, they are included files with
27607     # $(DEPDIR) in their names.  We invoke sed twice because it is the
27608     # simplest approach to changing $(DEPDIR) to its actual value in the
27609     # expansion.
27610     for file in `sed -n "
27611       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27612          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27613       # Make sure the directory exists.
27614       test -f "$dirpart/$file" && continue
27615       fdir=`$as_dirname -- "$file" ||
27616 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27617          X"$file" : 'X\(//\)[^/]' \| \
27618          X"$file" : 'X\(//\)$' \| \
27619          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27620 $as_echo X"$file" |
27621     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27622             s//\1/
27623             q
27624           }
27625           /^X\(\/\/\)[^/].*/{
27626             s//\1/
27627             q
27628           }
27629           /^X\(\/\/\)$/{
27630             s//\1/
27631             q
27632           }
27633           /^X\(\/\).*/{
27634             s//\1/
27635             q
27636           }
27637           s/.*/./; q'`
27638       as_dir=$dirpart/$fdir; as_fn_mkdir_p
27639       # echo "creating $dirpart/$file"
27640       echo '# dummy' > "$dirpart/$file"
27641     done
27642   done
27643 }
27644  ;;
27645     "libtool":C)
27646
27647     # See if we are running on zsh, and set the options which allow our
27648     # commands through without removal of \ escapes.
27649     if test -n "${ZSH_VERSION+set}" ; then
27650       setopt NO_GLOB_SUBST
27651     fi
27652
27653     cfgfile="${ofile}T"
27654     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27655     $RM "$cfgfile"
27656
27657     cat <<_LT_EOF >> "$cfgfile"
27658 #! $SHELL
27659
27660 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27661 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27662 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27663 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27664 #
27665 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27666 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
27667 #   Written by Gordon Matzigkeit, 1996
27668 #
27669 #   This file is part of GNU Libtool.
27670 #
27671 # GNU Libtool is free software; you can redistribute it and/or
27672 # modify it under the terms of the GNU General Public License as
27673 # published by the Free Software Foundation; either version 2 of
27674 # the License, or (at your option) any later version.
27675 #
27676 # As a special exception to the GNU General Public License,
27677 # if you distribute this file as part of a program or library that
27678 # is built using GNU Libtool, you may include this file under the
27679 # same distribution terms that you use for the rest of that program.
27680 #
27681 # GNU Libtool is distributed in the hope that it will be useful,
27682 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27683 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27684 # GNU General Public License for more details.
27685 #
27686 # You should have received a copy of the GNU General Public License
27687 # along with GNU Libtool; see the file COPYING.  If not, a copy
27688 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27689 # obtained by writing to the Free Software Foundation, Inc.,
27690 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27691
27692
27693 # The names of the tagged configurations supported by this script.
27694 available_tags="FC "
27695
27696 # ### BEGIN LIBTOOL CONFIG
27697
27698 # Which release of libtool.m4 was used?
27699 macro_version=$macro_version
27700 macro_revision=$macro_revision
27701
27702 # Whether or not to build shared libraries.
27703 build_libtool_libs=$enable_shared
27704
27705 # Whether or not to build static libraries.
27706 build_old_libs=$enable_static
27707
27708 # What type of objects to build.
27709 pic_mode=$pic_mode
27710
27711 # Whether or not to optimize for fast installation.
27712 fast_install=$enable_fast_install
27713
27714 # Shell to use when invoking shell scripts.
27715 SHELL=$lt_SHELL
27716
27717 # An echo program that protects backslashes.
27718 ECHO=$lt_ECHO
27719
27720 # The host system.
27721 host_alias=$host_alias
27722 host=$host
27723 host_os=$host_os
27724
27725 # The build system.
27726 build_alias=$build_alias
27727 build=$build
27728 build_os=$build_os
27729
27730 # A sed program that does not truncate output.
27731 SED=$lt_SED
27732
27733 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27734 Xsed="\$SED -e 1s/^X//"
27735
27736 # A grep program that handles long lines.
27737 GREP=$lt_GREP
27738
27739 # An ERE matcher.
27740 EGREP=$lt_EGREP
27741
27742 # A literal string matcher.
27743 FGREP=$lt_FGREP
27744
27745 # A BSD- or MS-compatible name lister.
27746 NM=$lt_NM
27747
27748 # Whether we need soft or hard links.
27749 LN_S=$lt_LN_S
27750
27751 # What is the maximum length of a command?
27752 max_cmd_len=$max_cmd_len
27753
27754 # Object file suffix (normally "o").
27755 objext=$ac_objext
27756
27757 # Executable file suffix (normally "").
27758 exeext=$exeext
27759
27760 # whether the shell understands "unset".
27761 lt_unset=$lt_unset
27762
27763 # turn spaces into newlines.
27764 SP2NL=$lt_lt_SP2NL
27765
27766 # turn newlines into spaces.
27767 NL2SP=$lt_lt_NL2SP
27768
27769 # An object symbol dumper.
27770 OBJDUMP=$lt_OBJDUMP
27771
27772 # Method to check whether dependent libraries are shared objects.
27773 deplibs_check_method=$lt_deplibs_check_method
27774
27775 # Command to use when deplibs_check_method == "file_magic".
27776 file_magic_cmd=$lt_file_magic_cmd
27777
27778 # The archiver.
27779 AR=$lt_AR
27780 AR_FLAGS=$lt_AR_FLAGS
27781
27782 # A symbol stripping program.
27783 STRIP=$lt_STRIP
27784
27785 # Commands used to install an old-style archive.
27786 RANLIB=$lt_RANLIB
27787 old_postinstall_cmds=$lt_old_postinstall_cmds
27788 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27789
27790 # Whether to use a lock for old archive extraction.
27791 lock_old_archive_extraction=$lock_old_archive_extraction
27792
27793 # A C compiler.
27794 LTCC=$lt_CC
27795
27796 # LTCC compiler flags.
27797 LTCFLAGS=$lt_CFLAGS
27798
27799 # Take the output of nm and produce a listing of raw symbols and C names.
27800 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27801
27802 # Transform the output of nm in a proper C declaration.
27803 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27804
27805 # Transform the output of nm in a C name address pair.
27806 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27807
27808 # Transform the output of nm in a C name address pair when lib prefix is needed.
27809 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27810
27811 # The name of the directory that contains temporary libtool files.
27812 objdir=$objdir
27813
27814 # Used to examine libraries when file_magic_cmd begins with "file".
27815 MAGIC_CMD=$MAGIC_CMD
27816
27817 # Must we lock files when doing compilation?
27818 need_locks=$lt_need_locks
27819
27820 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27821 DSYMUTIL=$lt_DSYMUTIL
27822
27823 # Tool to change global to local symbols on Mac OS X.
27824 NMEDIT=$lt_NMEDIT
27825
27826 # Tool to manipulate fat objects and archives on Mac OS X.
27827 LIPO=$lt_LIPO
27828
27829 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27830 OTOOL=$lt_OTOOL
27831
27832 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27833 OTOOL64=$lt_OTOOL64
27834
27835 # Old archive suffix (normally "a").
27836 libext=$libext
27837
27838 # Shared library suffix (normally ".so").
27839 shrext_cmds=$lt_shrext_cmds
27840
27841 # The commands to extract the exported symbol list from a shared archive.
27842 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27843
27844 # Variables whose values should be saved in libtool wrapper scripts and
27845 # restored at link time.
27846 variables_saved_for_relink=$lt_variables_saved_for_relink
27847
27848 # Do we need the "lib" prefix for modules?
27849 need_lib_prefix=$need_lib_prefix
27850
27851 # Do we need a version for libraries?
27852 need_version=$need_version
27853
27854 # Library versioning type.
27855 version_type=$version_type
27856
27857 # Shared library runtime path variable.
27858 runpath_var=$runpath_var
27859
27860 # Shared library path variable.
27861 shlibpath_var=$shlibpath_var
27862
27863 # Is shlibpath searched before the hard-coded library search path?
27864 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27865
27866 # Format of library name prefix.
27867 libname_spec=$lt_libname_spec
27868
27869 # List of archive names.  First name is the real one, the rest are links.
27870 # The last name is the one that the linker finds with -lNAME
27871 library_names_spec=$lt_library_names_spec
27872
27873 # The coded name of the library, if different from the real name.
27874 soname_spec=$lt_soname_spec
27875
27876 # Permission mode override for installation of shared libraries.
27877 install_override_mode=$lt_install_override_mode
27878
27879 # Command to use after installation of a shared archive.
27880 postinstall_cmds=$lt_postinstall_cmds
27881
27882 # Command to use after uninstallation of a shared archive.
27883 postuninstall_cmds=$lt_postuninstall_cmds
27884
27885 # Commands used to finish a libtool library installation in a directory.
27886 finish_cmds=$lt_finish_cmds
27887
27888 # As "finish_cmds", except a single script fragment to be evaled but
27889 # not shown.
27890 finish_eval=$lt_finish_eval
27891
27892 # Whether we should hardcode library paths into libraries.
27893 hardcode_into_libs=$hardcode_into_libs
27894
27895 # Compile-time system search path for libraries.
27896 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27897
27898 # Run-time system search path for libraries.
27899 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27900
27901 # Whether dlopen is supported.
27902 dlopen_support=$enable_dlopen
27903
27904 # Whether dlopen of programs is supported.
27905 dlopen_self=$enable_dlopen_self
27906
27907 # Whether dlopen of statically linked programs is supported.
27908 dlopen_self_static=$enable_dlopen_self_static
27909
27910 # Commands to strip libraries.
27911 old_striplib=$lt_old_striplib
27912 striplib=$lt_striplib
27913
27914
27915 # The linker used to build libraries.
27916 LD=$lt_LD
27917
27918 # How to create reloadable object files.
27919 reload_flag=$lt_reload_flag
27920 reload_cmds=$lt_reload_cmds
27921
27922 # Commands used to build an old-style archive.
27923 old_archive_cmds=$lt_old_archive_cmds
27924
27925 # A language specific compiler.
27926 CC=$lt_compiler
27927
27928 # Is the compiler the GNU compiler?
27929 with_gcc=$GCC
27930
27931 # Compiler flag to turn off builtin functions.
27932 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27933
27934 # How to pass a linker flag through the compiler.
27935 wl=$lt_lt_prog_compiler_wl
27936
27937 # Additional compiler flags for building library objects.
27938 pic_flag=$lt_lt_prog_compiler_pic
27939
27940 # Compiler flag to prevent dynamic linking.
27941 link_static_flag=$lt_lt_prog_compiler_static
27942
27943 # Does compiler simultaneously support -c and -o options?
27944 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27945
27946 # Whether or not to add -lc for building shared libraries.
27947 build_libtool_need_lc=$archive_cmds_need_lc
27948
27949 # Whether or not to disallow shared libs when runtime libs are static.
27950 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27951
27952 # Compiler flag to allow reflexive dlopens.
27953 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27954
27955 # Compiler flag to generate shared objects directly from archives.
27956 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27957
27958 # Whether the compiler copes with passing no objects directly.
27959 compiler_needs_object=$lt_compiler_needs_object
27960
27961 # Create an old-style archive from a shared archive.
27962 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27963
27964 # Create a temporary old-style archive to link instead of a shared archive.
27965 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27966
27967 # Commands used to build a shared archive.
27968 archive_cmds=$lt_archive_cmds
27969 archive_expsym_cmds=$lt_archive_expsym_cmds
27970
27971 # Commands used to build a loadable module if different from building
27972 # a shared archive.
27973 module_cmds=$lt_module_cmds
27974 module_expsym_cmds=$lt_module_expsym_cmds
27975
27976 # Whether we are building with GNU ld or not.
27977 with_gnu_ld=$lt_with_gnu_ld
27978
27979 # Flag that allows shared libraries with undefined symbols to be built.
27980 allow_undefined_flag=$lt_allow_undefined_flag
27981
27982 # Flag that enforces no undefined symbols.
27983 no_undefined_flag=$lt_no_undefined_flag
27984
27985 # Flag to hardcode \$libdir into a binary during linking.
27986 # This must work even if \$libdir does not exist
27987 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27988
27989 # If ld is used when linking, flag to hardcode \$libdir into a binary
27990 # during linking.  This must work even if \$libdir does not exist.
27991 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
27992
27993 # Whether we need a single "-rpath" flag with a separated argument.
27994 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27995
27996 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27997 # DIR into the resulting binary.
27998 hardcode_direct=$hardcode_direct
27999
28000 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28001 # DIR into the resulting binary and the resulting library dependency is
28002 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28003 # library is relocated.
28004 hardcode_direct_absolute=$hardcode_direct_absolute
28005
28006 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28007 # into the resulting binary.
28008 hardcode_minus_L=$hardcode_minus_L
28009
28010 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28011 # into the resulting binary.
28012 hardcode_shlibpath_var=$hardcode_shlibpath_var
28013
28014 # Set to "yes" if building a shared library automatically hardcodes DIR
28015 # into the library and all subsequent libraries and executables linked
28016 # against it.
28017 hardcode_automatic=$hardcode_automatic
28018
28019 # Set to yes if linker adds runtime paths of dependent libraries
28020 # to runtime path list.
28021 inherit_rpath=$inherit_rpath
28022
28023 # Whether libtool must link a program against all its dependency libraries.
28024 link_all_deplibs=$link_all_deplibs
28025
28026 # Fix the shell variable \$srcfile for the compiler.
28027 fix_srcfile_path=$lt_fix_srcfile_path
28028
28029 # Set to "yes" if exported symbols are required.
28030 always_export_symbols=$always_export_symbols
28031
28032 # The commands to list exported symbols.
28033 export_symbols_cmds=$lt_export_symbols_cmds
28034
28035 # Symbols that should not be listed in the preloaded symbols.
28036 exclude_expsyms=$lt_exclude_expsyms
28037
28038 # Symbols that must always be exported.
28039 include_expsyms=$lt_include_expsyms
28040
28041 # Commands necessary for linking programs (against libraries) with templates.
28042 prelink_cmds=$lt_prelink_cmds
28043
28044 # Specify filename containing input files.
28045 file_list_spec=$lt_file_list_spec
28046
28047 # How to hardcode a shared library path into an executable.
28048 hardcode_action=$hardcode_action
28049
28050 # The directories searched by this compiler when creating a shared library.
28051 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28052
28053 # Dependencies to place before and after the objects being linked to
28054 # create a shared library.
28055 predep_objects=$lt_predep_objects
28056 postdep_objects=$lt_postdep_objects
28057 predeps=$lt_predeps
28058 postdeps=$lt_postdeps
28059
28060 # The library search path used internally by the compiler when linking
28061 # a shared library.
28062 compiler_lib_search_path=$lt_compiler_lib_search_path
28063
28064 # ### END LIBTOOL CONFIG
28065
28066 _LT_EOF
28067
28068   case $host_os in
28069   aix3*)
28070     cat <<\_LT_EOF >> "$cfgfile"
28071 # AIX sometimes has problems with the GCC collect2 program.  For some
28072 # reason, if we set the COLLECT_NAMES environment variable, the problems
28073 # vanish in a puff of smoke.
28074 if test "X${COLLECT_NAMES+set}" != Xset; then
28075   COLLECT_NAMES=
28076   export COLLECT_NAMES
28077 fi
28078 _LT_EOF
28079     ;;
28080   esac
28081
28082
28083 ltmain="$ac_aux_dir/ltmain.sh"
28084
28085
28086   # We use sed instead of cat because bash on DJGPP gets confused if
28087   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
28088   # text mode, it properly converts lines to CR/LF.  This bash problem
28089   # is reportedly fixed, but why not run on old versions too?
28090   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28091     || (rm -f "$cfgfile"; exit 1)
28092
28093   case $xsi_shell in
28094   yes)
28095     cat << \_LT_EOF >> "$cfgfile"
28096
28097 # func_dirname file append nondir_replacement
28098 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28099 # otherwise set result to NONDIR_REPLACEMENT.
28100 func_dirname ()
28101 {
28102   case ${1} in
28103     */*) func_dirname_result="${1%/*}${2}" ;;
28104     *  ) func_dirname_result="${3}" ;;
28105   esac
28106 }
28107
28108 # func_basename file
28109 func_basename ()
28110 {
28111   func_basename_result="${1##*/}"
28112 }
28113
28114 # func_dirname_and_basename file append nondir_replacement
28115 # perform func_basename and func_dirname in a single function
28116 # call:
28117 #   dirname:  Compute the dirname of FILE.  If nonempty,
28118 #             add APPEND to the result, otherwise set result
28119 #             to NONDIR_REPLACEMENT.
28120 #             value returned in "$func_dirname_result"
28121 #   basename: Compute filename of FILE.
28122 #             value retuned in "$func_basename_result"
28123 # Implementation must be kept synchronized with func_dirname
28124 # and func_basename. For efficiency, we do not delegate to
28125 # those functions but instead duplicate the functionality here.
28126 func_dirname_and_basename ()
28127 {
28128   case ${1} in
28129     */*) func_dirname_result="${1%/*}${2}" ;;
28130     *  ) func_dirname_result="${3}" ;;
28131   esac
28132   func_basename_result="${1##*/}"
28133 }
28134
28135 # func_stripname prefix suffix name
28136 # strip PREFIX and SUFFIX off of NAME.
28137 # PREFIX and SUFFIX must not contain globbing or regex special
28138 # characters, hashes, percent signs, but SUFFIX may contain a leading
28139 # dot (in which case that matches only a dot).
28140 func_stripname ()
28141 {
28142   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28143   # positional parameters, so assign one to ordinary parameter first.
28144   func_stripname_result=${3}
28145   func_stripname_result=${func_stripname_result#"${1}"}
28146   func_stripname_result=${func_stripname_result%"${2}"}
28147 }
28148
28149 # func_opt_split
28150 func_opt_split ()
28151 {
28152   func_opt_split_opt=${1%%=*}
28153   func_opt_split_arg=${1#*=}
28154 }
28155
28156 # func_lo2o object
28157 func_lo2o ()
28158 {
28159   case ${1} in
28160     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28161     *)    func_lo2o_result=${1} ;;
28162   esac
28163 }
28164
28165 # func_xform libobj-or-source
28166 func_xform ()
28167 {
28168   func_xform_result=${1%.*}.lo
28169 }
28170
28171 # func_arith arithmetic-term...
28172 func_arith ()
28173 {
28174   func_arith_result=$(( $* ))
28175 }
28176
28177 # func_len string
28178 # STRING may not start with a hyphen.
28179 func_len ()
28180 {
28181   func_len_result=${#1}
28182 }
28183
28184 _LT_EOF
28185     ;;
28186   *) # Bourne compatible functions.
28187     cat << \_LT_EOF >> "$cfgfile"
28188
28189 # func_dirname file append nondir_replacement
28190 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28191 # otherwise set result to NONDIR_REPLACEMENT.
28192 func_dirname ()
28193 {
28194   # Extract subdirectory from the argument.
28195   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28196   if test "X$func_dirname_result" = "X${1}"; then
28197     func_dirname_result="${3}"
28198   else
28199     func_dirname_result="$func_dirname_result${2}"
28200   fi
28201 }
28202
28203 # func_basename file
28204 func_basename ()
28205 {
28206   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28207 }
28208
28209
28210 # func_stripname prefix suffix name
28211 # strip PREFIX and SUFFIX off of NAME.
28212 # PREFIX and SUFFIX must not contain globbing or regex special
28213 # characters, hashes, percent signs, but SUFFIX may contain a leading
28214 # dot (in which case that matches only a dot).
28215 # func_strip_suffix prefix name
28216 func_stripname ()
28217 {
28218   case ${2} in
28219     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28220     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28221   esac
28222 }
28223
28224 # sed scripts:
28225 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28226 my_sed_long_arg='1s/^-[^=]*=//'
28227
28228 # func_opt_split
28229 func_opt_split ()
28230 {
28231   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28232   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28233 }
28234
28235 # func_lo2o object
28236 func_lo2o ()
28237 {
28238   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28239 }
28240
28241 # func_xform libobj-or-source
28242 func_xform ()
28243 {
28244   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28245 }
28246
28247 # func_arith arithmetic-term...
28248 func_arith ()
28249 {
28250   func_arith_result=`expr "$@"`
28251 }
28252
28253 # func_len string
28254 # STRING may not start with a hyphen.
28255 func_len ()
28256 {
28257   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28258 }
28259
28260 _LT_EOF
28261 esac
28262
28263 case $lt_shell_append in
28264   yes)
28265     cat << \_LT_EOF >> "$cfgfile"
28266
28267 # func_append var value
28268 # Append VALUE to the end of shell variable VAR.
28269 func_append ()
28270 {
28271   eval "$1+=\$2"
28272 }
28273 _LT_EOF
28274     ;;
28275   *)
28276     cat << \_LT_EOF >> "$cfgfile"
28277
28278 # func_append var value
28279 # Append VALUE to the end of shell variable VAR.
28280 func_append ()
28281 {
28282   eval "$1=\$$1\$2"
28283 }
28284
28285 _LT_EOF
28286     ;;
28287   esac
28288
28289
28290   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28291     || (rm -f "$cfgfile"; exit 1)
28292
28293   mv -f "$cfgfile" "$ofile" ||
28294     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28295   chmod +x "$ofile"
28296
28297
28298     cat <<_LT_EOF >> "$ofile"
28299
28300 # ### BEGIN LIBTOOL TAG CONFIG: FC
28301
28302 # The linker used to build libraries.
28303 LD=$lt_LD_FC
28304
28305 # How to create reloadable object files.
28306 reload_flag=$lt_reload_flag_FC
28307 reload_cmds=$lt_reload_cmds_FC
28308
28309 # Commands used to build an old-style archive.
28310 old_archive_cmds=$lt_old_archive_cmds_FC
28311
28312 # A language specific compiler.
28313 CC=$lt_compiler_FC
28314
28315 # Is the compiler the GNU compiler?
28316 with_gcc=$GCC_FC
28317
28318 # Compiler flag to turn off builtin functions.
28319 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28320
28321 # How to pass a linker flag through the compiler.
28322 wl=$lt_lt_prog_compiler_wl_FC
28323
28324 # Additional compiler flags for building library objects.
28325 pic_flag=$lt_lt_prog_compiler_pic_FC
28326
28327 # Compiler flag to prevent dynamic linking.
28328 link_static_flag=$lt_lt_prog_compiler_static_FC
28329
28330 # Does compiler simultaneously support -c and -o options?
28331 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28332
28333 # Whether or not to add -lc for building shared libraries.
28334 build_libtool_need_lc=$archive_cmds_need_lc_FC
28335
28336 # Whether or not to disallow shared libs when runtime libs are static.
28337 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
28338
28339 # Compiler flag to allow reflexive dlopens.
28340 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
28341
28342 # Compiler flag to generate shared objects directly from archives.
28343 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
28344
28345 # Whether the compiler copes with passing no objects directly.
28346 compiler_needs_object=$lt_compiler_needs_object_FC
28347
28348 # Create an old-style archive from a shared archive.
28349 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
28350
28351 # Create a temporary old-style archive to link instead of a shared archive.
28352 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
28353
28354 # Commands used to build a shared archive.
28355 archive_cmds=$lt_archive_cmds_FC
28356 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
28357
28358 # Commands used to build a loadable module if different from building
28359 # a shared archive.
28360 module_cmds=$lt_module_cmds_FC
28361 module_expsym_cmds=$lt_module_expsym_cmds_FC
28362
28363 # Whether we are building with GNU ld or not.
28364 with_gnu_ld=$lt_with_gnu_ld_FC
28365
28366 # Flag that allows shared libraries with undefined symbols to be built.
28367 allow_undefined_flag=$lt_allow_undefined_flag_FC
28368
28369 # Flag that enforces no undefined symbols.
28370 no_undefined_flag=$lt_no_undefined_flag_FC
28371
28372 # Flag to hardcode \$libdir into a binary during linking.
28373 # This must work even if \$libdir does not exist
28374 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
28375
28376 # If ld is used when linking, flag to hardcode \$libdir into a binary
28377 # during linking.  This must work even if \$libdir does not exist.
28378 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
28379
28380 # Whether we need a single "-rpath" flag with a separated argument.
28381 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
28382
28383 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28384 # DIR into the resulting binary.
28385 hardcode_direct=$hardcode_direct_FC
28386
28387 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28388 # DIR into the resulting binary and the resulting library dependency is
28389 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28390 # library is relocated.
28391 hardcode_direct_absolute=$hardcode_direct_absolute_FC
28392
28393 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28394 # into the resulting binary.
28395 hardcode_minus_L=$hardcode_minus_L_FC
28396
28397 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28398 # into the resulting binary.
28399 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
28400
28401 # Set to "yes" if building a shared library automatically hardcodes DIR
28402 # into the library and all subsequent libraries and executables linked
28403 # against it.
28404 hardcode_automatic=$hardcode_automatic_FC
28405
28406 # Set to yes if linker adds runtime paths of dependent libraries
28407 # to runtime path list.
28408 inherit_rpath=$inherit_rpath_FC
28409
28410 # Whether libtool must link a program against all its dependency libraries.
28411 link_all_deplibs=$link_all_deplibs_FC
28412
28413 # Fix the shell variable \$srcfile for the compiler.
28414 fix_srcfile_path=$lt_fix_srcfile_path_FC
28415
28416 # Set to "yes" if exported symbols are required.
28417 always_export_symbols=$always_export_symbols_FC
28418
28419 # The commands to list exported symbols.
28420 export_symbols_cmds=$lt_export_symbols_cmds_FC
28421
28422 # Symbols that should not be listed in the preloaded symbols.
28423 exclude_expsyms=$lt_exclude_expsyms_FC
28424
28425 # Symbols that must always be exported.
28426 include_expsyms=$lt_include_expsyms_FC
28427
28428 # Commands necessary for linking programs (against libraries) with templates.
28429 prelink_cmds=$lt_prelink_cmds_FC
28430
28431 # Specify filename containing input files.
28432 file_list_spec=$lt_file_list_spec_FC
28433
28434 # How to hardcode a shared library path into an executable.
28435 hardcode_action=$hardcode_action_FC
28436
28437 # The directories searched by this compiler when creating a shared library.
28438 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
28439
28440 # Dependencies to place before and after the objects being linked to
28441 # create a shared library.
28442 predep_objects=$lt_predep_objects_FC
28443 postdep_objects=$lt_postdep_objects_FC
28444 predeps=$lt_predeps_FC
28445 postdeps=$lt_postdeps_FC
28446
28447 # The library search path used internally by the compiler when linking
28448 # a shared library.
28449 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
28450
28451 # ### END LIBTOOL TAG CONFIG: FC
28452 _LT_EOF
28453
28454  ;;
28455     "gstdint.h":C)
28456 if test "$GCC" = yes; then
28457   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
28458 else
28459   echo "/* generated for $CC */" > tmp-stdint.h
28460 fi
28461
28462 sed 's/^ *//' >> tmp-stdint.h <<EOF
28463
28464   #ifndef GCC_GENERATED_STDINT_H
28465   #define GCC_GENERATED_STDINT_H 1
28466
28467   #include <sys/types.h>
28468 EOF
28469
28470 if test "$acx_cv_header_stdint" != stdint.h; then
28471   echo "#include <stddef.h>" >> tmp-stdint.h
28472 fi
28473 if test "$acx_cv_header_stdint" != stddef.h; then
28474   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
28475 fi
28476
28477 sed 's/^ *//' >> tmp-stdint.h <<EOF
28478   /* glibc uses these symbols as guards to prevent redefinitions.  */
28479   #ifdef __int8_t_defined
28480   #define _INT8_T
28481   #define _INT16_T
28482   #define _INT32_T
28483   #endif
28484   #ifdef __uint32_t_defined
28485   #define _UINT32_T
28486   #endif
28487
28488 EOF
28489
28490 # ----------------- done header, emit basic int types -------------
28491 if test "$acx_cv_header_stdint" = stddef.h; then
28492   sed 's/^ *//' >> tmp-stdint.h <<EOF
28493
28494     #ifndef _UINT8_T
28495     #define _UINT8_T
28496     #ifndef __uint8_t_defined
28497     #define __uint8_t_defined
28498     #ifndef uint8_t
28499     typedef unsigned $acx_cv_type_int8_t uint8_t;
28500     #endif
28501     #endif
28502     #endif
28503
28504     #ifndef _UINT16_T
28505     #define _UINT16_T
28506     #ifndef __uint16_t_defined
28507     #define __uint16_t_defined
28508     #ifndef uint16_t
28509     typedef unsigned $acx_cv_type_int16_t uint16_t;
28510     #endif
28511     #endif
28512     #endif
28513
28514     #ifndef _UINT32_T
28515     #define _UINT32_T
28516     #ifndef __uint32_t_defined
28517     #define __uint32_t_defined
28518     #ifndef uint32_t
28519     typedef unsigned $acx_cv_type_int32_t uint32_t;
28520     #endif
28521     #endif
28522     #endif
28523
28524     #ifndef _INT8_T
28525     #define _INT8_T
28526     #ifndef __int8_t_defined
28527     #define __int8_t_defined
28528     #ifndef int8_t
28529     typedef $acx_cv_type_int8_t int8_t;
28530     #endif
28531     #endif
28532     #endif
28533
28534     #ifndef _INT16_T
28535     #define _INT16_T
28536     #ifndef __int16_t_defined
28537     #define __int16_t_defined
28538     #ifndef int16_t
28539     typedef $acx_cv_type_int16_t int16_t;
28540     #endif
28541     #endif
28542     #endif
28543
28544     #ifndef _INT32_T
28545     #define _INT32_T
28546     #ifndef __int32_t_defined
28547     #define __int32_t_defined
28548     #ifndef int32_t
28549     typedef $acx_cv_type_int32_t int32_t;
28550     #endif
28551     #endif
28552     #endif
28553 EOF
28554 elif test "$ac_cv_type_u_int32_t" = yes; then
28555   sed 's/^ *//' >> tmp-stdint.h <<EOF
28556
28557     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
28558     #ifndef _INT8_T
28559     #define _INT8_T
28560     #endif
28561     #ifndef _INT16_T
28562     #define _INT16_T
28563     #endif
28564     #ifndef _INT32_T
28565     #define _INT32_T
28566     #endif
28567
28568     #ifndef _UINT8_T
28569     #define _UINT8_T
28570     #ifndef __uint8_t_defined
28571     #define __uint8_t_defined
28572     #ifndef uint8_t
28573     typedef u_int8_t uint8_t;
28574     #endif
28575     #endif
28576     #endif
28577
28578     #ifndef _UINT16_T
28579     #define _UINT16_T
28580     #ifndef __uint16_t_defined
28581     #define __uint16_t_defined
28582     #ifndef uint16_t
28583     typedef u_int16_t uint16_t;
28584     #endif
28585     #endif
28586     #endif
28587
28588     #ifndef _UINT32_T
28589     #define _UINT32_T
28590     #ifndef __uint32_t_defined
28591     #define __uint32_t_defined
28592     #ifndef uint32_t
28593     typedef u_int32_t uint32_t;
28594     #endif
28595     #endif
28596     #endif
28597 EOF
28598 else
28599   sed 's/^ *//' >> tmp-stdint.h <<EOF
28600
28601     /* Some systems have guard macros to prevent redefinitions, define them.  */
28602     #ifndef _INT8_T
28603     #define _INT8_T
28604     #endif
28605     #ifndef _INT16_T
28606     #define _INT16_T
28607     #endif
28608     #ifndef _INT32_T
28609     #define _INT32_T
28610     #endif
28611     #ifndef _UINT8_T
28612     #define _UINT8_T
28613     #endif
28614     #ifndef _UINT16_T
28615     #define _UINT16_T
28616     #endif
28617     #ifndef _UINT32_T
28618     #define _UINT32_T
28619     #endif
28620 EOF
28621 fi
28622
28623 # ------------- done basic int types, emit int64_t types ------------
28624 if test "$ac_cv_type_uint64_t" = yes; then
28625   sed 's/^ *//' >> tmp-stdint.h <<EOF
28626
28627     /* system headers have good uint64_t and int64_t */
28628     #ifndef _INT64_T
28629     #define _INT64_T
28630     #endif
28631     #ifndef _UINT64_T
28632     #define _UINT64_T
28633     #endif
28634 EOF
28635 elif test "$ac_cv_type_u_int64_t" = yes; then
28636   sed 's/^ *//' >> tmp-stdint.h <<EOF
28637
28638     /* system headers have an u_int64_t (and int64_t) */
28639     #ifndef _INT64_T
28640     #define _INT64_T
28641     #endif
28642     #ifndef _UINT64_T
28643     #define _UINT64_T
28644     #ifndef __uint64_t_defined
28645     #define __uint64_t_defined
28646     #ifndef uint64_t
28647     typedef u_int64_t uint64_t;
28648     #endif
28649     #endif
28650     #endif
28651 EOF
28652 elif test -n "$acx_cv_type_int64_t"; then
28653   sed 's/^ *//' >> tmp-stdint.h <<EOF
28654
28655     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
28656     #ifndef _INT64_T
28657     #define _INT64_T
28658     #ifndef int64_t
28659     typedef $acx_cv_type_int64_t int64_t;
28660     #endif
28661     #endif
28662     #ifndef _UINT64_T
28663     #define _UINT64_T
28664     #ifndef __uint64_t_defined
28665     #define __uint64_t_defined
28666     #ifndef uint64_t
28667     typedef unsigned $acx_cv_type_int64_t uint64_t;
28668     #endif
28669     #endif
28670     #endif
28671 EOF
28672 else
28673   sed 's/^ *//' >> tmp-stdint.h <<EOF
28674
28675     /* some common heuristics for int64_t, using compiler-specific tests */
28676     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
28677     #ifndef _INT64_T
28678     #define _INT64_T
28679     #ifndef __int64_t_defined
28680     #ifndef int64_t
28681     typedef long long int64_t;
28682     #endif
28683     #endif
28684     #endif
28685     #ifndef _UINT64_T
28686     #define _UINT64_T
28687     #ifndef uint64_t
28688     typedef unsigned long long uint64_t;
28689     #endif
28690     #endif
28691
28692     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
28693     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
28694        does not implement __extension__.  But that compiler doesn't define
28695        __GNUC_MINOR__.  */
28696     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
28697     # define __extension__
28698     # endif
28699
28700     # ifndef _INT64_T
28701     # define _INT64_T
28702     # ifndef int64_t
28703     __extension__ typedef long long int64_t;
28704     # endif
28705     # endif
28706     # ifndef _UINT64_T
28707     # define _UINT64_T
28708     # ifndef uint64_t
28709     __extension__ typedef unsigned long long uint64_t;
28710     # endif
28711     # endif
28712
28713     #elif !defined __STRICT_ANSI__
28714     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
28715
28716     #  ifndef _INT64_T
28717     #  define _INT64_T
28718     #  ifndef int64_t
28719     typedef __int64 int64_t;
28720     #  endif
28721     #  endif
28722     #  ifndef _UINT64_T
28723     #  define _UINT64_T
28724     #  ifndef uint64_t
28725     typedef unsigned __int64 uint64_t;
28726     #  endif
28727     #  endif
28728     # endif /* compiler */
28729
28730     #endif /* ANSI version */
28731 EOF
28732 fi
28733
28734 # ------------- done int64_t types, emit intptr types ------------
28735 if test "$ac_cv_type_uintptr_t" != yes; then
28736   sed 's/^ *//' >> tmp-stdint.h <<EOF
28737
28738     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
28739     #ifndef __uintptr_t_defined
28740     #ifndef uintptr_t
28741     typedef u$acx_cv_type_intptr_t uintptr_t;
28742     #endif
28743     #endif
28744     #ifndef __intptr_t_defined
28745     #ifndef intptr_t
28746     typedef $acx_cv_type_intptr_t  intptr_t;
28747     #endif
28748     #endif
28749 EOF
28750 fi
28751
28752 # ------------- done intptr types, emit int_least types ------------
28753 if test "$ac_cv_type_int_least32_t" != yes; then
28754   sed 's/^ *//' >> tmp-stdint.h <<EOF
28755
28756     /* Define int_least types */
28757     typedef int8_t     int_least8_t;
28758     typedef int16_t    int_least16_t;
28759     typedef int32_t    int_least32_t;
28760     #ifdef _INT64_T
28761     typedef int64_t    int_least64_t;
28762     #endif
28763
28764     typedef uint8_t    uint_least8_t;
28765     typedef uint16_t   uint_least16_t;
28766     typedef uint32_t   uint_least32_t;
28767     #ifdef _UINT64_T
28768     typedef uint64_t   uint_least64_t;
28769     #endif
28770 EOF
28771 fi
28772
28773 # ------------- done intptr types, emit int_fast types ------------
28774 if test "$ac_cv_type_int_fast32_t" != yes; then
28775       sed 's/^ *//' >> tmp-stdint.h <<EOF
28776
28777     /* Define int_fast types.  short is often slow */
28778     typedef int8_t       int_fast8_t;
28779     typedef int          int_fast16_t;
28780     typedef int32_t      int_fast32_t;
28781     #ifdef _INT64_T
28782     typedef int64_t      int_fast64_t;
28783     #endif
28784
28785     typedef uint8_t      uint_fast8_t;
28786     typedef unsigned int uint_fast16_t;
28787     typedef uint32_t     uint_fast32_t;
28788     #ifdef _UINT64_T
28789     typedef uint64_t     uint_fast64_t;
28790     #endif
28791 EOF
28792 fi
28793
28794 if test "$ac_cv_type_uintmax_t" != yes; then
28795   sed 's/^ *//' >> tmp-stdint.h <<EOF
28796
28797     /* Define intmax based on what we found */
28798     #ifndef intmax_t
28799     #ifdef _INT64_T
28800     typedef int64_t       intmax_t;
28801     #else
28802     typedef long          intmax_t;
28803     #endif
28804     #endif
28805     #ifndef uintmax_t
28806     #ifdef _UINT64_T
28807     typedef uint64_t      uintmax_t;
28808     #else
28809     typedef unsigned long uintmax_t;
28810     #endif
28811     #endif
28812 EOF
28813 fi
28814
28815 sed 's/^ *//' >> tmp-stdint.h <<EOF
28816
28817   #endif /* GCC_GENERATED_STDINT_H */
28818 EOF
28819
28820 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
28821   rm -f tmp-stdint.h
28822 else
28823   mv -f tmp-stdint.h gstdint.h
28824 fi
28825
28826  ;;
28827
28828   esac
28829 done # for ac_tag
28830
28831
28832 as_fn_exit 0
28833 _ACEOF
28834 ac_clean_files=$ac_clean_files_save
28835
28836 test $ac_write_fail = 0 ||
28837   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
28838
28839
28840 # configure is writing to config.log, and then calls config.status.
28841 # config.status does its own redirection, appending to config.log.
28842 # Unfortunately, on DOS this fails, as config.log is still kept open
28843 # by configure, so config.status won't be able to write to it; its
28844 # output is simply discarded.  So we exec the FD to /dev/null,
28845 # effectively closing config.log, so it can be properly (re)opened and
28846 # appended to by config.status.  When coming back to configure, we
28847 # need to make the FD available again.
28848 if test "$no_create" != yes; then
28849   ac_cs_success=:
28850   ac_config_status_args=
28851   test "$silent" = yes &&
28852     ac_config_status_args="$ac_config_status_args --quiet"
28853   exec 5>/dev/null
28854   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28855   exec 5>>config.log
28856   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28857   # would make configure fail if this is the last instruction.
28858   $ac_cs_success || as_fn_exit $?
28859 fi
28860 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28861   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28862 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28863 fi
28864