re PR target/51007 (Quadmath I/O doesn't work on MinGW)
[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_subst_vars='am__EXEEXT_FALSE
604 am__EXEEXT_TRUE
605 LTLIBOBJS
606 LIBOBJS
607 IEEE_FLAGS
608 FPU_HOST_HEADER
609 LIBGFOR_BUILD_QUAD_FALSE
610 LIBGFOR_BUILD_QUAD_TRUE
611 LIBQUADINCLUDE
612 LIBQUADLIB_DEP
613 LIBQUADLIB
614 LIBQUADSPEC
615 extra_ldflags_libgfortran
616 ac_ct_FC
617 FCFLAGS
618 FC
619 enable_static
620 enable_shared
621 lt_host_flags
622 OTOOL64
623 OTOOL
624 LIPO
625 NMEDIT
626 DSYMUTIL
627 OBJDUMP
628 LN_S
629 NM
630 ac_ct_DUMPBIN
631 DUMPBIN
632 LD
633 FGREP
634 SED
635 LIBTOOL
636 RANLIB
637 AR
638 AS
639 SECTION_FLAGS
640 LIBGFOR_USE_SYMVER_SUN_FALSE
641 LIBGFOR_USE_SYMVER_SUN_TRUE
642 LIBGFOR_USE_SYMVER_GNU_FALSE
643 LIBGFOR_USE_SYMVER_GNU_TRUE
644 LIBGFOR_USE_SYMVER_FALSE
645 LIBGFOR_USE_SYMVER_TRUE
646 AM_CFLAGS
647 AM_FCFLAGS
648 toolexeclibdir
649 toolexecdir
650 EGREP
651 GREP
652 CPP
653 am__fastdepCC_FALSE
654 am__fastdepCC_TRUE
655 CCDEPMODE
656 AMDEPBACKSLASH
657 AMDEP_FALSE
658 AMDEP_TRUE
659 am__quote
660 am__include
661 DEPDIR
662 OBJEXT
663 EXEEXT
664 ac_ct_CC
665 CPPFLAGS
666 LDFLAGS
667 CFLAGS
668 CC
669 multi_basedir
670 MAINT
671 MAINTAINER_MODE_FALSE
672 MAINTAINER_MODE_TRUE
673 am__untar
674 am__tar
675 AMTAR
676 am__leading_dot
677 SET_MAKE
678 AWK
679 mkdir_p
680 MKDIR_P
681 INSTALL_STRIP_PROGRAM
682 STRIP
683 install_sh
684 MAKEINFO
685 AUTOHEADER
686 AUTOMAKE
687 AUTOCONF
688 ACLOCAL
689 VERSION
690 PACKAGE
691 CYGPATH_W
692 am__isrc
693 INSTALL_DATA
694 INSTALL_SCRIPT
695 INSTALL_PROGRAM
696 target_noncanonical
697 target_os
698 target_vendor
699 target_cpu
700 target
701 host_os
702 host_vendor
703 host_cpu
704 host
705 onestep
706 onestep_FALSE
707 onestep_TRUE
708 target_subdir
709 host_subdir
710 build_subdir
711 build_libsubdir
712 build_os
713 build_vendor
714 build_cpu
715 build
716 target_alias
717 host_alias
718 build_alias
719 LIBS
720 ECHO_T
721 ECHO_N
722 ECHO_C
723 DEFS
724 mandir
725 localedir
726 libdir
727 psdir
728 pdfdir
729 dvidir
730 htmldir
731 infodir
732 docdir
733 oldincludedir
734 includedir
735 localstatedir
736 sharedstatedir
737 sysconfdir
738 datadir
739 datarootdir
740 libexecdir
741 sbindir
742 bindir
743 program_transform_name
744 prefix
745 exec_prefix
746 PACKAGE_URL
747 PACKAGE_BUGREPORT
748 PACKAGE_STRING
749 PACKAGE_VERSION
750 PACKAGE_TARNAME
751 PACKAGE_NAME
752 PATH_SEPARATOR
753 SHELL'
754 ac_subst_files=''
755 ac_user_opts='
756 enable_option_checking
757 with_build_libsubdir
758 enable_version_specific_runtime_libs
759 enable_intermodule
760 enable_maintainer_mode
761 enable_multilib
762 enable_dependency_tracking
763 enable_symvers
764 enable_shared
765 enable_static
766 with_pic
767 enable_fast_install
768 with_gnu_ld
769 enable_libtool_lock
770 enable_largefile
771 enable_libquadmath_support
772 with_system_libunwind
773 '
774       ac_precious_vars='build_alias
775 host_alias
776 target_alias
777 CC
778 CFLAGS
779 LDFLAGS
780 LIBS
781 CPPFLAGS
782 CPP
783 FC
784 FCFLAGS'
785
786
787 # Initialize some variables set by options.
788 ac_init_help=
789 ac_init_version=false
790 ac_unrecognized_opts=
791 ac_unrecognized_sep=
792 # The variables have the same names as the options, with
793 # dashes changed to underlines.
794 cache_file=/dev/null
795 exec_prefix=NONE
796 no_create=
797 no_recursion=
798 prefix=NONE
799 program_prefix=NONE
800 program_suffix=NONE
801 program_transform_name=s,x,x,
802 silent=
803 site=
804 srcdir=
805 verbose=
806 x_includes=NONE
807 x_libraries=NONE
808
809 # Installation directory options.
810 # These are left unexpanded so users can "make install exec_prefix=/foo"
811 # and all the variables that are supposed to be based on exec_prefix
812 # by default will actually change.
813 # Use braces instead of parens because sh, perl, etc. also accept them.
814 # (The list follows the same order as the GNU Coding Standards.)
815 bindir='${exec_prefix}/bin'
816 sbindir='${exec_prefix}/sbin'
817 libexecdir='${exec_prefix}/libexec'
818 datarootdir='${prefix}/share'
819 datadir='${datarootdir}'
820 sysconfdir='${prefix}/etc'
821 sharedstatedir='${prefix}/com'
822 localstatedir='${prefix}/var'
823 includedir='${prefix}/include'
824 oldincludedir='/usr/include'
825 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
826 infodir='${datarootdir}/info'
827 htmldir='${docdir}'
828 dvidir='${docdir}'
829 pdfdir='${docdir}'
830 psdir='${docdir}'
831 libdir='${exec_prefix}/lib'
832 localedir='${datarootdir}/locale'
833 mandir='${datarootdir}/man'
834
835 ac_prev=
836 ac_dashdash=
837 for ac_option
838 do
839   # If the previous option needs an argument, assign it.
840   if test -n "$ac_prev"; then
841     eval $ac_prev=\$ac_option
842     ac_prev=
843     continue
844   fi
845
846   case $ac_option in
847   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848   *)    ac_optarg=yes ;;
849   esac
850
851   # Accept the important Cygnus configure options, so we can diagnose typos.
852
853   case $ac_dashdash$ac_option in
854   --)
855     ac_dashdash=yes ;;
856
857   -bindir | --bindir | --bindi | --bind | --bin | --bi)
858     ac_prev=bindir ;;
859   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860     bindir=$ac_optarg ;;
861
862   -build | --build | --buil | --bui | --bu)
863     ac_prev=build_alias ;;
864   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
865     build_alias=$ac_optarg ;;
866
867   -cache-file | --cache-file | --cache-fil | --cache-fi \
868   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
869     ac_prev=cache_file ;;
870   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
871   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
872     cache_file=$ac_optarg ;;
873
874   --config-cache | -C)
875     cache_file=config.cache ;;
876
877   -datadir | --datadir | --datadi | --datad)
878     ac_prev=datadir ;;
879   -datadir=* | --datadir=* | --datadi=* | --datad=*)
880     datadir=$ac_optarg ;;
881
882   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
883   | --dataroo | --dataro | --datar)
884     ac_prev=datarootdir ;;
885   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
886   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
887     datarootdir=$ac_optarg ;;
888
889   -disable-* | --disable-*)
890     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
891     # Reject names that are not valid shell variable names.
892     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
893       as_fn_error "invalid feature name: $ac_useropt"
894     ac_useropt_orig=$ac_useropt
895     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
896     case $ac_user_opts in
897       *"
898 "enable_$ac_useropt"
899 "*) ;;
900       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
901          ac_unrecognized_sep=', ';;
902     esac
903     eval enable_$ac_useropt=no ;;
904
905   -docdir | --docdir | --docdi | --doc | --do)
906     ac_prev=docdir ;;
907   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908     docdir=$ac_optarg ;;
909
910   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911     ac_prev=dvidir ;;
912   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913     dvidir=$ac_optarg ;;
914
915   -enable-* | --enable-*)
916     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917     # Reject names that are not valid shell variable names.
918     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919       as_fn_error "invalid feature name: $ac_useropt"
920     ac_useropt_orig=$ac_useropt
921     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
922     case $ac_user_opts in
923       *"
924 "enable_$ac_useropt"
925 "*) ;;
926       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
927          ac_unrecognized_sep=', ';;
928     esac
929     eval enable_$ac_useropt=\$ac_optarg ;;
930
931   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
932   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
933   | --exec | --exe | --ex)
934     ac_prev=exec_prefix ;;
935   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
936   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
937   | --exec=* | --exe=* | --ex=*)
938     exec_prefix=$ac_optarg ;;
939
940   -gas | --gas | --ga | --g)
941     # Obsolete; use --with-gas.
942     with_gas=yes ;;
943
944   -help | --help | --hel | --he | -h)
945     ac_init_help=long ;;
946   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
947     ac_init_help=recursive ;;
948   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
949     ac_init_help=short ;;
950
951   -host | --host | --hos | --ho)
952     ac_prev=host_alias ;;
953   -host=* | --host=* | --hos=* | --ho=*)
954     host_alias=$ac_optarg ;;
955
956   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957     ac_prev=htmldir ;;
958   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959   | --ht=*)
960     htmldir=$ac_optarg ;;
961
962   -includedir | --includedir | --includedi | --included | --include \
963   | --includ | --inclu | --incl | --inc)
964     ac_prev=includedir ;;
965   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
966   | --includ=* | --inclu=* | --incl=* | --inc=*)
967     includedir=$ac_optarg ;;
968
969   -infodir | --infodir | --infodi | --infod | --info | --inf)
970     ac_prev=infodir ;;
971   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
972     infodir=$ac_optarg ;;
973
974   -libdir | --libdir | --libdi | --libd)
975     ac_prev=libdir ;;
976   -libdir=* | --libdir=* | --libdi=* | --libd=*)
977     libdir=$ac_optarg ;;
978
979   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
980   | --libexe | --libex | --libe)
981     ac_prev=libexecdir ;;
982   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
983   | --libexe=* | --libex=* | --libe=*)
984     libexecdir=$ac_optarg ;;
985
986   -localedir | --localedir | --localedi | --localed | --locale)
987     ac_prev=localedir ;;
988   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
989     localedir=$ac_optarg ;;
990
991   -localstatedir | --localstatedir | --localstatedi | --localstated \
992   | --localstate | --localstat | --localsta | --localst | --locals)
993     ac_prev=localstatedir ;;
994   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
995   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
996     localstatedir=$ac_optarg ;;
997
998   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999     ac_prev=mandir ;;
1000   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001     mandir=$ac_optarg ;;
1002
1003   -nfp | --nfp | --nf)
1004     # Obsolete; use --without-fp.
1005     with_fp=no ;;
1006
1007   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1008   | --no-cr | --no-c | -n)
1009     no_create=yes ;;
1010
1011   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013     no_recursion=yes ;;
1014
1015   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1016   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1017   | --oldin | --oldi | --old | --ol | --o)
1018     ac_prev=oldincludedir ;;
1019   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1020   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1021   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1022     oldincludedir=$ac_optarg ;;
1023
1024   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025     ac_prev=prefix ;;
1026   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1027     prefix=$ac_optarg ;;
1028
1029   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1030   | --program-pre | --program-pr | --program-p)
1031     ac_prev=program_prefix ;;
1032   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1033   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1034     program_prefix=$ac_optarg ;;
1035
1036   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1037   | --program-suf | --program-su | --program-s)
1038     ac_prev=program_suffix ;;
1039   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1040   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1041     program_suffix=$ac_optarg ;;
1042
1043   -program-transform-name | --program-transform-name \
1044   | --program-transform-nam | --program-transform-na \
1045   | --program-transform-n | --program-transform- \
1046   | --program-transform | --program-transfor \
1047   | --program-transfo | --program-transf \
1048   | --program-trans | --program-tran \
1049   | --progr-tra | --program-tr | --program-t)
1050     ac_prev=program_transform_name ;;
1051   -program-transform-name=* | --program-transform-name=* \
1052   | --program-transform-nam=* | --program-transform-na=* \
1053   | --program-transform-n=* | --program-transform-=* \
1054   | --program-transform=* | --program-transfor=* \
1055   | --program-transfo=* | --program-transf=* \
1056   | --program-trans=* | --program-tran=* \
1057   | --progr-tra=* | --program-tr=* | --program-t=*)
1058     program_transform_name=$ac_optarg ;;
1059
1060   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061     ac_prev=pdfdir ;;
1062   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1063     pdfdir=$ac_optarg ;;
1064
1065   -psdir | --psdir | --psdi | --psd | --ps)
1066     ac_prev=psdir ;;
1067   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068     psdir=$ac_optarg ;;
1069
1070   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071   | -silent | --silent | --silen | --sile | --sil)
1072     silent=yes ;;
1073
1074   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075     ac_prev=sbindir ;;
1076   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077   | --sbi=* | --sb=*)
1078     sbindir=$ac_optarg ;;
1079
1080   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1081   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1082   | --sharedst | --shareds | --shared | --share | --shar \
1083   | --sha | --sh)
1084     ac_prev=sharedstatedir ;;
1085   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1086   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1087   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088   | --sha=* | --sh=*)
1089     sharedstatedir=$ac_optarg ;;
1090
1091   -site | --site | --sit)
1092     ac_prev=site ;;
1093   -site=* | --site=* | --sit=*)
1094     site=$ac_optarg ;;
1095
1096   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097     ac_prev=srcdir ;;
1098   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1099     srcdir=$ac_optarg ;;
1100
1101   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1102   | --syscon | --sysco | --sysc | --sys | --sy)
1103     ac_prev=sysconfdir ;;
1104   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1105   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1106     sysconfdir=$ac_optarg ;;
1107
1108   -target | --target | --targe | --targ | --tar | --ta | --t)
1109     ac_prev=target_alias ;;
1110   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1111     target_alias=$ac_optarg ;;
1112
1113   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114     verbose=yes ;;
1115
1116   -version | --version | --versio | --versi | --vers | -V)
1117     ac_init_version=: ;;
1118
1119   -with-* | --with-*)
1120     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1121     # Reject names that are not valid shell variable names.
1122     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123       as_fn_error "invalid package name: $ac_useropt"
1124     ac_useropt_orig=$ac_useropt
1125     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126     case $ac_user_opts in
1127       *"
1128 "with_$ac_useropt"
1129 "*) ;;
1130       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1131          ac_unrecognized_sep=', ';;
1132     esac
1133     eval with_$ac_useropt=\$ac_optarg ;;
1134
1135   -without-* | --without-*)
1136     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1137     # Reject names that are not valid shell variable names.
1138     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1139       as_fn_error "invalid package name: $ac_useropt"
1140     ac_useropt_orig=$ac_useropt
1141     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1142     case $ac_user_opts in
1143       *"
1144 "with_$ac_useropt"
1145 "*) ;;
1146       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1147          ac_unrecognized_sep=', ';;
1148     esac
1149     eval with_$ac_useropt=no ;;
1150
1151   --x)
1152     # Obsolete; use --with-x.
1153     with_x=yes ;;
1154
1155   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1156   | --x-incl | --x-inc | --x-in | --x-i)
1157     ac_prev=x_includes ;;
1158   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1159   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1160     x_includes=$ac_optarg ;;
1161
1162   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1163   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1164     ac_prev=x_libraries ;;
1165   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1166   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1167     x_libraries=$ac_optarg ;;
1168
1169   -*) as_fn_error "unrecognized option: \`$ac_option'
1170 Try \`$0 --help' for more information."
1171     ;;
1172
1173   *=*)
1174     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1175     # Reject names that are not valid shell variable names.
1176     case $ac_envvar in #(
1177       '' | [0-9]* | *[!_$as_cr_alnum]* )
1178       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1179     esac
1180     eval $ac_envvar=\$ac_optarg
1181     export $ac_envvar ;;
1182
1183   *)
1184     # FIXME: should be removed in autoconf 3.0.
1185     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1186     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1187       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1188     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1189     ;;
1190
1191   esac
1192 done
1193
1194 if test -n "$ac_prev"; then
1195   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1196   as_fn_error "missing argument to $ac_option"
1197 fi
1198
1199 if test -n "$ac_unrecognized_opts"; then
1200   case $enable_option_checking in
1201     no) ;;
1202     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1203     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204   esac
1205 fi
1206
1207 # Check all directory arguments for consistency.
1208 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209                 datadir sysconfdir sharedstatedir localstatedir includedir \
1210                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211                 libdir localedir mandir
1212 do
1213   eval ac_val=\$$ac_var
1214   # Remove trailing slashes.
1215   case $ac_val in
1216     */ )
1217       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1218       eval $ac_var=\$ac_val;;
1219   esac
1220   # Be sure to have absolute directory names.
1221   case $ac_val in
1222     [\\/$]* | ?:[\\/]* )  continue;;
1223     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224   esac
1225   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1226 done
1227
1228 # There might be people who depend on the old broken behavior: `$host'
1229 # used to hold the argument of --host etc.
1230 # FIXME: To remove some day.
1231 build=$build_alias
1232 host=$host_alias
1233 target=$target_alias
1234
1235 # FIXME: To remove some day.
1236 if test "x$host_alias" != x; then
1237   if test "x$build_alias" = x; then
1238     cross_compiling=maybe
1239     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1240     If a cross compiler is detected then cross compile mode will be used." >&2
1241   elif test "x$build_alias" != "x$host_alias"; then
1242     cross_compiling=yes
1243   fi
1244 fi
1245
1246 ac_tool_prefix=
1247 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1248
1249 test "$silent" = yes && exec 6>/dev/null
1250
1251
1252 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1253 ac_ls_di=`ls -di .` &&
1254 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1255   as_fn_error "working directory cannot be determined"
1256 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1257   as_fn_error "pwd does not report name of working directory"
1258
1259
1260 # Find the source files, if location was not specified.
1261 if test -z "$srcdir"; then
1262   ac_srcdir_defaulted=yes
1263   # Try the directory containing this script, then the parent directory.
1264   ac_confdir=`$as_dirname -- "$as_myself" ||
1265 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1266          X"$as_myself" : 'X\(//\)[^/]' \| \
1267          X"$as_myself" : 'X\(//\)$' \| \
1268          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1269 $as_echo X"$as_myself" |
1270     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1271             s//\1/
1272             q
1273           }
1274           /^X\(\/\/\)[^/].*/{
1275             s//\1/
1276             q
1277           }
1278           /^X\(\/\/\)$/{
1279             s//\1/
1280             q
1281           }
1282           /^X\(\/\).*/{
1283             s//\1/
1284             q
1285           }
1286           s/.*/./; q'`
1287   srcdir=$ac_confdir
1288   if test ! -r "$srcdir/$ac_unique_file"; then
1289     srcdir=..
1290   fi
1291 else
1292   ac_srcdir_defaulted=no
1293 fi
1294 if test ! -r "$srcdir/$ac_unique_file"; then
1295   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1296   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1297 fi
1298 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1299 ac_abs_confdir=`(
1300         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1301         pwd)`
1302 # When building in place, set srcdir=.
1303 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304   srcdir=.
1305 fi
1306 # Remove unnecessary trailing slashes from srcdir.
1307 # Double slashes in file names in object file debugging info
1308 # mess up M-x gdb in Emacs.
1309 case $srcdir in
1310 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311 esac
1312 for ac_var in $ac_precious_vars; do
1313   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1314   eval ac_env_${ac_var}_value=\$${ac_var}
1315   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1316   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317 done
1318
1319 #
1320 # Report the --help message.
1321 #
1322 if test "$ac_init_help" = "long"; then
1323   # Omit some internal or obsolete options to make the list less imposing.
1324   # This message is too long to be a string in the A/UX 3.1 sh.
1325   cat <<_ACEOF
1326 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1327
1328 Usage: $0 [OPTION]... [VAR=VALUE]...
1329
1330 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1331 VAR=VALUE.  See below for descriptions of some of the useful variables.
1332
1333 Defaults for the options are specified in brackets.
1334
1335 Configuration:
1336   -h, --help              display this help and exit
1337       --help=short        display options specific to this package
1338       --help=recursive    display the short help of all the included packages
1339   -V, --version           display version information and exit
1340   -q, --quiet, --silent   do not print \`checking...' messages
1341       --cache-file=FILE   cache test results in FILE [disabled]
1342   -C, --config-cache      alias for \`--cache-file=config.cache'
1343   -n, --no-create         do not create output files
1344       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1345
1346 Installation directories:
1347   --prefix=PREFIX         install architecture-independent files in PREFIX
1348                           [$ac_default_prefix]
1349   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1350                           [PREFIX]
1351
1352 By default, \`make install' will install all the files in
1353 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1354 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1355 for instance \`--prefix=\$HOME'.
1356
1357 For better control, use the options below.
1358
1359 Fine tuning of the installation directories:
1360   --bindir=DIR            user executables [EPREFIX/bin]
1361   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1362   --libexecdir=DIR        program executables [EPREFIX/libexec]
1363   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1364   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1365   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1366   --libdir=DIR            object code libraries [EPREFIX/lib]
1367   --includedir=DIR        C header files [PREFIX/include]
1368   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1369   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1370   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1371   --infodir=DIR           info documentation [DATAROOTDIR/info]
1372   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1373   --mandir=DIR            man documentation [DATAROOTDIR/man]
1374   --docdir=DIR            documentation root [DATAROOTDIR/doc/libgfortran]
1375   --htmldir=DIR           html documentation [DOCDIR]
1376   --dvidir=DIR            dvi documentation [DOCDIR]
1377   --pdfdir=DIR            pdf documentation [DOCDIR]
1378   --psdir=DIR             ps documentation [DOCDIR]
1379 _ACEOF
1380
1381   cat <<\_ACEOF
1382
1383 Program names:
1384   --program-prefix=PREFIX            prepend PREFIX to installed program names
1385   --program-suffix=SUFFIX            append SUFFIX to installed program names
1386   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1387
1388 System types:
1389   --build=BUILD     configure for building on BUILD [guessed]
1390   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1391   --target=TARGET   configure for building compilers for TARGET [HOST]
1392 _ACEOF
1393 fi
1394
1395 if test -n "$ac_init_help"; then
1396   case $ac_init_help in
1397      short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1398    esac
1399   cat <<\_ACEOF
1400
1401 Optional Features:
1402   --disable-option-checking  ignore unrecognized --enable/--with options
1403   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1404   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1405   --enable-version-specific-runtime-libs
1406                           specify that runtime libraries should be installed
1407                           in a compiler-specific directory
1408   --enable-intermodule    build the library in one step
1409   --enable-maintainer-mode  enable make rules and dependencies not useful
1410                           (and sometimes confusing) to the casual installer
1411   --enable-multilib       build many library versions (default)
1412   --disable-dependency-tracking  speeds up one-time build
1413   --enable-dependency-tracking   do not reject slow dependency extractors
1414   --disable-symvers       disable symbol versioning for libgfortran
1415   --enable-shared[=PKGS]  build shared libraries [default=yes]
1416   --enable-static[=PKGS]  build static libraries [default=yes]
1417   --enable-fast-install[=PKGS]
1418                           optimize for fast installation [default=yes]
1419   --disable-libtool-lock  avoid locking (might break parallel builds)
1420   --disable-largefile     omit support for large files
1421   --disable-libquadmath-support
1422                           disable libquadmath support for Fortran
1423
1424 Optional Packages:
1425   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1426   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1427   --with-build-libsubdir=DIR  Directory where to find libraries for build system
1428   --with-pic              try to use only PIC/non-PIC objects [default=use
1429                           both]
1430   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1431   --with-system-libunwind use installed libunwind
1432
1433 Some influential environment variables:
1434   CC          C compiler command
1435   CFLAGS      C compiler flags
1436   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1437               nonstandard directory <lib dir>
1438   LIBS        libraries to pass to the linker, e.g. -l<library>
1439   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1440               you have headers in a nonstandard directory <include dir>
1441   CPP         C preprocessor
1442   FC          Fortran compiler command
1443   FCFLAGS     Fortran compiler flags
1444
1445 Use these variables to override the choices made by `configure' or to help
1446 it to find libraries and programs with nonstandard names/locations.
1447
1448 Report bugs to the package provider.
1449 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1450 General help using GNU software: <http://www.gnu.org/gethelp/>.
1451 _ACEOF
1452 ac_status=$?
1453 fi
1454
1455 if test "$ac_init_help" = "recursive"; then
1456   # If there are subdirs, report their specific --help.
1457   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1458     test -d "$ac_dir" ||
1459       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1460       continue
1461     ac_builddir=.
1462
1463 case "$ac_dir" in
1464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *)
1466   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1467   # A ".." for each directory in $ac_dir_suffix.
1468   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1469   case $ac_top_builddir_sub in
1470   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1472   esac ;;
1473 esac
1474 ac_abs_top_builddir=$ac_pwd
1475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1476 # for backward compatibility:
1477 ac_top_builddir=$ac_top_build_prefix
1478
1479 case $srcdir in
1480   .)  # We are building in place.
1481     ac_srcdir=.
1482     ac_top_srcdir=$ac_top_builddir_sub
1483     ac_abs_top_srcdir=$ac_pwd ;;
1484   [\\/]* | ?:[\\/]* )  # Absolute name.
1485     ac_srcdir=$srcdir$ac_dir_suffix;
1486     ac_top_srcdir=$srcdir
1487     ac_abs_top_srcdir=$srcdir ;;
1488   *) # Relative name.
1489     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1490     ac_top_srcdir=$ac_top_build_prefix$srcdir
1491     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1492 esac
1493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1494
1495     cd "$ac_dir" || { ac_status=$?; continue; }
1496     # Check for guested configure.
1497     if test -f "$ac_srcdir/configure.gnu"; then
1498       echo &&
1499       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1500     elif test -f "$ac_srcdir/configure"; then
1501       echo &&
1502       $SHELL "$ac_srcdir/configure" --help=recursive
1503     else
1504       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1505     fi || ac_status=$?
1506     cd "$ac_pwd" || { ac_status=$?; break; }
1507   done
1508 fi
1509
1510 test -n "$ac_init_help" && exit $ac_status
1511 if $ac_init_version; then
1512   cat <<\_ACEOF
1513 GNU Fortran Runtime Library configure 0.3
1514 generated by GNU Autoconf 2.64
1515
1516 Copyright (C) 2009 Free Software Foundation, Inc.
1517 This configure script is free software; the Free Software Foundation
1518 gives unlimited permission to copy, distribute and modify it.
1519 _ACEOF
1520   exit
1521 fi
1522
1523 ## ------------------------ ##
1524 ## Autoconf initialization. ##
1525 ## ------------------------ ##
1526
1527 # ac_fn_c_try_compile LINENO
1528 # --------------------------
1529 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1530 ac_fn_c_try_compile ()
1531 {
1532   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1533   rm -f conftest.$ac_objext
1534   if { { ac_try="$ac_compile"
1535 case "(($ac_try" in
1536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1537   *) ac_try_echo=$ac_try;;
1538 esac
1539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1540 $as_echo "$ac_try_echo"; } >&5
1541   (eval "$ac_compile") 2>conftest.err
1542   ac_status=$?
1543   if test -s conftest.err; then
1544     grep -v '^ *+' conftest.err >conftest.er1
1545     cat conftest.er1 >&5
1546     mv -f conftest.er1 conftest.err
1547   fi
1548   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549   test $ac_status = 0; } && {
1550          test -z "$ac_c_werror_flag" ||
1551          test ! -s conftest.err
1552        } && test -s conftest.$ac_objext; then :
1553   ac_retval=0
1554 else
1555   $as_echo "$as_me: failed program was:" >&5
1556 sed 's/^/| /' conftest.$ac_ext >&5
1557
1558         ac_retval=1
1559 fi
1560   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561   return $ac_retval
1562
1563 } # ac_fn_c_try_compile
1564
1565 # ac_fn_c_try_cpp LINENO
1566 # ----------------------
1567 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1568 ac_fn_c_try_cpp ()
1569 {
1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571   if { { ac_try="$ac_cpp conftest.$ac_ext"
1572 case "(($ac_try" in
1573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1574   *) ac_try_echo=$ac_try;;
1575 esac
1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1577 $as_echo "$ac_try_echo"; } >&5
1578   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1579   ac_status=$?
1580   if test -s conftest.err; then
1581     grep -v '^ *+' conftest.err >conftest.er1
1582     cat conftest.er1 >&5
1583     mv -f conftest.er1 conftest.err
1584   fi
1585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1586   test $ac_status = 0; } >/dev/null && {
1587          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1588          test ! -s conftest.err
1589        }; then :
1590   ac_retval=0
1591 else
1592   $as_echo "$as_me: failed program was:" >&5
1593 sed 's/^/| /' conftest.$ac_ext >&5
1594
1595     ac_retval=1
1596 fi
1597   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598   return $ac_retval
1599
1600 } # ac_fn_c_try_cpp
1601
1602 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1603 # -------------------------------------------------------
1604 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1605 # the include files in INCLUDES and setting the cache variable VAR
1606 # accordingly.
1607 ac_fn_c_check_header_mongrel ()
1608 {
1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1610   if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1611   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612 $as_echo_n "checking for $2... " >&6; }
1613 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1614   $as_echo_n "(cached) " >&6
1615 fi
1616 eval ac_res=\$$3
1617                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 $as_echo "$ac_res" >&6; }
1619 else
1620   # Is the header compilable?
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1622 $as_echo_n "checking $2 usability... " >&6; }
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h.  */
1625 $4
1626 #include <$2>
1627 _ACEOF
1628 if ac_fn_c_try_compile "$LINENO"; then :
1629   ac_header_compiler=yes
1630 else
1631   ac_header_compiler=no
1632 fi
1633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1635 $as_echo "$ac_header_compiler" >&6; }
1636
1637 # Is the header present?
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1639 $as_echo_n "checking $2 presence... " >&6; }
1640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1641 /* end confdefs.h.  */
1642 #include <$2>
1643 _ACEOF
1644 if ac_fn_c_try_cpp "$LINENO"; then :
1645   ac_header_preproc=yes
1646 else
1647   ac_header_preproc=no
1648 fi
1649 rm -f conftest.err conftest.$ac_ext
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1651 $as_echo "$ac_header_preproc" >&6; }
1652
1653 # So?  What about this header?
1654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1655   yes:no: )
1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1657 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1660     ;;
1661   no:yes:* )
1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1663 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1665 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1666     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1667 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1668     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1669 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1670     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1671 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1672     ;;
1673 esac
1674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1675 $as_echo_n "checking for $2... " >&6; }
1676 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1677   $as_echo_n "(cached) " >&6
1678 else
1679   eval "$3=\$ac_header_compiler"
1680 fi
1681 eval ac_res=\$$3
1682                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1683 $as_echo "$ac_res" >&6; }
1684 fi
1685   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1686
1687 } # ac_fn_c_check_header_mongrel
1688
1689 # ac_fn_c_try_run LINENO
1690 # ----------------------
1691 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1692 # that executables *can* be run.
1693 ac_fn_c_try_run ()
1694 {
1695   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696   if { { ac_try="$ac_link"
1697 case "(($ac_try" in
1698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699   *) ac_try_echo=$ac_try;;
1700 esac
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703   (eval "$ac_link") 2>&5
1704   ac_status=$?
1705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1707   { { case "(($ac_try" in
1708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709   *) ac_try_echo=$ac_try;;
1710 esac
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713   (eval "$ac_try") 2>&5
1714   ac_status=$?
1715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716   test $ac_status = 0; }; }; then :
1717   ac_retval=0
1718 else
1719   $as_echo "$as_me: program exited with status $ac_status" >&5
1720        $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1722
1723        ac_retval=$ac_status
1724 fi
1725   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1727   return $ac_retval
1728
1729 } # ac_fn_c_try_run
1730
1731 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732 # -------------------------------------------------------
1733 # Tests whether HEADER exists and can be compiled using the include files in
1734 # INCLUDES, setting the cache variable VAR accordingly.
1735 ac_fn_c_check_header_compile ()
1736 {
1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1741   $as_echo_n "(cached) " >&6
1742 else
1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744 /* end confdefs.h.  */
1745 $4
1746 #include <$2>
1747 _ACEOF
1748 if ac_fn_c_try_compile "$LINENO"; then :
1749   eval "$3=yes"
1750 else
1751   eval "$3=no"
1752 fi
1753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754 fi
1755 eval ac_res=\$$3
1756                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1758   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759
1760 } # ac_fn_c_check_header_compile
1761
1762 # ac_fn_c_try_link LINENO
1763 # -----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_c_try_link ()
1766 {
1767   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768   rm -f conftest.$ac_objext conftest$ac_exeext
1769   if { { ac_try="$ac_link"
1770 case "(($ac_try" in
1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772   *) ac_try_echo=$ac_try;;
1773 esac
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776   (eval "$ac_link") 2>conftest.err
1777   ac_status=$?
1778   if test -s conftest.err; then
1779     grep -v '^ *+' conftest.err >conftest.er1
1780     cat conftest.er1 >&5
1781     mv -f conftest.er1 conftest.err
1782   fi
1783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784   test $ac_status = 0; } && {
1785          test -z "$ac_c_werror_flag" ||
1786          test ! -s conftest.err
1787        } && test -s conftest$ac_exeext && {
1788          test "$cross_compiling" = yes ||
1789          $as_test_x conftest$ac_exeext
1790        }; then :
1791   ac_retval=0
1792 else
1793   $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1795
1796         ac_retval=1
1797 fi
1798   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800   # interfere with the next link command; also delete a directory that is
1801   # left behind by Apple's compiler.  We do this before executing the actions.
1802   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804   return $ac_retval
1805
1806 } # ac_fn_c_try_link
1807
1808 # ac_fn_c_check_func LINENO FUNC VAR
1809 # ----------------------------------
1810 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1811 ac_fn_c_check_func ()
1812 {
1813   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815 $as_echo_n "checking for $2... " >&6; }
1816 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1817   $as_echo_n "(cached) " >&6
1818 else
1819   if test x$gcc_no_link = xyes; then
1820   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1821 fi
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h.  */
1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1826 #define $2 innocuous_$2
1827
1828 /* System header to define __stub macros and hopefully few prototypes,
1829     which can conflict with char $2 (); below.
1830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1831     <limits.h> exists even on freestanding compilers.  */
1832
1833 #ifdef __STDC__
1834 # include <limits.h>
1835 #else
1836 # include <assert.h>
1837 #endif
1838
1839 #undef $2
1840
1841 /* Override any GCC internal prototype to avoid an error.
1842    Use char because int might match the return type of a GCC
1843    builtin and then its argument prototype would still apply.  */
1844 #ifdef __cplusplus
1845 extern "C"
1846 #endif
1847 char $2 ();
1848 /* The GNU C library defines this for functions which it implements
1849     to always fail with ENOSYS.  Some functions are actually named
1850     something starting with __ and the normal name is an alias.  */
1851 #if defined __stub_$2 || defined __stub___$2
1852 choke me
1853 #endif
1854
1855 int
1856 main ()
1857 {
1858 return $2 ();
1859   ;
1860   return 0;
1861 }
1862 _ACEOF
1863 if ac_fn_c_try_link "$LINENO"; then :
1864   eval "$3=yes"
1865 else
1866   eval "$3=no"
1867 fi
1868 rm -f core conftest.err conftest.$ac_objext \
1869     conftest$ac_exeext conftest.$ac_ext
1870 fi
1871 eval ac_res=\$$3
1872                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875
1876 } # ac_fn_c_check_func
1877
1878 # ac_fn_fc_try_compile LINENO
1879 # ---------------------------
1880 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1881 ac_fn_fc_try_compile ()
1882 {
1883   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884   rm -f conftest.$ac_objext
1885   if { { ac_try="$ac_compile"
1886 case "(($ac_try" in
1887   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1888   *) ac_try_echo=$ac_try;;
1889 esac
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892   (eval "$ac_compile") 2>conftest.err
1893   ac_status=$?
1894   if test -s conftest.err; then
1895     grep -v '^ *+' conftest.err >conftest.er1
1896     cat conftest.er1 >&5
1897     mv -f conftest.er1 conftest.err
1898   fi
1899   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900   test $ac_status = 0; } && {
1901          test -z "$ac_fc_werror_flag" ||
1902          test ! -s conftest.err
1903        } && test -s conftest.$ac_objext; then :
1904   ac_retval=0
1905 else
1906   $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1908
1909         ac_retval=1
1910 fi
1911   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912   return $ac_retval
1913
1914 } # ac_fn_fc_try_compile
1915
1916 # ac_fn_fc_try_link LINENO
1917 # ------------------------
1918 # Try to link conftest.$ac_ext, and return whether this succeeded.
1919 ac_fn_fc_try_link ()
1920 {
1921   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922   rm -f conftest.$ac_objext conftest$ac_exeext
1923   if { { ac_try="$ac_link"
1924 case "(($ac_try" in
1925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926   *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930   (eval "$ac_link") 2>conftest.err
1931   ac_status=$?
1932   if test -s conftest.err; then
1933     grep -v '^ *+' conftest.err >conftest.er1
1934     cat conftest.er1 >&5
1935     mv -f conftest.er1 conftest.err
1936   fi
1937   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1938   test $ac_status = 0; } && {
1939          test -z "$ac_fc_werror_flag" ||
1940          test ! -s conftest.err
1941        } && test -s conftest$ac_exeext && {
1942          test "$cross_compiling" = yes ||
1943          $as_test_x conftest$ac_exeext
1944        }; then :
1945   ac_retval=0
1946 else
1947   $as_echo "$as_me: failed program was:" >&5
1948 sed 's/^/| /' conftest.$ac_ext >&5
1949
1950         ac_retval=1
1951 fi
1952   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1953   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1954   # interfere with the next link command; also delete a directory that is
1955   # left behind by Apple's compiler.  We do this before executing the actions.
1956   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1957   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1958   return $ac_retval
1959
1960 } # ac_fn_fc_try_link
1961
1962 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1963 # -------------------------------------------
1964 # Tests whether TYPE exists after having included INCLUDES, setting cache
1965 # variable VAR accordingly.
1966 ac_fn_c_check_type ()
1967 {
1968   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1970 $as_echo_n "checking for $2... " >&6; }
1971 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1972   $as_echo_n "(cached) " >&6
1973 else
1974   eval "$3=no"
1975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h.  */
1977 $4
1978 int
1979 main ()
1980 {
1981 if (sizeof ($2))
1982          return 0;
1983   ;
1984   return 0;
1985 }
1986 _ACEOF
1987 if ac_fn_c_try_compile "$LINENO"; then :
1988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1989 /* end confdefs.h.  */
1990 $4
1991 int
1992 main ()
1993 {
1994 if (sizeof (($2)))
1995             return 0;
1996   ;
1997   return 0;
1998 }
1999 _ACEOF
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001
2002 else
2003   eval "$3=yes"
2004 fi
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 fi
2007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 fi
2009 eval ac_res=\$$3
2010                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2013
2014 } # ac_fn_c_check_type
2015
2016 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2017 # --------------------------------------------
2018 # Tries to find the compile-time value of EXPR in a program that includes
2019 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2020 # computed
2021 ac_fn_c_compute_int ()
2022 {
2023   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024   if test "$cross_compiling" = yes; then
2025     # Depending upon the size, compute the lo and hi bounds.
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h.  */
2028 $4
2029 int
2030 main ()
2031 {
2032 static int test_array [1 - 2 * !(($2) >= 0)];
2033 test_array [0] = 0
2034
2035   ;
2036   return 0;
2037 }
2038 _ACEOF
2039 if ac_fn_c_try_compile "$LINENO"; then :
2040   ac_lo=0 ac_mid=0
2041   while :; do
2042     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h.  */
2044 $4
2045 int
2046 main ()
2047 {
2048 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2049 test_array [0] = 0
2050
2051   ;
2052   return 0;
2053 }
2054 _ACEOF
2055 if ac_fn_c_try_compile "$LINENO"; then :
2056   ac_hi=$ac_mid; break
2057 else
2058   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2059                         if test $ac_lo -le $ac_mid; then
2060                           ac_lo= ac_hi=
2061                           break
2062                         fi
2063                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2064 fi
2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2066   done
2067 else
2068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h.  */
2070 $4
2071 int
2072 main ()
2073 {
2074 static int test_array [1 - 2 * !(($2) < 0)];
2075 test_array [0] = 0
2076
2077   ;
2078   return 0;
2079 }
2080 _ACEOF
2081 if ac_fn_c_try_compile "$LINENO"; then :
2082   ac_hi=-1 ac_mid=-1
2083   while :; do
2084     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h.  */
2086 $4
2087 int
2088 main ()
2089 {
2090 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2091 test_array [0] = 0
2092
2093   ;
2094   return 0;
2095 }
2096 _ACEOF
2097 if ac_fn_c_try_compile "$LINENO"; then :
2098   ac_lo=$ac_mid; break
2099 else
2100   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2101                         if test $ac_mid -le $ac_hi; then
2102                           ac_lo= ac_hi=
2103                           break
2104                         fi
2105                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108   done
2109 else
2110   ac_lo= ac_hi=
2111 fi
2112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 # Binary search between lo and hi bounds.
2116 while test "x$ac_lo" != "x$ac_hi"; do
2117   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h.  */
2120 $4
2121 int
2122 main ()
2123 {
2124 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2125 test_array [0] = 0
2126
2127   ;
2128   return 0;
2129 }
2130 _ACEOF
2131 if ac_fn_c_try_compile "$LINENO"; then :
2132   ac_hi=$ac_mid
2133 else
2134   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2135 fi
2136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137 done
2138 case $ac_lo in #((
2139 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2140 '') ac_retval=1 ;;
2141 esac
2142   else
2143     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h.  */
2145 $4
2146 static long int longval () { return $2; }
2147 static unsigned long int ulongval () { return $2; }
2148 #include <stdio.h>
2149 #include <stdlib.h>
2150 int
2151 main ()
2152 {
2153
2154   FILE *f = fopen ("conftest.val", "w");
2155   if (! f)
2156     return 1;
2157   if (($2) < 0)
2158     {
2159       long int i = longval ();
2160       if (i != ($2))
2161         return 1;
2162       fprintf (f, "%ld", i);
2163     }
2164   else
2165     {
2166       unsigned long int i = ulongval ();
2167       if (i != ($2))
2168         return 1;
2169       fprintf (f, "%lu", i);
2170     }
2171   /* Do not output a trailing newline, as this causes \r\n confusion
2172      on some platforms.  */
2173   return ferror (f) || fclose (f) != 0;
2174
2175   ;
2176   return 0;
2177 }
2178 _ACEOF
2179 if ac_fn_c_try_run "$LINENO"; then :
2180   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2181 else
2182   ac_retval=1
2183 fi
2184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2185   conftest.$ac_objext conftest.beam conftest.$ac_ext
2186 rm -f conftest.val
2187
2188   fi
2189   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2190   return $ac_retval
2191
2192 } # ac_fn_c_compute_int
2193
2194 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2195 # ----------------------------------------------------
2196 # Tries to find if the field MEMBER exists in type AGGR, after including
2197 # INCLUDES, setting cache variable VAR accordingly.
2198 ac_fn_c_check_member ()
2199 {
2200   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2201   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2202 $as_echo_n "checking for $2.$3... " >&6; }
2203 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2204   $as_echo_n "(cached) " >&6
2205 else
2206   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2207 /* end confdefs.h.  */
2208 $5
2209 int
2210 main ()
2211 {
2212 static $2 ac_aggr;
2213 if (ac_aggr.$3)
2214 return 0;
2215   ;
2216   return 0;
2217 }
2218 _ACEOF
2219 if ac_fn_c_try_compile "$LINENO"; then :
2220   eval "$4=yes"
2221 else
2222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h.  */
2224 $5
2225 int
2226 main ()
2227 {
2228 static $2 ac_aggr;
2229 if (sizeof ac_aggr.$3)
2230 return 0;
2231   ;
2232   return 0;
2233 }
2234 _ACEOF
2235 if ac_fn_c_try_compile "$LINENO"; then :
2236   eval "$4=yes"
2237 else
2238   eval "$4=no"
2239 fi
2240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2241 fi
2242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2243 fi
2244 eval ac_res=\$$4
2245                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2246 $as_echo "$ac_res" >&6; }
2247   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248
2249 } # ac_fn_c_check_member
2250 cat >config.log <<_ACEOF
2251 This file contains any messages produced by compilers while
2252 running configure, to aid debugging if configure makes a mistake.
2253
2254 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2255 generated by GNU Autoconf 2.64.  Invocation command line was
2256
2257   $ $0 $@
2258
2259 _ACEOF
2260 exec 5>>config.log
2261 {
2262 cat <<_ASUNAME
2263 ## --------- ##
2264 ## Platform. ##
2265 ## --------- ##
2266
2267 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2268 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2269 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2270 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2271 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2272
2273 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2274 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2275
2276 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2277 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2278 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2279 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2280 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2281 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2282 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2283
2284 _ASUNAME
2285
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 for as_dir in $PATH
2288 do
2289   IFS=$as_save_IFS
2290   test -z "$as_dir" && as_dir=.
2291     $as_echo "PATH: $as_dir"
2292   done
2293 IFS=$as_save_IFS
2294
2295 } >&5
2296
2297 cat >&5 <<_ACEOF
2298
2299
2300 ## ----------- ##
2301 ## Core tests. ##
2302 ## ----------- ##
2303
2304 _ACEOF
2305
2306
2307 # Keep a trace of the command line.
2308 # Strip out --no-create and --no-recursion so they do not pile up.
2309 # Strip out --silent because we don't want to record it for future runs.
2310 # Also quote any args containing shell meta-characters.
2311 # Make two passes to allow for proper duplicate-argument suppression.
2312 ac_configure_args=
2313 ac_configure_args0=
2314 ac_configure_args1=
2315 ac_must_keep_next=false
2316 for ac_pass in 1 2
2317 do
2318   for ac_arg
2319   do
2320     case $ac_arg in
2321     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2322     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2323     | -silent | --silent | --silen | --sile | --sil)
2324       continue ;;
2325     *\'*)
2326       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2327     esac
2328     case $ac_pass in
2329     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2330     2)
2331       as_fn_append ac_configure_args1 " '$ac_arg'"
2332       if test $ac_must_keep_next = true; then
2333         ac_must_keep_next=false # Got value, back to normal.
2334       else
2335         case $ac_arg in
2336           *=* | --config-cache | -C | -disable-* | --disable-* \
2337           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2338           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2339           | -with-* | --with-* | -without-* | --without-* | --x)
2340             case "$ac_configure_args0 " in
2341               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2342             esac
2343             ;;
2344           -* ) ac_must_keep_next=true ;;
2345         esac
2346       fi
2347       as_fn_append ac_configure_args " '$ac_arg'"
2348       ;;
2349     esac
2350   done
2351 done
2352 { ac_configure_args0=; unset ac_configure_args0;}
2353 { ac_configure_args1=; unset ac_configure_args1;}
2354
2355 # When interrupted or exit'd, cleanup temporary files, and complete
2356 # config.log.  We remove comments because anyway the quotes in there
2357 # would cause problems or look ugly.
2358 # WARNING: Use '\'' to represent an apostrophe within the trap.
2359 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2360 trap 'exit_status=$?
2361   # Save into config.log some information that might help in debugging.
2362   {
2363     echo
2364
2365     cat <<\_ASBOX
2366 ## ---------------- ##
2367 ## Cache variables. ##
2368 ## ---------------- ##
2369 _ASBOX
2370     echo
2371     # The following way of writing the cache mishandles newlines in values,
2372 (
2373   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2374     eval ac_val=\$$ac_var
2375     case $ac_val in #(
2376     *${as_nl}*)
2377       case $ac_var in #(
2378       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2379 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2380       esac
2381       case $ac_var in #(
2382       _ | IFS | as_nl) ;; #(
2383       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2384       *) { eval $ac_var=; unset $ac_var;} ;;
2385       esac ;;
2386     esac
2387   done
2388   (set) 2>&1 |
2389     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2390     *${as_nl}ac_space=\ *)
2391       sed -n \
2392         "s/'\''/'\''\\\\'\'''\''/g;
2393           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2394       ;; #(
2395     *)
2396       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2397       ;;
2398     esac |
2399     sort
2400 )
2401     echo
2402
2403     cat <<\_ASBOX
2404 ## ----------------- ##
2405 ## Output variables. ##
2406 ## ----------------- ##
2407 _ASBOX
2408     echo
2409     for ac_var in $ac_subst_vars
2410     do
2411       eval ac_val=\$$ac_var
2412       case $ac_val in
2413       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2414       esac
2415       $as_echo "$ac_var='\''$ac_val'\''"
2416     done | sort
2417     echo
2418
2419     if test -n "$ac_subst_files"; then
2420       cat <<\_ASBOX
2421 ## ------------------- ##
2422 ## File substitutions. ##
2423 ## ------------------- ##
2424 _ASBOX
2425       echo
2426       for ac_var in $ac_subst_files
2427       do
2428         eval ac_val=\$$ac_var
2429         case $ac_val in
2430         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431         esac
2432         $as_echo "$ac_var='\''$ac_val'\''"
2433       done | sort
2434       echo
2435     fi
2436
2437     if test -s confdefs.h; then
2438       cat <<\_ASBOX
2439 ## ----------- ##
2440 ## confdefs.h. ##
2441 ## ----------- ##
2442 _ASBOX
2443       echo
2444       cat confdefs.h
2445       echo
2446     fi
2447     test "$ac_signal" != 0 &&
2448       $as_echo "$as_me: caught signal $ac_signal"
2449     $as_echo "$as_me: exit $exit_status"
2450   } >&5
2451   rm -f core *.core core.conftest.* &&
2452     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2453     exit $exit_status
2454 ' 0
2455 for ac_signal in 1 2 13 15; do
2456   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2457 done
2458 ac_signal=0
2459
2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2461 rm -f -r conftest* confdefs.h
2462
2463 $as_echo "/* confdefs.h */" > confdefs.h
2464
2465 # Predefined preprocessor variables.
2466
2467 cat >>confdefs.h <<_ACEOF
2468 #define PACKAGE_NAME "$PACKAGE_NAME"
2469 _ACEOF
2470
2471 cat >>confdefs.h <<_ACEOF
2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2473 _ACEOF
2474
2475 cat >>confdefs.h <<_ACEOF
2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2477 _ACEOF
2478
2479 cat >>confdefs.h <<_ACEOF
2480 #define PACKAGE_STRING "$PACKAGE_STRING"
2481 _ACEOF
2482
2483 cat >>confdefs.h <<_ACEOF
2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2485 _ACEOF
2486
2487 cat >>confdefs.h <<_ACEOF
2488 #define PACKAGE_URL "$PACKAGE_URL"
2489 _ACEOF
2490
2491
2492 # Let the site file select an alternate cache file if it wants to.
2493 # Prefer an explicitly selected file to automatically selected ones.
2494 ac_site_file1=NONE
2495 ac_site_file2=NONE
2496 if test -n "$CONFIG_SITE"; then
2497   ac_site_file1=$CONFIG_SITE
2498 elif test "x$prefix" != xNONE; then
2499   ac_site_file1=$prefix/share/config.site
2500   ac_site_file2=$prefix/etc/config.site
2501 else
2502   ac_site_file1=$ac_default_prefix/share/config.site
2503   ac_site_file2=$ac_default_prefix/etc/config.site
2504 fi
2505 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2506 do
2507   test "x$ac_site_file" = xNONE && continue
2508   if test -r "$ac_site_file"; then
2509     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2510 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2511     sed 's/^/| /' "$ac_site_file" >&5
2512     . "$ac_site_file"
2513   fi
2514 done
2515
2516 if test -r "$cache_file"; then
2517   # Some versions of bash will fail to source /dev/null (special
2518   # files actually), so we avoid doing that.
2519   if test -f "$cache_file"; then
2520     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2521 $as_echo "$as_me: loading cache $cache_file" >&6;}
2522     case $cache_file in
2523       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2524       *)                      . "./$cache_file";;
2525     esac
2526   fi
2527 else
2528   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2529 $as_echo "$as_me: creating cache $cache_file" >&6;}
2530   >$cache_file
2531 fi
2532
2533 as_fn_append ac_header_list " unistd.h"
2534 as_fn_append ac_header_list " sys/time.h"
2535 as_fn_append ac_header_list " sys/times.h"
2536 as_fn_append ac_header_list " sys/resource.h"
2537 as_fn_append ac_header_list " sys/types.h"
2538 as_fn_append ac_header_list " sys/stat.h"
2539 as_fn_append ac_header_list " sys/wait.h"
2540 as_fn_append ac_header_list " floatingpoint.h"
2541 as_fn_append ac_header_list " ieeefp.h"
2542 as_fn_append ac_header_list " fenv.h"
2543 as_fn_append ac_header_list " fptrap.h"
2544 as_fn_append ac_header_list " pwd.h"
2545 as_fn_append ac_header_list " complex.h"
2546 as_fn_append ac_func_list " getrusage"
2547 as_fn_append ac_func_list " times"
2548 as_fn_append ac_func_list " mkstemp"
2549 as_fn_append ac_func_list " strtof"
2550 as_fn_append ac_func_list " strtold"
2551 as_fn_append ac_func_list " snprintf"
2552 as_fn_append ac_func_list " ftruncate"
2553 as_fn_append ac_func_list " chsize"
2554 as_fn_append ac_func_list " chdir"
2555 as_fn_append ac_func_list " getlogin"
2556 as_fn_append ac_func_list " gethostname"
2557 as_fn_append ac_func_list " kill"
2558 as_fn_append ac_func_list " link"
2559 as_fn_append ac_func_list " symlink"
2560 as_fn_append ac_func_list " sleep"
2561 as_fn_append ac_func_list " ttyname"
2562 as_fn_append ac_func_list " alarm"
2563 as_fn_append ac_func_list " access"
2564 as_fn_append ac_func_list " fork"
2565 as_fn_append ac_func_list " execl"
2566 as_fn_append ac_func_list " wait"
2567 as_fn_append ac_func_list " setmode"
2568 as_fn_append ac_func_list " execve"
2569 as_fn_append ac_func_list " pipe"
2570 as_fn_append ac_func_list " dup2"
2571 as_fn_append ac_func_list " close"
2572 as_fn_append ac_func_list " strcasestr"
2573 as_fn_append ac_func_list " getrlimit"
2574 as_fn_append ac_func_list " gettimeofday"
2575 as_fn_append ac_func_list " stat"
2576 as_fn_append ac_func_list " fstat"
2577 as_fn_append ac_func_list " lstat"
2578 as_fn_append ac_func_list " getpwuid"
2579 as_fn_append ac_func_list " vsnprintf"
2580 as_fn_append ac_func_list " dup"
2581 as_fn_append ac_func_list " getcwd"
2582 as_fn_append ac_func_list " localtime_r"
2583 as_fn_append ac_func_list " gmtime_r"
2584 as_fn_append ac_func_list " getpwuid_r"
2585 as_fn_append ac_func_list " ttyname_r"
2586 as_fn_append ac_func_list " clock_gettime"
2587 as_fn_append ac_func_list " readlink"
2588 as_fn_append ac_func_list " getgid"
2589 as_fn_append ac_func_list " getpid"
2590 as_fn_append ac_func_list " getppid"
2591 as_fn_append ac_func_list " getuid"
2592 as_fn_append ac_func_list " geteuid"
2593 as_fn_append ac_func_list " umask"
2594 as_fn_append ac_func_list " getegid"
2595 as_fn_append ac_func_list " __secure_getenv"
2596 as_fn_append ac_header_list " math.h"
2597 # Check that the precious variables saved in the cache have kept the same
2598 # value.
2599 ac_cache_corrupted=false
2600 for ac_var in $ac_precious_vars; do
2601   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2602   eval ac_new_set=\$ac_env_${ac_var}_set
2603   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2604   eval ac_new_val=\$ac_env_${ac_var}_value
2605   case $ac_old_set,$ac_new_set in
2606     set,)
2607       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2608 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2609       ac_cache_corrupted=: ;;
2610     ,set)
2611       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2612 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2613       ac_cache_corrupted=: ;;
2614     ,);;
2615     *)
2616       if test "x$ac_old_val" != "x$ac_new_val"; then
2617         # differences in whitespace do not lead to failure.
2618         ac_old_val_w=`echo x $ac_old_val`
2619         ac_new_val_w=`echo x $ac_new_val`
2620         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2621           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2622 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2623           ac_cache_corrupted=:
2624         else
2625           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2626 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2627           eval $ac_var=\$ac_old_val
2628         fi
2629         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2630 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2631         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2632 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2633       fi;;
2634   esac
2635   # Pass precious variables to config.status.
2636   if test "$ac_new_set" = set; then
2637     case $ac_new_val in
2638     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2639     *) ac_arg=$ac_var=$ac_new_val ;;
2640     esac
2641     case " $ac_configure_args " in
2642       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2643       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2644     esac
2645   fi
2646 done
2647 if $ac_cache_corrupted; then
2648   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2651 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2652   as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2653 fi
2654 ## -------------------- ##
2655 ## Main body of script. ##
2656 ## -------------------- ##
2657
2658 ac_ext=c
2659 ac_cpp='$CPP $CPPFLAGS'
2660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2663
2664
2665
2666
2667
2668 ac_config_headers="$ac_config_headers config.h"
2669
2670 ac_aux_dir=
2671 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2672   for ac_t in install-sh install.sh shtool; do
2673     if test -f "$ac_dir/$ac_t"; then
2674       ac_aux_dir=$ac_dir
2675       ac_install_sh="$ac_aux_dir/$ac_t -c"
2676       break 2
2677     fi
2678   done
2679 done
2680 if test -z "$ac_aux_dir"; then
2681   as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2682 fi
2683
2684 # These three variables are undocumented and unsupported,
2685 # and are intended to be withdrawn in a future Autoconf release.
2686 # They can cause serious problems if a builder's source tree is in a directory
2687 # whose full name contains unusual characters.
2688 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2689 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2690 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2691
2692
2693 # Make sure we can run config.sub.
2694 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2695   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2696
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2698 $as_echo_n "checking build system type... " >&6; }
2699 if test "${ac_cv_build+set}" = set; then :
2700   $as_echo_n "(cached) " >&6
2701 else
2702   ac_build_alias=$build_alias
2703 test "x$ac_build_alias" = x &&
2704   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2705 test "x$ac_build_alias" = x &&
2706   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2707 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2708   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2709
2710 fi
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2712 $as_echo "$ac_cv_build" >&6; }
2713 case $ac_cv_build in
2714 *-*-*) ;;
2715 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2716 esac
2717 build=$ac_cv_build
2718 ac_save_IFS=$IFS; IFS='-'
2719 set x $ac_cv_build
2720 shift
2721 build_cpu=$1
2722 build_vendor=$2
2723 shift; shift
2724 # Remember, the first character of IFS is used to create $*,
2725 # except with old shells:
2726 build_os=$*
2727 IFS=$ac_save_IFS
2728 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2729
2730
2731  case ${build_alias} in
2732   "") build_noncanonical=${build} ;;
2733   *) build_noncanonical=${build_alias} ;;
2734 esac
2735
2736  case ${host_alias} in
2737   "") host_noncanonical=${build_noncanonical} ;;
2738   *) host_noncanonical=${host_alias} ;;
2739 esac
2740
2741  case ${target_alias} in
2742   "") target_noncanonical=${host_noncanonical} ;;
2743   *) target_noncanonical=${target_alias} ;;
2744 esac
2745
2746
2747 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2748 # have matching libraries, they should use host libraries: Makefile.tpl
2749 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2750 # However, they still use the build modules, because the corresponding
2751 # host modules (e.g. bison) are only built for the host when bootstrap
2752 # finishes. So:
2753 # - build_subdir is where we find build modules, and never changes.
2754 # - build_libsubdir is where we find build libraries, and can be overridden.
2755
2756 # Prefix 'build-' so this never conflicts with target_subdir.
2757 build_subdir="build-${build_noncanonical}"
2758
2759 # Check whether --with-build-libsubdir was given.
2760 if test "${with_build_libsubdir+set}" = set; then :
2761   withval=$with_build_libsubdir; build_libsubdir="$withval"
2762 else
2763   build_libsubdir="$build_subdir"
2764 fi
2765
2766 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2767 if ( test $srcdir = . && test -d gcc ) \
2768    || test -d $srcdir/../host-${host_noncanonical}; then
2769   host_subdir="host-${host_noncanonical}"
2770 else
2771   host_subdir=.
2772 fi
2773 # No prefix.
2774 target_subdir=${target_noncanonical}
2775
2776
2777 # -------
2778 # Options
2779 # -------
2780
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2782 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2783 # Check whether --enable-version-specific-runtime-libs was given.
2784 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2785   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
2786  yes) version_specific_libs=yes ;;
2787  no)  version_specific_libs=no ;;
2788  *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2789  esac
2790 else
2791   version_specific_libs=no
2792 fi
2793
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2795 $as_echo "$version_specific_libs" >&6; }
2796
2797 # Build with intermodule optimisations
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-intermodule" >&5
2799 $as_echo_n "checking for --enable-intermodule... " >&6; }
2800 # Check whether --enable-intermodule was given.
2801 if test "${enable_intermodule+set}" = set; then :
2802   enableval=$enable_intermodule; case "$enable_intermodule" in
2803   yes) onestep="-onestep";;
2804     *) onestep="";;
2805 esac
2806 else
2807   onestep=""
2808 fi
2809
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_intermodule" >&5
2811 $as_echo "$enable_intermodule" >&6; }
2812  if test x$onestep = x-onestep; then
2813   onestep_TRUE=
2814   onestep_FALSE='#'
2815 else
2816   onestep_TRUE='#'
2817   onestep_FALSE=
2818 fi
2819
2820
2821
2822 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2823 #
2824 # You will slowly go insane if you do not grok the following fact:  when
2825 # building this library, the top-level /target/ becomes the library's /host/.
2826 #
2827 # configure then causes --target to default to --host, exactly like any
2828 # other package using autoconf.  Therefore, 'target' and 'host' will
2829 # always be the same.  This makes sense both for native and cross compilers
2830 # just think about it for a little while.  :-)
2831 #
2832 # Also, if this library is being configured as part of a cross compiler, the
2833 # top-level configure script will pass the "real" host as $with_cross_host.
2834 #
2835 # Do not delete or change the following two lines.  For why, see
2836 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2838 $as_echo_n "checking host system type... " >&6; }
2839 if test "${ac_cv_host+set}" = set; then :
2840   $as_echo_n "(cached) " >&6
2841 else
2842   if test "x$host_alias" = x; then
2843   ac_cv_host=$ac_cv_build
2844 else
2845   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2846     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2847 fi
2848
2849 fi
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2851 $as_echo "$ac_cv_host" >&6; }
2852 case $ac_cv_host in
2853 *-*-*) ;;
2854 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2855 esac
2856 host=$ac_cv_host
2857 ac_save_IFS=$IFS; IFS='-'
2858 set x $ac_cv_host
2859 shift
2860 host_cpu=$1
2861 host_vendor=$2
2862 shift; shift
2863 # Remember, the first character of IFS is used to create $*,
2864 # except with old shells:
2865 host_os=$*
2866 IFS=$ac_save_IFS
2867 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2868
2869
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2871 $as_echo_n "checking target system type... " >&6; }
2872 if test "${ac_cv_target+set}" = set; then :
2873   $as_echo_n "(cached) " >&6
2874 else
2875   if test "x$target_alias" = x; then
2876   ac_cv_target=$ac_cv_host
2877 else
2878   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2879     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2880 fi
2881
2882 fi
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2884 $as_echo "$ac_cv_target" >&6; }
2885 case $ac_cv_target in
2886 *-*-*) ;;
2887 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2888 esac
2889 target=$ac_cv_target
2890 ac_save_IFS=$IFS; IFS='-'
2891 set x $ac_cv_target
2892 shift
2893 target_cpu=$1
2894 target_vendor=$2
2895 shift; shift
2896 # Remember, the first character of IFS is used to create $*,
2897 # except with old shells:
2898 target_os=$*
2899 IFS=$ac_save_IFS
2900 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2901
2902
2903 # The aliases save the names the user supplied, while $host etc.
2904 # will get canonicalized.
2905 test -n "$target_alias" &&
2906   test "$program_prefix$program_suffix$program_transform_name" = \
2907     NONENONEs,x,x, &&
2908   program_prefix=${target_alias}-
2909
2910
2911
2912
2913 target_alias=${target_alias-$host_alias}
2914
2915
2916 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
2917 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2918 #  1.9.6:  minimum required version
2919 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
2920 #              of other PACKAGE_* variables will, however, and there's nothing
2921 #              we can do about that; they come from AC_INIT).
2922 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
2923 #            file in the top srcdir, etc, etc), so stop complaining.
2924 #  no-dist:  we don't want 'dist' and related rules.
2925 #  -Wall:  turns on all automake warnings...
2926 #  -Wno-portability:  ...except this one, since GNU make is required.
2927 am__api_version='1.11'
2928
2929 # Find a good install program.  We prefer a C program (faster),
2930 # so one script is as good as another.  But avoid the broken or
2931 # incompatible versions:
2932 # SysV /etc/install, /usr/sbin/install
2933 # SunOS /usr/etc/install
2934 # IRIX /sbin/install
2935 # AIX /bin/install
2936 # AmigaOS /C/install, which installs bootblocks on floppy discs
2937 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2938 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2939 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2940 # OS/2's system install, which has a completely different semantic
2941 # ./install, which can be erroneously created by make from ./install.sh.
2942 # Reject install programs that cannot install multiple files.
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2944 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2945 if test -z "$INSTALL"; then
2946 if test "${ac_cv_path_install+set}" = set; then :
2947   $as_echo_n "(cached) " >&6
2948 else
2949   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 for as_dir in $PATH
2951 do
2952   IFS=$as_save_IFS
2953   test -z "$as_dir" && as_dir=.
2954     # Account for people who put trailing slashes in PATH elements.
2955 case $as_dir/ in #((
2956   ./ | .// | /[cC]/* | \
2957   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2958   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2959   /usr/ucb/* ) ;;
2960   *)
2961     # OSF1 and SCO ODT 3.0 have their own names for install.
2962     # Don't use installbsd from OSF since it installs stuff as root
2963     # by default.
2964     for ac_prog in ginstall scoinst install; do
2965       for ac_exec_ext in '' $ac_executable_extensions; do
2966         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2967           if test $ac_prog = install &&
2968             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2969             # AIX install.  It has an incompatible calling convention.
2970             :
2971           elif test $ac_prog = install &&
2972             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2973             # program-specific install script used by HP pwplus--don't use.
2974             :
2975           else
2976             rm -rf conftest.one conftest.two conftest.dir
2977             echo one > conftest.one
2978             echo two > conftest.two
2979             mkdir conftest.dir
2980             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2981               test -s conftest.one && test -s conftest.two &&
2982               test -s conftest.dir/conftest.one &&
2983               test -s conftest.dir/conftest.two
2984             then
2985               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2986               break 3
2987             fi
2988           fi
2989         fi
2990       done
2991     done
2992     ;;
2993 esac
2994
2995   done
2996 IFS=$as_save_IFS
2997
2998 rm -rf conftest.one conftest.two conftest.dir
2999
3000 fi
3001   if test "${ac_cv_path_install+set}" = set; then
3002     INSTALL=$ac_cv_path_install
3003   else
3004     # As a last resort, use the slow shell script.  Don't cache a
3005     # value for INSTALL within a source directory, because that will
3006     # break other packages using the cache if that directory is
3007     # removed, or if the value is a relative name.
3008     INSTALL=$ac_install_sh
3009   fi
3010 fi
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3012 $as_echo "$INSTALL" >&6; }
3013
3014 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3015 # It thinks the first close brace ends the variable substitution.
3016 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3017
3018 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3019
3020 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3021
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3023 $as_echo_n "checking whether build environment is sane... " >&6; }
3024 # Just in case
3025 sleep 1
3026 echo timestamp > conftest.file
3027 # Reject unsafe characters in $srcdir or the absolute working directory
3028 # name.  Accept space and tab only in the latter.
3029 am_lf='
3030 '
3031 case `pwd` in
3032   *[\\\"\#\$\&\'\`$am_lf]*)
3033     as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3034 esac
3035 case $srcdir in
3036   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3037     as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3038 esac
3039
3040 # Do `set' in a subshell so we don't clobber the current shell's
3041 # arguments.  Must try -L first in case configure is actually a
3042 # symlink; some systems play weird games with the mod time of symlinks
3043 # (eg FreeBSD returns the mod time of the symlink's containing
3044 # directory).
3045 if (
3046    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3047    if test "$*" = "X"; then
3048       # -L didn't work.
3049       set X `ls -t "$srcdir/configure" conftest.file`
3050    fi
3051    rm -f conftest.file
3052    if test "$*" != "X $srcdir/configure conftest.file" \
3053       && test "$*" != "X conftest.file $srcdir/configure"; then
3054
3055       # If neither matched, then we have a broken ls.  This can happen
3056       # if, for instance, CONFIG_SHELL is bash and it inherits a
3057       # broken ls alias from the environment.  This has actually
3058       # happened.  Such a system could not be considered "sane".
3059       as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3060 alias in your environment" "$LINENO" 5
3061    fi
3062
3063    test "$2" = conftest.file
3064    )
3065 then
3066    # Ok.
3067    :
3068 else
3069    as_fn_error "newly created file is older than distributed files!
3070 Check your system clock" "$LINENO" 5
3071 fi
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3073 $as_echo "yes" >&6; }
3074 test "$program_prefix" != NONE &&
3075   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3076 # Use a double $ so make ignores it.
3077 test "$program_suffix" != NONE &&
3078   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3079 # Double any \ or $.
3080 # By default was `s,x,x', remove it if useless.
3081 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3082 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3083
3084 # expand $ac_aux_dir to an absolute path
3085 am_aux_dir=`cd $ac_aux_dir && pwd`
3086
3087 if test x"${MISSING+set}" != xset; then
3088   case $am_aux_dir in
3089   *\ * | *\     *)
3090     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3091   *)
3092     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3093   esac
3094 fi
3095 # Use eval to expand $SHELL
3096 if eval "$MISSING --run true"; then
3097   am_missing_run="$MISSING --run "
3098 else
3099   am_missing_run=
3100   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3101 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3102 fi
3103
3104 if test x"${install_sh}" != xset; then
3105   case $am_aux_dir in
3106   *\ * | *\     *)
3107     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3108   *)
3109     install_sh="\${SHELL} $am_aux_dir/install-sh"
3110   esac
3111 fi
3112
3113 # Installed binaries are usually stripped using `strip' when the user
3114 # run `make install-strip'.  However `strip' might not be the right
3115 # tool to use in cross-compilation environments, therefore Automake
3116 # will honor the `STRIP' environment variable to overrule this program.
3117 if test "$cross_compiling" != no; then
3118   if test -n "$ac_tool_prefix"; then
3119   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3120 set dummy ${ac_tool_prefix}strip; ac_word=$2
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3122 $as_echo_n "checking for $ac_word... " >&6; }
3123 if test "${ac_cv_prog_STRIP+set}" = set; then :
3124   $as_echo_n "(cached) " >&6
3125 else
3126   if test -n "$STRIP"; then
3127   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3128 else
3129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130 for as_dir in $PATH
3131 do
3132   IFS=$as_save_IFS
3133   test -z "$as_dir" && as_dir=.
3134     for ac_exec_ext in '' $ac_executable_extensions; do
3135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3136     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3137     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3138     break 2
3139   fi
3140 done
3141   done
3142 IFS=$as_save_IFS
3143
3144 fi
3145 fi
3146 STRIP=$ac_cv_prog_STRIP
3147 if test -n "$STRIP"; then
3148   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3149 $as_echo "$STRIP" >&6; }
3150 else
3151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3152 $as_echo "no" >&6; }
3153 fi
3154
3155
3156 fi
3157 if test -z "$ac_cv_prog_STRIP"; then
3158   ac_ct_STRIP=$STRIP
3159   # Extract the first word of "strip", so it can be a program name with args.
3160 set dummy strip; ac_word=$2
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162 $as_echo_n "checking for $ac_word... " >&6; }
3163 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3164   $as_echo_n "(cached) " >&6
3165 else
3166   if test -n "$ac_ct_STRIP"; then
3167   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3168 else
3169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3170 for as_dir in $PATH
3171 do
3172   IFS=$as_save_IFS
3173   test -z "$as_dir" && as_dir=.
3174     for ac_exec_ext in '' $ac_executable_extensions; do
3175   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176     ac_cv_prog_ac_ct_STRIP="strip"
3177     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3178     break 2
3179   fi
3180 done
3181   done
3182 IFS=$as_save_IFS
3183
3184 fi
3185 fi
3186 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3187 if test -n "$ac_ct_STRIP"; then
3188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3189 $as_echo "$ac_ct_STRIP" >&6; }
3190 else
3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192 $as_echo "no" >&6; }
3193 fi
3194
3195   if test "x$ac_ct_STRIP" = x; then
3196     STRIP=":"
3197   else
3198     case $cross_compiling:$ac_tool_warned in
3199 yes:)
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3202 ac_tool_warned=yes ;;
3203 esac
3204     STRIP=$ac_ct_STRIP
3205   fi
3206 else
3207   STRIP="$ac_cv_prog_STRIP"
3208 fi
3209
3210 fi
3211 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3212
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3214 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3215 if test -z "$MKDIR_P"; then
3216   if test "${ac_cv_path_mkdir+set}" = set; then :
3217   $as_echo_n "(cached) " >&6
3218 else
3219   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3221 do
3222   IFS=$as_save_IFS
3223   test -z "$as_dir" && as_dir=.
3224     for ac_prog in mkdir gmkdir; do
3225          for ac_exec_ext in '' $ac_executable_extensions; do
3226            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3227            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3228              'mkdir (GNU coreutils) '* | \
3229              'mkdir (coreutils) '* | \
3230              'mkdir (fileutils) '4.1*)
3231                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3232                break 3;;
3233            esac
3234          done
3235        done
3236   done
3237 IFS=$as_save_IFS
3238
3239 fi
3240
3241   if test "${ac_cv_path_mkdir+set}" = set; then
3242     MKDIR_P="$ac_cv_path_mkdir -p"
3243   else
3244     # As a last resort, use the slow shell script.  Don't cache a
3245     # value for MKDIR_P within a source directory, because that will
3246     # break other packages using the cache if that directory is
3247     # removed, or if the value is a relative name.
3248     test -d ./--version && rmdir ./--version
3249     MKDIR_P="$ac_install_sh -d"
3250   fi
3251 fi
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3253 $as_echo "$MKDIR_P" >&6; }
3254
3255 mkdir_p="$MKDIR_P"
3256 case $mkdir_p in
3257   [\\/$]* | ?:[\\/]*) ;;
3258   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3259 esac
3260
3261 for ac_prog in gawk mawk nawk awk
3262 do
3263   # Extract the first word of "$ac_prog", so it can be a program name with args.
3264 set dummy $ac_prog; ac_word=$2
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3266 $as_echo_n "checking for $ac_word... " >&6; }
3267 if test "${ac_cv_prog_AWK+set}" = set; then :
3268   $as_echo_n "(cached) " >&6
3269 else
3270   if test -n "$AWK"; then
3271   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3272 else
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH
3275 do
3276   IFS=$as_save_IFS
3277   test -z "$as_dir" && as_dir=.
3278     for ac_exec_ext in '' $ac_executable_extensions; do
3279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3280     ac_cv_prog_AWK="$ac_prog"
3281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3282     break 2
3283   fi
3284 done
3285   done
3286 IFS=$as_save_IFS
3287
3288 fi
3289 fi
3290 AWK=$ac_cv_prog_AWK
3291 if test -n "$AWK"; then
3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3293 $as_echo "$AWK" >&6; }
3294 else
3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 fi
3298
3299
3300   test -n "$AWK" && break
3301 done
3302
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3304 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3305 set x ${MAKE-make}
3306 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3307 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3308   $as_echo_n "(cached) " >&6
3309 else
3310   cat >conftest.make <<\_ACEOF
3311 SHELL = /bin/sh
3312 all:
3313         @echo '@@@%%%=$(MAKE)=@@@%%%'
3314 _ACEOF
3315 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3316 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3317   *@@@%%%=?*=@@@%%%*)
3318     eval ac_cv_prog_make_${ac_make}_set=yes;;
3319   *)
3320     eval ac_cv_prog_make_${ac_make}_set=no;;
3321 esac
3322 rm -f conftest.make
3323 fi
3324 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3326 $as_echo "yes" >&6; }
3327   SET_MAKE=
3328 else
3329   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3330 $as_echo "no" >&6; }
3331   SET_MAKE="MAKE=${MAKE-make}"
3332 fi
3333
3334 rm -rf .tst 2>/dev/null
3335 mkdir .tst 2>/dev/null
3336 if test -d .tst; then
3337   am__leading_dot=.
3338 else
3339   am__leading_dot=_
3340 fi
3341 rmdir .tst 2>/dev/null
3342
3343 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3344   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3345   # is not polluted with repeated "-I."
3346   am__isrc=' -I$(srcdir)'
3347   # test to see if srcdir already configured
3348   if test -f $srcdir/config.status; then
3349     as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3350   fi
3351 fi
3352
3353 # test whether we have cygpath
3354 if test -z "$CYGPATH_W"; then
3355   if (cygpath --version) >/dev/null 2>/dev/null; then
3356     CYGPATH_W='cygpath -w'
3357   else
3358     CYGPATH_W=echo
3359   fi
3360 fi
3361
3362
3363 # Define the identity of the package.
3364  PACKAGE='libgfortran'
3365  VERSION='0.3'
3366
3367
3368 # Some tools Automake needs.
3369
3370 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3371
3372
3373 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3374
3375
3376 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3377
3378
3379 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3380
3381
3382 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3383
3384 # We need awk for the "check" target.  The system "awk" is bad on
3385 # some platforms.
3386 # Always define AMTAR for backward compatibility.
3387
3388 AMTAR=${AMTAR-"${am_missing_run}tar"}
3389
3390 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3391
3392
3393
3394
3395
3396
3397
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3399 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3400     # Check whether --enable-maintainer-mode was given.
3401 if test "${enable_maintainer_mode+set}" = set; then :
3402   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3403 else
3404   USE_MAINTAINER_MODE=no
3405 fi
3406
3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3408 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3409    if test $USE_MAINTAINER_MODE = yes; then
3410   MAINTAINER_MODE_TRUE=
3411   MAINTAINER_MODE_FALSE='#'
3412 else
3413   MAINTAINER_MODE_TRUE='#'
3414   MAINTAINER_MODE_FALSE=
3415 fi
3416
3417   MAINT=$MAINTAINER_MODE_TRUE
3418
3419
3420 # Default to --enable-multilib
3421 # Check whether --enable-multilib was given.
3422 if test "${enable_multilib+set}" = set; then :
3423   enableval=$enable_multilib; case "$enableval" in
3424   yes) multilib=yes ;;
3425   no)  multilib=no ;;
3426   *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
3427  esac
3428 else
3429   multilib=yes
3430 fi
3431
3432
3433 # We may get other options which we leave undocumented:
3434 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3435 # See config-ml.in if you want the gory details.
3436
3437 if test "$srcdir" = "."; then
3438   if test "$with_target_subdir" != "."; then
3439     multi_basedir="$srcdir/$with_multisrctop../.."
3440   else
3441     multi_basedir="$srcdir/$with_multisrctop.."
3442   fi
3443 else
3444   multi_basedir="$srcdir/.."
3445 fi
3446
3447
3448 # Even if the default multilib is not a cross compilation,
3449 # it may be that some of the other multilibs are.
3450 if test $cross_compiling = no && test $multilib = yes \
3451    && test "x${with_multisubdir}" != x ; then
3452    cross_compiling=maybe
3453 fi
3454
3455 ac_config_commands="$ac_config_commands default-1"
3456
3457
3458 # Handy for debugging:
3459 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3460
3461 # Are we being configured with some form of cross compiler?
3462 # NB: We don't actually need to know this just now, but when, say, a test
3463 #     suite is included, we'll have to know.
3464 if test "$build" != "$host"; then
3465   LIBGFOR_IS_NATIVE=false
3466
3467 else
3468   LIBGFOR_IS_NATIVE=true
3469 fi
3470
3471 DEPDIR="${am__leading_dot}deps"
3472
3473 ac_config_commands="$ac_config_commands depfiles"
3474
3475
3476 am_make=${MAKE-make}
3477 cat > confinc << 'END'
3478 am__doit:
3479         @echo this is the am__doit target
3480 .PHONY: am__doit
3481 END
3482 # If we don't find an include directive, just comment out the code.
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3484 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3485 am__include="#"
3486 am__quote=
3487 _am_result=none
3488 # First try GNU make style include.
3489 echo "include confinc" > confmf
3490 # Ignore all kinds of additional output from `make'.
3491 case `$am_make -s -f confmf 2> /dev/null` in #(
3492 *the\ am__doit\ target*)
3493   am__include=include
3494   am__quote=
3495   _am_result=GNU
3496   ;;
3497 esac
3498 # Now try BSD make style include.
3499 if test "$am__include" = "#"; then
3500    echo '.include "confinc"' > confmf
3501    case `$am_make -s -f confmf 2> /dev/null` in #(
3502    *the\ am__doit\ target*)
3503      am__include=.include
3504      am__quote="\""
3505      _am_result=BSD
3506      ;;
3507    esac
3508 fi
3509
3510
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3512 $as_echo "$_am_result" >&6; }
3513 rm -f confinc confmf
3514
3515 # Check whether --enable-dependency-tracking was given.
3516 if test "${enable_dependency_tracking+set}" = set; then :
3517   enableval=$enable_dependency_tracking;
3518 fi
3519
3520 if test "x$enable_dependency_tracking" != xno; then
3521   am_depcomp="$ac_aux_dir/depcomp"
3522   AMDEPBACKSLASH='\'
3523 fi
3524  if test "x$enable_dependency_tracking" != xno; then
3525   AMDEP_TRUE=
3526   AMDEP_FALSE='#'
3527 else
3528   AMDEP_TRUE='#'
3529   AMDEP_FALSE=
3530 fi
3531
3532
3533 ac_ext=c
3534 ac_cpp='$CPP $CPPFLAGS'
3535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3538 if test -n "$ac_tool_prefix"; then
3539   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3540 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if test "${ac_cv_prog_CC+set}" = set; then :
3544   $as_echo_n "(cached) " >&6
3545 else
3546   if test -n "$CC"; then
3547   ac_cv_prog_CC="$CC" # Let the user override the test.
3548 else
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3551 do
3552   IFS=$as_save_IFS
3553   test -z "$as_dir" && as_dir=.
3554     for ac_exec_ext in '' $ac_executable_extensions; do
3555   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3556     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3558     break 2
3559   fi
3560 done
3561   done
3562 IFS=$as_save_IFS
3563
3564 fi
3565 fi
3566 CC=$ac_cv_prog_CC
3567 if test -n "$CC"; then
3568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3569 $as_echo "$CC" >&6; }
3570 else
3571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3573 fi
3574
3575
3576 fi
3577 if test -z "$ac_cv_prog_CC"; then
3578   ac_ct_CC=$CC
3579   # Extract the first word of "gcc", so it can be a program name with args.
3580 set dummy gcc; ac_word=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3584   $as_echo_n "(cached) " >&6
3585 else
3586   if test -n "$ac_ct_CC"; then
3587   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3588 else
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3590 for as_dir in $PATH
3591 do
3592   IFS=$as_save_IFS
3593   test -z "$as_dir" && as_dir=.
3594     for ac_exec_ext in '' $ac_executable_extensions; do
3595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596     ac_cv_prog_ac_ct_CC="gcc"
3597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598     break 2
3599   fi
3600 done
3601   done
3602 IFS=$as_save_IFS
3603
3604 fi
3605 fi
3606 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3607 if test -n "$ac_ct_CC"; then
3608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3609 $as_echo "$ac_ct_CC" >&6; }
3610 else
3611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3613 fi
3614
3615   if test "x$ac_ct_CC" = x; then
3616     CC=""
3617   else
3618     case $cross_compiling:$ac_tool_warned in
3619 yes:)
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3622 ac_tool_warned=yes ;;
3623 esac
3624     CC=$ac_ct_CC
3625   fi
3626 else
3627   CC="$ac_cv_prog_CC"
3628 fi
3629
3630 if test -z "$CC"; then
3631           if test -n "$ac_tool_prefix"; then
3632     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}cc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637   $as_echo_n "(cached) " >&6
3638 else
3639   if test -n "$CC"; then
3640   ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645   IFS=$as_save_IFS
3646   test -z "$as_dir" && as_dir=.
3647     for ac_exec_ext in '' $ac_executable_extensions; do
3648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649     ac_cv_prog_CC="${ac_tool_prefix}cc"
3650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651     break 2
3652   fi
3653 done
3654   done
3655 IFS=$as_save_IFS
3656
3657 fi
3658 fi
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 fi
3667
3668
3669   fi
3670 fi
3671 if test -z "$CC"; then
3672   # Extract the first word of "cc", so it can be a program name with args.
3673 set dummy cc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_CC+set}" = set; then :
3677   $as_echo_n "(cached) " >&6
3678 else
3679   if test -n "$CC"; then
3680   ac_cv_prog_CC="$CC" # Let the user override the test.
3681 else
3682   ac_prog_rejected=no
3683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 for as_dir in $PATH
3685 do
3686   IFS=$as_save_IFS
3687   test -z "$as_dir" && as_dir=.
3688     for ac_exec_ext in '' $ac_executable_extensions; do
3689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3691        ac_prog_rejected=yes
3692        continue
3693      fi
3694     ac_cv_prog_CC="cc"
3695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696     break 2
3697   fi
3698 done
3699   done
3700 IFS=$as_save_IFS
3701
3702 if test $ac_prog_rejected = yes; then
3703   # We found a bogon in the path, so make sure we never use it.
3704   set dummy $ac_cv_prog_CC
3705   shift
3706   if test $# != 0; then
3707     # We chose a different compiler from the bogus one.
3708     # However, it has the same basename, so the bogon will be chosen
3709     # first if we set CC to just the basename; use the full file name.
3710     shift
3711     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3712   fi
3713 fi
3714 fi
3715 fi
3716 CC=$ac_cv_prog_CC
3717 if test -n "$CC"; then
3718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3719 $as_echo "$CC" >&6; }
3720 else
3721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3723 fi
3724
3725
3726 fi
3727 if test -z "$CC"; then
3728   if test -n "$ac_tool_prefix"; then
3729   for ac_prog in cl.exe
3730   do
3731     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3732 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3734 $as_echo_n "checking for $ac_word... " >&6; }
3735 if test "${ac_cv_prog_CC+set}" = set; then :
3736   $as_echo_n "(cached) " >&6
3737 else
3738   if test -n "$CC"; then
3739   ac_cv_prog_CC="$CC" # Let the user override the test.
3740 else
3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 for as_dir in $PATH
3743 do
3744   IFS=$as_save_IFS
3745   test -z "$as_dir" && as_dir=.
3746     for ac_exec_ext in '' $ac_executable_extensions; do
3747   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3748     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750     break 2
3751   fi
3752 done
3753   done
3754 IFS=$as_save_IFS
3755
3756 fi
3757 fi
3758 CC=$ac_cv_prog_CC
3759 if test -n "$CC"; then
3760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3761 $as_echo "$CC" >&6; }
3762 else
3763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3764 $as_echo "no" >&6; }
3765 fi
3766
3767
3768     test -n "$CC" && break
3769   done
3770 fi
3771 if test -z "$CC"; then
3772   ac_ct_CC=$CC
3773   for ac_prog in cl.exe
3774 do
3775   # Extract the first word of "$ac_prog", so it can be a program name with args.
3776 set dummy $ac_prog; ac_word=$2
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3778 $as_echo_n "checking for $ac_word... " >&6; }
3779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3780   $as_echo_n "(cached) " >&6
3781 else
3782   if test -n "$ac_ct_CC"; then
3783   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3784 else
3785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786 for as_dir in $PATH
3787 do
3788   IFS=$as_save_IFS
3789   test -z "$as_dir" && as_dir=.
3790     for ac_exec_ext in '' $ac_executable_extensions; do
3791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792     ac_cv_prog_ac_ct_CC="$ac_prog"
3793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794     break 2
3795   fi
3796 done
3797   done
3798 IFS=$as_save_IFS
3799
3800 fi
3801 fi
3802 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3803 if test -n "$ac_ct_CC"; then
3804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3805 $as_echo "$ac_ct_CC" >&6; }
3806 else
3807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3808 $as_echo "no" >&6; }
3809 fi
3810
3811
3812   test -n "$ac_ct_CC" && break
3813 done
3814
3815   if test "x$ac_ct_CC" = x; then
3816     CC=""
3817   else
3818     case $cross_compiling:$ac_tool_warned in
3819 yes:)
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3821 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3822 ac_tool_warned=yes ;;
3823 esac
3824     CC=$ac_ct_CC
3825   fi
3826 fi
3827
3828 fi
3829
3830
3831 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3833 as_fn_error "no acceptable C compiler found in \$PATH
3834 See \`config.log' for more details." "$LINENO" 5; }
3835
3836 # Provide some information about the compiler.
3837 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3838 set X $ac_compile
3839 ac_compiler=$2
3840 for ac_option in --version -v -V -qversion; do
3841   { { ac_try="$ac_compiler $ac_option >&5"
3842 case "(($ac_try" in
3843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844   *) ac_try_echo=$ac_try;;
3845 esac
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3849   ac_status=$?
3850   if test -s conftest.err; then
3851     sed '10a\
3852 ... rest of stderr output deleted ...
3853          10q' conftest.err >conftest.er1
3854     cat conftest.er1 >&5
3855     rm -f conftest.er1 conftest.err
3856   fi
3857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3858   test $ac_status = 0; }
3859 done
3860
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h.  */
3863
3864 int
3865 main ()
3866 {
3867
3868   ;
3869   return 0;
3870 }
3871 _ACEOF
3872 # FIXME: Cleanup?
3873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3874   (eval $ac_link) 2>&5
3875   ac_status=$?
3876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877   test $ac_status = 0; }; then :
3878   gcc_no_link=no
3879 else
3880   gcc_no_link=yes
3881 fi
3882 if test x$gcc_no_link = xyes; then
3883   # Setting cross_compile will disable run tests; it will
3884   # also disable AC_CHECK_FILE but that's generally
3885   # correct if we can't link.
3886   cross_compiling=yes
3887   EXEEXT=
3888 else
3889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h.  */
3891
3892 int
3893 main ()
3894 {
3895
3896   ;
3897   return 0;
3898 }
3899 _ACEOF
3900 ac_clean_files_save=$ac_clean_files
3901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3902 # Try to create an executable without -o first, disregard a.out.
3903 # It will help us diagnose broken compilers, and finding out an intuition
3904 # of exeext.
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3906 $as_echo_n "checking for C compiler default output file name... " >&6; }
3907 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3908
3909 # The possible output files:
3910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3911
3912 ac_rmfiles=
3913 for ac_file in $ac_files
3914 do
3915   case $ac_file in
3916     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3917     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3918   esac
3919 done
3920 rm -f $ac_rmfiles
3921
3922 if { { ac_try="$ac_link_default"
3923 case "(($ac_try" in
3924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925   *) ac_try_echo=$ac_try;;
3926 esac
3927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3928 $as_echo "$ac_try_echo"; } >&5
3929   (eval "$ac_link_default") 2>&5
3930   ac_status=$?
3931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3932   test $ac_status = 0; }; then :
3933   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3935 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3936 # so that the user can short-circuit this test for compilers unknown to
3937 # Autoconf.
3938 for ac_file in $ac_files ''
3939 do
3940   test -f "$ac_file" || continue
3941   case $ac_file in
3942     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3943         ;;
3944     [ab].out )
3945         # We found the default executable, but exeext='' is most
3946         # certainly right.
3947         break;;
3948     *.* )
3949         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3950         then :; else
3951            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3952         fi
3953         # We set ac_cv_exeext here because the later test for it is not
3954         # safe: cross compilers may not add the suffix if given an `-o'
3955         # argument, so we may need to know it at that point already.
3956         # Even if this section looks crufty: it has the advantage of
3957         # actually working.
3958         break;;
3959     * )
3960         break;;
3961   esac
3962 done
3963 test "$ac_cv_exeext" = no && ac_cv_exeext=
3964
3965 else
3966   ac_file=''
3967 fi
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3969 $as_echo "$ac_file" >&6; }
3970 if test -z "$ac_file"; then :
3971   $as_echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3973
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 { as_fn_set_status 77
3977 as_fn_error "C compiler cannot create executables
3978 See \`config.log' for more details." "$LINENO" 5; }; }
3979 fi
3980 ac_exeext=$ac_cv_exeext
3981
3982 # Check that the compiler produces executables we can run.  If not, either
3983 # the compiler is broken, or we cross compile.
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3985 $as_echo_n "checking whether the C compiler works... " >&6; }
3986 # If not cross compiling, check that we can run a simple program.
3987 if test "$cross_compiling" != yes; then
3988   if { ac_try='./$ac_file'
3989   { { case "(($ac_try" in
3990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991   *) ac_try_echo=$ac_try;;
3992 esac
3993 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3994 $as_echo "$ac_try_echo"; } >&5
3995   (eval "$ac_try") 2>&5
3996   ac_status=$?
3997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3998   test $ac_status = 0; }; }; then
3999     cross_compiling=no
4000   else
4001     if test "$cross_compiling" = maybe; then
4002         cross_compiling=yes
4003     else
4004         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 as_fn_error "cannot run C compiled programs.
4007 If you meant to cross compile, use \`--host'.
4008 See \`config.log' for more details." "$LINENO" 5; }
4009     fi
4010   fi
4011 fi
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4013 $as_echo "yes" >&6; }
4014
4015 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4016 ac_clean_files=$ac_clean_files_save
4017 # Check that the compiler produces executables we can run.  If not, either
4018 # the compiler is broken, or we cross compile.
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4020 $as_echo_n "checking whether we are cross compiling... " >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4022 $as_echo "$cross_compiling" >&6; }
4023
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4025 $as_echo_n "checking for suffix of executables... " >&6; }
4026 if { { ac_try="$ac_link"
4027 case "(($ac_try" in
4028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029   *) ac_try_echo=$ac_try;;
4030 esac
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033   (eval "$ac_link") 2>&5
4034   ac_status=$?
4035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036   test $ac_status = 0; }; then :
4037   # If both `conftest.exe' and `conftest' are `present' (well, observable)
4038 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
4039 # work properly (i.e., refer to `conftest.exe'), while it won't with
4040 # `rm'.
4041 for ac_file in conftest.exe conftest conftest.*; do
4042   test -f "$ac_file" || continue
4043   case $ac_file in
4044     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4045     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4046           break;;
4047     * ) break;;
4048   esac
4049 done
4050 else
4051   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error "cannot compute suffix of executables: cannot compile and link
4054 See \`config.log' for more details." "$LINENO" 5; }
4055 fi
4056 rm -f conftest$ac_cv_exeext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 $as_echo "$ac_cv_exeext" >&6; }
4059
4060 rm -f conftest.$ac_ext
4061 EXEEXT=$ac_cv_exeext
4062 ac_exeext=$EXEEXT
4063 fi
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4065 $as_echo_n "checking for suffix of object files... " >&6; }
4066 if test "${ac_cv_objext+set}" = set; then :
4067   $as_echo_n "(cached) " >&6
4068 else
4069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h.  */
4071
4072 int
4073 main ()
4074 {
4075
4076   ;
4077   return 0;
4078 }
4079 _ACEOF
4080 rm -f conftest.o conftest.obj
4081 if { { ac_try="$ac_compile"
4082 case "(($ac_try" in
4083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084   *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088   (eval "$ac_compile") 2>&5
4089   ac_status=$?
4090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091   test $ac_status = 0; }; then :
4092   for ac_file in conftest.o conftest.obj conftest.*; do
4093   test -f "$ac_file" || continue;
4094   case $ac_file in
4095     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4096     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4097        break;;
4098   esac
4099 done
4100 else
4101   $as_echo "$as_me: failed program was:" >&5
4102 sed 's/^/| /' conftest.$ac_ext >&5
4103
4104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4106 as_fn_error "cannot compute suffix of object files: cannot compile
4107 See \`config.log' for more details." "$LINENO" 5; }
4108 fi
4109 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4110 fi
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4112 $as_echo "$ac_cv_objext" >&6; }
4113 OBJEXT=$ac_cv_objext
4114 ac_objext=$OBJEXT
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4116 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4117 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4118   $as_echo_n "(cached) " >&6
4119 else
4120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h.  */
4122
4123 int
4124 main ()
4125 {
4126 #ifndef __GNUC__
4127        choke me
4128 #endif
4129
4130   ;
4131   return 0;
4132 }
4133 _ACEOF
4134 if ac_fn_c_try_compile "$LINENO"; then :
4135   ac_compiler_gnu=yes
4136 else
4137   ac_compiler_gnu=no
4138 fi
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4140 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4141
4142 fi
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4144 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4145 if test $ac_compiler_gnu = yes; then
4146   GCC=yes
4147 else
4148   GCC=
4149 fi
4150 ac_test_CFLAGS=${CFLAGS+set}
4151 ac_save_CFLAGS=$CFLAGS
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4153 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4154 if test "${ac_cv_prog_cc_g+set}" = set; then :
4155   $as_echo_n "(cached) " >&6
4156 else
4157   ac_save_c_werror_flag=$ac_c_werror_flag
4158    ac_c_werror_flag=yes
4159    ac_cv_prog_cc_g=no
4160    CFLAGS="-g"
4161    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4162 /* end confdefs.h.  */
4163
4164 int
4165 main ()
4166 {
4167
4168   ;
4169   return 0;
4170 }
4171 _ACEOF
4172 if ac_fn_c_try_compile "$LINENO"; then :
4173   ac_cv_prog_cc_g=yes
4174 else
4175   CFLAGS=""
4176       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4177 /* end confdefs.h.  */
4178
4179 int
4180 main ()
4181 {
4182
4183   ;
4184   return 0;
4185 }
4186 _ACEOF
4187 if ac_fn_c_try_compile "$LINENO"; then :
4188
4189 else
4190   ac_c_werror_flag=$ac_save_c_werror_flag
4191          CFLAGS="-g"
4192          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h.  */
4194
4195 int
4196 main ()
4197 {
4198
4199   ;
4200   return 0;
4201 }
4202 _ACEOF
4203 if ac_fn_c_try_compile "$LINENO"; then :
4204   ac_cv_prog_cc_g=yes
4205 fi
4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 fi
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211    ac_c_werror_flag=$ac_save_c_werror_flag
4212 fi
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4214 $as_echo "$ac_cv_prog_cc_g" >&6; }
4215 if test "$ac_test_CFLAGS" = set; then
4216   CFLAGS=$ac_save_CFLAGS
4217 elif test $ac_cv_prog_cc_g = yes; then
4218   if test "$GCC" = yes; then
4219     CFLAGS="-g -O2"
4220   else
4221     CFLAGS="-g"
4222   fi
4223 else
4224   if test "$GCC" = yes; then
4225     CFLAGS="-O2"
4226   else
4227     CFLAGS=
4228   fi
4229 fi
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4231 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4232 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4233   $as_echo_n "(cached) " >&6
4234 else
4235   ac_cv_prog_cc_c89=no
4236 ac_save_CC=$CC
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h.  */
4239 #include <stdarg.h>
4240 #include <stdio.h>
4241 #include <sys/types.h>
4242 #include <sys/stat.h>
4243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4244 struct buf { int x; };
4245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4246 static char *e (p, i)
4247      char **p;
4248      int i;
4249 {
4250   return p[i];
4251 }
4252 static char *f (char * (*g) (char **, int), char **p, ...)
4253 {
4254   char *s;
4255   va_list v;
4256   va_start (v,p);
4257   s = g (p, va_arg (v,int));
4258   va_end (v);
4259   return s;
4260 }
4261
4262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4263    function prototypes and stuff, but not '\xHH' hex character constants.
4264    These don't provoke an error unfortunately, instead are silently treated
4265    as 'x'.  The following induces an error, until -std is added to get
4266    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4267    array size at least.  It's necessary to write '\x00'==0 to get something
4268    that's true only with -std.  */
4269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4270
4271 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4272    inside strings and character constants.  */
4273 #define FOO(x) 'x'
4274 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4275
4276 int test (int i, double x);
4277 struct s1 {int (*f) (int a);};
4278 struct s2 {int (*f) (double a);};
4279 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4280 int argc;
4281 char **argv;
4282 int
4283 main ()
4284 {
4285 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4286   ;
4287   return 0;
4288 }
4289 _ACEOF
4290 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4291         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4292 do
4293   CC="$ac_save_CC $ac_arg"
4294   if ac_fn_c_try_compile "$LINENO"; then :
4295   ac_cv_prog_cc_c89=$ac_arg
4296 fi
4297 rm -f core conftest.err conftest.$ac_objext
4298   test "x$ac_cv_prog_cc_c89" != "xno" && break
4299 done
4300 rm -f conftest.$ac_ext
4301 CC=$ac_save_CC
4302
4303 fi
4304 # AC_CACHE_VAL
4305 case "x$ac_cv_prog_cc_c89" in
4306   x)
4307     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4308 $as_echo "none needed" >&6; } ;;
4309   xno)
4310     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4311 $as_echo "unsupported" >&6; } ;;
4312   *)
4313     CC="$CC $ac_cv_prog_cc_c89"
4314     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4315 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4316 esac
4317 if test "x$ac_cv_prog_cc_c89" != xno; then :
4318
4319 fi
4320
4321 ac_ext=c
4322 ac_cpp='$CPP $CPPFLAGS'
4323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4326
4327 depcc="$CC"   am_compiler_list=
4328
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4330 $as_echo_n "checking dependency style of $depcc... " >&6; }
4331 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4332   $as_echo_n "(cached) " >&6
4333 else
4334   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4335   # We make a subdir and do the tests there.  Otherwise we can end up
4336   # making bogus files that we don't know about and never remove.  For
4337   # instance it was reported that on HP-UX the gcc test will end up
4338   # making a dummy file named `D' -- because `-MD' means `put the output
4339   # in D'.
4340   mkdir conftest.dir
4341   # Copy depcomp to subdir because otherwise we won't find it if we're
4342   # using a relative directory.
4343   cp "$am_depcomp" conftest.dir
4344   cd conftest.dir
4345   # We will build objects and dependencies in a subdirectory because
4346   # it helps to detect inapplicable dependency modes.  For instance
4347   # both Tru64's cc and ICC support -MD to output dependencies as a
4348   # side effect of compilation, but ICC will put the dependencies in
4349   # the current directory while Tru64 will put them in the object
4350   # directory.
4351   mkdir sub
4352
4353   am_cv_CC_dependencies_compiler_type=none
4354   if test "$am_compiler_list" = ""; then
4355      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4356   fi
4357   am__universal=false
4358   case " $depcc " in #(
4359      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4360      esac
4361
4362   for depmode in $am_compiler_list; do
4363     # Setup a source with many dependencies, because some compilers
4364     # like to wrap large dependency lists on column 80 (with \), and
4365     # we should not choose a depcomp mode which is confused by this.
4366     #
4367     # We need to recreate these files for each test, as the compiler may
4368     # overwrite some of them when testing with obscure command lines.
4369     # This happens at least with the AIX C compiler.
4370     : > sub/conftest.c
4371     for i in 1 2 3 4 5 6; do
4372       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4373       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4374       # Solaris 8's {/usr,}/bin/sh.
4375       touch sub/conftst$i.h
4376     done
4377     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4378
4379     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4380     # mode.  It turns out that the SunPro C++ compiler does not properly
4381     # handle `-M -o', and we need to detect this.  Also, some Intel
4382     # versions had trouble with output in subdirs
4383     am__obj=sub/conftest.${OBJEXT-o}
4384     am__minus_obj="-o $am__obj"
4385     case $depmode in
4386     gcc)
4387       # This depmode causes a compiler race in universal mode.
4388       test "$am__universal" = false || continue
4389       ;;
4390     nosideeffect)
4391       # after this tag, mechanisms are not by side-effect, so they'll
4392       # only be used when explicitly requested
4393       if test "x$enable_dependency_tracking" = xyes; then
4394         continue
4395       else
4396         break
4397       fi
4398       ;;
4399     msvisualcpp | msvcmsys)
4400       # This compiler won't grok `-c -o', but also, the minuso test has
4401       # not run yet.  These depmodes are late enough in the game, and
4402       # so weak that their functioning should not be impacted.
4403       am__obj=conftest.${OBJEXT-o}
4404       am__minus_obj=
4405       ;;
4406     none) break ;;
4407     esac
4408     if depmode=$depmode \
4409        source=sub/conftest.c object=$am__obj \
4410        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4411        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4412          >/dev/null 2>conftest.err &&
4413        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4414        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4415        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4416        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4417       # icc doesn't choke on unknown options, it will just issue warnings
4418       # or remarks (even with -Werror).  So we grep stderr for any message
4419       # that says an option was ignored or not supported.
4420       # When given -MP, icc 7.0 and 7.1 complain thusly:
4421       #   icc: Command line warning: ignoring option '-M'; no argument required
4422       # The diagnosis changed in icc 8.0:
4423       #   icc: Command line remark: option '-MP' not supported
4424       if (grep 'ignoring option' conftest.err ||
4425           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4426         am_cv_CC_dependencies_compiler_type=$depmode
4427         break
4428       fi
4429     fi
4430   done
4431
4432   cd ..
4433   rm -rf conftest.dir
4434 else
4435   am_cv_CC_dependencies_compiler_type=none
4436 fi
4437
4438 fi
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4440 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4441 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4442
4443  if
4444   test "x$enable_dependency_tracking" != xno \
4445   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4446   am__fastdepCC_TRUE=
4447   am__fastdepCC_FALSE='#'
4448 else
4449   am__fastdepCC_TRUE='#'
4450   am__fastdepCC_FALSE=
4451 fi
4452
4453
4454
4455 ac_ext=c
4456 ac_cpp='$CPP $CPPFLAGS'
4457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4461 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4462 # On Suns, sometimes $CPP names a directory.
4463 if test -n "$CPP" && test -d "$CPP"; then
4464   CPP=
4465 fi
4466 if test -z "$CPP"; then
4467   if test "${ac_cv_prog_CPP+set}" = set; then :
4468   $as_echo_n "(cached) " >&6
4469 else
4470       # Double quotes because CPP needs to be expanded
4471     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4472     do
4473       ac_preproc_ok=false
4474 for ac_c_preproc_warn_flag in '' yes
4475 do
4476   # Use a header file that comes with gcc, so configuring glibc
4477   # with a fresh cross-compiler works.
4478   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4479   # <limits.h> exists even on freestanding compilers.
4480   # On the NeXT, cc -E runs the code through the compiler's parser,
4481   # not just through cpp. "Syntax error" is here to catch this case.
4482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4483 /* end confdefs.h.  */
4484 #ifdef __STDC__
4485 # include <limits.h>
4486 #else
4487 # include <assert.h>
4488 #endif
4489                      Syntax error
4490 _ACEOF
4491 if ac_fn_c_try_cpp "$LINENO"; then :
4492
4493 else
4494   # Broken: fails on valid input.
4495 continue
4496 fi
4497 rm -f conftest.err conftest.$ac_ext
4498
4499   # OK, works on sane cases.  Now check whether nonexistent headers
4500   # can be detected and how.
4501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h.  */
4503 #include <ac_nonexistent.h>
4504 _ACEOF
4505 if ac_fn_c_try_cpp "$LINENO"; then :
4506   # Broken: success on invalid input.
4507 continue
4508 else
4509   # Passes both tests.
4510 ac_preproc_ok=:
4511 break
4512 fi
4513 rm -f conftest.err conftest.$ac_ext
4514
4515 done
4516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4517 rm -f conftest.err conftest.$ac_ext
4518 if $ac_preproc_ok; then :
4519   break
4520 fi
4521
4522     done
4523     ac_cv_prog_CPP=$CPP
4524
4525 fi
4526   CPP=$ac_cv_prog_CPP
4527 else
4528   ac_cv_prog_CPP=$CPP
4529 fi
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4531 $as_echo "$CPP" >&6; }
4532 ac_preproc_ok=false
4533 for ac_c_preproc_warn_flag in '' yes
4534 do
4535   # Use a header file that comes with gcc, so configuring glibc
4536   # with a fresh cross-compiler works.
4537   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4538   # <limits.h> exists even on freestanding compilers.
4539   # On the NeXT, cc -E runs the code through the compiler's parser,
4540   # not just through cpp. "Syntax error" is here to catch this case.
4541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h.  */
4543 #ifdef __STDC__
4544 # include <limits.h>
4545 #else
4546 # include <assert.h>
4547 #endif
4548                      Syntax error
4549 _ACEOF
4550 if ac_fn_c_try_cpp "$LINENO"; then :
4551
4552 else
4553   # Broken: fails on valid input.
4554 continue
4555 fi
4556 rm -f conftest.err conftest.$ac_ext
4557
4558   # OK, works on sane cases.  Now check whether nonexistent headers
4559   # can be detected and how.
4560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h.  */
4562 #include <ac_nonexistent.h>
4563 _ACEOF
4564 if ac_fn_c_try_cpp "$LINENO"; then :
4565   # Broken: success on invalid input.
4566 continue
4567 else
4568   # Passes both tests.
4569 ac_preproc_ok=:
4570 break
4571 fi
4572 rm -f conftest.err conftest.$ac_ext
4573
4574 done
4575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4576 rm -f conftest.err conftest.$ac_ext
4577 if $ac_preproc_ok; then :
4578
4579 else
4580   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4582 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4583 See \`config.log' for more details." "$LINENO" 5; }
4584 fi
4585
4586 ac_ext=c
4587 ac_cpp='$CPP $CPPFLAGS'
4588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4591
4592
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4594 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4595 if test "${ac_cv_path_GREP+set}" = set; then :
4596   $as_echo_n "(cached) " >&6
4597 else
4598   if test -z "$GREP"; then
4599   ac_path_GREP_found=false
4600   # Loop through the user's path and test for each of PROGNAME-LIST
4601   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4602 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4603 do
4604   IFS=$as_save_IFS
4605   test -z "$as_dir" && as_dir=.
4606     for ac_prog in grep ggrep; do
4607     for ac_exec_ext in '' $ac_executable_extensions; do
4608       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4609       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4610 # Check for GNU ac_path_GREP and select it if it is found.
4611   # Check for GNU $ac_path_GREP
4612 case `"$ac_path_GREP" --version 2>&1` in
4613 *GNU*)
4614   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4615 *)
4616   ac_count=0
4617   $as_echo_n 0123456789 >"conftest.in"
4618   while :
4619   do
4620     cat "conftest.in" "conftest.in" >"conftest.tmp"
4621     mv "conftest.tmp" "conftest.in"
4622     cp "conftest.in" "conftest.nl"
4623     $as_echo 'GREP' >> "conftest.nl"
4624     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4625     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4626     as_fn_arith $ac_count + 1 && ac_count=$as_val
4627     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4628       # Best one so far, save it but keep looking for a better one
4629       ac_cv_path_GREP="$ac_path_GREP"
4630       ac_path_GREP_max=$ac_count
4631     fi
4632     # 10*(2^10) chars as input seems more than enough
4633     test $ac_count -gt 10 && break
4634   done
4635   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4636 esac
4637
4638       $ac_path_GREP_found && break 3
4639     done
4640   done
4641   done
4642 IFS=$as_save_IFS
4643   if test -z "$ac_cv_path_GREP"; then
4644     as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4645   fi
4646 else
4647   ac_cv_path_GREP=$GREP
4648 fi
4649
4650 fi
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4652 $as_echo "$ac_cv_path_GREP" >&6; }
4653  GREP="$ac_cv_path_GREP"
4654
4655
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4657 $as_echo_n "checking for egrep... " >&6; }
4658 if test "${ac_cv_path_EGREP+set}" = set; then :
4659   $as_echo_n "(cached) " >&6
4660 else
4661   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4662    then ac_cv_path_EGREP="$GREP -E"
4663    else
4664      if test -z "$EGREP"; then
4665   ac_path_EGREP_found=false
4666   # Loop through the user's path and test for each of PROGNAME-LIST
4667   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4669 do
4670   IFS=$as_save_IFS
4671   test -z "$as_dir" && as_dir=.
4672     for ac_prog in egrep; do
4673     for ac_exec_ext in '' $ac_executable_extensions; do
4674       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4675       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4676 # Check for GNU ac_path_EGREP and select it if it is found.
4677   # Check for GNU $ac_path_EGREP
4678 case `"$ac_path_EGREP" --version 2>&1` in
4679 *GNU*)
4680   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4681 *)
4682   ac_count=0
4683   $as_echo_n 0123456789 >"conftest.in"
4684   while :
4685   do
4686     cat "conftest.in" "conftest.in" >"conftest.tmp"
4687     mv "conftest.tmp" "conftest.in"
4688     cp "conftest.in" "conftest.nl"
4689     $as_echo 'EGREP' >> "conftest.nl"
4690     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4691     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4692     as_fn_arith $ac_count + 1 && ac_count=$as_val
4693     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4694       # Best one so far, save it but keep looking for a better one
4695       ac_cv_path_EGREP="$ac_path_EGREP"
4696       ac_path_EGREP_max=$ac_count
4697     fi
4698     # 10*(2^10) chars as input seems more than enough
4699     test $ac_count -gt 10 && break
4700   done
4701   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4702 esac
4703
4704       $ac_path_EGREP_found && break 3
4705     done
4706   done
4707   done
4708 IFS=$as_save_IFS
4709   if test -z "$ac_cv_path_EGREP"; then
4710     as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4711   fi
4712 else
4713   ac_cv_path_EGREP=$EGREP
4714 fi
4715
4716    fi
4717 fi
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4719 $as_echo "$ac_cv_path_EGREP" >&6; }
4720  EGREP="$ac_cv_path_EGREP"
4721
4722
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4724 $as_echo_n "checking for ANSI C header files... " >&6; }
4725 if test "${ac_cv_header_stdc+set}" = set; then :
4726   $as_echo_n "(cached) " >&6
4727 else
4728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h.  */
4730 #include <stdlib.h>
4731 #include <stdarg.h>
4732 #include <string.h>
4733 #include <float.h>
4734
4735 int
4736 main ()
4737 {
4738
4739   ;
4740   return 0;
4741 }
4742 _ACEOF
4743 if ac_fn_c_try_compile "$LINENO"; then :
4744   ac_cv_header_stdc=yes
4745 else
4746   ac_cv_header_stdc=no
4747 fi
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749
4750 if test $ac_cv_header_stdc = yes; then
4751   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4753 /* end confdefs.h.  */
4754 #include <string.h>
4755
4756 _ACEOF
4757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4758   $EGREP "memchr" >/dev/null 2>&1; then :
4759
4760 else
4761   ac_cv_header_stdc=no
4762 fi
4763 rm -f conftest*
4764
4765 fi
4766
4767 if test $ac_cv_header_stdc = yes; then
4768   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h.  */
4771 #include <stdlib.h>
4772
4773 _ACEOF
4774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4775   $EGREP "free" >/dev/null 2>&1; then :
4776
4777 else
4778   ac_cv_header_stdc=no
4779 fi
4780 rm -f conftest*
4781
4782 fi
4783
4784 if test $ac_cv_header_stdc = yes; then
4785   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4786   if test "$cross_compiling" = yes; then :
4787   :
4788 else
4789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h.  */
4791 #include <ctype.h>
4792 #include <stdlib.h>
4793 #if ((' ' & 0x0FF) == 0x020)
4794 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4795 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4796 #else
4797 # define ISLOWER(c) \
4798                    (('a' <= (c) && (c) <= 'i') \
4799                      || ('j' <= (c) && (c) <= 'r') \
4800                      || ('s' <= (c) && (c) <= 'z'))
4801 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4802 #endif
4803
4804 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4805 int
4806 main ()
4807 {
4808   int i;
4809   for (i = 0; i < 256; i++)
4810     if (XOR (islower (i), ISLOWER (i))
4811         || toupper (i) != TOUPPER (i))
4812       return 2;
4813   return 0;
4814 }
4815 _ACEOF
4816 if ac_fn_c_try_run "$LINENO"; then :
4817
4818 else
4819   ac_cv_header_stdc=no
4820 fi
4821 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4822   conftest.$ac_objext conftest.beam conftest.$ac_ext
4823 fi
4824
4825 fi
4826 fi
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4828 $as_echo "$ac_cv_header_stdc" >&6; }
4829 if test $ac_cv_header_stdc = yes; then
4830
4831 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4832
4833 fi
4834
4835 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4836 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4837                   inttypes.h stdint.h unistd.h
4838 do :
4839   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4840 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4841 "
4842 eval as_val=\$$as_ac_Header
4843    if test "x$as_val" = x""yes; then :
4844   cat >>confdefs.h <<_ACEOF
4845 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4846 _ACEOF
4847
4848 fi
4849
4850 done
4851
4852
4853
4854   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4855 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4856   MINIX=yes
4857 else
4858   MINIX=
4859 fi
4860
4861
4862   if test "$MINIX" = yes; then
4863
4864 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4865
4866
4867 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4868
4869
4870 $as_echo "#define _MINIX 1" >>confdefs.h
4871
4872   fi
4873
4874
4875   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4876 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4877 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4878   $as_echo_n "(cached) " >&6
4879 else
4880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h.  */
4882
4883 #         define __EXTENSIONS__ 1
4884           $ac_includes_default
4885 int
4886 main ()
4887 {
4888
4889   ;
4890   return 0;
4891 }
4892 _ACEOF
4893 if ac_fn_c_try_compile "$LINENO"; then :
4894   ac_cv_safe_to_define___extensions__=yes
4895 else
4896   ac_cv_safe_to_define___extensions__=no
4897 fi
4898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4899 fi
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4901 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4902   test $ac_cv_safe_to_define___extensions__ = yes &&
4903     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4904
4905   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4906
4907   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4908
4909   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4910
4911   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4912
4913
4914
4915 # Calculate toolexeclibdir
4916 # Also toolexecdir, though it's only used in toolexeclibdir
4917 case ${version_specific_libs} in
4918   yes)
4919     # Need the gcc compiler version to know where to install libraries
4920     # and header files if --enable-version-specific-runtime-libs option
4921     # is selected.
4922     toolexecdir='$(libdir)/gcc/$(target_alias)'
4923     toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
4924     ;;
4925   no)
4926     if test -n "$with_cross_host" &&
4927        test x"$with_cross_host" != x"no"; then
4928       # Install a library built with a cross compiler in tooldir, not libdir.
4929       toolexecdir='$(exec_prefix)/$(target_alias)'
4930       toolexeclibdir='$(toolexecdir)/lib'
4931     else
4932       toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
4933       toolexeclibdir='$(libdir)'
4934     fi
4935     multi_os_directory=`$CC -print-multi-os-directory`
4936     case $multi_os_directory in
4937       .) ;; # Avoid trailing /.
4938       *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
4939     esac
4940     ;;
4941 esac
4942
4943
4944
4945 # Create a spec file, so that compile/link tests don't fail
4946 test -f libgfortran.spec || touch libgfortran.spec
4947
4948 ac_ext=c
4949 ac_cpp='$CPP $CPPFLAGS'
4950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4953
4954 # Check the compiler.
4955 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
4956 # We must force CC to /not/ be precious variables; otherwise
4957 # the wrong, non-multilib-adjusted value will be used in multilibs.
4958 # As a side effect, we have to subst CFLAGS ourselves.
4959
4960
4961
4962 ac_ext=c
4963 ac_cpp='$CPP $CPPFLAGS'
4964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4967 if test -n "$ac_tool_prefix"; then
4968   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4969 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4971 $as_echo_n "checking for $ac_word... " >&6; }
4972 if test "${ac_cv_prog_CC+set}" = set; then :
4973   $as_echo_n "(cached) " >&6
4974 else
4975   if test -n "$CC"; then
4976   ac_cv_prog_CC="$CC" # Let the user override the test.
4977 else
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH
4980 do
4981   IFS=$as_save_IFS
4982   test -z "$as_dir" && as_dir=.
4983     for ac_exec_ext in '' $ac_executable_extensions; do
4984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4985     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4987     break 2
4988   fi
4989 done
4990   done
4991 IFS=$as_save_IFS
4992
4993 fi
4994 fi
4995 CC=$ac_cv_prog_CC
4996 if test -n "$CC"; then
4997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4998 $as_echo "$CC" >&6; }
4999 else
5000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5001 $as_echo "no" >&6; }
5002 fi
5003
5004
5005 fi
5006 if test -z "$ac_cv_prog_CC"; then
5007   ac_ct_CC=$CC
5008   # Extract the first word of "gcc", so it can be a program name with args.
5009 set dummy gcc; ac_word=$2
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5013   $as_echo_n "(cached) " >&6
5014 else
5015   if test -n "$ac_ct_CC"; then
5016   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5017 else
5018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019 for as_dir in $PATH
5020 do
5021   IFS=$as_save_IFS
5022   test -z "$as_dir" && as_dir=.
5023     for ac_exec_ext in '' $ac_executable_extensions; do
5024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025     ac_cv_prog_ac_ct_CC="gcc"
5026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027     break 2
5028   fi
5029 done
5030   done
5031 IFS=$as_save_IFS
5032
5033 fi
5034 fi
5035 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5036 if test -n "$ac_ct_CC"; then
5037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5038 $as_echo "$ac_ct_CC" >&6; }
5039 else
5040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5041 $as_echo "no" >&6; }
5042 fi
5043
5044   if test "x$ac_ct_CC" = x; then
5045     CC=""
5046   else
5047     case $cross_compiling:$ac_tool_warned in
5048 yes:)
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5051 ac_tool_warned=yes ;;
5052 esac
5053     CC=$ac_ct_CC
5054   fi
5055 else
5056   CC="$ac_cv_prog_CC"
5057 fi
5058
5059 if test -z "$CC"; then
5060           if test -n "$ac_tool_prefix"; then
5061     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5062 set dummy ${ac_tool_prefix}cc; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_CC+set}" = set; then :
5066   $as_echo_n "(cached) " >&6
5067 else
5068   if test -n "$CC"; then
5069   ac_cv_prog_CC="$CC" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074   IFS=$as_save_IFS
5075   test -z "$as_dir" && as_dir=.
5076     for ac_exec_ext in '' $ac_executable_extensions; do
5077   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078     ac_cv_prog_CC="${ac_tool_prefix}cc"
5079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080     break 2
5081   fi
5082 done
5083   done
5084 IFS=$as_save_IFS
5085
5086 fi
5087 fi
5088 CC=$ac_cv_prog_CC
5089 if test -n "$CC"; then
5090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5091 $as_echo "$CC" >&6; }
5092 else
5093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 fi
5096
5097
5098   fi
5099 fi
5100 if test -z "$CC"; then
5101   # Extract the first word of "cc", so it can be a program name with args.
5102 set dummy cc; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if test "${ac_cv_prog_CC+set}" = set; then :
5106   $as_echo_n "(cached) " >&6
5107 else
5108   if test -n "$CC"; then
5109   ac_cv_prog_CC="$CC" # Let the user override the test.
5110 else
5111   ac_prog_rejected=no
5112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113 for as_dir in $PATH
5114 do
5115   IFS=$as_save_IFS
5116   test -z "$as_dir" && as_dir=.
5117     for ac_exec_ext in '' $ac_executable_extensions; do
5118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5119     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5120        ac_prog_rejected=yes
5121        continue
5122      fi
5123     ac_cv_prog_CC="cc"
5124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125     break 2
5126   fi
5127 done
5128   done
5129 IFS=$as_save_IFS
5130
5131 if test $ac_prog_rejected = yes; then
5132   # We found a bogon in the path, so make sure we never use it.
5133   set dummy $ac_cv_prog_CC
5134   shift
5135   if test $# != 0; then
5136     # We chose a different compiler from the bogus one.
5137     # However, it has the same basename, so the bogon will be chosen
5138     # first if we set CC to just the basename; use the full file name.
5139     shift
5140     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5141   fi
5142 fi
5143 fi
5144 fi
5145 CC=$ac_cv_prog_CC
5146 if test -n "$CC"; then
5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5148 $as_echo "$CC" >&6; }
5149 else
5150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5152 fi
5153
5154
5155 fi
5156 if test -z "$CC"; then
5157   if test -n "$ac_tool_prefix"; then
5158   for ac_prog in cl.exe
5159   do
5160     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5161 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_CC+set}" = set; then :
5165   $as_echo_n "(cached) " >&6
5166 else
5167   if test -n "$CC"; then
5168   ac_cv_prog_CC="$CC" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173   IFS=$as_save_IFS
5174   test -z "$as_dir" && as_dir=.
5175     for ac_exec_ext in '' $ac_executable_extensions; do
5176   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5178     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179     break 2
5180   fi
5181 done
5182   done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 CC=$ac_cv_prog_CC
5188 if test -n "$CC"; then
5189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5190 $as_echo "$CC" >&6; }
5191 else
5192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196
5197     test -n "$CC" && break
5198   done
5199 fi
5200 if test -z "$CC"; then
5201   ac_ct_CC=$CC
5202   for ac_prog in cl.exe
5203 do
5204   # Extract the first word of "$ac_prog", so it can be a program name with args.
5205 set dummy $ac_prog; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5209   $as_echo_n "(cached) " >&6
5210 else
5211   if test -n "$ac_ct_CC"; then
5212   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5216 do
5217   IFS=$as_save_IFS
5218   test -z "$as_dir" && as_dir=.
5219     for ac_exec_ext in '' $ac_executable_extensions; do
5220   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221     ac_cv_prog_ac_ct_CC="$ac_prog"
5222     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223     break 2
5224   fi
5225 done
5226   done
5227 IFS=$as_save_IFS
5228
5229 fi
5230 fi
5231 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5232 if test -n "$ac_ct_CC"; then
5233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5234 $as_echo "$ac_ct_CC" >&6; }
5235 else
5236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5238 fi
5239
5240
5241   test -n "$ac_ct_CC" && break
5242 done
5243
5244   if test "x$ac_ct_CC" = x; then
5245     CC=""
5246   else
5247     case $cross_compiling:$ac_tool_warned in
5248 yes:)
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5251 ac_tool_warned=yes ;;
5252 esac
5253     CC=$ac_ct_CC
5254   fi
5255 fi
5256
5257 fi
5258
5259
5260 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5262 as_fn_error "no acceptable C compiler found in \$PATH
5263 See \`config.log' for more details." "$LINENO" 5; }
5264
5265 # Provide some information about the compiler.
5266 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5267 set X $ac_compile
5268 ac_compiler=$2
5269 for ac_option in --version -v -V -qversion; do
5270   { { ac_try="$ac_compiler $ac_option >&5"
5271 case "(($ac_try" in
5272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5273   *) ac_try_echo=$ac_try;;
5274 esac
5275 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5276 $as_echo "$ac_try_echo"; } >&5
5277   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5278   ac_status=$?
5279   if test -s conftest.err; then
5280     sed '10a\
5281 ... rest of stderr output deleted ...
5282          10q' conftest.err >conftest.er1
5283     cat conftest.er1 >&5
5284     rm -f conftest.er1 conftest.err
5285   fi
5286   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5287   test $ac_status = 0; }
5288 done
5289
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5291 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5292 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5293   $as_echo_n "(cached) " >&6
5294 else
5295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h.  */
5297
5298 int
5299 main ()
5300 {
5301 #ifndef __GNUC__
5302        choke me
5303 #endif
5304
5305   ;
5306   return 0;
5307 }
5308 _ACEOF
5309 if ac_fn_c_try_compile "$LINENO"; then :
5310   ac_compiler_gnu=yes
5311 else
5312   ac_compiler_gnu=no
5313 fi
5314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5315 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5316
5317 fi
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5319 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5320 if test $ac_compiler_gnu = yes; then
5321   GCC=yes
5322 else
5323   GCC=
5324 fi
5325 ac_test_CFLAGS=${CFLAGS+set}
5326 ac_save_CFLAGS=$CFLAGS
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5328 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5329 if test "${ac_cv_prog_cc_g+set}" = set; then :
5330   $as_echo_n "(cached) " >&6
5331 else
5332   ac_save_c_werror_flag=$ac_c_werror_flag
5333    ac_c_werror_flag=yes
5334    ac_cv_prog_cc_g=no
5335    CFLAGS="-g"
5336    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h.  */
5338
5339 int
5340 main ()
5341 {
5342
5343   ;
5344   return 0;
5345 }
5346 _ACEOF
5347 if ac_fn_c_try_compile "$LINENO"; then :
5348   ac_cv_prog_cc_g=yes
5349 else
5350   CFLAGS=""
5351       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h.  */
5353
5354 int
5355 main ()
5356 {
5357
5358   ;
5359   return 0;
5360 }
5361 _ACEOF
5362 if ac_fn_c_try_compile "$LINENO"; then :
5363
5364 else
5365   ac_c_werror_flag=$ac_save_c_werror_flag
5366          CFLAGS="-g"
5367          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5368 /* end confdefs.h.  */
5369
5370 int
5371 main ()
5372 {
5373
5374   ;
5375   return 0;
5376 }
5377 _ACEOF
5378 if ac_fn_c_try_compile "$LINENO"; then :
5379   ac_cv_prog_cc_g=yes
5380 fi
5381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5382 fi
5383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 fi
5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5386    ac_c_werror_flag=$ac_save_c_werror_flag
5387 fi
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5389 $as_echo "$ac_cv_prog_cc_g" >&6; }
5390 if test "$ac_test_CFLAGS" = set; then
5391   CFLAGS=$ac_save_CFLAGS
5392 elif test $ac_cv_prog_cc_g = yes; then
5393   if test "$GCC" = yes; then
5394     CFLAGS="-g -O2"
5395   else
5396     CFLAGS="-g"
5397   fi
5398 else
5399   if test "$GCC" = yes; then
5400     CFLAGS="-O2"
5401   else
5402     CFLAGS=
5403   fi
5404 fi
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5406 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5407 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5408   $as_echo_n "(cached) " >&6
5409 else
5410   ac_cv_prog_cc_c89=no
5411 ac_save_CC=$CC
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h.  */
5414 #include <stdarg.h>
5415 #include <stdio.h>
5416 #include <sys/types.h>
5417 #include <sys/stat.h>
5418 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5419 struct buf { int x; };
5420 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5421 static char *e (p, i)
5422      char **p;
5423      int i;
5424 {
5425   return p[i];
5426 }
5427 static char *f (char * (*g) (char **, int), char **p, ...)
5428 {
5429   char *s;
5430   va_list v;
5431   va_start (v,p);
5432   s = g (p, va_arg (v,int));
5433   va_end (v);
5434   return s;
5435 }
5436
5437 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5438    function prototypes and stuff, but not '\xHH' hex character constants.
5439    These don't provoke an error unfortunately, instead are silently treated
5440    as 'x'.  The following induces an error, until -std is added to get
5441    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5442    array size at least.  It's necessary to write '\x00'==0 to get something
5443    that's true only with -std.  */
5444 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5445
5446 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5447    inside strings and character constants.  */
5448 #define FOO(x) 'x'
5449 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5450
5451 int test (int i, double x);
5452 struct s1 {int (*f) (int a);};
5453 struct s2 {int (*f) (double a);};
5454 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5455 int argc;
5456 char **argv;
5457 int
5458 main ()
5459 {
5460 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5461   ;
5462   return 0;
5463 }
5464 _ACEOF
5465 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5466         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5467 do
5468   CC="$ac_save_CC $ac_arg"
5469   if ac_fn_c_try_compile "$LINENO"; then :
5470   ac_cv_prog_cc_c89=$ac_arg
5471 fi
5472 rm -f core conftest.err conftest.$ac_objext
5473   test "x$ac_cv_prog_cc_c89" != "xno" && break
5474 done
5475 rm -f conftest.$ac_ext
5476 CC=$ac_save_CC
5477
5478 fi
5479 # AC_CACHE_VAL
5480 case "x$ac_cv_prog_cc_c89" in
5481   x)
5482     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5483 $as_echo "none needed" >&6; } ;;
5484   xno)
5485     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5486 $as_echo "unsupported" >&6; } ;;
5487   *)
5488     CC="$CC $ac_cv_prog_cc_c89"
5489     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5490 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5491 esac
5492 if test "x$ac_cv_prog_cc_c89" != xno; then :
5493
5494 fi
5495
5496 ac_ext=c
5497 ac_cpp='$CPP $CPPFLAGS'
5498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5501
5502 depcc="$CC"   am_compiler_list=
5503
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5505 $as_echo_n "checking dependency style of $depcc... " >&6; }
5506 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5507   $as_echo_n "(cached) " >&6
5508 else
5509   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5510   # We make a subdir and do the tests there.  Otherwise we can end up
5511   # making bogus files that we don't know about and never remove.  For
5512   # instance it was reported that on HP-UX the gcc test will end up
5513   # making a dummy file named `D' -- because `-MD' means `put the output
5514   # in D'.
5515   mkdir conftest.dir
5516   # Copy depcomp to subdir because otherwise we won't find it if we're
5517   # using a relative directory.
5518   cp "$am_depcomp" conftest.dir
5519   cd conftest.dir
5520   # We will build objects and dependencies in a subdirectory because
5521   # it helps to detect inapplicable dependency modes.  For instance
5522   # both Tru64's cc and ICC support -MD to output dependencies as a
5523   # side effect of compilation, but ICC will put the dependencies in
5524   # the current directory while Tru64 will put them in the object
5525   # directory.
5526   mkdir sub
5527
5528   am_cv_CC_dependencies_compiler_type=none
5529   if test "$am_compiler_list" = ""; then
5530      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5531   fi
5532   am__universal=false
5533   case " $depcc " in #(
5534      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5535      esac
5536
5537   for depmode in $am_compiler_list; do
5538     # Setup a source with many dependencies, because some compilers
5539     # like to wrap large dependency lists on column 80 (with \), and
5540     # we should not choose a depcomp mode which is confused by this.
5541     #
5542     # We need to recreate these files for each test, as the compiler may
5543     # overwrite some of them when testing with obscure command lines.
5544     # This happens at least with the AIX C compiler.
5545     : > sub/conftest.c
5546     for i in 1 2 3 4 5 6; do
5547       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5548       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5549       # Solaris 8's {/usr,}/bin/sh.
5550       touch sub/conftst$i.h
5551     done
5552     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5553
5554     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5555     # mode.  It turns out that the SunPro C++ compiler does not properly
5556     # handle `-M -o', and we need to detect this.  Also, some Intel
5557     # versions had trouble with output in subdirs
5558     am__obj=sub/conftest.${OBJEXT-o}
5559     am__minus_obj="-o $am__obj"
5560     case $depmode in
5561     gcc)
5562       # This depmode causes a compiler race in universal mode.
5563       test "$am__universal" = false || continue
5564       ;;
5565     nosideeffect)
5566       # after this tag, mechanisms are not by side-effect, so they'll
5567       # only be used when explicitly requested
5568       if test "x$enable_dependency_tracking" = xyes; then
5569         continue
5570       else
5571         break
5572       fi
5573       ;;
5574     msvisualcpp | msvcmsys)
5575       # This compiler won't grok `-c -o', but also, the minuso test has
5576       # not run yet.  These depmodes are late enough in the game, and
5577       # so weak that their functioning should not be impacted.
5578       am__obj=conftest.${OBJEXT-o}
5579       am__minus_obj=
5580       ;;
5581     none) break ;;
5582     esac
5583     if depmode=$depmode \
5584        source=sub/conftest.c object=$am__obj \
5585        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5586        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5587          >/dev/null 2>conftest.err &&
5588        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5589        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5590        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5591        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5592       # icc doesn't choke on unknown options, it will just issue warnings
5593       # or remarks (even with -Werror).  So we grep stderr for any message
5594       # that says an option was ignored or not supported.
5595       # When given -MP, icc 7.0 and 7.1 complain thusly:
5596       #   icc: Command line warning: ignoring option '-M'; no argument required
5597       # The diagnosis changed in icc 8.0:
5598       #   icc: Command line remark: option '-MP' not supported
5599       if (grep 'ignoring option' conftest.err ||
5600           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5601         am_cv_CC_dependencies_compiler_type=$depmode
5602         break
5603       fi
5604     fi
5605   done
5606
5607   cd ..
5608   rm -rf conftest.dir
5609 else
5610   am_cv_CC_dependencies_compiler_type=none
5611 fi
5612
5613 fi
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5615 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5616 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5617
5618  if
5619   test "x$enable_dependency_tracking" != xno \
5620   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5621   am__fastdepCC_TRUE=
5622   am__fastdepCC_FALSE='#'
5623 else
5624   am__fastdepCC_TRUE='#'
5625   am__fastdepCC_FALSE=
5626 fi
5627
5628
5629
5630
5631
5632
5633 if test "x$CC" != xcc; then
5634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
5635 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
5636 else
5637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
5638 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
5639 fi
5640 set dummy $CC; ac_cc=`$as_echo "$2" |
5641                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5642 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
5643   $as_echo_n "(cached) " >&6
5644 else
5645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5646 /* end confdefs.h.  */
5647
5648 int
5649 main ()
5650 {
5651
5652   ;
5653   return 0;
5654 }
5655 _ACEOF
5656 # Make sure it works both with $CC and with simple cc.
5657 # We do the test twice because some compilers refuse to overwrite an
5658 # existing .o file with -o, though they will create one.
5659 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5660 rm -f conftest2.*
5661 if { { case "(($ac_try" in
5662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5663   *) ac_try_echo=$ac_try;;
5664 esac
5665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5666 $as_echo "$ac_try_echo"; } >&5
5667   (eval "$ac_try") 2>&5
5668   ac_status=$?
5669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5670   test $ac_status = 0; } &&
5671    test -f conftest2.$ac_objext && { { case "(($ac_try" in
5672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5673   *) ac_try_echo=$ac_try;;
5674 esac
5675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5676 $as_echo "$ac_try_echo"; } >&5
5677   (eval "$ac_try") 2>&5
5678   ac_status=$?
5679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5680   test $ac_status = 0; };
5681 then
5682   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5683   if test "x$CC" != xcc; then
5684     # Test first that cc exists at all.
5685     if { ac_try='cc -c conftest.$ac_ext >&5'
5686   { { case "(($ac_try" in
5687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5688   *) ac_try_echo=$ac_try;;
5689 esac
5690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5691 $as_echo "$ac_try_echo"; } >&5
5692   (eval "$ac_try") 2>&5
5693   ac_status=$?
5694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5695   test $ac_status = 0; }; }; then
5696       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5697       rm -f conftest2.*
5698       if { { case "(($ac_try" in
5699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5700   *) ac_try_echo=$ac_try;;
5701 esac
5702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5703 $as_echo "$ac_try_echo"; } >&5
5704   (eval "$ac_try") 2>&5
5705   ac_status=$?
5706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5707   test $ac_status = 0; } &&
5708          test -f conftest2.$ac_objext && { { 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; };
5718       then
5719         # cc works too.
5720         :
5721       else
5722         # cc exists but doesn't like -o.
5723         eval ac_cv_prog_cc_${ac_cc}_c_o=no
5724       fi
5725     fi
5726   fi
5727 else
5728   eval ac_cv_prog_cc_${ac_cc}_c_o=no
5729 fi
5730 rm -f core conftest*
5731
5732 fi
5733 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5735 $as_echo "yes" >&6; }
5736 else
5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5739
5740 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
5741
5742 fi
5743
5744 # FIXME: we rely on the cache variable name because
5745 # there is no other way.
5746 set dummy $CC
5747 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5748 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
5749 if test "$am_t" != yes; then
5750    # Losing compiler, so override with the script.
5751    # FIXME: It is wrong to rewrite CC.
5752    # But if we don't then we get into trouble of one sort or another.
5753    # A longer-term fix would be to have automake use am__CC in this case,
5754    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5755    CC="$am_aux_dir/compile $CC"
5756 fi
5757
5758
5759
5760 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5761 if test "x$GCC" = "xyes"; then
5762   AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5763   ## We like to use C99 routines when available.  This makes sure that
5764   ## __STDC_VERSION__ is set such that libc includes make them available.
5765   AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
5766   ## Compile the following tests with the same system header contents
5767   ## that we'll encounter when compiling our own source files.
5768   CFLAGS="-std=gnu99 $CFLAGS"
5769 fi
5770
5771
5772
5773
5774 # Check for symbol versioning (copied from libssp).
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
5776 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
5777 # Check whether --enable-symvers was given.
5778 if test "${enable_symvers+set}" = set; then :
5779   enableval=$enable_symvers; gfortran_use_symver=$enableval
5780 else
5781   gfortran_use_symver=yes
5782 fi
5783
5784 if test "x$gfortran_use_symver" != xno; then
5785   save_LDFLAGS="$LDFLAGS"
5786   LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
5787   cat > conftest.map <<EOF
5788 FOO_1.0 {
5789   global: *foo*; bar; local: *;
5790 };
5791 EOF
5792   if test x$gcc_no_link = xyes; then
5793   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5794 fi
5795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5796 /* end confdefs.h.  */
5797 int foo;
5798 int
5799 main ()
5800 {
5801
5802   ;
5803   return 0;
5804 }
5805 _ACEOF
5806 if ac_fn_c_try_link "$LINENO"; then :
5807   gfortran_use_symver=gnu
5808 else
5809   gfortran_use_symver=no
5810 fi
5811 rm -f core conftest.err conftest.$ac_objext \
5812     conftest$ac_exeext conftest.$ac_ext
5813   if test x$gfortran_use_symver = xno; then
5814     case "$target_os" in
5815       solaris2*)
5816         LDFLAGS="$save_LDFLAGS"
5817         LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
5818         # Sun ld cannot handle wildcards and treats all entries as undefined.
5819         cat > conftest.map <<EOF
5820 FOO_1.0 {
5821   global: foo; local: *;
5822 };
5823 EOF
5824         if test x$gcc_no_link = xyes; then
5825   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
5826 fi
5827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828 /* end confdefs.h.  */
5829 int foo;
5830 int
5831 main ()
5832 {
5833
5834   ;
5835   return 0;
5836 }
5837 _ACEOF
5838 if ac_fn_c_try_link "$LINENO"; then :
5839   gfortran_use_symver=sun
5840 else
5841   gfortran_use_symver=no
5842 fi
5843 rm -f core conftest.err conftest.$ac_objext \
5844     conftest$ac_exeext conftest.$ac_ext
5845         ;;
5846     esac
5847   fi
5848   LDFLAGS="$save_LDFLAGS"
5849 fi
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
5851 $as_echo "$gfortran_use_symver" >&6; }
5852  if test "x$gfortran_use_symver" != xno; then
5853   LIBGFOR_USE_SYMVER_TRUE=
5854   LIBGFOR_USE_SYMVER_FALSE='#'
5855 else
5856   LIBGFOR_USE_SYMVER_TRUE='#'
5857   LIBGFOR_USE_SYMVER_FALSE=
5858 fi
5859
5860  if test "x$gfortran_use_symver" = xgnu; then
5861   LIBGFOR_USE_SYMVER_GNU_TRUE=
5862   LIBGFOR_USE_SYMVER_GNU_FALSE='#'
5863 else
5864   LIBGFOR_USE_SYMVER_GNU_TRUE='#'
5865   LIBGFOR_USE_SYMVER_GNU_FALSE=
5866 fi
5867
5868  if test "x$gfortran_use_symver" = xsun; then
5869   LIBGFOR_USE_SYMVER_SUN_TRUE=
5870   LIBGFOR_USE_SYMVER_SUN_FALSE='#'
5871 else
5872   LIBGFOR_USE_SYMVER_SUN_TRUE='#'
5873   LIBGFOR_USE_SYMVER_SUN_FALSE=
5874 fi
5875
5876
5877 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
5878 # similarly to how libstdc++ does it
5879 ac_test_CFLAGS="${CFLAGS+set}"
5880 ac_save_CFLAGS="$CFLAGS"
5881
5882 # Check for -ffunction-sections -fdata-sections
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
5884 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
5885 CFLAGS='-Werror -ffunction-sections -fdata-sections'
5886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5887 /* end confdefs.h.  */
5888
5889 int
5890 main ()
5891 {
5892 int foo;
5893   ;
5894   return 0;
5895 }
5896 _ACEOF
5897 if ac_fn_c_try_compile "$LINENO"; then :
5898   ac_fdsections=yes
5899 else
5900   ac_fdsections=no
5901 fi
5902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5903 if test "$ac_test_CFLAGS" = set; then
5904   CFLAGS="$ac_save_CFLAGS"
5905 else
5906   # this is the suspicious part
5907   CFLAGS=""
5908 fi
5909 if test x"$ac_fdsections" = x"yes"; then
5910   SECTION_FLAGS='-ffunction-sections -fdata-sections'
5911 fi
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
5913 $as_echo "$ac_fdsections" >&6; }
5914
5915
5916 # Find other programs we need.
5917 if test -n "$ac_tool_prefix"; then
5918   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5919 set dummy ${ac_tool_prefix}as; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if test "${ac_cv_prog_AS+set}" = set; then :
5923   $as_echo_n "(cached) " >&6
5924 else
5925   if test -n "$AS"; then
5926   ac_cv_prog_AS="$AS" # Let the user override the test.
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5930 do
5931   IFS=$as_save_IFS
5932   test -z "$as_dir" && as_dir=.
5933     for ac_exec_ext in '' $ac_executable_extensions; do
5934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935     ac_cv_prog_AS="${ac_tool_prefix}as"
5936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937     break 2
5938   fi
5939 done
5940   done
5941 IFS=$as_save_IFS
5942
5943 fi
5944 fi
5945 AS=$ac_cv_prog_AS
5946 if test -n "$AS"; then
5947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5948 $as_echo "$AS" >&6; }
5949 else
5950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5952 fi
5953
5954
5955 fi
5956 if test -z "$ac_cv_prog_AS"; then
5957   ac_ct_AS=$AS
5958   # Extract the first word of "as", so it can be a program name with args.
5959 set dummy as; ac_word=$2
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961 $as_echo_n "checking for $ac_word... " >&6; }
5962 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5963   $as_echo_n "(cached) " >&6
5964 else
5965   if test -n "$ac_ct_AS"; then
5966   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5967 else
5968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5969 for as_dir in $PATH
5970 do
5971   IFS=$as_save_IFS
5972   test -z "$as_dir" && as_dir=.
5973     for ac_exec_ext in '' $ac_executable_extensions; do
5974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5975     ac_cv_prog_ac_ct_AS="as"
5976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5977     break 2
5978   fi
5979 done
5980   done
5981 IFS=$as_save_IFS
5982
5983 fi
5984 fi
5985 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5986 if test -n "$ac_ct_AS"; then
5987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5988 $as_echo "$ac_ct_AS" >&6; }
5989 else
5990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991 $as_echo "no" >&6; }
5992 fi
5993
5994   if test "x$ac_ct_AS" = x; then
5995     AS=""
5996   else
5997     case $cross_compiling:$ac_tool_warned in
5998 yes:)
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6001 ac_tool_warned=yes ;;
6002 esac
6003     AS=$ac_ct_AS
6004   fi
6005 else
6006   AS="$ac_cv_prog_AS"
6007 fi
6008
6009 if test -n "$ac_tool_prefix"; then
6010   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6011 set dummy ${ac_tool_prefix}ar; ac_word=$2
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6013 $as_echo_n "checking for $ac_word... " >&6; }
6014 if test "${ac_cv_prog_AR+set}" = set; then :
6015   $as_echo_n "(cached) " >&6
6016 else
6017   if test -n "$AR"; then
6018   ac_cv_prog_AR="$AR" # Let the user override the test.
6019 else
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6022 do
6023   IFS=$as_save_IFS
6024   test -z "$as_dir" && as_dir=.
6025     for ac_exec_ext in '' $ac_executable_extensions; do
6026   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6027     ac_cv_prog_AR="${ac_tool_prefix}ar"
6028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6029     break 2
6030   fi
6031 done
6032   done
6033 IFS=$as_save_IFS
6034
6035 fi
6036 fi
6037 AR=$ac_cv_prog_AR
6038 if test -n "$AR"; then
6039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6040 $as_echo "$AR" >&6; }
6041 else
6042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6043 $as_echo "no" >&6; }
6044 fi
6045
6046
6047 fi
6048 if test -z "$ac_cv_prog_AR"; then
6049   ac_ct_AR=$AR
6050   # Extract the first word of "ar", so it can be a program name with args.
6051 set dummy ar; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6055   $as_echo_n "(cached) " >&6
6056 else
6057   if test -n "$ac_ct_AR"; then
6058   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6062 do
6063   IFS=$as_save_IFS
6064   test -z "$as_dir" && as_dir=.
6065     for ac_exec_ext in '' $ac_executable_extensions; do
6066   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6067     ac_cv_prog_ac_ct_AR="ar"
6068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069     break 2
6070   fi
6071 done
6072   done
6073 IFS=$as_save_IFS
6074
6075 fi
6076 fi
6077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6078 if test -n "$ac_ct_AR"; then
6079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6080 $as_echo "$ac_ct_AR" >&6; }
6081 else
6082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6084 fi
6085
6086   if test "x$ac_ct_AR" = x; then
6087     AR=""
6088   else
6089     case $cross_compiling:$ac_tool_warned in
6090 yes:)
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6093 ac_tool_warned=yes ;;
6094 esac
6095     AR=$ac_ct_AR
6096   fi
6097 else
6098   AR="$ac_cv_prog_AR"
6099 fi
6100
6101 if test -n "$ac_tool_prefix"; then
6102   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6107   $as_echo_n "(cached) " >&6
6108 else
6109   if test -n "$RANLIB"; then
6110   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6111 else
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 for as_dir in $PATH
6114 do
6115   IFS=$as_save_IFS
6116   test -z "$as_dir" && as_dir=.
6117     for ac_exec_ext in '' $ac_executable_extensions; do
6118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6121     break 2
6122   fi
6123 done
6124   done
6125 IFS=$as_save_IFS
6126
6127 fi
6128 fi
6129 RANLIB=$ac_cv_prog_RANLIB
6130 if test -n "$RANLIB"; then
6131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6132 $as_echo "$RANLIB" >&6; }
6133 else
6134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6136 fi
6137
6138
6139 fi
6140 if test -z "$ac_cv_prog_RANLIB"; then
6141   ac_ct_RANLIB=$RANLIB
6142   # Extract the first word of "ranlib", so it can be a program name with args.
6143 set dummy ranlib; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6147   $as_echo_n "(cached) " >&6
6148 else
6149   if test -n "$ac_ct_RANLIB"; then
6150   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6154 do
6155   IFS=$as_save_IFS
6156   test -z "$as_dir" && as_dir=.
6157     for ac_exec_ext in '' $ac_executable_extensions; do
6158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159     ac_cv_prog_ac_ct_RANLIB="ranlib"
6160     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161     break 2
6162   fi
6163 done
6164   done
6165 IFS=$as_save_IFS
6166
6167 fi
6168 fi
6169 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6170 if test -n "$ac_ct_RANLIB"; then
6171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6172 $as_echo "$ac_ct_RANLIB" >&6; }
6173 else
6174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6176 fi
6177
6178   if test "x$ac_ct_RANLIB" = x; then
6179     RANLIB="ranlib-not-found-in-path-error"
6180   else
6181     case $cross_compiling:$ac_tool_warned in
6182 yes:)
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185 ac_tool_warned=yes ;;
6186 esac
6187     RANLIB=$ac_ct_RANLIB
6188   fi
6189 else
6190   RANLIB="$ac_cv_prog_RANLIB"
6191 fi
6192
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6194 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6195 set x ${MAKE-make}
6196 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6197 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
6198   $as_echo_n "(cached) " >&6
6199 else
6200   cat >conftest.make <<\_ACEOF
6201 SHELL = /bin/sh
6202 all:
6203         @echo '@@@%%%=$(MAKE)=@@@%%%'
6204 _ACEOF
6205 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6206 case `${MAKE-make} -f conftest.make 2>/dev/null` in
6207   *@@@%%%=?*=@@@%%%*)
6208     eval ac_cv_prog_make_${ac_make}_set=yes;;
6209   *)
6210     eval ac_cv_prog_make_${ac_make}_set=no;;
6211 esac
6212 rm -f conftest.make
6213 fi
6214 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6216 $as_echo "yes" >&6; }
6217   SET_MAKE=
6218 else
6219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6221   SET_MAKE="MAKE=${MAKE-make}"
6222 fi
6223
6224
6225
6226 # Configure libtool
6227 #AC_MSG_NOTICE([====== Starting libtool configuration])
6228 enable_dlopen=yes
6229
6230
6231
6232 case `pwd` in
6233   *\ * | *\     *)
6234     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6235 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6236 esac
6237
6238
6239
6240 macro_version='2.2.7a'
6241 macro_revision='1.3134'
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255 ltmain="$ac_aux_dir/ltmain.sh"
6256
6257 # Backslashify metacharacters that are still active within
6258 # double-quoted strings.
6259 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6260
6261 # Same as above, but do not quote variable references.
6262 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6263
6264 # Sed substitution to delay expansion of an escaped shell variable in a
6265 # double_quote_subst'ed string.
6266 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6267
6268 # Sed substitution to delay expansion of an escaped single quote.
6269 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6270
6271 # Sed substitution to avoid accidental globbing in evaled expressions
6272 no_glob_subst='s/\*/\\\*/g'
6273
6274 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6275 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6276 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6277
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6279 $as_echo_n "checking how to print strings... " >&6; }
6280 # Test print first, because it will be a builtin if present.
6281 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6282    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6283   ECHO='print -r --'
6284 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6285   ECHO='printf %s\n'
6286 else
6287   # Use this function as a fallback that always works.
6288   func_fallback_echo ()
6289   {
6290     eval 'cat <<_LTECHO_EOF
6291 $1
6292 _LTECHO_EOF'
6293   }
6294   ECHO='func_fallback_echo'
6295 fi
6296
6297 # func_echo_all arg...
6298 # Invoke $ECHO with all args, space-separated.
6299 func_echo_all ()
6300 {
6301     $ECHO ""
6302 }
6303
6304 case "$ECHO" in
6305   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6306 $as_echo "printf" >&6; } ;;
6307   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6308 $as_echo "print -r" >&6; } ;;
6309   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6310 $as_echo "cat" >&6; } ;;
6311 esac
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6327 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6328 if test "${ac_cv_path_SED+set}" = set; then :
6329   $as_echo_n "(cached) " >&6
6330 else
6331             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6332      for ac_i in 1 2 3 4 5 6 7; do
6333        ac_script="$ac_script$as_nl$ac_script"
6334      done
6335      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6336      { ac_script=; unset ac_script;}
6337      if test -z "$SED"; then
6338   ac_path_SED_found=false
6339   # Loop through the user's path and test for each of PROGNAME-LIST
6340   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6342 do
6343   IFS=$as_save_IFS
6344   test -z "$as_dir" && as_dir=.
6345     for ac_prog in sed gsed; do
6346     for ac_exec_ext in '' $ac_executable_extensions; do
6347       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6348       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6349 # Check for GNU ac_path_SED and select it if it is found.
6350   # Check for GNU $ac_path_SED
6351 case `"$ac_path_SED" --version 2>&1` in
6352 *GNU*)
6353   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6354 *)
6355   ac_count=0
6356   $as_echo_n 0123456789 >"conftest.in"
6357   while :
6358   do
6359     cat "conftest.in" "conftest.in" >"conftest.tmp"
6360     mv "conftest.tmp" "conftest.in"
6361     cp "conftest.in" "conftest.nl"
6362     $as_echo '' >> "conftest.nl"
6363     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6364     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6365     as_fn_arith $ac_count + 1 && ac_count=$as_val
6366     if test $ac_count -gt ${ac_path_SED_max-0}; then
6367       # Best one so far, save it but keep looking for a better one
6368       ac_cv_path_SED="$ac_path_SED"
6369       ac_path_SED_max=$ac_count
6370     fi
6371     # 10*(2^10) chars as input seems more than enough
6372     test $ac_count -gt 10 && break
6373   done
6374   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6375 esac
6376
6377       $ac_path_SED_found && break 3
6378     done
6379   done
6380   done
6381 IFS=$as_save_IFS
6382   if test -z "$ac_cv_path_SED"; then
6383     as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
6384   fi
6385 else
6386   ac_cv_path_SED=$SED
6387 fi
6388
6389 fi
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6391 $as_echo "$ac_cv_path_SED" >&6; }
6392  SED="$ac_cv_path_SED"
6393   rm -f conftest.sed
6394
6395 test -z "$SED" && SED=sed
6396 Xsed="$SED -e 1s/^X//"
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6409 $as_echo_n "checking for fgrep... " >&6; }
6410 if test "${ac_cv_path_FGREP+set}" = set; then :
6411   $as_echo_n "(cached) " >&6
6412 else
6413   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6414    then ac_cv_path_FGREP="$GREP -F"
6415    else
6416      if test -z "$FGREP"; then
6417   ac_path_FGREP_found=false
6418   # Loop through the user's path and test for each of PROGNAME-LIST
6419   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6420 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6421 do
6422   IFS=$as_save_IFS
6423   test -z "$as_dir" && as_dir=.
6424     for ac_prog in fgrep; do
6425     for ac_exec_ext in '' $ac_executable_extensions; do
6426       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6427       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6428 # Check for GNU ac_path_FGREP and select it if it is found.
6429   # Check for GNU $ac_path_FGREP
6430 case `"$ac_path_FGREP" --version 2>&1` in
6431 *GNU*)
6432   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6433 *)
6434   ac_count=0
6435   $as_echo_n 0123456789 >"conftest.in"
6436   while :
6437   do
6438     cat "conftest.in" "conftest.in" >"conftest.tmp"
6439     mv "conftest.tmp" "conftest.in"
6440     cp "conftest.in" "conftest.nl"
6441     $as_echo 'FGREP' >> "conftest.nl"
6442     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6443     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6444     as_fn_arith $ac_count + 1 && ac_count=$as_val
6445     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6446       # Best one so far, save it but keep looking for a better one
6447       ac_cv_path_FGREP="$ac_path_FGREP"
6448       ac_path_FGREP_max=$ac_count
6449     fi
6450     # 10*(2^10) chars as input seems more than enough
6451     test $ac_count -gt 10 && break
6452   done
6453   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6454 esac
6455
6456       $ac_path_FGREP_found && break 3
6457     done
6458   done
6459   done
6460 IFS=$as_save_IFS
6461   if test -z "$ac_cv_path_FGREP"; then
6462     as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6463   fi
6464 else
6465   ac_cv_path_FGREP=$FGREP
6466 fi
6467
6468    fi
6469 fi
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6471 $as_echo "$ac_cv_path_FGREP" >&6; }
6472  FGREP="$ac_cv_path_FGREP"
6473
6474
6475 test -z "$GREP" && GREP=grep
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495 # Check whether --with-gnu-ld was given.
6496 if test "${with_gnu_ld+set}" = set; then :
6497   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6498 else
6499   with_gnu_ld=no
6500 fi
6501
6502 ac_prog=ld
6503 if test "$GCC" = yes; then
6504   # Check if gcc -print-prog-name=ld gives a path.
6505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6506 $as_echo_n "checking for ld used by $CC... " >&6; }
6507   case $host in
6508   *-*-mingw*)
6509     # gcc leaves a trailing carriage return which upsets mingw
6510     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6511   *)
6512     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6513   esac
6514   case $ac_prog in
6515     # Accept absolute paths.
6516     [\\/]* | ?:[\\/]*)
6517       re_direlt='/[^/][^/]*/\.\./'
6518       # Canonicalize the pathname of ld
6519       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6520       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6521         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6522       done
6523       test -z "$LD" && LD="$ac_prog"
6524       ;;
6525   "")
6526     # If it fails, then pretend we aren't using GCC.
6527     ac_prog=ld
6528     ;;
6529   *)
6530     # If it is relative, then search for the first ld in PATH.
6531     with_gnu_ld=unknown
6532     ;;
6533   esac
6534 elif test "$with_gnu_ld" = yes; then
6535   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6536 $as_echo_n "checking for GNU ld... " >&6; }
6537 else
6538   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6539 $as_echo_n "checking for non-GNU ld... " >&6; }
6540 fi
6541 if test "${lt_cv_path_LD+set}" = set; then :
6542   $as_echo_n "(cached) " >&6
6543 else
6544   if test -z "$LD"; then
6545   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6546   for ac_dir in $PATH; do
6547     IFS="$lt_save_ifs"
6548     test -z "$ac_dir" && ac_dir=.
6549     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6550       lt_cv_path_LD="$ac_dir/$ac_prog"
6551       # Check to see if the program is GNU ld.  I'd rather use --version,
6552       # but apparently some variants of GNU ld only accept -v.
6553       # Break only if it was the GNU/non-GNU ld that we prefer.
6554       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6555       *GNU* | *'with BFD'*)
6556         test "$with_gnu_ld" != no && break
6557         ;;
6558       *)
6559         test "$with_gnu_ld" != yes && break
6560         ;;
6561       esac
6562     fi
6563   done
6564   IFS="$lt_save_ifs"
6565 else
6566   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6567 fi
6568 fi
6569
6570 LD="$lt_cv_path_LD"
6571 if test -n "$LD"; then
6572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6573 $as_echo "$LD" >&6; }
6574 else
6575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6577 fi
6578 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6580 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6581 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6582   $as_echo_n "(cached) " >&6
6583 else
6584   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6585 case `$LD -v 2>&1 </dev/null` in
6586 *GNU* | *'with BFD'*)
6587   lt_cv_prog_gnu_ld=yes
6588   ;;
6589 *)
6590   lt_cv_prog_gnu_ld=no
6591   ;;
6592 esac
6593 fi
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6595 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6596 with_gnu_ld=$lt_cv_prog_gnu_ld
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6607 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6608 if test "${lt_cv_path_NM+set}" = set; then :
6609   $as_echo_n "(cached) " >&6
6610 else
6611   if test -n "$NM"; then
6612   # Let the user override the test.
6613   lt_cv_path_NM="$NM"
6614 else
6615   lt_nm_to_check="${ac_tool_prefix}nm"
6616   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6617     lt_nm_to_check="$lt_nm_to_check nm"
6618   fi
6619   for lt_tmp_nm in $lt_nm_to_check; do
6620     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6621     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6622       IFS="$lt_save_ifs"
6623       test -z "$ac_dir" && ac_dir=.
6624       tmp_nm="$ac_dir/$lt_tmp_nm"
6625       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6626         # Check to see if the nm accepts a BSD-compat flag.
6627         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6628         #   nm: unknown option "B" ignored
6629         # Tru64's nm complains that /dev/null is an invalid object file
6630         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6631         */dev/null* | *'Invalid file or object type'*)
6632           lt_cv_path_NM="$tmp_nm -B"
6633           break
6634           ;;
6635         *)
6636           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6637           */dev/null*)
6638             lt_cv_path_NM="$tmp_nm -p"
6639             break
6640             ;;
6641           *)
6642             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6643             continue # so that we can try to find one that supports BSD flags
6644             ;;
6645           esac
6646           ;;
6647         esac
6648       fi
6649     done
6650     IFS="$lt_save_ifs"
6651   done
6652   : ${lt_cv_path_NM=no}
6653 fi
6654 fi
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6656 $as_echo "$lt_cv_path_NM" >&6; }
6657 if test "$lt_cv_path_NM" != "no"; then
6658   NM="$lt_cv_path_NM"
6659 else
6660   # Didn't find any BSD compatible name lister, look for dumpbin.
6661   if test -n "$DUMPBIN"; then :
6662     # Let the user override the test.
6663   else
6664     if test -n "$ac_tool_prefix"; then
6665   for ac_prog in dumpbin "link -dump"
6666   do
6667     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6668 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6670 $as_echo_n "checking for $ac_word... " >&6; }
6671 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6672   $as_echo_n "(cached) " >&6
6673 else
6674   if test -n "$DUMPBIN"; then
6675   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6676 else
6677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678 for as_dir in $PATH
6679 do
6680   IFS=$as_save_IFS
6681   test -z "$as_dir" && as_dir=.
6682     for ac_exec_ext in '' $ac_executable_extensions; do
6683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6684     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6685     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686     break 2
6687   fi
6688 done
6689   done
6690 IFS=$as_save_IFS
6691
6692 fi
6693 fi
6694 DUMPBIN=$ac_cv_prog_DUMPBIN
6695 if test -n "$DUMPBIN"; then
6696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6697 $as_echo "$DUMPBIN" >&6; }
6698 else
6699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6700 $as_echo "no" >&6; }
6701 fi
6702
6703
6704     test -n "$DUMPBIN" && break
6705   done
6706 fi
6707 if test -z "$DUMPBIN"; then
6708   ac_ct_DUMPBIN=$DUMPBIN
6709   for ac_prog in dumpbin "link -dump"
6710 do
6711   # Extract the first word of "$ac_prog", so it can be a program name with args.
6712 set dummy $ac_prog; ac_word=$2
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6714 $as_echo_n "checking for $ac_word... " >&6; }
6715 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6716   $as_echo_n "(cached) " >&6
6717 else
6718   if test -n "$ac_ct_DUMPBIN"; then
6719   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6720 else
6721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722 for as_dir in $PATH
6723 do
6724   IFS=$as_save_IFS
6725   test -z "$as_dir" && as_dir=.
6726     for ac_exec_ext in '' $ac_executable_extensions; do
6727   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6728     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6729     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6730     break 2
6731   fi
6732 done
6733   done
6734 IFS=$as_save_IFS
6735
6736 fi
6737 fi
6738 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6739 if test -n "$ac_ct_DUMPBIN"; then
6740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6741 $as_echo "$ac_ct_DUMPBIN" >&6; }
6742 else
6743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6744 $as_echo "no" >&6; }
6745 fi
6746
6747
6748   test -n "$ac_ct_DUMPBIN" && break
6749 done
6750
6751   if test "x$ac_ct_DUMPBIN" = x; then
6752     DUMPBIN=":"
6753   else
6754     case $cross_compiling:$ac_tool_warned in
6755 yes:)
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6758 ac_tool_warned=yes ;;
6759 esac
6760     DUMPBIN=$ac_ct_DUMPBIN
6761   fi
6762 fi
6763
6764     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6765     *COFF*)
6766       DUMPBIN="$DUMPBIN -symbols"
6767       ;;
6768     *)
6769       DUMPBIN=:
6770       ;;
6771     esac
6772   fi
6773
6774   if test "$DUMPBIN" != ":"; then
6775     NM="$DUMPBIN"
6776   fi
6777 fi
6778 test -z "$NM" && NM=nm
6779
6780
6781
6782
6783
6784
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6786 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6787 if test "${lt_cv_nm_interface+set}" = set; then :
6788   $as_echo_n "(cached) " >&6
6789 else
6790   lt_cv_nm_interface="BSD nm"
6791   echo "int some_variable = 0;" > conftest.$ac_ext
6792   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6793   (eval "$ac_compile" 2>conftest.err)
6794   cat conftest.err >&5
6795   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6796   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6797   cat conftest.err >&5
6798   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6799   cat conftest.out >&5
6800   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6801     lt_cv_nm_interface="MS dumpbin"
6802   fi
6803   rm -f conftest*
6804 fi
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6806 $as_echo "$lt_cv_nm_interface" >&6; }
6807
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6809 $as_echo_n "checking whether ln -s works... " >&6; }
6810 LN_S=$as_ln_s
6811 if test "$LN_S" = "ln -s"; then
6812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6813 $as_echo "yes" >&6; }
6814 else
6815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6816 $as_echo "no, using $LN_S" >&6; }
6817 fi
6818
6819 # find the maximum length of command line arguments
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6821 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6822 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6823   $as_echo_n "(cached) " >&6
6824 else
6825     i=0
6826   teststring="ABCD"
6827
6828   case $build_os in
6829   msdosdjgpp*)
6830     # On DJGPP, this test can blow up pretty badly due to problems in libc
6831     # (any single argument exceeding 2000 bytes causes a buffer overrun
6832     # during glob expansion).  Even if it were fixed, the result of this
6833     # check would be larger than it should be.
6834     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6835     ;;
6836
6837   gnu*)
6838     # Under GNU Hurd, this test is not required because there is
6839     # no limit to the length of command line arguments.
6840     # Libtool will interpret -1 as no limit whatsoever
6841     lt_cv_sys_max_cmd_len=-1;
6842     ;;
6843
6844   cygwin* | mingw* | cegcc*)
6845     # On Win9x/ME, this test blows up -- it succeeds, but takes
6846     # about 5 minutes as the teststring grows exponentially.
6847     # Worse, since 9x/ME are not pre-emptively multitasking,
6848     # you end up with a "frozen" computer, even though with patience
6849     # the test eventually succeeds (with a max line length of 256k).
6850     # Instead, let's just punt: use the minimum linelength reported by
6851     # all of the supported platforms: 8192 (on NT/2K/XP).
6852     lt_cv_sys_max_cmd_len=8192;
6853     ;;
6854
6855   mint*)
6856     # On MiNT this can take a long time and run out of memory.
6857     lt_cv_sys_max_cmd_len=8192;
6858     ;;
6859
6860   amigaos*)
6861     # On AmigaOS with pdksh, this test takes hours, literally.
6862     # So we just punt and use a minimum line length of 8192.
6863     lt_cv_sys_max_cmd_len=8192;
6864     ;;
6865
6866   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6867     # This has been around since 386BSD, at least.  Likely further.
6868     if test -x /sbin/sysctl; then
6869       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6870     elif test -x /usr/sbin/sysctl; then
6871       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6872     else
6873       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
6874     fi
6875     # And add a safety zone
6876     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6877     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6878     ;;
6879
6880   interix*)
6881     # We know the value 262144 and hardcode it with a safety zone (like BSD)
6882     lt_cv_sys_max_cmd_len=196608
6883     ;;
6884
6885   osf*)
6886     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6887     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6888     # nice to cause kernel panics so lets avoid the loop below.
6889     # First set a reasonable default.
6890     lt_cv_sys_max_cmd_len=16384
6891     #
6892     if test -x /sbin/sysconfig; then
6893       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6894         *1*) lt_cv_sys_max_cmd_len=-1 ;;
6895       esac
6896     fi
6897     ;;
6898   sco3.2v5*)
6899     lt_cv_sys_max_cmd_len=102400
6900     ;;
6901   sysv5* | sco5v6* | sysv4.2uw2*)
6902     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6903     if test -n "$kargmax"; then
6904       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
6905     else
6906       lt_cv_sys_max_cmd_len=32768
6907     fi
6908     ;;
6909   *)
6910     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6911     if test -n "$lt_cv_sys_max_cmd_len"; then
6912       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6913       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6914     else
6915       # Make teststring a little bigger before we do anything with it.
6916       # a 1K string should be a reasonable start.
6917       for i in 1 2 3 4 5 6 7 8 ; do
6918         teststring=$teststring$teststring
6919       done
6920       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6921       # If test is not a shell built-in, we'll probably end up computing a
6922       # maximum length that is only half of the actual maximum length, but
6923       # we can't tell.
6924       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6925                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6926               test $i != 17 # 1/2 MB should be enough
6927       do
6928         i=`expr $i + 1`
6929         teststring=$teststring$teststring
6930       done
6931       # Only check the string length outside the loop.
6932       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6933       teststring=
6934       # Add a significant safety factor because C++ compilers can tack on
6935       # massive amounts of additional arguments before passing them to the
6936       # linker.  It appears as though 1/2 is a usable value.
6937       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6938     fi
6939     ;;
6940   esac
6941
6942 fi
6943
6944 if test -n $lt_cv_sys_max_cmd_len ; then
6945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6946 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6947 else
6948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6949 $as_echo "none" >&6; }
6950 fi
6951 max_cmd_len=$lt_cv_sys_max_cmd_len
6952
6953
6954
6955
6956
6957
6958 : ${CP="cp -f"}
6959 : ${MV="mv -f"}
6960 : ${RM="rm -f"}
6961
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6963 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6964 # Try some XSI features
6965 xsi_shell=no
6966 ( _lt_dummy="a/b/c"
6967   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6968       = c,a/b,, \
6969     && eval 'test $(( 1 + 1 )) -eq 2 \
6970     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6971   && xsi_shell=yes
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6973 $as_echo "$xsi_shell" >&6; }
6974
6975
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6977 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6978 lt_shell_append=no
6979 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6980     >/dev/null 2>&1 \
6981   && lt_shell_append=yes
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6983 $as_echo "$lt_shell_append" >&6; }
6984
6985
6986 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6987   lt_unset=unset
6988 else
6989   lt_unset=false
6990 fi
6991
6992
6993
6994
6995
6996 # test EBCDIC or ASCII
6997 case `echo X|tr X '\101'` in
6998  A) # ASCII based system
6999     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7000   lt_SP2NL='tr \040 \012'
7001   lt_NL2SP='tr \015\012 \040\040'
7002   ;;
7003  *) # EBCDIC based system
7004   lt_SP2NL='tr \100 \n'
7005   lt_NL2SP='tr \r\n \100\100'
7006   ;;
7007 esac
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7018 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7019 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7020   $as_echo_n "(cached) " >&6
7021 else
7022   lt_cv_ld_reload_flag='-r'
7023 fi
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7025 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7026 reload_flag=$lt_cv_ld_reload_flag
7027 case $reload_flag in
7028 "" | " "*) ;;
7029 *) reload_flag=" $reload_flag" ;;
7030 esac
7031 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7032 case $host_os in
7033   darwin*)
7034     if test "$GCC" = yes; then
7035       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7036     else
7037       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7038     fi
7039     ;;
7040 esac
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050 if test -n "$ac_tool_prefix"; then
7051   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7052 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 $as_echo_n "checking for $ac_word... " >&6; }
7055 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7056   $as_echo_n "(cached) " >&6
7057 else
7058   if test -n "$OBJDUMP"; then
7059   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7060 else
7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7062 for as_dir in $PATH
7063 do
7064   IFS=$as_save_IFS
7065   test -z "$as_dir" && as_dir=.
7066     for ac_exec_ext in '' $ac_executable_extensions; do
7067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7068     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7070     break 2
7071   fi
7072 done
7073   done
7074 IFS=$as_save_IFS
7075
7076 fi
7077 fi
7078 OBJDUMP=$ac_cv_prog_OBJDUMP
7079 if test -n "$OBJDUMP"; then
7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7081 $as_echo "$OBJDUMP" >&6; }
7082 else
7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7084 $as_echo "no" >&6; }
7085 fi
7086
7087
7088 fi
7089 if test -z "$ac_cv_prog_OBJDUMP"; then
7090   ac_ct_OBJDUMP=$OBJDUMP
7091   # Extract the first word of "objdump", so it can be a program name with args.
7092 set dummy objdump; ac_word=$2
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7094 $as_echo_n "checking for $ac_word... " >&6; }
7095 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7096   $as_echo_n "(cached) " >&6
7097 else
7098   if test -n "$ac_ct_OBJDUMP"; then
7099   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7100 else
7101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7102 for as_dir in $PATH
7103 do
7104   IFS=$as_save_IFS
7105   test -z "$as_dir" && as_dir=.
7106     for ac_exec_ext in '' $ac_executable_extensions; do
7107   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7108     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7109     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7110     break 2
7111   fi
7112 done
7113   done
7114 IFS=$as_save_IFS
7115
7116 fi
7117 fi
7118 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7119 if test -n "$ac_ct_OBJDUMP"; then
7120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7121 $as_echo "$ac_ct_OBJDUMP" >&6; }
7122 else
7123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7124 $as_echo "no" >&6; }
7125 fi
7126
7127   if test "x$ac_ct_OBJDUMP" = x; then
7128     OBJDUMP="false"
7129   else
7130     case $cross_compiling:$ac_tool_warned in
7131 yes:)
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7135 esac
7136     OBJDUMP=$ac_ct_OBJDUMP
7137   fi
7138 else
7139   OBJDUMP="$ac_cv_prog_OBJDUMP"
7140 fi
7141
7142 test -z "$OBJDUMP" && OBJDUMP=objdump
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7153 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7154 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7155   $as_echo_n "(cached) " >&6
7156 else
7157   lt_cv_file_magic_cmd='$MAGIC_CMD'
7158 lt_cv_file_magic_test_file=
7159 lt_cv_deplibs_check_method='unknown'
7160 # Need to set the preceding variable on all platforms that support
7161 # interlibrary dependencies.
7162 # 'none' -- dependencies not supported.
7163 # `unknown' -- same as none, but documents that we really don't know.
7164 # 'pass_all' -- all dependencies passed with no checks.
7165 # 'test_compile' -- check by making test program.
7166 # 'file_magic [[regex]]' -- check by looking for files in library path
7167 # which responds to the $file_magic_cmd with a given extended regex.
7168 # If you have `file' or equivalent on your system and you're not sure
7169 # whether `pass_all' will *always* work, you probably want this one.
7170
7171 case $host_os in
7172 aix[4-9]*)
7173   lt_cv_deplibs_check_method=pass_all
7174   ;;
7175
7176 beos*)
7177   lt_cv_deplibs_check_method=pass_all
7178   ;;
7179
7180 bsdi[45]*)
7181   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7182   lt_cv_file_magic_cmd='/usr/bin/file -L'
7183   lt_cv_file_magic_test_file=/shlib/libc.so
7184   ;;
7185
7186 cygwin*)
7187   # func_win32_libid is a shell function defined in ltmain.sh
7188   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7189   lt_cv_file_magic_cmd='func_win32_libid'
7190   ;;
7191
7192 mingw* | pw32*)
7193   # Base MSYS/MinGW do not provide the 'file' command needed by
7194   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7195   # unless we find 'file', for example because we are cross-compiling.
7196   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7197   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7198     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7199     lt_cv_file_magic_cmd='func_win32_libid'
7200   else
7201     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7202     lt_cv_file_magic_cmd='$OBJDUMP -f'
7203   fi
7204   ;;
7205
7206 cegcc*)
7207   # use the weaker test based on 'objdump'. See mingw*.
7208   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7209   lt_cv_file_magic_cmd='$OBJDUMP -f'
7210   ;;
7211
7212 darwin* | rhapsody*)
7213   lt_cv_deplibs_check_method=pass_all
7214   ;;
7215
7216 freebsd* | dragonfly*)
7217   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7218     case $host_cpu in
7219     i*86 )
7220       # Not sure whether the presence of OpenBSD here was a mistake.
7221       # Let's accept both of them until this is cleared up.
7222       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7223       lt_cv_file_magic_cmd=/usr/bin/file
7224       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7225       ;;
7226     esac
7227   else
7228     lt_cv_deplibs_check_method=pass_all
7229   fi
7230   ;;
7231
7232 gnu*)
7233   lt_cv_deplibs_check_method=pass_all
7234   ;;
7235
7236 haiku*)
7237   lt_cv_deplibs_check_method=pass_all
7238   ;;
7239
7240 hpux10.20* | hpux11*)
7241   lt_cv_file_magic_cmd=/usr/bin/file
7242   case $host_cpu in
7243   ia64*)
7244     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7245     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7246     ;;
7247   hppa*64*)
7248     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]'
7249     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7250     ;;
7251   *)
7252     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7253     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7254     ;;
7255   esac
7256   ;;
7257
7258 interix[3-9]*)
7259   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7260   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7261   ;;
7262
7263 irix5* | irix6* | nonstopux*)
7264   case $LD in
7265   *-32|*"-32 ") libmagic=32-bit;;
7266   *-n32|*"-n32 ") libmagic=N32;;
7267   *-64|*"-64 ") libmagic=64-bit;;
7268   *) libmagic=never-match;;
7269   esac
7270   lt_cv_deplibs_check_method=pass_all
7271   ;;
7272
7273 # This must be Linux ELF.
7274 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7275   lt_cv_deplibs_check_method=pass_all
7276   ;;
7277
7278 netbsd*)
7279   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7280     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7281   else
7282     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7283   fi
7284   ;;
7285
7286 newos6*)
7287   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7288   lt_cv_file_magic_cmd=/usr/bin/file
7289   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7290   ;;
7291
7292 *nto* | *qnx*)
7293   lt_cv_deplibs_check_method=pass_all
7294   ;;
7295
7296 openbsd*)
7297   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7298     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7299   else
7300     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7301   fi
7302   ;;
7303
7304 osf3* | osf4* | osf5*)
7305   lt_cv_deplibs_check_method=pass_all
7306   ;;
7307
7308 rdos*)
7309   lt_cv_deplibs_check_method=pass_all
7310   ;;
7311
7312 solaris*)
7313   lt_cv_deplibs_check_method=pass_all
7314   ;;
7315
7316 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7317   lt_cv_deplibs_check_method=pass_all
7318   ;;
7319
7320 sysv4 | sysv4.3*)
7321   case $host_vendor in
7322   motorola)
7323     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]'
7324     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7325     ;;
7326   ncr)
7327     lt_cv_deplibs_check_method=pass_all
7328     ;;
7329   sequent)
7330     lt_cv_file_magic_cmd='/bin/file'
7331     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7332     ;;
7333   sni)
7334     lt_cv_file_magic_cmd='/bin/file'
7335     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7336     lt_cv_file_magic_test_file=/lib/libc.so
7337     ;;
7338   siemens)
7339     lt_cv_deplibs_check_method=pass_all
7340     ;;
7341   pc)
7342     lt_cv_deplibs_check_method=pass_all
7343     ;;
7344   esac
7345   ;;
7346
7347 tpf*)
7348   lt_cv_deplibs_check_method=pass_all
7349   ;;
7350 esac
7351
7352 fi
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7354 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7355 file_magic_cmd=$lt_cv_file_magic_cmd
7356 deplibs_check_method=$lt_cv_deplibs_check_method
7357 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370 if test -n "$ac_tool_prefix"; then
7371   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7372 set dummy ${ac_tool_prefix}ar; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if test "${ac_cv_prog_AR+set}" = set; then :
7376   $as_echo_n "(cached) " >&6
7377 else
7378   if test -n "$AR"; then
7379   ac_cv_prog_AR="$AR" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7383 do
7384   IFS=$as_save_IFS
7385   test -z "$as_dir" && as_dir=.
7386     for ac_exec_ext in '' $ac_executable_extensions; do
7387   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388     ac_cv_prog_AR="${ac_tool_prefix}ar"
7389     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390     break 2
7391   fi
7392 done
7393   done
7394 IFS=$as_save_IFS
7395
7396 fi
7397 fi
7398 AR=$ac_cv_prog_AR
7399 if test -n "$AR"; then
7400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7401 $as_echo "$AR" >&6; }
7402 else
7403   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7405 fi
7406
7407
7408 fi
7409 if test -z "$ac_cv_prog_AR"; then
7410   ac_ct_AR=$AR
7411   # Extract the first word of "ar", so it can be a program name with args.
7412 set dummy ar; ac_word=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 $as_echo_n "checking for $ac_word... " >&6; }
7415 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7416   $as_echo_n "(cached) " >&6
7417 else
7418   if test -n "$ac_ct_AR"; then
7419   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7420 else
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH
7423 do
7424   IFS=$as_save_IFS
7425   test -z "$as_dir" && as_dir=.
7426     for ac_exec_ext in '' $ac_executable_extensions; do
7427   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428     ac_cv_prog_ac_ct_AR="ar"
7429     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430     break 2
7431   fi
7432 done
7433   done
7434 IFS=$as_save_IFS
7435
7436 fi
7437 fi
7438 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7439 if test -n "$ac_ct_AR"; then
7440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7441 $as_echo "$ac_ct_AR" >&6; }
7442 else
7443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7445 fi
7446
7447   if test "x$ac_ct_AR" = x; then
7448     AR="false"
7449   else
7450     case $cross_compiling:$ac_tool_warned in
7451 yes:)
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7454 ac_tool_warned=yes ;;
7455 esac
7456     AR=$ac_ct_AR
7457   fi
7458 else
7459   AR="$ac_cv_prog_AR"
7460 fi
7461
7462 test -z "$AR" && AR=ar
7463 test -z "$AR_FLAGS" && AR_FLAGS=cru
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475 if test -n "$ac_tool_prefix"; then
7476   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7477 set dummy ${ac_tool_prefix}strip; ac_word=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7479 $as_echo_n "checking for $ac_word... " >&6; }
7480 if test "${ac_cv_prog_STRIP+set}" = set; then :
7481   $as_echo_n "(cached) " >&6
7482 else
7483   if test -n "$STRIP"; then
7484   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7485 else
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7487 for as_dir in $PATH
7488 do
7489   IFS=$as_save_IFS
7490   test -z "$as_dir" && as_dir=.
7491     for ac_exec_ext in '' $ac_executable_extensions; do
7492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7493     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7495     break 2
7496   fi
7497 done
7498   done
7499 IFS=$as_save_IFS
7500
7501 fi
7502 fi
7503 STRIP=$ac_cv_prog_STRIP
7504 if test -n "$STRIP"; then
7505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7506 $as_echo "$STRIP" >&6; }
7507 else
7508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7509 $as_echo "no" >&6; }
7510 fi
7511
7512
7513 fi
7514 if test -z "$ac_cv_prog_STRIP"; then
7515   ac_ct_STRIP=$STRIP
7516   # Extract the first word of "strip", so it can be a program name with args.
7517 set dummy strip; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7521   $as_echo_n "(cached) " >&6
7522 else
7523   if test -n "$ac_ct_STRIP"; then
7524   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7525 else
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 for as_dir in $PATH
7528 do
7529   IFS=$as_save_IFS
7530   test -z "$as_dir" && as_dir=.
7531     for ac_exec_ext in '' $ac_executable_extensions; do
7532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533     ac_cv_prog_ac_ct_STRIP="strip"
7534     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535     break 2
7536   fi
7537 done
7538   done
7539 IFS=$as_save_IFS
7540
7541 fi
7542 fi
7543 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7544 if test -n "$ac_ct_STRIP"; then
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7546 $as_echo "$ac_ct_STRIP" >&6; }
7547 else
7548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7550 fi
7551
7552   if test "x$ac_ct_STRIP" = x; then
7553     STRIP=":"
7554   else
7555     case $cross_compiling:$ac_tool_warned in
7556 yes:)
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7559 ac_tool_warned=yes ;;
7560 esac
7561     STRIP=$ac_ct_STRIP
7562   fi
7563 else
7564   STRIP="$ac_cv_prog_STRIP"
7565 fi
7566
7567 test -z "$STRIP" && STRIP=:
7568
7569
7570
7571
7572
7573
7574 if test -n "$ac_tool_prefix"; then
7575   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7576 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7578 $as_echo_n "checking for $ac_word... " >&6; }
7579 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7580   $as_echo_n "(cached) " >&6
7581 else
7582   if test -n "$RANLIB"; then
7583   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7584 else
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586 for as_dir in $PATH
7587 do
7588   IFS=$as_save_IFS
7589   test -z "$as_dir" && as_dir=.
7590     for ac_exec_ext in '' $ac_executable_extensions; do
7591   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7593     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594     break 2
7595   fi
7596 done
7597   done
7598 IFS=$as_save_IFS
7599
7600 fi
7601 fi
7602 RANLIB=$ac_cv_prog_RANLIB
7603 if test -n "$RANLIB"; then
7604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7605 $as_echo "$RANLIB" >&6; }
7606 else
7607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7608 $as_echo "no" >&6; }
7609 fi
7610
7611
7612 fi
7613 if test -z "$ac_cv_prog_RANLIB"; then
7614   ac_ct_RANLIB=$RANLIB
7615   # Extract the first word of "ranlib", so it can be a program name with args.
7616 set dummy ranlib; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7620   $as_echo_n "(cached) " >&6
7621 else
7622   if test -n "$ac_ct_RANLIB"; then
7623   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7627 do
7628   IFS=$as_save_IFS
7629   test -z "$as_dir" && as_dir=.
7630     for ac_exec_ext in '' $ac_executable_extensions; do
7631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632     ac_cv_prog_ac_ct_RANLIB="ranlib"
7633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634     break 2
7635   fi
7636 done
7637   done
7638 IFS=$as_save_IFS
7639
7640 fi
7641 fi
7642 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7643 if test -n "$ac_ct_RANLIB"; then
7644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7645 $as_echo "$ac_ct_RANLIB" >&6; }
7646 else
7647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7649 fi
7650
7651   if test "x$ac_ct_RANLIB" = x; then
7652     RANLIB=":"
7653   else
7654     case $cross_compiling:$ac_tool_warned in
7655 yes:)
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7658 ac_tool_warned=yes ;;
7659 esac
7660     RANLIB=$ac_ct_RANLIB
7661   fi
7662 else
7663   RANLIB="$ac_cv_prog_RANLIB"
7664 fi
7665
7666 test -z "$RANLIB" && RANLIB=:
7667
7668
7669
7670
7671
7672
7673 # Determine commands to create old-style static archives.
7674 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7675 old_postinstall_cmds='chmod 644 $oldlib'
7676 old_postuninstall_cmds=
7677
7678 if test -n "$RANLIB"; then
7679   case $host_os in
7680   openbsd*)
7681     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7682     ;;
7683   *)
7684     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7685     ;;
7686   esac
7687   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7688 fi
7689
7690 case $host_os in
7691   darwin*)
7692     lock_old_archive_extraction=yes ;;
7693   *)
7694     lock_old_archive_extraction=no ;;
7695 esac
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735 # If no C compiler was specified, use CC.
7736 LTCC=${LTCC-"$CC"}
7737
7738 # If no C compiler flags were specified, use CFLAGS.
7739 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7740
7741 # Allow CC to be a program name with arguments.
7742 compiler=$CC
7743
7744
7745 # Check for command to grab the raw symbol name followed by C symbol from nm.
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7747 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7748 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7749   $as_echo_n "(cached) " >&6
7750 else
7751
7752 # These are sane defaults that work on at least a few old systems.
7753 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7754
7755 # Character class describing NM global symbol codes.
7756 symcode='[BCDEGRST]'
7757
7758 # Regexp to match symbols that can be accessed directly from C.
7759 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7760
7761 # Define system-specific variables.
7762 case $host_os in
7763 aix*)
7764   symcode='[BCDT]'
7765   ;;
7766 cygwin* | mingw* | pw32* | cegcc*)
7767   symcode='[ABCDGISTW]'
7768   ;;
7769 hpux*)
7770   if test "$host_cpu" = ia64; then
7771     symcode='[ABCDEGRST]'
7772   fi
7773   ;;
7774 irix* | nonstopux*)
7775   symcode='[BCDEGRST]'
7776   ;;
7777 osf*)
7778   symcode='[BCDEGQRST]'
7779   ;;
7780 solaris*)
7781   symcode='[BDRT]'
7782   ;;
7783 sco3.2v5*)
7784   symcode='[DT]'
7785   ;;
7786 sysv4.2uw2*)
7787   symcode='[DT]'
7788   ;;
7789 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7790   symcode='[ABDT]'
7791   ;;
7792 sysv4)
7793   symcode='[DFNSTU]'
7794   ;;
7795 esac
7796
7797 # If we're using GNU nm, then use its standard symbol codes.
7798 case `$NM -V 2>&1` in
7799 *GNU* | *'with BFD'*)
7800   symcode='[ABCDGIRSTW]' ;;
7801 esac
7802
7803 # Transform an extracted symbol line into a proper C declaration.
7804 # Some systems (esp. on ia64) link data and code symbols differently,
7805 # so use this general approach.
7806 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7807
7808 # Transform an extracted symbol line into symbol name and symbol address
7809 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7810 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'"
7811
7812 # Handle CRLF in mingw tool chain
7813 opt_cr=
7814 case $build_os in
7815 mingw*)
7816   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7817   ;;
7818 esac
7819
7820 # Try without a prefix underscore, then with it.
7821 for ac_symprfx in "" "_"; do
7822
7823   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7824   symxfrm="\\1 $ac_symprfx\\2 \\2"
7825
7826   # Write the raw and C identifiers.
7827   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7828     # Fake it for dumpbin and say T for any non-static function
7829     # and D for any global variable.
7830     # Also find C++ and __fastcall symbols from MSVC++,
7831     # which start with @ or ?.
7832     lt_cv_sys_global_symbol_pipe="$AWK '"\
7833 "     {last_section=section; section=\$ 3};"\
7834 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7835 "     \$ 0!~/External *\|/{next};"\
7836 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7837 "     {if(hide[section]) next};"\
7838 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7839 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7840 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7841 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7842 "     ' prfx=^$ac_symprfx"
7843   else
7844     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7845   fi
7846
7847   # Check to see that the pipe works correctly.
7848   pipe_works=no
7849
7850   rm -f conftest*
7851   cat > conftest.$ac_ext <<_LT_EOF
7852 #ifdef __cplusplus
7853 extern "C" {
7854 #endif
7855 char nm_test_var;
7856 void nm_test_func(void);
7857 void nm_test_func(void){}
7858 #ifdef __cplusplus
7859 }
7860 #endif
7861 int main(){nm_test_var='a';nm_test_func();return(0);}
7862 _LT_EOF
7863
7864   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7865   (eval $ac_compile) 2>&5
7866   ac_status=$?
7867   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7868   test $ac_status = 0; }; then
7869     # Now try to grab the symbols.
7870     nlist=conftest.nm
7871     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7872   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7873   ac_status=$?
7874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7875   test $ac_status = 0; } && test -s "$nlist"; then
7876       # Try sorting and uniquifying the output.
7877       if sort "$nlist" | uniq > "$nlist"T; then
7878         mv -f "$nlist"T "$nlist"
7879       else
7880         rm -f "$nlist"T
7881       fi
7882
7883       # Make sure that we snagged all the symbols we need.
7884       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7885         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7886           cat <<_LT_EOF > conftest.$ac_ext
7887 #ifdef __cplusplus
7888 extern "C" {
7889 #endif
7890
7891 _LT_EOF
7892           # Now generate the symbol file.
7893           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7894
7895           cat <<_LT_EOF >> conftest.$ac_ext
7896
7897 /* The mapping between symbol names and symbols.  */
7898 const struct {
7899   const char *name;
7900   void       *address;
7901 }
7902 lt__PROGRAM__LTX_preloaded_symbols[] =
7903 {
7904   { "@PROGRAM@", (void *) 0 },
7905 _LT_EOF
7906           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7907           cat <<\_LT_EOF >> conftest.$ac_ext
7908   {0, (void *) 0}
7909 };
7910
7911 /* This works around a problem in FreeBSD linker */
7912 #ifdef FREEBSD_WORKAROUND
7913 static const void *lt_preloaded_setup() {
7914   return lt__PROGRAM__LTX_preloaded_symbols;
7915 }
7916 #endif
7917
7918 #ifdef __cplusplus
7919 }
7920 #endif
7921 _LT_EOF
7922           # Now try linking the two files.
7923           mv conftest.$ac_objext conftstm.$ac_objext
7924           lt_save_LIBS="$LIBS"
7925           lt_save_CFLAGS="$CFLAGS"
7926           LIBS="conftstm.$ac_objext"
7927           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7928           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7929   (eval $ac_link) 2>&5
7930   ac_status=$?
7931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7932   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7933             pipe_works=yes
7934           fi
7935           LIBS="$lt_save_LIBS"
7936           CFLAGS="$lt_save_CFLAGS"
7937         else
7938           echo "cannot find nm_test_func in $nlist" >&5
7939         fi
7940       else
7941         echo "cannot find nm_test_var in $nlist" >&5
7942       fi
7943     else
7944       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7945     fi
7946   else
7947     echo "$progname: failed program was:" >&5
7948     cat conftest.$ac_ext >&5
7949   fi
7950   rm -rf conftest* conftst*
7951
7952   # Do not use the global_symbol_pipe unless it works.
7953   if test "$pipe_works" = yes; then
7954     break
7955   else
7956     lt_cv_sys_global_symbol_pipe=
7957   fi
7958 done
7959
7960 fi
7961
7962 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7963   lt_cv_sys_global_symbol_to_cdecl=
7964 fi
7965 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7967 $as_echo "failed" >&6; }
7968 else
7969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7970 $as_echo "ok" >&6; }
7971 fi
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994 # Check whether --enable-libtool-lock was given.
7995 if test "${enable_libtool_lock+set}" = set; then :
7996   enableval=$enable_libtool_lock;
7997 fi
7998
7999 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8000
8001 # Some flags need to be propagated to the compiler or linker for good
8002 # libtool support.
8003 case $host in
8004 ia64-*-hpux*)
8005   # Find out which ABI we are using.
8006   echo 'int i;' > conftest.$ac_ext
8007   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8008   (eval $ac_compile) 2>&5
8009   ac_status=$?
8010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8011   test $ac_status = 0; }; then
8012     case `/usr/bin/file conftest.$ac_objext` in
8013       *ELF-32*)
8014         HPUX_IA64_MODE="32"
8015         ;;
8016       *ELF-64*)
8017         HPUX_IA64_MODE="64"
8018         ;;
8019     esac
8020   fi
8021   rm -rf conftest*
8022   ;;
8023 *-*-irix6*)
8024   # Find out which ABI we are using.
8025   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8026   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8027   (eval $ac_compile) 2>&5
8028   ac_status=$?
8029   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8030   test $ac_status = 0; }; then
8031     if test "$lt_cv_prog_gnu_ld" = yes; then
8032       case `/usr/bin/file conftest.$ac_objext` in
8033         *32-bit*)
8034           LD="${LD-ld} -melf32bsmip"
8035           ;;
8036         *N32*)
8037           LD="${LD-ld} -melf32bmipn32"
8038           ;;
8039         *64-bit*)
8040           LD="${LD-ld} -melf64bmip"
8041         ;;
8042       esac
8043     else
8044       case `/usr/bin/file conftest.$ac_objext` in
8045         *32-bit*)
8046           LD="${LD-ld} -32"
8047           ;;
8048         *N32*)
8049           LD="${LD-ld} -n32"
8050           ;;
8051         *64-bit*)
8052           LD="${LD-ld} -64"
8053           ;;
8054       esac
8055     fi
8056   fi
8057   rm -rf conftest*
8058   ;;
8059
8060 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8061 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8062   # Find out which ABI we are using.
8063   echo 'int i;' > conftest.$ac_ext
8064   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8065   (eval $ac_compile) 2>&5
8066   ac_status=$?
8067   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8068   test $ac_status = 0; }; then
8069     case `/usr/bin/file conftest.o` in
8070       *32-bit*)
8071         case $host in
8072           x86_64-*kfreebsd*-gnu)
8073             LD="${LD-ld} -m elf_i386_fbsd"
8074             ;;
8075           x86_64-*linux*)
8076             case `/usr/bin/file conftest.o` in
8077               *x86-64*)
8078                 LD="${LD-ld} -m elf32_x86_64"
8079                 ;;
8080               *)
8081                 LD="${LD-ld} -m elf_i386"
8082                 ;;
8083             esac
8084             ;;
8085           ppc64-*linux*|powerpc64-*linux*)
8086             LD="${LD-ld} -m elf32ppclinux"
8087             ;;
8088           s390x-*linux*)
8089             LD="${LD-ld} -m elf_s390"
8090             ;;
8091           sparc64-*linux*)
8092             LD="${LD-ld} -m elf32_sparc"
8093             ;;
8094         esac
8095         ;;
8096       *64-bit*)
8097         case $host in
8098           x86_64-*kfreebsd*-gnu)
8099             LD="${LD-ld} -m elf_x86_64_fbsd"
8100             ;;
8101           x86_64-*linux*)
8102             LD="${LD-ld} -m elf_x86_64"
8103             ;;
8104           ppc*-*linux*|powerpc*-*linux*)
8105             LD="${LD-ld} -m elf64ppc"
8106             ;;
8107           s390*-*linux*|s390*-*tpf*)
8108             LD="${LD-ld} -m elf64_s390"
8109             ;;
8110           sparc*-*linux*)
8111             LD="${LD-ld} -m elf64_sparc"
8112             ;;
8113         esac
8114         ;;
8115     esac
8116   fi
8117   rm -rf conftest*
8118   ;;
8119
8120 *-*-sco3.2v5*)
8121   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8122   SAVE_CFLAGS="$CFLAGS"
8123   CFLAGS="$CFLAGS -belf"
8124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8125 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8126 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8127   $as_echo_n "(cached) " >&6
8128 else
8129   ac_ext=c
8130 ac_cpp='$CPP $CPPFLAGS'
8131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8134
8135      if test x$gcc_no_link = xyes; then
8136   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8137 fi
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h.  */
8140
8141 int
8142 main ()
8143 {
8144
8145   ;
8146   return 0;
8147 }
8148 _ACEOF
8149 if ac_fn_c_try_link "$LINENO"; then :
8150   lt_cv_cc_needs_belf=yes
8151 else
8152   lt_cv_cc_needs_belf=no
8153 fi
8154 rm -f core conftest.err conftest.$ac_objext \
8155     conftest$ac_exeext conftest.$ac_ext
8156      ac_ext=c
8157 ac_cpp='$CPP $CPPFLAGS'
8158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8161
8162 fi
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8164 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8165   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8166     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8167     CFLAGS="$SAVE_CFLAGS"
8168   fi
8169   ;;
8170 sparc*-*solaris*)
8171   # Find out which ABI we are using.
8172   echo 'int i;' > conftest.$ac_ext
8173   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8174   (eval $ac_compile) 2>&5
8175   ac_status=$?
8176   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8177   test $ac_status = 0; }; then
8178     case `/usr/bin/file conftest.o` in
8179     *64-bit*)
8180       case $lt_cv_prog_gnu_ld in
8181       yes*) LD="${LD-ld} -m elf64_sparc" ;;
8182       *)
8183         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8184           LD="${LD-ld} -64"
8185         fi
8186         ;;
8187       esac
8188       ;;
8189     esac
8190   fi
8191   rm -rf conftest*
8192   ;;
8193 esac
8194
8195 need_locks="$enable_libtool_lock"
8196
8197
8198   case $host_os in
8199     rhapsody* | darwin*)
8200     if test -n "$ac_tool_prefix"; then
8201   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8202 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8204 $as_echo_n "checking for $ac_word... " >&6; }
8205 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8206   $as_echo_n "(cached) " >&6
8207 else
8208   if test -n "$DSYMUTIL"; then
8209   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8210 else
8211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8212 for as_dir in $PATH
8213 do
8214   IFS=$as_save_IFS
8215   test -z "$as_dir" && as_dir=.
8216     for ac_exec_ext in '' $ac_executable_extensions; do
8217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8218     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8219     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8220     break 2
8221   fi
8222 done
8223   done
8224 IFS=$as_save_IFS
8225
8226 fi
8227 fi
8228 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8229 if test -n "$DSYMUTIL"; then
8230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8231 $as_echo "$DSYMUTIL" >&6; }
8232 else
8233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8234 $as_echo "no" >&6; }
8235 fi
8236
8237
8238 fi
8239 if test -z "$ac_cv_prog_DSYMUTIL"; then
8240   ac_ct_DSYMUTIL=$DSYMUTIL
8241   # Extract the first word of "dsymutil", so it can be a program name with args.
8242 set dummy dsymutil; ac_word=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8244 $as_echo_n "checking for $ac_word... " >&6; }
8245 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8246   $as_echo_n "(cached) " >&6
8247 else
8248   if test -n "$ac_ct_DSYMUTIL"; then
8249   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8250 else
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8252 for as_dir in $PATH
8253 do
8254   IFS=$as_save_IFS
8255   test -z "$as_dir" && as_dir=.
8256     for ac_exec_ext in '' $ac_executable_extensions; do
8257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8258     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8260     break 2
8261   fi
8262 done
8263   done
8264 IFS=$as_save_IFS
8265
8266 fi
8267 fi
8268 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8269 if test -n "$ac_ct_DSYMUTIL"; then
8270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8271 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8272 else
8273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8275 fi
8276
8277   if test "x$ac_ct_DSYMUTIL" = x; then
8278     DSYMUTIL=":"
8279   else
8280     case $cross_compiling:$ac_tool_warned in
8281 yes:)
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8284 ac_tool_warned=yes ;;
8285 esac
8286     DSYMUTIL=$ac_ct_DSYMUTIL
8287   fi
8288 else
8289   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8290 fi
8291
8292     if test -n "$ac_tool_prefix"; then
8293   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8294 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 $as_echo_n "checking for $ac_word... " >&6; }
8297 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8298   $as_echo_n "(cached) " >&6
8299 else
8300   if test -n "$NMEDIT"; then
8301   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8302 else
8303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8304 for as_dir in $PATH
8305 do
8306   IFS=$as_save_IFS
8307   test -z "$as_dir" && as_dir=.
8308     for ac_exec_ext in '' $ac_executable_extensions; do
8309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8310     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8312     break 2
8313   fi
8314 done
8315   done
8316 IFS=$as_save_IFS
8317
8318 fi
8319 fi
8320 NMEDIT=$ac_cv_prog_NMEDIT
8321 if test -n "$NMEDIT"; then
8322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8323 $as_echo "$NMEDIT" >&6; }
8324 else
8325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8326 $as_echo "no" >&6; }
8327 fi
8328
8329
8330 fi
8331 if test -z "$ac_cv_prog_NMEDIT"; then
8332   ac_ct_NMEDIT=$NMEDIT
8333   # Extract the first word of "nmedit", so it can be a program name with args.
8334 set dummy nmedit; ac_word=$2
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8336 $as_echo_n "checking for $ac_word... " >&6; }
8337 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8338   $as_echo_n "(cached) " >&6
8339 else
8340   if test -n "$ac_ct_NMEDIT"; then
8341   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8342 else
8343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8344 for as_dir in $PATH
8345 do
8346   IFS=$as_save_IFS
8347   test -z "$as_dir" && as_dir=.
8348     for ac_exec_ext in '' $ac_executable_extensions; do
8349   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8350     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8352     break 2
8353   fi
8354 done
8355   done
8356 IFS=$as_save_IFS
8357
8358 fi
8359 fi
8360 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8361 if test -n "$ac_ct_NMEDIT"; then
8362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8363 $as_echo "$ac_ct_NMEDIT" >&6; }
8364 else
8365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8366 $as_echo "no" >&6; }
8367 fi
8368
8369   if test "x$ac_ct_NMEDIT" = x; then
8370     NMEDIT=":"
8371   else
8372     case $cross_compiling:$ac_tool_warned in
8373 yes:)
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8375 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8376 ac_tool_warned=yes ;;
8377 esac
8378     NMEDIT=$ac_ct_NMEDIT
8379   fi
8380 else
8381   NMEDIT="$ac_cv_prog_NMEDIT"
8382 fi
8383
8384     if test -n "$ac_tool_prefix"; then
8385   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8386 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if test "${ac_cv_prog_LIPO+set}" = set; then :
8390   $as_echo_n "(cached) " >&6
8391 else
8392   if test -n "$LIPO"; then
8393   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8394 else
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396 for as_dir in $PATH
8397 do
8398   IFS=$as_save_IFS
8399   test -z "$as_dir" && as_dir=.
8400     for ac_exec_ext in '' $ac_executable_extensions; do
8401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8402     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404     break 2
8405   fi
8406 done
8407   done
8408 IFS=$as_save_IFS
8409
8410 fi
8411 fi
8412 LIPO=$ac_cv_prog_LIPO
8413 if test -n "$LIPO"; then
8414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8415 $as_echo "$LIPO" >&6; }
8416 else
8417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8419 fi
8420
8421
8422 fi
8423 if test -z "$ac_cv_prog_LIPO"; then
8424   ac_ct_LIPO=$LIPO
8425   # Extract the first word of "lipo", so it can be a program name with args.
8426 set dummy lipo; ac_word=$2
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8428 $as_echo_n "checking for $ac_word... " >&6; }
8429 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8430   $as_echo_n "(cached) " >&6
8431 else
8432   if test -n "$ac_ct_LIPO"; then
8433   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8434 else
8435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8436 for as_dir in $PATH
8437 do
8438   IFS=$as_save_IFS
8439   test -z "$as_dir" && as_dir=.
8440     for ac_exec_ext in '' $ac_executable_extensions; do
8441   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8442     ac_cv_prog_ac_ct_LIPO="lipo"
8443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8444     break 2
8445   fi
8446 done
8447   done
8448 IFS=$as_save_IFS
8449
8450 fi
8451 fi
8452 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8453 if test -n "$ac_ct_LIPO"; then
8454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8455 $as_echo "$ac_ct_LIPO" >&6; }
8456 else
8457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8459 fi
8460
8461   if test "x$ac_ct_LIPO" = x; then
8462     LIPO=":"
8463   else
8464     case $cross_compiling:$ac_tool_warned in
8465 yes:)
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8468 ac_tool_warned=yes ;;
8469 esac
8470     LIPO=$ac_ct_LIPO
8471   fi
8472 else
8473   LIPO="$ac_cv_prog_LIPO"
8474 fi
8475
8476     if test -n "$ac_tool_prefix"; then
8477   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8478 set dummy ${ac_tool_prefix}otool; ac_word=$2
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8480 $as_echo_n "checking for $ac_word... " >&6; }
8481 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8482   $as_echo_n "(cached) " >&6
8483 else
8484   if test -n "$OTOOL"; then
8485   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8486 else
8487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8488 for as_dir in $PATH
8489 do
8490   IFS=$as_save_IFS
8491   test -z "$as_dir" && as_dir=.
8492     for ac_exec_ext in '' $ac_executable_extensions; do
8493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8494     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8496     break 2
8497   fi
8498 done
8499   done
8500 IFS=$as_save_IFS
8501
8502 fi
8503 fi
8504 OTOOL=$ac_cv_prog_OTOOL
8505 if test -n "$OTOOL"; then
8506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8507 $as_echo "$OTOOL" >&6; }
8508 else
8509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8510 $as_echo "no" >&6; }
8511 fi
8512
8513
8514 fi
8515 if test -z "$ac_cv_prog_OTOOL"; then
8516   ac_ct_OTOOL=$OTOOL
8517   # Extract the first word of "otool", so it can be a program name with args.
8518 set dummy otool; ac_word=$2
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8520 $as_echo_n "checking for $ac_word... " >&6; }
8521 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8522   $as_echo_n "(cached) " >&6
8523 else
8524   if test -n "$ac_ct_OTOOL"; then
8525   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8526 else
8527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8528 for as_dir in $PATH
8529 do
8530   IFS=$as_save_IFS
8531   test -z "$as_dir" && as_dir=.
8532     for ac_exec_ext in '' $ac_executable_extensions; do
8533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8534     ac_cv_prog_ac_ct_OTOOL="otool"
8535     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8536     break 2
8537   fi
8538 done
8539   done
8540 IFS=$as_save_IFS
8541
8542 fi
8543 fi
8544 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8545 if test -n "$ac_ct_OTOOL"; then
8546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8547 $as_echo "$ac_ct_OTOOL" >&6; }
8548 else
8549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8550 $as_echo "no" >&6; }
8551 fi
8552
8553   if test "x$ac_ct_OTOOL" = x; then
8554     OTOOL=":"
8555   else
8556     case $cross_compiling:$ac_tool_warned in
8557 yes:)
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8560 ac_tool_warned=yes ;;
8561 esac
8562     OTOOL=$ac_ct_OTOOL
8563   fi
8564 else
8565   OTOOL="$ac_cv_prog_OTOOL"
8566 fi
8567
8568     if test -n "$ac_tool_prefix"; then
8569   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8570 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8572 $as_echo_n "checking for $ac_word... " >&6; }
8573 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8574   $as_echo_n "(cached) " >&6
8575 else
8576   if test -n "$OTOOL64"; then
8577   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8578 else
8579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8580 for as_dir in $PATH
8581 do
8582   IFS=$as_save_IFS
8583   test -z "$as_dir" && as_dir=.
8584     for ac_exec_ext in '' $ac_executable_extensions; do
8585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8586     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8588     break 2
8589   fi
8590 done
8591   done
8592 IFS=$as_save_IFS
8593
8594 fi
8595 fi
8596 OTOOL64=$ac_cv_prog_OTOOL64
8597 if test -n "$OTOOL64"; then
8598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8599 $as_echo "$OTOOL64" >&6; }
8600 else
8601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8602 $as_echo "no" >&6; }
8603 fi
8604
8605
8606 fi
8607 if test -z "$ac_cv_prog_OTOOL64"; then
8608   ac_ct_OTOOL64=$OTOOL64
8609   # Extract the first word of "otool64", so it can be a program name with args.
8610 set dummy otool64; ac_word=$2
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8612 $as_echo_n "checking for $ac_word... " >&6; }
8613 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8614   $as_echo_n "(cached) " >&6
8615 else
8616   if test -n "$ac_ct_OTOOL64"; then
8617   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8618 else
8619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8620 for as_dir in $PATH
8621 do
8622   IFS=$as_save_IFS
8623   test -z "$as_dir" && as_dir=.
8624     for ac_exec_ext in '' $ac_executable_extensions; do
8625   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8626     ac_cv_prog_ac_ct_OTOOL64="otool64"
8627     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8628     break 2
8629   fi
8630 done
8631   done
8632 IFS=$as_save_IFS
8633
8634 fi
8635 fi
8636 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8637 if test -n "$ac_ct_OTOOL64"; then
8638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8639 $as_echo "$ac_ct_OTOOL64" >&6; }
8640 else
8641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8642 $as_echo "no" >&6; }
8643 fi
8644
8645   if test "x$ac_ct_OTOOL64" = x; then
8646     OTOOL64=":"
8647   else
8648     case $cross_compiling:$ac_tool_warned in
8649 yes:)
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8652 ac_tool_warned=yes ;;
8653 esac
8654     OTOOL64=$ac_ct_OTOOL64
8655   fi
8656 else
8657   OTOOL64="$ac_cv_prog_OTOOL64"
8658 fi
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8687 $as_echo_n "checking for -single_module linker flag... " >&6; }
8688 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8689   $as_echo_n "(cached) " >&6
8690 else
8691   lt_cv_apple_cc_single_mod=no
8692       if test -z "${LT_MULTI_MODULE}"; then
8693         # By default we will add the -single_module flag. You can override
8694         # by either setting the environment variable LT_MULTI_MODULE
8695         # non-empty at configure time, or by adding -multi_module to the
8696         # link flags.
8697         rm -rf libconftest.dylib*
8698         echo "int foo(void){return 1;}" > conftest.c
8699         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8700 -dynamiclib -Wl,-single_module conftest.c" >&5
8701         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8702           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8703         _lt_result=$?
8704         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8705           lt_cv_apple_cc_single_mod=yes
8706         else
8707           cat conftest.err >&5
8708         fi
8709         rm -rf libconftest.dylib*
8710         rm -f conftest.*
8711       fi
8712 fi
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8714 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8716 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8717 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8718   $as_echo_n "(cached) " >&6
8719 else
8720   lt_cv_ld_exported_symbols_list=no
8721       save_LDFLAGS=$LDFLAGS
8722       echo "_main" > conftest.sym
8723       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8724       if test x$gcc_no_link = xyes; then
8725   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8726 fi
8727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8728 /* end confdefs.h.  */
8729
8730 int
8731 main ()
8732 {
8733
8734   ;
8735   return 0;
8736 }
8737 _ACEOF
8738 if ac_fn_c_try_link "$LINENO"; then :
8739   lt_cv_ld_exported_symbols_list=yes
8740 else
8741   lt_cv_ld_exported_symbols_list=no
8742 fi
8743 rm -f core conftest.err conftest.$ac_objext \
8744     conftest$ac_exeext conftest.$ac_ext
8745         LDFLAGS="$save_LDFLAGS"
8746
8747 fi
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8749 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8750     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8751 $as_echo_n "checking for -force_load linker flag... " >&6; }
8752 if test "${lt_cv_ld_force_load+set}" = set; then :
8753   $as_echo_n "(cached) " >&6
8754 else
8755   lt_cv_ld_force_load=no
8756       cat > conftest.c << _LT_EOF
8757 int forced_loaded() { return 2;}
8758 _LT_EOF
8759       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8760       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8761       echo "$AR cru libconftest.a conftest.o" >&5
8762       $AR cru libconftest.a conftest.o 2>&5
8763       cat > conftest.c << _LT_EOF
8764 int main() { return 0;}
8765 _LT_EOF
8766       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8767       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8768       _lt_result=$?
8769       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8770         lt_cv_ld_force_load=yes
8771       else
8772         cat conftest.err >&5
8773       fi
8774         rm -f conftest.err libconftest.a conftest conftest.c
8775         rm -rf conftest.dSYM
8776
8777 fi
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8779 $as_echo "$lt_cv_ld_force_load" >&6; }
8780     case $host_os in
8781     rhapsody* | darwin1.[012])
8782       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8783     darwin1.*)
8784       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8785     darwin*) # darwin 5.x on
8786       # if running on 10.5 or later, the deployment target defaults
8787       # to the OS version, if on x86, and 10.4, the deployment
8788       # target defaults to 10.4. Don't you love it?
8789       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8790         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8791           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8792         10.[012]*)
8793           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8794         10.*)
8795           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8796       esac
8797     ;;
8798   esac
8799     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8800       _lt_dar_single_mod='$single_module'
8801     fi
8802     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8803       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8804     else
8805       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8806     fi
8807     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8808       _lt_dsymutil='~$DSYMUTIL $lib || :'
8809     else
8810       _lt_dsymutil=
8811     fi
8812     ;;
8813   esac
8814
8815 for ac_header in dlfcn.h
8816 do :
8817   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8818 "
8819 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8820   cat >>confdefs.h <<_ACEOF
8821 #define HAVE_DLFCN_H 1
8822 _ACEOF
8823
8824 fi
8825
8826 done
8827
8828
8829
8830
8831
8832 # Set options
8833
8834
8835
8836
8837   enable_win32_dll=no
8838
8839
8840             # Check whether --enable-shared was given.
8841 if test "${enable_shared+set}" = set; then :
8842   enableval=$enable_shared; p=${PACKAGE-default}
8843     case $enableval in
8844     yes) enable_shared=yes ;;
8845     no) enable_shared=no ;;
8846     *)
8847       enable_shared=no
8848       # Look at the argument we got.  We use all the common list separators.
8849       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8850       for pkg in $enableval; do
8851         IFS="$lt_save_ifs"
8852         if test "X$pkg" = "X$p"; then
8853           enable_shared=yes
8854         fi
8855       done
8856       IFS="$lt_save_ifs"
8857       ;;
8858     esac
8859 else
8860   enable_shared=yes
8861 fi
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871   # Check whether --enable-static was given.
8872 if test "${enable_static+set}" = set; then :
8873   enableval=$enable_static; p=${PACKAGE-default}
8874     case $enableval in
8875     yes) enable_static=yes ;;
8876     no) enable_static=no ;;
8877     *)
8878      enable_static=no
8879       # Look at the argument we got.  We use all the common list separators.
8880       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8881       for pkg in $enableval; do
8882         IFS="$lt_save_ifs"
8883         if test "X$pkg" = "X$p"; then
8884           enable_static=yes
8885         fi
8886       done
8887       IFS="$lt_save_ifs"
8888       ;;
8889     esac
8890 else
8891   enable_static=yes
8892 fi
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903 # Check whether --with-pic was given.
8904 if test "${with_pic+set}" = set; then :
8905   withval=$with_pic; pic_mode="$withval"
8906 else
8907   pic_mode=default
8908 fi
8909
8910
8911 test -z "$pic_mode" && pic_mode=default
8912
8913
8914
8915
8916
8917
8918
8919   # Check whether --enable-fast-install was given.
8920 if test "${enable_fast_install+set}" = set; then :
8921   enableval=$enable_fast_install; p=${PACKAGE-default}
8922     case $enableval in
8923     yes) enable_fast_install=yes ;;
8924     no) enable_fast_install=no ;;
8925     *)
8926       enable_fast_install=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_fast_install=yes
8933         fi
8934       done
8935       IFS="$lt_save_ifs"
8936       ;;
8937     esac
8938 else
8939   enable_fast_install=yes
8940 fi
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952 # This can be used to rebuild libtool when needed
8953 LIBTOOL_DEPS="$ltmain"
8954
8955 # Always use our own libtool.
8956 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983 test -z "$LN_S" && LN_S="ln -s"
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998 if test -n "${ZSH_VERSION+set}" ; then
8999    setopt NO_GLOB_SUBST
9000 fi
9001
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9003 $as_echo_n "checking for objdir... " >&6; }
9004 if test "${lt_cv_objdir+set}" = set; then :
9005   $as_echo_n "(cached) " >&6
9006 else
9007   rm -f .libs 2>/dev/null
9008 mkdir .libs 2>/dev/null
9009 if test -d .libs; then
9010   lt_cv_objdir=.libs
9011 else
9012   # MS-DOS does not allow filenames that begin with a dot.
9013   lt_cv_objdir=_libs
9014 fi
9015 rmdir .libs 2>/dev/null
9016 fi
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9018 $as_echo "$lt_cv_objdir" >&6; }
9019 objdir=$lt_cv_objdir
9020
9021
9022
9023
9024
9025 cat >>confdefs.h <<_ACEOF
9026 #define LT_OBJDIR "$lt_cv_objdir/"
9027 _ACEOF
9028
9029
9030
9031
9032 case $host_os in
9033 aix3*)
9034   # AIX sometimes has problems with the GCC collect2 program.  For some
9035   # reason, if we set the COLLECT_NAMES environment variable, the problems
9036   # vanish in a puff of smoke.
9037   if test "X${COLLECT_NAMES+set}" != Xset; then
9038     COLLECT_NAMES=
9039     export COLLECT_NAMES
9040   fi
9041   ;;
9042 esac
9043
9044 # Global variables:
9045 ofile=libtool
9046 can_build_shared=yes
9047
9048 # All known linkers require a `.a' archive for static linking (except MSVC,
9049 # which needs '.lib').
9050 libext=a
9051
9052 with_gnu_ld="$lt_cv_prog_gnu_ld"
9053
9054 old_CC="$CC"
9055 old_CFLAGS="$CFLAGS"
9056
9057 # Set sane defaults for various variables
9058 test -z "$CC" && CC=cc
9059 test -z "$LTCC" && LTCC=$CC
9060 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9061 test -z "$LD" && LD=ld
9062 test -z "$ac_objext" && ac_objext=o
9063
9064 for cc_temp in $compiler""; do
9065   case $cc_temp in
9066     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9067     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9068     \-*) ;;
9069     *) break;;
9070   esac
9071 done
9072 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9073
9074
9075 # Only perform the check for file, if the check method requires it
9076 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9077 case $deplibs_check_method in
9078 file_magic*)
9079   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9081 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9082 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9083   $as_echo_n "(cached) " >&6
9084 else
9085   case $MAGIC_CMD in
9086 [\\/*] |  ?:[\\/]*)
9087   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9088   ;;
9089 *)
9090   lt_save_MAGIC_CMD="$MAGIC_CMD"
9091   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9092   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9093   for ac_dir in $ac_dummy; do
9094     IFS="$lt_save_ifs"
9095     test -z "$ac_dir" && ac_dir=.
9096     if test -f $ac_dir/${ac_tool_prefix}file; then
9097       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9098       if test -n "$file_magic_test_file"; then
9099         case $deplibs_check_method in
9100         "file_magic "*)
9101           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9102           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9103           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9104             $EGREP "$file_magic_regex" > /dev/null; then
9105             :
9106           else
9107             cat <<_LT_EOF 1>&2
9108
9109 *** Warning: the command libtool uses to detect shared libraries,
9110 *** $file_magic_cmd, produces output that libtool cannot recognize.
9111 *** The result is that libtool may fail to recognize shared libraries
9112 *** as such.  This will affect the creation of libtool libraries that
9113 *** depend on shared libraries, but programs linked with such libtool
9114 *** libraries will work regardless of this problem.  Nevertheless, you
9115 *** may want to report the problem to your system manager and/or to
9116 *** bug-libtool@gnu.org
9117
9118 _LT_EOF
9119           fi ;;
9120         esac
9121       fi
9122       break
9123     fi
9124   done
9125   IFS="$lt_save_ifs"
9126   MAGIC_CMD="$lt_save_MAGIC_CMD"
9127   ;;
9128 esac
9129 fi
9130
9131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9132 if test -n "$MAGIC_CMD"; then
9133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9134 $as_echo "$MAGIC_CMD" >&6; }
9135 else
9136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9137 $as_echo "no" >&6; }
9138 fi
9139
9140
9141
9142
9143
9144 if test -z "$lt_cv_path_MAGIC_CMD"; then
9145   if test -n "$ac_tool_prefix"; then
9146     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9147 $as_echo_n "checking for file... " >&6; }
9148 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9149   $as_echo_n "(cached) " >&6
9150 else
9151   case $MAGIC_CMD in
9152 [\\/*] |  ?:[\\/]*)
9153   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9154   ;;
9155 *)
9156   lt_save_MAGIC_CMD="$MAGIC_CMD"
9157   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9158   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9159   for ac_dir in $ac_dummy; do
9160     IFS="$lt_save_ifs"
9161     test -z "$ac_dir" && ac_dir=.
9162     if test -f $ac_dir/file; then
9163       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9164       if test -n "$file_magic_test_file"; then
9165         case $deplibs_check_method in
9166         "file_magic "*)
9167           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9168           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9169           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9170             $EGREP "$file_magic_regex" > /dev/null; then
9171             :
9172           else
9173             cat <<_LT_EOF 1>&2
9174
9175 *** Warning: the command libtool uses to detect shared libraries,
9176 *** $file_magic_cmd, produces output that libtool cannot recognize.
9177 *** The result is that libtool may fail to recognize shared libraries
9178 *** as such.  This will affect the creation of libtool libraries that
9179 *** depend on shared libraries, but programs linked with such libtool
9180 *** libraries will work regardless of this problem.  Nevertheless, you
9181 *** may want to report the problem to your system manager and/or to
9182 *** bug-libtool@gnu.org
9183
9184 _LT_EOF
9185           fi ;;
9186         esac
9187       fi
9188       break
9189     fi
9190   done
9191   IFS="$lt_save_ifs"
9192   MAGIC_CMD="$lt_save_MAGIC_CMD"
9193   ;;
9194 esac
9195 fi
9196
9197 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9198 if test -n "$MAGIC_CMD"; then
9199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9200 $as_echo "$MAGIC_CMD" >&6; }
9201 else
9202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9203 $as_echo "no" >&6; }
9204 fi
9205
9206
9207   else
9208     MAGIC_CMD=:
9209   fi
9210 fi
9211
9212   fi
9213   ;;
9214 esac
9215
9216 # Use C for the default configuration in the libtool script
9217
9218 lt_save_CC="$CC"
9219 ac_ext=c
9220 ac_cpp='$CPP $CPPFLAGS'
9221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9224
9225
9226 # Source file extension for C test sources.
9227 ac_ext=c
9228
9229 # Object file extension for compiled C test sources.
9230 objext=o
9231 objext=$objext
9232
9233 # Code to be used in simple compile tests
9234 lt_simple_compile_test_code="int some_variable = 0;"
9235
9236 # Code to be used in simple link tests
9237 lt_simple_link_test_code='int main(){return(0);}'
9238
9239
9240
9241
9242
9243
9244
9245 # If no C compiler was specified, use CC.
9246 LTCC=${LTCC-"$CC"}
9247
9248 # If no C compiler flags were specified, use CFLAGS.
9249 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9250
9251 # Allow CC to be a program name with arguments.
9252 compiler=$CC
9253
9254 # Save the default compiler, since it gets overwritten when the other
9255 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9256 compiler_DEFAULT=$CC
9257
9258 # save warnings/boilerplate of simple test code
9259 ac_outfile=conftest.$ac_objext
9260 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9261 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9262 _lt_compiler_boilerplate=`cat conftest.err`
9263 $RM conftest*
9264
9265 ac_outfile=conftest.$ac_objext
9266 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9267 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9268 _lt_linker_boilerplate=`cat conftest.err`
9269 $RM -r conftest*
9270
9271
9272 ## CAVEAT EMPTOR:
9273 ## There is no encapsulation within the following macros, do not change
9274 ## the running order or otherwise move them around unless you know exactly
9275 ## what you are doing...
9276 if test -n "$compiler"; then
9277
9278 lt_prog_compiler_no_builtin_flag=
9279
9280 if test "$GCC" = yes; then
9281   case $cc_basename in
9282   nvcc*)
9283     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9284   *)
9285     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9286   esac
9287
9288   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9289 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9290 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9291   $as_echo_n "(cached) " >&6
9292 else
9293   lt_cv_prog_compiler_rtti_exceptions=no
9294    ac_outfile=conftest.$ac_objext
9295    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9296    lt_compiler_flag="-fno-rtti -fno-exceptions"
9297    # Insert the option either (1) after the last *FLAGS variable, or
9298    # (2) before a word containing "conftest.", or (3) at the end.
9299    # Note that $ac_compile itself does not contain backslashes and begins
9300    # with a dollar sign (not a hyphen), so the echo should work correctly.
9301    # The option is referenced via a variable to avoid confusing sed.
9302    lt_compile=`echo "$ac_compile" | $SED \
9303    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9304    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9305    -e 's:$: $lt_compiler_flag:'`
9306    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9307    (eval "$lt_compile" 2>conftest.err)
9308    ac_status=$?
9309    cat conftest.err >&5
9310    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9311    if (exit $ac_status) && test -s "$ac_outfile"; then
9312      # The compiler can only warn and ignore the option if not recognized
9313      # So say no if there are warnings other than the usual output.
9314      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9315      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9316      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9317        lt_cv_prog_compiler_rtti_exceptions=yes
9318      fi
9319    fi
9320    $RM conftest*
9321
9322 fi
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9324 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9325
9326 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9327     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9328 else
9329     :
9330 fi
9331
9332 fi
9333
9334
9335
9336
9337
9338
9339   lt_prog_compiler_wl=
9340 lt_prog_compiler_pic=
9341 lt_prog_compiler_static=
9342
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9344 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9345
9346   if test "$GCC" = yes; then
9347     lt_prog_compiler_wl='-Wl,'
9348     lt_prog_compiler_static='-static'
9349
9350     case $host_os in
9351       aix*)
9352       # All AIX code is PIC.
9353       if test "$host_cpu" = ia64; then
9354         # AIX 5 now supports IA64 processor
9355         lt_prog_compiler_static='-Bstatic'
9356       fi
9357       ;;
9358
9359     amigaos*)
9360       case $host_cpu in
9361       powerpc)
9362             # see comment about AmigaOS4 .so support
9363             lt_prog_compiler_pic='-fPIC'
9364         ;;
9365       m68k)
9366             # FIXME: we need at least 68020 code to build shared libraries, but
9367             # adding the `-m68020' flag to GCC prevents building anything better,
9368             # like `-m68040'.
9369             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9370         ;;
9371       esac
9372       ;;
9373
9374     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9375       # PIC is the default for these OSes.
9376       ;;
9377
9378     mingw* | cygwin* | pw32* | os2* | cegcc*)
9379       # This hack is so that the source file can tell whether it is being
9380       # built for inclusion in a dll (and should export symbols for example).
9381       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9382       # (--disable-auto-import) libraries
9383       lt_prog_compiler_pic='-DDLL_EXPORT'
9384       ;;
9385
9386     darwin* | rhapsody*)
9387       # PIC is the default on this platform
9388       # Common symbols not allowed in MH_DYLIB files
9389       lt_prog_compiler_pic='-fno-common'
9390       ;;
9391
9392     haiku*)
9393       # PIC is the default for Haiku.
9394       # The "-static" flag exists, but is broken.
9395       lt_prog_compiler_static=
9396       ;;
9397
9398     hpux*)
9399       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9400       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9401       # sets the default TLS model and affects inlining.
9402       case $host_cpu in
9403       hppa*64*)
9404         # +Z the default
9405         ;;
9406       *)
9407         lt_prog_compiler_pic='-fPIC'
9408         ;;
9409       esac
9410       ;;
9411
9412     interix[3-9]*)
9413       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9414       # Instead, we relocate shared libraries at runtime.
9415       ;;
9416
9417     msdosdjgpp*)
9418       # Just because we use GCC doesn't mean we suddenly get shared libraries
9419       # on systems that don't support them.
9420       lt_prog_compiler_can_build_shared=no
9421       enable_shared=no
9422       ;;
9423
9424     *nto* | *qnx*)
9425       # QNX uses GNU C++, but need to define -shared option too, otherwise
9426       # it will coredump.
9427       lt_prog_compiler_pic='-fPIC -shared'
9428       ;;
9429
9430     sysv4*MP*)
9431       if test -d /usr/nec; then
9432         lt_prog_compiler_pic=-Kconform_pic
9433       fi
9434       ;;
9435
9436     *)
9437       lt_prog_compiler_pic='-fPIC'
9438       ;;
9439     esac
9440
9441     case $cc_basename in
9442     nvcc*) # Cuda Compiler Driver 2.2
9443       lt_prog_compiler_wl='-Xlinker '
9444       lt_prog_compiler_pic='-Xcompiler -fPIC'
9445       ;;
9446     esac
9447   else
9448     # PORTME Check for flag to pass linker flags through the system compiler.
9449     case $host_os in
9450     aix*)
9451       lt_prog_compiler_wl='-Wl,'
9452       if test "$host_cpu" = ia64; then
9453         # AIX 5 now supports IA64 processor
9454         lt_prog_compiler_static='-Bstatic'
9455       else
9456         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9457       fi
9458       ;;
9459
9460     mingw* | cygwin* | pw32* | os2* | cegcc*)
9461       # This hack is so that the source file can tell whether it is being
9462       # built for inclusion in a dll (and should export symbols for example).
9463       lt_prog_compiler_pic='-DDLL_EXPORT'
9464       ;;
9465
9466     hpux9* | hpux10* | hpux11*)
9467       lt_prog_compiler_wl='-Wl,'
9468       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9469       # not for PA HP-UX.
9470       case $host_cpu in
9471       hppa*64*|ia64*)
9472         # +Z the default
9473         ;;
9474       *)
9475         lt_prog_compiler_pic='+Z'
9476         ;;
9477       esac
9478       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9479       lt_prog_compiler_static='${wl}-a ${wl}archive'
9480       ;;
9481
9482     irix5* | irix6* | nonstopux*)
9483       lt_prog_compiler_wl='-Wl,'
9484       # PIC (with -KPIC) is the default.
9485       lt_prog_compiler_static='-non_shared'
9486       ;;
9487
9488     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9489       case $cc_basename in
9490       # old Intel for x86_64 which still supported -KPIC.
9491       ecc*)
9492         lt_prog_compiler_wl='-Wl,'
9493         lt_prog_compiler_pic='-KPIC'
9494         lt_prog_compiler_static='-static'
9495         ;;
9496       # icc used to be incompatible with GCC.
9497       # ICC 10 doesn't accept -KPIC any more.
9498       icc* | ifort*)
9499         lt_prog_compiler_wl='-Wl,'
9500         lt_prog_compiler_pic='-fPIC'
9501         lt_prog_compiler_static='-static'
9502         ;;
9503       # Lahey Fortran 8.1.
9504       lf95*)
9505         lt_prog_compiler_wl='-Wl,'
9506         lt_prog_compiler_pic='--shared'
9507         lt_prog_compiler_static='--static'
9508         ;;
9509       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9510         # Portland Group compilers (*not* the Pentium gcc compiler,
9511         # which looks to be a dead project)
9512         lt_prog_compiler_wl='-Wl,'
9513         lt_prog_compiler_pic='-fpic'
9514         lt_prog_compiler_static='-Bstatic'
9515         ;;
9516       ccc*)
9517         lt_prog_compiler_wl='-Wl,'
9518         # All Alpha code is PIC.
9519         lt_prog_compiler_static='-non_shared'
9520         ;;
9521       xl* | bgxl* | bgf* | mpixl*)
9522         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9523         lt_prog_compiler_wl='-Wl,'
9524         lt_prog_compiler_pic='-qpic'
9525         lt_prog_compiler_static='-qstaticlink'
9526         ;;
9527       *)
9528         case `$CC -V 2>&1 | sed 5q` in
9529         *Sun\ F* | *Sun*Fortran*)
9530           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9531           lt_prog_compiler_pic='-KPIC'
9532           lt_prog_compiler_static='-Bstatic'
9533           lt_prog_compiler_wl=''
9534           ;;
9535         *Sun\ C*)
9536           # Sun C 5.9
9537           lt_prog_compiler_pic='-KPIC'
9538           lt_prog_compiler_static='-Bstatic'
9539           lt_prog_compiler_wl='-Wl,'
9540           ;;
9541         esac
9542         ;;
9543       esac
9544       ;;
9545
9546     newsos6)
9547       lt_prog_compiler_pic='-KPIC'
9548       lt_prog_compiler_static='-Bstatic'
9549       ;;
9550
9551     *nto* | *qnx*)
9552       # QNX uses GNU C++, but need to define -shared option too, otherwise
9553       # it will coredump.
9554       lt_prog_compiler_pic='-fPIC -shared'
9555       ;;
9556
9557     osf3* | osf4* | osf5*)
9558       lt_prog_compiler_wl='-Wl,'
9559       # All OSF/1 code is PIC.
9560       lt_prog_compiler_static='-non_shared'
9561       ;;
9562
9563     rdos*)
9564       lt_prog_compiler_static='-non_shared'
9565       ;;
9566
9567     solaris*)
9568       lt_prog_compiler_pic='-KPIC'
9569       lt_prog_compiler_static='-Bstatic'
9570       case $cc_basename in
9571       f77* | f90* | f95*)
9572         lt_prog_compiler_wl='-Qoption ld ';;
9573       *)
9574         lt_prog_compiler_wl='-Wl,';;
9575       esac
9576       ;;
9577
9578     sunos4*)
9579       lt_prog_compiler_wl='-Qoption ld '
9580       lt_prog_compiler_pic='-PIC'
9581       lt_prog_compiler_static='-Bstatic'
9582       ;;
9583
9584     sysv4 | sysv4.2uw2* | sysv4.3*)
9585       lt_prog_compiler_wl='-Wl,'
9586       lt_prog_compiler_pic='-KPIC'
9587       lt_prog_compiler_static='-Bstatic'
9588       ;;
9589
9590     sysv4*MP*)
9591       if test -d /usr/nec ;then
9592         lt_prog_compiler_pic='-Kconform_pic'
9593         lt_prog_compiler_static='-Bstatic'
9594       fi
9595       ;;
9596
9597     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9598       lt_prog_compiler_wl='-Wl,'
9599       lt_prog_compiler_pic='-KPIC'
9600       lt_prog_compiler_static='-Bstatic'
9601       ;;
9602
9603     unicos*)
9604       lt_prog_compiler_wl='-Wl,'
9605       lt_prog_compiler_can_build_shared=no
9606       ;;
9607
9608     uts4*)
9609       lt_prog_compiler_pic='-pic'
9610       lt_prog_compiler_static='-Bstatic'
9611       ;;
9612
9613     *)
9614       lt_prog_compiler_can_build_shared=no
9615       ;;
9616     esac
9617   fi
9618
9619 case $host_os in
9620   # For platforms which do not support PIC, -DPIC is meaningless:
9621   *djgpp*)
9622     lt_prog_compiler_pic=
9623     ;;
9624   *)
9625     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9626     ;;
9627 esac
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9629 $as_echo "$lt_prog_compiler_pic" >&6; }
9630
9631
9632
9633
9634
9635
9636 #
9637 # Check to make sure the PIC flag actually works.
9638 #
9639 if test -n "$lt_prog_compiler_pic"; then
9640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9641 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9642 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9643   $as_echo_n "(cached) " >&6
9644 else
9645   lt_cv_prog_compiler_pic_works=no
9646    ac_outfile=conftest.$ac_objext
9647    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9648    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9649    # Insert the option either (1) after the last *FLAGS variable, or
9650    # (2) before a word containing "conftest.", or (3) at the end.
9651    # Note that $ac_compile itself does not contain backslashes and begins
9652    # with a dollar sign (not a hyphen), so the echo should work correctly.
9653    # The option is referenced via a variable to avoid confusing sed.
9654    lt_compile=`echo "$ac_compile" | $SED \
9655    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9656    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9657    -e 's:$: $lt_compiler_flag:'`
9658    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9659    (eval "$lt_compile" 2>conftest.err)
9660    ac_status=$?
9661    cat conftest.err >&5
9662    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663    if (exit $ac_status) && test -s "$ac_outfile"; then
9664      # The compiler can only warn and ignore the option if not recognized
9665      # So say no if there are warnings other than the usual output.
9666      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9667      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9668      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9669        lt_cv_prog_compiler_pic_works=yes
9670      fi
9671    fi
9672    $RM conftest*
9673
9674 fi
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9676 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9677
9678 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9679     case $lt_prog_compiler_pic in
9680      "" | " "*) ;;
9681      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9682      esac
9683 else
9684     lt_prog_compiler_pic=
9685      lt_prog_compiler_can_build_shared=no
9686 fi
9687
9688 fi
9689
9690
9691
9692
9693
9694
9695 #
9696 # Check to make sure the static flag actually works.
9697 #
9698 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9700 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9701 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9702   $as_echo_n "(cached) " >&6
9703 else
9704   lt_cv_prog_compiler_static_works=no
9705    save_LDFLAGS="$LDFLAGS"
9706    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9707    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9708    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9709      # The linker can only warn and ignore the option if not recognized
9710      # So say no if there are warnings
9711      if test -s conftest.err; then
9712        # Append any errors to the config.log.
9713        cat conftest.err 1>&5
9714        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9715        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9716        if diff conftest.exp conftest.er2 >/dev/null; then
9717          lt_cv_prog_compiler_static_works=yes
9718        fi
9719      else
9720        lt_cv_prog_compiler_static_works=yes
9721      fi
9722    fi
9723    $RM -r conftest*
9724    LDFLAGS="$save_LDFLAGS"
9725
9726 fi
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9728 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9729
9730 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9731     :
9732 else
9733     lt_prog_compiler_static=
9734 fi
9735
9736
9737
9738
9739
9740
9741
9742   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9743 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9744 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9745   $as_echo_n "(cached) " >&6
9746 else
9747   lt_cv_prog_compiler_c_o=no
9748    $RM -r conftest 2>/dev/null
9749    mkdir conftest
9750    cd conftest
9751    mkdir out
9752    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9753
9754    lt_compiler_flag="-o out/conftest2.$ac_objext"
9755    # Insert the option either (1) after the last *FLAGS variable, or
9756    # (2) before a word containing "conftest.", or (3) at the end.
9757    # Note that $ac_compile itself does not contain backslashes and begins
9758    # with a dollar sign (not a hyphen), so the echo should work correctly.
9759    lt_compile=`echo "$ac_compile" | $SED \
9760    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9761    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9762    -e 's:$: $lt_compiler_flag:'`
9763    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9764    (eval "$lt_compile" 2>out/conftest.err)
9765    ac_status=$?
9766    cat out/conftest.err >&5
9767    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9769    then
9770      # The compiler can only warn and ignore the option if not recognized
9771      # So say no if there are warnings
9772      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9773      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9774      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9775        lt_cv_prog_compiler_c_o=yes
9776      fi
9777    fi
9778    chmod u+w . 2>&5
9779    $RM conftest*
9780    # SGI C++ compiler will create directory out/ii_files/ for
9781    # template instantiation
9782    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9783    $RM out/* && rmdir out
9784    cd ..
9785    $RM -r conftest
9786    $RM conftest*
9787
9788 fi
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9790 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9791
9792
9793
9794
9795
9796
9797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9799 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9800   $as_echo_n "(cached) " >&6
9801 else
9802   lt_cv_prog_compiler_c_o=no
9803    $RM -r conftest 2>/dev/null
9804    mkdir conftest
9805    cd conftest
9806    mkdir out
9807    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9808
9809    lt_compiler_flag="-o out/conftest2.$ac_objext"
9810    # Insert the option either (1) after the last *FLAGS variable, or
9811    # (2) before a word containing "conftest.", or (3) at the end.
9812    # Note that $ac_compile itself does not contain backslashes and begins
9813    # with a dollar sign (not a hyphen), so the echo should work correctly.
9814    lt_compile=`echo "$ac_compile" | $SED \
9815    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9816    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9817    -e 's:$: $lt_compiler_flag:'`
9818    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9819    (eval "$lt_compile" 2>out/conftest.err)
9820    ac_status=$?
9821    cat out/conftest.err >&5
9822    echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823    if (exit $ac_status) && test -s out/conftest2.$ac_objext
9824    then
9825      # The compiler can only warn and ignore the option if not recognized
9826      # So say no if there are warnings
9827      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9828      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9829      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9830        lt_cv_prog_compiler_c_o=yes
9831      fi
9832    fi
9833    chmod u+w . 2>&5
9834    $RM conftest*
9835    # SGI C++ compiler will create directory out/ii_files/ for
9836    # template instantiation
9837    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9838    $RM out/* && rmdir out
9839    cd ..
9840    $RM -r conftest
9841    $RM conftest*
9842
9843 fi
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9845 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9846
9847
9848
9849
9850 hard_links="nottested"
9851 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9852   # do not overwrite the value of need_locks provided by the user
9853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9854 $as_echo_n "checking if we can lock with hard links... " >&6; }
9855   hard_links=yes
9856   $RM conftest*
9857   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9858   touch conftest.a
9859   ln conftest.a conftest.b 2>&5 || hard_links=no
9860   ln conftest.a conftest.b 2>/dev/null && hard_links=no
9861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9862 $as_echo "$hard_links" >&6; }
9863   if test "$hard_links" = no; then
9864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9865 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9866     need_locks=warn
9867   fi
9868 else
9869   need_locks=no
9870 fi
9871
9872
9873
9874
9875
9876
9877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9878 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9879
9880   runpath_var=
9881   allow_undefined_flag=
9882   always_export_symbols=no
9883   archive_cmds=
9884   archive_expsym_cmds=
9885   compiler_needs_object=no
9886   enable_shared_with_static_runtimes=no
9887   export_dynamic_flag_spec=
9888   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9889   hardcode_automatic=no
9890   hardcode_direct=no
9891   hardcode_direct_absolute=no
9892   hardcode_libdir_flag_spec=
9893   hardcode_libdir_flag_spec_ld=
9894   hardcode_libdir_separator=
9895   hardcode_minus_L=no
9896   hardcode_shlibpath_var=unsupported
9897   inherit_rpath=no
9898   link_all_deplibs=unknown
9899   module_cmds=
9900   module_expsym_cmds=
9901   old_archive_from_new_cmds=
9902   old_archive_from_expsyms_cmds=
9903   thread_safe_flag_spec=
9904   whole_archive_flag_spec=
9905   # include_expsyms should be a list of space-separated symbols to be *always*
9906   # included in the symbol list
9907   include_expsyms=
9908   # exclude_expsyms can be an extended regexp of symbols to exclude
9909   # it will be wrapped by ` (' and `)$', so one must not match beginning or
9910   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9911   # as well as any symbol that contains `d'.
9912   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9913   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9914   # platforms (ab)use it in PIC code, but their linkers get confused if
9915   # the symbol is explicitly referenced.  Since portable code cannot
9916   # rely on this symbol name, it's probably fine to never include it in
9917   # preloaded symbol tables.
9918   # Exclude shared library initialization/finalization symbols.
9919   extract_expsyms_cmds=
9920
9921   case $host_os in
9922   cygwin* | mingw* | pw32* | cegcc*)
9923     # FIXME: the MSVC++ port hasn't been tested in a loooong time
9924     # When not using gcc, we currently assume that we are using
9925     # Microsoft Visual C++.
9926     if test "$GCC" != yes; then
9927       with_gnu_ld=no
9928     fi
9929     ;;
9930   interix*)
9931     # we just hope/assume this is gcc and not c89 (= MSVC++)
9932     with_gnu_ld=yes
9933     ;;
9934   openbsd*)
9935     with_gnu_ld=no
9936     ;;
9937   esac
9938
9939   ld_shlibs=yes
9940
9941   # On some targets, GNU ld is compatible enough with the native linker
9942   # that we're better off using the native interface for both.
9943   lt_use_gnu_ld_interface=no
9944   if test "$with_gnu_ld" = yes; then
9945     case $host_os in
9946       aix*)
9947         # The AIX port of GNU ld has always aspired to compatibility
9948         # with the native linker.  However, as the warning in the GNU ld
9949         # block says, versions before 2.19.5* couldn't really create working
9950         # shared libraries, regardless of the interface used.
9951         case `$LD -v 2>&1` in
9952           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9953           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9954           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9955           *)
9956             lt_use_gnu_ld_interface=yes
9957             ;;
9958         esac
9959         ;;
9960       *)
9961         lt_use_gnu_ld_interface=yes
9962         ;;
9963     esac
9964   fi
9965
9966   if test "$lt_use_gnu_ld_interface" = yes; then
9967     # If archive_cmds runs LD, not CC, wlarc should be empty
9968     wlarc='${wl}'
9969
9970     # Set some defaults for GNU ld with shared library support. These
9971     # are reset later if shared libraries are not supported. Putting them
9972     # here allows them to be overridden if necessary.
9973     runpath_var=LD_RUN_PATH
9974     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975     export_dynamic_flag_spec='${wl}--export-dynamic'
9976     # ancient GNU ld didn't support --whole-archive et. al.
9977     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9978       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9979     else
9980       whole_archive_flag_spec=
9981     fi
9982     supports_anon_versioning=no
9983     case `$LD -v 2>&1` in
9984       *GNU\ gold*) supports_anon_versioning=yes ;;
9985       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9986       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9987       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9988       *\ 2.11.*) ;; # other 2.11 versions
9989       *) supports_anon_versioning=yes ;;
9990     esac
9991
9992     # See if GNU ld supports shared libraries.
9993     case $host_os in
9994     aix[3-9]*)
9995       # On AIX/PPC, the GNU linker is very broken
9996       if test "$host_cpu" != ia64; then
9997         ld_shlibs=no
9998         cat <<_LT_EOF 1>&2
9999
10000 *** Warning: the GNU linker, at least up to release 2.19, is reported
10001 *** to be unable to reliably create shared libraries on AIX.
10002 *** Therefore, libtool is disabling shared libraries support.  If you
10003 *** really care for shared libraries, you may want to install binutils
10004 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10005 *** You will then need to restart the configuration process.
10006
10007 _LT_EOF
10008       fi
10009       ;;
10010
10011     amigaos*)
10012       case $host_cpu in
10013       powerpc)
10014             # see comment about AmigaOS4 .so support
10015             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10016             archive_expsym_cmds=''
10017         ;;
10018       m68k)
10019             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)'
10020             hardcode_libdir_flag_spec='-L$libdir'
10021             hardcode_minus_L=yes
10022         ;;
10023       esac
10024       ;;
10025
10026     beos*)
10027       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10028         allow_undefined_flag=unsupported
10029         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10030         # support --undefined.  This deserves some investigation.  FIXME
10031         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10032       else
10033         ld_shlibs=no
10034       fi
10035       ;;
10036
10037     cygwin* | mingw* | pw32* | cegcc*)
10038       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10039       # as there is no search path for DLLs.
10040       hardcode_libdir_flag_spec='-L$libdir'
10041       export_dynamic_flag_spec='${wl}--export-all-symbols'
10042       allow_undefined_flag=unsupported
10043       always_export_symbols=no
10044       enable_shared_with_static_runtimes=yes
10045       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10046
10047       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10048         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10049         # If the export-symbols file already is a .def file (1st line
10050         # is EXPORTS), use it as is; otherwise, prepend...
10051         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10052           cp $export_symbols $output_objdir/$soname.def;
10053         else
10054           echo EXPORTS > $output_objdir/$soname.def;
10055           cat $export_symbols >> $output_objdir/$soname.def;
10056         fi~
10057         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10058       else
10059         ld_shlibs=no
10060       fi
10061       ;;
10062
10063     haiku*)
10064       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10065       link_all_deplibs=yes
10066       ;;
10067
10068     interix[3-9]*)
10069       hardcode_direct=no
10070       hardcode_shlibpath_var=no
10071       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10072       export_dynamic_flag_spec='${wl}-E'
10073       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10074       # Instead, shared libraries are loaded at an image base (0x10000000 by
10075       # default) and relocated if they conflict, which is a slow very memory
10076       # consuming and fragmenting process.  To avoid this, we pick a random,
10077       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10078       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10079       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10080       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'
10081       ;;
10082
10083     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10084       tmp_diet=no
10085       if test "$host_os" = linux-dietlibc; then
10086         case $cc_basename in
10087           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10088         esac
10089       fi
10090       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10091          && test "$tmp_diet" = no
10092       then
10093         tmp_addflag=
10094         tmp_sharedflag='-shared'
10095         case $cc_basename,$host_cpu in
10096         pgcc*)                          # Portland Group C compiler
10097           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'
10098           tmp_addflag=' $pic_flag'
10099           ;;
10100         pgf77* | pgf90* | pgf95* | pgfortran*)
10101                                         # Portland Group f77 and f90 compilers
10102           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'
10103           tmp_addflag=' $pic_flag -Mnomain' ;;
10104         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10105           tmp_addflag=' -i_dynamic' ;;
10106         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10107           tmp_addflag=' -i_dynamic -nofor_main' ;;
10108         ifc* | ifort*)                  # Intel Fortran compiler
10109           tmp_addflag=' -nofor_main' ;;
10110         lf95*)                          # Lahey Fortran 8.1
10111           whole_archive_flag_spec=
10112           tmp_sharedflag='--shared' ;;
10113         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10114           tmp_sharedflag='-qmkshrobj'
10115           tmp_addflag= ;;
10116         nvcc*)  # Cuda Compiler Driver 2.2
10117           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'
10118           compiler_needs_object=yes
10119           ;;
10120         esac
10121         case `$CC -V 2>&1 | sed 5q` in
10122         *Sun\ C*)                       # Sun C 5.9
10123           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'
10124           compiler_needs_object=yes
10125           tmp_sharedflag='-G' ;;
10126         *Sun\ F*)                       # Sun Fortran 8.3
10127           tmp_sharedflag='-G' ;;
10128         esac
10129         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10130
10131         if test "x$supports_anon_versioning" = xyes; then
10132           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10133             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10134             echo "local: *; };" >> $output_objdir/$libname.ver~
10135             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10136         fi
10137
10138         case $cc_basename in
10139         xlf* | bgf* | bgxlf* | mpixlf*)
10140           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10141           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10142           hardcode_libdir_flag_spec=
10143           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10144           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10145           if test "x$supports_anon_versioning" = xyes; then
10146             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10147               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10148               echo "local: *; };" >> $output_objdir/$libname.ver~
10149               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10150           fi
10151           ;;
10152         esac
10153       else
10154         ld_shlibs=no
10155       fi
10156       ;;
10157
10158     netbsd*)
10159       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10160         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10161         wlarc=
10162       else
10163         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10164         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10165       fi
10166       ;;
10167
10168     solaris*)
10169       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10170         ld_shlibs=no
10171         cat <<_LT_EOF 1>&2
10172
10173 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10174 *** create shared libraries on Solaris systems.  Therefore, libtool
10175 *** is disabling shared libraries support.  We urge you to upgrade GNU
10176 *** binutils to release 2.9.1 or newer.  Another option is to modify
10177 *** your PATH or compiler configuration so that the native linker is
10178 *** used, and then restart.
10179
10180 _LT_EOF
10181       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10182         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10183         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10184       else
10185         ld_shlibs=no
10186       fi
10187       ;;
10188
10189     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10190       case `$LD -v 2>&1` in
10191         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10192         ld_shlibs=no
10193         cat <<_LT_EOF 1>&2
10194
10195 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10196 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10197 *** is disabling shared libraries support.  We urge you to upgrade GNU
10198 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10199 *** your PATH or compiler configuration so that the native linker is
10200 *** used, and then restart.
10201
10202 _LT_EOF
10203         ;;
10204         *)
10205           # For security reasons, it is highly recommended that you always
10206           # use absolute paths for naming shared libraries, and exclude the
10207           # DT_RUNPATH tag from executables and libraries.  But doing so
10208           # requires that you compile everything twice, which is a pain.
10209           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10210             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10211             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10212             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10213           else
10214             ld_shlibs=no
10215           fi
10216         ;;
10217       esac
10218       ;;
10219
10220     sunos4*)
10221       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10222       wlarc=
10223       hardcode_direct=yes
10224       hardcode_shlibpath_var=no
10225       ;;
10226
10227     *)
10228       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10229         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10230         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10231       else
10232         ld_shlibs=no
10233       fi
10234       ;;
10235     esac
10236
10237     if test "$ld_shlibs" = no; then
10238       runpath_var=
10239       hardcode_libdir_flag_spec=
10240       export_dynamic_flag_spec=
10241       whole_archive_flag_spec=
10242     fi
10243   else
10244     # PORTME fill in a description of your system's linker (not GNU ld)
10245     case $host_os in
10246     aix3*)
10247       allow_undefined_flag=unsupported
10248       always_export_symbols=yes
10249       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'
10250       # Note: this linker hardcodes the directories in LIBPATH if there
10251       # are no directories specified by -L.
10252       hardcode_minus_L=yes
10253       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10254         # Neither direct hardcoding nor static linking is supported with a
10255         # broken collect2.
10256         hardcode_direct=unsupported
10257       fi
10258       ;;
10259
10260     aix[4-9]*)
10261       if test "$host_cpu" = ia64; then
10262         # On IA64, the linker does run time linking by default, so we don't
10263         # have to do anything special.
10264         aix_use_runtimelinking=no
10265         exp_sym_flag='-Bexport'
10266         no_entry_flag=""
10267       else
10268         # If we're using GNU nm, then we don't want the "-C" option.
10269         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10270         # Also, AIX nm treats weak defined symbols like other global
10271         # defined symbols, whereas GNU nm marks them as "W".
10272         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10273           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'
10274         else
10275           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'
10276         fi
10277         aix_use_runtimelinking=no
10278
10279         # Test if we are trying to use run time linking or normal
10280         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10281         # need to do runtime linking.
10282         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10283           for ld_flag in $LDFLAGS; do
10284           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10285             aix_use_runtimelinking=yes
10286             break
10287           fi
10288           done
10289           ;;
10290         esac
10291
10292         exp_sym_flag='-bexport'
10293         no_entry_flag='-bnoentry'
10294       fi
10295
10296       # When large executables or shared objects are built, AIX ld can
10297       # have problems creating the table of contents.  If linking a library
10298       # or program results in "error TOC overflow" add -mminimal-toc to
10299       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10300       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10301
10302       archive_cmds=''
10303       hardcode_direct=yes
10304       hardcode_direct_absolute=yes
10305       hardcode_libdir_separator=':'
10306       link_all_deplibs=yes
10307       file_list_spec='${wl}-f,'
10308
10309       if test "$GCC" = yes; then
10310         case $host_os in aix4.[012]|aix4.[012].*)
10311         # We only want to do this on AIX 4.2 and lower, the check
10312         # below for broken collect2 doesn't work under 4.3+
10313           collect2name=`${CC} -print-prog-name=collect2`
10314           if test -f "$collect2name" &&
10315            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10316           then
10317           # We have reworked collect2
10318           :
10319           else
10320           # We have old collect2
10321           hardcode_direct=unsupported
10322           # It fails to find uninstalled libraries when the uninstalled
10323           # path is not listed in the libpath.  Setting hardcode_minus_L
10324           # to unsupported forces relinking
10325           hardcode_minus_L=yes
10326           hardcode_libdir_flag_spec='-L$libdir'
10327           hardcode_libdir_separator=
10328           fi
10329           ;;
10330         esac
10331         shared_flag='-shared'
10332         if test "$aix_use_runtimelinking" = yes; then
10333           shared_flag="$shared_flag "'${wl}-G'
10334         fi
10335       else
10336         # not using gcc
10337         if test "$host_cpu" = ia64; then
10338         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10339         # chokes on -Wl,-G. The following line is correct:
10340           shared_flag='-G'
10341         else
10342           if test "$aix_use_runtimelinking" = yes; then
10343             shared_flag='${wl}-G'
10344           else
10345             shared_flag='${wl}-bM:SRE'
10346           fi
10347         fi
10348       fi
10349
10350       export_dynamic_flag_spec='${wl}-bexpall'
10351       # It seems that -bexpall does not export symbols beginning with
10352       # underscore (_), so it is better to generate a list of symbols to export.
10353       always_export_symbols=yes
10354       if test "$aix_use_runtimelinking" = yes; then
10355         # Warning - without using the other runtime loading flags (-brtl),
10356         # -berok will link without error, but may produce a broken library.
10357         allow_undefined_flag='-berok'
10358         # Determine the default libpath from the value encoded in an
10359         # empty executable.
10360         if test x$gcc_no_link = xyes; then
10361   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10362 fi
10363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10364 /* end confdefs.h.  */
10365
10366 int
10367 main ()
10368 {
10369
10370   ;
10371   return 0;
10372 }
10373 _ACEOF
10374 if ac_fn_c_try_link "$LINENO"; then :
10375
10376 lt_aix_libpath_sed='
10377     /Import File Strings/,/^$/ {
10378         /^0/ {
10379             s/^0  *\(.*\)$/\1/
10380             p
10381         }
10382     }'
10383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10384 # Check for a 64-bit object if we didn't find anything.
10385 if test -z "$aix_libpath"; then
10386   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10387 fi
10388 fi
10389 rm -f core conftest.err conftest.$ac_objext \
10390     conftest$ac_exeext conftest.$ac_ext
10391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10392
10393         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10394         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"
10395       else
10396         if test "$host_cpu" = ia64; then
10397           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10398           allow_undefined_flag="-z nodefs"
10399           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"
10400         else
10401          # Determine the default libpath from the value encoded in an
10402          # empty executable.
10403          if test x$gcc_no_link = xyes; then
10404   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10405 fi
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h.  */
10408
10409 int
10410 main ()
10411 {
10412
10413   ;
10414   return 0;
10415 }
10416 _ACEOF
10417 if ac_fn_c_try_link "$LINENO"; then :
10418
10419 lt_aix_libpath_sed='
10420     /Import File Strings/,/^$/ {
10421         /^0/ {
10422             s/^0  *\(.*\)$/\1/
10423             p
10424         }
10425     }'
10426 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10427 # Check for a 64-bit object if we didn't find anything.
10428 if test -z "$aix_libpath"; then
10429   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10430 fi
10431 fi
10432 rm -f core conftest.err conftest.$ac_objext \
10433     conftest$ac_exeext conftest.$ac_ext
10434 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10435
10436          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10437           # Warning - without using the other run time loading flags,
10438           # -berok will link without error, but may produce a broken library.
10439           no_undefined_flag=' ${wl}-bernotok'
10440           allow_undefined_flag=' ${wl}-berok'
10441           if test "$with_gnu_ld" = yes; then
10442             # We only use this code for GNU lds that support --whole-archive.
10443             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10444           else
10445             # Exported symbols can be pulled into shared objects from archives
10446             whole_archive_flag_spec='$convenience'
10447           fi
10448           archive_cmds_need_lc=yes
10449           # This is similar to how AIX traditionally builds its shared libraries.
10450           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'
10451         fi
10452       fi
10453       ;;
10454
10455     amigaos*)
10456       case $host_cpu in
10457       powerpc)
10458             # see comment about AmigaOS4 .so support
10459             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10460             archive_expsym_cmds=''
10461         ;;
10462       m68k)
10463             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)'
10464             hardcode_libdir_flag_spec='-L$libdir'
10465             hardcode_minus_L=yes
10466         ;;
10467       esac
10468       ;;
10469
10470     bsdi[45]*)
10471       export_dynamic_flag_spec=-rdynamic
10472       ;;
10473
10474     cygwin* | mingw* | pw32* | cegcc*)
10475       # When not using gcc, we currently assume that we are using
10476       # Microsoft Visual C++.
10477       # hardcode_libdir_flag_spec is actually meaningless, as there is
10478       # no search path for DLLs.
10479       hardcode_libdir_flag_spec=' '
10480       allow_undefined_flag=unsupported
10481       # Tell ltmain to make .lib files, not .a files.
10482       libext=lib
10483       # Tell ltmain to make .dll files, not .so files.
10484       shrext_cmds=".dll"
10485       # FIXME: Setting linknames here is a bad hack.
10486       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10487       # The linker will automatically build a .lib file if we build a DLL.
10488       old_archive_from_new_cmds='true'
10489       # FIXME: Should let the user specify the lib program.
10490       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10491       fix_srcfile_path='`cygpath -w "$srcfile"`'
10492       enable_shared_with_static_runtimes=yes
10493       ;;
10494
10495     darwin* | rhapsody*)
10496
10497
10498   archive_cmds_need_lc=no
10499   hardcode_direct=no
10500   hardcode_automatic=yes
10501   hardcode_shlibpath_var=unsupported
10502   if test "$lt_cv_ld_force_load" = "yes"; then
10503     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\"`'
10504   else
10505     whole_archive_flag_spec=''
10506   fi
10507   link_all_deplibs=yes
10508   allow_undefined_flag="$_lt_dar_allow_undefined"
10509   case $cc_basename in
10510      ifort*) _lt_dar_can_shared=yes ;;
10511      *) _lt_dar_can_shared=$GCC ;;
10512   esac
10513   if test "$_lt_dar_can_shared" = "yes"; then
10514     output_verbose_link_cmd=func_echo_all
10515     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10516     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10517     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}"
10518     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}"
10519
10520   else
10521   ld_shlibs=no
10522   fi
10523
10524       ;;
10525
10526     dgux*)
10527       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10528       hardcode_libdir_flag_spec='-L$libdir'
10529       hardcode_shlibpath_var=no
10530       ;;
10531
10532     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10533     # support.  Future versions do this automatically, but an explicit c++rt0.o
10534     # does not break anything, and helps significantly (at the cost of a little
10535     # extra space).
10536     freebsd2.2*)
10537       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10538       hardcode_libdir_flag_spec='-R$libdir'
10539       hardcode_direct=yes
10540       hardcode_shlibpath_var=no
10541       ;;
10542
10543     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10544     freebsd2.*)
10545       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10546       hardcode_direct=yes
10547       hardcode_minus_L=yes
10548       hardcode_shlibpath_var=no
10549       ;;
10550
10551     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10552     freebsd* | dragonfly*)
10553       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10554       hardcode_libdir_flag_spec='-R$libdir'
10555       hardcode_direct=yes
10556       hardcode_shlibpath_var=no
10557       ;;
10558
10559     hpux9*)
10560       if test "$GCC" = yes; then
10561         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'
10562       else
10563         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'
10564       fi
10565       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10566       hardcode_libdir_separator=:
10567       hardcode_direct=yes
10568
10569       # hardcode_minus_L: Not really in the search PATH,
10570       # but as the default location of the library.
10571       hardcode_minus_L=yes
10572       export_dynamic_flag_spec='${wl}-E'
10573       ;;
10574
10575     hpux10*)
10576       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10577         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10578       else
10579         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10580       fi
10581       if test "$with_gnu_ld" = no; then
10582         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10583         hardcode_libdir_flag_spec_ld='+b $libdir'
10584         hardcode_libdir_separator=:
10585         hardcode_direct=yes
10586         hardcode_direct_absolute=yes
10587         export_dynamic_flag_spec='${wl}-E'
10588         # hardcode_minus_L: Not really in the search PATH,
10589         # but as the default location of the library.
10590         hardcode_minus_L=yes
10591       fi
10592       ;;
10593
10594     hpux11*)
10595       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10596         case $host_cpu in
10597         hppa*64*)
10598           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10599           ;;
10600         ia64*)
10601           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10602           ;;
10603         *)
10604           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10605           ;;
10606         esac
10607       else
10608         case $host_cpu in
10609         hppa*64*)
10610           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10611           ;;
10612         ia64*)
10613           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10614           ;;
10615         *)
10616
10617           # Older versions of the 11.00 compiler do not understand -b yet
10618           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10619           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10620 $as_echo_n "checking if $CC understands -b... " >&6; }
10621 if test "${lt_cv_prog_compiler__b+set}" = set; then :
10622   $as_echo_n "(cached) " >&6
10623 else
10624   lt_cv_prog_compiler__b=no
10625    save_LDFLAGS="$LDFLAGS"
10626    LDFLAGS="$LDFLAGS -b"
10627    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10628    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10629      # The linker can only warn and ignore the option if not recognized
10630      # So say no if there are warnings
10631      if test -s conftest.err; then
10632        # Append any errors to the config.log.
10633        cat conftest.err 1>&5
10634        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10635        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10636        if diff conftest.exp conftest.er2 >/dev/null; then
10637          lt_cv_prog_compiler__b=yes
10638        fi
10639      else
10640        lt_cv_prog_compiler__b=yes
10641      fi
10642    fi
10643    $RM -r conftest*
10644    LDFLAGS="$save_LDFLAGS"
10645
10646 fi
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10648 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10649
10650 if test x"$lt_cv_prog_compiler__b" = xyes; then
10651     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10652 else
10653     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10654 fi
10655
10656           ;;
10657         esac
10658       fi
10659       if test "$with_gnu_ld" = no; then
10660         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10661         hardcode_libdir_separator=:
10662
10663         case $host_cpu in
10664         hppa*64*|ia64*)
10665           hardcode_direct=no
10666           hardcode_shlibpath_var=no
10667           ;;
10668         *)
10669           hardcode_direct=yes
10670           hardcode_direct_absolute=yes
10671           export_dynamic_flag_spec='${wl}-E'
10672
10673           # hardcode_minus_L: Not really in the search PATH,
10674           # but as the default location of the library.
10675           hardcode_minus_L=yes
10676           ;;
10677         esac
10678       fi
10679       ;;
10680
10681     irix5* | irix6* | nonstopux*)
10682       if test "$GCC" = yes; then
10683         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'
10684         # Try to use the -exported_symbol ld option, if it does not
10685         # work, assume that -exports_file does not work either and
10686         # implicitly export all symbols.
10687         save_LDFLAGS="$LDFLAGS"
10688         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10689         if test x$gcc_no_link = xyes; then
10690   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10691 fi
10692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10693 /* end confdefs.h.  */
10694 int foo(void) {}
10695 _ACEOF
10696 if ac_fn_c_try_link "$LINENO"; then :
10697   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'
10698
10699 fi
10700 rm -f core conftest.err conftest.$ac_objext \
10701     conftest$ac_exeext conftest.$ac_ext
10702         LDFLAGS="$save_LDFLAGS"
10703       else
10704         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'
10705         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'
10706       fi
10707       archive_cmds_need_lc='no'
10708       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10709       hardcode_libdir_separator=:
10710       inherit_rpath=yes
10711       link_all_deplibs=yes
10712       ;;
10713
10714     netbsd*)
10715       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10716         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10717       else
10718         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10719       fi
10720       hardcode_libdir_flag_spec='-R$libdir'
10721       hardcode_direct=yes
10722       hardcode_shlibpath_var=no
10723       ;;
10724
10725     newsos6)
10726       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10727       hardcode_direct=yes
10728       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10729       hardcode_libdir_separator=:
10730       hardcode_shlibpath_var=no
10731       ;;
10732
10733     *nto* | *qnx*)
10734       ;;
10735
10736     openbsd*)
10737       if test -f /usr/libexec/ld.so; then
10738         hardcode_direct=yes
10739         hardcode_shlibpath_var=no
10740         hardcode_direct_absolute=yes
10741         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10742           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10743           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10744           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10745           export_dynamic_flag_spec='${wl}-E'
10746         else
10747           case $host_os in
10748            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10749              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10750              hardcode_libdir_flag_spec='-R$libdir'
10751              ;;
10752            *)
10753              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10754              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10755              ;;
10756           esac
10757         fi
10758       else
10759         ld_shlibs=no
10760       fi
10761       ;;
10762
10763     os2*)
10764       hardcode_libdir_flag_spec='-L$libdir'
10765       hardcode_minus_L=yes
10766       allow_undefined_flag=unsupported
10767       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'
10768       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10769       ;;
10770
10771     osf3*)
10772       if test "$GCC" = yes; then
10773         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10774         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'
10775       else
10776         allow_undefined_flag=' -expect_unresolved \*'
10777         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'
10778       fi
10779       archive_cmds_need_lc='no'
10780       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10781       hardcode_libdir_separator=:
10782       ;;
10783
10784     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10785       if test "$GCC" = yes; then
10786         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10787         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'
10788         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10789       else
10790         allow_undefined_flag=' -expect_unresolved \*'
10791         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'
10792         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~
10793         $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'
10794
10795         # Both c and cxx compiler support -rpath directly
10796         hardcode_libdir_flag_spec='-rpath $libdir'
10797       fi
10798       archive_cmds_need_lc='no'
10799       hardcode_libdir_separator=:
10800       ;;
10801
10802     solaris*)
10803       no_undefined_flag=' -z defs'
10804       if test "$GCC" = yes; then
10805         wlarc='${wl}'
10806         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10807         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10808           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10809       else
10810         case `$CC -V 2>&1` in
10811         *"Compilers 5.0"*)
10812           wlarc=''
10813           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10814           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10815           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10816           ;;
10817         *)
10818           wlarc='${wl}'
10819           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10820           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10821           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10822           ;;
10823         esac
10824       fi
10825       hardcode_libdir_flag_spec='-R$libdir'
10826       hardcode_shlibpath_var=no
10827       case $host_os in
10828       solaris2.[0-5] | solaris2.[0-5].*) ;;
10829       *)
10830         # The compiler driver will combine and reorder linker options,
10831         # but understands `-z linker_flag'.  GCC discards it without `$wl',
10832         # but is careful enough not to reorder.
10833         # Supported since Solaris 2.6 (maybe 2.5.1?)
10834         if test "$GCC" = yes; then
10835           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10836         else
10837           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10838         fi
10839         ;;
10840       esac
10841       link_all_deplibs=yes
10842       ;;
10843
10844     sunos4*)
10845       if test "x$host_vendor" = xsequent; then
10846         # Use $CC to link under sequent, because it throws in some extra .o
10847         # files that make .init and .fini sections work.
10848         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10849       else
10850         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10851       fi
10852       hardcode_libdir_flag_spec='-L$libdir'
10853       hardcode_direct=yes
10854       hardcode_minus_L=yes
10855       hardcode_shlibpath_var=no
10856       ;;
10857
10858     sysv4)
10859       case $host_vendor in
10860         sni)
10861           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10862           hardcode_direct=yes # is this really true???
10863         ;;
10864         siemens)
10865           ## LD is ld it makes a PLAMLIB
10866           ## CC just makes a GrossModule.
10867           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10868           reload_cmds='$CC -r -o $output$reload_objs'
10869           hardcode_direct=no
10870         ;;
10871         motorola)
10872           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10873           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10874         ;;
10875       esac
10876       runpath_var='LD_RUN_PATH'
10877       hardcode_shlibpath_var=no
10878       ;;
10879
10880     sysv4.3*)
10881       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10882       hardcode_shlibpath_var=no
10883       export_dynamic_flag_spec='-Bexport'
10884       ;;
10885
10886     sysv4*MP*)
10887       if test -d /usr/nec; then
10888         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10889         hardcode_shlibpath_var=no
10890         runpath_var=LD_RUN_PATH
10891         hardcode_runpath_var=yes
10892         ld_shlibs=yes
10893       fi
10894       ;;
10895
10896     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10897       no_undefined_flag='${wl}-z,text'
10898       archive_cmds_need_lc=no
10899       hardcode_shlibpath_var=no
10900       runpath_var='LD_RUN_PATH'
10901
10902       if test "$GCC" = yes; then
10903         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10904         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10905       else
10906         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10907         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10908       fi
10909       ;;
10910
10911     sysv5* | sco3.2v5* | sco5v6*)
10912       # Note: We can NOT use -z defs as we might desire, because we do not
10913       # link with -lc, and that would cause any symbols used from libc to
10914       # always be unresolved, which means just about no library would
10915       # ever link correctly.  If we're not using GNU ld we use -z text
10916       # though, which does catch some bad symbols but isn't as heavy-handed
10917       # as -z defs.
10918       no_undefined_flag='${wl}-z,text'
10919       allow_undefined_flag='${wl}-z,nodefs'
10920       archive_cmds_need_lc=no
10921       hardcode_shlibpath_var=no
10922       hardcode_libdir_flag_spec='${wl}-R,$libdir'
10923       hardcode_libdir_separator=':'
10924       link_all_deplibs=yes
10925       export_dynamic_flag_spec='${wl}-Bexport'
10926       runpath_var='LD_RUN_PATH'
10927
10928       if test "$GCC" = yes; then
10929         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10930         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10931       else
10932         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10933         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10934       fi
10935       ;;
10936
10937     uts4*)
10938       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10939       hardcode_libdir_flag_spec='-L$libdir'
10940       hardcode_shlibpath_var=no
10941       ;;
10942
10943     *)
10944       ld_shlibs=no
10945       ;;
10946     esac
10947
10948     if test x$host_vendor = xsni; then
10949       case $host in
10950       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10951         export_dynamic_flag_spec='${wl}-Blargedynsym'
10952         ;;
10953       esac
10954     fi
10955   fi
10956
10957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10958 $as_echo "$ld_shlibs" >&6; }
10959 test "$ld_shlibs" = no && can_build_shared=no
10960
10961 with_gnu_ld=$with_gnu_ld
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977 #
10978 # Do we need to explicitly link libc?
10979 #
10980 case "x$archive_cmds_need_lc" in
10981 x|xyes)
10982   # Assume -lc should be added
10983   archive_cmds_need_lc=yes
10984
10985   if test "$enable_shared" = yes && test "$GCC" = yes; then
10986     case $archive_cmds in
10987     *'~'*)
10988       # FIXME: we may have to deal with multi-command sequences.
10989       ;;
10990     '$CC '*)
10991       # Test whether the compiler implicitly links with -lc since on some
10992       # systems, -lgcc has to come before -lc. If gcc already passes -lc
10993       # to ld, don't add -lc before -lgcc.
10994       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10995 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10996 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10997   $as_echo_n "(cached) " >&6
10998 else
10999   $RM conftest*
11000         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11001
11002         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11003   (eval $ac_compile) 2>&5
11004   ac_status=$?
11005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11006   test $ac_status = 0; } 2>conftest.err; then
11007           soname=conftest
11008           lib=conftest
11009           libobjs=conftest.$ac_objext
11010           deplibs=
11011           wl=$lt_prog_compiler_wl
11012           pic_flag=$lt_prog_compiler_pic
11013           compiler_flags=-v
11014           linker_flags=-v
11015           verstring=
11016           output_objdir=.
11017           libname=conftest
11018           lt_save_allow_undefined_flag=$allow_undefined_flag
11019           allow_undefined_flag=
11020           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11021   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11022   ac_status=$?
11023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11024   test $ac_status = 0; }
11025           then
11026             lt_cv_archive_cmds_need_lc=no
11027           else
11028             lt_cv_archive_cmds_need_lc=yes
11029           fi
11030           allow_undefined_flag=$lt_save_allow_undefined_flag
11031         else
11032           cat conftest.err 1>&5
11033         fi
11034         $RM conftest*
11035
11036 fi
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11038 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11039       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11040       ;;
11041     esac
11042   fi
11043   ;;
11044 esac
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11203 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11204
11205 if test "$GCC" = yes; then
11206   case $host_os in
11207     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11208     *) lt_awk_arg="/^libraries:/" ;;
11209   esac
11210   case $host_os in
11211     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11212     *) lt_sed_strip_eq="s,=/,/,g" ;;
11213   esac
11214   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11215   case $lt_search_path_spec in
11216   *\;*)
11217     # if the path contains ";" then we assume it to be the separator
11218     # otherwise default to the standard path separator (i.e. ":") - it is
11219     # assumed that no part of a normal pathname contains ";" but that should
11220     # okay in the real world where ";" in dirpaths is itself problematic.
11221     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11222     ;;
11223   *)
11224     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11225     ;;
11226   esac
11227   # Ok, now we have the path, separated by spaces, we can step through it
11228   # and add multilib dir if necessary.
11229   lt_tmp_lt_search_path_spec=
11230   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11231   for lt_sys_path in $lt_search_path_spec; do
11232     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11233       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11234     else
11235       test -d "$lt_sys_path" && \
11236         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11237     fi
11238   done
11239   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11240 BEGIN {RS=" "; FS="/|\n";} {
11241   lt_foo="";
11242   lt_count=0;
11243   for (lt_i = NF; lt_i > 0; lt_i--) {
11244     if ($lt_i != "" && $lt_i != ".") {
11245       if ($lt_i == "..") {
11246         lt_count++;
11247       } else {
11248         if (lt_count == 0) {
11249           lt_foo="/" $lt_i lt_foo;
11250         } else {
11251           lt_count--;
11252         }
11253       }
11254     }
11255   }
11256   if (lt_foo != "") { lt_freq[lt_foo]++; }
11257   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11258 }'`
11259   # AWK program above erroneously prepends '/' to C:/dos/paths
11260   # for these hosts.
11261   case $host_os in
11262     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11263       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11264   esac
11265   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11266 else
11267   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11268 fi
11269 library_names_spec=
11270 libname_spec='lib$name'
11271 soname_spec=
11272 shrext_cmds=".so"
11273 postinstall_cmds=
11274 postuninstall_cmds=
11275 finish_cmds=
11276 finish_eval=
11277 shlibpath_var=
11278 shlibpath_overrides_runpath=unknown
11279 version_type=none
11280 dynamic_linker="$host_os ld.so"
11281 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11282 need_lib_prefix=unknown
11283 hardcode_into_libs=no
11284
11285 # when you set need_version to no, make sure it does not cause -set_version
11286 # flags to be left without arguments
11287 need_version=unknown
11288
11289 case $host_os in
11290 aix3*)
11291   version_type=linux
11292   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11293   shlibpath_var=LIBPATH
11294
11295   # AIX 3 has no versioning support, so we append a major version to the name.
11296   soname_spec='${libname}${release}${shared_ext}$major'
11297   ;;
11298
11299 aix[4-9]*)
11300   version_type=linux
11301   need_lib_prefix=no
11302   need_version=no
11303   hardcode_into_libs=yes
11304   if test "$host_cpu" = ia64; then
11305     # AIX 5 supports IA64
11306     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11307     shlibpath_var=LD_LIBRARY_PATH
11308   else
11309     # With GCC up to 2.95.x, collect2 would create an import file
11310     # for dependence libraries.  The import file would start with
11311     # the line `#! .'.  This would cause the generated library to
11312     # depend on `.', always an invalid library.  This was fixed in
11313     # development snapshots of GCC prior to 3.0.
11314     case $host_os in
11315       aix4 | aix4.[01] | aix4.[01].*)
11316       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11317            echo ' yes '
11318            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11319         :
11320       else
11321         can_build_shared=no
11322       fi
11323       ;;
11324     esac
11325     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11326     # soname into executable. Probably we can add versioning support to
11327     # collect2, so additional links can be useful in future.
11328     if test "$aix_use_runtimelinking" = yes; then
11329       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11330       # instead of lib<name>.a to let people know that these are not
11331       # typical AIX shared libraries.
11332       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11333     else
11334       # We preserve .a as extension for shared libraries through AIX4.2
11335       # and later when we are not doing run time linking.
11336       library_names_spec='${libname}${release}.a $libname.a'
11337       soname_spec='${libname}${release}${shared_ext}$major'
11338     fi
11339     shlibpath_var=LIBPATH
11340   fi
11341   ;;
11342
11343 amigaos*)
11344   case $host_cpu in
11345   powerpc)
11346     # Since July 2007 AmigaOS4 officially supports .so libraries.
11347     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11348     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349     ;;
11350   m68k)
11351     library_names_spec='$libname.ixlibrary $libname.a'
11352     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11353     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'
11354     ;;
11355   esac
11356   ;;
11357
11358 beos*)
11359   library_names_spec='${libname}${shared_ext}'
11360   dynamic_linker="$host_os ld.so"
11361   shlibpath_var=LIBRARY_PATH
11362   ;;
11363
11364 bsdi[45]*)
11365   version_type=linux
11366   need_version=no
11367   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11368   soname_spec='${libname}${release}${shared_ext}$major'
11369   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11370   shlibpath_var=LD_LIBRARY_PATH
11371   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11372   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11373   # the default ld.so.conf also contains /usr/contrib/lib and
11374   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11375   # libtool to hard-code these into programs
11376   ;;
11377
11378 cygwin* | mingw* | pw32* | cegcc*)
11379   version_type=windows
11380   shrext_cmds=".dll"
11381   need_version=no
11382   need_lib_prefix=no
11383
11384   case $GCC,$host_os in
11385   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11386     library_names_spec='$libname.dll.a'
11387     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11388     postinstall_cmds='base_file=`basename \${file}`~
11389       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11390       dldir=$destdir/`dirname \$dlpath`~
11391       test -d \$dldir || mkdir -p \$dldir~
11392       $install_prog $dir/$dlname \$dldir/$dlname~
11393       chmod a+x \$dldir/$dlname~
11394       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11395         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11396       fi'
11397     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11398       dlpath=$dir/\$dldll~
11399        $RM \$dlpath'
11400     shlibpath_overrides_runpath=yes
11401
11402     case $host_os in
11403     cygwin*)
11404       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11405       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11406
11407       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11408       ;;
11409     mingw* | cegcc*)
11410       # MinGW DLLs use traditional 'lib' prefix
11411       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11412       ;;
11413     pw32*)
11414       # pw32 DLLs use 'pw' prefix rather than 'lib'
11415       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11416       ;;
11417     esac
11418     ;;
11419
11420   *)
11421     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11422     ;;
11423   esac
11424   dynamic_linker='Win32 ld.exe'
11425   # FIXME: first we should search . and the directory the executable is in
11426   shlibpath_var=PATH
11427   ;;
11428
11429 darwin* | rhapsody*)
11430   dynamic_linker="$host_os dyld"
11431   version_type=darwin
11432   need_lib_prefix=no
11433   need_version=no
11434   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11435   soname_spec='${libname}${release}${major}$shared_ext'
11436   shlibpath_overrides_runpath=yes
11437   shlibpath_var=DYLD_LIBRARY_PATH
11438   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11439
11440   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11441   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11442   ;;
11443
11444 dgux*)
11445   version_type=linux
11446   need_lib_prefix=no
11447   need_version=no
11448   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11449   soname_spec='${libname}${release}${shared_ext}$major'
11450   shlibpath_var=LD_LIBRARY_PATH
11451   ;;
11452
11453 freebsd* | dragonfly*)
11454   # DragonFly does not have aout.  When/if they implement a new
11455   # versioning mechanism, adjust this.
11456   if test -x /usr/bin/objformat; then
11457     objformat=`/usr/bin/objformat`
11458   else
11459     case $host_os in
11460     freebsd[23].*) objformat=aout ;;
11461     *) objformat=elf ;;
11462     esac
11463   fi
11464   version_type=freebsd-$objformat
11465   case $version_type in
11466     freebsd-elf*)
11467       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11468       need_version=no
11469       need_lib_prefix=no
11470       ;;
11471     freebsd-*)
11472       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11473       need_version=yes
11474       ;;
11475   esac
11476   shlibpath_var=LD_LIBRARY_PATH
11477   case $host_os in
11478   freebsd2.*)
11479     shlibpath_overrides_runpath=yes
11480     ;;
11481   freebsd3.[01]* | freebsdelf3.[01]*)
11482     shlibpath_overrides_runpath=yes
11483     hardcode_into_libs=yes
11484     ;;
11485   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11486   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11487     shlibpath_overrides_runpath=no
11488     hardcode_into_libs=yes
11489     ;;
11490   *) # from 4.6 on, and DragonFly
11491     shlibpath_overrides_runpath=yes
11492     hardcode_into_libs=yes
11493     ;;
11494   esac
11495   ;;
11496
11497 gnu*)
11498   version_type=linux
11499   need_lib_prefix=no
11500   need_version=no
11501   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11502   soname_spec='${libname}${release}${shared_ext}$major'
11503   shlibpath_var=LD_LIBRARY_PATH
11504   hardcode_into_libs=yes
11505   ;;
11506
11507 haiku*)
11508   version_type=linux
11509   need_lib_prefix=no
11510   need_version=no
11511   dynamic_linker="$host_os runtime_loader"
11512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11513   soname_spec='${libname}${release}${shared_ext}$major'
11514   shlibpath_var=LIBRARY_PATH
11515   shlibpath_overrides_runpath=yes
11516   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11517   hardcode_into_libs=yes
11518   ;;
11519
11520 hpux9* | hpux10* | hpux11*)
11521   # Give a soname corresponding to the major version so that dld.sl refuses to
11522   # link against other versions.
11523   version_type=sunos
11524   need_lib_prefix=no
11525   need_version=no
11526   case $host_cpu in
11527   ia64*)
11528     shrext_cmds='.so'
11529     hardcode_into_libs=yes
11530     dynamic_linker="$host_os dld.so"
11531     shlibpath_var=LD_LIBRARY_PATH
11532     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11533     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534     soname_spec='${libname}${release}${shared_ext}$major'
11535     if test "X$HPUX_IA64_MODE" = X32; then
11536       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11537     else
11538       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11539     fi
11540     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11541     ;;
11542   hppa*64*)
11543     shrext_cmds='.sl'
11544     hardcode_into_libs=yes
11545     dynamic_linker="$host_os dld.sl"
11546     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11547     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11548     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549     soname_spec='${libname}${release}${shared_ext}$major'
11550     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11551     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11552     ;;
11553   *)
11554     shrext_cmds='.sl'
11555     dynamic_linker="$host_os dld.sl"
11556     shlibpath_var=SHLIB_PATH
11557     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11558     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11559     soname_spec='${libname}${release}${shared_ext}$major'
11560     ;;
11561   esac
11562   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11563   postinstall_cmds='chmod 555 $lib'
11564   # or fails outright, so override atomically:
11565   install_override_mode=555
11566   ;;
11567
11568 interix[3-9]*)
11569   version_type=linux
11570   need_lib_prefix=no
11571   need_version=no
11572   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11573   soname_spec='${libname}${release}${shared_ext}$major'
11574   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11575   shlibpath_var=LD_LIBRARY_PATH
11576   shlibpath_overrides_runpath=no
11577   hardcode_into_libs=yes
11578   ;;
11579
11580 irix5* | irix6* | nonstopux*)
11581   case $host_os in
11582     nonstopux*) version_type=nonstopux ;;
11583     *)
11584         if test "$lt_cv_prog_gnu_ld" = yes; then
11585                 version_type=linux
11586         else
11587                 version_type=irix
11588         fi ;;
11589   esac
11590   need_lib_prefix=no
11591   need_version=no
11592   soname_spec='${libname}${release}${shared_ext}$major'
11593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11594   case $host_os in
11595   irix5* | nonstopux*)
11596     libsuff= shlibsuff=
11597     ;;
11598   *)
11599     case $LD in # libtool.m4 will add one of these switches to LD
11600     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11601       libsuff= shlibsuff= libmagic=32-bit;;
11602     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11603       libsuff=32 shlibsuff=N32 libmagic=N32;;
11604     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11605       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11606     *) libsuff= shlibsuff= libmagic=never-match;;
11607     esac
11608     ;;
11609   esac
11610   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11611   shlibpath_overrides_runpath=no
11612   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11613   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11614   hardcode_into_libs=yes
11615   ;;
11616
11617 # No shared lib support for Linux oldld, aout, or coff.
11618 linux*oldld* | linux*aout* | linux*coff*)
11619   dynamic_linker=no
11620   ;;
11621
11622 # This must be Linux ELF.
11623 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11624   version_type=linux
11625   need_lib_prefix=no
11626   need_version=no
11627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11628   soname_spec='${libname}${release}${shared_ext}$major'
11629   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11630   shlibpath_var=LD_LIBRARY_PATH
11631   shlibpath_overrides_runpath=no
11632
11633   # Some binutils ld are patched to set DT_RUNPATH
11634   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
11635   $as_echo_n "(cached) " >&6
11636 else
11637   lt_cv_shlibpath_overrides_runpath=no
11638     save_LDFLAGS=$LDFLAGS
11639     save_libdir=$libdir
11640     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11641          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11642     if test x$gcc_no_link = xyes; then
11643   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11644 fi
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h.  */
11647
11648 int
11649 main ()
11650 {
11651
11652   ;
11653   return 0;
11654 }
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"; then :
11657   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11658   lt_cv_shlibpath_overrides_runpath=yes
11659 fi
11660 fi
11661 rm -f core conftest.err conftest.$ac_objext \
11662     conftest$ac_exeext conftest.$ac_ext
11663     LDFLAGS=$save_LDFLAGS
11664     libdir=$save_libdir
11665
11666 fi
11667
11668   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11669
11670   # This implies no fast_install, which is unacceptable.
11671   # Some rework will be needed to allow for fast_install
11672   # before this can be enabled.
11673   hardcode_into_libs=yes
11674
11675   # Append ld.so.conf contents to the search path
11676   if test -f /etc/ld.so.conf; then
11677     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' ' '`
11678     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11679   fi
11680
11681   # We used to test for /lib/ld.so.1 and disable shared libraries on
11682   # powerpc, because MkLinux only supported shared libraries with the
11683   # GNU dynamic linker.  Since this was broken with cross compilers,
11684   # most powerpc-linux boxes support dynamic linking these days and
11685   # people can always --disable-shared, the test was removed, and we
11686   # assume the GNU/Linux dynamic linker is in use.
11687   dynamic_linker='GNU/Linux ld.so'
11688   ;;
11689
11690 netbsd*)
11691   version_type=sunos
11692   need_lib_prefix=no
11693   need_version=no
11694   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11695     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11696     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11697     dynamic_linker='NetBSD (a.out) ld.so'
11698   else
11699     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11700     soname_spec='${libname}${release}${shared_ext}$major'
11701     dynamic_linker='NetBSD ld.elf_so'
11702   fi
11703   shlibpath_var=LD_LIBRARY_PATH
11704   shlibpath_overrides_runpath=yes
11705   hardcode_into_libs=yes
11706   ;;
11707
11708 newsos6)
11709   version_type=linux
11710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711   shlibpath_var=LD_LIBRARY_PATH
11712   shlibpath_overrides_runpath=yes
11713   ;;
11714
11715 *nto* | *qnx*)
11716   version_type=qnx
11717   need_lib_prefix=no
11718   need_version=no
11719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11720   soname_spec='${libname}${release}${shared_ext}$major'
11721   shlibpath_var=LD_LIBRARY_PATH
11722   shlibpath_overrides_runpath=no
11723   hardcode_into_libs=yes
11724   dynamic_linker='ldqnx.so'
11725   ;;
11726
11727 openbsd*)
11728   version_type=sunos
11729   sys_lib_dlsearch_path_spec="/usr/lib"
11730   need_lib_prefix=no
11731   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11732   case $host_os in
11733     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11734     *)                          need_version=no  ;;
11735   esac
11736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11737   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11738   shlibpath_var=LD_LIBRARY_PATH
11739   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11740     case $host_os in
11741       openbsd2.[89] | openbsd2.[89].*)
11742         shlibpath_overrides_runpath=no
11743         ;;
11744       *)
11745         shlibpath_overrides_runpath=yes
11746         ;;
11747       esac
11748   else
11749     shlibpath_overrides_runpath=yes
11750   fi
11751   ;;
11752
11753 os2*)
11754   libname_spec='$name'
11755   shrext_cmds=".dll"
11756   need_lib_prefix=no
11757   library_names_spec='$libname${shared_ext} $libname.a'
11758   dynamic_linker='OS/2 ld.exe'
11759   shlibpath_var=LIBPATH
11760   ;;
11761
11762 osf3* | osf4* | osf5*)
11763   version_type=osf
11764   need_lib_prefix=no
11765   need_version=no
11766   soname_spec='${libname}${release}${shared_ext}$major'
11767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11768   shlibpath_var=LD_LIBRARY_PATH
11769   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11770   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11771   ;;
11772
11773 rdos*)
11774   dynamic_linker=no
11775   ;;
11776
11777 solaris*)
11778   version_type=linux
11779   need_lib_prefix=no
11780   need_version=no
11781   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11782   soname_spec='${libname}${release}${shared_ext}$major'
11783   shlibpath_var=LD_LIBRARY_PATH
11784   shlibpath_overrides_runpath=yes
11785   hardcode_into_libs=yes
11786   # ldd complains unless libraries are executable
11787   postinstall_cmds='chmod +x $lib'
11788   ;;
11789
11790 sunos4*)
11791   version_type=sunos
11792   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11793   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11794   shlibpath_var=LD_LIBRARY_PATH
11795   shlibpath_overrides_runpath=yes
11796   if test "$with_gnu_ld" = yes; then
11797     need_lib_prefix=no
11798   fi
11799   need_version=yes
11800   ;;
11801
11802 sysv4 | sysv4.3*)
11803   version_type=linux
11804   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11805   soname_spec='${libname}${release}${shared_ext}$major'
11806   shlibpath_var=LD_LIBRARY_PATH
11807   case $host_vendor in
11808     sni)
11809       shlibpath_overrides_runpath=no
11810       need_lib_prefix=no
11811       runpath_var=LD_RUN_PATH
11812       ;;
11813     siemens)
11814       need_lib_prefix=no
11815       ;;
11816     motorola)
11817       need_lib_prefix=no
11818       need_version=no
11819       shlibpath_overrides_runpath=no
11820       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11821       ;;
11822   esac
11823   ;;
11824
11825 sysv4*MP*)
11826   if test -d /usr/nec ;then
11827     version_type=linux
11828     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11829     soname_spec='$libname${shared_ext}.$major'
11830     shlibpath_var=LD_LIBRARY_PATH
11831   fi
11832   ;;
11833
11834 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11835   version_type=freebsd-elf
11836   need_lib_prefix=no
11837   need_version=no
11838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11839   soname_spec='${libname}${release}${shared_ext}$major'
11840   shlibpath_var=LD_LIBRARY_PATH
11841   shlibpath_overrides_runpath=yes
11842   hardcode_into_libs=yes
11843   if test "$with_gnu_ld" = yes; then
11844     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11845   else
11846     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11847     case $host_os in
11848       sco3.2v5*)
11849         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11850         ;;
11851     esac
11852   fi
11853   sys_lib_dlsearch_path_spec='/usr/lib'
11854   ;;
11855
11856 tpf*)
11857   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11858   version_type=linux
11859   need_lib_prefix=no
11860   need_version=no
11861   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11862   shlibpath_var=LD_LIBRARY_PATH
11863   shlibpath_overrides_runpath=no
11864   hardcode_into_libs=yes
11865   ;;
11866
11867 uts4*)
11868   version_type=linux
11869   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11870   soname_spec='${libname}${release}${shared_ext}$major'
11871   shlibpath_var=LD_LIBRARY_PATH
11872   ;;
11873
11874 *)
11875   dynamic_linker=no
11876   ;;
11877 esac
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11879 $as_echo "$dynamic_linker" >&6; }
11880 test "$dynamic_linker" = no && can_build_shared=no
11881
11882 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11883 if test "$GCC" = yes; then
11884   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11885 fi
11886
11887 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11888   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11889 fi
11890 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11891   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11892 fi
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11986 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11987 hardcode_action=
11988 if test -n "$hardcode_libdir_flag_spec" ||
11989    test -n "$runpath_var" ||
11990    test "X$hardcode_automatic" = "Xyes" ; then
11991
11992   # We can hardcode non-existent directories.
11993   if test "$hardcode_direct" != no &&
11994      # If the only mechanism to avoid hardcoding is shlibpath_var, we
11995      # have to relink, otherwise we might link with an installed library
11996      # when we should be linking with a yet-to-be-installed one
11997      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11998      test "$hardcode_minus_L" != no; then
11999     # Linking always hardcodes the temporary library directory.
12000     hardcode_action=relink
12001   else
12002     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12003     hardcode_action=immediate
12004   fi
12005 else
12006   # We cannot hardcode anything, or else we can only hardcode existing
12007   # directories.
12008   hardcode_action=unsupported
12009 fi
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12011 $as_echo "$hardcode_action" >&6; }
12012
12013 if test "$hardcode_action" = relink ||
12014    test "$inherit_rpath" = yes; then
12015   # Fast installation is not supported
12016   enable_fast_install=no
12017 elif test "$shlibpath_overrides_runpath" = yes ||
12018      test "$enable_shared" = no; then
12019   # Fast installation is not necessary
12020   enable_fast_install=needless
12021 fi
12022
12023
12024
12025
12026
12027
12028   if test "x$enable_dlopen" != xyes; then
12029   enable_dlopen=unknown
12030   enable_dlopen_self=unknown
12031   enable_dlopen_self_static=unknown
12032 else
12033   lt_cv_dlopen=no
12034   lt_cv_dlopen_libs=
12035
12036   case $host_os in
12037   beos*)
12038     lt_cv_dlopen="load_add_on"
12039     lt_cv_dlopen_libs=
12040     lt_cv_dlopen_self=yes
12041     ;;
12042
12043   mingw* | pw32* | cegcc*)
12044     lt_cv_dlopen="LoadLibrary"
12045     lt_cv_dlopen_libs=
12046     ;;
12047
12048   cygwin*)
12049     lt_cv_dlopen="dlopen"
12050     lt_cv_dlopen_libs=
12051     ;;
12052
12053   darwin*)
12054   # if libdl is installed we need to link against it
12055     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12056 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12057 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12058   $as_echo_n "(cached) " >&6
12059 else
12060   ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-ldl  $LIBS"
12062 if test x$gcc_no_link = xyes; then
12063   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12064 fi
12065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h.  */
12067
12068 /* Override any GCC internal prototype to avoid an error.
12069    Use char because int might match the return type of a GCC
12070    builtin and then its argument prototype would still apply.  */
12071 #ifdef __cplusplus
12072 extern "C"
12073 #endif
12074 char dlopen ();
12075 int
12076 main ()
12077 {
12078 return dlopen ();
12079   ;
12080   return 0;
12081 }
12082 _ACEOF
12083 if ac_fn_c_try_link "$LINENO"; then :
12084   ac_cv_lib_dl_dlopen=yes
12085 else
12086   ac_cv_lib_dl_dlopen=no
12087 fi
12088 rm -f core conftest.err conftest.$ac_objext \
12089     conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12091 fi
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12093 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12094 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12095   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12096 else
12097
12098     lt_cv_dlopen="dyld"
12099     lt_cv_dlopen_libs=
12100     lt_cv_dlopen_self=yes
12101
12102 fi
12103
12104     ;;
12105
12106   *)
12107     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12108 if test "x$ac_cv_func_shl_load" = x""yes; then :
12109   lt_cv_dlopen="shl_load"
12110 else
12111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12112 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12113 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12114   $as_echo_n "(cached) " >&6
12115 else
12116   ac_check_lib_save_LIBS=$LIBS
12117 LIBS="-ldld  $LIBS"
12118 if test x$gcc_no_link = xyes; then
12119   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12120 fi
12121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12122 /* end confdefs.h.  */
12123
12124 /* Override any GCC internal prototype to avoid an error.
12125    Use char because int might match the return type of a GCC
12126    builtin and then its argument prototype would still apply.  */
12127 #ifdef __cplusplus
12128 extern "C"
12129 #endif
12130 char shl_load ();
12131 int
12132 main ()
12133 {
12134 return shl_load ();
12135   ;
12136   return 0;
12137 }
12138 _ACEOF
12139 if ac_fn_c_try_link "$LINENO"; then :
12140   ac_cv_lib_dld_shl_load=yes
12141 else
12142   ac_cv_lib_dld_shl_load=no
12143 fi
12144 rm -f core conftest.err conftest.$ac_objext \
12145     conftest$ac_exeext conftest.$ac_ext
12146 LIBS=$ac_check_lib_save_LIBS
12147 fi
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12149 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12150 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12151   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12152 else
12153   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12154 if test "x$ac_cv_func_dlopen" = x""yes; then :
12155   lt_cv_dlopen="dlopen"
12156 else
12157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12158 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12159 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12160   $as_echo_n "(cached) " >&6
12161 else
12162   ac_check_lib_save_LIBS=$LIBS
12163 LIBS="-ldl  $LIBS"
12164 if test x$gcc_no_link = xyes; then
12165   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12166 fi
12167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168 /* end confdefs.h.  */
12169
12170 /* Override any GCC internal prototype to avoid an error.
12171    Use char because int might match the return type of a GCC
12172    builtin and then its argument prototype would still apply.  */
12173 #ifdef __cplusplus
12174 extern "C"
12175 #endif
12176 char dlopen ();
12177 int
12178 main ()
12179 {
12180 return dlopen ();
12181   ;
12182   return 0;
12183 }
12184 _ACEOF
12185 if ac_fn_c_try_link "$LINENO"; then :
12186   ac_cv_lib_dl_dlopen=yes
12187 else
12188   ac_cv_lib_dl_dlopen=no
12189 fi
12190 rm -f core conftest.err conftest.$ac_objext \
12191     conftest$ac_exeext conftest.$ac_ext
12192 LIBS=$ac_check_lib_save_LIBS
12193 fi
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12195 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12196 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12197   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12198 else
12199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12200 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12201 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12202   $as_echo_n "(cached) " >&6
12203 else
12204   ac_check_lib_save_LIBS=$LIBS
12205 LIBS="-lsvld  $LIBS"
12206 if test x$gcc_no_link = xyes; then
12207   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12208 fi
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h.  */
12211
12212 /* Override any GCC internal prototype to avoid an error.
12213    Use char because int might match the return type of a GCC
12214    builtin and then its argument prototype would still apply.  */
12215 #ifdef __cplusplus
12216 extern "C"
12217 #endif
12218 char dlopen ();
12219 int
12220 main ()
12221 {
12222 return dlopen ();
12223   ;
12224   return 0;
12225 }
12226 _ACEOF
12227 if ac_fn_c_try_link "$LINENO"; then :
12228   ac_cv_lib_svld_dlopen=yes
12229 else
12230   ac_cv_lib_svld_dlopen=no
12231 fi
12232 rm -f core conftest.err conftest.$ac_objext \
12233     conftest$ac_exeext conftest.$ac_ext
12234 LIBS=$ac_check_lib_save_LIBS
12235 fi
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12237 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12238 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12239   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12240 else
12241   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12242 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12243 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12244   $as_echo_n "(cached) " >&6
12245 else
12246   ac_check_lib_save_LIBS=$LIBS
12247 LIBS="-ldld  $LIBS"
12248 if test x$gcc_no_link = xyes; then
12249   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12250 fi
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h.  */
12253
12254 /* Override any GCC internal prototype to avoid an error.
12255    Use char because int might match the return type of a GCC
12256    builtin and then its argument prototype would still apply.  */
12257 #ifdef __cplusplus
12258 extern "C"
12259 #endif
12260 char dld_link ();
12261 int
12262 main ()
12263 {
12264 return dld_link ();
12265   ;
12266   return 0;
12267 }
12268 _ACEOF
12269 if ac_fn_c_try_link "$LINENO"; then :
12270   ac_cv_lib_dld_dld_link=yes
12271 else
12272   ac_cv_lib_dld_dld_link=no
12273 fi
12274 rm -f core conftest.err conftest.$ac_objext \
12275     conftest$ac_exeext conftest.$ac_ext
12276 LIBS=$ac_check_lib_save_LIBS
12277 fi
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12279 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12280 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12281   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12282 fi
12283
12284
12285 fi
12286
12287
12288 fi
12289
12290
12291 fi
12292
12293
12294 fi
12295
12296
12297 fi
12298
12299     ;;
12300   esac
12301
12302   if test "x$lt_cv_dlopen" != xno; then
12303     enable_dlopen=yes
12304   else
12305     enable_dlopen=no
12306   fi
12307
12308   case $lt_cv_dlopen in
12309   dlopen)
12310     save_CPPFLAGS="$CPPFLAGS"
12311     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12312
12313     save_LDFLAGS="$LDFLAGS"
12314     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12315
12316     save_LIBS="$LIBS"
12317     LIBS="$lt_cv_dlopen_libs $LIBS"
12318
12319     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12320 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12321 if test "${lt_cv_dlopen_self+set}" = set; then :
12322   $as_echo_n "(cached) " >&6
12323 else
12324           if test "$cross_compiling" = yes; then :
12325   lt_cv_dlopen_self=cross
12326 else
12327   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12328   lt_status=$lt_dlunknown
12329   cat > conftest.$ac_ext <<_LT_EOF
12330 #line 12330 "configure"
12331 #include "confdefs.h"
12332
12333 #if HAVE_DLFCN_H
12334 #include <dlfcn.h>
12335 #endif
12336
12337 #include <stdio.h>
12338
12339 #ifdef RTLD_GLOBAL
12340 #  define LT_DLGLOBAL           RTLD_GLOBAL
12341 #else
12342 #  ifdef DL_GLOBAL
12343 #    define LT_DLGLOBAL         DL_GLOBAL
12344 #  else
12345 #    define LT_DLGLOBAL         0
12346 #  endif
12347 #endif
12348
12349 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12350    find out it does not work in some platform. */
12351 #ifndef LT_DLLAZY_OR_NOW
12352 #  ifdef RTLD_LAZY
12353 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12354 #  else
12355 #    ifdef DL_LAZY
12356 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12357 #    else
12358 #      ifdef RTLD_NOW
12359 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12360 #      else
12361 #        ifdef DL_NOW
12362 #          define LT_DLLAZY_OR_NOW      DL_NOW
12363 #        else
12364 #          define LT_DLLAZY_OR_NOW      0
12365 #        endif
12366 #      endif
12367 #    endif
12368 #  endif
12369 #endif
12370
12371 /* When -fvisbility=hidden is used, assume the code has been annotated
12372    correspondingly for the symbols needed.  */
12373 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12374 void fnord () __attribute__((visibility("default")));
12375 #endif
12376
12377 void fnord () { int i=42; }
12378 int main ()
12379 {
12380   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12381   int status = $lt_dlunknown;
12382
12383   if (self)
12384     {
12385       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12386       else
12387         {
12388           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12389           else puts (dlerror ());
12390         }
12391       /* dlclose (self); */
12392     }
12393   else
12394     puts (dlerror ());
12395
12396   return status;
12397 }
12398 _LT_EOF
12399   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12400   (eval $ac_link) 2>&5
12401   ac_status=$?
12402   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12403   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12404     (./conftest; exit; ) >&5 2>/dev/null
12405     lt_status=$?
12406     case x$lt_status in
12407       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12408       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12409       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12410     esac
12411   else :
12412     # compilation failed
12413     lt_cv_dlopen_self=no
12414   fi
12415 fi
12416 rm -fr conftest*
12417
12418
12419 fi
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12421 $as_echo "$lt_cv_dlopen_self" >&6; }
12422
12423     if test "x$lt_cv_dlopen_self" = xyes; then
12424       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12425       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12426 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12427 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12428   $as_echo_n "(cached) " >&6
12429 else
12430           if test "$cross_compiling" = yes; then :
12431   lt_cv_dlopen_self_static=cross
12432 else
12433   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12434   lt_status=$lt_dlunknown
12435   cat > conftest.$ac_ext <<_LT_EOF
12436 #line 12436 "configure"
12437 #include "confdefs.h"
12438
12439 #if HAVE_DLFCN_H
12440 #include <dlfcn.h>
12441 #endif
12442
12443 #include <stdio.h>
12444
12445 #ifdef RTLD_GLOBAL
12446 #  define LT_DLGLOBAL           RTLD_GLOBAL
12447 #else
12448 #  ifdef DL_GLOBAL
12449 #    define LT_DLGLOBAL         DL_GLOBAL
12450 #  else
12451 #    define LT_DLGLOBAL         0
12452 #  endif
12453 #endif
12454
12455 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12456    find out it does not work in some platform. */
12457 #ifndef LT_DLLAZY_OR_NOW
12458 #  ifdef RTLD_LAZY
12459 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12460 #  else
12461 #    ifdef DL_LAZY
12462 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12463 #    else
12464 #      ifdef RTLD_NOW
12465 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12466 #      else
12467 #        ifdef DL_NOW
12468 #          define LT_DLLAZY_OR_NOW      DL_NOW
12469 #        else
12470 #          define LT_DLLAZY_OR_NOW      0
12471 #        endif
12472 #      endif
12473 #    endif
12474 #  endif
12475 #endif
12476
12477 /* When -fvisbility=hidden is used, assume the code has been annotated
12478    correspondingly for the symbols needed.  */
12479 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12480 void fnord () __attribute__((visibility("default")));
12481 #endif
12482
12483 void fnord () { int i=42; }
12484 int main ()
12485 {
12486   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12487   int status = $lt_dlunknown;
12488
12489   if (self)
12490     {
12491       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12492       else
12493         {
12494           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12495           else puts (dlerror ());
12496         }
12497       /* dlclose (self); */
12498     }
12499   else
12500     puts (dlerror ());
12501
12502   return status;
12503 }
12504 _LT_EOF
12505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12506   (eval $ac_link) 2>&5
12507   ac_status=$?
12508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12509   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12510     (./conftest; exit; ) >&5 2>/dev/null
12511     lt_status=$?
12512     case x$lt_status in
12513       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12514       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12515       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12516     esac
12517   else :
12518     # compilation failed
12519     lt_cv_dlopen_self_static=no
12520   fi
12521 fi
12522 rm -fr conftest*
12523
12524
12525 fi
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12527 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12528     fi
12529
12530     CPPFLAGS="$save_CPPFLAGS"
12531     LDFLAGS="$save_LDFLAGS"
12532     LIBS="$save_LIBS"
12533     ;;
12534   esac
12535
12536   case $lt_cv_dlopen_self in
12537   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12538   *) enable_dlopen_self=unknown ;;
12539   esac
12540
12541   case $lt_cv_dlopen_self_static in
12542   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12543   *) enable_dlopen_self_static=unknown ;;
12544   esac
12545 fi
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563 striplib=
12564 old_striplib=
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12566 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12567 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12568   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12569   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12571 $as_echo "yes" >&6; }
12572 else
12573 # FIXME - insert some real tests, host_os isn't really good enough
12574   case $host_os in
12575   darwin*)
12576     if test -n "$STRIP" ; then
12577       striplib="$STRIP -x"
12578       old_striplib="$STRIP -S"
12579       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12580 $as_echo "yes" >&6; }
12581     else
12582       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12584     fi
12585     ;;
12586   *)
12587     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12588 $as_echo "no" >&6; }
12589     ;;
12590   esac
12591 fi
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604   # Report which library types will actually be built
12605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12606 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12608 $as_echo "$can_build_shared" >&6; }
12609
12610   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12611 $as_echo_n "checking whether to build shared libraries... " >&6; }
12612   test "$can_build_shared" = "no" && enable_shared=no
12613
12614   # On AIX, shared libraries and static libraries use the same namespace, and
12615   # are all built from PIC.
12616   case $host_os in
12617   aix3*)
12618     test "$enable_shared" = yes && enable_static=no
12619     if test -n "$RANLIB"; then
12620       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12621       postinstall_cmds='$RANLIB $lib'
12622     fi
12623     ;;
12624
12625   aix[4-9]*)
12626     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12627       test "$enable_shared" = yes && enable_static=no
12628     fi
12629     ;;
12630   esac
12631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12632 $as_echo "$enable_shared" >&6; }
12633
12634   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12635 $as_echo_n "checking whether to build static libraries... " >&6; }
12636   # Make sure either enable_shared or enable_static is yes.
12637   test "$enable_shared" = yes || enable_static=yes
12638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12639 $as_echo "$enable_static" >&6; }
12640
12641
12642
12643
12644 fi
12645 ac_ext=c
12646 ac_cpp='$CPP $CPPFLAGS'
12647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12650
12651 CC="$lt_save_CC"
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665         ac_config_commands="$ac_config_commands libtool"
12666
12667
12668
12669
12670 # Only expand once:
12671
12672
12673
12674
12675
12676 case $host in
12677   *-cygwin* | *-mingw*)
12678     # 'host' will be top-level target in the case of a target lib,
12679     # we must compare to with_cross_host to decide if this is a native
12680     # or cross-compiler and select where to install dlls appropriately.
12681     if test -n "$with_cross_host" &&
12682         test x"$with_cross_host" != x"no"; then
12683       lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
12684     else
12685       lt_host_flags='-no-undefined -bindir "$(bindir)"';
12686     fi
12687     ;;
12688   *)
12689     lt_host_flags=
12690     ;;
12691 esac
12692
12693
12694
12695
12696
12697 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
12698
12699 # We need gfortran to compile parts of the library
12700 #AC_PROG_FC(gfortran)
12701 FC="$GFORTRAN"
12702 ac_ext=${ac_fc_srcext-f}
12703 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12704 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12705 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12706 if test -n "$ac_tool_prefix"; then
12707   for ac_prog in gfortran
12708   do
12709     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12712 $as_echo_n "checking for $ac_word... " >&6; }
12713 if test "${ac_cv_prog_FC+set}" = set; then :
12714   $as_echo_n "(cached) " >&6
12715 else
12716   if test -n "$FC"; then
12717   ac_cv_prog_FC="$FC" # Let the user override the test.
12718 else
12719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12720 for as_dir in $PATH
12721 do
12722   IFS=$as_save_IFS
12723   test -z "$as_dir" && as_dir=.
12724     for ac_exec_ext in '' $ac_executable_extensions; do
12725   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12726     ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
12727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12728     break 2
12729   fi
12730 done
12731   done
12732 IFS=$as_save_IFS
12733
12734 fi
12735 fi
12736 FC=$ac_cv_prog_FC
12737 if test -n "$FC"; then
12738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
12739 $as_echo "$FC" >&6; }
12740 else
12741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742 $as_echo "no" >&6; }
12743 fi
12744
12745
12746     test -n "$FC" && break
12747   done
12748 fi
12749 if test -z "$FC"; then
12750   ac_ct_FC=$FC
12751   for ac_prog in gfortran
12752 do
12753   # Extract the first word of "$ac_prog", so it can be a program name with args.
12754 set dummy $ac_prog; ac_word=$2
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12756 $as_echo_n "checking for $ac_word... " >&6; }
12757 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then :
12758   $as_echo_n "(cached) " >&6
12759 else
12760   if test -n "$ac_ct_FC"; then
12761   ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
12762 else
12763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12764 for as_dir in $PATH
12765 do
12766   IFS=$as_save_IFS
12767   test -z "$as_dir" && as_dir=.
12768     for ac_exec_ext in '' $ac_executable_extensions; do
12769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12770     ac_cv_prog_ac_ct_FC="$ac_prog"
12771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12772     break 2
12773   fi
12774 done
12775   done
12776 IFS=$as_save_IFS
12777
12778 fi
12779 fi
12780 ac_ct_FC=$ac_cv_prog_ac_ct_FC
12781 if test -n "$ac_ct_FC"; then
12782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
12783 $as_echo "$ac_ct_FC" >&6; }
12784 else
12785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786 $as_echo "no" >&6; }
12787 fi
12788
12789
12790   test -n "$ac_ct_FC" && break
12791 done
12792
12793   if test "x$ac_ct_FC" = x; then
12794     FC=""
12795   else
12796     case $cross_compiling:$ac_tool_warned in
12797 yes:)
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12800 ac_tool_warned=yes ;;
12801 esac
12802     FC=$ac_ct_FC
12803   fi
12804 fi
12805
12806
12807 # Provide some information about the compiler.
12808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
12809 set X $ac_compile
12810 ac_compiler=$2
12811 for ac_option in --version -v -V -qversion; do
12812   { { ac_try="$ac_compiler $ac_option >&5"
12813 case "(($ac_try" in
12814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12815   *) ac_try_echo=$ac_try;;
12816 esac
12817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12818 $as_echo "$ac_try_echo"; } >&5
12819   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12820   ac_status=$?
12821   if test -s conftest.err; then
12822     sed '10a\
12823 ... rest of stderr output deleted ...
12824          10q' conftest.err >conftest.er1
12825     cat conftest.er1 >&5
12826     rm -f conftest.er1 conftest.err
12827   fi
12828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12829   test $ac_status = 0; }
12830 done
12831 rm -f a.out
12832
12833 # If we don't use `.F' as extension, the preprocessor is not run on the
12834 # input file.  (Note that this only needs to work for GNU compilers.)
12835 ac_save_ext=$ac_ext
12836 ac_ext=F
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
12838 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
12839 if test "${ac_cv_fc_compiler_gnu+set}" = set; then :
12840   $as_echo_n "(cached) " >&6
12841 else
12842   cat > conftest.$ac_ext <<_ACEOF
12843       program main
12844 #ifndef __GNUC__
12845        choke me
12846 #endif
12847
12848       end
12849 _ACEOF
12850 if ac_fn_fc_try_compile "$LINENO"; then :
12851   ac_compiler_gnu=yes
12852 else
12853   ac_compiler_gnu=no
12854 fi
12855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12856 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
12857
12858 fi
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
12860 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
12861 ac_ext=$ac_save_ext
12862 ac_test_FCFLAGS=${FCFLAGS+set}
12863 ac_save_FCFLAGS=$FCFLAGS
12864 FCFLAGS=
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
12866 $as_echo_n "checking whether $FC accepts -g... " >&6; }
12867 if test "${ac_cv_prog_fc_g+set}" = set; then :
12868   $as_echo_n "(cached) " >&6
12869 else
12870   FCFLAGS=-g
12871 cat > conftest.$ac_ext <<_ACEOF
12872       program main
12873
12874       end
12875 _ACEOF
12876 if ac_fn_fc_try_compile "$LINENO"; then :
12877   ac_cv_prog_fc_g=yes
12878 else
12879   ac_cv_prog_fc_g=no
12880 fi
12881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12882
12883 fi
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
12885 $as_echo "$ac_cv_prog_fc_g" >&6; }
12886 if test "$ac_test_FCFLAGS" = set; then
12887   FCFLAGS=$ac_save_FCFLAGS
12888 elif test $ac_cv_prog_fc_g = yes; then
12889   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12890     FCFLAGS="-g -O2"
12891   else
12892     FCFLAGS="-g"
12893   fi
12894 else
12895   if test "x$ac_cv_fc_compiler_gnu" = xyes; then
12896     FCFLAGS="-O2"
12897   else
12898     FCFLAGS=
12899   fi
12900 fi
12901
12902 ac_ext=c
12903 ac_cpp='$CPP $CPPFLAGS'
12904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12907
12908       ac_ext=${ac_fc_srcext-f}
12909 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12910 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12911 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12912
12913
12914 if test -z "$FC" || test "X$FC" = "Xno"; then
12915   _lt_disable_FC=yes
12916 fi
12917
12918 archive_cmds_need_lc_FC=no
12919 allow_undefined_flag_FC=
12920 always_export_symbols_FC=no
12921 archive_expsym_cmds_FC=
12922 export_dynamic_flag_spec_FC=
12923 hardcode_direct_FC=no
12924 hardcode_direct_absolute_FC=no
12925 hardcode_libdir_flag_spec_FC=
12926 hardcode_libdir_flag_spec_ld_FC=
12927 hardcode_libdir_separator_FC=
12928 hardcode_minus_L_FC=no
12929 hardcode_automatic_FC=no
12930 inherit_rpath_FC=no
12931 module_cmds_FC=
12932 module_expsym_cmds_FC=
12933 link_all_deplibs_FC=unknown
12934 old_archive_cmds_FC=$old_archive_cmds
12935 reload_flag_FC=$reload_flag
12936 reload_cmds_FC=$reload_cmds
12937 no_undefined_flag_FC=
12938 whole_archive_flag_spec_FC=
12939 enable_shared_with_static_runtimes_FC=no
12940
12941 # Source file extension for fc test sources.
12942 ac_ext=${ac_fc_srcext-f}
12943
12944 # Object file extension for compiled fc test sources.
12945 objext=o
12946 objext_FC=$objext
12947
12948 # No sense in running all these tests if we already determined that
12949 # the FC compiler isn't working.  Some variables (like enable_shared)
12950 # are currently assumed to apply to all compilers on this platform,
12951 # and will be corrupted by setting them based on a non-working compiler.
12952 if test "$_lt_disable_FC" != yes; then
12953   # Code to be used in simple compile tests
12954   lt_simple_compile_test_code="\
12955       subroutine t
12956       return
12957       end
12958 "
12959
12960   # Code to be used in simple link tests
12961   lt_simple_link_test_code="\
12962       program t
12963       end
12964 "
12965
12966   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12967
12968
12969
12970
12971
12972
12973 # If no C compiler was specified, use CC.
12974 LTCC=${LTCC-"$CC"}
12975
12976 # If no C compiler flags were specified, use CFLAGS.
12977 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12978
12979 # Allow CC to be a program name with arguments.
12980 compiler=$CC
12981
12982
12983   # save warnings/boilerplate of simple test code
12984   ac_outfile=conftest.$ac_objext
12985 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12986 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12987 _lt_compiler_boilerplate=`cat conftest.err`
12988 $RM conftest*
12989
12990   ac_outfile=conftest.$ac_objext
12991 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12992 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12993 _lt_linker_boilerplate=`cat conftest.err`
12994 $RM -r conftest*
12995
12996
12997   # Allow CC to be a program name with arguments.
12998   lt_save_CC="$CC"
12999   lt_save_GCC=$GCC
13000   CC=${FC-"f95"}
13001   compiler=$CC
13002   GCC=$ac_cv_fc_compiler_gnu
13003
13004   compiler_FC=$CC
13005   for cc_temp in $compiler""; do
13006   case $cc_temp in
13007     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13008     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13009     \-*) ;;
13010     *) break;;
13011   esac
13012 done
13013 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13014
13015
13016   if test -n "$compiler"; then
13017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13018 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13019     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13020 $as_echo "$can_build_shared" >&6; }
13021
13022     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13023 $as_echo_n "checking whether to build shared libraries... " >&6; }
13024     test "$can_build_shared" = "no" && enable_shared=no
13025
13026     # On AIX, shared libraries and static libraries use the same namespace, and
13027     # are all built from PIC.
13028     case $host_os in
13029       aix3*)
13030         test "$enable_shared" = yes && enable_static=no
13031         if test -n "$RANLIB"; then
13032           archive_cmds="$archive_cmds~\$RANLIB \$lib"
13033           postinstall_cmds='$RANLIB $lib'
13034         fi
13035         ;;
13036       aix[4-9]*)
13037         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13038           test "$enable_shared" = yes && enable_static=no
13039         fi
13040         ;;
13041     esac
13042     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13043 $as_echo "$enable_shared" >&6; }
13044
13045     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13046 $as_echo_n "checking whether to build static libraries... " >&6; }
13047     # Make sure either enable_shared or enable_static is yes.
13048     test "$enable_shared" = yes || enable_static=yes
13049     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13050 $as_echo "$enable_static" >&6; }
13051
13052     GCC_FC="$ac_cv_fc_compiler_gnu"
13053     LD_FC="$LD"
13054
13055     ## CAVEAT EMPTOR:
13056     ## There is no encapsulation within the following macros, do not change
13057     ## the running order or otherwise move them around unless you know exactly
13058     ## what you are doing...
13059     # Dependencies to place before and after the object being linked:
13060 predep_objects_FC=
13061 postdep_objects_FC=
13062 predeps_FC=
13063 postdeps_FC=
13064 compiler_lib_search_path_FC=
13065
13066 cat > conftest.$ac_ext <<_LT_EOF
13067       subroutine foo
13068       implicit none
13069       integer a
13070       a=0
13071       return
13072       end
13073 _LT_EOF
13074
13075 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13076   (eval $ac_compile) 2>&5
13077   ac_status=$?
13078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13079   test $ac_status = 0; }; then
13080   # Parse the compiler output and extract the necessary
13081   # objects, libraries and library flags.
13082
13083   # Sentinel used to keep track of whether or not we are before
13084   # the conftest object file.
13085   pre_test_object_deps_done=no
13086
13087   for p in `eval "$output_verbose_link_cmd"`; do
13088     case $p in
13089
13090     -L* | -R* | -l*)
13091        # Some compilers place space between "-{L,R}" and the path.
13092        # Remove the space.
13093        if test $p = "-L" ||
13094           test $p = "-R"; then
13095          prev=$p
13096          continue
13097        else
13098          prev=
13099        fi
13100
13101        if test "$pre_test_object_deps_done" = no; then
13102          case $p in
13103          -L* | -R*)
13104            # Internal compiler library paths should come after those
13105            # provided the user.  The postdeps already come after the
13106            # user supplied libs so there is no need to process them.
13107            if test -z "$compiler_lib_search_path_FC"; then
13108              compiler_lib_search_path_FC="${prev}${p}"
13109            else
13110              compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
13111            fi
13112            ;;
13113          # The "-l" case would never come before the object being
13114          # linked, so don't bother handling this case.
13115          esac
13116        else
13117          if test -z "$postdeps_FC"; then
13118            postdeps_FC="${prev}${p}"
13119          else
13120            postdeps_FC="${postdeps_FC} ${prev}${p}"
13121          fi
13122        fi
13123        ;;
13124
13125     *.$objext)
13126        # This assumes that the test object file only shows up
13127        # once in the compiler output.
13128        if test "$p" = "conftest.$objext"; then
13129          pre_test_object_deps_done=yes
13130          continue
13131        fi
13132
13133        if test "$pre_test_object_deps_done" = no; then
13134          if test -z "$predep_objects_FC"; then
13135            predep_objects_FC="$p"
13136          else
13137            predep_objects_FC="$predep_objects_FC $p"
13138          fi
13139        else
13140          if test -z "$postdep_objects_FC"; then
13141            postdep_objects_FC="$p"
13142          else
13143            postdep_objects_FC="$postdep_objects_FC $p"
13144          fi
13145        fi
13146        ;;
13147
13148     *) ;; # Ignore the rest.
13149
13150     esac
13151   done
13152
13153   # Clean up.
13154   rm -f a.out a.exe
13155 else
13156   echo "libtool.m4: error: problem compiling FC test program"
13157 fi
13158
13159 $RM -f confest.$objext
13160
13161 # PORTME: override above test on systems where it is broken
13162
13163
13164 case " $postdeps_FC " in
13165 *" -lc "*) archive_cmds_need_lc_FC=no ;;
13166 esac
13167  compiler_lib_search_dirs_FC=
13168 if test -n "${compiler_lib_search_path_FC}"; then
13169  compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13170 fi
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202     lt_prog_compiler_wl_FC=
13203 lt_prog_compiler_pic_FC=
13204 lt_prog_compiler_static_FC=
13205
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13207 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13208
13209   if test "$GCC" = yes; then
13210     lt_prog_compiler_wl_FC='-Wl,'
13211     lt_prog_compiler_static_FC='-static'
13212
13213     case $host_os in
13214       aix*)
13215       # All AIX code is PIC.
13216       if test "$host_cpu" = ia64; then
13217         # AIX 5 now supports IA64 processor
13218         lt_prog_compiler_static_FC='-Bstatic'
13219       fi
13220       ;;
13221
13222     amigaos*)
13223       case $host_cpu in
13224       powerpc)
13225             # see comment about AmigaOS4 .so support
13226             lt_prog_compiler_pic_FC='-fPIC'
13227         ;;
13228       m68k)
13229             # FIXME: we need at least 68020 code to build shared libraries, but
13230             # adding the `-m68020' flag to GCC prevents building anything better,
13231             # like `-m68040'.
13232             lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
13233         ;;
13234       esac
13235       ;;
13236
13237     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13238       # PIC is the default for these OSes.
13239       ;;
13240
13241     mingw* | cygwin* | pw32* | os2* | cegcc*)
13242       # This hack is so that the source file can tell whether it is being
13243       # built for inclusion in a dll (and should export symbols for example).
13244       # Although the cygwin gcc ignores -fPIC, still need this for old-style
13245       # (--disable-auto-import) libraries
13246       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13247       ;;
13248
13249     darwin* | rhapsody*)
13250       # PIC is the default on this platform
13251       # Common symbols not allowed in MH_DYLIB files
13252       lt_prog_compiler_pic_FC='-fno-common'
13253       ;;
13254
13255     haiku*)
13256       # PIC is the default for Haiku.
13257       # The "-static" flag exists, but is broken.
13258       lt_prog_compiler_static_FC=
13259       ;;
13260
13261     hpux*)
13262       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13263       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13264       # sets the default TLS model and affects inlining.
13265       case $host_cpu in
13266       hppa*64*)
13267         # +Z the default
13268         ;;
13269       *)
13270         lt_prog_compiler_pic_FC='-fPIC'
13271         ;;
13272       esac
13273       ;;
13274
13275     interix[3-9]*)
13276       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13277       # Instead, we relocate shared libraries at runtime.
13278       ;;
13279
13280     msdosdjgpp*)
13281       # Just because we use GCC doesn't mean we suddenly get shared libraries
13282       # on systems that don't support them.
13283       lt_prog_compiler_can_build_shared_FC=no
13284       enable_shared=no
13285       ;;
13286
13287     *nto* | *qnx*)
13288       # QNX uses GNU C++, but need to define -shared option too, otherwise
13289       # it will coredump.
13290       lt_prog_compiler_pic_FC='-fPIC -shared'
13291       ;;
13292
13293     sysv4*MP*)
13294       if test -d /usr/nec; then
13295         lt_prog_compiler_pic_FC=-Kconform_pic
13296       fi
13297       ;;
13298
13299     *)
13300       lt_prog_compiler_pic_FC='-fPIC'
13301       ;;
13302     esac
13303
13304     case $cc_basename in
13305     nvcc*) # Cuda Compiler Driver 2.2
13306       lt_prog_compiler_wl_FC='-Xlinker '
13307       lt_prog_compiler_pic_FC='-Xcompiler -fPIC'
13308       ;;
13309     esac
13310   else
13311     # PORTME Check for flag to pass linker flags through the system compiler.
13312     case $host_os in
13313     aix*)
13314       lt_prog_compiler_wl_FC='-Wl,'
13315       if test "$host_cpu" = ia64; then
13316         # AIX 5 now supports IA64 processor
13317         lt_prog_compiler_static_FC='-Bstatic'
13318       else
13319         lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
13320       fi
13321       ;;
13322
13323     mingw* | cygwin* | pw32* | os2* | cegcc*)
13324       # This hack is so that the source file can tell whether it is being
13325       # built for inclusion in a dll (and should export symbols for example).
13326       lt_prog_compiler_pic_FC='-DDLL_EXPORT'
13327       ;;
13328
13329     hpux9* | hpux10* | hpux11*)
13330       lt_prog_compiler_wl_FC='-Wl,'
13331       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13332       # not for PA HP-UX.
13333       case $host_cpu in
13334       hppa*64*|ia64*)
13335         # +Z the default
13336         ;;
13337       *)
13338         lt_prog_compiler_pic_FC='+Z'
13339         ;;
13340       esac
13341       # Is there a better lt_prog_compiler_static that works with the bundled CC?
13342       lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
13343       ;;
13344
13345     irix5* | irix6* | nonstopux*)
13346       lt_prog_compiler_wl_FC='-Wl,'
13347       # PIC (with -KPIC) is the default.
13348       lt_prog_compiler_static_FC='-non_shared'
13349       ;;
13350
13351     linux* | k*bsd*-gnu | kopensolaris*-gnu)
13352       case $cc_basename in
13353       # old Intel for x86_64 which still supported -KPIC.
13354       ecc*)
13355         lt_prog_compiler_wl_FC='-Wl,'
13356         lt_prog_compiler_pic_FC='-KPIC'
13357         lt_prog_compiler_static_FC='-static'
13358         ;;
13359       # icc used to be incompatible with GCC.
13360       # ICC 10 doesn't accept -KPIC any more.
13361       icc* | ifort*)
13362         lt_prog_compiler_wl_FC='-Wl,'
13363         lt_prog_compiler_pic_FC='-fPIC'
13364         lt_prog_compiler_static_FC='-static'
13365         ;;
13366       # Lahey Fortran 8.1.
13367       lf95*)
13368         lt_prog_compiler_wl_FC='-Wl,'
13369         lt_prog_compiler_pic_FC='--shared'
13370         lt_prog_compiler_static_FC='--static'
13371         ;;
13372       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13373         # Portland Group compilers (*not* the Pentium gcc compiler,
13374         # which looks to be a dead project)
13375         lt_prog_compiler_wl_FC='-Wl,'
13376         lt_prog_compiler_pic_FC='-fpic'
13377         lt_prog_compiler_static_FC='-Bstatic'
13378         ;;
13379       ccc*)
13380         lt_prog_compiler_wl_FC='-Wl,'
13381         # All Alpha code is PIC.
13382         lt_prog_compiler_static_FC='-non_shared'
13383         ;;
13384       xl* | bgxl* | bgf* | mpixl*)
13385         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
13386         lt_prog_compiler_wl_FC='-Wl,'
13387         lt_prog_compiler_pic_FC='-qpic'
13388         lt_prog_compiler_static_FC='-qstaticlink'
13389         ;;
13390       *)
13391         case `$CC -V 2>&1 | sed 5q` in
13392         *Sun\ F* | *Sun*Fortran*)
13393           # Sun Fortran 8.3 passes all unrecognized flags to the linker
13394           lt_prog_compiler_pic_FC='-KPIC'
13395           lt_prog_compiler_static_FC='-Bstatic'
13396           lt_prog_compiler_wl_FC=''
13397           ;;
13398         *Sun\ C*)
13399           # Sun C 5.9
13400           lt_prog_compiler_pic_FC='-KPIC'
13401           lt_prog_compiler_static_FC='-Bstatic'
13402           lt_prog_compiler_wl_FC='-Wl,'
13403           ;;
13404         esac
13405         ;;
13406       esac
13407       ;;
13408
13409     newsos6)
13410       lt_prog_compiler_pic_FC='-KPIC'
13411       lt_prog_compiler_static_FC='-Bstatic'
13412       ;;
13413
13414     *nto* | *qnx*)
13415       # QNX uses GNU C++, but need to define -shared option too, otherwise
13416       # it will coredump.
13417       lt_prog_compiler_pic_FC='-fPIC -shared'
13418       ;;
13419
13420     osf3* | osf4* | osf5*)
13421       lt_prog_compiler_wl_FC='-Wl,'
13422       # All OSF/1 code is PIC.
13423       lt_prog_compiler_static_FC='-non_shared'
13424       ;;
13425
13426     rdos*)
13427       lt_prog_compiler_static_FC='-non_shared'
13428       ;;
13429
13430     solaris*)
13431       lt_prog_compiler_pic_FC='-KPIC'
13432       lt_prog_compiler_static_FC='-Bstatic'
13433       case $cc_basename in
13434       f77* | f90* | f95*)
13435         lt_prog_compiler_wl_FC='-Qoption ld ';;
13436       *)
13437         lt_prog_compiler_wl_FC='-Wl,';;
13438       esac
13439       ;;
13440
13441     sunos4*)
13442       lt_prog_compiler_wl_FC='-Qoption ld '
13443       lt_prog_compiler_pic_FC='-PIC'
13444       lt_prog_compiler_static_FC='-Bstatic'
13445       ;;
13446
13447     sysv4 | sysv4.2uw2* | sysv4.3*)
13448       lt_prog_compiler_wl_FC='-Wl,'
13449       lt_prog_compiler_pic_FC='-KPIC'
13450       lt_prog_compiler_static_FC='-Bstatic'
13451       ;;
13452
13453     sysv4*MP*)
13454       if test -d /usr/nec ;then
13455         lt_prog_compiler_pic_FC='-Kconform_pic'
13456         lt_prog_compiler_static_FC='-Bstatic'
13457       fi
13458       ;;
13459
13460     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13461       lt_prog_compiler_wl_FC='-Wl,'
13462       lt_prog_compiler_pic_FC='-KPIC'
13463       lt_prog_compiler_static_FC='-Bstatic'
13464       ;;
13465
13466     unicos*)
13467       lt_prog_compiler_wl_FC='-Wl,'
13468       lt_prog_compiler_can_build_shared_FC=no
13469       ;;
13470
13471     uts4*)
13472       lt_prog_compiler_pic_FC='-pic'
13473       lt_prog_compiler_static_FC='-Bstatic'
13474       ;;
13475
13476     *)
13477       lt_prog_compiler_can_build_shared_FC=no
13478       ;;
13479     esac
13480   fi
13481
13482 case $host_os in
13483   # For platforms which do not support PIC, -DPIC is meaningless:
13484   *djgpp*)
13485     lt_prog_compiler_pic_FC=
13486     ;;
13487   *)
13488     lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
13489     ;;
13490 esac
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
13492 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
13493
13494
13495
13496 #
13497 # Check to make sure the PIC flag actually works.
13498 #
13499 if test -n "$lt_prog_compiler_pic_FC"; then
13500   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
13501 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
13502 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then :
13503   $as_echo_n "(cached) " >&6
13504 else
13505   lt_cv_prog_compiler_pic_works_FC=no
13506    ac_outfile=conftest.$ac_objext
13507    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13508    lt_compiler_flag="$lt_prog_compiler_pic_FC"
13509    # Insert the option either (1) after the last *FLAGS variable, or
13510    # (2) before a word containing "conftest.", or (3) at the end.
13511    # Note that $ac_compile itself does not contain backslashes and begins
13512    # with a dollar sign (not a hyphen), so the echo should work correctly.
13513    # The option is referenced via a variable to avoid confusing sed.
13514    lt_compile=`echo "$ac_compile" | $SED \
13515    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13516    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13517    -e 's:$: $lt_compiler_flag:'`
13518    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13519    (eval "$lt_compile" 2>conftest.err)
13520    ac_status=$?
13521    cat conftest.err >&5
13522    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13523    if (exit $ac_status) && test -s "$ac_outfile"; then
13524      # The compiler can only warn and ignore the option if not recognized
13525      # So say no if there are warnings other than the usual output.
13526      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13527      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13528      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13529        lt_cv_prog_compiler_pic_works_FC=yes
13530      fi
13531    fi
13532    $RM conftest*
13533
13534 fi
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
13536 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
13537
13538 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
13539     case $lt_prog_compiler_pic_FC in
13540      "" | " "*) ;;
13541      *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
13542      esac
13543 else
13544     lt_prog_compiler_pic_FC=
13545      lt_prog_compiler_can_build_shared_FC=no
13546 fi
13547
13548 fi
13549
13550
13551
13552 #
13553 # Check to make sure the static flag actually works.
13554 #
13555 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13557 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13558 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then :
13559   $as_echo_n "(cached) " >&6
13560 else
13561   lt_cv_prog_compiler_static_works_FC=no
13562    save_LDFLAGS="$LDFLAGS"
13563    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13564    echo "$lt_simple_link_test_code" > conftest.$ac_ext
13565    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13566      # The linker can only warn and ignore the option if not recognized
13567      # So say no if there are warnings
13568      if test -s conftest.err; then
13569        # Append any errors to the config.log.
13570        cat conftest.err 1>&5
13571        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13572        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13573        if diff conftest.exp conftest.er2 >/dev/null; then
13574          lt_cv_prog_compiler_static_works_FC=yes
13575        fi
13576      else
13577        lt_cv_prog_compiler_static_works_FC=yes
13578      fi
13579    fi
13580    $RM -r conftest*
13581    LDFLAGS="$save_LDFLAGS"
13582
13583 fi
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
13585 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
13586
13587 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
13588     :
13589 else
13590     lt_prog_compiler_static_FC=
13591 fi
13592
13593
13594
13595
13596     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13597 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13598 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13599   $as_echo_n "(cached) " >&6
13600 else
13601   lt_cv_prog_compiler_c_o_FC=no
13602    $RM -r conftest 2>/dev/null
13603    mkdir conftest
13604    cd conftest
13605    mkdir out
13606    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13607
13608    lt_compiler_flag="-o out/conftest2.$ac_objext"
13609    # Insert the option either (1) after the last *FLAGS variable, or
13610    # (2) before a word containing "conftest.", or (3) at the end.
13611    # Note that $ac_compile itself does not contain backslashes and begins
13612    # with a dollar sign (not a hyphen), so the echo should work correctly.
13613    lt_compile=`echo "$ac_compile" | $SED \
13614    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13615    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13616    -e 's:$: $lt_compiler_flag:'`
13617    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13618    (eval "$lt_compile" 2>out/conftest.err)
13619    ac_status=$?
13620    cat out/conftest.err >&5
13621    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13622    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13623    then
13624      # The compiler can only warn and ignore the option if not recognized
13625      # So say no if there are warnings
13626      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13627      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13628      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13629        lt_cv_prog_compiler_c_o_FC=yes
13630      fi
13631    fi
13632    chmod u+w . 2>&5
13633    $RM conftest*
13634    # SGI C++ compiler will create directory out/ii_files/ for
13635    # template instantiation
13636    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13637    $RM out/* && rmdir out
13638    cd ..
13639    $RM -r conftest
13640    $RM conftest*
13641
13642 fi
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13644 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13645
13646
13647
13648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13649 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13650 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then :
13651   $as_echo_n "(cached) " >&6
13652 else
13653   lt_cv_prog_compiler_c_o_FC=no
13654    $RM -r conftest 2>/dev/null
13655    mkdir conftest
13656    cd conftest
13657    mkdir out
13658    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13659
13660    lt_compiler_flag="-o out/conftest2.$ac_objext"
13661    # Insert the option either (1) after the last *FLAGS variable, or
13662    # (2) before a word containing "conftest.", or (3) at the end.
13663    # Note that $ac_compile itself does not contain backslashes and begins
13664    # with a dollar sign (not a hyphen), so the echo should work correctly.
13665    lt_compile=`echo "$ac_compile" | $SED \
13666    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13667    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13668    -e 's:$: $lt_compiler_flag:'`
13669    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13670    (eval "$lt_compile" 2>out/conftest.err)
13671    ac_status=$?
13672    cat out/conftest.err >&5
13673    echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674    if (exit $ac_status) && test -s out/conftest2.$ac_objext
13675    then
13676      # The compiler can only warn and ignore the option if not recognized
13677      # So say no if there are warnings
13678      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13679      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13680      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13681        lt_cv_prog_compiler_c_o_FC=yes
13682      fi
13683    fi
13684    chmod u+w . 2>&5
13685    $RM conftest*
13686    # SGI C++ compiler will create directory out/ii_files/ for
13687    # template instantiation
13688    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13689    $RM out/* && rmdir out
13690    cd ..
13691    $RM -r conftest
13692    $RM conftest*
13693
13694 fi
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
13696 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
13697
13698
13699
13700
13701 hard_links="nottested"
13702 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
13703   # do not overwrite the value of need_locks provided by the user
13704   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13705 $as_echo_n "checking if we can lock with hard links... " >&6; }
13706   hard_links=yes
13707   $RM conftest*
13708   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13709   touch conftest.a
13710   ln conftest.a conftest.b 2>&5 || hard_links=no
13711   ln conftest.a conftest.b 2>/dev/null && hard_links=no
13712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13713 $as_echo "$hard_links" >&6; }
13714   if test "$hard_links" = no; then
13715     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13716 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13717     need_locks=warn
13718   fi
13719 else
13720   need_locks=no
13721 fi
13722
13723
13724
13725     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13726 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13727
13728   runpath_var=
13729   allow_undefined_flag_FC=
13730   always_export_symbols_FC=no
13731   archive_cmds_FC=
13732   archive_expsym_cmds_FC=
13733   compiler_needs_object_FC=no
13734   enable_shared_with_static_runtimes_FC=no
13735   export_dynamic_flag_spec_FC=
13736   export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13737   hardcode_automatic_FC=no
13738   hardcode_direct_FC=no
13739   hardcode_direct_absolute_FC=no
13740   hardcode_libdir_flag_spec_FC=
13741   hardcode_libdir_flag_spec_ld_FC=
13742   hardcode_libdir_separator_FC=
13743   hardcode_minus_L_FC=no
13744   hardcode_shlibpath_var_FC=unsupported
13745   inherit_rpath_FC=no
13746   link_all_deplibs_FC=unknown
13747   module_cmds_FC=
13748   module_expsym_cmds_FC=
13749   old_archive_from_new_cmds_FC=
13750   old_archive_from_expsyms_cmds_FC=
13751   thread_safe_flag_spec_FC=
13752   whole_archive_flag_spec_FC=
13753   # include_expsyms should be a list of space-separated symbols to be *always*
13754   # included in the symbol list
13755   include_expsyms_FC=
13756   # exclude_expsyms can be an extended regexp of symbols to exclude
13757   # it will be wrapped by ` (' and `)$', so one must not match beginning or
13758   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13759   # as well as any symbol that contains `d'.
13760   exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13761   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13762   # platforms (ab)use it in PIC code, but their linkers get confused if
13763   # the symbol is explicitly referenced.  Since portable code cannot
13764   # rely on this symbol name, it's probably fine to never include it in
13765   # preloaded symbol tables.
13766   # Exclude shared library initialization/finalization symbols.
13767   extract_expsyms_cmds=
13768
13769   case $host_os in
13770   cygwin* | mingw* | pw32* | cegcc*)
13771     # FIXME: the MSVC++ port hasn't been tested in a loooong time
13772     # When not using gcc, we currently assume that we are using
13773     # Microsoft Visual C++.
13774     if test "$GCC" != yes; then
13775       with_gnu_ld=no
13776     fi
13777     ;;
13778   interix*)
13779     # we just hope/assume this is gcc and not c89 (= MSVC++)
13780     with_gnu_ld=yes
13781     ;;
13782   openbsd*)
13783     with_gnu_ld=no
13784     ;;
13785   esac
13786
13787   ld_shlibs_FC=yes
13788
13789   # On some targets, GNU ld is compatible enough with the native linker
13790   # that we're better off using the native interface for both.
13791   lt_use_gnu_ld_interface=no
13792   if test "$with_gnu_ld" = yes; then
13793     case $host_os in
13794       aix*)
13795         # The AIX port of GNU ld has always aspired to compatibility
13796         # with the native linker.  However, as the warning in the GNU ld
13797         # block says, versions before 2.19.5* couldn't really create working
13798         # shared libraries, regardless of the interface used.
13799         case `$LD -v 2>&1` in
13800           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
13801           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
13802           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
13803           *)
13804             lt_use_gnu_ld_interface=yes
13805             ;;
13806         esac
13807         ;;
13808       *)
13809         lt_use_gnu_ld_interface=yes
13810         ;;
13811     esac
13812   fi
13813
13814   if test "$lt_use_gnu_ld_interface" = yes; then
13815     # If archive_cmds runs LD, not CC, wlarc should be empty
13816     wlarc='${wl}'
13817
13818     # Set some defaults for GNU ld with shared library support. These
13819     # are reset later if shared libraries are not supported. Putting them
13820     # here allows them to be overridden if necessary.
13821     runpath_var=LD_RUN_PATH
13822     hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13823     export_dynamic_flag_spec_FC='${wl}--export-dynamic'
13824     # ancient GNU ld didn't support --whole-archive et. al.
13825     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
13826       whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13827     else
13828       whole_archive_flag_spec_FC=
13829     fi
13830     supports_anon_versioning=no
13831     case `$LD -v 2>&1` in
13832       *GNU\ gold*) supports_anon_versioning=yes ;;
13833       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13834       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13835       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13836       *\ 2.11.*) ;; # other 2.11 versions
13837       *) supports_anon_versioning=yes ;;
13838     esac
13839
13840     # See if GNU ld supports shared libraries.
13841     case $host_os in
13842     aix[3-9]*)
13843       # On AIX/PPC, the GNU linker is very broken
13844       if test "$host_cpu" != ia64; then
13845         ld_shlibs_FC=no
13846         cat <<_LT_EOF 1>&2
13847
13848 *** Warning: the GNU linker, at least up to release 2.19, is reported
13849 *** to be unable to reliably create shared libraries on AIX.
13850 *** Therefore, libtool is disabling shared libraries support.  If you
13851 *** really care for shared libraries, you may want to install binutils
13852 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
13853 *** You will then need to restart the configuration process.
13854
13855 _LT_EOF
13856       fi
13857       ;;
13858
13859     amigaos*)
13860       case $host_cpu in
13861       powerpc)
13862             # see comment about AmigaOS4 .so support
13863             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13864             archive_expsym_cmds_FC=''
13865         ;;
13866       m68k)
13867             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)'
13868             hardcode_libdir_flag_spec_FC='-L$libdir'
13869             hardcode_minus_L_FC=yes
13870         ;;
13871       esac
13872       ;;
13873
13874     beos*)
13875       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13876         allow_undefined_flag_FC=unsupported
13877         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13878         # support --undefined.  This deserves some investigation.  FIXME
13879         archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13880       else
13881         ld_shlibs_FC=no
13882       fi
13883       ;;
13884
13885     cygwin* | mingw* | pw32* | cegcc*)
13886       # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
13887       # as there is no search path for DLLs.
13888       hardcode_libdir_flag_spec_FC='-L$libdir'
13889       export_dynamic_flag_spec_FC='${wl}--export-all-symbols'
13890       allow_undefined_flag_FC=unsupported
13891       always_export_symbols_FC=no
13892       enable_shared_with_static_runtimes_FC=yes
13893       export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
13894
13895       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13896         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13897         # If the export-symbols file already is a .def file (1st line
13898         # is EXPORTS), use it as is; otherwise, prepend...
13899         archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13900           cp $export_symbols $output_objdir/$soname.def;
13901         else
13902           echo EXPORTS > $output_objdir/$soname.def;
13903           cat $export_symbols >> $output_objdir/$soname.def;
13904         fi~
13905         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13906       else
13907         ld_shlibs_FC=no
13908       fi
13909       ;;
13910
13911     haiku*)
13912       archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13913       link_all_deplibs_FC=yes
13914       ;;
13915
13916     interix[3-9]*)
13917       hardcode_direct_FC=no
13918       hardcode_shlibpath_var_FC=no
13919       hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13920       export_dynamic_flag_spec_FC='${wl}-E'
13921       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13922       # Instead, shared libraries are loaded at an image base (0x10000000 by
13923       # default) and relocated if they conflict, which is a slow very memory
13924       # consuming and fragmenting process.  To avoid this, we pick a random,
13925       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13926       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13927       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'
13928       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'
13929       ;;
13930
13931     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
13932       tmp_diet=no
13933       if test "$host_os" = linux-dietlibc; then
13934         case $cc_basename in
13935           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
13936         esac
13937       fi
13938       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13939          && test "$tmp_diet" = no
13940       then
13941         tmp_addflag=
13942         tmp_sharedflag='-shared'
13943         case $cc_basename,$host_cpu in
13944         pgcc*)                          # Portland Group C compiler
13945           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'
13946           tmp_addflag=' $pic_flag'
13947           ;;
13948         pgf77* | pgf90* | pgf95* | pgfortran*)
13949                                         # Portland Group f77 and f90 compilers
13950           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'
13951           tmp_addflag=' $pic_flag -Mnomain' ;;
13952         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
13953           tmp_addflag=' -i_dynamic' ;;
13954         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
13955           tmp_addflag=' -i_dynamic -nofor_main' ;;
13956         ifc* | ifort*)                  # Intel Fortran compiler
13957           tmp_addflag=' -nofor_main' ;;
13958         lf95*)                          # Lahey Fortran 8.1
13959           whole_archive_flag_spec_FC=
13960           tmp_sharedflag='--shared' ;;
13961         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
13962           tmp_sharedflag='-qmkshrobj'
13963           tmp_addflag= ;;
13964         nvcc*)  # Cuda Compiler Driver 2.2
13965           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'
13966           compiler_needs_object_FC=yes
13967           ;;
13968         esac
13969         case `$CC -V 2>&1 | sed 5q` in
13970         *Sun\ C*)                       # Sun C 5.9
13971           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'
13972           compiler_needs_object_FC=yes
13973           tmp_sharedflag='-G' ;;
13974         *Sun\ F*)                       # Sun Fortran 8.3
13975           tmp_sharedflag='-G' ;;
13976         esac
13977         archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13978
13979         if test "x$supports_anon_versioning" = xyes; then
13980           archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13981             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13982             echo "local: *; };" >> $output_objdir/$libname.ver~
13983             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13984         fi
13985
13986         case $cc_basename in
13987         xlf* | bgf* | bgxlf* | mpixlf*)
13988           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
13989           whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
13990           hardcode_libdir_flag_spec_FC=
13991           hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
13992           archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
13993           if test "x$supports_anon_versioning" = xyes; then
13994             archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
13995               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13996               echo "local: *; };" >> $output_objdir/$libname.ver~
13997               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
13998           fi
13999           ;;
14000         esac
14001       else
14002         ld_shlibs_FC=no
14003       fi
14004       ;;
14005
14006     netbsd*)
14007       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14008         archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14009         wlarc=
14010       else
14011         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14012         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14013       fi
14014       ;;
14015
14016     solaris*)
14017       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
14018         ld_shlibs_FC=no
14019         cat <<_LT_EOF 1>&2
14020
14021 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14022 *** create shared libraries on Solaris systems.  Therefore, libtool
14023 *** is disabling shared libraries support.  We urge you to upgrade GNU
14024 *** binutils to release 2.9.1 or newer.  Another option is to modify
14025 *** your PATH or compiler configuration so that the native linker is
14026 *** used, and then restart.
14027
14028 _LT_EOF
14029       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14030         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14031         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14032       else
14033         ld_shlibs_FC=no
14034       fi
14035       ;;
14036
14037     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14038       case `$LD -v 2>&1` in
14039         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14040         ld_shlibs_FC=no
14041         cat <<_LT_EOF 1>&2
14042
14043 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14044 *** reliably create shared libraries on SCO systems.  Therefore, libtool
14045 *** is disabling shared libraries support.  We urge you to upgrade GNU
14046 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
14047 *** your PATH or compiler configuration so that the native linker is
14048 *** used, and then restart.
14049
14050 _LT_EOF
14051         ;;
14052         *)
14053           # For security reasons, it is highly recommended that you always
14054           # use absolute paths for naming shared libraries, and exclude the
14055           # DT_RUNPATH tag from executables and libraries.  But doing so
14056           # requires that you compile everything twice, which is a pain.
14057           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14058             hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14059             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14060             archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14061           else
14062             ld_shlibs_FC=no
14063           fi
14064         ;;
14065       esac
14066       ;;
14067
14068     sunos4*)
14069       archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14070       wlarc=
14071       hardcode_direct_FC=yes
14072       hardcode_shlibpath_var_FC=no
14073       ;;
14074
14075     *)
14076       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14077         archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14078         archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14079       else
14080         ld_shlibs_FC=no
14081       fi
14082       ;;
14083     esac
14084
14085     if test "$ld_shlibs_FC" = no; then
14086       runpath_var=
14087       hardcode_libdir_flag_spec_FC=
14088       export_dynamic_flag_spec_FC=
14089       whole_archive_flag_spec_FC=
14090     fi
14091   else
14092     # PORTME fill in a description of your system's linker (not GNU ld)
14093     case $host_os in
14094     aix3*)
14095       allow_undefined_flag_FC=unsupported
14096       always_export_symbols_FC=yes
14097       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'
14098       # Note: this linker hardcodes the directories in LIBPATH if there
14099       # are no directories specified by -L.
14100       hardcode_minus_L_FC=yes
14101       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14102         # Neither direct hardcoding nor static linking is supported with a
14103         # broken collect2.
14104         hardcode_direct_FC=unsupported
14105       fi
14106       ;;
14107
14108     aix[4-9]*)
14109       if test "$host_cpu" = ia64; then
14110         # On IA64, the linker does run time linking by default, so we don't
14111         # have to do anything special.
14112         aix_use_runtimelinking=no
14113         exp_sym_flag='-Bexport'
14114         no_entry_flag=""
14115       else
14116         # If we're using GNU nm, then we don't want the "-C" option.
14117         # -C means demangle to AIX nm, but means don't demangle with GNU nm
14118         # Also, AIX nm treats weak defined symbols like other global
14119         # defined symbols, whereas GNU nm marks them as "W".
14120         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14121           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'
14122         else
14123           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'
14124         fi
14125         aix_use_runtimelinking=no
14126
14127         # Test if we are trying to use run time linking or normal
14128         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14129         # need to do runtime linking.
14130         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14131           for ld_flag in $LDFLAGS; do
14132           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14133             aix_use_runtimelinking=yes
14134             break
14135           fi
14136           done
14137           ;;
14138         esac
14139
14140         exp_sym_flag='-bexport'
14141         no_entry_flag='-bnoentry'
14142       fi
14143
14144       # When large executables or shared objects are built, AIX ld can
14145       # have problems creating the table of contents.  If linking a library
14146       # or program results in "error TOC overflow" add -mminimal-toc to
14147       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14148       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14149
14150       archive_cmds_FC=''
14151       hardcode_direct_FC=yes
14152       hardcode_direct_absolute_FC=yes
14153       hardcode_libdir_separator_FC=':'
14154       link_all_deplibs_FC=yes
14155       file_list_spec_FC='${wl}-f,'
14156
14157       if test "$GCC" = yes; then
14158         case $host_os in aix4.[012]|aix4.[012].*)
14159         # We only want to do this on AIX 4.2 and lower, the check
14160         # below for broken collect2 doesn't work under 4.3+
14161           collect2name=`${CC} -print-prog-name=collect2`
14162           if test -f "$collect2name" &&
14163            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14164           then
14165           # We have reworked collect2
14166           :
14167           else
14168           # We have old collect2
14169           hardcode_direct_FC=unsupported
14170           # It fails to find uninstalled libraries when the uninstalled
14171           # path is not listed in the libpath.  Setting hardcode_minus_L
14172           # to unsupported forces relinking
14173           hardcode_minus_L_FC=yes
14174           hardcode_libdir_flag_spec_FC='-L$libdir'
14175           hardcode_libdir_separator_FC=
14176           fi
14177           ;;
14178         esac
14179         shared_flag='-shared'
14180         if test "$aix_use_runtimelinking" = yes; then
14181           shared_flag="$shared_flag "'${wl}-G'
14182         fi
14183       else
14184         # not using gcc
14185         if test "$host_cpu" = ia64; then
14186         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14187         # chokes on -Wl,-G. The following line is correct:
14188           shared_flag='-G'
14189         else
14190           if test "$aix_use_runtimelinking" = yes; then
14191             shared_flag='${wl}-G'
14192           else
14193             shared_flag='${wl}-bM:SRE'
14194           fi
14195         fi
14196       fi
14197
14198       export_dynamic_flag_spec_FC='${wl}-bexpall'
14199       # It seems that -bexpall does not export symbols beginning with
14200       # underscore (_), so it is better to generate a list of symbols to export.
14201       always_export_symbols_FC=yes
14202       if test "$aix_use_runtimelinking" = yes; then
14203         # Warning - without using the other runtime loading flags (-brtl),
14204         # -berok will link without error, but may produce a broken library.
14205         allow_undefined_flag_FC='-berok'
14206         # Determine the default libpath from the value encoded in an
14207         # empty executable.
14208         if test x$gcc_no_link = xyes; then
14209   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14210 fi
14211 cat > conftest.$ac_ext <<_ACEOF
14212       program main
14213
14214       end
14215 _ACEOF
14216 if ac_fn_fc_try_link "$LINENO"; then :
14217
14218 lt_aix_libpath_sed='
14219     /Import File Strings/,/^$/ {
14220         /^0/ {
14221             s/^0  *\(.*\)$/\1/
14222             p
14223         }
14224     }'
14225 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14226 # Check for a 64-bit object if we didn't find anything.
14227 if test -z "$aix_libpath"; then
14228   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14229 fi
14230 fi
14231 rm -f core conftest.err conftest.$ac_objext \
14232     conftest$ac_exeext conftest.$ac_ext
14233 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14234
14235         hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14236         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"
14237       else
14238         if test "$host_cpu" = ia64; then
14239           hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
14240           allow_undefined_flag_FC="-z nodefs"
14241           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"
14242         else
14243          # Determine the default libpath from the value encoded in an
14244          # empty executable.
14245          if test x$gcc_no_link = xyes; then
14246   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14247 fi
14248 cat > conftest.$ac_ext <<_ACEOF
14249       program main
14250
14251       end
14252 _ACEOF
14253 if ac_fn_fc_try_link "$LINENO"; then :
14254
14255 lt_aix_libpath_sed='
14256     /Import File Strings/,/^$/ {
14257         /^0/ {
14258             s/^0  *\(.*\)$/\1/
14259             p
14260         }
14261     }'
14262 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14263 # Check for a 64-bit object if we didn't find anything.
14264 if test -z "$aix_libpath"; then
14265   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14266 fi
14267 fi
14268 rm -f core conftest.err conftest.$ac_objext \
14269     conftest$ac_exeext conftest.$ac_ext
14270 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14271
14272          hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
14273           # Warning - without using the other run time loading flags,
14274           # -berok will link without error, but may produce a broken library.
14275           no_undefined_flag_FC=' ${wl}-bernotok'
14276           allow_undefined_flag_FC=' ${wl}-berok'
14277           if test "$with_gnu_ld" = yes; then
14278             # We only use this code for GNU lds that support --whole-archive.
14279             whole_archive_flag_spec_FC='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14280           else
14281             # Exported symbols can be pulled into shared objects from archives
14282             whole_archive_flag_spec_FC='$convenience'
14283           fi
14284           archive_cmds_need_lc_FC=yes
14285           # This is similar to how AIX traditionally builds its shared libraries.
14286           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'
14287         fi
14288       fi
14289       ;;
14290
14291     amigaos*)
14292       case $host_cpu in
14293       powerpc)
14294             # see comment about AmigaOS4 .so support
14295             archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14296             archive_expsym_cmds_FC=''
14297         ;;
14298       m68k)
14299             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)'
14300             hardcode_libdir_flag_spec_FC='-L$libdir'
14301             hardcode_minus_L_FC=yes
14302         ;;
14303       esac
14304       ;;
14305
14306     bsdi[45]*)
14307       export_dynamic_flag_spec_FC=-rdynamic
14308       ;;
14309
14310     cygwin* | mingw* | pw32* | cegcc*)
14311       # When not using gcc, we currently assume that we are using
14312       # Microsoft Visual C++.
14313       # hardcode_libdir_flag_spec is actually meaningless, as there is
14314       # no search path for DLLs.
14315       hardcode_libdir_flag_spec_FC=' '
14316       allow_undefined_flag_FC=unsupported
14317       # Tell ltmain to make .lib files, not .a files.
14318       libext=lib
14319       # Tell ltmain to make .dll files, not .so files.
14320       shrext_cmds=".dll"
14321       # FIXME: Setting linknames here is a bad hack.
14322       archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14323       # The linker will automatically build a .lib file if we build a DLL.
14324       old_archive_from_new_cmds_FC='true'
14325       # FIXME: Should let the user specify the lib program.
14326       old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
14327       fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
14328       enable_shared_with_static_runtimes_FC=yes
14329       ;;
14330
14331     darwin* | rhapsody*)
14332
14333
14334   archive_cmds_need_lc_FC=no
14335   hardcode_direct_FC=no
14336   hardcode_automatic_FC=yes
14337   hardcode_shlibpath_var_FC=unsupported
14338   if test "$lt_cv_ld_force_load" = "yes"; then
14339     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\"`'
14340   else
14341     whole_archive_flag_spec_FC=''
14342   fi
14343   link_all_deplibs_FC=yes
14344   allow_undefined_flag_FC="$_lt_dar_allow_undefined"
14345   case $cc_basename in
14346      ifort*) _lt_dar_can_shared=yes ;;
14347      *) _lt_dar_can_shared=$GCC ;;
14348   esac
14349   if test "$_lt_dar_can_shared" = "yes"; then
14350     output_verbose_link_cmd=func_echo_all
14351     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}"
14352     module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14353     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}"
14354     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}"
14355
14356   else
14357   ld_shlibs_FC=no
14358   fi
14359
14360       ;;
14361
14362     dgux*)
14363       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14364       hardcode_libdir_flag_spec_FC='-L$libdir'
14365       hardcode_shlibpath_var_FC=no
14366       ;;
14367
14368     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14369     # support.  Future versions do this automatically, but an explicit c++rt0.o
14370     # does not break anything, and helps significantly (at the cost of a little
14371     # extra space).
14372     freebsd2.2*)
14373       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14374       hardcode_libdir_flag_spec_FC='-R$libdir'
14375       hardcode_direct_FC=yes
14376       hardcode_shlibpath_var_FC=no
14377       ;;
14378
14379     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
14380     freebsd2.*)
14381       archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14382       hardcode_direct_FC=yes
14383       hardcode_minus_L_FC=yes
14384       hardcode_shlibpath_var_FC=no
14385       ;;
14386
14387     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14388     freebsd* | dragonfly*)
14389       archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
14390       hardcode_libdir_flag_spec_FC='-R$libdir'
14391       hardcode_direct_FC=yes
14392       hardcode_shlibpath_var_FC=no
14393       ;;
14394
14395     hpux9*)
14396       if test "$GCC" = yes; then
14397         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'
14398       else
14399         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'
14400       fi
14401       hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14402       hardcode_libdir_separator_FC=:
14403       hardcode_direct_FC=yes
14404
14405       # hardcode_minus_L: Not really in the search PATH,
14406       # but as the default location of the library.
14407       hardcode_minus_L_FC=yes
14408       export_dynamic_flag_spec_FC='${wl}-E'
14409       ;;
14410
14411     hpux10*)
14412       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14413         archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14414       else
14415         archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14416       fi
14417       if test "$with_gnu_ld" = no; then
14418         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14419         hardcode_libdir_flag_spec_ld_FC='+b $libdir'
14420         hardcode_libdir_separator_FC=:
14421         hardcode_direct_FC=yes
14422         hardcode_direct_absolute_FC=yes
14423         export_dynamic_flag_spec_FC='${wl}-E'
14424         # hardcode_minus_L: Not really in the search PATH,
14425         # but as the default location of the library.
14426         hardcode_minus_L_FC=yes
14427       fi
14428       ;;
14429
14430     hpux11*)
14431       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14432         case $host_cpu in
14433         hppa*64*)
14434           archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14435           ;;
14436         ia64*)
14437           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14438           ;;
14439         *)
14440           archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14441           ;;
14442         esac
14443       else
14444         case $host_cpu in
14445         hppa*64*)
14446           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14447           ;;
14448         ia64*)
14449           archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14450           ;;
14451         *)
14452         archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14453           ;;
14454         esac
14455       fi
14456       if test "$with_gnu_ld" = no; then
14457         hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
14458         hardcode_libdir_separator_FC=:
14459
14460         case $host_cpu in
14461         hppa*64*|ia64*)
14462           hardcode_direct_FC=no
14463           hardcode_shlibpath_var_FC=no
14464           ;;
14465         *)
14466           hardcode_direct_FC=yes
14467           hardcode_direct_absolute_FC=yes
14468           export_dynamic_flag_spec_FC='${wl}-E'
14469
14470           # hardcode_minus_L: Not really in the search PATH,
14471           # but as the default location of the library.
14472           hardcode_minus_L_FC=yes
14473           ;;
14474         esac
14475       fi
14476       ;;
14477
14478     irix5* | irix6* | nonstopux*)
14479       if test "$GCC" = yes; then
14480         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'
14481         # Try to use the -exported_symbol ld option, if it does not
14482         # work, assume that -exports_file does not work either and
14483         # implicitly export all symbols.
14484         save_LDFLAGS="$LDFLAGS"
14485         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14486         if test x$gcc_no_link = xyes; then
14487   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14488 fi
14489 cat > conftest.$ac_ext <<_ACEOF
14490 int foo(void) {}
14491 _ACEOF
14492 if ac_fn_fc_try_link "$LINENO"; then :
14493   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'
14494
14495 fi
14496 rm -f core conftest.err conftest.$ac_objext \
14497     conftest$ac_exeext conftest.$ac_ext
14498         LDFLAGS="$save_LDFLAGS"
14499       else
14500         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'
14501         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'
14502       fi
14503       archive_cmds_need_lc_FC='no'
14504       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14505       hardcode_libdir_separator_FC=:
14506       inherit_rpath_FC=yes
14507       link_all_deplibs_FC=yes
14508       ;;
14509
14510     netbsd*)
14511       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14512         archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14513       else
14514         archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
14515       fi
14516       hardcode_libdir_flag_spec_FC='-R$libdir'
14517       hardcode_direct_FC=yes
14518       hardcode_shlibpath_var_FC=no
14519       ;;
14520
14521     newsos6)
14522       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14523       hardcode_direct_FC=yes
14524       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14525       hardcode_libdir_separator_FC=:
14526       hardcode_shlibpath_var_FC=no
14527       ;;
14528
14529     *nto* | *qnx*)
14530       ;;
14531
14532     openbsd*)
14533       if test -f /usr/libexec/ld.so; then
14534         hardcode_direct_FC=yes
14535         hardcode_shlibpath_var_FC=no
14536         hardcode_direct_absolute_FC=yes
14537         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14538           archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14539           archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14540           hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14541           export_dynamic_flag_spec_FC='${wl}-E'
14542         else
14543           case $host_os in
14544            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
14545              archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14546              hardcode_libdir_flag_spec_FC='-R$libdir'
14547              ;;
14548            *)
14549              archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14550              hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
14551              ;;
14552           esac
14553         fi
14554       else
14555         ld_shlibs_FC=no
14556       fi
14557       ;;
14558
14559     os2*)
14560       hardcode_libdir_flag_spec_FC='-L$libdir'
14561       hardcode_minus_L_FC=yes
14562       allow_undefined_flag_FC=unsupported
14563       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'
14564       old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
14565       ;;
14566
14567     osf3*)
14568       if test "$GCC" = yes; then
14569         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14570         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'
14571       else
14572         allow_undefined_flag_FC=' -expect_unresolved \*'
14573         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'
14574       fi
14575       archive_cmds_need_lc_FC='no'
14576       hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14577       hardcode_libdir_separator_FC=:
14578       ;;
14579
14580     osf4* | osf5*)      # as osf3* with the addition of -msym flag
14581       if test "$GCC" = yes; then
14582         allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
14583         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'
14584         hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
14585       else
14586         allow_undefined_flag_FC=' -expect_unresolved \*'
14587         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'
14588         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~
14589         $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'
14590
14591         # Both c and cxx compiler support -rpath directly
14592         hardcode_libdir_flag_spec_FC='-rpath $libdir'
14593       fi
14594       archive_cmds_need_lc_FC='no'
14595       hardcode_libdir_separator_FC=:
14596       ;;
14597
14598     solaris*)
14599       no_undefined_flag_FC=' -z defs'
14600       if test "$GCC" = yes; then
14601         wlarc='${wl}'
14602         archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14603         archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14604           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14605       else
14606         case `$CC -V 2>&1` in
14607         *"Compilers 5.0"*)
14608           wlarc=''
14609           archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14610           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14611           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
14612           ;;
14613         *)
14614           wlarc='${wl}'
14615           archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
14616           archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14617           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
14618           ;;
14619         esac
14620       fi
14621       hardcode_libdir_flag_spec_FC='-R$libdir'
14622       hardcode_shlibpath_var_FC=no
14623       case $host_os in
14624       solaris2.[0-5] | solaris2.[0-5].*) ;;
14625       *)
14626         # The compiler driver will combine and reorder linker options,
14627         # but understands `-z linker_flag'.  GCC discards it without `$wl',
14628         # but is careful enough not to reorder.
14629         # Supported since Solaris 2.6 (maybe 2.5.1?)
14630         if test "$GCC" = yes; then
14631           whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14632         else
14633           whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
14634         fi
14635         ;;
14636       esac
14637       link_all_deplibs_FC=yes
14638       ;;
14639
14640     sunos4*)
14641       if test "x$host_vendor" = xsequent; then
14642         # Use $CC to link under sequent, because it throws in some extra .o
14643         # files that make .init and .fini sections work.
14644         archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
14645       else
14646         archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
14647       fi
14648       hardcode_libdir_flag_spec_FC='-L$libdir'
14649       hardcode_direct_FC=yes
14650       hardcode_minus_L_FC=yes
14651       hardcode_shlibpath_var_FC=no
14652       ;;
14653
14654     sysv4)
14655       case $host_vendor in
14656         sni)
14657           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14658           hardcode_direct_FC=yes # is this really true???
14659         ;;
14660         siemens)
14661           ## LD is ld it makes a PLAMLIB
14662           ## CC just makes a GrossModule.
14663           archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
14664           reload_cmds_FC='$CC -r -o $output$reload_objs'
14665           hardcode_direct_FC=no
14666         ;;
14667         motorola)
14668           archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14669           hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
14670         ;;
14671       esac
14672       runpath_var='LD_RUN_PATH'
14673       hardcode_shlibpath_var_FC=no
14674       ;;
14675
14676     sysv4.3*)
14677       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14678       hardcode_shlibpath_var_FC=no
14679       export_dynamic_flag_spec_FC='-Bexport'
14680       ;;
14681
14682     sysv4*MP*)
14683       if test -d /usr/nec; then
14684         archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14685         hardcode_shlibpath_var_FC=no
14686         runpath_var=LD_RUN_PATH
14687         hardcode_runpath_var=yes
14688         ld_shlibs_FC=yes
14689       fi
14690       ;;
14691
14692     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14693       no_undefined_flag_FC='${wl}-z,text'
14694       archive_cmds_need_lc_FC=no
14695       hardcode_shlibpath_var_FC=no
14696       runpath_var='LD_RUN_PATH'
14697
14698       if test "$GCC" = yes; then
14699         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14700         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14701       else
14702         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14703         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14704       fi
14705       ;;
14706
14707     sysv5* | sco3.2v5* | sco5v6*)
14708       # Note: We can NOT use -z defs as we might desire, because we do not
14709       # link with -lc, and that would cause any symbols used from libc to
14710       # always be unresolved, which means just about no library would
14711       # ever link correctly.  If we're not using GNU ld we use -z text
14712       # though, which does catch some bad symbols but isn't as heavy-handed
14713       # as -z defs.
14714       no_undefined_flag_FC='${wl}-z,text'
14715       allow_undefined_flag_FC='${wl}-z,nodefs'
14716       archive_cmds_need_lc_FC=no
14717       hardcode_shlibpath_var_FC=no
14718       hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
14719       hardcode_libdir_separator_FC=':'
14720       link_all_deplibs_FC=yes
14721       export_dynamic_flag_spec_FC='${wl}-Bexport'
14722       runpath_var='LD_RUN_PATH'
14723
14724       if test "$GCC" = yes; then
14725         archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14726         archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14727       else
14728         archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14729         archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14730       fi
14731       ;;
14732
14733     uts4*)
14734       archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14735       hardcode_libdir_flag_spec_FC='-L$libdir'
14736       hardcode_shlibpath_var_FC=no
14737       ;;
14738
14739     *)
14740       ld_shlibs_FC=no
14741       ;;
14742     esac
14743
14744     if test x$host_vendor = xsni; then
14745       case $host in
14746       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14747         export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
14748         ;;
14749       esac
14750     fi
14751   fi
14752
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
14754 $as_echo "$ld_shlibs_FC" >&6; }
14755 test "$ld_shlibs_FC" = no && can_build_shared=no
14756
14757 with_gnu_ld_FC=$with_gnu_ld
14758
14759
14760
14761
14762
14763
14764 #
14765 # Do we need to explicitly link libc?
14766 #
14767 case "x$archive_cmds_need_lc_FC" in
14768 x|xyes)
14769   # Assume -lc should be added
14770   archive_cmds_need_lc_FC=yes
14771
14772   if test "$enable_shared" = yes && test "$GCC" = yes; then
14773     case $archive_cmds_FC in
14774     *'~'*)
14775       # FIXME: we may have to deal with multi-command sequences.
14776       ;;
14777     '$CC '*)
14778       # Test whether the compiler implicitly links with -lc since on some
14779       # systems, -lgcc has to come before -lc. If gcc already passes -lc
14780       # to ld, don't add -lc before -lgcc.
14781       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14782 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14783 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then :
14784   $as_echo_n "(cached) " >&6
14785 else
14786   $RM conftest*
14787         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14788
14789         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14790   (eval $ac_compile) 2>&5
14791   ac_status=$?
14792   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14793   test $ac_status = 0; } 2>conftest.err; then
14794           soname=conftest
14795           lib=conftest
14796           libobjs=conftest.$ac_objext
14797           deplibs=
14798           wl=$lt_prog_compiler_wl_FC
14799           pic_flag=$lt_prog_compiler_pic_FC
14800           compiler_flags=-v
14801           linker_flags=-v
14802           verstring=
14803           output_objdir=.
14804           libname=conftest
14805           lt_save_allow_undefined_flag=$allow_undefined_flag_FC
14806           allow_undefined_flag_FC=
14807           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14808   (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14809   ac_status=$?
14810   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14811   test $ac_status = 0; }
14812           then
14813             lt_cv_archive_cmds_need_lc_FC=no
14814           else
14815             lt_cv_archive_cmds_need_lc_FC=yes
14816           fi
14817           allow_undefined_flag_FC=$lt_save_allow_undefined_flag
14818         else
14819           cat conftest.err 1>&5
14820         fi
14821         $RM conftest*
14822
14823 fi
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
14825 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
14826       archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
14827       ;;
14828     esac
14829   fi
14830   ;;
14831 esac
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14897 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14898
14899 library_names_spec=
14900 libname_spec='lib$name'
14901 soname_spec=
14902 shrext_cmds=".so"
14903 postinstall_cmds=
14904 postuninstall_cmds=
14905 finish_cmds=
14906 finish_eval=
14907 shlibpath_var=
14908 shlibpath_overrides_runpath=unknown
14909 version_type=none
14910 dynamic_linker="$host_os ld.so"
14911 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14912 need_lib_prefix=unknown
14913 hardcode_into_libs=no
14914
14915 # when you set need_version to no, make sure it does not cause -set_version
14916 # flags to be left without arguments
14917 need_version=unknown
14918
14919 case $host_os in
14920 aix3*)
14921   version_type=linux
14922   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14923   shlibpath_var=LIBPATH
14924
14925   # AIX 3 has no versioning support, so we append a major version to the name.
14926   soname_spec='${libname}${release}${shared_ext}$major'
14927   ;;
14928
14929 aix[4-9]*)
14930   version_type=linux
14931   need_lib_prefix=no
14932   need_version=no
14933   hardcode_into_libs=yes
14934   if test "$host_cpu" = ia64; then
14935     # AIX 5 supports IA64
14936     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14937     shlibpath_var=LD_LIBRARY_PATH
14938   else
14939     # With GCC up to 2.95.x, collect2 would create an import file
14940     # for dependence libraries.  The import file would start with
14941     # the line `#! .'.  This would cause the generated library to
14942     # depend on `.', always an invalid library.  This was fixed in
14943     # development snapshots of GCC prior to 3.0.
14944     case $host_os in
14945       aix4 | aix4.[01] | aix4.[01].*)
14946       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14947            echo ' yes '
14948            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14949         :
14950       else
14951         can_build_shared=no
14952       fi
14953       ;;
14954     esac
14955     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14956     # soname into executable. Probably we can add versioning support to
14957     # collect2, so additional links can be useful in future.
14958     if test "$aix_use_runtimelinking" = yes; then
14959       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14960       # instead of lib<name>.a to let people know that these are not
14961       # typical AIX shared libraries.
14962       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14963     else
14964       # We preserve .a as extension for shared libraries through AIX4.2
14965       # and later when we are not doing run time linking.
14966       library_names_spec='${libname}${release}.a $libname.a'
14967       soname_spec='${libname}${release}${shared_ext}$major'
14968     fi
14969     shlibpath_var=LIBPATH
14970   fi
14971   ;;
14972
14973 amigaos*)
14974   case $host_cpu in
14975   powerpc)
14976     # Since July 2007 AmigaOS4 officially supports .so libraries.
14977     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14978     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14979     ;;
14980   m68k)
14981     library_names_spec='$libname.ixlibrary $libname.a'
14982     # Create ${libname}_ixlibrary.a entries in /sys/libs.
14983     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'
14984     ;;
14985   esac
14986   ;;
14987
14988 beos*)
14989   library_names_spec='${libname}${shared_ext}'
14990   dynamic_linker="$host_os ld.so"
14991   shlibpath_var=LIBRARY_PATH
14992   ;;
14993
14994 bsdi[45]*)
14995   version_type=linux
14996   need_version=no
14997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14998   soname_spec='${libname}${release}${shared_ext}$major'
14999   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15000   shlibpath_var=LD_LIBRARY_PATH
15001   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15002   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15003   # the default ld.so.conf also contains /usr/contrib/lib and
15004   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15005   # libtool to hard-code these into programs
15006   ;;
15007
15008 cygwin* | mingw* | pw32* | cegcc*)
15009   version_type=windows
15010   shrext_cmds=".dll"
15011   need_version=no
15012   need_lib_prefix=no
15013
15014   case $GCC,$host_os in
15015   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15016     library_names_spec='$libname.dll.a'
15017     # DLL is installed to $(libdir)/../bin by postinstall_cmds
15018     postinstall_cmds='base_file=`basename \${file}`~
15019       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15020       dldir=$destdir/`dirname \$dlpath`~
15021       test -d \$dldir || mkdir -p \$dldir~
15022       $install_prog $dir/$dlname \$dldir/$dlname~
15023       chmod a+x \$dldir/$dlname~
15024       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15025         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15026       fi'
15027     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15028       dlpath=$dir/\$dldll~
15029        $RM \$dlpath'
15030     shlibpath_overrides_runpath=yes
15031
15032     case $host_os in
15033     cygwin*)
15034       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15035       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15036
15037       ;;
15038     mingw* | cegcc*)
15039       # MinGW DLLs use traditional 'lib' prefix
15040       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15041       ;;
15042     pw32*)
15043       # pw32 DLLs use 'pw' prefix rather than 'lib'
15044       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15045       ;;
15046     esac
15047     ;;
15048
15049   *)
15050     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15051     ;;
15052   esac
15053   dynamic_linker='Win32 ld.exe'
15054   # FIXME: first we should search . and the directory the executable is in
15055   shlibpath_var=PATH
15056   ;;
15057
15058 darwin* | rhapsody*)
15059   dynamic_linker="$host_os dyld"
15060   version_type=darwin
15061   need_lib_prefix=no
15062   need_version=no
15063   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15064   soname_spec='${libname}${release}${major}$shared_ext'
15065   shlibpath_overrides_runpath=yes
15066   shlibpath_var=DYLD_LIBRARY_PATH
15067   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15068
15069   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15070   ;;
15071
15072 dgux*)
15073   version_type=linux
15074   need_lib_prefix=no
15075   need_version=no
15076   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15077   soname_spec='${libname}${release}${shared_ext}$major'
15078   shlibpath_var=LD_LIBRARY_PATH
15079   ;;
15080
15081 freebsd* | dragonfly*)
15082   # DragonFly does not have aout.  When/if they implement a new
15083   # versioning mechanism, adjust this.
15084   if test -x /usr/bin/objformat; then
15085     objformat=`/usr/bin/objformat`
15086   else
15087     case $host_os in
15088     freebsd[23].*) objformat=aout ;;
15089     *) objformat=elf ;;
15090     esac
15091   fi
15092   version_type=freebsd-$objformat
15093   case $version_type in
15094     freebsd-elf*)
15095       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15096       need_version=no
15097       need_lib_prefix=no
15098       ;;
15099     freebsd-*)
15100       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15101       need_version=yes
15102       ;;
15103   esac
15104   shlibpath_var=LD_LIBRARY_PATH
15105   case $host_os in
15106   freebsd2.*)
15107     shlibpath_overrides_runpath=yes
15108     ;;
15109   freebsd3.[01]* | freebsdelf3.[01]*)
15110     shlibpath_overrides_runpath=yes
15111     hardcode_into_libs=yes
15112     ;;
15113   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15114   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15115     shlibpath_overrides_runpath=no
15116     hardcode_into_libs=yes
15117     ;;
15118   *) # from 4.6 on, and DragonFly
15119     shlibpath_overrides_runpath=yes
15120     hardcode_into_libs=yes
15121     ;;
15122   esac
15123   ;;
15124
15125 gnu*)
15126   version_type=linux
15127   need_lib_prefix=no
15128   need_version=no
15129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15130   soname_spec='${libname}${release}${shared_ext}$major'
15131   shlibpath_var=LD_LIBRARY_PATH
15132   hardcode_into_libs=yes
15133   ;;
15134
15135 haiku*)
15136   version_type=linux
15137   need_lib_prefix=no
15138   need_version=no
15139   dynamic_linker="$host_os runtime_loader"
15140   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15141   soname_spec='${libname}${release}${shared_ext}$major'
15142   shlibpath_var=LIBRARY_PATH
15143   shlibpath_overrides_runpath=yes
15144   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15145   hardcode_into_libs=yes
15146   ;;
15147
15148 hpux9* | hpux10* | hpux11*)
15149   # Give a soname corresponding to the major version so that dld.sl refuses to
15150   # link against other versions.
15151   version_type=sunos
15152   need_lib_prefix=no
15153   need_version=no
15154   case $host_cpu in
15155   ia64*)
15156     shrext_cmds='.so'
15157     hardcode_into_libs=yes
15158     dynamic_linker="$host_os dld.so"
15159     shlibpath_var=LD_LIBRARY_PATH
15160     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15161     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15162     soname_spec='${libname}${release}${shared_ext}$major'
15163     if test "X$HPUX_IA64_MODE" = X32; then
15164       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15165     else
15166       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15167     fi
15168     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15169     ;;
15170   hppa*64*)
15171     shrext_cmds='.sl'
15172     hardcode_into_libs=yes
15173     dynamic_linker="$host_os dld.sl"
15174     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15175     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15176     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15177     soname_spec='${libname}${release}${shared_ext}$major'
15178     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15179     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15180     ;;
15181   *)
15182     shrext_cmds='.sl'
15183     dynamic_linker="$host_os dld.sl"
15184     shlibpath_var=SHLIB_PATH
15185     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15186     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15187     soname_spec='${libname}${release}${shared_ext}$major'
15188     ;;
15189   esac
15190   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15191   postinstall_cmds='chmod 555 $lib'
15192   # or fails outright, so override atomically:
15193   install_override_mode=555
15194   ;;
15195
15196 interix[3-9]*)
15197   version_type=linux
15198   need_lib_prefix=no
15199   need_version=no
15200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15201   soname_spec='${libname}${release}${shared_ext}$major'
15202   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15203   shlibpath_var=LD_LIBRARY_PATH
15204   shlibpath_overrides_runpath=no
15205   hardcode_into_libs=yes
15206   ;;
15207
15208 irix5* | irix6* | nonstopux*)
15209   case $host_os in
15210     nonstopux*) version_type=nonstopux ;;
15211     *)
15212         if test "$lt_cv_prog_gnu_ld" = yes; then
15213                 version_type=linux
15214         else
15215                 version_type=irix
15216         fi ;;
15217   esac
15218   need_lib_prefix=no
15219   need_version=no
15220   soname_spec='${libname}${release}${shared_ext}$major'
15221   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15222   case $host_os in
15223   irix5* | nonstopux*)
15224     libsuff= shlibsuff=
15225     ;;
15226   *)
15227     case $LD in # libtool.m4 will add one of these switches to LD
15228     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15229       libsuff= shlibsuff= libmagic=32-bit;;
15230     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15231       libsuff=32 shlibsuff=N32 libmagic=N32;;
15232     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15233       libsuff=64 shlibsuff=64 libmagic=64-bit;;
15234     *) libsuff= shlibsuff= libmagic=never-match;;
15235     esac
15236     ;;
15237   esac
15238   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15239   shlibpath_overrides_runpath=no
15240   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15241   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15242   hardcode_into_libs=yes
15243   ;;
15244
15245 # No shared lib support for Linux oldld, aout, or coff.
15246 linux*oldld* | linux*aout* | linux*coff*)
15247   dynamic_linker=no
15248   ;;
15249
15250 # This must be Linux ELF.
15251 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15252   version_type=linux
15253   need_lib_prefix=no
15254   need_version=no
15255   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15256   soname_spec='${libname}${release}${shared_ext}$major'
15257   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15258   shlibpath_var=LD_LIBRARY_PATH
15259   shlibpath_overrides_runpath=no
15260
15261   # Some binutils ld are patched to set DT_RUNPATH
15262   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
15263   $as_echo_n "(cached) " >&6
15264 else
15265   lt_cv_shlibpath_overrides_runpath=no
15266     save_LDFLAGS=$LDFLAGS
15267     save_libdir=$libdir
15268     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15269          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15270     if test x$gcc_no_link = xyes; then
15271   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15272 fi
15273 cat > conftest.$ac_ext <<_ACEOF
15274       program main
15275
15276       end
15277 _ACEOF
15278 if ac_fn_fc_try_link "$LINENO"; then :
15279   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15280   lt_cv_shlibpath_overrides_runpath=yes
15281 fi
15282 fi
15283 rm -f core conftest.err conftest.$ac_objext \
15284     conftest$ac_exeext conftest.$ac_ext
15285     LDFLAGS=$save_LDFLAGS
15286     libdir=$save_libdir
15287
15288 fi
15289
15290   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15291
15292   # This implies no fast_install, which is unacceptable.
15293   # Some rework will be needed to allow for fast_install
15294   # before this can be enabled.
15295   hardcode_into_libs=yes
15296
15297   # Append ld.so.conf contents to the search path
15298   if test -f /etc/ld.so.conf; then
15299     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' ' '`
15300     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15301   fi
15302
15303   # We used to test for /lib/ld.so.1 and disable shared libraries on
15304   # powerpc, because MkLinux only supported shared libraries with the
15305   # GNU dynamic linker.  Since this was broken with cross compilers,
15306   # most powerpc-linux boxes support dynamic linking these days and
15307   # people can always --disable-shared, the test was removed, and we
15308   # assume the GNU/Linux dynamic linker is in use.
15309   dynamic_linker='GNU/Linux ld.so'
15310   ;;
15311
15312 netbsd*)
15313   version_type=sunos
15314   need_lib_prefix=no
15315   need_version=no
15316   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15317     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15318     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15319     dynamic_linker='NetBSD (a.out) ld.so'
15320   else
15321     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15322     soname_spec='${libname}${release}${shared_ext}$major'
15323     dynamic_linker='NetBSD ld.elf_so'
15324   fi
15325   shlibpath_var=LD_LIBRARY_PATH
15326   shlibpath_overrides_runpath=yes
15327   hardcode_into_libs=yes
15328   ;;
15329
15330 newsos6)
15331   version_type=linux
15332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15333   shlibpath_var=LD_LIBRARY_PATH
15334   shlibpath_overrides_runpath=yes
15335   ;;
15336
15337 *nto* | *qnx*)
15338   version_type=qnx
15339   need_lib_prefix=no
15340   need_version=no
15341   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15342   soname_spec='${libname}${release}${shared_ext}$major'
15343   shlibpath_var=LD_LIBRARY_PATH
15344   shlibpath_overrides_runpath=no
15345   hardcode_into_libs=yes
15346   dynamic_linker='ldqnx.so'
15347   ;;
15348
15349 openbsd*)
15350   version_type=sunos
15351   sys_lib_dlsearch_path_spec="/usr/lib"
15352   need_lib_prefix=no
15353   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15354   case $host_os in
15355     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
15356     *)                          need_version=no  ;;
15357   esac
15358   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15359   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15360   shlibpath_var=LD_LIBRARY_PATH
15361   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15362     case $host_os in
15363       openbsd2.[89] | openbsd2.[89].*)
15364         shlibpath_overrides_runpath=no
15365         ;;
15366       *)
15367         shlibpath_overrides_runpath=yes
15368         ;;
15369       esac
15370   else
15371     shlibpath_overrides_runpath=yes
15372   fi
15373   ;;
15374
15375 os2*)
15376   libname_spec='$name'
15377   shrext_cmds=".dll"
15378   need_lib_prefix=no
15379   library_names_spec='$libname${shared_ext} $libname.a'
15380   dynamic_linker='OS/2 ld.exe'
15381   shlibpath_var=LIBPATH
15382   ;;
15383
15384 osf3* | osf4* | osf5*)
15385   version_type=osf
15386   need_lib_prefix=no
15387   need_version=no
15388   soname_spec='${libname}${release}${shared_ext}$major'
15389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15390   shlibpath_var=LD_LIBRARY_PATH
15391   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15392   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15393   ;;
15394
15395 rdos*)
15396   dynamic_linker=no
15397   ;;
15398
15399 solaris*)
15400   version_type=linux
15401   need_lib_prefix=no
15402   need_version=no
15403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15404   soname_spec='${libname}${release}${shared_ext}$major'
15405   shlibpath_var=LD_LIBRARY_PATH
15406   shlibpath_overrides_runpath=yes
15407   hardcode_into_libs=yes
15408   # ldd complains unless libraries are executable
15409   postinstall_cmds='chmod +x $lib'
15410   ;;
15411
15412 sunos4*)
15413   version_type=sunos
15414   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15415   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15416   shlibpath_var=LD_LIBRARY_PATH
15417   shlibpath_overrides_runpath=yes
15418   if test "$with_gnu_ld" = yes; then
15419     need_lib_prefix=no
15420   fi
15421   need_version=yes
15422   ;;
15423
15424 sysv4 | sysv4.3*)
15425   version_type=linux
15426   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15427   soname_spec='${libname}${release}${shared_ext}$major'
15428   shlibpath_var=LD_LIBRARY_PATH
15429   case $host_vendor in
15430     sni)
15431       shlibpath_overrides_runpath=no
15432       need_lib_prefix=no
15433       runpath_var=LD_RUN_PATH
15434       ;;
15435     siemens)
15436       need_lib_prefix=no
15437       ;;
15438     motorola)
15439       need_lib_prefix=no
15440       need_version=no
15441       shlibpath_overrides_runpath=no
15442       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15443       ;;
15444   esac
15445   ;;
15446
15447 sysv4*MP*)
15448   if test -d /usr/nec ;then
15449     version_type=linux
15450     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15451     soname_spec='$libname${shared_ext}.$major'
15452     shlibpath_var=LD_LIBRARY_PATH
15453   fi
15454   ;;
15455
15456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15457   version_type=freebsd-elf
15458   need_lib_prefix=no
15459   need_version=no
15460   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15461   soname_spec='${libname}${release}${shared_ext}$major'
15462   shlibpath_var=LD_LIBRARY_PATH
15463   shlibpath_overrides_runpath=yes
15464   hardcode_into_libs=yes
15465   if test "$with_gnu_ld" = yes; then
15466     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15467   else
15468     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15469     case $host_os in
15470       sco3.2v5*)
15471         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15472         ;;
15473     esac
15474   fi
15475   sys_lib_dlsearch_path_spec='/usr/lib'
15476   ;;
15477
15478 tpf*)
15479   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15480   version_type=linux
15481   need_lib_prefix=no
15482   need_version=no
15483   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15484   shlibpath_var=LD_LIBRARY_PATH
15485   shlibpath_overrides_runpath=no
15486   hardcode_into_libs=yes
15487   ;;
15488
15489 uts4*)
15490   version_type=linux
15491   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15492   soname_spec='${libname}${release}${shared_ext}$major'
15493   shlibpath_var=LD_LIBRARY_PATH
15494   ;;
15495
15496 *)
15497   dynamic_linker=no
15498   ;;
15499 esac
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15501 $as_echo "$dynamic_linker" >&6; }
15502 test "$dynamic_linker" = no && can_build_shared=no
15503
15504 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15505 if test "$GCC" = yes; then
15506   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15507 fi
15508
15509 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15510   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15511 fi
15512 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15513   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15514 fi
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15554 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15555 hardcode_action_FC=
15556 if test -n "$hardcode_libdir_flag_spec_FC" ||
15557    test -n "$runpath_var_FC" ||
15558    test "X$hardcode_automatic_FC" = "Xyes" ; then
15559
15560   # We can hardcode non-existent directories.
15561   if test "$hardcode_direct_FC" != no &&
15562      # If the only mechanism to avoid hardcoding is shlibpath_var, we
15563      # have to relink, otherwise we might link with an installed library
15564      # when we should be linking with a yet-to-be-installed one
15565      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
15566      test "$hardcode_minus_L_FC" != no; then
15567     # Linking always hardcodes the temporary library directory.
15568     hardcode_action_FC=relink
15569   else
15570     # We can link without hardcoding, and we can hardcode nonexisting dirs.
15571     hardcode_action_FC=immediate
15572   fi
15573 else
15574   # We cannot hardcode anything, or else we can only hardcode existing
15575   # directories.
15576   hardcode_action_FC=unsupported
15577 fi
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
15579 $as_echo "$hardcode_action_FC" >&6; }
15580
15581 if test "$hardcode_action_FC" = relink ||
15582    test "$inherit_rpath_FC" = yes; then
15583   # Fast installation is not supported
15584   enable_fast_install=no
15585 elif test "$shlibpath_overrides_runpath" = yes ||
15586      test "$enable_shared" = no; then
15587   # Fast installation is not necessary
15588   enable_fast_install=needless
15589 fi
15590
15591
15592
15593
15594
15595
15596
15597   fi # test -n "$compiler"
15598
15599   GCC=$lt_save_GCC
15600   CC="$lt_save_CC"
15601 fi # test "$_lt_disable_FC" != yes
15602
15603 ac_ext=c
15604 ac_cpp='$CPP $CPPFLAGS'
15605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15608
15609
15610
15611 # extra LD Flags which are required for targets
15612 case "${host}" in
15613   *-darwin*)
15614     # Darwin needs -single_module when linking libgfortran
15615     extra_ldflags_libgfortran=-Wl,-single_module
15616     ;;
15617 esac
15618
15619
15620 # We need a working compiler at that point, otherwise give a clear
15621 # error message and bail out.
15622
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
15624 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
15625 ac_ext=${ac_fc_srcext-f}
15626 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
15627 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
15629
15630 cat > conftest.$ac_ext <<_ACEOF
15631
15632       program foo
15633       real, parameter :: bar = sin (12.34 / 2.5)
15634       end program foo
15635 _ACEOF
15636 if ac_fn_fc_try_compile "$LINENO"; then :
15637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15638 $as_echo "yes" >&6; }
15639 else
15640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15641 $as_echo "no" >&6; }
15642      as_fn_error "GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
15643
15644 fi
15645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15646 ac_ext=c
15647 ac_cpp='$CPP $CPPFLAGS'
15648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15651
15652
15653
15654 # Check whether --enable-largefile was given.
15655 if test "${enable_largefile+set}" = set; then :
15656   enableval=$enable_largefile;
15657 fi
15658
15659 if test "$enable_largefile" != no; then
15660
15661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15662 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15663 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15664   $as_echo_n "(cached) " >&6
15665 else
15666   ac_cv_sys_largefile_CC=no
15667      if test "$GCC" != yes; then
15668        ac_save_CC=$CC
15669        while :; do
15670          # IRIX 6.2 and later do not support large files by default,
15671          # so use the C compiler's -n32 option if that helps.
15672          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h.  */
15674 #include <sys/types.h>
15675  /* Check that off_t can represent 2**63 - 1 correctly.
15676     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15677     since some C++ compilers masquerading as C compilers
15678     incorrectly reject 9223372036854775807.  */
15679 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15680   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15681                        && LARGE_OFF_T % 2147483647 == 1)
15682                       ? 1 : -1];
15683 int
15684 main ()
15685 {
15686
15687   ;
15688   return 0;
15689 }
15690 _ACEOF
15691          if ac_fn_c_try_compile "$LINENO"; then :
15692   break
15693 fi
15694 rm -f core conftest.err conftest.$ac_objext
15695          CC="$CC -n32"
15696          if ac_fn_c_try_compile "$LINENO"; then :
15697   ac_cv_sys_largefile_CC=' -n32'; break
15698 fi
15699 rm -f core conftest.err conftest.$ac_objext
15700          break
15701        done
15702        CC=$ac_save_CC
15703        rm -f conftest.$ac_ext
15704     fi
15705 fi
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15707 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15708   if test "$ac_cv_sys_largefile_CC" != no; then
15709     CC=$CC$ac_cv_sys_largefile_CC
15710   fi
15711
15712   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15713 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15714 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15715   $as_echo_n "(cached) " >&6
15716 else
15717   while :; do
15718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15719 /* end confdefs.h.  */
15720 #include <sys/types.h>
15721  /* Check that off_t can represent 2**63 - 1 correctly.
15722     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15723     since some C++ compilers masquerading as C compilers
15724     incorrectly reject 9223372036854775807.  */
15725 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15726   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15727                        && LARGE_OFF_T % 2147483647 == 1)
15728                       ? 1 : -1];
15729 int
15730 main ()
15731 {
15732
15733   ;
15734   return 0;
15735 }
15736 _ACEOF
15737 if ac_fn_c_try_compile "$LINENO"; then :
15738   ac_cv_sys_file_offset_bits=no; break
15739 fi
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15742 /* end confdefs.h.  */
15743 #define _FILE_OFFSET_BITS 64
15744 #include <sys/types.h>
15745  /* Check that off_t can represent 2**63 - 1 correctly.
15746     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15747     since some C++ compilers masquerading as C compilers
15748     incorrectly reject 9223372036854775807.  */
15749 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15750   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15751                        && LARGE_OFF_T % 2147483647 == 1)
15752                       ? 1 : -1];
15753 int
15754 main ()
15755 {
15756
15757   ;
15758   return 0;
15759 }
15760 _ACEOF
15761 if ac_fn_c_try_compile "$LINENO"; then :
15762   ac_cv_sys_file_offset_bits=64; break
15763 fi
15764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765   ac_cv_sys_file_offset_bits=unknown
15766   break
15767 done
15768 fi
15769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15770 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15771 case $ac_cv_sys_file_offset_bits in #(
15772   no | unknown) ;;
15773   *)
15774 cat >>confdefs.h <<_ACEOF
15775 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15776 _ACEOF
15777 ;;
15778 esac
15779 rm -rf conftest*
15780   if test $ac_cv_sys_file_offset_bits = unknown; then
15781     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15782 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15783 if test "${ac_cv_sys_large_files+set}" = set; then :
15784   $as_echo_n "(cached) " >&6
15785 else
15786   while :; do
15787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15788 /* end confdefs.h.  */
15789 #include <sys/types.h>
15790  /* Check that off_t can represent 2**63 - 1 correctly.
15791     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15792     since some C++ compilers masquerading as C compilers
15793     incorrectly reject 9223372036854775807.  */
15794 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15795   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15796                        && LARGE_OFF_T % 2147483647 == 1)
15797                       ? 1 : -1];
15798 int
15799 main ()
15800 {
15801
15802   ;
15803   return 0;
15804 }
15805 _ACEOF
15806 if ac_fn_c_try_compile "$LINENO"; then :
15807   ac_cv_sys_large_files=no; break
15808 fi
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h.  */
15812 #define _LARGE_FILES 1
15813 #include <sys/types.h>
15814  /* Check that off_t can represent 2**63 - 1 correctly.
15815     We can't simply define LARGE_OFF_T to be 9223372036854775807,
15816     since some C++ compilers masquerading as C compilers
15817     incorrectly reject 9223372036854775807.  */
15818 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15819   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15820                        && LARGE_OFF_T % 2147483647 == 1)
15821                       ? 1 : -1];
15822 int
15823 main ()
15824 {
15825
15826   ;
15827   return 0;
15828 }
15829 _ACEOF
15830 if ac_fn_c_try_compile "$LINENO"; then :
15831   ac_cv_sys_large_files=1; break
15832 fi
15833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15834   ac_cv_sys_large_files=unknown
15835   break
15836 done
15837 fi
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15839 $as_echo "$ac_cv_sys_large_files" >&6; }
15840 case $ac_cv_sys_large_files in #(
15841   no | unknown) ;;
15842   *)
15843 cat >>confdefs.h <<_ACEOF
15844 #define _LARGE_FILES $ac_cv_sys_large_files
15845 _ACEOF
15846 ;;
15847 esac
15848 rm -rf conftest*
15849   fi
15850 fi
15851
15852
15853 # Types
15854 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15855 if test "x$ac_cv_type_off_t" = x""yes; then :
15856
15857 else
15858
15859 cat >>confdefs.h <<_ACEOF
15860 #define off_t long int
15861 _ACEOF
15862
15863 fi
15864
15865
15866   ac_fn_c_check_type "$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
15867 if test "x$ac_cv_type_intptr_t" = x""yes; then :
15868
15869 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
15870
15871 else
15872   for ac_type in 'int' 'long int' 'long long int'; do
15873        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h.  */
15875 $ac_includes_default
15876 int
15877 main ()
15878 {
15879 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15880 test_array [0] = 0
15881
15882   ;
15883   return 0;
15884 }
15885 _ACEOF
15886 if ac_fn_c_try_compile "$LINENO"; then :
15887
15888 cat >>confdefs.h <<_ACEOF
15889 #define intptr_t $ac_type
15890 _ACEOF
15891
15892           ac_type=
15893 fi
15894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15895        test -z "$ac_type" && break
15896      done
15897 fi
15898
15899
15900
15901   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
15902 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
15903
15904 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
15905
15906 else
15907   for ac_type in 'unsigned int' 'unsigned long int' \
15908         'unsigned long long int'; do
15909        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15910 /* end confdefs.h.  */
15911 $ac_includes_default
15912 int
15913 main ()
15914 {
15915 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
15916 test_array [0] = 0
15917
15918   ;
15919   return 0;
15920 }
15921 _ACEOF
15922 if ac_fn_c_try_compile "$LINENO"; then :
15923
15924 cat >>confdefs.h <<_ACEOF
15925 #define uintptr_t $ac_type
15926 _ACEOF
15927
15928           ac_type=
15929 fi
15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931        test -z "$ac_type" && break
15932      done
15933 fi
15934
15935
15936 ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
15937 if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
15938
15939 cat >>confdefs.h <<_ACEOF
15940 #define HAVE_PTRDIFF_T 1
15941 _ACEOF
15942
15943
15944 fi
15945
15946
15947 # check header files (we assume C89 is available, so don't check for that)
15948
15949
15950
15951   for ac_header in $ac_header_list
15952 do :
15953   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15954 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
15955 "
15956 eval as_val=\$$as_ac_Header
15957    if test "x$as_val" = x""yes; then :
15958   cat >>confdefs.h <<_ACEOF
15959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15960 _ACEOF
15961
15962 fi
15963
15964 done
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996 inttype_headers=`echo inttypes.h sys/inttypes.h  | sed -e 's/,/ /g'`
15997
15998 acx_cv_header_stdint=stddef.h
15999 acx_cv_header_stdint_kind="(already complete)"
16000 for i in stdint.h $inttype_headers; do
16001   unset ac_cv_type_uintptr_t
16002   unset ac_cv_type_uintmax_t
16003   unset ac_cv_type_int_least32_t
16004   unset ac_cv_type_int_fast32_t
16005   unset ac_cv_type_uint64_t
16006   $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16007   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16008 #include <$i>
16009 "
16010 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
16011   acx_cv_header_stdint=$i
16012 else
16013   continue
16014 fi
16015
16016   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16017 #include <$i>
16018 "
16019 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16020
16021 else
16022   acx_cv_header_stdint_kind="(mostly complete)"
16023 fi
16024
16025   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16026 #include <$i>
16027 "
16028 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
16029
16030 else
16031   acx_cv_header_stdint_kind="(mostly complete)"
16032 fi
16033
16034   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16035 #include <$i>
16036 "
16037 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
16038
16039 else
16040   acx_cv_header_stdint_kind="(mostly complete)"
16041 fi
16042
16043   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16044 #include <$i>
16045 "
16046 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16047
16048 else
16049   acx_cv_header_stdint_kind="(lacks uint64_t)"
16050 fi
16051
16052   break
16053 done
16054 if test "$acx_cv_header_stdint" = stddef.h; then
16055   acx_cv_header_stdint_kind="(lacks uintmax_t)"
16056   for i in stdint.h $inttype_headers; do
16057     unset ac_cv_type_uintptr_t
16058     unset ac_cv_type_uint32_t
16059     unset ac_cv_type_uint64_t
16060     $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16061     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16062 #include <$i>
16063 "
16064 if test "x$ac_cv_type_uint32_t" = x""yes; then :
16065   acx_cv_header_stdint=$i
16066 else
16067   continue
16068 fi
16069
16070     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16071 #include <$i>
16072 "
16073 if test "x$ac_cv_type_uint64_t" = x""yes; then :
16074
16075 fi
16076
16077     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16078 #include <$i>
16079 "
16080 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
16081
16082 fi
16083
16084     break
16085   done
16086 fi
16087 if test "$acx_cv_header_stdint" = stddef.h; then
16088   acx_cv_header_stdint_kind="(u_intXX_t style)"
16089   for i in sys/types.h $inttype_headers; do
16090     unset ac_cv_type_u_int32_t
16091     unset ac_cv_type_u_int64_t
16092     $as_echo_n "looking for u_intXX_t types in $i, " >&6
16093     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16094 #include <$i>
16095 "
16096 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
16097   acx_cv_header_stdint=$i
16098 else
16099   continue
16100 fi
16101
16102     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16103 #include <$i>
16104 "
16105 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
16106
16107 fi
16108
16109     break
16110   done
16111 fi
16112 if test "$acx_cv_header_stdint" = stddef.h; then
16113   acx_cv_header_stdint_kind="(using manual detection)"
16114 fi
16115
16116 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16117 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16118 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16119 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16120 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16121
16122 # ----------------- Summarize what we found so far
16123
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16125 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16126
16127 case `$as_basename -- gstdint.h ||
16128 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16129          Xgstdint.h : 'X\(//\)$' \| \
16130          Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16131 $as_echo X/gstdint.h |
16132     sed '/^.*\/\([^/][^/]*\)\/*$/{
16133             s//\1/
16134             q
16135           }
16136           /^X\/\(\/\/\)$/{
16137             s//\1/
16138             q
16139           }
16140           /^X\/\(\/\).*/{
16141             s//\1/
16142             q
16143           }
16144           s/.*/./; q'` in
16145   stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16146 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16147   inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16148 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16149   *) ;;
16150 esac
16151
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16153 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16154
16155 # ----------------- done included file, check C basic types --------
16156
16157 # Lacking an uintptr_t?  Test size of void *
16158 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16159   stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
16160 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16161 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16162 # This bug is HP SR number 8606223364.
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16164 $as_echo_n "checking size of void *... " >&6; }
16165 if test "${ac_cv_sizeof_void_p+set}" = set; then :
16166   $as_echo_n "(cached) " >&6
16167 else
16168   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
16169
16170 else
16171   if test "$ac_cv_type_void_p" = yes; then
16172      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16174 { as_fn_set_status 77
16175 as_fn_error "cannot compute sizeof (void *)
16176 See \`config.log' for more details." "$LINENO" 5; }; }
16177    else
16178      ac_cv_sizeof_void_p=0
16179    fi
16180 fi
16181
16182 fi
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16184 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16185
16186
16187
16188 cat >>confdefs.h <<_ACEOF
16189 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16190 _ACEOF
16191
16192  ;;
16193 esac
16194
16195 # Lacking an uint64_t?  Test size of long
16196 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16197   stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
16198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16200 # This bug is HP SR number 8606223364.
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16202 $as_echo_n "checking size of long... " >&6; }
16203 if test "${ac_cv_sizeof_long+set}" = set; then :
16204   $as_echo_n "(cached) " >&6
16205 else
16206   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
16207
16208 else
16209   if test "$ac_cv_type_long" = yes; then
16210      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16212 { as_fn_set_status 77
16213 as_fn_error "cannot compute sizeof (long)
16214 See \`config.log' for more details." "$LINENO" 5; }; }
16215    else
16216      ac_cv_sizeof_long=0
16217    fi
16218 fi
16219
16220 fi
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16222 $as_echo "$ac_cv_sizeof_long" >&6; }
16223
16224
16225
16226 cat >>confdefs.h <<_ACEOF
16227 #define SIZEOF_LONG $ac_cv_sizeof_long
16228 _ACEOF
16229
16230  ;;
16231 esac
16232
16233 if test $acx_cv_header_stdint = stddef.h; then
16234   # Lacking a good header?  Test size of everything and deduce all types.
16235   # The cast to long int works around a bug in the HP C Compiler
16236 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16237 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16238 # This bug is HP SR number 8606223364.
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16240 $as_echo_n "checking size of int... " >&6; }
16241 if test "${ac_cv_sizeof_int+set}" = set; then :
16242   $as_echo_n "(cached) " >&6
16243 else
16244   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
16245
16246 else
16247   if test "$ac_cv_type_int" = yes; then
16248      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16250 { as_fn_set_status 77
16251 as_fn_error "cannot compute sizeof (int)
16252 See \`config.log' for more details." "$LINENO" 5; }; }
16253    else
16254      ac_cv_sizeof_int=0
16255    fi
16256 fi
16257
16258 fi
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16260 $as_echo "$ac_cv_sizeof_int" >&6; }
16261
16262
16263
16264 cat >>confdefs.h <<_ACEOF
16265 #define SIZEOF_INT $ac_cv_sizeof_int
16266 _ACEOF
16267
16268
16269   # The cast to long int works around a bug in the HP C Compiler
16270 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16271 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16272 # This bug is HP SR number 8606223364.
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16274 $as_echo_n "checking size of short... " >&6; }
16275 if test "${ac_cv_sizeof_short+set}" = set; then :
16276   $as_echo_n "(cached) " >&6
16277 else
16278   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
16279
16280 else
16281   if test "$ac_cv_type_short" = yes; then
16282      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16284 { as_fn_set_status 77
16285 as_fn_error "cannot compute sizeof (short)
16286 See \`config.log' for more details." "$LINENO" 5; }; }
16287    else
16288      ac_cv_sizeof_short=0
16289    fi
16290 fi
16291
16292 fi
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16294 $as_echo "$ac_cv_sizeof_short" >&6; }
16295
16296
16297
16298 cat >>confdefs.h <<_ACEOF
16299 #define SIZEOF_SHORT $ac_cv_sizeof_short
16300 _ACEOF
16301
16302
16303   # The cast to long int works around a bug in the HP C Compiler
16304 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16305 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16306 # This bug is HP SR number 8606223364.
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16308 $as_echo_n "checking size of char... " >&6; }
16309 if test "${ac_cv_sizeof_char+set}" = set; then :
16310   $as_echo_n "(cached) " >&6
16311 else
16312   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
16313
16314 else
16315   if test "$ac_cv_type_char" = yes; then
16316      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16318 { as_fn_set_status 77
16319 as_fn_error "cannot compute sizeof (char)
16320 See \`config.log' for more details." "$LINENO" 5; }; }
16321    else
16322      ac_cv_sizeof_char=0
16323    fi
16324 fi
16325
16326 fi
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16328 $as_echo "$ac_cv_sizeof_char" >&6; }
16329
16330
16331
16332 cat >>confdefs.h <<_ACEOF
16333 #define SIZEOF_CHAR $ac_cv_sizeof_char
16334 _ACEOF
16335
16336
16337
16338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16339 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16340   case "$ac_cv_sizeof_char" in
16341     1) acx_cv_type_int8_t=char ;;
16342     *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
16343   esac
16344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16345 $as_echo "$acx_cv_type_int8_t" >&6; }
16346
16347   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16348 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16349   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16350     2:*) acx_cv_type_int16_t=int ;;
16351     *:2) acx_cv_type_int16_t=short ;;
16352     *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
16353   esac
16354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16355 $as_echo "$acx_cv_type_int16_t" >&6; }
16356
16357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16358 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16359   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16360     4:*) acx_cv_type_int32_t=int ;;
16361     *:4) acx_cv_type_int32_t=long ;;
16362     *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
16363   esac
16364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
16365 $as_echo "$acx_cv_type_int32_t" >&6; }
16366 fi
16367
16368 # These tests are here to make the output prettier
16369
16370 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
16371   case "$ac_cv_sizeof_long" in
16372     8) acx_cv_type_int64_t=long ;;
16373   esac
16374   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
16375 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
16376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
16377 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
16378 fi
16379
16380 # Now we can use the above types
16381
16382 if test "$ac_cv_type_uintptr_t" != yes; then
16383   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
16384 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
16385   case $ac_cv_sizeof_void_p in
16386     2) acx_cv_type_intptr_t=int16_t ;;
16387     4) acx_cv_type_intptr_t=int32_t ;;
16388     8) acx_cv_type_intptr_t=int64_t ;;
16389     *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
16390   esac
16391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
16392 $as_echo "$acx_cv_type_intptr_t" >&6; }
16393 fi
16394
16395 # ----------------- done all checks, emit header -------------
16396 ac_config_commands="$ac_config_commands gstdint.h"
16397
16398
16399
16400
16401 ac_fn_c_check_member "$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
16402 if test "x$ac_cv_member_struct_stat_st_blksize" = x""yes; then :
16403
16404 cat >>confdefs.h <<_ACEOF
16405 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
16406 _ACEOF
16407
16408
16409 fi
16410 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
16411 if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
16412
16413 cat >>confdefs.h <<_ACEOF
16414 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
16415 _ACEOF
16416
16417
16418 fi
16419 ac_fn_c_check_member "$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
16420 if test "x$ac_cv_member_struct_stat_st_rdev" = x""yes; then :
16421
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_STRUCT_STAT_ST_RDEV 1
16424 _ACEOF
16425
16426
16427 fi
16428
16429
16430 # Check for library functions.
16431
16432
16433
16434   for ac_func in $ac_func_list
16435 do :
16436   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16438 eval as_val=\$$as_ac_var
16439    if test "x$as_val" = x""yes; then :
16440   cat >>confdefs.h <<_ACEOF
16441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16442 _ACEOF
16443
16444 fi
16445 done
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549 # Check strerror_r, cannot be above as versions with two and three arguments exist
16550
16551     ac_save_CFLAGS="$CFLAGS"
16552   CFLAGS="-Wimplicit-function-declaration -Werror"
16553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h.  */
16555 #define _GNU_SOURCE 1
16556                   #include <string.h>
16557                   #include <locale.h>
16558 int
16559 main ()
16560 {
16561 char s[128]; strerror_r(5, s, 128);
16562   ;
16563   return 0;
16564 }
16565 _ACEOF
16566 if ac_fn_c_try_compile "$LINENO"; then :
16567
16568 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16569
16570 fi
16571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572   CFLAGS="$ac_save_CFLAGS"
16573
16574     ac_save_CFLAGS="$CFLAGS"
16575   CFLAGS="-Wimplicit-function-declaration -Werror"
16576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h.  */
16578 #define _GNU_SOURCE 1
16579                   #include <string.h>
16580                   #include <locale.h>
16581 int
16582 main ()
16583 {
16584 char s[128]; strerror_r(5, s);
16585   ;
16586   return 0;
16587 }
16588 _ACEOF
16589 if ac_fn_c_try_compile "$LINENO"; then :
16590
16591 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
16592
16593 fi
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16595   CFLAGS="$ac_save_CFLAGS"
16596
16597
16598 # Check for C99 (and other IEEE) math functions
16599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16600 $as_echo_n "checking for sin in -lm... " >&6; }
16601 if test "${ac_cv_lib_m_sin+set}" = set; then :
16602   $as_echo_n "(cached) " >&6
16603 else
16604   ac_check_lib_save_LIBS=$LIBS
16605 LIBS="-lm  $LIBS"
16606 if test x$gcc_no_link = xyes; then
16607   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16608 fi
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h.  */
16611
16612 /* Override any GCC internal prototype to avoid an error.
16613    Use char because int might match the return type of a GCC
16614    builtin and then its argument prototype would still apply.  */
16615 #ifdef __cplusplus
16616 extern "C"
16617 #endif
16618 char sin ();
16619 int
16620 main ()
16621 {
16622 return sin ();
16623   ;
16624   return 0;
16625 }
16626 _ACEOF
16627 if ac_fn_c_try_link "$LINENO"; then :
16628   ac_cv_lib_m_sin=yes
16629 else
16630   ac_cv_lib_m_sin=no
16631 fi
16632 rm -f core conftest.err conftest.$ac_objext \
16633     conftest$ac_exeext conftest.$ac_ext
16634 LIBS=$ac_check_lib_save_LIBS
16635 fi
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16637 $as_echo "$ac_cv_lib_m_sin" >&6; }
16638 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16639   cat >>confdefs.h <<_ACEOF
16640 #define HAVE_LIBM 1
16641 _ACEOF
16642
16643   LIBS="-lm $LIBS"
16644
16645 fi
16646
16647
16648
16649
16650
16651
16652
16653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
16654 $as_echo_n "checking for acosf... " >&6; }
16655 if test "${gcc_cv_math_func_acosf+set}" = set; then :
16656   $as_echo_n "(cached) " >&6
16657 else
16658   if test x$gcc_no_link = xyes; then
16659   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16660 fi
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h.  */
16663
16664 #ifdef HAVE_COMPLEX_H
16665 #include <complex.h>
16666 #endif
16667 #ifdef HAVE_MATH_H
16668 #include <math.h>
16669 #endif
16670
16671 int (*ptr)() = (int (*)())acosf;
16672
16673 int
16674 main ()
16675 {
16676   return 0;
16677 }
16678
16679 _ACEOF
16680 if ac_fn_c_try_link "$LINENO"; then :
16681   gcc_cv_math_func_acosf=yes
16682 else
16683   gcc_cv_math_func_acosf=no
16684 fi
16685 rm -f core conftest.err conftest.$ac_objext \
16686     conftest$ac_exeext conftest.$ac_ext
16687 fi
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
16689 $as_echo "$gcc_cv_math_func_acosf" >&6; }
16690   if test $gcc_cv_math_func_acosf = yes; then
16691
16692 cat >>confdefs.h <<_ACEOF
16693 #define HAVE_ACOSF 1
16694 _ACEOF
16695
16696   fi
16697
16698
16699
16700
16701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
16702 $as_echo_n "checking for acos... " >&6; }
16703 if test "${gcc_cv_math_func_acos+set}" = set; then :
16704   $as_echo_n "(cached) " >&6
16705 else
16706   if test x$gcc_no_link = xyes; then
16707   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16708 fi
16709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16710 /* end confdefs.h.  */
16711
16712 #ifdef HAVE_COMPLEX_H
16713 #include <complex.h>
16714 #endif
16715 #ifdef HAVE_MATH_H
16716 #include <math.h>
16717 #endif
16718
16719 int (*ptr)() = (int (*)())acos;
16720
16721 int
16722 main ()
16723 {
16724   return 0;
16725 }
16726
16727 _ACEOF
16728 if ac_fn_c_try_link "$LINENO"; then :
16729   gcc_cv_math_func_acos=yes
16730 else
16731   gcc_cv_math_func_acos=no
16732 fi
16733 rm -f core conftest.err conftest.$ac_objext \
16734     conftest$ac_exeext conftest.$ac_ext
16735 fi
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
16737 $as_echo "$gcc_cv_math_func_acos" >&6; }
16738   if test $gcc_cv_math_func_acos = yes; then
16739
16740 cat >>confdefs.h <<_ACEOF
16741 #define HAVE_ACOS 1
16742 _ACEOF
16743
16744   fi
16745
16746
16747
16748
16749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
16750 $as_echo_n "checking for acosl... " >&6; }
16751 if test "${gcc_cv_math_func_acosl+set}" = set; then :
16752   $as_echo_n "(cached) " >&6
16753 else
16754   if test x$gcc_no_link = xyes; then
16755   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16756 fi
16757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16758 /* end confdefs.h.  */
16759
16760 #ifdef HAVE_COMPLEX_H
16761 #include <complex.h>
16762 #endif
16763 #ifdef HAVE_MATH_H
16764 #include <math.h>
16765 #endif
16766
16767 int (*ptr)() = (int (*)())acosl;
16768
16769 int
16770 main ()
16771 {
16772   return 0;
16773 }
16774
16775 _ACEOF
16776 if ac_fn_c_try_link "$LINENO"; then :
16777   gcc_cv_math_func_acosl=yes
16778 else
16779   gcc_cv_math_func_acosl=no
16780 fi
16781 rm -f core conftest.err conftest.$ac_objext \
16782     conftest$ac_exeext conftest.$ac_ext
16783 fi
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
16785 $as_echo "$gcc_cv_math_func_acosl" >&6; }
16786   if test $gcc_cv_math_func_acosl = yes; then
16787
16788 cat >>confdefs.h <<_ACEOF
16789 #define HAVE_ACOSL 1
16790 _ACEOF
16791
16792   fi
16793
16794
16795
16796
16797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
16798 $as_echo_n "checking for acoshf... " >&6; }
16799 if test "${gcc_cv_math_func_acoshf+set}" = set; then :
16800   $as_echo_n "(cached) " >&6
16801 else
16802   if test x$gcc_no_link = xyes; then
16803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16804 fi
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h.  */
16807
16808 #ifdef HAVE_COMPLEX_H
16809 #include <complex.h>
16810 #endif
16811 #ifdef HAVE_MATH_H
16812 #include <math.h>
16813 #endif
16814
16815 int (*ptr)() = (int (*)())acoshf;
16816
16817 int
16818 main ()
16819 {
16820   return 0;
16821 }
16822
16823 _ACEOF
16824 if ac_fn_c_try_link "$LINENO"; then :
16825   gcc_cv_math_func_acoshf=yes
16826 else
16827   gcc_cv_math_func_acoshf=no
16828 fi
16829 rm -f core conftest.err conftest.$ac_objext \
16830     conftest$ac_exeext conftest.$ac_ext
16831 fi
16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
16833 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
16834   if test $gcc_cv_math_func_acoshf = yes; then
16835
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_ACOSHF 1
16838 _ACEOF
16839
16840   fi
16841
16842
16843
16844
16845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
16846 $as_echo_n "checking for acosh... " >&6; }
16847 if test "${gcc_cv_math_func_acosh+set}" = set; then :
16848   $as_echo_n "(cached) " >&6
16849 else
16850   if test x$gcc_no_link = xyes; then
16851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16852 fi
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h.  */
16855
16856 #ifdef HAVE_COMPLEX_H
16857 #include <complex.h>
16858 #endif
16859 #ifdef HAVE_MATH_H
16860 #include <math.h>
16861 #endif
16862
16863 int (*ptr)() = (int (*)())acosh;
16864
16865 int
16866 main ()
16867 {
16868   return 0;
16869 }
16870
16871 _ACEOF
16872 if ac_fn_c_try_link "$LINENO"; then :
16873   gcc_cv_math_func_acosh=yes
16874 else
16875   gcc_cv_math_func_acosh=no
16876 fi
16877 rm -f core conftest.err conftest.$ac_objext \
16878     conftest$ac_exeext conftest.$ac_ext
16879 fi
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
16881 $as_echo "$gcc_cv_math_func_acosh" >&6; }
16882   if test $gcc_cv_math_func_acosh = yes; then
16883
16884 cat >>confdefs.h <<_ACEOF
16885 #define HAVE_ACOSH 1
16886 _ACEOF
16887
16888   fi
16889
16890
16891
16892
16893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
16894 $as_echo_n "checking for acoshl... " >&6; }
16895 if test "${gcc_cv_math_func_acoshl+set}" = set; then :
16896   $as_echo_n "(cached) " >&6
16897 else
16898   if test x$gcc_no_link = xyes; then
16899   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900 fi
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h.  */
16903
16904 #ifdef HAVE_COMPLEX_H
16905 #include <complex.h>
16906 #endif
16907 #ifdef HAVE_MATH_H
16908 #include <math.h>
16909 #endif
16910
16911 int (*ptr)() = (int (*)())acoshl;
16912
16913 int
16914 main ()
16915 {
16916   return 0;
16917 }
16918
16919 _ACEOF
16920 if ac_fn_c_try_link "$LINENO"; then :
16921   gcc_cv_math_func_acoshl=yes
16922 else
16923   gcc_cv_math_func_acoshl=no
16924 fi
16925 rm -f core conftest.err conftest.$ac_objext \
16926     conftest$ac_exeext conftest.$ac_ext
16927 fi
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
16929 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
16930   if test $gcc_cv_math_func_acoshl = yes; then
16931
16932 cat >>confdefs.h <<_ACEOF
16933 #define HAVE_ACOSHL 1
16934 _ACEOF
16935
16936   fi
16937
16938
16939
16940
16941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
16942 $as_echo_n "checking for asinf... " >&6; }
16943 if test "${gcc_cv_math_func_asinf+set}" = set; then :
16944   $as_echo_n "(cached) " >&6
16945 else
16946   if test x$gcc_no_link = xyes; then
16947   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16948 fi
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h.  */
16951
16952 #ifdef HAVE_COMPLEX_H
16953 #include <complex.h>
16954 #endif
16955 #ifdef HAVE_MATH_H
16956 #include <math.h>
16957 #endif
16958
16959 int (*ptr)() = (int (*)())asinf;
16960
16961 int
16962 main ()
16963 {
16964   return 0;
16965 }
16966
16967 _ACEOF
16968 if ac_fn_c_try_link "$LINENO"; then :
16969   gcc_cv_math_func_asinf=yes
16970 else
16971   gcc_cv_math_func_asinf=no
16972 fi
16973 rm -f core conftest.err conftest.$ac_objext \
16974     conftest$ac_exeext conftest.$ac_ext
16975 fi
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
16977 $as_echo "$gcc_cv_math_func_asinf" >&6; }
16978   if test $gcc_cv_math_func_asinf = yes; then
16979
16980 cat >>confdefs.h <<_ACEOF
16981 #define HAVE_ASINF 1
16982 _ACEOF
16983
16984   fi
16985
16986
16987
16988
16989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
16990 $as_echo_n "checking for asin... " >&6; }
16991 if test "${gcc_cv_math_func_asin+set}" = set; then :
16992   $as_echo_n "(cached) " >&6
16993 else
16994   if test x$gcc_no_link = xyes; then
16995   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16996 fi
16997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998 /* end confdefs.h.  */
16999
17000 #ifdef HAVE_COMPLEX_H
17001 #include <complex.h>
17002 #endif
17003 #ifdef HAVE_MATH_H
17004 #include <math.h>
17005 #endif
17006
17007 int (*ptr)() = (int (*)())asin;
17008
17009 int
17010 main ()
17011 {
17012   return 0;
17013 }
17014
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017   gcc_cv_math_func_asin=yes
17018 else
17019   gcc_cv_math_func_asin=no
17020 fi
17021 rm -f core conftest.err conftest.$ac_objext \
17022     conftest$ac_exeext conftest.$ac_ext
17023 fi
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17025 $as_echo "$gcc_cv_math_func_asin" >&6; }
17026   if test $gcc_cv_math_func_asin = yes; then
17027
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_ASIN 1
17030 _ACEOF
17031
17032   fi
17033
17034
17035
17036
17037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17038 $as_echo_n "checking for asinl... " >&6; }
17039 if test "${gcc_cv_math_func_asinl+set}" = set; then :
17040   $as_echo_n "(cached) " >&6
17041 else
17042   if test x$gcc_no_link = xyes; then
17043   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17044 fi
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h.  */
17047
17048 #ifdef HAVE_COMPLEX_H
17049 #include <complex.h>
17050 #endif
17051 #ifdef HAVE_MATH_H
17052 #include <math.h>
17053 #endif
17054
17055 int (*ptr)() = (int (*)())asinl;
17056
17057 int
17058 main ()
17059 {
17060   return 0;
17061 }
17062
17063 _ACEOF
17064 if ac_fn_c_try_link "$LINENO"; then :
17065   gcc_cv_math_func_asinl=yes
17066 else
17067   gcc_cv_math_func_asinl=no
17068 fi
17069 rm -f core conftest.err conftest.$ac_objext \
17070     conftest$ac_exeext conftest.$ac_ext
17071 fi
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17073 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17074   if test $gcc_cv_math_func_asinl = yes; then
17075
17076 cat >>confdefs.h <<_ACEOF
17077 #define HAVE_ASINL 1
17078 _ACEOF
17079
17080   fi
17081
17082
17083
17084
17085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17086 $as_echo_n "checking for asinhf... " >&6; }
17087 if test "${gcc_cv_math_func_asinhf+set}" = set; then :
17088   $as_echo_n "(cached) " >&6
17089 else
17090   if test x$gcc_no_link = xyes; then
17091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17092 fi
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h.  */
17095
17096 #ifdef HAVE_COMPLEX_H
17097 #include <complex.h>
17098 #endif
17099 #ifdef HAVE_MATH_H
17100 #include <math.h>
17101 #endif
17102
17103 int (*ptr)() = (int (*)())asinhf;
17104
17105 int
17106 main ()
17107 {
17108   return 0;
17109 }
17110
17111 _ACEOF
17112 if ac_fn_c_try_link "$LINENO"; then :
17113   gcc_cv_math_func_asinhf=yes
17114 else
17115   gcc_cv_math_func_asinhf=no
17116 fi
17117 rm -f core conftest.err conftest.$ac_objext \
17118     conftest$ac_exeext conftest.$ac_ext
17119 fi
17120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17121 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17122   if test $gcc_cv_math_func_asinhf = yes; then
17123
17124 cat >>confdefs.h <<_ACEOF
17125 #define HAVE_ASINHF 1
17126 _ACEOF
17127
17128   fi
17129
17130
17131
17132
17133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17134 $as_echo_n "checking for asinh... " >&6; }
17135 if test "${gcc_cv_math_func_asinh+set}" = set; then :
17136   $as_echo_n "(cached) " >&6
17137 else
17138   if test x$gcc_no_link = xyes; then
17139   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17140 fi
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h.  */
17143
17144 #ifdef HAVE_COMPLEX_H
17145 #include <complex.h>
17146 #endif
17147 #ifdef HAVE_MATH_H
17148 #include <math.h>
17149 #endif
17150
17151 int (*ptr)() = (int (*)())asinh;
17152
17153 int
17154 main ()
17155 {
17156   return 0;
17157 }
17158
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161   gcc_cv_math_func_asinh=yes
17162 else
17163   gcc_cv_math_func_asinh=no
17164 fi
17165 rm -f core conftest.err conftest.$ac_objext \
17166     conftest$ac_exeext conftest.$ac_ext
17167 fi
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17169 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17170   if test $gcc_cv_math_func_asinh = yes; then
17171
17172 cat >>confdefs.h <<_ACEOF
17173 #define HAVE_ASINH 1
17174 _ACEOF
17175
17176   fi
17177
17178
17179
17180
17181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17182 $as_echo_n "checking for asinhl... " >&6; }
17183 if test "${gcc_cv_math_func_asinhl+set}" = set; then :
17184   $as_echo_n "(cached) " >&6
17185 else
17186   if test x$gcc_no_link = xyes; then
17187   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17188 fi
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h.  */
17191
17192 #ifdef HAVE_COMPLEX_H
17193 #include <complex.h>
17194 #endif
17195 #ifdef HAVE_MATH_H
17196 #include <math.h>
17197 #endif
17198
17199 int (*ptr)() = (int (*)())asinhl;
17200
17201 int
17202 main ()
17203 {
17204   return 0;
17205 }
17206
17207 _ACEOF
17208 if ac_fn_c_try_link "$LINENO"; then :
17209   gcc_cv_math_func_asinhl=yes
17210 else
17211   gcc_cv_math_func_asinhl=no
17212 fi
17213 rm -f core conftest.err conftest.$ac_objext \
17214     conftest$ac_exeext conftest.$ac_ext
17215 fi
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17217 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17218   if test $gcc_cv_math_func_asinhl = yes; then
17219
17220 cat >>confdefs.h <<_ACEOF
17221 #define HAVE_ASINHL 1
17222 _ACEOF
17223
17224   fi
17225
17226
17227
17228
17229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17230 $as_echo_n "checking for atan2f... " >&6; }
17231 if test "${gcc_cv_math_func_atan2f+set}" = set; then :
17232   $as_echo_n "(cached) " >&6
17233 else
17234   if test x$gcc_no_link = xyes; then
17235   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17236 fi
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h.  */
17239
17240 #ifdef HAVE_COMPLEX_H
17241 #include <complex.h>
17242 #endif
17243 #ifdef HAVE_MATH_H
17244 #include <math.h>
17245 #endif
17246
17247 int (*ptr)() = (int (*)())atan2f;
17248
17249 int
17250 main ()
17251 {
17252   return 0;
17253 }
17254
17255 _ACEOF
17256 if ac_fn_c_try_link "$LINENO"; then :
17257   gcc_cv_math_func_atan2f=yes
17258 else
17259   gcc_cv_math_func_atan2f=no
17260 fi
17261 rm -f core conftest.err conftest.$ac_objext \
17262     conftest$ac_exeext conftest.$ac_ext
17263 fi
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17265 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17266   if test $gcc_cv_math_func_atan2f = yes; then
17267
17268 cat >>confdefs.h <<_ACEOF
17269 #define HAVE_ATAN2F 1
17270 _ACEOF
17271
17272   fi
17273
17274
17275
17276
17277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17278 $as_echo_n "checking for atan2... " >&6; }
17279 if test "${gcc_cv_math_func_atan2+set}" = set; then :
17280   $as_echo_n "(cached) " >&6
17281 else
17282   if test x$gcc_no_link = xyes; then
17283   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17284 fi
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h.  */
17287
17288 #ifdef HAVE_COMPLEX_H
17289 #include <complex.h>
17290 #endif
17291 #ifdef HAVE_MATH_H
17292 #include <math.h>
17293 #endif
17294
17295 int (*ptr)() = (int (*)())atan2;
17296
17297 int
17298 main ()
17299 {
17300   return 0;
17301 }
17302
17303 _ACEOF
17304 if ac_fn_c_try_link "$LINENO"; then :
17305   gcc_cv_math_func_atan2=yes
17306 else
17307   gcc_cv_math_func_atan2=no
17308 fi
17309 rm -f core conftest.err conftest.$ac_objext \
17310     conftest$ac_exeext conftest.$ac_ext
17311 fi
17312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
17313 $as_echo "$gcc_cv_math_func_atan2" >&6; }
17314   if test $gcc_cv_math_func_atan2 = yes; then
17315
17316 cat >>confdefs.h <<_ACEOF
17317 #define HAVE_ATAN2 1
17318 _ACEOF
17319
17320   fi
17321
17322
17323
17324
17325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
17326 $as_echo_n "checking for atan2l... " >&6; }
17327 if test "${gcc_cv_math_func_atan2l+set}" = set; then :
17328   $as_echo_n "(cached) " >&6
17329 else
17330   if test x$gcc_no_link = xyes; then
17331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17332 fi
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h.  */
17335
17336 #ifdef HAVE_COMPLEX_H
17337 #include <complex.h>
17338 #endif
17339 #ifdef HAVE_MATH_H
17340 #include <math.h>
17341 #endif
17342
17343 int (*ptr)() = (int (*)())atan2l;
17344
17345 int
17346 main ()
17347 {
17348   return 0;
17349 }
17350
17351 _ACEOF
17352 if ac_fn_c_try_link "$LINENO"; then :
17353   gcc_cv_math_func_atan2l=yes
17354 else
17355   gcc_cv_math_func_atan2l=no
17356 fi
17357 rm -f core conftest.err conftest.$ac_objext \
17358     conftest$ac_exeext conftest.$ac_ext
17359 fi
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
17361 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
17362   if test $gcc_cv_math_func_atan2l = yes; then
17363
17364 cat >>confdefs.h <<_ACEOF
17365 #define HAVE_ATAN2L 1
17366 _ACEOF
17367
17368   fi
17369
17370
17371
17372
17373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
17374 $as_echo_n "checking for atanf... " >&6; }
17375 if test "${gcc_cv_math_func_atanf+set}" = set; then :
17376   $as_echo_n "(cached) " >&6
17377 else
17378   if test x$gcc_no_link = xyes; then
17379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17380 fi
17381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17382 /* end confdefs.h.  */
17383
17384 #ifdef HAVE_COMPLEX_H
17385 #include <complex.h>
17386 #endif
17387 #ifdef HAVE_MATH_H
17388 #include <math.h>
17389 #endif
17390
17391 int (*ptr)() = (int (*)())atanf;
17392
17393 int
17394 main ()
17395 {
17396   return 0;
17397 }
17398
17399 _ACEOF
17400 if ac_fn_c_try_link "$LINENO"; then :
17401   gcc_cv_math_func_atanf=yes
17402 else
17403   gcc_cv_math_func_atanf=no
17404 fi
17405 rm -f core conftest.err conftest.$ac_objext \
17406     conftest$ac_exeext conftest.$ac_ext
17407 fi
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
17409 $as_echo "$gcc_cv_math_func_atanf" >&6; }
17410   if test $gcc_cv_math_func_atanf = yes; then
17411
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_ATANF 1
17414 _ACEOF
17415
17416   fi
17417
17418
17419
17420
17421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
17422 $as_echo_n "checking for atan... " >&6; }
17423 if test "${gcc_cv_math_func_atan+set}" = set; then :
17424   $as_echo_n "(cached) " >&6
17425 else
17426   if test x$gcc_no_link = xyes; then
17427   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17428 fi
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h.  */
17431
17432 #ifdef HAVE_COMPLEX_H
17433 #include <complex.h>
17434 #endif
17435 #ifdef HAVE_MATH_H
17436 #include <math.h>
17437 #endif
17438
17439 int (*ptr)() = (int (*)())atan;
17440
17441 int
17442 main ()
17443 {
17444   return 0;
17445 }
17446
17447 _ACEOF
17448 if ac_fn_c_try_link "$LINENO"; then :
17449   gcc_cv_math_func_atan=yes
17450 else
17451   gcc_cv_math_func_atan=no
17452 fi
17453 rm -f core conftest.err conftest.$ac_objext \
17454     conftest$ac_exeext conftest.$ac_ext
17455 fi
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
17457 $as_echo "$gcc_cv_math_func_atan" >&6; }
17458   if test $gcc_cv_math_func_atan = yes; then
17459
17460 cat >>confdefs.h <<_ACEOF
17461 #define HAVE_ATAN 1
17462 _ACEOF
17463
17464   fi
17465
17466
17467
17468
17469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
17470 $as_echo_n "checking for atanl... " >&6; }
17471 if test "${gcc_cv_math_func_atanl+set}" = set; then :
17472   $as_echo_n "(cached) " >&6
17473 else
17474   if test x$gcc_no_link = xyes; then
17475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17476 fi
17477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17478 /* end confdefs.h.  */
17479
17480 #ifdef HAVE_COMPLEX_H
17481 #include <complex.h>
17482 #endif
17483 #ifdef HAVE_MATH_H
17484 #include <math.h>
17485 #endif
17486
17487 int (*ptr)() = (int (*)())atanl;
17488
17489 int
17490 main ()
17491 {
17492   return 0;
17493 }
17494
17495 _ACEOF
17496 if ac_fn_c_try_link "$LINENO"; then :
17497   gcc_cv_math_func_atanl=yes
17498 else
17499   gcc_cv_math_func_atanl=no
17500 fi
17501 rm -f core conftest.err conftest.$ac_objext \
17502     conftest$ac_exeext conftest.$ac_ext
17503 fi
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
17505 $as_echo "$gcc_cv_math_func_atanl" >&6; }
17506   if test $gcc_cv_math_func_atanl = yes; then
17507
17508 cat >>confdefs.h <<_ACEOF
17509 #define HAVE_ATANL 1
17510 _ACEOF
17511
17512   fi
17513
17514
17515
17516
17517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
17518 $as_echo_n "checking for atanhf... " >&6; }
17519 if test "${gcc_cv_math_func_atanhf+set}" = set; then :
17520   $as_echo_n "(cached) " >&6
17521 else
17522   if test x$gcc_no_link = xyes; then
17523   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17524 fi
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h.  */
17527
17528 #ifdef HAVE_COMPLEX_H
17529 #include <complex.h>
17530 #endif
17531 #ifdef HAVE_MATH_H
17532 #include <math.h>
17533 #endif
17534
17535 int (*ptr)() = (int (*)())atanhf;
17536
17537 int
17538 main ()
17539 {
17540   return 0;
17541 }
17542
17543 _ACEOF
17544 if ac_fn_c_try_link "$LINENO"; then :
17545   gcc_cv_math_func_atanhf=yes
17546 else
17547   gcc_cv_math_func_atanhf=no
17548 fi
17549 rm -f core conftest.err conftest.$ac_objext \
17550     conftest$ac_exeext conftest.$ac_ext
17551 fi
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
17553 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
17554   if test $gcc_cv_math_func_atanhf = yes; then
17555
17556 cat >>confdefs.h <<_ACEOF
17557 #define HAVE_ATANHF 1
17558 _ACEOF
17559
17560   fi
17561
17562
17563
17564
17565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
17566 $as_echo_n "checking for atanh... " >&6; }
17567 if test "${gcc_cv_math_func_atanh+set}" = set; then :
17568   $as_echo_n "(cached) " >&6
17569 else
17570   if test x$gcc_no_link = xyes; then
17571   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17572 fi
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h.  */
17575
17576 #ifdef HAVE_COMPLEX_H
17577 #include <complex.h>
17578 #endif
17579 #ifdef HAVE_MATH_H
17580 #include <math.h>
17581 #endif
17582
17583 int (*ptr)() = (int (*)())atanh;
17584
17585 int
17586 main ()
17587 {
17588   return 0;
17589 }
17590
17591 _ACEOF
17592 if ac_fn_c_try_link "$LINENO"; then :
17593   gcc_cv_math_func_atanh=yes
17594 else
17595   gcc_cv_math_func_atanh=no
17596 fi
17597 rm -f core conftest.err conftest.$ac_objext \
17598     conftest$ac_exeext conftest.$ac_ext
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
17601 $as_echo "$gcc_cv_math_func_atanh" >&6; }
17602   if test $gcc_cv_math_func_atanh = yes; then
17603
17604 cat >>confdefs.h <<_ACEOF
17605 #define HAVE_ATANH 1
17606 _ACEOF
17607
17608   fi
17609
17610
17611
17612
17613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
17614 $as_echo_n "checking for atanhl... " >&6; }
17615 if test "${gcc_cv_math_func_atanhl+set}" = set; then :
17616   $as_echo_n "(cached) " >&6
17617 else
17618   if test x$gcc_no_link = xyes; then
17619   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17620 fi
17621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17622 /* end confdefs.h.  */
17623
17624 #ifdef HAVE_COMPLEX_H
17625 #include <complex.h>
17626 #endif
17627 #ifdef HAVE_MATH_H
17628 #include <math.h>
17629 #endif
17630
17631 int (*ptr)() = (int (*)())atanhl;
17632
17633 int
17634 main ()
17635 {
17636   return 0;
17637 }
17638
17639 _ACEOF
17640 if ac_fn_c_try_link "$LINENO"; then :
17641   gcc_cv_math_func_atanhl=yes
17642 else
17643   gcc_cv_math_func_atanhl=no
17644 fi
17645 rm -f core conftest.err conftest.$ac_objext \
17646     conftest$ac_exeext conftest.$ac_ext
17647 fi
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
17649 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
17650   if test $gcc_cv_math_func_atanhl = yes; then
17651
17652 cat >>confdefs.h <<_ACEOF
17653 #define HAVE_ATANHL 1
17654 _ACEOF
17655
17656   fi
17657
17658
17659
17660
17661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
17662 $as_echo_n "checking for cargf... " >&6; }
17663 if test "${gcc_cv_math_func_cargf+set}" = set; then :
17664   $as_echo_n "(cached) " >&6
17665 else
17666   if test x$gcc_no_link = xyes; then
17667   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17668 fi
17669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17670 /* end confdefs.h.  */
17671
17672 #ifdef HAVE_COMPLEX_H
17673 #include <complex.h>
17674 #endif
17675 #ifdef HAVE_MATH_H
17676 #include <math.h>
17677 #endif
17678
17679 int (*ptr)() = (int (*)())cargf;
17680
17681 int
17682 main ()
17683 {
17684   return 0;
17685 }
17686
17687 _ACEOF
17688 if ac_fn_c_try_link "$LINENO"; then :
17689   gcc_cv_math_func_cargf=yes
17690 else
17691   gcc_cv_math_func_cargf=no
17692 fi
17693 rm -f core conftest.err conftest.$ac_objext \
17694     conftest$ac_exeext conftest.$ac_ext
17695 fi
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
17697 $as_echo "$gcc_cv_math_func_cargf" >&6; }
17698   if test $gcc_cv_math_func_cargf = yes; then
17699
17700 cat >>confdefs.h <<_ACEOF
17701 #define HAVE_CARGF 1
17702 _ACEOF
17703
17704   fi
17705
17706
17707
17708
17709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
17710 $as_echo_n "checking for carg... " >&6; }
17711 if test "${gcc_cv_math_func_carg+set}" = set; then :
17712   $as_echo_n "(cached) " >&6
17713 else
17714   if test x$gcc_no_link = xyes; then
17715   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17716 fi
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h.  */
17719
17720 #ifdef HAVE_COMPLEX_H
17721 #include <complex.h>
17722 #endif
17723 #ifdef HAVE_MATH_H
17724 #include <math.h>
17725 #endif
17726
17727 int (*ptr)() = (int (*)())carg;
17728
17729 int
17730 main ()
17731 {
17732   return 0;
17733 }
17734
17735 _ACEOF
17736 if ac_fn_c_try_link "$LINENO"; then :
17737   gcc_cv_math_func_carg=yes
17738 else
17739   gcc_cv_math_func_carg=no
17740 fi
17741 rm -f core conftest.err conftest.$ac_objext \
17742     conftest$ac_exeext conftest.$ac_ext
17743 fi
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
17745 $as_echo "$gcc_cv_math_func_carg" >&6; }
17746   if test $gcc_cv_math_func_carg = yes; then
17747
17748 cat >>confdefs.h <<_ACEOF
17749 #define HAVE_CARG 1
17750 _ACEOF
17751
17752   fi
17753
17754
17755
17756
17757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
17758 $as_echo_n "checking for cargl... " >&6; }
17759 if test "${gcc_cv_math_func_cargl+set}" = set; then :
17760   $as_echo_n "(cached) " >&6
17761 else
17762   if test x$gcc_no_link = xyes; then
17763   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17764 fi
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h.  */
17767
17768 #ifdef HAVE_COMPLEX_H
17769 #include <complex.h>
17770 #endif
17771 #ifdef HAVE_MATH_H
17772 #include <math.h>
17773 #endif
17774
17775 int (*ptr)() = (int (*)())cargl;
17776
17777 int
17778 main ()
17779 {
17780   return 0;
17781 }
17782
17783 _ACEOF
17784 if ac_fn_c_try_link "$LINENO"; then :
17785   gcc_cv_math_func_cargl=yes
17786 else
17787   gcc_cv_math_func_cargl=no
17788 fi
17789 rm -f core conftest.err conftest.$ac_objext \
17790     conftest$ac_exeext conftest.$ac_ext
17791 fi
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
17793 $as_echo "$gcc_cv_math_func_cargl" >&6; }
17794   if test $gcc_cv_math_func_cargl = yes; then
17795
17796 cat >>confdefs.h <<_ACEOF
17797 #define HAVE_CARGL 1
17798 _ACEOF
17799
17800   fi
17801
17802
17803
17804
17805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
17806 $as_echo_n "checking for ceilf... " >&6; }
17807 if test "${gcc_cv_math_func_ceilf+set}" = set; then :
17808   $as_echo_n "(cached) " >&6
17809 else
17810   if test x$gcc_no_link = xyes; then
17811   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17812 fi
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h.  */
17815
17816 #ifdef HAVE_COMPLEX_H
17817 #include <complex.h>
17818 #endif
17819 #ifdef HAVE_MATH_H
17820 #include <math.h>
17821 #endif
17822
17823 int (*ptr)() = (int (*)())ceilf;
17824
17825 int
17826 main ()
17827 {
17828   return 0;
17829 }
17830
17831 _ACEOF
17832 if ac_fn_c_try_link "$LINENO"; then :
17833   gcc_cv_math_func_ceilf=yes
17834 else
17835   gcc_cv_math_func_ceilf=no
17836 fi
17837 rm -f core conftest.err conftest.$ac_objext \
17838     conftest$ac_exeext conftest.$ac_ext
17839 fi
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
17841 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
17842   if test $gcc_cv_math_func_ceilf = yes; then
17843
17844 cat >>confdefs.h <<_ACEOF
17845 #define HAVE_CEILF 1
17846 _ACEOF
17847
17848   fi
17849
17850
17851
17852
17853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
17854 $as_echo_n "checking for ceil... " >&6; }
17855 if test "${gcc_cv_math_func_ceil+set}" = set; then :
17856   $as_echo_n "(cached) " >&6
17857 else
17858   if test x$gcc_no_link = xyes; then
17859   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17860 fi
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h.  */
17863
17864 #ifdef HAVE_COMPLEX_H
17865 #include <complex.h>
17866 #endif
17867 #ifdef HAVE_MATH_H
17868 #include <math.h>
17869 #endif
17870
17871 int (*ptr)() = (int (*)())ceil;
17872
17873 int
17874 main ()
17875 {
17876   return 0;
17877 }
17878
17879 _ACEOF
17880 if ac_fn_c_try_link "$LINENO"; then :
17881   gcc_cv_math_func_ceil=yes
17882 else
17883   gcc_cv_math_func_ceil=no
17884 fi
17885 rm -f core conftest.err conftest.$ac_objext \
17886     conftest$ac_exeext conftest.$ac_ext
17887 fi
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
17889 $as_echo "$gcc_cv_math_func_ceil" >&6; }
17890   if test $gcc_cv_math_func_ceil = yes; then
17891
17892 cat >>confdefs.h <<_ACEOF
17893 #define HAVE_CEIL 1
17894 _ACEOF
17895
17896   fi
17897
17898
17899
17900
17901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
17902 $as_echo_n "checking for ceill... " >&6; }
17903 if test "${gcc_cv_math_func_ceill+set}" = set; then :
17904   $as_echo_n "(cached) " >&6
17905 else
17906   if test x$gcc_no_link = xyes; then
17907   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17908 fi
17909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17910 /* end confdefs.h.  */
17911
17912 #ifdef HAVE_COMPLEX_H
17913 #include <complex.h>
17914 #endif
17915 #ifdef HAVE_MATH_H
17916 #include <math.h>
17917 #endif
17918
17919 int (*ptr)() = (int (*)())ceill;
17920
17921 int
17922 main ()
17923 {
17924   return 0;
17925 }
17926
17927 _ACEOF
17928 if ac_fn_c_try_link "$LINENO"; then :
17929   gcc_cv_math_func_ceill=yes
17930 else
17931   gcc_cv_math_func_ceill=no
17932 fi
17933 rm -f core conftest.err conftest.$ac_objext \
17934     conftest$ac_exeext conftest.$ac_ext
17935 fi
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
17937 $as_echo "$gcc_cv_math_func_ceill" >&6; }
17938   if test $gcc_cv_math_func_ceill = yes; then
17939
17940 cat >>confdefs.h <<_ACEOF
17941 #define HAVE_CEILL 1
17942 _ACEOF
17943
17944   fi
17945
17946
17947
17948
17949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
17950 $as_echo_n "checking for copysignf... " >&6; }
17951 if test "${gcc_cv_math_func_copysignf+set}" = set; then :
17952   $as_echo_n "(cached) " >&6
17953 else
17954   if test x$gcc_no_link = xyes; then
17955   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17956 fi
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h.  */
17959
17960 #ifdef HAVE_COMPLEX_H
17961 #include <complex.h>
17962 #endif
17963 #ifdef HAVE_MATH_H
17964 #include <math.h>
17965 #endif
17966
17967 int (*ptr)() = (int (*)())copysignf;
17968
17969 int
17970 main ()
17971 {
17972   return 0;
17973 }
17974
17975 _ACEOF
17976 if ac_fn_c_try_link "$LINENO"; then :
17977   gcc_cv_math_func_copysignf=yes
17978 else
17979   gcc_cv_math_func_copysignf=no
17980 fi
17981 rm -f core conftest.err conftest.$ac_objext \
17982     conftest$ac_exeext conftest.$ac_ext
17983 fi
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
17985 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
17986   if test $gcc_cv_math_func_copysignf = yes; then
17987
17988 cat >>confdefs.h <<_ACEOF
17989 #define HAVE_COPYSIGNF 1
17990 _ACEOF
17991
17992   fi
17993
17994
17995
17996
17997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
17998 $as_echo_n "checking for copysign... " >&6; }
17999 if test "${gcc_cv_math_func_copysign+set}" = set; then :
18000   $as_echo_n "(cached) " >&6
18001 else
18002   if test x$gcc_no_link = xyes; then
18003   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18004 fi
18005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18006 /* end confdefs.h.  */
18007
18008 #ifdef HAVE_COMPLEX_H
18009 #include <complex.h>
18010 #endif
18011 #ifdef HAVE_MATH_H
18012 #include <math.h>
18013 #endif
18014
18015 int (*ptr)() = (int (*)())copysign;
18016
18017 int
18018 main ()
18019 {
18020   return 0;
18021 }
18022
18023 _ACEOF
18024 if ac_fn_c_try_link "$LINENO"; then :
18025   gcc_cv_math_func_copysign=yes
18026 else
18027   gcc_cv_math_func_copysign=no
18028 fi
18029 rm -f core conftest.err conftest.$ac_objext \
18030     conftest$ac_exeext conftest.$ac_ext
18031 fi
18032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18033 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18034   if test $gcc_cv_math_func_copysign = yes; then
18035
18036 cat >>confdefs.h <<_ACEOF
18037 #define HAVE_COPYSIGN 1
18038 _ACEOF
18039
18040   fi
18041
18042
18043
18044
18045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18046 $as_echo_n "checking for copysignl... " >&6; }
18047 if test "${gcc_cv_math_func_copysignl+set}" = set; then :
18048   $as_echo_n "(cached) " >&6
18049 else
18050   if test x$gcc_no_link = xyes; then
18051   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18052 fi
18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h.  */
18055
18056 #ifdef HAVE_COMPLEX_H
18057 #include <complex.h>
18058 #endif
18059 #ifdef HAVE_MATH_H
18060 #include <math.h>
18061 #endif
18062
18063 int (*ptr)() = (int (*)())copysignl;
18064
18065 int
18066 main ()
18067 {
18068   return 0;
18069 }
18070
18071 _ACEOF
18072 if ac_fn_c_try_link "$LINENO"; then :
18073   gcc_cv_math_func_copysignl=yes
18074 else
18075   gcc_cv_math_func_copysignl=no
18076 fi
18077 rm -f core conftest.err conftest.$ac_objext \
18078     conftest$ac_exeext conftest.$ac_ext
18079 fi
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18081 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18082   if test $gcc_cv_math_func_copysignl = yes; then
18083
18084 cat >>confdefs.h <<_ACEOF
18085 #define HAVE_COPYSIGNL 1
18086 _ACEOF
18087
18088   fi
18089
18090
18091
18092
18093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18094 $as_echo_n "checking for cosf... " >&6; }
18095 if test "${gcc_cv_math_func_cosf+set}" = set; then :
18096   $as_echo_n "(cached) " >&6
18097 else
18098   if test x$gcc_no_link = xyes; then
18099   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18100 fi
18101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18102 /* end confdefs.h.  */
18103
18104 #ifdef HAVE_COMPLEX_H
18105 #include <complex.h>
18106 #endif
18107 #ifdef HAVE_MATH_H
18108 #include <math.h>
18109 #endif
18110
18111 int (*ptr)() = (int (*)())cosf;
18112
18113 int
18114 main ()
18115 {
18116   return 0;
18117 }
18118
18119 _ACEOF
18120 if ac_fn_c_try_link "$LINENO"; then :
18121   gcc_cv_math_func_cosf=yes
18122 else
18123   gcc_cv_math_func_cosf=no
18124 fi
18125 rm -f core conftest.err conftest.$ac_objext \
18126     conftest$ac_exeext conftest.$ac_ext
18127 fi
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18129 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18130   if test $gcc_cv_math_func_cosf = yes; then
18131
18132 cat >>confdefs.h <<_ACEOF
18133 #define HAVE_COSF 1
18134 _ACEOF
18135
18136   fi
18137
18138
18139
18140
18141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18142 $as_echo_n "checking for cos... " >&6; }
18143 if test "${gcc_cv_math_func_cos+set}" = set; then :
18144   $as_echo_n "(cached) " >&6
18145 else
18146   if test x$gcc_no_link = xyes; then
18147   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18148 fi
18149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18150 /* end confdefs.h.  */
18151
18152 #ifdef HAVE_COMPLEX_H
18153 #include <complex.h>
18154 #endif
18155 #ifdef HAVE_MATH_H
18156 #include <math.h>
18157 #endif
18158
18159 int (*ptr)() = (int (*)())cos;
18160
18161 int
18162 main ()
18163 {
18164   return 0;
18165 }
18166
18167 _ACEOF
18168 if ac_fn_c_try_link "$LINENO"; then :
18169   gcc_cv_math_func_cos=yes
18170 else
18171   gcc_cv_math_func_cos=no
18172 fi
18173 rm -f core conftest.err conftest.$ac_objext \
18174     conftest$ac_exeext conftest.$ac_ext
18175 fi
18176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18177 $as_echo "$gcc_cv_math_func_cos" >&6; }
18178   if test $gcc_cv_math_func_cos = yes; then
18179
18180 cat >>confdefs.h <<_ACEOF
18181 #define HAVE_COS 1
18182 _ACEOF
18183
18184   fi
18185
18186
18187
18188
18189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18190 $as_echo_n "checking for cosl... " >&6; }
18191 if test "${gcc_cv_math_func_cosl+set}" = set; then :
18192   $as_echo_n "(cached) " >&6
18193 else
18194   if test x$gcc_no_link = xyes; then
18195   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18196 fi
18197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198 /* end confdefs.h.  */
18199
18200 #ifdef HAVE_COMPLEX_H
18201 #include <complex.h>
18202 #endif
18203 #ifdef HAVE_MATH_H
18204 #include <math.h>
18205 #endif
18206
18207 int (*ptr)() = (int (*)())cosl;
18208
18209 int
18210 main ()
18211 {
18212   return 0;
18213 }
18214
18215 _ACEOF
18216 if ac_fn_c_try_link "$LINENO"; then :
18217   gcc_cv_math_func_cosl=yes
18218 else
18219   gcc_cv_math_func_cosl=no
18220 fi
18221 rm -f core conftest.err conftest.$ac_objext \
18222     conftest$ac_exeext conftest.$ac_ext
18223 fi
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18225 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18226   if test $gcc_cv_math_func_cosl = yes; then
18227
18228 cat >>confdefs.h <<_ACEOF
18229 #define HAVE_COSL 1
18230 _ACEOF
18231
18232   fi
18233
18234
18235
18236
18237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18238 $as_echo_n "checking for ccosf... " >&6; }
18239 if test "${gcc_cv_math_func_ccosf+set}" = set; then :
18240   $as_echo_n "(cached) " >&6
18241 else
18242   if test x$gcc_no_link = xyes; then
18243   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18244 fi
18245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18246 /* end confdefs.h.  */
18247
18248 #ifdef HAVE_COMPLEX_H
18249 #include <complex.h>
18250 #endif
18251 #ifdef HAVE_MATH_H
18252 #include <math.h>
18253 #endif
18254
18255 int (*ptr)() = (int (*)())ccosf;
18256
18257 int
18258 main ()
18259 {
18260   return 0;
18261 }
18262
18263 _ACEOF
18264 if ac_fn_c_try_link "$LINENO"; then :
18265   gcc_cv_math_func_ccosf=yes
18266 else
18267   gcc_cv_math_func_ccosf=no
18268 fi
18269 rm -f core conftest.err conftest.$ac_objext \
18270     conftest$ac_exeext conftest.$ac_ext
18271 fi
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18273 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18274   if test $gcc_cv_math_func_ccosf = yes; then
18275
18276 cat >>confdefs.h <<_ACEOF
18277 #define HAVE_CCOSF 1
18278 _ACEOF
18279
18280   fi
18281
18282
18283
18284
18285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18286 $as_echo_n "checking for ccos... " >&6; }
18287 if test "${gcc_cv_math_func_ccos+set}" = set; then :
18288   $as_echo_n "(cached) " >&6
18289 else
18290   if test x$gcc_no_link = xyes; then
18291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18292 fi
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h.  */
18295
18296 #ifdef HAVE_COMPLEX_H
18297 #include <complex.h>
18298 #endif
18299 #ifdef HAVE_MATH_H
18300 #include <math.h>
18301 #endif
18302
18303 int (*ptr)() = (int (*)())ccos;
18304
18305 int
18306 main ()
18307 {
18308   return 0;
18309 }
18310
18311 _ACEOF
18312 if ac_fn_c_try_link "$LINENO"; then :
18313   gcc_cv_math_func_ccos=yes
18314 else
18315   gcc_cv_math_func_ccos=no
18316 fi
18317 rm -f core conftest.err conftest.$ac_objext \
18318     conftest$ac_exeext conftest.$ac_ext
18319 fi
18320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
18321 $as_echo "$gcc_cv_math_func_ccos" >&6; }
18322   if test $gcc_cv_math_func_ccos = yes; then
18323
18324 cat >>confdefs.h <<_ACEOF
18325 #define HAVE_CCOS 1
18326 _ACEOF
18327
18328   fi
18329
18330
18331
18332
18333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
18334 $as_echo_n "checking for ccosl... " >&6; }
18335 if test "${gcc_cv_math_func_ccosl+set}" = set; then :
18336   $as_echo_n "(cached) " >&6
18337 else
18338   if test x$gcc_no_link = xyes; then
18339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18340 fi
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h.  */
18343
18344 #ifdef HAVE_COMPLEX_H
18345 #include <complex.h>
18346 #endif
18347 #ifdef HAVE_MATH_H
18348 #include <math.h>
18349 #endif
18350
18351 int (*ptr)() = (int (*)())ccosl;
18352
18353 int
18354 main ()
18355 {
18356   return 0;
18357 }
18358
18359 _ACEOF
18360 if ac_fn_c_try_link "$LINENO"; then :
18361   gcc_cv_math_func_ccosl=yes
18362 else
18363   gcc_cv_math_func_ccosl=no
18364 fi
18365 rm -f core conftest.err conftest.$ac_objext \
18366     conftest$ac_exeext conftest.$ac_ext
18367 fi
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
18369 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
18370   if test $gcc_cv_math_func_ccosl = yes; then
18371
18372 cat >>confdefs.h <<_ACEOF
18373 #define HAVE_CCOSL 1
18374 _ACEOF
18375
18376   fi
18377
18378
18379
18380
18381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
18382 $as_echo_n "checking for coshf... " >&6; }
18383 if test "${gcc_cv_math_func_coshf+set}" = set; then :
18384   $as_echo_n "(cached) " >&6
18385 else
18386   if test x$gcc_no_link = xyes; then
18387   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18388 fi
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h.  */
18391
18392 #ifdef HAVE_COMPLEX_H
18393 #include <complex.h>
18394 #endif
18395 #ifdef HAVE_MATH_H
18396 #include <math.h>
18397 #endif
18398
18399 int (*ptr)() = (int (*)())coshf;
18400
18401 int
18402 main ()
18403 {
18404   return 0;
18405 }
18406
18407 _ACEOF
18408 if ac_fn_c_try_link "$LINENO"; then :
18409   gcc_cv_math_func_coshf=yes
18410 else
18411   gcc_cv_math_func_coshf=no
18412 fi
18413 rm -f core conftest.err conftest.$ac_objext \
18414     conftest$ac_exeext conftest.$ac_ext
18415 fi
18416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
18417 $as_echo "$gcc_cv_math_func_coshf" >&6; }
18418   if test $gcc_cv_math_func_coshf = yes; then
18419
18420 cat >>confdefs.h <<_ACEOF
18421 #define HAVE_COSHF 1
18422 _ACEOF
18423
18424   fi
18425
18426
18427
18428
18429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
18430 $as_echo_n "checking for cosh... " >&6; }
18431 if test "${gcc_cv_math_func_cosh+set}" = set; then :
18432   $as_echo_n "(cached) " >&6
18433 else
18434   if test x$gcc_no_link = xyes; then
18435   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18436 fi
18437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18438 /* end confdefs.h.  */
18439
18440 #ifdef HAVE_COMPLEX_H
18441 #include <complex.h>
18442 #endif
18443 #ifdef HAVE_MATH_H
18444 #include <math.h>
18445 #endif
18446
18447 int (*ptr)() = (int (*)())cosh;
18448
18449 int
18450 main ()
18451 {
18452   return 0;
18453 }
18454
18455 _ACEOF
18456 if ac_fn_c_try_link "$LINENO"; then :
18457   gcc_cv_math_func_cosh=yes
18458 else
18459   gcc_cv_math_func_cosh=no
18460 fi
18461 rm -f core conftest.err conftest.$ac_objext \
18462     conftest$ac_exeext conftest.$ac_ext
18463 fi
18464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
18465 $as_echo "$gcc_cv_math_func_cosh" >&6; }
18466   if test $gcc_cv_math_func_cosh = yes; then
18467
18468 cat >>confdefs.h <<_ACEOF
18469 #define HAVE_COSH 1
18470 _ACEOF
18471
18472   fi
18473
18474
18475
18476
18477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
18478 $as_echo_n "checking for coshl... " >&6; }
18479 if test "${gcc_cv_math_func_coshl+set}" = set; then :
18480   $as_echo_n "(cached) " >&6
18481 else
18482   if test x$gcc_no_link = xyes; then
18483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18484 fi
18485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18486 /* end confdefs.h.  */
18487
18488 #ifdef HAVE_COMPLEX_H
18489 #include <complex.h>
18490 #endif
18491 #ifdef HAVE_MATH_H
18492 #include <math.h>
18493 #endif
18494
18495 int (*ptr)() = (int (*)())coshl;
18496
18497 int
18498 main ()
18499 {
18500   return 0;
18501 }
18502
18503 _ACEOF
18504 if ac_fn_c_try_link "$LINENO"; then :
18505   gcc_cv_math_func_coshl=yes
18506 else
18507   gcc_cv_math_func_coshl=no
18508 fi
18509 rm -f core conftest.err conftest.$ac_objext \
18510     conftest$ac_exeext conftest.$ac_ext
18511 fi
18512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
18513 $as_echo "$gcc_cv_math_func_coshl" >&6; }
18514   if test $gcc_cv_math_func_coshl = yes; then
18515
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_COSHL 1
18518 _ACEOF
18519
18520   fi
18521
18522
18523
18524
18525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
18526 $as_echo_n "checking for ccoshf... " >&6; }
18527 if test "${gcc_cv_math_func_ccoshf+set}" = set; then :
18528   $as_echo_n "(cached) " >&6
18529 else
18530   if test x$gcc_no_link = xyes; then
18531   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18532 fi
18533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18534 /* end confdefs.h.  */
18535
18536 #ifdef HAVE_COMPLEX_H
18537 #include <complex.h>
18538 #endif
18539 #ifdef HAVE_MATH_H
18540 #include <math.h>
18541 #endif
18542
18543 int (*ptr)() = (int (*)())ccoshf;
18544
18545 int
18546 main ()
18547 {
18548   return 0;
18549 }
18550
18551 _ACEOF
18552 if ac_fn_c_try_link "$LINENO"; then :
18553   gcc_cv_math_func_ccoshf=yes
18554 else
18555   gcc_cv_math_func_ccoshf=no
18556 fi
18557 rm -f core conftest.err conftest.$ac_objext \
18558     conftest$ac_exeext conftest.$ac_ext
18559 fi
18560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
18561 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
18562   if test $gcc_cv_math_func_ccoshf = yes; then
18563
18564 cat >>confdefs.h <<_ACEOF
18565 #define HAVE_CCOSHF 1
18566 _ACEOF
18567
18568   fi
18569
18570
18571
18572
18573   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
18574 $as_echo_n "checking for ccosh... " >&6; }
18575 if test "${gcc_cv_math_func_ccosh+set}" = set; then :
18576   $as_echo_n "(cached) " >&6
18577 else
18578   if test x$gcc_no_link = xyes; then
18579   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18580 fi
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h.  */
18583
18584 #ifdef HAVE_COMPLEX_H
18585 #include <complex.h>
18586 #endif
18587 #ifdef HAVE_MATH_H
18588 #include <math.h>
18589 #endif
18590
18591 int (*ptr)() = (int (*)())ccosh;
18592
18593 int
18594 main ()
18595 {
18596   return 0;
18597 }
18598
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"; then :
18601   gcc_cv_math_func_ccosh=yes
18602 else
18603   gcc_cv_math_func_ccosh=no
18604 fi
18605 rm -f core conftest.err conftest.$ac_objext \
18606     conftest$ac_exeext conftest.$ac_ext
18607 fi
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
18609 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
18610   if test $gcc_cv_math_func_ccosh = yes; then
18611
18612 cat >>confdefs.h <<_ACEOF
18613 #define HAVE_CCOSH 1
18614 _ACEOF
18615
18616   fi
18617
18618
18619
18620
18621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
18622 $as_echo_n "checking for ccoshl... " >&6; }
18623 if test "${gcc_cv_math_func_ccoshl+set}" = set; then :
18624   $as_echo_n "(cached) " >&6
18625 else
18626   if test x$gcc_no_link = xyes; then
18627   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18628 fi
18629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18630 /* end confdefs.h.  */
18631
18632 #ifdef HAVE_COMPLEX_H
18633 #include <complex.h>
18634 #endif
18635 #ifdef HAVE_MATH_H
18636 #include <math.h>
18637 #endif
18638
18639 int (*ptr)() = (int (*)())ccoshl;
18640
18641 int
18642 main ()
18643 {
18644   return 0;
18645 }
18646
18647 _ACEOF
18648 if ac_fn_c_try_link "$LINENO"; then :
18649   gcc_cv_math_func_ccoshl=yes
18650 else
18651   gcc_cv_math_func_ccoshl=no
18652 fi
18653 rm -f core conftest.err conftest.$ac_objext \
18654     conftest$ac_exeext conftest.$ac_ext
18655 fi
18656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
18657 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
18658   if test $gcc_cv_math_func_ccoshl = yes; then
18659
18660 cat >>confdefs.h <<_ACEOF
18661 #define HAVE_CCOSHL 1
18662 _ACEOF
18663
18664   fi
18665
18666
18667
18668
18669   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
18670 $as_echo_n "checking for expf... " >&6; }
18671 if test "${gcc_cv_math_func_expf+set}" = set; then :
18672   $as_echo_n "(cached) " >&6
18673 else
18674   if test x$gcc_no_link = xyes; then
18675   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18676 fi
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h.  */
18679
18680 #ifdef HAVE_COMPLEX_H
18681 #include <complex.h>
18682 #endif
18683 #ifdef HAVE_MATH_H
18684 #include <math.h>
18685 #endif
18686
18687 int (*ptr)() = (int (*)())expf;
18688
18689 int
18690 main ()
18691 {
18692   return 0;
18693 }
18694
18695 _ACEOF
18696 if ac_fn_c_try_link "$LINENO"; then :
18697   gcc_cv_math_func_expf=yes
18698 else
18699   gcc_cv_math_func_expf=no
18700 fi
18701 rm -f core conftest.err conftest.$ac_objext \
18702     conftest$ac_exeext conftest.$ac_ext
18703 fi
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
18705 $as_echo "$gcc_cv_math_func_expf" >&6; }
18706   if test $gcc_cv_math_func_expf = yes; then
18707
18708 cat >>confdefs.h <<_ACEOF
18709 #define HAVE_EXPF 1
18710 _ACEOF
18711
18712   fi
18713
18714
18715
18716
18717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
18718 $as_echo_n "checking for exp... " >&6; }
18719 if test "${gcc_cv_math_func_exp+set}" = set; then :
18720   $as_echo_n "(cached) " >&6
18721 else
18722   if test x$gcc_no_link = xyes; then
18723   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18724 fi
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h.  */
18727
18728 #ifdef HAVE_COMPLEX_H
18729 #include <complex.h>
18730 #endif
18731 #ifdef HAVE_MATH_H
18732 #include <math.h>
18733 #endif
18734
18735 int (*ptr)() = (int (*)())exp;
18736
18737 int
18738 main ()
18739 {
18740   return 0;
18741 }
18742
18743 _ACEOF
18744 if ac_fn_c_try_link "$LINENO"; then :
18745   gcc_cv_math_func_exp=yes
18746 else
18747   gcc_cv_math_func_exp=no
18748 fi
18749 rm -f core conftest.err conftest.$ac_objext \
18750     conftest$ac_exeext conftest.$ac_ext
18751 fi
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
18753 $as_echo "$gcc_cv_math_func_exp" >&6; }
18754   if test $gcc_cv_math_func_exp = yes; then
18755
18756 cat >>confdefs.h <<_ACEOF
18757 #define HAVE_EXP 1
18758 _ACEOF
18759
18760   fi
18761
18762
18763
18764
18765   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
18766 $as_echo_n "checking for expl... " >&6; }
18767 if test "${gcc_cv_math_func_expl+set}" = set; then :
18768   $as_echo_n "(cached) " >&6
18769 else
18770   if test x$gcc_no_link = xyes; then
18771   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18772 fi
18773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18774 /* end confdefs.h.  */
18775
18776 #ifdef HAVE_COMPLEX_H
18777 #include <complex.h>
18778 #endif
18779 #ifdef HAVE_MATH_H
18780 #include <math.h>
18781 #endif
18782
18783 int (*ptr)() = (int (*)())expl;
18784
18785 int
18786 main ()
18787 {
18788   return 0;
18789 }
18790
18791 _ACEOF
18792 if ac_fn_c_try_link "$LINENO"; then :
18793   gcc_cv_math_func_expl=yes
18794 else
18795   gcc_cv_math_func_expl=no
18796 fi
18797 rm -f core conftest.err conftest.$ac_objext \
18798     conftest$ac_exeext conftest.$ac_ext
18799 fi
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
18801 $as_echo "$gcc_cv_math_func_expl" >&6; }
18802   if test $gcc_cv_math_func_expl = yes; then
18803
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_EXPL 1
18806 _ACEOF
18807
18808   fi
18809
18810
18811
18812
18813   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
18814 $as_echo_n "checking for cexpf... " >&6; }
18815 if test "${gcc_cv_math_func_cexpf+set}" = set; then :
18816   $as_echo_n "(cached) " >&6
18817 else
18818   if test x$gcc_no_link = xyes; then
18819   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18820 fi
18821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18822 /* end confdefs.h.  */
18823
18824 #ifdef HAVE_COMPLEX_H
18825 #include <complex.h>
18826 #endif
18827 #ifdef HAVE_MATH_H
18828 #include <math.h>
18829 #endif
18830
18831 int (*ptr)() = (int (*)())cexpf;
18832
18833 int
18834 main ()
18835 {
18836   return 0;
18837 }
18838
18839 _ACEOF
18840 if ac_fn_c_try_link "$LINENO"; then :
18841   gcc_cv_math_func_cexpf=yes
18842 else
18843   gcc_cv_math_func_cexpf=no
18844 fi
18845 rm -f core conftest.err conftest.$ac_objext \
18846     conftest$ac_exeext conftest.$ac_ext
18847 fi
18848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
18849 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
18850   if test $gcc_cv_math_func_cexpf = yes; then
18851
18852 cat >>confdefs.h <<_ACEOF
18853 #define HAVE_CEXPF 1
18854 _ACEOF
18855
18856   fi
18857
18858
18859
18860
18861   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
18862 $as_echo_n "checking for cexp... " >&6; }
18863 if test "${gcc_cv_math_func_cexp+set}" = set; then :
18864   $as_echo_n "(cached) " >&6
18865 else
18866   if test x$gcc_no_link = xyes; then
18867   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18868 fi
18869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18870 /* end confdefs.h.  */
18871
18872 #ifdef HAVE_COMPLEX_H
18873 #include <complex.h>
18874 #endif
18875 #ifdef HAVE_MATH_H
18876 #include <math.h>
18877 #endif
18878
18879 int (*ptr)() = (int (*)())cexp;
18880
18881 int
18882 main ()
18883 {
18884   return 0;
18885 }
18886
18887 _ACEOF
18888 if ac_fn_c_try_link "$LINENO"; then :
18889   gcc_cv_math_func_cexp=yes
18890 else
18891   gcc_cv_math_func_cexp=no
18892 fi
18893 rm -f core conftest.err conftest.$ac_objext \
18894     conftest$ac_exeext conftest.$ac_ext
18895 fi
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
18897 $as_echo "$gcc_cv_math_func_cexp" >&6; }
18898   if test $gcc_cv_math_func_cexp = yes; then
18899
18900 cat >>confdefs.h <<_ACEOF
18901 #define HAVE_CEXP 1
18902 _ACEOF
18903
18904   fi
18905
18906
18907
18908
18909   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
18910 $as_echo_n "checking for cexpl... " >&6; }
18911 if test "${gcc_cv_math_func_cexpl+set}" = set; then :
18912   $as_echo_n "(cached) " >&6
18913 else
18914   if test x$gcc_no_link = xyes; then
18915   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18916 fi
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h.  */
18919
18920 #ifdef HAVE_COMPLEX_H
18921 #include <complex.h>
18922 #endif
18923 #ifdef HAVE_MATH_H
18924 #include <math.h>
18925 #endif
18926
18927 int (*ptr)() = (int (*)())cexpl;
18928
18929 int
18930 main ()
18931 {
18932   return 0;
18933 }
18934
18935 _ACEOF
18936 if ac_fn_c_try_link "$LINENO"; then :
18937   gcc_cv_math_func_cexpl=yes
18938 else
18939   gcc_cv_math_func_cexpl=no
18940 fi
18941 rm -f core conftest.err conftest.$ac_objext \
18942     conftest$ac_exeext conftest.$ac_ext
18943 fi
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
18945 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
18946   if test $gcc_cv_math_func_cexpl = yes; then
18947
18948 cat >>confdefs.h <<_ACEOF
18949 #define HAVE_CEXPL 1
18950 _ACEOF
18951
18952   fi
18953
18954
18955
18956
18957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
18958 $as_echo_n "checking for fabsf... " >&6; }
18959 if test "${gcc_cv_math_func_fabsf+set}" = set; then :
18960   $as_echo_n "(cached) " >&6
18961 else
18962   if test x$gcc_no_link = xyes; then
18963   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18964 fi
18965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18966 /* end confdefs.h.  */
18967
18968 #ifdef HAVE_COMPLEX_H
18969 #include <complex.h>
18970 #endif
18971 #ifdef HAVE_MATH_H
18972 #include <math.h>
18973 #endif
18974
18975 int (*ptr)() = (int (*)())fabsf;
18976
18977 int
18978 main ()
18979 {
18980   return 0;
18981 }
18982
18983 _ACEOF
18984 if ac_fn_c_try_link "$LINENO"; then :
18985   gcc_cv_math_func_fabsf=yes
18986 else
18987   gcc_cv_math_func_fabsf=no
18988 fi
18989 rm -f core conftest.err conftest.$ac_objext \
18990     conftest$ac_exeext conftest.$ac_ext
18991 fi
18992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
18993 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
18994   if test $gcc_cv_math_func_fabsf = yes; then
18995
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_FABSF 1
18998 _ACEOF
18999
19000   fi
19001
19002
19003
19004
19005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19006 $as_echo_n "checking for fabs... " >&6; }
19007 if test "${gcc_cv_math_func_fabs+set}" = set; then :
19008   $as_echo_n "(cached) " >&6
19009 else
19010   if test x$gcc_no_link = xyes; then
19011   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19012 fi
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h.  */
19015
19016 #ifdef HAVE_COMPLEX_H
19017 #include <complex.h>
19018 #endif
19019 #ifdef HAVE_MATH_H
19020 #include <math.h>
19021 #endif
19022
19023 int (*ptr)() = (int (*)())fabs;
19024
19025 int
19026 main ()
19027 {
19028   return 0;
19029 }
19030
19031 _ACEOF
19032 if ac_fn_c_try_link "$LINENO"; then :
19033   gcc_cv_math_func_fabs=yes
19034 else
19035   gcc_cv_math_func_fabs=no
19036 fi
19037 rm -f core conftest.err conftest.$ac_objext \
19038     conftest$ac_exeext conftest.$ac_ext
19039 fi
19040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19041 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19042   if test $gcc_cv_math_func_fabs = yes; then
19043
19044 cat >>confdefs.h <<_ACEOF
19045 #define HAVE_FABS 1
19046 _ACEOF
19047
19048   fi
19049
19050
19051
19052
19053   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19054 $as_echo_n "checking for fabsl... " >&6; }
19055 if test "${gcc_cv_math_func_fabsl+set}" = set; then :
19056   $as_echo_n "(cached) " >&6
19057 else
19058   if test x$gcc_no_link = xyes; then
19059   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19060 fi
19061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19062 /* end confdefs.h.  */
19063
19064 #ifdef HAVE_COMPLEX_H
19065 #include <complex.h>
19066 #endif
19067 #ifdef HAVE_MATH_H
19068 #include <math.h>
19069 #endif
19070
19071 int (*ptr)() = (int (*)())fabsl;
19072
19073 int
19074 main ()
19075 {
19076   return 0;
19077 }
19078
19079 _ACEOF
19080 if ac_fn_c_try_link "$LINENO"; then :
19081   gcc_cv_math_func_fabsl=yes
19082 else
19083   gcc_cv_math_func_fabsl=no
19084 fi
19085 rm -f core conftest.err conftest.$ac_objext \
19086     conftest$ac_exeext conftest.$ac_ext
19087 fi
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19089 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19090   if test $gcc_cv_math_func_fabsl = yes; then
19091
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_FABSL 1
19094 _ACEOF
19095
19096   fi
19097
19098
19099
19100
19101   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19102 $as_echo_n "checking for cabsf... " >&6; }
19103 if test "${gcc_cv_math_func_cabsf+set}" = set; then :
19104   $as_echo_n "(cached) " >&6
19105 else
19106   if test x$gcc_no_link = xyes; then
19107   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19108 fi
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h.  */
19111
19112 #ifdef HAVE_COMPLEX_H
19113 #include <complex.h>
19114 #endif
19115 #ifdef HAVE_MATH_H
19116 #include <math.h>
19117 #endif
19118
19119 int (*ptr)() = (int (*)())cabsf;
19120
19121 int
19122 main ()
19123 {
19124   return 0;
19125 }
19126
19127 _ACEOF
19128 if ac_fn_c_try_link "$LINENO"; then :
19129   gcc_cv_math_func_cabsf=yes
19130 else
19131   gcc_cv_math_func_cabsf=no
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext \
19134     conftest$ac_exeext conftest.$ac_ext
19135 fi
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19137 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19138   if test $gcc_cv_math_func_cabsf = yes; then
19139
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_CABSF 1
19142 _ACEOF
19143
19144   fi
19145
19146
19147
19148
19149   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19150 $as_echo_n "checking for cabs... " >&6; }
19151 if test "${gcc_cv_math_func_cabs+set}" = set; then :
19152   $as_echo_n "(cached) " >&6
19153 else
19154   if test x$gcc_no_link = xyes; then
19155   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19156 fi
19157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19158 /* end confdefs.h.  */
19159
19160 #ifdef HAVE_COMPLEX_H
19161 #include <complex.h>
19162 #endif
19163 #ifdef HAVE_MATH_H
19164 #include <math.h>
19165 #endif
19166
19167 int (*ptr)() = (int (*)())cabs;
19168
19169 int
19170 main ()
19171 {
19172   return 0;
19173 }
19174
19175 _ACEOF
19176 if ac_fn_c_try_link "$LINENO"; then :
19177   gcc_cv_math_func_cabs=yes
19178 else
19179   gcc_cv_math_func_cabs=no
19180 fi
19181 rm -f core conftest.err conftest.$ac_objext \
19182     conftest$ac_exeext conftest.$ac_ext
19183 fi
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19185 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19186   if test $gcc_cv_math_func_cabs = yes; then
19187
19188 cat >>confdefs.h <<_ACEOF
19189 #define HAVE_CABS 1
19190 _ACEOF
19191
19192   fi
19193
19194
19195
19196
19197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19198 $as_echo_n "checking for cabsl... " >&6; }
19199 if test "${gcc_cv_math_func_cabsl+set}" = set; then :
19200   $as_echo_n "(cached) " >&6
19201 else
19202   if test x$gcc_no_link = xyes; then
19203   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19204 fi
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h.  */
19207
19208 #ifdef HAVE_COMPLEX_H
19209 #include <complex.h>
19210 #endif
19211 #ifdef HAVE_MATH_H
19212 #include <math.h>
19213 #endif
19214
19215 int (*ptr)() = (int (*)())cabsl;
19216
19217 int
19218 main ()
19219 {
19220   return 0;
19221 }
19222
19223 _ACEOF
19224 if ac_fn_c_try_link "$LINENO"; then :
19225   gcc_cv_math_func_cabsl=yes
19226 else
19227   gcc_cv_math_func_cabsl=no
19228 fi
19229 rm -f core conftest.err conftest.$ac_objext \
19230     conftest$ac_exeext conftest.$ac_ext
19231 fi
19232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19233 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19234   if test $gcc_cv_math_func_cabsl = yes; then
19235
19236 cat >>confdefs.h <<_ACEOF
19237 #define HAVE_CABSL 1
19238 _ACEOF
19239
19240   fi
19241
19242
19243
19244
19245   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19246 $as_echo_n "checking for floorf... " >&6; }
19247 if test "${gcc_cv_math_func_floorf+set}" = set; then :
19248   $as_echo_n "(cached) " >&6
19249 else
19250   if test x$gcc_no_link = xyes; then
19251   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19252 fi
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h.  */
19255
19256 #ifdef HAVE_COMPLEX_H
19257 #include <complex.h>
19258 #endif
19259 #ifdef HAVE_MATH_H
19260 #include <math.h>
19261 #endif
19262
19263 int (*ptr)() = (int (*)())floorf;
19264
19265 int
19266 main ()
19267 {
19268   return 0;
19269 }
19270
19271 _ACEOF
19272 if ac_fn_c_try_link "$LINENO"; then :
19273   gcc_cv_math_func_floorf=yes
19274 else
19275   gcc_cv_math_func_floorf=no
19276 fi
19277 rm -f core conftest.err conftest.$ac_objext \
19278     conftest$ac_exeext conftest.$ac_ext
19279 fi
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19281 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19282   if test $gcc_cv_math_func_floorf = yes; then
19283
19284 cat >>confdefs.h <<_ACEOF
19285 #define HAVE_FLOORF 1
19286 _ACEOF
19287
19288   fi
19289
19290
19291
19292
19293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19294 $as_echo_n "checking for floor... " >&6; }
19295 if test "${gcc_cv_math_func_floor+set}" = set; then :
19296   $as_echo_n "(cached) " >&6
19297 else
19298   if test x$gcc_no_link = xyes; then
19299   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19300 fi
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h.  */
19303
19304 #ifdef HAVE_COMPLEX_H
19305 #include <complex.h>
19306 #endif
19307 #ifdef HAVE_MATH_H
19308 #include <math.h>
19309 #endif
19310
19311 int (*ptr)() = (int (*)())floor;
19312
19313 int
19314 main ()
19315 {
19316   return 0;
19317 }
19318
19319 _ACEOF
19320 if ac_fn_c_try_link "$LINENO"; then :
19321   gcc_cv_math_func_floor=yes
19322 else
19323   gcc_cv_math_func_floor=no
19324 fi
19325 rm -f core conftest.err conftest.$ac_objext \
19326     conftest$ac_exeext conftest.$ac_ext
19327 fi
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
19329 $as_echo "$gcc_cv_math_func_floor" >&6; }
19330   if test $gcc_cv_math_func_floor = yes; then
19331
19332 cat >>confdefs.h <<_ACEOF
19333 #define HAVE_FLOOR 1
19334 _ACEOF
19335
19336   fi
19337
19338
19339
19340
19341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
19342 $as_echo_n "checking for floorl... " >&6; }
19343 if test "${gcc_cv_math_func_floorl+set}" = set; then :
19344   $as_echo_n "(cached) " >&6
19345 else
19346   if test x$gcc_no_link = xyes; then
19347   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19348 fi
19349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19350 /* end confdefs.h.  */
19351
19352 #ifdef HAVE_COMPLEX_H
19353 #include <complex.h>
19354 #endif
19355 #ifdef HAVE_MATH_H
19356 #include <math.h>
19357 #endif
19358
19359 int (*ptr)() = (int (*)())floorl;
19360
19361 int
19362 main ()
19363 {
19364   return 0;
19365 }
19366
19367 _ACEOF
19368 if ac_fn_c_try_link "$LINENO"; then :
19369   gcc_cv_math_func_floorl=yes
19370 else
19371   gcc_cv_math_func_floorl=no
19372 fi
19373 rm -f core conftest.err conftest.$ac_objext \
19374     conftest$ac_exeext conftest.$ac_ext
19375 fi
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
19377 $as_echo "$gcc_cv_math_func_floorl" >&6; }
19378   if test $gcc_cv_math_func_floorl = yes; then
19379
19380 cat >>confdefs.h <<_ACEOF
19381 #define HAVE_FLOORL 1
19382 _ACEOF
19383
19384   fi
19385
19386
19387
19388
19389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
19390 $as_echo_n "checking for fmodf... " >&6; }
19391 if test "${gcc_cv_math_func_fmodf+set}" = set; then :
19392   $as_echo_n "(cached) " >&6
19393 else
19394   if test x$gcc_no_link = xyes; then
19395   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19396 fi
19397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19398 /* end confdefs.h.  */
19399
19400 #ifdef HAVE_COMPLEX_H
19401 #include <complex.h>
19402 #endif
19403 #ifdef HAVE_MATH_H
19404 #include <math.h>
19405 #endif
19406
19407 int (*ptr)() = (int (*)())fmodf;
19408
19409 int
19410 main ()
19411 {
19412   return 0;
19413 }
19414
19415 _ACEOF
19416 if ac_fn_c_try_link "$LINENO"; then :
19417   gcc_cv_math_func_fmodf=yes
19418 else
19419   gcc_cv_math_func_fmodf=no
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422     conftest$ac_exeext conftest.$ac_ext
19423 fi
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
19425 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
19426   if test $gcc_cv_math_func_fmodf = yes; then
19427
19428 cat >>confdefs.h <<_ACEOF
19429 #define HAVE_FMODF 1
19430 _ACEOF
19431
19432   fi
19433
19434
19435
19436
19437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
19438 $as_echo_n "checking for fmod... " >&6; }
19439 if test "${gcc_cv_math_func_fmod+set}" = set; then :
19440   $as_echo_n "(cached) " >&6
19441 else
19442   if test x$gcc_no_link = xyes; then
19443   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19444 fi
19445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19446 /* end confdefs.h.  */
19447
19448 #ifdef HAVE_COMPLEX_H
19449 #include <complex.h>
19450 #endif
19451 #ifdef HAVE_MATH_H
19452 #include <math.h>
19453 #endif
19454
19455 int (*ptr)() = (int (*)())fmod;
19456
19457 int
19458 main ()
19459 {
19460   return 0;
19461 }
19462
19463 _ACEOF
19464 if ac_fn_c_try_link "$LINENO"; then :
19465   gcc_cv_math_func_fmod=yes
19466 else
19467   gcc_cv_math_func_fmod=no
19468 fi
19469 rm -f core conftest.err conftest.$ac_objext \
19470     conftest$ac_exeext conftest.$ac_ext
19471 fi
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
19473 $as_echo "$gcc_cv_math_func_fmod" >&6; }
19474   if test $gcc_cv_math_func_fmod = yes; then
19475
19476 cat >>confdefs.h <<_ACEOF
19477 #define HAVE_FMOD 1
19478 _ACEOF
19479
19480   fi
19481
19482
19483
19484
19485   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
19486 $as_echo_n "checking for fmodl... " >&6; }
19487 if test "${gcc_cv_math_func_fmodl+set}" = set; then :
19488   $as_echo_n "(cached) " >&6
19489 else
19490   if test x$gcc_no_link = xyes; then
19491   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19492 fi
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h.  */
19495
19496 #ifdef HAVE_COMPLEX_H
19497 #include <complex.h>
19498 #endif
19499 #ifdef HAVE_MATH_H
19500 #include <math.h>
19501 #endif
19502
19503 int (*ptr)() = (int (*)())fmodl;
19504
19505 int
19506 main ()
19507 {
19508   return 0;
19509 }
19510
19511 _ACEOF
19512 if ac_fn_c_try_link "$LINENO"; then :
19513   gcc_cv_math_func_fmodl=yes
19514 else
19515   gcc_cv_math_func_fmodl=no
19516 fi
19517 rm -f core conftest.err conftest.$ac_objext \
19518     conftest$ac_exeext conftest.$ac_ext
19519 fi
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
19521 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
19522   if test $gcc_cv_math_func_fmodl = yes; then
19523
19524 cat >>confdefs.h <<_ACEOF
19525 #define HAVE_FMODL 1
19526 _ACEOF
19527
19528   fi
19529
19530
19531
19532
19533   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
19534 $as_echo_n "checking for frexpf... " >&6; }
19535 if test "${gcc_cv_math_func_frexpf+set}" = set; then :
19536   $as_echo_n "(cached) " >&6
19537 else
19538   if test x$gcc_no_link = xyes; then
19539   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19540 fi
19541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19542 /* end confdefs.h.  */
19543
19544 #ifdef HAVE_COMPLEX_H
19545 #include <complex.h>
19546 #endif
19547 #ifdef HAVE_MATH_H
19548 #include <math.h>
19549 #endif
19550
19551 int (*ptr)() = (int (*)())frexpf;
19552
19553 int
19554 main ()
19555 {
19556   return 0;
19557 }
19558
19559 _ACEOF
19560 if ac_fn_c_try_link "$LINENO"; then :
19561   gcc_cv_math_func_frexpf=yes
19562 else
19563   gcc_cv_math_func_frexpf=no
19564 fi
19565 rm -f core conftest.err conftest.$ac_objext \
19566     conftest$ac_exeext conftest.$ac_ext
19567 fi
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
19569 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
19570   if test $gcc_cv_math_func_frexpf = yes; then
19571
19572 cat >>confdefs.h <<_ACEOF
19573 #define HAVE_FREXPF 1
19574 _ACEOF
19575
19576   fi
19577
19578
19579
19580
19581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
19582 $as_echo_n "checking for frexp... " >&6; }
19583 if test "${gcc_cv_math_func_frexp+set}" = set; then :
19584   $as_echo_n "(cached) " >&6
19585 else
19586   if test x$gcc_no_link = xyes; then
19587   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19588 fi
19589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19590 /* end confdefs.h.  */
19591
19592 #ifdef HAVE_COMPLEX_H
19593 #include <complex.h>
19594 #endif
19595 #ifdef HAVE_MATH_H
19596 #include <math.h>
19597 #endif
19598
19599 int (*ptr)() = (int (*)())frexp;
19600
19601 int
19602 main ()
19603 {
19604   return 0;
19605 }
19606
19607 _ACEOF
19608 if ac_fn_c_try_link "$LINENO"; then :
19609   gcc_cv_math_func_frexp=yes
19610 else
19611   gcc_cv_math_func_frexp=no
19612 fi
19613 rm -f core conftest.err conftest.$ac_objext \
19614     conftest$ac_exeext conftest.$ac_ext
19615 fi
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
19617 $as_echo "$gcc_cv_math_func_frexp" >&6; }
19618   if test $gcc_cv_math_func_frexp = yes; then
19619
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_FREXP 1
19622 _ACEOF
19623
19624   fi
19625
19626
19627
19628
19629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
19630 $as_echo_n "checking for frexpl... " >&6; }
19631 if test "${gcc_cv_math_func_frexpl+set}" = set; then :
19632   $as_echo_n "(cached) " >&6
19633 else
19634   if test x$gcc_no_link = xyes; then
19635   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19636 fi
19637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19638 /* end confdefs.h.  */
19639
19640 #ifdef HAVE_COMPLEX_H
19641 #include <complex.h>
19642 #endif
19643 #ifdef HAVE_MATH_H
19644 #include <math.h>
19645 #endif
19646
19647 int (*ptr)() = (int (*)())frexpl;
19648
19649 int
19650 main ()
19651 {
19652   return 0;
19653 }
19654
19655 _ACEOF
19656 if ac_fn_c_try_link "$LINENO"; then :
19657   gcc_cv_math_func_frexpl=yes
19658 else
19659   gcc_cv_math_func_frexpl=no
19660 fi
19661 rm -f core conftest.err conftest.$ac_objext \
19662     conftest$ac_exeext conftest.$ac_ext
19663 fi
19664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
19665 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
19666   if test $gcc_cv_math_func_frexpl = yes; then
19667
19668 cat >>confdefs.h <<_ACEOF
19669 #define HAVE_FREXPL 1
19670 _ACEOF
19671
19672   fi
19673
19674
19675
19676
19677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
19678 $as_echo_n "checking for hypotf... " >&6; }
19679 if test "${gcc_cv_math_func_hypotf+set}" = set; then :
19680   $as_echo_n "(cached) " >&6
19681 else
19682   if test x$gcc_no_link = xyes; then
19683   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19684 fi
19685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h.  */
19687
19688 #ifdef HAVE_COMPLEX_H
19689 #include <complex.h>
19690 #endif
19691 #ifdef HAVE_MATH_H
19692 #include <math.h>
19693 #endif
19694
19695 int (*ptr)() = (int (*)())hypotf;
19696
19697 int
19698 main ()
19699 {
19700   return 0;
19701 }
19702
19703 _ACEOF
19704 if ac_fn_c_try_link "$LINENO"; then :
19705   gcc_cv_math_func_hypotf=yes
19706 else
19707   gcc_cv_math_func_hypotf=no
19708 fi
19709 rm -f core conftest.err conftest.$ac_objext \
19710     conftest$ac_exeext conftest.$ac_ext
19711 fi
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
19713 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
19714   if test $gcc_cv_math_func_hypotf = yes; then
19715
19716 cat >>confdefs.h <<_ACEOF
19717 #define HAVE_HYPOTF 1
19718 _ACEOF
19719
19720   fi
19721
19722
19723
19724
19725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
19726 $as_echo_n "checking for hypot... " >&6; }
19727 if test "${gcc_cv_math_func_hypot+set}" = set; then :
19728   $as_echo_n "(cached) " >&6
19729 else
19730   if test x$gcc_no_link = xyes; then
19731   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19732 fi
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h.  */
19735
19736 #ifdef HAVE_COMPLEX_H
19737 #include <complex.h>
19738 #endif
19739 #ifdef HAVE_MATH_H
19740 #include <math.h>
19741 #endif
19742
19743 int (*ptr)() = (int (*)())hypot;
19744
19745 int
19746 main ()
19747 {
19748   return 0;
19749 }
19750
19751 _ACEOF
19752 if ac_fn_c_try_link "$LINENO"; then :
19753   gcc_cv_math_func_hypot=yes
19754 else
19755   gcc_cv_math_func_hypot=no
19756 fi
19757 rm -f core conftest.err conftest.$ac_objext \
19758     conftest$ac_exeext conftest.$ac_ext
19759 fi
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
19761 $as_echo "$gcc_cv_math_func_hypot" >&6; }
19762   if test $gcc_cv_math_func_hypot = yes; then
19763
19764 cat >>confdefs.h <<_ACEOF
19765 #define HAVE_HYPOT 1
19766 _ACEOF
19767
19768   fi
19769
19770
19771
19772
19773   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
19774 $as_echo_n "checking for hypotl... " >&6; }
19775 if test "${gcc_cv_math_func_hypotl+set}" = set; then :
19776   $as_echo_n "(cached) " >&6
19777 else
19778   if test x$gcc_no_link = xyes; then
19779   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19780 fi
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h.  */
19783
19784 #ifdef HAVE_COMPLEX_H
19785 #include <complex.h>
19786 #endif
19787 #ifdef HAVE_MATH_H
19788 #include <math.h>
19789 #endif
19790
19791 int (*ptr)() = (int (*)())hypotl;
19792
19793 int
19794 main ()
19795 {
19796   return 0;
19797 }
19798
19799 _ACEOF
19800 if ac_fn_c_try_link "$LINENO"; then :
19801   gcc_cv_math_func_hypotl=yes
19802 else
19803   gcc_cv_math_func_hypotl=no
19804 fi
19805 rm -f core conftest.err conftest.$ac_objext \
19806     conftest$ac_exeext conftest.$ac_ext
19807 fi
19808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
19809 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
19810   if test $gcc_cv_math_func_hypotl = yes; then
19811
19812 cat >>confdefs.h <<_ACEOF
19813 #define HAVE_HYPOTL 1
19814 _ACEOF
19815
19816   fi
19817
19818
19819
19820
19821   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
19822 $as_echo_n "checking for ldexpf... " >&6; }
19823 if test "${gcc_cv_math_func_ldexpf+set}" = set; then :
19824   $as_echo_n "(cached) " >&6
19825 else
19826   if test x$gcc_no_link = xyes; then
19827   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19828 fi
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h.  */
19831
19832 #ifdef HAVE_COMPLEX_H
19833 #include <complex.h>
19834 #endif
19835 #ifdef HAVE_MATH_H
19836 #include <math.h>
19837 #endif
19838
19839 int (*ptr)() = (int (*)())ldexpf;
19840
19841 int
19842 main ()
19843 {
19844   return 0;
19845 }
19846
19847 _ACEOF
19848 if ac_fn_c_try_link "$LINENO"; then :
19849   gcc_cv_math_func_ldexpf=yes
19850 else
19851   gcc_cv_math_func_ldexpf=no
19852 fi
19853 rm -f core conftest.err conftest.$ac_objext \
19854     conftest$ac_exeext conftest.$ac_ext
19855 fi
19856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
19857 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
19858   if test $gcc_cv_math_func_ldexpf = yes; then
19859
19860 cat >>confdefs.h <<_ACEOF
19861 #define HAVE_LDEXPF 1
19862 _ACEOF
19863
19864   fi
19865
19866
19867
19868
19869   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
19870 $as_echo_n "checking for ldexp... " >&6; }
19871 if test "${gcc_cv_math_func_ldexp+set}" = set; then :
19872   $as_echo_n "(cached) " >&6
19873 else
19874   if test x$gcc_no_link = xyes; then
19875   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19876 fi
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h.  */
19879
19880 #ifdef HAVE_COMPLEX_H
19881 #include <complex.h>
19882 #endif
19883 #ifdef HAVE_MATH_H
19884 #include <math.h>
19885 #endif
19886
19887 int (*ptr)() = (int (*)())ldexp;
19888
19889 int
19890 main ()
19891 {
19892   return 0;
19893 }
19894
19895 _ACEOF
19896 if ac_fn_c_try_link "$LINENO"; then :
19897   gcc_cv_math_func_ldexp=yes
19898 else
19899   gcc_cv_math_func_ldexp=no
19900 fi
19901 rm -f core conftest.err conftest.$ac_objext \
19902     conftest$ac_exeext conftest.$ac_ext
19903 fi
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
19905 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
19906   if test $gcc_cv_math_func_ldexp = yes; then
19907
19908 cat >>confdefs.h <<_ACEOF
19909 #define HAVE_LDEXP 1
19910 _ACEOF
19911
19912   fi
19913
19914
19915
19916
19917   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
19918 $as_echo_n "checking for ldexpl... " >&6; }
19919 if test "${gcc_cv_math_func_ldexpl+set}" = set; then :
19920   $as_echo_n "(cached) " >&6
19921 else
19922   if test x$gcc_no_link = xyes; then
19923   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19924 fi
19925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19926 /* end confdefs.h.  */
19927
19928 #ifdef HAVE_COMPLEX_H
19929 #include <complex.h>
19930 #endif
19931 #ifdef HAVE_MATH_H
19932 #include <math.h>
19933 #endif
19934
19935 int (*ptr)() = (int (*)())ldexpl;
19936
19937 int
19938 main ()
19939 {
19940   return 0;
19941 }
19942
19943 _ACEOF
19944 if ac_fn_c_try_link "$LINENO"; then :
19945   gcc_cv_math_func_ldexpl=yes
19946 else
19947   gcc_cv_math_func_ldexpl=no
19948 fi
19949 rm -f core conftest.err conftest.$ac_objext \
19950     conftest$ac_exeext conftest.$ac_ext
19951 fi
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
19953 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
19954   if test $gcc_cv_math_func_ldexpl = yes; then
19955
19956 cat >>confdefs.h <<_ACEOF
19957 #define HAVE_LDEXPL 1
19958 _ACEOF
19959
19960   fi
19961
19962
19963
19964
19965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
19966 $as_echo_n "checking for logf... " >&6; }
19967 if test "${gcc_cv_math_func_logf+set}" = set; then :
19968   $as_echo_n "(cached) " >&6
19969 else
19970   if test x$gcc_no_link = xyes; then
19971   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19972 fi
19973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19974 /* end confdefs.h.  */
19975
19976 #ifdef HAVE_COMPLEX_H
19977 #include <complex.h>
19978 #endif
19979 #ifdef HAVE_MATH_H
19980 #include <math.h>
19981 #endif
19982
19983 int (*ptr)() = (int (*)())logf;
19984
19985 int
19986 main ()
19987 {
19988   return 0;
19989 }
19990
19991 _ACEOF
19992 if ac_fn_c_try_link "$LINENO"; then :
19993   gcc_cv_math_func_logf=yes
19994 else
19995   gcc_cv_math_func_logf=no
19996 fi
19997 rm -f core conftest.err conftest.$ac_objext \
19998     conftest$ac_exeext conftest.$ac_ext
19999 fi
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20001 $as_echo "$gcc_cv_math_func_logf" >&6; }
20002   if test $gcc_cv_math_func_logf = yes; then
20003
20004 cat >>confdefs.h <<_ACEOF
20005 #define HAVE_LOGF 1
20006 _ACEOF
20007
20008   fi
20009
20010
20011
20012
20013   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20014 $as_echo_n "checking for log... " >&6; }
20015 if test "${gcc_cv_math_func_log+set}" = set; then :
20016   $as_echo_n "(cached) " >&6
20017 else
20018   if test x$gcc_no_link = xyes; then
20019   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20020 fi
20021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20022 /* end confdefs.h.  */
20023
20024 #ifdef HAVE_COMPLEX_H
20025 #include <complex.h>
20026 #endif
20027 #ifdef HAVE_MATH_H
20028 #include <math.h>
20029 #endif
20030
20031 int (*ptr)() = (int (*)())log;
20032
20033 int
20034 main ()
20035 {
20036   return 0;
20037 }
20038
20039 _ACEOF
20040 if ac_fn_c_try_link "$LINENO"; then :
20041   gcc_cv_math_func_log=yes
20042 else
20043   gcc_cv_math_func_log=no
20044 fi
20045 rm -f core conftest.err conftest.$ac_objext \
20046     conftest$ac_exeext conftest.$ac_ext
20047 fi
20048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20049 $as_echo "$gcc_cv_math_func_log" >&6; }
20050   if test $gcc_cv_math_func_log = yes; then
20051
20052 cat >>confdefs.h <<_ACEOF
20053 #define HAVE_LOG 1
20054 _ACEOF
20055
20056   fi
20057
20058
20059
20060
20061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20062 $as_echo_n "checking for logl... " >&6; }
20063 if test "${gcc_cv_math_func_logl+set}" = set; then :
20064   $as_echo_n "(cached) " >&6
20065 else
20066   if test x$gcc_no_link = xyes; then
20067   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20068 fi
20069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20070 /* end confdefs.h.  */
20071
20072 #ifdef HAVE_COMPLEX_H
20073 #include <complex.h>
20074 #endif
20075 #ifdef HAVE_MATH_H
20076 #include <math.h>
20077 #endif
20078
20079 int (*ptr)() = (int (*)())logl;
20080
20081 int
20082 main ()
20083 {
20084   return 0;
20085 }
20086
20087 _ACEOF
20088 if ac_fn_c_try_link "$LINENO"; then :
20089   gcc_cv_math_func_logl=yes
20090 else
20091   gcc_cv_math_func_logl=no
20092 fi
20093 rm -f core conftest.err conftest.$ac_objext \
20094     conftest$ac_exeext conftest.$ac_ext
20095 fi
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20097 $as_echo "$gcc_cv_math_func_logl" >&6; }
20098   if test $gcc_cv_math_func_logl = yes; then
20099
20100 cat >>confdefs.h <<_ACEOF
20101 #define HAVE_LOGL 1
20102 _ACEOF
20103
20104   fi
20105
20106
20107
20108
20109   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20110 $as_echo_n "checking for clogf... " >&6; }
20111 if test "${gcc_cv_math_func_clogf+set}" = set; then :
20112   $as_echo_n "(cached) " >&6
20113 else
20114   if test x$gcc_no_link = xyes; then
20115   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20116 fi
20117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20118 /* end confdefs.h.  */
20119
20120 #ifdef HAVE_COMPLEX_H
20121 #include <complex.h>
20122 #endif
20123 #ifdef HAVE_MATH_H
20124 #include <math.h>
20125 #endif
20126
20127 int (*ptr)() = (int (*)())clogf;
20128
20129 int
20130 main ()
20131 {
20132   return 0;
20133 }
20134
20135 _ACEOF
20136 if ac_fn_c_try_link "$LINENO"; then :
20137   gcc_cv_math_func_clogf=yes
20138 else
20139   gcc_cv_math_func_clogf=no
20140 fi
20141 rm -f core conftest.err conftest.$ac_objext \
20142     conftest$ac_exeext conftest.$ac_ext
20143 fi
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20145 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20146   if test $gcc_cv_math_func_clogf = yes; then
20147
20148 cat >>confdefs.h <<_ACEOF
20149 #define HAVE_CLOGF 1
20150 _ACEOF
20151
20152   fi
20153
20154
20155
20156
20157   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20158 $as_echo_n "checking for clog... " >&6; }
20159 if test "${gcc_cv_math_func_clog+set}" = set; then :
20160   $as_echo_n "(cached) " >&6
20161 else
20162   if test x$gcc_no_link = xyes; then
20163   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20164 fi
20165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20166 /* end confdefs.h.  */
20167
20168 #ifdef HAVE_COMPLEX_H
20169 #include <complex.h>
20170 #endif
20171 #ifdef HAVE_MATH_H
20172 #include <math.h>
20173 #endif
20174
20175 int (*ptr)() = (int (*)())clog;
20176
20177 int
20178 main ()
20179 {
20180   return 0;
20181 }
20182
20183 _ACEOF
20184 if ac_fn_c_try_link "$LINENO"; then :
20185   gcc_cv_math_func_clog=yes
20186 else
20187   gcc_cv_math_func_clog=no
20188 fi
20189 rm -f core conftest.err conftest.$ac_objext \
20190     conftest$ac_exeext conftest.$ac_ext
20191 fi
20192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
20193 $as_echo "$gcc_cv_math_func_clog" >&6; }
20194   if test $gcc_cv_math_func_clog = yes; then
20195
20196 cat >>confdefs.h <<_ACEOF
20197 #define HAVE_CLOG 1
20198 _ACEOF
20199
20200   fi
20201
20202
20203
20204
20205   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
20206 $as_echo_n "checking for clogl... " >&6; }
20207 if test "${gcc_cv_math_func_clogl+set}" = set; then :
20208   $as_echo_n "(cached) " >&6
20209 else
20210   if test x$gcc_no_link = xyes; then
20211   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20212 fi
20213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20214 /* end confdefs.h.  */
20215
20216 #ifdef HAVE_COMPLEX_H
20217 #include <complex.h>
20218 #endif
20219 #ifdef HAVE_MATH_H
20220 #include <math.h>
20221 #endif
20222
20223 int (*ptr)() = (int (*)())clogl;
20224
20225 int
20226 main ()
20227 {
20228   return 0;
20229 }
20230
20231 _ACEOF
20232 if ac_fn_c_try_link "$LINENO"; then :
20233   gcc_cv_math_func_clogl=yes
20234 else
20235   gcc_cv_math_func_clogl=no
20236 fi
20237 rm -f core conftest.err conftest.$ac_objext \
20238     conftest$ac_exeext conftest.$ac_ext
20239 fi
20240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
20241 $as_echo "$gcc_cv_math_func_clogl" >&6; }
20242   if test $gcc_cv_math_func_clogl = yes; then
20243
20244 cat >>confdefs.h <<_ACEOF
20245 #define HAVE_CLOGL 1
20246 _ACEOF
20247
20248   fi
20249
20250
20251
20252
20253   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
20254 $as_echo_n "checking for log10f... " >&6; }
20255 if test "${gcc_cv_math_func_log10f+set}" = set; then :
20256   $as_echo_n "(cached) " >&6
20257 else
20258   if test x$gcc_no_link = xyes; then
20259   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20260 fi
20261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20262 /* end confdefs.h.  */
20263
20264 #ifdef HAVE_COMPLEX_H
20265 #include <complex.h>
20266 #endif
20267 #ifdef HAVE_MATH_H
20268 #include <math.h>
20269 #endif
20270
20271 int (*ptr)() = (int (*)())log10f;
20272
20273 int
20274 main ()
20275 {
20276   return 0;
20277 }
20278
20279 _ACEOF
20280 if ac_fn_c_try_link "$LINENO"; then :
20281   gcc_cv_math_func_log10f=yes
20282 else
20283   gcc_cv_math_func_log10f=no
20284 fi
20285 rm -f core conftest.err conftest.$ac_objext \
20286     conftest$ac_exeext conftest.$ac_ext
20287 fi
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
20289 $as_echo "$gcc_cv_math_func_log10f" >&6; }
20290   if test $gcc_cv_math_func_log10f = yes; then
20291
20292 cat >>confdefs.h <<_ACEOF
20293 #define HAVE_LOG10F 1
20294 _ACEOF
20295
20296   fi
20297
20298
20299
20300
20301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
20302 $as_echo_n "checking for log10... " >&6; }
20303 if test "${gcc_cv_math_func_log10+set}" = set; then :
20304   $as_echo_n "(cached) " >&6
20305 else
20306   if test x$gcc_no_link = xyes; then
20307   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20308 fi
20309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20310 /* end confdefs.h.  */
20311
20312 #ifdef HAVE_COMPLEX_H
20313 #include <complex.h>
20314 #endif
20315 #ifdef HAVE_MATH_H
20316 #include <math.h>
20317 #endif
20318
20319 int (*ptr)() = (int (*)())log10;
20320
20321 int
20322 main ()
20323 {
20324   return 0;
20325 }
20326
20327 _ACEOF
20328 if ac_fn_c_try_link "$LINENO"; then :
20329   gcc_cv_math_func_log10=yes
20330 else
20331   gcc_cv_math_func_log10=no
20332 fi
20333 rm -f core conftest.err conftest.$ac_objext \
20334     conftest$ac_exeext conftest.$ac_ext
20335 fi
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
20337 $as_echo "$gcc_cv_math_func_log10" >&6; }
20338   if test $gcc_cv_math_func_log10 = yes; then
20339
20340 cat >>confdefs.h <<_ACEOF
20341 #define HAVE_LOG10 1
20342 _ACEOF
20343
20344   fi
20345
20346
20347
20348
20349   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
20350 $as_echo_n "checking for log10l... " >&6; }
20351 if test "${gcc_cv_math_func_log10l+set}" = set; then :
20352   $as_echo_n "(cached) " >&6
20353 else
20354   if test x$gcc_no_link = xyes; then
20355   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20356 fi
20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h.  */
20359
20360 #ifdef HAVE_COMPLEX_H
20361 #include <complex.h>
20362 #endif
20363 #ifdef HAVE_MATH_H
20364 #include <math.h>
20365 #endif
20366
20367 int (*ptr)() = (int (*)())log10l;
20368
20369 int
20370 main ()
20371 {
20372   return 0;
20373 }
20374
20375 _ACEOF
20376 if ac_fn_c_try_link "$LINENO"; then :
20377   gcc_cv_math_func_log10l=yes
20378 else
20379   gcc_cv_math_func_log10l=no
20380 fi
20381 rm -f core conftest.err conftest.$ac_objext \
20382     conftest$ac_exeext conftest.$ac_ext
20383 fi
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
20385 $as_echo "$gcc_cv_math_func_log10l" >&6; }
20386   if test $gcc_cv_math_func_log10l = yes; then
20387
20388 cat >>confdefs.h <<_ACEOF
20389 #define HAVE_LOG10L 1
20390 _ACEOF
20391
20392   fi
20393
20394
20395
20396
20397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
20398 $as_echo_n "checking for clog10f... " >&6; }
20399 if test "${gcc_cv_math_func_clog10f+set}" = set; then :
20400   $as_echo_n "(cached) " >&6
20401 else
20402   if test x$gcc_no_link = xyes; then
20403   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20404 fi
20405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20406 /* end confdefs.h.  */
20407
20408 #ifdef HAVE_COMPLEX_H
20409 #include <complex.h>
20410 #endif
20411 #ifdef HAVE_MATH_H
20412 #include <math.h>
20413 #endif
20414
20415 int (*ptr)() = (int (*)())clog10f;
20416
20417 int
20418 main ()
20419 {
20420   return 0;
20421 }
20422
20423 _ACEOF
20424 if ac_fn_c_try_link "$LINENO"; then :
20425   gcc_cv_math_func_clog10f=yes
20426 else
20427   gcc_cv_math_func_clog10f=no
20428 fi
20429 rm -f core conftest.err conftest.$ac_objext \
20430     conftest$ac_exeext conftest.$ac_ext
20431 fi
20432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
20433 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
20434   if test $gcc_cv_math_func_clog10f = yes; then
20435
20436 cat >>confdefs.h <<_ACEOF
20437 #define HAVE_CLOG10F 1
20438 _ACEOF
20439
20440   fi
20441
20442
20443
20444
20445   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
20446 $as_echo_n "checking for clog10... " >&6; }
20447 if test "${gcc_cv_math_func_clog10+set}" = set; then :
20448   $as_echo_n "(cached) " >&6
20449 else
20450   if test x$gcc_no_link = xyes; then
20451   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20452 fi
20453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20454 /* end confdefs.h.  */
20455
20456 #ifdef HAVE_COMPLEX_H
20457 #include <complex.h>
20458 #endif
20459 #ifdef HAVE_MATH_H
20460 #include <math.h>
20461 #endif
20462
20463 int (*ptr)() = (int (*)())clog10;
20464
20465 int
20466 main ()
20467 {
20468   return 0;
20469 }
20470
20471 _ACEOF
20472 if ac_fn_c_try_link "$LINENO"; then :
20473   gcc_cv_math_func_clog10=yes
20474 else
20475   gcc_cv_math_func_clog10=no
20476 fi
20477 rm -f core conftest.err conftest.$ac_objext \
20478     conftest$ac_exeext conftest.$ac_ext
20479 fi
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
20481 $as_echo "$gcc_cv_math_func_clog10" >&6; }
20482   if test $gcc_cv_math_func_clog10 = yes; then
20483
20484 cat >>confdefs.h <<_ACEOF
20485 #define HAVE_CLOG10 1
20486 _ACEOF
20487
20488   fi
20489
20490
20491
20492
20493   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
20494 $as_echo_n "checking for clog10l... " >&6; }
20495 if test "${gcc_cv_math_func_clog10l+set}" = set; then :
20496   $as_echo_n "(cached) " >&6
20497 else
20498   if test x$gcc_no_link = xyes; then
20499   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20500 fi
20501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20502 /* end confdefs.h.  */
20503
20504 #ifdef HAVE_COMPLEX_H
20505 #include <complex.h>
20506 #endif
20507 #ifdef HAVE_MATH_H
20508 #include <math.h>
20509 #endif
20510
20511 int (*ptr)() = (int (*)())clog10l;
20512
20513 int
20514 main ()
20515 {
20516   return 0;
20517 }
20518
20519 _ACEOF
20520 if ac_fn_c_try_link "$LINENO"; then :
20521   gcc_cv_math_func_clog10l=yes
20522 else
20523   gcc_cv_math_func_clog10l=no
20524 fi
20525 rm -f core conftest.err conftest.$ac_objext \
20526     conftest$ac_exeext conftest.$ac_ext
20527 fi
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
20529 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
20530   if test $gcc_cv_math_func_clog10l = yes; then
20531
20532 cat >>confdefs.h <<_ACEOF
20533 #define HAVE_CLOG10L 1
20534 _ACEOF
20535
20536   fi
20537
20538
20539
20540
20541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
20542 $as_echo_n "checking for nextafterf... " >&6; }
20543 if test "${gcc_cv_math_func_nextafterf+set}" = set; then :
20544   $as_echo_n "(cached) " >&6
20545 else
20546   if test x$gcc_no_link = xyes; then
20547   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20548 fi
20549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20550 /* end confdefs.h.  */
20551
20552 #ifdef HAVE_COMPLEX_H
20553 #include <complex.h>
20554 #endif
20555 #ifdef HAVE_MATH_H
20556 #include <math.h>
20557 #endif
20558
20559 int (*ptr)() = (int (*)())nextafterf;
20560
20561 int
20562 main ()
20563 {
20564   return 0;
20565 }
20566
20567 _ACEOF
20568 if ac_fn_c_try_link "$LINENO"; then :
20569   gcc_cv_math_func_nextafterf=yes
20570 else
20571   gcc_cv_math_func_nextafterf=no
20572 fi
20573 rm -f core conftest.err conftest.$ac_objext \
20574     conftest$ac_exeext conftest.$ac_ext
20575 fi
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
20577 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
20578   if test $gcc_cv_math_func_nextafterf = yes; then
20579
20580 cat >>confdefs.h <<_ACEOF
20581 #define HAVE_NEXTAFTERF 1
20582 _ACEOF
20583
20584   fi
20585
20586
20587
20588
20589   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
20590 $as_echo_n "checking for nextafter... " >&6; }
20591 if test "${gcc_cv_math_func_nextafter+set}" = set; then :
20592   $as_echo_n "(cached) " >&6
20593 else
20594   if test x$gcc_no_link = xyes; then
20595   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20596 fi
20597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20598 /* end confdefs.h.  */
20599
20600 #ifdef HAVE_COMPLEX_H
20601 #include <complex.h>
20602 #endif
20603 #ifdef HAVE_MATH_H
20604 #include <math.h>
20605 #endif
20606
20607 int (*ptr)() = (int (*)())nextafter;
20608
20609 int
20610 main ()
20611 {
20612   return 0;
20613 }
20614
20615 _ACEOF
20616 if ac_fn_c_try_link "$LINENO"; then :
20617   gcc_cv_math_func_nextafter=yes
20618 else
20619   gcc_cv_math_func_nextafter=no
20620 fi
20621 rm -f core conftest.err conftest.$ac_objext \
20622     conftest$ac_exeext conftest.$ac_ext
20623 fi
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
20625 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
20626   if test $gcc_cv_math_func_nextafter = yes; then
20627
20628 cat >>confdefs.h <<_ACEOF
20629 #define HAVE_NEXTAFTER 1
20630 _ACEOF
20631
20632   fi
20633
20634
20635
20636
20637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
20638 $as_echo_n "checking for nextafterl... " >&6; }
20639 if test "${gcc_cv_math_func_nextafterl+set}" = set; then :
20640   $as_echo_n "(cached) " >&6
20641 else
20642   if test x$gcc_no_link = xyes; then
20643   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20644 fi
20645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20646 /* end confdefs.h.  */
20647
20648 #ifdef HAVE_COMPLEX_H
20649 #include <complex.h>
20650 #endif
20651 #ifdef HAVE_MATH_H
20652 #include <math.h>
20653 #endif
20654
20655 int (*ptr)() = (int (*)())nextafterl;
20656
20657 int
20658 main ()
20659 {
20660   return 0;
20661 }
20662
20663 _ACEOF
20664 if ac_fn_c_try_link "$LINENO"; then :
20665   gcc_cv_math_func_nextafterl=yes
20666 else
20667   gcc_cv_math_func_nextafterl=no
20668 fi
20669 rm -f core conftest.err conftest.$ac_objext \
20670     conftest$ac_exeext conftest.$ac_ext
20671 fi
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
20673 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
20674   if test $gcc_cv_math_func_nextafterl = yes; then
20675
20676 cat >>confdefs.h <<_ACEOF
20677 #define HAVE_NEXTAFTERL 1
20678 _ACEOF
20679
20680   fi
20681
20682
20683
20684
20685   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
20686 $as_echo_n "checking for powf... " >&6; }
20687 if test "${gcc_cv_math_func_powf+set}" = set; then :
20688   $as_echo_n "(cached) " >&6
20689 else
20690   if test x$gcc_no_link = xyes; then
20691   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20692 fi
20693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20694 /* end confdefs.h.  */
20695
20696 #ifdef HAVE_COMPLEX_H
20697 #include <complex.h>
20698 #endif
20699 #ifdef HAVE_MATH_H
20700 #include <math.h>
20701 #endif
20702
20703 int (*ptr)() = (int (*)())powf;
20704
20705 int
20706 main ()
20707 {
20708   return 0;
20709 }
20710
20711 _ACEOF
20712 if ac_fn_c_try_link "$LINENO"; then :
20713   gcc_cv_math_func_powf=yes
20714 else
20715   gcc_cv_math_func_powf=no
20716 fi
20717 rm -f core conftest.err conftest.$ac_objext \
20718     conftest$ac_exeext conftest.$ac_ext
20719 fi
20720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
20721 $as_echo "$gcc_cv_math_func_powf" >&6; }
20722   if test $gcc_cv_math_func_powf = yes; then
20723
20724 cat >>confdefs.h <<_ACEOF
20725 #define HAVE_POWF 1
20726 _ACEOF
20727
20728   fi
20729
20730
20731
20732
20733   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
20734 $as_echo_n "checking for pow... " >&6; }
20735 if test "${gcc_cv_math_func_pow+set}" = set; then :
20736   $as_echo_n "(cached) " >&6
20737 else
20738   if test x$gcc_no_link = xyes; then
20739   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20740 fi
20741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20742 /* end confdefs.h.  */
20743
20744 #ifdef HAVE_COMPLEX_H
20745 #include <complex.h>
20746 #endif
20747 #ifdef HAVE_MATH_H
20748 #include <math.h>
20749 #endif
20750
20751 int (*ptr)() = (int (*)())pow;
20752
20753 int
20754 main ()
20755 {
20756   return 0;
20757 }
20758
20759 _ACEOF
20760 if ac_fn_c_try_link "$LINENO"; then :
20761   gcc_cv_math_func_pow=yes
20762 else
20763   gcc_cv_math_func_pow=no
20764 fi
20765 rm -f core conftest.err conftest.$ac_objext \
20766     conftest$ac_exeext conftest.$ac_ext
20767 fi
20768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
20769 $as_echo "$gcc_cv_math_func_pow" >&6; }
20770   if test $gcc_cv_math_func_pow = yes; then
20771
20772 cat >>confdefs.h <<_ACEOF
20773 #define HAVE_POW 1
20774 _ACEOF
20775
20776   fi
20777
20778
20779
20780
20781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl" >&5
20782 $as_echo_n "checking for powl... " >&6; }
20783 if test "${gcc_cv_math_func_powl+set}" = set; then :
20784   $as_echo_n "(cached) " >&6
20785 else
20786   if test x$gcc_no_link = xyes; then
20787   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20788 fi
20789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h.  */
20791
20792 #ifdef HAVE_COMPLEX_H
20793 #include <complex.h>
20794 #endif
20795 #ifdef HAVE_MATH_H
20796 #include <math.h>
20797 #endif
20798
20799 int (*ptr)() = (int (*)())powl;
20800
20801 int
20802 main ()
20803 {
20804   return 0;
20805 }
20806
20807 _ACEOF
20808 if ac_fn_c_try_link "$LINENO"; then :
20809   gcc_cv_math_func_powl=yes
20810 else
20811   gcc_cv_math_func_powl=no
20812 fi
20813 rm -f core conftest.err conftest.$ac_objext \
20814     conftest$ac_exeext conftest.$ac_ext
20815 fi
20816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powl" >&5
20817 $as_echo "$gcc_cv_math_func_powl" >&6; }
20818   if test $gcc_cv_math_func_powl = yes; then
20819
20820 cat >>confdefs.h <<_ACEOF
20821 #define HAVE_POWL 1
20822 _ACEOF
20823
20824   fi
20825
20826
20827
20828
20829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
20830 $as_echo_n "checking for cpowf... " >&6; }
20831 if test "${gcc_cv_math_func_cpowf+set}" = set; then :
20832   $as_echo_n "(cached) " >&6
20833 else
20834   if test x$gcc_no_link = xyes; then
20835   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20836 fi
20837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20838 /* end confdefs.h.  */
20839
20840 #ifdef HAVE_COMPLEX_H
20841 #include <complex.h>
20842 #endif
20843 #ifdef HAVE_MATH_H
20844 #include <math.h>
20845 #endif
20846
20847 int (*ptr)() = (int (*)())cpowf;
20848
20849 int
20850 main ()
20851 {
20852   return 0;
20853 }
20854
20855 _ACEOF
20856 if ac_fn_c_try_link "$LINENO"; then :
20857   gcc_cv_math_func_cpowf=yes
20858 else
20859   gcc_cv_math_func_cpowf=no
20860 fi
20861 rm -f core conftest.err conftest.$ac_objext \
20862     conftest$ac_exeext conftest.$ac_ext
20863 fi
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
20865 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
20866   if test $gcc_cv_math_func_cpowf = yes; then
20867
20868 cat >>confdefs.h <<_ACEOF
20869 #define HAVE_CPOWF 1
20870 _ACEOF
20871
20872   fi
20873
20874
20875
20876
20877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
20878 $as_echo_n "checking for cpow... " >&6; }
20879 if test "${gcc_cv_math_func_cpow+set}" = set; then :
20880   $as_echo_n "(cached) " >&6
20881 else
20882   if test x$gcc_no_link = xyes; then
20883   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20884 fi
20885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20886 /* end confdefs.h.  */
20887
20888 #ifdef HAVE_COMPLEX_H
20889 #include <complex.h>
20890 #endif
20891 #ifdef HAVE_MATH_H
20892 #include <math.h>
20893 #endif
20894
20895 int (*ptr)() = (int (*)())cpow;
20896
20897 int
20898 main ()
20899 {
20900   return 0;
20901 }
20902
20903 _ACEOF
20904 if ac_fn_c_try_link "$LINENO"; then :
20905   gcc_cv_math_func_cpow=yes
20906 else
20907   gcc_cv_math_func_cpow=no
20908 fi
20909 rm -f core conftest.err conftest.$ac_objext \
20910     conftest$ac_exeext conftest.$ac_ext
20911 fi
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
20913 $as_echo "$gcc_cv_math_func_cpow" >&6; }
20914   if test $gcc_cv_math_func_cpow = yes; then
20915
20916 cat >>confdefs.h <<_ACEOF
20917 #define HAVE_CPOW 1
20918 _ACEOF
20919
20920   fi
20921
20922
20923
20924
20925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
20926 $as_echo_n "checking for cpowl... " >&6; }
20927 if test "${gcc_cv_math_func_cpowl+set}" = set; then :
20928   $as_echo_n "(cached) " >&6
20929 else
20930   if test x$gcc_no_link = xyes; then
20931   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20932 fi
20933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20934 /* end confdefs.h.  */
20935
20936 #ifdef HAVE_COMPLEX_H
20937 #include <complex.h>
20938 #endif
20939 #ifdef HAVE_MATH_H
20940 #include <math.h>
20941 #endif
20942
20943 int (*ptr)() = (int (*)())cpowl;
20944
20945 int
20946 main ()
20947 {
20948   return 0;
20949 }
20950
20951 _ACEOF
20952 if ac_fn_c_try_link "$LINENO"; then :
20953   gcc_cv_math_func_cpowl=yes
20954 else
20955   gcc_cv_math_func_cpowl=no
20956 fi
20957 rm -f core conftest.err conftest.$ac_objext \
20958     conftest$ac_exeext conftest.$ac_ext
20959 fi
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
20961 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
20962   if test $gcc_cv_math_func_cpowl = yes; then
20963
20964 cat >>confdefs.h <<_ACEOF
20965 #define HAVE_CPOWL 1
20966 _ACEOF
20967
20968   fi
20969
20970
20971
20972
20973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
20974 $as_echo_n "checking for roundf... " >&6; }
20975 if test "${gcc_cv_math_func_roundf+set}" = set; then :
20976   $as_echo_n "(cached) " >&6
20977 else
20978   if test x$gcc_no_link = xyes; then
20979   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20980 fi
20981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h.  */
20983
20984 #ifdef HAVE_COMPLEX_H
20985 #include <complex.h>
20986 #endif
20987 #ifdef HAVE_MATH_H
20988 #include <math.h>
20989 #endif
20990
20991 int (*ptr)() = (int (*)())roundf;
20992
20993 int
20994 main ()
20995 {
20996   return 0;
20997 }
20998
20999 _ACEOF
21000 if ac_fn_c_try_link "$LINENO"; then :
21001   gcc_cv_math_func_roundf=yes
21002 else
21003   gcc_cv_math_func_roundf=no
21004 fi
21005 rm -f core conftest.err conftest.$ac_objext \
21006     conftest$ac_exeext conftest.$ac_ext
21007 fi
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21009 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21010   if test $gcc_cv_math_func_roundf = yes; then
21011
21012 cat >>confdefs.h <<_ACEOF
21013 #define HAVE_ROUNDF 1
21014 _ACEOF
21015
21016   fi
21017
21018
21019
21020
21021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21022 $as_echo_n "checking for round... " >&6; }
21023 if test "${gcc_cv_math_func_round+set}" = set; then :
21024   $as_echo_n "(cached) " >&6
21025 else
21026   if test x$gcc_no_link = xyes; then
21027   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21028 fi
21029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21030 /* end confdefs.h.  */
21031
21032 #ifdef HAVE_COMPLEX_H
21033 #include <complex.h>
21034 #endif
21035 #ifdef HAVE_MATH_H
21036 #include <math.h>
21037 #endif
21038
21039 int (*ptr)() = (int (*)())round;
21040
21041 int
21042 main ()
21043 {
21044   return 0;
21045 }
21046
21047 _ACEOF
21048 if ac_fn_c_try_link "$LINENO"; then :
21049   gcc_cv_math_func_round=yes
21050 else
21051   gcc_cv_math_func_round=no
21052 fi
21053 rm -f core conftest.err conftest.$ac_objext \
21054     conftest$ac_exeext conftest.$ac_ext
21055 fi
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21057 $as_echo "$gcc_cv_math_func_round" >&6; }
21058   if test $gcc_cv_math_func_round = yes; then
21059
21060 cat >>confdefs.h <<_ACEOF
21061 #define HAVE_ROUND 1
21062 _ACEOF
21063
21064   fi
21065
21066
21067
21068
21069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21070 $as_echo_n "checking for roundl... " >&6; }
21071 if test "${gcc_cv_math_func_roundl+set}" = set; then :
21072   $as_echo_n "(cached) " >&6
21073 else
21074   if test x$gcc_no_link = xyes; then
21075   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21076 fi
21077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21078 /* end confdefs.h.  */
21079
21080 #ifdef HAVE_COMPLEX_H
21081 #include <complex.h>
21082 #endif
21083 #ifdef HAVE_MATH_H
21084 #include <math.h>
21085 #endif
21086
21087 int (*ptr)() = (int (*)())roundl;
21088
21089 int
21090 main ()
21091 {
21092   return 0;
21093 }
21094
21095 _ACEOF
21096 if ac_fn_c_try_link "$LINENO"; then :
21097   gcc_cv_math_func_roundl=yes
21098 else
21099   gcc_cv_math_func_roundl=no
21100 fi
21101 rm -f core conftest.err conftest.$ac_objext \
21102     conftest$ac_exeext conftest.$ac_ext
21103 fi
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21105 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21106   if test $gcc_cv_math_func_roundl = yes; then
21107
21108 cat >>confdefs.h <<_ACEOF
21109 #define HAVE_ROUNDL 1
21110 _ACEOF
21111
21112   fi
21113
21114
21115
21116
21117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21118 $as_echo_n "checking for lroundf... " >&6; }
21119 if test "${gcc_cv_math_func_lroundf+set}" = set; then :
21120   $as_echo_n "(cached) " >&6
21121 else
21122   if test x$gcc_no_link = xyes; then
21123   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21124 fi
21125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21126 /* end confdefs.h.  */
21127
21128 #ifdef HAVE_COMPLEX_H
21129 #include <complex.h>
21130 #endif
21131 #ifdef HAVE_MATH_H
21132 #include <math.h>
21133 #endif
21134
21135 int (*ptr)() = (int (*)())lroundf;
21136
21137 int
21138 main ()
21139 {
21140   return 0;
21141 }
21142
21143 _ACEOF
21144 if ac_fn_c_try_link "$LINENO"; then :
21145   gcc_cv_math_func_lroundf=yes
21146 else
21147   gcc_cv_math_func_lroundf=no
21148 fi
21149 rm -f core conftest.err conftest.$ac_objext \
21150     conftest$ac_exeext conftest.$ac_ext
21151 fi
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21153 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21154   if test $gcc_cv_math_func_lroundf = yes; then
21155
21156 cat >>confdefs.h <<_ACEOF
21157 #define HAVE_LROUNDF 1
21158 _ACEOF
21159
21160   fi
21161
21162
21163
21164
21165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21166 $as_echo_n "checking for lround... " >&6; }
21167 if test "${gcc_cv_math_func_lround+set}" = set; then :
21168   $as_echo_n "(cached) " >&6
21169 else
21170   if test x$gcc_no_link = xyes; then
21171   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21172 fi
21173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21174 /* end confdefs.h.  */
21175
21176 #ifdef HAVE_COMPLEX_H
21177 #include <complex.h>
21178 #endif
21179 #ifdef HAVE_MATH_H
21180 #include <math.h>
21181 #endif
21182
21183 int (*ptr)() = (int (*)())lround;
21184
21185 int
21186 main ()
21187 {
21188   return 0;
21189 }
21190
21191 _ACEOF
21192 if ac_fn_c_try_link "$LINENO"; then :
21193   gcc_cv_math_func_lround=yes
21194 else
21195   gcc_cv_math_func_lround=no
21196 fi
21197 rm -f core conftest.err conftest.$ac_objext \
21198     conftest$ac_exeext conftest.$ac_ext
21199 fi
21200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21201 $as_echo "$gcc_cv_math_func_lround" >&6; }
21202   if test $gcc_cv_math_func_lround = yes; then
21203
21204 cat >>confdefs.h <<_ACEOF
21205 #define HAVE_LROUND 1
21206 _ACEOF
21207
21208   fi
21209
21210
21211
21212
21213   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
21214 $as_echo_n "checking for lroundl... " >&6; }
21215 if test "${gcc_cv_math_func_lroundl+set}" = set; then :
21216   $as_echo_n "(cached) " >&6
21217 else
21218   if test x$gcc_no_link = xyes; then
21219   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21220 fi
21221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21222 /* end confdefs.h.  */
21223
21224 #ifdef HAVE_COMPLEX_H
21225 #include <complex.h>
21226 #endif
21227 #ifdef HAVE_MATH_H
21228 #include <math.h>
21229 #endif
21230
21231 int (*ptr)() = (int (*)())lroundl;
21232
21233 int
21234 main ()
21235 {
21236   return 0;
21237 }
21238
21239 _ACEOF
21240 if ac_fn_c_try_link "$LINENO"; then :
21241   gcc_cv_math_func_lroundl=yes
21242 else
21243   gcc_cv_math_func_lroundl=no
21244 fi
21245 rm -f core conftest.err conftest.$ac_objext \
21246     conftest$ac_exeext conftest.$ac_ext
21247 fi
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
21249 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
21250   if test $gcc_cv_math_func_lroundl = yes; then
21251
21252 cat >>confdefs.h <<_ACEOF
21253 #define HAVE_LROUNDL 1
21254 _ACEOF
21255
21256   fi
21257
21258
21259
21260
21261   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
21262 $as_echo_n "checking for llroundf... " >&6; }
21263 if test "${gcc_cv_math_func_llroundf+set}" = set; then :
21264   $as_echo_n "(cached) " >&6
21265 else
21266   if test x$gcc_no_link = xyes; then
21267   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21268 fi
21269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21270 /* end confdefs.h.  */
21271
21272 #ifdef HAVE_COMPLEX_H
21273 #include <complex.h>
21274 #endif
21275 #ifdef HAVE_MATH_H
21276 #include <math.h>
21277 #endif
21278
21279 int (*ptr)() = (int (*)())llroundf;
21280
21281 int
21282 main ()
21283 {
21284   return 0;
21285 }
21286
21287 _ACEOF
21288 if ac_fn_c_try_link "$LINENO"; then :
21289   gcc_cv_math_func_llroundf=yes
21290 else
21291   gcc_cv_math_func_llroundf=no
21292 fi
21293 rm -f core conftest.err conftest.$ac_objext \
21294     conftest$ac_exeext conftest.$ac_ext
21295 fi
21296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
21297 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
21298   if test $gcc_cv_math_func_llroundf = yes; then
21299
21300 cat >>confdefs.h <<_ACEOF
21301 #define HAVE_LLROUNDF 1
21302 _ACEOF
21303
21304   fi
21305
21306
21307
21308
21309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
21310 $as_echo_n "checking for llround... " >&6; }
21311 if test "${gcc_cv_math_func_llround+set}" = set; then :
21312   $as_echo_n "(cached) " >&6
21313 else
21314   if test x$gcc_no_link = xyes; then
21315   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21316 fi
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h.  */
21319
21320 #ifdef HAVE_COMPLEX_H
21321 #include <complex.h>
21322 #endif
21323 #ifdef HAVE_MATH_H
21324 #include <math.h>
21325 #endif
21326
21327 int (*ptr)() = (int (*)())llround;
21328
21329 int
21330 main ()
21331 {
21332   return 0;
21333 }
21334
21335 _ACEOF
21336 if ac_fn_c_try_link "$LINENO"; then :
21337   gcc_cv_math_func_llround=yes
21338 else
21339   gcc_cv_math_func_llround=no
21340 fi
21341 rm -f core conftest.err conftest.$ac_objext \
21342     conftest$ac_exeext conftest.$ac_ext
21343 fi
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
21345 $as_echo "$gcc_cv_math_func_llround" >&6; }
21346   if test $gcc_cv_math_func_llround = yes; then
21347
21348 cat >>confdefs.h <<_ACEOF
21349 #define HAVE_LLROUND 1
21350 _ACEOF
21351
21352   fi
21353
21354
21355
21356
21357   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
21358 $as_echo_n "checking for llroundl... " >&6; }
21359 if test "${gcc_cv_math_func_llroundl+set}" = set; then :
21360   $as_echo_n "(cached) " >&6
21361 else
21362   if test x$gcc_no_link = xyes; then
21363   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21364 fi
21365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21366 /* end confdefs.h.  */
21367
21368 #ifdef HAVE_COMPLEX_H
21369 #include <complex.h>
21370 #endif
21371 #ifdef HAVE_MATH_H
21372 #include <math.h>
21373 #endif
21374
21375 int (*ptr)() = (int (*)())llroundl;
21376
21377 int
21378 main ()
21379 {
21380   return 0;
21381 }
21382
21383 _ACEOF
21384 if ac_fn_c_try_link "$LINENO"; then :
21385   gcc_cv_math_func_llroundl=yes
21386 else
21387   gcc_cv_math_func_llroundl=no
21388 fi
21389 rm -f core conftest.err conftest.$ac_objext \
21390     conftest$ac_exeext conftest.$ac_ext
21391 fi
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
21393 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
21394   if test $gcc_cv_math_func_llroundl = yes; then
21395
21396 cat >>confdefs.h <<_ACEOF
21397 #define HAVE_LLROUNDL 1
21398 _ACEOF
21399
21400   fi
21401
21402
21403
21404
21405   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
21406 $as_echo_n "checking for scalbnf... " >&6; }
21407 if test "${gcc_cv_math_func_scalbnf+set}" = set; then :
21408   $as_echo_n "(cached) " >&6
21409 else
21410   if test x$gcc_no_link = xyes; then
21411   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21412 fi
21413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21414 /* end confdefs.h.  */
21415
21416 #ifdef HAVE_COMPLEX_H
21417 #include <complex.h>
21418 #endif
21419 #ifdef HAVE_MATH_H
21420 #include <math.h>
21421 #endif
21422
21423 int (*ptr)() = (int (*)())scalbnf;
21424
21425 int
21426 main ()
21427 {
21428   return 0;
21429 }
21430
21431 _ACEOF
21432 if ac_fn_c_try_link "$LINENO"; then :
21433   gcc_cv_math_func_scalbnf=yes
21434 else
21435   gcc_cv_math_func_scalbnf=no
21436 fi
21437 rm -f core conftest.err conftest.$ac_objext \
21438     conftest$ac_exeext conftest.$ac_ext
21439 fi
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
21441 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
21442   if test $gcc_cv_math_func_scalbnf = yes; then
21443
21444 cat >>confdefs.h <<_ACEOF
21445 #define HAVE_SCALBNF 1
21446 _ACEOF
21447
21448   fi
21449
21450
21451
21452
21453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
21454 $as_echo_n "checking for scalbn... " >&6; }
21455 if test "${gcc_cv_math_func_scalbn+set}" = set; then :
21456   $as_echo_n "(cached) " >&6
21457 else
21458   if test x$gcc_no_link = xyes; then
21459   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21460 fi
21461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21462 /* end confdefs.h.  */
21463
21464 #ifdef HAVE_COMPLEX_H
21465 #include <complex.h>
21466 #endif
21467 #ifdef HAVE_MATH_H
21468 #include <math.h>
21469 #endif
21470
21471 int (*ptr)() = (int (*)())scalbn;
21472
21473 int
21474 main ()
21475 {
21476   return 0;
21477 }
21478
21479 _ACEOF
21480 if ac_fn_c_try_link "$LINENO"; then :
21481   gcc_cv_math_func_scalbn=yes
21482 else
21483   gcc_cv_math_func_scalbn=no
21484 fi
21485 rm -f core conftest.err conftest.$ac_objext \
21486     conftest$ac_exeext conftest.$ac_ext
21487 fi
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
21489 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
21490   if test $gcc_cv_math_func_scalbn = yes; then
21491
21492 cat >>confdefs.h <<_ACEOF
21493 #define HAVE_SCALBN 1
21494 _ACEOF
21495
21496   fi
21497
21498
21499
21500
21501   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
21502 $as_echo_n "checking for scalbnl... " >&6; }
21503 if test "${gcc_cv_math_func_scalbnl+set}" = set; then :
21504   $as_echo_n "(cached) " >&6
21505 else
21506   if test x$gcc_no_link = xyes; then
21507   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21508 fi
21509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21510 /* end confdefs.h.  */
21511
21512 #ifdef HAVE_COMPLEX_H
21513 #include <complex.h>
21514 #endif
21515 #ifdef HAVE_MATH_H
21516 #include <math.h>
21517 #endif
21518
21519 int (*ptr)() = (int (*)())scalbnl;
21520
21521 int
21522 main ()
21523 {
21524   return 0;
21525 }
21526
21527 _ACEOF
21528 if ac_fn_c_try_link "$LINENO"; then :
21529   gcc_cv_math_func_scalbnl=yes
21530 else
21531   gcc_cv_math_func_scalbnl=no
21532 fi
21533 rm -f core conftest.err conftest.$ac_objext \
21534     conftest$ac_exeext conftest.$ac_ext
21535 fi
21536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
21537 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
21538   if test $gcc_cv_math_func_scalbnl = yes; then
21539
21540 cat >>confdefs.h <<_ACEOF
21541 #define HAVE_SCALBNL 1
21542 _ACEOF
21543
21544   fi
21545
21546
21547
21548
21549   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
21550 $as_echo_n "checking for sinf... " >&6; }
21551 if test "${gcc_cv_math_func_sinf+set}" = set; then :
21552   $as_echo_n "(cached) " >&6
21553 else
21554   if test x$gcc_no_link = xyes; then
21555   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21556 fi
21557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21558 /* end confdefs.h.  */
21559
21560 #ifdef HAVE_COMPLEX_H
21561 #include <complex.h>
21562 #endif
21563 #ifdef HAVE_MATH_H
21564 #include <math.h>
21565 #endif
21566
21567 int (*ptr)() = (int (*)())sinf;
21568
21569 int
21570 main ()
21571 {
21572   return 0;
21573 }
21574
21575 _ACEOF
21576 if ac_fn_c_try_link "$LINENO"; then :
21577   gcc_cv_math_func_sinf=yes
21578 else
21579   gcc_cv_math_func_sinf=no
21580 fi
21581 rm -f core conftest.err conftest.$ac_objext \
21582     conftest$ac_exeext conftest.$ac_ext
21583 fi
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
21585 $as_echo "$gcc_cv_math_func_sinf" >&6; }
21586   if test $gcc_cv_math_func_sinf = yes; then
21587
21588 cat >>confdefs.h <<_ACEOF
21589 #define HAVE_SINF 1
21590 _ACEOF
21591
21592   fi
21593
21594
21595
21596
21597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
21598 $as_echo_n "checking for sin... " >&6; }
21599 if test "${gcc_cv_math_func_sin+set}" = set; then :
21600   $as_echo_n "(cached) " >&6
21601 else
21602   if test x$gcc_no_link = xyes; then
21603   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21604 fi
21605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21606 /* end confdefs.h.  */
21607
21608 #ifdef HAVE_COMPLEX_H
21609 #include <complex.h>
21610 #endif
21611 #ifdef HAVE_MATH_H
21612 #include <math.h>
21613 #endif
21614
21615 int (*ptr)() = (int (*)())sin;
21616
21617 int
21618 main ()
21619 {
21620   return 0;
21621 }
21622
21623 _ACEOF
21624 if ac_fn_c_try_link "$LINENO"; then :
21625   gcc_cv_math_func_sin=yes
21626 else
21627   gcc_cv_math_func_sin=no
21628 fi
21629 rm -f core conftest.err conftest.$ac_objext \
21630     conftest$ac_exeext conftest.$ac_ext
21631 fi
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
21633 $as_echo "$gcc_cv_math_func_sin" >&6; }
21634   if test $gcc_cv_math_func_sin = yes; then
21635
21636 cat >>confdefs.h <<_ACEOF
21637 #define HAVE_SIN 1
21638 _ACEOF
21639
21640   fi
21641
21642
21643
21644
21645   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
21646 $as_echo_n "checking for sinl... " >&6; }
21647 if test "${gcc_cv_math_func_sinl+set}" = set; then :
21648   $as_echo_n "(cached) " >&6
21649 else
21650   if test x$gcc_no_link = xyes; then
21651   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21652 fi
21653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21654 /* end confdefs.h.  */
21655
21656 #ifdef HAVE_COMPLEX_H
21657 #include <complex.h>
21658 #endif
21659 #ifdef HAVE_MATH_H
21660 #include <math.h>
21661 #endif
21662
21663 int (*ptr)() = (int (*)())sinl;
21664
21665 int
21666 main ()
21667 {
21668   return 0;
21669 }
21670
21671 _ACEOF
21672 if ac_fn_c_try_link "$LINENO"; then :
21673   gcc_cv_math_func_sinl=yes
21674 else
21675   gcc_cv_math_func_sinl=no
21676 fi
21677 rm -f core conftest.err conftest.$ac_objext \
21678     conftest$ac_exeext conftest.$ac_ext
21679 fi
21680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
21681 $as_echo "$gcc_cv_math_func_sinl" >&6; }
21682   if test $gcc_cv_math_func_sinl = yes; then
21683
21684 cat >>confdefs.h <<_ACEOF
21685 #define HAVE_SINL 1
21686 _ACEOF
21687
21688   fi
21689
21690
21691
21692
21693   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
21694 $as_echo_n "checking for csinf... " >&6; }
21695 if test "${gcc_cv_math_func_csinf+set}" = set; then :
21696   $as_echo_n "(cached) " >&6
21697 else
21698   if test x$gcc_no_link = xyes; then
21699   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21700 fi
21701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21702 /* end confdefs.h.  */
21703
21704 #ifdef HAVE_COMPLEX_H
21705 #include <complex.h>
21706 #endif
21707 #ifdef HAVE_MATH_H
21708 #include <math.h>
21709 #endif
21710
21711 int (*ptr)() = (int (*)())csinf;
21712
21713 int
21714 main ()
21715 {
21716   return 0;
21717 }
21718
21719 _ACEOF
21720 if ac_fn_c_try_link "$LINENO"; then :
21721   gcc_cv_math_func_csinf=yes
21722 else
21723   gcc_cv_math_func_csinf=no
21724 fi
21725 rm -f core conftest.err conftest.$ac_objext \
21726     conftest$ac_exeext conftest.$ac_ext
21727 fi
21728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
21729 $as_echo "$gcc_cv_math_func_csinf" >&6; }
21730   if test $gcc_cv_math_func_csinf = yes; then
21731
21732 cat >>confdefs.h <<_ACEOF
21733 #define HAVE_CSINF 1
21734 _ACEOF
21735
21736   fi
21737
21738
21739
21740
21741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
21742 $as_echo_n "checking for csin... " >&6; }
21743 if test "${gcc_cv_math_func_csin+set}" = set; then :
21744   $as_echo_n "(cached) " >&6
21745 else
21746   if test x$gcc_no_link = xyes; then
21747   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21748 fi
21749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21750 /* end confdefs.h.  */
21751
21752 #ifdef HAVE_COMPLEX_H
21753 #include <complex.h>
21754 #endif
21755 #ifdef HAVE_MATH_H
21756 #include <math.h>
21757 #endif
21758
21759 int (*ptr)() = (int (*)())csin;
21760
21761 int
21762 main ()
21763 {
21764   return 0;
21765 }
21766
21767 _ACEOF
21768 if ac_fn_c_try_link "$LINENO"; then :
21769   gcc_cv_math_func_csin=yes
21770 else
21771   gcc_cv_math_func_csin=no
21772 fi
21773 rm -f core conftest.err conftest.$ac_objext \
21774     conftest$ac_exeext conftest.$ac_ext
21775 fi
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
21777 $as_echo "$gcc_cv_math_func_csin" >&6; }
21778   if test $gcc_cv_math_func_csin = yes; then
21779
21780 cat >>confdefs.h <<_ACEOF
21781 #define HAVE_CSIN 1
21782 _ACEOF
21783
21784   fi
21785
21786
21787
21788
21789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
21790 $as_echo_n "checking for csinl... " >&6; }
21791 if test "${gcc_cv_math_func_csinl+set}" = set; then :
21792   $as_echo_n "(cached) " >&6
21793 else
21794   if test x$gcc_no_link = xyes; then
21795   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21796 fi
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h.  */
21799
21800 #ifdef HAVE_COMPLEX_H
21801 #include <complex.h>
21802 #endif
21803 #ifdef HAVE_MATH_H
21804 #include <math.h>
21805 #endif
21806
21807 int (*ptr)() = (int (*)())csinl;
21808
21809 int
21810 main ()
21811 {
21812   return 0;
21813 }
21814
21815 _ACEOF
21816 if ac_fn_c_try_link "$LINENO"; then :
21817   gcc_cv_math_func_csinl=yes
21818 else
21819   gcc_cv_math_func_csinl=no
21820 fi
21821 rm -f core conftest.err conftest.$ac_objext \
21822     conftest$ac_exeext conftest.$ac_ext
21823 fi
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
21825 $as_echo "$gcc_cv_math_func_csinl" >&6; }
21826   if test $gcc_cv_math_func_csinl = yes; then
21827
21828 cat >>confdefs.h <<_ACEOF
21829 #define HAVE_CSINL 1
21830 _ACEOF
21831
21832   fi
21833
21834
21835
21836
21837   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
21838 $as_echo_n "checking for sinhf... " >&6; }
21839 if test "${gcc_cv_math_func_sinhf+set}" = set; then :
21840   $as_echo_n "(cached) " >&6
21841 else
21842   if test x$gcc_no_link = xyes; then
21843   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21844 fi
21845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21846 /* end confdefs.h.  */
21847
21848 #ifdef HAVE_COMPLEX_H
21849 #include <complex.h>
21850 #endif
21851 #ifdef HAVE_MATH_H
21852 #include <math.h>
21853 #endif
21854
21855 int (*ptr)() = (int (*)())sinhf;
21856
21857 int
21858 main ()
21859 {
21860   return 0;
21861 }
21862
21863 _ACEOF
21864 if ac_fn_c_try_link "$LINENO"; then :
21865   gcc_cv_math_func_sinhf=yes
21866 else
21867   gcc_cv_math_func_sinhf=no
21868 fi
21869 rm -f core conftest.err conftest.$ac_objext \
21870     conftest$ac_exeext conftest.$ac_ext
21871 fi
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
21873 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
21874   if test $gcc_cv_math_func_sinhf = yes; then
21875
21876 cat >>confdefs.h <<_ACEOF
21877 #define HAVE_SINHF 1
21878 _ACEOF
21879
21880   fi
21881
21882
21883
21884
21885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
21886 $as_echo_n "checking for sinh... " >&6; }
21887 if test "${gcc_cv_math_func_sinh+set}" = set; then :
21888   $as_echo_n "(cached) " >&6
21889 else
21890   if test x$gcc_no_link = xyes; then
21891   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21892 fi
21893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21894 /* end confdefs.h.  */
21895
21896 #ifdef HAVE_COMPLEX_H
21897 #include <complex.h>
21898 #endif
21899 #ifdef HAVE_MATH_H
21900 #include <math.h>
21901 #endif
21902
21903 int (*ptr)() = (int (*)())sinh;
21904
21905 int
21906 main ()
21907 {
21908   return 0;
21909 }
21910
21911 _ACEOF
21912 if ac_fn_c_try_link "$LINENO"; then :
21913   gcc_cv_math_func_sinh=yes
21914 else
21915   gcc_cv_math_func_sinh=no
21916 fi
21917 rm -f core conftest.err conftest.$ac_objext \
21918     conftest$ac_exeext conftest.$ac_ext
21919 fi
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
21921 $as_echo "$gcc_cv_math_func_sinh" >&6; }
21922   if test $gcc_cv_math_func_sinh = yes; then
21923
21924 cat >>confdefs.h <<_ACEOF
21925 #define HAVE_SINH 1
21926 _ACEOF
21927
21928   fi
21929
21930
21931
21932
21933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
21934 $as_echo_n "checking for sinhl... " >&6; }
21935 if test "${gcc_cv_math_func_sinhl+set}" = set; then :
21936   $as_echo_n "(cached) " >&6
21937 else
21938   if test x$gcc_no_link = xyes; then
21939   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21940 fi
21941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21942 /* end confdefs.h.  */
21943
21944 #ifdef HAVE_COMPLEX_H
21945 #include <complex.h>
21946 #endif
21947 #ifdef HAVE_MATH_H
21948 #include <math.h>
21949 #endif
21950
21951 int (*ptr)() = (int (*)())sinhl;
21952
21953 int
21954 main ()
21955 {
21956   return 0;
21957 }
21958
21959 _ACEOF
21960 if ac_fn_c_try_link "$LINENO"; then :
21961   gcc_cv_math_func_sinhl=yes
21962 else
21963   gcc_cv_math_func_sinhl=no
21964 fi
21965 rm -f core conftest.err conftest.$ac_objext \
21966     conftest$ac_exeext conftest.$ac_ext
21967 fi
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
21969 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
21970   if test $gcc_cv_math_func_sinhl = yes; then
21971
21972 cat >>confdefs.h <<_ACEOF
21973 #define HAVE_SINHL 1
21974 _ACEOF
21975
21976   fi
21977
21978
21979
21980
21981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
21982 $as_echo_n "checking for csinhf... " >&6; }
21983 if test "${gcc_cv_math_func_csinhf+set}" = set; then :
21984   $as_echo_n "(cached) " >&6
21985 else
21986   if test x$gcc_no_link = xyes; then
21987   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21988 fi
21989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21990 /* end confdefs.h.  */
21991
21992 #ifdef HAVE_COMPLEX_H
21993 #include <complex.h>
21994 #endif
21995 #ifdef HAVE_MATH_H
21996 #include <math.h>
21997 #endif
21998
21999 int (*ptr)() = (int (*)())csinhf;
22000
22001 int
22002 main ()
22003 {
22004   return 0;
22005 }
22006
22007 _ACEOF
22008 if ac_fn_c_try_link "$LINENO"; then :
22009   gcc_cv_math_func_csinhf=yes
22010 else
22011   gcc_cv_math_func_csinhf=no
22012 fi
22013 rm -f core conftest.err conftest.$ac_objext \
22014     conftest$ac_exeext conftest.$ac_ext
22015 fi
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22017 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22018   if test $gcc_cv_math_func_csinhf = yes; then
22019
22020 cat >>confdefs.h <<_ACEOF
22021 #define HAVE_CSINHF 1
22022 _ACEOF
22023
22024   fi
22025
22026
22027
22028
22029   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22030 $as_echo_n "checking for csinh... " >&6; }
22031 if test "${gcc_cv_math_func_csinh+set}" = set; then :
22032   $as_echo_n "(cached) " >&6
22033 else
22034   if test x$gcc_no_link = xyes; then
22035   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22036 fi
22037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038 /* end confdefs.h.  */
22039
22040 #ifdef HAVE_COMPLEX_H
22041 #include <complex.h>
22042 #endif
22043 #ifdef HAVE_MATH_H
22044 #include <math.h>
22045 #endif
22046
22047 int (*ptr)() = (int (*)())csinh;
22048
22049 int
22050 main ()
22051 {
22052   return 0;
22053 }
22054
22055 _ACEOF
22056 if ac_fn_c_try_link "$LINENO"; then :
22057   gcc_cv_math_func_csinh=yes
22058 else
22059   gcc_cv_math_func_csinh=no
22060 fi
22061 rm -f core conftest.err conftest.$ac_objext \
22062     conftest$ac_exeext conftest.$ac_ext
22063 fi
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22065 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22066   if test $gcc_cv_math_func_csinh = yes; then
22067
22068 cat >>confdefs.h <<_ACEOF
22069 #define HAVE_CSINH 1
22070 _ACEOF
22071
22072   fi
22073
22074
22075
22076
22077   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22078 $as_echo_n "checking for csinhl... " >&6; }
22079 if test "${gcc_cv_math_func_csinhl+set}" = set; then :
22080   $as_echo_n "(cached) " >&6
22081 else
22082   if test x$gcc_no_link = xyes; then
22083   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22084 fi
22085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22086 /* end confdefs.h.  */
22087
22088 #ifdef HAVE_COMPLEX_H
22089 #include <complex.h>
22090 #endif
22091 #ifdef HAVE_MATH_H
22092 #include <math.h>
22093 #endif
22094
22095 int (*ptr)() = (int (*)())csinhl;
22096
22097 int
22098 main ()
22099 {
22100   return 0;
22101 }
22102
22103 _ACEOF
22104 if ac_fn_c_try_link "$LINENO"; then :
22105   gcc_cv_math_func_csinhl=yes
22106 else
22107   gcc_cv_math_func_csinhl=no
22108 fi
22109 rm -f core conftest.err conftest.$ac_objext \
22110     conftest$ac_exeext conftest.$ac_ext
22111 fi
22112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22113 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22114   if test $gcc_cv_math_func_csinhl = yes; then
22115
22116 cat >>confdefs.h <<_ACEOF
22117 #define HAVE_CSINHL 1
22118 _ACEOF
22119
22120   fi
22121
22122
22123
22124
22125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22126 $as_echo_n "checking for sqrtf... " >&6; }
22127 if test "${gcc_cv_math_func_sqrtf+set}" = set; then :
22128   $as_echo_n "(cached) " >&6
22129 else
22130   if test x$gcc_no_link = xyes; then
22131   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22132 fi
22133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22134 /* end confdefs.h.  */
22135
22136 #ifdef HAVE_COMPLEX_H
22137 #include <complex.h>
22138 #endif
22139 #ifdef HAVE_MATH_H
22140 #include <math.h>
22141 #endif
22142
22143 int (*ptr)() = (int (*)())sqrtf;
22144
22145 int
22146 main ()
22147 {
22148   return 0;
22149 }
22150
22151 _ACEOF
22152 if ac_fn_c_try_link "$LINENO"; then :
22153   gcc_cv_math_func_sqrtf=yes
22154 else
22155   gcc_cv_math_func_sqrtf=no
22156 fi
22157 rm -f core conftest.err conftest.$ac_objext \
22158     conftest$ac_exeext conftest.$ac_ext
22159 fi
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22161 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22162   if test $gcc_cv_math_func_sqrtf = yes; then
22163
22164 cat >>confdefs.h <<_ACEOF
22165 #define HAVE_SQRTF 1
22166 _ACEOF
22167
22168   fi
22169
22170
22171
22172
22173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22174 $as_echo_n "checking for sqrt... " >&6; }
22175 if test "${gcc_cv_math_func_sqrt+set}" = set; then :
22176   $as_echo_n "(cached) " >&6
22177 else
22178   if test x$gcc_no_link = xyes; then
22179   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22180 fi
22181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22182 /* end confdefs.h.  */
22183
22184 #ifdef HAVE_COMPLEX_H
22185 #include <complex.h>
22186 #endif
22187 #ifdef HAVE_MATH_H
22188 #include <math.h>
22189 #endif
22190
22191 int (*ptr)() = (int (*)())sqrt;
22192
22193 int
22194 main ()
22195 {
22196   return 0;
22197 }
22198
22199 _ACEOF
22200 if ac_fn_c_try_link "$LINENO"; then :
22201   gcc_cv_math_func_sqrt=yes
22202 else
22203   gcc_cv_math_func_sqrt=no
22204 fi
22205 rm -f core conftest.err conftest.$ac_objext \
22206     conftest$ac_exeext conftest.$ac_ext
22207 fi
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
22209 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
22210   if test $gcc_cv_math_func_sqrt = yes; then
22211
22212 cat >>confdefs.h <<_ACEOF
22213 #define HAVE_SQRT 1
22214 _ACEOF
22215
22216   fi
22217
22218
22219
22220
22221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
22222 $as_echo_n "checking for sqrtl... " >&6; }
22223 if test "${gcc_cv_math_func_sqrtl+set}" = set; then :
22224   $as_echo_n "(cached) " >&6
22225 else
22226   if test x$gcc_no_link = xyes; then
22227   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22228 fi
22229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22230 /* end confdefs.h.  */
22231
22232 #ifdef HAVE_COMPLEX_H
22233 #include <complex.h>
22234 #endif
22235 #ifdef HAVE_MATH_H
22236 #include <math.h>
22237 #endif
22238
22239 int (*ptr)() = (int (*)())sqrtl;
22240
22241 int
22242 main ()
22243 {
22244   return 0;
22245 }
22246
22247 _ACEOF
22248 if ac_fn_c_try_link "$LINENO"; then :
22249   gcc_cv_math_func_sqrtl=yes
22250 else
22251   gcc_cv_math_func_sqrtl=no
22252 fi
22253 rm -f core conftest.err conftest.$ac_objext \
22254     conftest$ac_exeext conftest.$ac_ext
22255 fi
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
22257 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
22258   if test $gcc_cv_math_func_sqrtl = yes; then
22259
22260 cat >>confdefs.h <<_ACEOF
22261 #define HAVE_SQRTL 1
22262 _ACEOF
22263
22264   fi
22265
22266
22267
22268
22269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
22270 $as_echo_n "checking for csqrtf... " >&6; }
22271 if test "${gcc_cv_math_func_csqrtf+set}" = set; then :
22272   $as_echo_n "(cached) " >&6
22273 else
22274   if test x$gcc_no_link = xyes; then
22275   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22276 fi
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h.  */
22279
22280 #ifdef HAVE_COMPLEX_H
22281 #include <complex.h>
22282 #endif
22283 #ifdef HAVE_MATH_H
22284 #include <math.h>
22285 #endif
22286
22287 int (*ptr)() = (int (*)())csqrtf;
22288
22289 int
22290 main ()
22291 {
22292   return 0;
22293 }
22294
22295 _ACEOF
22296 if ac_fn_c_try_link "$LINENO"; then :
22297   gcc_cv_math_func_csqrtf=yes
22298 else
22299   gcc_cv_math_func_csqrtf=no
22300 fi
22301 rm -f core conftest.err conftest.$ac_objext \
22302     conftest$ac_exeext conftest.$ac_ext
22303 fi
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
22305 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
22306   if test $gcc_cv_math_func_csqrtf = yes; then
22307
22308 cat >>confdefs.h <<_ACEOF
22309 #define HAVE_CSQRTF 1
22310 _ACEOF
22311
22312   fi
22313
22314
22315
22316
22317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
22318 $as_echo_n "checking for csqrt... " >&6; }
22319 if test "${gcc_cv_math_func_csqrt+set}" = set; then :
22320   $as_echo_n "(cached) " >&6
22321 else
22322   if test x$gcc_no_link = xyes; then
22323   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22324 fi
22325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22326 /* end confdefs.h.  */
22327
22328 #ifdef HAVE_COMPLEX_H
22329 #include <complex.h>
22330 #endif
22331 #ifdef HAVE_MATH_H
22332 #include <math.h>
22333 #endif
22334
22335 int (*ptr)() = (int (*)())csqrt;
22336
22337 int
22338 main ()
22339 {
22340   return 0;
22341 }
22342
22343 _ACEOF
22344 if ac_fn_c_try_link "$LINENO"; then :
22345   gcc_cv_math_func_csqrt=yes
22346 else
22347   gcc_cv_math_func_csqrt=no
22348 fi
22349 rm -f core conftest.err conftest.$ac_objext \
22350     conftest$ac_exeext conftest.$ac_ext
22351 fi
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
22353 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
22354   if test $gcc_cv_math_func_csqrt = yes; then
22355
22356 cat >>confdefs.h <<_ACEOF
22357 #define HAVE_CSQRT 1
22358 _ACEOF
22359
22360   fi
22361
22362
22363
22364
22365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
22366 $as_echo_n "checking for csqrtl... " >&6; }
22367 if test "${gcc_cv_math_func_csqrtl+set}" = set; then :
22368   $as_echo_n "(cached) " >&6
22369 else
22370   if test x$gcc_no_link = xyes; then
22371   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22372 fi
22373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22374 /* end confdefs.h.  */
22375
22376 #ifdef HAVE_COMPLEX_H
22377 #include <complex.h>
22378 #endif
22379 #ifdef HAVE_MATH_H
22380 #include <math.h>
22381 #endif
22382
22383 int (*ptr)() = (int (*)())csqrtl;
22384
22385 int
22386 main ()
22387 {
22388   return 0;
22389 }
22390
22391 _ACEOF
22392 if ac_fn_c_try_link "$LINENO"; then :
22393   gcc_cv_math_func_csqrtl=yes
22394 else
22395   gcc_cv_math_func_csqrtl=no
22396 fi
22397 rm -f core conftest.err conftest.$ac_objext \
22398     conftest$ac_exeext conftest.$ac_ext
22399 fi
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
22401 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
22402   if test $gcc_cv_math_func_csqrtl = yes; then
22403
22404 cat >>confdefs.h <<_ACEOF
22405 #define HAVE_CSQRTL 1
22406 _ACEOF
22407
22408   fi
22409
22410
22411
22412
22413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
22414 $as_echo_n "checking for tanf... " >&6; }
22415 if test "${gcc_cv_math_func_tanf+set}" = set; then :
22416   $as_echo_n "(cached) " >&6
22417 else
22418   if test x$gcc_no_link = xyes; then
22419   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22420 fi
22421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22422 /* end confdefs.h.  */
22423
22424 #ifdef HAVE_COMPLEX_H
22425 #include <complex.h>
22426 #endif
22427 #ifdef HAVE_MATH_H
22428 #include <math.h>
22429 #endif
22430
22431 int (*ptr)() = (int (*)())tanf;
22432
22433 int
22434 main ()
22435 {
22436   return 0;
22437 }
22438
22439 _ACEOF
22440 if ac_fn_c_try_link "$LINENO"; then :
22441   gcc_cv_math_func_tanf=yes
22442 else
22443   gcc_cv_math_func_tanf=no
22444 fi
22445 rm -f core conftest.err conftest.$ac_objext \
22446     conftest$ac_exeext conftest.$ac_ext
22447 fi
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
22449 $as_echo "$gcc_cv_math_func_tanf" >&6; }
22450   if test $gcc_cv_math_func_tanf = yes; then
22451
22452 cat >>confdefs.h <<_ACEOF
22453 #define HAVE_TANF 1
22454 _ACEOF
22455
22456   fi
22457
22458
22459
22460
22461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
22462 $as_echo_n "checking for tan... " >&6; }
22463 if test "${gcc_cv_math_func_tan+set}" = set; then :
22464   $as_echo_n "(cached) " >&6
22465 else
22466   if test x$gcc_no_link = xyes; then
22467   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22468 fi
22469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22470 /* end confdefs.h.  */
22471
22472 #ifdef HAVE_COMPLEX_H
22473 #include <complex.h>
22474 #endif
22475 #ifdef HAVE_MATH_H
22476 #include <math.h>
22477 #endif
22478
22479 int (*ptr)() = (int (*)())tan;
22480
22481 int
22482 main ()
22483 {
22484   return 0;
22485 }
22486
22487 _ACEOF
22488 if ac_fn_c_try_link "$LINENO"; then :
22489   gcc_cv_math_func_tan=yes
22490 else
22491   gcc_cv_math_func_tan=no
22492 fi
22493 rm -f core conftest.err conftest.$ac_objext \
22494     conftest$ac_exeext conftest.$ac_ext
22495 fi
22496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
22497 $as_echo "$gcc_cv_math_func_tan" >&6; }
22498   if test $gcc_cv_math_func_tan = yes; then
22499
22500 cat >>confdefs.h <<_ACEOF
22501 #define HAVE_TAN 1
22502 _ACEOF
22503
22504   fi
22505
22506
22507
22508
22509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
22510 $as_echo_n "checking for tanl... " >&6; }
22511 if test "${gcc_cv_math_func_tanl+set}" = set; then :
22512   $as_echo_n "(cached) " >&6
22513 else
22514   if test x$gcc_no_link = xyes; then
22515   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22516 fi
22517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22518 /* end confdefs.h.  */
22519
22520 #ifdef HAVE_COMPLEX_H
22521 #include <complex.h>
22522 #endif
22523 #ifdef HAVE_MATH_H
22524 #include <math.h>
22525 #endif
22526
22527 int (*ptr)() = (int (*)())tanl;
22528
22529 int
22530 main ()
22531 {
22532   return 0;
22533 }
22534
22535 _ACEOF
22536 if ac_fn_c_try_link "$LINENO"; then :
22537   gcc_cv_math_func_tanl=yes
22538 else
22539   gcc_cv_math_func_tanl=no
22540 fi
22541 rm -f core conftest.err conftest.$ac_objext \
22542     conftest$ac_exeext conftest.$ac_ext
22543 fi
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
22545 $as_echo "$gcc_cv_math_func_tanl" >&6; }
22546   if test $gcc_cv_math_func_tanl = yes; then
22547
22548 cat >>confdefs.h <<_ACEOF
22549 #define HAVE_TANL 1
22550 _ACEOF
22551
22552   fi
22553
22554
22555
22556
22557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
22558 $as_echo_n "checking for ctanf... " >&6; }
22559 if test "${gcc_cv_math_func_ctanf+set}" = set; then :
22560   $as_echo_n "(cached) " >&6
22561 else
22562   if test x$gcc_no_link = xyes; then
22563   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22564 fi
22565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22566 /* end confdefs.h.  */
22567
22568 #ifdef HAVE_COMPLEX_H
22569 #include <complex.h>
22570 #endif
22571 #ifdef HAVE_MATH_H
22572 #include <math.h>
22573 #endif
22574
22575 int (*ptr)() = (int (*)())ctanf;
22576
22577 int
22578 main ()
22579 {
22580   return 0;
22581 }
22582
22583 _ACEOF
22584 if ac_fn_c_try_link "$LINENO"; then :
22585   gcc_cv_math_func_ctanf=yes
22586 else
22587   gcc_cv_math_func_ctanf=no
22588 fi
22589 rm -f core conftest.err conftest.$ac_objext \
22590     conftest$ac_exeext conftest.$ac_ext
22591 fi
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
22593 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
22594   if test $gcc_cv_math_func_ctanf = yes; then
22595
22596 cat >>confdefs.h <<_ACEOF
22597 #define HAVE_CTANF 1
22598 _ACEOF
22599
22600   fi
22601
22602
22603
22604
22605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
22606 $as_echo_n "checking for ctan... " >&6; }
22607 if test "${gcc_cv_math_func_ctan+set}" = set; then :
22608   $as_echo_n "(cached) " >&6
22609 else
22610   if test x$gcc_no_link = xyes; then
22611   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22612 fi
22613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22614 /* end confdefs.h.  */
22615
22616 #ifdef HAVE_COMPLEX_H
22617 #include <complex.h>
22618 #endif
22619 #ifdef HAVE_MATH_H
22620 #include <math.h>
22621 #endif
22622
22623 int (*ptr)() = (int (*)())ctan;
22624
22625 int
22626 main ()
22627 {
22628   return 0;
22629 }
22630
22631 _ACEOF
22632 if ac_fn_c_try_link "$LINENO"; then :
22633   gcc_cv_math_func_ctan=yes
22634 else
22635   gcc_cv_math_func_ctan=no
22636 fi
22637 rm -f core conftest.err conftest.$ac_objext \
22638     conftest$ac_exeext conftest.$ac_ext
22639 fi
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
22641 $as_echo "$gcc_cv_math_func_ctan" >&6; }
22642   if test $gcc_cv_math_func_ctan = yes; then
22643
22644 cat >>confdefs.h <<_ACEOF
22645 #define HAVE_CTAN 1
22646 _ACEOF
22647
22648   fi
22649
22650
22651
22652
22653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
22654 $as_echo_n "checking for ctanl... " >&6; }
22655 if test "${gcc_cv_math_func_ctanl+set}" = set; then :
22656   $as_echo_n "(cached) " >&6
22657 else
22658   if test x$gcc_no_link = xyes; then
22659   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22660 fi
22661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22662 /* end confdefs.h.  */
22663
22664 #ifdef HAVE_COMPLEX_H
22665 #include <complex.h>
22666 #endif
22667 #ifdef HAVE_MATH_H
22668 #include <math.h>
22669 #endif
22670
22671 int (*ptr)() = (int (*)())ctanl;
22672
22673 int
22674 main ()
22675 {
22676   return 0;
22677 }
22678
22679 _ACEOF
22680 if ac_fn_c_try_link "$LINENO"; then :
22681   gcc_cv_math_func_ctanl=yes
22682 else
22683   gcc_cv_math_func_ctanl=no
22684 fi
22685 rm -f core conftest.err conftest.$ac_objext \
22686     conftest$ac_exeext conftest.$ac_ext
22687 fi
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
22689 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
22690   if test $gcc_cv_math_func_ctanl = yes; then
22691
22692 cat >>confdefs.h <<_ACEOF
22693 #define HAVE_CTANL 1
22694 _ACEOF
22695
22696   fi
22697
22698
22699
22700
22701   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
22702 $as_echo_n "checking for tanhf... " >&6; }
22703 if test "${gcc_cv_math_func_tanhf+set}" = set; then :
22704   $as_echo_n "(cached) " >&6
22705 else
22706   if test x$gcc_no_link = xyes; then
22707   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22708 fi
22709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22710 /* end confdefs.h.  */
22711
22712 #ifdef HAVE_COMPLEX_H
22713 #include <complex.h>
22714 #endif
22715 #ifdef HAVE_MATH_H
22716 #include <math.h>
22717 #endif
22718
22719 int (*ptr)() = (int (*)())tanhf;
22720
22721 int
22722 main ()
22723 {
22724   return 0;
22725 }
22726
22727 _ACEOF
22728 if ac_fn_c_try_link "$LINENO"; then :
22729   gcc_cv_math_func_tanhf=yes
22730 else
22731   gcc_cv_math_func_tanhf=no
22732 fi
22733 rm -f core conftest.err conftest.$ac_objext \
22734     conftest$ac_exeext conftest.$ac_ext
22735 fi
22736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
22737 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
22738   if test $gcc_cv_math_func_tanhf = yes; then
22739
22740 cat >>confdefs.h <<_ACEOF
22741 #define HAVE_TANHF 1
22742 _ACEOF
22743
22744   fi
22745
22746
22747
22748
22749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
22750 $as_echo_n "checking for tanh... " >&6; }
22751 if test "${gcc_cv_math_func_tanh+set}" = set; then :
22752   $as_echo_n "(cached) " >&6
22753 else
22754   if test x$gcc_no_link = xyes; then
22755   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22756 fi
22757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h.  */
22759
22760 #ifdef HAVE_COMPLEX_H
22761 #include <complex.h>
22762 #endif
22763 #ifdef HAVE_MATH_H
22764 #include <math.h>
22765 #endif
22766
22767 int (*ptr)() = (int (*)())tanh;
22768
22769 int
22770 main ()
22771 {
22772   return 0;
22773 }
22774
22775 _ACEOF
22776 if ac_fn_c_try_link "$LINENO"; then :
22777   gcc_cv_math_func_tanh=yes
22778 else
22779   gcc_cv_math_func_tanh=no
22780 fi
22781 rm -f core conftest.err conftest.$ac_objext \
22782     conftest$ac_exeext conftest.$ac_ext
22783 fi
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
22785 $as_echo "$gcc_cv_math_func_tanh" >&6; }
22786   if test $gcc_cv_math_func_tanh = yes; then
22787
22788 cat >>confdefs.h <<_ACEOF
22789 #define HAVE_TANH 1
22790 _ACEOF
22791
22792   fi
22793
22794
22795
22796
22797   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
22798 $as_echo_n "checking for tanhl... " >&6; }
22799 if test "${gcc_cv_math_func_tanhl+set}" = set; then :
22800   $as_echo_n "(cached) " >&6
22801 else
22802   if test x$gcc_no_link = xyes; then
22803   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22804 fi
22805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22806 /* end confdefs.h.  */
22807
22808 #ifdef HAVE_COMPLEX_H
22809 #include <complex.h>
22810 #endif
22811 #ifdef HAVE_MATH_H
22812 #include <math.h>
22813 #endif
22814
22815 int (*ptr)() = (int (*)())tanhl;
22816
22817 int
22818 main ()
22819 {
22820   return 0;
22821 }
22822
22823 _ACEOF
22824 if ac_fn_c_try_link "$LINENO"; then :
22825   gcc_cv_math_func_tanhl=yes
22826 else
22827   gcc_cv_math_func_tanhl=no
22828 fi
22829 rm -f core conftest.err conftest.$ac_objext \
22830     conftest$ac_exeext conftest.$ac_ext
22831 fi
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
22833 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
22834   if test $gcc_cv_math_func_tanhl = yes; then
22835
22836 cat >>confdefs.h <<_ACEOF
22837 #define HAVE_TANHL 1
22838 _ACEOF
22839
22840   fi
22841
22842
22843
22844
22845   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
22846 $as_echo_n "checking for ctanhf... " >&6; }
22847 if test "${gcc_cv_math_func_ctanhf+set}" = set; then :
22848   $as_echo_n "(cached) " >&6
22849 else
22850   if test x$gcc_no_link = xyes; then
22851   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22852 fi
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854 /* end confdefs.h.  */
22855
22856 #ifdef HAVE_COMPLEX_H
22857 #include <complex.h>
22858 #endif
22859 #ifdef HAVE_MATH_H
22860 #include <math.h>
22861 #endif
22862
22863 int (*ptr)() = (int (*)())ctanhf;
22864
22865 int
22866 main ()
22867 {
22868   return 0;
22869 }
22870
22871 _ACEOF
22872 if ac_fn_c_try_link "$LINENO"; then :
22873   gcc_cv_math_func_ctanhf=yes
22874 else
22875   gcc_cv_math_func_ctanhf=no
22876 fi
22877 rm -f core conftest.err conftest.$ac_objext \
22878     conftest$ac_exeext conftest.$ac_ext
22879 fi
22880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
22881 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
22882   if test $gcc_cv_math_func_ctanhf = yes; then
22883
22884 cat >>confdefs.h <<_ACEOF
22885 #define HAVE_CTANHF 1
22886 _ACEOF
22887
22888   fi
22889
22890
22891
22892
22893   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
22894 $as_echo_n "checking for ctanh... " >&6; }
22895 if test "${gcc_cv_math_func_ctanh+set}" = set; then :
22896   $as_echo_n "(cached) " >&6
22897 else
22898   if test x$gcc_no_link = xyes; then
22899   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22900 fi
22901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22902 /* end confdefs.h.  */
22903
22904 #ifdef HAVE_COMPLEX_H
22905 #include <complex.h>
22906 #endif
22907 #ifdef HAVE_MATH_H
22908 #include <math.h>
22909 #endif
22910
22911 int (*ptr)() = (int (*)())ctanh;
22912
22913 int
22914 main ()
22915 {
22916   return 0;
22917 }
22918
22919 _ACEOF
22920 if ac_fn_c_try_link "$LINENO"; then :
22921   gcc_cv_math_func_ctanh=yes
22922 else
22923   gcc_cv_math_func_ctanh=no
22924 fi
22925 rm -f core conftest.err conftest.$ac_objext \
22926     conftest$ac_exeext conftest.$ac_ext
22927 fi
22928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
22929 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
22930   if test $gcc_cv_math_func_ctanh = yes; then
22931
22932 cat >>confdefs.h <<_ACEOF
22933 #define HAVE_CTANH 1
22934 _ACEOF
22935
22936   fi
22937
22938
22939
22940
22941   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
22942 $as_echo_n "checking for ctanhl... " >&6; }
22943 if test "${gcc_cv_math_func_ctanhl+set}" = set; then :
22944   $as_echo_n "(cached) " >&6
22945 else
22946   if test x$gcc_no_link = xyes; then
22947   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22948 fi
22949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22950 /* end confdefs.h.  */
22951
22952 #ifdef HAVE_COMPLEX_H
22953 #include <complex.h>
22954 #endif
22955 #ifdef HAVE_MATH_H
22956 #include <math.h>
22957 #endif
22958
22959 int (*ptr)() = (int (*)())ctanhl;
22960
22961 int
22962 main ()
22963 {
22964   return 0;
22965 }
22966
22967 _ACEOF
22968 if ac_fn_c_try_link "$LINENO"; then :
22969   gcc_cv_math_func_ctanhl=yes
22970 else
22971   gcc_cv_math_func_ctanhl=no
22972 fi
22973 rm -f core conftest.err conftest.$ac_objext \
22974     conftest$ac_exeext conftest.$ac_ext
22975 fi
22976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
22977 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
22978   if test $gcc_cv_math_func_ctanhl = yes; then
22979
22980 cat >>confdefs.h <<_ACEOF
22981 #define HAVE_CTANHL 1
22982 _ACEOF
22983
22984   fi
22985
22986
22987
22988
22989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
22990 $as_echo_n "checking for truncf... " >&6; }
22991 if test "${gcc_cv_math_func_truncf+set}" = set; then :
22992   $as_echo_n "(cached) " >&6
22993 else
22994   if test x$gcc_no_link = xyes; then
22995   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22996 fi
22997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22998 /* end confdefs.h.  */
22999
23000 #ifdef HAVE_COMPLEX_H
23001 #include <complex.h>
23002 #endif
23003 #ifdef HAVE_MATH_H
23004 #include <math.h>
23005 #endif
23006
23007 int (*ptr)() = (int (*)())truncf;
23008
23009 int
23010 main ()
23011 {
23012   return 0;
23013 }
23014
23015 _ACEOF
23016 if ac_fn_c_try_link "$LINENO"; then :
23017   gcc_cv_math_func_truncf=yes
23018 else
23019   gcc_cv_math_func_truncf=no
23020 fi
23021 rm -f core conftest.err conftest.$ac_objext \
23022     conftest$ac_exeext conftest.$ac_ext
23023 fi
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23025 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23026   if test $gcc_cv_math_func_truncf = yes; then
23027
23028 cat >>confdefs.h <<_ACEOF
23029 #define HAVE_TRUNCF 1
23030 _ACEOF
23031
23032   fi
23033
23034
23035
23036
23037   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23038 $as_echo_n "checking for trunc... " >&6; }
23039 if test "${gcc_cv_math_func_trunc+set}" = set; then :
23040   $as_echo_n "(cached) " >&6
23041 else
23042   if test x$gcc_no_link = xyes; then
23043   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23044 fi
23045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23046 /* end confdefs.h.  */
23047
23048 #ifdef HAVE_COMPLEX_H
23049 #include <complex.h>
23050 #endif
23051 #ifdef HAVE_MATH_H
23052 #include <math.h>
23053 #endif
23054
23055 int (*ptr)() = (int (*)())trunc;
23056
23057 int
23058 main ()
23059 {
23060   return 0;
23061 }
23062
23063 _ACEOF
23064 if ac_fn_c_try_link "$LINENO"; then :
23065   gcc_cv_math_func_trunc=yes
23066 else
23067   gcc_cv_math_func_trunc=no
23068 fi
23069 rm -f core conftest.err conftest.$ac_objext \
23070     conftest$ac_exeext conftest.$ac_ext
23071 fi
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23073 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23074   if test $gcc_cv_math_func_trunc = yes; then
23075
23076 cat >>confdefs.h <<_ACEOF
23077 #define HAVE_TRUNC 1
23078 _ACEOF
23079
23080   fi
23081
23082
23083
23084
23085   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23086 $as_echo_n "checking for truncl... " >&6; }
23087 if test "${gcc_cv_math_func_truncl+set}" = set; then :
23088   $as_echo_n "(cached) " >&6
23089 else
23090   if test x$gcc_no_link = xyes; then
23091   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23092 fi
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h.  */
23095
23096 #ifdef HAVE_COMPLEX_H
23097 #include <complex.h>
23098 #endif
23099 #ifdef HAVE_MATH_H
23100 #include <math.h>
23101 #endif
23102
23103 int (*ptr)() = (int (*)())truncl;
23104
23105 int
23106 main ()
23107 {
23108   return 0;
23109 }
23110
23111 _ACEOF
23112 if ac_fn_c_try_link "$LINENO"; then :
23113   gcc_cv_math_func_truncl=yes
23114 else
23115   gcc_cv_math_func_truncl=no
23116 fi
23117 rm -f core conftest.err conftest.$ac_objext \
23118     conftest$ac_exeext conftest.$ac_ext
23119 fi
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23121 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23122   if test $gcc_cv_math_func_truncl = yes; then
23123
23124 cat >>confdefs.h <<_ACEOF
23125 #define HAVE_TRUNCL 1
23126 _ACEOF
23127
23128   fi
23129
23130
23131
23132
23133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23134 $as_echo_n "checking for erff... " >&6; }
23135 if test "${gcc_cv_math_func_erff+set}" = set; then :
23136   $as_echo_n "(cached) " >&6
23137 else
23138   if test x$gcc_no_link = xyes; then
23139   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23140 fi
23141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23142 /* end confdefs.h.  */
23143
23144 #ifdef HAVE_COMPLEX_H
23145 #include <complex.h>
23146 #endif
23147 #ifdef HAVE_MATH_H
23148 #include <math.h>
23149 #endif
23150
23151 int (*ptr)() = (int (*)())erff;
23152
23153 int
23154 main ()
23155 {
23156   return 0;
23157 }
23158
23159 _ACEOF
23160 if ac_fn_c_try_link "$LINENO"; then :
23161   gcc_cv_math_func_erff=yes
23162 else
23163   gcc_cv_math_func_erff=no
23164 fi
23165 rm -f core conftest.err conftest.$ac_objext \
23166     conftest$ac_exeext conftest.$ac_ext
23167 fi
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23169 $as_echo "$gcc_cv_math_func_erff" >&6; }
23170   if test $gcc_cv_math_func_erff = yes; then
23171
23172 cat >>confdefs.h <<_ACEOF
23173 #define HAVE_ERFF 1
23174 _ACEOF
23175
23176   fi
23177
23178
23179
23180
23181   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23182 $as_echo_n "checking for erf... " >&6; }
23183 if test "${gcc_cv_math_func_erf+set}" = set; then :
23184   $as_echo_n "(cached) " >&6
23185 else
23186   if test x$gcc_no_link = xyes; then
23187   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23188 fi
23189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23190 /* end confdefs.h.  */
23191
23192 #ifdef HAVE_COMPLEX_H
23193 #include <complex.h>
23194 #endif
23195 #ifdef HAVE_MATH_H
23196 #include <math.h>
23197 #endif
23198
23199 int (*ptr)() = (int (*)())erf;
23200
23201 int
23202 main ()
23203 {
23204   return 0;
23205 }
23206
23207 _ACEOF
23208 if ac_fn_c_try_link "$LINENO"; then :
23209   gcc_cv_math_func_erf=yes
23210 else
23211   gcc_cv_math_func_erf=no
23212 fi
23213 rm -f core conftest.err conftest.$ac_objext \
23214     conftest$ac_exeext conftest.$ac_ext
23215 fi
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
23217 $as_echo "$gcc_cv_math_func_erf" >&6; }
23218   if test $gcc_cv_math_func_erf = yes; then
23219
23220 cat >>confdefs.h <<_ACEOF
23221 #define HAVE_ERF 1
23222 _ACEOF
23223
23224   fi
23225
23226
23227
23228
23229   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfl" >&5
23230 $as_echo_n "checking for erfl... " >&6; }
23231 if test "${gcc_cv_math_func_erfl+set}" = set; then :
23232   $as_echo_n "(cached) " >&6
23233 else
23234   if test x$gcc_no_link = xyes; then
23235   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23236 fi
23237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23238 /* end confdefs.h.  */
23239
23240 #ifdef HAVE_COMPLEX_H
23241 #include <complex.h>
23242 #endif
23243 #ifdef HAVE_MATH_H
23244 #include <math.h>
23245 #endif
23246
23247 int (*ptr)() = (int (*)())erfl;
23248
23249 int
23250 main ()
23251 {
23252   return 0;
23253 }
23254
23255 _ACEOF
23256 if ac_fn_c_try_link "$LINENO"; then :
23257   gcc_cv_math_func_erfl=yes
23258 else
23259   gcc_cv_math_func_erfl=no
23260 fi
23261 rm -f core conftest.err conftest.$ac_objext \
23262     conftest$ac_exeext conftest.$ac_ext
23263 fi
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfl" >&5
23265 $as_echo "$gcc_cv_math_func_erfl" >&6; }
23266   if test $gcc_cv_math_func_erfl = yes; then
23267
23268 cat >>confdefs.h <<_ACEOF
23269 #define HAVE_ERFL 1
23270 _ACEOF
23271
23272   fi
23273
23274
23275
23276
23277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
23278 $as_echo_n "checking for erfcf... " >&6; }
23279 if test "${gcc_cv_math_func_erfcf+set}" = set; then :
23280   $as_echo_n "(cached) " >&6
23281 else
23282   if test x$gcc_no_link = xyes; then
23283   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23284 fi
23285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23286 /* end confdefs.h.  */
23287
23288 #ifdef HAVE_COMPLEX_H
23289 #include <complex.h>
23290 #endif
23291 #ifdef HAVE_MATH_H
23292 #include <math.h>
23293 #endif
23294
23295 int (*ptr)() = (int (*)())erfcf;
23296
23297 int
23298 main ()
23299 {
23300   return 0;
23301 }
23302
23303 _ACEOF
23304 if ac_fn_c_try_link "$LINENO"; then :
23305   gcc_cv_math_func_erfcf=yes
23306 else
23307   gcc_cv_math_func_erfcf=no
23308 fi
23309 rm -f core conftest.err conftest.$ac_objext \
23310     conftest$ac_exeext conftest.$ac_ext
23311 fi
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
23313 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
23314   if test $gcc_cv_math_func_erfcf = yes; then
23315
23316 cat >>confdefs.h <<_ACEOF
23317 #define HAVE_ERFCF 1
23318 _ACEOF
23319
23320   fi
23321
23322
23323
23324
23325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
23326 $as_echo_n "checking for erfc... " >&6; }
23327 if test "${gcc_cv_math_func_erfc+set}" = set; then :
23328   $as_echo_n "(cached) " >&6
23329 else
23330   if test x$gcc_no_link = xyes; then
23331   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23332 fi
23333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23334 /* end confdefs.h.  */
23335
23336 #ifdef HAVE_COMPLEX_H
23337 #include <complex.h>
23338 #endif
23339 #ifdef HAVE_MATH_H
23340 #include <math.h>
23341 #endif
23342
23343 int (*ptr)() = (int (*)())erfc;
23344
23345 int
23346 main ()
23347 {
23348   return 0;
23349 }
23350
23351 _ACEOF
23352 if ac_fn_c_try_link "$LINENO"; then :
23353   gcc_cv_math_func_erfc=yes
23354 else
23355   gcc_cv_math_func_erfc=no
23356 fi
23357 rm -f core conftest.err conftest.$ac_objext \
23358     conftest$ac_exeext conftest.$ac_ext
23359 fi
23360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
23361 $as_echo "$gcc_cv_math_func_erfc" >&6; }
23362   if test $gcc_cv_math_func_erfc = yes; then
23363
23364 cat >>confdefs.h <<_ACEOF
23365 #define HAVE_ERFC 1
23366 _ACEOF
23367
23368   fi
23369
23370
23371
23372
23373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
23374 $as_echo_n "checking for erfcl... " >&6; }
23375 if test "${gcc_cv_math_func_erfcl+set}" = set; then :
23376   $as_echo_n "(cached) " >&6
23377 else
23378   if test x$gcc_no_link = xyes; then
23379   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23380 fi
23381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23382 /* end confdefs.h.  */
23383
23384 #ifdef HAVE_COMPLEX_H
23385 #include <complex.h>
23386 #endif
23387 #ifdef HAVE_MATH_H
23388 #include <math.h>
23389 #endif
23390
23391 int (*ptr)() = (int (*)())erfcl;
23392
23393 int
23394 main ()
23395 {
23396   return 0;
23397 }
23398
23399 _ACEOF
23400 if ac_fn_c_try_link "$LINENO"; then :
23401   gcc_cv_math_func_erfcl=yes
23402 else
23403   gcc_cv_math_func_erfcl=no
23404 fi
23405 rm -f core conftest.err conftest.$ac_objext \
23406     conftest$ac_exeext conftest.$ac_ext
23407 fi
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
23409 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
23410   if test $gcc_cv_math_func_erfcl = yes; then
23411
23412 cat >>confdefs.h <<_ACEOF
23413 #define HAVE_ERFCL 1
23414 _ACEOF
23415
23416   fi
23417
23418
23419
23420
23421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
23422 $as_echo_n "checking for j0f... " >&6; }
23423 if test "${gcc_cv_math_func_j0f+set}" = set; then :
23424   $as_echo_n "(cached) " >&6
23425 else
23426   if test x$gcc_no_link = xyes; then
23427   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23428 fi
23429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23430 /* end confdefs.h.  */
23431
23432 #ifdef HAVE_COMPLEX_H
23433 #include <complex.h>
23434 #endif
23435 #ifdef HAVE_MATH_H
23436 #include <math.h>
23437 #endif
23438
23439 int (*ptr)() = (int (*)())j0f;
23440
23441 int
23442 main ()
23443 {
23444   return 0;
23445 }
23446
23447 _ACEOF
23448 if ac_fn_c_try_link "$LINENO"; then :
23449   gcc_cv_math_func_j0f=yes
23450 else
23451   gcc_cv_math_func_j0f=no
23452 fi
23453 rm -f core conftest.err conftest.$ac_objext \
23454     conftest$ac_exeext conftest.$ac_ext
23455 fi
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
23457 $as_echo "$gcc_cv_math_func_j0f" >&6; }
23458   if test $gcc_cv_math_func_j0f = yes; then
23459
23460 cat >>confdefs.h <<_ACEOF
23461 #define HAVE_J0F 1
23462 _ACEOF
23463
23464   fi
23465
23466
23467
23468
23469   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
23470 $as_echo_n "checking for j0... " >&6; }
23471 if test "${gcc_cv_math_func_j0+set}" = set; then :
23472   $as_echo_n "(cached) " >&6
23473 else
23474   if test x$gcc_no_link = xyes; then
23475   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23476 fi
23477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23478 /* end confdefs.h.  */
23479
23480 #ifdef HAVE_COMPLEX_H
23481 #include <complex.h>
23482 #endif
23483 #ifdef HAVE_MATH_H
23484 #include <math.h>
23485 #endif
23486
23487 int (*ptr)() = (int (*)())j0;
23488
23489 int
23490 main ()
23491 {
23492   return 0;
23493 }
23494
23495 _ACEOF
23496 if ac_fn_c_try_link "$LINENO"; then :
23497   gcc_cv_math_func_j0=yes
23498 else
23499   gcc_cv_math_func_j0=no
23500 fi
23501 rm -f core conftest.err conftest.$ac_objext \
23502     conftest$ac_exeext conftest.$ac_ext
23503 fi
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
23505 $as_echo "$gcc_cv_math_func_j0" >&6; }
23506   if test $gcc_cv_math_func_j0 = yes; then
23507
23508 cat >>confdefs.h <<_ACEOF
23509 #define HAVE_J0 1
23510 _ACEOF
23511
23512   fi
23513
23514
23515
23516
23517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0l" >&5
23518 $as_echo_n "checking for j0l... " >&6; }
23519 if test "${gcc_cv_math_func_j0l+set}" = set; then :
23520   $as_echo_n "(cached) " >&6
23521 else
23522   if test x$gcc_no_link = xyes; then
23523   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23524 fi
23525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23526 /* end confdefs.h.  */
23527
23528 #ifdef HAVE_COMPLEX_H
23529 #include <complex.h>
23530 #endif
23531 #ifdef HAVE_MATH_H
23532 #include <math.h>
23533 #endif
23534
23535 int (*ptr)() = (int (*)())j0l;
23536
23537 int
23538 main ()
23539 {
23540   return 0;
23541 }
23542
23543 _ACEOF
23544 if ac_fn_c_try_link "$LINENO"; then :
23545   gcc_cv_math_func_j0l=yes
23546 else
23547   gcc_cv_math_func_j0l=no
23548 fi
23549 rm -f core conftest.err conftest.$ac_objext \
23550     conftest$ac_exeext conftest.$ac_ext
23551 fi
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0l" >&5
23553 $as_echo "$gcc_cv_math_func_j0l" >&6; }
23554   if test $gcc_cv_math_func_j0l = yes; then
23555
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE_J0L 1
23558 _ACEOF
23559
23560   fi
23561
23562
23563
23564
23565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
23566 $as_echo_n "checking for j1f... " >&6; }
23567 if test "${gcc_cv_math_func_j1f+set}" = set; then :
23568   $as_echo_n "(cached) " >&6
23569 else
23570   if test x$gcc_no_link = xyes; then
23571   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23572 fi
23573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23574 /* end confdefs.h.  */
23575
23576 #ifdef HAVE_COMPLEX_H
23577 #include <complex.h>
23578 #endif
23579 #ifdef HAVE_MATH_H
23580 #include <math.h>
23581 #endif
23582
23583 int (*ptr)() = (int (*)())j1f;
23584
23585 int
23586 main ()
23587 {
23588   return 0;
23589 }
23590
23591 _ACEOF
23592 if ac_fn_c_try_link "$LINENO"; then :
23593   gcc_cv_math_func_j1f=yes
23594 else
23595   gcc_cv_math_func_j1f=no
23596 fi
23597 rm -f core conftest.err conftest.$ac_objext \
23598     conftest$ac_exeext conftest.$ac_ext
23599 fi
23600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
23601 $as_echo "$gcc_cv_math_func_j1f" >&6; }
23602   if test $gcc_cv_math_func_j1f = yes; then
23603
23604 cat >>confdefs.h <<_ACEOF
23605 #define HAVE_J1F 1
23606 _ACEOF
23607
23608   fi
23609
23610
23611
23612
23613   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
23614 $as_echo_n "checking for j1... " >&6; }
23615 if test "${gcc_cv_math_func_j1+set}" = set; then :
23616   $as_echo_n "(cached) " >&6
23617 else
23618   if test x$gcc_no_link = xyes; then
23619   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23620 fi
23621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23622 /* end confdefs.h.  */
23623
23624 #ifdef HAVE_COMPLEX_H
23625 #include <complex.h>
23626 #endif
23627 #ifdef HAVE_MATH_H
23628 #include <math.h>
23629 #endif
23630
23631 int (*ptr)() = (int (*)())j1;
23632
23633 int
23634 main ()
23635 {
23636   return 0;
23637 }
23638
23639 _ACEOF
23640 if ac_fn_c_try_link "$LINENO"; then :
23641   gcc_cv_math_func_j1=yes
23642 else
23643   gcc_cv_math_func_j1=no
23644 fi
23645 rm -f core conftest.err conftest.$ac_objext \
23646     conftest$ac_exeext conftest.$ac_ext
23647 fi
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
23649 $as_echo "$gcc_cv_math_func_j1" >&6; }
23650   if test $gcc_cv_math_func_j1 = yes; then
23651
23652 cat >>confdefs.h <<_ACEOF
23653 #define HAVE_J1 1
23654 _ACEOF
23655
23656   fi
23657
23658
23659
23660
23661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1l" >&5
23662 $as_echo_n "checking for j1l... " >&6; }
23663 if test "${gcc_cv_math_func_j1l+set}" = set; then :
23664   $as_echo_n "(cached) " >&6
23665 else
23666   if test x$gcc_no_link = xyes; then
23667   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23668 fi
23669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23670 /* end confdefs.h.  */
23671
23672 #ifdef HAVE_COMPLEX_H
23673 #include <complex.h>
23674 #endif
23675 #ifdef HAVE_MATH_H
23676 #include <math.h>
23677 #endif
23678
23679 int (*ptr)() = (int (*)())j1l;
23680
23681 int
23682 main ()
23683 {
23684   return 0;
23685 }
23686
23687 _ACEOF
23688 if ac_fn_c_try_link "$LINENO"; then :
23689   gcc_cv_math_func_j1l=yes
23690 else
23691   gcc_cv_math_func_j1l=no
23692 fi
23693 rm -f core conftest.err conftest.$ac_objext \
23694     conftest$ac_exeext conftest.$ac_ext
23695 fi
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1l" >&5
23697 $as_echo "$gcc_cv_math_func_j1l" >&6; }
23698   if test $gcc_cv_math_func_j1l = yes; then
23699
23700 cat >>confdefs.h <<_ACEOF
23701 #define HAVE_J1L 1
23702 _ACEOF
23703
23704   fi
23705
23706
23707
23708
23709   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
23710 $as_echo_n "checking for jnf... " >&6; }
23711 if test "${gcc_cv_math_func_jnf+set}" = set; then :
23712   $as_echo_n "(cached) " >&6
23713 else
23714   if test x$gcc_no_link = xyes; then
23715   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23716 fi
23717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23718 /* end confdefs.h.  */
23719
23720 #ifdef HAVE_COMPLEX_H
23721 #include <complex.h>
23722 #endif
23723 #ifdef HAVE_MATH_H
23724 #include <math.h>
23725 #endif
23726
23727 int (*ptr)() = (int (*)())jnf;
23728
23729 int
23730 main ()
23731 {
23732   return 0;
23733 }
23734
23735 _ACEOF
23736 if ac_fn_c_try_link "$LINENO"; then :
23737   gcc_cv_math_func_jnf=yes
23738 else
23739   gcc_cv_math_func_jnf=no
23740 fi
23741 rm -f core conftest.err conftest.$ac_objext \
23742     conftest$ac_exeext conftest.$ac_ext
23743 fi
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
23745 $as_echo "$gcc_cv_math_func_jnf" >&6; }
23746   if test $gcc_cv_math_func_jnf = yes; then
23747
23748 cat >>confdefs.h <<_ACEOF
23749 #define HAVE_JNF 1
23750 _ACEOF
23751
23752   fi
23753
23754
23755
23756
23757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
23758 $as_echo_n "checking for jn... " >&6; }
23759 if test "${gcc_cv_math_func_jn+set}" = set; then :
23760   $as_echo_n "(cached) " >&6
23761 else
23762   if test x$gcc_no_link = xyes; then
23763   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23764 fi
23765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23766 /* end confdefs.h.  */
23767
23768 #ifdef HAVE_COMPLEX_H
23769 #include <complex.h>
23770 #endif
23771 #ifdef HAVE_MATH_H
23772 #include <math.h>
23773 #endif
23774
23775 int (*ptr)() = (int (*)())jn;
23776
23777 int
23778 main ()
23779 {
23780   return 0;
23781 }
23782
23783 _ACEOF
23784 if ac_fn_c_try_link "$LINENO"; then :
23785   gcc_cv_math_func_jn=yes
23786 else
23787   gcc_cv_math_func_jn=no
23788 fi
23789 rm -f core conftest.err conftest.$ac_objext \
23790     conftest$ac_exeext conftest.$ac_ext
23791 fi
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
23793 $as_echo "$gcc_cv_math_func_jn" >&6; }
23794   if test $gcc_cv_math_func_jn = yes; then
23795
23796 cat >>confdefs.h <<_ACEOF
23797 #define HAVE_JN 1
23798 _ACEOF
23799
23800   fi
23801
23802
23803
23804
23805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
23806 $as_echo_n "checking for jnl... " >&6; }
23807 if test "${gcc_cv_math_func_jnl+set}" = set; then :
23808   $as_echo_n "(cached) " >&6
23809 else
23810   if test x$gcc_no_link = xyes; then
23811   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23812 fi
23813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23814 /* end confdefs.h.  */
23815
23816 #ifdef HAVE_COMPLEX_H
23817 #include <complex.h>
23818 #endif
23819 #ifdef HAVE_MATH_H
23820 #include <math.h>
23821 #endif
23822
23823 int (*ptr)() = (int (*)())jnl;
23824
23825 int
23826 main ()
23827 {
23828   return 0;
23829 }
23830
23831 _ACEOF
23832 if ac_fn_c_try_link "$LINENO"; then :
23833   gcc_cv_math_func_jnl=yes
23834 else
23835   gcc_cv_math_func_jnl=no
23836 fi
23837 rm -f core conftest.err conftest.$ac_objext \
23838     conftest$ac_exeext conftest.$ac_ext
23839 fi
23840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
23841 $as_echo "$gcc_cv_math_func_jnl" >&6; }
23842   if test $gcc_cv_math_func_jnl = yes; then
23843
23844 cat >>confdefs.h <<_ACEOF
23845 #define HAVE_JNL 1
23846 _ACEOF
23847
23848   fi
23849
23850
23851
23852
23853   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
23854 $as_echo_n "checking for y0f... " >&6; }
23855 if test "${gcc_cv_math_func_y0f+set}" = set; then :
23856   $as_echo_n "(cached) " >&6
23857 else
23858   if test x$gcc_no_link = xyes; then
23859   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23860 fi
23861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23862 /* end confdefs.h.  */
23863
23864 #ifdef HAVE_COMPLEX_H
23865 #include <complex.h>
23866 #endif
23867 #ifdef HAVE_MATH_H
23868 #include <math.h>
23869 #endif
23870
23871 int (*ptr)() = (int (*)())y0f;
23872
23873 int
23874 main ()
23875 {
23876   return 0;
23877 }
23878
23879 _ACEOF
23880 if ac_fn_c_try_link "$LINENO"; then :
23881   gcc_cv_math_func_y0f=yes
23882 else
23883   gcc_cv_math_func_y0f=no
23884 fi
23885 rm -f core conftest.err conftest.$ac_objext \
23886     conftest$ac_exeext conftest.$ac_ext
23887 fi
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
23889 $as_echo "$gcc_cv_math_func_y0f" >&6; }
23890   if test $gcc_cv_math_func_y0f = yes; then
23891
23892 cat >>confdefs.h <<_ACEOF
23893 #define HAVE_Y0F 1
23894 _ACEOF
23895
23896   fi
23897
23898
23899
23900
23901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
23902 $as_echo_n "checking for y0... " >&6; }
23903 if test "${gcc_cv_math_func_y0+set}" = set; then :
23904   $as_echo_n "(cached) " >&6
23905 else
23906   if test x$gcc_no_link = xyes; then
23907   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23908 fi
23909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23910 /* end confdefs.h.  */
23911
23912 #ifdef HAVE_COMPLEX_H
23913 #include <complex.h>
23914 #endif
23915 #ifdef HAVE_MATH_H
23916 #include <math.h>
23917 #endif
23918
23919 int (*ptr)() = (int (*)())y0;
23920
23921 int
23922 main ()
23923 {
23924   return 0;
23925 }
23926
23927 _ACEOF
23928 if ac_fn_c_try_link "$LINENO"; then :
23929   gcc_cv_math_func_y0=yes
23930 else
23931   gcc_cv_math_func_y0=no
23932 fi
23933 rm -f core conftest.err conftest.$ac_objext \
23934     conftest$ac_exeext conftest.$ac_ext
23935 fi
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
23937 $as_echo "$gcc_cv_math_func_y0" >&6; }
23938   if test $gcc_cv_math_func_y0 = yes; then
23939
23940 cat >>confdefs.h <<_ACEOF
23941 #define HAVE_Y0 1
23942 _ACEOF
23943
23944   fi
23945
23946
23947
23948
23949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0l" >&5
23950 $as_echo_n "checking for y0l... " >&6; }
23951 if test "${gcc_cv_math_func_y0l+set}" = set; then :
23952   $as_echo_n "(cached) " >&6
23953 else
23954   if test x$gcc_no_link = xyes; then
23955   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23956 fi
23957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23958 /* end confdefs.h.  */
23959
23960 #ifdef HAVE_COMPLEX_H
23961 #include <complex.h>
23962 #endif
23963 #ifdef HAVE_MATH_H
23964 #include <math.h>
23965 #endif
23966
23967 int (*ptr)() = (int (*)())y0l;
23968
23969 int
23970 main ()
23971 {
23972   return 0;
23973 }
23974
23975 _ACEOF
23976 if ac_fn_c_try_link "$LINENO"; then :
23977   gcc_cv_math_func_y0l=yes
23978 else
23979   gcc_cv_math_func_y0l=no
23980 fi
23981 rm -f core conftest.err conftest.$ac_objext \
23982     conftest$ac_exeext conftest.$ac_ext
23983 fi
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0l" >&5
23985 $as_echo "$gcc_cv_math_func_y0l" >&6; }
23986   if test $gcc_cv_math_func_y0l = yes; then
23987
23988 cat >>confdefs.h <<_ACEOF
23989 #define HAVE_Y0L 1
23990 _ACEOF
23991
23992   fi
23993
23994
23995
23996
23997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
23998 $as_echo_n "checking for y1f... " >&6; }
23999 if test "${gcc_cv_math_func_y1f+set}" = set; then :
24000   $as_echo_n "(cached) " >&6
24001 else
24002   if test x$gcc_no_link = xyes; then
24003   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24004 fi
24005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24006 /* end confdefs.h.  */
24007
24008 #ifdef HAVE_COMPLEX_H
24009 #include <complex.h>
24010 #endif
24011 #ifdef HAVE_MATH_H
24012 #include <math.h>
24013 #endif
24014
24015 int (*ptr)() = (int (*)())y1f;
24016
24017 int
24018 main ()
24019 {
24020   return 0;
24021 }
24022
24023 _ACEOF
24024 if ac_fn_c_try_link "$LINENO"; then :
24025   gcc_cv_math_func_y1f=yes
24026 else
24027   gcc_cv_math_func_y1f=no
24028 fi
24029 rm -f core conftest.err conftest.$ac_objext \
24030     conftest$ac_exeext conftest.$ac_ext
24031 fi
24032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24033 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24034   if test $gcc_cv_math_func_y1f = yes; then
24035
24036 cat >>confdefs.h <<_ACEOF
24037 #define HAVE_Y1F 1
24038 _ACEOF
24039
24040   fi
24041
24042
24043
24044
24045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24046 $as_echo_n "checking for y1... " >&6; }
24047 if test "${gcc_cv_math_func_y1+set}" = set; then :
24048   $as_echo_n "(cached) " >&6
24049 else
24050   if test x$gcc_no_link = xyes; then
24051   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24052 fi
24053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h.  */
24055
24056 #ifdef HAVE_COMPLEX_H
24057 #include <complex.h>
24058 #endif
24059 #ifdef HAVE_MATH_H
24060 #include <math.h>
24061 #endif
24062
24063 int (*ptr)() = (int (*)())y1;
24064
24065 int
24066 main ()
24067 {
24068   return 0;
24069 }
24070
24071 _ACEOF
24072 if ac_fn_c_try_link "$LINENO"; then :
24073   gcc_cv_math_func_y1=yes
24074 else
24075   gcc_cv_math_func_y1=no
24076 fi
24077 rm -f core conftest.err conftest.$ac_objext \
24078     conftest$ac_exeext conftest.$ac_ext
24079 fi
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24081 $as_echo "$gcc_cv_math_func_y1" >&6; }
24082   if test $gcc_cv_math_func_y1 = yes; then
24083
24084 cat >>confdefs.h <<_ACEOF
24085 #define HAVE_Y1 1
24086 _ACEOF
24087
24088   fi
24089
24090
24091
24092
24093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1l" >&5
24094 $as_echo_n "checking for y1l... " >&6; }
24095 if test "${gcc_cv_math_func_y1l+set}" = set; then :
24096   $as_echo_n "(cached) " >&6
24097 else
24098   if test x$gcc_no_link = xyes; then
24099   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24100 fi
24101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24102 /* end confdefs.h.  */
24103
24104 #ifdef HAVE_COMPLEX_H
24105 #include <complex.h>
24106 #endif
24107 #ifdef HAVE_MATH_H
24108 #include <math.h>
24109 #endif
24110
24111 int (*ptr)() = (int (*)())y1l;
24112
24113 int
24114 main ()
24115 {
24116   return 0;
24117 }
24118
24119 _ACEOF
24120 if ac_fn_c_try_link "$LINENO"; then :
24121   gcc_cv_math_func_y1l=yes
24122 else
24123   gcc_cv_math_func_y1l=no
24124 fi
24125 rm -f core conftest.err conftest.$ac_objext \
24126     conftest$ac_exeext conftest.$ac_ext
24127 fi
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1l" >&5
24129 $as_echo "$gcc_cv_math_func_y1l" >&6; }
24130   if test $gcc_cv_math_func_y1l = yes; then
24131
24132 cat >>confdefs.h <<_ACEOF
24133 #define HAVE_Y1L 1
24134 _ACEOF
24135
24136   fi
24137
24138
24139
24140
24141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24142 $as_echo_n "checking for ynf... " >&6; }
24143 if test "${gcc_cv_math_func_ynf+set}" = set; then :
24144   $as_echo_n "(cached) " >&6
24145 else
24146   if test x$gcc_no_link = xyes; then
24147   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24148 fi
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h.  */
24151
24152 #ifdef HAVE_COMPLEX_H
24153 #include <complex.h>
24154 #endif
24155 #ifdef HAVE_MATH_H
24156 #include <math.h>
24157 #endif
24158
24159 int (*ptr)() = (int (*)())ynf;
24160
24161 int
24162 main ()
24163 {
24164   return 0;
24165 }
24166
24167 _ACEOF
24168 if ac_fn_c_try_link "$LINENO"; then :
24169   gcc_cv_math_func_ynf=yes
24170 else
24171   gcc_cv_math_func_ynf=no
24172 fi
24173 rm -f core conftest.err conftest.$ac_objext \
24174     conftest$ac_exeext conftest.$ac_ext
24175 fi
24176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24177 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24178   if test $gcc_cv_math_func_ynf = yes; then
24179
24180 cat >>confdefs.h <<_ACEOF
24181 #define HAVE_YNF 1
24182 _ACEOF
24183
24184   fi
24185
24186
24187
24188
24189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24190 $as_echo_n "checking for yn... " >&6; }
24191 if test "${gcc_cv_math_func_yn+set}" = set; then :
24192   $as_echo_n "(cached) " >&6
24193 else
24194   if test x$gcc_no_link = xyes; then
24195   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24196 fi
24197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24198 /* end confdefs.h.  */
24199
24200 #ifdef HAVE_COMPLEX_H
24201 #include <complex.h>
24202 #endif
24203 #ifdef HAVE_MATH_H
24204 #include <math.h>
24205 #endif
24206
24207 int (*ptr)() = (int (*)())yn;
24208
24209 int
24210 main ()
24211 {
24212   return 0;
24213 }
24214
24215 _ACEOF
24216 if ac_fn_c_try_link "$LINENO"; then :
24217   gcc_cv_math_func_yn=yes
24218 else
24219   gcc_cv_math_func_yn=no
24220 fi
24221 rm -f core conftest.err conftest.$ac_objext \
24222     conftest$ac_exeext conftest.$ac_ext
24223 fi
24224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24225 $as_echo "$gcc_cv_math_func_yn" >&6; }
24226   if test $gcc_cv_math_func_yn = yes; then
24227
24228 cat >>confdefs.h <<_ACEOF
24229 #define HAVE_YN 1
24230 _ACEOF
24231
24232   fi
24233
24234
24235
24236
24237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24238 $as_echo_n "checking for ynl... " >&6; }
24239 if test "${gcc_cv_math_func_ynl+set}" = set; then :
24240   $as_echo_n "(cached) " >&6
24241 else
24242   if test x$gcc_no_link = xyes; then
24243   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24244 fi
24245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24246 /* end confdefs.h.  */
24247
24248 #ifdef HAVE_COMPLEX_H
24249 #include <complex.h>
24250 #endif
24251 #ifdef HAVE_MATH_H
24252 #include <math.h>
24253 #endif
24254
24255 int (*ptr)() = (int (*)())ynl;
24256
24257 int
24258 main ()
24259 {
24260   return 0;
24261 }
24262
24263 _ACEOF
24264 if ac_fn_c_try_link "$LINENO"; then :
24265   gcc_cv_math_func_ynl=yes
24266 else
24267   gcc_cv_math_func_ynl=no
24268 fi
24269 rm -f core conftest.err conftest.$ac_objext \
24270     conftest$ac_exeext conftest.$ac_ext
24271 fi
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24273 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24274   if test $gcc_cv_math_func_ynl = yes; then
24275
24276 cat >>confdefs.h <<_ACEOF
24277 #define HAVE_YNL 1
24278 _ACEOF
24279
24280   fi
24281
24282
24283
24284
24285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24286 $as_echo_n "checking for tgamma... " >&6; }
24287 if test "${gcc_cv_math_func_tgamma+set}" = set; then :
24288   $as_echo_n "(cached) " >&6
24289 else
24290   if test x$gcc_no_link = xyes; then
24291   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24292 fi
24293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24294 /* end confdefs.h.  */
24295
24296 #ifdef HAVE_COMPLEX_H
24297 #include <complex.h>
24298 #endif
24299 #ifdef HAVE_MATH_H
24300 #include <math.h>
24301 #endif
24302
24303 int (*ptr)() = (int (*)())tgamma;
24304
24305 int
24306 main ()
24307 {
24308   return 0;
24309 }
24310
24311 _ACEOF
24312 if ac_fn_c_try_link "$LINENO"; then :
24313   gcc_cv_math_func_tgamma=yes
24314 else
24315   gcc_cv_math_func_tgamma=no
24316 fi
24317 rm -f core conftest.err conftest.$ac_objext \
24318     conftest$ac_exeext conftest.$ac_ext
24319 fi
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24321 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24322   if test $gcc_cv_math_func_tgamma = yes; then
24323
24324 cat >>confdefs.h <<_ACEOF
24325 #define HAVE_TGAMMA 1
24326 _ACEOF
24327
24328   fi
24329
24330
24331
24332
24333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24334 $as_echo_n "checking for tgammaf... " >&6; }
24335 if test "${gcc_cv_math_func_tgammaf+set}" = set; then :
24336   $as_echo_n "(cached) " >&6
24337 else
24338   if test x$gcc_no_link = xyes; then
24339   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24340 fi
24341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24342 /* end confdefs.h.  */
24343
24344 #ifdef HAVE_COMPLEX_H
24345 #include <complex.h>
24346 #endif
24347 #ifdef HAVE_MATH_H
24348 #include <math.h>
24349 #endif
24350
24351 int (*ptr)() = (int (*)())tgammaf;
24352
24353 int
24354 main ()
24355 {
24356   return 0;
24357 }
24358
24359 _ACEOF
24360 if ac_fn_c_try_link "$LINENO"; then :
24361   gcc_cv_math_func_tgammaf=yes
24362 else
24363   gcc_cv_math_func_tgammaf=no
24364 fi
24365 rm -f core conftest.err conftest.$ac_objext \
24366     conftest$ac_exeext conftest.$ac_ext
24367 fi
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24369 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24370   if test $gcc_cv_math_func_tgammaf = yes; then
24371
24372 cat >>confdefs.h <<_ACEOF
24373 #define HAVE_TGAMMAF 1
24374 _ACEOF
24375
24376   fi
24377
24378
24379
24380
24381   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammal" >&5
24382 $as_echo_n "checking for tgammal... " >&6; }
24383 if test "${gcc_cv_math_func_tgammal+set}" = set; then :
24384   $as_echo_n "(cached) " >&6
24385 else
24386   if test x$gcc_no_link = xyes; then
24387   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24388 fi
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h.  */
24391
24392 #ifdef HAVE_COMPLEX_H
24393 #include <complex.h>
24394 #endif
24395 #ifdef HAVE_MATH_H
24396 #include <math.h>
24397 #endif
24398
24399 int (*ptr)() = (int (*)())tgammal;
24400
24401 int
24402 main ()
24403 {
24404   return 0;
24405 }
24406
24407 _ACEOF
24408 if ac_fn_c_try_link "$LINENO"; then :
24409   gcc_cv_math_func_tgammal=yes
24410 else
24411   gcc_cv_math_func_tgammal=no
24412 fi
24413 rm -f core conftest.err conftest.$ac_objext \
24414     conftest$ac_exeext conftest.$ac_ext
24415 fi
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammal" >&5
24417 $as_echo "$gcc_cv_math_func_tgammal" >&6; }
24418   if test $gcc_cv_math_func_tgammal = yes; then
24419
24420 cat >>confdefs.h <<_ACEOF
24421 #define HAVE_TGAMMAL 1
24422 _ACEOF
24423
24424   fi
24425
24426
24427
24428
24429   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24430 $as_echo_n "checking for lgamma... " >&6; }
24431 if test "${gcc_cv_math_func_lgamma+set}" = set; then :
24432   $as_echo_n "(cached) " >&6
24433 else
24434   if test x$gcc_no_link = xyes; then
24435   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24436 fi
24437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24438 /* end confdefs.h.  */
24439
24440 #ifdef HAVE_COMPLEX_H
24441 #include <complex.h>
24442 #endif
24443 #ifdef HAVE_MATH_H
24444 #include <math.h>
24445 #endif
24446
24447 int (*ptr)() = (int (*)())lgamma;
24448
24449 int
24450 main ()
24451 {
24452   return 0;
24453 }
24454
24455 _ACEOF
24456 if ac_fn_c_try_link "$LINENO"; then :
24457   gcc_cv_math_func_lgamma=yes
24458 else
24459   gcc_cv_math_func_lgamma=no
24460 fi
24461 rm -f core conftest.err conftest.$ac_objext \
24462     conftest$ac_exeext conftest.$ac_ext
24463 fi
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24465 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24466   if test $gcc_cv_math_func_lgamma = yes; then
24467
24468 cat >>confdefs.h <<_ACEOF
24469 #define HAVE_LGAMMA 1
24470 _ACEOF
24471
24472   fi
24473
24474
24475
24476
24477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24478 $as_echo_n "checking for lgammaf... " >&6; }
24479 if test "${gcc_cv_math_func_lgammaf+set}" = set; then :
24480   $as_echo_n "(cached) " >&6
24481 else
24482   if test x$gcc_no_link = xyes; then
24483   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24484 fi
24485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24486 /* end confdefs.h.  */
24487
24488 #ifdef HAVE_COMPLEX_H
24489 #include <complex.h>
24490 #endif
24491 #ifdef HAVE_MATH_H
24492 #include <math.h>
24493 #endif
24494
24495 int (*ptr)() = (int (*)())lgammaf;
24496
24497 int
24498 main ()
24499 {
24500   return 0;
24501 }
24502
24503 _ACEOF
24504 if ac_fn_c_try_link "$LINENO"; then :
24505   gcc_cv_math_func_lgammaf=yes
24506 else
24507   gcc_cv_math_func_lgammaf=no
24508 fi
24509 rm -f core conftest.err conftest.$ac_objext \
24510     conftest$ac_exeext conftest.$ac_ext
24511 fi
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
24513 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
24514   if test $gcc_cv_math_func_lgammaf = yes; then
24515
24516 cat >>confdefs.h <<_ACEOF
24517 #define HAVE_LGAMMAF 1
24518 _ACEOF
24519
24520   fi
24521
24522
24523
24524
24525   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammal" >&5
24526 $as_echo_n "checking for lgammal... " >&6; }
24527 if test "${gcc_cv_math_func_lgammal+set}" = set; then :
24528   $as_echo_n "(cached) " >&6
24529 else
24530   if test x$gcc_no_link = xyes; then
24531   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24532 fi
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h.  */
24535
24536 #ifdef HAVE_COMPLEX_H
24537 #include <complex.h>
24538 #endif
24539 #ifdef HAVE_MATH_H
24540 #include <math.h>
24541 #endif
24542
24543 int (*ptr)() = (int (*)())lgammal;
24544
24545 int
24546 main ()
24547 {
24548   return 0;
24549 }
24550
24551 _ACEOF
24552 if ac_fn_c_try_link "$LINENO"; then :
24553   gcc_cv_math_func_lgammal=yes
24554 else
24555   gcc_cv_math_func_lgammal=no
24556 fi
24557 rm -f core conftest.err conftest.$ac_objext \
24558     conftest$ac_exeext conftest.$ac_ext
24559 fi
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammal" >&5
24561 $as_echo "$gcc_cv_math_func_lgammal" >&6; }
24562   if test $gcc_cv_math_func_lgammal = yes; then
24563
24564 cat >>confdefs.h <<_ACEOF
24565 #define HAVE_LGAMMAL 1
24566 _ACEOF
24567
24568   fi
24569
24570
24571 # Check for GFORTRAN_C99_1.1 funcs
24572
24573
24574
24575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
24576 $as_echo_n "checking for cacos... " >&6; }
24577 if test "${gcc_cv_math_func_cacos+set}" = set; then :
24578   $as_echo_n "(cached) " >&6
24579 else
24580   if test x$gcc_no_link = xyes; then
24581   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24582 fi
24583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24584 /* end confdefs.h.  */
24585
24586 #ifdef HAVE_COMPLEX_H
24587 #include <complex.h>
24588 #endif
24589 #ifdef HAVE_MATH_H
24590 #include <math.h>
24591 #endif
24592
24593 int (*ptr)() = (int (*)())cacos;
24594
24595 int
24596 main ()
24597 {
24598   return 0;
24599 }
24600
24601 _ACEOF
24602 if ac_fn_c_try_link "$LINENO"; then :
24603   gcc_cv_math_func_cacos=yes
24604 else
24605   gcc_cv_math_func_cacos=no
24606 fi
24607 rm -f core conftest.err conftest.$ac_objext \
24608     conftest$ac_exeext conftest.$ac_ext
24609 fi
24610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
24611 $as_echo "$gcc_cv_math_func_cacos" >&6; }
24612   if test $gcc_cv_math_func_cacos = yes; then
24613
24614 cat >>confdefs.h <<_ACEOF
24615 #define HAVE_CACOS 1
24616 _ACEOF
24617
24618   fi
24619
24620
24621
24622
24623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
24624 $as_echo_n "checking for cacosf... " >&6; }
24625 if test "${gcc_cv_math_func_cacosf+set}" = set; then :
24626   $as_echo_n "(cached) " >&6
24627 else
24628   if test x$gcc_no_link = xyes; then
24629   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24630 fi
24631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h.  */
24633
24634 #ifdef HAVE_COMPLEX_H
24635 #include <complex.h>
24636 #endif
24637 #ifdef HAVE_MATH_H
24638 #include <math.h>
24639 #endif
24640
24641 int (*ptr)() = (int (*)())cacosf;
24642
24643 int
24644 main ()
24645 {
24646   return 0;
24647 }
24648
24649 _ACEOF
24650 if ac_fn_c_try_link "$LINENO"; then :
24651   gcc_cv_math_func_cacosf=yes
24652 else
24653   gcc_cv_math_func_cacosf=no
24654 fi
24655 rm -f core conftest.err conftest.$ac_objext \
24656     conftest$ac_exeext conftest.$ac_ext
24657 fi
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
24659 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
24660   if test $gcc_cv_math_func_cacosf = yes; then
24661
24662 cat >>confdefs.h <<_ACEOF
24663 #define HAVE_CACOSF 1
24664 _ACEOF
24665
24666   fi
24667
24668
24669
24670
24671   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
24672 $as_echo_n "checking for cacosh... " >&6; }
24673 if test "${gcc_cv_math_func_cacosh+set}" = set; then :
24674   $as_echo_n "(cached) " >&6
24675 else
24676   if test x$gcc_no_link = xyes; then
24677   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24678 fi
24679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24680 /* end confdefs.h.  */
24681
24682 #ifdef HAVE_COMPLEX_H
24683 #include <complex.h>
24684 #endif
24685 #ifdef HAVE_MATH_H
24686 #include <math.h>
24687 #endif
24688
24689 int (*ptr)() = (int (*)())cacosh;
24690
24691 int
24692 main ()
24693 {
24694   return 0;
24695 }
24696
24697 _ACEOF
24698 if ac_fn_c_try_link "$LINENO"; then :
24699   gcc_cv_math_func_cacosh=yes
24700 else
24701   gcc_cv_math_func_cacosh=no
24702 fi
24703 rm -f core conftest.err conftest.$ac_objext \
24704     conftest$ac_exeext conftest.$ac_ext
24705 fi
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
24707 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
24708   if test $gcc_cv_math_func_cacosh = yes; then
24709
24710 cat >>confdefs.h <<_ACEOF
24711 #define HAVE_CACOSH 1
24712 _ACEOF
24713
24714   fi
24715
24716
24717
24718
24719   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
24720 $as_echo_n "checking for cacoshf... " >&6; }
24721 if test "${gcc_cv_math_func_cacoshf+set}" = set; then :
24722   $as_echo_n "(cached) " >&6
24723 else
24724   if test x$gcc_no_link = xyes; then
24725   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24726 fi
24727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24728 /* end confdefs.h.  */
24729
24730 #ifdef HAVE_COMPLEX_H
24731 #include <complex.h>
24732 #endif
24733 #ifdef HAVE_MATH_H
24734 #include <math.h>
24735 #endif
24736
24737 int (*ptr)() = (int (*)())cacoshf;
24738
24739 int
24740 main ()
24741 {
24742   return 0;
24743 }
24744
24745 _ACEOF
24746 if ac_fn_c_try_link "$LINENO"; then :
24747   gcc_cv_math_func_cacoshf=yes
24748 else
24749   gcc_cv_math_func_cacoshf=no
24750 fi
24751 rm -f core conftest.err conftest.$ac_objext \
24752     conftest$ac_exeext conftest.$ac_ext
24753 fi
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
24755 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
24756   if test $gcc_cv_math_func_cacoshf = yes; then
24757
24758 cat >>confdefs.h <<_ACEOF
24759 #define HAVE_CACOSHF 1
24760 _ACEOF
24761
24762   fi
24763
24764
24765
24766
24767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
24768 $as_echo_n "checking for cacoshl... " >&6; }
24769 if test "${gcc_cv_math_func_cacoshl+set}" = set; then :
24770   $as_echo_n "(cached) " >&6
24771 else
24772   if test x$gcc_no_link = xyes; then
24773   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24774 fi
24775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24776 /* end confdefs.h.  */
24777
24778 #ifdef HAVE_COMPLEX_H
24779 #include <complex.h>
24780 #endif
24781 #ifdef HAVE_MATH_H
24782 #include <math.h>
24783 #endif
24784
24785 int (*ptr)() = (int (*)())cacoshl;
24786
24787 int
24788 main ()
24789 {
24790   return 0;
24791 }
24792
24793 _ACEOF
24794 if ac_fn_c_try_link "$LINENO"; then :
24795   gcc_cv_math_func_cacoshl=yes
24796 else
24797   gcc_cv_math_func_cacoshl=no
24798 fi
24799 rm -f core conftest.err conftest.$ac_objext \
24800     conftest$ac_exeext conftest.$ac_ext
24801 fi
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
24803 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
24804   if test $gcc_cv_math_func_cacoshl = yes; then
24805
24806 cat >>confdefs.h <<_ACEOF
24807 #define HAVE_CACOSHL 1
24808 _ACEOF
24809
24810   fi
24811
24812
24813
24814
24815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
24816 $as_echo_n "checking for cacosl... " >&6; }
24817 if test "${gcc_cv_math_func_cacosl+set}" = set; then :
24818   $as_echo_n "(cached) " >&6
24819 else
24820   if test x$gcc_no_link = xyes; then
24821   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24822 fi
24823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 /* end confdefs.h.  */
24825
24826 #ifdef HAVE_COMPLEX_H
24827 #include <complex.h>
24828 #endif
24829 #ifdef HAVE_MATH_H
24830 #include <math.h>
24831 #endif
24832
24833 int (*ptr)() = (int (*)())cacosl;
24834
24835 int
24836 main ()
24837 {
24838   return 0;
24839 }
24840
24841 _ACEOF
24842 if ac_fn_c_try_link "$LINENO"; then :
24843   gcc_cv_math_func_cacosl=yes
24844 else
24845   gcc_cv_math_func_cacosl=no
24846 fi
24847 rm -f core conftest.err conftest.$ac_objext \
24848     conftest$ac_exeext conftest.$ac_ext
24849 fi
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
24851 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
24852   if test $gcc_cv_math_func_cacosl = yes; then
24853
24854 cat >>confdefs.h <<_ACEOF
24855 #define HAVE_CACOSL 1
24856 _ACEOF
24857
24858   fi
24859
24860
24861
24862
24863   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
24864 $as_echo_n "checking for casin... " >&6; }
24865 if test "${gcc_cv_math_func_casin+set}" = set; then :
24866   $as_echo_n "(cached) " >&6
24867 else
24868   if test x$gcc_no_link = xyes; then
24869   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24870 fi
24871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24872 /* end confdefs.h.  */
24873
24874 #ifdef HAVE_COMPLEX_H
24875 #include <complex.h>
24876 #endif
24877 #ifdef HAVE_MATH_H
24878 #include <math.h>
24879 #endif
24880
24881 int (*ptr)() = (int (*)())casin;
24882
24883 int
24884 main ()
24885 {
24886   return 0;
24887 }
24888
24889 _ACEOF
24890 if ac_fn_c_try_link "$LINENO"; then :
24891   gcc_cv_math_func_casin=yes
24892 else
24893   gcc_cv_math_func_casin=no
24894 fi
24895 rm -f core conftest.err conftest.$ac_objext \
24896     conftest$ac_exeext conftest.$ac_ext
24897 fi
24898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
24899 $as_echo "$gcc_cv_math_func_casin" >&6; }
24900   if test $gcc_cv_math_func_casin = yes; then
24901
24902 cat >>confdefs.h <<_ACEOF
24903 #define HAVE_CASIN 1
24904 _ACEOF
24905
24906   fi
24907
24908
24909
24910
24911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
24912 $as_echo_n "checking for casinf... " >&6; }
24913 if test "${gcc_cv_math_func_casinf+set}" = set; then :
24914   $as_echo_n "(cached) " >&6
24915 else
24916   if test x$gcc_no_link = xyes; then
24917   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24918 fi
24919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24920 /* end confdefs.h.  */
24921
24922 #ifdef HAVE_COMPLEX_H
24923 #include <complex.h>
24924 #endif
24925 #ifdef HAVE_MATH_H
24926 #include <math.h>
24927 #endif
24928
24929 int (*ptr)() = (int (*)())casinf;
24930
24931 int
24932 main ()
24933 {
24934   return 0;
24935 }
24936
24937 _ACEOF
24938 if ac_fn_c_try_link "$LINENO"; then :
24939   gcc_cv_math_func_casinf=yes
24940 else
24941   gcc_cv_math_func_casinf=no
24942 fi
24943 rm -f core conftest.err conftest.$ac_objext \
24944     conftest$ac_exeext conftest.$ac_ext
24945 fi
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
24947 $as_echo "$gcc_cv_math_func_casinf" >&6; }
24948   if test $gcc_cv_math_func_casinf = yes; then
24949
24950 cat >>confdefs.h <<_ACEOF
24951 #define HAVE_CASINF 1
24952 _ACEOF
24953
24954   fi
24955
24956
24957
24958
24959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
24960 $as_echo_n "checking for casinh... " >&6; }
24961 if test "${gcc_cv_math_func_casinh+set}" = set; then :
24962   $as_echo_n "(cached) " >&6
24963 else
24964   if test x$gcc_no_link = xyes; then
24965   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24966 fi
24967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24968 /* end confdefs.h.  */
24969
24970 #ifdef HAVE_COMPLEX_H
24971 #include <complex.h>
24972 #endif
24973 #ifdef HAVE_MATH_H
24974 #include <math.h>
24975 #endif
24976
24977 int (*ptr)() = (int (*)())casinh;
24978
24979 int
24980 main ()
24981 {
24982   return 0;
24983 }
24984
24985 _ACEOF
24986 if ac_fn_c_try_link "$LINENO"; then :
24987   gcc_cv_math_func_casinh=yes
24988 else
24989   gcc_cv_math_func_casinh=no
24990 fi
24991 rm -f core conftest.err conftest.$ac_objext \
24992     conftest$ac_exeext conftest.$ac_ext
24993 fi
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
24995 $as_echo "$gcc_cv_math_func_casinh" >&6; }
24996   if test $gcc_cv_math_func_casinh = yes; then
24997
24998 cat >>confdefs.h <<_ACEOF
24999 #define HAVE_CASINH 1
25000 _ACEOF
25001
25002   fi
25003
25004
25005
25006
25007   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25008 $as_echo_n "checking for casinhf... " >&6; }
25009 if test "${gcc_cv_math_func_casinhf+set}" = set; then :
25010   $as_echo_n "(cached) " >&6
25011 else
25012   if test x$gcc_no_link = xyes; then
25013   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25014 fi
25015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25016 /* end confdefs.h.  */
25017
25018 #ifdef HAVE_COMPLEX_H
25019 #include <complex.h>
25020 #endif
25021 #ifdef HAVE_MATH_H
25022 #include <math.h>
25023 #endif
25024
25025 int (*ptr)() = (int (*)())casinhf;
25026
25027 int
25028 main ()
25029 {
25030   return 0;
25031 }
25032
25033 _ACEOF
25034 if ac_fn_c_try_link "$LINENO"; then :
25035   gcc_cv_math_func_casinhf=yes
25036 else
25037   gcc_cv_math_func_casinhf=no
25038 fi
25039 rm -f core conftest.err conftest.$ac_objext \
25040     conftest$ac_exeext conftest.$ac_ext
25041 fi
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25043 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25044   if test $gcc_cv_math_func_casinhf = yes; then
25045
25046 cat >>confdefs.h <<_ACEOF
25047 #define HAVE_CASINHF 1
25048 _ACEOF
25049
25050   fi
25051
25052
25053
25054
25055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25056 $as_echo_n "checking for casinhl... " >&6; }
25057 if test "${gcc_cv_math_func_casinhl+set}" = set; then :
25058   $as_echo_n "(cached) " >&6
25059 else
25060   if test x$gcc_no_link = xyes; then
25061   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25062 fi
25063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25064 /* end confdefs.h.  */
25065
25066 #ifdef HAVE_COMPLEX_H
25067 #include <complex.h>
25068 #endif
25069 #ifdef HAVE_MATH_H
25070 #include <math.h>
25071 #endif
25072
25073 int (*ptr)() = (int (*)())casinhl;
25074
25075 int
25076 main ()
25077 {
25078   return 0;
25079 }
25080
25081 _ACEOF
25082 if ac_fn_c_try_link "$LINENO"; then :
25083   gcc_cv_math_func_casinhl=yes
25084 else
25085   gcc_cv_math_func_casinhl=no
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext \
25088     conftest$ac_exeext conftest.$ac_ext
25089 fi
25090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25091 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25092   if test $gcc_cv_math_func_casinhl = yes; then
25093
25094 cat >>confdefs.h <<_ACEOF
25095 #define HAVE_CASINHL 1
25096 _ACEOF
25097
25098   fi
25099
25100
25101
25102
25103   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25104 $as_echo_n "checking for casinl... " >&6; }
25105 if test "${gcc_cv_math_func_casinl+set}" = set; then :
25106   $as_echo_n "(cached) " >&6
25107 else
25108   if test x$gcc_no_link = xyes; then
25109   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25110 fi
25111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25112 /* end confdefs.h.  */
25113
25114 #ifdef HAVE_COMPLEX_H
25115 #include <complex.h>
25116 #endif
25117 #ifdef HAVE_MATH_H
25118 #include <math.h>
25119 #endif
25120
25121 int (*ptr)() = (int (*)())casinl;
25122
25123 int
25124 main ()
25125 {
25126   return 0;
25127 }
25128
25129 _ACEOF
25130 if ac_fn_c_try_link "$LINENO"; then :
25131   gcc_cv_math_func_casinl=yes
25132 else
25133   gcc_cv_math_func_casinl=no
25134 fi
25135 rm -f core conftest.err conftest.$ac_objext \
25136     conftest$ac_exeext conftest.$ac_ext
25137 fi
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25139 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25140   if test $gcc_cv_math_func_casinl = yes; then
25141
25142 cat >>confdefs.h <<_ACEOF
25143 #define HAVE_CASINL 1
25144 _ACEOF
25145
25146   fi
25147
25148
25149
25150
25151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25152 $as_echo_n "checking for catan... " >&6; }
25153 if test "${gcc_cv_math_func_catan+set}" = set; then :
25154   $as_echo_n "(cached) " >&6
25155 else
25156   if test x$gcc_no_link = xyes; then
25157   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25158 fi
25159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25160 /* end confdefs.h.  */
25161
25162 #ifdef HAVE_COMPLEX_H
25163 #include <complex.h>
25164 #endif
25165 #ifdef HAVE_MATH_H
25166 #include <math.h>
25167 #endif
25168
25169 int (*ptr)() = (int (*)())catan;
25170
25171 int
25172 main ()
25173 {
25174   return 0;
25175 }
25176
25177 _ACEOF
25178 if ac_fn_c_try_link "$LINENO"; then :
25179   gcc_cv_math_func_catan=yes
25180 else
25181   gcc_cv_math_func_catan=no
25182 fi
25183 rm -f core conftest.err conftest.$ac_objext \
25184     conftest$ac_exeext conftest.$ac_ext
25185 fi
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25187 $as_echo "$gcc_cv_math_func_catan" >&6; }
25188   if test $gcc_cv_math_func_catan = yes; then
25189
25190 cat >>confdefs.h <<_ACEOF
25191 #define HAVE_CATAN 1
25192 _ACEOF
25193
25194   fi
25195
25196
25197
25198
25199   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25200 $as_echo_n "checking for catanf... " >&6; }
25201 if test "${gcc_cv_math_func_catanf+set}" = set; then :
25202   $as_echo_n "(cached) " >&6
25203 else
25204   if test x$gcc_no_link = xyes; then
25205   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25206 fi
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h.  */
25209
25210 #ifdef HAVE_COMPLEX_H
25211 #include <complex.h>
25212 #endif
25213 #ifdef HAVE_MATH_H
25214 #include <math.h>
25215 #endif
25216
25217 int (*ptr)() = (int (*)())catanf;
25218
25219 int
25220 main ()
25221 {
25222   return 0;
25223 }
25224
25225 _ACEOF
25226 if ac_fn_c_try_link "$LINENO"; then :
25227   gcc_cv_math_func_catanf=yes
25228 else
25229   gcc_cv_math_func_catanf=no
25230 fi
25231 rm -f core conftest.err conftest.$ac_objext \
25232     conftest$ac_exeext conftest.$ac_ext
25233 fi
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25235 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25236   if test $gcc_cv_math_func_catanf = yes; then
25237
25238 cat >>confdefs.h <<_ACEOF
25239 #define HAVE_CATANF 1
25240 _ACEOF
25241
25242   fi
25243
25244
25245
25246
25247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25248 $as_echo_n "checking for catanh... " >&6; }
25249 if test "${gcc_cv_math_func_catanh+set}" = set; then :
25250   $as_echo_n "(cached) " >&6
25251 else
25252   if test x$gcc_no_link = xyes; then
25253   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25254 fi
25255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256 /* end confdefs.h.  */
25257
25258 #ifdef HAVE_COMPLEX_H
25259 #include <complex.h>
25260 #endif
25261 #ifdef HAVE_MATH_H
25262 #include <math.h>
25263 #endif
25264
25265 int (*ptr)() = (int (*)())catanh;
25266
25267 int
25268 main ()
25269 {
25270   return 0;
25271 }
25272
25273 _ACEOF
25274 if ac_fn_c_try_link "$LINENO"; then :
25275   gcc_cv_math_func_catanh=yes
25276 else
25277   gcc_cv_math_func_catanh=no
25278 fi
25279 rm -f core conftest.err conftest.$ac_objext \
25280     conftest$ac_exeext conftest.$ac_ext
25281 fi
25282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25283 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25284   if test $gcc_cv_math_func_catanh = yes; then
25285
25286 cat >>confdefs.h <<_ACEOF
25287 #define HAVE_CATANH 1
25288 _ACEOF
25289
25290   fi
25291
25292
25293
25294
25295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25296 $as_echo_n "checking for catanhf... " >&6; }
25297 if test "${gcc_cv_math_func_catanhf+set}" = set; then :
25298   $as_echo_n "(cached) " >&6
25299 else
25300   if test x$gcc_no_link = xyes; then
25301   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25302 fi
25303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25304 /* end confdefs.h.  */
25305
25306 #ifdef HAVE_COMPLEX_H
25307 #include <complex.h>
25308 #endif
25309 #ifdef HAVE_MATH_H
25310 #include <math.h>
25311 #endif
25312
25313 int (*ptr)() = (int (*)())catanhf;
25314
25315 int
25316 main ()
25317 {
25318   return 0;
25319 }
25320
25321 _ACEOF
25322 if ac_fn_c_try_link "$LINENO"; then :
25323   gcc_cv_math_func_catanhf=yes
25324 else
25325   gcc_cv_math_func_catanhf=no
25326 fi
25327 rm -f core conftest.err conftest.$ac_objext \
25328     conftest$ac_exeext conftest.$ac_ext
25329 fi
25330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25331 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25332   if test $gcc_cv_math_func_catanhf = yes; then
25333
25334 cat >>confdefs.h <<_ACEOF
25335 #define HAVE_CATANHF 1
25336 _ACEOF
25337
25338   fi
25339
25340
25341
25342
25343   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25344 $as_echo_n "checking for catanhl... " >&6; }
25345 if test "${gcc_cv_math_func_catanhl+set}" = set; then :
25346   $as_echo_n "(cached) " >&6
25347 else
25348   if test x$gcc_no_link = xyes; then
25349   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25350 fi
25351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25352 /* end confdefs.h.  */
25353
25354 #ifdef HAVE_COMPLEX_H
25355 #include <complex.h>
25356 #endif
25357 #ifdef HAVE_MATH_H
25358 #include <math.h>
25359 #endif
25360
25361 int (*ptr)() = (int (*)())catanhl;
25362
25363 int
25364 main ()
25365 {
25366   return 0;
25367 }
25368
25369 _ACEOF
25370 if ac_fn_c_try_link "$LINENO"; then :
25371   gcc_cv_math_func_catanhl=yes
25372 else
25373   gcc_cv_math_func_catanhl=no
25374 fi
25375 rm -f core conftest.err conftest.$ac_objext \
25376     conftest$ac_exeext conftest.$ac_ext
25377 fi
25378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25379 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25380   if test $gcc_cv_math_func_catanhl = yes; then
25381
25382 cat >>confdefs.h <<_ACEOF
25383 #define HAVE_CATANHL 1
25384 _ACEOF
25385
25386   fi
25387
25388
25389
25390
25391   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25392 $as_echo_n "checking for catanl... " >&6; }
25393 if test "${gcc_cv_math_func_catanl+set}" = set; then :
25394   $as_echo_n "(cached) " >&6
25395 else
25396   if test x$gcc_no_link = xyes; then
25397   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25398 fi
25399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h.  */
25401
25402 #ifdef HAVE_COMPLEX_H
25403 #include <complex.h>
25404 #endif
25405 #ifdef HAVE_MATH_H
25406 #include <math.h>
25407 #endif
25408
25409 int (*ptr)() = (int (*)())catanl;
25410
25411 int
25412 main ()
25413 {
25414   return 0;
25415 }
25416
25417 _ACEOF
25418 if ac_fn_c_try_link "$LINENO"; then :
25419   gcc_cv_math_func_catanl=yes
25420 else
25421   gcc_cv_math_func_catanl=no
25422 fi
25423 rm -f core conftest.err conftest.$ac_objext \
25424     conftest$ac_exeext conftest.$ac_ext
25425 fi
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25427 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25428   if test $gcc_cv_math_func_catanl = yes; then
25429
25430 cat >>confdefs.h <<_ACEOF
25431 #define HAVE_CATANL 1
25432 _ACEOF
25433
25434   fi
25435
25436
25437 # On AIX, clog is present in libm as __clog
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
25439 $as_echo_n "checking for __clog in -lm... " >&6; }
25440 if test "${ac_cv_lib_m___clog+set}" = set; then :
25441   $as_echo_n "(cached) " >&6
25442 else
25443   ac_check_lib_save_LIBS=$LIBS
25444 LIBS="-lm  $LIBS"
25445 if test x$gcc_no_link = xyes; then
25446   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25447 fi
25448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25449 /* end confdefs.h.  */
25450
25451 /* Override any GCC internal prototype to avoid an error.
25452    Use char because int might match the return type of a GCC
25453    builtin and then its argument prototype would still apply.  */
25454 #ifdef __cplusplus
25455 extern "C"
25456 #endif
25457 char __clog ();
25458 int
25459 main ()
25460 {
25461 return __clog ();
25462   ;
25463   return 0;
25464 }
25465 _ACEOF
25466 if ac_fn_c_try_link "$LINENO"; then :
25467   ac_cv_lib_m___clog=yes
25468 else
25469   ac_cv_lib_m___clog=no
25470 fi
25471 rm -f core conftest.err conftest.$ac_objext \
25472     conftest$ac_exeext conftest.$ac_ext
25473 LIBS=$ac_check_lib_save_LIBS
25474 fi
25475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
25476 $as_echo "$ac_cv_lib_m___clog" >&6; }
25477 if test "x$ac_cv_lib_m___clog" = x""yes; then :
25478
25479 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
25480
25481 fi
25482
25483
25484 # Check whether the system has a working stat()
25485
25486   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
25487 $as_echo_n "checking whether the target stat is reliable... " >&6; }
25488 if test "${libgfor_cv_have_working_stat+set}" = set; then :
25489   $as_echo_n "(cached) " >&6
25490 else
25491
25492   if test "$cross_compiling" = yes; then :
25493
25494 case "${target}" in
25495   *mingw*) libgfor_cv_have_working_stat=no ;;
25496   *) libgfor_cv_have_working_stat=yes;;
25497 esac
25498 else
25499   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25500 /* end confdefs.h.  */
25501
25502 #include <stdio.h>
25503 #include <sys/types.h>
25504 #include <sys/stat.h>
25505 #include <unistd.h>
25506
25507 int main ()
25508 {
25509   FILE *f, *g;
25510   struct stat st1, st2;
25511
25512   f = fopen ("foo", "w");
25513   g = fopen ("bar", "w");
25514   if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
25515     return 1;
25516   if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
25517     return 1;
25518   fclose(f);
25519   fclose(g);
25520   return 0;
25521 }
25522 _ACEOF
25523 if ac_fn_c_try_run "$LINENO"; then :
25524   libgfor_cv_have_working_stat=yes
25525 else
25526   libgfor_cv_have_working_stat=no
25527 fi
25528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25529   conftest.$ac_objext conftest.beam conftest.$ac_ext
25530 fi
25531
25532 fi
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
25534 $as_echo "$libgfor_cv_have_working_stat" >&6; }
25535 if test x"$libgfor_cv_have_working_stat" = xyes; then
25536
25537 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
25538
25539 fi
25540
25541 # Check whether __mingw_snprintf() is present
25542
25543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
25544 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
25545 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then :
25546   $as_echo_n "(cached) " >&6
25547 else
25548
25549     if test x$gcc_no_link = xyes; then
25550   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25551 fi
25552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h.  */
25554
25555 #include <stdio.h>
25556 extern int __mingw_snprintf (char *, size_t, const char *, ...);
25557
25558 int
25559 main ()
25560 {
25561
25562 __mingw_snprintf (NULL, 0, "%d\n", 1);
25563
25564   ;
25565   return 0;
25566 }
25567 _ACEOF
25568 if ac_fn_c_try_link "$LINENO"; then :
25569   eval "libgfor_cv_have_mingw_snprintf=yes"
25570 else
25571   eval "libgfor_cv_have_mingw_snprintf=no"
25572 fi
25573 rm -f core conftest.err conftest.$ac_objext \
25574     conftest$ac_exeext conftest.$ac_ext
25575
25576 fi
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
25578 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
25579   if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
25580
25581 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
25582
25583   fi
25584
25585
25586 # Check for a broken powf implementation
25587
25588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether powf is broken" >&5
25589 $as_echo_n "checking whether powf is broken... " >&6; }
25590 if test "${libgfor_cv_have_broken_powf+set}" = set; then :
25591   $as_echo_n "(cached) " >&6
25592 else
25593
25594 case "${target}" in
25595   hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
25596   *) libgfor_cv_have_broken_powf=no;;
25597 esac
25598 fi
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_broken_powf" >&5
25600 $as_echo "$libgfor_cv_have_broken_powf" >&6; }
25601   if test x"$libgfor_cv_have_broken_powf" = xyes; then
25602
25603 $as_echo "#define HAVE_BROKEN_POWF 1" >>confdefs.h
25604
25605   fi
25606
25607
25608 # Check whether libquadmath should be used
25609 # Check whether --enable-libquadmath-support was given.
25610 if test "${enable_libquadmath_support+set}" = set; then :
25611   enableval=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT=$enableval
25612 else
25613   ENABLE_LIBQUADMATH_SUPPORT=yes
25614 fi
25615
25616 enable_libquadmath_support=
25617 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
25618   enable_libquadmath_support=no
25619 fi
25620
25621 # Check whether we have a __float128 type, depends on enable_libquadmath_support
25622
25623   LIBQUADSPEC=
25624
25625   if test "x$enable_libquadmath_support" != xno; then
25626
25627   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable __float128 type" >&5
25628 $as_echo_n "checking whether we have a usable __float128 type... " >&6; }
25629 if test "${libgfor_cv_have_float128+set}" = set; then :
25630   $as_echo_n "(cached) " >&6
25631 else
25632
25633    if test x$gcc_no_link = xyes; then
25634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25635 /* end confdefs.h.  */
25636
25637     typedef _Complex float __attribute__((mode(TC))) __complex128;
25638
25639     __float128 foo (__float128 x)
25640     {
25641
25642      __complex128 z1, z2;
25643
25644      z1 = x;
25645      z2 = x / 7.Q;
25646      z2 /= z1;
25647
25648      return (__float128) z2;
25649     }
25650
25651     __float128 bar (__float128 x)
25652     {
25653       return x * __builtin_huge_valq ();
25654     }
25655
25656 int
25657 main ()
25658 {
25659
25660     foo (1.2Q);
25661     bar (1.2Q);
25662
25663   ;
25664   return 0;
25665 }
25666 _ACEOF
25667 if ac_fn_c_try_compile "$LINENO"; then :
25668
25669     libgfor_cv_have_float128=yes
25670
25671 else
25672
25673     libgfor_cv_have_float128=no
25674
25675 fi
25676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25677 else
25678   if test x$gcc_no_link = xyes; then
25679   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25680 fi
25681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25682 /* end confdefs.h.  */
25683
25684     typedef _Complex float __attribute__((mode(TC))) __complex128;
25685
25686     __float128 foo (__float128 x)
25687     {
25688
25689      __complex128 z1, z2;
25690
25691      z1 = x;
25692      z2 = x / 7.Q;
25693      z2 /= z1;
25694
25695      return (__float128) z2;
25696     }
25697
25698     __float128 bar (__float128 x)
25699     {
25700       return x * __builtin_huge_valq ();
25701     }
25702
25703 int
25704 main ()
25705 {
25706
25707     foo (1.2Q);
25708     bar (1.2Q);
25709
25710   ;
25711   return 0;
25712 }
25713 _ACEOF
25714 if ac_fn_c_try_link "$LINENO"; then :
25715
25716     libgfor_cv_have_float128=yes
25717
25718 else
25719
25720     libgfor_cv_have_float128=no
25721
25722 fi
25723 rm -f core conftest.err conftest.$ac_objext \
25724     conftest$ac_exeext conftest.$ac_ext
25725 fi
25726 fi
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
25728 $as_echo "$libgfor_cv_have_float128" >&6; }
25729
25730   if test "x$libgfor_cv_have_float128" = xyes; then
25731
25732 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
25733
25734
25735                                 ac_xsave_c_werror_flag=$ac_c_werror_flag
25736     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed works" >&5
25737 $as_echo_n "checking whether --as-needed works... " >&6; }
25738 if test "${libgfor_cv_have_as_needed+set}" = set; then :
25739   $as_echo_n "(cached) " >&6
25740 else
25741
25742       save_LDFLAGS="$LDFLAGS"
25743       LDFLAGS="$LDFLAGS -Wl,--as-needed -lm -Wl,--no-as-needed"
25744       libgfor_cv_have_as_needed=no
25745
25746 ac_c_werror_flag=yes
25747       if test x$gcc_no_link = xyes; then
25748   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25749 fi
25750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25751 /* end confdefs.h.  */
25752
25753 int
25754 main ()
25755 {
25756
25757   ;
25758   return 0;
25759 }
25760 _ACEOF
25761 if ac_fn_c_try_link "$LINENO"; then :
25762   libgfor_cv_have_as_needed=yes
25763 else
25764   libgfor_cv_have_as_needed=no
25765 fi
25766 rm -f core conftest.err conftest.$ac_objext \
25767     conftest$ac_exeext conftest.$ac_ext
25768       LDFLAGS="$save_LDFLAGS"
25769       ac_c_werror_flag=$ac_xsave_c_werror_flag
25770
25771 fi
25772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
25773 $as_echo "$libgfor_cv_have_as_needed" >&6; }
25774
25775         if test "x$libgfor_cv_have_as_needed" = xyes; then
25776       LIBQUADSPEC="%{static-libgfortran:--as-needed} -lquadmath %{static-libgfortran:--no-as-needed}"
25777     else
25778       LIBQUADSPEC="-lquadmath"
25779     fi
25780     if test -f ../libquadmath/libquadmath.la; then
25781       LIBQUADLIB=../libquadmath/libquadmath.la
25782       LIBQUADLIB_DEP=../libquadmath/libquadmath.la
25783       LIBQUADINCLUDE='-I$(srcdir)/../libquadmath'
25784     else
25785       LIBQUADLIB="-lquadmath"
25786       LIBQUADLIB_DEP=
25787       LIBQUADINCLUDE=
25788     fi
25789   fi
25790   else
25791     # for --disable-quadmath
25792     LIBQUADLIB=
25793     LIBQUADLIB_DEP=
25794     LIBQUADINCLUDE=
25795   fi
25796
25797
25798
25799
25800
25801
25802      if test "x$libgfor_cv_have_float128" = xyes; then
25803   LIBGFOR_BUILD_QUAD_TRUE=
25804   LIBGFOR_BUILD_QUAD_FALSE='#'
25805 else
25806   LIBGFOR_BUILD_QUAD_TRUE='#'
25807   LIBGFOR_BUILD_QUAD_FALSE=
25808 fi
25809
25810
25811
25812 # Check for GNU libc feenableexcept
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
25814 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
25815 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then :
25816   $as_echo_n "(cached) " >&6
25817 else
25818   ac_check_lib_save_LIBS=$LIBS
25819 LIBS="-lm  $LIBS"
25820 if test x$gcc_no_link = xyes; then
25821   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25822 fi
25823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25824 /* end confdefs.h.  */
25825
25826 /* Override any GCC internal prototype to avoid an error.
25827    Use char because int might match the return type of a GCC
25828    builtin and then its argument prototype would still apply.  */
25829 #ifdef __cplusplus
25830 extern "C"
25831 #endif
25832 char feenableexcept ();
25833 int
25834 main ()
25835 {
25836 return feenableexcept ();
25837   ;
25838   return 0;
25839 }
25840 _ACEOF
25841 if ac_fn_c_try_link "$LINENO"; then :
25842   ac_cv_lib_m_feenableexcept=yes
25843 else
25844   ac_cv_lib_m_feenableexcept=no
25845 fi
25846 rm -f core conftest.err conftest.$ac_objext \
25847     conftest$ac_exeext conftest.$ac_ext
25848 LIBS=$ac_check_lib_save_LIBS
25849 fi
25850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
25851 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
25852 if test "x$ac_cv_lib_m_feenableexcept" = x""yes; then :
25853   have_feenableexcept=yes
25854 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
25855
25856 fi
25857
25858
25859 # At least for glibc, clock_gettime is in librt.  But don't
25860 # pull that in if it still doesn't give us the function we want.  This
25861 # test is copied from libgomp, and modified to not link in -lrt as
25862 # libgfortran calls clock_gettime via a weak reference if it's found
25863 # in librt.
25864 if test $ac_cv_func_clock_gettime = no; then
25865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
25866 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
25867 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
25868   $as_echo_n "(cached) " >&6
25869 else
25870   ac_check_lib_save_LIBS=$LIBS
25871 LIBS="-lrt  $LIBS"
25872 if test x$gcc_no_link = xyes; then
25873   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25874 fi
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h.  */
25877
25878 /* Override any GCC internal prototype to avoid an error.
25879    Use char because int might match the return type of a GCC
25880    builtin and then its argument prototype would still apply.  */
25881 #ifdef __cplusplus
25882 extern "C"
25883 #endif
25884 char clock_gettime ();
25885 int
25886 main ()
25887 {
25888 return clock_gettime ();
25889   ;
25890   return 0;
25891 }
25892 _ACEOF
25893 if ac_fn_c_try_link "$LINENO"; then :
25894   ac_cv_lib_rt_clock_gettime=yes
25895 else
25896   ac_cv_lib_rt_clock_gettime=no
25897 fi
25898 rm -f core conftest.err conftest.$ac_objext \
25899     conftest$ac_exeext conftest.$ac_ext
25900 LIBS=$ac_check_lib_save_LIBS
25901 fi
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
25903 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
25904 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
25905
25906 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
25907
25908 fi
25909
25910 fi
25911
25912 # Check for SysV fpsetmask
25913
25914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
25915 $as_echo_n "checking whether fpsetmask is present... " >&6; }
25916 if test "${libgfor_cv_have_fpsetmask+set}" = set; then :
25917   $as_echo_n "(cached) " >&6
25918 else
25919
25920     if test x$gcc_no_link = xyes; then
25921   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25922 fi
25923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25924 /* end confdefs.h.  */
25925
25926 #if HAVE_FLOATINGPOINT_H
25927 # include <floatingpoint.h>
25928 #endif /* HAVE_FLOATINGPOINT_H */
25929 #if HAVE_IEEEFP_H
25930 # include <ieeefp.h>
25931 #endif /* HAVE_IEEEFP_H */
25932 int
25933 main ()
25934 {
25935 fpsetmask(0);
25936   ;
25937   return 0;
25938 }
25939 _ACEOF
25940 if ac_fn_c_try_link "$LINENO"; then :
25941   eval "libgfor_cv_have_fpsetmask=yes"
25942 else
25943   eval "libgfor_cv_have_fpsetmask=no"
25944 fi
25945 rm -f core conftest.err conftest.$ac_objext \
25946     conftest$ac_exeext conftest.$ac_ext
25947
25948 fi
25949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
25950 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
25951   if test x"$libgfor_cv_have_fpsetmask" = xyes; then
25952     have_fpsetmask=yes
25953
25954 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
25955
25956   fi
25957
25958
25959 # Check for AIX fp_trap and fp_enable
25960 ac_fn_c_check_func "$LINENO" "fp_trap" "ac_cv_func_fp_trap"
25961 if test "x$ac_cv_func_fp_trap" = x""yes; then :
25962   have_fp_trap=yes
25963 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
25964
25965 fi
25966
25967 ac_fn_c_check_func "$LINENO" "fp_enable" "ac_cv_func_fp_enable"
25968 if test "x$ac_cv_func_fp_enable" = x""yes; then :
25969   have_fp_enable=yes
25970 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
25971
25972 fi
25973
25974
25975 # Runs configure.host to set up necessary host-dependent shell variables.
25976 # We then display a message about it, and propagate them through the
25977 # build chain.
25978 . ${srcdir}/configure.host
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
25980 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
25981 FPU_HOST_HEADER=config/${fpu_host}.h
25982
25983
25984 # Some targets require additional compiler options for IEEE compatibility.
25985 IEEE_FLAGS="${ieee_flags}"
25986
25987
25988
25989 # Check for POSIX getpwuid_r
25990 #
25991 # There are two versions of getpwuid_r, the POSIX one with 5
25992 # arguments, and another one with 4 arguments used by at least HP-UX
25993 # 10.2.
25994 if test "$ac_cv_func_getpwuid_r" = "yes"; then
25995    { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
25996 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
25997 if test "${libgfor_cv_posix_getpwuid_r+set}" = set; then :
25998   $as_echo_n "(cached) " >&6
25999 else
26000
26001    if test x$gcc_no_link = xyes; then
26002   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26003 fi
26004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26005 /* end confdefs.h.  */
26006
26007 #include <stdio.h>
26008 #include <sys/types.h>
26009 #include <pwd.h>
26010 int
26011 main ()
26012 {
26013
26014     getpwuid_r(0, NULL, NULL, 0, NULL);
26015
26016   ;
26017   return 0;
26018 }
26019 _ACEOF
26020 if ac_fn_c_try_link "$LINENO"; then :
26021   libgfor_cv_posix_getpwuid_r="yes"
26022 else
26023   libgfor_cv_posix_getpwuid_r="no"
26024 fi
26025 rm -f core conftest.err conftest.$ac_objext \
26026     conftest$ac_exeext conftest.$ac_ext
26027 fi
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
26029 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
26030 fi
26031 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
26032
26033 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
26034
26035 fi
26036
26037
26038 # Check out attribute support.
26039
26040   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
26041 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
26042 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then :
26043   $as_echo_n "(cached) " >&6
26044 else
26045
26046   save_CFLAGS="$CFLAGS"
26047   CFLAGS="$CFLAGS -Werror"
26048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26049 /* end confdefs.h.  */
26050 void __attribute__((visibility("hidden"))) foo(void) { }
26051 int
26052 main ()
26053 {
26054
26055   ;
26056   return 0;
26057 }
26058 _ACEOF
26059 if ac_fn_c_try_compile "$LINENO"; then :
26060   libgfor_cv_have_attribute_visibility=yes
26061 else
26062   libgfor_cv_have_attribute_visibility=no
26063 fi
26064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26065   CFLAGS="$save_CFLAGS"
26066 fi
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
26068 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
26069   if test $libgfor_cv_have_attribute_visibility = yes; then
26070
26071 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
26072
26073   fi
26074
26075   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports dllexport" >&5
26076 $as_echo_n "checking whether the target supports dllexport... " >&6; }
26077 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then :
26078   $as_echo_n "(cached) " >&6
26079 else
26080
26081   save_CFLAGS="$CFLAGS"
26082   CFLAGS="$CFLAGS -Werror"
26083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26084 /* end confdefs.h.  */
26085 void __attribute__((dllexport)) foo(void) { }
26086 int
26087 main ()
26088 {
26089
26090   ;
26091   return 0;
26092 }
26093 _ACEOF
26094 if ac_fn_c_try_compile "$LINENO"; then :
26095   libgfor_cv_have_attribute_dllexport=yes
26096 else
26097   libgfor_cv_have_attribute_dllexport=no
26098 fi
26099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26100   CFLAGS="$save_CFLAGS"
26101 fi
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_dllexport" >&5
26103 $as_echo "$libgfor_cv_have_attribute_dllexport" >&6; }
26104   if test $libgfor_cv_have_attribute_dllexport = yes; then
26105
26106 $as_echo "#define HAVE_ATTRIBUTE_DLLEXPORT 1" >>confdefs.h
26107
26108   fi
26109
26110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
26111 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
26112 if test "${libgfor_cv_have_attribute_alias+set}" = set; then :
26113   $as_echo_n "(cached) " >&6
26114 else
26115
26116   if test x$gcc_no_link = xyes; then
26117   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26118 fi
26119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26120 /* end confdefs.h.  */
26121
26122 void foo(void) { }
26123 extern void bar(void) __attribute__((alias("foo")));
26124 int
26125 main ()
26126 {
26127 bar();
26128   ;
26129   return 0;
26130 }
26131 _ACEOF
26132 if ac_fn_c_try_link "$LINENO"; then :
26133   libgfor_cv_have_attribute_alias=yes
26134 else
26135   libgfor_cv_have_attribute_alias=no
26136 fi
26137 rm -f core conftest.err conftest.$ac_objext \
26138     conftest$ac_exeext conftest.$ac_ext
26139 fi
26140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
26141 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
26142   if test $libgfor_cv_have_attribute_alias = yes; then
26143
26144 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
26145
26146   fi
26147
26148 # Check out sync builtins support.
26149
26150   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __sync_fetch_and_add" >&5
26151 $as_echo_n "checking whether the target supports __sync_fetch_and_add... " >&6; }
26152 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then :
26153   $as_echo_n "(cached) " >&6
26154 else
26155
26156   if test x$gcc_no_link = xyes; then
26157   as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26158 fi
26159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26160 /* end confdefs.h.  */
26161 int foovar = 0;
26162 int
26163 main ()
26164 {
26165
26166 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
26167 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
26168   ;
26169   return 0;
26170 }
26171 _ACEOF
26172 if ac_fn_c_try_link "$LINENO"; then :
26173   libgfor_cv_have_sync_fetch_and_add=yes
26174 else
26175   libgfor_cv_have_sync_fetch_and_add=no
26176 fi
26177 rm -f core conftest.err conftest.$ac_objext \
26178     conftest$ac_exeext conftest.$ac_ext
26179 fi
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_sync_fetch_and_add" >&5
26181 $as_echo "$libgfor_cv_have_sync_fetch_and_add" >&6; }
26182   if test $libgfor_cv_have_sync_fetch_and_add = yes; then
26183
26184 $as_echo "#define HAVE_SYNC_FETCH_AND_ADD 1" >>confdefs.h
26185
26186   fi
26187
26188 # Check out #pragma weak.
26189
26190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
26191 $as_echo_n "checking whether pragma weak works... " >&6; }
26192 if test "${libgfor_cv_have_pragma_weak+set}" = set; then :
26193   $as_echo_n "(cached) " >&6
26194 else
26195
26196   gfor_save_CFLAGS="$CFLAGS"
26197   CFLAGS="$CFLAGS -Wunknown-pragmas"
26198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h.  */
26200
26201 void foo (void);
26202 #pragma weak foo
26203
26204 int
26205 main ()
26206 {
26207 if (foo) foo ();
26208   ;
26209   return 0;
26210 }
26211 _ACEOF
26212 if ac_fn_c_try_compile "$LINENO"; then :
26213   libgfor_cv_have_pragma_weak=yes
26214 else
26215   libgfor_cv_have_pragma_weak=no
26216 fi
26217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26218 fi
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
26220 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
26221   if test $libgfor_cv_have_pragma_weak = yes; then
26222
26223 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
26224
26225   fi
26226   case "$host" in
26227     *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
26228
26229 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
26230
26231       ;;
26232   esac
26233
26234 # Various other checks on target
26235
26236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
26237 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
26238 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then :
26239   $as_echo_n "(cached) " >&6
26240 else
26241
26242   if test "$cross_compiling" = yes; then :
26243
26244 case "${target}" in
26245   *mingw*) libgfor_cv_have_unlink_open_file=no ;;
26246   *) libgfor_cv_have_unlink_open_file=yes;;
26247 esac
26248 else
26249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26250 /* end confdefs.h.  */
26251
26252 #include <errno.h>
26253 #include <fcntl.h>
26254 #include <unistd.h>
26255 #include <sys/stat.h>
26256
26257 int main ()
26258 {
26259   int fd;
26260
26261   fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
26262   if (fd <= 0)
26263     return 0;
26264   if (unlink ("testfile") == -1)
26265     return 1;
26266   write (fd, "This is a test\n", 15);
26267   close (fd);
26268
26269   if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
26270     return 0;
26271   else
26272     return 1;
26273 }
26274 _ACEOF
26275 if ac_fn_c_try_run "$LINENO"; then :
26276   libgfor_cv_have_unlink_open_file=yes
26277 else
26278   libgfor_cv_have_unlink_open_file=no
26279 fi
26280 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26281   conftest.$ac_objext conftest.beam conftest.$ac_ext
26282 fi
26283
26284 fi
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
26286 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
26287 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
26288
26289 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
26290
26291 fi
26292
26293 # Check whether line terminator is LF or CRLF
26294
26295   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
26296 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
26297 if test "${libgfor_cv_have_crlf+set}" = set; then :
26298   $as_echo_n "(cached) " >&6
26299 else
26300
26301   if test "$cross_compiling" = yes; then :
26302
26303 case "${target}" in
26304   *mingw*) libgfor_cv_have_crlf=yes ;;
26305   *) libgfor_cv_have_crlf=no;;
26306 esac
26307 else
26308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26309 /* end confdefs.h.  */
26310
26311 /* This test program should exit with status 0 if system uses a CRLF as
26312    line terminator, and status 1 otherwise.
26313    Since it is used to check for mingw systems, and should return 0 in any
26314    other case, in case of a failure we will not use CRLF.  */
26315 #include <sys/stat.h>
26316 #include <stdlib.h>
26317 #include <fcntl.h>
26318 #include <stdio.h>
26319
26320 int main ()
26321 {
26322 #ifndef O_BINARY
26323   exit(1);
26324 #else
26325   int fd, bytes;
26326   char buff[5];
26327
26328   fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
26329   if (fd < 0)
26330     exit(1);
26331   if (write (fd, "\n", 1) < 0)
26332     perror ("write");
26333
26334   close (fd);
26335
26336   if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
26337     exit(1);
26338   bytes = read (fd, buff, 5);
26339   if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
26340     exit(0);
26341   else
26342     exit(1);
26343 #endif
26344 }
26345 _ACEOF
26346 if ac_fn_c_try_run "$LINENO"; then :
26347   libgfor_cv_have_crlf=yes
26348 else
26349   libgfor_cv_have_crlf=no
26350 fi
26351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26352   conftest.$ac_objext conftest.beam conftest.$ac_ext
26353 fi
26354
26355 fi
26356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
26357 $as_echo "$libgfor_cv_have_crlf" >&6; }
26358 if test x"$libgfor_cv_have_crlf" = xyes; then
26359
26360 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
26361
26362 fi
26363
26364 # Check whether we have _Unwind_GetIPInfo for backtrace
26365
26366
26367 # Check whether --with-system-libunwind was given.
26368 if test "${with_system_libunwind+set}" = set; then :
26369   withval=$with_system_libunwind;
26370 fi
26371
26372   # If system-libunwind was not specifically set, pick a default setting.
26373   if test x$with_system_libunwind = x; then
26374     case ${target} in
26375       ia64-*-hpux*) with_system_libunwind=yes ;;
26376       *) with_system_libunwind=no ;;
26377     esac
26378   fi
26379   # Based on system-libunwind and target, do we have ipinfo?
26380   if  test x$with_system_libunwind = xyes; then
26381     case ${target} in
26382       ia64-*-*) have_unwind_getipinfo=no ;;
26383       *) have_unwind_getipinfo=yes ;;
26384     esac
26385   else
26386     # Darwin before version 9 does not have _Unwind_GetIPInfo.
26387
26388     case ${target} in
26389       *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
26390       *) have_unwind_getipinfo=yes ;;
26391     esac
26392
26393   fi
26394
26395   if test x$have_unwind_getipinfo = xyes; then
26396
26397 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
26398
26399   fi
26400
26401
26402 cat >confcache <<\_ACEOF
26403 # This file is a shell script that caches the results of configure
26404 # tests run on this system so they can be shared between configure
26405 # scripts and configure runs, see configure's option --config-cache.
26406 # It is not useful on other systems.  If it contains results you don't
26407 # want to keep, you may remove or edit it.
26408 #
26409 # config.status only pays attention to the cache file if you give it
26410 # the --recheck option to rerun configure.
26411 #
26412 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26413 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26414 # following values.
26415
26416 _ACEOF
26417
26418 # The following way of writing the cache mishandles newlines in values,
26419 # but we know of no workaround that is simple, portable, and efficient.
26420 # So, we kill variables containing newlines.
26421 # Ultrix sh set writes to stderr and can't be redirected directly,
26422 # and sets the high bit in the cache file unless we assign to the vars.
26423 (
26424   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26425     eval ac_val=\$$ac_var
26426     case $ac_val in #(
26427     *${as_nl}*)
26428       case $ac_var in #(
26429       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26430 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26431       esac
26432       case $ac_var in #(
26433       _ | IFS | as_nl) ;; #(
26434       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26435       *) { eval $ac_var=; unset $ac_var;} ;;
26436       esac ;;
26437     esac
26438   done
26439
26440   (set) 2>&1 |
26441     case $as_nl`(ac_space=' '; set) 2>&1` in #(
26442     *${as_nl}ac_space=\ *)
26443       # `set' does not quote correctly, so add quotes: double-quote
26444       # substitution turns \\\\ into \\, and sed turns \\ into \.
26445       sed -n \
26446         "s/'/'\\\\''/g;
26447           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26448       ;; #(
26449     *)
26450       # `set' quotes correctly as required by POSIX, so do not add quotes.
26451       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26452       ;;
26453     esac |
26454     sort
26455 ) |
26456   sed '
26457      /^ac_cv_env_/b end
26458      t clear
26459      :clear
26460      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26461      t end
26462      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26463      :end' >>confcache
26464 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26465   if test -w "$cache_file"; then
26466     test "x$cache_file" != "x/dev/null" &&
26467       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26468 $as_echo "$as_me: updating cache $cache_file" >&6;}
26469     cat confcache >$cache_file
26470   else
26471     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26472 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26473   fi
26474 fi
26475 rm -f confcache
26476
26477 if test ${multilib} = yes; then
26478   multilib_arg="--enable-multilib"
26479 else
26480   multilib_arg=
26481 fi
26482
26483 # Write our Makefile and spec file.
26484 ac_config_files="$ac_config_files Makefile libgfortran.spec"
26485
26486 cat >confcache <<\_ACEOF
26487 # This file is a shell script that caches the results of configure
26488 # tests run on this system so they can be shared between configure
26489 # scripts and configure runs, see configure's option --config-cache.
26490 # It is not useful on other systems.  If it contains results you don't
26491 # want to keep, you may remove or edit it.
26492 #
26493 # config.status only pays attention to the cache file if you give it
26494 # the --recheck option to rerun configure.
26495 #
26496 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26497 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26498 # following values.
26499
26500 _ACEOF
26501
26502 # The following way of writing the cache mishandles newlines in values,
26503 # but we know of no workaround that is simple, portable, and efficient.
26504 # So, we kill variables containing newlines.
26505 # Ultrix sh set writes to stderr and can't be redirected directly,
26506 # and sets the high bit in the cache file unless we assign to the vars.
26507 (
26508   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26509     eval ac_val=\$$ac_var
26510     case $ac_val in #(
26511     *${as_nl}*)
26512       case $ac_var in #(
26513       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26514 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26515       esac
26516       case $ac_var in #(
26517       _ | IFS | as_nl) ;; #(
26518       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26519       *) { eval $ac_var=; unset $ac_var;} ;;
26520       esac ;;
26521     esac
26522   done
26523
26524   (set) 2>&1 |
26525     case $as_nl`(ac_space=' '; set) 2>&1` in #(
26526     *${as_nl}ac_space=\ *)
26527       # `set' does not quote correctly, so add quotes: double-quote
26528       # substitution turns \\\\ into \\, and sed turns \\ into \.
26529       sed -n \
26530         "s/'/'\\\\''/g;
26531           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26532       ;; #(
26533     *)
26534       # `set' quotes correctly as required by POSIX, so do not add quotes.
26535       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26536       ;;
26537     esac |
26538     sort
26539 ) |
26540   sed '
26541      /^ac_cv_env_/b end
26542      t clear
26543      :clear
26544      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26545      t end
26546      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26547      :end' >>confcache
26548 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26549   if test -w "$cache_file"; then
26550     test "x$cache_file" != "x/dev/null" &&
26551       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26552 $as_echo "$as_me: updating cache $cache_file" >&6;}
26553     cat confcache >$cache_file
26554   else
26555     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26556 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26557   fi
26558 fi
26559 rm -f confcache
26560
26561 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26562 # Let make expand exec_prefix.
26563 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26564
26565 DEFS=-DHAVE_CONFIG_H
26566
26567 ac_libobjs=
26568 ac_ltlibobjs=
26569 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26570   # 1. Remove the extension, and $U if already installed.
26571   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26572   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26573   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
26574   #    will be set to the directory where LIBOBJS objects are built.
26575   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26576   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26577 done
26578 LIBOBJS=$ac_libobjs
26579
26580 LTLIBOBJS=$ac_ltlibobjs
26581
26582
26583 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
26584   as_fn_error "conditional \"onestep\" was never defined.
26585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26586 fi
26587  if test -n "$EXEEXT"; then
26588   am__EXEEXT_TRUE=
26589   am__EXEEXT_FALSE='#'
26590 else
26591   am__EXEEXT_TRUE='#'
26592   am__EXEEXT_FALSE=
26593 fi
26594
26595 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26596   as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
26597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26598 fi
26599 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26600   as_fn_error "conditional \"AMDEP\" was never defined.
26601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26602 fi
26603 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26604   as_fn_error "conditional \"am__fastdepCC\" was never defined.
26605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26606 fi
26607 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26608   as_fn_error "conditional \"am__fastdepCC\" was never defined.
26609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26610 fi
26611 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
26612   as_fn_error "conditional \"LIBGFOR_USE_SYMVER\" was never defined.
26613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26614 fi
26615 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
26616   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
26617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26618 fi
26619 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
26620   as_fn_error "conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
26621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26622 fi
26623 if test -z "${LIBGFOR_BUILD_QUAD_TRUE}" && test -z "${LIBGFOR_BUILD_QUAD_FALSE}"; then
26624   as_fn_error "conditional \"LIBGFOR_BUILD_QUAD\" was never defined.
26625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26626 fi
26627
26628 : ${CONFIG_STATUS=./config.status}
26629 ac_write_fail=0
26630 ac_clean_files_save=$ac_clean_files
26631 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26633 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26634 as_write_fail=0
26635 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26636 #! $SHELL
26637 # Generated by $as_me.
26638 # Run this file to recreate the current configuration.
26639 # Compiler output produced by configure, useful for debugging
26640 # configure, is in config.log if it exists.
26641
26642 debug=false
26643 ac_cs_recheck=false
26644 ac_cs_silent=false
26645
26646 SHELL=\${CONFIG_SHELL-$SHELL}
26647 export SHELL
26648 _ASEOF
26649 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26650 ## -------------------- ##
26651 ## M4sh Initialization. ##
26652 ## -------------------- ##
26653
26654 # Be more Bourne compatible
26655 DUALCASE=1; export DUALCASE # for MKS sh
26656 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26657   emulate sh
26658   NULLCMD=:
26659   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26660   # is contrary to our usage.  Disable this feature.
26661   alias -g '${1+"$@"}'='"$@"'
26662   setopt NO_GLOB_SUBST
26663 else
26664   case `(set -o) 2>/dev/null` in #(
26665   *posix*) :
26666     set -o posix ;; #(
26667   *) :
26668      ;;
26669 esac
26670 fi
26671
26672
26673 as_nl='
26674 '
26675 export as_nl
26676 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26677 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26678 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26680 # Prefer a ksh shell builtin over an external printf program on Solaris,
26681 # but without wasting forks for bash or zsh.
26682 if test -z "$BASH_VERSION$ZSH_VERSION" \
26683     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26684   as_echo='print -r --'
26685   as_echo_n='print -rn --'
26686 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26687   as_echo='printf %s\n'
26688   as_echo_n='printf %s'
26689 else
26690   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26691     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26692     as_echo_n='/usr/ucb/echo -n'
26693   else
26694     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26695     as_echo_n_body='eval
26696       arg=$1;
26697       case $arg in #(
26698       *"$as_nl"*)
26699         expr "X$arg" : "X\\(.*\\)$as_nl";
26700         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26701       esac;
26702       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26703     '
26704     export as_echo_n_body
26705     as_echo_n='sh -c $as_echo_n_body as_echo'
26706   fi
26707   export as_echo_body
26708   as_echo='sh -c $as_echo_body as_echo'
26709 fi
26710
26711 # The user is always right.
26712 if test "${PATH_SEPARATOR+set}" != set; then
26713   PATH_SEPARATOR=:
26714   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26715     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26716       PATH_SEPARATOR=';'
26717   }
26718 fi
26719
26720
26721 # IFS
26722 # We need space, tab and new line, in precisely that order.  Quoting is
26723 # there to prevent editors from complaining about space-tab.
26724 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26725 # splitting by setting IFS to empty value.)
26726 IFS=" ""        $as_nl"
26727
26728 # Find who we are.  Look in the path if we contain no directory separator.
26729 case $0 in #((
26730   *[\\/]* ) as_myself=$0 ;;
26731   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26732 for as_dir in $PATH
26733 do
26734   IFS=$as_save_IFS
26735   test -z "$as_dir" && as_dir=.
26736     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26737   done
26738 IFS=$as_save_IFS
26739
26740      ;;
26741 esac
26742 # We did not find ourselves, most probably we were run as `sh COMMAND'
26743 # in which case we are not to be found in the path.
26744 if test "x$as_myself" = x; then
26745   as_myself=$0
26746 fi
26747 if test ! -f "$as_myself"; then
26748   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26749   exit 1
26750 fi
26751
26752 # Unset variables that we do not need and which cause bugs (e.g. in
26753 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
26754 # suppresses any "Segmentation fault" message there.  '((' could
26755 # trigger a bug in pdksh 5.2.14.
26756 for as_var in BASH_ENV ENV MAIL MAILPATH
26757 do eval test x\${$as_var+set} = xset \
26758   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26759 done
26760 PS1='$ '
26761 PS2='> '
26762 PS4='+ '
26763
26764 # NLS nuisances.
26765 LC_ALL=C
26766 export LC_ALL
26767 LANGUAGE=C
26768 export LANGUAGE
26769
26770 # CDPATH.
26771 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26772
26773
26774 # as_fn_error ERROR [LINENO LOG_FD]
26775 # ---------------------------------
26776 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26777 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26778 # script with status $?, using 1 if that was 0.
26779 as_fn_error ()
26780 {
26781   as_status=$?; test $as_status -eq 0 && as_status=1
26782   if test "$3"; then
26783     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26784     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
26785   fi
26786   $as_echo "$as_me: error: $1" >&2
26787   as_fn_exit $as_status
26788 } # as_fn_error
26789
26790
26791 # as_fn_set_status STATUS
26792 # -----------------------
26793 # Set $? to STATUS, without forking.
26794 as_fn_set_status ()
26795 {
26796   return $1
26797 } # as_fn_set_status
26798
26799 # as_fn_exit STATUS
26800 # -----------------
26801 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26802 as_fn_exit ()
26803 {
26804   set +e
26805   as_fn_set_status $1
26806   exit $1
26807 } # as_fn_exit
26808
26809 # as_fn_unset VAR
26810 # ---------------
26811 # Portably unset VAR.
26812 as_fn_unset ()
26813 {
26814   { eval $1=; unset $1;}
26815 }
26816 as_unset=as_fn_unset
26817 # as_fn_append VAR VALUE
26818 # ----------------------
26819 # Append the text in VALUE to the end of the definition contained in VAR. Take
26820 # advantage of any shell optimizations that allow amortized linear growth over
26821 # repeated appends, instead of the typical quadratic growth present in naive
26822 # implementations.
26823 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26824   eval 'as_fn_append ()
26825   {
26826     eval $1+=\$2
26827   }'
26828 else
26829   as_fn_append ()
26830   {
26831     eval $1=\$$1\$2
26832   }
26833 fi # as_fn_append
26834
26835 # as_fn_arith ARG...
26836 # ------------------
26837 # Perform arithmetic evaluation on the ARGs, and store the result in the
26838 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26839 # must be portable across $(()) and expr.
26840 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26841   eval 'as_fn_arith ()
26842   {
26843     as_val=$(( $* ))
26844   }'
26845 else
26846   as_fn_arith ()
26847   {
26848     as_val=`expr "$@" || test $? -eq 1`
26849   }
26850 fi # as_fn_arith
26851
26852
26853 if expr a : '\(a\)' >/dev/null 2>&1 &&
26854    test "X`expr 00001 : '.*\(...\)'`" = X001; then
26855   as_expr=expr
26856 else
26857   as_expr=false
26858 fi
26859
26860 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26861   as_basename=basename
26862 else
26863   as_basename=false
26864 fi
26865
26866 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26867   as_dirname=dirname
26868 else
26869   as_dirname=false
26870 fi
26871
26872 as_me=`$as_basename -- "$0" ||
26873 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26874          X"$0" : 'X\(//\)$' \| \
26875          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26876 $as_echo X/"$0" |
26877     sed '/^.*\/\([^/][^/]*\)\/*$/{
26878             s//\1/
26879             q
26880           }
26881           /^X\/\(\/\/\)$/{
26882             s//\1/
26883             q
26884           }
26885           /^X\/\(\/\).*/{
26886             s//\1/
26887             q
26888           }
26889           s/.*/./; q'`
26890
26891 # Avoid depending upon Character Ranges.
26892 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26893 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26894 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26895 as_cr_digits='0123456789'
26896 as_cr_alnum=$as_cr_Letters$as_cr_digits
26897
26898 ECHO_C= ECHO_N= ECHO_T=
26899 case `echo -n x` in #(((((
26900 -n*)
26901   case `echo 'xy\c'` in
26902   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
26903   xy)  ECHO_C='\c';;
26904   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
26905        ECHO_T=' ';;
26906   esac;;
26907 *)
26908   ECHO_N='-n';;
26909 esac
26910
26911 rm -f conf$$ conf$$.exe conf$$.file
26912 if test -d conf$$.dir; then
26913   rm -f conf$$.dir/conf$$.file
26914 else
26915   rm -f conf$$.dir
26916   mkdir conf$$.dir 2>/dev/null
26917 fi
26918 if (echo >conf$$.file) 2>/dev/null; then
26919   if ln -s conf$$.file conf$$ 2>/dev/null; then
26920     as_ln_s='ln -s'
26921     # ... but there are two gotchas:
26922     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26923     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26924     # In both cases, we have to default to `cp -p'.
26925     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26926       as_ln_s='cp -p'
26927   elif ln conf$$.file conf$$ 2>/dev/null; then
26928     as_ln_s=ln
26929   else
26930     as_ln_s='cp -p'
26931   fi
26932 else
26933   as_ln_s='cp -p'
26934 fi
26935 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26936 rmdir conf$$.dir 2>/dev/null
26937
26938
26939 # as_fn_mkdir_p
26940 # -------------
26941 # Create "$as_dir" as a directory, including parents if necessary.
26942 as_fn_mkdir_p ()
26943 {
26944
26945   case $as_dir in #(
26946   -*) as_dir=./$as_dir;;
26947   esac
26948   test -d "$as_dir" || eval $as_mkdir_p || {
26949     as_dirs=
26950     while :; do
26951       case $as_dir in #(
26952       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26953       *) as_qdir=$as_dir;;
26954       esac
26955       as_dirs="'$as_qdir' $as_dirs"
26956       as_dir=`$as_dirname -- "$as_dir" ||
26957 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26958          X"$as_dir" : 'X\(//\)[^/]' \| \
26959          X"$as_dir" : 'X\(//\)$' \| \
26960          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26961 $as_echo X"$as_dir" |
26962     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26963             s//\1/
26964             q
26965           }
26966           /^X\(\/\/\)[^/].*/{
26967             s//\1/
26968             q
26969           }
26970           /^X\(\/\/\)$/{
26971             s//\1/
26972             q
26973           }
26974           /^X\(\/\).*/{
26975             s//\1/
26976             q
26977           }
26978           s/.*/./; q'`
26979       test -d "$as_dir" && break
26980     done
26981     test -z "$as_dirs" || eval "mkdir $as_dirs"
26982   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
26983
26984
26985 } # as_fn_mkdir_p
26986 if mkdir -p . 2>/dev/null; then
26987   as_mkdir_p='mkdir -p "$as_dir"'
26988 else
26989   test -d ./-p && rmdir ./-p
26990   as_mkdir_p=false
26991 fi
26992
26993 if test -x / >/dev/null 2>&1; then
26994   as_test_x='test -x'
26995 else
26996   if ls -dL / >/dev/null 2>&1; then
26997     as_ls_L_option=L
26998   else
26999     as_ls_L_option=
27000   fi
27001   as_test_x='
27002     eval sh -c '\''
27003       if test -d "$1"; then
27004         test -d "$1/.";
27005       else
27006         case $1 in #(
27007         -*)set "./$1";;
27008         esac;
27009         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27010         ???[sx]*):;;*)false;;esac;fi
27011     '\'' sh
27012   '
27013 fi
27014 as_executable_p=$as_test_x
27015
27016 # Sed expression to map a string onto a valid CPP name.
27017 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27018
27019 # Sed expression to map a string onto a valid variable name.
27020 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27021
27022
27023 exec 6>&1
27024 ## ----------------------------------- ##
27025 ## Main body of $CONFIG_STATUS script. ##
27026 ## ----------------------------------- ##
27027 _ASEOF
27028 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27029
27030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27031 # Save the log message, to keep $0 and so on meaningful, and to
27032 # report actual input values of CONFIG_FILES etc. instead of their
27033 # values after options handling.
27034 ac_log="
27035 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
27036 generated by GNU Autoconf 2.64.  Invocation command line was
27037
27038   CONFIG_FILES    = $CONFIG_FILES
27039   CONFIG_HEADERS  = $CONFIG_HEADERS
27040   CONFIG_LINKS    = $CONFIG_LINKS
27041   CONFIG_COMMANDS = $CONFIG_COMMANDS
27042   $ $0 $@
27043
27044 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27045 "
27046
27047 _ACEOF
27048
27049 case $ac_config_files in *"
27050 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27051 esac
27052
27053 case $ac_config_headers in *"
27054 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27055 esac
27056
27057
27058 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27059 # Files that config.status was made for.
27060 config_files="$ac_config_files"
27061 config_headers="$ac_config_headers"
27062 config_commands="$ac_config_commands"
27063
27064 _ACEOF
27065
27066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27067 ac_cs_usage="\
27068 \`$as_me' instantiates files and other configuration actions
27069 from templates according to the current configuration.  Unless the files
27070 and actions are specified as TAGs, all are instantiated by default.
27071
27072 Usage: $0 [OPTION]... [TAG]...
27073
27074   -h, --help       print this help, then exit
27075   -V, --version    print version number and configuration settings, then exit
27076   -q, --quiet, --silent
27077                    do not print progress messages
27078   -d, --debug      don't remove temporary files
27079       --recheck    update $as_me by reconfiguring in the same conditions
27080       --file=FILE[:TEMPLATE]
27081                    instantiate the configuration file FILE
27082       --header=FILE[:TEMPLATE]
27083                    instantiate the configuration header FILE
27084
27085 Configuration files:
27086 $config_files
27087
27088 Configuration headers:
27089 $config_headers
27090
27091 Configuration commands:
27092 $config_commands
27093
27094 Report bugs to the package provider.
27095 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
27096 General help using GNU software: <http://www.gnu.org/gethelp/>."
27097
27098 _ACEOF
27099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27100 ac_cs_version="\\
27101 GNU Fortran Runtime Library config.status 0.3
27102 configured by $0, generated by GNU Autoconf 2.64,
27103   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
27104
27105 Copyright (C) 2009 Free Software Foundation, Inc.
27106 This config.status script is free software; the Free Software Foundation
27107 gives unlimited permission to copy, distribute and modify it."
27108
27109 ac_pwd='$ac_pwd'
27110 srcdir='$srcdir'
27111 INSTALL='$INSTALL'
27112 MKDIR_P='$MKDIR_P'
27113 AWK='$AWK'
27114 test -n "\$AWK" || AWK=awk
27115 _ACEOF
27116
27117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27118 # The default lists apply if the user does not specify any file.
27119 ac_need_defaults=:
27120 while test $# != 0
27121 do
27122   case $1 in
27123   --*=*)
27124     ac_option=`expr "X$1" : 'X\([^=]*\)='`
27125     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27126     ac_shift=:
27127     ;;
27128   *)
27129     ac_option=$1
27130     ac_optarg=$2
27131     ac_shift=shift
27132     ;;
27133   esac
27134
27135   case $ac_option in
27136   # Handling of the options.
27137   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27138     ac_cs_recheck=: ;;
27139   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27140     $as_echo "$ac_cs_version"; exit ;;
27141   --debug | --debu | --deb | --de | --d | -d )
27142     debug=: ;;
27143   --file | --fil | --fi | --f )
27144     $ac_shift
27145     case $ac_optarg in
27146     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27147     esac
27148     as_fn_append CONFIG_FILES " '$ac_optarg'"
27149     ac_need_defaults=false;;
27150   --header | --heade | --head | --hea )
27151     $ac_shift
27152     case $ac_optarg in
27153     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27154     esac
27155     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27156     ac_need_defaults=false;;
27157   --he | --h)
27158     # Conflict between --help and --header
27159     as_fn_error "ambiguous option: \`$1'
27160 Try \`$0 --help' for more information.";;
27161   --help | --hel | -h )
27162     $as_echo "$ac_cs_usage"; exit ;;
27163   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27164   | -silent | --silent | --silen | --sile | --sil | --si | --s)
27165     ac_cs_silent=: ;;
27166
27167   # This is an error.
27168   -*) as_fn_error "unrecognized option: \`$1'
27169 Try \`$0 --help' for more information." ;;
27170
27171   *) as_fn_append ac_config_targets " $1"
27172      ac_need_defaults=false ;;
27173
27174   esac
27175   shift
27176 done
27177
27178 ac_configure_extra_args=
27179
27180 if $ac_cs_silent; then
27181   exec 6>/dev/null
27182   ac_configure_extra_args="$ac_configure_extra_args --silent"
27183 fi
27184
27185 _ACEOF
27186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27187 if \$ac_cs_recheck; then
27188   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27189   shift
27190   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27191   CONFIG_SHELL='$SHELL'
27192   export CONFIG_SHELL
27193   exec "\$@"
27194 fi
27195
27196 _ACEOF
27197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27198 exec 5>>config.log
27199 {
27200   echo
27201   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27202 ## Running $as_me. ##
27203 _ASBOX
27204   $as_echo "$ac_log"
27205 } >&5
27206
27207 _ACEOF
27208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27209 #
27210 # INIT-COMMANDS
27211 #
27212
27213 srcdir="$srcdir"
27214 host="$host"
27215 target="$target"
27216 with_multisubdir="$with_multisubdir"
27217 with_multisrctop="$with_multisrctop"
27218 with_target_subdir="$with_target_subdir"
27219 ac_configure_args="${multilib_arg} ${ac_configure_args}"
27220 multi_basedir="$multi_basedir"
27221 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
27222 CC="$CC"
27223 CXX="$CXX"
27224 GFORTRAN="$GFORTRAN"
27225 GCJ="$GCJ"
27226 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27227
27228
27229 # The HP-UX ksh and POSIX shell print the target directory to stdout
27230 # if CDPATH is set.
27231 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27232
27233 sed_quote_subst='$sed_quote_subst'
27234 double_quote_subst='$double_quote_subst'
27235 delay_variable_subst='$delay_variable_subst'
27236 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27237 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27238 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27239 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27240 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27241 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27242 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27243 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27244 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27245 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27246 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27247 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27248 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27249 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27250 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27251 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27252 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27253 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27254 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27255 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27256 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27257 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27258 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27259 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27260 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27261 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27262 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27263 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27264 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27265 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27266 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27267 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27268 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27269 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27270 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27271 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27272 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27273 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27274 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27275 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27276 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27277 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27278 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27279 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27280 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27281 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27282 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27283 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27284 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"`'
27285 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27286 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27287 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27288 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27289 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27290 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27291 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27292 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27293 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27294 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27295 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27296 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27297 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27298 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27299 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27300 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27301 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27302 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27303 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27304 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27305 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27306 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27307 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27308 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27309 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27310 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27311 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27312 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27313 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27314 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27315 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27316 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
27317 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27318 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27319 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27320 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27321 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27322 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27323 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27324 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27325 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
27326 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27327 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27328 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27329 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27330 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27331 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27332 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27333 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27334 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27335 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27336 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27337 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27338 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27339 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27340 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27341 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27342 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27343 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27344 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27345 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27346 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27347 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27348 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27349 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27350 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27351 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27352 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27353 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27354 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27355 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27356 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27357 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27358 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27359 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27360 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27361 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27362 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
27363 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
27364 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
27365 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27366 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
27367 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
27368 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
27369 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
27370 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
27371 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
27372 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
27373 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
27374 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
27375 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27376 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27377 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
27378 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
27379 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
27380 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
27381 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27382 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
27383 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
27384 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
27385 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27386 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
27387 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
27388 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
27389 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
27390 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
27391 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
27392 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
27393 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
27394 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
27395 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
27396 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
27397 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
27398 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
27399 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
27400 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27401 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
27402 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
27403 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
27404 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
27405 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
27406 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
27407 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
27408 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
27409 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
27410 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
27411
27412 LTCC='$LTCC'
27413 LTCFLAGS='$LTCFLAGS'
27414 compiler='$compiler_DEFAULT'
27415
27416 # A function that is used when there is no print builtin or printf.
27417 func_fallback_echo ()
27418 {
27419   eval 'cat <<_LTECHO_EOF
27420 \$1
27421 _LTECHO_EOF'
27422 }
27423
27424 # Quote evaled strings.
27425 for var in SHELL \
27426 ECHO \
27427 SED \
27428 GREP \
27429 EGREP \
27430 FGREP \
27431 LD \
27432 NM \
27433 LN_S \
27434 lt_SP2NL \
27435 lt_NL2SP \
27436 reload_flag \
27437 OBJDUMP \
27438 deplibs_check_method \
27439 file_magic_cmd \
27440 AR \
27441 AR_FLAGS \
27442 STRIP \
27443 RANLIB \
27444 CC \
27445 CFLAGS \
27446 compiler \
27447 lt_cv_sys_global_symbol_pipe \
27448 lt_cv_sys_global_symbol_to_cdecl \
27449 lt_cv_sys_global_symbol_to_c_name_address \
27450 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27451 lt_prog_compiler_no_builtin_flag \
27452 lt_prog_compiler_wl \
27453 lt_prog_compiler_pic \
27454 lt_prog_compiler_static \
27455 lt_cv_prog_compiler_c_o \
27456 need_locks \
27457 DSYMUTIL \
27458 NMEDIT \
27459 LIPO \
27460 OTOOL \
27461 OTOOL64 \
27462 shrext_cmds \
27463 export_dynamic_flag_spec \
27464 whole_archive_flag_spec \
27465 compiler_needs_object \
27466 with_gnu_ld \
27467 allow_undefined_flag \
27468 no_undefined_flag \
27469 hardcode_libdir_flag_spec \
27470 hardcode_libdir_flag_spec_ld \
27471 hardcode_libdir_separator \
27472 fix_srcfile_path \
27473 exclude_expsyms \
27474 include_expsyms \
27475 file_list_spec \
27476 variables_saved_for_relink \
27477 libname_spec \
27478 library_names_spec \
27479 soname_spec \
27480 install_override_mode \
27481 finish_eval \
27482 old_striplib \
27483 striplib \
27484 compiler_lib_search_dirs \
27485 predep_objects \
27486 postdep_objects \
27487 predeps \
27488 postdeps \
27489 compiler_lib_search_path \
27490 LD_FC \
27491 reload_flag_FC \
27492 compiler_FC \
27493 lt_prog_compiler_no_builtin_flag_FC \
27494 lt_prog_compiler_wl_FC \
27495 lt_prog_compiler_pic_FC \
27496 lt_prog_compiler_static_FC \
27497 lt_cv_prog_compiler_c_o_FC \
27498 export_dynamic_flag_spec_FC \
27499 whole_archive_flag_spec_FC \
27500 compiler_needs_object_FC \
27501 with_gnu_ld_FC \
27502 allow_undefined_flag_FC \
27503 no_undefined_flag_FC \
27504 hardcode_libdir_flag_spec_FC \
27505 hardcode_libdir_flag_spec_ld_FC \
27506 hardcode_libdir_separator_FC \
27507 fix_srcfile_path_FC \
27508 exclude_expsyms_FC \
27509 include_expsyms_FC \
27510 file_list_spec_FC \
27511 compiler_lib_search_dirs_FC \
27512 predep_objects_FC \
27513 postdep_objects_FC \
27514 predeps_FC \
27515 postdeps_FC \
27516 compiler_lib_search_path_FC; do
27517     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27518     *[\\\\\\\`\\"\\\$]*)
27519       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27520       ;;
27521     *)
27522       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27523       ;;
27524     esac
27525 done
27526
27527 # Double-quote double-evaled strings.
27528 for var in reload_cmds \
27529 old_postinstall_cmds \
27530 old_postuninstall_cmds \
27531 old_archive_cmds \
27532 extract_expsyms_cmds \
27533 old_archive_from_new_cmds \
27534 old_archive_from_expsyms_cmds \
27535 archive_cmds \
27536 archive_expsym_cmds \
27537 module_cmds \
27538 module_expsym_cmds \
27539 export_symbols_cmds \
27540 prelink_cmds \
27541 postinstall_cmds \
27542 postuninstall_cmds \
27543 finish_cmds \
27544 sys_lib_search_path_spec \
27545 sys_lib_dlsearch_path_spec \
27546 reload_cmds_FC \
27547 old_archive_cmds_FC \
27548 old_archive_from_new_cmds_FC \
27549 old_archive_from_expsyms_cmds_FC \
27550 archive_cmds_FC \
27551 archive_expsym_cmds_FC \
27552 module_cmds_FC \
27553 module_expsym_cmds_FC \
27554 export_symbols_cmds_FC \
27555 prelink_cmds_FC; do
27556     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27557     *[\\\\\\\`\\"\\\$]*)
27558       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27559       ;;
27560     *)
27561       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27562       ;;
27563     esac
27564 done
27565
27566 ac_aux_dir='$ac_aux_dir'
27567 xsi_shell='$xsi_shell'
27568 lt_shell_append='$lt_shell_append'
27569
27570 # See if we are running on zsh, and set the options which allow our
27571 # commands through without removal of \ escapes INIT.
27572 if test -n "\${ZSH_VERSION+set}" ; then
27573    setopt NO_GLOB_SUBST
27574 fi
27575
27576
27577     PACKAGE='$PACKAGE'
27578     VERSION='$VERSION'
27579     TIMESTAMP='$TIMESTAMP'
27580     RM='$RM'
27581     ofile='$ofile'
27582
27583
27584
27585
27586
27587
27588 GCC="$GCC"
27589 CC="$CC"
27590 acx_cv_header_stdint="$acx_cv_header_stdint"
27591 acx_cv_type_int8_t="$acx_cv_type_int8_t"
27592 acx_cv_type_int16_t="$acx_cv_type_int16_t"
27593 acx_cv_type_int32_t="$acx_cv_type_int32_t"
27594 acx_cv_type_int64_t="$acx_cv_type_int64_t"
27595 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
27596 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
27597 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
27598 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27599 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27600 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
27601 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27602 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27603 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
27604
27605
27606 _ACEOF
27607
27608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27609
27610 # Handling of arguments.
27611 for ac_config_target in $ac_config_targets
27612 do
27613   case $ac_config_target in
27614     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27615     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
27616     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27617     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27618     "gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
27619     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27620     "libgfortran.spec") CONFIG_FILES="$CONFIG_FILES libgfortran.spec" ;;
27621
27622   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27623   esac
27624 done
27625
27626
27627 # If the user did not use the arguments to specify the items to instantiate,
27628 # then the envvar interface is used.  Set only those that are not.
27629 # We use the long form for the default assignment because of an extremely
27630 # bizarre bug on SunOS 4.1.3.
27631 if $ac_need_defaults; then
27632   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27633   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27634   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27635 fi
27636
27637 # Have a temporary directory for convenience.  Make it in the build tree
27638 # simply because there is no reason against having it here, and in addition,
27639 # creating and moving files from /tmp can sometimes cause problems.
27640 # Hook for its removal unless debugging.
27641 # Note that there is a small window in which the directory will not be cleaned:
27642 # after its creation but before its name has been assigned to `$tmp'.
27643 $debug ||
27644 {
27645   tmp=
27646   trap 'exit_status=$?
27647   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
27648 ' 0
27649   trap 'as_fn_exit 1' 1 2 13 15
27650 }
27651 # Create a (secure) tmp directory for tmp files.
27652
27653 {
27654   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27655   test -n "$tmp" && test -d "$tmp"
27656 }  ||
27657 {
27658   tmp=./conf$$-$RANDOM
27659   (umask 077 && mkdir "$tmp")
27660 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
27661
27662 # Set up the scripts for CONFIG_FILES section.
27663 # No need to generate them if there are no CONFIG_FILES.
27664 # This happens for instance with `./config.status config.h'.
27665 if test -n "$CONFIG_FILES"; then
27666
27667
27668 ac_cr=`echo X | tr X '\015'`
27669 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27670 # But we know of no other shell where ac_cr would be empty at this
27671 # point, so we can use a bashism as a fallback.
27672 if test "x$ac_cr" = x; then
27673   eval ac_cr=\$\'\\r\'
27674 fi
27675 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27676 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27677   ac_cs_awk_cr='\r'
27678 else
27679   ac_cs_awk_cr=$ac_cr
27680 fi
27681
27682 echo 'BEGIN {' >"$tmp/subs1.awk" &&
27683 _ACEOF
27684
27685
27686 {
27687   echo "cat >conf$$subs.awk <<_ACEOF" &&
27688   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27689   echo "_ACEOF"
27690 } >conf$$subs.sh ||
27691   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27692 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
27693 ac_delim='%!_!# '
27694 for ac_last_try in false false false false false :; do
27695   . ./conf$$subs.sh ||
27696     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27697
27698   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27699   if test $ac_delim_n = $ac_delim_num; then
27700     break
27701   elif $ac_last_try; then
27702     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
27703   else
27704     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27705   fi
27706 done
27707 rm -f conf$$subs.sh
27708
27709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27710 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
27711 _ACEOF
27712 sed -n '
27713 h
27714 s/^/S["/; s/!.*/"]=/
27715 p
27716 g
27717 s/^[^!]*!//
27718 :repl
27719 t repl
27720 s/'"$ac_delim"'$//
27721 t delim
27722 :nl
27723 h
27724 s/\(.\{148\}\).*/\1/
27725 t more1
27726 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27727 p
27728 n
27729 b repl
27730 :more1
27731 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27732 p
27733 g
27734 s/.\{148\}//
27735 t nl
27736 :delim
27737 h
27738 s/\(.\{148\}\).*/\1/
27739 t more2
27740 s/["\\]/\\&/g; s/^/"/; s/$/"/
27741 p
27742 b
27743 :more2
27744 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27745 p
27746 g
27747 s/.\{148\}//
27748 t delim
27749 ' <conf$$subs.awk | sed '
27750 /^[^""]/{
27751   N
27752   s/\n//
27753 }
27754 ' >>$CONFIG_STATUS || ac_write_fail=1
27755 rm -f conf$$subs.awk
27756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27757 _ACAWK
27758 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
27759   for (key in S) S_is_set[key] = 1
27760   FS = "\a"
27761
27762 }
27763 {
27764   line = $ 0
27765   nfields = split(line, field, "@")
27766   substed = 0
27767   len = length(field[1])
27768   for (i = 2; i < nfields; i++) {
27769     key = field[i]
27770     keylen = length(key)
27771     if (S_is_set[key]) {
27772       value = S[key]
27773       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27774       len += length(value) + length(field[++i])
27775       substed = 1
27776     } else
27777       len += 1 + keylen
27778   }
27779
27780   print line
27781 }
27782
27783 _ACAWK
27784 _ACEOF
27785 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27786 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27787   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27788 else
27789   cat
27790 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
27791   || as_fn_error "could not setup config files machinery" "$LINENO" 5
27792 _ACEOF
27793
27794 # VPATH may cause trouble with some makes, so we remove $(srcdir),
27795 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27796 # trailing colons and then remove the whole line if VPATH becomes empty
27797 # (actually we leave an empty line to preserve line numbers).
27798 if test "x$srcdir" = x.; then
27799   ac_vpsub='/^[  ]*VPATH[        ]*=/{
27800 s/:*\$(srcdir):*/:/
27801 s/:*\${srcdir}:*/:/
27802 s/:*@srcdir@:*/:/
27803 s/^\([^=]*=[     ]*\):*/\1/
27804 s/:*$//
27805 s/^[^=]*=[       ]*$//
27806 }'
27807 fi
27808
27809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27810 fi # test -n "$CONFIG_FILES"
27811
27812 # Set up the scripts for CONFIG_HEADERS section.
27813 # No need to generate them if there are no CONFIG_HEADERS.
27814 # This happens for instance with `./config.status Makefile'.
27815 if test -n "$CONFIG_HEADERS"; then
27816 cat >"$tmp/defines.awk" <<\_ACAWK ||
27817 BEGIN {
27818 _ACEOF
27819
27820 # Transform confdefs.h into an awk script `defines.awk', embedded as
27821 # here-document in config.status, that substitutes the proper values into
27822 # config.h.in to produce config.h.
27823
27824 # Create a delimiter string that does not exist in confdefs.h, to ease
27825 # handling of long lines.
27826 ac_delim='%!_!# '
27827 for ac_last_try in false false :; do
27828   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
27829   if test -z "$ac_t"; then
27830     break
27831   elif $ac_last_try; then
27832     as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
27833   else
27834     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27835   fi
27836 done
27837
27838 # For the awk script, D is an array of macro values keyed by name,
27839 # likewise P contains macro parameters if any.  Preserve backslash
27840 # newline sequences.
27841
27842 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27843 sed -n '
27844 s/.\{148\}/&'"$ac_delim"'/g
27845 t rset
27846 :rset
27847 s/^[     ]*#[    ]*define[       ][      ]*/ /
27848 t def
27849 d
27850 :def
27851 s/\\$//
27852 t bsnl
27853 s/["\\]/\\&/g
27854 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27855 D["\1"]=" \3"/p
27856 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
27857 d
27858 :bsnl
27859 s/["\\]/\\&/g
27860 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
27861 D["\1"]=" \3\\\\\\n"\\/p
27862 t cont
27863 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27864 t cont
27865 d
27866 :cont
27867 n
27868 s/.\{148\}/&'"$ac_delim"'/g
27869 t clear
27870 :clear
27871 s/\\$//
27872 t bsnlc
27873 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27874 d
27875 :bsnlc
27876 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27877 b cont
27878 ' <confdefs.h | sed '
27879 s/'"$ac_delim"'/"\\\
27880 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27881
27882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27883   for (key in D) D_is_set[key] = 1
27884   FS = "\a"
27885 }
27886 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27887   line = \$ 0
27888   split(line, arg, " ")
27889   if (arg[1] == "#") {
27890     defundef = arg[2]
27891     mac1 = arg[3]
27892   } else {
27893     defundef = substr(arg[1], 2)
27894     mac1 = arg[2]
27895   }
27896   split(mac1, mac2, "(") #)
27897   macro = mac2[1]
27898   prefix = substr(line, 1, index(line, defundef) - 1)
27899   if (D_is_set[macro]) {
27900     # Preserve the white space surrounding the "#".
27901     print prefix "define", macro P[macro] D[macro]
27902     next
27903   } else {
27904     # Replace #undef with comments.  This is necessary, for example,
27905     # in the case of _POSIX_SOURCE, which is predefined and required
27906     # on some systems where configure will not decide to define it.
27907     if (defundef == "undef") {
27908       print "/*", prefix defundef, macro, "*/"
27909       next
27910     }
27911   }
27912 }
27913 { print }
27914 _ACAWK
27915 _ACEOF
27916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27917   as_fn_error "could not setup config headers machinery" "$LINENO" 5
27918 fi # test -n "$CONFIG_HEADERS"
27919
27920
27921 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
27922 shift
27923 for ac_tag
27924 do
27925   case $ac_tag in
27926   :[FHLC]) ac_mode=$ac_tag; continue;;
27927   esac
27928   case $ac_mode$ac_tag in
27929   :[FHL]*:*);;
27930   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
27931   :[FH]-) ac_tag=-:-;;
27932   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27933   esac
27934   ac_save_IFS=$IFS
27935   IFS=:
27936   set x $ac_tag
27937   IFS=$ac_save_IFS
27938   shift
27939   ac_file=$1
27940   shift
27941
27942   case $ac_mode in
27943   :L) ac_source=$1;;
27944   :[FH])
27945     ac_file_inputs=
27946     for ac_f
27947     do
27948       case $ac_f in
27949       -) ac_f="$tmp/stdin";;
27950       *) # Look for the file first in the build tree, then in the source tree
27951          # (if the path is not absolute).  The absolute path cannot be DOS-style,
27952          # because $ac_f cannot contain `:'.
27953          test -f "$ac_f" ||
27954            case $ac_f in
27955            [\\/$]*) false;;
27956            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27957            esac ||
27958            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27959       esac
27960       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27961       as_fn_append ac_file_inputs " '$ac_f'"
27962     done
27963
27964     # Let's still pretend it is `configure' which instantiates (i.e., don't
27965     # use $as_me), people would be surprised to read:
27966     #    /* config.h.  Generated by config.status.  */
27967     configure_input='Generated from '`
27968           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27969         `' by configure.'
27970     if test x"$ac_file" != x-; then
27971       configure_input="$ac_file.  $configure_input"
27972       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27973 $as_echo "$as_me: creating $ac_file" >&6;}
27974     fi
27975     # Neutralize special characters interpreted by sed in replacement strings.
27976     case $configure_input in #(
27977     *\&* | *\|* | *\\* )
27978        ac_sed_conf_input=`$as_echo "$configure_input" |
27979        sed 's/[\\\\&|]/\\\\&/g'`;; #(
27980     *) ac_sed_conf_input=$configure_input;;
27981     esac
27982
27983     case $ac_tag in
27984     *:-:* | *:-) cat >"$tmp/stdin" \
27985       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
27986     esac
27987     ;;
27988   esac
27989
27990   ac_dir=`$as_dirname -- "$ac_file" ||
27991 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27992          X"$ac_file" : 'X\(//\)[^/]' \| \
27993          X"$ac_file" : 'X\(//\)$' \| \
27994          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27995 $as_echo X"$ac_file" |
27996     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27997             s//\1/
27998             q
27999           }
28000           /^X\(\/\/\)[^/].*/{
28001             s//\1/
28002             q
28003           }
28004           /^X\(\/\/\)$/{
28005             s//\1/
28006             q
28007           }
28008           /^X\(\/\).*/{
28009             s//\1/
28010             q
28011           }
28012           s/.*/./; q'`
28013   as_dir="$ac_dir"; as_fn_mkdir_p
28014   ac_builddir=.
28015
28016 case "$ac_dir" in
28017 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28018 *)
28019   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28020   # A ".." for each directory in $ac_dir_suffix.
28021   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28022   case $ac_top_builddir_sub in
28023   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28024   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28025   esac ;;
28026 esac
28027 ac_abs_top_builddir=$ac_pwd
28028 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28029 # for backward compatibility:
28030 ac_top_builddir=$ac_top_build_prefix
28031
28032 case $srcdir in
28033   .)  # We are building in place.
28034     ac_srcdir=.
28035     ac_top_srcdir=$ac_top_builddir_sub
28036     ac_abs_top_srcdir=$ac_pwd ;;
28037   [\\/]* | ?:[\\/]* )  # Absolute name.
28038     ac_srcdir=$srcdir$ac_dir_suffix;
28039     ac_top_srcdir=$srcdir
28040     ac_abs_top_srcdir=$srcdir ;;
28041   *) # Relative name.
28042     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28043     ac_top_srcdir=$ac_top_build_prefix$srcdir
28044     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28045 esac
28046 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28047
28048
28049   case $ac_mode in
28050   :F)
28051   #
28052   # CONFIG_FILE
28053   #
28054
28055   case $INSTALL in
28056   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28057   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28058   esac
28059   ac_MKDIR_P=$MKDIR_P
28060   case $MKDIR_P in
28061   [\\/$]* | ?:[\\/]* ) ;;
28062   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28063   esac
28064 _ACEOF
28065
28066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28067 # If the template does not know about datarootdir, expand it.
28068 # FIXME: This hack should be removed a few years after 2.60.
28069 ac_datarootdir_hack=; ac_datarootdir_seen=
28070 ac_sed_dataroot='
28071 /datarootdir/ {
28072   p
28073   q
28074 }
28075 /@datadir@/p
28076 /@docdir@/p
28077 /@infodir@/p
28078 /@localedir@/p
28079 /@mandir@/p'
28080 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28081 *datarootdir*) ac_datarootdir_seen=yes;;
28082 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28083   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28084 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28085 _ACEOF
28086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28087   ac_datarootdir_hack='
28088   s&@datadir@&$datadir&g
28089   s&@docdir@&$docdir&g
28090   s&@infodir@&$infodir&g
28091   s&@localedir@&$localedir&g
28092   s&@mandir@&$mandir&g
28093   s&\\\${datarootdir}&$datarootdir&g' ;;
28094 esac
28095 _ACEOF
28096
28097 # Neutralize VPATH when `$srcdir' = `.'.
28098 # Shell code in configure.ac might set extrasub.
28099 # FIXME: do we really want to maintain this feature?
28100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28101 ac_sed_extra="$ac_vpsub
28102 $extrasub
28103 _ACEOF
28104 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28105 :t
28106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28107 s|@configure_input@|$ac_sed_conf_input|;t t
28108 s&@top_builddir@&$ac_top_builddir_sub&;t t
28109 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28110 s&@srcdir@&$ac_srcdir&;t t
28111 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28112 s&@top_srcdir@&$ac_top_srcdir&;t t
28113 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28114 s&@builddir@&$ac_builddir&;t t
28115 s&@abs_builddir@&$ac_abs_builddir&;t t
28116 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28117 s&@INSTALL@&$ac_INSTALL&;t t
28118 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28119 $ac_datarootdir_hack
28120 "
28121 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
28122   || as_fn_error "could not create $ac_file" "$LINENO" 5
28123
28124 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28125   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28126   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28127   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28128 which seems to be undefined.  Please make sure it is defined." >&5
28129 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28130 which seems to be undefined.  Please make sure it is defined." >&2;}
28131
28132   rm -f "$tmp/stdin"
28133   case $ac_file in
28134   -) cat "$tmp/out" && rm -f "$tmp/out";;
28135   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28136   esac \
28137   || as_fn_error "could not create $ac_file" "$LINENO" 5
28138  ;;
28139   :H)
28140   #
28141   # CONFIG_HEADER
28142   #
28143   if test x"$ac_file" != x-; then
28144     {
28145       $as_echo "/* $configure_input  */" \
28146       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28147     } >"$tmp/config.h" \
28148       || as_fn_error "could not create $ac_file" "$LINENO" 5
28149     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28150       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28151 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28152     else
28153       rm -f "$ac_file"
28154       mv "$tmp/config.h" "$ac_file" \
28155         || as_fn_error "could not create $ac_file" "$LINENO" 5
28156     fi
28157   else
28158     $as_echo "/* $configure_input  */" \
28159       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28160       || as_fn_error "could not create -" "$LINENO" 5
28161   fi
28162 # Compute "$ac_file"'s index in $config_headers.
28163 _am_arg="$ac_file"
28164 _am_stamp_count=1
28165 for _am_header in $config_headers :; do
28166   case $_am_header in
28167     $_am_arg | $_am_arg:* )
28168       break ;;
28169     * )
28170       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28171   esac
28172 done
28173 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28174 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28175          X"$_am_arg" : 'X\(//\)[^/]' \| \
28176          X"$_am_arg" : 'X\(//\)$' \| \
28177          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28178 $as_echo X"$_am_arg" |
28179     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28180             s//\1/
28181             q
28182           }
28183           /^X\(\/\/\)[^/].*/{
28184             s//\1/
28185             q
28186           }
28187           /^X\(\/\/\)$/{
28188             s//\1/
28189             q
28190           }
28191           /^X\(\/\).*/{
28192             s//\1/
28193             q
28194           }
28195           s/.*/./; q'`/stamp-h$_am_stamp_count
28196  ;;
28197
28198   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28199 $as_echo "$as_me: executing $ac_file commands" >&6;}
28200  ;;
28201   esac
28202
28203
28204   case $ac_file$ac_mode in
28205     "default-1":C)
28206 # Only add multilib support code if we just rebuilt the top-level
28207 # Makefile.
28208 case " $CONFIG_FILES " in
28209  *" Makefile "*)
28210    ac_file=Makefile . ${multi_basedir}/config-ml.in
28211    ;;
28212 esac ;;
28213     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28214   # Autoconf 2.62 quotes --file arguments for eval, but not when files
28215   # are listed without --file.  Let's play safe and only enable the eval
28216   # if we detect the quoting.
28217   case $CONFIG_FILES in
28218   *\'*) eval set x "$CONFIG_FILES" ;;
28219   *)   set x $CONFIG_FILES ;;
28220   esac
28221   shift
28222   for mf
28223   do
28224     # Strip MF so we end up with the name of the file.
28225     mf=`echo "$mf" | sed -e 's/:.*$//'`
28226     # Check whether this is an Automake generated Makefile or not.
28227     # We used to match only the files named `Makefile.in', but
28228     # some people rename them; so instead we look at the file content.
28229     # Grep'ing the first line is not enough: some people post-process
28230     # each Makefile.in and add a new line on top of each file to say so.
28231     # Grep'ing the whole file is not good either: AIX grep has a line
28232     # limit of 2048, but all sed's we know have understand at least 4000.
28233     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28234       dirpart=`$as_dirname -- "$mf" ||
28235 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28236          X"$mf" : 'X\(//\)[^/]' \| \
28237          X"$mf" : 'X\(//\)$' \| \
28238          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28239 $as_echo X"$mf" |
28240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28241             s//\1/
28242             q
28243           }
28244           /^X\(\/\/\)[^/].*/{
28245             s//\1/
28246             q
28247           }
28248           /^X\(\/\/\)$/{
28249             s//\1/
28250             q
28251           }
28252           /^X\(\/\).*/{
28253             s//\1/
28254             q
28255           }
28256           s/.*/./; q'`
28257     else
28258       continue
28259     fi
28260     # Extract the definition of DEPDIR, am__include, and am__quote
28261     # from the Makefile without running `make'.
28262     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28263     test -z "$DEPDIR" && continue
28264     am__include=`sed -n 's/^am__include = //p' < "$mf"`
28265     test -z "am__include" && continue
28266     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28267     # When using ansi2knr, U may be empty or an underscore; expand it
28268     U=`sed -n 's/^U = //p' < "$mf"`
28269     # Find all dependency output files, they are included files with
28270     # $(DEPDIR) in their names.  We invoke sed twice because it is the
28271     # simplest approach to changing $(DEPDIR) to its actual value in the
28272     # expansion.
28273     for file in `sed -n "
28274       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28275          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28276       # Make sure the directory exists.
28277       test -f "$dirpart/$file" && continue
28278       fdir=`$as_dirname -- "$file" ||
28279 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28280          X"$file" : 'X\(//\)[^/]' \| \
28281          X"$file" : 'X\(//\)$' \| \
28282          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28283 $as_echo X"$file" |
28284     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28285             s//\1/
28286             q
28287           }
28288           /^X\(\/\/\)[^/].*/{
28289             s//\1/
28290             q
28291           }
28292           /^X\(\/\/\)$/{
28293             s//\1/
28294             q
28295           }
28296           /^X\(\/\).*/{
28297             s//\1/
28298             q
28299           }
28300           s/.*/./; q'`
28301       as_dir=$dirpart/$fdir; as_fn_mkdir_p
28302       # echo "creating $dirpart/$file"
28303       echo '# dummy' > "$dirpart/$file"
28304     done
28305   done
28306 }
28307  ;;
28308     "libtool":C)
28309
28310     # See if we are running on zsh, and set the options which allow our
28311     # commands through without removal of \ escapes.
28312     if test -n "${ZSH_VERSION+set}" ; then
28313       setopt NO_GLOB_SUBST
28314     fi
28315
28316     cfgfile="${ofile}T"
28317     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28318     $RM "$cfgfile"
28319
28320     cat <<_LT_EOF >> "$cfgfile"
28321 #! $SHELL
28322
28323 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28324 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28325 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28326 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28327 #
28328 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28329 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
28330 #   Written by Gordon Matzigkeit, 1996
28331 #
28332 #   This file is part of GNU Libtool.
28333 #
28334 # GNU Libtool is free software; you can redistribute it and/or
28335 # modify it under the terms of the GNU General Public License as
28336 # published by the Free Software Foundation; either version 2 of
28337 # the License, or (at your option) any later version.
28338 #
28339 # As a special exception to the GNU General Public License,
28340 # if you distribute this file as part of a program or library that
28341 # is built using GNU Libtool, you may include this file under the
28342 # same distribution terms that you use for the rest of that program.
28343 #
28344 # GNU Libtool is distributed in the hope that it will be useful,
28345 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28346 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28347 # GNU General Public License for more details.
28348 #
28349 # You should have received a copy of the GNU General Public License
28350 # along with GNU Libtool; see the file COPYING.  If not, a copy
28351 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28352 # obtained by writing to the Free Software Foundation, Inc.,
28353 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28354
28355
28356 # The names of the tagged configurations supported by this script.
28357 available_tags="FC "
28358
28359 # ### BEGIN LIBTOOL CONFIG
28360
28361 # Which release of libtool.m4 was used?
28362 macro_version=$macro_version
28363 macro_revision=$macro_revision
28364
28365 # Whether or not to build shared libraries.
28366 build_libtool_libs=$enable_shared
28367
28368 # Whether or not to build static libraries.
28369 build_old_libs=$enable_static
28370
28371 # What type of objects to build.
28372 pic_mode=$pic_mode
28373
28374 # Whether or not to optimize for fast installation.
28375 fast_install=$enable_fast_install
28376
28377 # Shell to use when invoking shell scripts.
28378 SHELL=$lt_SHELL
28379
28380 # An echo program that protects backslashes.
28381 ECHO=$lt_ECHO
28382
28383 # The host system.
28384 host_alias=$host_alias
28385 host=$host
28386 host_os=$host_os
28387
28388 # The build system.
28389 build_alias=$build_alias
28390 build=$build
28391 build_os=$build_os
28392
28393 # A sed program that does not truncate output.
28394 SED=$lt_SED
28395
28396 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28397 Xsed="\$SED -e 1s/^X//"
28398
28399 # A grep program that handles long lines.
28400 GREP=$lt_GREP
28401
28402 # An ERE matcher.
28403 EGREP=$lt_EGREP
28404
28405 # A literal string matcher.
28406 FGREP=$lt_FGREP
28407
28408 # A BSD- or MS-compatible name lister.
28409 NM=$lt_NM
28410
28411 # Whether we need soft or hard links.
28412 LN_S=$lt_LN_S
28413
28414 # What is the maximum length of a command?
28415 max_cmd_len=$max_cmd_len
28416
28417 # Object file suffix (normally "o").
28418 objext=$ac_objext
28419
28420 # Executable file suffix (normally "").
28421 exeext=$exeext
28422
28423 # whether the shell understands "unset".
28424 lt_unset=$lt_unset
28425
28426 # turn spaces into newlines.
28427 SP2NL=$lt_lt_SP2NL
28428
28429 # turn newlines into spaces.
28430 NL2SP=$lt_lt_NL2SP
28431
28432 # An object symbol dumper.
28433 OBJDUMP=$lt_OBJDUMP
28434
28435 # Method to check whether dependent libraries are shared objects.
28436 deplibs_check_method=$lt_deplibs_check_method
28437
28438 # Command to use when deplibs_check_method == "file_magic".
28439 file_magic_cmd=$lt_file_magic_cmd
28440
28441 # The archiver.
28442 AR=$lt_AR
28443 AR_FLAGS=$lt_AR_FLAGS
28444
28445 # A symbol stripping program.
28446 STRIP=$lt_STRIP
28447
28448 # Commands used to install an old-style archive.
28449 RANLIB=$lt_RANLIB
28450 old_postinstall_cmds=$lt_old_postinstall_cmds
28451 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28452
28453 # Whether to use a lock for old archive extraction.
28454 lock_old_archive_extraction=$lock_old_archive_extraction
28455
28456 # A C compiler.
28457 LTCC=$lt_CC
28458
28459 # LTCC compiler flags.
28460 LTCFLAGS=$lt_CFLAGS
28461
28462 # Take the output of nm and produce a listing of raw symbols and C names.
28463 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28464
28465 # Transform the output of nm in a proper C declaration.
28466 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28467
28468 # Transform the output of nm in a C name address pair.
28469 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28470
28471 # Transform the output of nm in a C name address pair when lib prefix is needed.
28472 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28473
28474 # The name of the directory that contains temporary libtool files.
28475 objdir=$objdir
28476
28477 # Used to examine libraries when file_magic_cmd begins with "file".
28478 MAGIC_CMD=$MAGIC_CMD
28479
28480 # Must we lock files when doing compilation?
28481 need_locks=$lt_need_locks
28482
28483 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28484 DSYMUTIL=$lt_DSYMUTIL
28485
28486 # Tool to change global to local symbols on Mac OS X.
28487 NMEDIT=$lt_NMEDIT
28488
28489 # Tool to manipulate fat objects and archives on Mac OS X.
28490 LIPO=$lt_LIPO
28491
28492 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28493 OTOOL=$lt_OTOOL
28494
28495 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28496 OTOOL64=$lt_OTOOL64
28497
28498 # Old archive suffix (normally "a").
28499 libext=$libext
28500
28501 # Shared library suffix (normally ".so").
28502 shrext_cmds=$lt_shrext_cmds
28503
28504 # The commands to extract the exported symbol list from a shared archive.
28505 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28506
28507 # Variables whose values should be saved in libtool wrapper scripts and
28508 # restored at link time.
28509 variables_saved_for_relink=$lt_variables_saved_for_relink
28510
28511 # Do we need the "lib" prefix for modules?
28512 need_lib_prefix=$need_lib_prefix
28513
28514 # Do we need a version for libraries?
28515 need_version=$need_version
28516
28517 # Library versioning type.
28518 version_type=$version_type
28519
28520 # Shared library runtime path variable.
28521 runpath_var=$runpath_var
28522
28523 # Shared library path variable.
28524 shlibpath_var=$shlibpath_var
28525
28526 # Is shlibpath searched before the hard-coded library search path?
28527 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28528
28529 # Format of library name prefix.
28530 libname_spec=$lt_libname_spec
28531
28532 # List of archive names.  First name is the real one, the rest are links.
28533 # The last name is the one that the linker finds with -lNAME
28534 library_names_spec=$lt_library_names_spec
28535
28536 # The coded name of the library, if different from the real name.
28537 soname_spec=$lt_soname_spec
28538
28539 # Permission mode override for installation of shared libraries.
28540 install_override_mode=$lt_install_override_mode
28541
28542 # Command to use after installation of a shared archive.
28543 postinstall_cmds=$lt_postinstall_cmds
28544
28545 # Command to use after uninstallation of a shared archive.
28546 postuninstall_cmds=$lt_postuninstall_cmds
28547
28548 # Commands used to finish a libtool library installation in a directory.
28549 finish_cmds=$lt_finish_cmds
28550
28551 # As "finish_cmds", except a single script fragment to be evaled but
28552 # not shown.
28553 finish_eval=$lt_finish_eval
28554
28555 # Whether we should hardcode library paths into libraries.
28556 hardcode_into_libs=$hardcode_into_libs
28557
28558 # Compile-time system search path for libraries.
28559 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28560
28561 # Run-time system search path for libraries.
28562 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28563
28564 # Whether dlopen is supported.
28565 dlopen_support=$enable_dlopen
28566
28567 # Whether dlopen of programs is supported.
28568 dlopen_self=$enable_dlopen_self
28569
28570 # Whether dlopen of statically linked programs is supported.
28571 dlopen_self_static=$enable_dlopen_self_static
28572
28573 # Commands to strip libraries.
28574 old_striplib=$lt_old_striplib
28575 striplib=$lt_striplib
28576
28577
28578 # The linker used to build libraries.
28579 LD=$lt_LD
28580
28581 # How to create reloadable object files.
28582 reload_flag=$lt_reload_flag
28583 reload_cmds=$lt_reload_cmds
28584
28585 # Commands used to build an old-style archive.
28586 old_archive_cmds=$lt_old_archive_cmds
28587
28588 # A language specific compiler.
28589 CC=$lt_compiler
28590
28591 # Is the compiler the GNU compiler?
28592 with_gcc=$GCC
28593
28594 # Compiler flag to turn off builtin functions.
28595 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28596
28597 # How to pass a linker flag through the compiler.
28598 wl=$lt_lt_prog_compiler_wl
28599
28600 # Additional compiler flags for building library objects.
28601 pic_flag=$lt_lt_prog_compiler_pic
28602
28603 # Compiler flag to prevent dynamic linking.
28604 link_static_flag=$lt_lt_prog_compiler_static
28605
28606 # Does compiler simultaneously support -c and -o options?
28607 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28608
28609 # Whether or not to add -lc for building shared libraries.
28610 build_libtool_need_lc=$archive_cmds_need_lc
28611
28612 # Whether or not to disallow shared libs when runtime libs are static.
28613 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28614
28615 # Compiler flag to allow reflexive dlopens.
28616 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28617
28618 # Compiler flag to generate shared objects directly from archives.
28619 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28620
28621 # Whether the compiler copes with passing no objects directly.
28622 compiler_needs_object=$lt_compiler_needs_object
28623
28624 # Create an old-style archive from a shared archive.
28625 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28626
28627 # Create a temporary old-style archive to link instead of a shared archive.
28628 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28629
28630 # Commands used to build a shared archive.
28631 archive_cmds=$lt_archive_cmds
28632 archive_expsym_cmds=$lt_archive_expsym_cmds
28633
28634 # Commands used to build a loadable module if different from building
28635 # a shared archive.
28636 module_cmds=$lt_module_cmds
28637 module_expsym_cmds=$lt_module_expsym_cmds
28638
28639 # Whether we are building with GNU ld or not.
28640 with_gnu_ld=$lt_with_gnu_ld
28641
28642 # Flag that allows shared libraries with undefined symbols to be built.
28643 allow_undefined_flag=$lt_allow_undefined_flag
28644
28645 # Flag that enforces no undefined symbols.
28646 no_undefined_flag=$lt_no_undefined_flag
28647
28648 # Flag to hardcode \$libdir into a binary during linking.
28649 # This must work even if \$libdir does not exist
28650 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28651
28652 # If ld is used when linking, flag to hardcode \$libdir into a binary
28653 # during linking.  This must work even if \$libdir does not exist.
28654 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
28655
28656 # Whether we need a single "-rpath" flag with a separated argument.
28657 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28658
28659 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28660 # DIR into the resulting binary.
28661 hardcode_direct=$hardcode_direct
28662
28663 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28664 # DIR into the resulting binary and the resulting library dependency is
28665 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28666 # library is relocated.
28667 hardcode_direct_absolute=$hardcode_direct_absolute
28668
28669 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28670 # into the resulting binary.
28671 hardcode_minus_L=$hardcode_minus_L
28672
28673 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28674 # into the resulting binary.
28675 hardcode_shlibpath_var=$hardcode_shlibpath_var
28676
28677 # Set to "yes" if building a shared library automatically hardcodes DIR
28678 # into the library and all subsequent libraries and executables linked
28679 # against it.
28680 hardcode_automatic=$hardcode_automatic
28681
28682 # Set to yes if linker adds runtime paths of dependent libraries
28683 # to runtime path list.
28684 inherit_rpath=$inherit_rpath
28685
28686 # Whether libtool must link a program against all its dependency libraries.
28687 link_all_deplibs=$link_all_deplibs
28688
28689 # Fix the shell variable \$srcfile for the compiler.
28690 fix_srcfile_path=$lt_fix_srcfile_path
28691
28692 # Set to "yes" if exported symbols are required.
28693 always_export_symbols=$always_export_symbols
28694
28695 # The commands to list exported symbols.
28696 export_symbols_cmds=$lt_export_symbols_cmds
28697
28698 # Symbols that should not be listed in the preloaded symbols.
28699 exclude_expsyms=$lt_exclude_expsyms
28700
28701 # Symbols that must always be exported.
28702 include_expsyms=$lt_include_expsyms
28703
28704 # Commands necessary for linking programs (against libraries) with templates.
28705 prelink_cmds=$lt_prelink_cmds
28706
28707 # Specify filename containing input files.
28708 file_list_spec=$lt_file_list_spec
28709
28710 # How to hardcode a shared library path into an executable.
28711 hardcode_action=$hardcode_action
28712
28713 # The directories searched by this compiler when creating a shared library.
28714 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28715
28716 # Dependencies to place before and after the objects being linked to
28717 # create a shared library.
28718 predep_objects=$lt_predep_objects
28719 postdep_objects=$lt_postdep_objects
28720 predeps=$lt_predeps
28721 postdeps=$lt_postdeps
28722
28723 # The library search path used internally by the compiler when linking
28724 # a shared library.
28725 compiler_lib_search_path=$lt_compiler_lib_search_path
28726
28727 # ### END LIBTOOL CONFIG
28728
28729 _LT_EOF
28730
28731   case $host_os in
28732   aix3*)
28733     cat <<\_LT_EOF >> "$cfgfile"
28734 # AIX sometimes has problems with the GCC collect2 program.  For some
28735 # reason, if we set the COLLECT_NAMES environment variable, the problems
28736 # vanish in a puff of smoke.
28737 if test "X${COLLECT_NAMES+set}" != Xset; then
28738   COLLECT_NAMES=
28739   export COLLECT_NAMES
28740 fi
28741 _LT_EOF
28742     ;;
28743   esac
28744
28745
28746 ltmain="$ac_aux_dir/ltmain.sh"
28747
28748
28749   # We use sed instead of cat because bash on DJGPP gets confused if
28750   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
28751   # text mode, it properly converts lines to CR/LF.  This bash problem
28752   # is reportedly fixed, but why not run on old versions too?
28753   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
28754     || (rm -f "$cfgfile"; exit 1)
28755
28756   case $xsi_shell in
28757   yes)
28758     cat << \_LT_EOF >> "$cfgfile"
28759
28760 # func_dirname file append nondir_replacement
28761 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28762 # otherwise set result to NONDIR_REPLACEMENT.
28763 func_dirname ()
28764 {
28765   case ${1} in
28766     */*) func_dirname_result="${1%/*}${2}" ;;
28767     *  ) func_dirname_result="${3}" ;;
28768   esac
28769 }
28770
28771 # func_basename file
28772 func_basename ()
28773 {
28774   func_basename_result="${1##*/}"
28775 }
28776
28777 # func_dirname_and_basename file append nondir_replacement
28778 # perform func_basename and func_dirname in a single function
28779 # call:
28780 #   dirname:  Compute the dirname of FILE.  If nonempty,
28781 #             add APPEND to the result, otherwise set result
28782 #             to NONDIR_REPLACEMENT.
28783 #             value returned in "$func_dirname_result"
28784 #   basename: Compute filename of FILE.
28785 #             value retuned in "$func_basename_result"
28786 # Implementation must be kept synchronized with func_dirname
28787 # and func_basename. For efficiency, we do not delegate to
28788 # those functions but instead duplicate the functionality here.
28789 func_dirname_and_basename ()
28790 {
28791   case ${1} in
28792     */*) func_dirname_result="${1%/*}${2}" ;;
28793     *  ) func_dirname_result="${3}" ;;
28794   esac
28795   func_basename_result="${1##*/}"
28796 }
28797
28798 # func_stripname prefix suffix name
28799 # strip PREFIX and SUFFIX off of NAME.
28800 # PREFIX and SUFFIX must not contain globbing or regex special
28801 # characters, hashes, percent signs, but SUFFIX may contain a leading
28802 # dot (in which case that matches only a dot).
28803 func_stripname ()
28804 {
28805   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
28806   # positional parameters, so assign one to ordinary parameter first.
28807   func_stripname_result=${3}
28808   func_stripname_result=${func_stripname_result#"${1}"}
28809   func_stripname_result=${func_stripname_result%"${2}"}
28810 }
28811
28812 # func_opt_split
28813 func_opt_split ()
28814 {
28815   func_opt_split_opt=${1%%=*}
28816   func_opt_split_arg=${1#*=}
28817 }
28818
28819 # func_lo2o object
28820 func_lo2o ()
28821 {
28822   case ${1} in
28823     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
28824     *)    func_lo2o_result=${1} ;;
28825   esac
28826 }
28827
28828 # func_xform libobj-or-source
28829 func_xform ()
28830 {
28831   func_xform_result=${1%.*}.lo
28832 }
28833
28834 # func_arith arithmetic-term...
28835 func_arith ()
28836 {
28837   func_arith_result=$(( $* ))
28838 }
28839
28840 # func_len string
28841 # STRING may not start with a hyphen.
28842 func_len ()
28843 {
28844   func_len_result=${#1}
28845 }
28846
28847 _LT_EOF
28848     ;;
28849   *) # Bourne compatible functions.
28850     cat << \_LT_EOF >> "$cfgfile"
28851
28852 # func_dirname file append nondir_replacement
28853 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
28854 # otherwise set result to NONDIR_REPLACEMENT.
28855 func_dirname ()
28856 {
28857   # Extract subdirectory from the argument.
28858   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
28859   if test "X$func_dirname_result" = "X${1}"; then
28860     func_dirname_result="${3}"
28861   else
28862     func_dirname_result="$func_dirname_result${2}"
28863   fi
28864 }
28865
28866 # func_basename file
28867 func_basename ()
28868 {
28869   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
28870 }
28871
28872
28873 # func_stripname prefix suffix name
28874 # strip PREFIX and SUFFIX off of NAME.
28875 # PREFIX and SUFFIX must not contain globbing or regex special
28876 # characters, hashes, percent signs, but SUFFIX may contain a leading
28877 # dot (in which case that matches only a dot).
28878 # func_strip_suffix prefix name
28879 func_stripname ()
28880 {
28881   case ${2} in
28882     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
28883     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
28884   esac
28885 }
28886
28887 # sed scripts:
28888 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
28889 my_sed_long_arg='1s/^-[^=]*=//'
28890
28891 # func_opt_split
28892 func_opt_split ()
28893 {
28894   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
28895   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
28896 }
28897
28898 # func_lo2o object
28899 func_lo2o ()
28900 {
28901   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
28902 }
28903
28904 # func_xform libobj-or-source
28905 func_xform ()
28906 {
28907   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
28908 }
28909
28910 # func_arith arithmetic-term...
28911 func_arith ()
28912 {
28913   func_arith_result=`expr "$@"`
28914 }
28915
28916 # func_len string
28917 # STRING may not start with a hyphen.
28918 func_len ()
28919 {
28920   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
28921 }
28922
28923 _LT_EOF
28924 esac
28925
28926 case $lt_shell_append in
28927   yes)
28928     cat << \_LT_EOF >> "$cfgfile"
28929
28930 # func_append var value
28931 # Append VALUE to the end of shell variable VAR.
28932 func_append ()
28933 {
28934   eval "$1+=\$2"
28935 }
28936 _LT_EOF
28937     ;;
28938   *)
28939     cat << \_LT_EOF >> "$cfgfile"
28940
28941 # func_append var value
28942 # Append VALUE to the end of shell variable VAR.
28943 func_append ()
28944 {
28945   eval "$1=\$$1\$2"
28946 }
28947
28948 _LT_EOF
28949     ;;
28950   esac
28951
28952
28953   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
28954     || (rm -f "$cfgfile"; exit 1)
28955
28956   mv -f "$cfgfile" "$ofile" ||
28957     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28958   chmod +x "$ofile"
28959
28960
28961     cat <<_LT_EOF >> "$ofile"
28962
28963 # ### BEGIN LIBTOOL TAG CONFIG: FC
28964
28965 # The linker used to build libraries.
28966 LD=$lt_LD_FC
28967
28968 # How to create reloadable object files.
28969 reload_flag=$lt_reload_flag_FC
28970 reload_cmds=$lt_reload_cmds_FC
28971
28972 # Commands used to build an old-style archive.
28973 old_archive_cmds=$lt_old_archive_cmds_FC
28974
28975 # A language specific compiler.
28976 CC=$lt_compiler_FC
28977
28978 # Is the compiler the GNU compiler?
28979 with_gcc=$GCC_FC
28980
28981 # Compiler flag to turn off builtin functions.
28982 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
28983
28984 # How to pass a linker flag through the compiler.
28985 wl=$lt_lt_prog_compiler_wl_FC
28986
28987 # Additional compiler flags for building library objects.
28988 pic_flag=$lt_lt_prog_compiler_pic_FC
28989
28990 # Compiler flag to prevent dynamic linking.
28991 link_static_flag=$lt_lt_prog_compiler_static_FC
28992
28993 # Does compiler simultaneously support -c and -o options?
28994 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
28995
28996 # Whether or not to add -lc for building shared libraries.
28997 build_libtool_need_lc=$archive_cmds_need_lc_FC
28998
28999 # Whether or not to disallow shared libs when runtime libs are static.
29000 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
29001
29002 # Compiler flag to allow reflexive dlopens.
29003 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
29004
29005 # Compiler flag to generate shared objects directly from archives.
29006 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
29007
29008 # Whether the compiler copes with passing no objects directly.
29009 compiler_needs_object=$lt_compiler_needs_object_FC
29010
29011 # Create an old-style archive from a shared archive.
29012 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
29013
29014 # Create a temporary old-style archive to link instead of a shared archive.
29015 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
29016
29017 # Commands used to build a shared archive.
29018 archive_cmds=$lt_archive_cmds_FC
29019 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
29020
29021 # Commands used to build a loadable module if different from building
29022 # a shared archive.
29023 module_cmds=$lt_module_cmds_FC
29024 module_expsym_cmds=$lt_module_expsym_cmds_FC
29025
29026 # Whether we are building with GNU ld or not.
29027 with_gnu_ld=$lt_with_gnu_ld_FC
29028
29029 # Flag that allows shared libraries with undefined symbols to be built.
29030 allow_undefined_flag=$lt_allow_undefined_flag_FC
29031
29032 # Flag that enforces no undefined symbols.
29033 no_undefined_flag=$lt_no_undefined_flag_FC
29034
29035 # Flag to hardcode \$libdir into a binary during linking.
29036 # This must work even if \$libdir does not exist
29037 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
29038
29039 # If ld is used when linking, flag to hardcode \$libdir into a binary
29040 # during linking.  This must work even if \$libdir does not exist.
29041 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
29042
29043 # Whether we need a single "-rpath" flag with a separated argument.
29044 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
29045
29046 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29047 # DIR into the resulting binary.
29048 hardcode_direct=$hardcode_direct_FC
29049
29050 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29051 # DIR into the resulting binary and the resulting library dependency is
29052 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29053 # library is relocated.
29054 hardcode_direct_absolute=$hardcode_direct_absolute_FC
29055
29056 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29057 # into the resulting binary.
29058 hardcode_minus_L=$hardcode_minus_L_FC
29059
29060 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29061 # into the resulting binary.
29062 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
29063
29064 # Set to "yes" if building a shared library automatically hardcodes DIR
29065 # into the library and all subsequent libraries and executables linked
29066 # against it.
29067 hardcode_automatic=$hardcode_automatic_FC
29068
29069 # Set to yes if linker adds runtime paths of dependent libraries
29070 # to runtime path list.
29071 inherit_rpath=$inherit_rpath_FC
29072
29073 # Whether libtool must link a program against all its dependency libraries.
29074 link_all_deplibs=$link_all_deplibs_FC
29075
29076 # Fix the shell variable \$srcfile for the compiler.
29077 fix_srcfile_path=$lt_fix_srcfile_path_FC
29078
29079 # Set to "yes" if exported symbols are required.
29080 always_export_symbols=$always_export_symbols_FC
29081
29082 # The commands to list exported symbols.
29083 export_symbols_cmds=$lt_export_symbols_cmds_FC
29084
29085 # Symbols that should not be listed in the preloaded symbols.
29086 exclude_expsyms=$lt_exclude_expsyms_FC
29087
29088 # Symbols that must always be exported.
29089 include_expsyms=$lt_include_expsyms_FC
29090
29091 # Commands necessary for linking programs (against libraries) with templates.
29092 prelink_cmds=$lt_prelink_cmds_FC
29093
29094 # Specify filename containing input files.
29095 file_list_spec=$lt_file_list_spec_FC
29096
29097 # How to hardcode a shared library path into an executable.
29098 hardcode_action=$hardcode_action_FC
29099
29100 # The directories searched by this compiler when creating a shared library.
29101 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
29102
29103 # Dependencies to place before and after the objects being linked to
29104 # create a shared library.
29105 predep_objects=$lt_predep_objects_FC
29106 postdep_objects=$lt_postdep_objects_FC
29107 predeps=$lt_predeps_FC
29108 postdeps=$lt_postdeps_FC
29109
29110 # The library search path used internally by the compiler when linking
29111 # a shared library.
29112 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
29113
29114 # ### END LIBTOOL TAG CONFIG: FC
29115 _LT_EOF
29116
29117  ;;
29118     "gstdint.h":C)
29119 if test "$GCC" = yes; then
29120   echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
29121 else
29122   echo "/* generated for $CC */" > tmp-stdint.h
29123 fi
29124
29125 sed 's/^ *//' >> tmp-stdint.h <<EOF
29126
29127   #ifndef GCC_GENERATED_STDINT_H
29128   #define GCC_GENERATED_STDINT_H 1
29129
29130   #include <sys/types.h>
29131 EOF
29132
29133 if test "$acx_cv_header_stdint" != stdint.h; then
29134   echo "#include <stddef.h>" >> tmp-stdint.h
29135 fi
29136 if test "$acx_cv_header_stdint" != stddef.h; then
29137   echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
29138 fi
29139
29140 sed 's/^ *//' >> tmp-stdint.h <<EOF
29141   /* glibc uses these symbols as guards to prevent redefinitions.  */
29142   #ifdef __int8_t_defined
29143   #define _INT8_T
29144   #define _INT16_T
29145   #define _INT32_T
29146   #endif
29147   #ifdef __uint32_t_defined
29148   #define _UINT32_T
29149   #endif
29150
29151 EOF
29152
29153 # ----------------- done header, emit basic int types -------------
29154 if test "$acx_cv_header_stdint" = stddef.h; then
29155   sed 's/^ *//' >> tmp-stdint.h <<EOF
29156
29157     #ifndef _UINT8_T
29158     #define _UINT8_T
29159     #ifndef __uint8_t_defined
29160     #define __uint8_t_defined
29161     #ifndef uint8_t
29162     typedef unsigned $acx_cv_type_int8_t uint8_t;
29163     #endif
29164     #endif
29165     #endif
29166
29167     #ifndef _UINT16_T
29168     #define _UINT16_T
29169     #ifndef __uint16_t_defined
29170     #define __uint16_t_defined
29171     #ifndef uint16_t
29172     typedef unsigned $acx_cv_type_int16_t uint16_t;
29173     #endif
29174     #endif
29175     #endif
29176
29177     #ifndef _UINT32_T
29178     #define _UINT32_T
29179     #ifndef __uint32_t_defined
29180     #define __uint32_t_defined
29181     #ifndef uint32_t
29182     typedef unsigned $acx_cv_type_int32_t uint32_t;
29183     #endif
29184     #endif
29185     #endif
29186
29187     #ifndef _INT8_T
29188     #define _INT8_T
29189     #ifndef __int8_t_defined
29190     #define __int8_t_defined
29191     #ifndef int8_t
29192     typedef $acx_cv_type_int8_t int8_t;
29193     #endif
29194     #endif
29195     #endif
29196
29197     #ifndef _INT16_T
29198     #define _INT16_T
29199     #ifndef __int16_t_defined
29200     #define __int16_t_defined
29201     #ifndef int16_t
29202     typedef $acx_cv_type_int16_t int16_t;
29203     #endif
29204     #endif
29205     #endif
29206
29207     #ifndef _INT32_T
29208     #define _INT32_T
29209     #ifndef __int32_t_defined
29210     #define __int32_t_defined
29211     #ifndef int32_t
29212     typedef $acx_cv_type_int32_t int32_t;
29213     #endif
29214     #endif
29215     #endif
29216 EOF
29217 elif test "$ac_cv_type_u_int32_t" = yes; then
29218   sed 's/^ *//' >> tmp-stdint.h <<EOF
29219
29220     /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
29221     #ifndef _INT8_T
29222     #define _INT8_T
29223     #endif
29224     #ifndef _INT16_T
29225     #define _INT16_T
29226     #endif
29227     #ifndef _INT32_T
29228     #define _INT32_T
29229     #endif
29230
29231     #ifndef _UINT8_T
29232     #define _UINT8_T
29233     #ifndef __uint8_t_defined
29234     #define __uint8_t_defined
29235     #ifndef uint8_t
29236     typedef u_int8_t uint8_t;
29237     #endif
29238     #endif
29239     #endif
29240
29241     #ifndef _UINT16_T
29242     #define _UINT16_T
29243     #ifndef __uint16_t_defined
29244     #define __uint16_t_defined
29245     #ifndef uint16_t
29246     typedef u_int16_t uint16_t;
29247     #endif
29248     #endif
29249     #endif
29250
29251     #ifndef _UINT32_T
29252     #define _UINT32_T
29253     #ifndef __uint32_t_defined
29254     #define __uint32_t_defined
29255     #ifndef uint32_t
29256     typedef u_int32_t uint32_t;
29257     #endif
29258     #endif
29259     #endif
29260 EOF
29261 else
29262   sed 's/^ *//' >> tmp-stdint.h <<EOF
29263
29264     /* Some systems have guard macros to prevent redefinitions, define them.  */
29265     #ifndef _INT8_T
29266     #define _INT8_T
29267     #endif
29268     #ifndef _INT16_T
29269     #define _INT16_T
29270     #endif
29271     #ifndef _INT32_T
29272     #define _INT32_T
29273     #endif
29274     #ifndef _UINT8_T
29275     #define _UINT8_T
29276     #endif
29277     #ifndef _UINT16_T
29278     #define _UINT16_T
29279     #endif
29280     #ifndef _UINT32_T
29281     #define _UINT32_T
29282     #endif
29283 EOF
29284 fi
29285
29286 # ------------- done basic int types, emit int64_t types ------------
29287 if test "$ac_cv_type_uint64_t" = yes; then
29288   sed 's/^ *//' >> tmp-stdint.h <<EOF
29289
29290     /* system headers have good uint64_t and int64_t */
29291     #ifndef _INT64_T
29292     #define _INT64_T
29293     #endif
29294     #ifndef _UINT64_T
29295     #define _UINT64_T
29296     #endif
29297 EOF
29298 elif test "$ac_cv_type_u_int64_t" = yes; then
29299   sed 's/^ *//' >> tmp-stdint.h <<EOF
29300
29301     /* system headers have an u_int64_t (and int64_t) */
29302     #ifndef _INT64_T
29303     #define _INT64_T
29304     #endif
29305     #ifndef _UINT64_T
29306     #define _UINT64_T
29307     #ifndef __uint64_t_defined
29308     #define __uint64_t_defined
29309     #ifndef uint64_t
29310     typedef u_int64_t uint64_t;
29311     #endif
29312     #endif
29313     #endif
29314 EOF
29315 elif test -n "$acx_cv_type_int64_t"; then
29316   sed 's/^ *//' >> tmp-stdint.h <<EOF
29317
29318     /* architecture has a 64-bit type, $acx_cv_type_int64_t */
29319     #ifndef _INT64_T
29320     #define _INT64_T
29321     #ifndef int64_t
29322     typedef $acx_cv_type_int64_t int64_t;
29323     #endif
29324     #endif
29325     #ifndef _UINT64_T
29326     #define _UINT64_T
29327     #ifndef __uint64_t_defined
29328     #define __uint64_t_defined
29329     #ifndef uint64_t
29330     typedef unsigned $acx_cv_type_int64_t uint64_t;
29331     #endif
29332     #endif
29333     #endif
29334 EOF
29335 else
29336   sed 's/^ *//' >> tmp-stdint.h <<EOF
29337
29338     /* some common heuristics for int64_t, using compiler-specific tests */
29339     #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
29340     #ifndef _INT64_T
29341     #define _INT64_T
29342     #ifndef __int64_t_defined
29343     #ifndef int64_t
29344     typedef long long int64_t;
29345     #endif
29346     #endif
29347     #endif
29348     #ifndef _UINT64_T
29349     #define _UINT64_T
29350     #ifndef uint64_t
29351     typedef unsigned long long uint64_t;
29352     #endif
29353     #endif
29354
29355     #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
29356     /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
29357        does not implement __extension__.  But that compiler doesn't define
29358        __GNUC_MINOR__.  */
29359     # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
29360     # define __extension__
29361     # endif
29362
29363     # ifndef _INT64_T
29364     # define _INT64_T
29365     # ifndef int64_t
29366     __extension__ typedef long long int64_t;
29367     # endif
29368     # endif
29369     # ifndef _UINT64_T
29370     # define _UINT64_T
29371     # ifndef uint64_t
29372     __extension__ typedef unsigned long long uint64_t;
29373     # endif
29374     # endif
29375
29376     #elif !defined __STRICT_ANSI__
29377     # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29378
29379     #  ifndef _INT64_T
29380     #  define _INT64_T
29381     #  ifndef int64_t
29382     typedef __int64 int64_t;
29383     #  endif
29384     #  endif
29385     #  ifndef _UINT64_T
29386     #  define _UINT64_T
29387     #  ifndef uint64_t
29388     typedef unsigned __int64 uint64_t;
29389     #  endif
29390     #  endif
29391     # endif /* compiler */
29392
29393     #endif /* ANSI version */
29394 EOF
29395 fi
29396
29397 # ------------- done int64_t types, emit intptr types ------------
29398 if test "$ac_cv_type_uintptr_t" != yes; then
29399   sed 's/^ *//' >> tmp-stdint.h <<EOF
29400
29401     /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
29402     #ifndef __uintptr_t_defined
29403     #ifndef uintptr_t
29404     typedef u$acx_cv_type_intptr_t uintptr_t;
29405     #endif
29406     #endif
29407     #ifndef __intptr_t_defined
29408     #ifndef intptr_t
29409     typedef $acx_cv_type_intptr_t  intptr_t;
29410     #endif
29411     #endif
29412 EOF
29413 fi
29414
29415 # ------------- done intptr types, emit int_least types ------------
29416 if test "$ac_cv_type_int_least32_t" != yes; then
29417   sed 's/^ *//' >> tmp-stdint.h <<EOF
29418
29419     /* Define int_least types */
29420     typedef int8_t     int_least8_t;
29421     typedef int16_t    int_least16_t;
29422     typedef int32_t    int_least32_t;
29423     #ifdef _INT64_T
29424     typedef int64_t    int_least64_t;
29425     #endif
29426
29427     typedef uint8_t    uint_least8_t;
29428     typedef uint16_t   uint_least16_t;
29429     typedef uint32_t   uint_least32_t;
29430     #ifdef _UINT64_T
29431     typedef uint64_t   uint_least64_t;
29432     #endif
29433 EOF
29434 fi
29435
29436 # ------------- done intptr types, emit int_fast types ------------
29437 if test "$ac_cv_type_int_fast32_t" != yes; then
29438       sed 's/^ *//' >> tmp-stdint.h <<EOF
29439
29440     /* Define int_fast types.  short is often slow */
29441     typedef int8_t       int_fast8_t;
29442     typedef int          int_fast16_t;
29443     typedef int32_t      int_fast32_t;
29444     #ifdef _INT64_T
29445     typedef int64_t      int_fast64_t;
29446     #endif
29447
29448     typedef uint8_t      uint_fast8_t;
29449     typedef unsigned int uint_fast16_t;
29450     typedef uint32_t     uint_fast32_t;
29451     #ifdef _UINT64_T
29452     typedef uint64_t     uint_fast64_t;
29453     #endif
29454 EOF
29455 fi
29456
29457 if test "$ac_cv_type_uintmax_t" != yes; then
29458   sed 's/^ *//' >> tmp-stdint.h <<EOF
29459
29460     /* Define intmax based on what we found */
29461     #ifndef intmax_t
29462     #ifdef _INT64_T
29463     typedef int64_t       intmax_t;
29464     #else
29465     typedef long          intmax_t;
29466     #endif
29467     #endif
29468     #ifndef uintmax_t
29469     #ifdef _UINT64_T
29470     typedef uint64_t      uintmax_t;
29471     #else
29472     typedef unsigned long uintmax_t;
29473     #endif
29474     #endif
29475 EOF
29476 fi
29477
29478 sed 's/^ *//' >> tmp-stdint.h <<EOF
29479
29480   #endif /* GCC_GENERATED_STDINT_H */
29481 EOF
29482
29483 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
29484   rm -f tmp-stdint.h
29485 else
29486   mv -f tmp-stdint.h gstdint.h
29487 fi
29488
29489  ;;
29490
29491   esac
29492 done # for ac_tag
29493
29494
29495 as_fn_exit 0
29496 _ACEOF
29497 ac_clean_files=$ac_clean_files_save
29498
29499 test $ac_write_fail = 0 ||
29500   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
29501
29502
29503 # configure is writing to config.log, and then calls config.status.
29504 # config.status does its own redirection, appending to config.log.
29505 # Unfortunately, on DOS this fails, as config.log is still kept open
29506 # by configure, so config.status won't be able to write to it; its
29507 # output is simply discarded.  So we exec the FD to /dev/null,
29508 # effectively closing config.log, so it can be properly (re)opened and
29509 # appended to by config.status.  When coming back to configure, we
29510 # need to make the FD available again.
29511 if test "$no_create" != yes; then
29512   ac_cs_success=:
29513   ac_config_status_args=
29514   test "$silent" = yes &&
29515     ac_config_status_args="$ac_config_status_args --quiet"
29516   exec 5>/dev/null
29517   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29518   exec 5>>config.log
29519   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29520   # would make configure fail if this is the last instruction.
29521   $ac_cs_success || as_fn_exit $?
29522 fi
29523 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29524   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29525 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29526 fi
29527