libstdc++, libgfortran gthr workaround for musl
[platform/upstream/gcc.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_c_werror_flag=
604 ac_subst_vars='am__EXEEXT_FALSE
605 am__EXEEXT_TRUE
606 LTLIBOBJS
607 LIBOBJS
608 IEEE_FLAGS
609 IEEE_SUPPORT
610 IEEE_SUPPORT_FALSE
611 IEEE_SUPPORT_TRUE
612 FPU_HOST_HEADER
613 LIBGFOR_BUILD_QUAD_FALSE
614 LIBGFOR_BUILD_QUAD_TRUE
615 LIBQUADINCLUDE
616 LIBQUADLIB_DEP
617 LIBQUADLIB
618 LIBQUADSPEC
619 extra_ldflags_libgfortran
620 ac_ct_FC
621 FCFLAGS
622 FC
623 enable_static
624 enable_shared
625 lt_host_flags
626 OTOOL64
627 OTOOL
628 LIPO
629 NMEDIT
630 DSYMUTIL
631 OBJDUMP
632 LN_S
633 NM
634 ac_ct_DUMPBIN
635 DUMPBIN
636 LD
637 FGREP
638 SED
639 LIBTOOL
640 RANLIB
641 AR
642 AS
643 SECTION_FLAGS
644 LIBGFOR_MINIMAL_FALSE
645 LIBGFOR_MINIMAL_TRUE
646 LIBGFOR_USE_SYMVER_SUN_FALSE
647 LIBGFOR_USE_SYMVER_SUN_TRUE
648 LIBGFOR_USE_SYMVER_GNU_FALSE
649 LIBGFOR_USE_SYMVER_GNU_TRUE
650 LIBGFOR_USE_SYMVER_FALSE
651 LIBGFOR_USE_SYMVER_TRUE
652 AM_CFLAGS
653 AM_FCFLAGS
654 toolexeclibdir
655 toolexecdir
656 EGREP
657 GREP
658 CPP
659 am__fastdepCC_FALSE
660 am__fastdepCC_TRUE
661 CCDEPMODE
662 am__nodep
663 AMDEPBACKSLASH
664 AMDEP_FALSE
665 AMDEP_TRUE
666 am__quote
667 am__include
668 DEPDIR
669 OBJEXT
670 EXEEXT
671 ac_ct_CC
672 CPPFLAGS
673 LDFLAGS
674 CFLAGS
675 CC
676 multi_basedir
677 MAINT
678 MAINTAINER_MODE_FALSE
679 MAINTAINER_MODE_TRUE
680 am__untar
681 am__tar
682 AMTAR
683 am__leading_dot
684 SET_MAKE
685 AWK
686 mkdir_p
687 MKDIR_P
688 INSTALL_STRIP_PROGRAM
689 STRIP
690 install_sh
691 MAKEINFO
692 AUTOHEADER
693 AUTOMAKE
694 AUTOCONF
695 ACLOCAL
696 VERSION
697 PACKAGE
698 CYGPATH_W
699 am__isrc
700 INSTALL_DATA
701 INSTALL_SCRIPT
702 INSTALL_PROGRAM
703 target_noncanonical
704 target_os
705 target_vendor
706 target_cpu
707 target
708 host_os
709 host_vendor
710 host_cpu
711 host
712 onestep
713 onestep_FALSE
714 onestep_TRUE
715 target_subdir
716 host_subdir
717 build_subdir
718 build_libsubdir
719 build_os
720 build_vendor
721 build_cpu
722 build
723 target_alias
724 host_alias
725 build_alias
726 LIBS
727 ECHO_T
728 ECHO_N
729 ECHO_C
730 DEFS
731 mandir
732 localedir
733 libdir
734 psdir
735 pdfdir
736 dvidir
737 htmldir
738 infodir
739 docdir
740 oldincludedir
741 includedir
742 localstatedir
743 sharedstatedir
744 sysconfdir
745 datadir
746 datarootdir
747 libexecdir
748 sbindir
749 bindir
750 program_transform_name
751 prefix
752 exec_prefix
753 PACKAGE_URL
754 PACKAGE_BUGREPORT
755 PACKAGE_STRING
756 PACKAGE_VERSION
757 PACKAGE_TARNAME
758 PACKAGE_NAME
759 PATH_SEPARATOR
760 SHELL'
761 ac_subst_files=''
762 ac_user_opts='
763 enable_option_checking
764 with_build_libsubdir
765 enable_version_specific_runtime_libs
766 enable_intermodule
767 enable_maintainer_mode
768 enable_multilib
769 enable_dependency_tracking
770 enable_symvers
771 enable_shared
772 enable_static
773 with_pic
774 enable_fast_install
775 with_gnu_ld
776 enable_libtool_lock
777 enable_largefile
778 enable_libquadmath_support
779 with_system_libunwind
780 '
781       ac_precious_vars='build_alias
782 host_alias
783 target_alias
784 CC
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
789 CPP
790 FC
791 FCFLAGS'
792
793
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 ac_unrecognized_opts=
798 ac_unrecognized_sep=
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
815
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
841
842 ac_prev=
843 ac_dashdash=
844 for ac_option
845 do
846   # If the previous option needs an argument, assign it.
847   if test -n "$ac_prev"; then
848     eval $ac_prev=\$ac_option
849     ac_prev=
850     continue
851   fi
852
853   case $ac_option in
854   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855   *)    ac_optarg=yes ;;
856   esac
857
858   # Accept the important Cygnus configure options, so we can diagnose typos.
859
860   case $ac_dashdash$ac_option in
861   --)
862     ac_dashdash=yes ;;
863
864   -bindir | --bindir | --bindi | --bind | --bin | --bi)
865     ac_prev=bindir ;;
866   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867     bindir=$ac_optarg ;;
868
869   -build | --build | --buil | --bui | --bu)
870     ac_prev=build_alias ;;
871   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872     build_alias=$ac_optarg ;;
873
874   -cache-file | --cache-file | --cache-fil | --cache-fi \
875   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876     ac_prev=cache_file ;;
877   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879     cache_file=$ac_optarg ;;
880
881   --config-cache | -C)
882     cache_file=config.cache ;;
883
884   -datadir | --datadir | --datadi | --datad)
885     ac_prev=datadir ;;
886   -datadir=* | --datadir=* | --datadi=* | --datad=*)
887     datadir=$ac_optarg ;;
888
889   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890   | --dataroo | --dataro | --datar)
891     ac_prev=datarootdir ;;
892   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894     datarootdir=$ac_optarg ;;
895
896   -disable-* | --disable-*)
897     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898     # Reject names that are not valid shell variable names.
899     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
900       as_fn_error "invalid feature name: $ac_useropt"
901     ac_useropt_orig=$ac_useropt
902     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
903     case $ac_user_opts in
904       *"
905 "enable_$ac_useropt"
906 "*) ;;
907       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
908          ac_unrecognized_sep=', ';;
909     esac
910     eval enable_$ac_useropt=no ;;
911
912   -docdir | --docdir | --docdi | --doc | --do)
913     ac_prev=docdir ;;
914   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915     docdir=$ac_optarg ;;
916
917   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
918     ac_prev=dvidir ;;
919   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920     dvidir=$ac_optarg ;;
921
922   -enable-* | --enable-*)
923     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
924     # Reject names that are not valid shell variable names.
925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
926       as_fn_error "invalid feature name: $ac_useropt"
927     ac_useropt_orig=$ac_useropt
928     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
929     case $ac_user_opts in
930       *"
931 "enable_$ac_useropt"
932 "*) ;;
933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
934          ac_unrecognized_sep=', ';;
935     esac
936     eval enable_$ac_useropt=\$ac_optarg ;;
937
938   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
939   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
940   | --exec | --exe | --ex)
941     ac_prev=exec_prefix ;;
942   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
943   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
944   | --exec=* | --exe=* | --ex=*)
945     exec_prefix=$ac_optarg ;;
946
947   -gas | --gas | --ga | --g)
948     # Obsolete; use --with-gas.
949     with_gas=yes ;;
950
951   -help | --help | --hel | --he | -h)
952     ac_init_help=long ;;
953   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
954     ac_init_help=recursive ;;
955   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
956     ac_init_help=short ;;
957
958   -host | --host | --hos | --ho)
959     ac_prev=host_alias ;;
960   -host=* | --host=* | --hos=* | --ho=*)
961     host_alias=$ac_optarg ;;
962
963   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
964     ac_prev=htmldir ;;
965   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
966   | --ht=*)
967     htmldir=$ac_optarg ;;
968
969   -includedir | --includedir | --includedi | --included | --include \
970   | --includ | --inclu | --incl | --inc)
971     ac_prev=includedir ;;
972   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
973   | --includ=* | --inclu=* | --incl=* | --inc=*)
974     includedir=$ac_optarg ;;
975
976   -infodir | --infodir | --infodi | --infod | --info | --inf)
977     ac_prev=infodir ;;
978   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
979     infodir=$ac_optarg ;;
980
981   -libdir | --libdir | --libdi | --libd)
982     ac_prev=libdir ;;
983   -libdir=* | --libdir=* | --libdi=* | --libd=*)
984     libdir=$ac_optarg ;;
985
986   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
987   | --libexe | --libex | --libe)
988     ac_prev=libexecdir ;;
989   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
990   | --libexe=* | --libex=* | --libe=*)
991     libexecdir=$ac_optarg ;;
992
993   -localedir | --localedir | --localedi | --localed | --locale)
994     ac_prev=localedir ;;
995   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
996     localedir=$ac_optarg ;;
997
998   -localstatedir | --localstatedir | --localstatedi | --localstated \
999   | --localstate | --localstat | --localsta | --localst | --locals)
1000     ac_prev=localstatedir ;;
1001   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1002   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1003     localstatedir=$ac_optarg ;;
1004
1005   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1006     ac_prev=mandir ;;
1007   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1008     mandir=$ac_optarg ;;
1009
1010   -nfp | --nfp | --nf)
1011     # Obsolete; use --without-fp.
1012     with_fp=no ;;
1013
1014   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1015   | --no-cr | --no-c | -n)
1016     no_create=yes ;;
1017
1018   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1019   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1020     no_recursion=yes ;;
1021
1022   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1023   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1024   | --oldin | --oldi | --old | --ol | --o)
1025     ac_prev=oldincludedir ;;
1026   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1027   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1028   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1029     oldincludedir=$ac_optarg ;;
1030
1031   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1032     ac_prev=prefix ;;
1033   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1034     prefix=$ac_optarg ;;
1035
1036   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1037   | --program-pre | --program-pr | --program-p)
1038     ac_prev=program_prefix ;;
1039   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1040   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1041     program_prefix=$ac_optarg ;;
1042
1043   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1044   | --program-suf | --program-su | --program-s)
1045     ac_prev=program_suffix ;;
1046   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1047   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1048     program_suffix=$ac_optarg ;;
1049
1050   -program-transform-name | --program-transform-name \
1051   | --program-transform-nam | --program-transform-na \
1052   | --program-transform-n | --program-transform- \
1053   | --program-transform | --program-transfor \
1054   | --program-transfo | --program-transf \
1055   | --program-trans | --program-tran \
1056   | --progr-tra | --program-tr | --program-t)
1057     ac_prev=program_transform_name ;;
1058   -program-transform-name=* | --program-transform-name=* \
1059   | --program-transform-nam=* | --program-transform-na=* \
1060   | --program-transform-n=* | --program-transform-=* \
1061   | --program-transform=* | --program-transfor=* \
1062   | --program-transfo=* | --program-transf=* \
1063   | --program-trans=* | --program-tran=* \
1064   | --progr-tra=* | --program-tr=* | --program-t=*)
1065     program_transform_name=$ac_optarg ;;
1066
1067   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1068     ac_prev=pdfdir ;;
1069   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1070     pdfdir=$ac_optarg ;;
1071
1072   -psdir | --psdir | --psdi | --psd | --ps)
1073     ac_prev=psdir ;;
1074   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1075     psdir=$ac_optarg ;;
1076
1077   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1078   | -silent | --silent | --silen | --sile | --sil)
1079     silent=yes ;;
1080
1081   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1082     ac_prev=sbindir ;;
1083   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1084   | --sbi=* | --sb=*)
1085     sbindir=$ac_optarg ;;
1086
1087   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1088   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1089   | --sharedst | --shareds | --shared | --share | --shar \
1090   | --sha | --sh)
1091     ac_prev=sharedstatedir ;;
1092   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1093   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1094   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1095   | --sha=* | --sh=*)
1096     sharedstatedir=$ac_optarg ;;
1097
1098   -site | --site | --sit)
1099     ac_prev=site ;;
1100   -site=* | --site=* | --sit=*)
1101     site=$ac_optarg ;;
1102
1103   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1104     ac_prev=srcdir ;;
1105   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1106     srcdir=$ac_optarg ;;
1107
1108   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1109   | --syscon | --sysco | --sysc | --sys | --sy)
1110     ac_prev=sysconfdir ;;
1111   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1112   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1113     sysconfdir=$ac_optarg ;;
1114
1115   -target | --target | --targe | --targ | --tar | --ta | --t)
1116     ac_prev=target_alias ;;
1117   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1118     target_alias=$ac_optarg ;;
1119
1120   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1121     verbose=yes ;;
1122
1123   -version | --version | --versio | --versi | --vers | -V)
1124     ac_init_version=: ;;
1125
1126   -with-* | --with-*)
1127     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1128     # Reject names that are not valid shell variable names.
1129     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130       as_fn_error "invalid package name: $ac_useropt"
1131     ac_useropt_orig=$ac_useropt
1132     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133     case $ac_user_opts in
1134       *"
1135 "with_$ac_useropt"
1136 "*) ;;
1137       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1138          ac_unrecognized_sep=', ';;
1139     esac
1140     eval with_$ac_useropt=\$ac_optarg ;;
1141
1142   -without-* | --without-*)
1143     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1144     # Reject names that are not valid shell variable names.
1145     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1146       as_fn_error "invalid package name: $ac_useropt"
1147     ac_useropt_orig=$ac_useropt
1148     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1149     case $ac_user_opts in
1150       *"
1151 "with_$ac_useropt"
1152 "*) ;;
1153       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1154          ac_unrecognized_sep=', ';;
1155     esac
1156     eval with_$ac_useropt=no ;;
1157
1158   --x)
1159     # Obsolete; use --with-x.
1160     with_x=yes ;;
1161
1162   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1163   | --x-incl | --x-inc | --x-in | --x-i)
1164     ac_prev=x_includes ;;
1165   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1166   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1167     x_includes=$ac_optarg ;;
1168
1169   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1170   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1171     ac_prev=x_libraries ;;
1172   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1173   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1174     x_libraries=$ac_optarg ;;
1175
1176   -*) as_fn_error "unrecognized option: \`$ac_option'
1177 Try \`$0 --help' for more information."
1178     ;;
1179
1180   *=*)
1181     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1182     # Reject names that are not valid shell variable names.
1183     case $ac_envvar in #(
1184       '' | [0-9]* | *[!_$as_cr_alnum]* )
1185       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1186     esac
1187     eval $ac_envvar=\$ac_optarg
1188     export $ac_envvar ;;
1189
1190   *)
1191     # FIXME: should be removed in autoconf 3.0.
1192     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1193     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1194       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1195     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1196     ;;
1197
1198   esac
1199 done
1200
1201 if test -n "$ac_prev"; then
1202   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1203   as_fn_error "missing argument to $ac_option"
1204 fi
1205
1206 if test -n "$ac_unrecognized_opts"; then
1207   case $enable_option_checking in
1208     no) ;;
1209     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1210     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211   esac
1212 fi
1213
1214 # Check all directory arguments for consistency.
1215 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1216                 datadir sysconfdir sharedstatedir localstatedir includedir \
1217                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1218                 libdir localedir mandir
1219 do
1220   eval ac_val=\$$ac_var
1221   # Remove trailing slashes.
1222   case $ac_val in
1223     */ )
1224       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1225       eval $ac_var=\$ac_val;;
1226   esac
1227   # Be sure to have absolute directory names.
1228   case $ac_val in
1229     [\\/$]* | ?:[\\/]* )  continue;;
1230     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1231   esac
1232   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1233 done
1234
1235 # There might be people who depend on the old broken behavior: `$host'
1236 # used to hold the argument of --host etc.
1237 # FIXME: To remove some day.
1238 build=$build_alias
1239 host=$host_alias
1240 target=$target_alias
1241
1242 # FIXME: To remove some day.
1243 if test "x$host_alias" != x; then
1244   if test "x$build_alias" = x; then
1245     cross_compiling=maybe
1246     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1247     If a cross compiler is detected then cross compile mode will be used." >&2
1248   elif test "x$build_alias" != "x$host_alias"; then
1249     cross_compiling=yes
1250   fi
1251 fi
1252
1253 ac_tool_prefix=
1254 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1255
1256 test "$silent" = yes && exec 6>/dev/null
1257
1258
1259 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1260 ac_ls_di=`ls -di .` &&
1261 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1262   as_fn_error "working directory cannot be determined"
1263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1264   as_fn_error "pwd does not report name of working directory"
1265
1266
1267 # Find the source files, if location was not specified.
1268 if test -z "$srcdir"; then
1269   ac_srcdir_defaulted=yes
1270   # Try the directory containing this script, then the parent directory.
1271   ac_confdir=`$as_dirname -- "$as_myself" ||
1272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1273          X"$as_myself" : 'X\(//\)[^/]' \| \
1274          X"$as_myself" : 'X\(//\)$' \| \
1275          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1276 $as_echo X"$as_myself" |
1277     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1278             s//\1/
1279             q
1280           }
1281           /^X\(\/\/\)[^/].*/{
1282             s//\1/
1283             q
1284           }
1285           /^X\(\/\/\)$/{
1286             s//\1/
1287             q
1288           }
1289           /^X\(\/\).*/{
1290             s//\1/
1291             q
1292           }
1293           s/.*/./; q'`
1294   srcdir=$ac_confdir
1295   if test ! -r "$srcdir/$ac_unique_file"; then
1296     srcdir=..
1297   fi
1298 else
1299   ac_srcdir_defaulted=no
1300 fi
1301 if test ! -r "$srcdir/$ac_unique_file"; then
1302   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1303   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1304 fi
1305 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 ac_abs_confdir=`(
1307         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1308         pwd)`
1309 # When building in place, set srcdir=.
1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
1311   srcdir=.
1312 fi
1313 # Remove unnecessary trailing slashes from srcdir.
1314 # Double slashes in file names in object file debugging info
1315 # mess up M-x gdb in Emacs.
1316 case $srcdir in
1317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 esac
1319 for ac_var in $ac_precious_vars; do
1320   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1321   eval ac_env_${ac_var}_value=\$${ac_var}
1322   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1323   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1324 done
1325
1326 #
1327 # Report the --help message.
1328 #
1329 if test "$ac_init_help" = "long"; then
1330   # Omit some internal or obsolete options to make the list less imposing.
1331   # This message is too long to be a string in the A/UX 3.1 sh.
1332   cat <<_ACEOF
1333 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1334
1335 Usage: $0 [OPTION]... [VAR=VALUE]...
1336
1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1338 VAR=VALUE.  See below for descriptions of some of the useful variables.
1339
1340 Defaults for the options are specified in brackets.
1341
1342 Configuration:
1343   -h, --help              display this help and exit
1344       --help=short        display options specific to this package
1345       --help=recursive    display the short help of all the included packages
1346   -V, --version           display version information and exit
1347   -q, --quiet, --silent   do not print \`checking...' messages
1348       --cache-file=FILE   cache test results in FILE [disabled]
1349   -C, --config-cache      alias for \`--cache-file=config.cache'
1350   -n, --no-create         do not create output files
1351       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1352
1353 Installation directories:
1354   --prefix=PREFIX         install architecture-independent files in PREFIX
1355                           [$ac_default_prefix]
1356   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1357                           [PREFIX]
1358
1359 By default, \`make install' will install all the files in
1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362 for instance \`--prefix=\$HOME'.
1363
1364 For better control, use the options below.
1365
1366 Fine tuning of the installation directories:
1367   --bindir=DIR            user executables [EPREFIX/bin]
1368   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1369   --libexecdir=DIR        program executables [EPREFIX/libexec]
1370   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1371   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1372   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1373   --libdir=DIR            object code libraries [EPREFIX/lib]
1374   --includedir=DIR        C header files [PREFIX/include]
1375   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1376   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1377   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1378   --infodir=DIR           info documentation [DATAROOTDIR/info]
1379   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1380   --mandir=DIR            man documentation [DATAROOTDIR/man]
1381   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1382   --htmldir=DIR           html documentation [DOCDIR]
1383   --dvidir=DIR            dvi documentation [DOCDIR]
1384   --pdfdir=DIR            pdf documentation [DOCDIR]
1385   --psdir=DIR             ps documentation [DOCDIR]
1386 _ACEOF
1387
1388   cat <<\_ACEOF
1389
1390 Program names:
1391   --program-prefix=PREFIX            prepend PREFIX to installed program names
1392   --program-suffix=SUFFIX            append SUFFIX to installed program names
1393   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1394
1395 System types:
1396   --build=BUILD     configure for building on BUILD [guessed]
1397   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1398   --target=TARGET   configure for building compilers for TARGET [HOST]
1399 _ACEOF
1400 fi
1401
1402 if test -n "$ac_init_help"; then
1403   case $ac_init_help in
1404      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1405    esac
1406   cat <<\_ACEOF
1407
1408 Optional Features:
1409   --disable-option-checking  ignore unrecognized --enable/--with options
1410   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1411   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1412   --enable-version-specific-runtime-libs
1413                           specify that runtime libraries should be installed
1414                           in a compiler-specific directory
1415   --enable-intermodule    build the library in one step
1416   --enable-maintainer-mode  enable make rules and dependencies not useful
1417                           (and sometimes confusing) to the casual installer
1418   --enable-multilib       build many library versions (default)
1419   --disable-dependency-tracking  speeds up one-time build
1420   --enable-dependency-tracking   do not reject slow dependency extractors
1421   --disable-symvers       disable symbol versioning for libgfortran
1422   --enable-shared[=PKGS]  build shared libraries [default=yes]
1423   --enable-static[=PKGS]  build static libraries [default=yes]
1424   --enable-fast-install[=PKGS]
1425                           optimize for fast installation [default=yes]
1426   --disable-libtool-lock  avoid locking (might break parallel builds)
1427   --disable-largefile     omit support for large files
1428   --disable-libquadmath-support
1429                           disable libquadmath support for Fortran
1430
1431 Optional Packages:
1432   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1433   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1434   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1435   --with-pic              try to use only PIC/non-PIC objects [default=use
1436                           both]
1437   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1438   --with-system-libunwind use installed libunwind
1439
1440 Some influential environment variables:
1441   CC          C compiler command
1442   CFLAGS      C compiler flags
1443   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1444               nonstandard directory <lib dir>
1445   LIBS        libraries to pass to the linker, e.g. -l<library>
1446   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1447               you have headers in a nonstandard directory <include dir>
1448   CPP         C preprocessor
1449   FC          Fortran compiler command
1450   FCFLAGS     Fortran compiler flags
1451
1452 Use these variables to override the choices made by `configure' or to help
1453 it to find libraries and programs with nonstandard names/locations.
1454
1455 Report bugs to the package provider.
1456 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1457 General help using GNU software: <http://www.gnu.org/gethelp/>.
1458 _ACEOF
1459 ac_status=$?
1460 fi
1461
1462 if test "$ac_init_help" = "recursive"; then
1463   # If there are subdirs, report their specific --help.
1464   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465     test -d "$ac_dir" ||
1466       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467       continue
1468     ac_builddir=.
1469
1470 case "$ac_dir" in
1471 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472 *)
1473   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474   # A ".." for each directory in $ac_dir_suffix.
1475   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476   case $ac_top_builddir_sub in
1477   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479   esac ;;
1480 esac
1481 ac_abs_top_builddir=$ac_pwd
1482 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483 # for backward compatibility:
1484 ac_top_builddir=$ac_top_build_prefix
1485
1486 case $srcdir in
1487   .)  # We are building in place.
1488     ac_srcdir=.
1489     ac_top_srcdir=$ac_top_builddir_sub
1490     ac_abs_top_srcdir=$ac_pwd ;;
1491   [\\/]* | ?:[\\/]* )  # Absolute name.
1492     ac_srcdir=$srcdir$ac_dir_suffix;
1493     ac_top_srcdir=$srcdir
1494     ac_abs_top_srcdir=$srcdir ;;
1495   *) # Relative name.
1496     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497     ac_top_srcdir=$ac_top_build_prefix$srcdir
1498     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1499 esac
1500 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1501
1502     cd "$ac_dir" || { ac_status=$?; continue; }
1503     # Check for guested configure.
1504     if test -f "$ac_srcdir/configure.gnu"; then
1505       echo &&
1506       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507     elif test -f "$ac_srcdir/configure"; then
1508       echo &&
1509       $SHELL "$ac_srcdir/configure" --help=recursive
1510     else
1511       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512     fi || ac_status=$?
1513     cd "$ac_pwd" || { ac_status=$?; break; }
1514   done
1515 fi
1516
1517 test -n "$ac_init_help" && exit $ac_status
1518 if $ac_init_version; then
1519   cat <<\_ACEOF
1520 GNU Fortran Runtime Library configure 0.3
1521 generated by GNU Autoconf 2.64
1522
1523 Copyright (C) 2009 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1526 _ACEOF
1527   exit
1528 fi
1529
1530 ## ------------------------ ##
1531 ## Autoconf initialization. ##
1532 ## ------------------------ ##
1533
1534 # ac_fn_c_try_compile LINENO
1535 # --------------------------
1536 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1537 ac_fn_c_try_compile ()
1538 {
1539   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540   rm -f conftest.$ac_objext
1541   if { { ac_try="$ac_compile"
1542 case "(($ac_try" in
1543   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544   *) ac_try_echo=$ac_try;;
1545 esac
1546 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547 $as_echo "$ac_try_echo"; } >&5
1548   (eval "$ac_compile") 2>conftest.err
1549   ac_status=$?
1550   if test -s conftest.err; then
1551     grep -v '^ *+' conftest.err >conftest.er1
1552     cat conftest.er1 >&5
1553     mv -f conftest.er1 conftest.err
1554   fi
1555   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556   test $ac_status = 0; } && {
1557          test -z "$ac_c_werror_flag" ||
1558          test ! -s conftest.err
1559        } && test -s conftest.$ac_objext; then :
1560   ac_retval=0
1561 else
1562   $as_echo "$as_me: failed program was:" >&5
1563 sed 's/^/| /' conftest.$ac_ext >&5
1564
1565         ac_retval=1
1566 fi
1567   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1568   return $ac_retval
1569
1570 } # ac_fn_c_try_compile
1571
1572 # ac_fn_c_try_cpp LINENO
1573 # ----------------------
1574 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1575 ac_fn_c_try_cpp ()
1576 {
1577   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578   if { { ac_try="$ac_cpp conftest.$ac_ext"
1579 case "(($ac_try" in
1580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1581   *) ac_try_echo=$ac_try;;
1582 esac
1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1584 $as_echo "$ac_try_echo"; } >&5
1585   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1586   ac_status=$?
1587   if test -s conftest.err; then
1588     grep -v '^ *+' conftest.err >conftest.er1
1589     cat conftest.er1 >&5
1590     mv -f conftest.er1 conftest.err
1591   fi
1592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1593   test $ac_status = 0; } >/dev/null && {
1594          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1595          test ! -s conftest.err
1596        }; then :
1597   ac_retval=0
1598 else
1599   $as_echo "$as_me: failed program was:" >&5
1600 sed 's/^/| /' conftest.$ac_ext >&5
1601
1602     ac_retval=1
1603 fi
1604   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1605   return $ac_retval
1606
1607 } # ac_fn_c_try_cpp
1608
1609 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1610 # -------------------------------------------------------
1611 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1612 # the include files in INCLUDES and setting the cache variable VAR
1613 # accordingly.
1614 ac_fn_c_check_header_mongrel ()
1615 {
1616   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1619 $as_echo_n "checking for $2... " >&6; }
1620 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1621   $as_echo_n "(cached) " >&6
1622 fi
1623 eval ac_res=\$$3
1624                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1625 $as_echo "$ac_res" >&6; }
1626 else
1627   # Is the header compilable?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1629 $as_echo_n "checking $2 usability... " >&6; }
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h.  */
1632 $4
1633 #include <$2>
1634 _ACEOF
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636   ac_header_compiler=yes
1637 else
1638   ac_header_compiler=no
1639 fi
1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1642 $as_echo "$ac_header_compiler" >&6; }
1643
1644 # Is the header present?
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1646 $as_echo_n "checking $2 presence... " >&6; }
1647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1648 /* end confdefs.h.  */
1649 #include <$2>
1650 _ACEOF
1651 if ac_fn_c_try_cpp "$LINENO"; then :
1652   ac_header_preproc=yes
1653 else
1654   ac_header_preproc=no
1655 fi
1656 rm -f conftest.err conftest.$ac_ext
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1658 $as_echo "$ac_header_preproc" >&6; }
1659
1660 # So?  What about this header?
1661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1662   yes:no: )
1663     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1664 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1665     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1666 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1667     ;;
1668   no:yes:* )
1669     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1670 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1671     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1672 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1673     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1674 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1675     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1676 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1677     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1678 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1679     ;;
1680 esac
1681   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682 $as_echo_n "checking for $2... " >&6; }
1683 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684   $as_echo_n "(cached) " >&6
1685 else
1686   eval "$3=\$ac_header_compiler"
1687 fi
1688 eval ac_res=\$$3
1689                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1690 $as_echo "$ac_res" >&6; }
1691 fi
1692   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1693
1694 } # ac_fn_c_check_header_mongrel
1695
1696 # ac_fn_c_try_run LINENO
1697 # ----------------------
1698 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1699 # that executables *can* be run.
1700 ac_fn_c_try_run ()
1701 {
1702   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703   if { { ac_try="$ac_link"
1704 case "(($ac_try" in
1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706   *) ac_try_echo=$ac_try;;
1707 esac
1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709 $as_echo "$ac_try_echo"; } >&5
1710   (eval "$ac_link") 2>&5
1711   ac_status=$?
1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1714   { { case "(($ac_try" in
1715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1716   *) ac_try_echo=$ac_try;;
1717 esac
1718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1719 $as_echo "$ac_try_echo"; } >&5
1720   (eval "$ac_try") 2>&5
1721   ac_status=$?
1722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723   test $ac_status = 0; }; }; then :
1724   ac_retval=0
1725 else
1726   $as_echo "$as_me: program exited with status $ac_status" >&5
1727        $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1729
1730        ac_retval=$ac_status
1731 fi
1732   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1733   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734   return $ac_retval
1735
1736 } # ac_fn_c_try_run
1737
1738 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists and can be compiled using the include files in
1741 # INCLUDES, setting the cache variable VAR accordingly.
1742 ac_fn_c_check_header_compile ()
1743 {
1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748   $as_echo_n "(cached) " >&6
1749 else
1750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h.  */
1752 $4
1753 #include <$2>
1754 _ACEOF
1755 if ac_fn_c_try_compile "$LINENO"; then :
1756   eval "$3=yes"
1757 else
1758   eval "$3=no"
1759 fi
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 fi
1762 eval ac_res=\$$3
1763                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1764 $as_echo "$ac_res" >&6; }
1765   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766
1767 } # ac_fn_c_check_header_compile
1768
1769 # ac_fn_c_try_link LINENO
1770 # -----------------------
1771 # Try to link conftest.$ac_ext, and return whether this succeeded.
1772 ac_fn_c_try_link ()
1773 {
1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775   rm -f conftest.$ac_objext conftest$ac_exeext
1776   if { { ac_try="$ac_link"
1777 case "(($ac_try" in
1778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779   *) ac_try_echo=$ac_try;;
1780 esac
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783   (eval "$ac_link") 2>conftest.err
1784   ac_status=$?
1785   if test -s conftest.err; then
1786     grep -v '^ *+' conftest.err >conftest.er1
1787     cat conftest.er1 >&5
1788     mv -f conftest.er1 conftest.err
1789   fi
1790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791   test $ac_status = 0; } && {
1792          test -z "$ac_c_werror_flag" ||
1793          test ! -s conftest.err
1794        } && test -s conftest$ac_exeext && {
1795          test "$cross_compiling" = yes ||
1796          $as_test_x conftest$ac_exeext
1797        }; then :
1798   ac_retval=0
1799 else
1800   $as_echo "$as_me: failed program was:" >&5
1801 sed 's/^/| /' conftest.$ac_ext >&5
1802
1803         ac_retval=1
1804 fi
1805   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1806   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1807   # interfere with the next link command; also delete a directory that is
1808   # left behind by Apple's compiler.  We do this before executing the actions.
1809   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1811   return $ac_retval
1812
1813 } # ac_fn_c_try_link
1814
1815 # ac_fn_c_check_func LINENO FUNC VAR
1816 # ----------------------------------
1817 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1818 ac_fn_c_check_func ()
1819 {
1820   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1822 $as_echo_n "checking for $2... " >&6; }
1823 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1824   $as_echo_n "(cached) " >&6
1825 else
1826   if test x$gcc_no_link = xyes; then
1827   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1828 fi
1829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h.  */
1831 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1833 #define $2 innocuous_$2
1834
1835 /* System header to define __stub macros and hopefully few prototypes,
1836     which can conflict with char $2 (); below.
1837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1838     <limits.h> exists even on freestanding compilers.  */
1839
1840 #ifdef __STDC__
1841 # include <limits.h>
1842 #else
1843 # include <assert.h>
1844 #endif
1845
1846 #undef $2
1847
1848 /* Override any GCC internal prototype to avoid an error.
1849    Use char because int might match the return type of a GCC
1850    builtin and then its argument prototype would still apply.  */
1851 #ifdef __cplusplus
1852 extern "C"
1853 #endif
1854 char $2 ();
1855 /* The GNU C library defines this for functions which it implements
1856     to always fail with ENOSYS.  Some functions are actually named
1857     something starting with __ and the normal name is an alias.  */
1858 #if defined __stub_$2 || defined __stub___$2
1859 choke me
1860 #endif
1861
1862 int
1863 main ()
1864 {
1865 return $2 ();
1866   ;
1867   return 0;
1868 }
1869 _ACEOF
1870 if ac_fn_c_try_link "$LINENO"; then :
1871   eval "$3=yes"
1872 else
1873   eval "$3=no"
1874 fi
1875 rm -f core conftest.err conftest.$ac_objext \
1876     conftest$ac_exeext conftest.$ac_ext
1877 fi
1878 eval ac_res=\$$3
1879                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880 $as_echo "$ac_res" >&6; }
1881   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1882
1883 } # ac_fn_c_check_func
1884
1885 # ac_fn_fc_try_compile LINENO
1886 # ---------------------------
1887 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1888 ac_fn_fc_try_compile ()
1889 {
1890   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1891   rm -f conftest.$ac_objext
1892   if { { ac_try="$ac_compile"
1893 case "(($ac_try" in
1894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1895   *) ac_try_echo=$ac_try;;
1896 esac
1897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1898 $as_echo "$ac_try_echo"; } >&5
1899   (eval "$ac_compile") 2>conftest.err
1900   ac_status=$?
1901   if test -s conftest.err; then
1902     grep -v '^ *+' conftest.err >conftest.er1
1903     cat conftest.er1 >&5
1904     mv -f conftest.er1 conftest.err
1905   fi
1906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1907   test $ac_status = 0; } && {
1908          test -z "$ac_fc_werror_flag" ||
1909          test ! -s conftest.err
1910        } && test -s conftest.$ac_objext; then :
1911   ac_retval=0
1912 else
1913   $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1915
1916         ac_retval=1
1917 fi
1918   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919   return $ac_retval
1920
1921 } # ac_fn_fc_try_compile
1922
1923 # ac_fn_fc_try_link LINENO
1924 # ------------------------
1925 # Try to link conftest.$ac_ext, and return whether this succeeded.
1926 ac_fn_fc_try_link ()
1927 {
1928   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929   rm -f conftest.$ac_objext conftest$ac_exeext
1930   if { { ac_try="$ac_link"
1931 case "(($ac_try" in
1932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1933   *) ac_try_echo=$ac_try;;
1934 esac
1935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1936 $as_echo "$ac_try_echo"; } >&5
1937   (eval "$ac_link") 2>conftest.err
1938   ac_status=$?
1939   if test -s conftest.err; then
1940     grep -v '^ *+' conftest.err >conftest.er1
1941     cat conftest.er1 >&5
1942     mv -f conftest.er1 conftest.err
1943   fi
1944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945   test $ac_status = 0; } && {
1946          test -z "$ac_fc_werror_flag" ||
1947          test ! -s conftest.err
1948        } && test -s conftest$ac_exeext && {
1949          test "$cross_compiling" = yes ||
1950          $as_test_x conftest$ac_exeext
1951        }; then :
1952   ac_retval=0
1953 else
1954   $as_echo "$as_me: failed program was:" >&5
1955 sed 's/^/| /' conftest.$ac_ext >&5
1956
1957         ac_retval=1
1958 fi
1959   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1960   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1961   # interfere with the next link command; also delete a directory that is
1962   # left behind by Apple's compiler.  We do this before executing the actions.
1963   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1964   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1965   return $ac_retval
1966
1967 } # ac_fn_fc_try_link
1968
1969 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1970 # -------------------------------------------
1971 # Tests whether TYPE exists after having included INCLUDES, setting cache
1972 # variable VAR accordingly.
1973 ac_fn_c_check_type ()
1974 {
1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1979   $as_echo_n "(cached) " >&6
1980 else
1981   eval "$3=no"
1982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983 /* end confdefs.h.  */
1984 $4
1985 int
1986 main ()
1987 {
1988 if (sizeof ($2))
1989          return 0;
1990   ;
1991   return 0;
1992 }
1993 _ACEOF
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h.  */
1997 $4
1998 int
1999 main ()
2000 {
2001 if (sizeof (($2)))
2002             return 0;
2003   ;
2004   return 0;
2005 }
2006 _ACEOF
2007 if ac_fn_c_try_compile "$LINENO"; then :
2008
2009 else
2010   eval "$3=yes"
2011 fi
2012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013 fi
2014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2015 fi
2016 eval ac_res=\$$3
2017                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020
2021 } # ac_fn_c_check_type
2022
2023 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2024 # --------------------------------------------
2025 # Tries to find the compile-time value of EXPR in a program that includes
2026 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2027 # computed
2028 ac_fn_c_compute_int ()
2029 {
2030   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031   if test "$cross_compiling" = yes; then
2032     # Depending upon the size, compute the lo and hi bounds.
2033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034 /* end confdefs.h.  */
2035 $4
2036 int
2037 main ()
2038 {
2039 static int test_array [1 - 2 * !(($2) >= 0)];
2040 test_array [0] = 0
2041
2042   ;
2043   return 0;
2044 }
2045 _ACEOF
2046 if ac_fn_c_try_compile "$LINENO"; then :
2047   ac_lo=0 ac_mid=0
2048   while :; do
2049     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h.  */
2051 $4
2052 int
2053 main ()
2054 {
2055 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2056 test_array [0] = 0
2057
2058   ;
2059   return 0;
2060 }
2061 _ACEOF
2062 if ac_fn_c_try_compile "$LINENO"; then :
2063   ac_hi=$ac_mid; break
2064 else
2065   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2066                         if test $ac_lo -le $ac_mid; then
2067                           ac_lo= ac_hi=
2068                           break
2069                         fi
2070                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2071 fi
2072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2073   done
2074 else
2075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h.  */
2077 $4
2078 int
2079 main ()
2080 {
2081 static int test_array [1 - 2 * !(($2) < 0)];
2082 test_array [0] = 0
2083
2084   ;
2085   return 0;
2086 }
2087 _ACEOF
2088 if ac_fn_c_try_compile "$LINENO"; then :
2089   ac_hi=-1 ac_mid=-1
2090   while :; do
2091     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092 /* end confdefs.h.  */
2093 $4
2094 int
2095 main ()
2096 {
2097 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2098 test_array [0] = 0
2099
2100   ;
2101   return 0;
2102 }
2103 _ACEOF
2104 if ac_fn_c_try_compile "$LINENO"; then :
2105   ac_lo=$ac_mid; break
2106 else
2107   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2108                         if test $ac_mid -le $ac_hi; then
2109                           ac_lo= ac_hi=
2110                           break
2111                         fi
2112                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115   done
2116 else
2117   ac_lo= ac_hi=
2118 fi
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 fi
2121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2122 # Binary search between lo and hi bounds.
2123 while test "x$ac_lo" != "x$ac_hi"; do
2124   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126 /* end confdefs.h.  */
2127 $4
2128 int
2129 main ()
2130 {
2131 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2132 test_array [0] = 0
2133
2134   ;
2135   return 0;
2136 }
2137 _ACEOF
2138 if ac_fn_c_try_compile "$LINENO"; then :
2139   ac_hi=$ac_mid
2140 else
2141   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2142 fi
2143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2144 done
2145 case $ac_lo in #((
2146 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2147 '') ac_retval=1 ;;
2148 esac
2149   else
2150     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h.  */
2152 $4
2153 static long int longval () { return $2; }
2154 static unsigned long int ulongval () { return $2; }
2155 #include <stdio.h>
2156 #include <stdlib.h>
2157 int
2158 main ()
2159 {
2160
2161   FILE *f = fopen ("conftest.val", "w");
2162   if (! f)
2163     return 1;
2164   if (($2) < 0)
2165     {
2166       long int i = longval ();
2167       if (i != ($2))
2168         return 1;
2169       fprintf (f, "%ld", i);
2170     }
2171   else
2172     {
2173       unsigned long int i = ulongval ();
2174       if (i != ($2))
2175         return 1;
2176       fprintf (f, "%lu", i);
2177     }
2178   /* Do not output a trailing newline, as this causes \r\n confusion
2179      on some platforms.  */
2180   return ferror (f) || fclose (f) != 0;
2181
2182   ;
2183   return 0;
2184 }
2185 _ACEOF
2186 if ac_fn_c_try_run "$LINENO"; then :
2187   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2188 else
2189   ac_retval=1
2190 fi
2191 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2192   conftest.$ac_objext conftest.beam conftest.$ac_ext
2193 rm -f conftest.val
2194
2195   fi
2196   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2197   return $ac_retval
2198
2199 } # ac_fn_c_compute_int
2200
2201 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2202 # ----------------------------------------------------
2203 # Tries to find if the field MEMBER exists in type AGGR, after including
2204 # INCLUDES, setting cache variable VAR accordingly.
2205 ac_fn_c_check_member ()
2206 {
2207   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2209 $as_echo_n "checking for $2.$3... " >&6; }
2210 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2211   $as_echo_n "(cached) " >&6
2212 else
2213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h.  */
2215 $5
2216 int
2217 main ()
2218 {
2219 static $2 ac_aggr;
2220 if (ac_aggr.$3)
2221 return 0;
2222   ;
2223   return 0;
2224 }
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227   eval "$4=yes"
2228 else
2229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2230 /* end confdefs.h.  */
2231 $5
2232 int
2233 main ()
2234 {
2235 static $2 ac_aggr;
2236 if (sizeof ac_aggr.$3)
2237 return 0;
2238   ;
2239   return 0;
2240 }
2241 _ACEOF
2242 if ac_fn_c_try_compile "$LINENO"; then :
2243   eval "$4=yes"
2244 else
2245   eval "$4=no"
2246 fi
2247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2248 fi
2249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2250 fi
2251 eval ac_res=\$$4
2252                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2253 $as_echo "$ac_res" >&6; }
2254   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255
2256 } # ac_fn_c_check_member
2257 cat >config.log <<_ACEOF
2258 This file contains any messages produced by compilers while
2259 running configure, to aid debugging if configure makes a mistake.
2260
2261 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2262 generated by GNU Autoconf 2.64.  Invocation command line was
2263
2264   $ $0 $@
2265
2266 _ACEOF
2267 exec 5>>config.log
2268 {
2269 cat <<_ASUNAME
2270 ## --------- ##
2271 ## Platform. ##
2272 ## --------- ##
2273
2274 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2275 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2276 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2277 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2278 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2279
2280 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2281 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2282
2283 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2284 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2285 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2286 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2287 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2288 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2289 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2290
2291 _ASUNAME
2292
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2295 do
2296   IFS=$as_save_IFS
2297   test -z "$as_dir" && as_dir=.
2298     $as_echo "PATH: $as_dir"
2299   done
2300 IFS=$as_save_IFS
2301
2302 } >&5
2303
2304 cat >&5 <<_ACEOF
2305
2306
2307 ## ----------- ##
2308 ## Core tests. ##
2309 ## ----------- ##
2310
2311 _ACEOF
2312
2313
2314 # Keep a trace of the command line.
2315 # Strip out --no-create and --no-recursion so they do not pile up.
2316 # Strip out --silent because we don't want to record it for future runs.
2317 # Also quote any args containing shell meta-characters.
2318 # Make two passes to allow for proper duplicate-argument suppression.
2319 ac_configure_args=
2320 ac_configure_args0=
2321 ac_configure_args1=
2322 ac_must_keep_next=false
2323 for ac_pass in 1 2
2324 do
2325   for ac_arg
2326   do
2327     case $ac_arg in
2328     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2329     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2330     | -silent | --silent | --silen | --sile | --sil)
2331       continue ;;
2332     *\'*)
2333       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2334     esac
2335     case $ac_pass in
2336     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2337     2)
2338       as_fn_append ac_configure_args1 " '$ac_arg'"
2339       if test $ac_must_keep_next = true; then
2340         ac_must_keep_next=false # Got value, back to normal.
2341       else
2342         case $ac_arg in
2343           *=* | --config-cache | -C | -disable-* | --disable-* \
2344           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2345           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2346           | -with-* | --with-* | -without-* | --without-* | --x)
2347             case "$ac_configure_args0 " in
2348               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2349             esac
2350             ;;
2351           -* ) ac_must_keep_next=true ;;
2352         esac
2353       fi
2354       as_fn_append ac_configure_args " '$ac_arg'"
2355       ;;
2356     esac
2357   done
2358 done
2359 { ac_configure_args0=; unset ac_configure_args0;}
2360 { ac_configure_args1=; unset ac_configure_args1;}
2361
2362 # When interrupted or exit'd, cleanup temporary files, and complete
2363 # config.log.  We remove comments because anyway the quotes in there
2364 # would cause problems or look ugly.
2365 # WARNING: Use '\'' to represent an apostrophe within the trap.
2366 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2367 trap 'exit_status=$?
2368   # Save into config.log some information that might help in debugging.
2369   {
2370     echo
2371
2372     cat <<\_ASBOX
2373 ## ---------------- ##
2374 ## Cache variables. ##
2375 ## ---------------- ##
2376 _ASBOX
2377     echo
2378     # The following way of writing the cache mishandles newlines in values,
2379 (
2380   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2381     eval ac_val=\$$ac_var
2382     case $ac_val in #(
2383     *${as_nl}*)
2384       case $ac_var in #(
2385       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2386 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2387       esac
2388       case $ac_var in #(
2389       _ | IFS | as_nl) ;; #(
2390       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2391       *) { eval $ac_var=; unset $ac_var;} ;;
2392       esac ;;
2393     esac
2394   done
2395   (set) 2>&1 |
2396     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2397     *${as_nl}ac_space=\ *)
2398       sed -n \
2399         "s/'\''/'\''\\\\'\'''\''/g;
2400           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2401       ;; #(
2402     *)
2403       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2404       ;;
2405     esac |
2406     sort
2407 )
2408     echo
2409
2410     cat <<\_ASBOX
2411 ## ----------------- ##
2412 ## Output variables. ##
2413 ## ----------------- ##
2414 _ASBOX
2415     echo
2416     for ac_var in $ac_subst_vars
2417     do
2418       eval ac_val=\$$ac_var
2419       case $ac_val in
2420       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2421       esac
2422       $as_echo "$ac_var='\''$ac_val'\''"
2423     done | sort
2424     echo
2425
2426     if test -n "$ac_subst_files"; then
2427       cat <<\_ASBOX
2428 ## ------------------- ##
2429 ## File substitutions. ##
2430 ## ------------------- ##
2431 _ASBOX
2432       echo
2433       for ac_var in $ac_subst_files
2434       do
2435         eval ac_val=\$$ac_var
2436         case $ac_val in
2437         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2438         esac
2439         $as_echo "$ac_var='\''$ac_val'\''"
2440       done | sort
2441       echo
2442     fi
2443
2444     if test -s confdefs.h; then
2445       cat <<\_ASBOX
2446 ## ----------- ##
2447 ## confdefs.h. ##
2448 ## ----------- ##
2449 _ASBOX
2450       echo
2451       cat confdefs.h
2452       echo
2453     fi
2454     test "$ac_signal" != 0 &&
2455       $as_echo "$as_me: caught signal $ac_signal"
2456     $as_echo "$as_me: exit $exit_status"
2457   } >&5
2458   rm -f core *.core core.conftest.* &&
2459     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2460     exit $exit_status
2461 ' 0
2462 for ac_signal in 1 2 13 15; do
2463   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2464 done
2465 ac_signal=0
2466
2467 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2468 rm -f -r conftest* confdefs.h
2469
2470 $as_echo "/* confdefs.h */" > confdefs.h
2471
2472 # Predefined preprocessor variables.
2473
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_NAME "$PACKAGE_NAME"
2476 _ACEOF
2477
2478 cat >>confdefs.h <<_ACEOF
2479 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2480 _ACEOF
2481
2482 cat >>confdefs.h <<_ACEOF
2483 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2484 _ACEOF
2485
2486 cat >>confdefs.h <<_ACEOF
2487 #define PACKAGE_STRING "$PACKAGE_STRING"
2488 _ACEOF
2489
2490 cat >>confdefs.h <<_ACEOF
2491 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2492 _ACEOF
2493
2494 cat >>confdefs.h <<_ACEOF
2495 #define PACKAGE_URL "$PACKAGE_URL"
2496 _ACEOF
2497
2498
2499 # Let the site file select an alternate cache file if it wants to.
2500 # Prefer an explicitly selected file to automatically selected ones.
2501 ac_site_file1=NONE
2502 ac_site_file2=NONE
2503 if test -n "$CONFIG_SITE"; then
2504   ac_site_file1=$CONFIG_SITE
2505 elif test "x$prefix" != xNONE; then
2506   ac_site_file1=$prefix/share/config.site
2507   ac_site_file2=$prefix/etc/config.site
2508 else
2509   ac_site_file1=$ac_default_prefix/share/config.site
2510   ac_site_file2=$ac_default_prefix/etc/config.site
2511 fi
2512 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2513 do
2514   test "x$ac_site_file" = xNONE && continue
2515   if test -r "$ac_site_file"; then
2516     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2517 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2518     sed 's/^/| /' "$ac_site_file" >&5
2519     . "$ac_site_file"
2520   fi
2521 done
2522
2523 if test -r "$cache_file"; then
2524   # Some versions of bash will fail to source /dev/null (special
2525   # files actually), so we avoid doing that.
2526   if test -f "$cache_file"; then
2527     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2528 $as_echo "$as_me: loading cache $cache_file" >&6;}
2529     case $cache_file in
2530       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2531       *)                      . "./$cache_file";;
2532     esac
2533   fi
2534 else
2535   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2536 $as_echo "$as_me: creating cache $cache_file" >&6;}
2537   >$cache_file
2538 fi
2539
2540 as_fn_append ac_header_list " unistd.h"
2541 as_fn_append ac_header_list " sys/time.h"
2542 as_fn_append ac_header_list " sys/times.h"
2543 as_fn_append ac_header_list " sys/resource.h"
2544 as_fn_append ac_header_list " sys/types.h"
2545 as_fn_append ac_header_list " sys/stat.h"
2546 as_fn_append ac_header_list " sys/wait.h"
2547 as_fn_append ac_header_list " floatingpoint.h"
2548 as_fn_append ac_header_list " ieeefp.h"
2549 as_fn_append ac_header_list " fenv.h"
2550 as_fn_append ac_header_list " fptrap.h"
2551 as_fn_append ac_header_list " fpxcp.h"
2552 as_fn_append ac_header_list " pwd.h"
2553 as_fn_append ac_header_list " complex.h"
2554 as_fn_append ac_header_list " xlocale.h"
2555 as_fn_append ac_func_list " getrusage"
2556 as_fn_append ac_func_list " times"
2557 as_fn_append ac_func_list " mkstemp"
2558 as_fn_append ac_func_list " strtof"
2559 as_fn_append ac_func_list " strtold"
2560 as_fn_append ac_func_list " snprintf"
2561 as_fn_append ac_func_list " ftruncate"
2562 as_fn_append ac_func_list " chsize"
2563 as_fn_append ac_func_list " chdir"
2564 as_fn_append ac_func_list " getlogin"
2565 as_fn_append ac_func_list " gethostname"
2566 as_fn_append ac_func_list " kill"
2567 as_fn_append ac_func_list " link"
2568 as_fn_append ac_func_list " symlink"
2569 as_fn_append ac_func_list " sleep"
2570 as_fn_append ac_func_list " ttyname"
2571 as_fn_append ac_func_list " alarm"
2572 as_fn_append ac_func_list " access"
2573 as_fn_append ac_func_list " fork"
2574 as_fn_append ac_func_list " execl"
2575 as_fn_append ac_func_list " wait"
2576 as_fn_append ac_func_list " setmode"
2577 as_fn_append ac_func_list " execve"
2578 as_fn_append ac_func_list " pipe"
2579 as_fn_append ac_func_list " dup2"
2580 as_fn_append ac_func_list " close"
2581 as_fn_append ac_func_list " fcntl"
2582 as_fn_append ac_func_list " strcasestr"
2583 as_fn_append ac_func_list " getrlimit"
2584 as_fn_append ac_func_list " gettimeofday"
2585 as_fn_append ac_func_list " stat"
2586 as_fn_append ac_func_list " fstat"
2587 as_fn_append ac_func_list " lstat"
2588 as_fn_append ac_func_list " getpwuid"
2589 as_fn_append ac_func_list " vsnprintf"
2590 as_fn_append ac_func_list " dup"
2591 as_fn_append ac_func_list " getcwd"
2592 as_fn_append ac_func_list " localtime_r"
2593 as_fn_append ac_func_list " gmtime_r"
2594 as_fn_append ac_func_list " getpwuid_r"
2595 as_fn_append ac_func_list " ttyname_r"
2596 as_fn_append ac_func_list " clock_gettime"
2597 as_fn_append ac_func_list " readlink"
2598 as_fn_append ac_func_list " getgid"
2599 as_fn_append ac_func_list " getpid"
2600 as_fn_append ac_func_list " getppid"
2601 as_fn_append ac_func_list " getuid"
2602 as_fn_append ac_func_list " geteuid"
2603 as_fn_append ac_func_list " umask"
2604 as_fn_append ac_func_list " getegid"
2605 as_fn_append ac_func_list " secure_getenv"
2606 as_fn_append ac_func_list " __secure_getenv"
2607 as_fn_append ac_func_list " mkostemp"
2608 as_fn_append ac_func_list " strnlen"
2609 as_fn_append ac_func_list " strndup"
2610 as_fn_append ac_func_list " strtok_r"
2611 as_fn_append ac_func_list " newlocale"
2612 as_fn_append ac_func_list " freelocale"
2613 as_fn_append ac_func_list " uselocale"
2614 as_fn_append ac_func_list " strerror_l"
2615 as_fn_append ac_header_list " math.h"
2616 # Check that the precious variables saved in the cache have kept the same
2617 # value.
2618 ac_cache_corrupted=false
2619 for ac_var in $ac_precious_vars; do
2620   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2621   eval ac_new_set=\$ac_env_${ac_var}_set
2622   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2623   eval ac_new_val=\$ac_env_${ac_var}_value
2624   case $ac_old_set,$ac_new_set in
2625     set,)
2626       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2627 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2628       ac_cache_corrupted=: ;;
2629     ,set)
2630       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2631 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2632       ac_cache_corrupted=: ;;
2633     ,);;
2634     *)
2635       if test "x$ac_old_val" != "x$ac_new_val"; then
2636         # differences in whitespace do not lead to failure.
2637         ac_old_val_w=`echo x $ac_old_val`
2638         ac_new_val_w=`echo x $ac_new_val`
2639         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2640           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2641 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2642           ac_cache_corrupted=:
2643         else
2644           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2645 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2646           eval $ac_var=\$ac_old_val
2647         fi
2648         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2649 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2650         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2651 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2652       fi;;
2653   esac
2654   # Pass precious variables to config.status.
2655   if test "$ac_new_set" = set; then
2656     case $ac_new_val in
2657     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2658     *) ac_arg=$ac_var=$ac_new_val ;;
2659     esac
2660     case " $ac_configure_args " in
2661       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2662       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2663     esac
2664   fi
2665 done
2666 if $ac_cache_corrupted; then
2667   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2670 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2671   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2672 fi
2673 ## -------------------- ##
2674 ## Main body of script. ##
2675 ## -------------------- ##
2676
2677 ac_ext=c
2678 ac_cpp='$CPP $CPPFLAGS'
2679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2682
2683
2684
2685
2686
2687 ac_config_headers="$ac_config_headers config.h"
2688
2689 ac_aux_dir=
2690 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2691   for ac_t in install-sh install.sh shtool; do
2692     if test -f "$ac_dir/$ac_t"; then
2693       ac_aux_dir=$ac_dir
2694       ac_install_sh="$ac_aux_dir/$ac_t -c"
2695       break 2
2696     fi
2697   done
2698 done
2699 if test -z "$ac_aux_dir"; then
2700   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2701 fi
2702
2703 # These three variables are undocumented and unsupported,
2704 # and are intended to be withdrawn in a future Autoconf release.
2705 # They can cause serious problems if a builder's source tree is in a directory
2706 # whose full name contains unusual characters.
2707 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2708 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2709 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2710
2711
2712 # Make sure we can run config.sub.
2713 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2714   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2715
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2717 $as_echo_n "checking build system type... " >&6; }
2718 if test "${ac_cv_build+set}" = set; then :
2719   $as_echo_n "(cached) " >&6
2720 else
2721   ac_build_alias=$build_alias
2722 test "x$ac_build_alias" = x &&
2723   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2724 test "x$ac_build_alias" = x &&
2725   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2726 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2727   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2728
2729 fi
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2731 $as_echo "$ac_cv_build" >&6; }
2732 case $ac_cv_build in
2733 *-*-*) ;;
2734 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2735 esac
2736 build=$ac_cv_build
2737 ac_save_IFS=$IFS; IFS='-'
2738 set x $ac_cv_build
2739 shift
2740 build_cpu=$1
2741 build_vendor=$2
2742 shift; shift
2743 # Remember, the first character of IFS is used to create $*,
2744 # except with old shells:
2745 build_os=$*
2746 IFS=$ac_save_IFS
2747 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2748
2749
2750  case ${build_alias} in
2751   "") build_noncanonical=${build} ;;
2752   *) build_noncanonical=${build_alias} ;;
2753 esac
2754
2755  case ${host_alias} in
2756   "") host_noncanonical=${build_noncanonical} ;;
2757   *) host_noncanonical=${host_alias} ;;
2758 esac
2759
2760  case ${target_alias} in
2761   "") target_noncanonical=${host_noncanonical} ;;
2762   *) target_noncanonical=${target_alias} ;;
2763 esac
2764
2765
2766 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2767 # have matching libraries, they should use host libraries: Makefile.tpl
2768 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2769 # However, they still use the build modules, because the corresponding
2770 # host modules (e.g. bison) are only built for the host when bootstrap
2771 # finishes. So:
2772 # - build_subdir is where we find build modules, and never changes.
2773 # - build_libsubdir is where we find build libraries, and can be overridden.
2774
2775 # Prefix 'build-' so this never conflicts with target_subdir.
2776 build_subdir="build-${build_noncanonical}"
2777
2778 # Check whether --with-build-libsubdir was given.
2779 if test "${with_build_libsubdir+set}" = set; then :
2780   withval=$with_build_libsubdir; build_libsubdir="$withval"
2781 else
2782   build_libsubdir="$build_subdir"
2783 fi
2784
2785 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2786 if ( test $srcdir = . && test -d gcc ) \
2787    || test -d $srcdir/../host-${host_noncanonical}; then
2788   host_subdir="host-${host_noncanonical}"
2789 else
2790   host_subdir=.
2791 fi
2792 # No prefix.
2793 target_subdir=${target_noncanonical}
2794
2795
2796 # -------
2797 # Options
2798 # -------
2799
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2801 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2802 # Check whether --enable-version-specific-runtime-libs was given.
2803 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2804   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2805  yes) version_specific_libs=yes ;;
2806  no)  version_specific_libs=no ;;
2807  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2808  esac
2809 else
2810   version_specific_libs=no
2811 fi
2812
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2814 $as_echo "$version_specific_libs" >&6; }
2815
2816 # Build with intermodule optimisations
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2818 $as_echo_n "checking for --enable-intermodule... " >&6; }
2819 # Check whether --enable-intermodule was given.
2820 if test "${enable_intermodule+set}" = set; then :
2821   enableval=$enable_intermodule; case "$enable_intermodule" in
2822   yes) onestep="-onestep";;
2823     *) onestep="";;
2824 esac
2825 else
2826   onestep=""
2827 fi
2828
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2830 $as_echo "$enable_intermodule" >&6; }
2831  if test x$onestep = x-onestep; then
2832   onestep_TRUE=
2833   onestep_FALSE='#'
2834 else
2835   onestep_TRUE='#'
2836   onestep_FALSE=
2837 fi
2838
2839
2840
2841 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2842 #
2843 # You will slowly go insane if you do not grok the following fact:  when
2844 # building this library, the top-level /target/ becomes the library's /host/.
2845 #
2846 # configure then causes --target to default to --host, exactly like any
2847 # other package using autoconf.  Therefore, 'target' and 'host' will
2848 # always be the same.  This makes sense both for native and cross compilers
2849 # just think about it for a little while.  :-)
2850 #
2851 # Also, if this library is being configured as part of a cross compiler, the
2852 # top-level configure script will pass the "real" host as $with_cross_host.
2853 #
2854 # Do not delete or change the following two lines.  For why, see
2855 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2857 $as_echo_n "checking host system type... " >&6; }
2858 if test "${ac_cv_host+set}" = set; then :
2859   $as_echo_n "(cached) " >&6
2860 else
2861   if test "x$host_alias" = x; then
2862   ac_cv_host=$ac_cv_build
2863 else
2864   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2865     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2866 fi
2867
2868 fi
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2870 $as_echo "$ac_cv_host" >&6; }
2871 case $ac_cv_host in
2872 *-*-*) ;;
2873 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2874 esac
2875 host=$ac_cv_host
2876 ac_save_IFS=$IFS; IFS='-'
2877 set x $ac_cv_host
2878 shift
2879 host_cpu=$1
2880 host_vendor=$2
2881 shift; shift
2882 # Remember, the first character of IFS is used to create $*,
2883 # except with old shells:
2884 host_os=$*
2885 IFS=$ac_save_IFS
2886 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2887
2888
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2890 $as_echo_n "checking target system type... " >&6; }
2891 if test "${ac_cv_target+set}" = set; then :
2892   $as_echo_n "(cached) " >&6
2893 else
2894   if test "x$target_alias" = x; then
2895   ac_cv_target=$ac_cv_host
2896 else
2897   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2898     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2899 fi
2900
2901 fi
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2903 $as_echo "$ac_cv_target" >&6; }
2904 case $ac_cv_target in
2905 *-*-*) ;;
2906 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2907 esac
2908 target=$ac_cv_target
2909 ac_save_IFS=$IFS; IFS='-'
2910 set x $ac_cv_target
2911 shift
2912 target_cpu=$1
2913 target_vendor=$2
2914 shift; shift
2915 # Remember, the first character of IFS is used to create $*,
2916 # except with old shells:
2917 target_os=$*
2918 IFS=$ac_save_IFS
2919 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2920
2921
2922 # The aliases save the names the user supplied, while $host etc.
2923 # will get canonicalized.
2924 test -n "$target_alias" &&
2925   test "$program_prefix$program_suffix$program_transform_name" = \
2926     NONENONEs,x,x, &&
2927   program_prefix=${target_alias}-
2928
2929
2930
2931
2932 target_alias=${target_alias-$host_alias}
2933
2934
2935 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2936 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2937 #  1.9.6:  minimum required version
2938 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2939 #              of other PACKAGE_* variables will, however, and there's nothing
2940 #              we can do about that; they come from AC_INIT).
2941 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2942 #            file in the top srcdir, etc, etc), so stop complaining.
2943 #  no-dist:  we don't want 'dist' and related rules.
2944 #  -Wall:  turns on all automake warnings...
2945 #  -Wno-portability:  ...except this one, since GNU make is required.
2946 am__api_version='1.11'
2947
2948 # Find a good install program.  We prefer a C program (faster),
2949 # so one script is as good as another.  But avoid the broken or
2950 # incompatible versions:
2951 # SysV /etc/install, /usr/sbin/install
2952 # SunOS /usr/etc/install
2953 # IRIX /sbin/install
2954 # AIX /bin/install
2955 # AmigaOS /C/install, which installs bootblocks on floppy discs
2956 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2957 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2958 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2959 # OS/2's system install, which has a completely different semantic
2960 # ./install, which can be erroneously created by make from ./install.sh.
2961 # Reject install programs that cannot install multiple files.
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2963 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2964 if test -z "$INSTALL"; then
2965 if test "${ac_cv_path_install+set}" = set; then :
2966   $as_echo_n "(cached) " >&6
2967 else
2968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 for as_dir in $PATH
2970 do
2971   IFS=$as_save_IFS
2972   test -z "$as_dir" && as_dir=.
2973     # Account for people who put trailing slashes in PATH elements.
2974 case $as_dir/ in #((
2975   ./ | .// | /[cC]/* | \
2976   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2977   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2978   /usr/ucb/* ) ;;
2979   *)
2980     # OSF1 and SCO ODT 3.0 have their own names for install.
2981     # Don't use installbsd from OSF since it installs stuff as root
2982     # by default.
2983     for ac_prog in ginstall scoinst install; do
2984       for ac_exec_ext in '' $ac_executable_extensions; do
2985         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2986           if test $ac_prog = install &&
2987             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2988             # AIX install.  It has an incompatible calling convention.
2989             :
2990           elif test $ac_prog = install &&
2991             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2992             # program-specific install script used by HP pwplus--don't use.
2993             :
2994           else
2995             rm -rf conftest.one conftest.two conftest.dir
2996             echo one > conftest.one
2997             echo two > conftest.two
2998             mkdir conftest.dir
2999             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3000               test -s conftest.one && test -s conftest.two &&
3001               test -s conftest.dir/conftest.one &&
3002               test -s conftest.dir/conftest.two
3003             then
3004               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3005               break 3
3006             fi
3007           fi
3008         fi
3009       done
3010     done
3011     ;;
3012 esac
3013
3014   done
3015 IFS=$as_save_IFS
3016
3017 rm -rf conftest.one conftest.two conftest.dir
3018
3019 fi
3020   if test "${ac_cv_path_install+set}" = set; then
3021     INSTALL=$ac_cv_path_install
3022   else
3023     # As a last resort, use the slow shell script.  Don't cache a
3024     # value for INSTALL within a source directory, because that will
3025     # break other packages using the cache if that directory is
3026     # removed, or if the value is a relative name.
3027     INSTALL=$ac_install_sh
3028   fi
3029 fi
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3031 $as_echo "$INSTALL" >&6; }
3032
3033 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3034 # It thinks the first close brace ends the variable substitution.
3035 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3036
3037 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3038
3039 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3040
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3042 $as_echo_n "checking whether build environment is sane... " >&6; }
3043 # Just in case
3044 sleep 1
3045 echo timestamp > conftest.file
3046 # Reject unsafe characters in $srcdir or the absolute working directory
3047 # name.  Accept space and tab only in the latter.
3048 am_lf='
3049 '
3050 case `pwd` in
3051   *[\\\"\#\$\&\'\`$am_lf]*)
3052     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3053 esac
3054 case $srcdir in
3055   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3056     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3057 esac
3058
3059 # Do `set' in a subshell so we don't clobber the current shell's
3060 # arguments.  Must try -L first in case configure is actually a
3061 # symlink; some systems play weird games with the mod time of symlinks
3062 # (eg FreeBSD returns the mod time of the symlink's containing
3063 # directory).
3064 if (
3065    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3066    if test "$*" = "X"; then
3067       # -L didn't work.
3068       set X `ls -t "$srcdir/configure" conftest.file`
3069    fi
3070    rm -f conftest.file
3071    if test "$*" != "X $srcdir/configure conftest.file" \
3072       && test "$*" != "X conftest.file $srcdir/configure"; then
3073
3074       # If neither matched, then we have a broken ls.  This can happen
3075       # if, for instance, CONFIG_SHELL is bash and it inherits a
3076       # broken ls alias from the environment.  This has actually
3077       # happened.  Such a system could not be considered "sane".
3078       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3079 alias in your environment" "$LINENO" 5
3080    fi
3081
3082    test "$2" = conftest.file
3083    )
3084 then
3085    # Ok.
3086    :
3087 else
3088    as_fn_error "newly created file is older than distributed files!
3089 Check your system clock" "$LINENO" 5
3090 fi
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3092 $as_echo "yes" >&6; }
3093 test "$program_prefix" != NONE &&
3094   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3095 # Use a double $ so make ignores it.
3096 test "$program_suffix" != NONE &&
3097   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3098 # Double any \ or $.
3099 # By default was `s,x,x', remove it if useless.
3100 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3101 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3102
3103 # expand $ac_aux_dir to an absolute path
3104 am_aux_dir=`cd $ac_aux_dir && pwd`
3105
3106 if test x"${MISSING+set}" != xset; then
3107   case $am_aux_dir in
3108   *\ * | *\     *)
3109     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3110   *)
3111     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3112   esac
3113 fi
3114 # Use eval to expand $SHELL
3115 if eval "$MISSING --run true"; then
3116   am_missing_run="$MISSING --run "
3117 else
3118   am_missing_run=
3119   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3120 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3121 fi
3122
3123 if test x"${install_sh}" != xset; then
3124   case $am_aux_dir in
3125   *\ * | *\     *)
3126     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3127   *)
3128     install_sh="\${SHELL} $am_aux_dir/install-sh"
3129   esac
3130 fi
3131
3132 # Installed binaries are usually stripped using `strip' when the user
3133 # run `make install-strip'.  However `strip' might not be the right
3134 # tool to use in cross-compilation environments, therefore Automake
3135 # will honor the `STRIP' environment variable to overrule this program.
3136 if test "$cross_compiling" != no; then
3137   if test -n "$ac_tool_prefix"; then
3138   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3139 set dummy ${ac_tool_prefix}strip; ac_word=$2
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141 $as_echo_n "checking for $ac_word... " >&6; }
3142 if test "${ac_cv_prog_STRIP+set}" = set; then :
3143   $as_echo_n "(cached) " >&6
3144 else
3145   if test -n "$STRIP"; then
3146   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3147 else
3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149 for as_dir in $PATH
3150 do
3151   IFS=$as_save_IFS
3152   test -z "$as_dir" && as_dir=.
3153     for ac_exec_ext in '' $ac_executable_extensions; do
3154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3155     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157     break 2
3158   fi
3159 done
3160   done
3161 IFS=$as_save_IFS
3162
3163 fi
3164 fi
3165 STRIP=$ac_cv_prog_STRIP
3166 if test -n "$STRIP"; then
3167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3168 $as_echo "$STRIP" >&6; }
3169 else
3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3172 fi
3173
3174
3175 fi
3176 if test -z "$ac_cv_prog_STRIP"; then
3177   ac_ct_STRIP=$STRIP
3178   # Extract the first word of "strip", so it can be a program name with args.
3179 set dummy strip; ac_word=$2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3183   $as_echo_n "(cached) " >&6
3184 else
3185   if test -n "$ac_ct_STRIP"; then
3186   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3187 else
3188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3189 for as_dir in $PATH
3190 do
3191   IFS=$as_save_IFS
3192   test -z "$as_dir" && as_dir=.
3193     for ac_exec_ext in '' $ac_executable_extensions; do
3194   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3195     ac_cv_prog_ac_ct_STRIP="strip"
3196     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197     break 2
3198   fi
3199 done
3200   done
3201 IFS=$as_save_IFS
3202
3203 fi
3204 fi
3205 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3206 if test -n "$ac_ct_STRIP"; then
3207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3208 $as_echo "$ac_ct_STRIP" >&6; }
3209 else
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3212 fi
3213
3214   if test "x$ac_ct_STRIP" = x; then
3215     STRIP=":"
3216   else
3217     case $cross_compiling:$ac_tool_warned in
3218 yes:)
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3221 ac_tool_warned=yes ;;
3222 esac
3223     STRIP=$ac_ct_STRIP
3224   fi
3225 else
3226   STRIP="$ac_cv_prog_STRIP"
3227 fi
3228
3229 fi
3230 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3231
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3233 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3234 if test -z "$MKDIR_P"; then
3235   if test "${ac_cv_path_mkdir+set}" = set; then :
3236   $as_echo_n "(cached) " >&6
3237 else
3238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3239 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3240 do
3241   IFS=$as_save_IFS
3242   test -z "$as_dir" && as_dir=.
3243     for ac_prog in mkdir gmkdir; do
3244          for ac_exec_ext in '' $ac_executable_extensions; do
3245            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3246            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3247              'mkdir (GNU coreutils) '* | \
3248              'mkdir (coreutils) '* | \
3249              'mkdir (fileutils) '4.1*)
3250                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3251                break 3;;
3252            esac
3253          done
3254        done
3255   done
3256 IFS=$as_save_IFS
3257
3258 fi
3259
3260   if test "${ac_cv_path_mkdir+set}" = set; then
3261     MKDIR_P="$ac_cv_path_mkdir -p"
3262   else
3263     # As a last resort, use the slow shell script.  Don't cache a
3264     # value for MKDIR_P within a source directory, because that will
3265     # break other packages using the cache if that directory is
3266     # removed, or if the value is a relative name.
3267     test -d ./--version && rmdir ./--version
3268     MKDIR_P="$ac_install_sh -d"
3269   fi
3270 fi
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3272 $as_echo "$MKDIR_P" >&6; }
3273
3274 mkdir_p="$MKDIR_P"
3275 case $mkdir_p in
3276   [\\/$]* | ?:[\\/]*) ;;
3277   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3278 esac
3279
3280 for ac_prog in gawk mawk nawk awk
3281 do
3282   # Extract the first word of "$ac_prog", so it can be a program name with args.
3283 set dummy $ac_prog; ac_word=$2
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3285 $as_echo_n "checking for $ac_word... " >&6; }
3286 if test "${ac_cv_prog_AWK+set}" = set; then :
3287   $as_echo_n "(cached) " >&6
3288 else
3289   if test -n "$AWK"; then
3290   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3291 else
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3293 for as_dir in $PATH
3294 do
3295   IFS=$as_save_IFS
3296   test -z "$as_dir" && as_dir=.
3297     for ac_exec_ext in '' $ac_executable_extensions; do
3298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3299     ac_cv_prog_AWK="$ac_prog"
3300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301     break 2
3302   fi
3303 done
3304   done
3305 IFS=$as_save_IFS
3306
3307 fi
3308 fi
3309 AWK=$ac_cv_prog_AWK
3310 if test -n "$AWK"; then
3311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3312 $as_echo "$AWK" >&6; }
3313 else
3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3315 $as_echo "no" >&6; }
3316 fi
3317
3318
3319   test -n "$AWK" && break
3320 done
3321
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3323 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3324 set x ${MAKE-make}
3325 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3326 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3327   $as_echo_n "(cached) " >&6
3328 else
3329   cat >conftest.make <<\_ACEOF
3330 SHELL = /bin/sh
3331 all:
3332         @echo '@@@%%%=$(MAKE)=@@@%%%'
3333 _ACEOF
3334 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3335 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3336   *@@@%%%=?*=@@@%%%*)
3337     eval ac_cv_prog_make_${ac_make}_set=yes;;
3338   *)
3339     eval ac_cv_prog_make_${ac_make}_set=no;;
3340 esac
3341 rm -f conftest.make
3342 fi
3343 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3345 $as_echo "yes" >&6; }
3346   SET_MAKE=
3347 else
3348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3349 $as_echo "no" >&6; }
3350   SET_MAKE="MAKE=${MAKE-make}"
3351 fi
3352
3353 rm -rf .tst 2>/dev/null
3354 mkdir .tst 2>/dev/null
3355 if test -d .tst; then
3356   am__leading_dot=.
3357 else
3358   am__leading_dot=_
3359 fi
3360 rmdir .tst 2>/dev/null
3361
3362 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3363   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3364   # is not polluted with repeated "-I."
3365   am__isrc=' -I$(srcdir)'
3366   # test to see if srcdir already configured
3367   if test -f $srcdir/config.status; then
3368     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3369   fi
3370 fi
3371
3372 # test whether we have cygpath
3373 if test -z "$CYGPATH_W"; then
3374   if (cygpath --version) >/dev/null 2>/dev/null; then
3375     CYGPATH_W='cygpath -w'
3376   else
3377     CYGPATH_W=echo
3378   fi
3379 fi
3380
3381
3382 # Define the identity of the package.
3383  PACKAGE='libgfortran'
3384  VERSION='0.3'
3385
3386
3387 # Some tools Automake needs.
3388
3389 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3390
3391
3392 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3393
3394
3395 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3396
3397
3398 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3399
3400
3401 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3402
3403 # We need awk for the "check" target.  The system "awk" is bad on
3404 # some platforms.
3405 # Always define AMTAR for backward compatibility.  Yes, it's still used
3406 # in the wild :-(  We should find a proper way to deprecate it ...
3407 AMTAR='$${TAR-tar}'
3408
3409 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3410
3411
3412
3413
3414
3415
3416
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3418 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3419     # Check whether --enable-maintainer-mode was given.
3420 if test "${enable_maintainer_mode+set}" = set; then :
3421   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3422 else
3423   USE_MAINTAINER_MODE=no
3424 fi
3425
3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3427 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3428    if test $USE_MAINTAINER_MODE = yes; then
3429   MAINTAINER_MODE_TRUE=
3430   MAINTAINER_MODE_FALSE='#'
3431 else
3432   MAINTAINER_MODE_TRUE='#'
3433   MAINTAINER_MODE_FALSE=
3434 fi
3435
3436   MAINT=$MAINTAINER_MODE_TRUE
3437
3438
3439 # Default to --enable-multilib
3440 # Check whether --enable-multilib was given.
3441 if test "${enable_multilib+set}" = set; then :
3442   enableval=$enable_multilib; case "$enableval" in
3443   yes) multilib=yes ;;
3444   no)  multilib=no ;;
3445   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3446  esac
3447 else
3448   multilib=yes
3449 fi
3450
3451
3452 # We may get other options which we leave undocumented:
3453 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3454 # See config-ml.in if you want the gory details.
3455
3456 if test "$srcdir" = "."; then
3457   if test "$with_target_subdir" != "."; then
3458     multi_basedir="$srcdir/$with_multisrctop../.."
3459   else
3460     multi_basedir="$srcdir/$with_multisrctop.."
3461   fi
3462 else
3463   multi_basedir="$srcdir/.."
3464 fi
3465
3466
3467 # Even if the default multilib is not a cross compilation,
3468 # it may be that some of the other multilibs are.
3469 if test $cross_compiling = no && test $multilib = yes \
3470    && test "x${with_multisubdir}" != x ; then
3471    cross_compiling=maybe
3472 fi
3473
3474 ac_config_commands="$ac_config_commands default-1"
3475
3476
3477 # Handy for debugging:
3478 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3479
3480 # Are we being configured with some form of cross compiler?
3481 # NB: We don't actually need to know this just now, but when, say, a test
3482 #     suite is included, we'll have to know.
3483 if test "$build" != "$host"; then
3484   LIBGFOR_IS_NATIVE=false
3485
3486 else
3487   LIBGFOR_IS_NATIVE=true
3488 fi
3489
3490 DEPDIR="${am__leading_dot}deps"
3491
3492 ac_config_commands="$ac_config_commands depfiles"
3493
3494
3495 am_make=${MAKE-make}
3496 cat > confinc << 'END'
3497 am__doit:
3498         @echo this is the am__doit target
3499 .PHONY: am__doit
3500 END
3501 # If we don't find an include directive, just comment out the code.
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3503 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3504 am__include="#"
3505 am__quote=
3506 _am_result=none
3507 # First try GNU make style include.
3508 echo "include confinc" > confmf
3509 # Ignore all kinds of additional output from `make'.
3510 case `$am_make -s -f confmf 2> /dev/null` in #(
3511 *the\ am__doit\ target*)
3512   am__include=include
3513   am__quote=
3514   _am_result=GNU
3515   ;;
3516 esac
3517 # Now try BSD make style include.
3518 if test "$am__include" = "#"; then
3519    echo '.include "confinc"' > confmf
3520    case `$am_make -s -f confmf 2> /dev/null` in #(
3521    *the\ am__doit\ target*)
3522      am__include=.include
3523      am__quote="\""
3524      _am_result=BSD
3525      ;;
3526    esac
3527 fi
3528
3529
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3531 $as_echo "$_am_result" >&6; }
3532 rm -f confinc confmf
3533
3534 # Check whether --enable-dependency-tracking was given.
3535 if test "${enable_dependency_tracking+set}" = set; then :
3536   enableval=$enable_dependency_tracking;
3537 fi
3538
3539 if test "x$enable_dependency_tracking" != xno; then
3540   am_depcomp="$ac_aux_dir/depcomp"
3541   AMDEPBACKSLASH='\'
3542   am__nodep='_no'
3543 fi
3544  if test "x$enable_dependency_tracking" != xno; then
3545   AMDEP_TRUE=
3546   AMDEP_FALSE='#'
3547 else
3548   AMDEP_TRUE='#'
3549   AMDEP_FALSE=
3550 fi
3551
3552
3553 ac_ext=c
3554 ac_cpp='$CPP $CPPFLAGS'
3555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3558 if test -n "$ac_tool_prefix"; then
3559   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3560 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if test "${ac_cv_prog_CC+set}" = set; then :
3564   $as_echo_n "(cached) " >&6
3565 else
3566   if test -n "$CC"; then
3567   ac_cv_prog_CC="$CC" # Let the user override the test.
3568 else
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3570 for as_dir in $PATH
3571 do
3572   IFS=$as_save_IFS
3573   test -z "$as_dir" && as_dir=.
3574     for ac_exec_ext in '' $ac_executable_extensions; do
3575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3576     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3578     break 2
3579   fi
3580 done
3581   done
3582 IFS=$as_save_IFS
3583
3584 fi
3585 fi
3586 CC=$ac_cv_prog_CC
3587 if test -n "$CC"; then
3588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3589 $as_echo "$CC" >&6; }
3590 else
3591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3593 fi
3594
3595
3596 fi
3597 if test -z "$ac_cv_prog_CC"; then
3598   ac_ct_CC=$CC
3599   # Extract the first word of "gcc", so it can be a program name with args.
3600 set dummy gcc; ac_word=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3604   $as_echo_n "(cached) " >&6
3605 else
3606   if test -n "$ac_ct_CC"; then
3607   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3608 else
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 for as_dir in $PATH
3611 do
3612   IFS=$as_save_IFS
3613   test -z "$as_dir" && as_dir=.
3614     for ac_exec_ext in '' $ac_executable_extensions; do
3615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616     ac_cv_prog_ac_ct_CC="gcc"
3617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3618     break 2
3619   fi
3620 done
3621   done
3622 IFS=$as_save_IFS
3623
3624 fi
3625 fi
3626 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3627 if test -n "$ac_ct_CC"; then
3628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3629 $as_echo "$ac_ct_CC" >&6; }
3630 else
3631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3633 fi
3634
3635   if test "x$ac_ct_CC" = x; then
3636     CC=""
3637   else
3638     case $cross_compiling:$ac_tool_warned in
3639 yes:)
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3642 ac_tool_warned=yes ;;
3643 esac
3644     CC=$ac_ct_CC
3645   fi
3646 else
3647   CC="$ac_cv_prog_CC"
3648 fi
3649
3650 if test -z "$CC"; then
3651           if test -n "$ac_tool_prefix"; then
3652     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3653 set dummy ${ac_tool_prefix}cc; ac_word=$2
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3655 $as_echo_n "checking for $ac_word... " >&6; }
3656 if test "${ac_cv_prog_CC+set}" = set; then :
3657   $as_echo_n "(cached) " >&6
3658 else
3659   if test -n "$CC"; then
3660   ac_cv_prog_CC="$CC" # Let the user override the test.
3661 else
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663 for as_dir in $PATH
3664 do
3665   IFS=$as_save_IFS
3666   test -z "$as_dir" && as_dir=.
3667     for ac_exec_ext in '' $ac_executable_extensions; do
3668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3669     ac_cv_prog_CC="${ac_tool_prefix}cc"
3670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671     break 2
3672   fi
3673 done
3674   done
3675 IFS=$as_save_IFS
3676
3677 fi
3678 fi
3679 CC=$ac_cv_prog_CC
3680 if test -n "$CC"; then
3681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3682 $as_echo "$CC" >&6; }
3683 else
3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3685 $as_echo "no" >&6; }
3686 fi
3687
3688
3689   fi
3690 fi
3691 if test -z "$CC"; then
3692   # Extract the first word of "cc", so it can be a program name with args.
3693 set dummy cc; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if test "${ac_cv_prog_CC+set}" = set; then :
3697   $as_echo_n "(cached) " >&6
3698 else
3699   if test -n "$CC"; then
3700   ac_cv_prog_CC="$CC" # Let the user override the test.
3701 else
3702   ac_prog_rejected=no
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3705 do
3706   IFS=$as_save_IFS
3707   test -z "$as_dir" && as_dir=.
3708     for ac_exec_ext in '' $ac_executable_extensions; do
3709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3711        ac_prog_rejected=yes
3712        continue
3713      fi
3714     ac_cv_prog_CC="cc"
3715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716     break 2
3717   fi
3718 done
3719   done
3720 IFS=$as_save_IFS
3721
3722 if test $ac_prog_rejected = yes; then
3723   # We found a bogon in the path, so make sure we never use it.
3724   set dummy $ac_cv_prog_CC
3725   shift
3726   if test $# != 0; then
3727     # We chose a different compiler from the bogus one.
3728     # However, it has the same basename, so the bogon will be chosen
3729     # first if we set CC to just the basename; use the full file name.
3730     shift
3731     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3732   fi
3733 fi
3734 fi
3735 fi
3736 CC=$ac_cv_prog_CC
3737 if test -n "$CC"; then
3738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3739 $as_echo "$CC" >&6; }
3740 else
3741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3742 $as_echo "no" >&6; }
3743 fi
3744
3745
3746 fi
3747 if test -z "$CC"; then
3748   if test -n "$ac_tool_prefix"; then
3749   for ac_prog in cl.exe
3750   do
3751     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3752 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if test "${ac_cv_prog_CC+set}" = set; then :
3756   $as_echo_n "(cached) " >&6
3757 else
3758   if test -n "$CC"; then
3759   ac_cv_prog_CC="$CC" # Let the user override the test.
3760 else
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 for as_dir in $PATH
3763 do
3764   IFS=$as_save_IFS
3765   test -z "$as_dir" && as_dir=.
3766     for ac_exec_ext in '' $ac_executable_extensions; do
3767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3768     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3769     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770     break 2
3771   fi
3772 done
3773   done
3774 IFS=$as_save_IFS
3775
3776 fi
3777 fi
3778 CC=$ac_cv_prog_CC
3779 if test -n "$CC"; then
3780   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3782 else
3783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3785 fi
3786
3787
3788     test -n "$CC" && break
3789   done
3790 fi
3791 if test -z "$CC"; then
3792   ac_ct_CC=$CC
3793   for ac_prog in cl.exe
3794 do
3795   # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy $ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3800   $as_echo_n "(cached) " >&6
3801 else
3802   if test -n "$ac_ct_CC"; then
3803   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3804 else
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH
3807 do
3808   IFS=$as_save_IFS
3809   test -z "$as_dir" && as_dir=.
3810     for ac_exec_ext in '' $ac_executable_extensions; do
3811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812     ac_cv_prog_ac_ct_CC="$ac_prog"
3813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814     break 2
3815   fi
3816 done
3817   done
3818 IFS=$as_save_IFS
3819
3820 fi
3821 fi
3822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3823 if test -n "$ac_ct_CC"; then
3824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3825 $as_echo "$ac_ct_CC" >&6; }
3826 else
3827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3829 fi
3830
3831
3832   test -n "$ac_ct_CC" && break
3833 done
3834
3835   if test "x$ac_ct_CC" = x; then
3836     CC=""
3837   else
3838     case $cross_compiling:$ac_tool_warned in
3839 yes:)
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3842 ac_tool_warned=yes ;;
3843 esac
3844     CC=$ac_ct_CC
3845   fi
3846 fi
3847
3848 fi
3849
3850
3851 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853 as_fn_error "no acceptable C compiler found in \$PATH
3854 See \`config.log' for more details." "$LINENO" 5; }
3855
3856 # Provide some information about the compiler.
3857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3858 set X $ac_compile
3859 ac_compiler=$2
3860 for ac_option in --version -v -V -qversion; do
3861   { { ac_try="$ac_compiler $ac_option >&5"
3862 case "(($ac_try" in
3863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864   *) ac_try_echo=$ac_try;;
3865 esac
3866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3869   ac_status=$?
3870   if test -s conftest.err; then
3871     sed '10a\
3872 ... rest of stderr output deleted ...
3873          10q' conftest.err >conftest.er1
3874     cat conftest.er1 >&5
3875     rm -f conftest.er1 conftest.err
3876   fi
3877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878   test $ac_status = 0; }
3879 done
3880
3881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3882 /* end confdefs.h.  */
3883
3884 int
3885 main ()
3886 {
3887
3888   ;
3889   return 0;
3890 }
3891 _ACEOF
3892 # FIXME: Cleanup?
3893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3894   (eval $ac_link) 2>&5
3895   ac_status=$?
3896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897   test $ac_status = 0; }; then :
3898   gcc_no_link=no
3899 else
3900   gcc_no_link=yes
3901 fi
3902 if test x$gcc_no_link = xyes; then
3903   # Setting cross_compile will disable run tests; it will
3904   # also disable AC_CHECK_FILE but that's generally
3905   # correct if we can't link.
3906   cross_compiling=yes
3907   EXEEXT=
3908 else
3909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h.  */
3911
3912 int
3913 main ()
3914 {
3915
3916   ;
3917   return 0;
3918 }
3919 _ACEOF
3920 ac_clean_files_save=$ac_clean_files
3921 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3922 # Try to create an executable without -o first, disregard a.out.
3923 # It will help us diagnose broken compilers, and finding out an intuition
3924 # of exeext.
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3926 $as_echo_n "checking for C compiler default output file name... " >&6; }
3927 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3928
3929 # The possible output files:
3930 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3931
3932 ac_rmfiles=
3933 for ac_file in $ac_files
3934 do
3935   case $ac_file in
3936     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3937     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3938   esac
3939 done
3940 rm -f $ac_rmfiles
3941
3942 if { { ac_try="$ac_link_default"
3943 case "(($ac_try" in
3944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3945   *) ac_try_echo=$ac_try;;
3946 esac
3947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3948 $as_echo "$ac_try_echo"; } >&5
3949   (eval "$ac_link_default") 2>&5
3950   ac_status=$?
3951   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3952   test $ac_status = 0; }; then :
3953   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3954 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3955 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3956 # so that the user can short-circuit this test for compilers unknown to
3957 # Autoconf.
3958 for ac_file in $ac_files ''
3959 do
3960   test -f "$ac_file" || continue
3961   case $ac_file in
3962     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3963         ;;
3964     [ab].out )
3965         # We found the default executable, but exeext='' is most
3966         # certainly right.
3967         break;;
3968     *.* )
3969         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3970         then :; else
3971            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3972         fi
3973         # We set ac_cv_exeext here because the later test for it is not
3974         # safe: cross compilers may not add the suffix if given an `-o'
3975         # argument, so we may need to know it at that point already.
3976         # Even if this section looks crufty: it has the advantage of
3977         # actually working.
3978         break;;
3979     * )
3980         break;;
3981   esac
3982 done
3983 test "$ac_cv_exeext" = no && ac_cv_exeext=
3984
3985 else
3986   ac_file=''
3987 fi
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3989 $as_echo "$ac_file" >&6; }
3990 if test -z "$ac_file"; then :
3991   $as_echo "$as_me: failed program was:" >&5
3992 sed 's/^/| /' conftest.$ac_ext >&5
3993
3994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3996 { as_fn_set_status 77
3997 as_fn_error "C compiler cannot create executables
3998 See \`config.log' for more details." "$LINENO" 5; }; }
3999 fi
4000 ac_exeext=$ac_cv_exeext
4001
4002 # Check that the compiler produces executables we can run.  If not, either
4003 # the compiler is broken, or we cross compile.
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4005 $as_echo_n "checking whether the C compiler works... " >&6; }
4006 # If not cross compiling, check that we can run a simple program.
4007 if test "$cross_compiling" != yes; then
4008   if { ac_try='./$ac_file'
4009   { { case "(($ac_try" in
4010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4011   *) ac_try_echo=$ac_try;;
4012 esac
4013 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4014 $as_echo "$ac_try_echo"; } >&5
4015   (eval "$ac_try") 2>&5
4016   ac_status=$?
4017   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4018   test $ac_status = 0; }; }; then
4019     cross_compiling=no
4020   else
4021     if test "$cross_compiling" = maybe; then
4022         cross_compiling=yes
4023     else
4024         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4025 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4026 as_fn_error "cannot run C compiled programs.
4027 If you meant to cross compile, use \`--host'.
4028 See \`config.log' for more details." "$LINENO" 5; }
4029     fi
4030   fi
4031 fi
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4033 $as_echo "yes" >&6; }
4034
4035 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4036 ac_clean_files=$ac_clean_files_save
4037 # Check that the compiler produces executables we can run.  If not, either
4038 # the compiler is broken, or we cross compile.
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4040 $as_echo_n "checking whether we are cross compiling... " >&6; }
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4042 $as_echo "$cross_compiling" >&6; }
4043
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4045 $as_echo_n "checking for suffix of executables... " >&6; }
4046 if { { ac_try="$ac_link"
4047 case "(($ac_try" in
4048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049   *) ac_try_echo=$ac_try;;
4050 esac
4051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052 $as_echo "$ac_try_echo"; } >&5
4053   (eval "$ac_link") 2>&5
4054   ac_status=$?
4055   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056   test $ac_status = 0; }; then :
4057   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4058 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4059 # work properly (i.e., refer to `conftest.exe'), while it won't with
4060 # `rm'.
4061 for ac_file in conftest.exe conftest conftest.*; do
4062   test -f "$ac_file" || continue
4063   case $ac_file in
4064     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4065     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4066           break;;
4067     * ) break;;
4068   esac
4069 done
4070 else
4071   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4073 as_fn_error "cannot compute suffix of executables: cannot compile and link
4074 See \`config.log' for more details." "$LINENO" 5; }
4075 fi
4076 rm -f conftest$ac_cv_exeext
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4078 $as_echo "$ac_cv_exeext" >&6; }
4079
4080 rm -f conftest.$ac_ext
4081 EXEEXT=$ac_cv_exeext
4082 ac_exeext=$EXEEXT
4083 fi
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4085 $as_echo_n "checking for suffix of object files... " >&6; }
4086 if test "${ac_cv_objext+set}" = set; then :
4087   $as_echo_n "(cached) " >&6
4088 else
4089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h.  */
4091
4092 int
4093 main ()
4094 {
4095
4096   ;
4097   return 0;
4098 }
4099 _ACEOF
4100 rm -f conftest.o conftest.obj
4101 if { { ac_try="$ac_compile"
4102 case "(($ac_try" in
4103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4104   *) ac_try_echo=$ac_try;;
4105 esac
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108   (eval "$ac_compile") 2>&5
4109   ac_status=$?
4110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4111   test $ac_status = 0; }; then :
4112   for ac_file in conftest.o conftest.obj conftest.*; do
4113   test -f "$ac_file" || continue;
4114   case $ac_file in
4115     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4116     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4117        break;;
4118   esac
4119 done
4120 else
4121   $as_echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4123
4124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4126 as_fn_error "cannot compute suffix of object files: cannot compile
4127 See \`config.log' for more details." "$LINENO" 5; }
4128 fi
4129 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4130 fi
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4132 $as_echo "$ac_cv_objext" >&6; }
4133 OBJEXT=$ac_cv_objext
4134 ac_objext=$OBJEXT
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4136 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4137 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4138   $as_echo_n "(cached) " >&6
4139 else
4140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4141 /* end confdefs.h.  */
4142
4143 int
4144 main ()
4145 {
4146 #ifndef __GNUC__
4147        choke me
4148 #endif
4149
4150   ;
4151   return 0;
4152 }
4153 _ACEOF
4154 if ac_fn_c_try_compile "$LINENO"; then :
4155   ac_compiler_gnu=yes
4156 else
4157   ac_compiler_gnu=no
4158 fi
4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4160 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161
4162 fi
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4164 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4165 if test $ac_compiler_gnu = yes; then
4166   GCC=yes
4167 else
4168   GCC=
4169 fi
4170 ac_test_CFLAGS=${CFLAGS+set}
4171 ac_save_CFLAGS=$CFLAGS
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4173 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4174 if test "${ac_cv_prog_cc_g+set}" = set; then :
4175   $as_echo_n "(cached) " >&6
4176 else
4177   ac_save_c_werror_flag=$ac_c_werror_flag
4178    ac_c_werror_flag=yes
4179    ac_cv_prog_cc_g=no
4180    CFLAGS="-g"
4181    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h.  */
4183
4184 int
4185 main ()
4186 {
4187
4188   ;
4189   return 0;
4190 }
4191 _ACEOF
4192 if ac_fn_c_try_compile "$LINENO"; then :
4193   ac_cv_prog_cc_g=yes
4194 else
4195   CFLAGS=""
4196       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197 /* end confdefs.h.  */
4198
4199 int
4200 main ()
4201 {
4202
4203   ;
4204   return 0;
4205 }
4206 _ACEOF
4207 if ac_fn_c_try_compile "$LINENO"; then :
4208
4209 else
4210   ac_c_werror_flag=$ac_save_c_werror_flag
4211          CFLAGS="-g"
4212          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h.  */
4214
4215 int
4216 main ()
4217 {
4218
4219   ;
4220   return 0;
4221 }
4222 _ACEOF
4223 if ac_fn_c_try_compile "$LINENO"; then :
4224   ac_cv_prog_cc_g=yes
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 fi
4230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4231    ac_c_werror_flag=$ac_save_c_werror_flag
4232 fi
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4234 $as_echo "$ac_cv_prog_cc_g" >&6; }
4235 if test "$ac_test_CFLAGS" = set; then
4236   CFLAGS=$ac_save_CFLAGS
4237 elif test $ac_cv_prog_cc_g = yes; then
4238   if test "$GCC" = yes; then
4239     CFLAGS="-g -O2"
4240   else
4241     CFLAGS="-g"
4242   fi
4243 else
4244   if test "$GCC" = yes; then
4245     CFLAGS="-O2"
4246   else
4247     CFLAGS=
4248   fi
4249 fi
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4251 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4252 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4253   $as_echo_n "(cached) " >&6
4254 else
4255   ac_cv_prog_cc_c89=no
4256 ac_save_CC=$CC
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h.  */
4259 #include <stdarg.h>
4260 #include <stdio.h>
4261 #include <sys/types.h>
4262 #include <sys/stat.h>
4263 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4264 struct buf { int x; };
4265 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4266 static char *e (p, i)
4267      char **p;
4268      int i;
4269 {
4270   return p[i];
4271 }
4272 static char *f (char * (*g) (char **, int), char **p, ...)
4273 {
4274   char *s;
4275   va_list v;
4276   va_start (v,p);
4277   s = g (p, va_arg (v,int));
4278   va_end (v);
4279   return s;
4280 }
4281
4282 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4283    function prototypes and stuff, but not '\xHH' hex character constants.
4284    These don't provoke an error unfortunately, instead are silently treated
4285    as 'x'.  The following induces an error, until -std is added to get
4286    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4287    array size at least.  It's necessary to write '\x00'==0 to get something
4288    that's true only with -std.  */
4289 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4290
4291 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4292    inside strings and character constants.  */
4293 #define FOO(x) 'x'
4294 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4295
4296 int test (int i, double x);
4297 struct s1 {int (*f) (int a);};
4298 struct s2 {int (*f) (double a);};
4299 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4300 int argc;
4301 char **argv;
4302 int
4303 main ()
4304 {
4305 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4306   ;
4307   return 0;
4308 }
4309 _ACEOF
4310 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4311         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4312 do
4313   CC="$ac_save_CC $ac_arg"
4314   if ac_fn_c_try_compile "$LINENO"; then :
4315   ac_cv_prog_cc_c89=$ac_arg
4316 fi
4317 rm -f core conftest.err conftest.$ac_objext
4318   test "x$ac_cv_prog_cc_c89" != "xno" && break
4319 done
4320 rm -f conftest.$ac_ext
4321 CC=$ac_save_CC
4322
4323 fi
4324 # AC_CACHE_VAL
4325 case "x$ac_cv_prog_cc_c89" in
4326   x)
4327     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4328 $as_echo "none needed" >&6; } ;;
4329   xno)
4330     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4331 $as_echo "unsupported" >&6; } ;;
4332   *)
4333     CC="$CC $ac_cv_prog_cc_c89"
4334     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4335 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4336 esac
4337 if test "x$ac_cv_prog_cc_c89" != xno; then :
4338
4339 fi
4340
4341 ac_ext=c
4342 ac_cpp='$CPP $CPPFLAGS'
4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4346
4347 depcc="$CC"   am_compiler_list=
4348
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4350 $as_echo_n "checking dependency style of $depcc... " >&6; }
4351 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4352   $as_echo_n "(cached) " >&6
4353 else
4354   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4355   # We make a subdir and do the tests there.  Otherwise we can end up
4356   # making bogus files that we don't know about and never remove.  For
4357   # instance it was reported that on HP-UX the gcc test will end up
4358   # making a dummy file named `D' -- because `-MD' means `put the output
4359   # in D'.
4360   rm -rf conftest.dir
4361   mkdir conftest.dir
4362   # Copy depcomp to subdir because otherwise we won't find it if we're
4363   # using a relative directory.
4364   cp "$am_depcomp" conftest.dir
4365   cd conftest.dir
4366   # We will build objects and dependencies in a subdirectory because
4367   # it helps to detect inapplicable dependency modes.  For instance
4368   # both Tru64's cc and ICC support -MD to output dependencies as a
4369   # side effect of compilation, but ICC will put the dependencies in
4370   # the current directory while Tru64 will put them in the object
4371   # directory.
4372   mkdir sub
4373
4374   am_cv_CC_dependencies_compiler_type=none
4375   if test "$am_compiler_list" = ""; then
4376      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4377   fi
4378   am__universal=false
4379   case " $depcc " in #(
4380      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4381      esac
4382
4383   for depmode in $am_compiler_list; do
4384     # Setup a source with many dependencies, because some compilers
4385     # like to wrap large dependency lists on column 80 (with \), and
4386     # we should not choose a depcomp mode which is confused by this.
4387     #
4388     # We need to recreate these files for each test, as the compiler may
4389     # overwrite some of them when testing with obscure command lines.
4390     # This happens at least with the AIX C compiler.
4391     : > sub/conftest.c
4392     for i in 1 2 3 4 5 6; do
4393       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4394       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4395       # Solaris 8's {/usr,}/bin/sh.
4396       touch sub/conftst$i.h
4397     done
4398     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4399
4400     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4401     # mode.  It turns out that the SunPro C++ compiler does not properly
4402     # handle `-M -o', and we need to detect this.  Also, some Intel
4403     # versions had trouble with output in subdirs
4404     am__obj=sub/conftest.${OBJEXT-o}
4405     am__minus_obj="-o $am__obj"
4406     case $depmode in
4407     gcc)
4408       # This depmode causes a compiler race in universal mode.
4409       test "$am__universal" = false || continue
4410       ;;
4411     nosideeffect)
4412       # after this tag, mechanisms are not by side-effect, so they'll
4413       # only be used when explicitly requested
4414       if test "x$enable_dependency_tracking" = xyes; then
4415         continue
4416       else
4417         break
4418       fi
4419       ;;
4420     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4421       # This compiler won't grok `-c -o', but also, the minuso test has
4422       # not run yet.  These depmodes are late enough in the game, and
4423       # so weak that their functioning should not be impacted.
4424       am__obj=conftest.${OBJEXT-o}
4425       am__minus_obj=
4426       ;;
4427     none) break ;;
4428     esac
4429     if depmode=$depmode \
4430        source=sub/conftest.c object=$am__obj \
4431        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4432        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4433          >/dev/null 2>conftest.err &&
4434        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4435        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4436        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4437        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4438       # icc doesn't choke on unknown options, it will just issue warnings
4439       # or remarks (even with -Werror).  So we grep stderr for any message
4440       # that says an option was ignored or not supported.
4441       # When given -MP, icc 7.0 and 7.1 complain thusly:
4442       #   icc: Command line warning: ignoring option '-M'; no argument required
4443       # The diagnosis changed in icc 8.0:
4444       #   icc: Command line remark: option '-MP' not supported
4445       if (grep 'ignoring option' conftest.err ||
4446           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4447         am_cv_CC_dependencies_compiler_type=$depmode
4448         break
4449       fi
4450     fi
4451   done
4452
4453   cd ..
4454   rm -rf conftest.dir
4455 else
4456   am_cv_CC_dependencies_compiler_type=none
4457 fi
4458
4459 fi
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4461 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4462 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4463
4464  if
4465   test "x$enable_dependency_tracking" != xno \
4466   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4467   am__fastdepCC_TRUE=
4468   am__fastdepCC_FALSE='#'
4469 else
4470   am__fastdepCC_TRUE='#'
4471   am__fastdepCC_FALSE=
4472 fi
4473
4474
4475
4476 ac_ext=c
4477 ac_cpp='$CPP $CPPFLAGS'
4478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4482 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4483 # On Suns, sometimes $CPP names a directory.
4484 if test -n "$CPP" && test -d "$CPP"; then
4485   CPP=
4486 fi
4487 if test -z "$CPP"; then
4488   if test "${ac_cv_prog_CPP+set}" = set; then :
4489   $as_echo_n "(cached) " >&6
4490 else
4491       # Double quotes because CPP needs to be expanded
4492     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4493     do
4494       ac_preproc_ok=false
4495 for ac_c_preproc_warn_flag in '' yes
4496 do
4497   # Use a header file that comes with gcc, so configuring glibc
4498   # with a fresh cross-compiler works.
4499   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4500   # <limits.h> exists even on freestanding compilers.
4501   # On the NeXT, cc -E runs the code through the compiler's parser,
4502   # not just through cpp. "Syntax error" is here to catch this case.
4503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504 /* end confdefs.h.  */
4505 #ifdef __STDC__
4506 # include <limits.h>
4507 #else
4508 # include <assert.h>
4509 #endif
4510                      Syntax error
4511 _ACEOF
4512 if ac_fn_c_try_cpp "$LINENO"; then :
4513
4514 else
4515   # Broken: fails on valid input.
4516 continue
4517 fi
4518 rm -f conftest.err conftest.$ac_ext
4519
4520   # OK, works on sane cases.  Now check whether nonexistent headers
4521   # can be detected and how.
4522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h.  */
4524 #include <ac_nonexistent.h>
4525 _ACEOF
4526 if ac_fn_c_try_cpp "$LINENO"; then :
4527   # Broken: success on invalid input.
4528 continue
4529 else
4530   # Passes both tests.
4531 ac_preproc_ok=:
4532 break
4533 fi
4534 rm -f conftest.err conftest.$ac_ext
4535
4536 done
4537 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4538 rm -f conftest.err conftest.$ac_ext
4539 if $ac_preproc_ok; then :
4540   break
4541 fi
4542
4543     done
4544     ac_cv_prog_CPP=$CPP
4545
4546 fi
4547   CPP=$ac_cv_prog_CPP
4548 else
4549   ac_cv_prog_CPP=$CPP
4550 fi
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4552 $as_echo "$CPP" >&6; }
4553 ac_preproc_ok=false
4554 for ac_c_preproc_warn_flag in '' yes
4555 do
4556   # Use a header file that comes with gcc, so configuring glibc
4557   # with a fresh cross-compiler works.
4558   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4559   # <limits.h> exists even on freestanding compilers.
4560   # On the NeXT, cc -E runs the code through the compiler's parser,
4561   # not just through cpp. "Syntax error" is here to catch this case.
4562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h.  */
4564 #ifdef __STDC__
4565 # include <limits.h>
4566 #else
4567 # include <assert.h>
4568 #endif
4569                      Syntax error
4570 _ACEOF
4571 if ac_fn_c_try_cpp "$LINENO"; then :
4572
4573 else
4574   # Broken: fails on valid input.
4575 continue
4576 fi
4577 rm -f conftest.err conftest.$ac_ext
4578
4579   # OK, works on sane cases.  Now check whether nonexistent headers
4580   # can be detected and how.
4581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h.  */
4583 #include <ac_nonexistent.h>
4584 _ACEOF
4585 if ac_fn_c_try_cpp "$LINENO"; then :
4586   # Broken: success on invalid input.
4587 continue
4588 else
4589   # Passes both tests.
4590 ac_preproc_ok=:
4591 break
4592 fi
4593 rm -f conftest.err conftest.$ac_ext
4594
4595 done
4596 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4597 rm -f conftest.err conftest.$ac_ext
4598 if $ac_preproc_ok; then :
4599
4600 else
4601   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4603 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4604 See \`config.log' for more details." "$LINENO" 5; }
4605 fi
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612
4613
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4615 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4616 if test "${ac_cv_path_GREP+set}" = set; then :
4617   $as_echo_n "(cached) " >&6
4618 else
4619   if test -z "$GREP"; then
4620   ac_path_GREP_found=false
4621   # Loop through the user's path and test for each of PROGNAME-LIST
4622   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4623 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4624 do
4625   IFS=$as_save_IFS
4626   test -z "$as_dir" && as_dir=.
4627     for ac_prog in grep ggrep; do
4628     for ac_exec_ext in '' $ac_executable_extensions; do
4629       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4630       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4631 # Check for GNU ac_path_GREP and select it if it is found.
4632   # Check for GNU $ac_path_GREP
4633 case `"$ac_path_GREP" --version 2>&1` in
4634 *GNU*)
4635   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4636 *)
4637   ac_count=0
4638   $as_echo_n 0123456789 >"conftest.in"
4639   while :
4640   do
4641     cat "conftest.in" "conftest.in" >"conftest.tmp"
4642     mv "conftest.tmp" "conftest.in"
4643     cp "conftest.in" "conftest.nl"
4644     $as_echo 'GREP' >> "conftest.nl"
4645     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4646     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4647     as_fn_arith $ac_count + 1 && ac_count=$as_val
4648     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4649       # Best one so far, save it but keep looking for a better one
4650       ac_cv_path_GREP="$ac_path_GREP"
4651       ac_path_GREP_max=$ac_count
4652     fi
4653     # 10*(2^10) chars as input seems more than enough
4654     test $ac_count -gt 10 && break
4655   done
4656   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4657 esac
4658
4659       $ac_path_GREP_found && break 3
4660     done
4661   done
4662   done
4663 IFS=$as_save_IFS
4664   if test -z "$ac_cv_path_GREP"; then
4665     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4666   fi
4667 else
4668   ac_cv_path_GREP=$GREP
4669 fi
4670
4671 fi
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4673 $as_echo "$ac_cv_path_GREP" >&6; }
4674  GREP="$ac_cv_path_GREP"
4675
4676
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4678 $as_echo_n "checking for egrep... " >&6; }
4679 if test "${ac_cv_path_EGREP+set}" = set; then :
4680   $as_echo_n "(cached) " >&6
4681 else
4682   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4683    then ac_cv_path_EGREP="$GREP -E"
4684    else
4685      if test -z "$EGREP"; then
4686   ac_path_EGREP_found=false
4687   # Loop through the user's path and test for each of PROGNAME-LIST
4688   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4689 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4690 do
4691   IFS=$as_save_IFS
4692   test -z "$as_dir" && as_dir=.
4693     for ac_prog in egrep; do
4694     for ac_exec_ext in '' $ac_executable_extensions; do
4695       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4696       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4697 # Check for GNU ac_path_EGREP and select it if it is found.
4698   # Check for GNU $ac_path_EGREP
4699 case `"$ac_path_EGREP" --version 2>&1` in
4700 *GNU*)
4701   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4702 *)
4703   ac_count=0
4704   $as_echo_n 0123456789 >"conftest.in"
4705   while :
4706   do
4707     cat "conftest.in" "conftest.in" >"conftest.tmp"
4708     mv "conftest.tmp" "conftest.in"
4709     cp "conftest.in" "conftest.nl"
4710     $as_echo 'EGREP' >> "conftest.nl"
4711     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4712     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4713     as_fn_arith $ac_count + 1 && ac_count=$as_val
4714     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4715       # Best one so far, save it but keep looking for a better one
4716       ac_cv_path_EGREP="$ac_path_EGREP"
4717       ac_path_EGREP_max=$ac_count
4718     fi
4719     # 10*(2^10) chars as input seems more than enough
4720     test $ac_count -gt 10 && break
4721   done
4722   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4723 esac
4724
4725       $ac_path_EGREP_found && break 3
4726     done
4727   done
4728   done
4729 IFS=$as_save_IFS
4730   if test -z "$ac_cv_path_EGREP"; then
4731     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4732   fi
4733 else
4734   ac_cv_path_EGREP=$EGREP
4735 fi
4736
4737    fi
4738 fi
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4740 $as_echo "$ac_cv_path_EGREP" >&6; }
4741  EGREP="$ac_cv_path_EGREP"
4742
4743
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4745 $as_echo_n "checking for ANSI C header files... " >&6; }
4746 if test "${ac_cv_header_stdc+set}" = set; then :
4747   $as_echo_n "(cached) " >&6
4748 else
4749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750 /* end confdefs.h.  */
4751 #include <stdlib.h>
4752 #include <stdarg.h>
4753 #include <string.h>
4754 #include <float.h>
4755
4756 int
4757 main ()
4758 {
4759
4760   ;
4761   return 0;
4762 }
4763 _ACEOF
4764 if ac_fn_c_try_compile "$LINENO"; then :
4765   ac_cv_header_stdc=yes
4766 else
4767   ac_cv_header_stdc=no
4768 fi
4769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4770
4771 if test $ac_cv_header_stdc = yes; then
4772   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4774 /* end confdefs.h.  */
4775 #include <string.h>
4776
4777 _ACEOF
4778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4779   $EGREP "memchr" >/dev/null 2>&1; then :
4780
4781 else
4782   ac_cv_header_stdc=no
4783 fi
4784 rm -f conftest*
4785
4786 fi
4787
4788 if test $ac_cv_header_stdc = yes; then
4789   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4790   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h.  */
4792 #include <stdlib.h>
4793
4794 _ACEOF
4795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4796   $EGREP "free" >/dev/null 2>&1; then :
4797
4798 else
4799   ac_cv_header_stdc=no
4800 fi
4801 rm -f conftest*
4802
4803 fi
4804
4805 if test $ac_cv_header_stdc = yes; then
4806   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4807   if test "$cross_compiling" = yes; then :
4808   :
4809 else
4810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h.  */
4812 #include <ctype.h>
4813 #include <stdlib.h>
4814 #if ((' ' & 0x0FF) == 0x020)
4815 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4816 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4817 #else
4818 # define ISLOWER(c) \
4819                    (('a' <= (c) && (c) <= 'i') \
4820                      || ('j' <= (c) && (c) <= 'r') \
4821                      || ('s' <= (c) && (c) <= 'z'))
4822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4823 #endif
4824
4825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4826 int
4827 main ()
4828 {
4829   int i;
4830   for (i = 0; i < 256; i++)
4831     if (XOR (islower (i), ISLOWER (i))
4832         || toupper (i) != TOUPPER (i))
4833       return 2;
4834   return 0;
4835 }
4836 _ACEOF
4837 if ac_fn_c_try_run "$LINENO"; then :
4838
4839 else
4840   ac_cv_header_stdc=no
4841 fi
4842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4843   conftest.$ac_objext conftest.beam conftest.$ac_ext
4844 fi
4845
4846 fi
4847 fi
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4849 $as_echo "$ac_cv_header_stdc" >&6; }
4850 if test $ac_cv_header_stdc = yes; then
4851
4852 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4853
4854 fi
4855
4856 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4857 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4858                   inttypes.h stdint.h unistd.h
4859 do :
4860   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4862 "
4863 eval as_val=\$$as_ac_Header
4864    if test "x$as_val" = x""yes; then :
4865   cat >>confdefs.h <<_ACEOF
4866 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4867 _ACEOF
4868
4869 fi
4870
4871 done
4872
4873
4874
4875   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4876 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4877   MINIX=yes
4878 else
4879   MINIX=
4880 fi
4881
4882
4883   if test "$MINIX" = yes; then
4884
4885 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4886
4887
4888 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4889
4890
4891 $as_echo "#define _MINIX 1" >>confdefs.h
4892
4893   fi
4894
4895
4896   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4897 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4898 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4899   $as_echo_n "(cached) " >&6
4900 else
4901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4902 /* end confdefs.h.  */
4903
4904 #         define __EXTENSIONS__ 1
4905           $ac_includes_default
4906 int
4907 main ()
4908 {
4909
4910   ;
4911   return 0;
4912 }
4913 _ACEOF
4914 if ac_fn_c_try_compile "$LINENO"; then :
4915   ac_cv_safe_to_define___extensions__=yes
4916 else
4917   ac_cv_safe_to_define___extensions__=no
4918 fi
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 fi
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4922 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4923   test $ac_cv_safe_to_define___extensions__ = yes &&
4924     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4925
4926   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4927
4928   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4929
4930   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4931
4932   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4933
4934
4935
4936 # Calculate toolexeclibdir
4937 # Also toolexecdir, though it's only used in toolexeclibdir
4938 case ${version_specific_libs} in
4939   yes)
4940     # Need the gcc compiler version to know where to install libraries
4941     # and header files if --enable-version-specific-runtime-libs option
4942     # is selected.
4943     toolexecdir='$(libdir)/gcc/$(target_alias)'
4944     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4945     ;;
4946   no)
4947     if test -n "$with_cross_host" &&
4948        test x"$with_cross_host" != x"no"; then
4949       # Install a library built with a cross compiler in tooldir, not libdir.
4950       toolexecdir='$(exec_prefix)/$(target_alias)'
4951       toolexeclibdir='$(toolexecdir)/lib'
4952     else
4953       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4954       toolexeclibdir='$(libdir)'
4955     fi
4956     multi_os_directory=`$CC -print-multi-os-directory`
4957     case $multi_os_directory in
4958       .) ;; # Avoid trailing /.
4959       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4960     esac
4961     ;;
4962 esac
4963
4964
4965
4966 # Create a spec file, so that compile/link tests don't fail
4967 test -f libgfortran.spec || touch libgfortran.spec
4968
4969 ac_ext=c
4970 ac_cpp='$CPP $CPPFLAGS'
4971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4974
4975 # Check the compiler.
4976 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4977 # We must force CC to /not/ be precious variables; otherwise
4978 # the wrong, non-multilib-adjusted value will be used in multilibs.
4979 # As a side effect, we have to subst CFLAGS ourselves.
4980
4981
4982
4983 ac_ext=c
4984 ac_cpp='$CPP $CPPFLAGS'
4985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4988 if test -n "$ac_tool_prefix"; then
4989   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4992 $as_echo_n "checking for $ac_word... " >&6; }
4993 if test "${ac_cv_prog_CC+set}" = set; then :
4994   $as_echo_n "(cached) " >&6
4995 else
4996   if test -n "$CC"; then
4997   ac_cv_prog_CC="$CC" # Let the user override the test.
4998 else
4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 for as_dir in $PATH
5001 do
5002   IFS=$as_save_IFS
5003   test -z "$as_dir" && as_dir=.
5004     for ac_exec_ext in '' $ac_executable_extensions; do
5005   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5006     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5007     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008     break 2
5009   fi
5010 done
5011   done
5012 IFS=$as_save_IFS
5013
5014 fi
5015 fi
5016 CC=$ac_cv_prog_CC
5017 if test -n "$CC"; then
5018   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5019 $as_echo "$CC" >&6; }
5020 else
5021   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 $as_echo "no" >&6; }
5023 fi
5024
5025
5026 fi
5027 if test -z "$ac_cv_prog_CC"; then
5028   ac_ct_CC=$CC
5029   # Extract the first word of "gcc", so it can be a program name with args.
5030 set dummy gcc; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5034   $as_echo_n "(cached) " >&6
5035 else
5036   if test -n "$ac_ct_CC"; then
5037   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5041 do
5042   IFS=$as_save_IFS
5043   test -z "$as_dir" && as_dir=.
5044     for ac_exec_ext in '' $ac_executable_extensions; do
5045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046     ac_cv_prog_ac_ct_CC="gcc"
5047     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048     break 2
5049   fi
5050 done
5051   done
5052 IFS=$as_save_IFS
5053
5054 fi
5055 fi
5056 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5057 if test -n "$ac_ct_CC"; then
5058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5059 $as_echo "$ac_ct_CC" >&6; }
5060 else
5061   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5063 fi
5064
5065   if test "x$ac_ct_CC" = x; then
5066     CC=""
5067   else
5068     case $cross_compiling:$ac_tool_warned in
5069 yes:)
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5072 ac_tool_warned=yes ;;
5073 esac
5074     CC=$ac_ct_CC
5075   fi
5076 else
5077   CC="$ac_cv_prog_CC"
5078 fi
5079
5080 if test -z "$CC"; then
5081           if test -n "$ac_tool_prefix"; then
5082     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5083 set dummy ${ac_tool_prefix}cc; ac_word=$2
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5086 if test "${ac_cv_prog_CC+set}" = set; then :
5087   $as_echo_n "(cached) " >&6
5088 else
5089   if test -n "$CC"; then
5090   ac_cv_prog_CC="$CC" # Let the user override the test.
5091 else
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 for as_dir in $PATH
5094 do
5095   IFS=$as_save_IFS
5096   test -z "$as_dir" && as_dir=.
5097     for ac_exec_ext in '' $ac_executable_extensions; do
5098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5099     ac_cv_prog_CC="${ac_tool_prefix}cc"
5100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101     break 2
5102   fi
5103 done
5104   done
5105 IFS=$as_save_IFS
5106
5107 fi
5108 fi
5109 CC=$ac_cv_prog_CC
5110 if test -n "$CC"; then
5111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5112 $as_echo "$CC" >&6; }
5113 else
5114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5116 fi
5117
5118
5119   fi
5120 fi
5121 if test -z "$CC"; then
5122   # Extract the first word of "cc", so it can be a program name with args.
5123 set dummy cc; ac_word=$2
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5125 $as_echo_n "checking for $ac_word... " >&6; }
5126 if test "${ac_cv_prog_CC+set}" = set; then :
5127   $as_echo_n "(cached) " >&6
5128 else
5129   if test -n "$CC"; then
5130   ac_cv_prog_CC="$CC" # Let the user override the test.
5131 else
5132   ac_prog_rejected=no
5133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5134 for as_dir in $PATH
5135 do
5136   IFS=$as_save_IFS
5137   test -z "$as_dir" && as_dir=.
5138     for ac_exec_ext in '' $ac_executable_extensions; do
5139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5140     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5141        ac_prog_rejected=yes
5142        continue
5143      fi
5144     ac_cv_prog_CC="cc"
5145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146     break 2
5147   fi
5148 done
5149   done
5150 IFS=$as_save_IFS
5151
5152 if test $ac_prog_rejected = yes; then
5153   # We found a bogon in the path, so make sure we never use it.
5154   set dummy $ac_cv_prog_CC
5155   shift
5156   if test $# != 0; then
5157     # We chose a different compiler from the bogus one.
5158     # However, it has the same basename, so the bogon will be chosen
5159     # first if we set CC to just the basename; use the full file name.
5160     shift
5161     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5162   fi
5163 fi
5164 fi
5165 fi
5166 CC=$ac_cv_prog_CC
5167 if test -n "$CC"; then
5168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5169 $as_echo "$CC" >&6; }
5170 else
5171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5173 fi
5174
5175
5176 fi
5177 if test -z "$CC"; then
5178   if test -n "$ac_tool_prefix"; then
5179   for ac_prog in cl.exe
5180   do
5181     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5184 $as_echo_n "checking for $ac_word... " >&6; }
5185 if test "${ac_cv_prog_CC+set}" = set; then :
5186   $as_echo_n "(cached) " >&6
5187 else
5188   if test -n "$CC"; then
5189   ac_cv_prog_CC="$CC" # Let the user override the test.
5190 else
5191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 for as_dir in $PATH
5193 do
5194   IFS=$as_save_IFS
5195   test -z "$as_dir" && as_dir=.
5196     for ac_exec_ext in '' $ac_executable_extensions; do
5197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5198     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5200     break 2
5201   fi
5202 done
5203   done
5204 IFS=$as_save_IFS
5205
5206 fi
5207 fi
5208 CC=$ac_cv_prog_CC
5209 if test -n "$CC"; then
5210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5211 $as_echo "$CC" >&6; }
5212 else
5213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5214 $as_echo "no" >&6; }
5215 fi
5216
5217
5218     test -n "$CC" && break
5219   done
5220 fi
5221 if test -z "$CC"; then
5222   ac_ct_CC=$CC
5223   for ac_prog in cl.exe
5224 do
5225   # Extract the first word of "$ac_prog", so it can be a program name with args.
5226 set dummy $ac_prog; ac_word=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5230   $as_echo_n "(cached) " >&6
5231 else
5232   if test -n "$ac_ct_CC"; then
5233   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5234 else
5235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236 for as_dir in $PATH
5237 do
5238   IFS=$as_save_IFS
5239   test -z "$as_dir" && as_dir=.
5240     for ac_exec_ext in '' $ac_executable_extensions; do
5241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242     ac_cv_prog_ac_ct_CC="$ac_prog"
5243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5244     break 2
5245   fi
5246 done
5247   done
5248 IFS=$as_save_IFS
5249
5250 fi
5251 fi
5252 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5253 if test -n "$ac_ct_CC"; then
5254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5255 $as_echo "$ac_ct_CC" >&6; }
5256 else
5257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5259 fi
5260
5261
5262   test -n "$ac_ct_CC" && break
5263 done
5264
5265   if test "x$ac_ct_CC" = x; then
5266     CC=""
5267   else
5268     case $cross_compiling:$ac_tool_warned in
5269 yes:)
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5272 ac_tool_warned=yes ;;
5273 esac
5274     CC=$ac_ct_CC
5275   fi
5276 fi
5277
5278 fi
5279
5280
5281 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5282 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5283 as_fn_error "no acceptable C compiler found in \$PATH
5284 See \`config.log' for more details." "$LINENO" 5; }
5285
5286 # Provide some information about the compiler.
5287 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5288 set X $ac_compile
5289 ac_compiler=$2
5290 for ac_option in --version -v -V -qversion; do
5291   { { ac_try="$ac_compiler $ac_option >&5"
5292 case "(($ac_try" in
5293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294   *) ac_try_echo=$ac_try;;
5295 esac
5296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297 $as_echo "$ac_try_echo"; } >&5
5298   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5299   ac_status=$?
5300   if test -s conftest.err; then
5301     sed '10a\
5302 ... rest of stderr output deleted ...
5303          10q' conftest.err >conftest.er1
5304     cat conftest.er1 >&5
5305     rm -f conftest.er1 conftest.err
5306   fi
5307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5308   test $ac_status = 0; }
5309 done
5310
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5312 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5313 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5314   $as_echo_n "(cached) " >&6
5315 else
5316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h.  */
5318
5319 int
5320 main ()
5321 {
5322 #ifndef __GNUC__
5323        choke me
5324 #endif
5325
5326   ;
5327   return 0;
5328 }
5329 _ACEOF
5330 if ac_fn_c_try_compile "$LINENO"; then :
5331   ac_compiler_gnu=yes
5332 else
5333   ac_compiler_gnu=no
5334 fi
5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5336 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5337
5338 fi
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5340 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5341 if test $ac_compiler_gnu = yes; then
5342   GCC=yes
5343 else
5344   GCC=
5345 fi
5346 ac_test_CFLAGS=${CFLAGS+set}
5347 ac_save_CFLAGS=$CFLAGS
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5349 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5350 if test "${ac_cv_prog_cc_g+set}" = set; then :
5351   $as_echo_n "(cached) " >&6
5352 else
5353   ac_save_c_werror_flag=$ac_c_werror_flag
5354    ac_c_werror_flag=yes
5355    ac_cv_prog_cc_g=no
5356    CFLAGS="-g"
5357    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h.  */
5359
5360 int
5361 main ()
5362 {
5363
5364   ;
5365   return 0;
5366 }
5367 _ACEOF
5368 if ac_fn_c_try_compile "$LINENO"; then :
5369   ac_cv_prog_cc_g=yes
5370 else
5371   CFLAGS=""
5372       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5373 /* end confdefs.h.  */
5374
5375 int
5376 main ()
5377 {
5378
5379   ;
5380   return 0;
5381 }
5382 _ACEOF
5383 if ac_fn_c_try_compile "$LINENO"; then :
5384
5385 else
5386   ac_c_werror_flag=$ac_save_c_werror_flag
5387          CFLAGS="-g"
5388          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h.  */
5390
5391 int
5392 main ()
5393 {
5394
5395   ;
5396   return 0;
5397 }
5398 _ACEOF
5399 if ac_fn_c_try_compile "$LINENO"; then :
5400   ac_cv_prog_cc_g=yes
5401 fi
5402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5403 fi
5404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405 fi
5406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5407    ac_c_werror_flag=$ac_save_c_werror_flag
5408 fi
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5410 $as_echo "$ac_cv_prog_cc_g" >&6; }
5411 if test "$ac_test_CFLAGS" = set; then
5412   CFLAGS=$ac_save_CFLAGS
5413 elif test $ac_cv_prog_cc_g = yes; then
5414   if test "$GCC" = yes; then
5415     CFLAGS="-g -O2"
5416   else
5417     CFLAGS="-g"
5418   fi
5419 else
5420   if test "$GCC" = yes; then
5421     CFLAGS="-O2"
5422   else
5423     CFLAGS=
5424   fi
5425 fi
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5427 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5428 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5429   $as_echo_n "(cached) " >&6
5430 else
5431   ac_cv_prog_cc_c89=no
5432 ac_save_CC=$CC
5433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5434 /* end confdefs.h.  */
5435 #include <stdarg.h>
5436 #include <stdio.h>
5437 #include <sys/types.h>
5438 #include <sys/stat.h>
5439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5440 struct buf { int x; };
5441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5442 static char *e (p, i)
5443      char **p;
5444      int i;
5445 {
5446   return p[i];
5447 }
5448 static char *f (char * (*g) (char **, int), char **p, ...)
5449 {
5450   char *s;
5451   va_list v;
5452   va_start (v,p);
5453   s = g (p, va_arg (v,int));
5454   va_end (v);
5455   return s;
5456 }
5457
5458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5459    function prototypes and stuff, but not '\xHH' hex character constants.
5460    These don't provoke an error unfortunately, instead are silently treated
5461    as 'x'.  The following induces an error, until -std is added to get
5462    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5463    array size at least.  It's necessary to write '\x00'==0 to get something
5464    that's true only with -std.  */
5465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5466
5467 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5468    inside strings and character constants.  */
5469 #define FOO(x) 'x'
5470 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5471
5472 int test (int i, double x);
5473 struct s1 {int (*f) (int a);};
5474 struct s2 {int (*f) (double a);};
5475 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5476 int argc;
5477 char **argv;
5478 int
5479 main ()
5480 {
5481 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5482   ;
5483   return 0;
5484 }
5485 _ACEOF
5486 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5487         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5488 do
5489   CC="$ac_save_CC $ac_arg"
5490   if ac_fn_c_try_compile "$LINENO"; then :
5491   ac_cv_prog_cc_c89=$ac_arg
5492 fi
5493 rm -f core conftest.err conftest.$ac_objext
5494   test "x$ac_cv_prog_cc_c89" != "xno" && break
5495 done
5496 rm -f conftest.$ac_ext
5497 CC=$ac_save_CC
5498
5499 fi
5500 # AC_CACHE_VAL
5501 case "x$ac_cv_prog_cc_c89" in
5502   x)
5503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5504 $as_echo "none needed" >&6; } ;;
5505   xno)
5506     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5507 $as_echo "unsupported" >&6; } ;;
5508   *)
5509     CC="$CC $ac_cv_prog_cc_c89"
5510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5511 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5512 esac
5513 if test "x$ac_cv_prog_cc_c89" != xno; then :
5514
5515 fi
5516
5517 ac_ext=c
5518 ac_cpp='$CPP $CPPFLAGS'
5519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5522
5523 depcc="$CC"   am_compiler_list=
5524
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5526 $as_echo_n "checking dependency style of $depcc... " >&6; }
5527 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5528   $as_echo_n "(cached) " >&6
5529 else
5530   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5531   # We make a subdir and do the tests there.  Otherwise we can end up
5532   # making bogus files that we don't know about and never remove.  For
5533   # instance it was reported that on HP-UX the gcc test will end up
5534   # making a dummy file named `D' -- because `-MD' means `put the output
5535   # in D'.
5536   rm -rf conftest.dir
5537   mkdir conftest.dir
5538   # Copy depcomp to subdir because otherwise we won't find it if we're
5539   # using a relative directory.
5540   cp "$am_depcomp" conftest.dir
5541   cd conftest.dir
5542   # We will build objects and dependencies in a subdirectory because
5543   # it helps to detect inapplicable dependency modes.  For instance
5544   # both Tru64's cc and ICC support -MD to output dependencies as a
5545   # side effect of compilation, but ICC will put the dependencies in
5546   # the current directory while Tru64 will put them in the object
5547   # directory.
5548   mkdir sub
5549
5550   am_cv_CC_dependencies_compiler_type=none
5551   if test "$am_compiler_list" = ""; then
5552      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5553   fi
5554   am__universal=false
5555   case " $depcc " in #(
5556      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5557      esac
5558
5559   for depmode in $am_compiler_list; do
5560     # Setup a source with many dependencies, because some compilers
5561     # like to wrap large dependency lists on column 80 (with \), and
5562     # we should not choose a depcomp mode which is confused by this.
5563     #
5564     # We need to recreate these files for each test, as the compiler may
5565     # overwrite some of them when testing with obscure command lines.
5566     # This happens at least with the AIX C compiler.
5567     : > sub/conftest.c
5568     for i in 1 2 3 4 5 6; do
5569       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5570       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5571       # Solaris 8's {/usr,}/bin/sh.
5572       touch sub/conftst$i.h
5573     done
5574     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5575
5576     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5577     # mode.  It turns out that the SunPro C++ compiler does not properly
5578     # handle `-M -o', and we need to detect this.  Also, some Intel
5579     # versions had trouble with output in subdirs
5580     am__obj=sub/conftest.${OBJEXT-o}
5581     am__minus_obj="-o $am__obj"
5582     case $depmode in
5583     gcc)
5584       # This depmode causes a compiler race in universal mode.
5585       test "$am__universal" = false || continue
5586       ;;
5587     nosideeffect)
5588       # after this tag, mechanisms are not by side-effect, so they'll
5589       # only be used when explicitly requested
5590       if test "x$enable_dependency_tracking" = xyes; then
5591         continue
5592       else
5593         break
5594       fi
5595       ;;
5596     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5597       # This compiler won't grok `-c -o', but also, the minuso test has
5598       # not run yet.  These depmodes are late enough in the game, and
5599       # so weak that their functioning should not be impacted.
5600       am__obj=conftest.${OBJEXT-o}
5601       am__minus_obj=
5602       ;;
5603     none) break ;;
5604     esac
5605     if depmode=$depmode \
5606        source=sub/conftest.c object=$am__obj \
5607        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5608        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5609          >/dev/null 2>conftest.err &&
5610        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5611        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5612        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5613        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5614       # icc doesn't choke on unknown options, it will just issue warnings
5615       # or remarks (even with -Werror).  So we grep stderr for any message
5616       # that says an option was ignored or not supported.
5617       # When given -MP, icc 7.0 and 7.1 complain thusly:
5618       #   icc: Command line warning: ignoring option '-M'; no argument required
5619       # The diagnosis changed in icc 8.0:
5620       #   icc: Command line remark: option '-MP' not supported
5621       if (grep 'ignoring option' conftest.err ||
5622           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5623         am_cv_CC_dependencies_compiler_type=$depmode
5624         break
5625       fi
5626     fi
5627   done
5628
5629   cd ..
5630   rm -rf conftest.dir
5631 else
5632   am_cv_CC_dependencies_compiler_type=none
5633 fi
5634
5635 fi
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5637 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5638 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5639
5640  if
5641   test "x$enable_dependency_tracking" != xno \
5642   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5643   am__fastdepCC_TRUE=
5644   am__fastdepCC_FALSE='#'
5645 else
5646   am__fastdepCC_TRUE='#'
5647   am__fastdepCC_FALSE=
5648 fi
5649
5650
5651
5652
5653
5654
5655 if test "x$CC" != xcc; then
5656   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5657 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5658 else
5659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5660 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5661 fi
5662 set dummy $CC; ac_cc=`$as_echo "$2" |
5663                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5664 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5665   $as_echo_n "(cached) " >&6
5666 else
5667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h.  */
5669
5670 int
5671 main ()
5672 {
5673
5674   ;
5675   return 0;
5676 }
5677 _ACEOF
5678 # Make sure it works both with $CC and with simple cc.
5679 # We do the test twice because some compilers refuse to overwrite an
5680 # existing .o file with -o, though they will create one.
5681 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5682 rm -f conftest2.*
5683 if { { 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; } &&
5693    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5695   *) ac_try_echo=$ac_try;;
5696 esac
5697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5698 $as_echo "$ac_try_echo"; } >&5
5699   (eval "$ac_try") 2>&5
5700   ac_status=$?
5701   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5702   test $ac_status = 0; };
5703 then
5704   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5705   if test "x$CC" != xcc; then
5706     # Test first that cc exists at all.
5707     if { ac_try='cc -c conftest.$ac_ext >&5'
5708   { { case "(($ac_try" in
5709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5710   *) ac_try_echo=$ac_try;;
5711 esac
5712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5713 $as_echo "$ac_try_echo"; } >&5
5714   (eval "$ac_try") 2>&5
5715   ac_status=$?
5716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5717   test $ac_status = 0; }; }; then
5718       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5719       rm -f conftest2.*
5720       if { { case "(($ac_try" in
5721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722   *) ac_try_echo=$ac_try;;
5723 esac
5724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5725 $as_echo "$ac_try_echo"; } >&5
5726   (eval "$ac_try") 2>&5
5727   ac_status=$?
5728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5729   test $ac_status = 0; } &&
5730          test -f conftest2.$ac_objext && { { case "(($ac_try" in
5731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5732   *) ac_try_echo=$ac_try;;
5733 esac
5734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5735 $as_echo "$ac_try_echo"; } >&5
5736   (eval "$ac_try") 2>&5
5737   ac_status=$?
5738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5739   test $ac_status = 0; };
5740       then
5741         # cc works too.
5742         :
5743       else
5744         # cc exists but doesn't like -o.
5745         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5746       fi
5747     fi
5748   fi
5749 else
5750   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5751 fi
5752 rm -f core conftest*
5753
5754 fi
5755 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5757 $as_echo "yes" >&6; }
5758 else
5759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5761
5762 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5763
5764 fi
5765
5766 # FIXME: we rely on the cache variable name because
5767 # there is no other way.
5768 set dummy $CC
5769 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5770 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5771 if test "$am_t" != yes; then
5772    # Losing compiler, so override with the script.
5773    # FIXME: It is wrong to rewrite CC.
5774    # But if we don't then we get into trouble of one sort or another.
5775    # A longer-term fix would be to have automake use am__CC in this case,
5776    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5777    CC="$am_aux_dir/compile $CC"
5778 fi
5779
5780
5781
5782 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5783 if test "x$GCC" = "xyes"; then
5784   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5785   ## We like to use C11 and C99 routines when available.  This makes
5786   ## sure that
5787   ## __STDC_VERSION__ is set such that libc includes make them available.
5788   AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5789   ## Compile the following tests with the same system header contents
5790   ## that we'll encounter when compiling our own source files.
5791   CFLAGS="-std=gnu11 $CFLAGS"
5792 fi
5793
5794
5795
5796
5797 # Check for symbol versioning (copied from libssp).
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5799 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5800 # Check whether --enable-symvers was given.
5801 if test "${enable_symvers+set}" = set; then :
5802   enableval=$enable_symvers; gfortran_use_symver=$enableval
5803 else
5804   gfortran_use_symver=yes
5805 fi
5806
5807 if test "x$gfortran_use_symver" != xno; then
5808   save_LDFLAGS="$LDFLAGS"
5809   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5810   cat > conftest.map <<EOF
5811 FOO_1.0 {
5812   global: *foo*; bar; local: *;
5813 };
5814 EOF
5815   if test x$gcc_no_link = xyes; then
5816   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5817 fi
5818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5819 /* end confdefs.h.  */
5820 int foo;
5821 int
5822 main ()
5823 {
5824
5825   ;
5826   return 0;
5827 }
5828 _ACEOF
5829 if ac_fn_c_try_link "$LINENO"; then :
5830   gfortran_use_symver=gnu
5831 else
5832   gfortran_use_symver=no
5833 fi
5834 rm -f core conftest.err conftest.$ac_objext \
5835     conftest$ac_exeext conftest.$ac_ext
5836   if test x$gfortran_use_symver = xno; then
5837     case "$target_os" in
5838       solaris2*)
5839         LDFLAGS="$save_LDFLAGS"
5840         LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5841         # Sun ld cannot handle wildcards and treats all entries as undefined.
5842         cat > conftest.map <<EOF
5843 FOO_1.0 {
5844   global: foo; local: *;
5845 };
5846 EOF
5847         if test x$gcc_no_link = xyes; then
5848   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5849 fi
5850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h.  */
5852 int foo;
5853 int
5854 main ()
5855 {
5856
5857   ;
5858   return 0;
5859 }
5860 _ACEOF
5861 if ac_fn_c_try_link "$LINENO"; then :
5862   gfortran_use_symver=sun
5863 else
5864   gfortran_use_symver=no
5865 fi
5866 rm -f core conftest.err conftest.$ac_objext \
5867     conftest$ac_exeext conftest.$ac_ext
5868         ;;
5869     esac
5870   fi
5871   LDFLAGS="$save_LDFLAGS"
5872 fi
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5874 $as_echo "$gfortran_use_symver" >&6; }
5875  if test "x$gfortran_use_symver" != xno; then
5876   LIBGFOR_USE_SYMVER_TRUE=
5877   LIBGFOR_USE_SYMVER_FALSE='#'
5878 else
5879   LIBGFOR_USE_SYMVER_TRUE='#'
5880   LIBGFOR_USE_SYMVER_FALSE=
5881 fi
5882
5883  if test "x$gfortran_use_symver" = xgnu; then
5884   LIBGFOR_USE_SYMVER_GNU_TRUE=
5885   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5886 else
5887   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5888   LIBGFOR_USE_SYMVER_GNU_FALSE=
5889 fi
5890
5891  if test "x$gfortran_use_symver" = xsun; then
5892   LIBGFOR_USE_SYMVER_SUN_TRUE=
5893   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5894 else
5895   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5896   LIBGFOR_USE_SYMVER_SUN_FALSE=
5897 fi
5898
5899
5900 # For GPU offloading, not everything in libfortran can be supported.
5901 # Currently, the only target that has this problem is nvptx.  The
5902 # following is a (partial) list of features that are unsupportable on
5903 # this particular target:
5904 # * Constructors
5905 # * alloca
5906 # * C library support for I/O, with printf as the one notable exception
5907 # * C library support for other features such as signal, environment
5908 #   variables, time functions
5909
5910  if test "x${target_cpu}" = xnvptx; then
5911   LIBGFOR_MINIMAL_TRUE=
5912   LIBGFOR_MINIMAL_FALSE='#'
5913 else
5914   LIBGFOR_MINIMAL_TRUE='#'
5915   LIBGFOR_MINIMAL_FALSE=
5916 fi
5917
5918
5919 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5920 # similarly to how libstdc++ does it
5921 ac_test_CFLAGS="${CFLAGS+set}"
5922 ac_save_CFLAGS="$CFLAGS"
5923
5924 # Check for -ffunction-sections -fdata-sections
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5926 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5927 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5929 /* end confdefs.h.  */
5930
5931 int
5932 main ()
5933 {
5934 int foo;
5935   ;
5936   return 0;
5937 }
5938 _ACEOF
5939 if ac_fn_c_try_compile "$LINENO"; then :
5940   ac_fdsections=yes
5941 else
5942   ac_fdsections=no
5943 fi
5944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5945 if test "$ac_test_CFLAGS" = set; then
5946   CFLAGS="$ac_save_CFLAGS"
5947 else
5948   # this is the suspicious part
5949   CFLAGS=""
5950 fi
5951 if test x"$ac_fdsections" = x"yes"; then
5952   SECTION_FLAGS='-ffunction-sections -fdata-sections'
5953 fi
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5955 $as_echo "$ac_fdsections" >&6; }
5956
5957
5958 # Find other programs we need.
5959 if test -n "$ac_tool_prefix"; then
5960   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5961 set dummy ${ac_tool_prefix}as; ac_word=$2
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5963 $as_echo_n "checking for $ac_word... " >&6; }
5964 if test "${ac_cv_prog_AS+set}" = set; then :
5965   $as_echo_n "(cached) " >&6
5966 else
5967   if test -n "$AS"; then
5968   ac_cv_prog_AS="$AS" # Let the user override the test.
5969 else
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 for as_dir in $PATH
5972 do
5973   IFS=$as_save_IFS
5974   test -z "$as_dir" && as_dir=.
5975     for ac_exec_ext in '' $ac_executable_extensions; do
5976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5977     ac_cv_prog_AS="${ac_tool_prefix}as"
5978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5979     break 2
5980   fi
5981 done
5982   done
5983 IFS=$as_save_IFS
5984
5985 fi
5986 fi
5987 AS=$ac_cv_prog_AS
5988 if test -n "$AS"; then
5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5990 $as_echo "$AS" >&6; }
5991 else
5992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 $as_echo "no" >&6; }
5994 fi
5995
5996
5997 fi
5998 if test -z "$ac_cv_prog_AS"; then
5999   ac_ct_AS=$AS
6000   # Extract the first word of "as", so it can be a program name with args.
6001 set dummy as; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6005   $as_echo_n "(cached) " >&6
6006 else
6007   if test -n "$ac_ct_AS"; then
6008   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6012 do
6013   IFS=$as_save_IFS
6014   test -z "$as_dir" && as_dir=.
6015     for ac_exec_ext in '' $ac_executable_extensions; do
6016   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6017     ac_cv_prog_ac_ct_AS="as"
6018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019     break 2
6020   fi
6021 done
6022   done
6023 IFS=$as_save_IFS
6024
6025 fi
6026 fi
6027 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6028 if test -n "$ac_ct_AS"; then
6029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6030 $as_echo "$ac_ct_AS" >&6; }
6031 else
6032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6034 fi
6035
6036   if test "x$ac_ct_AS" = x; then
6037     AS=""
6038   else
6039     case $cross_compiling:$ac_tool_warned in
6040 yes:)
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6042 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6043 ac_tool_warned=yes ;;
6044 esac
6045     AS=$ac_ct_AS
6046   fi
6047 else
6048   AS="$ac_cv_prog_AS"
6049 fi
6050
6051 if test -n "$ac_tool_prefix"; then
6052   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6053 set dummy ${ac_tool_prefix}ar; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if test "${ac_cv_prog_AR+set}" = set; then :
6057   $as_echo_n "(cached) " >&6
6058 else
6059   if test -n "$AR"; then
6060   ac_cv_prog_AR="$AR" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6064 do
6065   IFS=$as_save_IFS
6066   test -z "$as_dir" && as_dir=.
6067     for ac_exec_ext in '' $ac_executable_extensions; do
6068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6069     ac_cv_prog_AR="${ac_tool_prefix}ar"
6070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071     break 2
6072   fi
6073 done
6074   done
6075 IFS=$as_save_IFS
6076
6077 fi
6078 fi
6079 AR=$ac_cv_prog_AR
6080 if test -n "$AR"; then
6081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6082 $as_echo "$AR" >&6; }
6083 else
6084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6086 fi
6087
6088
6089 fi
6090 if test -z "$ac_cv_prog_AR"; then
6091   ac_ct_AR=$AR
6092   # Extract the first word of "ar", so it can be a program name with args.
6093 set dummy ar; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6097   $as_echo_n "(cached) " >&6
6098 else
6099   if test -n "$ac_ct_AR"; then
6100   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6104 do
6105   IFS=$as_save_IFS
6106   test -z "$as_dir" && as_dir=.
6107     for ac_exec_ext in '' $ac_executable_extensions; do
6108   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6109     ac_cv_prog_ac_ct_AR="ar"
6110     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111     break 2
6112   fi
6113 done
6114   done
6115 IFS=$as_save_IFS
6116
6117 fi
6118 fi
6119 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6120 if test -n "$ac_ct_AR"; then
6121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6122 $as_echo "$ac_ct_AR" >&6; }
6123 else
6124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6126 fi
6127
6128   if test "x$ac_ct_AR" = x; then
6129     AR=""
6130   else
6131     case $cross_compiling:$ac_tool_warned in
6132 yes:)
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135 ac_tool_warned=yes ;;
6136 esac
6137     AR=$ac_ct_AR
6138   fi
6139 else
6140   AR="$ac_cv_prog_AR"
6141 fi
6142
6143 if test -n "$ac_tool_prefix"; then
6144   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6149   $as_echo_n "(cached) " >&6
6150 else
6151   if test -n "$RANLIB"; then
6152   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6156 do
6157   IFS=$as_save_IFS
6158   test -z "$as_dir" && as_dir=.
6159     for ac_exec_ext in '' $ac_executable_extensions; do
6160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6161     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163     break 2
6164   fi
6165 done
6166   done
6167 IFS=$as_save_IFS
6168
6169 fi
6170 fi
6171 RANLIB=$ac_cv_prog_RANLIB
6172 if test -n "$RANLIB"; then
6173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6174 $as_echo "$RANLIB" >&6; }
6175 else
6176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6178 fi
6179
6180
6181 fi
6182 if test -z "$ac_cv_prog_RANLIB"; then
6183   ac_ct_RANLIB=$RANLIB
6184   # Extract the first word of "ranlib", so it can be a program name with args.
6185 set dummy ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6189   $as_echo_n "(cached) " >&6
6190 else
6191   if test -n "$ac_ct_RANLIB"; then
6192   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6196 do
6197   IFS=$as_save_IFS
6198   test -z "$as_dir" && as_dir=.
6199     for ac_exec_ext in '' $ac_executable_extensions; do
6200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6201     ac_cv_prog_ac_ct_RANLIB="ranlib"
6202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203     break 2
6204   fi
6205 done
6206   done
6207 IFS=$as_save_IFS
6208
6209 fi
6210 fi
6211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6212 if test -n "$ac_ct_RANLIB"; then
6213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6214 $as_echo "$ac_ct_RANLIB" >&6; }
6215 else
6216   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6218 fi
6219
6220   if test "x$ac_ct_RANLIB" = x; then
6221     RANLIB="ranlib-not-found-in-path-error"
6222   else
6223     case $cross_compiling:$ac_tool_warned in
6224 yes:)
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229     RANLIB=$ac_ct_RANLIB
6230   fi
6231 else
6232   RANLIB="$ac_cv_prog_RANLIB"
6233 fi
6234
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6236 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6237 set x ${MAKE-make}
6238 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6239 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6240   $as_echo_n "(cached) " >&6
6241 else
6242   cat >conftest.make <<\_ACEOF
6243 SHELL = /bin/sh
6244 all:
6245         @echo '@@@%%%=$(MAKE)=@@@%%%'
6246 _ACEOF
6247 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6248 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6249   *@@@%%%=?*=@@@%%%*)
6250     eval ac_cv_prog_make_${ac_make}_set=yes;;
6251   *)
6252     eval ac_cv_prog_make_${ac_make}_set=no;;
6253 esac
6254 rm -f conftest.make
6255 fi
6256 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6258 $as_echo "yes" >&6; }
6259   SET_MAKE=
6260 else
6261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6262 $as_echo "no" >&6; }
6263   SET_MAKE="MAKE=${MAKE-make}"
6264 fi
6265
6266
6267
6268 # Configure libtool
6269 #AC_MSG_NOTICE([====== Starting libtool configuration])
6270 enable_dlopen=yes
6271
6272
6273
6274 case `pwd` in
6275   *\ * | *\     *)
6276     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6277 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6278 esac
6279
6280
6281
6282 macro_version='2.2.7a'
6283 macro_revision='1.3134'
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297 ltmain="$ac_aux_dir/ltmain.sh"
6298
6299 # Backslashify metacharacters that are still active within
6300 # double-quoted strings.
6301 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6302
6303 # Same as above, but do not quote variable references.
6304 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6305
6306 # Sed substitution to delay expansion of an escaped shell variable in a
6307 # double_quote_subst'ed string.
6308 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6309
6310 # Sed substitution to delay expansion of an escaped single quote.
6311 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6312
6313 # Sed substitution to avoid accidental globbing in evaled expressions
6314 no_glob_subst='s/\*/\\\*/g'
6315
6316 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6317 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6318 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6319
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6321 $as_echo_n "checking how to print strings... " >&6; }
6322 # Test print first, because it will be a builtin if present.
6323 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6324    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6325   ECHO='print -r --'
6326 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6327   ECHO='printf %s\n'
6328 else
6329   # Use this function as a fallback that always works.
6330   func_fallback_echo ()
6331   {
6332     eval 'cat <<_LTECHO_EOF
6333 $1
6334 _LTECHO_EOF'
6335   }
6336   ECHO='func_fallback_echo'
6337 fi
6338
6339 # func_echo_all arg...
6340 # Invoke $ECHO with all args, space-separated.
6341 func_echo_all ()
6342 {
6343     $ECHO ""
6344 }
6345
6346 case "$ECHO" in
6347   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6348 $as_echo "printf" >&6; } ;;
6349   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6350 $as_echo "print -r" >&6; } ;;
6351   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6352 $as_echo "cat" >&6; } ;;
6353 esac
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6369 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6370 if test "${ac_cv_path_SED+set}" = set; then :
6371   $as_echo_n "(cached) " >&6
6372 else
6373             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6374      for ac_i in 1 2 3 4 5 6 7; do
6375        ac_script="$ac_script$as_nl$ac_script"
6376      done
6377      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6378      { ac_script=; unset ac_script;}
6379      if test -z "$SED"; then
6380   ac_path_SED_found=false
6381   # Loop through the user's path and test for each of PROGNAME-LIST
6382   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6383 for as_dir in $PATH
6384 do
6385   IFS=$as_save_IFS
6386   test -z "$as_dir" && as_dir=.
6387     for ac_prog in sed gsed; do
6388     for ac_exec_ext in '' $ac_executable_extensions; do
6389       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6390       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6391 # Check for GNU ac_path_SED and select it if it is found.
6392   # Check for GNU $ac_path_SED
6393 case `"$ac_path_SED" --version 2>&1` in
6394 *GNU*)
6395   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6396 *)
6397   ac_count=0
6398   $as_echo_n 0123456789 >"conftest.in"
6399   while :
6400   do
6401     cat "conftest.in" "conftest.in" >"conftest.tmp"
6402     mv "conftest.tmp" "conftest.in"
6403     cp "conftest.in" "conftest.nl"
6404     $as_echo '' >> "conftest.nl"
6405     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6406     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6407     as_fn_arith $ac_count + 1 && ac_count=$as_val
6408     if test $ac_count -gt ${ac_path_SED_max-0}; then
6409       # Best one so far, save it but keep looking for a better one
6410       ac_cv_path_SED="$ac_path_SED"
6411       ac_path_SED_max=$ac_count
6412     fi
6413     # 10*(2^10) chars as input seems more than enough
6414     test $ac_count -gt 10 && break
6415   done
6416   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6417 esac
6418
6419       $ac_path_SED_found && break 3
6420     done
6421   done
6422   done
6423 IFS=$as_save_IFS
6424   if test -z "$ac_cv_path_SED"; then
6425     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6426   fi
6427 else
6428   ac_cv_path_SED=$SED
6429 fi
6430
6431 fi
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6433 $as_echo "$ac_cv_path_SED" >&6; }
6434  SED="$ac_cv_path_SED"
6435   rm -f conftest.sed
6436
6437 test -z "$SED" && SED=sed
6438 Xsed="$SED -e 1s/^X//"
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6451 $as_echo_n "checking for fgrep... " >&6; }
6452 if test "${ac_cv_path_FGREP+set}" = set; then :
6453   $as_echo_n "(cached) " >&6
6454 else
6455   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6456    then ac_cv_path_FGREP="$GREP -F"
6457    else
6458      if test -z "$FGREP"; then
6459   ac_path_FGREP_found=false
6460   # Loop through the user's path and test for each of PROGNAME-LIST
6461   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6462 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6463 do
6464   IFS=$as_save_IFS
6465   test -z "$as_dir" && as_dir=.
6466     for ac_prog in fgrep; do
6467     for ac_exec_ext in '' $ac_executable_extensions; do
6468       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6469       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6470 # Check for GNU ac_path_FGREP and select it if it is found.
6471   # Check for GNU $ac_path_FGREP
6472 case `"$ac_path_FGREP" --version 2>&1` in
6473 *GNU*)
6474   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6475 *)
6476   ac_count=0
6477   $as_echo_n 0123456789 >"conftest.in"
6478   while :
6479   do
6480     cat "conftest.in" "conftest.in" >"conftest.tmp"
6481     mv "conftest.tmp" "conftest.in"
6482     cp "conftest.in" "conftest.nl"
6483     $as_echo 'FGREP' >> "conftest.nl"
6484     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6485     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6486     as_fn_arith $ac_count + 1 && ac_count=$as_val
6487     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6488       # Best one so far, save it but keep looking for a better one
6489       ac_cv_path_FGREP="$ac_path_FGREP"
6490       ac_path_FGREP_max=$ac_count
6491     fi
6492     # 10*(2^10) chars as input seems more than enough
6493     test $ac_count -gt 10 && break
6494   done
6495   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6496 esac
6497
6498       $ac_path_FGREP_found && break 3
6499     done
6500   done
6501   done
6502 IFS=$as_save_IFS
6503   if test -z "$ac_cv_path_FGREP"; then
6504     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6505   fi
6506 else
6507   ac_cv_path_FGREP=$FGREP
6508 fi
6509
6510    fi
6511 fi
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6513 $as_echo "$ac_cv_path_FGREP" >&6; }
6514  FGREP="$ac_cv_path_FGREP"
6515
6516
6517 test -z "$GREP" && GREP=grep
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537 # Check whether --with-gnu-ld was given.
6538 if test "${with_gnu_ld+set}" = set; then :
6539   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6540 else
6541   with_gnu_ld=no
6542 fi
6543
6544 ac_prog=ld
6545 if test "$GCC" = yes; then
6546   # Check if gcc -print-prog-name=ld gives a path.
6547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6548 $as_echo_n "checking for ld used by $CC... " >&6; }
6549   case $host in
6550   *-*-mingw*)
6551     # gcc leaves a trailing carriage return which upsets mingw
6552     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6553   *)
6554     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6555   esac
6556   case $ac_prog in
6557     # Accept absolute paths.
6558     [\\/]* | ?:[\\/]*)
6559       re_direlt='/[^/][^/]*/\.\./'
6560       # Canonicalize the pathname of ld
6561       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6562       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6563         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6564       done
6565       test -z "$LD" && LD="$ac_prog"
6566       ;;
6567   "")
6568     # If it fails, then pretend we aren't using GCC.
6569     ac_prog=ld
6570     ;;
6571   *)
6572     # If it is relative, then search for the first ld in PATH.
6573     with_gnu_ld=unknown
6574     ;;
6575   esac
6576 elif test "$with_gnu_ld" = yes; then
6577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6578 $as_echo_n "checking for GNU ld... " >&6; }
6579 else
6580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6581 $as_echo_n "checking for non-GNU ld... " >&6; }
6582 fi
6583 if test "${lt_cv_path_LD+set}" = set; then :
6584   $as_echo_n "(cached) " >&6
6585 else
6586   if test -z "$LD"; then
6587   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6588   for ac_dir in $PATH; do
6589     IFS="$lt_save_ifs"
6590     test -z "$ac_dir" && ac_dir=.
6591     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6592       lt_cv_path_LD="$ac_dir/$ac_prog"
6593       # Check to see if the program is GNU ld.  I'd rather use --version,
6594       # but apparently some variants of GNU ld only accept -v.
6595       # Break only if it was the GNU/non-GNU ld that we prefer.
6596       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6597       *GNU* | *'with BFD'*)
6598         test "$with_gnu_ld" != no && break
6599         ;;
6600       *)
6601         test "$with_gnu_ld" != yes && break
6602         ;;
6603       esac
6604     fi
6605   done
6606   IFS="$lt_save_ifs"
6607 else
6608   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6609 fi
6610 fi
6611
6612 LD="$lt_cv_path_LD"
6613 if test -n "$LD"; then
6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6615 $as_echo "$LD" >&6; }
6616 else
6617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6619 fi
6620 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6622 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6623 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6624   $as_echo_n "(cached) " >&6
6625 else
6626   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6627 case `$LD -v 2>&1 </dev/null` in
6628 *GNU* | *'with BFD'*)
6629   lt_cv_prog_gnu_ld=yes
6630   ;;
6631 *)
6632   lt_cv_prog_gnu_ld=no
6633   ;;
6634 esac
6635 fi
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6637 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6638 with_gnu_ld=$lt_cv_prog_gnu_ld
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6649 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6650 if test "${lt_cv_path_NM+set}" = set; then :
6651   $as_echo_n "(cached) " >&6
6652 else
6653   if test -n "$NM"; then
6654   # Let the user override the test.
6655   lt_cv_path_NM="$NM"
6656 else
6657   lt_nm_to_check="${ac_tool_prefix}nm"
6658   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6659     lt_nm_to_check="$lt_nm_to_check nm"
6660   fi
6661   for lt_tmp_nm in $lt_nm_to_check; do
6662     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6663     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6664       IFS="$lt_save_ifs"
6665       test -z "$ac_dir" && ac_dir=.
6666       tmp_nm="$ac_dir/$lt_tmp_nm"
6667       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6668         # Check to see if the nm accepts a BSD-compat flag.
6669         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6670         #   nm: unknown option "B" ignored
6671         # Tru64's nm complains that /dev/null is an invalid object file
6672         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6673         */dev/null* | *'Invalid file or object type'*)
6674           lt_cv_path_NM="$tmp_nm -B"
6675           break
6676           ;;
6677         *)
6678           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6679           */dev/null*)
6680             lt_cv_path_NM="$tmp_nm -p"
6681             break
6682             ;;
6683           *)
6684             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6685             continue # so that we can try to find one that supports BSD flags
6686             ;;
6687           esac
6688           ;;
6689         esac
6690       fi
6691     done
6692     IFS="$lt_save_ifs"
6693   done
6694   : ${lt_cv_path_NM=no}
6695 fi
6696 fi
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6698 $as_echo "$lt_cv_path_NM" >&6; }
6699 if test "$lt_cv_path_NM" != "no"; then
6700   NM="$lt_cv_path_NM"
6701 else
6702   # Didn't find any BSD compatible name lister, look for dumpbin.
6703   if test -n "$DUMPBIN"; then :
6704     # Let the user override the test.
6705   else
6706     if test -n "$ac_tool_prefix"; then
6707   for ac_prog in dumpbin "link -dump"
6708   do
6709     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712 $as_echo_n "checking for $ac_word... " >&6; }
6713 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6714   $as_echo_n "(cached) " >&6
6715 else
6716   if test -n "$DUMPBIN"; then
6717   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6718 else
6719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6720 for as_dir in $PATH
6721 do
6722   IFS=$as_save_IFS
6723   test -z "$as_dir" && as_dir=.
6724     for ac_exec_ext in '' $ac_executable_extensions; do
6725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6726     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6728     break 2
6729   fi
6730 done
6731   done
6732 IFS=$as_save_IFS
6733
6734 fi
6735 fi
6736 DUMPBIN=$ac_cv_prog_DUMPBIN
6737 if test -n "$DUMPBIN"; then
6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6739 $as_echo "$DUMPBIN" >&6; }
6740 else
6741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 $as_echo "no" >&6; }
6743 fi
6744
6745
6746     test -n "$DUMPBIN" && break
6747   done
6748 fi
6749 if test -z "$DUMPBIN"; then
6750   ac_ct_DUMPBIN=$DUMPBIN
6751   for ac_prog in dumpbin "link -dump"
6752 do
6753   # Extract the first word of "$ac_prog", so it can be a program name with args.
6754 set dummy $ac_prog; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6758   $as_echo_n "(cached) " >&6
6759 else
6760   if test -n "$ac_ct_DUMPBIN"; then
6761   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6765 do
6766   IFS=$as_save_IFS
6767   test -z "$as_dir" && as_dir=.
6768     for ac_exec_ext in '' $ac_executable_extensions; do
6769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6770     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772     break 2
6773   fi
6774 done
6775   done
6776 IFS=$as_save_IFS
6777
6778 fi
6779 fi
6780 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6781 if test -n "$ac_ct_DUMPBIN"; then
6782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6783 $as_echo "$ac_ct_DUMPBIN" >&6; }
6784 else
6785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6787 fi
6788
6789
6790   test -n "$ac_ct_DUMPBIN" && break
6791 done
6792
6793   if test "x$ac_ct_DUMPBIN" = x; then
6794     DUMPBIN=":"
6795   else
6796     case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802     DUMPBIN=$ac_ct_DUMPBIN
6803   fi
6804 fi
6805
6806     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6807     *COFF*)
6808       DUMPBIN="$DUMPBIN -symbols"
6809       ;;
6810     *)
6811       DUMPBIN=:
6812       ;;
6813     esac
6814   fi
6815
6816   if test "$DUMPBIN" != ":"; then
6817     NM="$DUMPBIN"
6818   fi
6819 fi
6820 test -z "$NM" && NM=nm
6821
6822
6823
6824
6825
6826
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6828 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6829 if test "${lt_cv_nm_interface+set}" = set; then :
6830   $as_echo_n "(cached) " >&6
6831 else
6832   lt_cv_nm_interface="BSD nm"
6833   echo "int some_variable = 0;" > conftest.$ac_ext
6834   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6835   (eval "$ac_compile" 2>conftest.err)
6836   cat conftest.err >&5
6837   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6838   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6839   cat conftest.err >&5
6840   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6841   cat conftest.out >&5
6842   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6843     lt_cv_nm_interface="MS dumpbin"
6844   fi
6845   rm -f conftest*
6846 fi
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6848 $as_echo "$lt_cv_nm_interface" >&6; }
6849
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6851 $as_echo_n "checking whether ln -s works... " >&6; }
6852 LN_S=$as_ln_s
6853 if test "$LN_S" = "ln -s"; then
6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6855 $as_echo "yes" >&6; }
6856 else
6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6858 $as_echo "no, using $LN_S" >&6; }
6859 fi
6860
6861 # find the maximum length of command line arguments
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6863 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6864 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6865   $as_echo_n "(cached) " >&6
6866 else
6867     i=0
6868   teststring="ABCD"
6869
6870   case $build_os in
6871   msdosdjgpp*)
6872     # On DJGPP, this test can blow up pretty badly due to problems in libc
6873     # (any single argument exceeding 2000 bytes causes a buffer overrun
6874     # during glob expansion).  Even if it were fixed, the result of this
6875     # check would be larger than it should be.
6876     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6877     ;;
6878
6879   gnu*)
6880     # Under GNU Hurd, this test is not required because there is
6881     # no limit to the length of command line arguments.
6882     # Libtool will interpret -1 as no limit whatsoever
6883     lt_cv_sys_max_cmd_len=-1;
6884     ;;
6885
6886   cygwin* | mingw* | cegcc*)
6887     # On Win9x/ME, this test blows up -- it succeeds, but takes
6888     # about 5 minutes as the teststring grows exponentially.
6889     # Worse, since 9x/ME are not pre-emptively multitasking,
6890     # you end up with a "frozen" computer, even though with patience
6891     # the test eventually succeeds (with a max line length of 256k).
6892     # Instead, let's just punt: use the minimum linelength reported by
6893     # all of the supported platforms: 8192 (on NT/2K/XP).
6894     lt_cv_sys_max_cmd_len=8192;
6895     ;;
6896
6897   mint*)
6898     # On MiNT this can take a long time and run out of memory.
6899     lt_cv_sys_max_cmd_len=8192;
6900     ;;
6901
6902   amigaos*)
6903     # On AmigaOS with pdksh, this test takes hours, literally.
6904     # So we just punt and use a minimum line length of 8192.
6905     lt_cv_sys_max_cmd_len=8192;
6906     ;;
6907
6908   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6909     # This has been around since 386BSD, at least.  Likely further.
6910     if test -x /sbin/sysctl; then
6911       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6912     elif test -x /usr/sbin/sysctl; then
6913       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6914     else
6915       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6916     fi
6917     # And add a safety zone
6918     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6919     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6920     ;;
6921
6922   interix*)
6923     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6924     lt_cv_sys_max_cmd_len=196608
6925     ;;
6926
6927   osf*)
6928     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6929     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6930     # nice to cause kernel panics so lets avoid the loop below.
6931     # First set a reasonable default.
6932     lt_cv_sys_max_cmd_len=16384
6933     #
6934     if test -x /sbin/sysconfig; then
6935       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6936         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6937       esac
6938     fi
6939     ;;
6940   sco3.2v5*)
6941     lt_cv_sys_max_cmd_len=102400
6942     ;;
6943   sysv5* | sco5v6* | sysv4.2uw2*)
6944     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6945     if test -n "$kargmax"; then
6946       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6947     else
6948       lt_cv_sys_max_cmd_len=32768
6949     fi
6950     ;;
6951   *)
6952     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6953     if test -n "$lt_cv_sys_max_cmd_len"; then
6954       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6955       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6956     else
6957       # Make teststring a little bigger before we do anything with it.
6958       # a 1K string should be a reasonable start.
6959       for i in 1 2 3 4 5 6 7 8 ; do
6960         teststring=$teststring$teststring
6961       done
6962       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6963       # If test is not a shell built-in, we'll probably end up computing a
6964       # maximum length that is only half of the actual maximum length, but
6965       # we can't tell.
6966       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6967                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6968               test $i != 17 # 1/2 MB should be enough
6969       do
6970         i=`expr $i + 1`
6971         teststring=$teststring$teststring
6972       done
6973       # Only check the string length outside the loop.
6974       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6975       teststring=
6976       # Add a significant safety factor because C++ compilers can tack on
6977       # massive amounts of additional arguments before passing them to the
6978       # linker.  It appears as though 1/2 is a usable value.
6979       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6980     fi
6981     ;;
6982   esac
6983
6984 fi
6985
6986 if test -n $lt_cv_sys_max_cmd_len ; then
6987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6988 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6989 else
6990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6991 $as_echo "none" >&6; }
6992 fi
6993 max_cmd_len=$lt_cv_sys_max_cmd_len
6994
6995
6996
6997
6998
6999
7000 : ${CP="cp -f"}
7001 : ${MV="mv -f"}
7002 : ${RM="rm -f"}
7003
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7005 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7006 # Try some XSI features
7007 xsi_shell=no
7008 ( _lt_dummy="a/b/c"
7009   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7010       = c,a/b,, \
7011     && eval 'test $(( 1 + 1 )) -eq 2 \
7012     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7013   && xsi_shell=yes
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7015 $as_echo "$xsi_shell" >&6; }
7016
7017
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7019 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7020 lt_shell_append=no
7021 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7022     >/dev/null 2>&1 \
7023   && lt_shell_append=yes
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7025 $as_echo "$lt_shell_append" >&6; }
7026
7027
7028 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7029   lt_unset=unset
7030 else
7031   lt_unset=false
7032 fi
7033
7034
7035
7036
7037
7038 # test EBCDIC or ASCII
7039 case `echo X|tr X '\101'` in
7040  A) # ASCII based system
7041     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7042   lt_SP2NL='tr \040 \012'
7043   lt_NL2SP='tr \015\012 \040\040'
7044   ;;
7045  *) # EBCDIC based system
7046   lt_SP2NL='tr \100 \n'
7047   lt_NL2SP='tr \r\n \100\100'
7048   ;;
7049 esac
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7060 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7061 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7062   $as_echo_n "(cached) " >&6
7063 else
7064   lt_cv_ld_reload_flag='-r'
7065 fi
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7067 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7068 reload_flag=$lt_cv_ld_reload_flag
7069 case $reload_flag in
7070 "" | " "*) ;;
7071 *) reload_flag=" $reload_flag" ;;
7072 esac
7073 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7074 case $host_os in
7075   darwin*)
7076     if test "$GCC" = yes; then
7077       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7078     else
7079       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7080     fi
7081     ;;
7082 esac
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092 if test -n "$ac_tool_prefix"; then
7093   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7094 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7096 $as_echo_n "checking for $ac_word... " >&6; }
7097 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7098   $as_echo_n "(cached) " >&6
7099 else
7100   if test -n "$OBJDUMP"; then
7101   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7102 else
7103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 for as_dir in $PATH
7105 do
7106   IFS=$as_save_IFS
7107   test -z "$as_dir" && as_dir=.
7108     for ac_exec_ext in '' $ac_executable_extensions; do
7109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7110     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7111     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112     break 2
7113   fi
7114 done
7115   done
7116 IFS=$as_save_IFS
7117
7118 fi
7119 fi
7120 OBJDUMP=$ac_cv_prog_OBJDUMP
7121 if test -n "$OBJDUMP"; then
7122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7123 $as_echo "$OBJDUMP" >&6; }
7124 else
7125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7126 $as_echo "no" >&6; }
7127 fi
7128
7129
7130 fi
7131 if test -z "$ac_cv_prog_OBJDUMP"; then
7132   ac_ct_OBJDUMP=$OBJDUMP
7133   # Extract the first word of "objdump", so it can be a program name with args.
7134 set dummy objdump; ac_word=$2
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7136 $as_echo_n "checking for $ac_word... " >&6; }
7137 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7138   $as_echo_n "(cached) " >&6
7139 else
7140   if test -n "$ac_ct_OBJDUMP"; then
7141   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7142 else
7143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144 for as_dir in $PATH
7145 do
7146   IFS=$as_save_IFS
7147   test -z "$as_dir" && as_dir=.
7148     for ac_exec_ext in '' $ac_executable_extensions; do
7149   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7150     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152     break 2
7153   fi
7154 done
7155   done
7156 IFS=$as_save_IFS
7157
7158 fi
7159 fi
7160 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7161 if test -n "$ac_ct_OBJDUMP"; then
7162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7163 $as_echo "$ac_ct_OBJDUMP" >&6; }
7164 else
7165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7166 $as_echo "no" >&6; }
7167 fi
7168
7169   if test "x$ac_ct_OBJDUMP" = x; then
7170     OBJDUMP="false"
7171   else
7172     case $cross_compiling:$ac_tool_warned in
7173 yes:)
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7176 ac_tool_warned=yes ;;
7177 esac
7178     OBJDUMP=$ac_ct_OBJDUMP
7179   fi
7180 else
7181   OBJDUMP="$ac_cv_prog_OBJDUMP"
7182 fi
7183
7184 test -z "$OBJDUMP" && OBJDUMP=objdump
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7195 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7196 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7197   $as_echo_n "(cached) " >&6
7198 else
7199   lt_cv_file_magic_cmd='$MAGIC_CMD'
7200 lt_cv_file_magic_test_file=
7201 lt_cv_deplibs_check_method='unknown'
7202 # Need to set the preceding variable on all platforms that support
7203 # interlibrary dependencies.
7204 # 'none' -- dependencies not supported.
7205 # `unknown' -- same as none, but documents that we really don't know.
7206 # 'pass_all' -- all dependencies passed with no checks.
7207 # 'test_compile' -- check by making test program.
7208 # 'file_magic [[regex]]' -- check by looking for files in library path
7209 # which responds to the $file_magic_cmd with a given extended regex.
7210 # If you have `file' or equivalent on your system and you're not sure
7211 # whether `pass_all' will *always* work, you probably want this one.
7212
7213 case $host_os in
7214 aix[4-9]*)
7215   lt_cv_deplibs_check_method=pass_all
7216   ;;
7217
7218 beos*)
7219   lt_cv_deplibs_check_method=pass_all
7220   ;;
7221
7222 bsdi[45]*)
7223   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7224   lt_cv_file_magic_cmd='/usr/bin/file -L'
7225   lt_cv_file_magic_test_file=/shlib/libc.so
7226   ;;
7227
7228 cygwin*)
7229   # func_win32_libid is a shell function defined in ltmain.sh
7230   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7231   lt_cv_file_magic_cmd='func_win32_libid'
7232   ;;
7233
7234 mingw* | pw32*)
7235   # Base MSYS/MinGW do not provide the 'file' command needed by
7236   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7237   # unless we find 'file', for example because we are cross-compiling.
7238   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7239   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7240     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7241     lt_cv_file_magic_cmd='func_win32_libid'
7242   else
7243     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7244     lt_cv_file_magic_cmd='$OBJDUMP -f'
7245   fi
7246   ;;
7247
7248 cegcc*)
7249   # use the weaker test based on 'objdump'. See mingw*.
7250   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7251   lt_cv_file_magic_cmd='$OBJDUMP -f'
7252   ;;
7253
7254 darwin* | rhapsody*)
7255   lt_cv_deplibs_check_method=pass_all
7256   ;;
7257
7258 freebsd* | dragonfly*)
7259   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7260     case $host_cpu in
7261     i*86 )
7262       # Not sure whether the presence of OpenBSD here was a mistake.
7263       # Let's accept both of them until this is cleared up.
7264       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7265       lt_cv_file_magic_cmd=/usr/bin/file
7266       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7267       ;;
7268     esac
7269   else
7270     lt_cv_deplibs_check_method=pass_all
7271   fi
7272   ;;
7273
7274 gnu*)
7275   lt_cv_deplibs_check_method=pass_all
7276   ;;
7277
7278 haiku*)
7279   lt_cv_deplibs_check_method=pass_all
7280   ;;
7281
7282 hpux10.20* | hpux11*)
7283   lt_cv_file_magic_cmd=/usr/bin/file
7284   case $host_cpu in
7285   ia64*)
7286     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7287     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7288     ;;
7289   hppa*64*)
7290     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]'
7291     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7292     ;;
7293   *)
7294     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7295     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7296     ;;
7297   esac
7298   ;;
7299
7300 interix[3-9]*)
7301   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7302   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7303   ;;
7304
7305 irix5* | irix6* | nonstopux*)
7306   case $LD in
7307   *-32|*"-32 ") libmagic=32-bit;;
7308   *-n32|*"-n32 ") libmagic=N32;;
7309   *-64|*"-64 ") libmagic=64-bit;;
7310   *) libmagic=never-match;;
7311   esac
7312   lt_cv_deplibs_check_method=pass_all
7313   ;;
7314
7315 # This must be Linux ELF.
7316 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7317   lt_cv_deplibs_check_method=pass_all
7318   ;;
7319
7320 netbsd*)
7321   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7322     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7323   else
7324     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7325   fi
7326   ;;
7327
7328 newos6*)
7329   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7330   lt_cv_file_magic_cmd=/usr/bin/file
7331   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7332   ;;
7333
7334 *nto* | *qnx*)
7335   lt_cv_deplibs_check_method=pass_all
7336   ;;
7337
7338 openbsd*)
7339   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7340     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7341   else
7342     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7343   fi
7344   ;;
7345
7346 osf3* | osf4* | osf5*)
7347   lt_cv_deplibs_check_method=pass_all
7348   ;;
7349
7350 rdos*)
7351   lt_cv_deplibs_check_method=pass_all
7352   ;;
7353
7354 solaris*)
7355   lt_cv_deplibs_check_method=pass_all
7356   ;;
7357
7358 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7359   lt_cv_deplibs_check_method=pass_all
7360   ;;
7361
7362 sysv4 | sysv4.3*)
7363   case $host_vendor in
7364   motorola)
7365     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]'
7366     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7367     ;;
7368   ncr)
7369     lt_cv_deplibs_check_method=pass_all
7370     ;;
7371   sequent)
7372     lt_cv_file_magic_cmd='/bin/file'
7373     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7374     ;;
7375   sni)
7376     lt_cv_file_magic_cmd='/bin/file'
7377     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7378     lt_cv_file_magic_test_file=/lib/libc.so
7379     ;;
7380   siemens)
7381     lt_cv_deplibs_check_method=pass_all
7382     ;;
7383   pc)
7384     lt_cv_deplibs_check_method=pass_all
7385     ;;
7386   esac
7387   ;;
7388
7389 tpf*)
7390   lt_cv_deplibs_check_method=pass_all
7391   ;;
7392 esac
7393
7394 fi
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7396 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7397 file_magic_cmd=$lt_cv_file_magic_cmd
7398 deplibs_check_method=$lt_cv_deplibs_check_method
7399 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412 if test -n "$ac_tool_prefix"; then
7413   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7414 set dummy ${ac_tool_prefix}ar; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_AR+set}" = set; then :
7418   $as_echo_n "(cached) " >&6
7419 else
7420   if test -n "$AR"; then
7421   ac_cv_prog_AR="$AR" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7425 do
7426   IFS=$as_save_IFS
7427   test -z "$as_dir" && as_dir=.
7428     for ac_exec_ext in '' $ac_executable_extensions; do
7429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430     ac_cv_prog_AR="${ac_tool_prefix}ar"
7431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432     break 2
7433   fi
7434 done
7435   done
7436 IFS=$as_save_IFS
7437
7438 fi
7439 fi
7440 AR=$ac_cv_prog_AR
7441 if test -n "$AR"; then
7442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7443 $as_echo "$AR" >&6; }
7444 else
7445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7447 fi
7448
7449
7450 fi
7451 if test -z "$ac_cv_prog_AR"; then
7452   ac_ct_AR=$AR
7453   # Extract the first word of "ar", so it can be a program name with args.
7454 set dummy ar; ac_word=$2
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456 $as_echo_n "checking for $ac_word... " >&6; }
7457 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7458   $as_echo_n "(cached) " >&6
7459 else
7460   if test -n "$ac_ct_AR"; then
7461   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7462 else
7463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 for as_dir in $PATH
7465 do
7466   IFS=$as_save_IFS
7467   test -z "$as_dir" && as_dir=.
7468     for ac_exec_ext in '' $ac_executable_extensions; do
7469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7470     ac_cv_prog_ac_ct_AR="ar"
7471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7472     break 2
7473   fi
7474 done
7475   done
7476 IFS=$as_save_IFS
7477
7478 fi
7479 fi
7480 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7481 if test -n "$ac_ct_AR"; then
7482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7483 $as_echo "$ac_ct_AR" >&6; }
7484 else
7485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486 $as_echo "no" >&6; }
7487 fi
7488
7489   if test "x$ac_ct_AR" = x; then
7490     AR="false"
7491   else
7492     case $cross_compiling:$ac_tool_warned in
7493 yes:)
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496 ac_tool_warned=yes ;;
7497 esac
7498     AR=$ac_ct_AR
7499   fi
7500 else
7501   AR="$ac_cv_prog_AR"
7502 fi
7503
7504 test -z "$AR" && AR=ar
7505 test -z "$AR_FLAGS" && AR_FLAGS=cru
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517 if test -n "$ac_tool_prefix"; then
7518   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7519 set dummy ${ac_tool_prefix}strip; ac_word=$2
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7521 $as_echo_n "checking for $ac_word... " >&6; }
7522 if test "${ac_cv_prog_STRIP+set}" = set; then :
7523   $as_echo_n "(cached) " >&6
7524 else
7525   if test -n "$STRIP"; then
7526   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7527 else
7528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 for as_dir in $PATH
7530 do
7531   IFS=$as_save_IFS
7532   test -z "$as_dir" && as_dir=.
7533     for ac_exec_ext in '' $ac_executable_extensions; do
7534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7535     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7537     break 2
7538   fi
7539 done
7540   done
7541 IFS=$as_save_IFS
7542
7543 fi
7544 fi
7545 STRIP=$ac_cv_prog_STRIP
7546 if test -n "$STRIP"; then
7547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7548 $as_echo "$STRIP" >&6; }
7549 else
7550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7551 $as_echo "no" >&6; }
7552 fi
7553
7554
7555 fi
7556 if test -z "$ac_cv_prog_STRIP"; then
7557   ac_ct_STRIP=$STRIP
7558   # Extract the first word of "strip", so it can be a program name with args.
7559 set dummy strip; ac_word=$2
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7561 $as_echo_n "checking for $ac_word... " >&6; }
7562 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7563   $as_echo_n "(cached) " >&6
7564 else
7565   if test -n "$ac_ct_STRIP"; then
7566   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7567 else
7568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7569 for as_dir in $PATH
7570 do
7571   IFS=$as_save_IFS
7572   test -z "$as_dir" && as_dir=.
7573     for ac_exec_ext in '' $ac_executable_extensions; do
7574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7575     ac_cv_prog_ac_ct_STRIP="strip"
7576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7577     break 2
7578   fi
7579 done
7580   done
7581 IFS=$as_save_IFS
7582
7583 fi
7584 fi
7585 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7586 if test -n "$ac_ct_STRIP"; then
7587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7588 $as_echo "$ac_ct_STRIP" >&6; }
7589 else
7590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7591 $as_echo "no" >&6; }
7592 fi
7593
7594   if test "x$ac_ct_STRIP" = x; then
7595     STRIP=":"
7596   else
7597     case $cross_compiling:$ac_tool_warned in
7598 yes:)
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7601 ac_tool_warned=yes ;;
7602 esac
7603     STRIP=$ac_ct_STRIP
7604   fi
7605 else
7606   STRIP="$ac_cv_prog_STRIP"
7607 fi
7608
7609 test -z "$STRIP" && STRIP=:
7610
7611
7612
7613
7614
7615
7616 if test -n "$ac_tool_prefix"; then
7617   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7618 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7622   $as_echo_n "(cached) " >&6
7623 else
7624   if test -n "$RANLIB"; then
7625   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7626 else
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7628 for as_dir in $PATH
7629 do
7630   IFS=$as_save_IFS
7631   test -z "$as_dir" && as_dir=.
7632     for ac_exec_ext in '' $ac_executable_extensions; do
7633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7634     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636     break 2
7637   fi
7638 done
7639   done
7640 IFS=$as_save_IFS
7641
7642 fi
7643 fi
7644 RANLIB=$ac_cv_prog_RANLIB
7645 if test -n "$RANLIB"; then
7646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7647 $as_echo "$RANLIB" >&6; }
7648 else
7649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7651 fi
7652
7653
7654 fi
7655 if test -z "$ac_cv_prog_RANLIB"; then
7656   ac_ct_RANLIB=$RANLIB
7657   # Extract the first word of "ranlib", so it can be a program name with args.
7658 set dummy ranlib; ac_word=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660 $as_echo_n "checking for $ac_word... " >&6; }
7661 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7662   $as_echo_n "(cached) " >&6
7663 else
7664   if test -n "$ac_ct_RANLIB"; then
7665   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7666 else
7667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7668 for as_dir in $PATH
7669 do
7670   IFS=$as_save_IFS
7671   test -z "$as_dir" && as_dir=.
7672     for ac_exec_ext in '' $ac_executable_extensions; do
7673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7674     ac_cv_prog_ac_ct_RANLIB="ranlib"
7675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7676     break 2
7677   fi
7678 done
7679   done
7680 IFS=$as_save_IFS
7681
7682 fi
7683 fi
7684 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7685 if test -n "$ac_ct_RANLIB"; then
7686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7687 $as_echo "$ac_ct_RANLIB" >&6; }
7688 else
7689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7691 fi
7692
7693   if test "x$ac_ct_RANLIB" = x; then
7694     RANLIB=":"
7695   else
7696     case $cross_compiling:$ac_tool_warned in
7697 yes:)
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7700 ac_tool_warned=yes ;;
7701 esac
7702     RANLIB=$ac_ct_RANLIB
7703   fi
7704 else
7705   RANLIB="$ac_cv_prog_RANLIB"
7706 fi
7707
7708 test -z "$RANLIB" && RANLIB=:
7709
7710
7711
7712
7713
7714
7715 # Determine commands to create old-style static archives.
7716 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7717 old_postinstall_cmds='chmod 644 $oldlib'
7718 old_postuninstall_cmds=
7719
7720 if test -n "$RANLIB"; then
7721   case $host_os in
7722   openbsd*)
7723     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7724     ;;
7725   *)
7726     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7727     ;;
7728   esac
7729   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7730 fi
7731
7732 case $host_os in
7733   darwin*)
7734     lock_old_archive_extraction=yes ;;
7735   *)
7736     lock_old_archive_extraction=no ;;
7737 esac
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777 # If no C compiler was specified, use CC.
7778 LTCC=${LTCC-"$CC"}
7779
7780 # If no C compiler flags were specified, use CFLAGS.
7781 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7782
7783 # Allow CC to be a program name with arguments.
7784 compiler=$CC
7785
7786
7787 # Check for command to grab the raw symbol name followed by C symbol from nm.
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7789 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7790 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7791   $as_echo_n "(cached) " >&6
7792 else
7793
7794 # These are sane defaults that work on at least a few old systems.
7795 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7796
7797 # Character class describing NM global symbol codes.
7798 symcode='[BCDEGRST]'
7799
7800 # Regexp to match symbols that can be accessed directly from C.
7801 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7802
7803 # Define system-specific variables.
7804 case $host_os in
7805 aix*)
7806   symcode='[BCDT]'
7807   ;;
7808 cygwin* | mingw* | pw32* | cegcc*)
7809   symcode='[ABCDGISTW]'
7810   ;;
7811 hpux*)
7812   if test "$host_cpu" = ia64; then
7813     symcode='[ABCDEGRST]'
7814   fi
7815   ;;
7816 irix* | nonstopux*)
7817   symcode='[BCDEGRST]'
7818   ;;
7819 osf*)
7820   symcode='[BCDEGQRST]'
7821   ;;
7822 solaris*)
7823   symcode='[BDRT]'
7824   ;;
7825 sco3.2v5*)
7826   symcode='[DT]'
7827   ;;
7828 sysv4.2uw2*)
7829   symcode='[DT]'
7830   ;;
7831 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7832   symcode='[ABDT]'
7833   ;;
7834 sysv4)
7835   symcode='[DFNSTU]'
7836   ;;
7837 esac
7838
7839 # If we're using GNU nm, then use its standard symbol codes.
7840 case `$NM -V 2>&1` in
7841 *GNU* | *'with BFD'*)
7842   symcode='[ABCDGIRSTW]' ;;
7843 esac
7844
7845 # Transform an extracted symbol line into a proper C declaration.
7846 # Some systems (esp. on ia64) link data and code symbols differently,
7847 # so use this general approach.
7848 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7849
7850 # Transform an extracted symbol line into symbol name and symbol address
7851 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7852 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'"
7853
7854 # Handle CRLF in mingw tool chain
7855 opt_cr=
7856 case $build_os in
7857 mingw*)
7858   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7859   ;;
7860 esac
7861
7862 # Try without a prefix underscore, then with it.
7863 for ac_symprfx in "" "_"; do
7864
7865   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7866   symxfrm="\\1 $ac_symprfx\\2 \\2"
7867
7868   # Write the raw and C identifiers.
7869   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7870     # Fake it for dumpbin and say T for any non-static function
7871     # and D for any global variable.
7872     # Also find C++ and __fastcall symbols from MSVC++,
7873     # which start with @ or ?.
7874     lt_cv_sys_global_symbol_pipe="$AWK '"\
7875 "     {last_section=section; section=\$ 3};"\
7876 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7877 "     \$ 0!~/External *\|/{next};"\
7878 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7879 "     {if(hide[section]) next};"\
7880 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7881 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7882 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7883 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7884 "     ' prfx=^$ac_symprfx"
7885   else
7886     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7887   fi
7888
7889   # Check to see that the pipe works correctly.
7890   pipe_works=no
7891
7892   rm -f conftest*
7893   cat > conftest.$ac_ext <<_LT_EOF
7894 #ifdef __cplusplus
7895 extern "C" {
7896 #endif
7897 char nm_test_var;
7898 void nm_test_func(void);
7899 void nm_test_func(void){}
7900 #ifdef __cplusplus
7901 }
7902 #endif
7903 int main(){nm_test_var='a';nm_test_func();return(0);}
7904 _LT_EOF
7905
7906   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7907   (eval $ac_compile) 2>&5
7908   ac_status=$?
7909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7910   test $ac_status = 0; }; then
7911     # Now try to grab the symbols.
7912     nlist=conftest.nm
7913     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7914   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7915   ac_status=$?
7916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7917   test $ac_status = 0; } && test -s "$nlist"; then
7918       # Try sorting and uniquifying the output.
7919       if sort "$nlist" | uniq > "$nlist"T; then
7920         mv -f "$nlist"T "$nlist"
7921       else
7922         rm -f "$nlist"T
7923       fi
7924
7925       # Make sure that we snagged all the symbols we need.
7926       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7927         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7928           cat <<_LT_EOF > conftest.$ac_ext
7929 #ifdef __cplusplus
7930 extern "C" {
7931 #endif
7932
7933 _LT_EOF
7934           # Now generate the symbol file.
7935           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7936
7937           cat <<_LT_EOF >> conftest.$ac_ext
7938
7939 /* The mapping between symbol names and symbols.  */
7940 const struct {
7941   const char *name;
7942   void       *address;
7943 }
7944 lt__PROGRAM__LTX_preloaded_symbols[] =
7945 {
7946   { "@PROGRAM@", (void *) 0 },
7947 _LT_EOF
7948           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7949           cat <<\_LT_EOF >> conftest.$ac_ext
7950   {0, (void *) 0}
7951 };
7952
7953 /* This works around a problem in FreeBSD linker */
7954 #ifdef FREEBSD_WORKAROUND
7955 static const void *lt_preloaded_setup() {
7956   return lt__PROGRAM__LTX_preloaded_symbols;
7957 }
7958 #endif
7959
7960 #ifdef __cplusplus
7961 }
7962 #endif
7963 _LT_EOF
7964           # Now try linking the two files.
7965           mv conftest.$ac_objext conftstm.$ac_objext
7966           lt_save_LIBS="$LIBS"
7967           lt_save_CFLAGS="$CFLAGS"
7968           LIBS="conftstm.$ac_objext"
7969           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7970           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7971   (eval $ac_link) 2>&5
7972   ac_status=$?
7973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7974   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7975             pipe_works=yes
7976           fi
7977           LIBS="$lt_save_LIBS"
7978           CFLAGS="$lt_save_CFLAGS"
7979         else
7980           echo "cannot find nm_test_func in $nlist" >&5
7981         fi
7982       else
7983         echo "cannot find nm_test_var in $nlist" >&5
7984       fi
7985     else
7986       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7987     fi
7988   else
7989     echo "$progname: failed program was:" >&5
7990     cat conftest.$ac_ext >&5
7991   fi
7992   rm -rf conftest* conftst*
7993
7994   # Do not use the global_symbol_pipe unless it works.
7995   if test "$pipe_works" = yes; then
7996     break
7997   else
7998     lt_cv_sys_global_symbol_pipe=
7999   fi
8000 done
8001
8002 fi
8003
8004 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8005   lt_cv_sys_global_symbol_to_cdecl=
8006 fi
8007 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8009 $as_echo "failed" >&6; }
8010 else
8011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8012 $as_echo "ok" >&6; }
8013 fi
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036 # Check whether --enable-libtool-lock was given.
8037 if test "${enable_libtool_lock+set}" = set; then :
8038   enableval=$enable_libtool_lock;
8039 fi
8040
8041 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8042
8043 # Some flags need to be propagated to the compiler or linker for good
8044 # libtool support.
8045 case $host in
8046 ia64-*-hpux*)
8047   # Find out which ABI we are using.
8048   echo 'int i;' > conftest.$ac_ext
8049   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8050   (eval $ac_compile) 2>&5
8051   ac_status=$?
8052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8053   test $ac_status = 0; }; then
8054     case `/usr/bin/file conftest.$ac_objext` in
8055       *ELF-32*)
8056         HPUX_IA64_MODE="32"
8057         ;;
8058       *ELF-64*)
8059         HPUX_IA64_MODE="64"
8060         ;;
8061     esac
8062   fi
8063   rm -rf conftest*
8064   ;;
8065 *-*-irix6*)
8066   # Find out which ABI we are using.
8067   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8068   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8069   (eval $ac_compile) 2>&5
8070   ac_status=$?
8071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8072   test $ac_status = 0; }; then
8073     if test "$lt_cv_prog_gnu_ld" = yes; then
8074       case `/usr/bin/file conftest.$ac_objext` in
8075         *32-bit*)
8076           LD="${LD-ld} -melf32bsmip"
8077           ;;
8078         *N32*)
8079           LD="${LD-ld} -melf32bmipn32"
8080           ;;
8081         *64-bit*)
8082           LD="${LD-ld} -melf64bmip"
8083         ;;
8084       esac
8085     else
8086       case `/usr/bin/file conftest.$ac_objext` in
8087         *32-bit*)
8088           LD="${LD-ld} -32"
8089           ;;
8090         *N32*)
8091           LD="${LD-ld} -n32"
8092           ;;
8093         *64-bit*)
8094           LD="${LD-ld} -64"
8095           ;;
8096       esac
8097     fi
8098   fi
8099   rm -rf conftest*
8100   ;;
8101
8102 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8103 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8104   # Find out which ABI we are using.
8105   echo 'int i;' > conftest.$ac_ext
8106   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8107   (eval $ac_compile) 2>&5
8108   ac_status=$?
8109   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8110   test $ac_status = 0; }; then
8111     case `/usr/bin/file conftest.o` in
8112       *32-bit*)
8113         case $host in
8114           x86_64-*kfreebsd*-gnu)
8115             LD="${LD-ld} -m elf_i386_fbsd"
8116             ;;
8117           x86_64-*linux*)
8118             case `/usr/bin/file conftest.o` in
8119               *x86-64*)
8120                 LD="${LD-ld} -m elf32_x86_64"
8121                 ;;
8122               *)
8123                 LD="${LD-ld} -m elf_i386"
8124                 ;;
8125             esac
8126             ;;
8127           powerpc64le-*linux*)
8128             LD="${LD-ld} -m elf32lppclinux"
8129             ;;
8130           powerpc64-*linux*)
8131             LD="${LD-ld} -m elf32ppclinux"
8132             ;;
8133           s390x-*linux*)
8134             LD="${LD-ld} -m elf_s390"
8135             ;;
8136           sparc64-*linux*)
8137             LD="${LD-ld} -m elf32_sparc"
8138             ;;
8139         esac
8140         ;;
8141       *64-bit*)
8142         case $host in
8143           x86_64-*kfreebsd*-gnu)
8144             LD="${LD-ld} -m elf_x86_64_fbsd"
8145             ;;
8146           x86_64-*linux*)
8147             LD="${LD-ld} -m elf_x86_64"
8148             ;;
8149           powerpcle-*linux*)
8150             LD="${LD-ld} -m elf64lppc"
8151             ;;
8152           powerpc-*linux*)
8153             LD="${LD-ld} -m elf64ppc"
8154             ;;
8155           s390*-*linux*|s390*-*tpf*)
8156             LD="${LD-ld} -m elf64_s390"
8157             ;;
8158           sparc*-*linux*)
8159             LD="${LD-ld} -m elf64_sparc"
8160             ;;
8161         esac
8162         ;;
8163     esac
8164   fi
8165   rm -rf conftest*
8166   ;;
8167
8168 *-*-sco3.2v5*)
8169   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8170   SAVE_CFLAGS="$CFLAGS"
8171   CFLAGS="$CFLAGS -belf"
8172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8173 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8174 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8175   $as_echo_n "(cached) " >&6
8176 else
8177   ac_ext=c
8178 ac_cpp='$CPP $CPPFLAGS'
8179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8182
8183      if test x$gcc_no_link = xyes; then
8184   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8185 fi
8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8187 /* end confdefs.h.  */
8188
8189 int
8190 main ()
8191 {
8192
8193   ;
8194   return 0;
8195 }
8196 _ACEOF
8197 if ac_fn_c_try_link "$LINENO"; then :
8198   lt_cv_cc_needs_belf=yes
8199 else
8200   lt_cv_cc_needs_belf=no
8201 fi
8202 rm -f core conftest.err conftest.$ac_objext \
8203     conftest$ac_exeext conftest.$ac_ext
8204      ac_ext=c
8205 ac_cpp='$CPP $CPPFLAGS'
8206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8209
8210 fi
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8212 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8213   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8214     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8215     CFLAGS="$SAVE_CFLAGS"
8216   fi
8217   ;;
8218 sparc*-*solaris*)
8219   # Find out which ABI we are using.
8220   echo 'int i;' > conftest.$ac_ext
8221   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8222   (eval $ac_compile) 2>&5
8223   ac_status=$?
8224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8225   test $ac_status = 0; }; then
8226     case `/usr/bin/file conftest.o` in
8227     *64-bit*)
8228       case $lt_cv_prog_gnu_ld in
8229       yes*) LD="${LD-ld} -m elf64_sparc" ;;
8230       *)
8231         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8232           LD="${LD-ld} -64"
8233         fi
8234         ;;
8235       esac
8236       ;;
8237     esac
8238   fi
8239   rm -rf conftest*
8240   ;;
8241 esac
8242
8243 need_locks="$enable_libtool_lock"
8244
8245
8246   case $host_os in
8247     rhapsody* | darwin*)
8248     if test -n "$ac_tool_prefix"; then
8249   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8250 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8252 $as_echo_n "checking for $ac_word... " >&6; }
8253 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8254   $as_echo_n "(cached) " >&6
8255 else
8256   if test -n "$DSYMUTIL"; then
8257   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8258 else
8259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8260 for as_dir in $PATH
8261 do
8262   IFS=$as_save_IFS
8263   test -z "$as_dir" && as_dir=.
8264     for ac_exec_ext in '' $ac_executable_extensions; do
8265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8266     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8268     break 2
8269   fi
8270 done
8271   done
8272 IFS=$as_save_IFS
8273
8274 fi
8275 fi
8276 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8277 if test -n "$DSYMUTIL"; then
8278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8279 $as_echo "$DSYMUTIL" >&6; }
8280 else
8281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8282 $as_echo "no" >&6; }
8283 fi
8284
8285
8286 fi
8287 if test -z "$ac_cv_prog_DSYMUTIL"; then
8288   ac_ct_DSYMUTIL=$DSYMUTIL
8289   # Extract the first word of "dsymutil", so it can be a program name with args.
8290 set dummy dsymutil; ac_word=$2
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8292 $as_echo_n "checking for $ac_word... " >&6; }
8293 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8294   $as_echo_n "(cached) " >&6
8295 else
8296   if test -n "$ac_ct_DSYMUTIL"; then
8297   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8298 else
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 for as_dir in $PATH
8301 do
8302   IFS=$as_save_IFS
8303   test -z "$as_dir" && as_dir=.
8304     for ac_exec_ext in '' $ac_executable_extensions; do
8305   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8306     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8308     break 2
8309   fi
8310 done
8311   done
8312 IFS=$as_save_IFS
8313
8314 fi
8315 fi
8316 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8317 if test -n "$ac_ct_DSYMUTIL"; then
8318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8319 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8320 else
8321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325   if test "x$ac_ct_DSYMUTIL" = x; then
8326     DSYMUTIL=":"
8327   else
8328     case $cross_compiling:$ac_tool_warned in
8329 yes:)
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8332 ac_tool_warned=yes ;;
8333 esac
8334     DSYMUTIL=$ac_ct_DSYMUTIL
8335   fi
8336 else
8337   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8338 fi
8339
8340     if test -n "$ac_tool_prefix"; then
8341   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8342 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8344 $as_echo_n "checking for $ac_word... " >&6; }
8345 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8346   $as_echo_n "(cached) " >&6
8347 else
8348   if test -n "$NMEDIT"; then
8349   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8350 else
8351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8352 for as_dir in $PATH
8353 do
8354   IFS=$as_save_IFS
8355   test -z "$as_dir" && as_dir=.
8356     for ac_exec_ext in '' $ac_executable_extensions; do
8357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8358     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8360     break 2
8361   fi
8362 done
8363   done
8364 IFS=$as_save_IFS
8365
8366 fi
8367 fi
8368 NMEDIT=$ac_cv_prog_NMEDIT
8369 if test -n "$NMEDIT"; then
8370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8371 $as_echo "$NMEDIT" >&6; }
8372 else
8373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8374 $as_echo "no" >&6; }
8375 fi
8376
8377
8378 fi
8379 if test -z "$ac_cv_prog_NMEDIT"; then
8380   ac_ct_NMEDIT=$NMEDIT
8381   # Extract the first word of "nmedit", so it can be a program name with args.
8382 set dummy nmedit; ac_word=$2
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8384 $as_echo_n "checking for $ac_word... " >&6; }
8385 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8386   $as_echo_n "(cached) " >&6
8387 else
8388   if test -n "$ac_ct_NMEDIT"; then
8389   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8390 else
8391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8392 for as_dir in $PATH
8393 do
8394   IFS=$as_save_IFS
8395   test -z "$as_dir" && as_dir=.
8396     for ac_exec_ext in '' $ac_executable_extensions; do
8397   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8398     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8399     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8400     break 2
8401   fi
8402 done
8403   done
8404 IFS=$as_save_IFS
8405
8406 fi
8407 fi
8408 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8409 if test -n "$ac_ct_NMEDIT"; then
8410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8411 $as_echo "$ac_ct_NMEDIT" >&6; }
8412 else
8413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8415 fi
8416
8417   if test "x$ac_ct_NMEDIT" = x; then
8418     NMEDIT=":"
8419   else
8420     case $cross_compiling:$ac_tool_warned in
8421 yes:)
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8424 ac_tool_warned=yes ;;
8425 esac
8426     NMEDIT=$ac_ct_NMEDIT
8427   fi
8428 else
8429   NMEDIT="$ac_cv_prog_NMEDIT"
8430 fi
8431
8432     if test -n "$ac_tool_prefix"; then
8433   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8434 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8436 $as_echo_n "checking for $ac_word... " >&6; }
8437 if test "${ac_cv_prog_LIPO+set}" = set; then :
8438   $as_echo_n "(cached) " >&6
8439 else
8440   if test -n "$LIPO"; then
8441   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8442 else
8443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8444 for as_dir in $PATH
8445 do
8446   IFS=$as_save_IFS
8447   test -z "$as_dir" && as_dir=.
8448     for ac_exec_ext in '' $ac_executable_extensions; do
8449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8450     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452     break 2
8453   fi
8454 done
8455   done
8456 IFS=$as_save_IFS
8457
8458 fi
8459 fi
8460 LIPO=$ac_cv_prog_LIPO
8461 if test -n "$LIPO"; then
8462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8463 $as_echo "$LIPO" >&6; }
8464 else
8465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8466 $as_echo "no" >&6; }
8467 fi
8468
8469
8470 fi
8471 if test -z "$ac_cv_prog_LIPO"; then
8472   ac_ct_LIPO=$LIPO
8473   # Extract the first word of "lipo", so it can be a program name with args.
8474 set dummy lipo; ac_word=$2
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8476 $as_echo_n "checking for $ac_word... " >&6; }
8477 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8478   $as_echo_n "(cached) " >&6
8479 else
8480   if test -n "$ac_ct_LIPO"; then
8481   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8482 else
8483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8484 for as_dir in $PATH
8485 do
8486   IFS=$as_save_IFS
8487   test -z "$as_dir" && as_dir=.
8488     for ac_exec_ext in '' $ac_executable_extensions; do
8489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8490     ac_cv_prog_ac_ct_LIPO="lipo"
8491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8492     break 2
8493   fi
8494 done
8495   done
8496 IFS=$as_save_IFS
8497
8498 fi
8499 fi
8500 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8501 if test -n "$ac_ct_LIPO"; then
8502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8503 $as_echo "$ac_ct_LIPO" >&6; }
8504 else
8505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8506 $as_echo "no" >&6; }
8507 fi
8508
8509   if test "x$ac_ct_LIPO" = x; then
8510     LIPO=":"
8511   else
8512     case $cross_compiling:$ac_tool_warned in
8513 yes:)
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8516 ac_tool_warned=yes ;;
8517 esac
8518     LIPO=$ac_ct_LIPO
8519   fi
8520 else
8521   LIPO="$ac_cv_prog_LIPO"
8522 fi
8523
8524     if test -n "$ac_tool_prefix"; then
8525   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8526 set dummy ${ac_tool_prefix}otool; ac_word=$2
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8528 $as_echo_n "checking for $ac_word... " >&6; }
8529 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8530   $as_echo_n "(cached) " >&6
8531 else
8532   if test -n "$OTOOL"; then
8533   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8534 else
8535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8536 for as_dir in $PATH
8537 do
8538   IFS=$as_save_IFS
8539   test -z "$as_dir" && as_dir=.
8540     for ac_exec_ext in '' $ac_executable_extensions; do
8541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8542     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8544     break 2
8545   fi
8546 done
8547   done
8548 IFS=$as_save_IFS
8549
8550 fi
8551 fi
8552 OTOOL=$ac_cv_prog_OTOOL
8553 if test -n "$OTOOL"; then
8554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8555 $as_echo "$OTOOL" >&6; }
8556 else
8557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8558 $as_echo "no" >&6; }
8559 fi
8560
8561
8562 fi
8563 if test -z "$ac_cv_prog_OTOOL"; then
8564   ac_ct_OTOOL=$OTOOL
8565   # Extract the first word of "otool", so it can be a program name with args.
8566 set dummy otool; ac_word=$2
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8568 $as_echo_n "checking for $ac_word... " >&6; }
8569 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8570   $as_echo_n "(cached) " >&6
8571 else
8572   if test -n "$ac_ct_OTOOL"; then
8573   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8574 else
8575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8576 for as_dir in $PATH
8577 do
8578   IFS=$as_save_IFS
8579   test -z "$as_dir" && as_dir=.
8580     for ac_exec_ext in '' $ac_executable_extensions; do
8581   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8582     ac_cv_prog_ac_ct_OTOOL="otool"
8583     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8584     break 2
8585   fi
8586 done
8587   done
8588 IFS=$as_save_IFS
8589
8590 fi
8591 fi
8592 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8593 if test -n "$ac_ct_OTOOL"; then
8594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8595 $as_echo "$ac_ct_OTOOL" >&6; }
8596 else
8597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8598 $as_echo "no" >&6; }
8599 fi
8600
8601   if test "x$ac_ct_OTOOL" = x; then
8602     OTOOL=":"
8603   else
8604     case $cross_compiling:$ac_tool_warned in
8605 yes:)
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8608 ac_tool_warned=yes ;;
8609 esac
8610     OTOOL=$ac_ct_OTOOL
8611   fi
8612 else
8613   OTOOL="$ac_cv_prog_OTOOL"
8614 fi
8615
8616     if test -n "$ac_tool_prefix"; then
8617   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8618 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8620 $as_echo_n "checking for $ac_word... " >&6; }
8621 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8622   $as_echo_n "(cached) " >&6
8623 else
8624   if test -n "$OTOOL64"; then
8625   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8626 else
8627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8628 for as_dir in $PATH
8629 do
8630   IFS=$as_save_IFS
8631   test -z "$as_dir" && as_dir=.
8632     for ac_exec_ext in '' $ac_executable_extensions; do
8633   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8634     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8636     break 2
8637   fi
8638 done
8639   done
8640 IFS=$as_save_IFS
8641
8642 fi
8643 fi
8644 OTOOL64=$ac_cv_prog_OTOOL64
8645 if test -n "$OTOOL64"; then
8646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8647 $as_echo "$OTOOL64" >&6; }
8648 else
8649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8650 $as_echo "no" >&6; }
8651 fi
8652
8653
8654 fi
8655 if test -z "$ac_cv_prog_OTOOL64"; then
8656   ac_ct_OTOOL64=$OTOOL64
8657   # Extract the first word of "otool64", so it can be a program name with args.
8658 set dummy otool64; ac_word=$2
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8660 $as_echo_n "checking for $ac_word... " >&6; }
8661 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8662   $as_echo_n "(cached) " >&6
8663 else
8664   if test -n "$ac_ct_OTOOL64"; then
8665   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8666 else
8667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8668 for as_dir in $PATH
8669 do
8670   IFS=$as_save_IFS
8671   test -z "$as_dir" && as_dir=.
8672     for ac_exec_ext in '' $ac_executable_extensions; do
8673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8674     ac_cv_prog_ac_ct_OTOOL64="otool64"
8675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8676     break 2
8677   fi
8678 done
8679   done
8680 IFS=$as_save_IFS
8681
8682 fi
8683 fi
8684 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8685 if test -n "$ac_ct_OTOOL64"; then
8686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8687 $as_echo "$ac_ct_OTOOL64" >&6; }
8688 else
8689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8690 $as_echo "no" >&6; }
8691 fi
8692
8693   if test "x$ac_ct_OTOOL64" = x; then
8694     OTOOL64=":"
8695   else
8696     case $cross_compiling:$ac_tool_warned in
8697 yes:)
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8700 ac_tool_warned=yes ;;
8701 esac
8702     OTOOL64=$ac_ct_OTOOL64
8703   fi
8704 else
8705   OTOOL64="$ac_cv_prog_OTOOL64"
8706 fi
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8735 $as_echo_n "checking for -single_module linker flag... " >&6; }
8736 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8737   $as_echo_n "(cached) " >&6
8738 else
8739   lt_cv_apple_cc_single_mod=no
8740       if test -z "${LT_MULTI_MODULE}"; then
8741         # By default we will add the -single_module flag. You can override
8742         # by either setting the environment variable LT_MULTI_MODULE
8743         # non-empty at configure time, or by adding -multi_module to the
8744         # link flags.
8745         rm -rf libconftest.dylib*
8746         echo "int foo(void){return 1;}" > conftest.c
8747         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8748 -dynamiclib -Wl,-single_module conftest.c" >&5
8749         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8750           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8751         _lt_result=$?
8752         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8753           lt_cv_apple_cc_single_mod=yes
8754         else
8755           cat conftest.err >&5
8756         fi
8757         rm -rf libconftest.dylib*
8758         rm -f conftest.*
8759       fi
8760 fi
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8762 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8763     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8764 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8765 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8766   $as_echo_n "(cached) " >&6
8767 else
8768   lt_cv_ld_exported_symbols_list=no
8769       save_LDFLAGS=$LDFLAGS
8770       echo "_main" > conftest.sym
8771       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8772       if test x$gcc_no_link = xyes; then
8773   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8774 fi
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h.  */
8777
8778 int
8779 main ()
8780 {
8781
8782   ;
8783   return 0;
8784 }
8785 _ACEOF
8786 if ac_fn_c_try_link "$LINENO"; then :
8787   lt_cv_ld_exported_symbols_list=yes
8788 else
8789   lt_cv_ld_exported_symbols_list=no
8790 fi
8791 rm -f core conftest.err conftest.$ac_objext \
8792     conftest$ac_exeext conftest.$ac_ext
8793         LDFLAGS="$save_LDFLAGS"
8794
8795 fi
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8797 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8798     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8799 $as_echo_n "checking for -force_load linker flag... " >&6; }
8800 if test "${lt_cv_ld_force_load+set}" = set; then :
8801   $as_echo_n "(cached) " >&6
8802 else
8803   lt_cv_ld_force_load=no
8804       cat > conftest.c << _LT_EOF
8805 int forced_loaded() { return 2;}
8806 _LT_EOF
8807       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8808       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8809       echo "$AR cru libconftest.a conftest.o" >&5
8810       $AR cru libconftest.a conftest.o 2>&5
8811       cat > conftest.c << _LT_EOF
8812 int main() { return 0;}
8813 _LT_EOF
8814       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8815       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8816       _lt_result=$?
8817       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8818         lt_cv_ld_force_load=yes
8819       else
8820         cat conftest.err >&5
8821       fi
8822         rm -f conftest.err libconftest.a conftest conftest.c
8823         rm -rf conftest.dSYM
8824
8825 fi
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8827 $as_echo "$lt_cv_ld_force_load" >&6; }
8828     case $host_os in
8829     rhapsody* | darwin1.[012])
8830       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8831     darwin1.*)
8832       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8833     darwin*) # darwin 5.x on
8834       # if running on 10.5 or later, the deployment target defaults
8835       # to the OS version, if on x86, and 10.4, the deployment
8836       # target defaults to 10.4. Don't you love it?
8837       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8838         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8839           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8840         10.[012][,.]*)
8841           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8842         10.*)
8843           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8844       esac
8845     ;;
8846   esac
8847     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8848       _lt_dar_single_mod='$single_module'
8849     fi
8850     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8851       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8852     else
8853       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8854     fi
8855     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8856       _lt_dsymutil='~$DSYMUTIL $lib || :'
8857     else
8858       _lt_dsymutil=
8859     fi
8860     ;;
8861   esac
8862
8863 for ac_header in dlfcn.h
8864 do :
8865   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8866 "
8867 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8868   cat >>confdefs.h <<_ACEOF
8869 #define HAVE_DLFCN_H 1
8870 _ACEOF
8871
8872 fi
8873
8874 done
8875
8876
8877
8878
8879
8880 # Set options
8881
8882
8883
8884
8885   enable_win32_dll=no
8886
8887
8888             # Check whether --enable-shared was given.
8889 if test "${enable_shared+set}" = set; then :
8890   enableval=$enable_shared; p=${PACKAGE-default}
8891     case $enableval in
8892     yes) enable_shared=yes ;;
8893     no) enable_shared=no ;;
8894     *)
8895       enable_shared=no
8896       # Look at the argument we got.  We use all the common list separators.
8897       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8898       for pkg in $enableval; do
8899         IFS="$lt_save_ifs"
8900         if test "X$pkg" = "X$p"; then
8901           enable_shared=yes
8902         fi
8903       done
8904       IFS="$lt_save_ifs"
8905       ;;
8906     esac
8907 else
8908   enable_shared=yes
8909 fi
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919   # Check whether --enable-static was given.
8920 if test "${enable_static+set}" = set; then :
8921   enableval=$enable_static; p=${PACKAGE-default}
8922     case $enableval in
8923     yes) enable_static=yes ;;
8924     no) enable_static=no ;;
8925     *)
8926      enable_static=no
8927       # Look at the argument we got.  We use all the common list separators.
8928       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8929       for pkg in $enableval; do
8930         IFS="$lt_save_ifs"
8931         if test "X$pkg" = "X$p"; then
8932           enable_static=yes
8933         fi
8934       done
8935       IFS="$lt_save_ifs"
8936       ;;
8937     esac
8938 else
8939   enable_static=yes
8940 fi
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951 # Check whether --with-pic was given.
8952 if test "${with_pic+set}" = set; then :
8953   withval=$with_pic; pic_mode="$withval"
8954 else
8955   pic_mode=default
8956 fi
8957
8958
8959 test -z "$pic_mode" && pic_mode=default
8960
8961
8962
8963
8964
8965
8966
8967   # Check whether --enable-fast-install was given.
8968 if test "${enable_fast_install+set}" = set; then :
8969   enableval=$enable_fast_install; p=${PACKAGE-default}
8970     case $enableval in
8971     yes) enable_fast_install=yes ;;
8972     no) enable_fast_install=no ;;
8973     *)
8974       enable_fast_install=no
8975       # Look at the argument we got.  We use all the common list separators.
8976       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8977       for pkg in $enableval; do
8978         IFS="$lt_save_ifs"
8979         if test "X$pkg" = "X$p"; then
8980           enable_fast_install=yes
8981         fi
8982       done
8983       IFS="$lt_save_ifs"
8984       ;;
8985     esac
8986 else
8987   enable_fast_install=yes
8988 fi
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000 # This can be used to rebuild libtool when needed
9001 LIBTOOL_DEPS="$ltmain"
9002
9003 # Always use our own libtool.
9004 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031 test -z "$LN_S" && LN_S="ln -s"
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046 if test -n "${ZSH_VERSION+set}" ; then
9047    setopt NO_GLOB_SUBST
9048 fi
9049
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9051 $as_echo_n "checking for objdir... " >&6; }
9052 if test "${lt_cv_objdir+set}" = set; then :
9053   $as_echo_n "(cached) " >&6
9054 else
9055   rm -f .libs 2>/dev/null
9056 mkdir .libs 2>/dev/null
9057 if test -d .libs; then
9058   lt_cv_objdir=.libs
9059 else
9060   # MS-DOS does not allow filenames that begin with a dot.
9061   lt_cv_objdir=_libs
9062 fi
9063 rmdir .libs 2>/dev/null
9064 fi
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9066 $as_echo "$lt_cv_objdir" >&6; }
9067 objdir=$lt_cv_objdir
9068
9069
9070
9071
9072
9073 cat >>confdefs.h <<_ACEOF
9074 #define LT_OBJDIR "$lt_cv_objdir/"
9075 _ACEOF
9076
9077
9078
9079
9080 case $host_os in
9081 aix3*)
9082   # AIX sometimes has problems with the GCC collect2 program.  For some
9083   # reason, if we set the COLLECT_NAMES environment variable, the problems
9084   # vanish in a puff of smoke.
9085   if test "X${COLLECT_NAMES+set}" != Xset; then
9086     COLLECT_NAMES=
9087     export COLLECT_NAMES
9088   fi
9089   ;;
9090 esac
9091
9092 # Global variables:
9093 ofile=libtool
9094 can_build_shared=yes
9095
9096 # All known linkers require a `.a' archive for static linking (except MSVC,
9097 # which needs '.lib').
9098 libext=a
9099
9100 with_gnu_ld="$lt_cv_prog_gnu_ld"
9101
9102 old_CC="$CC"
9103 old_CFLAGS="$CFLAGS"
9104
9105 # Set sane defaults for various variables
9106 test -z "$CC" && CC=cc
9107 test -z "$LTCC" && LTCC=$CC
9108 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9109 test -z "$LD" && LD=ld
9110 test -z "$ac_objext" && ac_objext=o
9111
9112 for cc_temp in $compiler""; do
9113   case $cc_temp in
9114     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9115     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9116     \-*) ;;
9117     *) break;;
9118   esac
9119 done
9120 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9121
9122
9123 # Only perform the check for file, if the check method requires it
9124 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9125 case $deplibs_check_method in
9126 file_magic*)
9127   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9128     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9129 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9130 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9131   $as_echo_n "(cached) " >&6
9132 else
9133   case $MAGIC_CMD in
9134 [\\/*] |  ?:[\\/]*)
9135   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9136   ;;
9137 *)
9138   lt_save_MAGIC_CMD="$MAGIC_CMD"
9139   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9140   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9141   for ac_dir in $ac_dummy; do
9142     IFS="$lt_save_ifs"
9143     test -z "$ac_dir" && ac_dir=.
9144     if test -f $ac_dir/${ac_tool_prefix}file; then
9145       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9146       if test -n "$file_magic_test_file"; then
9147         case $deplibs_check_method in
9148         "file_magic "*)
9149           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9150           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9151           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9152             $EGREP "$file_magic_regex" > /dev/null; then
9153             :
9154           else
9155             cat <<_LT_EOF 1>&2
9156
9157 *** Warning: the command libtool uses to detect shared libraries,
9158 *** $file_magic_cmd, produces output that libtool cannot recognize.
9159 *** The result is that libtool may fail to recognize shared libraries
9160 *** as such.  This will affect the creation of libtool libraries that
9161 *** depend on shared libraries, but programs linked with such libtool
9162 *** libraries will work regardless of this problem.  Nevertheless, you
9163 *** may want to report the problem to your system manager and/or to
9164 *** bug-libtool@gnu.org
9165
9166 _LT_EOF
9167           fi ;;
9168         esac
9169       fi
9170       break
9171     fi
9172   done
9173   IFS="$lt_save_ifs"
9174   MAGIC_CMD="$lt_save_MAGIC_CMD"
9175   ;;
9176 esac
9177 fi
9178
9179 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9180 if test -n "$MAGIC_CMD"; then
9181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9182 $as_echo "$MAGIC_CMD" >&6; }
9183 else
9184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9185 $as_echo "no" >&6; }
9186 fi
9187
9188
9189
9190
9191
9192 if test -z "$lt_cv_path_MAGIC_CMD"; then
9193   if test -n "$ac_tool_prefix"; then
9194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9195 $as_echo_n "checking for file... " >&6; }
9196 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9197   $as_echo_n "(cached) " >&6
9198 else
9199   case $MAGIC_CMD in
9200 [\\/*] |  ?:[\\/]*)
9201   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9202   ;;
9203 *)
9204   lt_save_MAGIC_CMD="$MAGIC_CMD"
9205   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9206   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9207   for ac_dir in $ac_dummy; do
9208     IFS="$lt_save_ifs"
9209     test -z "$ac_dir" && ac_dir=.
9210     if test -f $ac_dir/file; then
9211       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9212       if test -n "$file_magic_test_file"; then
9213         case $deplibs_check_method in
9214         "file_magic "*)
9215           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9216           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9217           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9218             $EGREP "$file_magic_regex" > /dev/null; then
9219             :
9220           else
9221             cat <<_LT_EOF 1>&2
9222
9223 *** Warning: the command libtool uses to detect shared libraries,
9224 *** $file_magic_cmd, produces output that libtool cannot recognize.
9225 *** The result is that libtool may fail to recognize shared libraries
9226 *** as such.  This will affect the creation of libtool libraries that
9227 *** depend on shared libraries, but programs linked with such libtool
9228 *** libraries will work regardless of this problem.  Nevertheless, you
9229 *** may want to report the problem to your system manager and/or to
9230 *** bug-libtool@gnu.org
9231
9232 _LT_EOF
9233           fi ;;
9234         esac
9235       fi
9236       break
9237     fi
9238   done
9239   IFS="$lt_save_ifs"
9240   MAGIC_CMD="$lt_save_MAGIC_CMD"
9241   ;;
9242 esac
9243 fi
9244
9245 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9246 if test -n "$MAGIC_CMD"; then
9247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9248 $as_echo "$MAGIC_CMD" >&6; }
9249 else
9250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9251 $as_echo "no" >&6; }
9252 fi
9253
9254
9255   else
9256     MAGIC_CMD=:
9257   fi
9258 fi
9259
9260   fi
9261   ;;
9262 esac
9263
9264 # Use C for the default configuration in the libtool script
9265
9266 lt_save_CC="$CC"
9267 ac_ext=c
9268 ac_cpp='$CPP $CPPFLAGS'
9269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9272
9273
9274 # Source file extension for C test sources.
9275 ac_ext=c
9276
9277 # Object file extension for compiled C test sources.
9278 objext=o
9279 objext=$objext
9280
9281 # Code to be used in simple compile tests
9282 lt_simple_compile_test_code="int some_variable = 0;"
9283
9284 # Code to be used in simple link tests
9285 lt_simple_link_test_code='int main(){return(0);}'
9286
9287
9288
9289
9290
9291
9292
9293 # If no C compiler was specified, use CC.
9294 LTCC=${LTCC-"$CC"}
9295
9296 # If no C compiler flags were specified, use CFLAGS.
9297 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9298
9299 # Allow CC to be a program name with arguments.
9300 compiler=$CC
9301
9302 # Save the default compiler, since it gets overwritten when the other
9303 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9304 compiler_DEFAULT=$CC
9305
9306 # save warnings/boilerplate of simple test code
9307 ac_outfile=conftest.$ac_objext
9308 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9309 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9310 _lt_compiler_boilerplate=`cat conftest.err`
9311 $RM conftest*
9312
9313 ac_outfile=conftest.$ac_objext
9314 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9315 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9316 _lt_linker_boilerplate=`cat conftest.err`
9317 $RM -r conftest*
9318
9319
9320 ## CAVEAT EMPTOR:
9321 ## There is no encapsulation within the following macros, do not change
9322 ## the running order or otherwise move them around unless you know exactly
9323 ## what you are doing...
9324 if test -n "$compiler"; then
9325
9326 lt_prog_compiler_no_builtin_flag=
9327
9328 if test "$GCC" = yes; then
9329   case $cc_basename in
9330   nvcc*)
9331     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9332   *)
9333     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9334   esac
9335
9336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9337 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9338 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9339   $as_echo_n "(cached) " >&6
9340 else
9341   lt_cv_prog_compiler_rtti_exceptions=no
9342    ac_outfile=conftest.$ac_objext
9343    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9344    lt_compiler_flag="-fno-rtti -fno-exceptions"
9345    # Insert the option either (1) after the last *FLAGS variable, or
9346    # (2) before a word containing "conftest.", or (3) at the end.
9347    # Note that $ac_compile itself does not contain backslashes and begins
9348    # with a dollar sign (not a hyphen), so the echo should work correctly.
9349    # The option is referenced via a variable to avoid confusing sed.
9350    lt_compile=`echo "$ac_compile" | $SED \
9351    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9352    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9353    -e 's:$: $lt_compiler_flag:'`
9354    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9355    (eval "$lt_compile" 2>conftest.err)
9356    ac_status=$?
9357    cat conftest.err >&5
9358    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9359    if (exit $ac_status) && test -s "$ac_outfile"; then
9360      # The compiler can only warn and ignore the option if not recognized
9361      # So say no if there are warnings other than the usual output.
9362      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9363      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9364      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9365        lt_cv_prog_compiler_rtti_exceptions=yes
9366      fi
9367    fi
9368    $RM conftest*
9369
9370 fi
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9372 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9373
9374 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9375     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9376 else
9377     :
9378 fi
9379
9380 fi
9381
9382
9383
9384
9385
9386
9387   lt_prog_compiler_wl=
9388 lt_prog_compiler_pic=
9389 lt_prog_compiler_static=
9390
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9392 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9393
9394   if test "$GCC" = yes; then
9395     lt_prog_compiler_wl='-Wl,'
9396     lt_prog_compiler_static='-static'
9397
9398     case $host_os in
9399       aix*)
9400       # All AIX code is PIC.
9401       if test "$host_cpu" = ia64; then
9402         # AIX 5 now supports IA64 processor
9403         lt_prog_compiler_static='-Bstatic'
9404       fi
9405       lt_prog_compiler_pic='-fPIC'
9406       ;;
9407
9408     amigaos*)
9409       case $host_cpu in
9410       powerpc)
9411             # see comment about AmigaOS4 .so support
9412             lt_prog_compiler_pic='-fPIC'
9413         ;;
9414       m68k)
9415             # FIXME: we need at least 68020 code to build shared libraries, but
9416             # adding the `-m68020' flag to GCC prevents building anything better,
9417             # like `-m68040'.
9418             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9419         ;;
9420       esac
9421       ;;
9422
9423     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9424       # PIC is the default for these OSes.
9425       ;;
9426
9427     mingw* | cygwin* | pw32* | os2* | cegcc*)
9428       # This hack is so that the source file can tell whether it is being
9429       # built for inclusion in a dll (and should export symbols for example).
9430       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9431       # (--disable-auto-import) libraries
9432       lt_prog_compiler_pic='-DDLL_EXPORT'
9433       ;;
9434
9435     darwin* | rhapsody*)
9436       # PIC is the default on this platform
9437       # Common symbols not allowed in MH_DYLIB files
9438       lt_prog_compiler_pic='-fno-common'
9439       ;;
9440
9441     haiku*)
9442       # PIC is the default for Haiku.
9443       # The "-static" flag exists, but is broken.
9444       lt_prog_compiler_static=
9445       ;;
9446
9447     hpux*)
9448       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9449       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9450       # sets the default TLS model and affects inlining.
9451       case $host_cpu in
9452       hppa*64*)
9453         # +Z the default
9454         ;;
9455       *)
9456         lt_prog_compiler_pic='-fPIC'
9457         ;;
9458       esac
9459       ;;
9460
9461     interix[3-9]*)
9462       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9463       # Instead, we relocate shared libraries at runtime.
9464       ;;
9465
9466     msdosdjgpp*)
9467       # Just because we use GCC doesn't mean we suddenly get shared libraries
9468       # on systems that don't support them.
9469       lt_prog_compiler_can_build_shared=no
9470       enable_shared=no
9471       ;;
9472
9473     *nto* | *qnx*)
9474       # QNX uses GNU C++, but need to define -shared option too, otherwise
9475       # it will coredump.
9476       lt_prog_compiler_pic='-fPIC -shared'
9477       ;;
9478
9479     sysv4*MP*)
9480       if test -d /usr/nec; then
9481         lt_prog_compiler_pic=-Kconform_pic
9482       fi
9483       ;;
9484
9485     *)
9486       lt_prog_compiler_pic='-fPIC'
9487       ;;
9488     esac
9489
9490     case $cc_basename in
9491     nvcc*) # Cuda Compiler Driver 2.2
9492       lt_prog_compiler_wl='-Xlinker '
9493       lt_prog_compiler_pic='-Xcompiler -fPIC'
9494       ;;
9495     esac
9496   else
9497     # PORTME Check for flag to pass linker flags through the system compiler.
9498     case $host_os in
9499     aix*)
9500       lt_prog_compiler_wl='-Wl,'
9501       if test "$host_cpu" = ia64; then
9502         # AIX 5 now supports IA64 processor
9503         lt_prog_compiler_static='-Bstatic'
9504       else
9505         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9506       fi
9507       ;;
9508
9509     mingw* | cygwin* | pw32* | os2* | cegcc*)
9510       # This hack is so that the source file can tell whether it is being
9511       # built for inclusion in a dll (and should export symbols for example).
9512       lt_prog_compiler_pic='-DDLL_EXPORT'
9513       ;;
9514
9515     hpux9* | hpux10* | hpux11*)
9516       lt_prog_compiler_wl='-Wl,'
9517       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9518       # not for PA HP-UX.
9519       case $host_cpu in
9520       hppa*64*|ia64*)
9521         # +Z the default
9522         ;;
9523       *)
9524         lt_prog_compiler_pic='+Z'
9525         ;;
9526       esac
9527       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9528       lt_prog_compiler_static='${wl}-a ${wl}archive'
9529       ;;
9530
9531     irix5* | irix6* | nonstopux*)
9532       lt_prog_compiler_wl='-Wl,'
9533       # PIC (with -KPIC) is the default.
9534       lt_prog_compiler_static='-non_shared'
9535       ;;
9536
9537     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9538       case $cc_basename in
9539       # old Intel for x86_64 which still supported -KPIC.
9540       ecc*)
9541         lt_prog_compiler_wl='-Wl,'
9542         lt_prog_compiler_pic='-KPIC'
9543         lt_prog_compiler_static='-static'
9544         ;;
9545       # icc used to be incompatible with GCC.
9546       # ICC 10 doesn't accept -KPIC any more.
9547       icc* | ifort*)
9548         lt_prog_compiler_wl='-Wl,'
9549         lt_prog_compiler_pic='-fPIC'
9550         lt_prog_compiler_static='-static'
9551         ;;
9552       # Lahey Fortran 8.1.
9553       lf95*)
9554         lt_prog_compiler_wl='-Wl,'
9555         lt_prog_compiler_pic='--shared'
9556         lt_prog_compiler_static='--static'
9557         ;;
9558       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9559         # Portland Group compilers (*not* the Pentium gcc compiler,
9560         # which looks to be a dead project)
9561         lt_prog_compiler_wl='-Wl,'
9562         lt_prog_compiler_pic='-fpic'
9563         lt_prog_compiler_static='-Bstatic'
9564         ;;
9565       ccc*)
9566         lt_prog_compiler_wl='-Wl,'
9567         # All Alpha code is PIC.
9568         lt_prog_compiler_static='-non_shared'
9569         ;;
9570       xl* | bgxl* | bgf* | mpixl*)
9571         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9572         lt_prog_compiler_wl='-Wl,'
9573         lt_prog_compiler_pic='-qpic'
9574         lt_prog_compiler_static='-qstaticlink'
9575         ;;
9576       *)
9577         case `$CC -V 2>&1 | sed 5q` in
9578         *Sun\ F* | *Sun*Fortran*)
9579           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9580           lt_prog_compiler_pic='-KPIC'
9581           lt_prog_compiler_static='-Bstatic'
9582           lt_prog_compiler_wl=''
9583           ;;
9584         *Sun\ C*)
9585           # Sun C 5.9
9586           lt_prog_compiler_pic='-KPIC'
9587           lt_prog_compiler_static='-Bstatic'
9588           lt_prog_compiler_wl='-Wl,'
9589           ;;
9590         esac
9591         ;;
9592       esac
9593       ;;
9594
9595     newsos6)
9596       lt_prog_compiler_pic='-KPIC'
9597       lt_prog_compiler_static='-Bstatic'
9598       ;;
9599
9600     *nto* | *qnx*)
9601       # QNX uses GNU C++, but need to define -shared option too, otherwise
9602       # it will coredump.
9603       lt_prog_compiler_pic='-fPIC -shared'
9604       ;;
9605
9606     osf3* | osf4* | osf5*)
9607       lt_prog_compiler_wl='-Wl,'
9608       # All OSF/1 code is PIC.
9609       lt_prog_compiler_static='-non_shared'
9610       ;;
9611
9612     rdos*)
9613       lt_prog_compiler_static='-non_shared'
9614       ;;
9615
9616     solaris*)
9617       lt_prog_compiler_pic='-KPIC'
9618       lt_prog_compiler_static='-Bstatic'
9619       case $cc_basename in
9620       f77* | f90* | f95*)
9621         lt_prog_compiler_wl='-Qoption ld ';;
9622       *)
9623         lt_prog_compiler_wl='-Wl,';;
9624       esac
9625       ;;
9626
9627     sunos4*)
9628       lt_prog_compiler_wl='-Qoption ld '
9629       lt_prog_compiler_pic='-PIC'
9630       lt_prog_compiler_static='-Bstatic'
9631       ;;
9632
9633     sysv4 | sysv4.2uw2* | sysv4.3*)
9634       lt_prog_compiler_wl='-Wl,'
9635       lt_prog_compiler_pic='-KPIC'
9636       lt_prog_compiler_static='-Bstatic'
9637       ;;
9638
9639     sysv4*MP*)
9640       if test -d /usr/nec ;then
9641         lt_prog_compiler_pic='-Kconform_pic'
9642         lt_prog_compiler_static='-Bstatic'
9643       fi
9644       ;;
9645
9646     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9647       lt_prog_compiler_wl='-Wl,'
9648       lt_prog_compiler_pic='-KPIC'
9649       lt_prog_compiler_static='-Bstatic'
9650       ;;
9651
9652     unicos*)
9653       lt_prog_compiler_wl='-Wl,'
9654       lt_prog_compiler_can_build_shared=no
9655       ;;
9656
9657     uts4*)
9658       lt_prog_compiler_pic='-pic'
9659       lt_prog_compiler_static='-Bstatic'
9660       ;;
9661
9662     *)
9663       lt_prog_compiler_can_build_shared=no
9664       ;;
9665     esac
9666   fi
9667
9668 case $host_os in
9669   # For platforms which do not support PIC, -DPIC is meaningless:
9670   *djgpp*)
9671     lt_prog_compiler_pic=
9672     ;;
9673   *)
9674     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9675     ;;
9676 esac
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9678 $as_echo "$lt_prog_compiler_pic" >&6; }
9679
9680
9681
9682
9683
9684
9685 #
9686 # Check to make sure the PIC flag actually works.
9687 #
9688 if test -n "$lt_prog_compiler_pic"; then
9689   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9690 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9691 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9692   $as_echo_n "(cached) " >&6
9693 else
9694   lt_cv_prog_compiler_pic_works=no
9695    ac_outfile=conftest.$ac_objext
9696    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9697    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9698    # Insert the option either (1) after the last *FLAGS variable, or
9699    # (2) before a word containing "conftest.", or (3) at the end.
9700    # Note that $ac_compile itself does not contain backslashes and begins
9701    # with a dollar sign (not a hyphen), so the echo should work correctly.
9702    # The option is referenced via a variable to avoid confusing sed.
9703    lt_compile=`echo "$ac_compile" | $SED \
9704    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9705    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9706    -e 's:$: $lt_compiler_flag:'`
9707    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9708    (eval "$lt_compile" 2>conftest.err)
9709    ac_status=$?
9710    cat conftest.err >&5
9711    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712    if (exit $ac_status) && test -s "$ac_outfile"; then
9713      # The compiler can only warn and ignore the option if not recognized
9714      # So say no if there are warnings other than the usual output.
9715      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9716      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9717      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9718        lt_cv_prog_compiler_pic_works=yes
9719      fi
9720    fi
9721    $RM conftest*
9722
9723 fi
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9725 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9726
9727 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9728     case $lt_prog_compiler_pic in
9729      "" | " "*) ;;
9730      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9731      esac
9732 else
9733     lt_prog_compiler_pic=
9734      lt_prog_compiler_can_build_shared=no
9735 fi
9736
9737 fi
9738
9739
9740
9741
9742
9743
9744 #
9745 # Check to make sure the static flag actually works.
9746 #
9747 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9749 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9750 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9751   $as_echo_n "(cached) " >&6
9752 else
9753   lt_cv_prog_compiler_static_works=no
9754    save_LDFLAGS="$LDFLAGS"
9755    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9756    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9757    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9758      # The linker can only warn and ignore the option if not recognized
9759      # So say no if there are warnings
9760      if test -s conftest.err; then
9761        # Append any errors to the config.log.
9762        cat conftest.err 1>&5
9763        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9764        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9765        if diff conftest.exp conftest.er2 >/dev/null; then
9766          lt_cv_prog_compiler_static_works=yes
9767        fi
9768      else
9769        lt_cv_prog_compiler_static_works=yes
9770      fi
9771    fi
9772    $RM -r conftest*
9773    LDFLAGS="$save_LDFLAGS"
9774
9775 fi
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9777 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9778
9779 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9780     :
9781 else
9782     lt_prog_compiler_static=
9783 fi
9784
9785
9786
9787
9788
9789
9790
9791   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9792 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9793 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9794   $as_echo_n "(cached) " >&6
9795 else
9796   lt_cv_prog_compiler_c_o=no
9797    $RM -r conftest 2>/dev/null
9798    mkdir conftest
9799    cd conftest
9800    mkdir out
9801    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9802
9803    lt_compiler_flag="-o out/conftest2.$ac_objext"
9804    # Insert the option either (1) after the last *FLAGS variable, or
9805    # (2) before a word containing "conftest.", or (3) at the end.
9806    # Note that $ac_compile itself does not contain backslashes and begins
9807    # with a dollar sign (not a hyphen), so the echo should work correctly.
9808    lt_compile=`echo "$ac_compile" | $SED \
9809    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9810    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9811    -e 's:$: $lt_compiler_flag:'`
9812    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9813    (eval "$lt_compile" 2>out/conftest.err)
9814    ac_status=$?
9815    cat out/conftest.err >&5
9816    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9817    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9818    then
9819      # The compiler can only warn and ignore the option if not recognized
9820      # So say no if there are warnings
9821      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9822      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9823      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9824        lt_cv_prog_compiler_c_o=yes
9825      fi
9826    fi
9827    chmod u+w . 2>&5
9828    $RM conftest*
9829    # SGI C++ compiler will create directory out/ii_files/ for
9830    # template instantiation
9831    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9832    $RM out/* && rmdir out
9833    cd ..
9834    $RM -r conftest
9835    $RM conftest*
9836
9837 fi
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9839 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9840
9841
9842
9843
9844
9845
9846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9847 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9848 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9849   $as_echo_n "(cached) " >&6
9850 else
9851   lt_cv_prog_compiler_c_o=no
9852    $RM -r conftest 2>/dev/null
9853    mkdir conftest
9854    cd conftest
9855    mkdir out
9856    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9857
9858    lt_compiler_flag="-o out/conftest2.$ac_objext"
9859    # Insert the option either (1) after the last *FLAGS variable, or
9860    # (2) before a word containing "conftest.", or (3) at the end.
9861    # Note that $ac_compile itself does not contain backslashes and begins
9862    # with a dollar sign (not a hyphen), so the echo should work correctly.
9863    lt_compile=`echo "$ac_compile" | $SED \
9864    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9865    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9866    -e 's:$: $lt_compiler_flag:'`
9867    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9868    (eval "$lt_compile" 2>out/conftest.err)
9869    ac_status=$?
9870    cat out/conftest.err >&5
9871    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9873    then
9874      # The compiler can only warn and ignore the option if not recognized
9875      # So say no if there are warnings
9876      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9877      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9878      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9879        lt_cv_prog_compiler_c_o=yes
9880      fi
9881    fi
9882    chmod u+w . 2>&5
9883    $RM conftest*
9884    # SGI C++ compiler will create directory out/ii_files/ for
9885    # template instantiation
9886    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9887    $RM out/* && rmdir out
9888    cd ..
9889    $RM -r conftest
9890    $RM conftest*
9891
9892 fi
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9894 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9895
9896
9897
9898
9899 hard_links="nottested"
9900 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9901   # do not overwrite the value of need_locks provided by the user
9902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9903 $as_echo_n "checking if we can lock with hard links... " >&6; }
9904   hard_links=yes
9905   $RM conftest*
9906   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9907   touch conftest.a
9908   ln conftest.a conftest.b 2>&5 || hard_links=no
9909   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9911 $as_echo "$hard_links" >&6; }
9912   if test "$hard_links" = no; then
9913     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9914 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9915     need_locks=warn
9916   fi
9917 else
9918   need_locks=no
9919 fi
9920
9921
9922
9923
9924
9925
9926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9927 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9928
9929   runpath_var=
9930   allow_undefined_flag=
9931   always_export_symbols=no
9932   archive_cmds=
9933   archive_expsym_cmds=
9934   compiler_needs_object=no
9935   enable_shared_with_static_runtimes=no
9936   export_dynamic_flag_spec=
9937   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9938   hardcode_automatic=no
9939   hardcode_direct=no
9940   hardcode_direct_absolute=no
9941   hardcode_libdir_flag_spec=
9942   hardcode_libdir_flag_spec_ld=
9943   hardcode_libdir_separator=
9944   hardcode_minus_L=no
9945   hardcode_shlibpath_var=unsupported
9946   inherit_rpath=no
9947   link_all_deplibs=unknown
9948   module_cmds=
9949   module_expsym_cmds=
9950   old_archive_from_new_cmds=
9951   old_archive_from_expsyms_cmds=
9952   thread_safe_flag_spec=
9953   whole_archive_flag_spec=
9954   # include_expsyms should be a list of space-separated symbols to be *always*
9955   # included in the symbol list
9956   include_expsyms=
9957   # exclude_expsyms can be an extended regexp of symbols to exclude
9958   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9959   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9960   # as well as any symbol that contains `d'.
9961   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9962   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9963   # platforms (ab)use it in PIC code, but their linkers get confused if
9964   # the symbol is explicitly referenced.  Since portable code cannot
9965   # rely on this symbol name, it's probably fine to never include it in
9966   # preloaded symbol tables.
9967   # Exclude shared library initialization/finalization symbols.
9968   extract_expsyms_cmds=
9969
9970   case $host_os in
9971   cygwin* | mingw* | pw32* | cegcc*)
9972     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9973     # When not using gcc, we currently assume that we are using
9974     # Microsoft Visual C++.
9975     if test "$GCC" != yes; then
9976       with_gnu_ld=no
9977     fi
9978     ;;
9979   interix*)
9980     # we just hope/assume this is gcc and not c89 (= MSVC++)
9981     with_gnu_ld=yes
9982     ;;
9983   openbsd*)
9984     with_gnu_ld=no
9985     ;;
9986   esac
9987
9988   ld_shlibs=yes
9989
9990   # On some targets, GNU ld is compatible enough with the native linker
9991   # that we're better off using the native interface for both.
9992   lt_use_gnu_ld_interface=no
9993   if test "$with_gnu_ld" = yes; then
9994     case $host_os in
9995       aix*)
9996         # The AIX port of GNU ld has always aspired to compatibility
9997         # with the native linker.  However, as the warning in the GNU ld
9998         # block says, versions before 2.19.5* couldn't really create working
9999         # shared libraries, regardless of the interface used.
10000         case `$LD -v 2>&1` in
10001           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10002           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10003           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10004           *)
10005             lt_use_gnu_ld_interface=yes
10006             ;;
10007         esac
10008         ;;
10009       *)
10010         lt_use_gnu_ld_interface=yes
10011         ;;
10012     esac
10013   fi
10014
10015   if test "$lt_use_gnu_ld_interface" = yes; then
10016     # If archive_cmds runs LD, not CC, wlarc should be empty
10017     wlarc='${wl}'
10018
10019     # Set some defaults for GNU ld with shared library support. These
10020     # are reset later if shared libraries are not supported. Putting them
10021     # here allows them to be overridden if necessary.
10022     runpath_var=LD_RUN_PATH
10023     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10024     export_dynamic_flag_spec='${wl}--export-dynamic'
10025     # ancient GNU ld didn't support --whole-archive et. al.
10026     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10027       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10028     else
10029       whole_archive_flag_spec=
10030     fi
10031     supports_anon_versioning=no
10032     case `$LD -v 2>&1` in
10033       *GNU\ gold*) supports_anon_versioning=yes ;;
10034       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10035       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10036       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10037       *\ 2.11.*) ;; # other 2.11 versions
10038       *) supports_anon_versioning=yes ;;
10039     esac
10040
10041     # See if GNU ld supports shared libraries.
10042     case $host_os in
10043     aix[3-9]*)
10044       # On AIX/PPC, the GNU linker is very broken
10045       if test "$host_cpu" != ia64; then
10046         ld_shlibs=no
10047         cat <<_LT_EOF 1>&2
10048
10049 *** Warning: the GNU linker, at least up to release 2.19, is reported
10050 *** to be unable to reliably create shared libraries on AIX.
10051 *** Therefore, libtool is disabling shared libraries support.  If you
10052 *** really care for shared libraries, you may want to install binutils
10053 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10054 *** You will then need to restart the configuration process.
10055
10056 _LT_EOF
10057       fi
10058       ;;
10059
10060     amigaos*)
10061       case $host_cpu in
10062       powerpc)
10063             # see comment about AmigaOS4 .so support
10064             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10065             archive_expsym_cmds=''
10066         ;;
10067       m68k)
10068             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)'
10069             hardcode_libdir_flag_spec='-L$libdir'
10070             hardcode_minus_L=yes
10071         ;;
10072       esac
10073       ;;
10074
10075     beos*)
10076       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10077         allow_undefined_flag=unsupported
10078         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10079         # support --undefined.  This deserves some investigation.  FIXME
10080         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081       else
10082         ld_shlibs=no
10083       fi
10084       ;;
10085
10086     cygwin* | mingw* | pw32* | cegcc*)
10087       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10088       # as there is no search path for DLLs.
10089       hardcode_libdir_flag_spec='-L$libdir'
10090       export_dynamic_flag_spec='${wl}--export-all-symbols'
10091       allow_undefined_flag=unsupported
10092       always_export_symbols=no
10093       enable_shared_with_static_runtimes=yes
10094       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10095
10096       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10097         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10098         # If the export-symbols file already is a .def file (1st line
10099         # is EXPORTS), use it as is; otherwise, prepend...
10100         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10101           cp $export_symbols $output_objdir/$soname.def;
10102         else
10103           echo EXPORTS > $output_objdir/$soname.def;
10104           cat $export_symbols >> $output_objdir/$soname.def;
10105         fi~
10106         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10107       else
10108         ld_shlibs=no
10109       fi
10110       ;;
10111
10112     haiku*)
10113       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10114       link_all_deplibs=yes
10115       ;;
10116
10117     interix[3-9]*)
10118       hardcode_direct=no
10119       hardcode_shlibpath_var=no
10120       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10121       export_dynamic_flag_spec='${wl}-E'
10122       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10123       # Instead, shared libraries are loaded at an image base (0x10000000 by
10124       # default) and relocated if they conflict, which is a slow very memory
10125       # consuming and fragmenting process.  To avoid this, we pick a random,
10126       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10127       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10128       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10129       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'
10130       ;;
10131
10132     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10133       tmp_diet=no
10134       if test "$host_os" = linux-dietlibc; then
10135         case $cc_basename in
10136           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10137         esac
10138       fi
10139       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10140          && test "$tmp_diet" = no
10141       then
10142         tmp_addflag=' $pic_flag'
10143         tmp_sharedflag='-shared'
10144         case $cc_basename,$host_cpu in
10145         pgcc*)                          # Portland Group C compiler
10146           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'
10147           tmp_addflag=' $pic_flag'
10148           ;;
10149         pgf77* | pgf90* | pgf95* | pgfortran*)
10150                                         # Portland Group f77 and f90 compilers
10151           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'
10152           tmp_addflag=' $pic_flag -Mnomain' ;;
10153         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10154           tmp_addflag=' -i_dynamic' ;;
10155         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10156           tmp_addflag=' -i_dynamic -nofor_main' ;;
10157         ifc* | ifort*)                  # Intel Fortran compiler
10158           tmp_addflag=' -nofor_main' ;;
10159         lf95*)                          # Lahey Fortran 8.1
10160           whole_archive_flag_spec=
10161           tmp_sharedflag='--shared' ;;
10162         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10163           tmp_sharedflag='-qmkshrobj'
10164           tmp_addflag= ;;
10165         nvcc*)  # Cuda Compiler Driver 2.2
10166           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'
10167           compiler_needs_object=yes
10168           ;;
10169         esac
10170         case `$CC -V 2>&1 | sed 5q` in
10171         *Sun\ C*)                       # Sun C 5.9
10172           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'
10173           compiler_needs_object=yes
10174           tmp_sharedflag='-G' ;;
10175         *Sun\ F*)                       # Sun Fortran 8.3
10176           tmp_sharedflag='-G' ;;
10177         esac
10178         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10179
10180         if test "x$supports_anon_versioning" = xyes; then
10181           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10182             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10183             echo "local: *; };" >> $output_objdir/$libname.ver~
10184             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10185         fi
10186
10187         case $cc_basename in
10188         xlf* | bgf* | bgxlf* | mpixlf*)
10189           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10190           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10191           hardcode_libdir_flag_spec=
10192           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10193           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10194           if test "x$supports_anon_versioning" = xyes; then
10195             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10196               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10197               echo "local: *; };" >> $output_objdir/$libname.ver~
10198               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10199           fi
10200           ;;
10201         esac
10202       else
10203         ld_shlibs=no
10204       fi
10205       ;;
10206
10207     netbsd*)
10208       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10209         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10210         wlarc=
10211       else
10212         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10213         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10214       fi
10215       ;;
10216
10217     solaris*)
10218       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10219         ld_shlibs=no
10220         cat <<_LT_EOF 1>&2
10221
10222 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10223 *** create shared libraries on Solaris systems.  Therefore, libtool
10224 *** is disabling shared libraries support.  We urge you to upgrade GNU
10225 *** binutils to release 2.9.1 or newer.  Another option is to modify
10226 *** your PATH or compiler configuration so that the native linker is
10227 *** used, and then restart.
10228
10229 _LT_EOF
10230       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10231         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10232         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10233       else
10234         ld_shlibs=no
10235       fi
10236       ;;
10237
10238     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10239       case `$LD -v 2>&1` in
10240         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10241         ld_shlibs=no
10242         cat <<_LT_EOF 1>&2
10243
10244 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10245 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10246 *** is disabling shared libraries support.  We urge you to upgrade GNU
10247 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10248 *** your PATH or compiler configuration so that the native linker is
10249 *** used, and then restart.
10250
10251 _LT_EOF
10252         ;;
10253         *)
10254           # For security reasons, it is highly recommended that you always
10255           # use absolute paths for naming shared libraries, and exclude the
10256           # DT_RUNPATH tag from executables and libraries.  But doing so
10257           # requires that you compile everything twice, which is a pain.
10258           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10259             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10260             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10261             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10262           else
10263             ld_shlibs=no
10264           fi
10265         ;;
10266       esac
10267       ;;
10268
10269     sunos4*)
10270       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10271       wlarc=
10272       hardcode_direct=yes
10273       hardcode_shlibpath_var=no
10274       ;;
10275
10276     *)
10277       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10278         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10279         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10280       else
10281         ld_shlibs=no
10282       fi
10283       ;;
10284     esac
10285
10286     if test "$ld_shlibs" = no; then
10287       runpath_var=
10288       hardcode_libdir_flag_spec=
10289       export_dynamic_flag_spec=
10290       whole_archive_flag_spec=
10291     fi
10292   else
10293     # PORTME fill in a description of your system's linker (not GNU ld)
10294     case $host_os in
10295     aix3*)
10296       allow_undefined_flag=unsupported
10297       always_export_symbols=yes
10298       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'
10299       # Note: this linker hardcodes the directories in LIBPATH if there
10300       # are no directories specified by -L.
10301       hardcode_minus_L=yes
10302       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10303         # Neither direct hardcoding nor static linking is supported with a
10304         # broken collect2.
10305         hardcode_direct=unsupported
10306       fi
10307       ;;
10308
10309     aix[4-9]*)
10310       if test "$host_cpu" = ia64; then
10311         # On IA64, the linker does run time linking by default, so we don't
10312         # have to do anything special.
10313         aix_use_runtimelinking=no
10314         exp_sym_flag='-Bexport'
10315         no_entry_flag=""
10316       else
10317         # If we're using GNU nm, then we don't want the "-C" option.
10318         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10319         # Also, AIX nm treats weak defined symbols like other global
10320         # defined symbols, whereas GNU nm marks them as "W".
10321         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10322           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'
10323         else
10324           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'
10325         fi
10326         aix_use_runtimelinking=no
10327
10328         # Test if we are trying to use run time linking or normal
10329         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10330         # need to do runtime linking.
10331         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10332           for ld_flag in $LDFLAGS; do
10333           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10334             aix_use_runtimelinking=yes
10335             break
10336           fi
10337           done
10338           ;;
10339         esac
10340
10341         exp_sym_flag='-bexport'
10342         no_entry_flag='-bnoentry'
10343       fi
10344
10345       # When large executables or shared objects are built, AIX ld can
10346       # have problems creating the table of contents.  If linking a library
10347       # or program results in "error TOC overflow" add -mminimal-toc to
10348       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10349       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10350
10351       archive_cmds=''
10352       hardcode_direct=yes
10353       hardcode_direct_absolute=yes
10354       hardcode_libdir_separator=':'
10355       link_all_deplibs=yes
10356       file_list_spec='${wl}-f,'
10357
10358       if test "$GCC" = yes; then
10359         case $host_os in aix4.[012]|aix4.[012].*)
10360         # We only want to do this on AIX 4.2 and lower, the check
10361         # below for broken collect2 doesn't work under 4.3+
10362           collect2name=`${CC} -print-prog-name=collect2`
10363           if test -f "$collect2name" &&
10364            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10365           then
10366           # We have reworked collect2
10367           :
10368           else
10369           # We have old collect2
10370           hardcode_direct=unsupported
10371           # It fails to find uninstalled libraries when the uninstalled
10372           # path is not listed in the libpath.  Setting hardcode_minus_L
10373           # to unsupported forces relinking
10374           hardcode_minus_L=yes
10375           hardcode_libdir_flag_spec='-L$libdir'
10376           hardcode_libdir_separator=
10377           fi
10378           ;;
10379         esac
10380         shared_flag='-shared'
10381         if test "$aix_use_runtimelinking" = yes; then
10382           shared_flag="$shared_flag "'${wl}-G'
10383         fi
10384       else
10385         # not using gcc
10386         if test "$host_cpu" = ia64; then
10387         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10388         # chokes on -Wl,-G. The following line is correct:
10389           shared_flag='-G'
10390         else
10391           if test "$aix_use_runtimelinking" = yes; then
10392             shared_flag='${wl}-G'
10393           else
10394             shared_flag='${wl}-bM:SRE'
10395           fi
10396         fi
10397       fi
10398
10399       export_dynamic_flag_spec='${wl}-bexpall'
10400       # It seems that -bexpall does not export symbols beginning with
10401       # underscore (_), so it is better to generate a list of symbols to export.
10402       always_export_symbols=yes
10403       if test "$aix_use_runtimelinking" = yes; then
10404         # Warning - without using the other runtime loading flags (-brtl),
10405         # -berok will link without error, but may produce a broken library.
10406         allow_undefined_flag='-berok'
10407         # Determine the default libpath from the value encoded in an
10408         # empty executable.
10409         if test x$gcc_no_link = xyes; then
10410   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10411 fi
10412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10413 /* end confdefs.h.  */
10414
10415 int
10416 main ()
10417 {
10418
10419   ;
10420   return 0;
10421 }
10422 _ACEOF
10423 if ac_fn_c_try_link "$LINENO"; then :
10424
10425 lt_aix_libpath_sed='
10426     /Import File Strings/,/^$/ {
10427         /^0/ {
10428             s/^0  *\(.*\)$/\1/
10429             p
10430         }
10431     }'
10432 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10433 # Check for a 64-bit object if we didn't find anything.
10434 if test -z "$aix_libpath"; then
10435   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10436 fi
10437 fi
10438 rm -f core conftest.err conftest.$ac_objext \
10439     conftest$ac_exeext conftest.$ac_ext
10440 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10441
10442         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10443         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"
10444       else
10445         if test "$host_cpu" = ia64; then
10446           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10447           allow_undefined_flag="-z nodefs"
10448           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"
10449         else
10450          # Determine the default libpath from the value encoded in an
10451          # empty executable.
10452          if test x$gcc_no_link = xyes; then
10453   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10454 fi
10455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10456 /* end confdefs.h.  */
10457
10458 int
10459 main ()
10460 {
10461
10462   ;
10463   return 0;
10464 }
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467
10468 lt_aix_libpath_sed='
10469     /Import File Strings/,/^$/ {
10470         /^0/ {
10471             s/^0  *\(.*\)$/\1/
10472             p
10473         }
10474     }'
10475 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10476 # Check for a 64-bit object if we didn't find anything.
10477 if test -z "$aix_libpath"; then
10478   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10479 fi
10480 fi
10481 rm -f core conftest.err conftest.$ac_objext \
10482     conftest$ac_exeext conftest.$ac_ext
10483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10484
10485          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10486           # Warning - without using the other run time loading flags,
10487           # -berok will link without error, but may produce a broken library.
10488           no_undefined_flag=' ${wl}-bernotok'
10489           allow_undefined_flag=' ${wl}-berok'
10490           if test "$with_gnu_ld" = yes; then
10491             # We only use this code for GNU lds that support --whole-archive.
10492             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10493           else
10494             # Exported symbols can be pulled into shared objects from archives
10495             whole_archive_flag_spec='$convenience'
10496           fi
10497           archive_cmds_need_lc=yes
10498           # This is similar to how AIX traditionally builds its shared libraries.
10499           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'
10500         fi
10501       fi
10502       ;;
10503
10504     amigaos*)
10505       case $host_cpu in
10506       powerpc)
10507             # see comment about AmigaOS4 .so support
10508             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10509             archive_expsym_cmds=''
10510         ;;
10511       m68k)
10512             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)'
10513             hardcode_libdir_flag_spec='-L$libdir'
10514             hardcode_minus_L=yes
10515         ;;
10516       esac
10517       ;;
10518
10519     bsdi[45]*)
10520       export_dynamic_flag_spec=-rdynamic
10521       ;;
10522
10523     cygwin* | mingw* | pw32* | cegcc*)
10524       # When not using gcc, we currently assume that we are using
10525       # Microsoft Visual C++.
10526       # hardcode_libdir_flag_spec is actually meaningless, as there is
10527       # no search path for DLLs.
10528       hardcode_libdir_flag_spec=' '
10529       allow_undefined_flag=unsupported
10530       # Tell ltmain to make .lib files, not .a files.
10531       libext=lib
10532       # Tell ltmain to make .dll files, not .so files.
10533       shrext_cmds=".dll"
10534       # FIXME: Setting linknames here is a bad hack.
10535       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10536       # The linker will automatically build a .lib file if we build a DLL.
10537       old_archive_from_new_cmds='true'
10538       # FIXME: Should let the user specify the lib program.
10539       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10540       fix_srcfile_path='`cygpath -w "$srcfile"`'
10541       enable_shared_with_static_runtimes=yes
10542       ;;
10543
10544     darwin* | rhapsody*)
10545
10546
10547   archive_cmds_need_lc=no
10548   hardcode_direct=no
10549   hardcode_automatic=yes
10550   hardcode_shlibpath_var=unsupported
10551   if test "$lt_cv_ld_force_load" = "yes"; then
10552     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\"`'
10553   else
10554     whole_archive_flag_spec=''
10555   fi
10556   link_all_deplibs=yes
10557   allow_undefined_flag="$_lt_dar_allow_undefined"
10558   case $cc_basename in
10559      ifort*) _lt_dar_can_shared=yes ;;
10560      *) _lt_dar_can_shared=$GCC ;;
10561   esac
10562   if test "$_lt_dar_can_shared" = "yes"; then
10563     output_verbose_link_cmd=func_echo_all
10564     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10565     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10566     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}"
10567     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}"
10568
10569   else
10570   ld_shlibs=no
10571   fi
10572
10573       ;;
10574
10575     dgux*)
10576       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10577       hardcode_libdir_flag_spec='-L$libdir'
10578       hardcode_shlibpath_var=no
10579       ;;
10580
10581     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10582     # support.  Future versions do this automatically, but an explicit c++rt0.o
10583     # does not break anything, and helps significantly (at the cost of a little
10584     # extra space).
10585     freebsd2.2*)
10586       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10587       hardcode_libdir_flag_spec='-R$libdir'
10588       hardcode_direct=yes
10589       hardcode_shlibpath_var=no
10590       ;;
10591
10592     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10593     freebsd2.*)
10594       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10595       hardcode_direct=yes
10596       hardcode_minus_L=yes
10597       hardcode_shlibpath_var=no
10598       ;;
10599
10600     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10601     freebsd* | dragonfly*)
10602       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10603       hardcode_libdir_flag_spec='-R$libdir'
10604       hardcode_direct=yes
10605       hardcode_shlibpath_var=no
10606       ;;
10607
10608     hpux9*)
10609       if test "$GCC" = yes; then
10610         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'
10611       else
10612         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'
10613       fi
10614       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10615       hardcode_libdir_separator=:
10616       hardcode_direct=yes
10617
10618       # hardcode_minus_L: Not really in the search PATH,
10619       # but as the default location of the library.
10620       hardcode_minus_L=yes
10621       export_dynamic_flag_spec='${wl}-E'
10622       ;;
10623
10624     hpux10*)
10625       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10626         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10627       else
10628         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10629       fi
10630       if test "$with_gnu_ld" = no; then
10631         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10632         hardcode_libdir_flag_spec_ld='+b $libdir'
10633         hardcode_libdir_separator=:
10634         hardcode_direct=yes
10635         hardcode_direct_absolute=yes
10636         export_dynamic_flag_spec='${wl}-E'
10637         # hardcode_minus_L: Not really in the search PATH,
10638         # but as the default location of the library.
10639         hardcode_minus_L=yes
10640       fi
10641       ;;
10642
10643     hpux11*)
10644       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10645         case $host_cpu in
10646         hppa*64*)
10647           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10648           ;;
10649         ia64*)
10650           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10651           ;;
10652         *)
10653           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10654           ;;
10655         esac
10656       else
10657         case $host_cpu in
10658         hppa*64*)
10659           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10660           ;;
10661         ia64*)
10662           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10663           ;;
10664         *)
10665
10666           # Older versions of the 11.00 compiler do not understand -b yet
10667           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10668           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10669 $as_echo_n "checking if $CC understands -b... " >&6; }
10670 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10671   $as_echo_n "(cached) " >&6
10672 else
10673   lt_cv_prog_compiler__b=no
10674    save_LDFLAGS="$LDFLAGS"
10675    LDFLAGS="$LDFLAGS -b"
10676    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10677    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10678      # The linker can only warn and ignore the option if not recognized
10679      # So say no if there are warnings
10680      if test -s conftest.err; then
10681        # Append any errors to the config.log.
10682        cat conftest.err 1>&5
10683        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10684        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10685        if diff conftest.exp conftest.er2 >/dev/null; then
10686          lt_cv_prog_compiler__b=yes
10687        fi
10688      else
10689        lt_cv_prog_compiler__b=yes
10690      fi
10691    fi
10692    $RM -r conftest*
10693    LDFLAGS="$save_LDFLAGS"
10694
10695 fi
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10697 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10698
10699 if test x"$lt_cv_prog_compiler__b" = xyes; then
10700     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10701 else
10702     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10703 fi
10704
10705           ;;
10706         esac
10707       fi
10708       if test "$with_gnu_ld" = no; then
10709         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10710         hardcode_libdir_separator=:
10711
10712         case $host_cpu in
10713         hppa*64*|ia64*)
10714           hardcode_direct=no
10715           hardcode_shlibpath_var=no
10716           ;;
10717         *)
10718           hardcode_direct=yes
10719           hardcode_direct_absolute=yes
10720           export_dynamic_flag_spec='${wl}-E'
10721
10722           # hardcode_minus_L: Not really in the search PATH,
10723           # but as the default location of the library.
10724           hardcode_minus_L=yes
10725           ;;
10726         esac
10727       fi
10728       ;;
10729
10730     irix5* | irix6* | nonstopux*)
10731       if test "$GCC" = yes; then
10732         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'
10733         # Try to use the -exported_symbol ld option, if it does not
10734         # work, assume that -exports_file does not work either and
10735         # implicitly export all symbols.
10736         save_LDFLAGS="$LDFLAGS"
10737         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10738         if test x$gcc_no_link = xyes; then
10739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10740 fi
10741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h.  */
10743 int foo(void) {}
10744 _ACEOF
10745 if ac_fn_c_try_link "$LINENO"; then :
10746   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'
10747
10748 fi
10749 rm -f core conftest.err conftest.$ac_objext \
10750     conftest$ac_exeext conftest.$ac_ext
10751         LDFLAGS="$save_LDFLAGS"
10752       else
10753         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'
10754         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'
10755       fi
10756       archive_cmds_need_lc='no'
10757       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10758       hardcode_libdir_separator=:
10759       inherit_rpath=yes
10760       link_all_deplibs=yes
10761       ;;
10762
10763     netbsd*)
10764       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10765         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10766       else
10767         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10768       fi
10769       hardcode_libdir_flag_spec='-R$libdir'
10770       hardcode_direct=yes
10771       hardcode_shlibpath_var=no
10772       ;;
10773
10774     newsos6)
10775       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10776       hardcode_direct=yes
10777       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10778       hardcode_libdir_separator=:
10779       hardcode_shlibpath_var=no
10780       ;;
10781
10782     *nto* | *qnx*)
10783       ;;
10784
10785     openbsd*)
10786       if test -f /usr/libexec/ld.so; then
10787         hardcode_direct=yes
10788         hardcode_shlibpath_var=no
10789         hardcode_direct_absolute=yes
10790         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10791           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10792           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10793           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10794           export_dynamic_flag_spec='${wl}-E'
10795         else
10796           case $host_os in
10797            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10798              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10799              hardcode_libdir_flag_spec='-R$libdir'
10800              ;;
10801            *)
10802              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10803              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10804              ;;
10805           esac
10806         fi
10807       else
10808         ld_shlibs=no
10809       fi
10810       ;;
10811
10812     os2*)
10813       hardcode_libdir_flag_spec='-L$libdir'
10814       hardcode_minus_L=yes
10815       allow_undefined_flag=unsupported
10816       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'
10817       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10818       ;;
10819
10820     osf3*)
10821       if test "$GCC" = yes; then
10822         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10823         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'
10824       else
10825         allow_undefined_flag=' -expect_unresolved \*'
10826         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'
10827       fi
10828       archive_cmds_need_lc='no'
10829       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10830       hardcode_libdir_separator=:
10831       ;;
10832
10833     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10834       if test "$GCC" = yes; then
10835         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10836         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'
10837         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10838       else
10839         allow_undefined_flag=' -expect_unresolved \*'
10840         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'
10841         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~
10842         $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'
10843
10844         # Both c and cxx compiler support -rpath directly
10845         hardcode_libdir_flag_spec='-rpath $libdir'
10846       fi
10847       archive_cmds_need_lc='no'
10848       hardcode_libdir_separator=:
10849       ;;
10850
10851     solaris*)
10852       no_undefined_flag=' -z defs'
10853       if test "$GCC" = yes; then
10854         wlarc='${wl}'
10855         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10856         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10857           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10858       else
10859         case `$CC -V 2>&1` in
10860         *"Compilers 5.0"*)
10861           wlarc=''
10862           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10863           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10864           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10865           ;;
10866         *)
10867           wlarc='${wl}'
10868           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10869           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10870           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10871           ;;
10872         esac
10873       fi
10874       hardcode_libdir_flag_spec='-R$libdir'
10875       hardcode_shlibpath_var=no
10876       case $host_os in
10877       solaris2.[0-5] | solaris2.[0-5].*) ;;
10878       *)
10879         # The compiler driver will combine and reorder linker options,
10880         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10881         # but is careful enough not to reorder.
10882         # Supported since Solaris 2.6 (maybe 2.5.1?)
10883         if test "$GCC" = yes; then
10884           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10885         else
10886           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10887         fi
10888         ;;
10889       esac
10890       link_all_deplibs=yes
10891       ;;
10892
10893     sunos4*)
10894       if test "x$host_vendor" = xsequent; then
10895         # Use $CC to link under sequent, because it throws in some extra .o
10896         # files that make .init and .fini sections work.
10897         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10898       else
10899         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10900       fi
10901       hardcode_libdir_flag_spec='-L$libdir'
10902       hardcode_direct=yes
10903       hardcode_minus_L=yes
10904       hardcode_shlibpath_var=no
10905       ;;
10906
10907     sysv4)
10908       case $host_vendor in
10909         sni)
10910           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10911           hardcode_direct=yes # is this really true???
10912         ;;
10913         siemens)
10914           ## LD is ld it makes a PLAMLIB
10915           ## CC just makes a GrossModule.
10916           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10917           reload_cmds='$CC -r -o $output$reload_objs'
10918           hardcode_direct=no
10919         ;;
10920         motorola)
10921           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10922           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10923         ;;
10924       esac
10925       runpath_var='LD_RUN_PATH'
10926       hardcode_shlibpath_var=no
10927       ;;
10928
10929     sysv4.3*)
10930       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10931       hardcode_shlibpath_var=no
10932       export_dynamic_flag_spec='-Bexport'
10933       ;;
10934
10935     sysv4*MP*)
10936       if test -d /usr/nec; then
10937         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10938         hardcode_shlibpath_var=no
10939         runpath_var=LD_RUN_PATH
10940         hardcode_runpath_var=yes
10941         ld_shlibs=yes
10942       fi
10943       ;;
10944
10945     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10946       no_undefined_flag='${wl}-z,text'
10947       archive_cmds_need_lc=no
10948       hardcode_shlibpath_var=no
10949       runpath_var='LD_RUN_PATH'
10950
10951       if test "$GCC" = yes; then
10952         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10953         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10954       else
10955         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10956         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10957       fi
10958       ;;
10959
10960     sysv5* | sco3.2v5* | sco5v6*)
10961       # Note: We can NOT use -z defs as we might desire, because we do not
10962       # link with -lc, and that would cause any symbols used from libc to
10963       # always be unresolved, which means just about no library would
10964       # ever link correctly.  If we're not using GNU ld we use -z text
10965       # though, which does catch some bad symbols but isn't as heavy-handed
10966       # as -z defs.
10967       no_undefined_flag='${wl}-z,text'
10968       allow_undefined_flag='${wl}-z,nodefs'
10969       archive_cmds_need_lc=no
10970       hardcode_shlibpath_var=no
10971       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10972       hardcode_libdir_separator=':'
10973       link_all_deplibs=yes
10974       export_dynamic_flag_spec='${wl}-Bexport'
10975       runpath_var='LD_RUN_PATH'
10976
10977       if test "$GCC" = yes; then
10978         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10979         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10980       else
10981         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10982         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10983       fi
10984       ;;
10985
10986     uts4*)
10987       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10988       hardcode_libdir_flag_spec='-L$libdir'
10989       hardcode_shlibpath_var=no
10990       ;;
10991
10992     *)
10993       ld_shlibs=no
10994       ;;
10995     esac
10996
10997     if test x$host_vendor = xsni; then
10998       case $host in
10999       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11000         export_dynamic_flag_spec='${wl}-Blargedynsym'
11001         ;;
11002       esac
11003     fi
11004   fi
11005
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11007 $as_echo "$ld_shlibs" >&6; }
11008 test "$ld_shlibs" = no && can_build_shared=no
11009
11010 with_gnu_ld=$with_gnu_ld
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026 #
11027 # Do we need to explicitly link libc?
11028 #
11029 case "x$archive_cmds_need_lc" in
11030 x|xyes)
11031   # Assume -lc should be added
11032   archive_cmds_need_lc=yes
11033
11034   if test "$enable_shared" = yes && test "$GCC" = yes; then
11035     case $archive_cmds in
11036     *'~'*)
11037       # FIXME: we may have to deal with multi-command sequences.
11038       ;;
11039     '$CC '*)
11040       # Test whether the compiler implicitly links with -lc since on some
11041       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11042       # to ld, don't add -lc before -lgcc.
11043       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11044 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11045 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
11046   $as_echo_n "(cached) " >&6
11047 else
11048   $RM conftest*
11049         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11050
11051         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11052   (eval $ac_compile) 2>&5
11053   ac_status=$?
11054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11055   test $ac_status = 0; } 2>conftest.err; then
11056           soname=conftest
11057           lib=conftest
11058           libobjs=conftest.$ac_objext
11059           deplibs=
11060           wl=$lt_prog_compiler_wl
11061           pic_flag=$lt_prog_compiler_pic
11062           compiler_flags=-v
11063           linker_flags=-v
11064           verstring=
11065           output_objdir=.
11066           libname=conftest
11067           lt_save_allow_undefined_flag=$allow_undefined_flag
11068           allow_undefined_flag=
11069           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11070   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11071   ac_status=$?
11072   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11073   test $ac_status = 0; }
11074           then
11075             lt_cv_archive_cmds_need_lc=no
11076           else
11077             lt_cv_archive_cmds_need_lc=yes
11078           fi
11079           allow_undefined_flag=$lt_save_allow_undefined_flag
11080         else
11081           cat conftest.err 1>&5
11082         fi
11083         $RM conftest*
11084
11085 fi
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11087 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11088       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11089       ;;
11090     esac
11091   fi
11092   ;;
11093 esac
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
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11252 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11253
11254 if test "$GCC" = yes; then
11255   case $host_os in
11256     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11257     *) lt_awk_arg="/^libraries:/" ;;
11258   esac
11259   case $host_os in
11260     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11261     *) lt_sed_strip_eq="s,=/,/,g" ;;
11262   esac
11263   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11264   case $lt_search_path_spec in
11265   *\;*)
11266     # if the path contains ";" then we assume it to be the separator
11267     # otherwise default to the standard path separator (i.e. ":") - it is
11268     # assumed that no part of a normal pathname contains ";" but that should
11269     # okay in the real world where ";" in dirpaths is itself problematic.
11270     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11271     ;;
11272   *)
11273     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11274     ;;
11275   esac
11276   # Ok, now we have the path, separated by spaces, we can step through it
11277   # and add multilib dir if necessary.
11278   lt_tmp_lt_search_path_spec=
11279   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11280   for lt_sys_path in $lt_search_path_spec; do
11281     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11282       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11283     else
11284       test -d "$lt_sys_path" && \
11285         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11286     fi
11287   done
11288   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11289 BEGIN {RS=" "; FS="/|\n";} {
11290   lt_foo="";
11291   lt_count=0;
11292   for (lt_i = NF; lt_i > 0; lt_i--) {
11293     if ($lt_i != "" && $lt_i != ".") {
11294       if ($lt_i == "..") {
11295         lt_count++;
11296       } else {
11297         if (lt_count == 0) {
11298           lt_foo="/" $lt_i lt_foo;
11299         } else {
11300           lt_count--;
11301         }
11302       }
11303     }
11304   }
11305   if (lt_foo != "") { lt_freq[lt_foo]++; }
11306   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11307 }'`
11308   # AWK program above erroneously prepends '/' to C:/dos/paths
11309   # for these hosts.
11310   case $host_os in
11311     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11312       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11313   esac
11314   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11315 else
11316   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11317 fi
11318 library_names_spec=
11319 libname_spec='lib$name'
11320 soname_spec=
11321 shrext_cmds=".so"
11322 postinstall_cmds=
11323 postuninstall_cmds=
11324 finish_cmds=
11325 finish_eval=
11326 shlibpath_var=
11327 shlibpath_overrides_runpath=unknown
11328 version_type=none
11329 dynamic_linker="$host_os ld.so"
11330 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11331 need_lib_prefix=unknown
11332 hardcode_into_libs=no
11333
11334 # when you set need_version to no, make sure it does not cause -set_version
11335 # flags to be left without arguments
11336 need_version=unknown
11337
11338 case $host_os in
11339 aix3*)
11340   version_type=linux
11341   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11342   shlibpath_var=LIBPATH
11343
11344   # AIX 3 has no versioning support, so we append a major version to the name.
11345   soname_spec='${libname}${release}${shared_ext}$major'
11346   ;;
11347
11348 aix[4-9]*)
11349   version_type=linux
11350   need_lib_prefix=no
11351   need_version=no
11352   hardcode_into_libs=yes
11353   if test "$host_cpu" = ia64; then
11354     # AIX 5 supports IA64
11355     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11356     shlibpath_var=LD_LIBRARY_PATH
11357   else
11358     # With GCC up to 2.95.x, collect2 would create an import file
11359     # for dependence libraries.  The import file would start with
11360     # the line `#! .'.  This would cause the generated library to
11361     # depend on `.', always an invalid library.  This was fixed in
11362     # development snapshots of GCC prior to 3.0.
11363     case $host_os in
11364       aix4 | aix4.[01] | aix4.[01].*)
11365       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11366            echo ' yes '
11367            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11368         :
11369       else
11370         can_build_shared=no
11371       fi
11372       ;;
11373     esac
11374     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11375     # soname into executable. Probably we can add versioning support to
11376     # collect2, so additional links can be useful in future.
11377     if test "$aix_use_runtimelinking" = yes; then
11378       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11379       # instead of lib<name>.a to let people know that these are not
11380       # typical AIX shared libraries.
11381       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11382     else
11383       # We preserve .a as extension for shared libraries through AIX4.2
11384       # and later when we are not doing run time linking.
11385       library_names_spec='${libname}${release}.a $libname.a'
11386       soname_spec='${libname}${release}${shared_ext}$major'
11387     fi
11388     shlibpath_var=LIBPATH
11389   fi
11390   ;;
11391
11392 amigaos*)
11393   case $host_cpu in
11394   powerpc)
11395     # Since July 2007 AmigaOS4 officially supports .so libraries.
11396     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11397     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398     ;;
11399   m68k)
11400     library_names_spec='$libname.ixlibrary $libname.a'
11401     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11402     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'
11403     ;;
11404   esac
11405   ;;
11406
11407 beos*)
11408   library_names_spec='${libname}${shared_ext}'
11409   dynamic_linker="$host_os ld.so"
11410   shlibpath_var=LIBRARY_PATH
11411   ;;
11412
11413 bsdi[45]*)
11414   version_type=linux
11415   need_version=no
11416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11417   soname_spec='${libname}${release}${shared_ext}$major'
11418   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11419   shlibpath_var=LD_LIBRARY_PATH
11420   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11421   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11422   # the default ld.so.conf also contains /usr/contrib/lib and
11423   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11424   # libtool to hard-code these into programs
11425   ;;
11426
11427 cygwin* | mingw* | pw32* | cegcc*)
11428   version_type=windows
11429   shrext_cmds=".dll"
11430   need_version=no
11431   need_lib_prefix=no
11432
11433   case $GCC,$host_os in
11434   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11435     library_names_spec='$libname.dll.a'
11436     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11437     postinstall_cmds='base_file=`basename \${file}`~
11438       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11439       dldir=$destdir/`dirname \$dlpath`~
11440       test -d \$dldir || mkdir -p \$dldir~
11441       $install_prog $dir/$dlname \$dldir/$dlname~
11442       chmod a+x \$dldir/$dlname~
11443       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11444         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11445       fi'
11446     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11447       dlpath=$dir/\$dldll~
11448        $RM \$dlpath'
11449     shlibpath_overrides_runpath=yes
11450
11451     case $host_os in
11452     cygwin*)
11453       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11454       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11455
11456       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11457       ;;
11458     mingw* | cegcc*)
11459       # MinGW DLLs use traditional 'lib' prefix
11460       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11461       ;;
11462     pw32*)
11463       # pw32 DLLs use 'pw' prefix rather than 'lib'
11464       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11465       ;;
11466     esac
11467     ;;
11468
11469   *)
11470     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11471     ;;
11472   esac
11473   dynamic_linker='Win32 ld.exe'
11474   # FIXME: first we should search . and the directory the executable is in
11475   shlibpath_var=PATH
11476   ;;
11477
11478 darwin* | rhapsody*)
11479   dynamic_linker="$host_os dyld"
11480   version_type=darwin
11481   need_lib_prefix=no
11482   need_version=no
11483   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11484   soname_spec='${libname}${release}${major}$shared_ext'
11485   shlibpath_overrides_runpath=yes
11486   shlibpath_var=DYLD_LIBRARY_PATH
11487   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11488
11489   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11490   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11491   ;;
11492
11493 dgux*)
11494   version_type=linux
11495   need_lib_prefix=no
11496   need_version=no
11497   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11498   soname_spec='${libname}${release}${shared_ext}$major'
11499   shlibpath_var=LD_LIBRARY_PATH
11500   ;;
11501
11502 freebsd* | dragonfly*)
11503   # DragonFly does not have aout.  When/if they implement a new
11504   # versioning mechanism, adjust this.
11505   if test -x /usr/bin/objformat; then
11506     objformat=`/usr/bin/objformat`
11507   else
11508     case $host_os in
11509     freebsd[23].*) objformat=aout ;;
11510     *) objformat=elf ;;
11511     esac
11512   fi
11513   version_type=freebsd-$objformat
11514   case $version_type in
11515     freebsd-elf*)
11516       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11517       need_version=no
11518       need_lib_prefix=no
11519       ;;
11520     freebsd-*)
11521       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11522       need_version=yes
11523       ;;
11524   esac
11525   shlibpath_var=LD_LIBRARY_PATH
11526   case $host_os in
11527   freebsd2.*)
11528     shlibpath_overrides_runpath=yes
11529     ;;
11530   freebsd3.[01]* | freebsdelf3.[01]*)
11531     shlibpath_overrides_runpath=yes
11532     hardcode_into_libs=yes
11533     ;;
11534   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11535   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11536     shlibpath_overrides_runpath=no
11537     hardcode_into_libs=yes
11538     ;;
11539   *) # from 4.6 on, and DragonFly
11540     shlibpath_overrides_runpath=yes
11541     hardcode_into_libs=yes
11542     ;;
11543   esac
11544   ;;
11545
11546 gnu*)
11547   version_type=linux
11548   need_lib_prefix=no
11549   need_version=no
11550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11551   soname_spec='${libname}${release}${shared_ext}$major'
11552   shlibpath_var=LD_LIBRARY_PATH
11553   hardcode_into_libs=yes
11554   ;;
11555
11556 haiku*)
11557   version_type=linux
11558   need_lib_prefix=no
11559   need_version=no
11560   dynamic_linker="$host_os runtime_loader"
11561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11562   soname_spec='${libname}${release}${shared_ext}$major'
11563   shlibpath_var=LIBRARY_PATH
11564   shlibpath_overrides_runpath=yes
11565   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11566   hardcode_into_libs=yes
11567   ;;
11568
11569 hpux9* | hpux10* | hpux11*)
11570   # Give a soname corresponding to the major version so that dld.sl refuses to
11571   # link against other versions.
11572   version_type=sunos
11573   need_lib_prefix=no
11574   need_version=no
11575   case $host_cpu in
11576   ia64*)
11577     shrext_cmds='.so'
11578     hardcode_into_libs=yes
11579     dynamic_linker="$host_os dld.so"
11580     shlibpath_var=LD_LIBRARY_PATH
11581     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11582     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11583     soname_spec='${libname}${release}${shared_ext}$major'
11584     if test "X$HPUX_IA64_MODE" = X32; then
11585       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11586     else
11587       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11588     fi
11589     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11590     ;;
11591   hppa*64*)
11592     shrext_cmds='.sl'
11593     hardcode_into_libs=yes
11594     dynamic_linker="$host_os dld.sl"
11595     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11596     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11597     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11598     soname_spec='${libname}${release}${shared_ext}$major'
11599     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11600     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11601     ;;
11602   *)
11603     shrext_cmds='.sl'
11604     dynamic_linker="$host_os dld.sl"
11605     shlibpath_var=SHLIB_PATH
11606     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11607     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608     soname_spec='${libname}${release}${shared_ext}$major'
11609     ;;
11610   esac
11611   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11612   postinstall_cmds='chmod 555 $lib'
11613   # or fails outright, so override atomically:
11614   install_override_mode=555
11615   ;;
11616
11617 interix[3-9]*)
11618   version_type=linux
11619   need_lib_prefix=no
11620   need_version=no
11621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11622   soname_spec='${libname}${release}${shared_ext}$major'
11623   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11624   shlibpath_var=LD_LIBRARY_PATH
11625   shlibpath_overrides_runpath=no
11626   hardcode_into_libs=yes
11627   ;;
11628
11629 irix5* | irix6* | nonstopux*)
11630   case $host_os in
11631     nonstopux*) version_type=nonstopux ;;
11632     *)
11633         if test "$lt_cv_prog_gnu_ld" = yes; then
11634                 version_type=linux
11635         else
11636                 version_type=irix
11637         fi ;;
11638   esac
11639   need_lib_prefix=no
11640   need_version=no
11641   soname_spec='${libname}${release}${shared_ext}$major'
11642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11643   case $host_os in
11644   irix5* | nonstopux*)
11645     libsuff= shlibsuff=
11646     ;;
11647   *)
11648     case $LD in # libtool.m4 will add one of these switches to LD
11649     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11650       libsuff= shlibsuff= libmagic=32-bit;;
11651     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11652       libsuff=32 shlibsuff=N32 libmagic=N32;;
11653     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11654       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11655     *) libsuff= shlibsuff= libmagic=never-match;;
11656     esac
11657     ;;
11658   esac
11659   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11660   shlibpath_overrides_runpath=no
11661   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11662   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11663   hardcode_into_libs=yes
11664   ;;
11665
11666 # No shared lib support for Linux oldld, aout, or coff.
11667 linux*oldld* | linux*aout* | linux*coff*)
11668   dynamic_linker=no
11669   ;;
11670
11671 # This must be Linux ELF.
11672 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11673   version_type=linux
11674   need_lib_prefix=no
11675   need_version=no
11676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11677   soname_spec='${libname}${release}${shared_ext}$major'
11678   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11679   shlibpath_var=LD_LIBRARY_PATH
11680   shlibpath_overrides_runpath=no
11681
11682   # Some binutils ld are patched to set DT_RUNPATH
11683   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11684   $as_echo_n "(cached) " >&6
11685 else
11686   lt_cv_shlibpath_overrides_runpath=no
11687     save_LDFLAGS=$LDFLAGS
11688     save_libdir=$libdir
11689     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11690          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11691     if test x$gcc_no_link = xyes; then
11692   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11693 fi
11694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h.  */
11696
11697 int
11698 main ()
11699 {
11700
11701   ;
11702   return 0;
11703 }
11704 _ACEOF
11705 if ac_fn_c_try_link "$LINENO"; then :
11706   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11707   lt_cv_shlibpath_overrides_runpath=yes
11708 fi
11709 fi
11710 rm -f core conftest.err conftest.$ac_objext \
11711     conftest$ac_exeext conftest.$ac_ext
11712     LDFLAGS=$save_LDFLAGS
11713     libdir=$save_libdir
11714
11715 fi
11716
11717   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11718
11719   # This implies no fast_install, which is unacceptable.
11720   # Some rework will be needed to allow for fast_install
11721   # before this can be enabled.
11722   hardcode_into_libs=yes
11723
11724   # Append ld.so.conf contents to the search path
11725   if test -f /etc/ld.so.conf; then
11726     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' ' '`
11727     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11728   fi
11729
11730   # We used to test for /lib/ld.so.1 and disable shared libraries on
11731   # powerpc, because MkLinux only supported shared libraries with the
11732   # GNU dynamic linker.  Since this was broken with cross compilers,
11733   # most powerpc-linux boxes support dynamic linking these days and
11734   # people can always --disable-shared, the test was removed, and we
11735   # assume the GNU/Linux dynamic linker is in use.
11736   dynamic_linker='GNU/Linux ld.so'
11737   ;;
11738
11739 netbsd*)
11740   version_type=sunos
11741   need_lib_prefix=no
11742   need_version=no
11743   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11744     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11745     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11746     dynamic_linker='NetBSD (a.out) ld.so'
11747   else
11748     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11749     soname_spec='${libname}${release}${shared_ext}$major'
11750     dynamic_linker='NetBSD ld.elf_so'
11751   fi
11752   shlibpath_var=LD_LIBRARY_PATH
11753   shlibpath_overrides_runpath=yes
11754   hardcode_into_libs=yes
11755   ;;
11756
11757 newsos6)
11758   version_type=linux
11759   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11760   shlibpath_var=LD_LIBRARY_PATH
11761   shlibpath_overrides_runpath=yes
11762   ;;
11763
11764 *nto* | *qnx*)
11765   version_type=qnx
11766   need_lib_prefix=no
11767   need_version=no
11768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11769   soname_spec='${libname}${release}${shared_ext}$major'
11770   shlibpath_var=LD_LIBRARY_PATH
11771   shlibpath_overrides_runpath=no
11772   hardcode_into_libs=yes
11773   dynamic_linker='ldqnx.so'
11774   ;;
11775
11776 openbsd*)
11777   version_type=sunos
11778   sys_lib_dlsearch_path_spec="/usr/lib"
11779   need_lib_prefix=no
11780   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11781   case $host_os in
11782     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11783     *)                          need_version=no  ;;
11784   esac
11785   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11786   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11787   shlibpath_var=LD_LIBRARY_PATH
11788   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11789     case $host_os in
11790       openbsd2.[89] | openbsd2.[89].*)
11791         shlibpath_overrides_runpath=no
11792         ;;
11793       *)
11794         shlibpath_overrides_runpath=yes
11795         ;;
11796       esac
11797   else
11798     shlibpath_overrides_runpath=yes
11799   fi
11800   ;;
11801
11802 os2*)
11803   libname_spec='$name'
11804   shrext_cmds=".dll"
11805   need_lib_prefix=no
11806   library_names_spec='$libname${shared_ext} $libname.a'
11807   dynamic_linker='OS/2 ld.exe'
11808   shlibpath_var=LIBPATH
11809   ;;
11810
11811 osf3* | osf4* | osf5*)
11812   version_type=osf
11813   need_lib_prefix=no
11814   need_version=no
11815   soname_spec='${libname}${release}${shared_ext}$major'
11816   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817   shlibpath_var=LD_LIBRARY_PATH
11818   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11819   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11820   ;;
11821
11822 rdos*)
11823   dynamic_linker=no
11824   ;;
11825
11826 solaris*)
11827   version_type=linux
11828   need_lib_prefix=no
11829   need_version=no
11830   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11831   soname_spec='${libname}${release}${shared_ext}$major'
11832   shlibpath_var=LD_LIBRARY_PATH
11833   shlibpath_overrides_runpath=yes
11834   hardcode_into_libs=yes
11835   # ldd complains unless libraries are executable
11836   postinstall_cmds='chmod +x $lib'
11837   ;;
11838
11839 sunos4*)
11840   version_type=sunos
11841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11842   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11843   shlibpath_var=LD_LIBRARY_PATH
11844   shlibpath_overrides_runpath=yes
11845   if test "$with_gnu_ld" = yes; then
11846     need_lib_prefix=no
11847   fi
11848   need_version=yes
11849   ;;
11850
11851 sysv4 | sysv4.3*)
11852   version_type=linux
11853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11854   soname_spec='${libname}${release}${shared_ext}$major'
11855   shlibpath_var=LD_LIBRARY_PATH
11856   case $host_vendor in
11857     sni)
11858       shlibpath_overrides_runpath=no
11859       need_lib_prefix=no
11860       runpath_var=LD_RUN_PATH
11861       ;;
11862     siemens)
11863       need_lib_prefix=no
11864       ;;
11865     motorola)
11866       need_lib_prefix=no
11867       need_version=no
11868       shlibpath_overrides_runpath=no
11869       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11870       ;;
11871   esac
11872   ;;
11873
11874 sysv4*MP*)
11875   if test -d /usr/nec ;then
11876     version_type=linux
11877     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11878     soname_spec='$libname${shared_ext}.$major'
11879     shlibpath_var=LD_LIBRARY_PATH
11880   fi
11881   ;;
11882
11883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11884   version_type=freebsd-elf
11885   need_lib_prefix=no
11886   need_version=no
11887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11888   soname_spec='${libname}${release}${shared_ext}$major'
11889   shlibpath_var=LD_LIBRARY_PATH
11890   shlibpath_overrides_runpath=yes
11891   hardcode_into_libs=yes
11892   if test "$with_gnu_ld" = yes; then
11893     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11894   else
11895     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11896     case $host_os in
11897       sco3.2v5*)
11898         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11899         ;;
11900     esac
11901   fi
11902   sys_lib_dlsearch_path_spec='/usr/lib'
11903   ;;
11904
11905 tpf*)
11906   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11907   version_type=linux
11908   need_lib_prefix=no
11909   need_version=no
11910   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11911   shlibpath_var=LD_LIBRARY_PATH
11912   shlibpath_overrides_runpath=no
11913   hardcode_into_libs=yes
11914   ;;
11915
11916 uts4*)
11917   version_type=linux
11918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11919   soname_spec='${libname}${release}${shared_ext}$major'
11920   shlibpath_var=LD_LIBRARY_PATH
11921   ;;
11922
11923 *)
11924   dynamic_linker=no
11925   ;;
11926 esac
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11928 $as_echo "$dynamic_linker" >&6; }
11929 test "$dynamic_linker" = no && can_build_shared=no
11930
11931 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11932 if test "$GCC" = yes; then
11933   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11934 fi
11935
11936 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11937   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11938 fi
11939 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11940   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11941 fi
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
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12035 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12036 hardcode_action=
12037 if test -n "$hardcode_libdir_flag_spec" ||
12038    test -n "$runpath_var" ||
12039    test "X$hardcode_automatic" = "Xyes" ; then
12040
12041   # We can hardcode non-existent directories.
12042   if test "$hardcode_direct" != no &&
12043      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12044      # have to relink, otherwise we might link with an installed library
12045      # when we should be linking with a yet-to-be-installed one
12046      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12047      test "$hardcode_minus_L" != no; then
12048     # Linking always hardcodes the temporary library directory.
12049     hardcode_action=relink
12050   else
12051     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12052     hardcode_action=immediate
12053   fi
12054 else
12055   # We cannot hardcode anything, or else we can only hardcode existing
12056   # directories.
12057   hardcode_action=unsupported
12058 fi
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12060 $as_echo "$hardcode_action" >&6; }
12061
12062 if test "$hardcode_action" = relink ||
12063    test "$inherit_rpath" = yes; then
12064   # Fast installation is not supported
12065   enable_fast_install=no
12066 elif test "$shlibpath_overrides_runpath" = yes ||
12067      test "$enable_shared" = no; then
12068   # Fast installation is not necessary
12069   enable_fast_install=needless
12070 fi
12071
12072
12073
12074
12075
12076
12077   if test "x$enable_dlopen" != xyes; then
12078   enable_dlopen=unknown
12079   enable_dlopen_self=unknown
12080   enable_dlopen_self_static=unknown
12081 else
12082   lt_cv_dlopen=no
12083   lt_cv_dlopen_libs=
12084
12085   case $host_os in
12086   beos*)
12087     lt_cv_dlopen="load_add_on"
12088     lt_cv_dlopen_libs=
12089     lt_cv_dlopen_self=yes
12090     ;;
12091
12092   mingw* | pw32* | cegcc*)
12093     lt_cv_dlopen="LoadLibrary"
12094     lt_cv_dlopen_libs=
12095     ;;
12096
12097   cygwin*)
12098     lt_cv_dlopen="dlopen"
12099     lt_cv_dlopen_libs=
12100     ;;
12101
12102   darwin*)
12103   # if libdl is installed we need to link against it
12104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12105 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12106 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12107   $as_echo_n "(cached) " >&6
12108 else
12109   ac_check_lib_save_LIBS=$LIBS
12110 LIBS="-ldl  $LIBS"
12111 if test x$gcc_no_link = xyes; then
12112   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12113 fi
12114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115 /* end confdefs.h.  */
12116
12117 /* Override any GCC internal prototype to avoid an error.
12118    Use char because int might match the return type of a GCC
12119    builtin and then its argument prototype would still apply.  */
12120 #ifdef __cplusplus
12121 extern "C"
12122 #endif
12123 char dlopen ();
12124 int
12125 main ()
12126 {
12127 return dlopen ();
12128   ;
12129   return 0;
12130 }
12131 _ACEOF
12132 if ac_fn_c_try_link "$LINENO"; then :
12133   ac_cv_lib_dl_dlopen=yes
12134 else
12135   ac_cv_lib_dl_dlopen=no
12136 fi
12137 rm -f core conftest.err conftest.$ac_objext \
12138     conftest$ac_exeext conftest.$ac_ext
12139 LIBS=$ac_check_lib_save_LIBS
12140 fi
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12142 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12143 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12144   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12145 else
12146
12147     lt_cv_dlopen="dyld"
12148     lt_cv_dlopen_libs=
12149     lt_cv_dlopen_self=yes
12150
12151 fi
12152
12153     ;;
12154
12155   *)
12156     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12157 if test "x$ac_cv_func_shl_load" = x""yes; then :
12158   lt_cv_dlopen="shl_load"
12159 else
12160   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12161 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12162 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12163   $as_echo_n "(cached) " >&6
12164 else
12165   ac_check_lib_save_LIBS=$LIBS
12166 LIBS="-ldld  $LIBS"
12167 if test x$gcc_no_link = xyes; then
12168   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12169 fi
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h.  */
12172
12173 /* Override any GCC internal prototype to avoid an error.
12174    Use char because int might match the return type of a GCC
12175    builtin and then its argument prototype would still apply.  */
12176 #ifdef __cplusplus
12177 extern "C"
12178 #endif
12179 char shl_load ();
12180 int
12181 main ()
12182 {
12183 return shl_load ();
12184   ;
12185   return 0;
12186 }
12187 _ACEOF
12188 if ac_fn_c_try_link "$LINENO"; then :
12189   ac_cv_lib_dld_shl_load=yes
12190 else
12191   ac_cv_lib_dld_shl_load=no
12192 fi
12193 rm -f core conftest.err conftest.$ac_objext \
12194     conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12196 fi
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12198 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12199 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12200   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12201 else
12202   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12203 if test "x$ac_cv_func_dlopen" = x""yes; then :
12204   lt_cv_dlopen="dlopen"
12205 else
12206   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12207 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12208 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12209   $as_echo_n "(cached) " >&6
12210 else
12211   ac_check_lib_save_LIBS=$LIBS
12212 LIBS="-ldl  $LIBS"
12213 if test x$gcc_no_link = xyes; then
12214   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12215 fi
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h.  */
12218
12219 /* Override any GCC internal prototype to avoid an error.
12220    Use char because int might match the return type of a GCC
12221    builtin and then its argument prototype would still apply.  */
12222 #ifdef __cplusplus
12223 extern "C"
12224 #endif
12225 char dlopen ();
12226 int
12227 main ()
12228 {
12229 return dlopen ();
12230   ;
12231   return 0;
12232 }
12233 _ACEOF
12234 if ac_fn_c_try_link "$LINENO"; then :
12235   ac_cv_lib_dl_dlopen=yes
12236 else
12237   ac_cv_lib_dl_dlopen=no
12238 fi
12239 rm -f core conftest.err conftest.$ac_objext \
12240     conftest$ac_exeext conftest.$ac_ext
12241 LIBS=$ac_check_lib_save_LIBS
12242 fi
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12244 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12245 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12246   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12247 else
12248   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12249 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12250 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12251   $as_echo_n "(cached) " >&6
12252 else
12253   ac_check_lib_save_LIBS=$LIBS
12254 LIBS="-lsvld  $LIBS"
12255 if test x$gcc_no_link = xyes; then
12256   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12257 fi
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h.  */
12260
12261 /* Override any GCC internal prototype to avoid an error.
12262    Use char because int might match the return type of a GCC
12263    builtin and then its argument prototype would still apply.  */
12264 #ifdef __cplusplus
12265 extern "C"
12266 #endif
12267 char dlopen ();
12268 int
12269 main ()
12270 {
12271 return dlopen ();
12272   ;
12273   return 0;
12274 }
12275 _ACEOF
12276 if ac_fn_c_try_link "$LINENO"; then :
12277   ac_cv_lib_svld_dlopen=yes
12278 else
12279   ac_cv_lib_svld_dlopen=no
12280 fi
12281 rm -f core conftest.err conftest.$ac_objext \
12282     conftest$ac_exeext conftest.$ac_ext
12283 LIBS=$ac_check_lib_save_LIBS
12284 fi
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12286 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12287 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12288   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12289 else
12290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12291 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12292 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12293   $as_echo_n "(cached) " >&6
12294 else
12295   ac_check_lib_save_LIBS=$LIBS
12296 LIBS="-ldld  $LIBS"
12297 if test x$gcc_no_link = xyes; then
12298   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12299 fi
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h.  */
12302
12303 /* Override any GCC internal prototype to avoid an error.
12304    Use char because int might match the return type of a GCC
12305    builtin and then its argument prototype would still apply.  */
12306 #ifdef __cplusplus
12307 extern "C"
12308 #endif
12309 char dld_link ();
12310 int
12311 main ()
12312 {
12313 return dld_link ();
12314   ;
12315   return 0;
12316 }
12317 _ACEOF
12318 if ac_fn_c_try_link "$LINENO"; then :
12319   ac_cv_lib_dld_dld_link=yes
12320 else
12321   ac_cv_lib_dld_dld_link=no
12322 fi
12323 rm -f core conftest.err conftest.$ac_objext \
12324     conftest$ac_exeext conftest.$ac_ext
12325 LIBS=$ac_check_lib_save_LIBS
12326 fi
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12328 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12329 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12330   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12331 fi
12332
12333
12334 fi
12335
12336
12337 fi
12338
12339
12340 fi
12341
12342
12343 fi
12344
12345
12346 fi
12347
12348     ;;
12349   esac
12350
12351   if test "x$lt_cv_dlopen" != xno; then
12352     enable_dlopen=yes
12353   else
12354     enable_dlopen=no
12355   fi
12356
12357   case $lt_cv_dlopen in
12358   dlopen)
12359     save_CPPFLAGS="$CPPFLAGS"
12360     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12361
12362     save_LDFLAGS="$LDFLAGS"
12363     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12364
12365     save_LIBS="$LIBS"
12366     LIBS="$lt_cv_dlopen_libs $LIBS"
12367
12368     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12369 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12370 if test "${lt_cv_dlopen_self+set}" = set; then :
12371   $as_echo_n "(cached) " >&6
12372 else
12373           if test "$cross_compiling" = yes; then :
12374   lt_cv_dlopen_self=cross
12375 else
12376   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12377   lt_status=$lt_dlunknown
12378   cat > conftest.$ac_ext <<_LT_EOF
12379 #line 12379 "configure"
12380 #include "confdefs.h"
12381
12382 #if HAVE_DLFCN_H
12383 #include <dlfcn.h>
12384 #endif
12385
12386 #include <stdio.h>
12387
12388 #ifdef RTLD_GLOBAL
12389 #  define LT_DLGLOBAL           RTLD_GLOBAL
12390 #else
12391 #  ifdef DL_GLOBAL
12392 #    define LT_DLGLOBAL         DL_GLOBAL
12393 #  else
12394 #    define LT_DLGLOBAL         0
12395 #  endif
12396 #endif
12397
12398 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12399    find out it does not work in some platform. */
12400 #ifndef LT_DLLAZY_OR_NOW
12401 #  ifdef RTLD_LAZY
12402 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12403 #  else
12404 #    ifdef DL_LAZY
12405 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12406 #    else
12407 #      ifdef RTLD_NOW
12408 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12409 #      else
12410 #        ifdef DL_NOW
12411 #          define LT_DLLAZY_OR_NOW      DL_NOW
12412 #        else
12413 #          define LT_DLLAZY_OR_NOW      0
12414 #        endif
12415 #      endif
12416 #    endif
12417 #  endif
12418 #endif
12419
12420 /* When -fvisbility=hidden is used, assume the code has been annotated
12421    correspondingly for the symbols needed.  */
12422 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12423 void fnord () __attribute__((visibility("default")));
12424 #endif
12425
12426 void fnord () { int i=42; }
12427 int main ()
12428 {
12429   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12430   int status = $lt_dlunknown;
12431
12432   if (self)
12433     {
12434       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12435       else
12436         {
12437           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12438           else puts (dlerror ());
12439         }
12440       /* dlclose (self); */
12441     }
12442   else
12443     puts (dlerror ());
12444
12445   return status;
12446 }
12447 _LT_EOF
12448   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12449   (eval $ac_link) 2>&5
12450   ac_status=$?
12451   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12452   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12453     (./conftest; exit; ) >&5 2>/dev/null
12454     lt_status=$?
12455     case x$lt_status in
12456       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12457       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12458       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12459     esac
12460   else :
12461     # compilation failed
12462     lt_cv_dlopen_self=no
12463   fi
12464 fi
12465 rm -fr conftest*
12466
12467
12468 fi
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12470 $as_echo "$lt_cv_dlopen_self" >&6; }
12471
12472     if test "x$lt_cv_dlopen_self" = xyes; then
12473       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12474       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12475 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12476 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12477   $as_echo_n "(cached) " >&6
12478 else
12479           if test "$cross_compiling" = yes; then :
12480   lt_cv_dlopen_self_static=cross
12481 else
12482   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12483   lt_status=$lt_dlunknown
12484   cat > conftest.$ac_ext <<_LT_EOF
12485 #line 12485 "configure"
12486 #include "confdefs.h"
12487
12488 #if HAVE_DLFCN_H
12489 #include <dlfcn.h>
12490 #endif
12491
12492 #include <stdio.h>
12493
12494 #ifdef RTLD_GLOBAL
12495 #  define LT_DLGLOBAL           RTLD_GLOBAL
12496 #else
12497 #  ifdef DL_GLOBAL
12498 #    define LT_DLGLOBAL         DL_GLOBAL
12499 #  else
12500 #    define LT_DLGLOBAL         0
12501 #  endif
12502 #endif
12503
12504 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12505    find out it does not work in some platform. */
12506 #ifndef LT_DLLAZY_OR_NOW
12507 #  ifdef RTLD_LAZY
12508 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12509 #  else
12510 #    ifdef DL_LAZY
12511 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12512 #    else
12513 #      ifdef RTLD_NOW
12514 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12515 #      else
12516 #        ifdef DL_NOW
12517 #          define LT_DLLAZY_OR_NOW      DL_NOW
12518 #        else
12519 #          define LT_DLLAZY_OR_NOW      0
12520 #        endif
12521 #      endif
12522 #    endif
12523 #  endif
12524 #endif
12525
12526 /* When -fvisbility=hidden is used, assume the code has been annotated
12527    correspondingly for the symbols needed.  */
12528 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12529 void fnord () __attribute__((visibility("default")));
12530 #endif
12531
12532 void fnord () { int i=42; }
12533 int main ()
12534 {
12535   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12536   int status = $lt_dlunknown;
12537
12538   if (self)
12539     {
12540       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12541       else
12542         {
12543           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12544           else puts (dlerror ());
12545         }
12546       /* dlclose (self); */
12547     }
12548   else
12549     puts (dlerror ());
12550
12551   return status;
12552 }
12553 _LT_EOF
12554   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12555   (eval $ac_link) 2>&5
12556   ac_status=$?
12557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12558   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12559     (./conftest; exit; ) >&5 2>/dev/null
12560     lt_status=$?
12561     case x$lt_status in
12562       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12563       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12564       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12565     esac
12566   else :
12567     # compilation failed
12568     lt_cv_dlopen_self_static=no
12569   fi
12570 fi
12571 rm -fr conftest*
12572
12573
12574 fi
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12576 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12577     fi
12578
12579     CPPFLAGS="$save_CPPFLAGS"
12580     LDFLAGS="$save_LDFLAGS"
12581     LIBS="$save_LIBS"
12582     ;;
12583   esac
12584
12585   case $lt_cv_dlopen_self in
12586   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12587   *) enable_dlopen_self=unknown ;;
12588   esac
12589
12590   case $lt_cv_dlopen_self_static in
12591   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12592   *) enable_dlopen_self_static=unknown ;;
12593   esac
12594 fi
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612 striplib=
12613 old_striplib=
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12615 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12616 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12617   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12618   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12620 $as_echo "yes" >&6; }
12621 else
12622 # FIXME - insert some real tests, host_os isn't really good enough
12623   case $host_os in
12624   darwin*)
12625     if test -n "$STRIP" ; then
12626       striplib="$STRIP -x"
12627       old_striplib="$STRIP -S"
12628       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12629 $as_echo "yes" >&6; }
12630     else
12631       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632 $as_echo "no" >&6; }
12633     fi
12634     ;;
12635   *)
12636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637 $as_echo "no" >&6; }
12638     ;;
12639   esac
12640 fi
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653   # Report which library types will actually be built
12654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12655 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12656   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12657 $as_echo "$can_build_shared" >&6; }
12658
12659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12660 $as_echo_n "checking whether to build shared libraries... " >&6; }
12661   test "$can_build_shared" = "no" && enable_shared=no
12662
12663   # On AIX, shared libraries and static libraries use the same namespace, and
12664   # are all built from PIC.
12665   case $host_os in
12666   aix3*)
12667     test "$enable_shared" = yes && enable_static=no
12668     if test -n "$RANLIB"; then
12669       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12670       postinstall_cmds='$RANLIB $lib'
12671     fi
12672     ;;
12673
12674   aix[4-9]*)
12675     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12676       test "$enable_shared" = yes && enable_static=no
12677     fi
12678     ;;
12679   esac
12680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12681 $as_echo "$enable_shared" >&6; }
12682
12683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12684 $as_echo_n "checking whether to build static libraries... " >&6; }
12685   # Make sure either enable_shared or enable_static is yes.
12686   test "$enable_shared" = yes || enable_static=yes
12687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12688 $as_echo "$enable_static" >&6; }
12689
12690
12691
12692
12693 fi
12694 ac_ext=c
12695 ac_cpp='$CPP $CPPFLAGS'
12696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12699
12700 CC="$lt_save_CC"
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714         ac_config_commands="$ac_config_commands libtool"
12715
12716
12717
12718
12719 # Only expand once:
12720
12721
12722
12723
12724
12725 case $host in
12726   *-cygwin* | *-mingw*)
12727     # 'host' will be top-level target in the case of a target lib,
12728     # we must compare to with_cross_host to decide if this is a native
12729     # or cross-compiler and select where to install dlls appropriately.
12730     if test -n "$with_cross_host" &&
12731         test x"$with_cross_host" != x"no"; then
12732       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12733     else
12734       lt_host_flags='-no-undefined -bindir "$(bindir)"';
12735     fi
12736     ;;
12737   *)
12738     lt_host_flags=
12739     ;;
12740 esac
12741
12742
12743
12744
12745
12746 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12747
12748 # We need gfortran to compile parts of the library
12749 #AC_PROG_FC(gfortran)
12750 FC="$GFORTRAN"
12751 ac_ext=${ac_fc_srcext-f}
12752 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12753 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12754 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12755 if test -n "$ac_tool_prefix"; then
12756   for ac_prog in gfortran
12757   do
12758     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12761 $as_echo_n "checking for $ac_word... " >&6; }
12762 if test "${ac_cv_prog_FC+set}" = set; then :
12763   $as_echo_n "(cached) " >&6
12764 else
12765   if test -n "$FC"; then
12766   ac_cv_prog_FC="$FC" # Let the user override the test.
12767 else
12768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12769 for as_dir in $PATH
12770 do
12771   IFS=$as_save_IFS
12772   test -z "$as_dir" && as_dir=.
12773     for ac_exec_ext in '' $ac_executable_extensions; do
12774   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12775     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12776     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12777     break 2
12778   fi
12779 done
12780   done
12781 IFS=$as_save_IFS
12782
12783 fi
12784 fi
12785 FC=$ac_cv_prog_FC
12786 if test -n "$FC"; then
12787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12788 $as_echo "$FC" >&6; }
12789 else
12790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12791 $as_echo "no" >&6; }
12792 fi
12793
12794
12795     test -n "$FC" && break
12796   done
12797 fi
12798 if test -z "$FC"; then
12799   ac_ct_FC=$FC
12800   for ac_prog in gfortran
12801 do
12802   # Extract the first word of "$ac_prog", so it can be a program name with args.
12803 set dummy $ac_prog; ac_word=$2
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12805 $as_echo_n "checking for $ac_word... " >&6; }
12806 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12807   $as_echo_n "(cached) " >&6
12808 else
12809   if test -n "$ac_ct_FC"; then
12810   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12811 else
12812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12813 for as_dir in $PATH
12814 do
12815   IFS=$as_save_IFS
12816   test -z "$as_dir" && as_dir=.
12817     for ac_exec_ext in '' $ac_executable_extensions; do
12818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12819     ac_cv_prog_ac_ct_FC="$ac_prog"
12820     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12821     break 2
12822   fi
12823 done
12824   done
12825 IFS=$as_save_IFS
12826
12827 fi
12828 fi
12829 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12830 if test -n "$ac_ct_FC"; then
12831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12832 $as_echo "$ac_ct_FC" >&6; }
12833 else
12834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12835 $as_echo "no" >&6; }
12836 fi
12837
12838
12839   test -n "$ac_ct_FC" && break
12840 done
12841
12842   if test "x$ac_ct_FC" = x; then
12843     FC=""
12844   else
12845     case $cross_compiling:$ac_tool_warned in
12846 yes:)
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12849 ac_tool_warned=yes ;;
12850 esac
12851     FC=$ac_ct_FC
12852   fi
12853 fi
12854
12855
12856 # Provide some information about the compiler.
12857 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12858 set X $ac_compile
12859 ac_compiler=$2
12860 for ac_option in --version -v -V -qversion; do
12861   { { ac_try="$ac_compiler $ac_option >&5"
12862 case "(($ac_try" in
12863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12864   *) ac_try_echo=$ac_try;;
12865 esac
12866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12867 $as_echo "$ac_try_echo"; } >&5
12868   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12869   ac_status=$?
12870   if test -s conftest.err; then
12871     sed '10a\
12872 ... rest of stderr output deleted ...
12873          10q' conftest.err >conftest.er1
12874     cat conftest.er1 >&5
12875     rm -f conftest.er1 conftest.err
12876   fi
12877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12878   test $ac_status = 0; }
12879 done
12880 rm -f a.out
12881
12882 # If we don't use `.F' as extension, the preprocessor is not run on the
12883 # input file.  (Note that this only needs to work for GNU compilers.)
12884 ac_save_ext=$ac_ext
12885 ac_ext=F
12886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12887 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12888 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12889   $as_echo_n "(cached) " >&6
12890 else
12891   cat > conftest.$ac_ext <<_ACEOF
12892       program main
12893 #ifndef __GNUC__
12894        choke me
12895 #endif
12896
12897       end
12898 _ACEOF
12899 if ac_fn_fc_try_compile "$LINENO"; then :
12900   ac_compiler_gnu=yes
12901 else
12902   ac_compiler_gnu=no
12903 fi
12904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12905 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12906
12907 fi
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12909 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12910 ac_ext=$ac_save_ext
12911 ac_test_FCFLAGS=${FCFLAGS+set}
12912 ac_save_FCFLAGS=$FCFLAGS
12913 FCFLAGS=
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12915 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12916 if test "${ac_cv_prog_fc_g+set}" = set; then :
12917   $as_echo_n "(cached) " >&6
12918 else
12919   FCFLAGS=-g
12920 cat > conftest.$ac_ext <<_ACEOF
12921       program main
12922
12923       end
12924 _ACEOF
12925 if ac_fn_fc_try_compile "$LINENO"; then :
12926   ac_cv_prog_fc_g=yes
12927 else
12928   ac_cv_prog_fc_g=no
12929 fi
12930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12931
12932 fi
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12934 $as_echo "$ac_cv_prog_fc_g" >&6; }
12935 if test "$ac_test_FCFLAGS" = set; then
12936   FCFLAGS=$ac_save_FCFLAGS
12937 elif test $ac_cv_prog_fc_g = yes; then
12938   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12939     FCFLAGS="-g -O2"
12940   else
12941     FCFLAGS="-g"
12942   fi
12943 else
12944   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12945     FCFLAGS="-O2"
12946   else
12947     FCFLAGS=
12948   fi
12949 fi
12950
12951 ac_ext=c
12952 ac_cpp='$CPP $CPPFLAGS'
12953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12956
12957       ac_ext=${ac_fc_srcext-f}
12958 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12959 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12960 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12961
12962
12963 if test -z "$FC" || test "X$FC" = "Xno"; then
12964   _lt_disable_FC=yes
12965 fi
12966
12967 archive_cmds_need_lc_FC=no
12968 allow_undefined_flag_FC=
12969 always_export_symbols_FC=no
12970 archive_expsym_cmds_FC=
12971 export_dynamic_flag_spec_FC=
12972 hardcode_direct_FC=no
12973 hardcode_direct_absolute_FC=no
12974 hardcode_libdir_flag_spec_FC=
12975 hardcode_libdir_flag_spec_ld_FC=
12976 hardcode_libdir_separator_FC=
12977 hardcode_minus_L_FC=no
12978 hardcode_automatic_FC=no
12979 inherit_rpath_FC=no
12980 module_cmds_FC=
12981 module_expsym_cmds_FC=
12982 link_all_deplibs_FC=unknown
12983 old_archive_cmds_FC=$old_archive_cmds
12984 reload_flag_FC=$reload_flag
12985 reload_cmds_FC=$reload_cmds
12986 no_undefined_flag_FC=
12987 whole_archive_flag_spec_FC=
12988 enable_shared_with_static_runtimes_FC=no
12989
12990 # Source file extension for fc test sources.
12991 ac_ext=${ac_fc_srcext-f}
12992
12993 # Object file extension for compiled fc test sources.
12994 objext=o
12995 objext_FC=$objext
12996
12997 # No sense in running all these tests if we already determined that
12998 # the FC compiler isn't working.  Some variables (like enable_shared)
12999 # are currently assumed to apply to all compilers on this platform,
13000 # and will be corrupted by setting them based on a non-working compiler.
13001 if test "$_lt_disable_FC" != yes; then
13002   # Code to be used in simple compile tests
13003   lt_simple_compile_test_code="\
13004       subroutine t
13005       return
13006       end
13007 "
13008
13009   # Code to be used in simple link tests
13010   lt_simple_link_test_code="\
13011       program t
13012       end
13013 "
13014
13015   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13016
13017
13018
13019
13020
13021
13022 # If no C compiler was specified, use CC.
13023 LTCC=${LTCC-"$CC"}
13024
13025 # If no C compiler flags were specified, use CFLAGS.
13026 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13027
13028 # Allow CC to be a program name with arguments.
13029 compiler=$CC
13030
13031
13032   # save warnings/boilerplate of simple test code
13033   ac_outfile=conftest.$ac_objext
13034 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13035 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13036 _lt_compiler_boilerplate=`cat conftest.err`
13037 $RM conftest*
13038
13039   ac_outfile=conftest.$ac_objext
13040 echo "$lt_simple_link_test_code" >conftest.$ac_ext
13041 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13042 _lt_linker_boilerplate=`cat conftest.err`
13043 $RM -r conftest*
13044
13045
13046   # Allow CC to be a program name with arguments.
13047   lt_save_CC="$CC"
13048   lt_save_GCC=$GCC
13049   CC=${FC-"f95"}
13050   compiler=$CC
13051   GCC=$ac_cv_fc_compiler_gnu
13052
13053   compiler_FC=$CC
13054   for cc_temp in $compiler""; do
13055   case $cc_temp in
13056     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13057     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13058     \-*) ;;
13059     *) break;;
13060   esac
13061 done
13062 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13063
13064
13065   if test -n "$compiler"; then
13066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13067 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13068     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13069 $as_echo "$can_build_shared" >&6; }
13070
13071     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13072 $as_echo_n "checking whether to build shared libraries... " >&6; }
13073     test "$can_build_shared" = "no" && enable_shared=no
13074
13075     # On AIX, shared libraries and static libraries use the same namespace, and
13076     # are all built from PIC.
13077     case $host_os in
13078       aix3*)
13079         test "$enable_shared" = yes && enable_static=no
13080         if test -n "$RANLIB"; then
13081           archive_cmds="$archive_cmds~\$RANLIB \$lib"
13082           postinstall_cmds='$RANLIB $lib'
13083         fi
13084         ;;
13085       aix[4-9]*)
13086         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13087           test "$enable_shared" = yes && enable_static=no
13088         fi
13089         ;;
13090     esac
13091     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13092 $as_echo "$enable_shared" >&6; }
13093
13094     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13095 $as_echo_n "checking whether to build static libraries... " >&6; }
13096     # Make sure either enable_shared or enable_static is yes.
13097     test "$enable_shared" = yes || enable_static=yes
13098     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13099 $as_echo "$enable_static" >&6; }
13100
13101     GCC_FC="$ac_cv_fc_compiler_gnu"
13102     LD_FC="$LD"
13103
13104     ## CAVEAT EMPTOR:
13105     ## There is no encapsulation within the following macros, do not change
13106     ## the running order or otherwise move them around unless you know exactly
13107     ## what you are doing...
13108     # Dependencies to place before and after the object being linked:
13109 predep_objects_FC=
13110 postdep_objects_FC=
13111 predeps_FC=
13112 postdeps_FC=
13113 compiler_lib_search_path_FC=
13114
13115 cat > conftest.$ac_ext <<_LT_EOF
13116       subroutine foo
13117       implicit none
13118       integer a
13119       a=0
13120       return
13121       end
13122 _LT_EOF
13123
13124 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13125   (eval $ac_compile) 2>&5
13126   ac_status=$?
13127   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13128   test $ac_status = 0; }; then
13129   # Parse the compiler output and extract the necessary
13130   # objects, libraries and library flags.
13131
13132   # Sentinel used to keep track of whether or not we are before
13133   # the conftest object file.
13134   pre_test_object_deps_done=no
13135
13136   for p in `eval "$output_verbose_link_cmd"`; do
13137     case $p in
13138
13139     -L* | -R* | -l*)
13140        # Some compilers place space between "-{L,R}" and the path.
13141        # Remove the space.
13142        if test $p = "-L" ||
13143           test $p = "-R"; then
13144          prev=$p
13145          continue
13146        else
13147          prev=
13148        fi
13149
13150        if test "$pre_test_object_deps_done" = no; then
13151          case $p in
13152          -L* | -R*)
13153            # Internal compiler library paths should come after those
13154            # provided the user.  The postdeps already come after the
13155            # user supplied libs so there is no need to process them.
13156            if test -z "$compiler_lib_search_path_FC"; then
13157              compiler_lib_search_path_FC="${prev}${p}"
13158            else
13159              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13160            fi
13161            ;;
13162          # The "-l" case would never come before the object being
13163          # linked, so don't bother handling this case.
13164          esac
13165        else
13166          if test -z "$postdeps_FC"; then
13167            postdeps_FC="${prev}${p}"
13168          else
13169            postdeps_FC="${postdeps_FC} ${prev}${p}"
13170          fi
13171        fi
13172        ;;
13173
13174     *.$objext)
13175        # This assumes that the test object file only shows up
13176        # once in the compiler output.
13177        if test "$p" = "conftest.$objext"; then
13178          pre_test_object_deps_done=yes
13179          continue
13180        fi
13181
13182        if test "$pre_test_object_deps_done" = no; then
13183          if test -z "$predep_objects_FC"; then
13184            predep_objects_FC="$p"
13185          else
13186            predep_objects_FC="$predep_objects_FC $p"
13187          fi
13188        else
13189          if test -z "$postdep_objects_FC"; then
13190            postdep_objects_FC="$p"
13191          else
13192            postdep_objects_FC="$postdep_objects_FC $p"
13193          fi
13194        fi
13195        ;;
13196
13197     *) ;; # Ignore the rest.
13198
13199     esac
13200   done
13201
13202   # Clean up.
13203   rm -f a.out a.exe
13204 else
13205   echo "libtool.m4: error: problem compiling FC test program"
13206 fi
13207
13208 $RM -f confest.$objext
13209
13210 # PORTME: override above test on systems where it is broken
13211
13212
13213 case " $postdeps_FC " in
13214 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13215 esac
13216  compiler_lib_search_dirs_FC=
13217 if test -n "${compiler_lib_search_path_FC}"; then
13218  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13219 fi
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251     lt_prog_compiler_wl_FC=
13252 lt_prog_compiler_pic_FC=
13253 lt_prog_compiler_static_FC=
13254
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13256 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13257
13258   if test "$GCC" = yes; then
13259     lt_prog_compiler_wl_FC='-Wl,'
13260     lt_prog_compiler_static_FC='-static'
13261
13262     case $host_os in
13263       aix*)
13264       # All AIX code is PIC.
13265       if test "$host_cpu" = ia64; then
13266         # AIX 5 now supports IA64 processor
13267         lt_prog_compiler_static_FC='-Bstatic'
13268       fi
13269       lt_prog_compiler_pic_FC='-fPIC'
13270       ;;
13271
13272     amigaos*)
13273       case $host_cpu in
13274       powerpc)
13275             # see comment about AmigaOS4 .so support
13276             lt_prog_compiler_pic_FC='-fPIC'
13277         ;;
13278       m68k)
13279             # FIXME: we need at least 68020 code to build shared libraries, but
13280             # adding the `-m68020' flag to GCC prevents building anything better,
13281             # like `-m68040'.
13282             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13283         ;;
13284       esac
13285       ;;
13286
13287     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13288       # PIC is the default for these OSes.
13289       ;;
13290
13291     mingw* | cygwin* | pw32* | os2* | cegcc*)
13292       # This hack is so that the source file can tell whether it is being
13293       # built for inclusion in a dll (and should export symbols for example).
13294       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13295       # (--disable-auto-import) libraries
13296       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13297       ;;
13298
13299     darwin* | rhapsody*)
13300       # PIC is the default on this platform
13301       # Common symbols not allowed in MH_DYLIB files
13302       lt_prog_compiler_pic_FC='-fno-common'
13303       ;;
13304
13305     haiku*)
13306       # PIC is the default for Haiku.
13307       # The "-static" flag exists, but is broken.
13308       lt_prog_compiler_static_FC=
13309       ;;
13310
13311     hpux*)
13312       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13313       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13314       # sets the default TLS model and affects inlining.
13315       case $host_cpu in
13316       hppa*64*)
13317         # +Z the default
13318         ;;
13319       *)
13320         lt_prog_compiler_pic_FC='-fPIC'
13321         ;;
13322       esac
13323       ;;
13324
13325     interix[3-9]*)
13326       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13327       # Instead, we relocate shared libraries at runtime.
13328       ;;
13329
13330     msdosdjgpp*)
13331       # Just because we use GCC doesn't mean we suddenly get shared libraries
13332       # on systems that don't support them.
13333       lt_prog_compiler_can_build_shared_FC=no
13334       enable_shared=no
13335       ;;
13336
13337     *nto* | *qnx*)
13338       # QNX uses GNU C++, but need to define -shared option too, otherwise
13339       # it will coredump.
13340       lt_prog_compiler_pic_FC='-fPIC -shared'
13341       ;;
13342
13343     sysv4*MP*)
13344       if test -d /usr/nec; then
13345         lt_prog_compiler_pic_FC=-Kconform_pic
13346       fi
13347       ;;
13348
13349     *)
13350       lt_prog_compiler_pic_FC='-fPIC'
13351       ;;
13352     esac
13353
13354     case $cc_basename in
13355     nvcc*) # Cuda Compiler Driver 2.2
13356       lt_prog_compiler_wl_FC='-Xlinker '
13357       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13358       ;;
13359     esac
13360   else
13361     # PORTME Check for flag to pass linker flags through the system compiler.
13362     case $host_os in
13363     aix*)
13364       lt_prog_compiler_wl_FC='-Wl,'
13365       if test "$host_cpu" = ia64; then
13366         # AIX 5 now supports IA64 processor
13367         lt_prog_compiler_static_FC='-Bstatic'
13368       else
13369         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13370       fi
13371       ;;
13372
13373     mingw* | cygwin* | pw32* | os2* | cegcc*)
13374       # This hack is so that the source file can tell whether it is being
13375       # built for inclusion in a dll (and should export symbols for example).
13376       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13377       ;;
13378
13379     hpux9* | hpux10* | hpux11*)
13380       lt_prog_compiler_wl_FC='-Wl,'
13381       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13382       # not for PA HP-UX.
13383       case $host_cpu in
13384       hppa*64*|ia64*)
13385         # +Z the default
13386         ;;
13387       *)
13388         lt_prog_compiler_pic_FC='+Z'
13389         ;;
13390       esac
13391       # Is there a better lt_prog_compiler_static that works with the bundled CC?
13392       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13393       ;;
13394
13395     irix5* | irix6* | nonstopux*)
13396       lt_prog_compiler_wl_FC='-Wl,'
13397       # PIC (with -KPIC) is the default.
13398       lt_prog_compiler_static_FC='-non_shared'
13399       ;;
13400
13401     linux* | k*bsd*-gnu | kopensolaris*-gnu)
13402       case $cc_basename in
13403       # old Intel for x86_64 which still supported -KPIC.
13404       ecc*)
13405         lt_prog_compiler_wl_FC='-Wl,'
13406         lt_prog_compiler_pic_FC='-KPIC'
13407         lt_prog_compiler_static_FC='-static'
13408         ;;
13409       # icc used to be incompatible with GCC.
13410       # ICC 10 doesn't accept -KPIC any more.
13411       icc* | ifort*)
13412         lt_prog_compiler_wl_FC='-Wl,'
13413         lt_prog_compiler_pic_FC='-fPIC'
13414         lt_prog_compiler_static_FC='-static'
13415         ;;
13416       # Lahey Fortran 8.1.
13417       lf95*)
13418         lt_prog_compiler_wl_FC='-Wl,'
13419         lt_prog_compiler_pic_FC='--shared'
13420         lt_prog_compiler_static_FC='--static'
13421         ;;
13422       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13423         # Portland Group compilers (*not* the Pentium gcc compiler,
13424         # which looks to be a dead project)
13425         lt_prog_compiler_wl_FC='-Wl,'
13426         lt_prog_compiler_pic_FC='-fpic'
13427         lt_prog_compiler_static_FC='-Bstatic'
13428         ;;
13429       ccc*)
13430         lt_prog_compiler_wl_FC='-Wl,'
13431         # All Alpha code is PIC.
13432         lt_prog_compiler_static_FC='-non_shared'
13433         ;;
13434       xl* | bgxl* | bgf* | mpixl*)
13435         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13436         lt_prog_compiler_wl_FC='-Wl,'
13437         lt_prog_compiler_pic_FC='-qpic'
13438         lt_prog_compiler_static_FC='-qstaticlink'
13439         ;;
13440       *)
13441         case `$CC -V 2>&1 | sed 5q` in
13442         *Sun\ F* | *Sun*Fortran*)
13443           # Sun Fortran 8.3 passes all unrecognized flags to the linker
13444           lt_prog_compiler_pic_FC='-KPIC'
13445           lt_prog_compiler_static_FC='-Bstatic'
13446           lt_prog_compiler_wl_FC=''
13447           ;;
13448         *Sun\ C*)
13449           # Sun C 5.9
13450           lt_prog_compiler_pic_FC='-KPIC'
13451           lt_prog_compiler_static_FC='-Bstatic'
13452           lt_prog_compiler_wl_FC='-Wl,'
13453           ;;
13454         esac
13455         ;;
13456       esac
13457       ;;
13458
13459     newsos6)
13460       lt_prog_compiler_pic_FC='-KPIC'
13461       lt_prog_compiler_static_FC='-Bstatic'
13462       ;;
13463
13464     *nto* | *qnx*)
13465       # QNX uses GNU C++, but need to define -shared option too, otherwise
13466       # it will coredump.
13467       lt_prog_compiler_pic_FC='-fPIC -shared'
13468       ;;
13469
13470     osf3* | osf4* | osf5*)
13471       lt_prog_compiler_wl_FC='-Wl,'
13472       # All OSF/1 code is PIC.
13473       lt_prog_compiler_static_FC='-non_shared'
13474       ;;
13475
13476     rdos*)
13477       lt_prog_compiler_static_FC='-non_shared'
13478       ;;
13479
13480     solaris*)
13481       lt_prog_compiler_pic_FC='-KPIC'
13482       lt_prog_compiler_static_FC='-Bstatic'
13483       case $cc_basename in
13484       f77* | f90* | f95*)
13485         lt_prog_compiler_wl_FC='-Qoption ld ';;
13486       *)
13487         lt_prog_compiler_wl_FC='-Wl,';;
13488       esac
13489       ;;
13490
13491     sunos4*)
13492       lt_prog_compiler_wl_FC='-Qoption ld '
13493       lt_prog_compiler_pic_FC='-PIC'
13494       lt_prog_compiler_static_FC='-Bstatic'
13495       ;;
13496
13497     sysv4 | sysv4.2uw2* | sysv4.3*)
13498       lt_prog_compiler_wl_FC='-Wl,'
13499       lt_prog_compiler_pic_FC='-KPIC'
13500       lt_prog_compiler_static_FC='-Bstatic'
13501       ;;
13502
13503     sysv4*MP*)
13504       if test -d /usr/nec ;then
13505         lt_prog_compiler_pic_FC='-Kconform_pic'
13506         lt_prog_compiler_static_FC='-Bstatic'
13507       fi
13508       ;;
13509
13510     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13511       lt_prog_compiler_wl_FC='-Wl,'
13512       lt_prog_compiler_pic_FC='-KPIC'
13513       lt_prog_compiler_static_FC='-Bstatic'
13514       ;;
13515
13516     unicos*)
13517       lt_prog_compiler_wl_FC='-Wl,'
13518       lt_prog_compiler_can_build_shared_FC=no
13519       ;;
13520
13521     uts4*)
13522       lt_prog_compiler_pic_FC='-pic'
13523       lt_prog_compiler_static_FC='-Bstatic'
13524       ;;
13525
13526     *)
13527       lt_prog_compiler_can_build_shared_FC=no
13528       ;;
13529     esac
13530   fi
13531
13532 case $host_os in
13533   # For platforms which do not support PIC, -DPIC is meaningless:
13534   *djgpp*)
13535     lt_prog_compiler_pic_FC=
13536     ;;
13537   *)
13538     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13539     ;;
13540 esac
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13542 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13543
13544
13545
13546 #
13547 # Check to make sure the PIC flag actually works.
13548 #
13549 if test -n "$lt_prog_compiler_pic_FC"; then
13550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13551 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13552 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13553   $as_echo_n "(cached) " >&6
13554 else
13555   lt_cv_prog_compiler_pic_works_FC=no
13556    ac_outfile=conftest.$ac_objext
13557    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13558    lt_compiler_flag="$lt_prog_compiler_pic_FC"
13559    # Insert the option either (1) after the last *FLAGS variable, or
13560    # (2) before a word containing "conftest.", or (3) at the end.
13561    # Note that $ac_compile itself does not contain backslashes and begins
13562    # with a dollar sign (not a hyphen), so the echo should work correctly.
13563    # The option is referenced via a variable to avoid confusing sed.
13564    lt_compile=`echo "$ac_compile" | $SED \
13565    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13566    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13567    -e 's:$: $lt_compiler_flag:'`
13568    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13569    (eval "$lt_compile" 2>conftest.err)
13570    ac_status=$?
13571    cat conftest.err >&5
13572    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13573    if (exit $ac_status) && test -s "$ac_outfile"; then
13574      # The compiler can only warn and ignore the option if not recognized
13575      # So say no if there are warnings other than the usual output.
13576      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13577      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13578      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13579        lt_cv_prog_compiler_pic_works_FC=yes
13580      fi
13581    fi
13582    $RM conftest*
13583
13584 fi
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13586 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13587
13588 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13589     case $lt_prog_compiler_pic_FC in
13590      "" | " "*) ;;
13591      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13592      esac
13593 else
13594     lt_prog_compiler_pic_FC=
13595      lt_prog_compiler_can_build_shared_FC=no
13596 fi
13597
13598 fi
13599
13600
13601
13602 #
13603 # Check to make sure the static flag actually works.
13604 #
13605 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13607 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13608 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13609   $as_echo_n "(cached) " >&6
13610 else
13611   lt_cv_prog_compiler_static_works_FC=no
13612    save_LDFLAGS="$LDFLAGS"
13613    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13614    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13615    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13616      # The linker can only warn and ignore the option if not recognized
13617      # So say no if there are warnings
13618      if test -s conftest.err; then
13619        # Append any errors to the config.log.
13620        cat conftest.err 1>&5
13621        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13622        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13623        if diff conftest.exp conftest.er2 >/dev/null; then
13624          lt_cv_prog_compiler_static_works_FC=yes
13625        fi
13626      else
13627        lt_cv_prog_compiler_static_works_FC=yes
13628      fi
13629    fi
13630    $RM -r conftest*
13631    LDFLAGS="$save_LDFLAGS"
13632
13633 fi
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13635 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13636
13637 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13638     :
13639 else
13640     lt_prog_compiler_static_FC=
13641 fi
13642
13643
13644
13645
13646     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13647 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13648 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13649   $as_echo_n "(cached) " >&6
13650 else
13651   lt_cv_prog_compiler_c_o_FC=no
13652    $RM -r conftest 2>/dev/null
13653    mkdir conftest
13654    cd conftest
13655    mkdir out
13656    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13657
13658    lt_compiler_flag="-o out/conftest2.$ac_objext"
13659    # Insert the option either (1) after the last *FLAGS variable, or
13660    # (2) before a word containing "conftest.", or (3) at the end.
13661    # Note that $ac_compile itself does not contain backslashes and begins
13662    # with a dollar sign (not a hyphen), so the echo should work correctly.
13663    lt_compile=`echo "$ac_compile" | $SED \
13664    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13665    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13666    -e 's:$: $lt_compiler_flag:'`
13667    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13668    (eval "$lt_compile" 2>out/conftest.err)
13669    ac_status=$?
13670    cat out/conftest.err >&5
13671    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13673    then
13674      # The compiler can only warn and ignore the option if not recognized
13675      # So say no if there are warnings
13676      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13677      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13678      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13679        lt_cv_prog_compiler_c_o_FC=yes
13680      fi
13681    fi
13682    chmod u+w . 2>&5
13683    $RM conftest*
13684    # SGI C++ compiler will create directory out/ii_files/ for
13685    # template instantiation
13686    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13687    $RM out/* && rmdir out
13688    cd ..
13689    $RM -r conftest
13690    $RM conftest*
13691
13692 fi
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13694 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13695
13696
13697
13698     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13699 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13700 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13701   $as_echo_n "(cached) " >&6
13702 else
13703   lt_cv_prog_compiler_c_o_FC=no
13704    $RM -r conftest 2>/dev/null
13705    mkdir conftest
13706    cd conftest
13707    mkdir out
13708    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13709
13710    lt_compiler_flag="-o out/conftest2.$ac_objext"
13711    # Insert the option either (1) after the last *FLAGS variable, or
13712    # (2) before a word containing "conftest.", or (3) at the end.
13713    # Note that $ac_compile itself does not contain backslashes and begins
13714    # with a dollar sign (not a hyphen), so the echo should work correctly.
13715    lt_compile=`echo "$ac_compile" | $SED \
13716    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13717    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13718    -e 's:$: $lt_compiler_flag:'`
13719    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13720    (eval "$lt_compile" 2>out/conftest.err)
13721    ac_status=$?
13722    cat out/conftest.err >&5
13723    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13725    then
13726      # The compiler can only warn and ignore the option if not recognized
13727      # So say no if there are warnings
13728      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13729      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13730      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13731        lt_cv_prog_compiler_c_o_FC=yes
13732      fi
13733    fi
13734    chmod u+w . 2>&5
13735    $RM conftest*
13736    # SGI C++ compiler will create directory out/ii_files/ for
13737    # template instantiation
13738    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13739    $RM out/* && rmdir out
13740    cd ..
13741    $RM -r conftest
13742    $RM conftest*
13743
13744 fi
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13746 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13747
13748
13749
13750
13751 hard_links="nottested"
13752 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13753   # do not overwrite the value of need_locks provided by the user
13754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13755 $as_echo_n "checking if we can lock with hard links... " >&6; }
13756   hard_links=yes
13757   $RM conftest*
13758   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13759   touch conftest.a
13760   ln conftest.a conftest.b 2>&5 || hard_links=no
13761   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13763 $as_echo "$hard_links" >&6; }
13764   if test "$hard_links" = no; then
13765     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13766 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13767     need_locks=warn
13768   fi
13769 else
13770   need_locks=no
13771 fi
13772
13773
13774
13775     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13776 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13777
13778   runpath_var=
13779   allow_undefined_flag_FC=
13780   always_export_symbols_FC=no
13781   archive_cmds_FC=
13782   archive_expsym_cmds_FC=
13783   compiler_needs_object_FC=no
13784   enable_shared_with_static_runtimes_FC=no
13785   export_dynamic_flag_spec_FC=
13786   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13787   hardcode_automatic_FC=no
13788   hardcode_direct_FC=no
13789   hardcode_direct_absolute_FC=no
13790   hardcode_libdir_flag_spec_FC=
13791   hardcode_libdir_flag_spec_ld_FC=
13792   hardcode_libdir_separator_FC=
13793   hardcode_minus_L_FC=no
13794   hardcode_shlibpath_var_FC=unsupported
13795   inherit_rpath_FC=no
13796   link_all_deplibs_FC=unknown
13797   module_cmds_FC=
13798   module_expsym_cmds_FC=
13799   old_archive_from_new_cmds_FC=
13800   old_archive_from_expsyms_cmds_FC=
13801   thread_safe_flag_spec_FC=
13802   whole_archive_flag_spec_FC=
13803   # include_expsyms should be a list of space-separated symbols to be *always*
13804   # included in the symbol list
13805   include_expsyms_FC=
13806   # exclude_expsyms can be an extended regexp of symbols to exclude
13807   # it will be wrapped by ` (' and `)$', so one must not match beginning or
13808   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13809   # as well as any symbol that contains `d'.
13810   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13811   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13812   # platforms (ab)use it in PIC code, but their linkers get confused if
13813   # the symbol is explicitly referenced.  Since portable code cannot
13814   # rely on this symbol name, it's probably fine to never include it in
13815   # preloaded symbol tables.
13816   # Exclude shared library initialization/finalization symbols.
13817   extract_expsyms_cmds=
13818
13819   case $host_os in
13820   cygwin* | mingw* | pw32* | cegcc*)
13821     # FIXME: the MSVC++ port hasn't been tested in a loooong time
13822     # When not using gcc, we currently assume that we are using
13823     # Microsoft Visual C++.
13824     if test "$GCC" != yes; then
13825       with_gnu_ld=no
13826     fi
13827     ;;
13828   interix*)
13829     # we just hope/assume this is gcc and not c89 (= MSVC++)
13830     with_gnu_ld=yes
13831     ;;
13832   openbsd*)
13833     with_gnu_ld=no
13834     ;;
13835   esac
13836
13837   ld_shlibs_FC=yes
13838
13839   # On some targets, GNU ld is compatible enough with the native linker
13840   # that we're better off using the native interface for both.
13841   lt_use_gnu_ld_interface=no
13842   if test "$with_gnu_ld" = yes; then
13843     case $host_os in
13844       aix*)
13845         # The AIX port of GNU ld has always aspired to compatibility
13846         # with the native linker.  However, as the warning in the GNU ld
13847         # block says, versions before 2.19.5* couldn't really create working
13848         # shared libraries, regardless of the interface used.
13849         case `$LD -v 2>&1` in
13850           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13851           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13852           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13853           *)
13854             lt_use_gnu_ld_interface=yes
13855             ;;
13856         esac
13857         ;;
13858       *)
13859         lt_use_gnu_ld_interface=yes
13860         ;;
13861     esac
13862   fi
13863
13864   if test "$lt_use_gnu_ld_interface" = yes; then
13865     # If archive_cmds runs LD, not CC, wlarc should be empty
13866     wlarc='${wl}'
13867
13868     # Set some defaults for GNU ld with shared library support. These
13869     # are reset later if shared libraries are not supported. Putting them
13870     # here allows them to be overridden if necessary.
13871     runpath_var=LD_RUN_PATH
13872     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13873     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13874     # ancient GNU ld didn't support --whole-archive et. al.
13875     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13876       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13877     else
13878       whole_archive_flag_spec_FC=
13879     fi
13880     supports_anon_versioning=no
13881     case `$LD -v 2>&1` in
13882       *GNU\ gold*) supports_anon_versioning=yes ;;
13883       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13884       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13885       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13886       *\ 2.11.*) ;; # other 2.11 versions
13887       *) supports_anon_versioning=yes ;;
13888     esac
13889
13890     # See if GNU ld supports shared libraries.
13891     case $host_os in
13892     aix[3-9]*)
13893       # On AIX/PPC, the GNU linker is very broken
13894       if test "$host_cpu" != ia64; then
13895         ld_shlibs_FC=no
13896         cat <<_LT_EOF 1>&2
13897
13898 *** Warning: the GNU linker, at least up to release 2.19, is reported
13899 *** to be unable to reliably create shared libraries on AIX.
13900 *** Therefore, libtool is disabling shared libraries support.  If you
13901 *** really care for shared libraries, you may want to install binutils
13902 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13903 *** You will then need to restart the configuration process.
13904
13905 _LT_EOF
13906       fi
13907       ;;
13908
13909     amigaos*)
13910       case $host_cpu in
13911       powerpc)
13912             # see comment about AmigaOS4 .so support
13913             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13914             archive_expsym_cmds_FC=''
13915         ;;
13916       m68k)
13917             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)'
13918             hardcode_libdir_flag_spec_FC='-L$libdir'
13919             hardcode_minus_L_FC=yes
13920         ;;
13921       esac
13922       ;;
13923
13924     beos*)
13925       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13926         allow_undefined_flag_FC=unsupported
13927         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13928         # support --undefined.  This deserves some investigation.  FIXME
13929         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13930       else
13931         ld_shlibs_FC=no
13932       fi
13933       ;;
13934
13935     cygwin* | mingw* | pw32* | cegcc*)
13936       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13937       # as there is no search path for DLLs.
13938       hardcode_libdir_flag_spec_FC='-L$libdir'
13939       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13940       allow_undefined_flag_FC=unsupported
13941       always_export_symbols_FC=no
13942       enable_shared_with_static_runtimes_FC=yes
13943       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13944
13945       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13946         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13947         # If the export-symbols file already is a .def file (1st line
13948         # is EXPORTS), use it as is; otherwise, prepend...
13949         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13950           cp $export_symbols $output_objdir/$soname.def;
13951         else
13952           echo EXPORTS > $output_objdir/$soname.def;
13953           cat $export_symbols >> $output_objdir/$soname.def;
13954         fi~
13955         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13956       else
13957         ld_shlibs_FC=no
13958       fi
13959       ;;
13960
13961     haiku*)
13962       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13963       link_all_deplibs_FC=yes
13964       ;;
13965
13966     interix[3-9]*)
13967       hardcode_direct_FC=no
13968       hardcode_shlibpath_var_FC=no
13969       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13970       export_dynamic_flag_spec_FC='${wl}-E'
13971       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13972       # Instead, shared libraries are loaded at an image base (0x10000000 by
13973       # default) and relocated if they conflict, which is a slow very memory
13974       # consuming and fragmenting process.  To avoid this, we pick a random,
13975       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13976       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13977       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'
13978       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'
13979       ;;
13980
13981     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13982       tmp_diet=no
13983       if test "$host_os" = linux-dietlibc; then
13984         case $cc_basename in
13985           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
13986         esac
13987       fi
13988       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13989          && test "$tmp_diet" = no
13990       then
13991         tmp_addflag=' $pic_flag'
13992         tmp_sharedflag='-shared'
13993         case $cc_basename,$host_cpu in
13994         pgcc*)                          # Portland Group C compiler
13995           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'
13996           tmp_addflag=' $pic_flag'
13997           ;;
13998         pgf77* | pgf90* | pgf95* | pgfortran*)
13999                                         # Portland Group f77 and f90 compilers
14000           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'
14001           tmp_addflag=' $pic_flag -Mnomain' ;;
14002         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
14003           tmp_addflag=' -i_dynamic' ;;
14004         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
14005           tmp_addflag=' -i_dynamic -nofor_main' ;;
14006         ifc* | ifort*)                  # Intel Fortran compiler
14007           tmp_addflag=' -nofor_main' ;;
14008         lf95*)                          # Lahey Fortran 8.1
14009           whole_archive_flag_spec_FC=
14010           tmp_sharedflag='--shared' ;;
14011         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14012           tmp_sharedflag='-qmkshrobj'
14013           tmp_addflag= ;;
14014         nvcc*)  # Cuda Compiler Driver 2.2
14015           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'
14016           compiler_needs_object_FC=yes
14017           ;;
14018         esac
14019         case `$CC -V 2>&1 | sed 5q` in
14020         *Sun\ C*)                       # Sun C 5.9
14021           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'
14022           compiler_needs_object_FC=yes
14023           tmp_sharedflag='-G' ;;
14024         *Sun\ F*)                       # Sun Fortran 8.3
14025           tmp_sharedflag='-G' ;;
14026         esac
14027         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14028
14029         if test "x$supports_anon_versioning" = xyes; then
14030           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14031             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14032             echo "local: *; };" >> $output_objdir/$libname.ver~
14033             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14034         fi
14035
14036         case $cc_basename in
14037         xlf* | bgf* | bgxlf* | mpixlf*)
14038           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14039           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
14040           hardcode_libdir_flag_spec_FC=
14041           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
14042           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14043           if test "x$supports_anon_versioning" = xyes; then
14044             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
14045               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14046               echo "local: *; };" >> $output_objdir/$libname.ver~
14047               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14048           fi
14049           ;;
14050         esac
14051       else
14052         ld_shlibs_FC=no
14053       fi
14054       ;;
14055
14056     netbsd*)
14057       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14058         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14059         wlarc=
14060       else
14061         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14062         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14063       fi
14064       ;;
14065
14066     solaris*)
14067       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14068         ld_shlibs_FC=no
14069         cat <<_LT_EOF 1>&2
14070
14071 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14072 *** create shared libraries on Solaris systems.  Therefore, libtool
14073 *** is disabling shared libraries support.  We urge you to upgrade GNU
14074 *** binutils to release 2.9.1 or newer.  Another option is to modify
14075 *** your PATH or compiler configuration so that the native linker is
14076 *** used, and then restart.
14077
14078 _LT_EOF
14079       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14080         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14081         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14082       else
14083         ld_shlibs_FC=no
14084       fi
14085       ;;
14086
14087     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14088       case `$LD -v 2>&1` in
14089         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14090         ld_shlibs_FC=no
14091         cat <<_LT_EOF 1>&2
14092
14093 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14094 *** reliably create shared libraries on SCO systems.  Therefore, libtool
14095 *** is disabling shared libraries support.  We urge you to upgrade GNU
14096 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14097 *** your PATH or compiler configuration so that the native linker is
14098 *** used, and then restart.
14099
14100 _LT_EOF
14101         ;;
14102         *)
14103           # For security reasons, it is highly recommended that you always
14104           # use absolute paths for naming shared libraries, and exclude the
14105           # DT_RUNPATH tag from executables and libraries.  But doing so
14106           # requires that you compile everything twice, which is a pain.
14107           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14108             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14109             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14110             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14111           else
14112             ld_shlibs_FC=no
14113           fi
14114         ;;
14115       esac
14116       ;;
14117
14118     sunos4*)
14119       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14120       wlarc=
14121       hardcode_direct_FC=yes
14122       hardcode_shlibpath_var_FC=no
14123       ;;
14124
14125     *)
14126       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14127         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14128         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14129       else
14130         ld_shlibs_FC=no
14131       fi
14132       ;;
14133     esac
14134
14135     if test "$ld_shlibs_FC" = no; then
14136       runpath_var=
14137       hardcode_libdir_flag_spec_FC=
14138       export_dynamic_flag_spec_FC=
14139       whole_archive_flag_spec_FC=
14140     fi
14141   else
14142     # PORTME fill in a description of your system's linker (not GNU ld)
14143     case $host_os in
14144     aix3*)
14145       allow_undefined_flag_FC=unsupported
14146       always_export_symbols_FC=yes
14147       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'
14148       # Note: this linker hardcodes the directories in LIBPATH if there
14149       # are no directories specified by -L.
14150       hardcode_minus_L_FC=yes
14151       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14152         # Neither direct hardcoding nor static linking is supported with a
14153         # broken collect2.
14154         hardcode_direct_FC=unsupported
14155       fi
14156       ;;
14157
14158     aix[4-9]*)
14159       if test "$host_cpu" = ia64; then
14160         # On IA64, the linker does run time linking by default, so we don't
14161         # have to do anything special.
14162         aix_use_runtimelinking=no
14163         exp_sym_flag='-Bexport'
14164         no_entry_flag=""
14165       else
14166         # If we're using GNU nm, then we don't want the "-C" option.
14167         # -C means demangle to AIX nm, but means don't demangle with GNU nm
14168         # Also, AIX nm treats weak defined symbols like other global
14169         # defined symbols, whereas GNU nm marks them as "W".
14170         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14171           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'
14172         else
14173           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'
14174         fi
14175         aix_use_runtimelinking=no
14176
14177         # Test if we are trying to use run time linking or normal
14178         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14179         # need to do runtime linking.
14180         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14181           for ld_flag in $LDFLAGS; do
14182           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14183             aix_use_runtimelinking=yes
14184             break
14185           fi
14186           done
14187           ;;
14188         esac
14189
14190         exp_sym_flag='-bexport'
14191         no_entry_flag='-bnoentry'
14192       fi
14193
14194       # When large executables or shared objects are built, AIX ld can
14195       # have problems creating the table of contents.  If linking a library
14196       # or program results in "error TOC overflow" add -mminimal-toc to
14197       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14198       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14199
14200       archive_cmds_FC=''
14201       hardcode_direct_FC=yes
14202       hardcode_direct_absolute_FC=yes
14203       hardcode_libdir_separator_FC=':'
14204       link_all_deplibs_FC=yes
14205       file_list_spec_FC='${wl}-f,'
14206
14207       if test "$GCC" = yes; then
14208         case $host_os in aix4.[012]|aix4.[012].*)
14209         # We only want to do this on AIX 4.2 and lower, the check
14210         # below for broken collect2 doesn't work under 4.3+
14211           collect2name=`${CC} -print-prog-name=collect2`
14212           if test -f "$collect2name" &&
14213            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14214           then
14215           # We have reworked collect2
14216           :
14217           else
14218           # We have old collect2
14219           hardcode_direct_FC=unsupported
14220           # It fails to find uninstalled libraries when the uninstalled
14221           # path is not listed in the libpath.  Setting hardcode_minus_L
14222           # to unsupported forces relinking
14223           hardcode_minus_L_FC=yes
14224           hardcode_libdir_flag_spec_FC='-L$libdir'
14225           hardcode_libdir_separator_FC=
14226           fi
14227           ;;
14228         esac
14229         shared_flag='-shared'
14230         if test "$aix_use_runtimelinking" = yes; then
14231           shared_flag="$shared_flag "'${wl}-G'
14232         fi
14233       else
14234         # not using gcc
14235         if test "$host_cpu" = ia64; then
14236         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14237         # chokes on -Wl,-G. The following line is correct:
14238           shared_flag='-G'
14239         else
14240           if test "$aix_use_runtimelinking" = yes; then
14241             shared_flag='${wl}-G'
14242           else
14243             shared_flag='${wl}-bM:SRE'
14244           fi
14245         fi
14246       fi
14247
14248       export_dynamic_flag_spec_FC='${wl}-bexpall'
14249       # It seems that -bexpall does not export symbols beginning with
14250       # underscore (_), so it is better to generate a list of symbols to export.
14251       always_export_symbols_FC=yes
14252       if test "$aix_use_runtimelinking" = yes; then
14253         # Warning - without using the other runtime loading flags (-brtl),
14254         # -berok will link without error, but may produce a broken library.
14255         allow_undefined_flag_FC='-berok'
14256         # Determine the default libpath from the value encoded in an
14257         # empty executable.
14258         if test x$gcc_no_link = xyes; then
14259   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14260 fi
14261 cat > conftest.$ac_ext <<_ACEOF
14262       program main
14263
14264       end
14265 _ACEOF
14266 if ac_fn_fc_try_link "$LINENO"; then :
14267
14268 lt_aix_libpath_sed='
14269     /Import File Strings/,/^$/ {
14270         /^0/ {
14271             s/^0  *\(.*\)$/\1/
14272             p
14273         }
14274     }'
14275 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14276 # Check for a 64-bit object if we didn't find anything.
14277 if test -z "$aix_libpath"; then
14278   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14279 fi
14280 fi
14281 rm -f core conftest.err conftest.$ac_objext \
14282     conftest$ac_exeext conftest.$ac_ext
14283 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14284
14285         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14286         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"
14287       else
14288         if test "$host_cpu" = ia64; then
14289           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14290           allow_undefined_flag_FC="-z nodefs"
14291           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"
14292         else
14293          # Determine the default libpath from the value encoded in an
14294          # empty executable.
14295          if test x$gcc_no_link = xyes; then
14296   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14297 fi
14298 cat > conftest.$ac_ext <<_ACEOF
14299       program main
14300
14301       end
14302 _ACEOF
14303 if ac_fn_fc_try_link "$LINENO"; then :
14304
14305 lt_aix_libpath_sed='
14306     /Import File Strings/,/^$/ {
14307         /^0/ {
14308             s/^0  *\(.*\)$/\1/
14309             p
14310         }
14311     }'
14312 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14313 # Check for a 64-bit object if we didn't find anything.
14314 if test -z "$aix_libpath"; then
14315   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14316 fi
14317 fi
14318 rm -f core conftest.err conftest.$ac_objext \
14319     conftest$ac_exeext conftest.$ac_ext
14320 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14321
14322          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14323           # Warning - without using the other run time loading flags,
14324           # -berok will link without error, but may produce a broken library.
14325           no_undefined_flag_FC=' ${wl}-bernotok'
14326           allow_undefined_flag_FC=' ${wl}-berok'
14327           if test "$with_gnu_ld" = yes; then
14328             # We only use this code for GNU lds that support --whole-archive.
14329             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14330           else
14331             # Exported symbols can be pulled into shared objects from archives
14332             whole_archive_flag_spec_FC='$convenience'
14333           fi
14334           archive_cmds_need_lc_FC=yes
14335           # This is similar to how AIX traditionally builds its shared libraries.
14336           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'
14337         fi
14338       fi
14339       ;;
14340
14341     amigaos*)
14342       case $host_cpu in
14343       powerpc)
14344             # see comment about AmigaOS4 .so support
14345             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14346             archive_expsym_cmds_FC=''
14347         ;;
14348       m68k)
14349             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)'
14350             hardcode_libdir_flag_spec_FC='-L$libdir'
14351             hardcode_minus_L_FC=yes
14352         ;;
14353       esac
14354       ;;
14355
14356     bsdi[45]*)
14357       export_dynamic_flag_spec_FC=-rdynamic
14358       ;;
14359
14360     cygwin* | mingw* | pw32* | cegcc*)
14361       # When not using gcc, we currently assume that we are using
14362       # Microsoft Visual C++.
14363       # hardcode_libdir_flag_spec is actually meaningless, as there is
14364       # no search path for DLLs.
14365       hardcode_libdir_flag_spec_FC=' '
14366       allow_undefined_flag_FC=unsupported
14367       # Tell ltmain to make .lib files, not .a files.
14368       libext=lib
14369       # Tell ltmain to make .dll files, not .so files.
14370       shrext_cmds=".dll"
14371       # FIXME: Setting linknames here is a bad hack.
14372       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14373       # The linker will automatically build a .lib file if we build a DLL.
14374       old_archive_from_new_cmds_FC='true'
14375       # FIXME: Should let the user specify the lib program.
14376       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14377       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14378       enable_shared_with_static_runtimes_FC=yes
14379       ;;
14380
14381     darwin* | rhapsody*)
14382
14383
14384   archive_cmds_need_lc_FC=no
14385   hardcode_direct_FC=no
14386   hardcode_automatic_FC=yes
14387   hardcode_shlibpath_var_FC=unsupported
14388   if test "$lt_cv_ld_force_load" = "yes"; then
14389     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\"`'
14390   else
14391     whole_archive_flag_spec_FC=''
14392   fi
14393   link_all_deplibs_FC=yes
14394   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14395   case $cc_basename in
14396      ifort*) _lt_dar_can_shared=yes ;;
14397      *) _lt_dar_can_shared=$GCC ;;
14398   esac
14399   if test "$_lt_dar_can_shared" = "yes"; then
14400     output_verbose_link_cmd=func_echo_all
14401     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}"
14402     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14403     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}"
14404     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}"
14405
14406   else
14407   ld_shlibs_FC=no
14408   fi
14409
14410       ;;
14411
14412     dgux*)
14413       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14414       hardcode_libdir_flag_spec_FC='-L$libdir'
14415       hardcode_shlibpath_var_FC=no
14416       ;;
14417
14418     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14419     # support.  Future versions do this automatically, but an explicit c++rt0.o
14420     # does not break anything, and helps significantly (at the cost of a little
14421     # extra space).
14422     freebsd2.2*)
14423       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14424       hardcode_libdir_flag_spec_FC='-R$libdir'
14425       hardcode_direct_FC=yes
14426       hardcode_shlibpath_var_FC=no
14427       ;;
14428
14429     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14430     freebsd2.*)
14431       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14432       hardcode_direct_FC=yes
14433       hardcode_minus_L_FC=yes
14434       hardcode_shlibpath_var_FC=no
14435       ;;
14436
14437     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14438     freebsd* | dragonfly*)
14439       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14440       hardcode_libdir_flag_spec_FC='-R$libdir'
14441       hardcode_direct_FC=yes
14442       hardcode_shlibpath_var_FC=no
14443       ;;
14444
14445     hpux9*)
14446       if test "$GCC" = yes; then
14447         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'
14448       else
14449         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'
14450       fi
14451       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14452       hardcode_libdir_separator_FC=:
14453       hardcode_direct_FC=yes
14454
14455       # hardcode_minus_L: Not really in the search PATH,
14456       # but as the default location of the library.
14457       hardcode_minus_L_FC=yes
14458       export_dynamic_flag_spec_FC='${wl}-E'
14459       ;;
14460
14461     hpux10*)
14462       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14463         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14464       else
14465         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14466       fi
14467       if test "$with_gnu_ld" = no; then
14468         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14469         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14470         hardcode_libdir_separator_FC=:
14471         hardcode_direct_FC=yes
14472         hardcode_direct_absolute_FC=yes
14473         export_dynamic_flag_spec_FC='${wl}-E'
14474         # hardcode_minus_L: Not really in the search PATH,
14475         # but as the default location of the library.
14476         hardcode_minus_L_FC=yes
14477       fi
14478       ;;
14479
14480     hpux11*)
14481       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14482         case $host_cpu in
14483         hppa*64*)
14484           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14485           ;;
14486         ia64*)
14487           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14488           ;;
14489         *)
14490           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14491           ;;
14492         esac
14493       else
14494         case $host_cpu in
14495         hppa*64*)
14496           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14497           ;;
14498         ia64*)
14499           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14500           ;;
14501         *)
14502         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14503           ;;
14504         esac
14505       fi
14506       if test "$with_gnu_ld" = no; then
14507         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14508         hardcode_libdir_separator_FC=:
14509
14510         case $host_cpu in
14511         hppa*64*|ia64*)
14512           hardcode_direct_FC=no
14513           hardcode_shlibpath_var_FC=no
14514           ;;
14515         *)
14516           hardcode_direct_FC=yes
14517           hardcode_direct_absolute_FC=yes
14518           export_dynamic_flag_spec_FC='${wl}-E'
14519
14520           # hardcode_minus_L: Not really in the search PATH,
14521           # but as the default location of the library.
14522           hardcode_minus_L_FC=yes
14523           ;;
14524         esac
14525       fi
14526       ;;
14527
14528     irix5* | irix6* | nonstopux*)
14529       if test "$GCC" = yes; then
14530         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'
14531         # Try to use the -exported_symbol ld option, if it does not
14532         # work, assume that -exports_file does not work either and
14533         # implicitly export all symbols.
14534         save_LDFLAGS="$LDFLAGS"
14535         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14536         if test x$gcc_no_link = xyes; then
14537   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14538 fi
14539 cat > conftest.$ac_ext <<_ACEOF
14540 int foo(void) {}
14541 _ACEOF
14542 if ac_fn_fc_try_link "$LINENO"; then :
14543   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'
14544
14545 fi
14546 rm -f core conftest.err conftest.$ac_objext \
14547     conftest$ac_exeext conftest.$ac_ext
14548         LDFLAGS="$save_LDFLAGS"
14549       else
14550         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'
14551         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'
14552       fi
14553       archive_cmds_need_lc_FC='no'
14554       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14555       hardcode_libdir_separator_FC=:
14556       inherit_rpath_FC=yes
14557       link_all_deplibs_FC=yes
14558       ;;
14559
14560     netbsd*)
14561       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14562         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14563       else
14564         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14565       fi
14566       hardcode_libdir_flag_spec_FC='-R$libdir'
14567       hardcode_direct_FC=yes
14568       hardcode_shlibpath_var_FC=no
14569       ;;
14570
14571     newsos6)
14572       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14573       hardcode_direct_FC=yes
14574       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14575       hardcode_libdir_separator_FC=:
14576       hardcode_shlibpath_var_FC=no
14577       ;;
14578
14579     *nto* | *qnx*)
14580       ;;
14581
14582     openbsd*)
14583       if test -f /usr/libexec/ld.so; then
14584         hardcode_direct_FC=yes
14585         hardcode_shlibpath_var_FC=no
14586         hardcode_direct_absolute_FC=yes
14587         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14588           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14589           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14590           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14591           export_dynamic_flag_spec_FC='${wl}-E'
14592         else
14593           case $host_os in
14594            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14595              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14596              hardcode_libdir_flag_spec_FC='-R$libdir'
14597              ;;
14598            *)
14599              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14600              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14601              ;;
14602           esac
14603         fi
14604       else
14605         ld_shlibs_FC=no
14606       fi
14607       ;;
14608
14609     os2*)
14610       hardcode_libdir_flag_spec_FC='-L$libdir'
14611       hardcode_minus_L_FC=yes
14612       allow_undefined_flag_FC=unsupported
14613       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'
14614       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14615       ;;
14616
14617     osf3*)
14618       if test "$GCC" = yes; then
14619         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14620         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'
14621       else
14622         allow_undefined_flag_FC=' -expect_unresolved \*'
14623         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'
14624       fi
14625       archive_cmds_need_lc_FC='no'
14626       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14627       hardcode_libdir_separator_FC=:
14628       ;;
14629
14630     osf4* | osf5*)      # as osf3* with the addition of -msym flag
14631       if test "$GCC" = yes; then
14632         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14633         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'
14634         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14635       else
14636         allow_undefined_flag_FC=' -expect_unresolved \*'
14637         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'
14638         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~
14639         $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'
14640
14641         # Both c and cxx compiler support -rpath directly
14642         hardcode_libdir_flag_spec_FC='-rpath $libdir'
14643       fi
14644       archive_cmds_need_lc_FC='no'
14645       hardcode_libdir_separator_FC=:
14646       ;;
14647
14648     solaris*)
14649       no_undefined_flag_FC=' -z defs'
14650       if test "$GCC" = yes; then
14651         wlarc='${wl}'
14652         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14653         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14654           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14655       else
14656         case `$CC -V 2>&1` in
14657         *"Compilers 5.0"*)
14658           wlarc=''
14659           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14660           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14661           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14662           ;;
14663         *)
14664           wlarc='${wl}'
14665           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14666           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14667           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14668           ;;
14669         esac
14670       fi
14671       hardcode_libdir_flag_spec_FC='-R$libdir'
14672       hardcode_shlibpath_var_FC=no
14673       case $host_os in
14674       solaris2.[0-5] | solaris2.[0-5].*) ;;
14675       *)
14676         # The compiler driver will combine and reorder linker options,
14677         # but understands `-z linker_flag'.  GCC discards it without `$wl',
14678         # but is careful enough not to reorder.
14679         # Supported since Solaris 2.6 (maybe 2.5.1?)
14680         if test "$GCC" = yes; then
14681           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14682         else
14683           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14684         fi
14685         ;;
14686       esac
14687       link_all_deplibs_FC=yes
14688       ;;
14689
14690     sunos4*)
14691       if test "x$host_vendor" = xsequent; then
14692         # Use $CC to link under sequent, because it throws in some extra .o
14693         # files that make .init and .fini sections work.
14694         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14695       else
14696         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14697       fi
14698       hardcode_libdir_flag_spec_FC='-L$libdir'
14699       hardcode_direct_FC=yes
14700       hardcode_minus_L_FC=yes
14701       hardcode_shlibpath_var_FC=no
14702       ;;
14703
14704     sysv4)
14705       case $host_vendor in
14706         sni)
14707           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14708           hardcode_direct_FC=yes # is this really true???
14709         ;;
14710         siemens)
14711           ## LD is ld it makes a PLAMLIB
14712           ## CC just makes a GrossModule.
14713           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14714           reload_cmds_FC='$CC -r -o $output$reload_objs'
14715           hardcode_direct_FC=no
14716         ;;
14717         motorola)
14718           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14719           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14720         ;;
14721       esac
14722       runpath_var='LD_RUN_PATH'
14723       hardcode_shlibpath_var_FC=no
14724       ;;
14725
14726     sysv4.3*)
14727       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14728       hardcode_shlibpath_var_FC=no
14729       export_dynamic_flag_spec_FC='-Bexport'
14730       ;;
14731
14732     sysv4*MP*)
14733       if test -d /usr/nec; then
14734         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14735         hardcode_shlibpath_var_FC=no
14736         runpath_var=LD_RUN_PATH
14737         hardcode_runpath_var=yes
14738         ld_shlibs_FC=yes
14739       fi
14740       ;;
14741
14742     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14743       no_undefined_flag_FC='${wl}-z,text'
14744       archive_cmds_need_lc_FC=no
14745       hardcode_shlibpath_var_FC=no
14746       runpath_var='LD_RUN_PATH'
14747
14748       if test "$GCC" = yes; then
14749         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14750         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14751       else
14752         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14753         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14754       fi
14755       ;;
14756
14757     sysv5* | sco3.2v5* | sco5v6*)
14758       # Note: We can NOT use -z defs as we might desire, because we do not
14759       # link with -lc, and that would cause any symbols used from libc to
14760       # always be unresolved, which means just about no library would
14761       # ever link correctly.  If we're not using GNU ld we use -z text
14762       # though, which does catch some bad symbols but isn't as heavy-handed
14763       # as -z defs.
14764       no_undefined_flag_FC='${wl}-z,text'
14765       allow_undefined_flag_FC='${wl}-z,nodefs'
14766       archive_cmds_need_lc_FC=no
14767       hardcode_shlibpath_var_FC=no
14768       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14769       hardcode_libdir_separator_FC=':'
14770       link_all_deplibs_FC=yes
14771       export_dynamic_flag_spec_FC='${wl}-Bexport'
14772       runpath_var='LD_RUN_PATH'
14773
14774       if test "$GCC" = yes; then
14775         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14776         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14777       else
14778         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14779         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14780       fi
14781       ;;
14782
14783     uts4*)
14784       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14785       hardcode_libdir_flag_spec_FC='-L$libdir'
14786       hardcode_shlibpath_var_FC=no
14787       ;;
14788
14789     *)
14790       ld_shlibs_FC=no
14791       ;;
14792     esac
14793
14794     if test x$host_vendor = xsni; then
14795       case $host in
14796       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14797         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14798         ;;
14799       esac
14800     fi
14801   fi
14802
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14804 $as_echo "$ld_shlibs_FC" >&6; }
14805 test "$ld_shlibs_FC" = no && can_build_shared=no
14806
14807 with_gnu_ld_FC=$with_gnu_ld
14808
14809
14810
14811
14812
14813
14814 #
14815 # Do we need to explicitly link libc?
14816 #
14817 case "x$archive_cmds_need_lc_FC" in
14818 x|xyes)
14819   # Assume -lc should be added
14820   archive_cmds_need_lc_FC=yes
14821
14822   if test "$enable_shared" = yes && test "$GCC" = yes; then
14823     case $archive_cmds_FC in
14824     *'~'*)
14825       # FIXME: we may have to deal with multi-command sequences.
14826       ;;
14827     '$CC '*)
14828       # Test whether the compiler implicitly links with -lc since on some
14829       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14830       # to ld, don't add -lc before -lgcc.
14831       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14832 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14833 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14834   $as_echo_n "(cached) " >&6
14835 else
14836   $RM conftest*
14837         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14838
14839         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14840   (eval $ac_compile) 2>&5
14841   ac_status=$?
14842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14843   test $ac_status = 0; } 2>conftest.err; then
14844           soname=conftest
14845           lib=conftest
14846           libobjs=conftest.$ac_objext
14847           deplibs=
14848           wl=$lt_prog_compiler_wl_FC
14849           pic_flag=$lt_prog_compiler_pic_FC
14850           compiler_flags=-v
14851           linker_flags=-v
14852           verstring=
14853           output_objdir=.
14854           libname=conftest
14855           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14856           allow_undefined_flag_FC=
14857           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14858   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14859   ac_status=$?
14860   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14861   test $ac_status = 0; }
14862           then
14863             lt_cv_archive_cmds_need_lc_FC=no
14864           else
14865             lt_cv_archive_cmds_need_lc_FC=yes
14866           fi
14867           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14868         else
14869           cat conftest.err 1>&5
14870         fi
14871         $RM conftest*
14872
14873 fi
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14875 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14876       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14877       ;;
14878     esac
14879   fi
14880   ;;
14881 esac
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14947 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14948
14949 library_names_spec=
14950 libname_spec='lib$name'
14951 soname_spec=
14952 shrext_cmds=".so"
14953 postinstall_cmds=
14954 postuninstall_cmds=
14955 finish_cmds=
14956 finish_eval=
14957 shlibpath_var=
14958 shlibpath_overrides_runpath=unknown
14959 version_type=none
14960 dynamic_linker="$host_os ld.so"
14961 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14962 need_lib_prefix=unknown
14963 hardcode_into_libs=no
14964
14965 # when you set need_version to no, make sure it does not cause -set_version
14966 # flags to be left without arguments
14967 need_version=unknown
14968
14969 case $host_os in
14970 aix3*)
14971   version_type=linux
14972   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14973   shlibpath_var=LIBPATH
14974
14975   # AIX 3 has no versioning support, so we append a major version to the name.
14976   soname_spec='${libname}${release}${shared_ext}$major'
14977   ;;
14978
14979 aix[4-9]*)
14980   version_type=linux
14981   need_lib_prefix=no
14982   need_version=no
14983   hardcode_into_libs=yes
14984   if test "$host_cpu" = ia64; then
14985     # AIX 5 supports IA64
14986     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14987     shlibpath_var=LD_LIBRARY_PATH
14988   else
14989     # With GCC up to 2.95.x, collect2 would create an import file
14990     # for dependence libraries.  The import file would start with
14991     # the line `#! .'.  This would cause the generated library to
14992     # depend on `.', always an invalid library.  This was fixed in
14993     # development snapshots of GCC prior to 3.0.
14994     case $host_os in
14995       aix4 | aix4.[01] | aix4.[01].*)
14996       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14997            echo ' yes '
14998            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14999         :
15000       else
15001         can_build_shared=no
15002       fi
15003       ;;
15004     esac
15005     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15006     # soname into executable. Probably we can add versioning support to
15007     # collect2, so additional links can be useful in future.
15008     if test "$aix_use_runtimelinking" = yes; then
15009       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15010       # instead of lib<name>.a to let people know that these are not
15011       # typical AIX shared libraries.
15012       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15013     else
15014       # We preserve .a as extension for shared libraries through AIX4.2
15015       # and later when we are not doing run time linking.
15016       library_names_spec='${libname}${release}.a $libname.a'
15017       soname_spec='${libname}${release}${shared_ext}$major'
15018     fi
15019     shlibpath_var=LIBPATH
15020   fi
15021   ;;
15022
15023 amigaos*)
15024   case $host_cpu in
15025   powerpc)
15026     # Since July 2007 AmigaOS4 officially supports .so libraries.
15027     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15028     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15029     ;;
15030   m68k)
15031     library_names_spec='$libname.ixlibrary $libname.a'
15032     # Create ${libname}_ixlibrary.a entries in /sys/libs.
15033     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'
15034     ;;
15035   esac
15036   ;;
15037
15038 beos*)
15039   library_names_spec='${libname}${shared_ext}'
15040   dynamic_linker="$host_os ld.so"
15041   shlibpath_var=LIBRARY_PATH
15042   ;;
15043
15044 bsdi[45]*)
15045   version_type=linux
15046   need_version=no
15047   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15048   soname_spec='${libname}${release}${shared_ext}$major'
15049   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15050   shlibpath_var=LD_LIBRARY_PATH
15051   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15052   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15053   # the default ld.so.conf also contains /usr/contrib/lib and
15054   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15055   # libtool to hard-code these into programs
15056   ;;
15057
15058 cygwin* | mingw* | pw32* | cegcc*)
15059   version_type=windows
15060   shrext_cmds=".dll"
15061   need_version=no
15062   need_lib_prefix=no
15063
15064   case $GCC,$host_os in
15065   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15066     library_names_spec='$libname.dll.a'
15067     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15068     postinstall_cmds='base_file=`basename \${file}`~
15069       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15070       dldir=$destdir/`dirname \$dlpath`~
15071       test -d \$dldir || mkdir -p \$dldir~
15072       $install_prog $dir/$dlname \$dldir/$dlname~
15073       chmod a+x \$dldir/$dlname~
15074       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15075         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15076       fi'
15077     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15078       dlpath=$dir/\$dldll~
15079        $RM \$dlpath'
15080     shlibpath_overrides_runpath=yes
15081
15082     case $host_os in
15083     cygwin*)
15084       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15085       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15086
15087       ;;
15088     mingw* | cegcc*)
15089       # MinGW DLLs use traditional 'lib' prefix
15090       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15091       ;;
15092     pw32*)
15093       # pw32 DLLs use 'pw' prefix rather than 'lib'
15094       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15095       ;;
15096     esac
15097     ;;
15098
15099   *)
15100     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15101     ;;
15102   esac
15103   dynamic_linker='Win32 ld.exe'
15104   # FIXME: first we should search . and the directory the executable is in
15105   shlibpath_var=PATH
15106   ;;
15107
15108 darwin* | rhapsody*)
15109   dynamic_linker="$host_os dyld"
15110   version_type=darwin
15111   need_lib_prefix=no
15112   need_version=no
15113   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15114   soname_spec='${libname}${release}${major}$shared_ext'
15115   shlibpath_overrides_runpath=yes
15116   shlibpath_var=DYLD_LIBRARY_PATH
15117   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15118
15119   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15120   ;;
15121
15122 dgux*)
15123   version_type=linux
15124   need_lib_prefix=no
15125   need_version=no
15126   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15127   soname_spec='${libname}${release}${shared_ext}$major'
15128   shlibpath_var=LD_LIBRARY_PATH
15129   ;;
15130
15131 freebsd* | dragonfly*)
15132   # DragonFly does not have aout.  When/if they implement a new
15133   # versioning mechanism, adjust this.
15134   if test -x /usr/bin/objformat; then
15135     objformat=`/usr/bin/objformat`
15136   else
15137     case $host_os in
15138     freebsd[23].*) objformat=aout ;;
15139     *) objformat=elf ;;
15140     esac
15141   fi
15142   version_type=freebsd-$objformat
15143   case $version_type in
15144     freebsd-elf*)
15145       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15146       need_version=no
15147       need_lib_prefix=no
15148       ;;
15149     freebsd-*)
15150       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15151       need_version=yes
15152       ;;
15153   esac
15154   shlibpath_var=LD_LIBRARY_PATH
15155   case $host_os in
15156   freebsd2.*)
15157     shlibpath_overrides_runpath=yes
15158     ;;
15159   freebsd3.[01]* | freebsdelf3.[01]*)
15160     shlibpath_overrides_runpath=yes
15161     hardcode_into_libs=yes
15162     ;;
15163   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15164   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15165     shlibpath_overrides_runpath=no
15166     hardcode_into_libs=yes
15167     ;;
15168   *) # from 4.6 on, and DragonFly
15169     shlibpath_overrides_runpath=yes
15170     hardcode_into_libs=yes
15171     ;;
15172   esac
15173   ;;
15174
15175 gnu*)
15176   version_type=linux
15177   need_lib_prefix=no
15178   need_version=no
15179   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15180   soname_spec='${libname}${release}${shared_ext}$major'
15181   shlibpath_var=LD_LIBRARY_PATH
15182   hardcode_into_libs=yes
15183   ;;
15184
15185 haiku*)
15186   version_type=linux
15187   need_lib_prefix=no
15188   need_version=no
15189   dynamic_linker="$host_os runtime_loader"
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   shlibpath_var=LIBRARY_PATH
15193   shlibpath_overrides_runpath=yes
15194   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15195   hardcode_into_libs=yes
15196   ;;
15197
15198 hpux9* | hpux10* | hpux11*)
15199   # Give a soname corresponding to the major version so that dld.sl refuses to
15200   # link against other versions.
15201   version_type=sunos
15202   need_lib_prefix=no
15203   need_version=no
15204   case $host_cpu in
15205   ia64*)
15206     shrext_cmds='.so'
15207     hardcode_into_libs=yes
15208     dynamic_linker="$host_os dld.so"
15209     shlibpath_var=LD_LIBRARY_PATH
15210     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15211     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15212     soname_spec='${libname}${release}${shared_ext}$major'
15213     if test "X$HPUX_IA64_MODE" = X32; then
15214       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15215     else
15216       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15217     fi
15218     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15219     ;;
15220   hppa*64*)
15221     shrext_cmds='.sl'
15222     hardcode_into_libs=yes
15223     dynamic_linker="$host_os dld.sl"
15224     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15225     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15226     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15227     soname_spec='${libname}${release}${shared_ext}$major'
15228     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15229     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15230     ;;
15231   *)
15232     shrext_cmds='.sl'
15233     dynamic_linker="$host_os dld.sl"
15234     shlibpath_var=SHLIB_PATH
15235     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15236     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15237     soname_spec='${libname}${release}${shared_ext}$major'
15238     ;;
15239   esac
15240   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15241   postinstall_cmds='chmod 555 $lib'
15242   # or fails outright, so override atomically:
15243   install_override_mode=555
15244   ;;
15245
15246 interix[3-9]*)
15247   version_type=linux
15248   need_lib_prefix=no
15249   need_version=no
15250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15251   soname_spec='${libname}${release}${shared_ext}$major'
15252   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15253   shlibpath_var=LD_LIBRARY_PATH
15254   shlibpath_overrides_runpath=no
15255   hardcode_into_libs=yes
15256   ;;
15257
15258 irix5* | irix6* | nonstopux*)
15259   case $host_os in
15260     nonstopux*) version_type=nonstopux ;;
15261     *)
15262         if test "$lt_cv_prog_gnu_ld" = yes; then
15263                 version_type=linux
15264         else
15265                 version_type=irix
15266         fi ;;
15267   esac
15268   need_lib_prefix=no
15269   need_version=no
15270   soname_spec='${libname}${release}${shared_ext}$major'
15271   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15272   case $host_os in
15273   irix5* | nonstopux*)
15274     libsuff= shlibsuff=
15275     ;;
15276   *)
15277     case $LD in # libtool.m4 will add one of these switches to LD
15278     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15279       libsuff= shlibsuff= libmagic=32-bit;;
15280     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15281       libsuff=32 shlibsuff=N32 libmagic=N32;;
15282     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15283       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15284     *) libsuff= shlibsuff= libmagic=never-match;;
15285     esac
15286     ;;
15287   esac
15288   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15289   shlibpath_overrides_runpath=no
15290   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15291   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15292   hardcode_into_libs=yes
15293   ;;
15294
15295 # No shared lib support for Linux oldld, aout, or coff.
15296 linux*oldld* | linux*aout* | linux*coff*)
15297   dynamic_linker=no
15298   ;;
15299
15300 # This must be Linux ELF.
15301 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15302   version_type=linux
15303   need_lib_prefix=no
15304   need_version=no
15305   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15306   soname_spec='${libname}${release}${shared_ext}$major'
15307   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15308   shlibpath_var=LD_LIBRARY_PATH
15309   shlibpath_overrides_runpath=no
15310
15311   # Some binutils ld are patched to set DT_RUNPATH
15312   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15313   $as_echo_n "(cached) " >&6
15314 else
15315   lt_cv_shlibpath_overrides_runpath=no
15316     save_LDFLAGS=$LDFLAGS
15317     save_libdir=$libdir
15318     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15319          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15320     if test x$gcc_no_link = xyes; then
15321   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15322 fi
15323 cat > conftest.$ac_ext <<_ACEOF
15324       program main
15325
15326       end
15327 _ACEOF
15328 if ac_fn_fc_try_link "$LINENO"; then :
15329   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15330   lt_cv_shlibpath_overrides_runpath=yes
15331 fi
15332 fi
15333 rm -f core conftest.err conftest.$ac_objext \
15334     conftest$ac_exeext conftest.$ac_ext
15335     LDFLAGS=$save_LDFLAGS
15336     libdir=$save_libdir
15337
15338 fi
15339
15340   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15341
15342   # This implies no fast_install, which is unacceptable.
15343   # Some rework will be needed to allow for fast_install
15344   # before this can be enabled.
15345   hardcode_into_libs=yes
15346
15347   # Append ld.so.conf contents to the search path
15348   if test -f /etc/ld.so.conf; then
15349     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' ' '`
15350     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15351   fi
15352
15353   # We used to test for /lib/ld.so.1 and disable shared libraries on
15354   # powerpc, because MkLinux only supported shared libraries with the
15355   # GNU dynamic linker.  Since this was broken with cross compilers,
15356   # most powerpc-linux boxes support dynamic linking these days and
15357   # people can always --disable-shared, the test was removed, and we
15358   # assume the GNU/Linux dynamic linker is in use.
15359   dynamic_linker='GNU/Linux ld.so'
15360   ;;
15361
15362 netbsd*)
15363   version_type=sunos
15364   need_lib_prefix=no
15365   need_version=no
15366   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15367     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15368     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15369     dynamic_linker='NetBSD (a.out) ld.so'
15370   else
15371     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15372     soname_spec='${libname}${release}${shared_ext}$major'
15373     dynamic_linker='NetBSD ld.elf_so'
15374   fi
15375   shlibpath_var=LD_LIBRARY_PATH
15376   shlibpath_overrides_runpath=yes
15377   hardcode_into_libs=yes
15378   ;;
15379
15380 newsos6)
15381   version_type=linux
15382   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15383   shlibpath_var=LD_LIBRARY_PATH
15384   shlibpath_overrides_runpath=yes
15385   ;;
15386
15387 *nto* | *qnx*)
15388   version_type=qnx
15389   need_lib_prefix=no
15390   need_version=no
15391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392   soname_spec='${libname}${release}${shared_ext}$major'
15393   shlibpath_var=LD_LIBRARY_PATH
15394   shlibpath_overrides_runpath=no
15395   hardcode_into_libs=yes
15396   dynamic_linker='ldqnx.so'
15397   ;;
15398
15399 openbsd*)
15400   version_type=sunos
15401   sys_lib_dlsearch_path_spec="/usr/lib"
15402   need_lib_prefix=no
15403   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15404   case $host_os in
15405     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15406     *)                          need_version=no  ;;
15407   esac
15408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15409   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15410   shlibpath_var=LD_LIBRARY_PATH
15411   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15412     case $host_os in
15413       openbsd2.[89] | openbsd2.[89].*)
15414         shlibpath_overrides_runpath=no
15415         ;;
15416       *)
15417         shlibpath_overrides_runpath=yes
15418         ;;
15419       esac
15420   else
15421     shlibpath_overrides_runpath=yes
15422   fi
15423   ;;
15424
15425 os2*)
15426   libname_spec='$name'
15427   shrext_cmds=".dll"
15428   need_lib_prefix=no
15429   library_names_spec='$libname${shared_ext} $libname.a'
15430   dynamic_linker='OS/2 ld.exe'
15431   shlibpath_var=LIBPATH
15432   ;;
15433
15434 osf3* | osf4* | osf5*)
15435   version_type=osf
15436   need_lib_prefix=no
15437   need_version=no
15438   soname_spec='${libname}${release}${shared_ext}$major'
15439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15440   shlibpath_var=LD_LIBRARY_PATH
15441   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15442   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15443   ;;
15444
15445 rdos*)
15446   dynamic_linker=no
15447   ;;
15448
15449 solaris*)
15450   version_type=linux
15451   need_lib_prefix=no
15452   need_version=no
15453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15454   soname_spec='${libname}${release}${shared_ext}$major'
15455   shlibpath_var=LD_LIBRARY_PATH
15456   shlibpath_overrides_runpath=yes
15457   hardcode_into_libs=yes
15458   # ldd complains unless libraries are executable
15459   postinstall_cmds='chmod +x $lib'
15460   ;;
15461
15462 sunos4*)
15463   version_type=sunos
15464   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15465   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15466   shlibpath_var=LD_LIBRARY_PATH
15467   shlibpath_overrides_runpath=yes
15468   if test "$with_gnu_ld" = yes; then
15469     need_lib_prefix=no
15470   fi
15471   need_version=yes
15472   ;;
15473
15474 sysv4 | sysv4.3*)
15475   version_type=linux
15476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15477   soname_spec='${libname}${release}${shared_ext}$major'
15478   shlibpath_var=LD_LIBRARY_PATH
15479   case $host_vendor in
15480     sni)
15481       shlibpath_overrides_runpath=no
15482       need_lib_prefix=no
15483       runpath_var=LD_RUN_PATH
15484       ;;
15485     siemens)
15486       need_lib_prefix=no
15487       ;;
15488     motorola)
15489       need_lib_prefix=no
15490       need_version=no
15491       shlibpath_overrides_runpath=no
15492       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15493       ;;
15494   esac
15495   ;;
15496
15497 sysv4*MP*)
15498   if test -d /usr/nec ;then
15499     version_type=linux
15500     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15501     soname_spec='$libname${shared_ext}.$major'
15502     shlibpath_var=LD_LIBRARY_PATH
15503   fi
15504   ;;
15505
15506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15507   version_type=freebsd-elf
15508   need_lib_prefix=no
15509   need_version=no
15510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15511   soname_spec='${libname}${release}${shared_ext}$major'
15512   shlibpath_var=LD_LIBRARY_PATH
15513   shlibpath_overrides_runpath=yes
15514   hardcode_into_libs=yes
15515   if test "$with_gnu_ld" = yes; then
15516     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15517   else
15518     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15519     case $host_os in
15520       sco3.2v5*)
15521         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15522         ;;
15523     esac
15524   fi
15525   sys_lib_dlsearch_path_spec='/usr/lib'
15526   ;;
15527
15528 tpf*)
15529   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15530   version_type=linux
15531   need_lib_prefix=no
15532   need_version=no
15533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15534   shlibpath_var=LD_LIBRARY_PATH
15535   shlibpath_overrides_runpath=no
15536   hardcode_into_libs=yes
15537   ;;
15538
15539 uts4*)
15540   version_type=linux
15541   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15542   soname_spec='${libname}${release}${shared_ext}$major'
15543   shlibpath_var=LD_LIBRARY_PATH
15544   ;;
15545
15546 *)
15547   dynamic_linker=no
15548   ;;
15549 esac
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15551 $as_echo "$dynamic_linker" >&6; }
15552 test "$dynamic_linker" = no && can_build_shared=no
15553
15554 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15555 if test "$GCC" = yes; then
15556   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15557 fi
15558
15559 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15560   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15561 fi
15562 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15563   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15564 fi
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15604 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15605 hardcode_action_FC=
15606 if test -n "$hardcode_libdir_flag_spec_FC" ||
15607    test -n "$runpath_var_FC" ||
15608    test "X$hardcode_automatic_FC" = "Xyes" ; then
15609
15610   # We can hardcode non-existent directories.
15611   if test "$hardcode_direct_FC" != no &&
15612      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15613      # have to relink, otherwise we might link with an installed library
15614      # when we should be linking with a yet-to-be-installed one
15615      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15616      test "$hardcode_minus_L_FC" != no; then
15617     # Linking always hardcodes the temporary library directory.
15618     hardcode_action_FC=relink
15619   else
15620     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15621     hardcode_action_FC=immediate
15622   fi
15623 else
15624   # We cannot hardcode anything, or else we can only hardcode existing
15625   # directories.
15626   hardcode_action_FC=unsupported
15627 fi
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15629 $as_echo "$hardcode_action_FC" >&6; }
15630
15631 if test "$hardcode_action_FC" = relink ||
15632    test "$inherit_rpath_FC" = yes; then
15633   # Fast installation is not supported
15634   enable_fast_install=no
15635 elif test "$shlibpath_overrides_runpath" = yes ||
15636      test "$enable_shared" = no; then
15637   # Fast installation is not necessary
15638   enable_fast_install=needless
15639 fi
15640
15641
15642
15643
15644
15645
15646
15647   fi # test -n "$compiler"
15648
15649   GCC=$lt_save_GCC
15650   CC="$lt_save_CC"
15651 fi # test "$_lt_disable_FC" != yes
15652
15653 ac_ext=c
15654 ac_cpp='$CPP $CPPFLAGS'
15655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15658
15659
15660
15661 # extra LD Flags which are required for targets
15662 case "${host}" in
15663   *-darwin*)
15664     # Darwin needs -single_module when linking libgfortran
15665     extra_ldflags_libgfortran=-Wl,-single_module
15666     ;;
15667 esac
15668
15669
15670 # We need a working compiler at that point, otherwise give a clear
15671 # error message and bail out.
15672
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15674 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15675 ac_ext=${ac_fc_srcext-f}
15676 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15677 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15678 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15679
15680 cat > conftest.$ac_ext <<_ACEOF
15681
15682       program foo
15683       real, parameter :: bar = sin (12.34 / 2.5)
15684       end program foo
15685 _ACEOF
15686 if ac_fn_fc_try_compile "$LINENO"; then :
15687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15688 $as_echo "yes" >&6; }
15689 else
15690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15691 $as_echo "no" >&6; }
15692      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15693
15694 fi
15695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15696 ac_ext=c
15697 ac_cpp='$CPP $CPPFLAGS'
15698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15701
15702
15703
15704 # Check whether --enable-largefile was given.
15705 if test "${enable_largefile+set}" = set; then :
15706   enableval=$enable_largefile;
15707 fi
15708
15709 if test "$enable_largefile" != no; then
15710
15711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15712 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15713 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15714   $as_echo_n "(cached) " >&6
15715 else
15716   ac_cv_sys_largefile_CC=no
15717      if test "$GCC" != yes; then
15718        ac_save_CC=$CC
15719        while :; do
15720          # IRIX 6.2 and later do not support large files by default,
15721          # so use the C compiler's -n32 option if that helps.
15722          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h.  */
15724 #include <sys/types.h>
15725  /* Check that off_t can represent 2**63 - 1 correctly.
15726     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15727     since some C++ compilers masquerading as C compilers
15728     incorrectly reject 9223372036854775807.  */
15729 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15730   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15731                        && LARGE_OFF_T % 2147483647 == 1)
15732                       ? 1 : -1];
15733 int
15734 main ()
15735 {
15736
15737   ;
15738   return 0;
15739 }
15740 _ACEOF
15741          if ac_fn_c_try_compile "$LINENO"; then :
15742   break
15743 fi
15744 rm -f core conftest.err conftest.$ac_objext
15745          CC="$CC -n32"
15746          if ac_fn_c_try_compile "$LINENO"; then :
15747   ac_cv_sys_largefile_CC=' -n32'; break
15748 fi
15749 rm -f core conftest.err conftest.$ac_objext
15750          break
15751        done
15752        CC=$ac_save_CC
15753        rm -f conftest.$ac_ext
15754     fi
15755 fi
15756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15757 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15758   if test "$ac_cv_sys_largefile_CC" != no; then
15759     CC=$CC$ac_cv_sys_largefile_CC
15760   fi
15761
15762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15763 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15764 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15765   $as_echo_n "(cached) " >&6
15766 else
15767   while :; do
15768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15769 /* end confdefs.h.  */
15770 #include <sys/types.h>
15771  /* Check that off_t can represent 2**63 - 1 correctly.
15772     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15773     since some C++ compilers masquerading as C compilers
15774     incorrectly reject 9223372036854775807.  */
15775 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15776   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15777                        && LARGE_OFF_T % 2147483647 == 1)
15778                       ? 1 : -1];
15779 int
15780 main ()
15781 {
15782
15783   ;
15784   return 0;
15785 }
15786 _ACEOF
15787 if ac_fn_c_try_compile "$LINENO"; then :
15788   ac_cv_sys_file_offset_bits=no; break
15789 fi
15790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h.  */
15793 #define _FILE_OFFSET_BITS 64
15794 #include <sys/types.h>
15795  /* Check that off_t can represent 2**63 - 1 correctly.
15796     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15797     since some C++ compilers masquerading as C compilers
15798     incorrectly reject 9223372036854775807.  */
15799 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15800   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15801                        && LARGE_OFF_T % 2147483647 == 1)
15802                       ? 1 : -1];
15803 int
15804 main ()
15805 {
15806
15807   ;
15808   return 0;
15809 }
15810 _ACEOF
15811 if ac_fn_c_try_compile "$LINENO"; then :
15812   ac_cv_sys_file_offset_bits=64; break
15813 fi
15814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15815   ac_cv_sys_file_offset_bits=unknown
15816   break
15817 done
15818 fi
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15820 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15821 case $ac_cv_sys_file_offset_bits in #(
15822   no | unknown) ;;
15823   *)
15824 cat >>confdefs.h <<_ACEOF
15825 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15826 _ACEOF
15827 ;;
15828 esac
15829 rm -rf conftest*
15830   if test $ac_cv_sys_file_offset_bits = unknown; then
15831     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15832 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15833 if test "${ac_cv_sys_large_files+set}" = set; then :
15834   $as_echo_n "(cached) " >&6
15835 else
15836   while :; do
15837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15838 /* end confdefs.h.  */
15839 #include <sys/types.h>
15840  /* Check that off_t can represent 2**63 - 1 correctly.
15841     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15842     since some C++ compilers masquerading as C compilers
15843     incorrectly reject 9223372036854775807.  */
15844 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15845   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15846                        && LARGE_OFF_T % 2147483647 == 1)
15847                       ? 1 : -1];
15848 int
15849 main ()
15850 {
15851
15852   ;
15853   return 0;
15854 }
15855 _ACEOF
15856 if ac_fn_c_try_compile "$LINENO"; then :
15857   ac_cv_sys_large_files=no; break
15858 fi
15859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h.  */
15862 #define _LARGE_FILES 1
15863 #include <sys/types.h>
15864  /* Check that off_t can represent 2**63 - 1 correctly.
15865     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15866     since some C++ compilers masquerading as C compilers
15867     incorrectly reject 9223372036854775807.  */
15868 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15869   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15870                        && LARGE_OFF_T % 2147483647 == 1)
15871                       ? 1 : -1];
15872 int
15873 main ()
15874 {
15875
15876   ;
15877   return 0;
15878 }
15879 _ACEOF
15880 if ac_fn_c_try_compile "$LINENO"; then :
15881   ac_cv_sys_large_files=1; break
15882 fi
15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15884   ac_cv_sys_large_files=unknown
15885   break
15886 done
15887 fi
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15889 $as_echo "$ac_cv_sys_large_files" >&6; }
15890 case $ac_cv_sys_large_files in #(
15891   no | unknown) ;;
15892   *)
15893 cat >>confdefs.h <<_ACEOF
15894 #define _LARGE_FILES $ac_cv_sys_large_files
15895 _ACEOF
15896 ;;
15897 esac
15898 rm -rf conftest*
15899   fi
15900 fi
15901
15902
15903 # Types
15904 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15905 if test "x$ac_cv_type_off_t" = x""yes; then :
15906
15907 else
15908
15909 cat >>confdefs.h <<_ACEOF
15910 #define off_t long int
15911 _ACEOF
15912
15913 fi
15914
15915
15916   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15917 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15918
15919 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15920
15921 else
15922   for ac_type in 'int' 'long int' 'long long int'; do
15923        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15924 /* end confdefs.h.  */
15925 $ac_includes_default
15926 int
15927 main ()
15928 {
15929 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15930 test_array [0] = 0
15931
15932   ;
15933   return 0;
15934 }
15935 _ACEOF
15936 if ac_fn_c_try_compile "$LINENO"; then :
15937
15938 cat >>confdefs.h <<_ACEOF
15939 #define intptr_t $ac_type
15940 _ACEOF
15941
15942           ac_type=
15943 fi
15944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15945        test -z "$ac_type" && break
15946      done
15947 fi
15948
15949
15950
15951   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15952 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15953
15954 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15955
15956 else
15957   for ac_type in 'unsigned int' 'unsigned long int' \
15958         'unsigned long long int'; do
15959        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h.  */
15961 $ac_includes_default
15962 int
15963 main ()
15964 {
15965 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15966 test_array [0] = 0
15967
15968   ;
15969   return 0;
15970 }
15971 _ACEOF
15972 if ac_fn_c_try_compile "$LINENO"; then :
15973
15974 cat >>confdefs.h <<_ACEOF
15975 #define uintptr_t $ac_type
15976 _ACEOF
15977
15978           ac_type=
15979 fi
15980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15981        test -z "$ac_type" && break
15982      done
15983 fi
15984
15985
15986 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15987 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15988
15989 cat >>confdefs.h <<_ACEOF
15990 #define HAVE_PTRDIFF_T 1
15991 _ACEOF
15992
15993
15994 fi
15995
15996
15997 # check header files (we assume C89 is available, so don't check for that)
15998
15999
16000
16001   for ac_header in $ac_header_list
16002 do :
16003   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16005 "
16006 eval as_val=\$$as_ac_Header
16007    if test "x$as_val" = x""yes; then :
16008   cat >>confdefs.h <<_ACEOF
16009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16010 _ACEOF
16011
16012 fi
16013
16014 done
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
16051
16052 acx_cv_header_stdint=stddef.h
16053 acx_cv_header_stdint_kind="(already complete)"
16054 for i in stdint.h $inttype_headers; do
16055   unset ac_cv_type_uintptr_t
16056   unset ac_cv_type_uintmax_t
16057   unset ac_cv_type_int_least32_t
16058   unset ac_cv_type_int_fast32_t
16059   unset ac_cv_type_uint64_t
16060   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16061   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16062 #include <$i>
16063 "
16064 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16065   acx_cv_header_stdint=$i
16066 else
16067   continue
16068 fi
16069
16070   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16071 #include <$i>
16072 "
16073 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16074
16075 else
16076   acx_cv_header_stdint_kind="(mostly complete)"
16077 fi
16078
16079   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16080 #include <$i>
16081 "
16082 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16083
16084 else
16085   acx_cv_header_stdint_kind="(mostly complete)"
16086 fi
16087
16088   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16089 #include <$i>
16090 "
16091 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16092
16093 else
16094   acx_cv_header_stdint_kind="(mostly complete)"
16095 fi
16096
16097   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16098 #include <$i>
16099 "
16100 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16101
16102 else
16103   acx_cv_header_stdint_kind="(lacks uint64_t)"
16104 fi
16105
16106   break
16107 done
16108 if test "$acx_cv_header_stdint" = stddef.h; then
16109   acx_cv_header_stdint_kind="(lacks uintmax_t)"
16110   for i in stdint.h $inttype_headers; do
16111     unset ac_cv_type_uintptr_t
16112     unset ac_cv_type_uint32_t
16113     unset ac_cv_type_uint64_t
16114     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16115     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16116 #include <$i>
16117 "
16118 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16119   acx_cv_header_stdint=$i
16120 else
16121   continue
16122 fi
16123
16124     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16125 #include <$i>
16126 "
16127 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16128
16129 fi
16130
16131     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16132 #include <$i>
16133 "
16134 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16135
16136 fi
16137
16138     break
16139   done
16140 fi
16141 if test "$acx_cv_header_stdint" = stddef.h; then
16142   acx_cv_header_stdint_kind="(u_intXX_t style)"
16143   for i in sys/types.h $inttype_headers; do
16144     unset ac_cv_type_u_int32_t
16145     unset ac_cv_type_u_int64_t
16146     $as_echo_n "looking for u_intXX_t types in $i, " >&6
16147     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16148 #include <$i>
16149 "
16150 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16151   acx_cv_header_stdint=$i
16152 else
16153   continue
16154 fi
16155
16156     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16157 #include <$i>
16158 "
16159 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16160
16161 fi
16162
16163     break
16164   done
16165 fi
16166 if test "$acx_cv_header_stdint" = stddef.h; then
16167   acx_cv_header_stdint_kind="(using manual detection)"
16168 fi
16169
16170 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16171 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16172 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16173 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16174 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16175
16176 # ----------------- Summarize what we found so far
16177
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16179 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16180
16181 case `$as_basename -- gstdint.h ||
16182 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16183          Xgstdint.h : 'X\(//\)$' \| \
16184          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16185 $as_echo X/gstdint.h |
16186     sed '/^.*\/\([^/][^/]*\)\/*$/{
16187             s//\1/
16188             q
16189           }
16190           /^X\/\(\/\/\)$/{
16191             s//\1/
16192             q
16193           }
16194           /^X\/\(\/\).*/{
16195             s//\1/
16196             q
16197           }
16198           s/.*/./; q'` in
16199   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16200 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16201   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16202 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16203   *) ;;
16204 esac
16205
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16207 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16208
16209 # ----------------- done included file, check C basic types --------
16210
16211 # Lacking an uintptr_t?  Test size of void *
16212 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16213   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16216 # This bug is HP SR number 8606223364.
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16218 $as_echo_n "checking size of void *... " >&6; }
16219 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16220   $as_echo_n "(cached) " >&6
16221 else
16222   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
16223
16224 else
16225   if test "$ac_cv_type_void_p" = yes; then
16226      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16227 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16228 { as_fn_set_status 77
16229 as_fn_error "cannot compute sizeof (void *)
16230 See \`config.log' for more details." "$LINENO" 5; }; }
16231    else
16232      ac_cv_sizeof_void_p=0
16233    fi
16234 fi
16235
16236 fi
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16238 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16239
16240
16241
16242 cat >>confdefs.h <<_ACEOF
16243 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16244 _ACEOF
16245
16246  ;;
16247 esac
16248
16249 # Lacking an uint64_t?  Test size of long
16250 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16251   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16252 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16253 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16254 # This bug is HP SR number 8606223364.
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16256 $as_echo_n "checking size of long... " >&6; }
16257 if test "${ac_cv_sizeof_long+set}" = set; then :
16258   $as_echo_n "(cached) " >&6
16259 else
16260   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16261
16262 else
16263   if test "$ac_cv_type_long" = yes; then
16264      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16266 { as_fn_set_status 77
16267 as_fn_error "cannot compute sizeof (long)
16268 See \`config.log' for more details." "$LINENO" 5; }; }
16269    else
16270      ac_cv_sizeof_long=0
16271    fi
16272 fi
16273
16274 fi
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16276 $as_echo "$ac_cv_sizeof_long" >&6; }
16277
16278
16279
16280 cat >>confdefs.h <<_ACEOF
16281 #define SIZEOF_LONG $ac_cv_sizeof_long
16282 _ACEOF
16283
16284  ;;
16285 esac
16286
16287 if test $acx_cv_header_stdint = stddef.h; then
16288   # Lacking a good header?  Test size of everything and deduce all types.
16289   # The cast to long int works around a bug in the HP C Compiler
16290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16292 # This bug is HP SR number 8606223364.
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16294 $as_echo_n "checking size of int... " >&6; }
16295 if test "${ac_cv_sizeof_int+set}" = set; then :
16296   $as_echo_n "(cached) " >&6
16297 else
16298   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16299
16300 else
16301   if test "$ac_cv_type_int" = yes; then
16302      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16304 { as_fn_set_status 77
16305 as_fn_error "cannot compute sizeof (int)
16306 See \`config.log' for more details." "$LINENO" 5; }; }
16307    else
16308      ac_cv_sizeof_int=0
16309    fi
16310 fi
16311
16312 fi
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16314 $as_echo "$ac_cv_sizeof_int" >&6; }
16315
16316
16317
16318 cat >>confdefs.h <<_ACEOF
16319 #define SIZEOF_INT $ac_cv_sizeof_int
16320 _ACEOF
16321
16322
16323   # The cast to long int works around a bug in the HP C Compiler
16324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16326 # This bug is HP SR number 8606223364.
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16328 $as_echo_n "checking size of short... " >&6; }
16329 if test "${ac_cv_sizeof_short+set}" = set; then :
16330   $as_echo_n "(cached) " >&6
16331 else
16332   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16333
16334 else
16335   if test "$ac_cv_type_short" = yes; then
16336      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16338 { as_fn_set_status 77
16339 as_fn_error "cannot compute sizeof (short)
16340 See \`config.log' for more details." "$LINENO" 5; }; }
16341    else
16342      ac_cv_sizeof_short=0
16343    fi
16344 fi
16345
16346 fi
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16348 $as_echo "$ac_cv_sizeof_short" >&6; }
16349
16350
16351
16352 cat >>confdefs.h <<_ACEOF
16353 #define SIZEOF_SHORT $ac_cv_sizeof_short
16354 _ACEOF
16355
16356
16357   # The cast to long int works around a bug in the HP C Compiler
16358 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16359 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16360 # This bug is HP SR number 8606223364.
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16362 $as_echo_n "checking size of char... " >&6; }
16363 if test "${ac_cv_sizeof_char+set}" = set; then :
16364   $as_echo_n "(cached) " >&6
16365 else
16366   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16367
16368 else
16369   if test "$ac_cv_type_char" = yes; then
16370      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16372 { as_fn_set_status 77
16373 as_fn_error "cannot compute sizeof (char)
16374 See \`config.log' for more details." "$LINENO" 5; }; }
16375    else
16376      ac_cv_sizeof_char=0
16377    fi
16378 fi
16379
16380 fi
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16382 $as_echo "$ac_cv_sizeof_char" >&6; }
16383
16384
16385
16386 cat >>confdefs.h <<_ACEOF
16387 #define SIZEOF_CHAR $ac_cv_sizeof_char
16388 _ACEOF
16389
16390
16391
16392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16393 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16394   case "$ac_cv_sizeof_char" in
16395     1) acx_cv_type_int8_t=char ;;
16396     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16397   esac
16398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16399 $as_echo "$acx_cv_type_int8_t" >&6; }
16400
16401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16402 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16403   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16404     2:*) acx_cv_type_int16_t=int ;;
16405     *:2) acx_cv_type_int16_t=short ;;
16406     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16407   esac
16408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16409 $as_echo "$acx_cv_type_int16_t" >&6; }
16410
16411   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16412 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16413   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16414     4:*) acx_cv_type_int32_t=int ;;
16415     *:4) acx_cv_type_int32_t=long ;;
16416     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16417   esac
16418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16419 $as_echo "$acx_cv_type_int32_t" >&6; }
16420 fi
16421
16422 # These tests are here to make the output prettier
16423
16424 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16425   case "$ac_cv_sizeof_long" in
16426     8) acx_cv_type_int64_t=long ;;
16427   esac
16428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16429 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16431 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16432 fi
16433
16434 # Now we can use the above types
16435
16436 if test "$ac_cv_type_uintptr_t" != yes; then
16437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16438 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16439   case $ac_cv_sizeof_void_p in
16440     2) acx_cv_type_intptr_t=int16_t ;;
16441     4) acx_cv_type_intptr_t=int32_t ;;
16442     8) acx_cv_type_intptr_t=int64_t ;;
16443     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16444   esac
16445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16446 $as_echo "$acx_cv_type_intptr_t" >&6; }
16447 fi
16448
16449 # ----------------- done all checks, emit header -------------
16450 ac_config_commands="$ac_config_commands gstdint.h"
16451
16452
16453
16454
16455 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16456 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16457
16458 cat >>confdefs.h <<_ACEOF
16459 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16460 _ACEOF
16461
16462
16463 fi
16464 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16465 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16466
16467 cat >>confdefs.h <<_ACEOF
16468 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16469 _ACEOF
16470
16471
16472 fi
16473 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16474 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16475
16476 cat >>confdefs.h <<_ACEOF
16477 #define HAVE_STRUCT_STAT_ST_RDEV 1
16478 _ACEOF
16479
16480
16481 fi
16482
16483
16484 # Check for library functions.
16485 if test "x${with_newlib}" = "xyes"; then
16486    # We are being configured with a cross compiler.  AC_REPLACE_FUNCS
16487    # may not work correctly, because the compiler may not be able to
16488    # link executables.
16489
16490 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
16491
16492
16493 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
16494
16495
16496 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16497
16498
16499 $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
16500
16501
16502 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
16503
16504
16505 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
16506
16507
16508 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
16509
16510
16511 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
16512
16513
16514 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16515
16516
16517 $as_echo "#define HAVE_STRTOK_R 1" >>confdefs.h
16518
16519
16520    # At some point, we should differentiate between architectures
16521    # like x86, which have long double versions, and alpha/powerpc/etc.,
16522    # which don't. For the time being, punt.
16523    if test x"long_double_math_on_this_cpu" = x"yes"; then
16524
16525 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
16526
16527    fi
16528 else
16529
16530
16531
16532   for ac_func in $ac_func_list
16533 do :
16534   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16536 eval as_val=\$$as_ac_var
16537    if test "x$as_val" = x""yes; then :
16538   cat >>confdefs.h <<_ACEOF
16539 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16540 _ACEOF
16541
16542 fi
16543 done
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666 fi
16667
16668 # Check strerror_r, cannot be above as versions with two and three arguments exist
16669
16670     ac_save_CFLAGS="$CFLAGS"
16671   CFLAGS="-Wimplicit-function-declaration -Werror"
16672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16673 /* end confdefs.h.  */
16674 #define _GNU_SOURCE 1
16675                   #include <string.h>
16676                   #include <locale.h>
16677 int
16678 main ()
16679 {
16680 char s[128]; strerror_r(5, s, 128);
16681   ;
16682   return 0;
16683 }
16684 _ACEOF
16685 if ac_fn_c_try_compile "$LINENO"; then :
16686
16687 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16688
16689 fi
16690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16691   CFLAGS="$ac_save_CFLAGS"
16692
16693     ac_save_CFLAGS="$CFLAGS"
16694   CFLAGS="-Wimplicit-function-declaration -Werror"
16695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16696 /* end confdefs.h.  */
16697 #define _GNU_SOURCE 1
16698                   #include <string.h>
16699                   #include <locale.h>
16700 int
16701 main ()
16702 {
16703 char s[128]; strerror_r(5, s);
16704   ;
16705   return 0;
16706 }
16707 _ACEOF
16708 if ac_fn_c_try_compile "$LINENO"; then :
16709
16710 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16711
16712 fi
16713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16714   CFLAGS="$ac_save_CFLAGS"
16715
16716
16717 # Check for C99 (and other IEEE) math functions
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16719 $as_echo_n "checking for sin in -lm... " >&6; }
16720 if test "${ac_cv_lib_m_sin+set}" = set; then :
16721   $as_echo_n "(cached) " >&6
16722 else
16723   ac_check_lib_save_LIBS=$LIBS
16724 LIBS="-lm  $LIBS"
16725 if test x$gcc_no_link = xyes; then
16726   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16727 fi
16728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16729 /* end confdefs.h.  */
16730
16731 /* Override any GCC internal prototype to avoid an error.
16732    Use char because int might match the return type of a GCC
16733    builtin and then its argument prototype would still apply.  */
16734 #ifdef __cplusplus
16735 extern "C"
16736 #endif
16737 char sin ();
16738 int
16739 main ()
16740 {
16741 return sin ();
16742   ;
16743   return 0;
16744 }
16745 _ACEOF
16746 if ac_fn_c_try_link "$LINENO"; then :
16747   ac_cv_lib_m_sin=yes
16748 else
16749   ac_cv_lib_m_sin=no
16750 fi
16751 rm -f core conftest.err conftest.$ac_objext \
16752     conftest$ac_exeext conftest.$ac_ext
16753 LIBS=$ac_check_lib_save_LIBS
16754 fi
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16756 $as_echo "$ac_cv_lib_m_sin" >&6; }
16757 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16758   cat >>confdefs.h <<_ACEOF
16759 #define HAVE_LIBM 1
16760 _ACEOF
16761
16762   LIBS="-lm $LIBS"
16763
16764 fi
16765
16766
16767
16768
16769
16770
16771
16772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16773 $as_echo_n "checking for acosf... " >&6; }
16774 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16775   $as_echo_n "(cached) " >&6
16776 else
16777   if test x$gcc_no_link = xyes; then
16778   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16779 fi
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h.  */
16782
16783 #ifdef HAVE_COMPLEX_H
16784 #include <complex.h>
16785 #endif
16786 #ifdef HAVE_MATH_H
16787 #include <math.h>
16788 #endif
16789
16790 int (*ptr)() = (int (*)())acosf;
16791
16792 int
16793 main ()
16794 {
16795   return 0;
16796 }
16797
16798 _ACEOF
16799 if ac_fn_c_try_link "$LINENO"; then :
16800   gcc_cv_math_func_acosf=yes
16801 else
16802   gcc_cv_math_func_acosf=no
16803 fi
16804 rm -f core conftest.err conftest.$ac_objext \
16805     conftest$ac_exeext conftest.$ac_ext
16806 fi
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16808 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16809   if test $gcc_cv_math_func_acosf = yes; then
16810
16811 cat >>confdefs.h <<_ACEOF
16812 #define HAVE_ACOSF 1
16813 _ACEOF
16814
16815   fi
16816
16817
16818
16819
16820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16821 $as_echo_n "checking for acos... " >&6; }
16822 if test "${gcc_cv_math_func_acos+set}" = set; then :
16823   $as_echo_n "(cached) " >&6
16824 else
16825   if test x$gcc_no_link = xyes; then
16826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16827 fi
16828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16829 /* end confdefs.h.  */
16830
16831 #ifdef HAVE_COMPLEX_H
16832 #include <complex.h>
16833 #endif
16834 #ifdef HAVE_MATH_H
16835 #include <math.h>
16836 #endif
16837
16838 int (*ptr)() = (int (*)())acos;
16839
16840 int
16841 main ()
16842 {
16843   return 0;
16844 }
16845
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"; then :
16848   gcc_cv_math_func_acos=yes
16849 else
16850   gcc_cv_math_func_acos=no
16851 fi
16852 rm -f core conftest.err conftest.$ac_objext \
16853     conftest$ac_exeext conftest.$ac_ext
16854 fi
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16856 $as_echo "$gcc_cv_math_func_acos" >&6; }
16857   if test $gcc_cv_math_func_acos = yes; then
16858
16859 cat >>confdefs.h <<_ACEOF
16860 #define HAVE_ACOS 1
16861 _ACEOF
16862
16863   fi
16864
16865
16866
16867
16868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16869 $as_echo_n "checking for acosl... " >&6; }
16870 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16871   $as_echo_n "(cached) " >&6
16872 else
16873   if test x$gcc_no_link = xyes; then
16874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16875 fi
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h.  */
16878
16879 #ifdef HAVE_COMPLEX_H
16880 #include <complex.h>
16881 #endif
16882 #ifdef HAVE_MATH_H
16883 #include <math.h>
16884 #endif
16885
16886 int (*ptr)() = (int (*)())acosl;
16887
16888 int
16889 main ()
16890 {
16891   return 0;
16892 }
16893
16894 _ACEOF
16895 if ac_fn_c_try_link "$LINENO"; then :
16896   gcc_cv_math_func_acosl=yes
16897 else
16898   gcc_cv_math_func_acosl=no
16899 fi
16900 rm -f core conftest.err conftest.$ac_objext \
16901     conftest$ac_exeext conftest.$ac_ext
16902 fi
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16904 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16905   if test $gcc_cv_math_func_acosl = yes; then
16906
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_ACOSL 1
16909 _ACEOF
16910
16911   fi
16912
16913
16914
16915
16916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16917 $as_echo_n "checking for acoshf... " >&6; }
16918 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16919   $as_echo_n "(cached) " >&6
16920 else
16921   if test x$gcc_no_link = xyes; then
16922   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16923 fi
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h.  */
16926
16927 #ifdef HAVE_COMPLEX_H
16928 #include <complex.h>
16929 #endif
16930 #ifdef HAVE_MATH_H
16931 #include <math.h>
16932 #endif
16933
16934 int (*ptr)() = (int (*)())acoshf;
16935
16936 int
16937 main ()
16938 {
16939   return 0;
16940 }
16941
16942 _ACEOF
16943 if ac_fn_c_try_link "$LINENO"; then :
16944   gcc_cv_math_func_acoshf=yes
16945 else
16946   gcc_cv_math_func_acoshf=no
16947 fi
16948 rm -f core conftest.err conftest.$ac_objext \
16949     conftest$ac_exeext conftest.$ac_ext
16950 fi
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16952 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16953   if test $gcc_cv_math_func_acoshf = yes; then
16954
16955 cat >>confdefs.h <<_ACEOF
16956 #define HAVE_ACOSHF 1
16957 _ACEOF
16958
16959   fi
16960
16961
16962
16963
16964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16965 $as_echo_n "checking for acosh... " >&6; }
16966 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16967   $as_echo_n "(cached) " >&6
16968 else
16969   if test x$gcc_no_link = xyes; then
16970   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16971 fi
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h.  */
16974
16975 #ifdef HAVE_COMPLEX_H
16976 #include <complex.h>
16977 #endif
16978 #ifdef HAVE_MATH_H
16979 #include <math.h>
16980 #endif
16981
16982 int (*ptr)() = (int (*)())acosh;
16983
16984 int
16985 main ()
16986 {
16987   return 0;
16988 }
16989
16990 _ACEOF
16991 if ac_fn_c_try_link "$LINENO"; then :
16992   gcc_cv_math_func_acosh=yes
16993 else
16994   gcc_cv_math_func_acosh=no
16995 fi
16996 rm -f core conftest.err conftest.$ac_objext \
16997     conftest$ac_exeext conftest.$ac_ext
16998 fi
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17000 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17001   if test $gcc_cv_math_func_acosh = yes; then
17002
17003 cat >>confdefs.h <<_ACEOF
17004 #define HAVE_ACOSH 1
17005 _ACEOF
17006
17007   fi
17008
17009
17010
17011
17012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17013 $as_echo_n "checking for acoshl... " >&6; }
17014 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
17015   $as_echo_n "(cached) " >&6
17016 else
17017   if test x$gcc_no_link = xyes; then
17018   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17019 fi
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h.  */
17022
17023 #ifdef HAVE_COMPLEX_H
17024 #include <complex.h>
17025 #endif
17026 #ifdef HAVE_MATH_H
17027 #include <math.h>
17028 #endif
17029
17030 int (*ptr)() = (int (*)())acoshl;
17031
17032 int
17033 main ()
17034 {
17035   return 0;
17036 }
17037
17038 _ACEOF
17039 if ac_fn_c_try_link "$LINENO"; then :
17040   gcc_cv_math_func_acoshl=yes
17041 else
17042   gcc_cv_math_func_acoshl=no
17043 fi
17044 rm -f core conftest.err conftest.$ac_objext \
17045     conftest$ac_exeext conftest.$ac_ext
17046 fi
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17048 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17049   if test $gcc_cv_math_func_acoshl = yes; then
17050
17051 cat >>confdefs.h <<_ACEOF
17052 #define HAVE_ACOSHL 1
17053 _ACEOF
17054
17055   fi
17056
17057
17058
17059
17060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17061 $as_echo_n "checking for asinf... " >&6; }
17062 if test "${gcc_cv_math_func_asinf+set}" = set; then :
17063   $as_echo_n "(cached) " >&6
17064 else
17065   if test x$gcc_no_link = xyes; then
17066   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17067 fi
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h.  */
17070
17071 #ifdef HAVE_COMPLEX_H
17072 #include <complex.h>
17073 #endif
17074 #ifdef HAVE_MATH_H
17075 #include <math.h>
17076 #endif
17077
17078 int (*ptr)() = (int (*)())asinf;
17079
17080 int
17081 main ()
17082 {
17083   return 0;
17084 }
17085
17086 _ACEOF
17087 if ac_fn_c_try_link "$LINENO"; then :
17088   gcc_cv_math_func_asinf=yes
17089 else
17090   gcc_cv_math_func_asinf=no
17091 fi
17092 rm -f core conftest.err conftest.$ac_objext \
17093     conftest$ac_exeext conftest.$ac_ext
17094 fi
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17096 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17097   if test $gcc_cv_math_func_asinf = yes; then
17098
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_ASINF 1
17101 _ACEOF
17102
17103   fi
17104
17105
17106
17107
17108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17109 $as_echo_n "checking for asin... " >&6; }
17110 if test "${gcc_cv_math_func_asin+set}" = set; then :
17111   $as_echo_n "(cached) " >&6
17112 else
17113   if test x$gcc_no_link = xyes; then
17114   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17115 fi
17116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17117 /* end confdefs.h.  */
17118
17119 #ifdef HAVE_COMPLEX_H
17120 #include <complex.h>
17121 #endif
17122 #ifdef HAVE_MATH_H
17123 #include <math.h>
17124 #endif
17125
17126 int (*ptr)() = (int (*)())asin;
17127
17128 int
17129 main ()
17130 {
17131   return 0;
17132 }
17133
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136   gcc_cv_math_func_asin=yes
17137 else
17138   gcc_cv_math_func_asin=no
17139 fi
17140 rm -f core conftest.err conftest.$ac_objext \
17141     conftest$ac_exeext conftest.$ac_ext
17142 fi
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17144 $as_echo "$gcc_cv_math_func_asin" >&6; }
17145   if test $gcc_cv_math_func_asin = yes; then
17146
17147 cat >>confdefs.h <<_ACEOF
17148 #define HAVE_ASIN 1
17149 _ACEOF
17150
17151   fi
17152
17153
17154
17155
17156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17157 $as_echo_n "checking for asinl... " >&6; }
17158 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17159   $as_echo_n "(cached) " >&6
17160 else
17161   if test x$gcc_no_link = xyes; then
17162   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17163 fi
17164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17165 /* end confdefs.h.  */
17166
17167 #ifdef HAVE_COMPLEX_H
17168 #include <complex.h>
17169 #endif
17170 #ifdef HAVE_MATH_H
17171 #include <math.h>
17172 #endif
17173
17174 int (*ptr)() = (int (*)())asinl;
17175
17176 int
17177 main ()
17178 {
17179   return 0;
17180 }
17181
17182 _ACEOF
17183 if ac_fn_c_try_link "$LINENO"; then :
17184   gcc_cv_math_func_asinl=yes
17185 else
17186   gcc_cv_math_func_asinl=no
17187 fi
17188 rm -f core conftest.err conftest.$ac_objext \
17189     conftest$ac_exeext conftest.$ac_ext
17190 fi
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17192 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17193   if test $gcc_cv_math_func_asinl = yes; then
17194
17195 cat >>confdefs.h <<_ACEOF
17196 #define HAVE_ASINL 1
17197 _ACEOF
17198
17199   fi
17200
17201
17202
17203
17204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17205 $as_echo_n "checking for asinhf... " >&6; }
17206 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17207   $as_echo_n "(cached) " >&6
17208 else
17209   if test x$gcc_no_link = xyes; then
17210   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17211 fi
17212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17213 /* end confdefs.h.  */
17214
17215 #ifdef HAVE_COMPLEX_H
17216 #include <complex.h>
17217 #endif
17218 #ifdef HAVE_MATH_H
17219 #include <math.h>
17220 #endif
17221
17222 int (*ptr)() = (int (*)())asinhf;
17223
17224 int
17225 main ()
17226 {
17227   return 0;
17228 }
17229
17230 _ACEOF
17231 if ac_fn_c_try_link "$LINENO"; then :
17232   gcc_cv_math_func_asinhf=yes
17233 else
17234   gcc_cv_math_func_asinhf=no
17235 fi
17236 rm -f core conftest.err conftest.$ac_objext \
17237     conftest$ac_exeext conftest.$ac_ext
17238 fi
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17240 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17241   if test $gcc_cv_math_func_asinhf = yes; then
17242
17243 cat >>confdefs.h <<_ACEOF
17244 #define HAVE_ASINHF 1
17245 _ACEOF
17246
17247   fi
17248
17249
17250
17251
17252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17253 $as_echo_n "checking for asinh... " >&6; }
17254 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17255   $as_echo_n "(cached) " >&6
17256 else
17257   if test x$gcc_no_link = xyes; then
17258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17259 fi
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h.  */
17262
17263 #ifdef HAVE_COMPLEX_H
17264 #include <complex.h>
17265 #endif
17266 #ifdef HAVE_MATH_H
17267 #include <math.h>
17268 #endif
17269
17270 int (*ptr)() = (int (*)())asinh;
17271
17272 int
17273 main ()
17274 {
17275   return 0;
17276 }
17277
17278 _ACEOF
17279 if ac_fn_c_try_link "$LINENO"; then :
17280   gcc_cv_math_func_asinh=yes
17281 else
17282   gcc_cv_math_func_asinh=no
17283 fi
17284 rm -f core conftest.err conftest.$ac_objext \
17285     conftest$ac_exeext conftest.$ac_ext
17286 fi
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17288 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17289   if test $gcc_cv_math_func_asinh = yes; then
17290
17291 cat >>confdefs.h <<_ACEOF
17292 #define HAVE_ASINH 1
17293 _ACEOF
17294
17295   fi
17296
17297
17298
17299
17300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17301 $as_echo_n "checking for asinhl... " >&6; }
17302 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17303   $as_echo_n "(cached) " >&6
17304 else
17305   if test x$gcc_no_link = xyes; then
17306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17307 fi
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h.  */
17310
17311 #ifdef HAVE_COMPLEX_H
17312 #include <complex.h>
17313 #endif
17314 #ifdef HAVE_MATH_H
17315 #include <math.h>
17316 #endif
17317
17318 int (*ptr)() = (int (*)())asinhl;
17319
17320 int
17321 main ()
17322 {
17323   return 0;
17324 }
17325
17326 _ACEOF
17327 if ac_fn_c_try_link "$LINENO"; then :
17328   gcc_cv_math_func_asinhl=yes
17329 else
17330   gcc_cv_math_func_asinhl=no
17331 fi
17332 rm -f core conftest.err conftest.$ac_objext \
17333     conftest$ac_exeext conftest.$ac_ext
17334 fi
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17336 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17337   if test $gcc_cv_math_func_asinhl = yes; then
17338
17339 cat >>confdefs.h <<_ACEOF
17340 #define HAVE_ASINHL 1
17341 _ACEOF
17342
17343   fi
17344
17345
17346
17347
17348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17349 $as_echo_n "checking for atan2f... " >&6; }
17350 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17351   $as_echo_n "(cached) " >&6
17352 else
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 #ifdef HAVE_COMPLEX_H
17360 #include <complex.h>
17361 #endif
17362 #ifdef HAVE_MATH_H
17363 #include <math.h>
17364 #endif
17365
17366 int (*ptr)() = (int (*)())atan2f;
17367
17368 int
17369 main ()
17370 {
17371   return 0;
17372 }
17373
17374 _ACEOF
17375 if ac_fn_c_try_link "$LINENO"; then :
17376   gcc_cv_math_func_atan2f=yes
17377 else
17378   gcc_cv_math_func_atan2f=no
17379 fi
17380 rm -f core conftest.err conftest.$ac_objext \
17381     conftest$ac_exeext conftest.$ac_ext
17382 fi
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17384 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17385   if test $gcc_cv_math_func_atan2f = yes; then
17386
17387 cat >>confdefs.h <<_ACEOF
17388 #define HAVE_ATAN2F 1
17389 _ACEOF
17390
17391   fi
17392
17393
17394
17395
17396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17397 $as_echo_n "checking for atan2... " >&6; }
17398 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17399   $as_echo_n "(cached) " >&6
17400 else
17401   if test x$gcc_no_link = xyes; then
17402   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17403 fi
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h.  */
17406
17407 #ifdef HAVE_COMPLEX_H
17408 #include <complex.h>
17409 #endif
17410 #ifdef HAVE_MATH_H
17411 #include <math.h>
17412 #endif
17413
17414 int (*ptr)() = (int (*)())atan2;
17415
17416 int
17417 main ()
17418 {
17419   return 0;
17420 }
17421
17422 _ACEOF
17423 if ac_fn_c_try_link "$LINENO"; then :
17424   gcc_cv_math_func_atan2=yes
17425 else
17426   gcc_cv_math_func_atan2=no
17427 fi
17428 rm -f core conftest.err conftest.$ac_objext \
17429     conftest$ac_exeext conftest.$ac_ext
17430 fi
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17432 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17433   if test $gcc_cv_math_func_atan2 = yes; then
17434
17435 cat >>confdefs.h <<_ACEOF
17436 #define HAVE_ATAN2 1
17437 _ACEOF
17438
17439   fi
17440
17441
17442
17443
17444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17445 $as_echo_n "checking for atan2l... " >&6; }
17446 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17447   $as_echo_n "(cached) " >&6
17448 else
17449   if test x$gcc_no_link = xyes; then
17450   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17451 fi
17452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17453 /* end confdefs.h.  */
17454
17455 #ifdef HAVE_COMPLEX_H
17456 #include <complex.h>
17457 #endif
17458 #ifdef HAVE_MATH_H
17459 #include <math.h>
17460 #endif
17461
17462 int (*ptr)() = (int (*)())atan2l;
17463
17464 int
17465 main ()
17466 {
17467   return 0;
17468 }
17469
17470 _ACEOF
17471 if ac_fn_c_try_link "$LINENO"; then :
17472   gcc_cv_math_func_atan2l=yes
17473 else
17474   gcc_cv_math_func_atan2l=no
17475 fi
17476 rm -f core conftest.err conftest.$ac_objext \
17477     conftest$ac_exeext conftest.$ac_ext
17478 fi
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17480 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17481   if test $gcc_cv_math_func_atan2l = yes; then
17482
17483 cat >>confdefs.h <<_ACEOF
17484 #define HAVE_ATAN2L 1
17485 _ACEOF
17486
17487   fi
17488
17489
17490
17491
17492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17493 $as_echo_n "checking for atanf... " >&6; }
17494 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17495   $as_echo_n "(cached) " >&6
17496 else
17497   if test x$gcc_no_link = xyes; then
17498   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17499 fi
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h.  */
17502
17503 #ifdef HAVE_COMPLEX_H
17504 #include <complex.h>
17505 #endif
17506 #ifdef HAVE_MATH_H
17507 #include <math.h>
17508 #endif
17509
17510 int (*ptr)() = (int (*)())atanf;
17511
17512 int
17513 main ()
17514 {
17515   return 0;
17516 }
17517
17518 _ACEOF
17519 if ac_fn_c_try_link "$LINENO"; then :
17520   gcc_cv_math_func_atanf=yes
17521 else
17522   gcc_cv_math_func_atanf=no
17523 fi
17524 rm -f core conftest.err conftest.$ac_objext \
17525     conftest$ac_exeext conftest.$ac_ext
17526 fi
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17528 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17529   if test $gcc_cv_math_func_atanf = yes; then
17530
17531 cat >>confdefs.h <<_ACEOF
17532 #define HAVE_ATANF 1
17533 _ACEOF
17534
17535   fi
17536
17537
17538
17539
17540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17541 $as_echo_n "checking for atan... " >&6; }
17542 if test "${gcc_cv_math_func_atan+set}" = set; then :
17543   $as_echo_n "(cached) " >&6
17544 else
17545   if test x$gcc_no_link = xyes; then
17546   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17547 fi
17548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17549 /* end confdefs.h.  */
17550
17551 #ifdef HAVE_COMPLEX_H
17552 #include <complex.h>
17553 #endif
17554 #ifdef HAVE_MATH_H
17555 #include <math.h>
17556 #endif
17557
17558 int (*ptr)() = (int (*)())atan;
17559
17560 int
17561 main ()
17562 {
17563   return 0;
17564 }
17565
17566 _ACEOF
17567 if ac_fn_c_try_link "$LINENO"; then :
17568   gcc_cv_math_func_atan=yes
17569 else
17570   gcc_cv_math_func_atan=no
17571 fi
17572 rm -f core conftest.err conftest.$ac_objext \
17573     conftest$ac_exeext conftest.$ac_ext
17574 fi
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17576 $as_echo "$gcc_cv_math_func_atan" >&6; }
17577   if test $gcc_cv_math_func_atan = yes; then
17578
17579 cat >>confdefs.h <<_ACEOF
17580 #define HAVE_ATAN 1
17581 _ACEOF
17582
17583   fi
17584
17585
17586
17587
17588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17589 $as_echo_n "checking for atanl... " >&6; }
17590 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17591   $as_echo_n "(cached) " >&6
17592 else
17593   if test x$gcc_no_link = xyes; then
17594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17595 fi
17596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h.  */
17598
17599 #ifdef HAVE_COMPLEX_H
17600 #include <complex.h>
17601 #endif
17602 #ifdef HAVE_MATH_H
17603 #include <math.h>
17604 #endif
17605
17606 int (*ptr)() = (int (*)())atanl;
17607
17608 int
17609 main ()
17610 {
17611   return 0;
17612 }
17613
17614 _ACEOF
17615 if ac_fn_c_try_link "$LINENO"; then :
17616   gcc_cv_math_func_atanl=yes
17617 else
17618   gcc_cv_math_func_atanl=no
17619 fi
17620 rm -f core conftest.err conftest.$ac_objext \
17621     conftest$ac_exeext conftest.$ac_ext
17622 fi
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17624 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17625   if test $gcc_cv_math_func_atanl = yes; then
17626
17627 cat >>confdefs.h <<_ACEOF
17628 #define HAVE_ATANL 1
17629 _ACEOF
17630
17631   fi
17632
17633
17634
17635
17636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17637 $as_echo_n "checking for atanhf... " >&6; }
17638 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17639   $as_echo_n "(cached) " >&6
17640 else
17641   if test x$gcc_no_link = xyes; then
17642   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17643 fi
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h.  */
17646
17647 #ifdef HAVE_COMPLEX_H
17648 #include <complex.h>
17649 #endif
17650 #ifdef HAVE_MATH_H
17651 #include <math.h>
17652 #endif
17653
17654 int (*ptr)() = (int (*)())atanhf;
17655
17656 int
17657 main ()
17658 {
17659   return 0;
17660 }
17661
17662 _ACEOF
17663 if ac_fn_c_try_link "$LINENO"; then :
17664   gcc_cv_math_func_atanhf=yes
17665 else
17666   gcc_cv_math_func_atanhf=no
17667 fi
17668 rm -f core conftest.err conftest.$ac_objext \
17669     conftest$ac_exeext conftest.$ac_ext
17670 fi
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17672 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17673   if test $gcc_cv_math_func_atanhf = yes; then
17674
17675 cat >>confdefs.h <<_ACEOF
17676 #define HAVE_ATANHF 1
17677 _ACEOF
17678
17679   fi
17680
17681
17682
17683
17684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17685 $as_echo_n "checking for atanh... " >&6; }
17686 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17687   $as_echo_n "(cached) " >&6
17688 else
17689   if test x$gcc_no_link = xyes; then
17690   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17691 fi
17692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17693 /* end confdefs.h.  */
17694
17695 #ifdef HAVE_COMPLEX_H
17696 #include <complex.h>
17697 #endif
17698 #ifdef HAVE_MATH_H
17699 #include <math.h>
17700 #endif
17701
17702 int (*ptr)() = (int (*)())atanh;
17703
17704 int
17705 main ()
17706 {
17707   return 0;
17708 }
17709
17710 _ACEOF
17711 if ac_fn_c_try_link "$LINENO"; then :
17712   gcc_cv_math_func_atanh=yes
17713 else
17714   gcc_cv_math_func_atanh=no
17715 fi
17716 rm -f core conftest.err conftest.$ac_objext \
17717     conftest$ac_exeext conftest.$ac_ext
17718 fi
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17720 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17721   if test $gcc_cv_math_func_atanh = yes; then
17722
17723 cat >>confdefs.h <<_ACEOF
17724 #define HAVE_ATANH 1
17725 _ACEOF
17726
17727   fi
17728
17729
17730
17731
17732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17733 $as_echo_n "checking for atanhl... " >&6; }
17734 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17735   $as_echo_n "(cached) " >&6
17736 else
17737   if test x$gcc_no_link = xyes; then
17738   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17739 fi
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h.  */
17742
17743 #ifdef HAVE_COMPLEX_H
17744 #include <complex.h>
17745 #endif
17746 #ifdef HAVE_MATH_H
17747 #include <math.h>
17748 #endif
17749
17750 int (*ptr)() = (int (*)())atanhl;
17751
17752 int
17753 main ()
17754 {
17755   return 0;
17756 }
17757
17758 _ACEOF
17759 if ac_fn_c_try_link "$LINENO"; then :
17760   gcc_cv_math_func_atanhl=yes
17761 else
17762   gcc_cv_math_func_atanhl=no
17763 fi
17764 rm -f core conftest.err conftest.$ac_objext \
17765     conftest$ac_exeext conftest.$ac_ext
17766 fi
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17768 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17769   if test $gcc_cv_math_func_atanhl = yes; then
17770
17771 cat >>confdefs.h <<_ACEOF
17772 #define HAVE_ATANHL 1
17773 _ACEOF
17774
17775   fi
17776
17777
17778
17779
17780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17781 $as_echo_n "checking for cargf... " >&6; }
17782 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17783   $as_echo_n "(cached) " >&6
17784 else
17785   if test x$gcc_no_link = xyes; then
17786   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17787 fi
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h.  */
17790
17791 #ifdef HAVE_COMPLEX_H
17792 #include <complex.h>
17793 #endif
17794 #ifdef HAVE_MATH_H
17795 #include <math.h>
17796 #endif
17797
17798 int (*ptr)() = (int (*)())cargf;
17799
17800 int
17801 main ()
17802 {
17803   return 0;
17804 }
17805
17806 _ACEOF
17807 if ac_fn_c_try_link "$LINENO"; then :
17808   gcc_cv_math_func_cargf=yes
17809 else
17810   gcc_cv_math_func_cargf=no
17811 fi
17812 rm -f core conftest.err conftest.$ac_objext \
17813     conftest$ac_exeext conftest.$ac_ext
17814 fi
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17816 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17817   if test $gcc_cv_math_func_cargf = yes; then
17818
17819 cat >>confdefs.h <<_ACEOF
17820 #define HAVE_CARGF 1
17821 _ACEOF
17822
17823   fi
17824
17825
17826
17827
17828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17829 $as_echo_n "checking for carg... " >&6; }
17830 if test "${gcc_cv_math_func_carg+set}" = set; then :
17831   $as_echo_n "(cached) " >&6
17832 else
17833   if test x$gcc_no_link = xyes; then
17834   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17835 fi
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h.  */
17838
17839 #ifdef HAVE_COMPLEX_H
17840 #include <complex.h>
17841 #endif
17842 #ifdef HAVE_MATH_H
17843 #include <math.h>
17844 #endif
17845
17846 int (*ptr)() = (int (*)())carg;
17847
17848 int
17849 main ()
17850 {
17851   return 0;
17852 }
17853
17854 _ACEOF
17855 if ac_fn_c_try_link "$LINENO"; then :
17856   gcc_cv_math_func_carg=yes
17857 else
17858   gcc_cv_math_func_carg=no
17859 fi
17860 rm -f core conftest.err conftest.$ac_objext \
17861     conftest$ac_exeext conftest.$ac_ext
17862 fi
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17864 $as_echo "$gcc_cv_math_func_carg" >&6; }
17865   if test $gcc_cv_math_func_carg = yes; then
17866
17867 cat >>confdefs.h <<_ACEOF
17868 #define HAVE_CARG 1
17869 _ACEOF
17870
17871   fi
17872
17873
17874
17875
17876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17877 $as_echo_n "checking for cargl... " >&6; }
17878 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17879   $as_echo_n "(cached) " >&6
17880 else
17881   if test x$gcc_no_link = xyes; then
17882   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17883 fi
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h.  */
17886
17887 #ifdef HAVE_COMPLEX_H
17888 #include <complex.h>
17889 #endif
17890 #ifdef HAVE_MATH_H
17891 #include <math.h>
17892 #endif
17893
17894 int (*ptr)() = (int (*)())cargl;
17895
17896 int
17897 main ()
17898 {
17899   return 0;
17900 }
17901
17902 _ACEOF
17903 if ac_fn_c_try_link "$LINENO"; then :
17904   gcc_cv_math_func_cargl=yes
17905 else
17906   gcc_cv_math_func_cargl=no
17907 fi
17908 rm -f core conftest.err conftest.$ac_objext \
17909     conftest$ac_exeext conftest.$ac_ext
17910 fi
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17912 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17913   if test $gcc_cv_math_func_cargl = yes; then
17914
17915 cat >>confdefs.h <<_ACEOF
17916 #define HAVE_CARGL 1
17917 _ACEOF
17918
17919   fi
17920
17921
17922
17923
17924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17925 $as_echo_n "checking for ceilf... " >&6; }
17926 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17927   $as_echo_n "(cached) " >&6
17928 else
17929   if test x$gcc_no_link = xyes; then
17930   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17931 fi
17932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17933 /* end confdefs.h.  */
17934
17935 #ifdef HAVE_COMPLEX_H
17936 #include <complex.h>
17937 #endif
17938 #ifdef HAVE_MATH_H
17939 #include <math.h>
17940 #endif
17941
17942 int (*ptr)() = (int (*)())ceilf;
17943
17944 int
17945 main ()
17946 {
17947   return 0;
17948 }
17949
17950 _ACEOF
17951 if ac_fn_c_try_link "$LINENO"; then :
17952   gcc_cv_math_func_ceilf=yes
17953 else
17954   gcc_cv_math_func_ceilf=no
17955 fi
17956 rm -f core conftest.err conftest.$ac_objext \
17957     conftest$ac_exeext conftest.$ac_ext
17958 fi
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17960 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17961   if test $gcc_cv_math_func_ceilf = yes; then
17962
17963 cat >>confdefs.h <<_ACEOF
17964 #define HAVE_CEILF 1
17965 _ACEOF
17966
17967   fi
17968
17969
17970
17971
17972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17973 $as_echo_n "checking for ceil... " >&6; }
17974 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17975   $as_echo_n "(cached) " >&6
17976 else
17977   if test x$gcc_no_link = xyes; then
17978   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17979 fi
17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h.  */
17982
17983 #ifdef HAVE_COMPLEX_H
17984 #include <complex.h>
17985 #endif
17986 #ifdef HAVE_MATH_H
17987 #include <math.h>
17988 #endif
17989
17990 int (*ptr)() = (int (*)())ceil;
17991
17992 int
17993 main ()
17994 {
17995   return 0;
17996 }
17997
17998 _ACEOF
17999 if ac_fn_c_try_link "$LINENO"; then :
18000   gcc_cv_math_func_ceil=yes
18001 else
18002   gcc_cv_math_func_ceil=no
18003 fi
18004 rm -f core conftest.err conftest.$ac_objext \
18005     conftest$ac_exeext conftest.$ac_ext
18006 fi
18007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18008 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18009   if test $gcc_cv_math_func_ceil = yes; then
18010
18011 cat >>confdefs.h <<_ACEOF
18012 #define HAVE_CEIL 1
18013 _ACEOF
18014
18015   fi
18016
18017
18018
18019
18020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18021 $as_echo_n "checking for ceill... " >&6; }
18022 if test "${gcc_cv_math_func_ceill+set}" = set; then :
18023   $as_echo_n "(cached) " >&6
18024 else
18025   if test x$gcc_no_link = xyes; then
18026   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18027 fi
18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18029 /* end confdefs.h.  */
18030
18031 #ifdef HAVE_COMPLEX_H
18032 #include <complex.h>
18033 #endif
18034 #ifdef HAVE_MATH_H
18035 #include <math.h>
18036 #endif
18037
18038 int (*ptr)() = (int (*)())ceill;
18039
18040 int
18041 main ()
18042 {
18043   return 0;
18044 }
18045
18046 _ACEOF
18047 if ac_fn_c_try_link "$LINENO"; then :
18048   gcc_cv_math_func_ceill=yes
18049 else
18050   gcc_cv_math_func_ceill=no
18051 fi
18052 rm -f core conftest.err conftest.$ac_objext \
18053     conftest$ac_exeext conftest.$ac_ext
18054 fi
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18056 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18057   if test $gcc_cv_math_func_ceill = yes; then
18058
18059 cat >>confdefs.h <<_ACEOF
18060 #define HAVE_CEILL 1
18061 _ACEOF
18062
18063   fi
18064
18065
18066
18067
18068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18069 $as_echo_n "checking for copysignf... " >&6; }
18070 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
18071   $as_echo_n "(cached) " >&6
18072 else
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 #ifdef HAVE_COMPLEX_H
18080 #include <complex.h>
18081 #endif
18082 #ifdef HAVE_MATH_H
18083 #include <math.h>
18084 #endif
18085
18086 int (*ptr)() = (int (*)())copysignf;
18087
18088 int
18089 main ()
18090 {
18091   return 0;
18092 }
18093
18094 _ACEOF
18095 if ac_fn_c_try_link "$LINENO"; then :
18096   gcc_cv_math_func_copysignf=yes
18097 else
18098   gcc_cv_math_func_copysignf=no
18099 fi
18100 rm -f core conftest.err conftest.$ac_objext \
18101     conftest$ac_exeext conftest.$ac_ext
18102 fi
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18104 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18105   if test $gcc_cv_math_func_copysignf = yes; then
18106
18107 cat >>confdefs.h <<_ACEOF
18108 #define HAVE_COPYSIGNF 1
18109 _ACEOF
18110
18111   fi
18112
18113
18114
18115
18116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18117 $as_echo_n "checking for copysign... " >&6; }
18118 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18119   $as_echo_n "(cached) " >&6
18120 else
18121   if test x$gcc_no_link = xyes; then
18122   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18123 fi
18124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18125 /* end confdefs.h.  */
18126
18127 #ifdef HAVE_COMPLEX_H
18128 #include <complex.h>
18129 #endif
18130 #ifdef HAVE_MATH_H
18131 #include <math.h>
18132 #endif
18133
18134 int (*ptr)() = (int (*)())copysign;
18135
18136 int
18137 main ()
18138 {
18139   return 0;
18140 }
18141
18142 _ACEOF
18143 if ac_fn_c_try_link "$LINENO"; then :
18144   gcc_cv_math_func_copysign=yes
18145 else
18146   gcc_cv_math_func_copysign=no
18147 fi
18148 rm -f core conftest.err conftest.$ac_objext \
18149     conftest$ac_exeext conftest.$ac_ext
18150 fi
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18152 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18153   if test $gcc_cv_math_func_copysign = yes; then
18154
18155 cat >>confdefs.h <<_ACEOF
18156 #define HAVE_COPYSIGN 1
18157 _ACEOF
18158
18159   fi
18160
18161
18162
18163
18164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18165 $as_echo_n "checking for copysignl... " >&6; }
18166 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18167   $as_echo_n "(cached) " >&6
18168 else
18169   if test x$gcc_no_link = xyes; then
18170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18171 fi
18172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18173 /* end confdefs.h.  */
18174
18175 #ifdef HAVE_COMPLEX_H
18176 #include <complex.h>
18177 #endif
18178 #ifdef HAVE_MATH_H
18179 #include <math.h>
18180 #endif
18181
18182 int (*ptr)() = (int (*)())copysignl;
18183
18184 int
18185 main ()
18186 {
18187   return 0;
18188 }
18189
18190 _ACEOF
18191 if ac_fn_c_try_link "$LINENO"; then :
18192   gcc_cv_math_func_copysignl=yes
18193 else
18194   gcc_cv_math_func_copysignl=no
18195 fi
18196 rm -f core conftest.err conftest.$ac_objext \
18197     conftest$ac_exeext conftest.$ac_ext
18198 fi
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18200 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18201   if test $gcc_cv_math_func_copysignl = yes; then
18202
18203 cat >>confdefs.h <<_ACEOF
18204 #define HAVE_COPYSIGNL 1
18205 _ACEOF
18206
18207   fi
18208
18209
18210
18211
18212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18213 $as_echo_n "checking for cosf... " >&6; }
18214 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18215   $as_echo_n "(cached) " >&6
18216 else
18217   if test x$gcc_no_link = xyes; then
18218   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18219 fi
18220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18221 /* end confdefs.h.  */
18222
18223 #ifdef HAVE_COMPLEX_H
18224 #include <complex.h>
18225 #endif
18226 #ifdef HAVE_MATH_H
18227 #include <math.h>
18228 #endif
18229
18230 int (*ptr)() = (int (*)())cosf;
18231
18232 int
18233 main ()
18234 {
18235   return 0;
18236 }
18237
18238 _ACEOF
18239 if ac_fn_c_try_link "$LINENO"; then :
18240   gcc_cv_math_func_cosf=yes
18241 else
18242   gcc_cv_math_func_cosf=no
18243 fi
18244 rm -f core conftest.err conftest.$ac_objext \
18245     conftest$ac_exeext conftest.$ac_ext
18246 fi
18247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18248 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18249   if test $gcc_cv_math_func_cosf = yes; then
18250
18251 cat >>confdefs.h <<_ACEOF
18252 #define HAVE_COSF 1
18253 _ACEOF
18254
18255   fi
18256
18257
18258
18259
18260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18261 $as_echo_n "checking for cos... " >&6; }
18262 if test "${gcc_cv_math_func_cos+set}" = set; then :
18263   $as_echo_n "(cached) " >&6
18264 else
18265   if test x$gcc_no_link = xyes; then
18266   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18267 fi
18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18269 /* end confdefs.h.  */
18270
18271 #ifdef HAVE_COMPLEX_H
18272 #include <complex.h>
18273 #endif
18274 #ifdef HAVE_MATH_H
18275 #include <math.h>
18276 #endif
18277
18278 int (*ptr)() = (int (*)())cos;
18279
18280 int
18281 main ()
18282 {
18283   return 0;
18284 }
18285
18286 _ACEOF
18287 if ac_fn_c_try_link "$LINENO"; then :
18288   gcc_cv_math_func_cos=yes
18289 else
18290   gcc_cv_math_func_cos=no
18291 fi
18292 rm -f core conftest.err conftest.$ac_objext \
18293     conftest$ac_exeext conftest.$ac_ext
18294 fi
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18296 $as_echo "$gcc_cv_math_func_cos" >&6; }
18297   if test $gcc_cv_math_func_cos = yes; then
18298
18299 cat >>confdefs.h <<_ACEOF
18300 #define HAVE_COS 1
18301 _ACEOF
18302
18303   fi
18304
18305
18306
18307
18308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18309 $as_echo_n "checking for cosl... " >&6; }
18310 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18311   $as_echo_n "(cached) " >&6
18312 else
18313   if test x$gcc_no_link = xyes; then
18314   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18315 fi
18316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h.  */
18318
18319 #ifdef HAVE_COMPLEX_H
18320 #include <complex.h>
18321 #endif
18322 #ifdef HAVE_MATH_H
18323 #include <math.h>
18324 #endif
18325
18326 int (*ptr)() = (int (*)())cosl;
18327
18328 int
18329 main ()
18330 {
18331   return 0;
18332 }
18333
18334 _ACEOF
18335 if ac_fn_c_try_link "$LINENO"; then :
18336   gcc_cv_math_func_cosl=yes
18337 else
18338   gcc_cv_math_func_cosl=no
18339 fi
18340 rm -f core conftest.err conftest.$ac_objext \
18341     conftest$ac_exeext conftest.$ac_ext
18342 fi
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18344 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18345   if test $gcc_cv_math_func_cosl = yes; then
18346
18347 cat >>confdefs.h <<_ACEOF
18348 #define HAVE_COSL 1
18349 _ACEOF
18350
18351   fi
18352
18353
18354
18355
18356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18357 $as_echo_n "checking for ccosf... " >&6; }
18358 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18359   $as_echo_n "(cached) " >&6
18360 else
18361   if test x$gcc_no_link = xyes; then
18362   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18363 fi
18364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365 /* end confdefs.h.  */
18366
18367 #ifdef HAVE_COMPLEX_H
18368 #include <complex.h>
18369 #endif
18370 #ifdef HAVE_MATH_H
18371 #include <math.h>
18372 #endif
18373
18374 int (*ptr)() = (int (*)())ccosf;
18375
18376 int
18377 main ()
18378 {
18379   return 0;
18380 }
18381
18382 _ACEOF
18383 if ac_fn_c_try_link "$LINENO"; then :
18384   gcc_cv_math_func_ccosf=yes
18385 else
18386   gcc_cv_math_func_ccosf=no
18387 fi
18388 rm -f core conftest.err conftest.$ac_objext \
18389     conftest$ac_exeext conftest.$ac_ext
18390 fi
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18392 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18393   if test $gcc_cv_math_func_ccosf = yes; then
18394
18395 cat >>confdefs.h <<_ACEOF
18396 #define HAVE_CCOSF 1
18397 _ACEOF
18398
18399   fi
18400
18401
18402
18403
18404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18405 $as_echo_n "checking for ccos... " >&6; }
18406 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18407   $as_echo_n "(cached) " >&6
18408 else
18409   if test x$gcc_no_link = xyes; then
18410   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18411 fi
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h.  */
18414
18415 #ifdef HAVE_COMPLEX_H
18416 #include <complex.h>
18417 #endif
18418 #ifdef HAVE_MATH_H
18419 #include <math.h>
18420 #endif
18421
18422 int (*ptr)() = (int (*)())ccos;
18423
18424 int
18425 main ()
18426 {
18427   return 0;
18428 }
18429
18430 _ACEOF
18431 if ac_fn_c_try_link "$LINENO"; then :
18432   gcc_cv_math_func_ccos=yes
18433 else
18434   gcc_cv_math_func_ccos=no
18435 fi
18436 rm -f core conftest.err conftest.$ac_objext \
18437     conftest$ac_exeext conftest.$ac_ext
18438 fi
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18440 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18441   if test $gcc_cv_math_func_ccos = yes; then
18442
18443 cat >>confdefs.h <<_ACEOF
18444 #define HAVE_CCOS 1
18445 _ACEOF
18446
18447   fi
18448
18449
18450
18451
18452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18453 $as_echo_n "checking for ccosl... " >&6; }
18454 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18455   $as_echo_n "(cached) " >&6
18456 else
18457   if test x$gcc_no_link = xyes; then
18458   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18459 fi
18460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18461 /* end confdefs.h.  */
18462
18463 #ifdef HAVE_COMPLEX_H
18464 #include <complex.h>
18465 #endif
18466 #ifdef HAVE_MATH_H
18467 #include <math.h>
18468 #endif
18469
18470 int (*ptr)() = (int (*)())ccosl;
18471
18472 int
18473 main ()
18474 {
18475   return 0;
18476 }
18477
18478 _ACEOF
18479 if ac_fn_c_try_link "$LINENO"; then :
18480   gcc_cv_math_func_ccosl=yes
18481 else
18482   gcc_cv_math_func_ccosl=no
18483 fi
18484 rm -f core conftest.err conftest.$ac_objext \
18485     conftest$ac_exeext conftest.$ac_ext
18486 fi
18487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18488 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18489   if test $gcc_cv_math_func_ccosl = yes; then
18490
18491 cat >>confdefs.h <<_ACEOF
18492 #define HAVE_CCOSL 1
18493 _ACEOF
18494
18495   fi
18496
18497
18498
18499
18500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18501 $as_echo_n "checking for coshf... " >&6; }
18502 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18503   $as_echo_n "(cached) " >&6
18504 else
18505   if test x$gcc_no_link = xyes; then
18506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18507 fi
18508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18509 /* end confdefs.h.  */
18510
18511 #ifdef HAVE_COMPLEX_H
18512 #include <complex.h>
18513 #endif
18514 #ifdef HAVE_MATH_H
18515 #include <math.h>
18516 #endif
18517
18518 int (*ptr)() = (int (*)())coshf;
18519
18520 int
18521 main ()
18522 {
18523   return 0;
18524 }
18525
18526 _ACEOF
18527 if ac_fn_c_try_link "$LINENO"; then :
18528   gcc_cv_math_func_coshf=yes
18529 else
18530   gcc_cv_math_func_coshf=no
18531 fi
18532 rm -f core conftest.err conftest.$ac_objext \
18533     conftest$ac_exeext conftest.$ac_ext
18534 fi
18535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18536 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18537   if test $gcc_cv_math_func_coshf = yes; then
18538
18539 cat >>confdefs.h <<_ACEOF
18540 #define HAVE_COSHF 1
18541 _ACEOF
18542
18543   fi
18544
18545
18546
18547
18548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18549 $as_echo_n "checking for cosh... " >&6; }
18550 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18551   $as_echo_n "(cached) " >&6
18552 else
18553   if test x$gcc_no_link = xyes; then
18554   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18555 fi
18556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18557 /* end confdefs.h.  */
18558
18559 #ifdef HAVE_COMPLEX_H
18560 #include <complex.h>
18561 #endif
18562 #ifdef HAVE_MATH_H
18563 #include <math.h>
18564 #endif
18565
18566 int (*ptr)() = (int (*)())cosh;
18567
18568 int
18569 main ()
18570 {
18571   return 0;
18572 }
18573
18574 _ACEOF
18575 if ac_fn_c_try_link "$LINENO"; then :
18576   gcc_cv_math_func_cosh=yes
18577 else
18578   gcc_cv_math_func_cosh=no
18579 fi
18580 rm -f core conftest.err conftest.$ac_objext \
18581     conftest$ac_exeext conftest.$ac_ext
18582 fi
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18584 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18585   if test $gcc_cv_math_func_cosh = yes; then
18586
18587 cat >>confdefs.h <<_ACEOF
18588 #define HAVE_COSH 1
18589 _ACEOF
18590
18591   fi
18592
18593
18594
18595
18596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18597 $as_echo_n "checking for coshl... " >&6; }
18598 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18599   $as_echo_n "(cached) " >&6
18600 else
18601   if test x$gcc_no_link = xyes; then
18602   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18603 fi
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h.  */
18606
18607 #ifdef HAVE_COMPLEX_H
18608 #include <complex.h>
18609 #endif
18610 #ifdef HAVE_MATH_H
18611 #include <math.h>
18612 #endif
18613
18614 int (*ptr)() = (int (*)())coshl;
18615
18616 int
18617 main ()
18618 {
18619   return 0;
18620 }
18621
18622 _ACEOF
18623 if ac_fn_c_try_link "$LINENO"; then :
18624   gcc_cv_math_func_coshl=yes
18625 else
18626   gcc_cv_math_func_coshl=no
18627 fi
18628 rm -f core conftest.err conftest.$ac_objext \
18629     conftest$ac_exeext conftest.$ac_ext
18630 fi
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18632 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18633   if test $gcc_cv_math_func_coshl = yes; then
18634
18635 cat >>confdefs.h <<_ACEOF
18636 #define HAVE_COSHL 1
18637 _ACEOF
18638
18639   fi
18640
18641
18642
18643
18644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18645 $as_echo_n "checking for ccoshf... " >&6; }
18646 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18647   $as_echo_n "(cached) " >&6
18648 else
18649   if test x$gcc_no_link = xyes; then
18650   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18651 fi
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h.  */
18654
18655 #ifdef HAVE_COMPLEX_H
18656 #include <complex.h>
18657 #endif
18658 #ifdef HAVE_MATH_H
18659 #include <math.h>
18660 #endif
18661
18662 int (*ptr)() = (int (*)())ccoshf;
18663
18664 int
18665 main ()
18666 {
18667   return 0;
18668 }
18669
18670 _ACEOF
18671 if ac_fn_c_try_link "$LINENO"; then :
18672   gcc_cv_math_func_ccoshf=yes
18673 else
18674   gcc_cv_math_func_ccoshf=no
18675 fi
18676 rm -f core conftest.err conftest.$ac_objext \
18677     conftest$ac_exeext conftest.$ac_ext
18678 fi
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18680 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18681   if test $gcc_cv_math_func_ccoshf = yes; then
18682
18683 cat >>confdefs.h <<_ACEOF
18684 #define HAVE_CCOSHF 1
18685 _ACEOF
18686
18687   fi
18688
18689
18690
18691
18692   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18693 $as_echo_n "checking for ccosh... " >&6; }
18694 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18695   $as_echo_n "(cached) " >&6
18696 else
18697   if test x$gcc_no_link = xyes; then
18698   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18699 fi
18700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18701 /* end confdefs.h.  */
18702
18703 #ifdef HAVE_COMPLEX_H
18704 #include <complex.h>
18705 #endif
18706 #ifdef HAVE_MATH_H
18707 #include <math.h>
18708 #endif
18709
18710 int (*ptr)() = (int (*)())ccosh;
18711
18712 int
18713 main ()
18714 {
18715   return 0;
18716 }
18717
18718 _ACEOF
18719 if ac_fn_c_try_link "$LINENO"; then :
18720   gcc_cv_math_func_ccosh=yes
18721 else
18722   gcc_cv_math_func_ccosh=no
18723 fi
18724 rm -f core conftest.err conftest.$ac_objext \
18725     conftest$ac_exeext conftest.$ac_ext
18726 fi
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18728 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18729   if test $gcc_cv_math_func_ccosh = yes; then
18730
18731 cat >>confdefs.h <<_ACEOF
18732 #define HAVE_CCOSH 1
18733 _ACEOF
18734
18735   fi
18736
18737
18738
18739
18740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18741 $as_echo_n "checking for ccoshl... " >&6; }
18742 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18743   $as_echo_n "(cached) " >&6
18744 else
18745   if test x$gcc_no_link = xyes; then
18746   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18747 fi
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h.  */
18750
18751 #ifdef HAVE_COMPLEX_H
18752 #include <complex.h>
18753 #endif
18754 #ifdef HAVE_MATH_H
18755 #include <math.h>
18756 #endif
18757
18758 int (*ptr)() = (int (*)())ccoshl;
18759
18760 int
18761 main ()
18762 {
18763   return 0;
18764 }
18765
18766 _ACEOF
18767 if ac_fn_c_try_link "$LINENO"; then :
18768   gcc_cv_math_func_ccoshl=yes
18769 else
18770   gcc_cv_math_func_ccoshl=no
18771 fi
18772 rm -f core conftest.err conftest.$ac_objext \
18773     conftest$ac_exeext conftest.$ac_ext
18774 fi
18775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18776 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18777   if test $gcc_cv_math_func_ccoshl = yes; then
18778
18779 cat >>confdefs.h <<_ACEOF
18780 #define HAVE_CCOSHL 1
18781 _ACEOF
18782
18783   fi
18784
18785
18786
18787
18788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18789 $as_echo_n "checking for expf... " >&6; }
18790 if test "${gcc_cv_math_func_expf+set}" = set; then :
18791   $as_echo_n "(cached) " >&6
18792 else
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 #ifdef HAVE_COMPLEX_H
18800 #include <complex.h>
18801 #endif
18802 #ifdef HAVE_MATH_H
18803 #include <math.h>
18804 #endif
18805
18806 int (*ptr)() = (int (*)())expf;
18807
18808 int
18809 main ()
18810 {
18811   return 0;
18812 }
18813
18814 _ACEOF
18815 if ac_fn_c_try_link "$LINENO"; then :
18816   gcc_cv_math_func_expf=yes
18817 else
18818   gcc_cv_math_func_expf=no
18819 fi
18820 rm -f core conftest.err conftest.$ac_objext \
18821     conftest$ac_exeext conftest.$ac_ext
18822 fi
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18824 $as_echo "$gcc_cv_math_func_expf" >&6; }
18825   if test $gcc_cv_math_func_expf = yes; then
18826
18827 cat >>confdefs.h <<_ACEOF
18828 #define HAVE_EXPF 1
18829 _ACEOF
18830
18831   fi
18832
18833
18834
18835
18836   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18837 $as_echo_n "checking for exp... " >&6; }
18838 if test "${gcc_cv_math_func_exp+set}" = set; then :
18839   $as_echo_n "(cached) " >&6
18840 else
18841   if test x$gcc_no_link = xyes; then
18842   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18843 fi
18844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18845 /* end confdefs.h.  */
18846
18847 #ifdef HAVE_COMPLEX_H
18848 #include <complex.h>
18849 #endif
18850 #ifdef HAVE_MATH_H
18851 #include <math.h>
18852 #endif
18853
18854 int (*ptr)() = (int (*)())exp;
18855
18856 int
18857 main ()
18858 {
18859   return 0;
18860 }
18861
18862 _ACEOF
18863 if ac_fn_c_try_link "$LINENO"; then :
18864   gcc_cv_math_func_exp=yes
18865 else
18866   gcc_cv_math_func_exp=no
18867 fi
18868 rm -f core conftest.err conftest.$ac_objext \
18869     conftest$ac_exeext conftest.$ac_ext
18870 fi
18871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18872 $as_echo "$gcc_cv_math_func_exp" >&6; }
18873   if test $gcc_cv_math_func_exp = yes; then
18874
18875 cat >>confdefs.h <<_ACEOF
18876 #define HAVE_EXP 1
18877 _ACEOF
18878
18879   fi
18880
18881
18882
18883
18884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18885 $as_echo_n "checking for expl... " >&6; }
18886 if test "${gcc_cv_math_func_expl+set}" = set; then :
18887   $as_echo_n "(cached) " >&6
18888 else
18889   if test x$gcc_no_link = xyes; then
18890   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18891 fi
18892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18893 /* end confdefs.h.  */
18894
18895 #ifdef HAVE_COMPLEX_H
18896 #include <complex.h>
18897 #endif
18898 #ifdef HAVE_MATH_H
18899 #include <math.h>
18900 #endif
18901
18902 int (*ptr)() = (int (*)())expl;
18903
18904 int
18905 main ()
18906 {
18907   return 0;
18908 }
18909
18910 _ACEOF
18911 if ac_fn_c_try_link "$LINENO"; then :
18912   gcc_cv_math_func_expl=yes
18913 else
18914   gcc_cv_math_func_expl=no
18915 fi
18916 rm -f core conftest.err conftest.$ac_objext \
18917     conftest$ac_exeext conftest.$ac_ext
18918 fi
18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18920 $as_echo "$gcc_cv_math_func_expl" >&6; }
18921   if test $gcc_cv_math_func_expl = yes; then
18922
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_EXPL 1
18925 _ACEOF
18926
18927   fi
18928
18929
18930
18931
18932   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18933 $as_echo_n "checking for cexpf... " >&6; }
18934 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18935   $as_echo_n "(cached) " >&6
18936 else
18937   if test x$gcc_no_link = xyes; then
18938   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18939 fi
18940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18941 /* end confdefs.h.  */
18942
18943 #ifdef HAVE_COMPLEX_H
18944 #include <complex.h>
18945 #endif
18946 #ifdef HAVE_MATH_H
18947 #include <math.h>
18948 #endif
18949
18950 int (*ptr)() = (int (*)())cexpf;
18951
18952 int
18953 main ()
18954 {
18955   return 0;
18956 }
18957
18958 _ACEOF
18959 if ac_fn_c_try_link "$LINENO"; then :
18960   gcc_cv_math_func_cexpf=yes
18961 else
18962   gcc_cv_math_func_cexpf=no
18963 fi
18964 rm -f core conftest.err conftest.$ac_objext \
18965     conftest$ac_exeext conftest.$ac_ext
18966 fi
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18968 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18969   if test $gcc_cv_math_func_cexpf = yes; then
18970
18971 cat >>confdefs.h <<_ACEOF
18972 #define HAVE_CEXPF 1
18973 _ACEOF
18974
18975   fi
18976
18977
18978
18979
18980   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18981 $as_echo_n "checking for cexp... " >&6; }
18982 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18983   $as_echo_n "(cached) " >&6
18984 else
18985   if test x$gcc_no_link = xyes; then
18986   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18987 fi
18988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18989 /* end confdefs.h.  */
18990
18991 #ifdef HAVE_COMPLEX_H
18992 #include <complex.h>
18993 #endif
18994 #ifdef HAVE_MATH_H
18995 #include <math.h>
18996 #endif
18997
18998 int (*ptr)() = (int (*)())cexp;
18999
19000 int
19001 main ()
19002 {
19003   return 0;
19004 }
19005
19006 _ACEOF
19007 if ac_fn_c_try_link "$LINENO"; then :
19008   gcc_cv_math_func_cexp=yes
19009 else
19010   gcc_cv_math_func_cexp=no
19011 fi
19012 rm -f core conftest.err conftest.$ac_objext \
19013     conftest$ac_exeext conftest.$ac_ext
19014 fi
19015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19016 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19017   if test $gcc_cv_math_func_cexp = yes; then
19018
19019 cat >>confdefs.h <<_ACEOF
19020 #define HAVE_CEXP 1
19021 _ACEOF
19022
19023   fi
19024
19025
19026
19027
19028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19029 $as_echo_n "checking for cexpl... " >&6; }
19030 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
19031   $as_echo_n "(cached) " >&6
19032 else
19033   if test x$gcc_no_link = xyes; then
19034   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19035 fi
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h.  */
19038
19039 #ifdef HAVE_COMPLEX_H
19040 #include <complex.h>
19041 #endif
19042 #ifdef HAVE_MATH_H
19043 #include <math.h>
19044 #endif
19045
19046 int (*ptr)() = (int (*)())cexpl;
19047
19048 int
19049 main ()
19050 {
19051   return 0;
19052 }
19053
19054 _ACEOF
19055 if ac_fn_c_try_link "$LINENO"; then :
19056   gcc_cv_math_func_cexpl=yes
19057 else
19058   gcc_cv_math_func_cexpl=no
19059 fi
19060 rm -f core conftest.err conftest.$ac_objext \
19061     conftest$ac_exeext conftest.$ac_ext
19062 fi
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19064 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19065   if test $gcc_cv_math_func_cexpl = yes; then
19066
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_CEXPL 1
19069 _ACEOF
19070
19071   fi
19072
19073
19074
19075
19076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19077 $as_echo_n "checking for fabsf... " >&6; }
19078 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
19079   $as_echo_n "(cached) " >&6
19080 else
19081   if test x$gcc_no_link = xyes; then
19082   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19083 fi
19084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h.  */
19086
19087 #ifdef HAVE_COMPLEX_H
19088 #include <complex.h>
19089 #endif
19090 #ifdef HAVE_MATH_H
19091 #include <math.h>
19092 #endif
19093
19094 int (*ptr)() = (int (*)())fabsf;
19095
19096 int
19097 main ()
19098 {
19099   return 0;
19100 }
19101
19102 _ACEOF
19103 if ac_fn_c_try_link "$LINENO"; then :
19104   gcc_cv_math_func_fabsf=yes
19105 else
19106   gcc_cv_math_func_fabsf=no
19107 fi
19108 rm -f core conftest.err conftest.$ac_objext \
19109     conftest$ac_exeext conftest.$ac_ext
19110 fi
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19112 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19113   if test $gcc_cv_math_func_fabsf = yes; then
19114
19115 cat >>confdefs.h <<_ACEOF
19116 #define HAVE_FABSF 1
19117 _ACEOF
19118
19119   fi
19120
19121
19122
19123
19124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19125 $as_echo_n "checking for fabs... " >&6; }
19126 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19127   $as_echo_n "(cached) " >&6
19128 else
19129   if test x$gcc_no_link = xyes; then
19130   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19131 fi
19132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19133 /* end confdefs.h.  */
19134
19135 #ifdef HAVE_COMPLEX_H
19136 #include <complex.h>
19137 #endif
19138 #ifdef HAVE_MATH_H
19139 #include <math.h>
19140 #endif
19141
19142 int (*ptr)() = (int (*)())fabs;
19143
19144 int
19145 main ()
19146 {
19147   return 0;
19148 }
19149
19150 _ACEOF
19151 if ac_fn_c_try_link "$LINENO"; then :
19152   gcc_cv_math_func_fabs=yes
19153 else
19154   gcc_cv_math_func_fabs=no
19155 fi
19156 rm -f core conftest.err conftest.$ac_objext \
19157     conftest$ac_exeext conftest.$ac_ext
19158 fi
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19160 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19161   if test $gcc_cv_math_func_fabs = yes; then
19162
19163 cat >>confdefs.h <<_ACEOF
19164 #define HAVE_FABS 1
19165 _ACEOF
19166
19167   fi
19168
19169
19170
19171
19172   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19173 $as_echo_n "checking for fabsl... " >&6; }
19174 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19175   $as_echo_n "(cached) " >&6
19176 else
19177   if test x$gcc_no_link = xyes; then
19178   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19179 fi
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h.  */
19182
19183 #ifdef HAVE_COMPLEX_H
19184 #include <complex.h>
19185 #endif
19186 #ifdef HAVE_MATH_H
19187 #include <math.h>
19188 #endif
19189
19190 int (*ptr)() = (int (*)())fabsl;
19191
19192 int
19193 main ()
19194 {
19195   return 0;
19196 }
19197
19198 _ACEOF
19199 if ac_fn_c_try_link "$LINENO"; then :
19200   gcc_cv_math_func_fabsl=yes
19201 else
19202   gcc_cv_math_func_fabsl=no
19203 fi
19204 rm -f core conftest.err conftest.$ac_objext \
19205     conftest$ac_exeext conftest.$ac_ext
19206 fi
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19208 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19209   if test $gcc_cv_math_func_fabsl = yes; then
19210
19211 cat >>confdefs.h <<_ACEOF
19212 #define HAVE_FABSL 1
19213 _ACEOF
19214
19215   fi
19216
19217
19218
19219
19220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19221 $as_echo_n "checking for cabsf... " >&6; }
19222 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19223   $as_echo_n "(cached) " >&6
19224 else
19225   if test x$gcc_no_link = xyes; then
19226   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19227 fi
19228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19229 /* end confdefs.h.  */
19230
19231 #ifdef HAVE_COMPLEX_H
19232 #include <complex.h>
19233 #endif
19234 #ifdef HAVE_MATH_H
19235 #include <math.h>
19236 #endif
19237
19238 int (*ptr)() = (int (*)())cabsf;
19239
19240 int
19241 main ()
19242 {
19243   return 0;
19244 }
19245
19246 _ACEOF
19247 if ac_fn_c_try_link "$LINENO"; then :
19248   gcc_cv_math_func_cabsf=yes
19249 else
19250   gcc_cv_math_func_cabsf=no
19251 fi
19252 rm -f core conftest.err conftest.$ac_objext \
19253     conftest$ac_exeext conftest.$ac_ext
19254 fi
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19256 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19257   if test $gcc_cv_math_func_cabsf = yes; then
19258
19259 cat >>confdefs.h <<_ACEOF
19260 #define HAVE_CABSF 1
19261 _ACEOF
19262
19263   fi
19264
19265
19266
19267
19268   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19269 $as_echo_n "checking for cabs... " >&6; }
19270 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19271   $as_echo_n "(cached) " >&6
19272 else
19273   if test x$gcc_no_link = xyes; then
19274   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19275 fi
19276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19277 /* end confdefs.h.  */
19278
19279 #ifdef HAVE_COMPLEX_H
19280 #include <complex.h>
19281 #endif
19282 #ifdef HAVE_MATH_H
19283 #include <math.h>
19284 #endif
19285
19286 int (*ptr)() = (int (*)())cabs;
19287
19288 int
19289 main ()
19290 {
19291   return 0;
19292 }
19293
19294 _ACEOF
19295 if ac_fn_c_try_link "$LINENO"; then :
19296   gcc_cv_math_func_cabs=yes
19297 else
19298   gcc_cv_math_func_cabs=no
19299 fi
19300 rm -f core conftest.err conftest.$ac_objext \
19301     conftest$ac_exeext conftest.$ac_ext
19302 fi
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19304 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19305   if test $gcc_cv_math_func_cabs = yes; then
19306
19307 cat >>confdefs.h <<_ACEOF
19308 #define HAVE_CABS 1
19309 _ACEOF
19310
19311   fi
19312
19313
19314
19315
19316   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19317 $as_echo_n "checking for cabsl... " >&6; }
19318 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19319   $as_echo_n "(cached) " >&6
19320 else
19321   if test x$gcc_no_link = xyes; then
19322   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19323 fi
19324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19325 /* end confdefs.h.  */
19326
19327 #ifdef HAVE_COMPLEX_H
19328 #include <complex.h>
19329 #endif
19330 #ifdef HAVE_MATH_H
19331 #include <math.h>
19332 #endif
19333
19334 int (*ptr)() = (int (*)())cabsl;
19335
19336 int
19337 main ()
19338 {
19339   return 0;
19340 }
19341
19342 _ACEOF
19343 if ac_fn_c_try_link "$LINENO"; then :
19344   gcc_cv_math_func_cabsl=yes
19345 else
19346   gcc_cv_math_func_cabsl=no
19347 fi
19348 rm -f core conftest.err conftest.$ac_objext \
19349     conftest$ac_exeext conftest.$ac_ext
19350 fi
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19352 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19353   if test $gcc_cv_math_func_cabsl = yes; then
19354
19355 cat >>confdefs.h <<_ACEOF
19356 #define HAVE_CABSL 1
19357 _ACEOF
19358
19359   fi
19360
19361
19362
19363
19364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19365 $as_echo_n "checking for floorf... " >&6; }
19366 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19367   $as_echo_n "(cached) " >&6
19368 else
19369   if test x$gcc_no_link = xyes; then
19370   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19371 fi
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h.  */
19374
19375 #ifdef HAVE_COMPLEX_H
19376 #include <complex.h>
19377 #endif
19378 #ifdef HAVE_MATH_H
19379 #include <math.h>
19380 #endif
19381
19382 int (*ptr)() = (int (*)())floorf;
19383
19384 int
19385 main ()
19386 {
19387   return 0;
19388 }
19389
19390 _ACEOF
19391 if ac_fn_c_try_link "$LINENO"; then :
19392   gcc_cv_math_func_floorf=yes
19393 else
19394   gcc_cv_math_func_floorf=no
19395 fi
19396 rm -f core conftest.err conftest.$ac_objext \
19397     conftest$ac_exeext conftest.$ac_ext
19398 fi
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19400 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19401   if test $gcc_cv_math_func_floorf = yes; then
19402
19403 cat >>confdefs.h <<_ACEOF
19404 #define HAVE_FLOORF 1
19405 _ACEOF
19406
19407   fi
19408
19409
19410
19411
19412   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19413 $as_echo_n "checking for floor... " >&6; }
19414 if test "${gcc_cv_math_func_floor+set}" = set; then :
19415   $as_echo_n "(cached) " >&6
19416 else
19417   if test x$gcc_no_link = xyes; then
19418   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19419 fi
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h.  */
19422
19423 #ifdef HAVE_COMPLEX_H
19424 #include <complex.h>
19425 #endif
19426 #ifdef HAVE_MATH_H
19427 #include <math.h>
19428 #endif
19429
19430 int (*ptr)() = (int (*)())floor;
19431
19432 int
19433 main ()
19434 {
19435   return 0;
19436 }
19437
19438 _ACEOF
19439 if ac_fn_c_try_link "$LINENO"; then :
19440   gcc_cv_math_func_floor=yes
19441 else
19442   gcc_cv_math_func_floor=no
19443 fi
19444 rm -f core conftest.err conftest.$ac_objext \
19445     conftest$ac_exeext conftest.$ac_ext
19446 fi
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19448 $as_echo "$gcc_cv_math_func_floor" >&6; }
19449   if test $gcc_cv_math_func_floor = yes; then
19450
19451 cat >>confdefs.h <<_ACEOF
19452 #define HAVE_FLOOR 1
19453 _ACEOF
19454
19455   fi
19456
19457
19458
19459
19460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19461 $as_echo_n "checking for floorl... " >&6; }
19462 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19463   $as_echo_n "(cached) " >&6
19464 else
19465   if test x$gcc_no_link = xyes; then
19466   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19467 fi
19468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19469 /* end confdefs.h.  */
19470
19471 #ifdef HAVE_COMPLEX_H
19472 #include <complex.h>
19473 #endif
19474 #ifdef HAVE_MATH_H
19475 #include <math.h>
19476 #endif
19477
19478 int (*ptr)() = (int (*)())floorl;
19479
19480 int
19481 main ()
19482 {
19483   return 0;
19484 }
19485
19486 _ACEOF
19487 if ac_fn_c_try_link "$LINENO"; then :
19488   gcc_cv_math_func_floorl=yes
19489 else
19490   gcc_cv_math_func_floorl=no
19491 fi
19492 rm -f core conftest.err conftest.$ac_objext \
19493     conftest$ac_exeext conftest.$ac_ext
19494 fi
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19496 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19497   if test $gcc_cv_math_func_floorl = yes; then
19498
19499 cat >>confdefs.h <<_ACEOF
19500 #define HAVE_FLOORL 1
19501 _ACEOF
19502
19503   fi
19504
19505
19506
19507
19508   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19509 $as_echo_n "checking for fmodf... " >&6; }
19510 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19511   $as_echo_n "(cached) " >&6
19512 else
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 #ifdef HAVE_COMPLEX_H
19520 #include <complex.h>
19521 #endif
19522 #ifdef HAVE_MATH_H
19523 #include <math.h>
19524 #endif
19525
19526 int (*ptr)() = (int (*)())fmodf;
19527
19528 int
19529 main ()
19530 {
19531   return 0;
19532 }
19533
19534 _ACEOF
19535 if ac_fn_c_try_link "$LINENO"; then :
19536   gcc_cv_math_func_fmodf=yes
19537 else
19538   gcc_cv_math_func_fmodf=no
19539 fi
19540 rm -f core conftest.err conftest.$ac_objext \
19541     conftest$ac_exeext conftest.$ac_ext
19542 fi
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19544 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19545   if test $gcc_cv_math_func_fmodf = yes; then
19546
19547 cat >>confdefs.h <<_ACEOF
19548 #define HAVE_FMODF 1
19549 _ACEOF
19550
19551   fi
19552
19553
19554
19555
19556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19557 $as_echo_n "checking for fmod... " >&6; }
19558 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19559   $as_echo_n "(cached) " >&6
19560 else
19561   if test x$gcc_no_link = xyes; then
19562   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19563 fi
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h.  */
19566
19567 #ifdef HAVE_COMPLEX_H
19568 #include <complex.h>
19569 #endif
19570 #ifdef HAVE_MATH_H
19571 #include <math.h>
19572 #endif
19573
19574 int (*ptr)() = (int (*)())fmod;
19575
19576 int
19577 main ()
19578 {
19579   return 0;
19580 }
19581
19582 _ACEOF
19583 if ac_fn_c_try_link "$LINENO"; then :
19584   gcc_cv_math_func_fmod=yes
19585 else
19586   gcc_cv_math_func_fmod=no
19587 fi
19588 rm -f core conftest.err conftest.$ac_objext \
19589     conftest$ac_exeext conftest.$ac_ext
19590 fi
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19592 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19593   if test $gcc_cv_math_func_fmod = yes; then
19594
19595 cat >>confdefs.h <<_ACEOF
19596 #define HAVE_FMOD 1
19597 _ACEOF
19598
19599   fi
19600
19601
19602
19603
19604   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19605 $as_echo_n "checking for fmodl... " >&6; }
19606 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19607   $as_echo_n "(cached) " >&6
19608 else
19609   if test x$gcc_no_link = xyes; then
19610   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19611 fi
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h.  */
19614
19615 #ifdef HAVE_COMPLEX_H
19616 #include <complex.h>
19617 #endif
19618 #ifdef HAVE_MATH_H
19619 #include <math.h>
19620 #endif
19621
19622 int (*ptr)() = (int (*)())fmodl;
19623
19624 int
19625 main ()
19626 {
19627   return 0;
19628 }
19629
19630 _ACEOF
19631 if ac_fn_c_try_link "$LINENO"; then :
19632   gcc_cv_math_func_fmodl=yes
19633 else
19634   gcc_cv_math_func_fmodl=no
19635 fi
19636 rm -f core conftest.err conftest.$ac_objext \
19637     conftest$ac_exeext conftest.$ac_ext
19638 fi
19639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19640 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19641   if test $gcc_cv_math_func_fmodl = yes; then
19642
19643 cat >>confdefs.h <<_ACEOF
19644 #define HAVE_FMODL 1
19645 _ACEOF
19646
19647   fi
19648
19649
19650
19651
19652   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19653 $as_echo_n "checking for frexpf... " >&6; }
19654 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19655   $as_echo_n "(cached) " >&6
19656 else
19657   if test x$gcc_no_link = xyes; then
19658   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19659 fi
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h.  */
19662
19663 #ifdef HAVE_COMPLEX_H
19664 #include <complex.h>
19665 #endif
19666 #ifdef HAVE_MATH_H
19667 #include <math.h>
19668 #endif
19669
19670 int (*ptr)() = (int (*)())frexpf;
19671
19672 int
19673 main ()
19674 {
19675   return 0;
19676 }
19677
19678 _ACEOF
19679 if ac_fn_c_try_link "$LINENO"; then :
19680   gcc_cv_math_func_frexpf=yes
19681 else
19682   gcc_cv_math_func_frexpf=no
19683 fi
19684 rm -f core conftest.err conftest.$ac_objext \
19685     conftest$ac_exeext conftest.$ac_ext
19686 fi
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19688 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19689   if test $gcc_cv_math_func_frexpf = yes; then
19690
19691 cat >>confdefs.h <<_ACEOF
19692 #define HAVE_FREXPF 1
19693 _ACEOF
19694
19695   fi
19696
19697
19698
19699
19700   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19701 $as_echo_n "checking for frexp... " >&6; }
19702 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19703   $as_echo_n "(cached) " >&6
19704 else
19705   if test x$gcc_no_link = xyes; then
19706   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19707 fi
19708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19709 /* end confdefs.h.  */
19710
19711 #ifdef HAVE_COMPLEX_H
19712 #include <complex.h>
19713 #endif
19714 #ifdef HAVE_MATH_H
19715 #include <math.h>
19716 #endif
19717
19718 int (*ptr)() = (int (*)())frexp;
19719
19720 int
19721 main ()
19722 {
19723   return 0;
19724 }
19725
19726 _ACEOF
19727 if ac_fn_c_try_link "$LINENO"; then :
19728   gcc_cv_math_func_frexp=yes
19729 else
19730   gcc_cv_math_func_frexp=no
19731 fi
19732 rm -f core conftest.err conftest.$ac_objext \
19733     conftest$ac_exeext conftest.$ac_ext
19734 fi
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19736 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19737   if test $gcc_cv_math_func_frexp = yes; then
19738
19739 cat >>confdefs.h <<_ACEOF
19740 #define HAVE_FREXP 1
19741 _ACEOF
19742
19743   fi
19744
19745
19746
19747
19748   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19749 $as_echo_n "checking for frexpl... " >&6; }
19750 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19751   $as_echo_n "(cached) " >&6
19752 else
19753   if test x$gcc_no_link = xyes; then
19754   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19755 fi
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h.  */
19758
19759 #ifdef HAVE_COMPLEX_H
19760 #include <complex.h>
19761 #endif
19762 #ifdef HAVE_MATH_H
19763 #include <math.h>
19764 #endif
19765
19766 int (*ptr)() = (int (*)())frexpl;
19767
19768 int
19769 main ()
19770 {
19771   return 0;
19772 }
19773
19774 _ACEOF
19775 if ac_fn_c_try_link "$LINENO"; then :
19776   gcc_cv_math_func_frexpl=yes
19777 else
19778   gcc_cv_math_func_frexpl=no
19779 fi
19780 rm -f core conftest.err conftest.$ac_objext \
19781     conftest$ac_exeext conftest.$ac_ext
19782 fi
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19784 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19785   if test $gcc_cv_math_func_frexpl = yes; then
19786
19787 cat >>confdefs.h <<_ACEOF
19788 #define HAVE_FREXPL 1
19789 _ACEOF
19790
19791   fi
19792
19793
19794
19795
19796   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19797 $as_echo_n "checking for hypotf... " >&6; }
19798 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19799   $as_echo_n "(cached) " >&6
19800 else
19801   if test x$gcc_no_link = xyes; then
19802   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19803 fi
19804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19805 /* end confdefs.h.  */
19806
19807 #ifdef HAVE_COMPLEX_H
19808 #include <complex.h>
19809 #endif
19810 #ifdef HAVE_MATH_H
19811 #include <math.h>
19812 #endif
19813
19814 int (*ptr)() = (int (*)())hypotf;
19815
19816 int
19817 main ()
19818 {
19819   return 0;
19820 }
19821
19822 _ACEOF
19823 if ac_fn_c_try_link "$LINENO"; then :
19824   gcc_cv_math_func_hypotf=yes
19825 else
19826   gcc_cv_math_func_hypotf=no
19827 fi
19828 rm -f core conftest.err conftest.$ac_objext \
19829     conftest$ac_exeext conftest.$ac_ext
19830 fi
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19832 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19833   if test $gcc_cv_math_func_hypotf = yes; then
19834
19835 cat >>confdefs.h <<_ACEOF
19836 #define HAVE_HYPOTF 1
19837 _ACEOF
19838
19839   fi
19840
19841
19842
19843
19844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19845 $as_echo_n "checking for hypot... " >&6; }
19846 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19847   $as_echo_n "(cached) " >&6
19848 else
19849   if test x$gcc_no_link = xyes; then
19850   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19851 fi
19852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19853 /* end confdefs.h.  */
19854
19855 #ifdef HAVE_COMPLEX_H
19856 #include <complex.h>
19857 #endif
19858 #ifdef HAVE_MATH_H
19859 #include <math.h>
19860 #endif
19861
19862 int (*ptr)() = (int (*)())hypot;
19863
19864 int
19865 main ()
19866 {
19867   return 0;
19868 }
19869
19870 _ACEOF
19871 if ac_fn_c_try_link "$LINENO"; then :
19872   gcc_cv_math_func_hypot=yes
19873 else
19874   gcc_cv_math_func_hypot=no
19875 fi
19876 rm -f core conftest.err conftest.$ac_objext \
19877     conftest$ac_exeext conftest.$ac_ext
19878 fi
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19880 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19881   if test $gcc_cv_math_func_hypot = yes; then
19882
19883 cat >>confdefs.h <<_ACEOF
19884 #define HAVE_HYPOT 1
19885 _ACEOF
19886
19887   fi
19888
19889
19890
19891
19892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19893 $as_echo_n "checking for hypotl... " >&6; }
19894 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19895   $as_echo_n "(cached) " >&6
19896 else
19897   if test x$gcc_no_link = xyes; then
19898   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19899 fi
19900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19901 /* end confdefs.h.  */
19902
19903 #ifdef HAVE_COMPLEX_H
19904 #include <complex.h>
19905 #endif
19906 #ifdef HAVE_MATH_H
19907 #include <math.h>
19908 #endif
19909
19910 int (*ptr)() = (int (*)())hypotl;
19911
19912 int
19913 main ()
19914 {
19915   return 0;
19916 }
19917
19918 _ACEOF
19919 if ac_fn_c_try_link "$LINENO"; then :
19920   gcc_cv_math_func_hypotl=yes
19921 else
19922   gcc_cv_math_func_hypotl=no
19923 fi
19924 rm -f core conftest.err conftest.$ac_objext \
19925     conftest$ac_exeext conftest.$ac_ext
19926 fi
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19928 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19929   if test $gcc_cv_math_func_hypotl = yes; then
19930
19931 cat >>confdefs.h <<_ACEOF
19932 #define HAVE_HYPOTL 1
19933 _ACEOF
19934
19935   fi
19936
19937
19938
19939
19940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19941 $as_echo_n "checking for ldexpf... " >&6; }
19942 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19943   $as_echo_n "(cached) " >&6
19944 else
19945   if test x$gcc_no_link = xyes; then
19946   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19947 fi
19948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19949 /* end confdefs.h.  */
19950
19951 #ifdef HAVE_COMPLEX_H
19952 #include <complex.h>
19953 #endif
19954 #ifdef HAVE_MATH_H
19955 #include <math.h>
19956 #endif
19957
19958 int (*ptr)() = (int (*)())ldexpf;
19959
19960 int
19961 main ()
19962 {
19963   return 0;
19964 }
19965
19966 _ACEOF
19967 if ac_fn_c_try_link "$LINENO"; then :
19968   gcc_cv_math_func_ldexpf=yes
19969 else
19970   gcc_cv_math_func_ldexpf=no
19971 fi
19972 rm -f core conftest.err conftest.$ac_objext \
19973     conftest$ac_exeext conftest.$ac_ext
19974 fi
19975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19976 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19977   if test $gcc_cv_math_func_ldexpf = yes; then
19978
19979 cat >>confdefs.h <<_ACEOF
19980 #define HAVE_LDEXPF 1
19981 _ACEOF
19982
19983   fi
19984
19985
19986
19987
19988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19989 $as_echo_n "checking for ldexp... " >&6; }
19990 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19991   $as_echo_n "(cached) " >&6
19992 else
19993   if test x$gcc_no_link = xyes; then
19994   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19995 fi
19996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19997 /* end confdefs.h.  */
19998
19999 #ifdef HAVE_COMPLEX_H
20000 #include <complex.h>
20001 #endif
20002 #ifdef HAVE_MATH_H
20003 #include <math.h>
20004 #endif
20005
20006 int (*ptr)() = (int (*)())ldexp;
20007
20008 int
20009 main ()
20010 {
20011   return 0;
20012 }
20013
20014 _ACEOF
20015 if ac_fn_c_try_link "$LINENO"; then :
20016   gcc_cv_math_func_ldexp=yes
20017 else
20018   gcc_cv_math_func_ldexp=no
20019 fi
20020 rm -f core conftest.err conftest.$ac_objext \
20021     conftest$ac_exeext conftest.$ac_ext
20022 fi
20023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20024 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20025   if test $gcc_cv_math_func_ldexp = yes; then
20026
20027 cat >>confdefs.h <<_ACEOF
20028 #define HAVE_LDEXP 1
20029 _ACEOF
20030
20031   fi
20032
20033
20034
20035
20036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20037 $as_echo_n "checking for ldexpl... " >&6; }
20038 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
20039   $as_echo_n "(cached) " >&6
20040 else
20041   if test x$gcc_no_link = xyes; then
20042   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20043 fi
20044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h.  */
20046
20047 #ifdef HAVE_COMPLEX_H
20048 #include <complex.h>
20049 #endif
20050 #ifdef HAVE_MATH_H
20051 #include <math.h>
20052 #endif
20053
20054 int (*ptr)() = (int (*)())ldexpl;
20055
20056 int
20057 main ()
20058 {
20059   return 0;
20060 }
20061
20062 _ACEOF
20063 if ac_fn_c_try_link "$LINENO"; then :
20064   gcc_cv_math_func_ldexpl=yes
20065 else
20066   gcc_cv_math_func_ldexpl=no
20067 fi
20068 rm -f core conftest.err conftest.$ac_objext \
20069     conftest$ac_exeext conftest.$ac_ext
20070 fi
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20072 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20073   if test $gcc_cv_math_func_ldexpl = yes; then
20074
20075 cat >>confdefs.h <<_ACEOF
20076 #define HAVE_LDEXPL 1
20077 _ACEOF
20078
20079   fi
20080
20081
20082
20083
20084   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20085 $as_echo_n "checking for logf... " >&6; }
20086 if test "${gcc_cv_math_func_logf+set}" = set; then :
20087   $as_echo_n "(cached) " >&6
20088 else
20089   if test x$gcc_no_link = xyes; then
20090   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20091 fi
20092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h.  */
20094
20095 #ifdef HAVE_COMPLEX_H
20096 #include <complex.h>
20097 #endif
20098 #ifdef HAVE_MATH_H
20099 #include <math.h>
20100 #endif
20101
20102 int (*ptr)() = (int (*)())logf;
20103
20104 int
20105 main ()
20106 {
20107   return 0;
20108 }
20109
20110 _ACEOF
20111 if ac_fn_c_try_link "$LINENO"; then :
20112   gcc_cv_math_func_logf=yes
20113 else
20114   gcc_cv_math_func_logf=no
20115 fi
20116 rm -f core conftest.err conftest.$ac_objext \
20117     conftest$ac_exeext conftest.$ac_ext
20118 fi
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20120 $as_echo "$gcc_cv_math_func_logf" >&6; }
20121   if test $gcc_cv_math_func_logf = yes; then
20122
20123 cat >>confdefs.h <<_ACEOF
20124 #define HAVE_LOGF 1
20125 _ACEOF
20126
20127   fi
20128
20129
20130
20131
20132   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20133 $as_echo_n "checking for log... " >&6; }
20134 if test "${gcc_cv_math_func_log+set}" = set; then :
20135   $as_echo_n "(cached) " >&6
20136 else
20137   if test x$gcc_no_link = xyes; then
20138   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20139 fi
20140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20141 /* end confdefs.h.  */
20142
20143 #ifdef HAVE_COMPLEX_H
20144 #include <complex.h>
20145 #endif
20146 #ifdef HAVE_MATH_H
20147 #include <math.h>
20148 #endif
20149
20150 int (*ptr)() = (int (*)())log;
20151
20152 int
20153 main ()
20154 {
20155   return 0;
20156 }
20157
20158 _ACEOF
20159 if ac_fn_c_try_link "$LINENO"; then :
20160   gcc_cv_math_func_log=yes
20161 else
20162   gcc_cv_math_func_log=no
20163 fi
20164 rm -f core conftest.err conftest.$ac_objext \
20165     conftest$ac_exeext conftest.$ac_ext
20166 fi
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20168 $as_echo "$gcc_cv_math_func_log" >&6; }
20169   if test $gcc_cv_math_func_log = yes; then
20170
20171 cat >>confdefs.h <<_ACEOF
20172 #define HAVE_LOG 1
20173 _ACEOF
20174
20175   fi
20176
20177
20178
20179
20180   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20181 $as_echo_n "checking for logl... " >&6; }
20182 if test "${gcc_cv_math_func_logl+set}" = set; then :
20183   $as_echo_n "(cached) " >&6
20184 else
20185   if test x$gcc_no_link = xyes; then
20186   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20187 fi
20188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h.  */
20190
20191 #ifdef HAVE_COMPLEX_H
20192 #include <complex.h>
20193 #endif
20194 #ifdef HAVE_MATH_H
20195 #include <math.h>
20196 #endif
20197
20198 int (*ptr)() = (int (*)())logl;
20199
20200 int
20201 main ()
20202 {
20203   return 0;
20204 }
20205
20206 _ACEOF
20207 if ac_fn_c_try_link "$LINENO"; then :
20208   gcc_cv_math_func_logl=yes
20209 else
20210   gcc_cv_math_func_logl=no
20211 fi
20212 rm -f core conftest.err conftest.$ac_objext \
20213     conftest$ac_exeext conftest.$ac_ext
20214 fi
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20216 $as_echo "$gcc_cv_math_func_logl" >&6; }
20217   if test $gcc_cv_math_func_logl = yes; then
20218
20219 cat >>confdefs.h <<_ACEOF
20220 #define HAVE_LOGL 1
20221 _ACEOF
20222
20223   fi
20224
20225
20226
20227
20228   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20229 $as_echo_n "checking for clogf... " >&6; }
20230 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20231   $as_echo_n "(cached) " >&6
20232 else
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 #ifdef HAVE_COMPLEX_H
20240 #include <complex.h>
20241 #endif
20242 #ifdef HAVE_MATH_H
20243 #include <math.h>
20244 #endif
20245
20246 int (*ptr)() = (int (*)())clogf;
20247
20248 int
20249 main ()
20250 {
20251   return 0;
20252 }
20253
20254 _ACEOF
20255 if ac_fn_c_try_link "$LINENO"; then :
20256   gcc_cv_math_func_clogf=yes
20257 else
20258   gcc_cv_math_func_clogf=no
20259 fi
20260 rm -f core conftest.err conftest.$ac_objext \
20261     conftest$ac_exeext conftest.$ac_ext
20262 fi
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20264 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20265   if test $gcc_cv_math_func_clogf = yes; then
20266
20267 cat >>confdefs.h <<_ACEOF
20268 #define HAVE_CLOGF 1
20269 _ACEOF
20270
20271   fi
20272
20273
20274
20275
20276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20277 $as_echo_n "checking for clog... " >&6; }
20278 if test "${gcc_cv_math_func_clog+set}" = set; then :
20279   $as_echo_n "(cached) " >&6
20280 else
20281   if test x$gcc_no_link = xyes; then
20282   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20283 fi
20284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20285 /* end confdefs.h.  */
20286
20287 #ifdef HAVE_COMPLEX_H
20288 #include <complex.h>
20289 #endif
20290 #ifdef HAVE_MATH_H
20291 #include <math.h>
20292 #endif
20293
20294 int (*ptr)() = (int (*)())clog;
20295
20296 int
20297 main ()
20298 {
20299   return 0;
20300 }
20301
20302 _ACEOF
20303 if ac_fn_c_try_link "$LINENO"; then :
20304   gcc_cv_math_func_clog=yes
20305 else
20306   gcc_cv_math_func_clog=no
20307 fi
20308 rm -f core conftest.err conftest.$ac_objext \
20309     conftest$ac_exeext conftest.$ac_ext
20310 fi
20311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20312 $as_echo "$gcc_cv_math_func_clog" >&6; }
20313   if test $gcc_cv_math_func_clog = yes; then
20314
20315 cat >>confdefs.h <<_ACEOF
20316 #define HAVE_CLOG 1
20317 _ACEOF
20318
20319   fi
20320
20321
20322
20323
20324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20325 $as_echo_n "checking for clogl... " >&6; }
20326 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20327   $as_echo_n "(cached) " >&6
20328 else
20329   if test x$gcc_no_link = xyes; then
20330   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20331 fi
20332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20333 /* end confdefs.h.  */
20334
20335 #ifdef HAVE_COMPLEX_H
20336 #include <complex.h>
20337 #endif
20338 #ifdef HAVE_MATH_H
20339 #include <math.h>
20340 #endif
20341
20342 int (*ptr)() = (int (*)())clogl;
20343
20344 int
20345 main ()
20346 {
20347   return 0;
20348 }
20349
20350 _ACEOF
20351 if ac_fn_c_try_link "$LINENO"; then :
20352   gcc_cv_math_func_clogl=yes
20353 else
20354   gcc_cv_math_func_clogl=no
20355 fi
20356 rm -f core conftest.err conftest.$ac_objext \
20357     conftest$ac_exeext conftest.$ac_ext
20358 fi
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20360 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20361   if test $gcc_cv_math_func_clogl = yes; then
20362
20363 cat >>confdefs.h <<_ACEOF
20364 #define HAVE_CLOGL 1
20365 _ACEOF
20366
20367   fi
20368
20369
20370
20371
20372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20373 $as_echo_n "checking for log10f... " >&6; }
20374 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20375   $as_echo_n "(cached) " >&6
20376 else
20377   if test x$gcc_no_link = xyes; then
20378   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20379 fi
20380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20381 /* end confdefs.h.  */
20382
20383 #ifdef HAVE_COMPLEX_H
20384 #include <complex.h>
20385 #endif
20386 #ifdef HAVE_MATH_H
20387 #include <math.h>
20388 #endif
20389
20390 int (*ptr)() = (int (*)())log10f;
20391
20392 int
20393 main ()
20394 {
20395   return 0;
20396 }
20397
20398 _ACEOF
20399 if ac_fn_c_try_link "$LINENO"; then :
20400   gcc_cv_math_func_log10f=yes
20401 else
20402   gcc_cv_math_func_log10f=no
20403 fi
20404 rm -f core conftest.err conftest.$ac_objext \
20405     conftest$ac_exeext conftest.$ac_ext
20406 fi
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20408 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20409   if test $gcc_cv_math_func_log10f = yes; then
20410
20411 cat >>confdefs.h <<_ACEOF
20412 #define HAVE_LOG10F 1
20413 _ACEOF
20414
20415   fi
20416
20417
20418
20419
20420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20421 $as_echo_n "checking for log10... " >&6; }
20422 if test "${gcc_cv_math_func_log10+set}" = set; then :
20423   $as_echo_n "(cached) " >&6
20424 else
20425   if test x$gcc_no_link = xyes; then
20426   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20427 fi
20428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h.  */
20430
20431 #ifdef HAVE_COMPLEX_H
20432 #include <complex.h>
20433 #endif
20434 #ifdef HAVE_MATH_H
20435 #include <math.h>
20436 #endif
20437
20438 int (*ptr)() = (int (*)())log10;
20439
20440 int
20441 main ()
20442 {
20443   return 0;
20444 }
20445
20446 _ACEOF
20447 if ac_fn_c_try_link "$LINENO"; then :
20448   gcc_cv_math_func_log10=yes
20449 else
20450   gcc_cv_math_func_log10=no
20451 fi
20452 rm -f core conftest.err conftest.$ac_objext \
20453     conftest$ac_exeext conftest.$ac_ext
20454 fi
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20456 $as_echo "$gcc_cv_math_func_log10" >&6; }
20457   if test $gcc_cv_math_func_log10 = yes; then
20458
20459 cat >>confdefs.h <<_ACEOF
20460 #define HAVE_LOG10 1
20461 _ACEOF
20462
20463   fi
20464
20465
20466
20467
20468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20469 $as_echo_n "checking for log10l... " >&6; }
20470 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20471   $as_echo_n "(cached) " >&6
20472 else
20473   if test x$gcc_no_link = xyes; then
20474   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20475 fi
20476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20477 /* end confdefs.h.  */
20478
20479 #ifdef HAVE_COMPLEX_H
20480 #include <complex.h>
20481 #endif
20482 #ifdef HAVE_MATH_H
20483 #include <math.h>
20484 #endif
20485
20486 int (*ptr)() = (int (*)())log10l;
20487
20488 int
20489 main ()
20490 {
20491   return 0;
20492 }
20493
20494 _ACEOF
20495 if ac_fn_c_try_link "$LINENO"; then :
20496   gcc_cv_math_func_log10l=yes
20497 else
20498   gcc_cv_math_func_log10l=no
20499 fi
20500 rm -f core conftest.err conftest.$ac_objext \
20501     conftest$ac_exeext conftest.$ac_ext
20502 fi
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20504 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20505   if test $gcc_cv_math_func_log10l = yes; then
20506
20507 cat >>confdefs.h <<_ACEOF
20508 #define HAVE_LOG10L 1
20509 _ACEOF
20510
20511   fi
20512
20513
20514
20515
20516   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20517 $as_echo_n "checking for clog10f... " >&6; }
20518 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20519   $as_echo_n "(cached) " >&6
20520 else
20521   if test x$gcc_no_link = xyes; then
20522   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20523 fi
20524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20525 /* end confdefs.h.  */
20526
20527 #ifdef HAVE_COMPLEX_H
20528 #include <complex.h>
20529 #endif
20530 #ifdef HAVE_MATH_H
20531 #include <math.h>
20532 #endif
20533
20534 int (*ptr)() = (int (*)())clog10f;
20535
20536 int
20537 main ()
20538 {
20539   return 0;
20540 }
20541
20542 _ACEOF
20543 if ac_fn_c_try_link "$LINENO"; then :
20544   gcc_cv_math_func_clog10f=yes
20545 else
20546   gcc_cv_math_func_clog10f=no
20547 fi
20548 rm -f core conftest.err conftest.$ac_objext \
20549     conftest$ac_exeext conftest.$ac_ext
20550 fi
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20552 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20553   if test $gcc_cv_math_func_clog10f = yes; then
20554
20555 cat >>confdefs.h <<_ACEOF
20556 #define HAVE_CLOG10F 1
20557 _ACEOF
20558
20559   fi
20560
20561
20562
20563
20564   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20565 $as_echo_n "checking for clog10... " >&6; }
20566 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20567   $as_echo_n "(cached) " >&6
20568 else
20569   if test x$gcc_no_link = xyes; then
20570   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20571 fi
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h.  */
20574
20575 #ifdef HAVE_COMPLEX_H
20576 #include <complex.h>
20577 #endif
20578 #ifdef HAVE_MATH_H
20579 #include <math.h>
20580 #endif
20581
20582 int (*ptr)() = (int (*)())clog10;
20583
20584 int
20585 main ()
20586 {
20587   return 0;
20588 }
20589
20590 _ACEOF
20591 if ac_fn_c_try_link "$LINENO"; then :
20592   gcc_cv_math_func_clog10=yes
20593 else
20594   gcc_cv_math_func_clog10=no
20595 fi
20596 rm -f core conftest.err conftest.$ac_objext \
20597     conftest$ac_exeext conftest.$ac_ext
20598 fi
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20600 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20601   if test $gcc_cv_math_func_clog10 = yes; then
20602
20603 cat >>confdefs.h <<_ACEOF
20604 #define HAVE_CLOG10 1
20605 _ACEOF
20606
20607   fi
20608
20609
20610
20611
20612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20613 $as_echo_n "checking for clog10l... " >&6; }
20614 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20615   $as_echo_n "(cached) " >&6
20616 else
20617   if test x$gcc_no_link = xyes; then
20618   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20619 fi
20620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20621 /* end confdefs.h.  */
20622
20623 #ifdef HAVE_COMPLEX_H
20624 #include <complex.h>
20625 #endif
20626 #ifdef HAVE_MATH_H
20627 #include <math.h>
20628 #endif
20629
20630 int (*ptr)() = (int (*)())clog10l;
20631
20632 int
20633 main ()
20634 {
20635   return 0;
20636 }
20637
20638 _ACEOF
20639 if ac_fn_c_try_link "$LINENO"; then :
20640   gcc_cv_math_func_clog10l=yes
20641 else
20642   gcc_cv_math_func_clog10l=no
20643 fi
20644 rm -f core conftest.err conftest.$ac_objext \
20645     conftest$ac_exeext conftest.$ac_ext
20646 fi
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20648 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20649   if test $gcc_cv_math_func_clog10l = yes; then
20650
20651 cat >>confdefs.h <<_ACEOF
20652 #define HAVE_CLOG10L 1
20653 _ACEOF
20654
20655   fi
20656
20657
20658
20659
20660   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20661 $as_echo_n "checking for nextafterf... " >&6; }
20662 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20663   $as_echo_n "(cached) " >&6
20664 else
20665   if test x$gcc_no_link = xyes; then
20666   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20667 fi
20668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20669 /* end confdefs.h.  */
20670
20671 #ifdef HAVE_COMPLEX_H
20672 #include <complex.h>
20673 #endif
20674 #ifdef HAVE_MATH_H
20675 #include <math.h>
20676 #endif
20677
20678 int (*ptr)() = (int (*)())nextafterf;
20679
20680 int
20681 main ()
20682 {
20683   return 0;
20684 }
20685
20686 _ACEOF
20687 if ac_fn_c_try_link "$LINENO"; then :
20688   gcc_cv_math_func_nextafterf=yes
20689 else
20690   gcc_cv_math_func_nextafterf=no
20691 fi
20692 rm -f core conftest.err conftest.$ac_objext \
20693     conftest$ac_exeext conftest.$ac_ext
20694 fi
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20696 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20697   if test $gcc_cv_math_func_nextafterf = yes; then
20698
20699 cat >>confdefs.h <<_ACEOF
20700 #define HAVE_NEXTAFTERF 1
20701 _ACEOF
20702
20703   fi
20704
20705
20706
20707
20708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20709 $as_echo_n "checking for nextafter... " >&6; }
20710 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20711   $as_echo_n "(cached) " >&6
20712 else
20713   if test x$gcc_no_link = xyes; then
20714   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20715 fi
20716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20717 /* end confdefs.h.  */
20718
20719 #ifdef HAVE_COMPLEX_H
20720 #include <complex.h>
20721 #endif
20722 #ifdef HAVE_MATH_H
20723 #include <math.h>
20724 #endif
20725
20726 int (*ptr)() = (int (*)())nextafter;
20727
20728 int
20729 main ()
20730 {
20731   return 0;
20732 }
20733
20734 _ACEOF
20735 if ac_fn_c_try_link "$LINENO"; then :
20736   gcc_cv_math_func_nextafter=yes
20737 else
20738   gcc_cv_math_func_nextafter=no
20739 fi
20740 rm -f core conftest.err conftest.$ac_objext \
20741     conftest$ac_exeext conftest.$ac_ext
20742 fi
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20744 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20745   if test $gcc_cv_math_func_nextafter = yes; then
20746
20747 cat >>confdefs.h <<_ACEOF
20748 #define HAVE_NEXTAFTER 1
20749 _ACEOF
20750
20751   fi
20752
20753
20754
20755
20756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20757 $as_echo_n "checking for nextafterl... " >&6; }
20758 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20759   $as_echo_n "(cached) " >&6
20760 else
20761   if test x$gcc_no_link = xyes; then
20762   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20763 fi
20764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20765 /* end confdefs.h.  */
20766
20767 #ifdef HAVE_COMPLEX_H
20768 #include <complex.h>
20769 #endif
20770 #ifdef HAVE_MATH_H
20771 #include <math.h>
20772 #endif
20773
20774 int (*ptr)() = (int (*)())nextafterl;
20775
20776 int
20777 main ()
20778 {
20779   return 0;
20780 }
20781
20782 _ACEOF
20783 if ac_fn_c_try_link "$LINENO"; then :
20784   gcc_cv_math_func_nextafterl=yes
20785 else
20786   gcc_cv_math_func_nextafterl=no
20787 fi
20788 rm -f core conftest.err conftest.$ac_objext \
20789     conftest$ac_exeext conftest.$ac_ext
20790 fi
20791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20792 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20793   if test $gcc_cv_math_func_nextafterl = yes; then
20794
20795 cat >>confdefs.h <<_ACEOF
20796 #define HAVE_NEXTAFTERL 1
20797 _ACEOF
20798
20799   fi
20800
20801
20802
20803
20804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20805 $as_echo_n "checking for powf... " >&6; }
20806 if test "${gcc_cv_math_func_powf+set}" = set; then :
20807   $as_echo_n "(cached) " >&6
20808 else
20809   if test x$gcc_no_link = xyes; then
20810   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20811 fi
20812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h.  */
20814
20815 #ifdef HAVE_COMPLEX_H
20816 #include <complex.h>
20817 #endif
20818 #ifdef HAVE_MATH_H
20819 #include <math.h>
20820 #endif
20821
20822 int (*ptr)() = (int (*)())powf;
20823
20824 int
20825 main ()
20826 {
20827   return 0;
20828 }
20829
20830 _ACEOF
20831 if ac_fn_c_try_link "$LINENO"; then :
20832   gcc_cv_math_func_powf=yes
20833 else
20834   gcc_cv_math_func_powf=no
20835 fi
20836 rm -f core conftest.err conftest.$ac_objext \
20837     conftest$ac_exeext conftest.$ac_ext
20838 fi
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20840 $as_echo "$gcc_cv_math_func_powf" >&6; }
20841   if test $gcc_cv_math_func_powf = yes; then
20842
20843 cat >>confdefs.h <<_ACEOF
20844 #define HAVE_POWF 1
20845 _ACEOF
20846
20847   fi
20848
20849
20850
20851
20852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20853 $as_echo_n "checking for pow... " >&6; }
20854 if test "${gcc_cv_math_func_pow+set}" = set; then :
20855   $as_echo_n "(cached) " >&6
20856 else
20857   if test x$gcc_no_link = xyes; then
20858   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20859 fi
20860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20861 /* end confdefs.h.  */
20862
20863 #ifdef HAVE_COMPLEX_H
20864 #include <complex.h>
20865 #endif
20866 #ifdef HAVE_MATH_H
20867 #include <math.h>
20868 #endif
20869
20870 int (*ptr)() = (int (*)())pow;
20871
20872 int
20873 main ()
20874 {
20875   return 0;
20876 }
20877
20878 _ACEOF
20879 if ac_fn_c_try_link "$LINENO"; then :
20880   gcc_cv_math_func_pow=yes
20881 else
20882   gcc_cv_math_func_pow=no
20883 fi
20884 rm -f core conftest.err conftest.$ac_objext \
20885     conftest$ac_exeext conftest.$ac_ext
20886 fi
20887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20888 $as_echo "$gcc_cv_math_func_pow" >&6; }
20889   if test $gcc_cv_math_func_pow = yes; then
20890
20891 cat >>confdefs.h <<_ACEOF
20892 #define HAVE_POW 1
20893 _ACEOF
20894
20895   fi
20896
20897
20898
20899
20900   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20901 $as_echo_n "checking for powl... " >&6; }
20902 if test "${gcc_cv_math_func_powl+set}" = set; then :
20903   $as_echo_n "(cached) " >&6
20904 else
20905   if test x$gcc_no_link = xyes; then
20906   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20907 fi
20908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h.  */
20910
20911 #ifdef HAVE_COMPLEX_H
20912 #include <complex.h>
20913 #endif
20914 #ifdef HAVE_MATH_H
20915 #include <math.h>
20916 #endif
20917
20918 int (*ptr)() = (int (*)())powl;
20919
20920 int
20921 main ()
20922 {
20923   return 0;
20924 }
20925
20926 _ACEOF
20927 if ac_fn_c_try_link "$LINENO"; then :
20928   gcc_cv_math_func_powl=yes
20929 else
20930   gcc_cv_math_func_powl=no
20931 fi
20932 rm -f core conftest.err conftest.$ac_objext \
20933     conftest$ac_exeext conftest.$ac_ext
20934 fi
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20936 $as_echo "$gcc_cv_math_func_powl" >&6; }
20937   if test $gcc_cv_math_func_powl = yes; then
20938
20939 cat >>confdefs.h <<_ACEOF
20940 #define HAVE_POWL 1
20941 _ACEOF
20942
20943   fi
20944
20945
20946
20947
20948   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20949 $as_echo_n "checking for cpowf... " >&6; }
20950 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20951   $as_echo_n "(cached) " >&6
20952 else
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 #ifdef HAVE_COMPLEX_H
20960 #include <complex.h>
20961 #endif
20962 #ifdef HAVE_MATH_H
20963 #include <math.h>
20964 #endif
20965
20966 int (*ptr)() = (int (*)())cpowf;
20967
20968 int
20969 main ()
20970 {
20971   return 0;
20972 }
20973
20974 _ACEOF
20975 if ac_fn_c_try_link "$LINENO"; then :
20976   gcc_cv_math_func_cpowf=yes
20977 else
20978   gcc_cv_math_func_cpowf=no
20979 fi
20980 rm -f core conftest.err conftest.$ac_objext \
20981     conftest$ac_exeext conftest.$ac_ext
20982 fi
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20984 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20985   if test $gcc_cv_math_func_cpowf = yes; then
20986
20987 cat >>confdefs.h <<_ACEOF
20988 #define HAVE_CPOWF 1
20989 _ACEOF
20990
20991   fi
20992
20993
20994
20995
20996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20997 $as_echo_n "checking for cpow... " >&6; }
20998 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20999   $as_echo_n "(cached) " >&6
21000 else
21001   if test x$gcc_no_link = xyes; then
21002   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21003 fi
21004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h.  */
21006
21007 #ifdef HAVE_COMPLEX_H
21008 #include <complex.h>
21009 #endif
21010 #ifdef HAVE_MATH_H
21011 #include <math.h>
21012 #endif
21013
21014 int (*ptr)() = (int (*)())cpow;
21015
21016 int
21017 main ()
21018 {
21019   return 0;
21020 }
21021
21022 _ACEOF
21023 if ac_fn_c_try_link "$LINENO"; then :
21024   gcc_cv_math_func_cpow=yes
21025 else
21026   gcc_cv_math_func_cpow=no
21027 fi
21028 rm -f core conftest.err conftest.$ac_objext \
21029     conftest$ac_exeext conftest.$ac_ext
21030 fi
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21032 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21033   if test $gcc_cv_math_func_cpow = yes; then
21034
21035 cat >>confdefs.h <<_ACEOF
21036 #define HAVE_CPOW 1
21037 _ACEOF
21038
21039   fi
21040
21041
21042
21043
21044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21045 $as_echo_n "checking for cpowl... " >&6; }
21046 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
21047   $as_echo_n "(cached) " >&6
21048 else
21049   if test x$gcc_no_link = xyes; then
21050   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21051 fi
21052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21053 /* end confdefs.h.  */
21054
21055 #ifdef HAVE_COMPLEX_H
21056 #include <complex.h>
21057 #endif
21058 #ifdef HAVE_MATH_H
21059 #include <math.h>
21060 #endif
21061
21062 int (*ptr)() = (int (*)())cpowl;
21063
21064 int
21065 main ()
21066 {
21067   return 0;
21068 }
21069
21070 _ACEOF
21071 if ac_fn_c_try_link "$LINENO"; then :
21072   gcc_cv_math_func_cpowl=yes
21073 else
21074   gcc_cv_math_func_cpowl=no
21075 fi
21076 rm -f core conftest.err conftest.$ac_objext \
21077     conftest$ac_exeext conftest.$ac_ext
21078 fi
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21080 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21081   if test $gcc_cv_math_func_cpowl = yes; then
21082
21083 cat >>confdefs.h <<_ACEOF
21084 #define HAVE_CPOWL 1
21085 _ACEOF
21086
21087   fi
21088
21089
21090
21091
21092   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21093 $as_echo_n "checking for roundf... " >&6; }
21094 if test "${gcc_cv_math_func_roundf+set}" = set; then :
21095   $as_echo_n "(cached) " >&6
21096 else
21097   if test x$gcc_no_link = xyes; then
21098   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21099 fi
21100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21101 /* end confdefs.h.  */
21102
21103 #ifdef HAVE_COMPLEX_H
21104 #include <complex.h>
21105 #endif
21106 #ifdef HAVE_MATH_H
21107 #include <math.h>
21108 #endif
21109
21110 int (*ptr)() = (int (*)())roundf;
21111
21112 int
21113 main ()
21114 {
21115   return 0;
21116 }
21117
21118 _ACEOF
21119 if ac_fn_c_try_link "$LINENO"; then :
21120   gcc_cv_math_func_roundf=yes
21121 else
21122   gcc_cv_math_func_roundf=no
21123 fi
21124 rm -f core conftest.err conftest.$ac_objext \
21125     conftest$ac_exeext conftest.$ac_ext
21126 fi
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21128 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21129   if test $gcc_cv_math_func_roundf = yes; then
21130
21131 cat >>confdefs.h <<_ACEOF
21132 #define HAVE_ROUNDF 1
21133 _ACEOF
21134
21135   fi
21136
21137
21138
21139
21140   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21141 $as_echo_n "checking for round... " >&6; }
21142 if test "${gcc_cv_math_func_round+set}" = set; then :
21143   $as_echo_n "(cached) " >&6
21144 else
21145   if test x$gcc_no_link = xyes; then
21146   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21147 fi
21148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h.  */
21150
21151 #ifdef HAVE_COMPLEX_H
21152 #include <complex.h>
21153 #endif
21154 #ifdef HAVE_MATH_H
21155 #include <math.h>
21156 #endif
21157
21158 int (*ptr)() = (int (*)())round;
21159
21160 int
21161 main ()
21162 {
21163   return 0;
21164 }
21165
21166 _ACEOF
21167 if ac_fn_c_try_link "$LINENO"; then :
21168   gcc_cv_math_func_round=yes
21169 else
21170   gcc_cv_math_func_round=no
21171 fi
21172 rm -f core conftest.err conftest.$ac_objext \
21173     conftest$ac_exeext conftest.$ac_ext
21174 fi
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21176 $as_echo "$gcc_cv_math_func_round" >&6; }
21177   if test $gcc_cv_math_func_round = yes; then
21178
21179 cat >>confdefs.h <<_ACEOF
21180 #define HAVE_ROUND 1
21181 _ACEOF
21182
21183   fi
21184
21185
21186
21187
21188   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21189 $as_echo_n "checking for roundl... " >&6; }
21190 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21191   $as_echo_n "(cached) " >&6
21192 else
21193   if test x$gcc_no_link = xyes; then
21194   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21195 fi
21196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21197 /* end confdefs.h.  */
21198
21199 #ifdef HAVE_COMPLEX_H
21200 #include <complex.h>
21201 #endif
21202 #ifdef HAVE_MATH_H
21203 #include <math.h>
21204 #endif
21205
21206 int (*ptr)() = (int (*)())roundl;
21207
21208 int
21209 main ()
21210 {
21211   return 0;
21212 }
21213
21214 _ACEOF
21215 if ac_fn_c_try_link "$LINENO"; then :
21216   gcc_cv_math_func_roundl=yes
21217 else
21218   gcc_cv_math_func_roundl=no
21219 fi
21220 rm -f core conftest.err conftest.$ac_objext \
21221     conftest$ac_exeext conftest.$ac_ext
21222 fi
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21224 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21225   if test $gcc_cv_math_func_roundl = yes; then
21226
21227 cat >>confdefs.h <<_ACEOF
21228 #define HAVE_ROUNDL 1
21229 _ACEOF
21230
21231   fi
21232
21233
21234
21235
21236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21237 $as_echo_n "checking for lroundf... " >&6; }
21238 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21239   $as_echo_n "(cached) " >&6
21240 else
21241   if test x$gcc_no_link = xyes; then
21242   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21243 fi
21244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21245 /* end confdefs.h.  */
21246
21247 #ifdef HAVE_COMPLEX_H
21248 #include <complex.h>
21249 #endif
21250 #ifdef HAVE_MATH_H
21251 #include <math.h>
21252 #endif
21253
21254 int (*ptr)() = (int (*)())lroundf;
21255
21256 int
21257 main ()
21258 {
21259   return 0;
21260 }
21261
21262 _ACEOF
21263 if ac_fn_c_try_link "$LINENO"; then :
21264   gcc_cv_math_func_lroundf=yes
21265 else
21266   gcc_cv_math_func_lroundf=no
21267 fi
21268 rm -f core conftest.err conftest.$ac_objext \
21269     conftest$ac_exeext conftest.$ac_ext
21270 fi
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21272 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21273   if test $gcc_cv_math_func_lroundf = yes; then
21274
21275 cat >>confdefs.h <<_ACEOF
21276 #define HAVE_LROUNDF 1
21277 _ACEOF
21278
21279   fi
21280
21281
21282
21283
21284   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21285 $as_echo_n "checking for lround... " >&6; }
21286 if test "${gcc_cv_math_func_lround+set}" = set; then :
21287   $as_echo_n "(cached) " >&6
21288 else
21289   if test x$gcc_no_link = xyes; then
21290   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21291 fi
21292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21293 /* end confdefs.h.  */
21294
21295 #ifdef HAVE_COMPLEX_H
21296 #include <complex.h>
21297 #endif
21298 #ifdef HAVE_MATH_H
21299 #include <math.h>
21300 #endif
21301
21302 int (*ptr)() = (int (*)())lround;
21303
21304 int
21305 main ()
21306 {
21307   return 0;
21308 }
21309
21310 _ACEOF
21311 if ac_fn_c_try_link "$LINENO"; then :
21312   gcc_cv_math_func_lround=yes
21313 else
21314   gcc_cv_math_func_lround=no
21315 fi
21316 rm -f core conftest.err conftest.$ac_objext \
21317     conftest$ac_exeext conftest.$ac_ext
21318 fi
21319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21320 $as_echo "$gcc_cv_math_func_lround" >&6; }
21321   if test $gcc_cv_math_func_lround = yes; then
21322
21323 cat >>confdefs.h <<_ACEOF
21324 #define HAVE_LROUND 1
21325 _ACEOF
21326
21327   fi
21328
21329
21330
21331
21332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21333 $as_echo_n "checking for lroundl... " >&6; }
21334 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21335   $as_echo_n "(cached) " >&6
21336 else
21337   if test x$gcc_no_link = xyes; then
21338   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21339 fi
21340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h.  */
21342
21343 #ifdef HAVE_COMPLEX_H
21344 #include <complex.h>
21345 #endif
21346 #ifdef HAVE_MATH_H
21347 #include <math.h>
21348 #endif
21349
21350 int (*ptr)() = (int (*)())lroundl;
21351
21352 int
21353 main ()
21354 {
21355   return 0;
21356 }
21357
21358 _ACEOF
21359 if ac_fn_c_try_link "$LINENO"; then :
21360   gcc_cv_math_func_lroundl=yes
21361 else
21362   gcc_cv_math_func_lroundl=no
21363 fi
21364 rm -f core conftest.err conftest.$ac_objext \
21365     conftest$ac_exeext conftest.$ac_ext
21366 fi
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21368 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21369   if test $gcc_cv_math_func_lroundl = yes; then
21370
21371 cat >>confdefs.h <<_ACEOF
21372 #define HAVE_LROUNDL 1
21373 _ACEOF
21374
21375   fi
21376
21377
21378
21379
21380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21381 $as_echo_n "checking for llroundf... " >&6; }
21382 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21383   $as_echo_n "(cached) " >&6
21384 else
21385   if test x$gcc_no_link = xyes; then
21386   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21387 fi
21388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21389 /* end confdefs.h.  */
21390
21391 #ifdef HAVE_COMPLEX_H
21392 #include <complex.h>
21393 #endif
21394 #ifdef HAVE_MATH_H
21395 #include <math.h>
21396 #endif
21397
21398 int (*ptr)() = (int (*)())llroundf;
21399
21400 int
21401 main ()
21402 {
21403   return 0;
21404 }
21405
21406 _ACEOF
21407 if ac_fn_c_try_link "$LINENO"; then :
21408   gcc_cv_math_func_llroundf=yes
21409 else
21410   gcc_cv_math_func_llroundf=no
21411 fi
21412 rm -f core conftest.err conftest.$ac_objext \
21413     conftest$ac_exeext conftest.$ac_ext
21414 fi
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21416 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21417   if test $gcc_cv_math_func_llroundf = yes; then
21418
21419 cat >>confdefs.h <<_ACEOF
21420 #define HAVE_LLROUNDF 1
21421 _ACEOF
21422
21423   fi
21424
21425
21426
21427
21428   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21429 $as_echo_n "checking for llround... " >&6; }
21430 if test "${gcc_cv_math_func_llround+set}" = set; then :
21431   $as_echo_n "(cached) " >&6
21432 else
21433   if test x$gcc_no_link = xyes; then
21434   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21435 fi
21436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21437 /* end confdefs.h.  */
21438
21439 #ifdef HAVE_COMPLEX_H
21440 #include <complex.h>
21441 #endif
21442 #ifdef HAVE_MATH_H
21443 #include <math.h>
21444 #endif
21445
21446 int (*ptr)() = (int (*)())llround;
21447
21448 int
21449 main ()
21450 {
21451   return 0;
21452 }
21453
21454 _ACEOF
21455 if ac_fn_c_try_link "$LINENO"; then :
21456   gcc_cv_math_func_llround=yes
21457 else
21458   gcc_cv_math_func_llround=no
21459 fi
21460 rm -f core conftest.err conftest.$ac_objext \
21461     conftest$ac_exeext conftest.$ac_ext
21462 fi
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21464 $as_echo "$gcc_cv_math_func_llround" >&6; }
21465   if test $gcc_cv_math_func_llround = yes; then
21466
21467 cat >>confdefs.h <<_ACEOF
21468 #define HAVE_LLROUND 1
21469 _ACEOF
21470
21471   fi
21472
21473
21474
21475
21476   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21477 $as_echo_n "checking for llroundl... " >&6; }
21478 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21479   $as_echo_n "(cached) " >&6
21480 else
21481   if test x$gcc_no_link = xyes; then
21482   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21483 fi
21484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21485 /* end confdefs.h.  */
21486
21487 #ifdef HAVE_COMPLEX_H
21488 #include <complex.h>
21489 #endif
21490 #ifdef HAVE_MATH_H
21491 #include <math.h>
21492 #endif
21493
21494 int (*ptr)() = (int (*)())llroundl;
21495
21496 int
21497 main ()
21498 {
21499   return 0;
21500 }
21501
21502 _ACEOF
21503 if ac_fn_c_try_link "$LINENO"; then :
21504   gcc_cv_math_func_llroundl=yes
21505 else
21506   gcc_cv_math_func_llroundl=no
21507 fi
21508 rm -f core conftest.err conftest.$ac_objext \
21509     conftest$ac_exeext conftest.$ac_ext
21510 fi
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21512 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21513   if test $gcc_cv_math_func_llroundl = yes; then
21514
21515 cat >>confdefs.h <<_ACEOF
21516 #define HAVE_LLROUNDL 1
21517 _ACEOF
21518
21519   fi
21520
21521
21522
21523
21524   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21525 $as_echo_n "checking for scalbnf... " >&6; }
21526 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21527   $as_echo_n "(cached) " >&6
21528 else
21529   if test x$gcc_no_link = xyes; then
21530   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21531 fi
21532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21533 /* end confdefs.h.  */
21534
21535 #ifdef HAVE_COMPLEX_H
21536 #include <complex.h>
21537 #endif
21538 #ifdef HAVE_MATH_H
21539 #include <math.h>
21540 #endif
21541
21542 int (*ptr)() = (int (*)())scalbnf;
21543
21544 int
21545 main ()
21546 {
21547   return 0;
21548 }
21549
21550 _ACEOF
21551 if ac_fn_c_try_link "$LINENO"; then :
21552   gcc_cv_math_func_scalbnf=yes
21553 else
21554   gcc_cv_math_func_scalbnf=no
21555 fi
21556 rm -f core conftest.err conftest.$ac_objext \
21557     conftest$ac_exeext conftest.$ac_ext
21558 fi
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21560 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21561   if test $gcc_cv_math_func_scalbnf = yes; then
21562
21563 cat >>confdefs.h <<_ACEOF
21564 #define HAVE_SCALBNF 1
21565 _ACEOF
21566
21567   fi
21568
21569
21570
21571
21572   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21573 $as_echo_n "checking for scalbn... " >&6; }
21574 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21575   $as_echo_n "(cached) " >&6
21576 else
21577   if test x$gcc_no_link = xyes; then
21578   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21579 fi
21580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h.  */
21582
21583 #ifdef HAVE_COMPLEX_H
21584 #include <complex.h>
21585 #endif
21586 #ifdef HAVE_MATH_H
21587 #include <math.h>
21588 #endif
21589
21590 int (*ptr)() = (int (*)())scalbn;
21591
21592 int
21593 main ()
21594 {
21595   return 0;
21596 }
21597
21598 _ACEOF
21599 if ac_fn_c_try_link "$LINENO"; then :
21600   gcc_cv_math_func_scalbn=yes
21601 else
21602   gcc_cv_math_func_scalbn=no
21603 fi
21604 rm -f core conftest.err conftest.$ac_objext \
21605     conftest$ac_exeext conftest.$ac_ext
21606 fi
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21608 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21609   if test $gcc_cv_math_func_scalbn = yes; then
21610
21611 cat >>confdefs.h <<_ACEOF
21612 #define HAVE_SCALBN 1
21613 _ACEOF
21614
21615   fi
21616
21617
21618
21619
21620   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21621 $as_echo_n "checking for scalbnl... " >&6; }
21622 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21623   $as_echo_n "(cached) " >&6
21624 else
21625   if test x$gcc_no_link = xyes; then
21626   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21627 fi
21628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629 /* end confdefs.h.  */
21630
21631 #ifdef HAVE_COMPLEX_H
21632 #include <complex.h>
21633 #endif
21634 #ifdef HAVE_MATH_H
21635 #include <math.h>
21636 #endif
21637
21638 int (*ptr)() = (int (*)())scalbnl;
21639
21640 int
21641 main ()
21642 {
21643   return 0;
21644 }
21645
21646 _ACEOF
21647 if ac_fn_c_try_link "$LINENO"; then :
21648   gcc_cv_math_func_scalbnl=yes
21649 else
21650   gcc_cv_math_func_scalbnl=no
21651 fi
21652 rm -f core conftest.err conftest.$ac_objext \
21653     conftest$ac_exeext conftest.$ac_ext
21654 fi
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21656 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21657   if test $gcc_cv_math_func_scalbnl = yes; then
21658
21659 cat >>confdefs.h <<_ACEOF
21660 #define HAVE_SCALBNL 1
21661 _ACEOF
21662
21663   fi
21664
21665
21666
21667
21668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21669 $as_echo_n "checking for sinf... " >&6; }
21670 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21671   $as_echo_n "(cached) " >&6
21672 else
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 #ifdef HAVE_COMPLEX_H
21680 #include <complex.h>
21681 #endif
21682 #ifdef HAVE_MATH_H
21683 #include <math.h>
21684 #endif
21685
21686 int (*ptr)() = (int (*)())sinf;
21687
21688 int
21689 main ()
21690 {
21691   return 0;
21692 }
21693
21694 _ACEOF
21695 if ac_fn_c_try_link "$LINENO"; then :
21696   gcc_cv_math_func_sinf=yes
21697 else
21698   gcc_cv_math_func_sinf=no
21699 fi
21700 rm -f core conftest.err conftest.$ac_objext \
21701     conftest$ac_exeext conftest.$ac_ext
21702 fi
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21704 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21705   if test $gcc_cv_math_func_sinf = yes; then
21706
21707 cat >>confdefs.h <<_ACEOF
21708 #define HAVE_SINF 1
21709 _ACEOF
21710
21711   fi
21712
21713
21714
21715
21716   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21717 $as_echo_n "checking for sin... " >&6; }
21718 if test "${gcc_cv_math_func_sin+set}" = set; then :
21719   $as_echo_n "(cached) " >&6
21720 else
21721   if test x$gcc_no_link = xyes; then
21722   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21723 fi
21724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21725 /* end confdefs.h.  */
21726
21727 #ifdef HAVE_COMPLEX_H
21728 #include <complex.h>
21729 #endif
21730 #ifdef HAVE_MATH_H
21731 #include <math.h>
21732 #endif
21733
21734 int (*ptr)() = (int (*)())sin;
21735
21736 int
21737 main ()
21738 {
21739   return 0;
21740 }
21741
21742 _ACEOF
21743 if ac_fn_c_try_link "$LINENO"; then :
21744   gcc_cv_math_func_sin=yes
21745 else
21746   gcc_cv_math_func_sin=no
21747 fi
21748 rm -f core conftest.err conftest.$ac_objext \
21749     conftest$ac_exeext conftest.$ac_ext
21750 fi
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21752 $as_echo "$gcc_cv_math_func_sin" >&6; }
21753   if test $gcc_cv_math_func_sin = yes; then
21754
21755 cat >>confdefs.h <<_ACEOF
21756 #define HAVE_SIN 1
21757 _ACEOF
21758
21759   fi
21760
21761
21762
21763
21764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21765 $as_echo_n "checking for sinl... " >&6; }
21766 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21767   $as_echo_n "(cached) " >&6
21768 else
21769   if test x$gcc_no_link = xyes; then
21770   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21771 fi
21772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21773 /* end confdefs.h.  */
21774
21775 #ifdef HAVE_COMPLEX_H
21776 #include <complex.h>
21777 #endif
21778 #ifdef HAVE_MATH_H
21779 #include <math.h>
21780 #endif
21781
21782 int (*ptr)() = (int (*)())sinl;
21783
21784 int
21785 main ()
21786 {
21787   return 0;
21788 }
21789
21790 _ACEOF
21791 if ac_fn_c_try_link "$LINENO"; then :
21792   gcc_cv_math_func_sinl=yes
21793 else
21794   gcc_cv_math_func_sinl=no
21795 fi
21796 rm -f core conftest.err conftest.$ac_objext \
21797     conftest$ac_exeext conftest.$ac_ext
21798 fi
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21800 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21801   if test $gcc_cv_math_func_sinl = yes; then
21802
21803 cat >>confdefs.h <<_ACEOF
21804 #define HAVE_SINL 1
21805 _ACEOF
21806
21807   fi
21808
21809
21810
21811
21812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21813 $as_echo_n "checking for csinf... " >&6; }
21814 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21815   $as_echo_n "(cached) " >&6
21816 else
21817   if test x$gcc_no_link = xyes; then
21818   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21819 fi
21820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21821 /* end confdefs.h.  */
21822
21823 #ifdef HAVE_COMPLEX_H
21824 #include <complex.h>
21825 #endif
21826 #ifdef HAVE_MATH_H
21827 #include <math.h>
21828 #endif
21829
21830 int (*ptr)() = (int (*)())csinf;
21831
21832 int
21833 main ()
21834 {
21835   return 0;
21836 }
21837
21838 _ACEOF
21839 if ac_fn_c_try_link "$LINENO"; then :
21840   gcc_cv_math_func_csinf=yes
21841 else
21842   gcc_cv_math_func_csinf=no
21843 fi
21844 rm -f core conftest.err conftest.$ac_objext \
21845     conftest$ac_exeext conftest.$ac_ext
21846 fi
21847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21848 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21849   if test $gcc_cv_math_func_csinf = yes; then
21850
21851 cat >>confdefs.h <<_ACEOF
21852 #define HAVE_CSINF 1
21853 _ACEOF
21854
21855   fi
21856
21857
21858
21859
21860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21861 $as_echo_n "checking for csin... " >&6; }
21862 if test "${gcc_cv_math_func_csin+set}" = set; then :
21863   $as_echo_n "(cached) " >&6
21864 else
21865   if test x$gcc_no_link = xyes; then
21866   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21867 fi
21868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21869 /* end confdefs.h.  */
21870
21871 #ifdef HAVE_COMPLEX_H
21872 #include <complex.h>
21873 #endif
21874 #ifdef HAVE_MATH_H
21875 #include <math.h>
21876 #endif
21877
21878 int (*ptr)() = (int (*)())csin;
21879
21880 int
21881 main ()
21882 {
21883   return 0;
21884 }
21885
21886 _ACEOF
21887 if ac_fn_c_try_link "$LINENO"; then :
21888   gcc_cv_math_func_csin=yes
21889 else
21890   gcc_cv_math_func_csin=no
21891 fi
21892 rm -f core conftest.err conftest.$ac_objext \
21893     conftest$ac_exeext conftest.$ac_ext
21894 fi
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21896 $as_echo "$gcc_cv_math_func_csin" >&6; }
21897   if test $gcc_cv_math_func_csin = yes; then
21898
21899 cat >>confdefs.h <<_ACEOF
21900 #define HAVE_CSIN 1
21901 _ACEOF
21902
21903   fi
21904
21905
21906
21907
21908   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21909 $as_echo_n "checking for csinl... " >&6; }
21910 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21911   $as_echo_n "(cached) " >&6
21912 else
21913   if test x$gcc_no_link = xyes; then
21914   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21915 fi
21916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21917 /* end confdefs.h.  */
21918
21919 #ifdef HAVE_COMPLEX_H
21920 #include <complex.h>
21921 #endif
21922 #ifdef HAVE_MATH_H
21923 #include <math.h>
21924 #endif
21925
21926 int (*ptr)() = (int (*)())csinl;
21927
21928 int
21929 main ()
21930 {
21931   return 0;
21932 }
21933
21934 _ACEOF
21935 if ac_fn_c_try_link "$LINENO"; then :
21936   gcc_cv_math_func_csinl=yes
21937 else
21938   gcc_cv_math_func_csinl=no
21939 fi
21940 rm -f core conftest.err conftest.$ac_objext \
21941     conftest$ac_exeext conftest.$ac_ext
21942 fi
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21944 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21945   if test $gcc_cv_math_func_csinl = yes; then
21946
21947 cat >>confdefs.h <<_ACEOF
21948 #define HAVE_CSINL 1
21949 _ACEOF
21950
21951   fi
21952
21953
21954
21955
21956   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21957 $as_echo_n "checking for sinhf... " >&6; }
21958 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21959   $as_echo_n "(cached) " >&6
21960 else
21961   if test x$gcc_no_link = xyes; then
21962   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21963 fi
21964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21965 /* end confdefs.h.  */
21966
21967 #ifdef HAVE_COMPLEX_H
21968 #include <complex.h>
21969 #endif
21970 #ifdef HAVE_MATH_H
21971 #include <math.h>
21972 #endif
21973
21974 int (*ptr)() = (int (*)())sinhf;
21975
21976 int
21977 main ()
21978 {
21979   return 0;
21980 }
21981
21982 _ACEOF
21983 if ac_fn_c_try_link "$LINENO"; then :
21984   gcc_cv_math_func_sinhf=yes
21985 else
21986   gcc_cv_math_func_sinhf=no
21987 fi
21988 rm -f core conftest.err conftest.$ac_objext \
21989     conftest$ac_exeext conftest.$ac_ext
21990 fi
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21992 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21993   if test $gcc_cv_math_func_sinhf = yes; then
21994
21995 cat >>confdefs.h <<_ACEOF
21996 #define HAVE_SINHF 1
21997 _ACEOF
21998
21999   fi
22000
22001
22002
22003
22004   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22005 $as_echo_n "checking for sinh... " >&6; }
22006 if test "${gcc_cv_math_func_sinh+set}" = set; then :
22007   $as_echo_n "(cached) " >&6
22008 else
22009   if test x$gcc_no_link = xyes; then
22010   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22011 fi
22012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22013 /* end confdefs.h.  */
22014
22015 #ifdef HAVE_COMPLEX_H
22016 #include <complex.h>
22017 #endif
22018 #ifdef HAVE_MATH_H
22019 #include <math.h>
22020 #endif
22021
22022 int (*ptr)() = (int (*)())sinh;
22023
22024 int
22025 main ()
22026 {
22027   return 0;
22028 }
22029
22030 _ACEOF
22031 if ac_fn_c_try_link "$LINENO"; then :
22032   gcc_cv_math_func_sinh=yes
22033 else
22034   gcc_cv_math_func_sinh=no
22035 fi
22036 rm -f core conftest.err conftest.$ac_objext \
22037     conftest$ac_exeext conftest.$ac_ext
22038 fi
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22040 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22041   if test $gcc_cv_math_func_sinh = yes; then
22042
22043 cat >>confdefs.h <<_ACEOF
22044 #define HAVE_SINH 1
22045 _ACEOF
22046
22047   fi
22048
22049
22050
22051
22052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22053 $as_echo_n "checking for sinhl... " >&6; }
22054 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
22055   $as_echo_n "(cached) " >&6
22056 else
22057   if test x$gcc_no_link = xyes; then
22058   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22059 fi
22060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22061 /* end confdefs.h.  */
22062
22063 #ifdef HAVE_COMPLEX_H
22064 #include <complex.h>
22065 #endif
22066 #ifdef HAVE_MATH_H
22067 #include <math.h>
22068 #endif
22069
22070 int (*ptr)() = (int (*)())sinhl;
22071
22072 int
22073 main ()
22074 {
22075   return 0;
22076 }
22077
22078 _ACEOF
22079 if ac_fn_c_try_link "$LINENO"; then :
22080   gcc_cv_math_func_sinhl=yes
22081 else
22082   gcc_cv_math_func_sinhl=no
22083 fi
22084 rm -f core conftest.err conftest.$ac_objext \
22085     conftest$ac_exeext conftest.$ac_ext
22086 fi
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22088 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22089   if test $gcc_cv_math_func_sinhl = yes; then
22090
22091 cat >>confdefs.h <<_ACEOF
22092 #define HAVE_SINHL 1
22093 _ACEOF
22094
22095   fi
22096
22097
22098
22099
22100   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22101 $as_echo_n "checking for csinhf... " >&6; }
22102 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
22103   $as_echo_n "(cached) " >&6
22104 else
22105   if test x$gcc_no_link = xyes; then
22106   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22107 fi
22108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22109 /* end confdefs.h.  */
22110
22111 #ifdef HAVE_COMPLEX_H
22112 #include <complex.h>
22113 #endif
22114 #ifdef HAVE_MATH_H
22115 #include <math.h>
22116 #endif
22117
22118 int (*ptr)() = (int (*)())csinhf;
22119
22120 int
22121 main ()
22122 {
22123   return 0;
22124 }
22125
22126 _ACEOF
22127 if ac_fn_c_try_link "$LINENO"; then :
22128   gcc_cv_math_func_csinhf=yes
22129 else
22130   gcc_cv_math_func_csinhf=no
22131 fi
22132 rm -f core conftest.err conftest.$ac_objext \
22133     conftest$ac_exeext conftest.$ac_ext
22134 fi
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22136 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22137   if test $gcc_cv_math_func_csinhf = yes; then
22138
22139 cat >>confdefs.h <<_ACEOF
22140 #define HAVE_CSINHF 1
22141 _ACEOF
22142
22143   fi
22144
22145
22146
22147
22148   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22149 $as_echo_n "checking for csinh... " >&6; }
22150 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22151   $as_echo_n "(cached) " >&6
22152 else
22153   if test x$gcc_no_link = xyes; then
22154   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22155 fi
22156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22157 /* end confdefs.h.  */
22158
22159 #ifdef HAVE_COMPLEX_H
22160 #include <complex.h>
22161 #endif
22162 #ifdef HAVE_MATH_H
22163 #include <math.h>
22164 #endif
22165
22166 int (*ptr)() = (int (*)())csinh;
22167
22168 int
22169 main ()
22170 {
22171   return 0;
22172 }
22173
22174 _ACEOF
22175 if ac_fn_c_try_link "$LINENO"; then :
22176   gcc_cv_math_func_csinh=yes
22177 else
22178   gcc_cv_math_func_csinh=no
22179 fi
22180 rm -f core conftest.err conftest.$ac_objext \
22181     conftest$ac_exeext conftest.$ac_ext
22182 fi
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22184 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22185   if test $gcc_cv_math_func_csinh = yes; then
22186
22187 cat >>confdefs.h <<_ACEOF
22188 #define HAVE_CSINH 1
22189 _ACEOF
22190
22191   fi
22192
22193
22194
22195
22196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22197 $as_echo_n "checking for csinhl... " >&6; }
22198 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22199   $as_echo_n "(cached) " >&6
22200 else
22201   if test x$gcc_no_link = xyes; then
22202   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22203 fi
22204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22205 /* end confdefs.h.  */
22206
22207 #ifdef HAVE_COMPLEX_H
22208 #include <complex.h>
22209 #endif
22210 #ifdef HAVE_MATH_H
22211 #include <math.h>
22212 #endif
22213
22214 int (*ptr)() = (int (*)())csinhl;
22215
22216 int
22217 main ()
22218 {
22219   return 0;
22220 }
22221
22222 _ACEOF
22223 if ac_fn_c_try_link "$LINENO"; then :
22224   gcc_cv_math_func_csinhl=yes
22225 else
22226   gcc_cv_math_func_csinhl=no
22227 fi
22228 rm -f core conftest.err conftest.$ac_objext \
22229     conftest$ac_exeext conftest.$ac_ext
22230 fi
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22232 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22233   if test $gcc_cv_math_func_csinhl = yes; then
22234
22235 cat >>confdefs.h <<_ACEOF
22236 #define HAVE_CSINHL 1
22237 _ACEOF
22238
22239   fi
22240
22241
22242
22243
22244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22245 $as_echo_n "checking for sqrtf... " >&6; }
22246 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22247   $as_echo_n "(cached) " >&6
22248 else
22249   if test x$gcc_no_link = xyes; then
22250   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22251 fi
22252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22253 /* end confdefs.h.  */
22254
22255 #ifdef HAVE_COMPLEX_H
22256 #include <complex.h>
22257 #endif
22258 #ifdef HAVE_MATH_H
22259 #include <math.h>
22260 #endif
22261
22262 int (*ptr)() = (int (*)())sqrtf;
22263
22264 int
22265 main ()
22266 {
22267   return 0;
22268 }
22269
22270 _ACEOF
22271 if ac_fn_c_try_link "$LINENO"; then :
22272   gcc_cv_math_func_sqrtf=yes
22273 else
22274   gcc_cv_math_func_sqrtf=no
22275 fi
22276 rm -f core conftest.err conftest.$ac_objext \
22277     conftest$ac_exeext conftest.$ac_ext
22278 fi
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22280 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22281   if test $gcc_cv_math_func_sqrtf = yes; then
22282
22283 cat >>confdefs.h <<_ACEOF
22284 #define HAVE_SQRTF 1
22285 _ACEOF
22286
22287   fi
22288
22289
22290
22291
22292   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22293 $as_echo_n "checking for sqrt... " >&6; }
22294 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22295   $as_echo_n "(cached) " >&6
22296 else
22297   if test x$gcc_no_link = xyes; then
22298   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22299 fi
22300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22301 /* end confdefs.h.  */
22302
22303 #ifdef HAVE_COMPLEX_H
22304 #include <complex.h>
22305 #endif
22306 #ifdef HAVE_MATH_H
22307 #include <math.h>
22308 #endif
22309
22310 int (*ptr)() = (int (*)())sqrt;
22311
22312 int
22313 main ()
22314 {
22315   return 0;
22316 }
22317
22318 _ACEOF
22319 if ac_fn_c_try_link "$LINENO"; then :
22320   gcc_cv_math_func_sqrt=yes
22321 else
22322   gcc_cv_math_func_sqrt=no
22323 fi
22324 rm -f core conftest.err conftest.$ac_objext \
22325     conftest$ac_exeext conftest.$ac_ext
22326 fi
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22328 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22329   if test $gcc_cv_math_func_sqrt = yes; then
22330
22331 cat >>confdefs.h <<_ACEOF
22332 #define HAVE_SQRT 1
22333 _ACEOF
22334
22335   fi
22336
22337
22338
22339
22340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22341 $as_echo_n "checking for sqrtl... " >&6; }
22342 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22343   $as_echo_n "(cached) " >&6
22344 else
22345   if test x$gcc_no_link = xyes; then
22346   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22347 fi
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h.  */
22350
22351 #ifdef HAVE_COMPLEX_H
22352 #include <complex.h>
22353 #endif
22354 #ifdef HAVE_MATH_H
22355 #include <math.h>
22356 #endif
22357
22358 int (*ptr)() = (int (*)())sqrtl;
22359
22360 int
22361 main ()
22362 {
22363   return 0;
22364 }
22365
22366 _ACEOF
22367 if ac_fn_c_try_link "$LINENO"; then :
22368   gcc_cv_math_func_sqrtl=yes
22369 else
22370   gcc_cv_math_func_sqrtl=no
22371 fi
22372 rm -f core conftest.err conftest.$ac_objext \
22373     conftest$ac_exeext conftest.$ac_ext
22374 fi
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22376 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22377   if test $gcc_cv_math_func_sqrtl = yes; then
22378
22379 cat >>confdefs.h <<_ACEOF
22380 #define HAVE_SQRTL 1
22381 _ACEOF
22382
22383   fi
22384
22385
22386
22387
22388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22389 $as_echo_n "checking for csqrtf... " >&6; }
22390 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22391   $as_echo_n "(cached) " >&6
22392 else
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 #ifdef HAVE_COMPLEX_H
22400 #include <complex.h>
22401 #endif
22402 #ifdef HAVE_MATH_H
22403 #include <math.h>
22404 #endif
22405
22406 int (*ptr)() = (int (*)())csqrtf;
22407
22408 int
22409 main ()
22410 {
22411   return 0;
22412 }
22413
22414 _ACEOF
22415 if ac_fn_c_try_link "$LINENO"; then :
22416   gcc_cv_math_func_csqrtf=yes
22417 else
22418   gcc_cv_math_func_csqrtf=no
22419 fi
22420 rm -f core conftest.err conftest.$ac_objext \
22421     conftest$ac_exeext conftest.$ac_ext
22422 fi
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22424 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22425   if test $gcc_cv_math_func_csqrtf = yes; then
22426
22427 cat >>confdefs.h <<_ACEOF
22428 #define HAVE_CSQRTF 1
22429 _ACEOF
22430
22431   fi
22432
22433
22434
22435
22436   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22437 $as_echo_n "checking for csqrt... " >&6; }
22438 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22439   $as_echo_n "(cached) " >&6
22440 else
22441   if test x$gcc_no_link = xyes; then
22442   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22443 fi
22444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22445 /* end confdefs.h.  */
22446
22447 #ifdef HAVE_COMPLEX_H
22448 #include <complex.h>
22449 #endif
22450 #ifdef HAVE_MATH_H
22451 #include <math.h>
22452 #endif
22453
22454 int (*ptr)() = (int (*)())csqrt;
22455
22456 int
22457 main ()
22458 {
22459   return 0;
22460 }
22461
22462 _ACEOF
22463 if ac_fn_c_try_link "$LINENO"; then :
22464   gcc_cv_math_func_csqrt=yes
22465 else
22466   gcc_cv_math_func_csqrt=no
22467 fi
22468 rm -f core conftest.err conftest.$ac_objext \
22469     conftest$ac_exeext conftest.$ac_ext
22470 fi
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22472 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22473   if test $gcc_cv_math_func_csqrt = yes; then
22474
22475 cat >>confdefs.h <<_ACEOF
22476 #define HAVE_CSQRT 1
22477 _ACEOF
22478
22479   fi
22480
22481
22482
22483
22484   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22485 $as_echo_n "checking for csqrtl... " >&6; }
22486 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22487   $as_echo_n "(cached) " >&6
22488 else
22489   if test x$gcc_no_link = xyes; then
22490   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22491 fi
22492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22493 /* end confdefs.h.  */
22494
22495 #ifdef HAVE_COMPLEX_H
22496 #include <complex.h>
22497 #endif
22498 #ifdef HAVE_MATH_H
22499 #include <math.h>
22500 #endif
22501
22502 int (*ptr)() = (int (*)())csqrtl;
22503
22504 int
22505 main ()
22506 {
22507   return 0;
22508 }
22509
22510 _ACEOF
22511 if ac_fn_c_try_link "$LINENO"; then :
22512   gcc_cv_math_func_csqrtl=yes
22513 else
22514   gcc_cv_math_func_csqrtl=no
22515 fi
22516 rm -f core conftest.err conftest.$ac_objext \
22517     conftest$ac_exeext conftest.$ac_ext
22518 fi
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22520 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22521   if test $gcc_cv_math_func_csqrtl = yes; then
22522
22523 cat >>confdefs.h <<_ACEOF
22524 #define HAVE_CSQRTL 1
22525 _ACEOF
22526
22527   fi
22528
22529
22530
22531
22532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22533 $as_echo_n "checking for tanf... " >&6; }
22534 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22535   $as_echo_n "(cached) " >&6
22536 else
22537   if test x$gcc_no_link = xyes; then
22538   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22539 fi
22540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22541 /* end confdefs.h.  */
22542
22543 #ifdef HAVE_COMPLEX_H
22544 #include <complex.h>
22545 #endif
22546 #ifdef HAVE_MATH_H
22547 #include <math.h>
22548 #endif
22549
22550 int (*ptr)() = (int (*)())tanf;
22551
22552 int
22553 main ()
22554 {
22555   return 0;
22556 }
22557
22558 _ACEOF
22559 if ac_fn_c_try_link "$LINENO"; then :
22560   gcc_cv_math_func_tanf=yes
22561 else
22562   gcc_cv_math_func_tanf=no
22563 fi
22564 rm -f core conftest.err conftest.$ac_objext \
22565     conftest$ac_exeext conftest.$ac_ext
22566 fi
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22568 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22569   if test $gcc_cv_math_func_tanf = yes; then
22570
22571 cat >>confdefs.h <<_ACEOF
22572 #define HAVE_TANF 1
22573 _ACEOF
22574
22575   fi
22576
22577
22578
22579
22580   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22581 $as_echo_n "checking for tan... " >&6; }
22582 if test "${gcc_cv_math_func_tan+set}" = set; then :
22583   $as_echo_n "(cached) " >&6
22584 else
22585   if test x$gcc_no_link = xyes; then
22586   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22587 fi
22588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22589 /* end confdefs.h.  */
22590
22591 #ifdef HAVE_COMPLEX_H
22592 #include <complex.h>
22593 #endif
22594 #ifdef HAVE_MATH_H
22595 #include <math.h>
22596 #endif
22597
22598 int (*ptr)() = (int (*)())tan;
22599
22600 int
22601 main ()
22602 {
22603   return 0;
22604 }
22605
22606 _ACEOF
22607 if ac_fn_c_try_link "$LINENO"; then :
22608   gcc_cv_math_func_tan=yes
22609 else
22610   gcc_cv_math_func_tan=no
22611 fi
22612 rm -f core conftest.err conftest.$ac_objext \
22613     conftest$ac_exeext conftest.$ac_ext
22614 fi
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22616 $as_echo "$gcc_cv_math_func_tan" >&6; }
22617   if test $gcc_cv_math_func_tan = yes; then
22618
22619 cat >>confdefs.h <<_ACEOF
22620 #define HAVE_TAN 1
22621 _ACEOF
22622
22623   fi
22624
22625
22626
22627
22628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22629 $as_echo_n "checking for tanl... " >&6; }
22630 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22631   $as_echo_n "(cached) " >&6
22632 else
22633   if test x$gcc_no_link = xyes; then
22634   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22635 fi
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h.  */
22638
22639 #ifdef HAVE_COMPLEX_H
22640 #include <complex.h>
22641 #endif
22642 #ifdef HAVE_MATH_H
22643 #include <math.h>
22644 #endif
22645
22646 int (*ptr)() = (int (*)())tanl;
22647
22648 int
22649 main ()
22650 {
22651   return 0;
22652 }
22653
22654 _ACEOF
22655 if ac_fn_c_try_link "$LINENO"; then :
22656   gcc_cv_math_func_tanl=yes
22657 else
22658   gcc_cv_math_func_tanl=no
22659 fi
22660 rm -f core conftest.err conftest.$ac_objext \
22661     conftest$ac_exeext conftest.$ac_ext
22662 fi
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22664 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22665   if test $gcc_cv_math_func_tanl = yes; then
22666
22667 cat >>confdefs.h <<_ACEOF
22668 #define HAVE_TANL 1
22669 _ACEOF
22670
22671   fi
22672
22673
22674
22675
22676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22677 $as_echo_n "checking for ctanf... " >&6; }
22678 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22679   $as_echo_n "(cached) " >&6
22680 else
22681   if test x$gcc_no_link = xyes; then
22682   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22683 fi
22684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22685 /* end confdefs.h.  */
22686
22687 #ifdef HAVE_COMPLEX_H
22688 #include <complex.h>
22689 #endif
22690 #ifdef HAVE_MATH_H
22691 #include <math.h>
22692 #endif
22693
22694 int (*ptr)() = (int (*)())ctanf;
22695
22696 int
22697 main ()
22698 {
22699   return 0;
22700 }
22701
22702 _ACEOF
22703 if ac_fn_c_try_link "$LINENO"; then :
22704   gcc_cv_math_func_ctanf=yes
22705 else
22706   gcc_cv_math_func_ctanf=no
22707 fi
22708 rm -f core conftest.err conftest.$ac_objext \
22709     conftest$ac_exeext conftest.$ac_ext
22710 fi
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22712 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22713   if test $gcc_cv_math_func_ctanf = yes; then
22714
22715 cat >>confdefs.h <<_ACEOF
22716 #define HAVE_CTANF 1
22717 _ACEOF
22718
22719   fi
22720
22721
22722
22723
22724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22725 $as_echo_n "checking for ctan... " >&6; }
22726 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22727   $as_echo_n "(cached) " >&6
22728 else
22729   if test x$gcc_no_link = xyes; then
22730   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22731 fi
22732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22733 /* end confdefs.h.  */
22734
22735 #ifdef HAVE_COMPLEX_H
22736 #include <complex.h>
22737 #endif
22738 #ifdef HAVE_MATH_H
22739 #include <math.h>
22740 #endif
22741
22742 int (*ptr)() = (int (*)())ctan;
22743
22744 int
22745 main ()
22746 {
22747   return 0;
22748 }
22749
22750 _ACEOF
22751 if ac_fn_c_try_link "$LINENO"; then :
22752   gcc_cv_math_func_ctan=yes
22753 else
22754   gcc_cv_math_func_ctan=no
22755 fi
22756 rm -f core conftest.err conftest.$ac_objext \
22757     conftest$ac_exeext conftest.$ac_ext
22758 fi
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22760 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22761   if test $gcc_cv_math_func_ctan = yes; then
22762
22763 cat >>confdefs.h <<_ACEOF
22764 #define HAVE_CTAN 1
22765 _ACEOF
22766
22767   fi
22768
22769
22770
22771
22772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22773 $as_echo_n "checking for ctanl... " >&6; }
22774 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22775   $as_echo_n "(cached) " >&6
22776 else
22777   if test x$gcc_no_link = xyes; then
22778   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22779 fi
22780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22781 /* end confdefs.h.  */
22782
22783 #ifdef HAVE_COMPLEX_H
22784 #include <complex.h>
22785 #endif
22786 #ifdef HAVE_MATH_H
22787 #include <math.h>
22788 #endif
22789
22790 int (*ptr)() = (int (*)())ctanl;
22791
22792 int
22793 main ()
22794 {
22795   return 0;
22796 }
22797
22798 _ACEOF
22799 if ac_fn_c_try_link "$LINENO"; then :
22800   gcc_cv_math_func_ctanl=yes
22801 else
22802   gcc_cv_math_func_ctanl=no
22803 fi
22804 rm -f core conftest.err conftest.$ac_objext \
22805     conftest$ac_exeext conftest.$ac_ext
22806 fi
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22808 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22809   if test $gcc_cv_math_func_ctanl = yes; then
22810
22811 cat >>confdefs.h <<_ACEOF
22812 #define HAVE_CTANL 1
22813 _ACEOF
22814
22815   fi
22816
22817
22818
22819
22820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22821 $as_echo_n "checking for tanhf... " >&6; }
22822 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22823   $as_echo_n "(cached) " >&6
22824 else
22825   if test x$gcc_no_link = xyes; then
22826   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22827 fi
22828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22829 /* end confdefs.h.  */
22830
22831 #ifdef HAVE_COMPLEX_H
22832 #include <complex.h>
22833 #endif
22834 #ifdef HAVE_MATH_H
22835 #include <math.h>
22836 #endif
22837
22838 int (*ptr)() = (int (*)())tanhf;
22839
22840 int
22841 main ()
22842 {
22843   return 0;
22844 }
22845
22846 _ACEOF
22847 if ac_fn_c_try_link "$LINENO"; then :
22848   gcc_cv_math_func_tanhf=yes
22849 else
22850   gcc_cv_math_func_tanhf=no
22851 fi
22852 rm -f core conftest.err conftest.$ac_objext \
22853     conftest$ac_exeext conftest.$ac_ext
22854 fi
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22856 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22857   if test $gcc_cv_math_func_tanhf = yes; then
22858
22859 cat >>confdefs.h <<_ACEOF
22860 #define HAVE_TANHF 1
22861 _ACEOF
22862
22863   fi
22864
22865
22866
22867
22868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22869 $as_echo_n "checking for tanh... " >&6; }
22870 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22871   $as_echo_n "(cached) " >&6
22872 else
22873   if test x$gcc_no_link = xyes; then
22874   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22875 fi
22876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22877 /* end confdefs.h.  */
22878
22879 #ifdef HAVE_COMPLEX_H
22880 #include <complex.h>
22881 #endif
22882 #ifdef HAVE_MATH_H
22883 #include <math.h>
22884 #endif
22885
22886 int (*ptr)() = (int (*)())tanh;
22887
22888 int
22889 main ()
22890 {
22891   return 0;
22892 }
22893
22894 _ACEOF
22895 if ac_fn_c_try_link "$LINENO"; then :
22896   gcc_cv_math_func_tanh=yes
22897 else
22898   gcc_cv_math_func_tanh=no
22899 fi
22900 rm -f core conftest.err conftest.$ac_objext \
22901     conftest$ac_exeext conftest.$ac_ext
22902 fi
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22904 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22905   if test $gcc_cv_math_func_tanh = yes; then
22906
22907 cat >>confdefs.h <<_ACEOF
22908 #define HAVE_TANH 1
22909 _ACEOF
22910
22911   fi
22912
22913
22914
22915
22916   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22917 $as_echo_n "checking for tanhl... " >&6; }
22918 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22919   $as_echo_n "(cached) " >&6
22920 else
22921   if test x$gcc_no_link = xyes; then
22922   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22923 fi
22924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22925 /* end confdefs.h.  */
22926
22927 #ifdef HAVE_COMPLEX_H
22928 #include <complex.h>
22929 #endif
22930 #ifdef HAVE_MATH_H
22931 #include <math.h>
22932 #endif
22933
22934 int (*ptr)() = (int (*)())tanhl;
22935
22936 int
22937 main ()
22938 {
22939   return 0;
22940 }
22941
22942 _ACEOF
22943 if ac_fn_c_try_link "$LINENO"; then :
22944   gcc_cv_math_func_tanhl=yes
22945 else
22946   gcc_cv_math_func_tanhl=no
22947 fi
22948 rm -f core conftest.err conftest.$ac_objext \
22949     conftest$ac_exeext conftest.$ac_ext
22950 fi
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22952 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22953   if test $gcc_cv_math_func_tanhl = yes; then
22954
22955 cat >>confdefs.h <<_ACEOF
22956 #define HAVE_TANHL 1
22957 _ACEOF
22958
22959   fi
22960
22961
22962
22963
22964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22965 $as_echo_n "checking for ctanhf... " >&6; }
22966 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22967   $as_echo_n "(cached) " >&6
22968 else
22969   if test x$gcc_no_link = xyes; then
22970   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22971 fi
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h.  */
22974
22975 #ifdef HAVE_COMPLEX_H
22976 #include <complex.h>
22977 #endif
22978 #ifdef HAVE_MATH_H
22979 #include <math.h>
22980 #endif
22981
22982 int (*ptr)() = (int (*)())ctanhf;
22983
22984 int
22985 main ()
22986 {
22987   return 0;
22988 }
22989
22990 _ACEOF
22991 if ac_fn_c_try_link "$LINENO"; then :
22992   gcc_cv_math_func_ctanhf=yes
22993 else
22994   gcc_cv_math_func_ctanhf=no
22995 fi
22996 rm -f core conftest.err conftest.$ac_objext \
22997     conftest$ac_exeext conftest.$ac_ext
22998 fi
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23000 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23001   if test $gcc_cv_math_func_ctanhf = yes; then
23002
23003 cat >>confdefs.h <<_ACEOF
23004 #define HAVE_CTANHF 1
23005 _ACEOF
23006
23007   fi
23008
23009
23010
23011
23012   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23013 $as_echo_n "checking for ctanh... " >&6; }
23014 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
23015   $as_echo_n "(cached) " >&6
23016 else
23017   if test x$gcc_no_link = xyes; then
23018   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23019 fi
23020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23021 /* end confdefs.h.  */
23022
23023 #ifdef HAVE_COMPLEX_H
23024 #include <complex.h>
23025 #endif
23026 #ifdef HAVE_MATH_H
23027 #include <math.h>
23028 #endif
23029
23030 int (*ptr)() = (int (*)())ctanh;
23031
23032 int
23033 main ()
23034 {
23035   return 0;
23036 }
23037
23038 _ACEOF
23039 if ac_fn_c_try_link "$LINENO"; then :
23040   gcc_cv_math_func_ctanh=yes
23041 else
23042   gcc_cv_math_func_ctanh=no
23043 fi
23044 rm -f core conftest.err conftest.$ac_objext \
23045     conftest$ac_exeext conftest.$ac_ext
23046 fi
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23048 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23049   if test $gcc_cv_math_func_ctanh = yes; then
23050
23051 cat >>confdefs.h <<_ACEOF
23052 #define HAVE_CTANH 1
23053 _ACEOF
23054
23055   fi
23056
23057
23058
23059
23060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23061 $as_echo_n "checking for ctanhl... " >&6; }
23062 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
23063   $as_echo_n "(cached) " >&6
23064 else
23065   if test x$gcc_no_link = xyes; then
23066   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23067 fi
23068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23069 /* end confdefs.h.  */
23070
23071 #ifdef HAVE_COMPLEX_H
23072 #include <complex.h>
23073 #endif
23074 #ifdef HAVE_MATH_H
23075 #include <math.h>
23076 #endif
23077
23078 int (*ptr)() = (int (*)())ctanhl;
23079
23080 int
23081 main ()
23082 {
23083   return 0;
23084 }
23085
23086 _ACEOF
23087 if ac_fn_c_try_link "$LINENO"; then :
23088   gcc_cv_math_func_ctanhl=yes
23089 else
23090   gcc_cv_math_func_ctanhl=no
23091 fi
23092 rm -f core conftest.err conftest.$ac_objext \
23093     conftest$ac_exeext conftest.$ac_ext
23094 fi
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23096 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23097   if test $gcc_cv_math_func_ctanhl = yes; then
23098
23099 cat >>confdefs.h <<_ACEOF
23100 #define HAVE_CTANHL 1
23101 _ACEOF
23102
23103   fi
23104
23105
23106
23107
23108   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23109 $as_echo_n "checking for truncf... " >&6; }
23110 if test "${gcc_cv_math_func_truncf+set}" = set; then :
23111   $as_echo_n "(cached) " >&6
23112 else
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 #ifdef HAVE_COMPLEX_H
23120 #include <complex.h>
23121 #endif
23122 #ifdef HAVE_MATH_H
23123 #include <math.h>
23124 #endif
23125
23126 int (*ptr)() = (int (*)())truncf;
23127
23128 int
23129 main ()
23130 {
23131   return 0;
23132 }
23133
23134 _ACEOF
23135 if ac_fn_c_try_link "$LINENO"; then :
23136   gcc_cv_math_func_truncf=yes
23137 else
23138   gcc_cv_math_func_truncf=no
23139 fi
23140 rm -f core conftest.err conftest.$ac_objext \
23141     conftest$ac_exeext conftest.$ac_ext
23142 fi
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23144 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23145   if test $gcc_cv_math_func_truncf = yes; then
23146
23147 cat >>confdefs.h <<_ACEOF
23148 #define HAVE_TRUNCF 1
23149 _ACEOF
23150
23151   fi
23152
23153
23154
23155
23156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23157 $as_echo_n "checking for trunc... " >&6; }
23158 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23159   $as_echo_n "(cached) " >&6
23160 else
23161   if test x$gcc_no_link = xyes; then
23162   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23163 fi
23164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23165 /* end confdefs.h.  */
23166
23167 #ifdef HAVE_COMPLEX_H
23168 #include <complex.h>
23169 #endif
23170 #ifdef HAVE_MATH_H
23171 #include <math.h>
23172 #endif
23173
23174 int (*ptr)() = (int (*)())trunc;
23175
23176 int
23177 main ()
23178 {
23179   return 0;
23180 }
23181
23182 _ACEOF
23183 if ac_fn_c_try_link "$LINENO"; then :
23184   gcc_cv_math_func_trunc=yes
23185 else
23186   gcc_cv_math_func_trunc=no
23187 fi
23188 rm -f core conftest.err conftest.$ac_objext \
23189     conftest$ac_exeext conftest.$ac_ext
23190 fi
23191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23192 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23193   if test $gcc_cv_math_func_trunc = yes; then
23194
23195 cat >>confdefs.h <<_ACEOF
23196 #define HAVE_TRUNC 1
23197 _ACEOF
23198
23199   fi
23200
23201
23202
23203
23204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23205 $as_echo_n "checking for truncl... " >&6; }
23206 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23207   $as_echo_n "(cached) " >&6
23208 else
23209   if test x$gcc_no_link = xyes; then
23210   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23211 fi
23212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23213 /* end confdefs.h.  */
23214
23215 #ifdef HAVE_COMPLEX_H
23216 #include <complex.h>
23217 #endif
23218 #ifdef HAVE_MATH_H
23219 #include <math.h>
23220 #endif
23221
23222 int (*ptr)() = (int (*)())truncl;
23223
23224 int
23225 main ()
23226 {
23227   return 0;
23228 }
23229
23230 _ACEOF
23231 if ac_fn_c_try_link "$LINENO"; then :
23232   gcc_cv_math_func_truncl=yes
23233 else
23234   gcc_cv_math_func_truncl=no
23235 fi
23236 rm -f core conftest.err conftest.$ac_objext \
23237     conftest$ac_exeext conftest.$ac_ext
23238 fi
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23240 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23241   if test $gcc_cv_math_func_truncl = yes; then
23242
23243 cat >>confdefs.h <<_ACEOF
23244 #define HAVE_TRUNCL 1
23245 _ACEOF
23246
23247   fi
23248
23249
23250
23251
23252   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23253 $as_echo_n "checking for erff... " >&6; }
23254 if test "${gcc_cv_math_func_erff+set}" = set; then :
23255   $as_echo_n "(cached) " >&6
23256 else
23257   if test x$gcc_no_link = xyes; then
23258   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23259 fi
23260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23261 /* end confdefs.h.  */
23262
23263 #ifdef HAVE_COMPLEX_H
23264 #include <complex.h>
23265 #endif
23266 #ifdef HAVE_MATH_H
23267 #include <math.h>
23268 #endif
23269
23270 int (*ptr)() = (int (*)())erff;
23271
23272 int
23273 main ()
23274 {
23275   return 0;
23276 }
23277
23278 _ACEOF
23279 if ac_fn_c_try_link "$LINENO"; then :
23280   gcc_cv_math_func_erff=yes
23281 else
23282   gcc_cv_math_func_erff=no
23283 fi
23284 rm -f core conftest.err conftest.$ac_objext \
23285     conftest$ac_exeext conftest.$ac_ext
23286 fi
23287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23288 $as_echo "$gcc_cv_math_func_erff" >&6; }
23289   if test $gcc_cv_math_func_erff = yes; then
23290
23291 cat >>confdefs.h <<_ACEOF
23292 #define HAVE_ERFF 1
23293 _ACEOF
23294
23295   fi
23296
23297
23298
23299
23300   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23301 $as_echo_n "checking for erf... " >&6; }
23302 if test "${gcc_cv_math_func_erf+set}" = set; then :
23303   $as_echo_n "(cached) " >&6
23304 else
23305   if test x$gcc_no_link = xyes; then
23306   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23307 fi
23308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23309 /* end confdefs.h.  */
23310
23311 #ifdef HAVE_COMPLEX_H
23312 #include <complex.h>
23313 #endif
23314 #ifdef HAVE_MATH_H
23315 #include <math.h>
23316 #endif
23317
23318 int (*ptr)() = (int (*)())erf;
23319
23320 int
23321 main ()
23322 {
23323   return 0;
23324 }
23325
23326 _ACEOF
23327 if ac_fn_c_try_link "$LINENO"; then :
23328   gcc_cv_math_func_erf=yes
23329 else
23330   gcc_cv_math_func_erf=no
23331 fi
23332 rm -f core conftest.err conftest.$ac_objext \
23333     conftest$ac_exeext conftest.$ac_ext
23334 fi
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23336 $as_echo "$gcc_cv_math_func_erf" >&6; }
23337   if test $gcc_cv_math_func_erf = yes; then
23338
23339 cat >>confdefs.h <<_ACEOF
23340 #define HAVE_ERF 1
23341 _ACEOF
23342
23343   fi
23344
23345
23346
23347
23348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23349 $as_echo_n "checking for erfl... " >&6; }
23350 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23351   $as_echo_n "(cached) " >&6
23352 else
23353   if test x$gcc_no_link = xyes; then
23354   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23355 fi
23356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23357 /* end confdefs.h.  */
23358
23359 #ifdef HAVE_COMPLEX_H
23360 #include <complex.h>
23361 #endif
23362 #ifdef HAVE_MATH_H
23363 #include <math.h>
23364 #endif
23365
23366 int (*ptr)() = (int (*)())erfl;
23367
23368 int
23369 main ()
23370 {
23371   return 0;
23372 }
23373
23374 _ACEOF
23375 if ac_fn_c_try_link "$LINENO"; then :
23376   gcc_cv_math_func_erfl=yes
23377 else
23378   gcc_cv_math_func_erfl=no
23379 fi
23380 rm -f core conftest.err conftest.$ac_objext \
23381     conftest$ac_exeext conftest.$ac_ext
23382 fi
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23384 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23385   if test $gcc_cv_math_func_erfl = yes; then
23386
23387 cat >>confdefs.h <<_ACEOF
23388 #define HAVE_ERFL 1
23389 _ACEOF
23390
23391   fi
23392
23393
23394
23395
23396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23397 $as_echo_n "checking for erfcf... " >&6; }
23398 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23399   $as_echo_n "(cached) " >&6
23400 else
23401   if test x$gcc_no_link = xyes; then
23402   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23403 fi
23404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h.  */
23406
23407 #ifdef HAVE_COMPLEX_H
23408 #include <complex.h>
23409 #endif
23410 #ifdef HAVE_MATH_H
23411 #include <math.h>
23412 #endif
23413
23414 int (*ptr)() = (int (*)())erfcf;
23415
23416 int
23417 main ()
23418 {
23419   return 0;
23420 }
23421
23422 _ACEOF
23423 if ac_fn_c_try_link "$LINENO"; then :
23424   gcc_cv_math_func_erfcf=yes
23425 else
23426   gcc_cv_math_func_erfcf=no
23427 fi
23428 rm -f core conftest.err conftest.$ac_objext \
23429     conftest$ac_exeext conftest.$ac_ext
23430 fi
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23432 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23433   if test $gcc_cv_math_func_erfcf = yes; then
23434
23435 cat >>confdefs.h <<_ACEOF
23436 #define HAVE_ERFCF 1
23437 _ACEOF
23438
23439   fi
23440
23441
23442
23443
23444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23445 $as_echo_n "checking for erfc... " >&6; }
23446 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23447   $as_echo_n "(cached) " >&6
23448 else
23449   if test x$gcc_no_link = xyes; then
23450   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23451 fi
23452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23453 /* end confdefs.h.  */
23454
23455 #ifdef HAVE_COMPLEX_H
23456 #include <complex.h>
23457 #endif
23458 #ifdef HAVE_MATH_H
23459 #include <math.h>
23460 #endif
23461
23462 int (*ptr)() = (int (*)())erfc;
23463
23464 int
23465 main ()
23466 {
23467   return 0;
23468 }
23469
23470 _ACEOF
23471 if ac_fn_c_try_link "$LINENO"; then :
23472   gcc_cv_math_func_erfc=yes
23473 else
23474   gcc_cv_math_func_erfc=no
23475 fi
23476 rm -f core conftest.err conftest.$ac_objext \
23477     conftest$ac_exeext conftest.$ac_ext
23478 fi
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23480 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23481   if test $gcc_cv_math_func_erfc = yes; then
23482
23483 cat >>confdefs.h <<_ACEOF
23484 #define HAVE_ERFC 1
23485 _ACEOF
23486
23487   fi
23488
23489
23490
23491
23492   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23493 $as_echo_n "checking for erfcl... " >&6; }
23494 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23495   $as_echo_n "(cached) " >&6
23496 else
23497   if test x$gcc_no_link = xyes; then
23498   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23499 fi
23500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23501 /* end confdefs.h.  */
23502
23503 #ifdef HAVE_COMPLEX_H
23504 #include <complex.h>
23505 #endif
23506 #ifdef HAVE_MATH_H
23507 #include <math.h>
23508 #endif
23509
23510 int (*ptr)() = (int (*)())erfcl;
23511
23512 int
23513 main ()
23514 {
23515   return 0;
23516 }
23517
23518 _ACEOF
23519 if ac_fn_c_try_link "$LINENO"; then :
23520   gcc_cv_math_func_erfcl=yes
23521 else
23522   gcc_cv_math_func_erfcl=no
23523 fi
23524 rm -f core conftest.err conftest.$ac_objext \
23525     conftest$ac_exeext conftest.$ac_ext
23526 fi
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23528 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23529   if test $gcc_cv_math_func_erfcl = yes; then
23530
23531 cat >>confdefs.h <<_ACEOF
23532 #define HAVE_ERFCL 1
23533 _ACEOF
23534
23535   fi
23536
23537
23538
23539
23540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23541 $as_echo_n "checking for j0f... " >&6; }
23542 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23543   $as_echo_n "(cached) " >&6
23544 else
23545   if test x$gcc_no_link = xyes; then
23546   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23547 fi
23548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23549 /* end confdefs.h.  */
23550
23551 #ifdef HAVE_COMPLEX_H
23552 #include <complex.h>
23553 #endif
23554 #ifdef HAVE_MATH_H
23555 #include <math.h>
23556 #endif
23557
23558 int (*ptr)() = (int (*)())j0f;
23559
23560 int
23561 main ()
23562 {
23563   return 0;
23564 }
23565
23566 _ACEOF
23567 if ac_fn_c_try_link "$LINENO"; then :
23568   gcc_cv_math_func_j0f=yes
23569 else
23570   gcc_cv_math_func_j0f=no
23571 fi
23572 rm -f core conftest.err conftest.$ac_objext \
23573     conftest$ac_exeext conftest.$ac_ext
23574 fi
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23576 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23577   if test $gcc_cv_math_func_j0f = yes; then
23578
23579 cat >>confdefs.h <<_ACEOF
23580 #define HAVE_J0F 1
23581 _ACEOF
23582
23583   fi
23584
23585
23586
23587
23588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23589 $as_echo_n "checking for j0... " >&6; }
23590 if test "${gcc_cv_math_func_j0+set}" = set; then :
23591   $as_echo_n "(cached) " >&6
23592 else
23593   if test x$gcc_no_link = xyes; then
23594   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23595 fi
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h.  */
23598
23599 #ifdef HAVE_COMPLEX_H
23600 #include <complex.h>
23601 #endif
23602 #ifdef HAVE_MATH_H
23603 #include <math.h>
23604 #endif
23605
23606 int (*ptr)() = (int (*)())j0;
23607
23608 int
23609 main ()
23610 {
23611   return 0;
23612 }
23613
23614 _ACEOF
23615 if ac_fn_c_try_link "$LINENO"; then :
23616   gcc_cv_math_func_j0=yes
23617 else
23618   gcc_cv_math_func_j0=no
23619 fi
23620 rm -f core conftest.err conftest.$ac_objext \
23621     conftest$ac_exeext conftest.$ac_ext
23622 fi
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23624 $as_echo "$gcc_cv_math_func_j0" >&6; }
23625   if test $gcc_cv_math_func_j0 = yes; then
23626
23627 cat >>confdefs.h <<_ACEOF
23628 #define HAVE_J0 1
23629 _ACEOF
23630
23631   fi
23632
23633
23634
23635
23636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23637 $as_echo_n "checking for j0l... " >&6; }
23638 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23639   $as_echo_n "(cached) " >&6
23640 else
23641   if test x$gcc_no_link = xyes; then
23642   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23643 fi
23644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23645 /* end confdefs.h.  */
23646
23647 #ifdef HAVE_COMPLEX_H
23648 #include <complex.h>
23649 #endif
23650 #ifdef HAVE_MATH_H
23651 #include <math.h>
23652 #endif
23653
23654 int (*ptr)() = (int (*)())j0l;
23655
23656 int
23657 main ()
23658 {
23659   return 0;
23660 }
23661
23662 _ACEOF
23663 if ac_fn_c_try_link "$LINENO"; then :
23664   gcc_cv_math_func_j0l=yes
23665 else
23666   gcc_cv_math_func_j0l=no
23667 fi
23668 rm -f core conftest.err conftest.$ac_objext \
23669     conftest$ac_exeext conftest.$ac_ext
23670 fi
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23672 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23673   if test $gcc_cv_math_func_j0l = yes; then
23674
23675 cat >>confdefs.h <<_ACEOF
23676 #define HAVE_J0L 1
23677 _ACEOF
23678
23679   fi
23680
23681
23682
23683
23684   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23685 $as_echo_n "checking for j1f... " >&6; }
23686 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23687   $as_echo_n "(cached) " >&6
23688 else
23689   if test x$gcc_no_link = xyes; then
23690   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23691 fi
23692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23693 /* end confdefs.h.  */
23694
23695 #ifdef HAVE_COMPLEX_H
23696 #include <complex.h>
23697 #endif
23698 #ifdef HAVE_MATH_H
23699 #include <math.h>
23700 #endif
23701
23702 int (*ptr)() = (int (*)())j1f;
23703
23704 int
23705 main ()
23706 {
23707   return 0;
23708 }
23709
23710 _ACEOF
23711 if ac_fn_c_try_link "$LINENO"; then :
23712   gcc_cv_math_func_j1f=yes
23713 else
23714   gcc_cv_math_func_j1f=no
23715 fi
23716 rm -f core conftest.err conftest.$ac_objext \
23717     conftest$ac_exeext conftest.$ac_ext
23718 fi
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23720 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23721   if test $gcc_cv_math_func_j1f = yes; then
23722
23723 cat >>confdefs.h <<_ACEOF
23724 #define HAVE_J1F 1
23725 _ACEOF
23726
23727   fi
23728
23729
23730
23731
23732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23733 $as_echo_n "checking for j1... " >&6; }
23734 if test "${gcc_cv_math_func_j1+set}" = set; then :
23735   $as_echo_n "(cached) " >&6
23736 else
23737   if test x$gcc_no_link = xyes; then
23738   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23739 fi
23740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23741 /* end confdefs.h.  */
23742
23743 #ifdef HAVE_COMPLEX_H
23744 #include <complex.h>
23745 #endif
23746 #ifdef HAVE_MATH_H
23747 #include <math.h>
23748 #endif
23749
23750 int (*ptr)() = (int (*)())j1;
23751
23752 int
23753 main ()
23754 {
23755   return 0;
23756 }
23757
23758 _ACEOF
23759 if ac_fn_c_try_link "$LINENO"; then :
23760   gcc_cv_math_func_j1=yes
23761 else
23762   gcc_cv_math_func_j1=no
23763 fi
23764 rm -f core conftest.err conftest.$ac_objext \
23765     conftest$ac_exeext conftest.$ac_ext
23766 fi
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23768 $as_echo "$gcc_cv_math_func_j1" >&6; }
23769   if test $gcc_cv_math_func_j1 = yes; then
23770
23771 cat >>confdefs.h <<_ACEOF
23772 #define HAVE_J1 1
23773 _ACEOF
23774
23775   fi
23776
23777
23778
23779
23780   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23781 $as_echo_n "checking for j1l... " >&6; }
23782 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23783   $as_echo_n "(cached) " >&6
23784 else
23785   if test x$gcc_no_link = xyes; then
23786   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23787 fi
23788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23789 /* end confdefs.h.  */
23790
23791 #ifdef HAVE_COMPLEX_H
23792 #include <complex.h>
23793 #endif
23794 #ifdef HAVE_MATH_H
23795 #include <math.h>
23796 #endif
23797
23798 int (*ptr)() = (int (*)())j1l;
23799
23800 int
23801 main ()
23802 {
23803   return 0;
23804 }
23805
23806 _ACEOF
23807 if ac_fn_c_try_link "$LINENO"; then :
23808   gcc_cv_math_func_j1l=yes
23809 else
23810   gcc_cv_math_func_j1l=no
23811 fi
23812 rm -f core conftest.err conftest.$ac_objext \
23813     conftest$ac_exeext conftest.$ac_ext
23814 fi
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23816 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23817   if test $gcc_cv_math_func_j1l = yes; then
23818
23819 cat >>confdefs.h <<_ACEOF
23820 #define HAVE_J1L 1
23821 _ACEOF
23822
23823   fi
23824
23825
23826
23827
23828   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23829 $as_echo_n "checking for jnf... " >&6; }
23830 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23831   $as_echo_n "(cached) " >&6
23832 else
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 #ifdef HAVE_COMPLEX_H
23840 #include <complex.h>
23841 #endif
23842 #ifdef HAVE_MATH_H
23843 #include <math.h>
23844 #endif
23845
23846 int (*ptr)() = (int (*)())jnf;
23847
23848 int
23849 main ()
23850 {
23851   return 0;
23852 }
23853
23854 _ACEOF
23855 if ac_fn_c_try_link "$LINENO"; then :
23856   gcc_cv_math_func_jnf=yes
23857 else
23858   gcc_cv_math_func_jnf=no
23859 fi
23860 rm -f core conftest.err conftest.$ac_objext \
23861     conftest$ac_exeext conftest.$ac_ext
23862 fi
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23864 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23865   if test $gcc_cv_math_func_jnf = yes; then
23866
23867 cat >>confdefs.h <<_ACEOF
23868 #define HAVE_JNF 1
23869 _ACEOF
23870
23871   fi
23872
23873
23874
23875
23876   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23877 $as_echo_n "checking for jn... " >&6; }
23878 if test "${gcc_cv_math_func_jn+set}" = set; then :
23879   $as_echo_n "(cached) " >&6
23880 else
23881   if test x$gcc_no_link = xyes; then
23882   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23883 fi
23884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23885 /* end confdefs.h.  */
23886
23887 #ifdef HAVE_COMPLEX_H
23888 #include <complex.h>
23889 #endif
23890 #ifdef HAVE_MATH_H
23891 #include <math.h>
23892 #endif
23893
23894 int (*ptr)() = (int (*)())jn;
23895
23896 int
23897 main ()
23898 {
23899   return 0;
23900 }
23901
23902 _ACEOF
23903 if ac_fn_c_try_link "$LINENO"; then :
23904   gcc_cv_math_func_jn=yes
23905 else
23906   gcc_cv_math_func_jn=no
23907 fi
23908 rm -f core conftest.err conftest.$ac_objext \
23909     conftest$ac_exeext conftest.$ac_ext
23910 fi
23911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23912 $as_echo "$gcc_cv_math_func_jn" >&6; }
23913   if test $gcc_cv_math_func_jn = yes; then
23914
23915 cat >>confdefs.h <<_ACEOF
23916 #define HAVE_JN 1
23917 _ACEOF
23918
23919   fi
23920
23921
23922
23923
23924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23925 $as_echo_n "checking for jnl... " >&6; }
23926 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23927   $as_echo_n "(cached) " >&6
23928 else
23929   if test x$gcc_no_link = xyes; then
23930   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23931 fi
23932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23933 /* end confdefs.h.  */
23934
23935 #ifdef HAVE_COMPLEX_H
23936 #include <complex.h>
23937 #endif
23938 #ifdef HAVE_MATH_H
23939 #include <math.h>
23940 #endif
23941
23942 int (*ptr)() = (int (*)())jnl;
23943
23944 int
23945 main ()
23946 {
23947   return 0;
23948 }
23949
23950 _ACEOF
23951 if ac_fn_c_try_link "$LINENO"; then :
23952   gcc_cv_math_func_jnl=yes
23953 else
23954   gcc_cv_math_func_jnl=no
23955 fi
23956 rm -f core conftest.err conftest.$ac_objext \
23957     conftest$ac_exeext conftest.$ac_ext
23958 fi
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23960 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23961   if test $gcc_cv_math_func_jnl = yes; then
23962
23963 cat >>confdefs.h <<_ACEOF
23964 #define HAVE_JNL 1
23965 _ACEOF
23966
23967   fi
23968
23969
23970
23971
23972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23973 $as_echo_n "checking for y0f... " >&6; }
23974 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23975   $as_echo_n "(cached) " >&6
23976 else
23977   if test x$gcc_no_link = xyes; then
23978   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23979 fi
23980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23981 /* end confdefs.h.  */
23982
23983 #ifdef HAVE_COMPLEX_H
23984 #include <complex.h>
23985 #endif
23986 #ifdef HAVE_MATH_H
23987 #include <math.h>
23988 #endif
23989
23990 int (*ptr)() = (int (*)())y0f;
23991
23992 int
23993 main ()
23994 {
23995   return 0;
23996 }
23997
23998 _ACEOF
23999 if ac_fn_c_try_link "$LINENO"; then :
24000   gcc_cv_math_func_y0f=yes
24001 else
24002   gcc_cv_math_func_y0f=no
24003 fi
24004 rm -f core conftest.err conftest.$ac_objext \
24005     conftest$ac_exeext conftest.$ac_ext
24006 fi
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24008 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24009   if test $gcc_cv_math_func_y0f = yes; then
24010
24011 cat >>confdefs.h <<_ACEOF
24012 #define HAVE_Y0F 1
24013 _ACEOF
24014
24015   fi
24016
24017
24018
24019
24020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24021 $as_echo_n "checking for y0... " >&6; }
24022 if test "${gcc_cv_math_func_y0+set}" = set; then :
24023   $as_echo_n "(cached) " >&6
24024 else
24025   if test x$gcc_no_link = xyes; then
24026   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24027 fi
24028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24029 /* end confdefs.h.  */
24030
24031 #ifdef HAVE_COMPLEX_H
24032 #include <complex.h>
24033 #endif
24034 #ifdef HAVE_MATH_H
24035 #include <math.h>
24036 #endif
24037
24038 int (*ptr)() = (int (*)())y0;
24039
24040 int
24041 main ()
24042 {
24043   return 0;
24044 }
24045
24046 _ACEOF
24047 if ac_fn_c_try_link "$LINENO"; then :
24048   gcc_cv_math_func_y0=yes
24049 else
24050   gcc_cv_math_func_y0=no
24051 fi
24052 rm -f core conftest.err conftest.$ac_objext \
24053     conftest$ac_exeext conftest.$ac_ext
24054 fi
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24056 $as_echo "$gcc_cv_math_func_y0" >&6; }
24057   if test $gcc_cv_math_func_y0 = yes; then
24058
24059 cat >>confdefs.h <<_ACEOF
24060 #define HAVE_Y0 1
24061 _ACEOF
24062
24063   fi
24064
24065
24066
24067
24068   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
24069 $as_echo_n "checking for y0l... " >&6; }
24070 if test "${gcc_cv_math_func_y0l+set}" = set; then :
24071   $as_echo_n "(cached) " >&6
24072 else
24073   if test x$gcc_no_link = xyes; then
24074   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24075 fi
24076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24077 /* end confdefs.h.  */
24078
24079 #ifdef HAVE_COMPLEX_H
24080 #include <complex.h>
24081 #endif
24082 #ifdef HAVE_MATH_H
24083 #include <math.h>
24084 #endif
24085
24086 int (*ptr)() = (int (*)())y0l;
24087
24088 int
24089 main ()
24090 {
24091   return 0;
24092 }
24093
24094 _ACEOF
24095 if ac_fn_c_try_link "$LINENO"; then :
24096   gcc_cv_math_func_y0l=yes
24097 else
24098   gcc_cv_math_func_y0l=no
24099 fi
24100 rm -f core conftest.err conftest.$ac_objext \
24101     conftest$ac_exeext conftest.$ac_ext
24102 fi
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
24104 $as_echo "$gcc_cv_math_func_y0l" >&6; }
24105   if test $gcc_cv_math_func_y0l = yes; then
24106
24107 cat >>confdefs.h <<_ACEOF
24108 #define HAVE_Y0L 1
24109 _ACEOF
24110
24111   fi
24112
24113
24114
24115
24116   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24117 $as_echo_n "checking for y1f... " >&6; }
24118 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24119   $as_echo_n "(cached) " >&6
24120 else
24121   if test x$gcc_no_link = xyes; then
24122   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24123 fi
24124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24125 /* end confdefs.h.  */
24126
24127 #ifdef HAVE_COMPLEX_H
24128 #include <complex.h>
24129 #endif
24130 #ifdef HAVE_MATH_H
24131 #include <math.h>
24132 #endif
24133
24134 int (*ptr)() = (int (*)())y1f;
24135
24136 int
24137 main ()
24138 {
24139   return 0;
24140 }
24141
24142 _ACEOF
24143 if ac_fn_c_try_link "$LINENO"; then :
24144   gcc_cv_math_func_y1f=yes
24145 else
24146   gcc_cv_math_func_y1f=no
24147 fi
24148 rm -f core conftest.err conftest.$ac_objext \
24149     conftest$ac_exeext conftest.$ac_ext
24150 fi
24151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24152 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24153   if test $gcc_cv_math_func_y1f = yes; then
24154
24155 cat >>confdefs.h <<_ACEOF
24156 #define HAVE_Y1F 1
24157 _ACEOF
24158
24159   fi
24160
24161
24162
24163
24164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24165 $as_echo_n "checking for y1... " >&6; }
24166 if test "${gcc_cv_math_func_y1+set}" = set; then :
24167   $as_echo_n "(cached) " >&6
24168 else
24169   if test x$gcc_no_link = xyes; then
24170   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24171 fi
24172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24173 /* end confdefs.h.  */
24174
24175 #ifdef HAVE_COMPLEX_H
24176 #include <complex.h>
24177 #endif
24178 #ifdef HAVE_MATH_H
24179 #include <math.h>
24180 #endif
24181
24182 int (*ptr)() = (int (*)())y1;
24183
24184 int
24185 main ()
24186 {
24187   return 0;
24188 }
24189
24190 _ACEOF
24191 if ac_fn_c_try_link "$LINENO"; then :
24192   gcc_cv_math_func_y1=yes
24193 else
24194   gcc_cv_math_func_y1=no
24195 fi
24196 rm -f core conftest.err conftest.$ac_objext \
24197     conftest$ac_exeext conftest.$ac_ext
24198 fi
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24200 $as_echo "$gcc_cv_math_func_y1" >&6; }
24201   if test $gcc_cv_math_func_y1 = yes; then
24202
24203 cat >>confdefs.h <<_ACEOF
24204 #define HAVE_Y1 1
24205 _ACEOF
24206
24207   fi
24208
24209
24210
24211
24212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24213 $as_echo_n "checking for y1l... " >&6; }
24214 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24215   $as_echo_n "(cached) " >&6
24216 else
24217   if test x$gcc_no_link = xyes; then
24218   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24219 fi
24220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24221 /* end confdefs.h.  */
24222
24223 #ifdef HAVE_COMPLEX_H
24224 #include <complex.h>
24225 #endif
24226 #ifdef HAVE_MATH_H
24227 #include <math.h>
24228 #endif
24229
24230 int (*ptr)() = (int (*)())y1l;
24231
24232 int
24233 main ()
24234 {
24235   return 0;
24236 }
24237
24238 _ACEOF
24239 if ac_fn_c_try_link "$LINENO"; then :
24240   gcc_cv_math_func_y1l=yes
24241 else
24242   gcc_cv_math_func_y1l=no
24243 fi
24244 rm -f core conftest.err conftest.$ac_objext \
24245     conftest$ac_exeext conftest.$ac_ext
24246 fi
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24248 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24249   if test $gcc_cv_math_func_y1l = yes; then
24250
24251 cat >>confdefs.h <<_ACEOF
24252 #define HAVE_Y1L 1
24253 _ACEOF
24254
24255   fi
24256
24257
24258
24259
24260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24261 $as_echo_n "checking for ynf... " >&6; }
24262 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24263   $as_echo_n "(cached) " >&6
24264 else
24265   if test x$gcc_no_link = xyes; then
24266   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24267 fi
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269 /* end confdefs.h.  */
24270
24271 #ifdef HAVE_COMPLEX_H
24272 #include <complex.h>
24273 #endif
24274 #ifdef HAVE_MATH_H
24275 #include <math.h>
24276 #endif
24277
24278 int (*ptr)() = (int (*)())ynf;
24279
24280 int
24281 main ()
24282 {
24283   return 0;
24284 }
24285
24286 _ACEOF
24287 if ac_fn_c_try_link "$LINENO"; then :
24288   gcc_cv_math_func_ynf=yes
24289 else
24290   gcc_cv_math_func_ynf=no
24291 fi
24292 rm -f core conftest.err conftest.$ac_objext \
24293     conftest$ac_exeext conftest.$ac_ext
24294 fi
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24296 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24297   if test $gcc_cv_math_func_ynf = yes; then
24298
24299 cat >>confdefs.h <<_ACEOF
24300 #define HAVE_YNF 1
24301 _ACEOF
24302
24303   fi
24304
24305
24306
24307
24308   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24309 $as_echo_n "checking for yn... " >&6; }
24310 if test "${gcc_cv_math_func_yn+set}" = set; then :
24311   $as_echo_n "(cached) " >&6
24312 else
24313   if test x$gcc_no_link = xyes; then
24314   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24315 fi
24316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24317 /* end confdefs.h.  */
24318
24319 #ifdef HAVE_COMPLEX_H
24320 #include <complex.h>
24321 #endif
24322 #ifdef HAVE_MATH_H
24323 #include <math.h>
24324 #endif
24325
24326 int (*ptr)() = (int (*)())yn;
24327
24328 int
24329 main ()
24330 {
24331   return 0;
24332 }
24333
24334 _ACEOF
24335 if ac_fn_c_try_link "$LINENO"; then :
24336   gcc_cv_math_func_yn=yes
24337 else
24338   gcc_cv_math_func_yn=no
24339 fi
24340 rm -f core conftest.err conftest.$ac_objext \
24341     conftest$ac_exeext conftest.$ac_ext
24342 fi
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24344 $as_echo "$gcc_cv_math_func_yn" >&6; }
24345   if test $gcc_cv_math_func_yn = yes; then
24346
24347 cat >>confdefs.h <<_ACEOF
24348 #define HAVE_YN 1
24349 _ACEOF
24350
24351   fi
24352
24353
24354
24355
24356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24357 $as_echo_n "checking for ynl... " >&6; }
24358 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24359   $as_echo_n "(cached) " >&6
24360 else
24361   if test x$gcc_no_link = xyes; then
24362   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24363 fi
24364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24365 /* end confdefs.h.  */
24366
24367 #ifdef HAVE_COMPLEX_H
24368 #include <complex.h>
24369 #endif
24370 #ifdef HAVE_MATH_H
24371 #include <math.h>
24372 #endif
24373
24374 int (*ptr)() = (int (*)())ynl;
24375
24376 int
24377 main ()
24378 {
24379   return 0;
24380 }
24381
24382 _ACEOF
24383 if ac_fn_c_try_link "$LINENO"; then :
24384   gcc_cv_math_func_ynl=yes
24385 else
24386   gcc_cv_math_func_ynl=no
24387 fi
24388 rm -f core conftest.err conftest.$ac_objext \
24389     conftest$ac_exeext conftest.$ac_ext
24390 fi
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24392 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24393   if test $gcc_cv_math_func_ynl = yes; then
24394
24395 cat >>confdefs.h <<_ACEOF
24396 #define HAVE_YNL 1
24397 _ACEOF
24398
24399   fi
24400
24401
24402
24403
24404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24405 $as_echo_n "checking for tgamma... " >&6; }
24406 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24407   $as_echo_n "(cached) " >&6
24408 else
24409   if test x$gcc_no_link = xyes; then
24410   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24411 fi
24412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24413 /* end confdefs.h.  */
24414
24415 #ifdef HAVE_COMPLEX_H
24416 #include <complex.h>
24417 #endif
24418 #ifdef HAVE_MATH_H
24419 #include <math.h>
24420 #endif
24421
24422 int (*ptr)() = (int (*)())tgamma;
24423
24424 int
24425 main ()
24426 {
24427   return 0;
24428 }
24429
24430 _ACEOF
24431 if ac_fn_c_try_link "$LINENO"; then :
24432   gcc_cv_math_func_tgamma=yes
24433 else
24434   gcc_cv_math_func_tgamma=no
24435 fi
24436 rm -f core conftest.err conftest.$ac_objext \
24437     conftest$ac_exeext conftest.$ac_ext
24438 fi
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24440 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24441   if test $gcc_cv_math_func_tgamma = yes; then
24442
24443 cat >>confdefs.h <<_ACEOF
24444 #define HAVE_TGAMMA 1
24445 _ACEOF
24446
24447   fi
24448
24449
24450
24451
24452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24453 $as_echo_n "checking for tgammaf... " >&6; }
24454 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24455   $as_echo_n "(cached) " >&6
24456 else
24457   if test x$gcc_no_link = xyes; then
24458   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24459 fi
24460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24461 /* end confdefs.h.  */
24462
24463 #ifdef HAVE_COMPLEX_H
24464 #include <complex.h>
24465 #endif
24466 #ifdef HAVE_MATH_H
24467 #include <math.h>
24468 #endif
24469
24470 int (*ptr)() = (int (*)())tgammaf;
24471
24472 int
24473 main ()
24474 {
24475   return 0;
24476 }
24477
24478 _ACEOF
24479 if ac_fn_c_try_link "$LINENO"; then :
24480   gcc_cv_math_func_tgammaf=yes
24481 else
24482   gcc_cv_math_func_tgammaf=no
24483 fi
24484 rm -f core conftest.err conftest.$ac_objext \
24485     conftest$ac_exeext conftest.$ac_ext
24486 fi
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24488 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24489   if test $gcc_cv_math_func_tgammaf = yes; then
24490
24491 cat >>confdefs.h <<_ACEOF
24492 #define HAVE_TGAMMAF 1
24493 _ACEOF
24494
24495   fi
24496
24497
24498
24499
24500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24501 $as_echo_n "checking for tgammal... " >&6; }
24502 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24503   $as_echo_n "(cached) " >&6
24504 else
24505   if test x$gcc_no_link = xyes; then
24506   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24507 fi
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h.  */
24510
24511 #ifdef HAVE_COMPLEX_H
24512 #include <complex.h>
24513 #endif
24514 #ifdef HAVE_MATH_H
24515 #include <math.h>
24516 #endif
24517
24518 int (*ptr)() = (int (*)())tgammal;
24519
24520 int
24521 main ()
24522 {
24523   return 0;
24524 }
24525
24526 _ACEOF
24527 if ac_fn_c_try_link "$LINENO"; then :
24528   gcc_cv_math_func_tgammal=yes
24529 else
24530   gcc_cv_math_func_tgammal=no
24531 fi
24532 rm -f core conftest.err conftest.$ac_objext \
24533     conftest$ac_exeext conftest.$ac_ext
24534 fi
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24536 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24537   if test $gcc_cv_math_func_tgammal = yes; then
24538
24539 cat >>confdefs.h <<_ACEOF
24540 #define HAVE_TGAMMAL 1
24541 _ACEOF
24542
24543   fi
24544
24545
24546
24547
24548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24549 $as_echo_n "checking for lgamma... " >&6; }
24550 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24551   $as_echo_n "(cached) " >&6
24552 else
24553   if test x$gcc_no_link = xyes; then
24554   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24555 fi
24556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24557 /* end confdefs.h.  */
24558
24559 #ifdef HAVE_COMPLEX_H
24560 #include <complex.h>
24561 #endif
24562 #ifdef HAVE_MATH_H
24563 #include <math.h>
24564 #endif
24565
24566 int (*ptr)() = (int (*)())lgamma;
24567
24568 int
24569 main ()
24570 {
24571   return 0;
24572 }
24573
24574 _ACEOF
24575 if ac_fn_c_try_link "$LINENO"; then :
24576   gcc_cv_math_func_lgamma=yes
24577 else
24578   gcc_cv_math_func_lgamma=no
24579 fi
24580 rm -f core conftest.err conftest.$ac_objext \
24581     conftest$ac_exeext conftest.$ac_ext
24582 fi
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24584 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24585   if test $gcc_cv_math_func_lgamma = yes; then
24586
24587 cat >>confdefs.h <<_ACEOF
24588 #define HAVE_LGAMMA 1
24589 _ACEOF
24590
24591   fi
24592
24593
24594
24595
24596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24597 $as_echo_n "checking for lgammaf... " >&6; }
24598 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24599   $as_echo_n "(cached) " >&6
24600 else
24601   if test x$gcc_no_link = xyes; then
24602   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24603 fi
24604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24605 /* end confdefs.h.  */
24606
24607 #ifdef HAVE_COMPLEX_H
24608 #include <complex.h>
24609 #endif
24610 #ifdef HAVE_MATH_H
24611 #include <math.h>
24612 #endif
24613
24614 int (*ptr)() = (int (*)())lgammaf;
24615
24616 int
24617 main ()
24618 {
24619   return 0;
24620 }
24621
24622 _ACEOF
24623 if ac_fn_c_try_link "$LINENO"; then :
24624   gcc_cv_math_func_lgammaf=yes
24625 else
24626   gcc_cv_math_func_lgammaf=no
24627 fi
24628 rm -f core conftest.err conftest.$ac_objext \
24629     conftest$ac_exeext conftest.$ac_ext
24630 fi
24631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24632 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24633   if test $gcc_cv_math_func_lgammaf = yes; then
24634
24635 cat >>confdefs.h <<_ACEOF
24636 #define HAVE_LGAMMAF 1
24637 _ACEOF
24638
24639   fi
24640
24641
24642
24643
24644   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24645 $as_echo_n "checking for lgammal... " >&6; }
24646 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24647   $as_echo_n "(cached) " >&6
24648 else
24649   if test x$gcc_no_link = xyes; then
24650   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24651 fi
24652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24653 /* end confdefs.h.  */
24654
24655 #ifdef HAVE_COMPLEX_H
24656 #include <complex.h>
24657 #endif
24658 #ifdef HAVE_MATH_H
24659 #include <math.h>
24660 #endif
24661
24662 int (*ptr)() = (int (*)())lgammal;
24663
24664 int
24665 main ()
24666 {
24667   return 0;
24668 }
24669
24670 _ACEOF
24671 if ac_fn_c_try_link "$LINENO"; then :
24672   gcc_cv_math_func_lgammal=yes
24673 else
24674   gcc_cv_math_func_lgammal=no
24675 fi
24676 rm -f core conftest.err conftest.$ac_objext \
24677     conftest$ac_exeext conftest.$ac_ext
24678 fi
24679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24680 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24681   if test $gcc_cv_math_func_lgammal = yes; then
24682
24683 cat >>confdefs.h <<_ACEOF
24684 #define HAVE_LGAMMAL 1
24685 _ACEOF
24686
24687   fi
24688
24689
24690 # Check for GFORTRAN_C99_1.1 funcs
24691
24692
24693
24694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24695 $as_echo_n "checking for cacos... " >&6; }
24696 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24697   $as_echo_n "(cached) " >&6
24698 else
24699   if test x$gcc_no_link = xyes; then
24700   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24701 fi
24702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24703 /* end confdefs.h.  */
24704
24705 #ifdef HAVE_COMPLEX_H
24706 #include <complex.h>
24707 #endif
24708 #ifdef HAVE_MATH_H
24709 #include <math.h>
24710 #endif
24711
24712 int (*ptr)() = (int (*)())cacos;
24713
24714 int
24715 main ()
24716 {
24717   return 0;
24718 }
24719
24720 _ACEOF
24721 if ac_fn_c_try_link "$LINENO"; then :
24722   gcc_cv_math_func_cacos=yes
24723 else
24724   gcc_cv_math_func_cacos=no
24725 fi
24726 rm -f core conftest.err conftest.$ac_objext \
24727     conftest$ac_exeext conftest.$ac_ext
24728 fi
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24730 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24731   if test $gcc_cv_math_func_cacos = yes; then
24732
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_CACOS 1
24735 _ACEOF
24736
24737   fi
24738
24739
24740
24741
24742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24743 $as_echo_n "checking for cacosf... " >&6; }
24744 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24745   $as_echo_n "(cached) " >&6
24746 else
24747   if test x$gcc_no_link = xyes; then
24748   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24749 fi
24750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24751 /* end confdefs.h.  */
24752
24753 #ifdef HAVE_COMPLEX_H
24754 #include <complex.h>
24755 #endif
24756 #ifdef HAVE_MATH_H
24757 #include <math.h>
24758 #endif
24759
24760 int (*ptr)() = (int (*)())cacosf;
24761
24762 int
24763 main ()
24764 {
24765   return 0;
24766 }
24767
24768 _ACEOF
24769 if ac_fn_c_try_link "$LINENO"; then :
24770   gcc_cv_math_func_cacosf=yes
24771 else
24772   gcc_cv_math_func_cacosf=no
24773 fi
24774 rm -f core conftest.err conftest.$ac_objext \
24775     conftest$ac_exeext conftest.$ac_ext
24776 fi
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24778 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24779   if test $gcc_cv_math_func_cacosf = yes; then
24780
24781 cat >>confdefs.h <<_ACEOF
24782 #define HAVE_CACOSF 1
24783 _ACEOF
24784
24785   fi
24786
24787
24788
24789
24790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24791 $as_echo_n "checking for cacosh... " >&6; }
24792 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24793   $as_echo_n "(cached) " >&6
24794 else
24795   if test x$gcc_no_link = xyes; then
24796   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24797 fi
24798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24799 /* end confdefs.h.  */
24800
24801 #ifdef HAVE_COMPLEX_H
24802 #include <complex.h>
24803 #endif
24804 #ifdef HAVE_MATH_H
24805 #include <math.h>
24806 #endif
24807
24808 int (*ptr)() = (int (*)())cacosh;
24809
24810 int
24811 main ()
24812 {
24813   return 0;
24814 }
24815
24816 _ACEOF
24817 if ac_fn_c_try_link "$LINENO"; then :
24818   gcc_cv_math_func_cacosh=yes
24819 else
24820   gcc_cv_math_func_cacosh=no
24821 fi
24822 rm -f core conftest.err conftest.$ac_objext \
24823     conftest$ac_exeext conftest.$ac_ext
24824 fi
24825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24826 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24827   if test $gcc_cv_math_func_cacosh = yes; then
24828
24829 cat >>confdefs.h <<_ACEOF
24830 #define HAVE_CACOSH 1
24831 _ACEOF
24832
24833   fi
24834
24835
24836
24837
24838   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24839 $as_echo_n "checking for cacoshf... " >&6; }
24840 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24841   $as_echo_n "(cached) " >&6
24842 else
24843   if test x$gcc_no_link = xyes; then
24844   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24845 fi
24846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24847 /* end confdefs.h.  */
24848
24849 #ifdef HAVE_COMPLEX_H
24850 #include <complex.h>
24851 #endif
24852 #ifdef HAVE_MATH_H
24853 #include <math.h>
24854 #endif
24855
24856 int (*ptr)() = (int (*)())cacoshf;
24857
24858 int
24859 main ()
24860 {
24861   return 0;
24862 }
24863
24864 _ACEOF
24865 if ac_fn_c_try_link "$LINENO"; then :
24866   gcc_cv_math_func_cacoshf=yes
24867 else
24868   gcc_cv_math_func_cacoshf=no
24869 fi
24870 rm -f core conftest.err conftest.$ac_objext \
24871     conftest$ac_exeext conftest.$ac_ext
24872 fi
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24874 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24875   if test $gcc_cv_math_func_cacoshf = yes; then
24876
24877 cat >>confdefs.h <<_ACEOF
24878 #define HAVE_CACOSHF 1
24879 _ACEOF
24880
24881   fi
24882
24883
24884
24885
24886   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24887 $as_echo_n "checking for cacoshl... " >&6; }
24888 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24889   $as_echo_n "(cached) " >&6
24890 else
24891   if test x$gcc_no_link = xyes; then
24892   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24893 fi
24894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24895 /* end confdefs.h.  */
24896
24897 #ifdef HAVE_COMPLEX_H
24898 #include <complex.h>
24899 #endif
24900 #ifdef HAVE_MATH_H
24901 #include <math.h>
24902 #endif
24903
24904 int (*ptr)() = (int (*)())cacoshl;
24905
24906 int
24907 main ()
24908 {
24909   return 0;
24910 }
24911
24912 _ACEOF
24913 if ac_fn_c_try_link "$LINENO"; then :
24914   gcc_cv_math_func_cacoshl=yes
24915 else
24916   gcc_cv_math_func_cacoshl=no
24917 fi
24918 rm -f core conftest.err conftest.$ac_objext \
24919     conftest$ac_exeext conftest.$ac_ext
24920 fi
24921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24922 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24923   if test $gcc_cv_math_func_cacoshl = yes; then
24924
24925 cat >>confdefs.h <<_ACEOF
24926 #define HAVE_CACOSHL 1
24927 _ACEOF
24928
24929   fi
24930
24931
24932
24933
24934   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24935 $as_echo_n "checking for cacosl... " >&6; }
24936 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24937   $as_echo_n "(cached) " >&6
24938 else
24939   if test x$gcc_no_link = xyes; then
24940   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24941 fi
24942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24943 /* end confdefs.h.  */
24944
24945 #ifdef HAVE_COMPLEX_H
24946 #include <complex.h>
24947 #endif
24948 #ifdef HAVE_MATH_H
24949 #include <math.h>
24950 #endif
24951
24952 int (*ptr)() = (int (*)())cacosl;
24953
24954 int
24955 main ()
24956 {
24957   return 0;
24958 }
24959
24960 _ACEOF
24961 if ac_fn_c_try_link "$LINENO"; then :
24962   gcc_cv_math_func_cacosl=yes
24963 else
24964   gcc_cv_math_func_cacosl=no
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext \
24967     conftest$ac_exeext conftest.$ac_ext
24968 fi
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24970 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24971   if test $gcc_cv_math_func_cacosl = yes; then
24972
24973 cat >>confdefs.h <<_ACEOF
24974 #define HAVE_CACOSL 1
24975 _ACEOF
24976
24977   fi
24978
24979
24980
24981
24982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24983 $as_echo_n "checking for casin... " >&6; }
24984 if test "${gcc_cv_math_func_casin+set}" = set; then :
24985   $as_echo_n "(cached) " >&6
24986 else
24987   if test x$gcc_no_link = xyes; then
24988   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24989 fi
24990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991 /* end confdefs.h.  */
24992
24993 #ifdef HAVE_COMPLEX_H
24994 #include <complex.h>
24995 #endif
24996 #ifdef HAVE_MATH_H
24997 #include <math.h>
24998 #endif
24999
25000 int (*ptr)() = (int (*)())casin;
25001
25002 int
25003 main ()
25004 {
25005   return 0;
25006 }
25007
25008 _ACEOF
25009 if ac_fn_c_try_link "$LINENO"; then :
25010   gcc_cv_math_func_casin=yes
25011 else
25012   gcc_cv_math_func_casin=no
25013 fi
25014 rm -f core conftest.err conftest.$ac_objext \
25015     conftest$ac_exeext conftest.$ac_ext
25016 fi
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25018 $as_echo "$gcc_cv_math_func_casin" >&6; }
25019   if test $gcc_cv_math_func_casin = yes; then
25020
25021 cat >>confdefs.h <<_ACEOF
25022 #define HAVE_CASIN 1
25023 _ACEOF
25024
25025   fi
25026
25027
25028
25029
25030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25031 $as_echo_n "checking for casinf... " >&6; }
25032 if test "${gcc_cv_math_func_casinf+set}" = set; then :
25033   $as_echo_n "(cached) " >&6
25034 else
25035   if test x$gcc_no_link = xyes; then
25036   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25037 fi
25038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25039 /* end confdefs.h.  */
25040
25041 #ifdef HAVE_COMPLEX_H
25042 #include <complex.h>
25043 #endif
25044 #ifdef HAVE_MATH_H
25045 #include <math.h>
25046 #endif
25047
25048 int (*ptr)() = (int (*)())casinf;
25049
25050 int
25051 main ()
25052 {
25053   return 0;
25054 }
25055
25056 _ACEOF
25057 if ac_fn_c_try_link "$LINENO"; then :
25058   gcc_cv_math_func_casinf=yes
25059 else
25060   gcc_cv_math_func_casinf=no
25061 fi
25062 rm -f core conftest.err conftest.$ac_objext \
25063     conftest$ac_exeext conftest.$ac_ext
25064 fi
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25066 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25067   if test $gcc_cv_math_func_casinf = yes; then
25068
25069 cat >>confdefs.h <<_ACEOF
25070 #define HAVE_CASINF 1
25071 _ACEOF
25072
25073   fi
25074
25075
25076
25077
25078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25079 $as_echo_n "checking for casinh... " >&6; }
25080 if test "${gcc_cv_math_func_casinh+set}" = set; then :
25081   $as_echo_n "(cached) " >&6
25082 else
25083   if test x$gcc_no_link = xyes; then
25084   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25085 fi
25086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25087 /* end confdefs.h.  */
25088
25089 #ifdef HAVE_COMPLEX_H
25090 #include <complex.h>
25091 #endif
25092 #ifdef HAVE_MATH_H
25093 #include <math.h>
25094 #endif
25095
25096 int (*ptr)() = (int (*)())casinh;
25097
25098 int
25099 main ()
25100 {
25101   return 0;
25102 }
25103
25104 _ACEOF
25105 if ac_fn_c_try_link "$LINENO"; then :
25106   gcc_cv_math_func_casinh=yes
25107 else
25108   gcc_cv_math_func_casinh=no
25109 fi
25110 rm -f core conftest.err conftest.$ac_objext \
25111     conftest$ac_exeext conftest.$ac_ext
25112 fi
25113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25114 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25115   if test $gcc_cv_math_func_casinh = yes; then
25116
25117 cat >>confdefs.h <<_ACEOF
25118 #define HAVE_CASINH 1
25119 _ACEOF
25120
25121   fi
25122
25123
25124
25125
25126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25127 $as_echo_n "checking for casinhf... " >&6; }
25128 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25129   $as_echo_n "(cached) " >&6
25130 else
25131   if test x$gcc_no_link = xyes; then
25132   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25133 fi
25134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25135 /* end confdefs.h.  */
25136
25137 #ifdef HAVE_COMPLEX_H
25138 #include <complex.h>
25139 #endif
25140 #ifdef HAVE_MATH_H
25141 #include <math.h>
25142 #endif
25143
25144 int (*ptr)() = (int (*)())casinhf;
25145
25146 int
25147 main ()
25148 {
25149   return 0;
25150 }
25151
25152 _ACEOF
25153 if ac_fn_c_try_link "$LINENO"; then :
25154   gcc_cv_math_func_casinhf=yes
25155 else
25156   gcc_cv_math_func_casinhf=no
25157 fi
25158 rm -f core conftest.err conftest.$ac_objext \
25159     conftest$ac_exeext conftest.$ac_ext
25160 fi
25161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25162 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25163   if test $gcc_cv_math_func_casinhf = yes; then
25164
25165 cat >>confdefs.h <<_ACEOF
25166 #define HAVE_CASINHF 1
25167 _ACEOF
25168
25169   fi
25170
25171
25172
25173
25174   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25175 $as_echo_n "checking for casinhl... " >&6; }
25176 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25177   $as_echo_n "(cached) " >&6
25178 else
25179   if test x$gcc_no_link = xyes; then
25180   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25181 fi
25182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h.  */
25184
25185 #ifdef HAVE_COMPLEX_H
25186 #include <complex.h>
25187 #endif
25188 #ifdef HAVE_MATH_H
25189 #include <math.h>
25190 #endif
25191
25192 int (*ptr)() = (int (*)())casinhl;
25193
25194 int
25195 main ()
25196 {
25197   return 0;
25198 }
25199
25200 _ACEOF
25201 if ac_fn_c_try_link "$LINENO"; then :
25202   gcc_cv_math_func_casinhl=yes
25203 else
25204   gcc_cv_math_func_casinhl=no
25205 fi
25206 rm -f core conftest.err conftest.$ac_objext \
25207     conftest$ac_exeext conftest.$ac_ext
25208 fi
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25210 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25211   if test $gcc_cv_math_func_casinhl = yes; then
25212
25213 cat >>confdefs.h <<_ACEOF
25214 #define HAVE_CASINHL 1
25215 _ACEOF
25216
25217   fi
25218
25219
25220
25221
25222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25223 $as_echo_n "checking for casinl... " >&6; }
25224 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25225   $as_echo_n "(cached) " >&6
25226 else
25227   if test x$gcc_no_link = xyes; then
25228   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25229 fi
25230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25231 /* end confdefs.h.  */
25232
25233 #ifdef HAVE_COMPLEX_H
25234 #include <complex.h>
25235 #endif
25236 #ifdef HAVE_MATH_H
25237 #include <math.h>
25238 #endif
25239
25240 int (*ptr)() = (int (*)())casinl;
25241
25242 int
25243 main ()
25244 {
25245   return 0;
25246 }
25247
25248 _ACEOF
25249 if ac_fn_c_try_link "$LINENO"; then :
25250   gcc_cv_math_func_casinl=yes
25251 else
25252   gcc_cv_math_func_casinl=no
25253 fi
25254 rm -f core conftest.err conftest.$ac_objext \
25255     conftest$ac_exeext conftest.$ac_ext
25256 fi
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25258 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25259   if test $gcc_cv_math_func_casinl = yes; then
25260
25261 cat >>confdefs.h <<_ACEOF
25262 #define HAVE_CASINL 1
25263 _ACEOF
25264
25265   fi
25266
25267
25268
25269
25270   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25271 $as_echo_n "checking for catan... " >&6; }
25272 if test "${gcc_cv_math_func_catan+set}" = set; then :
25273   $as_echo_n "(cached) " >&6
25274 else
25275   if test x$gcc_no_link = xyes; then
25276   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25277 fi
25278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25279 /* end confdefs.h.  */
25280
25281 #ifdef HAVE_COMPLEX_H
25282 #include <complex.h>
25283 #endif
25284 #ifdef HAVE_MATH_H
25285 #include <math.h>
25286 #endif
25287
25288 int (*ptr)() = (int (*)())catan;
25289
25290 int
25291 main ()
25292 {
25293   return 0;
25294 }
25295
25296 _ACEOF
25297 if ac_fn_c_try_link "$LINENO"; then :
25298   gcc_cv_math_func_catan=yes
25299 else
25300   gcc_cv_math_func_catan=no
25301 fi
25302 rm -f core conftest.err conftest.$ac_objext \
25303     conftest$ac_exeext conftest.$ac_ext
25304 fi
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25306 $as_echo "$gcc_cv_math_func_catan" >&6; }
25307   if test $gcc_cv_math_func_catan = yes; then
25308
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_CATAN 1
25311 _ACEOF
25312
25313   fi
25314
25315
25316
25317
25318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25319 $as_echo_n "checking for catanf... " >&6; }
25320 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25321   $as_echo_n "(cached) " >&6
25322 else
25323   if test x$gcc_no_link = xyes; then
25324   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25325 fi
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h.  */
25328
25329 #ifdef HAVE_COMPLEX_H
25330 #include <complex.h>
25331 #endif
25332 #ifdef HAVE_MATH_H
25333 #include <math.h>
25334 #endif
25335
25336 int (*ptr)() = (int (*)())catanf;
25337
25338 int
25339 main ()
25340 {
25341   return 0;
25342 }
25343
25344 _ACEOF
25345 if ac_fn_c_try_link "$LINENO"; then :
25346   gcc_cv_math_func_catanf=yes
25347 else
25348   gcc_cv_math_func_catanf=no
25349 fi
25350 rm -f core conftest.err conftest.$ac_objext \
25351     conftest$ac_exeext conftest.$ac_ext
25352 fi
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25354 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25355   if test $gcc_cv_math_func_catanf = yes; then
25356
25357 cat >>confdefs.h <<_ACEOF
25358 #define HAVE_CATANF 1
25359 _ACEOF
25360
25361   fi
25362
25363
25364
25365
25366   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25367 $as_echo_n "checking for catanh... " >&6; }
25368 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25369   $as_echo_n "(cached) " >&6
25370 else
25371   if test x$gcc_no_link = xyes; then
25372   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25373 fi
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h.  */
25376
25377 #ifdef HAVE_COMPLEX_H
25378 #include <complex.h>
25379 #endif
25380 #ifdef HAVE_MATH_H
25381 #include <math.h>
25382 #endif
25383
25384 int (*ptr)() = (int (*)())catanh;
25385
25386 int
25387 main ()
25388 {
25389   return 0;
25390 }
25391
25392 _ACEOF
25393 if ac_fn_c_try_link "$LINENO"; then :
25394   gcc_cv_math_func_catanh=yes
25395 else
25396   gcc_cv_math_func_catanh=no
25397 fi
25398 rm -f core conftest.err conftest.$ac_objext \
25399     conftest$ac_exeext conftest.$ac_ext
25400 fi
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25402 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25403   if test $gcc_cv_math_func_catanh = yes; then
25404
25405 cat >>confdefs.h <<_ACEOF
25406 #define HAVE_CATANH 1
25407 _ACEOF
25408
25409   fi
25410
25411
25412
25413
25414   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25415 $as_echo_n "checking for catanhf... " >&6; }
25416 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25417   $as_echo_n "(cached) " >&6
25418 else
25419   if test x$gcc_no_link = xyes; then
25420   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25421 fi
25422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25423 /* end confdefs.h.  */
25424
25425 #ifdef HAVE_COMPLEX_H
25426 #include <complex.h>
25427 #endif
25428 #ifdef HAVE_MATH_H
25429 #include <math.h>
25430 #endif
25431
25432 int (*ptr)() = (int (*)())catanhf;
25433
25434 int
25435 main ()
25436 {
25437   return 0;
25438 }
25439
25440 _ACEOF
25441 if ac_fn_c_try_link "$LINENO"; then :
25442   gcc_cv_math_func_catanhf=yes
25443 else
25444   gcc_cv_math_func_catanhf=no
25445 fi
25446 rm -f core conftest.err conftest.$ac_objext \
25447     conftest$ac_exeext conftest.$ac_ext
25448 fi
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25450 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25451   if test $gcc_cv_math_func_catanhf = yes; then
25452
25453 cat >>confdefs.h <<_ACEOF
25454 #define HAVE_CATANHF 1
25455 _ACEOF
25456
25457   fi
25458
25459
25460
25461
25462   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25463 $as_echo_n "checking for catanhl... " >&6; }
25464 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25465   $as_echo_n "(cached) " >&6
25466 else
25467   if test x$gcc_no_link = xyes; then
25468   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25469 fi
25470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25471 /* end confdefs.h.  */
25472
25473 #ifdef HAVE_COMPLEX_H
25474 #include <complex.h>
25475 #endif
25476 #ifdef HAVE_MATH_H
25477 #include <math.h>
25478 #endif
25479
25480 int (*ptr)() = (int (*)())catanhl;
25481
25482 int
25483 main ()
25484 {
25485   return 0;
25486 }
25487
25488 _ACEOF
25489 if ac_fn_c_try_link "$LINENO"; then :
25490   gcc_cv_math_func_catanhl=yes
25491 else
25492   gcc_cv_math_func_catanhl=no
25493 fi
25494 rm -f core conftest.err conftest.$ac_objext \
25495     conftest$ac_exeext conftest.$ac_ext
25496 fi
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25498 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25499   if test $gcc_cv_math_func_catanhl = yes; then
25500
25501 cat >>confdefs.h <<_ACEOF
25502 #define HAVE_CATANHL 1
25503 _ACEOF
25504
25505   fi
25506
25507
25508
25509
25510   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25511 $as_echo_n "checking for catanl... " >&6; }
25512 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25513   $as_echo_n "(cached) " >&6
25514 else
25515   if test x$gcc_no_link = xyes; then
25516   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25517 fi
25518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25519 /* end confdefs.h.  */
25520
25521 #ifdef HAVE_COMPLEX_H
25522 #include <complex.h>
25523 #endif
25524 #ifdef HAVE_MATH_H
25525 #include <math.h>
25526 #endif
25527
25528 int (*ptr)() = (int (*)())catanl;
25529
25530 int
25531 main ()
25532 {
25533   return 0;
25534 }
25535
25536 _ACEOF
25537 if ac_fn_c_try_link "$LINENO"; then :
25538   gcc_cv_math_func_catanl=yes
25539 else
25540   gcc_cv_math_func_catanl=no
25541 fi
25542 rm -f core conftest.err conftest.$ac_objext \
25543     conftest$ac_exeext conftest.$ac_ext
25544 fi
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25546 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25547   if test $gcc_cv_math_func_catanl = yes; then
25548
25549 cat >>confdefs.h <<_ACEOF
25550 #define HAVE_CATANL 1
25551 _ACEOF
25552
25553   fi
25554
25555
25556 # On AIX, clog is present in libm as __clog
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25558 $as_echo_n "checking for __clog in -lm... " >&6; }
25559 if test "${ac_cv_lib_m___clog+set}" = set; then :
25560   $as_echo_n "(cached) " >&6
25561 else
25562   ac_check_lib_save_LIBS=$LIBS
25563 LIBS="-lm  $LIBS"
25564 if test x$gcc_no_link = xyes; then
25565   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25566 fi
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h.  */
25569
25570 /* Override any GCC internal prototype to avoid an error.
25571    Use char because int might match the return type of a GCC
25572    builtin and then its argument prototype would still apply.  */
25573 #ifdef __cplusplus
25574 extern "C"
25575 #endif
25576 char __clog ();
25577 int
25578 main ()
25579 {
25580 return __clog ();
25581   ;
25582   return 0;
25583 }
25584 _ACEOF
25585 if ac_fn_c_try_link "$LINENO"; then :
25586   ac_cv_lib_m___clog=yes
25587 else
25588   ac_cv_lib_m___clog=no
25589 fi
25590 rm -f core conftest.err conftest.$ac_objext \
25591     conftest$ac_exeext conftest.$ac_ext
25592 LIBS=$ac_check_lib_save_LIBS
25593 fi
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25595 $as_echo "$ac_cv_lib_m___clog" >&6; }
25596 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25597
25598 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25599
25600 fi
25601
25602
25603 # Check whether the system has a working stat()
25604
25605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25606 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25607 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25608   $as_echo_n "(cached) " >&6
25609 else
25610
25611   if test "$cross_compiling" = yes; then :
25612
25613 case "${target}" in
25614   *mingw*) libgfor_cv_have_working_stat=no ;;
25615   *) libgfor_cv_have_working_stat=yes;;
25616 esac
25617 else
25618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25619 /* end confdefs.h.  */
25620
25621 #include <stdio.h>
25622 #include <sys/types.h>
25623 #include <sys/stat.h>
25624 #include <unistd.h>
25625
25626 int main ()
25627 {
25628   FILE *f, *g;
25629   struct stat st1, st2;
25630
25631   f = fopen ("foo", "w");
25632   g = fopen ("bar", "w");
25633   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25634     return 1;
25635   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25636     return 1;
25637   fclose(f);
25638   fclose(g);
25639   return 0;
25640 }
25641 _ACEOF
25642 if ac_fn_c_try_run "$LINENO"; then :
25643   libgfor_cv_have_working_stat=yes
25644 else
25645   libgfor_cv_have_working_stat=no
25646 fi
25647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25648   conftest.$ac_objext conftest.beam conftest.$ac_ext
25649 fi
25650
25651 fi
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25653 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25654 if test x"$libgfor_cv_have_working_stat" = xyes; then
25655
25656 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25657
25658 fi
25659
25660 # Check whether __mingw_snprintf() is present
25661
25662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25663 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25664 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25665   $as_echo_n "(cached) " >&6
25666 else
25667
25668     if test x$gcc_no_link = xyes; then
25669   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25670 fi
25671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25672 /* end confdefs.h.  */
25673
25674 #include <stdio.h>
25675 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25676
25677 int
25678 main ()
25679 {
25680
25681 __mingw_snprintf (NULL, 0, "%d\n", 1);
25682
25683   ;
25684   return 0;
25685 }
25686 _ACEOF
25687 if ac_fn_c_try_link "$LINENO"; then :
25688   eval "libgfor_cv_have_mingw_snprintf=yes"
25689 else
25690   eval "libgfor_cv_have_mingw_snprintf=no"
25691 fi
25692 rm -f core conftest.err conftest.$ac_objext \
25693     conftest$ac_exeext conftest.$ac_ext
25694
25695 fi
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25697 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25698   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25699
25700 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25701
25702   fi
25703
25704
25705 # Check whether libquadmath should be used
25706 # Check whether --enable-libquadmath-support was given.
25707 if test "${enable_libquadmath_support+set}" = set; then :
25708   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25709 else
25710   ENABLE_LIBQUADMATH_SUPPORT=yes
25711 fi
25712
25713 enable_libquadmath_support=
25714 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25715   enable_libquadmath_support=no
25716 fi
25717
25718 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25719
25720   LIBQUADSPEC=
25721
25722   if test "x$enable_libquadmath_support" != xno; then
25723
25724   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25725 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25726 if test "${libgfor_cv_have_float128+set}" = set; then :
25727   $as_echo_n "(cached) " >&6
25728 else
25729
25730    if test x$gcc_no_link = xyes; then
25731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25732 /* end confdefs.h.  */
25733
25734     typedef _Complex float __attribute__((mode(TC))) __complex128;
25735
25736     __float128 foo (__float128 x)
25737     {
25738
25739      __complex128 z1, z2;
25740
25741      z1 = x;
25742      z2 = x / 7.Q;
25743      z2 /= z1;
25744
25745      return (__float128) z2;
25746     }
25747
25748     __float128 bar (__float128 x)
25749     {
25750       return x * __builtin_huge_valq ();
25751     }
25752
25753 int
25754 main ()
25755 {
25756
25757     foo (1.2Q);
25758     bar (1.2Q);
25759
25760   ;
25761   return 0;
25762 }
25763 _ACEOF
25764 if ac_fn_c_try_compile "$LINENO"; then :
25765
25766     libgfor_cv_have_float128=yes
25767
25768 else
25769
25770     libgfor_cv_have_float128=no
25771
25772 fi
25773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25774 else
25775   if test x$gcc_no_link = xyes; then
25776   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25777 fi
25778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25779 /* end confdefs.h.  */
25780
25781     typedef _Complex float __attribute__((mode(TC))) __complex128;
25782
25783     __float128 foo (__float128 x)
25784     {
25785
25786      __complex128 z1, z2;
25787
25788      z1 = x;
25789      z2 = x / 7.Q;
25790      z2 /= z1;
25791
25792      return (__float128) z2;
25793     }
25794
25795     __float128 bar (__float128 x)
25796     {
25797       return x * __builtin_huge_valq ();
25798     }
25799
25800 int
25801 main ()
25802 {
25803
25804     foo (1.2Q);
25805     bar (1.2Q);
25806
25807   ;
25808   return 0;
25809 }
25810 _ACEOF
25811 if ac_fn_c_try_link "$LINENO"; then :
25812
25813     libgfor_cv_have_float128=yes
25814
25815 else
25816
25817     libgfor_cv_have_float128=no
25818
25819 fi
25820 rm -f core conftest.err conftest.$ac_objext \
25821     conftest$ac_exeext conftest.$ac_ext
25822 fi
25823 fi
25824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25825 $as_echo "$libgfor_cv_have_float128" >&6; }
25826
25827   if test "x$libgfor_cv_have_float128" = xyes; then
25828
25829 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25830
25831
25832                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
25833     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
25834 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
25835 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25836   $as_echo_n "(cached) " >&6
25837 else
25838
25839       # Test for native Solaris options first.
25840       # No whitespace after -z to pass it through -Wl.
25841       libgfor_cv_as_needed_option="-zignore"
25842       libgfor_cv_no_as_needed_option="-zrecord"
25843       save_LDFLAGS="$LDFLAGS"
25844       LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25845       libgfor_cv_have_as_needed=no
25846
25847 ac_c_werror_flag=yes
25848       if test x$gcc_no_link = xyes; then
25849   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25850 fi
25851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25852 /* end confdefs.h.  */
25853
25854 int
25855 main ()
25856 {
25857
25858   ;
25859   return 0;
25860 }
25861 _ACEOF
25862 if ac_fn_c_try_link "$LINENO"; then :
25863   libgfor_cv_have_as_needed=yes
25864 else
25865   libgfor_cv_have_as_needed=no
25866 fi
25867 rm -f core conftest.err conftest.$ac_objext \
25868     conftest$ac_exeext conftest.$ac_ext
25869       LDFLAGS="$save_LDFLAGS"
25870       if test "x$libgfor_cv_have_as_needed" = xno; then
25871         libgfor_cv_as_needed_option="--as-needed"
25872         libgfor_cv_no_as_needed_option="--no-as-needed"
25873         save_LDFLAGS="$LDFLAGS"
25874         LDFLAGS="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
25875         libgfor_cv_have_as_needed=no
25876
25877 ac_c_werror_flag=yes
25878         if test x$gcc_no_link = xyes; then
25879   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25880 fi
25881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25882 /* end confdefs.h.  */
25883
25884 int
25885 main ()
25886 {
25887
25888   ;
25889   return 0;
25890 }
25891 _ACEOF
25892 if ac_fn_c_try_link "$LINENO"; then :
25893   libgfor_cv_have_as_needed=yes
25894 else
25895   libgfor_cv_have_as_needed=no
25896 fi
25897 rm -f core conftest.err conftest.$ac_objext \
25898     conftest$ac_exeext conftest.$ac_ext
25899         LDFLAGS="$save_LDFLAGS"
25900       fi
25901       ac_c_werror_flag=$ac_xsave_c_werror_flag
25902
25903 fi
25904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25905 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25906
25907         if test "x$libgfor_cv_have_as_needed" = xyes; then
25908       LIBQUADSPEC="%{static-libgfortran:$libgfor_cv_as_needed_option} -lquadmath %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
25909     else
25910       LIBQUADSPEC="-lquadmath"
25911     fi
25912     if test -f ../libquadmath/libquadmath.la; then
25913       LIBQUADLIB=../libquadmath/libquadmath.la
25914       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25915       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25916     else
25917       LIBQUADLIB="-lquadmath"
25918       LIBQUADLIB_DEP=
25919       LIBQUADINCLUDE=
25920     fi
25921   fi
25922   else
25923     # for --disable-quadmath
25924     LIBQUADLIB=
25925     LIBQUADLIB_DEP=
25926     LIBQUADINCLUDE=
25927   fi
25928
25929
25930
25931
25932
25933
25934      if test "x$libgfor_cv_have_float128" = xyes; then
25935   LIBGFOR_BUILD_QUAD_TRUE=
25936   LIBGFOR_BUILD_QUAD_FALSE='#'
25937 else
25938   LIBGFOR_BUILD_QUAD_TRUE='#'
25939   LIBGFOR_BUILD_QUAD_FALSE=
25940 fi
25941
25942
25943
25944 # Check for GNU libc feenableexcept
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25946 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25947 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25948   $as_echo_n "(cached) " >&6
25949 else
25950   ac_check_lib_save_LIBS=$LIBS
25951 LIBS="-lm  $LIBS"
25952 if test x$gcc_no_link = xyes; then
25953   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25954 fi
25955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h.  */
25957
25958 /* Override any GCC internal prototype to avoid an error.
25959    Use char because int might match the return type of a GCC
25960    builtin and then its argument prototype would still apply.  */
25961 #ifdef __cplusplus
25962 extern "C"
25963 #endif
25964 char feenableexcept ();
25965 int
25966 main ()
25967 {
25968 return feenableexcept ();
25969   ;
25970   return 0;
25971 }
25972 _ACEOF
25973 if ac_fn_c_try_link "$LINENO"; then :
25974   ac_cv_lib_m_feenableexcept=yes
25975 else
25976   ac_cv_lib_m_feenableexcept=no
25977 fi
25978 rm -f core conftest.err conftest.$ac_objext \
25979     conftest$ac_exeext conftest.$ac_ext
25980 LIBS=$ac_check_lib_save_LIBS
25981 fi
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25983 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25984 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25985   have_feenableexcept=yes
25986 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25987
25988 fi
25989
25990
25991 # At least for glibc, clock_gettime is in librt.  But don't
25992 # pull that in if it still doesn't give us the function we want.  This
25993 # test is copied from libgomp, and modified to not link in -lrt as
25994 # libgfortran calls clock_gettime via a weak reference if it's found
25995 # in librt.
25996 if test "$ac_cv_func_clock_gettime" = no; then
25997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25998 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25999 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
26000   $as_echo_n "(cached) " >&6
26001 else
26002   ac_check_lib_save_LIBS=$LIBS
26003 LIBS="-lrt  $LIBS"
26004 if test x$gcc_no_link = xyes; then
26005   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26006 fi
26007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26008 /* end confdefs.h.  */
26009
26010 /* Override any GCC internal prototype to avoid an error.
26011    Use char because int might match the return type of a GCC
26012    builtin and then its argument prototype would still apply.  */
26013 #ifdef __cplusplus
26014 extern "C"
26015 #endif
26016 char clock_gettime ();
26017 int
26018 main ()
26019 {
26020 return clock_gettime ();
26021   ;
26022   return 0;
26023 }
26024 _ACEOF
26025 if ac_fn_c_try_link "$LINENO"; then :
26026   ac_cv_lib_rt_clock_gettime=yes
26027 else
26028   ac_cv_lib_rt_clock_gettime=no
26029 fi
26030 rm -f core conftest.err conftest.$ac_objext \
26031     conftest$ac_exeext conftest.$ac_ext
26032 LIBS=$ac_check_lib_save_LIBS
26033 fi
26034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
26035 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
26036 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
26037
26038 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
26039
26040 fi
26041
26042 fi
26043
26044 # Check for SysV fpsetmask
26045
26046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
26047 $as_echo_n "checking whether fpsetmask is present... " >&6; }
26048 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
26049   $as_echo_n "(cached) " >&6
26050 else
26051
26052     if test x$gcc_no_link = xyes; then
26053   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26054 fi
26055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26056 /* end confdefs.h.  */
26057
26058 #if HAVE_FLOATINGPOINT_H
26059 # include <floatingpoint.h>
26060 #endif /* HAVE_FLOATINGPOINT_H */
26061 #if HAVE_IEEEFP_H
26062 # include <ieeefp.h>
26063 #endif /* HAVE_IEEEFP_H */
26064 int
26065 main ()
26066 {
26067 fpsetmask(0);
26068   ;
26069   return 0;
26070 }
26071 _ACEOF
26072 if ac_fn_c_try_link "$LINENO"; then :
26073   eval "libgfor_cv_have_fpsetmask=yes"
26074 else
26075   eval "libgfor_cv_have_fpsetmask=no"
26076 fi
26077 rm -f core conftest.err conftest.$ac_objext \
26078     conftest$ac_exeext conftest.$ac_ext
26079
26080 fi
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
26082 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
26083   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
26084     have_fpsetmask=yes
26085
26086 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
26087
26088   fi
26089
26090 ac_fn_c_check_type "$LINENO" "fp_except" "ac_cv_type_fp_except" "
26091 #ifdef HAVE_IEEEFP_H
26092 #include <ieeefp.h>
26093 #endif
26094 #include <math.h>
26095
26096 "
26097 if test "x$ac_cv_type_fp_except" = x""yes; then :
26098
26099 cat >>confdefs.h <<_ACEOF
26100 #define HAVE_FP_EXCEPT 1
26101 _ACEOF
26102
26103
26104 fi
26105 ac_fn_c_check_type "$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
26106 #ifdef HAVE_IEEEFP_H
26107 #include <ieeefp.h>
26108 #endif
26109 #include <math.h>
26110
26111 "
26112 if test "x$ac_cv_type_fp_except_t" = x""yes; then :
26113
26114 cat >>confdefs.h <<_ACEOF
26115 #define HAVE_FP_EXCEPT_T 1
26116 _ACEOF
26117
26118
26119 fi
26120
26121 ac_fn_c_check_type "$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
26122 #ifdef HAVE_IEEEFP_H
26123 #include <ieeefp.h>
26124 #endif
26125 #include <math.h>
26126
26127 "
26128 if test "x$ac_cv_type_fp_rnd" = x""yes; then :
26129
26130 cat >>confdefs.h <<_ACEOF
26131 #define HAVE_FP_RND 1
26132 _ACEOF
26133
26134
26135 fi
26136 ac_fn_c_check_type "$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
26137 #ifdef HAVE_IEEEFP_H
26138 #include <ieeefp.h>
26139 #endif
26140 #include <math.h>
26141
26142 "
26143 if test "x$ac_cv_type_fp_rnd_t" = x""yes; then :
26144
26145 cat >>confdefs.h <<_ACEOF
26146 #define HAVE_FP_RND_T 1
26147 _ACEOF
26148
26149
26150 fi
26151
26152
26153 # Check whether we have fpsetsticky or fpresetsticky
26154 ac_fn_c_check_func "$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
26155 if test "x$ac_cv_func_fpsetsticky" = x""yes; then :
26156   have_fpsetsticky=yes
26157 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
26158
26159 fi
26160
26161 ac_fn_c_check_func "$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
26162 if test "x$ac_cv_func_fpresetsticky" = x""yes; then :
26163   have_fpresetsticky=yes
26164 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
26165
26166 fi
26167
26168
26169 # Check for AIX fp_trap and fp_enable
26170 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
26171 if test "x$ac_cv_func_fp_trap" = x""yes; then :
26172   have_fp_trap=yes
26173 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
26174
26175 fi
26176
26177 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
26178 if test "x$ac_cv_func_fp_enable" = x""yes; then :
26179   have_fp_enable=yes
26180 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
26181
26182 fi
26183
26184
26185 # Runs configure.host to set up necessary host-dependent shell variables.
26186 # We then display a message about it, and propagate them through the
26187 # build chain.
26188 . ${srcdir}/configure.host
26189 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
26190 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
26191 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
26192 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
26193 FPU_HOST_HEADER=config/${fpu_host}.h
26194
26195
26196 # Whether we will build the IEEE modules
26197  if test x${ieee_support} = xyes; then
26198   IEEE_SUPPORT_TRUE=
26199   IEEE_SUPPORT_FALSE='#'
26200 else
26201   IEEE_SUPPORT_TRUE='#'
26202   IEEE_SUPPORT_FALSE=
26203 fi
26204
26205
26206
26207 # Some targets require additional compiler options for IEEE compatibility.
26208 IEEE_FLAGS="${ieee_flags}"
26209
26210
26211
26212 # Check for POSIX getpwuid_r
26213 #
26214 # There are two versions of getpwuid_r, the POSIX one with 5
26215 # arguments, and another one with 4 arguments used by at least HP-UX
26216 # 10.2.
26217 if test "$ac_cv_func_getpwuid_r" = "yes"; then
26218    { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
26219 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
26220 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
26221   $as_echo_n "(cached) " >&6
26222 else
26223
26224    if test x$gcc_no_link = xyes; then
26225   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26226 fi
26227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26228 /* end confdefs.h.  */
26229
26230 #include <stdio.h>
26231 #include <sys/types.h>
26232 #include <pwd.h>
26233 int
26234 main ()
26235 {
26236
26237     getpwuid_r(0, NULL, NULL, 0, NULL);
26238
26239   ;
26240   return 0;
26241 }
26242 _ACEOF
26243 if ac_fn_c_try_link "$LINENO"; then :
26244   libgfor_cv_posix_getpwuid_r="yes"
26245 else
26246   libgfor_cv_posix_getpwuid_r="no"
26247 fi
26248 rm -f core conftest.err conftest.$ac_objext \
26249     conftest$ac_exeext conftest.$ac_ext
26250 fi
26251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26252 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26253 fi
26254 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26255
26256 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26257
26258 fi
26259
26260
26261 # Check out attribute support.
26262
26263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26264 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26265 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26266   $as_echo_n "(cached) " >&6
26267 else
26268
26269   save_CFLAGS="$CFLAGS"
26270   CFLAGS="$CFLAGS -Werror"
26271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26272 /* end confdefs.h.  */
26273 void __attribute__((visibility("hidden"))) foo(void) { }
26274 int
26275 main ()
26276 {
26277
26278   ;
26279   return 0;
26280 }
26281 _ACEOF
26282 if ac_fn_c_try_compile "$LINENO"; then :
26283   libgfor_cv_have_attribute_visibility=yes
26284 else
26285   libgfor_cv_have_attribute_visibility=no
26286 fi
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288   CFLAGS="$save_CFLAGS"
26289 fi
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26291 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26292   if test $libgfor_cv_have_attribute_visibility = yes; then
26293
26294 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26295
26296   fi
26297
26298   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26299 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26300 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26301   $as_echo_n "(cached) " >&6
26302 else
26303
26304   save_CFLAGS="$CFLAGS"
26305   CFLAGS="$CFLAGS -Werror"
26306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26307 /* end confdefs.h.  */
26308 void __attribute__((dllexport)) foo(void) { }
26309 int
26310 main ()
26311 {
26312
26313   ;
26314   return 0;
26315 }
26316 _ACEOF
26317 if ac_fn_c_try_compile "$LINENO"; then :
26318   libgfor_cv_have_attribute_dllexport=yes
26319 else
26320   libgfor_cv_have_attribute_dllexport=no
26321 fi
26322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26323   CFLAGS="$save_CFLAGS"
26324 fi
26325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26326 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26327   if test $libgfor_cv_have_attribute_dllexport = yes; then
26328
26329 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26330
26331   fi
26332
26333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26334 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26335 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26336   $as_echo_n "(cached) " >&6
26337 else
26338
26339   if test x$gcc_no_link = xyes; then
26340   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26341 fi
26342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26343 /* end confdefs.h.  */
26344
26345 void foo(void) { }
26346 extern void bar(void) __attribute__((alias("foo")));
26347 int
26348 main ()
26349 {
26350 bar();
26351   ;
26352   return 0;
26353 }
26354 _ACEOF
26355 if ac_fn_c_try_link "$LINENO"; then :
26356   libgfor_cv_have_attribute_alias=yes
26357 else
26358   libgfor_cv_have_attribute_alias=no
26359 fi
26360 rm -f core conftest.err conftest.$ac_objext \
26361     conftest$ac_exeext conftest.$ac_ext
26362 fi
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26364 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26365   if test $libgfor_cv_have_attribute_alias = yes; then
26366
26367 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26368
26369   fi
26370
26371 # Check out sync builtins support.
26372
26373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26374 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26375 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26376   $as_echo_n "(cached) " >&6
26377 else
26378
26379   if test x$gcc_no_link = xyes; then
26380   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26381 fi
26382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26383 /* end confdefs.h.  */
26384 int foovar = 0;
26385 int
26386 main ()
26387 {
26388
26389 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26390 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26391   ;
26392   return 0;
26393 }
26394 _ACEOF
26395 if ac_fn_c_try_link "$LINENO"; then :
26396   libgfor_cv_have_sync_fetch_and_add=yes
26397 else
26398   libgfor_cv_have_sync_fetch_and_add=no
26399 fi
26400 rm -f core conftest.err conftest.$ac_objext \
26401     conftest$ac_exeext conftest.$ac_ext
26402 fi
26403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26404 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26405   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26406
26407 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26408
26409   fi
26410
26411 # Check out #pragma weak.
26412
26413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26414 $as_echo_n "checking whether pragma weak works... " >&6; }
26415 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26416   $as_echo_n "(cached) " >&6
26417 else
26418
26419   gfor_save_CFLAGS="$CFLAGS"
26420   CFLAGS="$CFLAGS -Wunknown-pragmas"
26421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26422 /* end confdefs.h.  */
26423
26424 void foo (void);
26425 #pragma weak foo
26426
26427 int
26428 main ()
26429 {
26430 if (foo) foo ();
26431   ;
26432   return 0;
26433 }
26434 _ACEOF
26435 if ac_fn_c_try_compile "$LINENO"; then :
26436   libgfor_cv_have_pragma_weak=yes
26437 else
26438   libgfor_cv_have_pragma_weak=no
26439 fi
26440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26441 fi
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26443 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26444   if test $libgfor_cv_have_pragma_weak = yes; then
26445
26446 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26447
26448   fi
26449   case "$host" in
26450     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* | *-*-musl* )
26451
26452 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26453
26454       ;;
26455   esac
26456
26457 # Various other checks on target
26458
26459   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26460 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26461 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26462   $as_echo_n "(cached) " >&6
26463 else
26464
26465   if test "$cross_compiling" = yes; then :
26466
26467 case "${target}" in
26468   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26469   *) libgfor_cv_have_unlink_open_file=yes;;
26470 esac
26471 else
26472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26473 /* end confdefs.h.  */
26474
26475 #include <errno.h>
26476 #include <fcntl.h>
26477 #include <unistd.h>
26478 #include <sys/stat.h>
26479
26480 int main ()
26481 {
26482   int fd;
26483
26484   fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26485   if (fd <= 0)
26486     return 0;
26487   if (unlink ("testfile") == -1)
26488     return 1;
26489   write (fd, "This is a test\n", 15);
26490   close (fd);
26491
26492   if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26493     return 0;
26494   else
26495     return 1;
26496 }
26497 _ACEOF
26498 if ac_fn_c_try_run "$LINENO"; then :
26499   libgfor_cv_have_unlink_open_file=yes
26500 else
26501   libgfor_cv_have_unlink_open_file=no
26502 fi
26503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26504   conftest.$ac_objext conftest.beam conftest.$ac_ext
26505 fi
26506
26507 fi
26508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26509 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26510 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26511
26512 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26513
26514 fi
26515
26516 # Check whether line terminator is LF or CRLF
26517
26518   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26519 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26520 if test "${libgfor_cv_have_crlf+set}" = set; then :
26521   $as_echo_n "(cached) " >&6
26522 else
26523
26524   if test "$cross_compiling" = yes; then :
26525
26526 case "${target}" in
26527   *mingw*) libgfor_cv_have_crlf=yes ;;
26528   *) libgfor_cv_have_crlf=no;;
26529 esac
26530 else
26531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26532 /* end confdefs.h.  */
26533
26534 /* This test program should exit with status 0 if system uses a CRLF as
26535    line terminator, and status 1 otherwise.
26536    Since it is used to check for mingw systems, and should return 0 in any
26537    other case, in case of a failure we will not use CRLF.  */
26538 #include <sys/stat.h>
26539 #include <stdlib.h>
26540 #include <fcntl.h>
26541 #include <stdio.h>
26542
26543 int main ()
26544 {
26545 #ifndef O_BINARY
26546   exit(1);
26547 #else
26548   int fd, bytes;
26549   char buff[5];
26550
26551   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26552   if (fd < 0)
26553     exit(1);
26554   if (write (fd, "\n", 1) < 0)
26555     perror ("write");
26556
26557   close (fd);
26558
26559   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26560     exit(1);
26561   bytes = read (fd, buff, 5);
26562   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26563     exit(0);
26564   else
26565     exit(1);
26566 #endif
26567 }
26568 _ACEOF
26569 if ac_fn_c_try_run "$LINENO"; then :
26570   libgfor_cv_have_crlf=yes
26571 else
26572   libgfor_cv_have_crlf=no
26573 fi
26574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26575   conftest.$ac_objext conftest.beam conftest.$ac_ext
26576 fi
26577
26578 fi
26579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26580 $as_echo "$libgfor_cv_have_crlf" >&6; }
26581 if test x"$libgfor_cv_have_crlf" = xyes; then
26582
26583 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26584
26585 fi
26586
26587 # Check whether we have _Unwind_GetIPInfo for backtrace
26588
26589
26590 # Check whether --with-system-libunwind was given.
26591 if test "${with_system_libunwind+set}" = set; then :
26592   withval=$with_system_libunwind;
26593 fi
26594
26595   # If system-libunwind was not specifically set, pick a default setting.
26596   if test x$with_system_libunwind = x; then
26597     case ${target} in
26598       ia64-*-hpux*) with_system_libunwind=yes ;;
26599       *) with_system_libunwind=no ;;
26600     esac
26601   fi
26602   # Based on system-libunwind and target, do we have ipinfo?
26603   if  test x$with_system_libunwind = xyes; then
26604     case ${target} in
26605       ia64-*-*) have_unwind_getipinfo=no ;;
26606       *) have_unwind_getipinfo=yes ;;
26607     esac
26608   else
26609     # Darwin before version 9 does not have _Unwind_GetIPInfo.
26610
26611     case ${target} in
26612       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26613       *) have_unwind_getipinfo=yes ;;
26614     esac
26615
26616   fi
26617
26618   if test x$have_unwind_getipinfo = xyes; then
26619
26620 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26621
26622   fi
26623
26624
26625 cat >confcache <<\_ACEOF
26626 # This file is a shell script that caches the results of configure
26627 # tests run on this system so they can be shared between configure
26628 # scripts and configure runs, see configure's option --config-cache.
26629 # It is not useful on other systems.  If it contains results you don't
26630 # want to keep, you may remove or edit it.
26631 #
26632 # config.status only pays attention to the cache file if you give it
26633 # the --recheck option to rerun configure.
26634 #
26635 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26636 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26637 # following values.
26638
26639 _ACEOF
26640
26641 # The following way of writing the cache mishandles newlines in values,
26642 # but we know of no workaround that is simple, portable, and efficient.
26643 # So, we kill variables containing newlines.
26644 # Ultrix sh set writes to stderr and can't be redirected directly,
26645 # and sets the high bit in the cache file unless we assign to the vars.
26646 (
26647   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26648     eval ac_val=\$$ac_var
26649     case $ac_val in #(
26650     *${as_nl}*)
26651       case $ac_var in #(
26652       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26653 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26654       esac
26655       case $ac_var in #(
26656       _ | IFS | as_nl) ;; #(
26657       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26658       *) { eval $ac_var=; unset $ac_var;} ;;
26659       esac ;;
26660     esac
26661   done
26662
26663   (set) 2>&1 |
26664     case $as_nl`(ac_space=' '; set) 2>&1` in #(
26665     *${as_nl}ac_space=\ *)
26666       # `set' does not quote correctly, so add quotes: double-quote
26667       # substitution turns \\\\ into \\, and sed turns \\ into \.
26668       sed -n \
26669         "s/'/'\\\\''/g;
26670           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26671       ;; #(
26672     *)
26673       # `set' quotes correctly as required by POSIX, so do not add quotes.
26674       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26675       ;;
26676     esac |
26677     sort
26678 ) |
26679   sed '
26680      /^ac_cv_env_/b end
26681      t clear
26682      :clear
26683      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26684      t end
26685      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26686      :end' >>confcache
26687 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26688   if test -w "$cache_file"; then
26689     test "x$cache_file" != "x/dev/null" &&
26690       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26691 $as_echo "$as_me: updating cache $cache_file" >&6;}
26692     cat confcache >$cache_file
26693   else
26694     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26695 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26696   fi
26697 fi
26698 rm -f confcache
26699
26700 if test ${multilib} = yes; then
26701   multilib_arg="--enable-multilib"
26702 else
26703   multilib_arg=
26704 fi
26705
26706 # Write our Makefile and spec file.
26707 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26708
26709 cat >confcache <<\_ACEOF
26710 # This file is a shell script that caches the results of configure
26711 # tests run on this system so they can be shared between configure
26712 # scripts and configure runs, see configure's option --config-cache.
26713 # It is not useful on other systems.  If it contains results you don't
26714 # want to keep, you may remove or edit it.
26715 #
26716 # config.status only pays attention to the cache file if you give it
26717 # the --recheck option to rerun configure.
26718 #
26719 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26720 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26721 # following values.
26722
26723 _ACEOF
26724
26725 # The following way of writing the cache mishandles newlines in values,
26726 # but we know of no workaround that is simple, portable, and efficient.
26727 # So, we kill variables containing newlines.
26728 # Ultrix sh set writes to stderr and can't be redirected directly,
26729 # and sets the high bit in the cache file unless we assign to the vars.
26730 (
26731   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26732     eval ac_val=\$$ac_var
26733     case $ac_val in #(
26734     *${as_nl}*)
26735       case $ac_var in #(
26736       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26737 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26738       esac
26739       case $ac_var in #(
26740       _ | IFS | as_nl) ;; #(
26741       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26742       *) { eval $ac_var=; unset $ac_var;} ;;
26743       esac ;;
26744     esac
26745   done
26746
26747   (set) 2>&1 |
26748     case $as_nl`(ac_space=' '; set) 2>&1` in #(
26749     *${as_nl}ac_space=\ *)
26750       # `set' does not quote correctly, so add quotes: double-quote
26751       # substitution turns \\\\ into \\, and sed turns \\ into \.
26752       sed -n \
26753         "s/'/'\\\\''/g;
26754           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26755       ;; #(
26756     *)
26757       # `set' quotes correctly as required by POSIX, so do not add quotes.
26758       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26759       ;;
26760     esac |
26761     sort
26762 ) |
26763   sed '
26764      /^ac_cv_env_/b end
26765      t clear
26766      :clear
26767      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26768      t end
26769      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26770      :end' >>confcache
26771 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26772   if test -w "$cache_file"; then
26773     test "x$cache_file" != "x/dev/null" &&
26774       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26775 $as_echo "$as_me: updating cache $cache_file" >&6;}
26776     cat confcache >$cache_file
26777   else
26778     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26779 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26780   fi
26781 fi
26782 rm -f confcache
26783
26784 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26785 # Let make expand exec_prefix.
26786 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26787
26788 DEFS=-DHAVE_CONFIG_H
26789
26790 ac_libobjs=
26791 ac_ltlibobjs=
26792 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26793   # 1. Remove the extension, and $U if already installed.
26794   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26795   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26796   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
26797   #    will be set to the directory where LIBOBJS objects are built.
26798   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26799   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26800 done
26801 LIBOBJS=$ac_libobjs
26802
26803 LTLIBOBJS=$ac_ltlibobjs
26804
26805
26806 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26807   as_fn_error "conditional \"onestep\" was never defined.
26808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26809 fi
26810  if test -n "$EXEEXT"; then
26811   am__EXEEXT_TRUE=
26812   am__EXEEXT_FALSE='#'
26813 else
26814   am__EXEEXT_TRUE='#'
26815   am__EXEEXT_FALSE=
26816 fi
26817
26818 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26819   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26821 fi
26822 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26823   as_fn_error "conditional \"AMDEP\" was never defined.
26824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26825 fi
26826 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26827   as_fn_error "conditional \"am__fastdepCC\" was never defined.
26828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26829 fi
26830 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26831   as_fn_error "conditional \"am__fastdepCC\" was never defined.
26832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26833 fi
26834 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26835   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26837 fi
26838 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26839   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26841 fi
26842 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26843   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26845 fi
26846 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
26847   as_fn_error "conditional \"LIBGFOR_MINIMAL\" was never defined.
26848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26849 fi
26850 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26851   as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26853 fi
26854 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
26855   as_fn_error "conditional \"IEEE_SUPPORT\" was never defined.
26856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26857 fi
26858
26859 : ${CONFIG_STATUS=./config.status}
26860 ac_write_fail=0
26861 ac_clean_files_save=$ac_clean_files
26862 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26864 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26865 as_write_fail=0
26866 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26867 #! $SHELL
26868 # Generated by $as_me.
26869 # Run this file to recreate the current configuration.
26870 # Compiler output produced by configure, useful for debugging
26871 # configure, is in config.log if it exists.
26872
26873 debug=false
26874 ac_cs_recheck=false
26875 ac_cs_silent=false
26876
26877 SHELL=\${CONFIG_SHELL-$SHELL}
26878 export SHELL
26879 _ASEOF
26880 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26881 ## -------------------- ##
26882 ## M4sh Initialization. ##
26883 ## -------------------- ##
26884
26885 # Be more Bourne compatible
26886 DUALCASE=1; export DUALCASE # for MKS sh
26887 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26888   emulate sh
26889   NULLCMD=:
26890   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26891   # is contrary to our usage.  Disable this feature.
26892   alias -g '${1+"$@"}'='"$@"'
26893   setopt NO_GLOB_SUBST
26894 else
26895   case `(set -o) 2>/dev/null` in #(
26896   *posix*) :
26897     set -o posix ;; #(
26898   *) :
26899      ;;
26900 esac
26901 fi
26902
26903
26904 as_nl='
26905 '
26906 export as_nl
26907 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26908 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26909 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26910 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26911 # Prefer a ksh shell builtin over an external printf program on Solaris,
26912 # but without wasting forks for bash or zsh.
26913 if test -z "$BASH_VERSION$ZSH_VERSION" \
26914     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26915   as_echo='print -r --'
26916   as_echo_n='print -rn --'
26917 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26918   as_echo='printf %s\n'
26919   as_echo_n='printf %s'
26920 else
26921   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26922     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26923     as_echo_n='/usr/ucb/echo -n'
26924   else
26925     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26926     as_echo_n_body='eval
26927       arg=$1;
26928       case $arg in #(
26929       *"$as_nl"*)
26930         expr "X$arg" : "X\\(.*\\)$as_nl";
26931         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26932       esac;
26933       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26934     '
26935     export as_echo_n_body
26936     as_echo_n='sh -c $as_echo_n_body as_echo'
26937   fi
26938   export as_echo_body
26939   as_echo='sh -c $as_echo_body as_echo'
26940 fi
26941
26942 # The user is always right.
26943 if test "${PATH_SEPARATOR+set}" != set; then
26944   PATH_SEPARATOR=:
26945   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26946     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26947       PATH_SEPARATOR=';'
26948   }
26949 fi
26950
26951
26952 # IFS
26953 # We need space, tab and new line, in precisely that order.  Quoting is
26954 # there to prevent editors from complaining about space-tab.
26955 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26956 # splitting by setting IFS to empty value.)
26957 IFS=" ""        $as_nl"
26958
26959 # Find who we are.  Look in the path if we contain no directory separator.
26960 case $0 in #((
26961   *[\\/]* ) as_myself=$0 ;;
26962   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26963 for as_dir in $PATH
26964 do
26965   IFS=$as_save_IFS
26966   test -z "$as_dir" && as_dir=.
26967     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26968   done
26969 IFS=$as_save_IFS
26970
26971      ;;
26972 esac
26973 # We did not find ourselves, most probably we were run as `sh COMMAND'
26974 # in which case we are not to be found in the path.
26975 if test "x$as_myself" = x; then
26976   as_myself=$0
26977 fi
26978 if test ! -f "$as_myself"; then
26979   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26980   exit 1
26981 fi
26982
26983 # Unset variables that we do not need and which cause bugs (e.g. in
26984 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
26985 # suppresses any "Segmentation fault" message there.  '((' could
26986 # trigger a bug in pdksh 5.2.14.
26987 for as_var in BASH_ENV ENV MAIL MAILPATH
26988 do eval test x\${$as_var+set} = xset \
26989   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26990 done
26991 PS1='$ '
26992 PS2='> '
26993 PS4='+ '
26994
26995 # NLS nuisances.
26996 LC_ALL=C
26997 export LC_ALL
26998 LANGUAGE=C
26999 export LANGUAGE
27000
27001 # CDPATH.
27002 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27003
27004
27005 # as_fn_error ERROR [LINENO LOG_FD]
27006 # ---------------------------------
27007 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27008 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27009 # script with status $?, using 1 if that was 0.
27010 as_fn_error ()
27011 {
27012   as_status=$?; test $as_status -eq 0 && as_status=1
27013   if test "$3"; then
27014     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27015     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
27016   fi
27017   $as_echo "$as_me: error: $1" >&2
27018   as_fn_exit $as_status
27019 } # as_fn_error
27020
27021
27022 # as_fn_set_status STATUS
27023 # -----------------------
27024 # Set $? to STATUS, without forking.
27025 as_fn_set_status ()
27026 {
27027   return $1
27028 } # as_fn_set_status
27029
27030 # as_fn_exit STATUS
27031 # -----------------
27032 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27033 as_fn_exit ()
27034 {
27035   set +e
27036   as_fn_set_status $1
27037   exit $1
27038 } # as_fn_exit
27039
27040 # as_fn_unset VAR
27041 # ---------------
27042 # Portably unset VAR.
27043 as_fn_unset ()
27044 {
27045   { eval $1=; unset $1;}
27046 }
27047 as_unset=as_fn_unset
27048 # as_fn_append VAR VALUE
27049 # ----------------------
27050 # Append the text in VALUE to the end of the definition contained in VAR. Take
27051 # advantage of any shell optimizations that allow amortized linear growth over
27052 # repeated appends, instead of the typical quadratic growth present in naive
27053 # implementations.
27054 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27055   eval 'as_fn_append ()
27056   {
27057     eval $1+=\$2
27058   }'
27059 else
27060   as_fn_append ()
27061   {
27062     eval $1=\$$1\$2
27063   }
27064 fi # as_fn_append
27065
27066 # as_fn_arith ARG...
27067 # ------------------
27068 # Perform arithmetic evaluation on the ARGs, and store the result in the
27069 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27070 # must be portable across $(()) and expr.
27071 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27072   eval 'as_fn_arith ()
27073   {
27074     as_val=$(( $* ))
27075   }'
27076 else
27077   as_fn_arith ()
27078   {
27079     as_val=`expr "$@" || test $? -eq 1`
27080   }
27081 fi # as_fn_arith
27082
27083
27084 if expr a : '\(a\)' >/dev/null 2>&1 &&
27085    test "X`expr 00001 : '.*\(...\)'`" = X001; then
27086   as_expr=expr
27087 else
27088   as_expr=false
27089 fi
27090
27091 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27092   as_basename=basename
27093 else
27094   as_basename=false
27095 fi
27096
27097 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27098   as_dirname=dirname
27099 else
27100   as_dirname=false
27101 fi
27102
27103 as_me=`$as_basename -- "$0" ||
27104 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27105          X"$0" : 'X\(//\)$' \| \
27106          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27107 $as_echo X/"$0" |
27108     sed '/^.*\/\([^/][^/]*\)\/*$/{
27109             s//\1/
27110             q
27111           }
27112           /^X\/\(\/\/\)$/{
27113             s//\1/
27114             q
27115           }
27116           /^X\/\(\/\).*/{
27117             s//\1/
27118             q
27119           }
27120           s/.*/./; q'`
27121
27122 # Avoid depending upon Character Ranges.
27123 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27124 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27125 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27126 as_cr_digits='0123456789'
27127 as_cr_alnum=$as_cr_Letters$as_cr_digits
27128
27129 ECHO_C= ECHO_N= ECHO_T=
27130 case `echo -n x` in #(((((
27131 -n*)
27132   case `echo 'xy\c'` in
27133   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
27134   xy)  ECHO_C='\c';;
27135   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
27136        ECHO_T=' ';;
27137   esac;;
27138 *)
27139   ECHO_N='-n';;
27140 esac
27141
27142 rm -f conf$$ conf$$.exe conf$$.file
27143 if test -d conf$$.dir; then
27144   rm -f conf$$.dir/conf$$.file
27145 else
27146   rm -f conf$$.dir
27147   mkdir conf$$.dir 2>/dev/null
27148 fi
27149 if (echo >conf$$.file) 2>/dev/null; then
27150   if ln -s conf$$.file conf$$ 2>/dev/null; then
27151     as_ln_s='ln -s'
27152     # ... but there are two gotchas:
27153     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27154     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27155     # In both cases, we have to default to `cp -p'.
27156     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27157       as_ln_s='cp -p'
27158   elif ln conf$$.file conf$$ 2>/dev/null; then
27159     as_ln_s=ln
27160   else
27161     as_ln_s='cp -p'
27162   fi
27163 else
27164   as_ln_s='cp -p'
27165 fi
27166 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27167 rmdir conf$$.dir 2>/dev/null
27168
27169
27170 # as_fn_mkdir_p
27171 # -------------
27172 # Create "$as_dir" as a directory, including parents if necessary.
27173 as_fn_mkdir_p ()
27174 {
27175
27176   case $as_dir in #(
27177   -*) as_dir=./$as_dir;;
27178   esac
27179   test -d "$as_dir" || eval $as_mkdir_p || {
27180     as_dirs=
27181     while :; do
27182       case $as_dir in #(
27183       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27184       *) as_qdir=$as_dir;;
27185       esac
27186       as_dirs="'$as_qdir' $as_dirs"
27187       as_dir=`$as_dirname -- "$as_dir" ||
27188 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27189          X"$as_dir" : 'X\(//\)[^/]' \| \
27190          X"$as_dir" : 'X\(//\)$' \| \
27191          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27192 $as_echo X"$as_dir" |
27193     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27194             s//\1/
27195             q
27196           }
27197           /^X\(\/\/\)[^/].*/{
27198             s//\1/
27199             q
27200           }
27201           /^X\(\/\/\)$/{
27202             s//\1/
27203             q
27204           }
27205           /^X\(\/\).*/{
27206             s//\1/
27207             q
27208           }
27209           s/.*/./; q'`
27210       test -d "$as_dir" && break
27211     done
27212     test -z "$as_dirs" || eval "mkdir $as_dirs"
27213   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
27214
27215
27216 } # as_fn_mkdir_p
27217 if mkdir -p . 2>/dev/null; then
27218   as_mkdir_p='mkdir -p "$as_dir"'
27219 else
27220   test -d ./-p && rmdir ./-p
27221   as_mkdir_p=false
27222 fi
27223
27224 if test -x / >/dev/null 2>&1; then
27225   as_test_x='test -x'
27226 else
27227   if ls -dL / >/dev/null 2>&1; then
27228     as_ls_L_option=L
27229   else
27230     as_ls_L_option=
27231   fi
27232   as_test_x='
27233     eval sh -c '\''
27234       if test -d "$1"; then
27235         test -d "$1/.";
27236       else
27237         case $1 in #(
27238         -*)set "./$1";;
27239         esac;
27240         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27241         ???[sx]*):;;*)false;;esac;fi
27242     '\'' sh
27243   '
27244 fi
27245 as_executable_p=$as_test_x
27246
27247 # Sed expression to map a string onto a valid CPP name.
27248 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27249
27250 # Sed expression to map a string onto a valid variable name.
27251 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27252
27253
27254 exec 6>&1
27255 ## ----------------------------------- ##
27256 ## Main body of $CONFIG_STATUS script. ##
27257 ## ----------------------------------- ##
27258 _ASEOF
27259 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27260
27261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27262 # Save the log message, to keep $0 and so on meaningful, and to
27263 # report actual input values of CONFIG_FILES etc. instead of their
27264 # values after options handling.
27265 ac_log="
27266 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27267 generated by GNU Autoconf 2.64.  Invocation command line was
27268
27269   CONFIG_FILES    = $CONFIG_FILES
27270   CONFIG_HEADERS  = $CONFIG_HEADERS
27271   CONFIG_LINKS    = $CONFIG_LINKS
27272   CONFIG_COMMANDS = $CONFIG_COMMANDS
27273   $ $0 $@
27274
27275 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27276 "
27277
27278 _ACEOF
27279
27280 case $ac_config_files in *"
27281 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27282 esac
27283
27284 case $ac_config_headers in *"
27285 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27286 esac
27287
27288
27289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27290 # Files that config.status was made for.
27291 config_files="$ac_config_files"
27292 config_headers="$ac_config_headers"
27293 config_commands="$ac_config_commands"
27294
27295 _ACEOF
27296
27297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27298 ac_cs_usage="\
27299 \`$as_me' instantiates files and other configuration actions
27300 from templates according to the current configuration.  Unless the files
27301 and actions are specified as TAGs, all are instantiated by default.
27302
27303 Usage: $0 [OPTION]... [TAG]...
27304
27305   -h, --help       print this help, then exit
27306   -V, --version    print version number and configuration settings, then exit
27307   -q, --quiet, --silent
27308                    do not print progress messages
27309   -d, --debug      don't remove temporary files
27310       --recheck    update $as_me by reconfiguring in the same conditions
27311       --file=FILE[:TEMPLATE]
27312                    instantiate the configuration file FILE
27313       --header=FILE[:TEMPLATE]
27314                    instantiate the configuration header FILE
27315
27316 Configuration files:
27317 $config_files
27318
27319 Configuration headers:
27320 $config_headers
27321
27322 Configuration commands:
27323 $config_commands
27324
27325 Report bugs to the package provider.
27326 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27327 General help using GNU software: <http://www.gnu.org/gethelp/>."
27328
27329 _ACEOF
27330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27331 ac_cs_version="\\
27332 GNU Fortran Runtime Library config.status 0.3
27333 configured by $0, generated by GNU Autoconf 2.64,
27334   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27335
27336 Copyright (C) 2009 Free Software Foundation, Inc.
27337 This config.status script is free software; the Free Software Foundation
27338 gives unlimited permission to copy, distribute and modify it."
27339
27340 ac_pwd='$ac_pwd'
27341 srcdir='$srcdir'
27342 INSTALL='$INSTALL'
27343 MKDIR_P='$MKDIR_P'
27344 AWK='$AWK'
27345 test -n "\$AWK" || AWK=awk
27346 _ACEOF
27347
27348 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27349 # The default lists apply if the user does not specify any file.
27350 ac_need_defaults=:
27351 while test $# != 0
27352 do
27353   case $1 in
27354   --*=*)
27355     ac_option=`expr "X$1" : 'X\([^=]*\)='`
27356     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27357     ac_shift=:
27358     ;;
27359   *)
27360     ac_option=$1
27361     ac_optarg=$2
27362     ac_shift=shift
27363     ;;
27364   esac
27365
27366   case $ac_option in
27367   # Handling of the options.
27368   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27369     ac_cs_recheck=: ;;
27370   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27371     $as_echo "$ac_cs_version"; exit ;;
27372   --debug | --debu | --deb | --de | --d | -d )
27373     debug=: ;;
27374   --file | --fil | --fi | --f )
27375     $ac_shift
27376     case $ac_optarg in
27377     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27378     esac
27379     as_fn_append CONFIG_FILES " '$ac_optarg'"
27380     ac_need_defaults=false;;
27381   --header | --heade | --head | --hea )
27382     $ac_shift
27383     case $ac_optarg in
27384     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27385     esac
27386     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27387     ac_need_defaults=false;;
27388   --he | --h)
27389     # Conflict between --help and --header
27390     as_fn_error "ambiguous option: \`$1'
27391 Try \`$0 --help' for more information.";;
27392   --help | --hel | -h )
27393     $as_echo "$ac_cs_usage"; exit ;;
27394   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27395   | -silent | --silent | --silen | --sile | --sil | --si | --s)
27396     ac_cs_silent=: ;;
27397
27398   # This is an error.
27399   -*) as_fn_error "unrecognized option: \`$1'
27400 Try \`$0 --help' for more information." ;;
27401
27402   *) as_fn_append ac_config_targets " $1"
27403      ac_need_defaults=false ;;
27404
27405   esac
27406   shift
27407 done
27408
27409 ac_configure_extra_args=
27410
27411 if $ac_cs_silent; then
27412   exec 6>/dev/null
27413   ac_configure_extra_args="$ac_configure_extra_args --silent"
27414 fi
27415
27416 _ACEOF
27417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27418 if \$ac_cs_recheck; then
27419   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27420   shift
27421   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27422   CONFIG_SHELL='$SHELL'
27423   export CONFIG_SHELL
27424   exec "\$@"
27425 fi
27426
27427 _ACEOF
27428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27429 exec 5>>config.log
27430 {
27431   echo
27432   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27433 ## Running $as_me. ##
27434 _ASBOX
27435   $as_echo "$ac_log"
27436 } >&5
27437
27438 _ACEOF
27439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27440 #
27441 # INIT-COMMANDS
27442 #
27443
27444 srcdir="$srcdir"
27445 host="$host"
27446 target="$target"
27447 with_multisubdir="$with_multisubdir"
27448 with_multisrctop="$with_multisrctop"
27449 with_target_subdir="$with_target_subdir"
27450 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27451 multi_basedir="$multi_basedir"
27452 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27453 CC="$CC"
27454 CXX="$CXX"
27455 GFORTRAN="$GFORTRAN"
27456 GCJ="$GCJ"
27457 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27458
27459
27460 # The HP-UX ksh and POSIX shell print the target directory to stdout
27461 # if CDPATH is set.
27462 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27463
27464 sed_quote_subst='$sed_quote_subst'
27465 double_quote_subst='$double_quote_subst'
27466 delay_variable_subst='$delay_variable_subst'
27467 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27468 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27469 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27470 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27471 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27472 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27473 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27474 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27475 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27476 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27477 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27478 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27479 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27480 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27481 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27482 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27483 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27484 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27485 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27486 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27487 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27488 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27489 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27490 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27491 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27492 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27493 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27494 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27495 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27496 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27497 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27498 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27499 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27500 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27501 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27502 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27503 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27504 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27505 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27506 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27507 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27508 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27509 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27510 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27511 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27512 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27513 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27514 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27515 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"`'
27516 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27517 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27518 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27519 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27520 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27521 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27522 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27523 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27524 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27525 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27526 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27527 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27528 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27529 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27530 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27531 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27532 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27533 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27534 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27535 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27536 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27537 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27538 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27539 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27540 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27541 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27542 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27543 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27544 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27545 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27546 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27547 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27548 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27549 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27550 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27551 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27552 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27553 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27554 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27555 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27556 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27557 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27558 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27559 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27560 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27561 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27562 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27563 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27564 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27565 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27566 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27567 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27568 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27569 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27570 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27571 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27572 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27573 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27574 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27575 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27576 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27577 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27578 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27579 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27580 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27581 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27582 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27583 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27584 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27585 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27586 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27587 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27588 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27589 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27590 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27591 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27592 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27593 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27594 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27595 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27596 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27597 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27598 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27599 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27600 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27601 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27602 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27603 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27604 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27605 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27606 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27607 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27608 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27609 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27610 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27611 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27612 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27613 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27614 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27615 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27616 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27617 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27618 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27619 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27620 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27621 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27622 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27623 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27624 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27625 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27626 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27627 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27628 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27629 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27630 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27631 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27632 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27633 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27634 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27635 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27636 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27637 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27638 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27639 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27640 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27641 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27642
27643 LTCC='$LTCC'
27644 LTCFLAGS='$LTCFLAGS'
27645 compiler='$compiler_DEFAULT'
27646
27647 # A function that is used when there is no print builtin or printf.
27648 func_fallback_echo ()
27649 {
27650   eval 'cat <<_LTECHO_EOF
27651 \$1
27652 _LTECHO_EOF'
27653 }
27654
27655 # Quote evaled strings.
27656 for var in SHELL \
27657 ECHO \
27658 SED \
27659 GREP \
27660 EGREP \
27661 FGREP \
27662 LD \
27663 NM \
27664 LN_S \
27665 lt_SP2NL \
27666 lt_NL2SP \
27667 reload_flag \
27668 OBJDUMP \
27669 deplibs_check_method \
27670 file_magic_cmd \
27671 AR \
27672 AR_FLAGS \
27673 STRIP \
27674 RANLIB \
27675 CC \
27676 CFLAGS \
27677 compiler \
27678 lt_cv_sys_global_symbol_pipe \
27679 lt_cv_sys_global_symbol_to_cdecl \
27680 lt_cv_sys_global_symbol_to_c_name_address \
27681 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27682 lt_prog_compiler_no_builtin_flag \
27683 lt_prog_compiler_wl \
27684 lt_prog_compiler_pic \
27685 lt_prog_compiler_static \
27686 lt_cv_prog_compiler_c_o \
27687 need_locks \
27688 DSYMUTIL \
27689 NMEDIT \
27690 LIPO \
27691 OTOOL \
27692 OTOOL64 \
27693 shrext_cmds \
27694 export_dynamic_flag_spec \
27695 whole_archive_flag_spec \
27696 compiler_needs_object \
27697 with_gnu_ld \
27698 allow_undefined_flag \
27699 no_undefined_flag \
27700 hardcode_libdir_flag_spec \
27701 hardcode_libdir_flag_spec_ld \
27702 hardcode_libdir_separator \
27703 fix_srcfile_path \
27704 exclude_expsyms \
27705 include_expsyms \
27706 file_list_spec \
27707 variables_saved_for_relink \
27708 libname_spec \
27709 library_names_spec \
27710 soname_spec \
27711 install_override_mode \
27712 finish_eval \
27713 old_striplib \
27714 striplib \
27715 compiler_lib_search_dirs \
27716 predep_objects \
27717 postdep_objects \
27718 predeps \
27719 postdeps \
27720 compiler_lib_search_path \
27721 LD_FC \
27722 reload_flag_FC \
27723 compiler_FC \
27724 lt_prog_compiler_no_builtin_flag_FC \
27725 lt_prog_compiler_wl_FC \
27726 lt_prog_compiler_pic_FC \
27727 lt_prog_compiler_static_FC \
27728 lt_cv_prog_compiler_c_o_FC \
27729 export_dynamic_flag_spec_FC \
27730 whole_archive_flag_spec_FC \
27731 compiler_needs_object_FC \
27732 with_gnu_ld_FC \
27733 allow_undefined_flag_FC \
27734 no_undefined_flag_FC \
27735 hardcode_libdir_flag_spec_FC \
27736 hardcode_libdir_flag_spec_ld_FC \
27737 hardcode_libdir_separator_FC \
27738 fix_srcfile_path_FC \
27739 exclude_expsyms_FC \
27740 include_expsyms_FC \
27741 file_list_spec_FC \
27742 compiler_lib_search_dirs_FC \
27743 predep_objects_FC \
27744 postdep_objects_FC \
27745 predeps_FC \
27746 postdeps_FC \
27747 compiler_lib_search_path_FC; do
27748     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27749     *[\\\\\\\`\\"\\\$]*)
27750       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27751       ;;
27752     *)
27753       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27754       ;;
27755     esac
27756 done
27757
27758 # Double-quote double-evaled strings.
27759 for var in reload_cmds \
27760 old_postinstall_cmds \
27761 old_postuninstall_cmds \
27762 old_archive_cmds \
27763 extract_expsyms_cmds \
27764 old_archive_from_new_cmds \
27765 old_archive_from_expsyms_cmds \
27766 archive_cmds \
27767 archive_expsym_cmds \
27768 module_cmds \
27769 module_expsym_cmds \
27770 export_symbols_cmds \
27771 prelink_cmds \
27772 postinstall_cmds \
27773 postuninstall_cmds \
27774 finish_cmds \
27775 sys_lib_search_path_spec \
27776 sys_lib_dlsearch_path_spec \
27777 reload_cmds_FC \
27778 old_archive_cmds_FC \
27779 old_archive_from_new_cmds_FC \
27780 old_archive_from_expsyms_cmds_FC \
27781 archive_cmds_FC \
27782 archive_expsym_cmds_FC \
27783 module_cmds_FC \
27784 module_expsym_cmds_FC \
27785 export_symbols_cmds_FC \
27786 prelink_cmds_FC; do
27787     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27788     *[\\\\\\\`\\"\\\$]*)
27789       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27790       ;;
27791     *)
27792       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27793       ;;
27794     esac
27795 done
27796
27797 ac_aux_dir='$ac_aux_dir'
27798 xsi_shell='$xsi_shell'
27799 lt_shell_append='$lt_shell_append'
27800
27801 # See if we are running on zsh, and set the options which allow our
27802 # commands through without removal of \ escapes INIT.
27803 if test -n "\${ZSH_VERSION+set}" ; then
27804    setopt NO_GLOB_SUBST
27805 fi
27806
27807
27808     PACKAGE='$PACKAGE'
27809     VERSION='$VERSION'
27810     TIMESTAMP='$TIMESTAMP'
27811     RM='$RM'
27812     ofile='$ofile'
27813
27814
27815
27816
27817
27818
27819 GCC="$GCC"
27820 CC="$CC"
27821 acx_cv_header_stdint="$acx_cv_header_stdint"
27822 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27823 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27824 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27825 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27826 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27827 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27828 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27829 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27830 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27831 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27832 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27833 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27834 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27835
27836
27837 _ACEOF
27838
27839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27840
27841 # Handling of arguments.
27842 for ac_config_target in $ac_config_targets
27843 do
27844   case $ac_config_target in
27845     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27846     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27847     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27848     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27849     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27850     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27851     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27852
27853   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27854   esac
27855 done
27856
27857
27858 # If the user did not use the arguments to specify the items to instantiate,
27859 # then the envvar interface is used.  Set only those that are not.
27860 # We use the long form for the default assignment because of an extremely
27861 # bizarre bug on SunOS 4.1.3.
27862 if $ac_need_defaults; then
27863   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27864   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27865   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27866 fi
27867
27868 # Have a temporary directory for convenience.  Make it in the build tree
27869 # simply because there is no reason against having it here, and in addition,
27870 # creating and moving files from /tmp can sometimes cause problems.
27871 # Hook for its removal unless debugging.
27872 # Note that there is a small window in which the directory will not be cleaned:
27873 # after its creation but before its name has been assigned to `$tmp'.
27874 $debug ||
27875 {
27876   tmp=
27877   trap 'exit_status=$?
27878   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27879 ' 0
27880   trap 'as_fn_exit 1' 1 2 13 15
27881 }
27882 # Create a (secure) tmp directory for tmp files.
27883
27884 {
27885   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27886   test -n "$tmp" && test -d "$tmp"
27887 }  ||
27888 {
27889   tmp=./conf$$-$RANDOM
27890   (umask 077 && mkdir "$tmp")
27891 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27892
27893 # Set up the scripts for CONFIG_FILES section.
27894 # No need to generate them if there are no CONFIG_FILES.
27895 # This happens for instance with `./config.status config.h'.
27896 if test -n "$CONFIG_FILES"; then
27897
27898
27899 ac_cr=`echo X | tr X '\015'`
27900 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27901 # But we know of no other shell where ac_cr would be empty at this
27902 # point, so we can use a bashism as a fallback.
27903 if test "x$ac_cr" = x; then
27904   eval ac_cr=\$\'\\r\'
27905 fi
27906 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27907 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27908   ac_cs_awk_cr='\r'
27909 else
27910   ac_cs_awk_cr=$ac_cr
27911 fi
27912
27913 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27914 _ACEOF
27915
27916
27917 {
27918   echo "cat >conf$$subs.awk <<_ACEOF" &&
27919   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27920   echo "_ACEOF"
27921 } >conf$$subs.sh ||
27922   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27923 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27924 ac_delim='%!_!# '
27925 for ac_last_try in false false false false false :; do
27926   . ./conf$$subs.sh ||
27927     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27928
27929   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27930   if test $ac_delim_n = $ac_delim_num; then
27931     break
27932   elif $ac_last_try; then
27933     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27934   else
27935     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27936   fi
27937 done
27938 rm -f conf$$subs.sh
27939
27940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27941 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27942 _ACEOF
27943 sed -n '
27944 h
27945 s/^/S["/; s/!.*/"]=/
27946 p
27947 g
27948 s/^[^!]*!//
27949 :repl
27950 t repl
27951 s/'"$ac_delim"'$//
27952 t delim
27953 :nl
27954 h
27955 s/\(.\{148\}\).*/\1/
27956 t more1
27957 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27958 p
27959 n
27960 b repl
27961 :more1
27962 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27963 p
27964 g
27965 s/.\{148\}//
27966 t nl
27967 :delim
27968 h
27969 s/\(.\{148\}\).*/\1/
27970 t more2
27971 s/["\\]/\\&/g; s/^/"/; s/$/"/
27972 p
27973 b
27974 :more2
27975 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27976 p
27977 g
27978 s/.\{148\}//
27979 t delim
27980 ' <conf$$subs.awk | sed '
27981 /^[^""]/{
27982   N
27983   s/\n//
27984 }
27985 ' >>$CONFIG_STATUS || ac_write_fail=1
27986 rm -f conf$$subs.awk
27987 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27988 _ACAWK
27989 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27990   for (key in S) S_is_set[key] = 1
27991   FS = "\a"
27992
27993 }
27994 {
27995   line = $ 0
27996   nfields = split(line, field, "@")
27997   substed = 0
27998   len = length(field[1])
27999   for (i = 2; i < nfields; i++) {
28000     key = field[i]
28001     keylen = length(key)
28002     if (S_is_set[key]) {
28003       value = S[key]
28004       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28005       len += length(value) + length(field[++i])
28006       substed = 1
28007     } else
28008       len += 1 + keylen
28009   }
28010
28011   print line
28012 }
28013
28014 _ACAWK
28015 _ACEOF
28016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28017 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28018   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28019 else
28020   cat
28021 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
28022   || as_fn_error "could not setup config files machinery" "$LINENO" 5
28023 _ACEOF
28024
28025 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28026 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28027 # trailing colons and then remove the whole line if VPATH becomes empty
28028 # (actually we leave an empty line to preserve line numbers).
28029 if test "x$srcdir" = x.; then
28030   ac_vpsub='/^[  ]*VPATH[        ]*=/{
28031 s/:*\$(srcdir):*/:/
28032 s/:*\${srcdir}:*/:/
28033 s/:*@srcdir@:*/:/
28034 s/^\([^=]*=[     ]*\):*/\1/
28035 s/:*$//
28036 s/^[^=]*=[       ]*$//
28037 }'
28038 fi
28039
28040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28041 fi # test -n "$CONFIG_FILES"
28042
28043 # Set up the scripts for CONFIG_HEADERS section.
28044 # No need to generate them if there are no CONFIG_HEADERS.
28045 # This happens for instance with `./config.status Makefile'.
28046 if test -n "$CONFIG_HEADERS"; then
28047 cat >"$tmp/defines.awk" <<\_ACAWK ||
28048 BEGIN {
28049 _ACEOF
28050
28051 # Transform confdefs.h into an awk script `defines.awk', embedded as
28052 # here-document in config.status, that substitutes the proper values into
28053 # config.h.in to produce config.h.
28054
28055 # Create a delimiter string that does not exist in confdefs.h, to ease
28056 # handling of long lines.
28057 ac_delim='%!_!# '
28058 for ac_last_try in false false :; do
28059   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
28060   if test -z "$ac_t"; then
28061     break
28062   elif $ac_last_try; then
28063     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
28064   else
28065     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28066   fi
28067 done
28068
28069 # For the awk script, D is an array of macro values keyed by name,
28070 # likewise P contains macro parameters if any.  Preserve backslash
28071 # newline sequences.
28072
28073 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28074 sed -n '
28075 s/.\{148\}/&'"$ac_delim"'/g
28076 t rset
28077 :rset
28078 s/^[     ]*#[    ]*define[       ][      ]*/ /
28079 t def
28080 d
28081 :def
28082 s/\\$//
28083 t bsnl
28084 s/["\\]/\\&/g
28085 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
28086 D["\1"]=" \3"/p
28087 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
28088 d
28089 :bsnl
28090 s/["\\]/\\&/g
28091 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
28092 D["\1"]=" \3\\\\\\n"\\/p
28093 t cont
28094 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28095 t cont
28096 d
28097 :cont
28098 n
28099 s/.\{148\}/&'"$ac_delim"'/g
28100 t clear
28101 :clear
28102 s/\\$//
28103 t bsnlc
28104 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28105 d
28106 :bsnlc
28107 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28108 b cont
28109 ' <confdefs.h | sed '
28110 s/'"$ac_delim"'/"\\\
28111 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28112
28113 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28114   for (key in D) D_is_set[key] = 1
28115   FS = "\a"
28116 }
28117 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28118   line = \$ 0
28119   split(line, arg, " ")
28120   if (arg[1] == "#") {
28121     defundef = arg[2]
28122     mac1 = arg[3]
28123   } else {
28124     defundef = substr(arg[1], 2)
28125     mac1 = arg[2]
28126   }
28127   split(mac1, mac2, "(") #)
28128   macro = mac2[1]
28129   prefix = substr(line, 1, index(line, defundef) - 1)
28130   if (D_is_set[macro]) {
28131     # Preserve the white space surrounding the "#".
28132     print prefix "define", macro P[macro] D[macro]
28133     next
28134   } else {
28135     # Replace #undef with comments.  This is necessary, for example,
28136     # in the case of _POSIX_SOURCE, which is predefined and required
28137     # on some systems where configure will not decide to define it.
28138     if (defundef == "undef") {
28139       print "/*", prefix defundef, macro, "*/"
28140       next
28141     }
28142   }
28143 }
28144 { print }
28145 _ACAWK
28146 _ACEOF
28147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28148   as_fn_error "could not setup config headers machinery" "$LINENO" 5
28149 fi # test -n "$CONFIG_HEADERS"
28150
28151
28152 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
28153 shift
28154 for ac_tag
28155 do
28156   case $ac_tag in
28157   :[FHLC]) ac_mode=$ac_tag; continue;;
28158   esac
28159   case $ac_mode$ac_tag in
28160   :[FHL]*:*);;
28161   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
28162   :[FH]-) ac_tag=-:-;;
28163   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28164   esac
28165   ac_save_IFS=$IFS
28166   IFS=:
28167   set x $ac_tag
28168   IFS=$ac_save_IFS
28169   shift
28170   ac_file=$1
28171   shift
28172
28173   case $ac_mode in
28174   :L) ac_source=$1;;
28175   :[FH])
28176     ac_file_inputs=
28177     for ac_f
28178     do
28179       case $ac_f in
28180       -) ac_f="$tmp/stdin";;
28181       *) # Look for the file first in the build tree, then in the source tree
28182          # (if the path is not absolute).  The absolute path cannot be DOS-style,
28183          # because $ac_f cannot contain `:'.
28184          test -f "$ac_f" ||
28185            case $ac_f in
28186            [\\/$]*) false;;
28187            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28188            esac ||
28189            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28190       esac
28191       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28192       as_fn_append ac_file_inputs " '$ac_f'"
28193     done
28194
28195     # Let's still pretend it is `configure' which instantiates (i.e., don't
28196     # use $as_me), people would be surprised to read:
28197     #    /* config.h.  Generated by config.status.  */
28198     configure_input='Generated from '`
28199           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28200         `' by configure.'
28201     if test x"$ac_file" != x-; then
28202       configure_input="$ac_file.  $configure_input"
28203       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28204 $as_echo "$as_me: creating $ac_file" >&6;}
28205     fi
28206     # Neutralize special characters interpreted by sed in replacement strings.
28207     case $configure_input in #(
28208     *\&* | *\|* | *\\* )
28209        ac_sed_conf_input=`$as_echo "$configure_input" |
28210        sed 's/[\\\\&|]/\\\\&/g'`;; #(
28211     *) ac_sed_conf_input=$configure_input;;
28212     esac
28213
28214     case $ac_tag in
28215     *:-:* | *:-) cat >"$tmp/stdin" \
28216       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
28217     esac
28218     ;;
28219   esac
28220
28221   ac_dir=`$as_dirname -- "$ac_file" ||
28222 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28223          X"$ac_file" : 'X\(//\)[^/]' \| \
28224          X"$ac_file" : 'X\(//\)$' \| \
28225          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28226 $as_echo X"$ac_file" |
28227     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28228             s//\1/
28229             q
28230           }
28231           /^X\(\/\/\)[^/].*/{
28232             s//\1/
28233             q
28234           }
28235           /^X\(\/\/\)$/{
28236             s//\1/
28237             q
28238           }
28239           /^X\(\/\).*/{
28240             s//\1/
28241             q
28242           }
28243           s/.*/./; q'`
28244   as_dir="$ac_dir"; as_fn_mkdir_p
28245   ac_builddir=.
28246
28247 case "$ac_dir" in
28248 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28249 *)
28250   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28251   # A ".." for each directory in $ac_dir_suffix.
28252   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28253   case $ac_top_builddir_sub in
28254   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28255   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28256   esac ;;
28257 esac
28258 ac_abs_top_builddir=$ac_pwd
28259 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28260 # for backward compatibility:
28261 ac_top_builddir=$ac_top_build_prefix
28262
28263 case $srcdir in
28264   .)  # We are building in place.
28265     ac_srcdir=.
28266     ac_top_srcdir=$ac_top_builddir_sub
28267     ac_abs_top_srcdir=$ac_pwd ;;
28268   [\\/]* | ?:[\\/]* )  # Absolute name.
28269     ac_srcdir=$srcdir$ac_dir_suffix;
28270     ac_top_srcdir=$srcdir
28271     ac_abs_top_srcdir=$srcdir ;;
28272   *) # Relative name.
28273     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28274     ac_top_srcdir=$ac_top_build_prefix$srcdir
28275     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28276 esac
28277 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28278
28279
28280   case $ac_mode in
28281   :F)
28282   #
28283   # CONFIG_FILE
28284   #
28285
28286   case $INSTALL in
28287   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28288   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28289   esac
28290   ac_MKDIR_P=$MKDIR_P
28291   case $MKDIR_P in
28292   [\\/$]* | ?:[\\/]* ) ;;
28293   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28294   esac
28295 _ACEOF
28296
28297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28298 # If the template does not know about datarootdir, expand it.
28299 # FIXME: This hack should be removed a few years after 2.60.
28300 ac_datarootdir_hack=; ac_datarootdir_seen=
28301 ac_sed_dataroot='
28302 /datarootdir/ {
28303   p
28304   q
28305 }
28306 /@datadir@/p
28307 /@docdir@/p
28308 /@infodir@/p
28309 /@localedir@/p
28310 /@mandir@/p'
28311 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28312 *datarootdir*) ac_datarootdir_seen=yes;;
28313 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28314   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28315 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28316 _ACEOF
28317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28318   ac_datarootdir_hack='
28319   s&@datadir@&$datadir&g
28320   s&@docdir@&$docdir&g
28321   s&@infodir@&$infodir&g
28322   s&@localedir@&$localedir&g
28323   s&@mandir@&$mandir&g
28324   s&\\\${datarootdir}&$datarootdir&g' ;;
28325 esac
28326 _ACEOF
28327
28328 # Neutralize VPATH when `$srcdir' = `.'.
28329 # Shell code in configure.ac might set extrasub.
28330 # FIXME: do we really want to maintain this feature?
28331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28332 ac_sed_extra="$ac_vpsub
28333 $extrasub
28334 _ACEOF
28335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28336 :t
28337 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28338 s|@configure_input@|$ac_sed_conf_input|;t t
28339 s&@top_builddir@&$ac_top_builddir_sub&;t t
28340 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28341 s&@srcdir@&$ac_srcdir&;t t
28342 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28343 s&@top_srcdir@&$ac_top_srcdir&;t t
28344 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28345 s&@builddir@&$ac_builddir&;t t
28346 s&@abs_builddir@&$ac_abs_builddir&;t t
28347 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28348 s&@INSTALL@&$ac_INSTALL&;t t
28349 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28350 $ac_datarootdir_hack
28351 "
28352 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28353   || as_fn_error "could not create $ac_file" "$LINENO" 5
28354
28355 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28356   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28357   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28358   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28359 which seems to be undefined.  Please make sure it is defined." >&5
28360 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28361 which seems to be undefined.  Please make sure it is defined." >&2;}
28362
28363   rm -f "$tmp/stdin"
28364   case $ac_file in
28365   -) cat "$tmp/out" && rm -f "$tmp/out";;
28366   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28367   esac \
28368   || as_fn_error "could not create $ac_file" "$LINENO" 5
28369  ;;
28370   :H)
28371   #
28372   # CONFIG_HEADER
28373   #
28374   if test x"$ac_file" != x-; then
28375     {
28376       $as_echo "/* $configure_input  */" \
28377       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28378     } >"$tmp/config.h" \
28379       || as_fn_error "could not create $ac_file" "$LINENO" 5
28380     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28381       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28382 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28383     else
28384       rm -f "$ac_file"
28385       mv "$tmp/config.h" "$ac_file" \
28386         || as_fn_error "could not create $ac_file" "$LINENO" 5
28387     fi
28388   else
28389     $as_echo "/* $configure_input  */" \
28390       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28391       || as_fn_error "could not create -" "$LINENO" 5
28392   fi
28393 # Compute "$ac_file"'s index in $config_headers.
28394 _am_arg="$ac_file"
28395 _am_stamp_count=1
28396 for _am_header in $config_headers :; do
28397   case $_am_header in
28398     $_am_arg | $_am_arg:* )
28399       break ;;
28400     * )
28401       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28402   esac
28403 done
28404 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28405 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28406          X"$_am_arg" : 'X\(//\)[^/]' \| \
28407          X"$_am_arg" : 'X\(//\)$' \| \
28408          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28409 $as_echo X"$_am_arg" |
28410     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28411             s//\1/
28412             q
28413           }
28414           /^X\(\/\/\)[^/].*/{
28415             s//\1/
28416             q
28417           }
28418           /^X\(\/\/\)$/{
28419             s//\1/
28420             q
28421           }
28422           /^X\(\/\).*/{
28423             s//\1/
28424             q
28425           }
28426           s/.*/./; q'`/stamp-h$_am_stamp_count
28427  ;;
28428
28429   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28430 $as_echo "$as_me: executing $ac_file commands" >&6;}
28431  ;;
28432   esac
28433
28434
28435   case $ac_file$ac_mode in
28436     "default-1":C)
28437 # Only add multilib support code if we just rebuilt the top-level
28438 # Makefile.
28439 case " $CONFIG_FILES " in
28440  *" Makefile "*)
28441    ac_file=Makefile . ${multi_basedir}/config-ml.in
28442    ;;
28443 esac ;;
28444     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28445   # Autoconf 2.62 quotes --file arguments for eval, but not when files
28446   # are listed without --file.  Let's play safe and only enable the eval
28447   # if we detect the quoting.
28448   case $CONFIG_FILES in
28449   *\'*) eval set x "$CONFIG_FILES" ;;
28450   *)   set x $CONFIG_FILES ;;
28451   esac
28452   shift
28453   for mf
28454   do
28455     # Strip MF so we end up with the name of the file.
28456     mf=`echo "$mf" | sed -e 's/:.*$//'`
28457     # Check whether this is an Automake generated Makefile or not.
28458     # We used to match only the files named `Makefile.in', but
28459     # some people rename them; so instead we look at the file content.
28460     # Grep'ing the first line is not enough: some people post-process
28461     # each Makefile.in and add a new line on top of each file to say so.
28462     # Grep'ing the whole file is not good either: AIX grep has a line
28463     # limit of 2048, but all sed's we know have understand at least 4000.
28464     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28465       dirpart=`$as_dirname -- "$mf" ||
28466 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28467          X"$mf" : 'X\(//\)[^/]' \| \
28468          X"$mf" : 'X\(//\)$' \| \
28469          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28470 $as_echo X"$mf" |
28471     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28472             s//\1/
28473             q
28474           }
28475           /^X\(\/\/\)[^/].*/{
28476             s//\1/
28477             q
28478           }
28479           /^X\(\/\/\)$/{
28480             s//\1/
28481             q
28482           }
28483           /^X\(\/\).*/{
28484             s//\1/
28485             q
28486           }
28487           s/.*/./; q'`
28488     else
28489       continue
28490     fi
28491     # Extract the definition of DEPDIR, am__include, and am__quote
28492     # from the Makefile without running `make'.
28493     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28494     test -z "$DEPDIR" && continue
28495     am__include=`sed -n 's/^am__include = //p' < "$mf"`
28496     test -z "am__include" && continue
28497     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28498     # When using ansi2knr, U may be empty or an underscore; expand it
28499     U=`sed -n 's/^U = //p' < "$mf"`
28500     # Find all dependency output files, they are included files with
28501     # $(DEPDIR) in their names.  We invoke sed twice because it is the
28502     # simplest approach to changing $(DEPDIR) to its actual value in the
28503     # expansion.
28504     for file in `sed -n "
28505       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28506          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28507       # Make sure the directory exists.
28508       test -f "$dirpart/$file" && continue
28509       fdir=`$as_dirname -- "$file" ||
28510 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28511          X"$file" : 'X\(//\)[^/]' \| \
28512          X"$file" : 'X\(//\)$' \| \
28513          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28514 $as_echo X"$file" |
28515     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28516             s//\1/
28517             q
28518           }
28519           /^X\(\/\/\)[^/].*/{
28520             s//\1/
28521             q
28522           }
28523           /^X\(\/\/\)$/{
28524             s//\1/
28525             q
28526           }
28527           /^X\(\/\).*/{
28528             s//\1/
28529             q
28530           }
28531           s/.*/./; q'`
28532       as_dir=$dirpart/$fdir; as_fn_mkdir_p
28533       # echo "creating $dirpart/$file"
28534       echo '# dummy' > "$dirpart/$file"
28535     done
28536   done
28537 }
28538  ;;
28539     "libtool":C)
28540
28541     # See if we are running on zsh, and set the options which allow our
28542     # commands through without removal of \ escapes.
28543     if test -n "${ZSH_VERSION+set}" ; then
28544       setopt NO_GLOB_SUBST
28545     fi
28546
28547     cfgfile="${ofile}T"
28548     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28549     $RM "$cfgfile"
28550
28551     cat <<_LT_EOF >> "$cfgfile"
28552 #! $SHELL
28553
28554 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28555 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28556 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28557 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28558 #
28559 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28560 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28561 #   Written by Gordon Matzigkeit, 1996
28562 #
28563 #   This file is part of GNU Libtool.
28564 #
28565 # GNU Libtool is free software; you can redistribute it and/or
28566 # modify it under the terms of the GNU General Public License as
28567 # published by the Free Software Foundation; either version 2 of
28568 # the License, or (at your option) any later version.
28569 #
28570 # As a special exception to the GNU General Public License,
28571 # if you distribute this file as part of a program or library that
28572 # is built using GNU Libtool, you may include this file under the
28573 # same distribution terms that you use for the rest of that program.
28574 #
28575 # GNU Libtool is distributed in the hope that it will be useful,
28576 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28577 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28578 # GNU General Public License for more details.
28579 #
28580 # You should have received a copy of the GNU General Public License
28581 # along with GNU Libtool; see the file COPYING.  If not, a copy
28582 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28583 # obtained by writing to the Free Software Foundation, Inc.,
28584 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28585
28586
28587 # The names of the tagged configurations supported by this script.
28588 available_tags="FC "
28589
28590 # ### BEGIN LIBTOOL CONFIG
28591
28592 # Which release of libtool.m4 was used?
28593 macro_version=$macro_version
28594 macro_revision=$macro_revision
28595
28596 # Whether or not to build shared libraries.
28597 build_libtool_libs=$enable_shared
28598
28599 # Whether or not to build static libraries.
28600 build_old_libs=$enable_static
28601
28602 # What type of objects to build.
28603 pic_mode=$pic_mode
28604
28605 # Whether or not to optimize for fast installation.
28606 fast_install=$enable_fast_install
28607
28608 # Shell to use when invoking shell scripts.
28609 SHELL=$lt_SHELL
28610
28611 # An echo program that protects backslashes.
28612 ECHO=$lt_ECHO
28613
28614 # The host system.
28615 host_alias=$host_alias
28616 host=$host
28617 host_os=$host_os
28618
28619 # The build system.
28620 build_alias=$build_alias
28621 build=$build
28622 build_os=$build_os
28623
28624 # A sed program that does not truncate output.
28625 SED=$lt_SED
28626
28627 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28628 Xsed="\$SED -e 1s/^X//"
28629
28630 # A grep program that handles long lines.
28631 GREP=$lt_GREP
28632
28633 # An ERE matcher.
28634 EGREP=$lt_EGREP
28635
28636 # A literal string matcher.
28637 FGREP=$lt_FGREP
28638
28639 # A BSD- or MS-compatible name lister.
28640 NM=$lt_NM
28641
28642 # Whether we need soft or hard links.
28643 LN_S=$lt_LN_S
28644
28645 # What is the maximum length of a command?
28646 max_cmd_len=$max_cmd_len
28647
28648 # Object file suffix (normally "o").
28649 objext=$ac_objext
28650
28651 # Executable file suffix (normally "").
28652 exeext=$exeext
28653
28654 # whether the shell understands "unset".
28655 lt_unset=$lt_unset
28656
28657 # turn spaces into newlines.
28658 SP2NL=$lt_lt_SP2NL
28659
28660 # turn newlines into spaces.
28661 NL2SP=$lt_lt_NL2SP
28662
28663 # An object symbol dumper.
28664 OBJDUMP=$lt_OBJDUMP
28665
28666 # Method to check whether dependent libraries are shared objects.
28667 deplibs_check_method=$lt_deplibs_check_method
28668
28669 # Command to use when deplibs_check_method == "file_magic".
28670 file_magic_cmd=$lt_file_magic_cmd
28671
28672 # The archiver.
28673 AR=$lt_AR
28674 AR_FLAGS=$lt_AR_FLAGS
28675
28676 # A symbol stripping program.
28677 STRIP=$lt_STRIP
28678
28679 # Commands used to install an old-style archive.
28680 RANLIB=$lt_RANLIB
28681 old_postinstall_cmds=$lt_old_postinstall_cmds
28682 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28683
28684 # Whether to use a lock for old archive extraction.
28685 lock_old_archive_extraction=$lock_old_archive_extraction
28686
28687 # A C compiler.
28688 LTCC=$lt_CC
28689
28690 # LTCC compiler flags.
28691 LTCFLAGS=$lt_CFLAGS
28692
28693 # Take the output of nm and produce a listing of raw symbols and C names.
28694 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28695
28696 # Transform the output of nm in a proper C declaration.
28697 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28698
28699 # Transform the output of nm in a C name address pair.
28700 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28701
28702 # Transform the output of nm in a C name address pair when lib prefix is needed.
28703 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28704
28705 # The name of the directory that contains temporary libtool files.
28706 objdir=$objdir
28707
28708 # Used to examine libraries when file_magic_cmd begins with "file".
28709 MAGIC_CMD=$MAGIC_CMD
28710
28711 # Must we lock files when doing compilation?
28712 need_locks=$lt_need_locks
28713
28714 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28715 DSYMUTIL=$lt_DSYMUTIL
28716
28717 # Tool to change global to local symbols on Mac OS X.
28718 NMEDIT=$lt_NMEDIT
28719
28720 # Tool to manipulate fat objects and archives on Mac OS X.
28721 LIPO=$lt_LIPO
28722
28723 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28724 OTOOL=$lt_OTOOL
28725
28726 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28727 OTOOL64=$lt_OTOOL64
28728
28729 # Old archive suffix (normally "a").
28730 libext=$libext
28731
28732 # Shared library suffix (normally ".so").
28733 shrext_cmds=$lt_shrext_cmds
28734
28735 # The commands to extract the exported symbol list from a shared archive.
28736 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28737
28738 # Variables whose values should be saved in libtool wrapper scripts and
28739 # restored at link time.
28740 variables_saved_for_relink=$lt_variables_saved_for_relink
28741
28742 # Do we need the "lib" prefix for modules?
28743 need_lib_prefix=$need_lib_prefix
28744
28745 # Do we need a version for libraries?
28746 need_version=$need_version
28747
28748 # Library versioning type.
28749 version_type=$version_type
28750
28751 # Shared library runtime path variable.
28752 runpath_var=$runpath_var
28753
28754 # Shared library path variable.
28755 shlibpath_var=$shlibpath_var
28756
28757 # Is shlibpath searched before the hard-coded library search path?
28758 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28759
28760 # Format of library name prefix.
28761 libname_spec=$lt_libname_spec
28762
28763 # List of archive names.  First name is the real one, the rest are links.
28764 # The last name is the one that the linker finds with -lNAME
28765 library_names_spec=$lt_library_names_spec
28766
28767 # The coded name of the library, if different from the real name.
28768 soname_spec=$lt_soname_spec
28769
28770 # Permission mode override for installation of shared libraries.
28771 install_override_mode=$lt_install_override_mode
28772
28773 # Command to use after installation of a shared archive.
28774 postinstall_cmds=$lt_postinstall_cmds
28775
28776 # Command to use after uninstallation of a shared archive.
28777 postuninstall_cmds=$lt_postuninstall_cmds
28778
28779 # Commands used to finish a libtool library installation in a directory.
28780 finish_cmds=$lt_finish_cmds
28781
28782 # As "finish_cmds", except a single script fragment to be evaled but
28783 # not shown.
28784 finish_eval=$lt_finish_eval
28785
28786 # Whether we should hardcode library paths into libraries.
28787 hardcode_into_libs=$hardcode_into_libs
28788
28789 # Compile-time system search path for libraries.
28790 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28791
28792 # Run-time system search path for libraries.
28793 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28794
28795 # Whether dlopen is supported.
28796 dlopen_support=$enable_dlopen
28797
28798 # Whether dlopen of programs is supported.
28799 dlopen_self=$enable_dlopen_self
28800
28801 # Whether dlopen of statically linked programs is supported.
28802 dlopen_self_static=$enable_dlopen_self_static
28803
28804 # Commands to strip libraries.
28805 old_striplib=$lt_old_striplib
28806 striplib=$lt_striplib
28807
28808
28809 # The linker used to build libraries.
28810 LD=$lt_LD
28811
28812 # How to create reloadable object files.
28813 reload_flag=$lt_reload_flag
28814 reload_cmds=$lt_reload_cmds
28815
28816 # Commands used to build an old-style archive.
28817 old_archive_cmds=$lt_old_archive_cmds
28818
28819 # A language specific compiler.
28820 CC=$lt_compiler
28821
28822 # Is the compiler the GNU compiler?
28823 with_gcc=$GCC
28824
28825 # Compiler flag to turn off builtin functions.
28826 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28827
28828 # How to pass a linker flag through the compiler.
28829 wl=$lt_lt_prog_compiler_wl
28830
28831 # Additional compiler flags for building library objects.
28832 pic_flag=$lt_lt_prog_compiler_pic
28833
28834 # Compiler flag to prevent dynamic linking.
28835 link_static_flag=$lt_lt_prog_compiler_static
28836
28837 # Does compiler simultaneously support -c and -o options?
28838 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28839
28840 # Whether or not to add -lc for building shared libraries.
28841 build_libtool_need_lc=$archive_cmds_need_lc
28842
28843 # Whether or not to disallow shared libs when runtime libs are static.
28844 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28845
28846 # Compiler flag to allow reflexive dlopens.
28847 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28848
28849 # Compiler flag to generate shared objects directly from archives.
28850 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28851
28852 # Whether the compiler copes with passing no objects directly.
28853 compiler_needs_object=$lt_compiler_needs_object
28854
28855 # Create an old-style archive from a shared archive.
28856 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28857
28858 # Create a temporary old-style archive to link instead of a shared archive.
28859 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28860
28861 # Commands used to build a shared archive.
28862 archive_cmds=$lt_archive_cmds
28863 archive_expsym_cmds=$lt_archive_expsym_cmds
28864
28865 # Commands used to build a loadable module if different from building
28866 # a shared archive.
28867 module_cmds=$lt_module_cmds
28868 module_expsym_cmds=$lt_module_expsym_cmds
28869
28870 # Whether we are building with GNU ld or not.
28871 with_gnu_ld=$lt_with_gnu_ld
28872
28873 # Flag that allows shared libraries with undefined symbols to be built.
28874 allow_undefined_flag=$lt_allow_undefined_flag
28875
28876 # Flag that enforces no undefined symbols.
28877 no_undefined_flag=$lt_no_undefined_flag
28878
28879 # Flag to hardcode \$libdir into a binary during linking.
28880 # This must work even if \$libdir does not exist
28881 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28882
28883 # If ld is used when linking, flag to hardcode \$libdir into a binary
28884 # during linking.  This must work even if \$libdir does not exist.
28885 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28886
28887 # Whether we need a single "-rpath" flag with a separated argument.
28888 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28889
28890 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28891 # DIR into the resulting binary.
28892 hardcode_direct=$hardcode_direct
28893
28894 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28895 # DIR into the resulting binary and the resulting library dependency is
28896 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28897 # library is relocated.
28898 hardcode_direct_absolute=$hardcode_direct_absolute
28899
28900 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28901 # into the resulting binary.
28902 hardcode_minus_L=$hardcode_minus_L
28903
28904 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28905 # into the resulting binary.
28906 hardcode_shlibpath_var=$hardcode_shlibpath_var
28907
28908 # Set to "yes" if building a shared library automatically hardcodes DIR
28909 # into the library and all subsequent libraries and executables linked
28910 # against it.
28911 hardcode_automatic=$hardcode_automatic
28912
28913 # Set to yes if linker adds runtime paths of dependent libraries
28914 # to runtime path list.
28915 inherit_rpath=$inherit_rpath
28916
28917 # Whether libtool must link a program against all its dependency libraries.
28918 link_all_deplibs=$link_all_deplibs
28919
28920 # Fix the shell variable \$srcfile for the compiler.
28921 fix_srcfile_path=$lt_fix_srcfile_path
28922
28923 # Set to "yes" if exported symbols are required.
28924 always_export_symbols=$always_export_symbols
28925
28926 # The commands to list exported symbols.
28927 export_symbols_cmds=$lt_export_symbols_cmds
28928
28929 # Symbols that should not be listed in the preloaded symbols.
28930 exclude_expsyms=$lt_exclude_expsyms
28931
28932 # Symbols that must always be exported.
28933 include_expsyms=$lt_include_expsyms
28934
28935 # Commands necessary for linking programs (against libraries) with templates.
28936 prelink_cmds=$lt_prelink_cmds
28937
28938 # Specify filename containing input files.
28939 file_list_spec=$lt_file_list_spec
28940
28941 # How to hardcode a shared library path into an executable.
28942 hardcode_action=$hardcode_action
28943
28944 # The directories searched by this compiler when creating a shared library.
28945 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28946
28947 # Dependencies to place before and after the objects being linked to
28948 # create a shared library.
28949 predep_objects=$lt_predep_objects
28950 postdep_objects=$lt_postdep_objects
28951 predeps=$lt_predeps
28952 postdeps=$lt_postdeps
28953
28954 # The library search path used internally by the compiler when linking
28955 # a shared library.
28956 compiler_lib_search_path=$lt_compiler_lib_search_path
28957
28958 # ### END LIBTOOL CONFIG
28959
28960 _LT_EOF
28961
28962   case $host_os in
28963   aix3*)
28964     cat <<\_LT_EOF >> "$cfgfile"
28965 # AIX sometimes has problems with the GCC collect2 program.  For some
28966 # reason, if we set the COLLECT_NAMES environment variable, the problems
28967 # vanish in a puff of smoke.
28968 if test "X${COLLECT_NAMES+set}" != Xset; then
28969   COLLECT_NAMES=
28970   export COLLECT_NAMES
28971 fi
28972 _LT_EOF
28973     ;;
28974   esac
28975
28976
28977 ltmain="$ac_aux_dir/ltmain.sh"
28978
28979
28980   # We use sed instead of cat because bash on DJGPP gets confused if
28981   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
28982   # text mode, it properly converts lines to CR/LF.  This bash problem
28983   # is reportedly fixed, but why not run on old versions too?
28984   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28985     || (rm -f "$cfgfile"; exit 1)
28986
28987   case $xsi_shell in
28988   yes)
28989     cat << \_LT_EOF >> "$cfgfile"
28990
28991 # func_dirname file append nondir_replacement
28992 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28993 # otherwise set result to NONDIR_REPLACEMENT.
28994 func_dirname ()
28995 {
28996   case ${1} in
28997     */*) func_dirname_result="${1%/*}${2}" ;;
28998     *  ) func_dirname_result="${3}" ;;
28999   esac
29000 }
29001
29002 # func_basename file
29003 func_basename ()
29004 {
29005   func_basename_result="${1##*/}"
29006 }
29007
29008 # func_dirname_and_basename file append nondir_replacement
29009 # perform func_basename and func_dirname in a single function
29010 # call:
29011 #   dirname:  Compute the dirname of FILE.  If nonempty,
29012 #             add APPEND to the result, otherwise set result
29013 #             to NONDIR_REPLACEMENT.
29014 #             value returned in "$func_dirname_result"
29015 #   basename: Compute filename of FILE.
29016 #             value retuned in "$func_basename_result"
29017 # Implementation must be kept synchronized with func_dirname
29018 # and func_basename. For efficiency, we do not delegate to
29019 # those functions but instead duplicate the functionality here.
29020 func_dirname_and_basename ()
29021 {
29022   case ${1} in
29023     */*) func_dirname_result="${1%/*}${2}" ;;
29024     *  ) func_dirname_result="${3}" ;;
29025   esac
29026   func_basename_result="${1##*/}"
29027 }
29028
29029 # func_stripname prefix suffix name
29030 # strip PREFIX and SUFFIX off of NAME.
29031 # PREFIX and SUFFIX must not contain globbing or regex special
29032 # characters, hashes, percent signs, but SUFFIX may contain a leading
29033 # dot (in which case that matches only a dot).
29034 func_stripname ()
29035 {
29036   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
29037   # positional parameters, so assign one to ordinary parameter first.
29038   func_stripname_result=${3}
29039   func_stripname_result=${func_stripname_result#"${1}"}
29040   func_stripname_result=${func_stripname_result%"${2}"}
29041 }
29042
29043 # func_opt_split
29044 func_opt_split ()
29045 {
29046   func_opt_split_opt=${1%%=*}
29047   func_opt_split_arg=${1#*=}
29048 }
29049
29050 # func_lo2o object
29051 func_lo2o ()
29052 {
29053   case ${1} in
29054     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
29055     *)    func_lo2o_result=${1} ;;
29056   esac
29057 }
29058
29059 # func_xform libobj-or-source
29060 func_xform ()
29061 {
29062   func_xform_result=${1%.*}.lo
29063 }
29064
29065 # func_arith arithmetic-term...
29066 func_arith ()
29067 {
29068   func_arith_result=$(( $* ))
29069 }
29070
29071 # func_len string
29072 # STRING may not start with a hyphen.
29073 func_len ()
29074 {
29075   func_len_result=${#1}
29076 }
29077
29078 _LT_EOF
29079     ;;
29080   *) # Bourne compatible functions.
29081     cat << \_LT_EOF >> "$cfgfile"
29082
29083 # func_dirname file append nondir_replacement
29084 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
29085 # otherwise set result to NONDIR_REPLACEMENT.
29086 func_dirname ()
29087 {
29088   # Extract subdirectory from the argument.
29089   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
29090   if test "X$func_dirname_result" = "X${1}"; then
29091     func_dirname_result="${3}"
29092   else
29093     func_dirname_result="$func_dirname_result${2}"
29094   fi
29095 }
29096
29097 # func_basename file
29098 func_basename ()
29099 {
29100   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
29101 }
29102
29103
29104 # func_stripname prefix suffix name
29105 # strip PREFIX and SUFFIX off of NAME.
29106 # PREFIX and SUFFIX must not contain globbing or regex special
29107 # characters, hashes, percent signs, but SUFFIX may contain a leading
29108 # dot (in which case that matches only a dot).
29109 # func_strip_suffix prefix name
29110 func_stripname ()
29111 {
29112   case ${2} in
29113     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
29114     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
29115   esac
29116 }
29117
29118 # sed scripts:
29119 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
29120 my_sed_long_arg='1s/^-[^=]*=//'
29121
29122 # func_opt_split
29123 func_opt_split ()
29124 {
29125   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
29126   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
29127 }
29128
29129 # func_lo2o object
29130 func_lo2o ()
29131 {
29132   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
29133 }
29134
29135 # func_xform libobj-or-source
29136 func_xform ()
29137 {
29138   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
29139 }
29140
29141 # func_arith arithmetic-term...
29142 func_arith ()
29143 {
29144   func_arith_result=`expr "$@"`
29145 }
29146
29147 # func_len string
29148 # STRING may not start with a hyphen.
29149 func_len ()
29150 {
29151   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
29152 }
29153
29154 _LT_EOF
29155 esac
29156
29157 case $lt_shell_append in
29158   yes)
29159     cat << \_LT_EOF >> "$cfgfile"
29160
29161 # func_append var value
29162 # Append VALUE to the end of shell variable VAR.
29163 func_append ()
29164 {
29165   eval "$1+=\$2"
29166 }
29167 _LT_EOF
29168     ;;
29169   *)
29170     cat << \_LT_EOF >> "$cfgfile"
29171
29172 # func_append var value
29173 # Append VALUE to the end of shell variable VAR.
29174 func_append ()
29175 {
29176   eval "$1=\$$1\$2"
29177 }
29178
29179 _LT_EOF
29180     ;;
29181   esac
29182
29183
29184   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
29185     || (rm -f "$cfgfile"; exit 1)
29186
29187   mv -f "$cfgfile" "$ofile" ||
29188     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29189   chmod +x "$ofile"
29190
29191
29192     cat <<_LT_EOF >> "$ofile"
29193
29194 # ### BEGIN LIBTOOL TAG CONFIG: FC
29195
29196 # The linker used to build libraries.
29197 LD=$lt_LD_FC
29198
29199 # How to create reloadable object files.
29200 reload_flag=$lt_reload_flag_FC
29201 reload_cmds=$lt_reload_cmds_FC
29202
29203 # Commands used to build an old-style archive.
29204 old_archive_cmds=$lt_old_archive_cmds_FC
29205
29206 # A language specific compiler.
29207 CC=$lt_compiler_FC
29208
29209 # Is the compiler the GNU compiler?
29210 with_gcc=$GCC_FC
29211
29212 # Compiler flag to turn off builtin functions.
29213 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
29214
29215 # How to pass a linker flag through the compiler.
29216 wl=$lt_lt_prog_compiler_wl_FC
29217
29218 # Additional compiler flags for building library objects.
29219 pic_flag=$lt_lt_prog_compiler_pic_FC
29220
29221 # Compiler flag to prevent dynamic linking.
29222 link_static_flag=$lt_lt_prog_compiler_static_FC
29223
29224 # Does compiler simultaneously support -c and -o options?
29225 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
29226
29227 # Whether or not to add -lc for building shared libraries.
29228 build_libtool_need_lc=$archive_cmds_need_lc_FC
29229
29230 # Whether or not to disallow shared libs when runtime libs are static.
29231 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29232
29233 # Compiler flag to allow reflexive dlopens.
29234 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29235
29236 # Compiler flag to generate shared objects directly from archives.
29237 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29238
29239 # Whether the compiler copes with passing no objects directly.
29240 compiler_needs_object=$lt_compiler_needs_object_FC
29241
29242 # Create an old-style archive from a shared archive.
29243 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29244
29245 # Create a temporary old-style archive to link instead of a shared archive.
29246 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29247
29248 # Commands used to build a shared archive.
29249 archive_cmds=$lt_archive_cmds_FC
29250 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29251
29252 # Commands used to build a loadable module if different from building
29253 # a shared archive.
29254 module_cmds=$lt_module_cmds_FC
29255 module_expsym_cmds=$lt_module_expsym_cmds_FC
29256
29257 # Whether we are building with GNU ld or not.
29258 with_gnu_ld=$lt_with_gnu_ld_FC
29259
29260 # Flag that allows shared libraries with undefined symbols to be built.
29261 allow_undefined_flag=$lt_allow_undefined_flag_FC
29262
29263 # Flag that enforces no undefined symbols.
29264 no_undefined_flag=$lt_no_undefined_flag_FC
29265
29266 # Flag to hardcode \$libdir into a binary during linking.
29267 # This must work even if \$libdir does not exist
29268 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29269
29270 # If ld is used when linking, flag to hardcode \$libdir into a binary
29271 # during linking.  This must work even if \$libdir does not exist.
29272 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29273
29274 # Whether we need a single "-rpath" flag with a separated argument.
29275 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29276
29277 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29278 # DIR into the resulting binary.
29279 hardcode_direct=$hardcode_direct_FC
29280
29281 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29282 # DIR into the resulting binary and the resulting library dependency is
29283 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29284 # library is relocated.
29285 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29286
29287 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29288 # into the resulting binary.
29289 hardcode_minus_L=$hardcode_minus_L_FC
29290
29291 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29292 # into the resulting binary.
29293 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29294
29295 # Set to "yes" if building a shared library automatically hardcodes DIR
29296 # into the library and all subsequent libraries and executables linked
29297 # against it.
29298 hardcode_automatic=$hardcode_automatic_FC
29299
29300 # Set to yes if linker adds runtime paths of dependent libraries
29301 # to runtime path list.
29302 inherit_rpath=$inherit_rpath_FC
29303
29304 # Whether libtool must link a program against all its dependency libraries.
29305 link_all_deplibs=$link_all_deplibs_FC
29306
29307 # Fix the shell variable \$srcfile for the compiler.
29308 fix_srcfile_path=$lt_fix_srcfile_path_FC
29309
29310 # Set to "yes" if exported symbols are required.
29311 always_export_symbols=$always_export_symbols_FC
29312
29313 # The commands to list exported symbols.
29314 export_symbols_cmds=$lt_export_symbols_cmds_FC
29315
29316 # Symbols that should not be listed in the preloaded symbols.
29317 exclude_expsyms=$lt_exclude_expsyms_FC
29318
29319 # Symbols that must always be exported.
29320 include_expsyms=$lt_include_expsyms_FC
29321
29322 # Commands necessary for linking programs (against libraries) with templates.
29323 prelink_cmds=$lt_prelink_cmds_FC
29324
29325 # Specify filename containing input files.
29326 file_list_spec=$lt_file_list_spec_FC
29327
29328 # How to hardcode a shared library path into an executable.
29329 hardcode_action=$hardcode_action_FC
29330
29331 # The directories searched by this compiler when creating a shared library.
29332 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29333
29334 # Dependencies to place before and after the objects being linked to
29335 # create a shared library.
29336 predep_objects=$lt_predep_objects_FC
29337 postdep_objects=$lt_postdep_objects_FC
29338 predeps=$lt_predeps_FC
29339 postdeps=$lt_postdeps_FC
29340
29341 # The library search path used internally by the compiler when linking
29342 # a shared library.
29343 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29344
29345 # ### END LIBTOOL TAG CONFIG: FC
29346 _LT_EOF
29347
29348  ;;
29349     "gstdint.h":C)
29350 if test "$GCC" = yes; then
29351   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29352 else
29353   echo "/* generated for $CC */" > tmp-stdint.h
29354 fi
29355
29356 sed 's/^ *//' >> tmp-stdint.h <<EOF
29357
29358   #ifndef GCC_GENERATED_STDINT_H
29359   #define GCC_GENERATED_STDINT_H 1
29360
29361   #include <sys/types.h>
29362 EOF
29363
29364 if test "$acx_cv_header_stdint" != stdint.h; then
29365   echo "#include <stddef.h>" >> tmp-stdint.h
29366 fi
29367 if test "$acx_cv_header_stdint" != stddef.h; then
29368   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29369 fi
29370
29371 sed 's/^ *//' >> tmp-stdint.h <<EOF
29372   /* glibc uses these symbols as guards to prevent redefinitions.  */
29373   #ifdef __int8_t_defined
29374   #define _INT8_T
29375   #define _INT16_T
29376   #define _INT32_T
29377   #endif
29378   #ifdef __uint32_t_defined
29379   #define _UINT32_T
29380   #endif
29381
29382 EOF
29383
29384 # ----------------- done header, emit basic int types -------------
29385 if test "$acx_cv_header_stdint" = stddef.h; then
29386   sed 's/^ *//' >> tmp-stdint.h <<EOF
29387
29388     #ifndef _UINT8_T
29389     #define _UINT8_T
29390     #ifndef __uint8_t_defined
29391     #define __uint8_t_defined
29392     #ifndef uint8_t
29393     typedef unsigned $acx_cv_type_int8_t uint8_t;
29394     #endif
29395     #endif
29396     #endif
29397
29398     #ifndef _UINT16_T
29399     #define _UINT16_T
29400     #ifndef __uint16_t_defined
29401     #define __uint16_t_defined
29402     #ifndef uint16_t
29403     typedef unsigned $acx_cv_type_int16_t uint16_t;
29404     #endif
29405     #endif
29406     #endif
29407
29408     #ifndef _UINT32_T
29409     #define _UINT32_T
29410     #ifndef __uint32_t_defined
29411     #define __uint32_t_defined
29412     #ifndef uint32_t
29413     typedef unsigned $acx_cv_type_int32_t uint32_t;
29414     #endif
29415     #endif
29416     #endif
29417
29418     #ifndef _INT8_T
29419     #define _INT8_T
29420     #ifndef __int8_t_defined
29421     #define __int8_t_defined
29422     #ifndef int8_t
29423     typedef $acx_cv_type_int8_t int8_t;
29424     #endif
29425     #endif
29426     #endif
29427
29428     #ifndef _INT16_T
29429     #define _INT16_T
29430     #ifndef __int16_t_defined
29431     #define __int16_t_defined
29432     #ifndef int16_t
29433     typedef $acx_cv_type_int16_t int16_t;
29434     #endif
29435     #endif
29436     #endif
29437
29438     #ifndef _INT32_T
29439     #define _INT32_T
29440     #ifndef __int32_t_defined
29441     #define __int32_t_defined
29442     #ifndef int32_t
29443     typedef $acx_cv_type_int32_t int32_t;
29444     #endif
29445     #endif
29446     #endif
29447 EOF
29448 elif test "$ac_cv_type_u_int32_t" = yes; then
29449   sed 's/^ *//' >> tmp-stdint.h <<EOF
29450
29451     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29452     #ifndef _INT8_T
29453     #define _INT8_T
29454     #endif
29455     #ifndef _INT16_T
29456     #define _INT16_T
29457     #endif
29458     #ifndef _INT32_T
29459     #define _INT32_T
29460     #endif
29461
29462     #ifndef _UINT8_T
29463     #define _UINT8_T
29464     #ifndef __uint8_t_defined
29465     #define __uint8_t_defined
29466     #ifndef uint8_t
29467     typedef u_int8_t uint8_t;
29468     #endif
29469     #endif
29470     #endif
29471
29472     #ifndef _UINT16_T
29473     #define _UINT16_T
29474     #ifndef __uint16_t_defined
29475     #define __uint16_t_defined
29476     #ifndef uint16_t
29477     typedef u_int16_t uint16_t;
29478     #endif
29479     #endif
29480     #endif
29481
29482     #ifndef _UINT32_T
29483     #define _UINT32_T
29484     #ifndef __uint32_t_defined
29485     #define __uint32_t_defined
29486     #ifndef uint32_t
29487     typedef u_int32_t uint32_t;
29488     #endif
29489     #endif
29490     #endif
29491 EOF
29492 else
29493   sed 's/^ *//' >> tmp-stdint.h <<EOF
29494
29495     /* Some systems have guard macros to prevent redefinitions, define them.  */
29496     #ifndef _INT8_T
29497     #define _INT8_T
29498     #endif
29499     #ifndef _INT16_T
29500     #define _INT16_T
29501     #endif
29502     #ifndef _INT32_T
29503     #define _INT32_T
29504     #endif
29505     #ifndef _UINT8_T
29506     #define _UINT8_T
29507     #endif
29508     #ifndef _UINT16_T
29509     #define _UINT16_T
29510     #endif
29511     #ifndef _UINT32_T
29512     #define _UINT32_T
29513     #endif
29514 EOF
29515 fi
29516
29517 # ------------- done basic int types, emit int64_t types ------------
29518 if test "$ac_cv_type_uint64_t" = yes; then
29519   sed 's/^ *//' >> tmp-stdint.h <<EOF
29520
29521     /* system headers have good uint64_t and int64_t */
29522     #ifndef _INT64_T
29523     #define _INT64_T
29524     #endif
29525     #ifndef _UINT64_T
29526     #define _UINT64_T
29527     #endif
29528 EOF
29529 elif test "$ac_cv_type_u_int64_t" = yes; then
29530   sed 's/^ *//' >> tmp-stdint.h <<EOF
29531
29532     /* system headers have an u_int64_t (and int64_t) */
29533     #ifndef _INT64_T
29534     #define _INT64_T
29535     #endif
29536     #ifndef _UINT64_T
29537     #define _UINT64_T
29538     #ifndef __uint64_t_defined
29539     #define __uint64_t_defined
29540     #ifndef uint64_t
29541     typedef u_int64_t uint64_t;
29542     #endif
29543     #endif
29544     #endif
29545 EOF
29546 elif test -n "$acx_cv_type_int64_t"; then
29547   sed 's/^ *//' >> tmp-stdint.h <<EOF
29548
29549     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29550     #ifndef _INT64_T
29551     #define _INT64_T
29552     #ifndef int64_t
29553     typedef $acx_cv_type_int64_t int64_t;
29554     #endif
29555     #endif
29556     #ifndef _UINT64_T
29557     #define _UINT64_T
29558     #ifndef __uint64_t_defined
29559     #define __uint64_t_defined
29560     #ifndef uint64_t
29561     typedef unsigned $acx_cv_type_int64_t uint64_t;
29562     #endif
29563     #endif
29564     #endif
29565 EOF
29566 else
29567   sed 's/^ *//' >> tmp-stdint.h <<EOF
29568
29569     /* some common heuristics for int64_t, using compiler-specific tests */
29570     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29571     #ifndef _INT64_T
29572     #define _INT64_T
29573     #ifndef __int64_t_defined
29574     #ifndef int64_t
29575     typedef long long int64_t;
29576     #endif
29577     #endif
29578     #endif
29579     #ifndef _UINT64_T
29580     #define _UINT64_T
29581     #ifndef uint64_t
29582     typedef unsigned long long uint64_t;
29583     #endif
29584     #endif
29585
29586     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29587     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29588        does not implement __extension__.  But that compiler doesn't define
29589        __GNUC_MINOR__.  */
29590     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29591     # define __extension__
29592     # endif
29593
29594     # ifndef _INT64_T
29595     # define _INT64_T
29596     # ifndef int64_t
29597     __extension__ typedef long long int64_t;
29598     # endif
29599     # endif
29600     # ifndef _UINT64_T
29601     # define _UINT64_T
29602     # ifndef uint64_t
29603     __extension__ typedef unsigned long long uint64_t;
29604     # endif
29605     # endif
29606
29607     #elif !defined __STRICT_ANSI__
29608     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29609
29610     #  ifndef _INT64_T
29611     #  define _INT64_T
29612     #  ifndef int64_t
29613     typedef __int64 int64_t;
29614     #  endif
29615     #  endif
29616     #  ifndef _UINT64_T
29617     #  define _UINT64_T
29618     #  ifndef uint64_t
29619     typedef unsigned __int64 uint64_t;
29620     #  endif
29621     #  endif
29622     # endif /* compiler */
29623
29624     #endif /* ANSI version */
29625 EOF
29626 fi
29627
29628 # ------------- done int64_t types, emit intptr types ------------
29629 if test "$ac_cv_type_uintptr_t" != yes; then
29630   sed 's/^ *//' >> tmp-stdint.h <<EOF
29631
29632     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29633     #ifndef __uintptr_t_defined
29634     #ifndef uintptr_t
29635     typedef u$acx_cv_type_intptr_t uintptr_t;
29636     #endif
29637     #endif
29638     #ifndef __intptr_t_defined
29639     #ifndef intptr_t
29640     typedef $acx_cv_type_intptr_t  intptr_t;
29641     #endif
29642     #endif
29643 EOF
29644 fi
29645
29646 # ------------- done intptr types, emit int_least types ------------
29647 if test "$ac_cv_type_int_least32_t" != yes; then
29648   sed 's/^ *//' >> tmp-stdint.h <<EOF
29649
29650     /* Define int_least types */
29651     typedef int8_t     int_least8_t;
29652     typedef int16_t    int_least16_t;
29653     typedef int32_t    int_least32_t;
29654     #ifdef _INT64_T
29655     typedef int64_t    int_least64_t;
29656     #endif
29657
29658     typedef uint8_t    uint_least8_t;
29659     typedef uint16_t   uint_least16_t;
29660     typedef uint32_t   uint_least32_t;
29661     #ifdef _UINT64_T
29662     typedef uint64_t   uint_least64_t;
29663     #endif
29664 EOF
29665 fi
29666
29667 # ------------- done intptr types, emit int_fast types ------------
29668 if test "$ac_cv_type_int_fast32_t" != yes; then
29669       sed 's/^ *//' >> tmp-stdint.h <<EOF
29670
29671     /* Define int_fast types.  short is often slow */
29672     typedef int8_t       int_fast8_t;
29673     typedef int          int_fast16_t;
29674     typedef int32_t      int_fast32_t;
29675     #ifdef _INT64_T
29676     typedef int64_t      int_fast64_t;
29677     #endif
29678
29679     typedef uint8_t      uint_fast8_t;
29680     typedef unsigned int uint_fast16_t;
29681     typedef uint32_t     uint_fast32_t;
29682     #ifdef _UINT64_T
29683     typedef uint64_t     uint_fast64_t;
29684     #endif
29685 EOF
29686 fi
29687
29688 if test "$ac_cv_type_uintmax_t" != yes; then
29689   sed 's/^ *//' >> tmp-stdint.h <<EOF
29690
29691     /* Define intmax based on what we found */
29692     #ifndef intmax_t
29693     #ifdef _INT64_T
29694     typedef int64_t       intmax_t;
29695     #else
29696     typedef long          intmax_t;
29697     #endif
29698     #endif
29699     #ifndef uintmax_t
29700     #ifdef _UINT64_T
29701     typedef uint64_t      uintmax_t;
29702     #else
29703     typedef unsigned long uintmax_t;
29704     #endif
29705     #endif
29706 EOF
29707 fi
29708
29709 sed 's/^ *//' >> tmp-stdint.h <<EOF
29710
29711   #endif /* GCC_GENERATED_STDINT_H */
29712 EOF
29713
29714 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29715   rm -f tmp-stdint.h
29716 else
29717   mv -f tmp-stdint.h gstdint.h
29718 fi
29719
29720  ;;
29721
29722   esac
29723 done # for ac_tag
29724
29725
29726 as_fn_exit 0
29727 _ACEOF
29728 ac_clean_files=$ac_clean_files_save
29729
29730 test $ac_write_fail = 0 ||
29731   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29732
29733
29734 # configure is writing to config.log, and then calls config.status.
29735 # config.status does its own redirection, appending to config.log.
29736 # Unfortunately, on DOS this fails, as config.log is still kept open
29737 # by configure, so config.status won't be able to write to it; its
29738 # output is simply discarded.  So we exec the FD to /dev/null,
29739 # effectively closing config.log, so it can be properly (re)opened and
29740 # appended to by config.status.  When coming back to configure, we
29741 # need to make the FD available again.
29742 if test "$no_create" != yes; then
29743   ac_cs_success=:
29744   ac_config_status_args=
29745   test "$silent" = yes &&
29746     ac_config_status_args="$ac_config_status_args --quiet"
29747   exec 5>/dev/null
29748   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29749   exec 5>>config.log
29750   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29751   # would make configure fail if this is the last instruction.
29752   $ac_cs_success || as_fn_exit $?
29753 fi
29754 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29755   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29756 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29757 fi
29758